@wordpress/editor 14.11.0 → 14.12.1-next.082ed6819.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 (842) hide show
  1. package/CHANGELOG.md +2 -0
  2. package/README.md +120 -107
  3. package/build/components/block-settings-menu/plugin-block-settings-menu-item.js +1 -1
  4. package/build/components/block-settings-menu/plugin-block-settings-menu-item.js.map +1 -1
  5. package/build/components/collab-sidebar/add-comment.js +19 -68
  6. package/build/components/collab-sidebar/add-comment.js.map +1 -1
  7. package/build/components/collab-sidebar/comment-author-info.js +76 -0
  8. package/build/components/collab-sidebar/comment-author-info.js.map +1 -0
  9. package/build/components/collab-sidebar/comment-button-toolbar.js +2 -2
  10. package/build/components/collab-sidebar/comment-button-toolbar.js.map +1 -1
  11. package/build/components/collab-sidebar/comment-button.js +2 -2
  12. package/build/components/collab-sidebar/comment-button.js.map +1 -1
  13. package/build/components/collab-sidebar/comment-form.js +64 -0
  14. package/build/components/collab-sidebar/comment-form.js.map +1 -0
  15. package/build/components/collab-sidebar/comments.js +33 -91
  16. package/build/components/collab-sidebar/comments.js.map +1 -1
  17. package/build/components/collab-sidebar/index.js +75 -73
  18. package/build/components/collab-sidebar/index.js.map +1 -1
  19. package/build/components/commands/index.js +142 -34
  20. package/build/components/commands/index.js.map +1 -1
  21. package/build/components/create-template-part-modal/index.js +2 -2
  22. package/build/components/create-template-part-modal/index.js.map +1 -1
  23. package/build/components/document-bar/index.js +18 -5
  24. package/build/components/document-bar/index.js.map +1 -1
  25. package/build/components/document-outline/check.js +4 -4
  26. package/build/components/document-outline/check.js.map +1 -1
  27. package/build/components/document-outline/index.js +8 -8
  28. package/build/components/document-outline/index.js.map +1 -1
  29. package/build/components/document-tools/index.js +8 -4
  30. package/build/components/document-tools/index.js.map +1 -1
  31. package/build/components/editor-history/redo.js +1 -1
  32. package/build/components/editor-history/redo.js.map +1 -1
  33. package/build/components/editor-history/undo.js +1 -1
  34. package/build/components/editor-history/undo.js.map +1 -1
  35. package/build/components/editor-interface/content-slot-fill.js +1 -10
  36. package/build/components/editor-interface/content-slot-fill.js.map +1 -1
  37. package/build/components/editor-interface/index.js +4 -11
  38. package/build/components/editor-interface/index.js.map +1 -1
  39. package/build/components/editor-notices/index.js +1 -1
  40. package/build/components/editor-notices/index.js.map +1 -1
  41. package/build/components/editor-snackbars/index.js +1 -1
  42. package/build/components/editor-snackbars/index.js.map +1 -1
  43. package/build/components/entities-saved-states/entity-record-item.js +9 -1
  44. package/build/components/entities-saved-states/entity-record-item.js.map +1 -1
  45. package/build/components/entities-saved-states/index.js +2 -2
  46. package/build/components/entities-saved-states/index.js.map +1 -1
  47. package/build/components/global-styles-provider/index.js +20 -8
  48. package/build/components/global-styles-provider/index.js.map +1 -1
  49. package/build/components/header/index.js +10 -12
  50. package/build/components/header/index.js.map +1 -1
  51. package/build/components/more-menu/index.js +9 -7
  52. package/build/components/more-menu/index.js.map +1 -1
  53. package/build/components/page-attributes/check.js +3 -3
  54. package/build/components/page-attributes/check.js.map +1 -1
  55. package/build/components/page-attributes/order.js +1 -1
  56. package/build/components/page-attributes/order.js.map +1 -1
  57. package/build/components/page-attributes/panel.js +1 -1
  58. package/build/components/page-attributes/panel.js.map +1 -1
  59. package/build/components/page-attributes/parent.js +1 -1
  60. package/build/components/page-attributes/parent.js.map +1 -1
  61. package/build/components/plugin-document-setting-panel/index.js +2 -2
  62. package/build/components/plugin-document-setting-panel/index.js.map +1 -1
  63. package/build/components/plugin-more-menu-item/index.js +2 -1
  64. package/build/components/plugin-more-menu-item/index.js.map +1 -1
  65. package/build/components/plugin-post-publish-panel/index.js +2 -2
  66. package/build/components/plugin-post-publish-panel/index.js.map +1 -1
  67. package/build/components/plugin-post-status-info/index.js +4 -4
  68. package/build/components/plugin-post-status-info/index.js.map +1 -1
  69. package/build/components/plugin-pre-publish-panel/index.js +2 -2
  70. package/build/components/plugin-pre-publish-panel/index.js.map +1 -1
  71. package/build/components/plugin-preview-menu-item/index.js +2 -1
  72. package/build/components/plugin-preview-menu-item/index.js.map +1 -1
  73. package/build/components/plugin-sidebar/index.js +1 -0
  74. package/build/components/plugin-sidebar/index.js.map +1 -1
  75. package/build/components/plugin-sidebar-more-menu-item/index.js +2 -1
  76. package/build/components/plugin-sidebar-more-menu-item/index.js.map +1 -1
  77. package/build/components/post-actions/actions.js +3 -3
  78. package/build/components/post-actions/actions.js.map +1 -1
  79. package/build/components/post-author/check.js +3 -3
  80. package/build/components/post-author/check.js.map +1 -1
  81. package/build/components/post-author/index.js +1 -1
  82. package/build/components/post-author/index.js.map +1 -1
  83. package/build/components/post-author/panel.js +1 -1
  84. package/build/components/post-author/panel.js.map +1 -1
  85. package/build/components/post-card-panel/index.js +9 -4
  86. package/build/components/post-card-panel/index.js.map +1 -1
  87. package/build/components/post-comments/index.js +1 -1
  88. package/build/components/post-comments/index.js.map +1 -1
  89. package/build/components/post-discussion/panel.js +1 -1
  90. package/build/components/post-discussion/panel.js.map +1 -1
  91. package/build/components/post-excerpt/check.js +3 -3
  92. package/build/components/post-excerpt/check.js.map +1 -1
  93. package/build/components/post-excerpt/panel.js +1 -1
  94. package/build/components/post-excerpt/panel.js.map +1 -1
  95. package/build/components/post-excerpt/plugin.js +4 -4
  96. package/build/components/post-excerpt/plugin.js.map +1 -1
  97. package/build/components/post-featured-image/check.js +3 -3
  98. package/build/components/post-featured-image/check.js.map +1 -1
  99. package/build/components/post-featured-image/index.js +39 -9
  100. package/build/components/post-featured-image/index.js.map +1 -1
  101. package/build/components/post-featured-image/panel.js +1 -1
  102. package/build/components/post-featured-image/panel.js.map +1 -1
  103. package/build/components/post-fields/index.js +70 -0
  104. package/build/components/post-fields/index.js.map +1 -0
  105. package/build/components/post-format/check.js +9 -12
  106. package/build/components/post-format/check.js.map +1 -1
  107. package/build/components/post-format/index.js +1 -1
  108. package/build/components/post-format/index.js.map +1 -1
  109. package/build/components/post-format/panel.js +1 -1
  110. package/build/components/post-format/panel.js.map +1 -1
  111. package/build/components/post-last-revision/check.js +3 -3
  112. package/build/components/post-last-revision/check.js.map +1 -1
  113. package/build/components/post-last-revision/index.js +1 -1
  114. package/build/components/post-last-revision/index.js.map +1 -1
  115. package/build/components/post-last-revision/panel.js +1 -1
  116. package/build/components/post-last-revision/panel.js.map +1 -1
  117. package/build/components/post-locked-modal/index.js +1 -1
  118. package/build/components/post-locked-modal/index.js.map +1 -1
  119. package/build/components/post-pending-status/check.js +3 -3
  120. package/build/components/post-pending-status/check.js.map +1 -1
  121. package/build/components/post-pending-status/index.js +1 -1
  122. package/build/components/post-pending-status/index.js.map +1 -1
  123. package/build/components/post-preview-button/index.js +1 -1
  124. package/build/components/post-preview-button/index.js.map +1 -1
  125. package/build/components/post-publish-panel/index.js +5 -2
  126. package/build/components/post-publish-panel/index.js.map +1 -1
  127. package/build/components/post-schedule/check.js +3 -3
  128. package/build/components/post-schedule/check.js.map +1 -1
  129. package/build/components/post-schedule/index.js +1 -1
  130. package/build/components/post-schedule/index.js.map +1 -1
  131. package/build/components/post-schedule/label.js +1 -1
  132. package/build/components/post-schedule/label.js.map +1 -1
  133. package/build/components/post-schedule/panel.js +1 -1
  134. package/build/components/post-schedule/panel.js.map +1 -1
  135. package/build/components/post-slug/check.js +3 -3
  136. package/build/components/post-slug/check.js.map +1 -1
  137. package/build/components/post-slug/index.js +1 -1
  138. package/build/components/post-slug/index.js.map +1 -1
  139. package/build/components/post-sticky/check.js +3 -3
  140. package/build/components/post-sticky/check.js.map +1 -1
  141. package/build/components/post-sticky/index.js +1 -1
  142. package/build/components/post-sticky/index.js.map +1 -1
  143. package/build/components/post-switch-to-draft-button/index.js +1 -1
  144. package/build/components/post-switch-to-draft-button/index.js.map +1 -1
  145. package/build/components/post-sync-status/index.js +1 -1
  146. package/build/components/post-sync-status/index.js.map +1 -1
  147. package/build/components/post-taxonomies/check.js +3 -3
  148. package/build/components/post-taxonomies/check.js.map +1 -1
  149. package/build/components/post-taxonomies/flat-term-selector.js +11 -9
  150. package/build/components/post-taxonomies/flat-term-selector.js.map +1 -1
  151. package/build/components/post-taxonomies/panel.js +16 -13
  152. package/build/components/post-taxonomies/panel.js.map +1 -1
  153. package/build/components/post-template/classic-theme.js +2 -2
  154. package/build/components/post-template/classic-theme.js.map +1 -1
  155. package/build/components/post-template/panel.js +1 -1
  156. package/build/components/post-template/panel.js.map +1 -1
  157. package/build/components/post-template/swap-template-button.js +0 -3
  158. package/build/components/post-template/swap-template-button.js.map +1 -1
  159. package/build/components/post-text-editor/index.js +1 -1
  160. package/build/components/post-text-editor/index.js.map +1 -1
  161. package/build/components/post-title/index.js +20 -18
  162. package/build/components/post-title/index.js.map +1 -1
  163. package/build/components/post-title/post-title-raw.js +1 -1
  164. package/build/components/post-title/post-title-raw.js.map +1 -1
  165. package/build/components/post-transform-panel/index.js +0 -3
  166. package/build/components/post-transform-panel/index.js.map +1 -1
  167. package/build/components/post-trash/check.js +3 -3
  168. package/build/components/post-trash/check.js.map +1 -1
  169. package/build/components/post-trash/index.js +1 -1
  170. package/build/components/post-trash/index.js.map +1 -1
  171. package/build/components/post-type-support-check/index.js +6 -6
  172. package/build/components/post-type-support-check/index.js.map +1 -1
  173. package/build/components/post-url/check.js +3 -3
  174. package/build/components/post-url/check.js.map +1 -1
  175. package/build/components/post-url/index.js +1 -1
  176. package/build/components/post-url/index.js.map +1 -1
  177. package/build/components/post-url/label.js +1 -1
  178. package/build/components/post-url/label.js.map +1 -1
  179. package/build/components/post-url/panel.js +1 -1
  180. package/build/components/post-url/panel.js.map +1 -1
  181. package/build/components/post-visibility/check.js +1 -1
  182. package/build/components/post-visibility/check.js.map +1 -1
  183. package/build/components/post-visibility/index.js +1 -1
  184. package/build/components/post-visibility/index.js.map +1 -1
  185. package/build/components/preferences-modal/block-visibility.js +87 -0
  186. package/build/components/preferences-modal/block-visibility.js.map +1 -0
  187. package/build/components/preferences-modal/enable-panel.js +27 -19
  188. package/build/components/preferences-modal/enable-panel.js.map +1 -1
  189. package/build/components/preferences-modal/enable-publish-sidebar.js +13 -10
  190. package/build/components/preferences-modal/enable-publish-sidebar.js.map +1 -1
  191. package/build/components/preferences-modal/index.js +28 -24
  192. package/build/components/preferences-modal/index.js.map +1 -1
  193. package/build/components/preview-dropdown/index.js +23 -4
  194. package/build/components/preview-dropdown/index.js.map +1 -1
  195. package/build/components/provider/index.js +14 -8
  196. package/build/components/provider/index.js.map +1 -1
  197. package/build/components/provider/use-block-editor-settings.js +10 -9
  198. package/build/components/provider/use-block-editor-settings.js.map +1 -1
  199. package/build/components/sidebar/post-summary.js +2 -2
  200. package/build/components/sidebar/post-summary.js.map +1 -1
  201. package/build/components/start-page-options/index.js +0 -3
  202. package/build/components/start-page-options/index.js.map +1 -1
  203. package/build/components/start-template-options/index.js +0 -3
  204. package/build/components/start-template-options/index.js.map +1 -1
  205. package/build/components/table-of-contents/index.js +1 -1
  206. package/build/components/table-of-contents/index.js.map +1 -1
  207. package/build/components/theme-support-check/index.js +4 -4
  208. package/build/components/theme-support-check/index.js.map +1 -1
  209. package/build/components/time-to-read/index.js +1 -1
  210. package/build/components/time-to-read/index.js.map +1 -1
  211. package/build/components/unsaved-changes-warning/index.js +1 -1
  212. package/build/components/unsaved-changes-warning/index.js.map +1 -1
  213. package/build/components/visual-editor/index.js +5 -2
  214. package/build/components/visual-editor/index.js.map +1 -1
  215. package/build/components/word-count/index.js +1 -1
  216. package/build/components/word-count/index.js.map +1 -1
  217. package/build/components/zoom-out-toggle/index.js +8 -3
  218. package/build/components/zoom-out-toggle/index.js.map +1 -1
  219. package/build/dataviews/api.js +41 -0
  220. package/build/dataviews/api.js.map +1 -1
  221. package/build/dataviews/store/private-actions.js +26 -4
  222. package/build/dataviews/store/private-actions.js.map +1 -1
  223. package/build/dataviews/store/private-selectors.js +5 -0
  224. package/build/dataviews/store/private-selectors.js.map +1 -1
  225. package/build/dataviews/store/reducer.js +23 -0
  226. package/build/dataviews/store/reducer.js.map +1 -1
  227. package/build/private-apis.js +4 -0
  228. package/build/private-apis.js.map +1 -1
  229. package/build/store/actions.js +76 -25
  230. package/build/store/actions.js.map +1 -1
  231. package/build/store/constants.js +0 -2
  232. package/build/store/constants.js.map +1 -1
  233. package/build/store/index.js +0 -4
  234. package/build/store/index.js.map +1 -1
  235. package/build/store/private-selectors.js +5 -1
  236. package/build/store/private-selectors.js.map +1 -1
  237. package/build/store/reducer.native.js +1 -0
  238. package/build/store/reducer.native.js.map +1 -1
  239. package/build/store/selectors.js +36 -44
  240. package/build/store/selectors.js.map +1 -1
  241. package/build/utils/get-template-info.js +60 -0
  242. package/build/utils/get-template-info.js.map +1 -0
  243. package/build-module/components/block-settings-menu/plugin-block-settings-menu-item.js +1 -1
  244. package/build-module/components/block-settings-menu/plugin-block-settings-menu-item.js.map +1 -1
  245. package/build-module/components/collab-sidebar/add-comment.js +20 -70
  246. package/build-module/components/collab-sidebar/add-comment.js.map +1 -1
  247. package/build-module/components/collab-sidebar/comment-author-info.js +71 -0
  248. package/build-module/components/collab-sidebar/comment-author-info.js.map +1 -0
  249. package/build-module/components/collab-sidebar/comment-button-toolbar.js +2 -2
  250. package/build-module/components/collab-sidebar/comment-button-toolbar.js.map +1 -1
  251. package/build-module/components/collab-sidebar/comment-button.js +2 -2
  252. package/build-module/components/collab-sidebar/comment-button.js.map +1 -1
  253. package/build-module/components/collab-sidebar/comment-form.js +59 -0
  254. package/build-module/components/collab-sidebar/comment-form.js.map +1 -0
  255. package/build-module/components/collab-sidebar/comments.js +33 -91
  256. package/build-module/components/collab-sidebar/comments.js.map +1 -1
  257. package/build-module/components/collab-sidebar/index.js +76 -74
  258. package/build-module/components/collab-sidebar/index.js.map +1 -1
  259. package/build-module/components/commands/index.js +145 -38
  260. package/build-module/components/commands/index.js.map +1 -1
  261. package/build-module/components/create-template-part-modal/index.js +2 -2
  262. package/build-module/components/create-template-part-modal/index.js.map +1 -1
  263. package/build-module/components/document-bar/index.js +19 -6
  264. package/build-module/components/document-bar/index.js.map +1 -1
  265. package/build-module/components/document-outline/check.js +4 -4
  266. package/build-module/components/document-outline/check.js.map +1 -1
  267. package/build-module/components/document-outline/index.js +8 -8
  268. package/build-module/components/document-outline/index.js.map +1 -1
  269. package/build-module/components/document-tools/index.js +8 -4
  270. package/build-module/components/document-tools/index.js.map +1 -1
  271. package/build-module/components/editor-history/redo.js +1 -1
  272. package/build-module/components/editor-history/redo.js.map +1 -1
  273. package/build-module/components/editor-history/undo.js +1 -1
  274. package/build-module/components/editor-history/undo.js.map +1 -1
  275. package/build-module/components/editor-interface/content-slot-fill.js +2 -11
  276. package/build-module/components/editor-interface/content-slot-fill.js.map +1 -1
  277. package/build-module/components/editor-interface/index.js +5 -12
  278. package/build-module/components/editor-interface/index.js.map +1 -1
  279. package/build-module/components/editor-notices/index.js +1 -1
  280. package/build-module/components/editor-notices/index.js.map +1 -1
  281. package/build-module/components/editor-snackbars/index.js +1 -1
  282. package/build-module/components/editor-snackbars/index.js.map +1 -1
  283. package/build-module/components/entities-saved-states/entity-record-item.js +9 -1
  284. package/build-module/components/entities-saved-states/entity-record-item.js.map +1 -1
  285. package/build-module/components/entities-saved-states/index.js +2 -2
  286. package/build-module/components/entities-saved-states/index.js.map +1 -1
  287. package/build-module/components/global-styles-provider/index.js +20 -8
  288. package/build-module/components/global-styles-provider/index.js.map +1 -1
  289. package/build-module/components/header/index.js +10 -12
  290. package/build-module/components/header/index.js.map +1 -1
  291. package/build-module/components/more-menu/index.js +9 -7
  292. package/build-module/components/more-menu/index.js.map +1 -1
  293. package/build-module/components/page-attributes/check.js +3 -3
  294. package/build-module/components/page-attributes/check.js.map +1 -1
  295. package/build-module/components/page-attributes/order.js +1 -1
  296. package/build-module/components/page-attributes/order.js.map +1 -1
  297. package/build-module/components/page-attributes/panel.js +1 -1
  298. package/build-module/components/page-attributes/panel.js.map +1 -1
  299. package/build-module/components/page-attributes/parent.js +1 -1
  300. package/build-module/components/page-attributes/parent.js.map +1 -1
  301. package/build-module/components/plugin-document-setting-panel/index.js +2 -2
  302. package/build-module/components/plugin-document-setting-panel/index.js.map +1 -1
  303. package/build-module/components/plugin-more-menu-item/index.js +2 -1
  304. package/build-module/components/plugin-more-menu-item/index.js.map +1 -1
  305. package/build-module/components/plugin-post-publish-panel/index.js +2 -2
  306. package/build-module/components/plugin-post-publish-panel/index.js.map +1 -1
  307. package/build-module/components/plugin-post-status-info/index.js +4 -4
  308. package/build-module/components/plugin-post-status-info/index.js.map +1 -1
  309. package/build-module/components/plugin-pre-publish-panel/index.js +2 -2
  310. package/build-module/components/plugin-pre-publish-panel/index.js.map +1 -1
  311. package/build-module/components/plugin-preview-menu-item/index.js +2 -1
  312. package/build-module/components/plugin-preview-menu-item/index.js.map +1 -1
  313. package/build-module/components/plugin-sidebar/index.js +1 -0
  314. package/build-module/components/plugin-sidebar/index.js.map +1 -1
  315. package/build-module/components/plugin-sidebar-more-menu-item/index.js +2 -1
  316. package/build-module/components/plugin-sidebar-more-menu-item/index.js.map +1 -1
  317. package/build-module/components/post-actions/actions.js +3 -3
  318. package/build-module/components/post-actions/actions.js.map +1 -1
  319. package/build-module/components/post-author/check.js +3 -3
  320. package/build-module/components/post-author/check.js.map +1 -1
  321. package/build-module/components/post-author/index.js +1 -1
  322. package/build-module/components/post-author/index.js.map +1 -1
  323. package/build-module/components/post-author/panel.js +1 -1
  324. package/build-module/components/post-author/panel.js.map +1 -1
  325. package/build-module/components/post-card-panel/index.js +9 -4
  326. package/build-module/components/post-card-panel/index.js.map +1 -1
  327. package/build-module/components/post-comments/index.js +1 -1
  328. package/build-module/components/post-comments/index.js.map +1 -1
  329. package/build-module/components/post-discussion/panel.js +1 -1
  330. package/build-module/components/post-discussion/panel.js.map +1 -1
  331. package/build-module/components/post-excerpt/check.js +3 -3
  332. package/build-module/components/post-excerpt/check.js.map +1 -1
  333. package/build-module/components/post-excerpt/panel.js +1 -1
  334. package/build-module/components/post-excerpt/panel.js.map +1 -1
  335. package/build-module/components/post-excerpt/plugin.js +4 -4
  336. package/build-module/components/post-excerpt/plugin.js.map +1 -1
  337. package/build-module/components/post-featured-image/check.js +3 -3
  338. package/build-module/components/post-featured-image/check.js.map +1 -1
  339. package/build-module/components/post-featured-image/index.js +40 -10
  340. package/build-module/components/post-featured-image/index.js.map +1 -1
  341. package/build-module/components/post-featured-image/panel.js +1 -1
  342. package/build-module/components/post-featured-image/panel.js.map +1 -1
  343. package/build-module/components/post-fields/index.js +62 -0
  344. package/build-module/components/post-fields/index.js.map +1 -0
  345. package/build-module/components/post-format/check.js +10 -11
  346. package/build-module/components/post-format/check.js.map +1 -1
  347. package/build-module/components/post-format/index.js +1 -1
  348. package/build-module/components/post-format/index.js.map +1 -1
  349. package/build-module/components/post-format/panel.js +1 -1
  350. package/build-module/components/post-format/panel.js.map +1 -1
  351. package/build-module/components/post-last-revision/check.js +3 -3
  352. package/build-module/components/post-last-revision/check.js.map +1 -1
  353. package/build-module/components/post-last-revision/index.js +1 -1
  354. package/build-module/components/post-last-revision/index.js.map +1 -1
  355. package/build-module/components/post-last-revision/panel.js +1 -1
  356. package/build-module/components/post-last-revision/panel.js.map +1 -1
  357. package/build-module/components/post-locked-modal/index.js +1 -1
  358. package/build-module/components/post-locked-modal/index.js.map +1 -1
  359. package/build-module/components/post-pending-status/check.js +3 -3
  360. package/build-module/components/post-pending-status/check.js.map +1 -1
  361. package/build-module/components/post-pending-status/index.js +1 -1
  362. package/build-module/components/post-pending-status/index.js.map +1 -1
  363. package/build-module/components/post-preview-button/index.js +1 -1
  364. package/build-module/components/post-preview-button/index.js.map +1 -1
  365. package/build-module/components/post-publish-panel/index.js +5 -2
  366. package/build-module/components/post-publish-panel/index.js.map +1 -1
  367. package/build-module/components/post-schedule/check.js +3 -3
  368. package/build-module/components/post-schedule/check.js.map +1 -1
  369. package/build-module/components/post-schedule/index.js +1 -1
  370. package/build-module/components/post-schedule/index.js.map +1 -1
  371. package/build-module/components/post-schedule/label.js +1 -1
  372. package/build-module/components/post-schedule/label.js.map +1 -1
  373. package/build-module/components/post-schedule/panel.js +1 -1
  374. package/build-module/components/post-schedule/panel.js.map +1 -1
  375. package/build-module/components/post-slug/check.js +3 -3
  376. package/build-module/components/post-slug/check.js.map +1 -1
  377. package/build-module/components/post-slug/index.js +1 -1
  378. package/build-module/components/post-slug/index.js.map +1 -1
  379. package/build-module/components/post-sticky/check.js +3 -3
  380. package/build-module/components/post-sticky/check.js.map +1 -1
  381. package/build-module/components/post-sticky/index.js +1 -1
  382. package/build-module/components/post-sticky/index.js.map +1 -1
  383. package/build-module/components/post-switch-to-draft-button/index.js +1 -1
  384. package/build-module/components/post-switch-to-draft-button/index.js.map +1 -1
  385. package/build-module/components/post-sync-status/index.js +1 -1
  386. package/build-module/components/post-sync-status/index.js.map +1 -1
  387. package/build-module/components/post-taxonomies/check.js +3 -3
  388. package/build-module/components/post-taxonomies/check.js.map +1 -1
  389. package/build-module/components/post-taxonomies/flat-term-selector.js +11 -9
  390. package/build-module/components/post-taxonomies/flat-term-selector.js.map +1 -1
  391. package/build-module/components/post-taxonomies/panel.js +17 -12
  392. package/build-module/components/post-taxonomies/panel.js.map +1 -1
  393. package/build-module/components/post-template/classic-theme.js +2 -2
  394. package/build-module/components/post-template/classic-theme.js.map +1 -1
  395. package/build-module/components/post-template/panel.js +1 -1
  396. package/build-module/components/post-template/panel.js.map +1 -1
  397. package/build-module/components/post-template/swap-template-button.js +0 -3
  398. package/build-module/components/post-template/swap-template-button.js.map +1 -1
  399. package/build-module/components/post-text-editor/index.js +1 -1
  400. package/build-module/components/post-text-editor/index.js.map +1 -1
  401. package/build-module/components/post-title/index.js +20 -18
  402. package/build-module/components/post-title/index.js.map +1 -1
  403. package/build-module/components/post-title/post-title-raw.js +1 -1
  404. package/build-module/components/post-title/post-title-raw.js.map +1 -1
  405. package/build-module/components/post-transform-panel/index.js +0 -3
  406. package/build-module/components/post-transform-panel/index.js.map +1 -1
  407. package/build-module/components/post-trash/check.js +3 -3
  408. package/build-module/components/post-trash/check.js.map +1 -1
  409. package/build-module/components/post-trash/index.js +1 -1
  410. package/build-module/components/post-trash/index.js.map +1 -1
  411. package/build-module/components/post-type-support-check/index.js +6 -6
  412. package/build-module/components/post-type-support-check/index.js.map +1 -1
  413. package/build-module/components/post-url/check.js +3 -3
  414. package/build-module/components/post-url/check.js.map +1 -1
  415. package/build-module/components/post-url/index.js +1 -1
  416. package/build-module/components/post-url/index.js.map +1 -1
  417. package/build-module/components/post-url/label.js +1 -1
  418. package/build-module/components/post-url/label.js.map +1 -1
  419. package/build-module/components/post-url/panel.js +1 -1
  420. package/build-module/components/post-url/panel.js.map +1 -1
  421. package/build-module/components/post-visibility/check.js +1 -1
  422. package/build-module/components/post-visibility/check.js.map +1 -1
  423. package/build-module/components/post-visibility/index.js +1 -1
  424. package/build-module/components/post-visibility/index.js.map +1 -1
  425. package/build-module/components/preferences-modal/block-visibility.js +80 -0
  426. package/build-module/components/preferences-modal/block-visibility.js.map +1 -0
  427. package/build-module/components/preferences-modal/enable-panel.js +27 -19
  428. package/build-module/components/preferences-modal/enable-panel.js.map +1 -1
  429. package/build-module/components/preferences-modal/enable-publish-sidebar.js +13 -10
  430. package/build-module/components/preferences-modal/enable-publish-sidebar.js.map +1 -1
  431. package/build-module/components/preferences-modal/index.js +28 -24
  432. package/build-module/components/preferences-modal/index.js.map +1 -1
  433. package/build-module/components/preview-dropdown/index.js +24 -5
  434. package/build-module/components/preview-dropdown/index.js.map +1 -1
  435. package/build-module/components/provider/index.js +14 -8
  436. package/build-module/components/provider/index.js.map +1 -1
  437. package/build-module/components/provider/use-block-editor-settings.js +11 -10
  438. package/build-module/components/provider/use-block-editor-settings.js.map +1 -1
  439. package/build-module/components/sidebar/post-summary.js +2 -2
  440. package/build-module/components/sidebar/post-summary.js.map +1 -1
  441. package/build-module/components/start-page-options/index.js +0 -3
  442. package/build-module/components/start-page-options/index.js.map +1 -1
  443. package/build-module/components/start-template-options/index.js +0 -3
  444. package/build-module/components/start-template-options/index.js.map +1 -1
  445. package/build-module/components/table-of-contents/index.js +1 -1
  446. package/build-module/components/table-of-contents/index.js.map +1 -1
  447. package/build-module/components/theme-support-check/index.js +4 -4
  448. package/build-module/components/theme-support-check/index.js.map +1 -1
  449. package/build-module/components/time-to-read/index.js +1 -1
  450. package/build-module/components/time-to-read/index.js.map +1 -1
  451. package/build-module/components/unsaved-changes-warning/index.js +1 -1
  452. package/build-module/components/unsaved-changes-warning/index.js.map +1 -1
  453. package/build-module/components/visual-editor/index.js +5 -2
  454. package/build-module/components/visual-editor/index.js.map +1 -1
  455. package/build-module/components/word-count/index.js +1 -1
  456. package/build-module/components/word-count/index.js.map +1 -1
  457. package/build-module/components/zoom-out-toggle/index.js +8 -3
  458. package/build-module/components/zoom-out-toggle/index.js.map +1 -1
  459. package/build-module/dataviews/api.js +39 -0
  460. package/build-module/dataviews/api.js.map +1 -1
  461. package/build-module/dataviews/store/private-actions.js +23 -3
  462. package/build-module/dataviews/store/private-actions.js.map +1 -1
  463. package/build-module/dataviews/store/private-selectors.js +4 -0
  464. package/build-module/dataviews/store/private-selectors.js.map +1 -1
  465. package/build-module/dataviews/store/reducer.js +23 -0
  466. package/build-module/dataviews/store/reducer.js.map +1 -1
  467. package/build-module/private-apis.js +4 -0
  468. package/build-module/private-apis.js.map +1 -1
  469. package/build-module/store/actions.js +72 -23
  470. package/build-module/store/actions.js.map +1 -1
  471. package/build-module/store/constants.js +0 -2
  472. package/build-module/store/constants.js.map +1 -1
  473. package/build-module/store/index.js +0 -4
  474. package/build-module/store/index.js.map +1 -1
  475. package/build-module/store/private-selectors.js +6 -3
  476. package/build-module/store/private-selectors.js.map +1 -1
  477. package/build-module/store/reducer.native.js +2 -1
  478. package/build-module/store/reducer.native.js.map +1 -1
  479. package/build-module/store/selectors.js +35 -41
  480. package/build-module/store/selectors.js.map +1 -1
  481. package/build-module/utils/get-template-info.js +51 -0
  482. package/build-module/utils/get-template-info.js.map +1 -0
  483. package/build-style/style-rtl.css +33 -87
  484. package/build-style/style.css +33 -87
  485. package/build-types/components/block-settings-menu/plugin-block-settings-menu-item.d.ts +2 -2
  486. package/build-types/components/block-settings-menu/plugin-block-settings-menu-item.d.ts.map +1 -1
  487. package/build-types/components/collab-sidebar/add-comment.d.ts +2 -2
  488. package/build-types/components/collab-sidebar/add-comment.d.ts.map +1 -1
  489. package/build-types/components/collab-sidebar/comment-author-info.d.ts +17 -0
  490. package/build-types/components/collab-sidebar/comment-author-info.d.ts.map +1 -0
  491. package/build-types/components/collab-sidebar/comment-form.d.ts +18 -0
  492. package/build-types/components/collab-sidebar/comment-form.d.ts.map +1 -0
  493. package/build-types/components/collab-sidebar/comments.d.ts +2 -2
  494. package/build-types/components/collab-sidebar/comments.d.ts.map +1 -1
  495. package/build-types/components/collab-sidebar/index.d.ts.map +1 -1
  496. package/build-types/components/commands/index.d.ts.map +1 -1
  497. package/build-types/components/create-template-part-modal/index.d.ts.map +1 -1
  498. package/build-types/components/document-bar/index.d.ts +2 -2
  499. package/build-types/components/document-bar/index.d.ts.map +1 -1
  500. package/build-types/components/document-outline/check.d.ts +5 -5
  501. package/build-types/components/document-outline/check.d.ts.map +1 -1
  502. package/build-types/components/document-outline/index.d.ts +4 -6
  503. package/build-types/components/document-outline/index.d.ts.map +1 -1
  504. package/build-types/components/document-tools/index.d.ts.map +1 -1
  505. package/build-types/components/editor-interface/content-slot-fill.d.ts +12 -1
  506. package/build-types/components/editor-interface/content-slot-fill.d.ts.map +1 -1
  507. package/build-types/components/editor-interface/index.d.ts.map +1 -1
  508. package/build-types/components/editor-notices/index.d.ts +2 -2
  509. package/build-types/components/editor-notices/index.d.ts.map +1 -1
  510. package/build-types/components/editor-snackbars/index.d.ts +2 -2
  511. package/build-types/components/editor-snackbars/index.d.ts.map +1 -1
  512. package/build-types/components/entities-saved-states/entity-record-item.d.ts.map +1 -1
  513. package/build-types/components/entities-saved-states/index.d.ts +4 -4
  514. package/build-types/components/entities-saved-states/index.d.ts.map +1 -1
  515. package/build-types/components/global-styles-provider/index.d.ts.map +1 -1
  516. package/build-types/components/header/back-button.d.ts.map +1 -1
  517. package/build-types/components/header/index.d.ts +1 -2
  518. package/build-types/components/header/index.d.ts.map +1 -1
  519. package/build-types/components/more-menu/index.d.ts.map +1 -1
  520. package/build-types/components/more-menu/tools-more-menu-group.d.ts.map +1 -1
  521. package/build-types/components/more-menu/view-more-menu-group.d.ts.map +1 -1
  522. package/build-types/components/page-attributes/check.d.ts +5 -5
  523. package/build-types/components/page-attributes/check.d.ts.map +1 -1
  524. package/build-types/components/page-attributes/order.d.ts +2 -2
  525. package/build-types/components/page-attributes/order.d.ts.map +1 -1
  526. package/build-types/components/page-attributes/panel.d.ts +2 -2
  527. package/build-types/components/page-attributes/panel.d.ts.map +1 -1
  528. package/build-types/components/page-attributes/parent.d.ts +2 -2
  529. package/build-types/components/page-attributes/parent.d.ts.map +1 -1
  530. package/build-types/components/plugin-document-setting-panel/index.d.ts +4 -4
  531. package/build-types/components/plugin-document-setting-panel/index.d.ts.map +1 -1
  532. package/build-types/components/plugin-more-menu-item/index.d.ts +4 -2
  533. package/build-types/components/plugin-more-menu-item/index.d.ts.map +1 -1
  534. package/build-types/components/plugin-post-publish-panel/index.d.ts +4 -4
  535. package/build-types/components/plugin-post-publish-panel/index.d.ts.map +1 -1
  536. package/build-types/components/plugin-post-status-info/index.d.ts +6 -6
  537. package/build-types/components/plugin-post-status-info/index.d.ts.map +1 -1
  538. package/build-types/components/plugin-pre-publish-panel/index.d.ts +4 -4
  539. package/build-types/components/plugin-pre-publish-panel/index.d.ts.map +1 -1
  540. package/build-types/components/plugin-preview-menu-item/index.d.ts +4 -2
  541. package/build-types/components/plugin-preview-menu-item/index.d.ts.map +1 -1
  542. package/build-types/components/plugin-sidebar/index.d.ts +2 -0
  543. package/build-types/components/plugin-sidebar/index.d.ts.map +1 -1
  544. package/build-types/components/plugin-sidebar-more-menu-item/index.d.ts +4 -2
  545. package/build-types/components/plugin-sidebar-more-menu-item/index.d.ts.map +1 -1
  546. package/build-types/components/post-author/check.d.ts +5 -5
  547. package/build-types/components/post-author/check.d.ts.map +1 -1
  548. package/build-types/components/post-author/index.d.ts +2 -2
  549. package/build-types/components/post-author/index.d.ts.map +1 -1
  550. package/build-types/components/post-author/panel.d.ts +2 -2
  551. package/build-types/components/post-author/panel.d.ts.map +1 -1
  552. package/build-types/components/post-card-panel/index.d.ts.map +1 -1
  553. package/build-types/components/post-discussion/panel.d.ts +2 -2
  554. package/build-types/components/post-discussion/panel.d.ts.map +1 -1
  555. package/build-types/components/post-excerpt/check.d.ts +5 -5
  556. package/build-types/components/post-excerpt/check.d.ts.map +1 -1
  557. package/build-types/components/post-excerpt/panel.d.ts +2 -2
  558. package/build-types/components/post-excerpt/panel.d.ts.map +1 -1
  559. package/build-types/components/post-excerpt/plugin.d.ts +6 -6
  560. package/build-types/components/post-excerpt/plugin.d.ts.map +1 -1
  561. package/build-types/components/post-featured-image/check.d.ts +5 -5
  562. package/build-types/components/post-featured-image/check.d.ts.map +1 -1
  563. package/build-types/components/post-featured-image/panel.d.ts +2 -2
  564. package/build-types/components/post-featured-image/panel.d.ts.map +1 -1
  565. package/build-types/components/post-fields/index.d.ts +12 -0
  566. package/build-types/components/post-fields/index.d.ts.map +1 -0
  567. package/build-types/components/post-format/check.d.ts +11 -4
  568. package/build-types/components/post-format/check.d.ts.map +1 -1
  569. package/build-types/components/post-format/index.d.ts +2 -2
  570. package/build-types/components/post-format/index.d.ts.map +1 -1
  571. package/build-types/components/post-format/panel.d.ts +2 -2
  572. package/build-types/components/post-format/panel.d.ts.map +1 -1
  573. package/build-types/components/post-last-revision/check.d.ts +5 -5
  574. package/build-types/components/post-last-revision/check.d.ts.map +1 -1
  575. package/build-types/components/post-last-revision/index.d.ts +2 -2
  576. package/build-types/components/post-last-revision/index.d.ts.map +1 -1
  577. package/build-types/components/post-last-revision/panel.d.ts +2 -2
  578. package/build-types/components/post-last-revision/panel.d.ts.map +1 -1
  579. package/build-types/components/post-locked-modal/index.d.ts +2 -2
  580. package/build-types/components/post-locked-modal/index.d.ts.map +1 -1
  581. package/build-types/components/post-pending-status/check.d.ts +5 -5
  582. package/build-types/components/post-pending-status/check.d.ts.map +1 -1
  583. package/build-types/components/post-pending-status/index.d.ts +2 -2
  584. package/build-types/components/post-pending-status/index.d.ts.map +1 -1
  585. package/build-types/components/post-preview-button/index.d.ts +2 -2
  586. package/build-types/components/post-preview-button/index.d.ts.map +1 -1
  587. package/build-types/components/post-publish-panel/index.d.ts.map +1 -1
  588. package/build-types/components/post-schedule/check.d.ts +5 -5
  589. package/build-types/components/post-schedule/check.d.ts.map +1 -1
  590. package/build-types/components/post-schedule/index.d.ts +2 -2
  591. package/build-types/components/post-schedule/index.d.ts.map +1 -1
  592. package/build-types/components/post-schedule/label.d.ts +2 -2
  593. package/build-types/components/post-schedule/label.d.ts.map +1 -1
  594. package/build-types/components/post-schedule/panel.d.ts +2 -2
  595. package/build-types/components/post-schedule/panel.d.ts.map +1 -1
  596. package/build-types/components/post-slug/check.d.ts +5 -5
  597. package/build-types/components/post-slug/check.d.ts.map +1 -1
  598. package/build-types/components/post-slug/index.d.ts +2 -2
  599. package/build-types/components/post-slug/index.d.ts.map +1 -1
  600. package/build-types/components/post-sticky/check.d.ts +5 -5
  601. package/build-types/components/post-sticky/check.d.ts.map +1 -1
  602. package/build-types/components/post-sticky/index.d.ts +2 -2
  603. package/build-types/components/post-sticky/index.d.ts.map +1 -1
  604. package/build-types/components/post-switch-to-draft-button/index.d.ts +2 -2
  605. package/build-types/components/post-switch-to-draft-button/index.d.ts.map +1 -1
  606. package/build-types/components/post-sync-status/index.d.ts +2 -2
  607. package/build-types/components/post-sync-status/index.d.ts.map +1 -1
  608. package/build-types/components/post-taxonomies/check.d.ts +5 -5
  609. package/build-types/components/post-taxonomies/check.d.ts.map +1 -1
  610. package/build-types/components/post-taxonomies/flat-term-selector.d.ts +2 -2
  611. package/build-types/components/post-taxonomies/flat-term-selector.d.ts.map +1 -1
  612. package/build-types/components/post-taxonomies/panel.d.ts +6 -2
  613. package/build-types/components/post-taxonomies/panel.d.ts.map +1 -1
  614. package/build-types/components/post-template/hooks.d.ts +2 -2
  615. package/build-types/components/post-template/panel.d.ts +2 -2
  616. package/build-types/components/post-template/panel.d.ts.map +1 -1
  617. package/build-types/components/post-template/swap-template-button.d.ts.map +1 -1
  618. package/build-types/components/post-text-editor/index.d.ts +2 -2
  619. package/build-types/components/post-text-editor/index.d.ts.map +1 -1
  620. package/build-types/components/post-title/index.d.ts +1 -1
  621. package/build-types/components/post-transform-panel/index.d.ts.map +1 -1
  622. package/build-types/components/post-trash/check.d.ts +5 -5
  623. package/build-types/components/post-trash/check.d.ts.map +1 -1
  624. package/build-types/components/post-trash/index.d.ts +2 -2
  625. package/build-types/components/post-trash/index.d.ts.map +1 -1
  626. package/build-types/components/post-type-support-check/index.d.ts +8 -8
  627. package/build-types/components/post-type-support-check/index.d.ts.map +1 -1
  628. package/build-types/components/post-url/check.d.ts +5 -5
  629. package/build-types/components/post-url/check.d.ts.map +1 -1
  630. package/build-types/components/post-url/index.d.ts +2 -2
  631. package/build-types/components/post-url/index.d.ts.map +1 -1
  632. package/build-types/components/post-url/label.d.ts +2 -2
  633. package/build-types/components/post-url/label.d.ts.map +1 -1
  634. package/build-types/components/post-url/panel.d.ts +2 -2
  635. package/build-types/components/post-url/panel.d.ts.map +1 -1
  636. package/build-types/components/post-visibility/check.d.ts +2 -2
  637. package/build-types/components/post-visibility/check.d.ts.map +1 -1
  638. package/build-types/components/post-visibility/index.d.ts +2 -2
  639. package/build-types/components/post-visibility/index.d.ts.map +1 -1
  640. package/build-types/components/preferences-modal/block-visibility.d.ts +2 -0
  641. package/build-types/components/preferences-modal/block-visibility.d.ts.map +1 -0
  642. package/build-types/components/preferences-modal/enable-panel.d.ts +1 -2
  643. package/build-types/components/preferences-modal/enable-panel.d.ts.map +1 -1
  644. package/build-types/components/preferences-modal/enable-plugin-document-setting-panel.d.ts.map +1 -1
  645. package/build-types/components/preferences-modal/enable-publish-sidebar.d.ts +1 -2
  646. package/build-types/components/preferences-modal/enable-publish-sidebar.d.ts.map +1 -1
  647. package/build-types/components/preferences-modal/index.d.ts.map +1 -1
  648. package/build-types/components/preview-dropdown/index.d.ts.map +1 -1
  649. package/build-types/components/provider/index.d.ts +2 -2
  650. package/build-types/components/provider/index.d.ts.map +1 -1
  651. package/build-types/components/provider/use-block-editor-settings.d.ts.map +1 -1
  652. package/build-types/components/save-publish-panels/index.d.ts.map +1 -1
  653. package/build-types/components/start-page-options/index.d.ts.map +1 -1
  654. package/build-types/components/start-template-options/index.d.ts.map +1 -1
  655. package/build-types/components/theme-support-check/index.d.ts +6 -6
  656. package/build-types/components/theme-support-check/index.d.ts.map +1 -1
  657. package/build-types/components/time-to-read/index.d.ts +2 -2
  658. package/build-types/components/time-to-read/index.d.ts.map +1 -1
  659. package/build-types/components/unsaved-changes-warning/index.d.ts +2 -2
  660. package/build-types/components/unsaved-changes-warning/index.d.ts.map +1 -1
  661. package/build-types/components/visual-editor/index.d.ts.map +1 -1
  662. package/build-types/components/word-count/index.d.ts +2 -2
  663. package/build-types/components/word-count/index.d.ts.map +1 -1
  664. package/build-types/components/zoom-out-toggle/index.d.ts.map +1 -1
  665. package/build-types/dataviews/api.d.ts +24 -0
  666. package/build-types/dataviews/api.d.ts.map +1 -1
  667. package/build-types/dataviews/store/private-actions.d.ts +14 -2
  668. package/build-types/dataviews/store/private-actions.d.ts.map +1 -1
  669. package/build-types/dataviews/store/private-selectors.d.ts +1 -0
  670. package/build-types/dataviews/store/private-selectors.d.ts.map +1 -1
  671. package/build-types/dataviews/store/reducer.d.ts +15 -4
  672. package/build-types/dataviews/store/reducer.d.ts.map +1 -1
  673. package/build-types/lock-unlock.d.ts +2 -2
  674. package/build-types/private-apis.d.ts.map +1 -1
  675. package/build-types/store/actions.d.ts +16 -6
  676. package/build-types/store/actions.d.ts.map +1 -1
  677. package/build-types/store/constants.d.ts +0 -2
  678. package/build-types/store/constants.d.ts.map +1 -1
  679. package/build-types/store/index.d.ts +9 -11
  680. package/build-types/store/index.d.ts.map +1 -1
  681. package/build-types/store/private-selectors.d.ts +1 -0
  682. package/build-types/store/private-selectors.d.ts.map +1 -1
  683. package/build-types/store/reducer.d.ts +29 -4
  684. package/build-types/store/reducer.d.ts.map +1 -1
  685. package/build-types/store/selectors.d.ts +7 -14
  686. package/build-types/store/selectors.d.ts.map +1 -1
  687. package/build-types/utils/get-template-info.d.ts +6 -0
  688. package/build-types/utils/get-template-info.d.ts.map +1 -0
  689. package/package.json +36 -35
  690. package/src/components/block-settings-menu/plugin-block-settings-menu-item.js +1 -1
  691. package/src/components/collab-sidebar/add-comment.js +17 -77
  692. package/src/components/collab-sidebar/comment-author-info.js +68 -0
  693. package/src/components/collab-sidebar/comment-button-toolbar.js +3 -3
  694. package/src/components/collab-sidebar/comment-button.js +3 -3
  695. package/src/components/collab-sidebar/comment-form.js +62 -0
  696. package/src/components/collab-sidebar/comments.js +39 -101
  697. package/src/components/collab-sidebar/index.js +79 -88
  698. package/src/components/commands/index.js +390 -270
  699. package/src/components/create-template-part-modal/index.js +4 -2
  700. package/src/components/document-bar/index.js +22 -4
  701. package/src/components/document-bar/style.scss +13 -0
  702. package/src/components/document-outline/check.js +4 -4
  703. package/src/components/document-outline/index.js +9 -9
  704. package/src/components/document-tools/index.js +8 -1
  705. package/src/components/editor-history/redo.js +1 -1
  706. package/src/components/editor-history/undo.js +1 -1
  707. package/src/components/editor-interface/content-slot-fill.js +4 -9
  708. package/src/components/editor-interface/index.js +1 -12
  709. package/src/components/editor-notices/index.js +1 -1
  710. package/src/components/editor-snackbars/index.js +1 -1
  711. package/src/components/entities-saved-states/entity-record-item.js +12 -4
  712. package/src/components/entities-saved-states/index.js +2 -2
  713. package/src/components/global-styles-provider/index.js +20 -8
  714. package/src/components/header/index.js +18 -10
  715. package/src/components/header/style.scss +2 -1
  716. package/src/components/more-menu/index.js +12 -7
  717. package/src/components/page-attributes/check.js +3 -3
  718. package/src/components/page-attributes/order.js +1 -1
  719. package/src/components/page-attributes/panel.js +1 -1
  720. package/src/components/page-attributes/parent.js +1 -1
  721. package/src/components/plugin-document-setting-panel/index.js +2 -2
  722. package/src/components/plugin-more-menu-item/index.js +2 -1
  723. package/src/components/plugin-post-publish-panel/index.js +2 -2
  724. package/src/components/plugin-post-publish-panel/test/__snapshots__/index.js.snap +1 -1
  725. package/src/components/plugin-post-status-info/index.js +4 -4
  726. package/src/components/plugin-pre-publish-panel/index.js +2 -2
  727. package/src/components/plugin-preview-menu-item/index.js +2 -1
  728. package/src/components/plugin-sidebar/index.js +1 -0
  729. package/src/components/plugin-sidebar-more-menu-item/index.js +2 -2
  730. package/src/components/post-actions/actions.js +3 -3
  731. package/src/components/post-author/check.js +3 -3
  732. package/src/components/post-author/index.js +1 -1
  733. package/src/components/post-author/panel.js +1 -1
  734. package/src/components/post-card-panel/index.js +18 -5
  735. package/src/components/post-comments/index.js +1 -1
  736. package/src/components/post-discussion/panel.js +1 -1
  737. package/src/components/post-excerpt/check.js +3 -3
  738. package/src/components/post-excerpt/panel.js +1 -1
  739. package/src/components/post-excerpt/plugin.js +4 -4
  740. package/src/components/post-featured-image/check.js +3 -3
  741. package/src/components/post-featured-image/index.js +107 -43
  742. package/src/components/post-featured-image/panel.js +1 -1
  743. package/src/components/post-featured-image/style.scss +23 -13
  744. package/src/components/post-fields/index.ts +76 -0
  745. package/src/components/post-format/check.js +9 -11
  746. package/src/components/post-format/index.js +1 -1
  747. package/src/components/post-format/panel.js +1 -1
  748. package/src/components/post-last-revision/check.js +3 -3
  749. package/src/components/post-last-revision/index.js +1 -1
  750. package/src/components/post-last-revision/panel.js +1 -1
  751. package/src/components/post-locked-modal/index.js +1 -1
  752. package/src/components/post-pending-status/check.js +3 -3
  753. package/src/components/post-pending-status/index.js +1 -1
  754. package/src/components/post-preview-button/index.js +1 -1
  755. package/src/components/post-publish-panel/index.js +7 -3
  756. package/src/components/post-schedule/check.js +3 -3
  757. package/src/components/post-schedule/index.js +1 -1
  758. package/src/components/post-schedule/label.js +1 -1
  759. package/src/components/post-schedule/panel.js +1 -1
  760. package/src/components/post-slug/check.js +3 -3
  761. package/src/components/post-slug/index.js +1 -1
  762. package/src/components/post-sticky/check.js +3 -3
  763. package/src/components/post-sticky/index.js +1 -1
  764. package/src/components/post-switch-to-draft-button/index.js +1 -1
  765. package/src/components/post-sync-status/index.js +1 -1
  766. package/src/components/post-taxonomies/check.js +3 -3
  767. package/src/components/post-taxonomies/flat-term-selector.js +9 -9
  768. package/src/components/post-taxonomies/panel.js +15 -12
  769. package/src/components/post-template/classic-theme.js +2 -2
  770. package/src/components/post-template/panel.js +1 -1
  771. package/src/components/post-template/swap-template-button.js +0 -3
  772. package/src/components/post-text-editor/index.js +1 -1
  773. package/src/components/post-title/index.js +20 -18
  774. package/src/components/post-title/post-title-raw.js +1 -1
  775. package/src/components/post-transform-panel/index.js +0 -3
  776. package/src/components/post-trash/check.js +3 -3
  777. package/src/components/post-trash/index.js +1 -1
  778. package/src/components/post-type-support-check/index.js +6 -6
  779. package/src/components/post-url/check.js +3 -3
  780. package/src/components/post-url/index.js +1 -1
  781. package/src/components/post-url/label.js +1 -1
  782. package/src/components/post-url/panel.js +1 -1
  783. package/src/components/post-visibility/check.js +1 -1
  784. package/src/components/post-visibility/index.js +1 -1
  785. package/src/components/preferences-modal/block-visibility.js +96 -0
  786. package/src/components/preferences-modal/enable-panel.js +27 -17
  787. package/src/components/preferences-modal/enable-publish-sidebar.js +18 -15
  788. package/src/components/preferences-modal/index.js +28 -21
  789. package/src/components/preferences-modal/test/index.js +1 -1
  790. package/src/components/preview-dropdown/index.js +45 -16
  791. package/src/components/provider/index.js +55 -30
  792. package/src/components/provider/use-block-editor-settings.js +10 -9
  793. package/src/components/sidebar/post-summary.js +1 -1
  794. package/src/components/sidebar/style.scss +1 -3
  795. package/src/components/start-page-options/index.js +0 -3
  796. package/src/components/start-template-options/index.js +0 -3
  797. package/src/components/table-of-contents/index.js +1 -1
  798. package/src/components/theme-support-check/index.js +4 -4
  799. package/src/components/time-to-read/index.js +1 -1
  800. package/src/components/unsaved-changes-warning/index.js +1 -1
  801. package/src/components/visual-editor/index.js +7 -1
  802. package/src/components/visual-editor/style.scss +11 -0
  803. package/src/components/word-count/index.js +1 -1
  804. package/src/components/zoom-out-toggle/index.js +26 -13
  805. package/src/dataviews/api.js +41 -0
  806. package/src/dataviews/store/private-actions.ts +57 -3
  807. package/src/dataviews/store/private-selectors.ts +4 -0
  808. package/src/dataviews/store/reducer.ts +38 -1
  809. package/src/private-apis.js +4 -1
  810. package/src/store/actions.js +123 -42
  811. package/src/store/constants.ts +0 -2
  812. package/src/store/index.js +0 -4
  813. package/src/store/private-selectors.js +13 -8
  814. package/src/store/reducer.native.js +2 -0
  815. package/src/store/selectors.js +82 -64
  816. package/src/store/test/selectors.js +0 -255
  817. package/src/style.scss +0 -1
  818. package/src/utils/get-template-info.js +52 -0
  819. package/src/utils/test/get-template-info.js +224 -0
  820. package/tsconfig.tsbuildinfo +1 -1
  821. package/build/components/block-manager/category.js +0 -107
  822. package/build/components/block-manager/category.js.map +0 -1
  823. package/build/components/block-manager/checklist.js +0 -35
  824. package/build/components/block-manager/checklist.js.map +0 -1
  825. package/build/components/block-manager/index.js +0 -115
  826. package/build/components/block-manager/index.js.map +0 -1
  827. package/build-module/components/block-manager/category.js +0 -99
  828. package/build-module/components/block-manager/category.js.map +0 -1
  829. package/build-module/components/block-manager/checklist.js +0 -28
  830. package/build-module/components/block-manager/checklist.js.map +0 -1
  831. package/build-module/components/block-manager/index.js +0 -107
  832. package/build-module/components/block-manager/index.js.map +0 -1
  833. package/build-types/components/block-manager/category.d.ts +0 -6
  834. package/build-types/components/block-manager/category.d.ts.map +0 -1
  835. package/build-types/components/block-manager/checklist.d.ts +0 -7
  836. package/build-types/components/block-manager/checklist.d.ts.map +0 -1
  837. package/build-types/components/block-manager/index.d.ts +0 -2
  838. package/build-types/components/block-manager/index.d.ts.map +0 -1
  839. package/src/components/block-manager/category.js +0 -96
  840. package/src/components/block-manager/checklist.js +0 -30
  841. package/src/components/block-manager/index.js +0 -145
  842. package/src/components/block-manager/style.scss +0 -82
@@ -0,0 +1,51 @@
1
+ /**
2
+ * WordPress dependencies
3
+ */
4
+ import { layout } from '@wordpress/icons';
5
+ /**
6
+ * Internal dependencies
7
+ */
8
+ import { getTemplatePartIcon } from './get-template-part-icon';
9
+ const EMPTY_OBJECT = {};
10
+
11
+ /**
12
+ * Helper function to retrieve the corresponding template info for a given template.
13
+ * @param {Object} params
14
+ * @param {Array} params.templateTypes
15
+ * @param {Array} [params.templateAreas]
16
+ * @param {Object} params.template
17
+ */
18
+ export const getTemplateInfo = params => {
19
+ var _Object$values$find;
20
+ if (!params) {
21
+ return EMPTY_OBJECT;
22
+ }
23
+ const {
24
+ templateTypes,
25
+ templateAreas,
26
+ template
27
+ } = params;
28
+ const {
29
+ description,
30
+ slug,
31
+ title,
32
+ area
33
+ } = template;
34
+ const {
35
+ title: defaultTitle,
36
+ description: defaultDescription
37
+ } = (_Object$values$find = Object.values(templateTypes).find(type => type.slug === slug)) !== null && _Object$values$find !== void 0 ? _Object$values$find : EMPTY_OBJECT;
38
+ const templateTitle = typeof title === 'string' ? title : title?.rendered;
39
+ const templateDescription = typeof description === 'string' ? description : description?.raw;
40
+ const templateAreasWithIcon = templateAreas?.map(item => ({
41
+ ...item,
42
+ icon: getTemplatePartIcon(item.icon)
43
+ }));
44
+ const templateIcon = templateAreasWithIcon?.find(item => area === item.area)?.icon || layout;
45
+ return {
46
+ title: templateTitle && templateTitle !== slug ? templateTitle : defaultTitle || slug,
47
+ description: templateDescription || defaultDescription,
48
+ icon: templateIcon
49
+ };
50
+ };
51
+ //# sourceMappingURL=get-template-info.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["layout","getTemplatePartIcon","EMPTY_OBJECT","getTemplateInfo","params","_Object$values$find","templateTypes","templateAreas","template","description","slug","title","area","defaultTitle","defaultDescription","Object","values","find","type","templateTitle","rendered","templateDescription","raw","templateAreasWithIcon","map","item","icon","templateIcon"],"sources":["@wordpress/editor/src/utils/get-template-info.js"],"sourcesContent":["/**\n * WordPress dependencies\n */\nimport { layout } from '@wordpress/icons';\n/**\n * Internal dependencies\n */\nimport { getTemplatePartIcon } from './get-template-part-icon';\nconst EMPTY_OBJECT = {};\n\n/**\n * Helper function to retrieve the corresponding template info for a given template.\n * @param {Object} params\n * @param {Array} params.templateTypes\n * @param {Array} [params.templateAreas]\n * @param {Object} params.template\n */\nexport const getTemplateInfo = ( params ) => {\n\tif ( ! params ) {\n\t\treturn EMPTY_OBJECT;\n\t}\n\n\tconst { templateTypes, templateAreas, template } = params;\n\n\tconst { description, slug, title, area } = template;\n\n\tconst { title: defaultTitle, description: defaultDescription } =\n\t\tObject.values( templateTypes ).find( ( type ) => type.slug === slug ) ??\n\t\tEMPTY_OBJECT;\n\n\tconst templateTitle = typeof title === 'string' ? title : title?.rendered;\n\tconst templateDescription =\n\t\ttypeof description === 'string' ? description : description?.raw;\n\n\tconst templateAreasWithIcon = templateAreas?.map( ( item ) => ( {\n\t\t...item,\n\t\ticon: getTemplatePartIcon( item.icon ),\n\t} ) );\n\n\tconst templateIcon =\n\t\ttemplateAreasWithIcon?.find( ( item ) => area === item.area )?.icon ||\n\t\tlayout;\n\n\treturn {\n\t\ttitle:\n\t\t\ttemplateTitle && templateTitle !== slug\n\t\t\t\t? templateTitle\n\t\t\t\t: defaultTitle || slug,\n\t\tdescription: templateDescription || defaultDescription,\n\t\ticon: templateIcon,\n\t};\n};\n"],"mappings":"AAAA;AACA;AACA;AACA,SAASA,MAAM,QAAQ,kBAAkB;AACzC;AACA;AACA;AACA,SAASC,mBAAmB,QAAQ,0BAA0B;AAC9D,MAAMC,YAAY,GAAG,CAAC,CAAC;;AAEvB;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,MAAMC,eAAe,GAAKC,MAAM,IAAM;EAAA,IAAAC,mBAAA;EAC5C,IAAK,CAAED,MAAM,EAAG;IACf,OAAOF,YAAY;EACpB;EAEA,MAAM;IAAEI,aAAa;IAAEC,aAAa;IAAEC;EAAS,CAAC,GAAGJ,MAAM;EAEzD,MAAM;IAAEK,WAAW;IAAEC,IAAI;IAAEC,KAAK;IAAEC;EAAK,CAAC,GAAGJ,QAAQ;EAEnD,MAAM;IAAEG,KAAK,EAAEE,YAAY;IAAEJ,WAAW,EAAEK;EAAmB,CAAC,IAAAT,mBAAA,GAC7DU,MAAM,CAACC,MAAM,CAAEV,aAAc,CAAC,CAACW,IAAI,CAAIC,IAAI,IAAMA,IAAI,CAACR,IAAI,KAAKA,IAAK,CAAC,cAAAL,mBAAA,cAAAA,mBAAA,GACrEH,YAAY;EAEb,MAAMiB,aAAa,GAAG,OAAOR,KAAK,KAAK,QAAQ,GAAGA,KAAK,GAAGA,KAAK,EAAES,QAAQ;EACzE,MAAMC,mBAAmB,GACxB,OAAOZ,WAAW,KAAK,QAAQ,GAAGA,WAAW,GAAGA,WAAW,EAAEa,GAAG;EAEjE,MAAMC,qBAAqB,GAAGhB,aAAa,EAAEiB,GAAG,CAAIC,IAAI,KAAQ;IAC/D,GAAGA,IAAI;IACPC,IAAI,EAAEzB,mBAAmB,CAAEwB,IAAI,CAACC,IAAK;EACtC,CAAC,CAAG,CAAC;EAEL,MAAMC,YAAY,GACjBJ,qBAAqB,EAAEN,IAAI,CAAIQ,IAAI,IAAMb,IAAI,KAAKa,IAAI,CAACb,IAAK,CAAC,EAAEc,IAAI,IACnE1B,MAAM;EAEP,OAAO;IACNW,KAAK,EACJQ,aAAa,IAAIA,aAAa,KAAKT,IAAI,GACpCS,aAAa,GACbN,YAAY,IAAIH,IAAI;IACxBD,WAAW,EAAEY,mBAAmB,IAAIP,kBAAkB;IACtDY,IAAI,EAAEC;EACP,CAAC;AACF,CAAC","ignoreList":[]}
@@ -119,11 +119,11 @@
119
119
 
120
120
  .interface-complementary-area-header {
121
121
  background: #fff;
122
- padding-left: 12px;
123
- gap: 8px;
122
+ padding-left: 8px;
123
+ gap: 4px;
124
124
  }
125
125
  .interface-complementary-area-header .interface-complementary-area-header__title {
126
- margin: 0;
126
+ margin: 0 0 0 auto;
127
127
  }
128
128
 
129
129
  .interface-complementary-area {
@@ -482,81 +482,6 @@ body.is-fullscreen-mode .interface-interface-skeleton {
482
482
  color: var(--wp-admin-theme-color);
483
483
  }
484
484
 
485
- .editor-block-manager__no-results {
486
- font-style: italic;
487
- padding: 24px 0;
488
- text-align: center;
489
- }
490
-
491
- .editor-block-manager__search {
492
- margin: 16px 0;
493
- }
494
-
495
- .editor-block-manager__disabled-blocks-count {
496
- border: 1px solid #ddd;
497
- border-width: 1px 0;
498
- box-shadow: 32px 0 0 0 #fff, -32px 0 0 0 #fff;
499
- padding: 8px;
500
- background-color: #fff;
501
- text-align: center;
502
- position: sticky;
503
- top: -5px;
504
- z-index: 2;
505
- }
506
- .editor-block-manager__disabled-blocks-count ~ .editor-block-manager__results .editor-block-manager__category-title {
507
- top: 31px;
508
- }
509
- .editor-block-manager__disabled-blocks-count .is-link {
510
- margin-right: 12px;
511
- }
512
-
513
- .editor-block-manager__category {
514
- margin: 0 0 24px 0;
515
- }
516
-
517
- .editor-block-manager__category-title {
518
- position: sticky;
519
- top: -4px;
520
- padding: 16px 0;
521
- background-color: #fff;
522
- z-index: 1;
523
- }
524
- .editor-block-manager__category-title .components-checkbox-control__label {
525
- font-weight: 600;
526
- }
527
-
528
- .editor-block-manager__checklist {
529
- margin-top: 0;
530
- }
531
-
532
- .editor-block-manager__category-title,
533
- .editor-block-manager__checklist-item {
534
- border-bottom: 1px solid #ddd;
535
- }
536
-
537
- .editor-block-manager__checklist-item {
538
- display: flex;
539
- justify-content: space-between;
540
- align-items: center;
541
- margin-bottom: 0;
542
- padding: 8px 16px 8px 0;
543
- }
544
- .components-modal__content .editor-block-manager__checklist-item.components-checkbox-control__input-container {
545
- margin: 0 8px;
546
- }
547
- .editor-block-manager__checklist-item .block-editor-block-icon {
548
- margin-left: 10px;
549
- fill: #1e1e1e;
550
- }
551
-
552
- .editor-block-manager__results {
553
- border-top: 1px solid #ddd;
554
- }
555
-
556
- .editor-block-manager__disabled-blocks-count + .editor-block-manager__results {
557
- border-top-width: 0;
558
- }
559
-
560
485
  .editor-collab-sidebar-panel {
561
486
  padding: 16px;
562
487
  }
@@ -868,6 +793,21 @@ body.is-fullscreen-mode .interface-interface-skeleton {
868
793
  background-color: transparent;
869
794
  }
870
795
 
796
+ .editor-document-bar__icon-layout.editor-document-bar__icon-layout {
797
+ position: absolute;
798
+ margin-right: 12px;
799
+ display: none;
800
+ pointer-events: none;
801
+ }
802
+ .editor-document-bar__icon-layout.editor-document-bar__icon-layout svg {
803
+ fill: #949494;
804
+ }
805
+ @media (min-width: 600px) {
806
+ .editor-document-bar__icon-layout.editor-document-bar__icon-layout {
807
+ display: flex;
808
+ }
809
+ }
810
+
871
811
  .document-outline {
872
812
  margin: 20px 0;
873
813
  }
@@ -1335,7 +1275,7 @@ body.is-fullscreen-mode .interface-interface-skeleton {
1335
1275
  .editor-editor-interface.is-distraction-free .editor-header > .edit-post-header__settings > .edit-post-header__post-preview-button {
1336
1276
  visibility: hidden;
1337
1277
  }
1338
- .editor-editor-interface.is-distraction-free .editor-header > .editor-header__toolbar .editor-document-tools__document-overview-toggle, .editor-editor-interface.is-distraction-free .editor-header > .editor-header__settings > .editor-preview-dropdown, .editor-editor-interface.is-distraction-free .editor-header > .editor-header__settings > .interface-pinned-items {
1278
+ .editor-editor-interface.is-distraction-free .editor-header > .editor-header__toolbar .editor-document-tools__document-overview-toggle, .editor-editor-interface.is-distraction-free .editor-header > .editor-header__settings > .editor-preview-dropdown, .editor-editor-interface.is-distraction-free .editor-header > .editor-header__settings > .interface-pinned-items, .editor-editor-interface.is-distraction-free .editor-header > .editor-header__settings > .editor-zoom-out-toggle {
1339
1279
  display: none;
1340
1280
  }
1341
1281
  .editor-editor-interface.is-distraction-free .interface-interface-skeleton__header:focus-within {
@@ -1620,9 +1560,13 @@ body.is-fullscreen-mode .interface-interface-skeleton {
1620
1560
  .editor-post-featured-image__container {
1621
1561
  position: relative;
1622
1562
  }
1623
- .editor-post-featured-image__container:hover .editor-post-featured-image__actions, .editor-post-featured-image__container:focus .editor-post-featured-image__actions, .editor-post-featured-image__container:focus-within .editor-post-featured-image__actions {
1563
+ .editor-post-featured-image__container:hover .editor-post-featured-image__actions:not(.editor-post-featured-image__actions-is-requesting-image), .editor-post-featured-image__container:focus .editor-post-featured-image__actions:not(.editor-post-featured-image__actions-is-requesting-image), .editor-post-featured-image__container:focus-within .editor-post-featured-image__actions:not(.editor-post-featured-image__actions-is-requesting-image) {
1624
1564
  opacity: 1;
1625
1565
  }
1566
+ .editor-post-featured-image__container .editor-post-featured-image__actions.editor-post-featured-image__actions-missing-image {
1567
+ opacity: 1;
1568
+ margin-top: 16px;
1569
+ }
1626
1570
  .editor-post-featured-image__container .components-drop-zone__content {
1627
1571
  border-radius: 2px;
1628
1572
  }
@@ -1665,7 +1609,7 @@ body.is-fullscreen-mode .interface-interface-skeleton {
1665
1609
  box-shadow: 0 0 0 currentColor inset, 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
1666
1610
  }
1667
1611
 
1668
- .editor-post-featured-image__actions {
1612
+ .editor-post-featured-image__actions:not(.editor-post-featured-image__actions-missing-image) {
1669
1613
  bottom: 0;
1670
1614
  opacity: 0;
1671
1615
  padding: 8px;
@@ -1673,16 +1617,17 @@ body.is-fullscreen-mode .interface-interface-skeleton {
1673
1617
  transition: opacity 50ms ease-out;
1674
1618
  }
1675
1619
  @media (prefers-reduced-motion: reduce) {
1676
- .editor-post-featured-image__actions {
1620
+ .editor-post-featured-image__actions:not(.editor-post-featured-image__actions-missing-image) {
1677
1621
  transition-duration: 0s;
1678
1622
  transition-delay: 0s;
1679
1623
  }
1680
1624
  }
1681
-
1682
- .editor-post-featured-image__action {
1625
+ .editor-post-featured-image__actions:not(.editor-post-featured-image__actions-missing-image) .editor-post-featured-image__action {
1683
1626
  -webkit-backdrop-filter: blur(16px) saturate(180%);
1684
1627
  backdrop-filter: blur(16px) saturate(180%);
1685
1628
  background: rgba(255, 255, 255, 0.75);
1629
+ }
1630
+ .editor-post-featured-image__actions .editor-post-featured-image__action {
1686
1631
  flex-grow: 1;
1687
1632
  justify-content: center;
1688
1633
  }
@@ -2556,12 +2501,10 @@ textarea.editor-post-text-editor:-ms-input-placeholder {
2556
2501
 
2557
2502
  .components-panel__header.editor-sidebar__panel-tabs {
2558
2503
  padding-right: 0;
2559
- padding-left: 12px;
2504
+ padding-left: 8px;
2560
2505
  }
2561
2506
  .components-panel__header.editor-sidebar__panel-tabs .components-button.has-icon {
2562
2507
  padding: 0;
2563
- min-width: 24px;
2564
- height: 24px;
2565
2508
  }
2566
2509
  @media (min-width: 782px) {
2567
2510
  .components-panel__header.editor-sidebar__panel-tabs .components-button.has-icon {
@@ -2722,6 +2665,9 @@ textarea.editor-post-text-editor:-ms-input-placeholder {
2722
2665
  background-color: #ddd;
2723
2666
  align-items: center;
2724
2667
  }
2668
+ .editor-visual-editor iframe[name=editor-canvas] {
2669
+ background-color: transparent;
2670
+ }
2725
2671
  .editor-visual-editor.is-resizable {
2726
2672
  max-height: 100%;
2727
2673
  }
@@ -119,11 +119,11 @@
119
119
 
120
120
  .interface-complementary-area-header {
121
121
  background: #fff;
122
- padding-right: 12px;
123
- gap: 8px;
122
+ padding-right: 8px;
123
+ gap: 4px;
124
124
  }
125
125
  .interface-complementary-area-header .interface-complementary-area-header__title {
126
- margin: 0;
126
+ margin: 0 auto 0 0;
127
127
  }
128
128
 
129
129
  .interface-complementary-area {
@@ -482,81 +482,6 @@ body.is-fullscreen-mode .interface-interface-skeleton {
482
482
  color: var(--wp-admin-theme-color);
483
483
  }
484
484
 
485
- .editor-block-manager__no-results {
486
- font-style: italic;
487
- padding: 24px 0;
488
- text-align: center;
489
- }
490
-
491
- .editor-block-manager__search {
492
- margin: 16px 0;
493
- }
494
-
495
- .editor-block-manager__disabled-blocks-count {
496
- border: 1px solid #ddd;
497
- border-width: 1px 0;
498
- box-shadow: -32px 0 0 0 #fff, 32px 0 0 0 #fff;
499
- padding: 8px;
500
- background-color: #fff;
501
- text-align: center;
502
- position: sticky;
503
- top: -5px;
504
- z-index: 2;
505
- }
506
- .editor-block-manager__disabled-blocks-count ~ .editor-block-manager__results .editor-block-manager__category-title {
507
- top: 31px;
508
- }
509
- .editor-block-manager__disabled-blocks-count .is-link {
510
- margin-left: 12px;
511
- }
512
-
513
- .editor-block-manager__category {
514
- margin: 0 0 24px 0;
515
- }
516
-
517
- .editor-block-manager__category-title {
518
- position: sticky;
519
- top: -4px;
520
- padding: 16px 0;
521
- background-color: #fff;
522
- z-index: 1;
523
- }
524
- .editor-block-manager__category-title .components-checkbox-control__label {
525
- font-weight: 600;
526
- }
527
-
528
- .editor-block-manager__checklist {
529
- margin-top: 0;
530
- }
531
-
532
- .editor-block-manager__category-title,
533
- .editor-block-manager__checklist-item {
534
- border-bottom: 1px solid #ddd;
535
- }
536
-
537
- .editor-block-manager__checklist-item {
538
- display: flex;
539
- justify-content: space-between;
540
- align-items: center;
541
- margin-bottom: 0;
542
- padding: 8px 0 8px 16px;
543
- }
544
- .components-modal__content .editor-block-manager__checklist-item.components-checkbox-control__input-container {
545
- margin: 0 8px;
546
- }
547
- .editor-block-manager__checklist-item .block-editor-block-icon {
548
- margin-right: 10px;
549
- fill: #1e1e1e;
550
- }
551
-
552
- .editor-block-manager__results {
553
- border-top: 1px solid #ddd;
554
- }
555
-
556
- .editor-block-manager__disabled-blocks-count + .editor-block-manager__results {
557
- border-top-width: 0;
558
- }
559
-
560
485
  .editor-collab-sidebar-panel {
561
486
  padding: 16px;
562
487
  }
@@ -868,6 +793,21 @@ body.is-fullscreen-mode .interface-interface-skeleton {
868
793
  background-color: transparent;
869
794
  }
870
795
 
796
+ .editor-document-bar__icon-layout.editor-document-bar__icon-layout {
797
+ position: absolute;
798
+ margin-left: 12px;
799
+ display: none;
800
+ pointer-events: none;
801
+ }
802
+ .editor-document-bar__icon-layout.editor-document-bar__icon-layout svg {
803
+ fill: #949494;
804
+ }
805
+ @media (min-width: 600px) {
806
+ .editor-document-bar__icon-layout.editor-document-bar__icon-layout {
807
+ display: flex;
808
+ }
809
+ }
810
+
871
811
  .document-outline {
872
812
  margin: 20px 0;
873
813
  }
@@ -1335,7 +1275,7 @@ body.is-fullscreen-mode .interface-interface-skeleton {
1335
1275
  .editor-editor-interface.is-distraction-free .editor-header > .edit-post-header__settings > .edit-post-header__post-preview-button {
1336
1276
  visibility: hidden;
1337
1277
  }
1338
- .editor-editor-interface.is-distraction-free .editor-header > .editor-header__toolbar .editor-document-tools__document-overview-toggle, .editor-editor-interface.is-distraction-free .editor-header > .editor-header__settings > .editor-preview-dropdown, .editor-editor-interface.is-distraction-free .editor-header > .editor-header__settings > .interface-pinned-items {
1278
+ .editor-editor-interface.is-distraction-free .editor-header > .editor-header__toolbar .editor-document-tools__document-overview-toggle, .editor-editor-interface.is-distraction-free .editor-header > .editor-header__settings > .editor-preview-dropdown, .editor-editor-interface.is-distraction-free .editor-header > .editor-header__settings > .interface-pinned-items, .editor-editor-interface.is-distraction-free .editor-header > .editor-header__settings > .editor-zoom-out-toggle {
1339
1279
  display: none;
1340
1280
  }
1341
1281
  .editor-editor-interface.is-distraction-free .interface-interface-skeleton__header:focus-within {
@@ -1620,9 +1560,13 @@ body.is-fullscreen-mode .interface-interface-skeleton {
1620
1560
  .editor-post-featured-image__container {
1621
1561
  position: relative;
1622
1562
  }
1623
- .editor-post-featured-image__container:hover .editor-post-featured-image__actions, .editor-post-featured-image__container:focus .editor-post-featured-image__actions, .editor-post-featured-image__container:focus-within .editor-post-featured-image__actions {
1563
+ .editor-post-featured-image__container:hover .editor-post-featured-image__actions:not(.editor-post-featured-image__actions-is-requesting-image), .editor-post-featured-image__container:focus .editor-post-featured-image__actions:not(.editor-post-featured-image__actions-is-requesting-image), .editor-post-featured-image__container:focus-within .editor-post-featured-image__actions:not(.editor-post-featured-image__actions-is-requesting-image) {
1624
1564
  opacity: 1;
1625
1565
  }
1566
+ .editor-post-featured-image__container .editor-post-featured-image__actions.editor-post-featured-image__actions-missing-image {
1567
+ opacity: 1;
1568
+ margin-top: 16px;
1569
+ }
1626
1570
  .editor-post-featured-image__container .components-drop-zone__content {
1627
1571
  border-radius: 2px;
1628
1572
  }
@@ -1665,7 +1609,7 @@ body.is-fullscreen-mode .interface-interface-skeleton {
1665
1609
  box-shadow: 0 0 0 currentColor inset, 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
1666
1610
  }
1667
1611
 
1668
- .editor-post-featured-image__actions {
1612
+ .editor-post-featured-image__actions:not(.editor-post-featured-image__actions-missing-image) {
1669
1613
  bottom: 0;
1670
1614
  opacity: 0;
1671
1615
  padding: 8px;
@@ -1673,16 +1617,17 @@ body.is-fullscreen-mode .interface-interface-skeleton {
1673
1617
  transition: opacity 50ms ease-out;
1674
1618
  }
1675
1619
  @media (prefers-reduced-motion: reduce) {
1676
- .editor-post-featured-image__actions {
1620
+ .editor-post-featured-image__actions:not(.editor-post-featured-image__actions-missing-image) {
1677
1621
  transition-duration: 0s;
1678
1622
  transition-delay: 0s;
1679
1623
  }
1680
1624
  }
1681
-
1682
- .editor-post-featured-image__action {
1625
+ .editor-post-featured-image__actions:not(.editor-post-featured-image__actions-missing-image) .editor-post-featured-image__action {
1683
1626
  -webkit-backdrop-filter: blur(16px) saturate(180%);
1684
1627
  backdrop-filter: blur(16px) saturate(180%);
1685
1628
  background: rgba(255, 255, 255, 0.75);
1629
+ }
1630
+ .editor-post-featured-image__actions .editor-post-featured-image__action {
1686
1631
  flex-grow: 1;
1687
1632
  justify-content: center;
1688
1633
  }
@@ -2560,12 +2505,10 @@ textarea.editor-post-text-editor:-ms-input-placeholder {
2560
2505
 
2561
2506
  .components-panel__header.editor-sidebar__panel-tabs {
2562
2507
  padding-left: 0;
2563
- padding-right: 12px;
2508
+ padding-right: 8px;
2564
2509
  }
2565
2510
  .components-panel__header.editor-sidebar__panel-tabs .components-button.has-icon {
2566
2511
  padding: 0;
2567
- min-width: 24px;
2568
- height: 24px;
2569
2512
  }
2570
2513
  @media (min-width: 782px) {
2571
2514
  .components-panel__header.editor-sidebar__panel-tabs .components-button.has-icon {
@@ -2726,6 +2669,9 @@ textarea.editor-post-text-editor:-ms-input-placeholder {
2726
2669
  background-color: #ddd;
2727
2670
  align-items: center;
2728
2671
  }
2672
+ .editor-visual-editor iframe[name=editor-canvas] {
2673
+ background-color: transparent;
2674
+ }
2729
2675
  .editor-visual-editor.is-resizable {
2730
2676
  max-height: 100%;
2731
2677
  }
@@ -52,7 +52,7 @@ export default PluginBlockSettingsMenuItem;
52
52
  * );
53
53
  * ```
54
54
  *
55
- * @return {Component} The component to be rendered.
55
+ * @return {React.ReactNode} The rendered component.
56
56
  */
57
57
  declare function PluginBlockSettingsMenuItem({ allowedBlocks, icon, label, onClick, small, role, }: {
58
58
  allowedBlocks?: any[] | undefined;
@@ -61,5 +61,5 @@ declare function PluginBlockSettingsMenuItem({ allowedBlocks, icon, label, onCli
61
61
  onClick: Function;
62
62
  small?: boolean | undefined;
63
63
  role?: string | undefined;
64
- }): Component;
64
+ }): React.ReactNode;
65
65
  //# sourceMappingURL=plugin-block-settings-menu-item.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"plugin-block-settings-menu-item.d.ts","sourceRoot":"","sources":["../../../src/components/block-settings-menu/plugin-block-settings-menu-item.js"],"names":[],"mappings":";AAyBA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsDG;AACH,oGAnDG;IAAsC,aAAa;IACb,IAAI;IACL,KAAK,EAAlC,MAAM;IACuB,OAAO;IACN,KAAK;IACL,IAAI;CAE1C,GA0CS,SAAS,CA2BpB"}
1
+ {"version":3,"file":"plugin-block-settings-menu-item.d.ts","sourceRoot":"","sources":["../../../src/components/block-settings-menu/plugin-block-settings-menu-item.js"],"names":[],"mappings":";AAyBA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsDG;AACH,oGAnDG;IAAsC,aAAa;IACb,IAAI;IACL,KAAK,EAAlC,MAAM;IACuB,OAAO;IACN,KAAK;IACL,IAAI;CAE1C,GA0CS,KAAK,CAAC,SAAS,CA2B1B"}
@@ -5,11 +5,11 @@
5
5
  * @param {Function} props.onSubmit - A callback function to be called when the user submits a comment.
6
6
  * @param {boolean} props.showCommentBoard - The function to edit the comment.
7
7
  * @param {Function} props.setShowCommentBoard - The function to delete the comment.
8
- * @return {JSX.Element} The rendered comment input UI.
8
+ * @return {React.ReactNode} The rendered comment input UI.
9
9
  */
10
10
  export function AddComment({ onSubmit, showCommentBoard, setShowCommentBoard, }: {
11
11
  onSubmit: Function;
12
12
  showCommentBoard: boolean;
13
13
  setShowCommentBoard: Function;
14
- }): JSX.Element;
14
+ }): React.ReactNode;
15
15
  //# sourceMappingURL=add-comment.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"add-comment.d.ts","sourceRoot":"","sources":["../../../src/components/collab-sidebar/add-comment.js"],"names":[],"mappings":"AAoBA;;;;;;;;GAQG;AACH,iFALG;IAAwB,QAAQ;IACR,gBAAgB,EAAhC,OAAO;IACS,mBAAmB;CAC3C,GAAS,GAAG,CAAC,OAAO,CAgGtB"}
1
+ {"version":3,"file":"add-comment.d.ts","sourceRoot":"","sources":["../../../src/components/collab-sidebar/add-comment.js"],"names":[],"mappings":"AAiBA;;;;;;;;GAQG;AACH,iFALG;IAAwB,QAAQ;IACR,gBAAgB,EAAhC,OAAO;IACS,mBAAmB;CAC3C,GAAS,KAAK,CAAC,SAAS,CAuC1B"}
@@ -0,0 +1,17 @@
1
+ export default CommentAuthorInfo;
2
+ /**
3
+ * Render author information for a comment.
4
+ *
5
+ * @param {Object} props - Component properties.
6
+ * @param {string} props.avatar - URL of the author's avatar.
7
+ * @param {string} props.name - Name of the author.
8
+ * @param {string} props.date - Date of the comment.
9
+ *
10
+ * @return {React.ReactNode} The JSX element representing the author's information.
11
+ */
12
+ declare function CommentAuthorInfo({ avatar, name, date }: {
13
+ avatar: string;
14
+ name: string;
15
+ date: string;
16
+ }): React.ReactNode;
17
+ //# sourceMappingURL=comment-author-info.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"comment-author-info.d.ts","sourceRoot":"","sources":["../../../src/components/collab-sidebar/comment-author-info.js"],"names":[],"mappings":";AAUA;;;;;;;;;GASG;AACH,2DANG;IAAsB,MAAM,EAApB,MAAM;IACQ,IAAI,EAAlB,MAAM;IACQ,IAAI,EAAlB,MAAM;CAEd,GAAS,KAAK,CAAC,SAAS,CA+C1B"}
@@ -0,0 +1,18 @@
1
+ export default CommentForm;
2
+ /**
3
+ * EditComment component.
4
+ *
5
+ * @param {Object} props - The component props.
6
+ * @param {Function} props.onSubmit - The function to call when updating the comment.
7
+ * @param {Function} props.onCancel - The function to call when canceling the comment update.
8
+ * @param {Object} props.thread - The comment thread object.
9
+ * @param {string} props.submitButtonText - The text to display on the submit button.
10
+ * @return {React.ReactNode} The CommentForm component.
11
+ */
12
+ declare function CommentForm({ onSubmit, onCancel, thread, submitButtonText }: {
13
+ onSubmit: Function;
14
+ onCancel: Function;
15
+ thread: Object;
16
+ submitButtonText: string;
17
+ }): React.ReactNode;
18
+ //# sourceMappingURL=comment-form.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"comment-form.d.ts","sourceRoot":"","sources":["../../../src/components/collab-sidebar/comment-form.js"],"names":[],"mappings":";AAgBA;;;;;;;;;GASG;AACH,+EANG;IAAwB,QAAQ;IACR,QAAQ;IACR,MAAM,EAAtB,MAAM;IACU,gBAAgB,EAAhC,MAAM;CACd,GAAS,KAAK,CAAC,SAAS,CAmC1B"}
@@ -7,7 +7,7 @@
7
7
  * @param {Function} props.onAddReply - The function to add a reply to a comment.
8
8
  * @param {Function} props.onCommentDelete - The function to delete a comment.
9
9
  * @param {Function} props.onCommentResolve - The function to mark a comment as resolved.
10
- * @return {JSX.Element} The rendered Comments component.
10
+ * @return {React.ReactNode} The rendered Comments component.
11
11
  */
12
12
  export function Comments({ threads, onEditComment, onAddReply, onCommentDelete, onCommentResolve, }: {
13
13
  threads: any[];
@@ -15,5 +15,5 @@ export function Comments({ threads, onEditComment, onAddReply, onCommentDelete,
15
15
  onAddReply: Function;
16
16
  onCommentDelete: Function;
17
17
  onCommentResolve: Function;
18
- }): JSX.Element;
18
+ }): React.ReactNode;
19
19
  //# sourceMappingURL=comments.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"comments.d.ts","sourceRoot":"","sources":["../../../src/components/collab-sidebar/comments.js"],"names":[],"mappings":"AAkCA;;;;;;;;;;GAUG;AACH,qGAPG;IAAwB,OAAO;IACP,aAAa;IACb,UAAU;IACV,eAAe;IACf,gBAAgB;CACxC,GAAS,GAAG,CAAC,OAAO,CAqNtB"}
1
+ {"version":3,"file":"comments.d.ts","sourceRoot":"","sources":["../../../src/components/collab-sidebar/comments.js"],"names":[],"mappings":"AA4BA;;;;;;;;;;GAUG;AACH,qGAPG;IAAwB,OAAO;IACP,aAAa;IACb,UAAU;IACV,eAAe;IACf,gBAAgB;CACxC,GAAS,KAAK,CAAC,SAAS,CA+N1B"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/collab-sidebar/index.js"],"names":[],"mappings":"AAgDA;;GAEG;AACH,4EA+PC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/collab-sidebar/index.js"],"names":[],"mappings":"AAiPA;;GAEG;AACH,4EAqDC"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/commands/index.js"],"names":[],"mappings":"AA2UA,4CAWC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/commands/index.js"],"names":[],"mappings":"AAwbA,4CAsBC"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/create-template-part-modal/index.js"],"names":[],"mappings":"AAwCA;;;gCAqBC;AAED;;;;;;;;gCAgJC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/create-template-part-modal/index.js"],"names":[],"mappings":"AAuCA;;;gCAqBC;AAED;;;;;;;;gCAmJC"}
@@ -13,11 +13,11 @@
13
13
  * @param {IconType} props.icon An icon for the document, no default.
14
14
  * (A default icon indicating the document post type is no longer used.)
15
15
  *
16
- * @return {JSX.Element} The rendered DocumentBar component.
16
+ * @return {React.ReactNode} The rendered DocumentBar component.
17
17
  */
18
18
  export default function DocumentBar(props: {
19
19
  title: string;
20
20
  icon: IconType;
21
- }): JSX.Element;
21
+ }): React.ReactNode;
22
22
  export type IconType = import("@wordpress/components").IconType;
23
23
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/document-bar/index.js"],"names":[],"mappings":"AAoCA;;;;;;;;;;;;;;;;GAgBG;AACH,2CAPG;IAAwB,KAAK,EAArB,MAAM;IAEU,IAAI,EAApB,QAAQ;CAGhB,GAAS,GAAG,CAAC,OAAO,CA6JtB;uBAhLa,OAAO,uBAAuB,EAAE,QAAQ"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/document-bar/index.js"],"names":[],"mappings":"AAqCA;;;;;;;;;;;;;;;;GAgBG;AACH,2CAPG;IAAwB,KAAK,EAArB,MAAM;IAEU,IAAI,EAApB,QAAQ;CAGhB,GAAS,KAAK,CAAC,SAAS,CA8K1B;uBAjMa,OAAO,uBAAuB,EAAE,QAAQ"}
@@ -1,12 +1,12 @@
1
1
  /**
2
2
  * Component check if there are any headings (core/heading blocks) present in the document.
3
3
  *
4
- * @param {Object} props Props.
5
- * @param {Element} props.children Children to be rendered.
4
+ * @param {Object} props Props.
5
+ * @param {React.ReactElement} props.children Children to be rendered.
6
6
  *
7
- * @return {Component|null} The component to be rendered or null if there are headings.
7
+ * @return {React.ReactElement} The component to be rendered or null if there are headings.
8
8
  */
9
9
  export default function DocumentOutlineCheck({ children }: {
10
- children: Element;
11
- }): Component | null;
10
+ children: React.ReactElement;
11
+ }): React.ReactElement;
12
12
  //# sourceMappingURL=check.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"check.d.ts","sourceRoot":"","sources":["../../../src/components/document-outline/check.js"],"names":[],"mappings":"AAMA;;;;;;;GAOG;AACH,2DAJG;IAAuB,QAAQ,EAAvB,OAAO;CAEf,GAAS,SAAS,GAAC,IAAI,CAczB"}
1
+ {"version":3,"file":"check.d.ts","sourceRoot":"","sources":["../../../src/components/document-outline/check.js"],"names":[],"mappings":"AAMA;;;;;;;GAOG;AACH,2DAJG;IAAkC,QAAQ,EAAlC,KAAK,CAAC,YAAY;CAE1B,GAAS,KAAK,CAAC,YAAY,CAc7B"}
@@ -2,15 +2,13 @@
2
2
  * Renders a document outline component.
3
3
  *
4
4
  * @param {Object} props Props.
5
- * @param {Function} props.onSelect Function to be called when an outline item is selected.
6
- * @param {boolean} props.isTitleSupported Indicates whether the title is supported.
5
+ * @param {Function} props.onSelect Function to be called when an outline item is selected
7
6
  * @param {boolean} props.hasOutlineItemsDisabled Indicates whether the outline items are disabled.
8
7
  *
9
- * @return {Component} The component to be rendered.
8
+ * @return {React.ReactNode} The rendered component.
10
9
  */
11
- export default function DocumentOutline({ onSelect, isTitleSupported, hasOutlineItemsDisabled, }: {
10
+ export default function DocumentOutline({ onSelect, hasOutlineItemsDisabled, }: {
12
11
  onSelect: Function;
13
- isTitleSupported: boolean;
14
12
  hasOutlineItemsDisabled: boolean;
15
- }): Component;
13
+ }): React.ReactNode;
16
14
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/document-outline/index.js"],"names":[],"mappings":"AAoGA;;;;;;;;;GASG;AACH,kGANG;IAAwB,QAAQ;IACR,gBAAgB,EAAhC,OAAO;IACS,uBAAuB,EAAvC,OAAO;CAEf,GAAS,SAAS,CA6GpB"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/document-outline/index.js"],"names":[],"mappings":"AAqGA;;;;;;;;GAQG;AACH,gFALG;IAAwB,QAAQ;IACR,uBAAuB,EAAvC,OAAO;CAEf,GAAS,KAAK,CAAC,SAAS,CA6G1B"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/document-tools/index.js"],"names":[],"mappings":";AA0BA;;;gCAwJC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/document-tools/index.js"],"names":[],"mappings":";AA0BA;;;gCA+JC"}