@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
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * Displays the Post Text Editor along with content in Visual and Text mode.
3
3
  *
4
- * @return {JSX.Element|null} The rendered PostTextEditor component.
4
+ * @return {React.ReactNode} The rendered PostTextEditor component.
5
5
  */
6
- export default function PostTextEditor(): JSX.Element | null;
6
+ export default function PostTextEditor(): React.ReactNode;
7
7
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/post-text-editor/index.js"],"names":[],"mappings":"AAqBA;;;;GAIG;AACH,0CAFY,GAAG,CAAC,OAAO,GAAC,IAAI,CAyD3B"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/post-text-editor/index.js"],"names":[],"mappings":"AAqBA;;;;GAIG;AACH,0CAFY,KAAK,CAAC,SAAS,CAyD1B"}
@@ -1,3 +1,3 @@
1
- declare const _default: import("react").ForwardRefExoticComponent<Omit<any, "ref"> & import("react").RefAttributes<any>>;
1
+ declare const _default: import("react").ForwardRefExoticComponent<import("react").RefAttributes<any>>;
2
2
  export default _default;
3
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/post-transform-panel/index.js"],"names":[],"mappings":"AA2EA,iFAeC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/post-transform-panel/index.js"],"names":[],"mappings":"AAwEA,iFAeC"}
@@ -1,12 +1,12 @@
1
1
  /**
2
2
  * Wrapper component that renders its children only if the post can trashed.
3
3
  *
4
- * @param {Object} props - The component props.
5
- * @param {Element} props.children - The child components to render.
4
+ * @param {Object} props - The component props.
5
+ * @param {React.ReactEl} props.children - The child components to render.
6
6
  *
7
- * @return {Component|null} The rendered child components or null if the post can not trashed.
7
+ * @return {React.ReactElement} The rendered child components or null if the post can not trashed.
8
8
  */
9
9
  export default function PostTrashCheck({ children }: {
10
- children: Element;
11
- }): Component | null;
10
+ children: React.ReactEl;
11
+ }): React.ReactElement;
12
12
  //# sourceMappingURL=check.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"check.d.ts","sourceRoot":"","sources":["../../../src/components/post-trash/check.js"],"names":[],"mappings":"AAYA;;;;;;;GAOG;AACH,qDAJG;IAAuB,QAAQ,EAAvB,OAAO;CAEf,GAAS,SAAS,GAAC,IAAI,CA8BzB"}
1
+ {"version":3,"file":"check.d.ts","sourceRoot":"","sources":["../../../src/components/post-trash/check.js"],"names":[],"mappings":"AAYA;;;;;;;GAOG;AACH,qDAJG;IAA6B,QAAQ,EAA7B,KAAK,CAAC,OAAO;CAErB,GAAS,KAAK,CAAC,YAAY,CA8B7B"}
@@ -2,9 +2,9 @@
2
2
  * Displays the Post Trash Button and Confirm Dialog in the Editor.
3
3
  *
4
4
  * @param {?{onActionPerformed: Object}} An object containing the onActionPerformed function.
5
- * @return {JSX.Element|null} The rendered PostTrash component.
5
+ * @return {React.ReactNode} The rendered PostTrash component.
6
6
  */
7
7
  export default function PostTrash({ onActionPerformed }: {
8
8
  onActionPerformed: Object;
9
- } | null): JSX.Element | null;
9
+ } | null): React.ReactNode;
10
10
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/post-trash/index.js"],"names":[],"mappings":"AAiBA;;;;;GAKG;AACH,yDAHY;IAAC,iBAAiB,EAAE,MAAM,CAAA;CAAC,OAAA,GAC3B,GAAG,CAAC,OAAO,GAAC,IAAI,CA4D3B"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/post-trash/index.js"],"names":[],"mappings":"AAiBA;;;;;GAKG;AACH,yDAHY;IAAC,iBAAiB,EAAE,MAAM,CAAA;CAAC,OAAA,GAC3B,KAAK,CAAC,SAAS,CA4D1B"}
@@ -3,16 +3,16 @@ export default PostTypeSupportCheck;
3
3
  * A component which renders its own children only if the current editor post
4
4
  * type supports one of the given `supportKeys` prop.
5
5
  *
6
- * @param {Object} props Props.
7
- * @param {Element} props.children Children to be rendered if post
8
- * type supports.
9
- * @param {(string|string[])} props.supportKeys String or string array of keys
10
- * to test.
6
+ * @param {Object} props Props.
7
+ * @param {React.ReactElement} props.children Children to be rendered if post
8
+ * type supports.
9
+ * @param {(string|string[])} props.supportKeys String or string array of keys
10
+ * to test.
11
11
  *
12
- * @return {Component} The component to be rendered.
12
+ * @return {React.ReactElement} The component to be rendered.
13
13
  */
14
14
  declare function PostTypeSupportCheck({ children, supportKeys }: {
15
- children: Element;
15
+ children: React.ReactElement;
16
16
  supportKeys: (string | string[]);
17
- }): Component;
17
+ }): React.ReactElement;
18
18
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/post-type-support-check/index.js"],"names":[],"mappings":";AAWA;;;;;;;;;;;GAWG;AACH,iEAPG;IAAiC,QAAQ,EAAjC,OAAO;IAEkB,WAAW,EAApC,CAAC,MAAM,GAAC,MAAM,EAAE,CAAC;CAGzB,GAAS,SAAS,CAoBpB"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/post-type-support-check/index.js"],"names":[],"mappings":";AAWA;;;;;;;;;;;GAWG;AACH,iEAPG;IAAkC,QAAQ,EAAlC,KAAK,CAAC,YAAY;IAEQ,WAAW,EAArC,CAAC,MAAM,GAAC,MAAM,EAAE,CAAC;CAGzB,GAAS,KAAK,CAAC,YAAY,CAoB7B"}
@@ -1,12 +1,12 @@
1
1
  /**
2
2
  * Check if the post URL is valid and visible.
3
3
  *
4
- * @param {Object} props The component props.
5
- * @param {Element} props.children The child components.
4
+ * @param {Object} props The component props.
5
+ * @param {React.ReactElement} props.children The child components.
6
6
  *
7
- * @return {Component|null} The child components if the post URL is valid and visible, otherwise null.
7
+ * @return {React.ReactElement} The child components if the post URL is valid and visible, otherwise null.
8
8
  */
9
9
  export default function PostURLCheck({ 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/post-url/check.js"],"names":[],"mappings":"AAWA;;;;;;;GAOG;AACH,mDAJG;IAAuB,QAAQ,EAAvB,OAAO;CAEf,GAAS,SAAS,GAAC,IAAI,CA4BzB"}
1
+ {"version":3,"file":"check.d.ts","sourceRoot":"","sources":["../../../src/components/post-url/check.js"],"names":[],"mappings":"AAWA;;;;;;;GAOG;AACH,mDAJG;IAAkC,QAAQ,EAAlC,KAAK,CAAC,YAAY;CAE1B,GAAS,KAAK,CAAC,YAAY,CA4B7B"}
@@ -8,7 +8,7 @@
8
8
  *
9
9
  * @param {Function} onClose Callback function to be executed when the popover is closed.
10
10
  *
11
- * @return {Component} The rendered PostURL component.
11
+ * @return {React.ReactNode} The rendered PostURL component.
12
12
  */
13
- export default function PostURL({ onClose }: Function): Component;
13
+ export default function PostURL({ onClose }: Function): React.ReactNode;
14
14
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/post-url/index.js"],"names":[],"mappings":"AA0BA;;;;;;;;;;;GAWG;AACH,wDAFY,SAAS,CAgKpB"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/post-url/index.js"],"names":[],"mappings":"AA0BA;;;;;;;;;;;GAWG;AACH,wDAFY,KAAK,CAAC,SAAS,CAgK1B"}
@@ -1,9 +1,9 @@
1
1
  /**
2
2
  * Represents a label component for a post URL.
3
3
  *
4
- * @return {Component} The PostURLLabel component.
4
+ * @return {React.ReactNode} The PostURLLabel component.
5
5
  */
6
- export default function PostURLLabel(): Component;
6
+ export default function PostURLLabel(): React.ReactNode;
7
7
  /**
8
8
  * Custom hook to get the label for the post URL.
9
9
  *
@@ -1 +1 @@
1
- {"version":3,"file":"label.d.ts","sourceRoot":"","sources":["../../../src/components/post-url/label.js"],"names":[],"mappings":"AAWA;;;;GAIG;AACH,wCAFY,SAAS,CAIpB;AAED;;;;GAIG;AACH,mCAFY,MAAM,CAQjB"}
1
+ {"version":3,"file":"label.d.ts","sourceRoot":"","sources":["../../../src/components/post-url/label.js"],"names":[],"mappings":"AAWA;;;;GAIG;AACH,wCAFY,KAAK,CAAC,SAAS,CAI1B;AAED;;;;GAIG;AACH,mCAFY,MAAM,CAQjB"}
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * Renders the `PostURLPanel` component.
3
3
  *
4
- * @return {JSX.Element} The rendered PostURLPanel component.
4
+ * @return {React.ReactNode} The rendered PostURLPanel component.
5
5
  */
6
- export default function PostURLPanel(): JSX.Element;
6
+ export default function PostURLPanel(): React.ReactNode;
7
7
  //# sourceMappingURL=panel.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"panel.d.ts","sourceRoot":"","sources":["../../../src/components/post-url/panel.js"],"names":[],"mappings":"AAkBA;;;;GAIG;AACH,wCAFY,GAAG,CAAC,OAAO,CA2DtB"}
1
+ {"version":3,"file":"panel.d.ts","sourceRoot":"","sources":["../../../src/components/post-url/panel.js"],"names":[],"mappings":"AAkBA;;;;GAIG;AACH,wCAFY,KAAK,CAAC,SAAS,CA2D1B"}
@@ -5,9 +5,9 @@
5
5
  * @param {Object} props The component props.
6
6
  * @param {Function} props.render Function to render the component.
7
7
  * Receives an object with a `canEdit` property.
8
- * @return {JSX.Element} The rendered component.
8
+ * @return {React.ReactNode} The rendered component.
9
9
  */
10
10
  export default function PostVisibilityCheck({ render }: {
11
11
  render: Function;
12
- }): JSX.Element;
12
+ }): React.ReactNode;
13
13
  //# sourceMappingURL=check.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"check.d.ts","sourceRoot":"","sources":["../../../src/components/post-visibility/check.js"],"names":[],"mappings":"AAUA;;;;;;;;GAQG;AACH,wDAJG;IAAwB,MAAM;CAE9B,GAAS,GAAG,CAAC,OAAO,CAYtB"}
1
+ {"version":3,"file":"check.d.ts","sourceRoot":"","sources":["../../../src/components/post-visibility/check.js"],"names":[],"mappings":"AAUA;;;;;;;;GAQG;AACH,wDAJG;IAAwB,MAAM;CAE9B,GAAS,KAAK,CAAC,SAAS,CAY1B"}
@@ -3,9 +3,9 @@
3
3
  *
4
4
  * @param {Object} props The component props.
5
5
  * @param {Function} props.onClose Function to call when the popover is closed.
6
- * @return {JSX.Element} The rendered component.
6
+ * @return {React.ReactNode} The rendered component.
7
7
  */
8
8
  export default function PostVisibility({ onClose }: {
9
9
  onClose: Function;
10
- }): JSX.Element;
10
+ }): React.ReactNode;
11
11
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/post-visibility/index.js"],"names":[],"mappings":"AAmBA;;;;;;GAMG;AACH,oDAHG;IAAwB,OAAO;CAC/B,GAAS,GAAG,CAAC,OAAO,CAqHtB"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/post-visibility/index.js"],"names":[],"mappings":"AAmBA;;;;;;GAMG;AACH,oDAHG;IAAwB,OAAO;CAC/B,GAAS,KAAK,CAAC,SAAS,CAqH1B"}
@@ -0,0 +1,2 @@
1
+ export default function BlockVisibility(): import("react").JSX.Element;
2
+ //# sourceMappingURL=block-visibility.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"block-visibility.d.ts","sourceRoot":"","sources":["../../../src/components/preferences-modal/block-visibility.js"],"names":[],"mappings":"AAiBA,uEA8EC"}
@@ -1,3 +1,2 @@
1
- declare const _default: unknown;
2
- export default _default;
1
+ export default function EnablePanelOption(props: any): import("react").JSX.Element | null;
3
2
  //# sourceMappingURL=enable-panel.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"enable-panel.d.ts","sourceRoot":"","sources":["../../../src/components/preferences-modal/enable-panel.js"],"names":[],"mappings":""}
1
+ {"version":3,"file":"enable-panel.d.ts","sourceRoot":"","sources":["../../../src/components/preferences-modal/enable-panel.js"],"names":[],"mappings":"AAcA,0FAyBC"}
@@ -1 +1 @@
1
- {"version":3,"file":"enable-plugin-document-setting-panel.d.ts","sourceRoot":"","sources":["../../../src/components/preferences-modal/enable-plugin-document-setting-panel.js"],"names":[],"mappings":";AAcA;;;gCAIC;;;;;0LAK+vB,OAAO"}
1
+ {"version":3,"file":"enable-plugin-document-setting-panel.d.ts","sourceRoot":"","sources":["../../../src/components/preferences-modal/enable-plugin-document-setting-panel.js"],"names":[],"mappings":";AAcA;;;gCAIC;;;;;0LAKkxB,OAAO"}
@@ -1,3 +1,2 @@
1
- declare const _default: unknown;
2
- export default _default;
1
+ export default function EnablePublishSidebarOption(props: any): import("react").JSX.Element;
3
2
  //# sourceMappingURL=enable-publish-sidebar.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"enable-publish-sidebar.d.ts","sourceRoot":"","sources":["../../../src/components/preferences-modal/enable-publish-sidebar.js"],"names":[],"mappings":""}
1
+ {"version":3,"file":"enable-publish-sidebar.d.ts","sourceRoot":"","sources":["../../../src/components/preferences-modal/enable-publish-sidebar.js"],"names":[],"mappings":"AAcA,4FAgBC"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/preferences-modal/index.js"],"names":[],"mappings":"AAqCA;;uCAgTC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/preferences-modal/index.js"],"names":[],"mappings":"AAqCA;;uCAiBC"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/preview-dropdown/index.js"],"names":[],"mappings":"AAgCA;;;uCA0IC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/preview-dropdown/index.js"],"names":[],"mappings":"AAgCA;;;uCAuKC"}
@@ -26,14 +26,14 @@
26
26
  * </EditorProvider>
27
27
  * ```
28
28
  *
29
- * @return {JSX.Element} The rendered EditorProvider component.
29
+ * @return {React.ReactNode} The rendered EditorProvider component.
30
30
  */
31
31
  export function EditorProvider(props: {
32
32
  post?: Object | undefined;
33
33
  __unstableTemplate?: Object | undefined;
34
34
  settings?: Object | undefined;
35
35
  children?: Element | undefined;
36
- }): JSX.Element;
36
+ }): React.ReactNode;
37
37
  /**
38
38
  * This component provides the editor context and manages the state of the block editor.
39
39
  *
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/provider/index.js"],"names":[],"mappings":"AAwWA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AACH,sCArBG;IAAwB,IAAI;IACJ,kBAAkB;IAElB,QAAQ;IAER,QAAQ;CAGhC,GAWS,GAAG,CAAC,OAAO,CAWtB;AA7QD;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,4GA0ME"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/provider/index.js"],"names":[],"mappings":"AAiYA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AACH,sCArBG;IAAwB,IAAI;IACJ,kBAAkB;IAElB,QAAQ;IAER,QAAQ;CAGhC,GAWS,KAAK,CAAC,SAAS,CAW1B;AAvSD;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,4GAoOE"}
@@ -1 +1 @@
1
- {"version":3,"file":"use-block-editor-settings.d.ts","sourceRoot":"","sources":["../../../src/components/provider/use-block-editor-settings.js"],"names":[],"mappings":";AAoGA;;;;;;;;;GASG;AACH,kDAPW,MAAM,YACN,MAAM,UACN,MAAM,iBACN,MAAM,GAEL,MAAM,CA8PjB"}
1
+ {"version":3,"file":"use-block-editor-settings.d.ts","sourceRoot":"","sources":["../../../src/components/provider/use-block-editor-settings.js"],"names":[],"mappings":";AAgGA;;;;;;;;;GASG;AACH,kDAPW,MAAM,YACN,MAAM,UACN,MAAM,iBACN,MAAM,GAEL,MAAM,CAmQjB"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/save-publish-panels/index.js"],"names":[],"mappings":"AAqBA;;;;;gCAyFC;AA3FD;kHAoBmB,OACf;;EArBiC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/save-publish-panels/index.js"],"names":[],"mappings":"AAqBA;;;;;gCAyFC;AA3FD;kHAqBgB,OAAO;;EArBc"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/start-page-options/index.js"],"names":[],"mappings":"AAuBA,wCA0CC;AAqDD,+EAyBC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/start-page-options/index.js"],"names":[],"mappings":"AAsBA,wCA0CC;AAmDD,+EAyBC"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/start-template-options/index.js"],"names":[],"mappings":"AA0KA,mFAoDC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/start-template-options/index.js"],"names":[],"mappings":"AAuKA,mFAoDC"}
@@ -1,14 +1,14 @@
1
1
  /**
2
2
  * Checks if the current theme supports specific features and renders the children if supported.
3
3
  *
4
- * @param {Object} props The component props.
5
- * @param {Element} props.children The children to render if the theme supports the specified features.
6
- * @param {string|string[]} props.supportKeys The key(s) of the theme support(s) to check.
4
+ * @param {Object} props The component props.
5
+ * @param {React.ReactElement} props.children The children to render if the theme supports the specified features.
6
+ * @param {string|string[]} props.supportKeys The key(s) of the theme support(s) to check.
7
7
  *
8
- * @return {JSX.Element|null} The rendered children if the theme supports the specified features, otherwise null.
8
+ * @return {React.ReactElement} The rendered children if the theme supports the specified features, otherwise null.
9
9
  */
10
10
  export default function ThemeSupportCheck({ children, supportKeys }: {
11
- children: Element;
11
+ children: React.ReactElement;
12
12
  supportKeys: string | string[];
13
- }): JSX.Element | null;
13
+ }): React.ReactElement;
14
14
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/theme-support-check/index.js"],"names":[],"mappings":"AAWA;;;;;;;;GAQG;AACH,qEALG;IAA+B,QAAQ,EAA/B,OAAO;IACgB,WAAW,EAAlC,MAAM,GAAC,MAAM,EAAE;CAEvB,GAAS,GAAG,CAAC,OAAO,GAAC,IAAI,CA6B3B"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/theme-support-check/index.js"],"names":[],"mappings":"AAWA;;;;;;;;GAQG;AACH,qEALG;IAAkC,QAAQ,EAAlC,KAAK,CAAC,YAAY;IACQ,WAAW,EAArC,MAAM,GAAC,MAAM,EAAE;CAEvB,GAAS,KAAK,CAAC,YAAY,CA6B7B"}
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * Component for showing Time To Read in Content.
3
3
  *
4
- * @return {JSX.Element} The rendered TimeToRead component.
4
+ * @return {React.ReactNode} The rendered TimeToRead component.
5
5
  */
6
- export default function TimeToRead(): JSX.Element;
6
+ export default function TimeToRead(): React.ReactNode;
7
7
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/time-to-read/index.js"],"names":[],"mappings":"AAsBA;;;;GAIG;AACH,sCAFY,GAAG,CAAC,OAAO,CAsCtB"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/time-to-read/index.js"],"names":[],"mappings":"AAsBA;;;;GAIG;AACH,sCAFY,KAAK,CAAC,SAAS,CAsC1B"}
@@ -2,7 +2,7 @@
2
2
  * Warns the user if there are unsaved changes before leaving the editor.
3
3
  * Compatible with Post Editor and Site Editor.
4
4
  *
5
- * @return {Component} The component.
5
+ * @return {React.ReactNode} The component.
6
6
  */
7
- export default function UnsavedChangesWarning(): Component;
7
+ export default function UnsavedChangesWarning(): React.ReactNode;
8
8
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/unsaved-changes-warning/index.js"],"names":[],"mappings":"AAQA;;;;;GAKG;AACH,iDAFY,SAAS,CAmCpB"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/unsaved-changes-warning/index.js"],"names":[],"mappings":"AAQA;;;;;GAKG;AACH,iDAFY,KAAK,CAAC,SAAS,CAmC1B"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/visual-editor/index.js"],"names":[],"mappings":";AAmGA;;;;;;;gCAwYC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/visual-editor/index.js"],"names":[],"mappings":";AAmGA;;;;;;;gCA8YC"}
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * Renders the word count of the post content.
3
3
  *
4
- * @return {JSX.Element|null} The rendered WordCount component.
4
+ * @return {React.ReactNode} The rendered WordCount component.
5
5
  */
6
- export default function WordCount(): JSX.Element | null;
6
+ export default function WordCount(): React.ReactNode;
7
7
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/word-count/index.js"],"names":[],"mappings":"AAYA;;;;GAIG;AACH,qCAFY,GAAG,CAAC,OAAO,GAAC,IAAI,CAoB3B"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/word-count/index.js"],"names":[],"mappings":"AAYA;;;;GAIG;AACH,qCAFY,KAAK,CAAC,SAAS,CAoB1B"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/zoom-out-toggle/index.js"],"names":[],"mappings":";AAqBA;;gCA6DC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/zoom-out-toggle/index.js"],"names":[],"mappings":";AAqBA;;gCA0EC"}
@@ -1,5 +1,6 @@
1
1
  /**
2
2
  * @typedef {import('@wordpress/dataviews').Action} Action
3
+ * @typedef {import('@wordpress/dataviews').Field} Field
3
4
  */
4
5
  /**
5
6
  * Registers a new DataViews action.
@@ -23,5 +24,28 @@ export function registerEntityAction(kind: string, name: string, config: Action)
23
24
  * @param {string} actionId Action ID.
24
25
  */
25
26
  export function unregisterEntityAction(kind: string, name: string, actionId: string): void;
27
+ /**
28
+ * Registers a new DataViews field.
29
+ *
30
+ * This is an experimental API and is subject to change.
31
+ * it's only available in the Gutenberg plugin for now.
32
+ *
33
+ * @param {string} kind Entity kind.
34
+ * @param {string} name Entity name.
35
+ * @param {Field} config Field configuration.
36
+ */
37
+ export function registerEntityField(kind: string, name: string, config: Field): void;
38
+ /**
39
+ * Unregisters a DataViews field.
40
+ *
41
+ * This is an experimental API and is subject to change.
42
+ * it's only available in the Gutenberg plugin for now.
43
+ *
44
+ * @param {string} kind Entity kind.
45
+ * @param {string} name Entity name.
46
+ * @param {string} fieldId Field ID.
47
+ */
48
+ export function unregisterEntityField(kind: string, name: string, fieldId: string): void;
26
49
  export type Action = any;
50
+ export type Field = any;
27
51
  //# sourceMappingURL=api.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"api.d.ts","sourceRoot":"","sources":["../../src/dataviews/api.js"],"names":[],"mappings":"AAWA;;GAEG;AAEH;;;;;;;;;GASG;AAEH,2CALW,MAAM,QACN,MAAM,UACN,MAAM,QAWhB;AAED;;;;;;;;;GASG;AACH,6CAJW,MAAM,QACN,MAAM,YACN,MAAM,QAUhB;qBA1CY,GAAqC"}
1
+ {"version":3,"file":"api.d.ts","sourceRoot":"","sources":["../../src/dataviews/api.js"],"names":[],"mappings":"AAWA;;;GAGG;AAEH;;;;;;;;;GASG;AAEH,2CALW,MAAM,QACN,MAAM,UACN,MAAM,QAWhB;AAED;;;;;;;;;GASG;AACH,6CAJW,MAAM,QACN,MAAM,YACN,MAAM,QAUhB;AAED;;;;;;;;;GASG;AACH,0CAJW,MAAM,QACN,MAAM,UACN,KAAK,QAUf;AAED;;;;;;;;;GASG;AACH,4CAJW,MAAM,QACN,MAAM,WACN,MAAM,QAUhB;qBAnFY,GAAqC;oBACrC,GAAoC"}
@@ -1,4 +1,4 @@
1
- import type { Action } from '@wordpress/dataviews';
1
+ import type { Action, Field } from '@wordpress/dataviews';
2
2
  export declare function registerEntityAction<Item>(kind: string, name: string, config: Action<Item>): {
3
3
  type: "REGISTER_ENTITY_ACTION";
4
4
  kind: string;
@@ -11,12 +11,24 @@ export declare function unregisterEntityAction(kind: string, name: string, actio
11
11
  name: string;
12
12
  actionId: string;
13
13
  };
14
+ export declare function registerEntityField<Item>(kind: string, name: string, config: Field<Item>): {
15
+ type: "REGISTER_ENTITY_FIELD";
16
+ kind: string;
17
+ name: string;
18
+ config: Field<Item>;
19
+ };
20
+ export declare function unregisterEntityField(kind: string, name: string, fieldId: string): {
21
+ type: "UNREGISTER_ENTITY_FIELD";
22
+ kind: string;
23
+ name: string;
24
+ fieldId: string;
25
+ };
14
26
  export declare function setIsReady(kind: string, name: string): {
15
27
  type: "SET_IS_READY";
16
28
  kind: string;
17
29
  name: string;
18
30
  };
19
- export declare const registerPostTypeActions: (postType: string) => ({ registry }: {
31
+ export declare const registerPostTypeSchema: (postType: string) => ({ registry }: {
20
32
  registry: any;
21
33
  }) => Promise<void>;
22
34
  //# sourceMappingURL=private-actions.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"private-actions.d.ts","sourceRoot":"","sources":["../../../src/dataviews/store/private-actions.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAC;AAyBnD,wBAAgB,oBAAoB,CAAE,IAAI,EACzC,IAAI,EAAE,MAAM,EACZ,IAAI,EAAE,MAAM,EACZ,MAAM,EAAE,MAAM,CAAE,IAAI,CAAE;;;;;EAQtB;AAED,wBAAgB,sBAAsB,CACrC,IAAI,EAAE,MAAM,EACZ,IAAI,EAAE,MAAM,EACZ,QAAQ,EAAE,MAAM;;;;;EAQhB;AAED,wBAAgB,UAAU,CAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM;;;;EAMrD;AAED,eAAO,MAAM,uBAAuB,aACvB,MAAM,oBACI;IAAE,QAAQ,EAAE,GAAG,CAAA;CAAE,kBA2EtC,CAAC"}
1
+ {"version":3,"file":"private-actions.d.ts","sourceRoot":"","sources":["../../../src/dataviews/store/private-actions.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,sBAAsB,CAAC;AAkC1D,wBAAgB,oBAAoB,CAAE,IAAI,EACzC,IAAI,EAAE,MAAM,EACZ,IAAI,EAAE,MAAM,EACZ,MAAM,EAAE,MAAM,CAAE,IAAI,CAAE;;;;;EAQtB;AAED,wBAAgB,sBAAsB,CACrC,IAAI,EAAE,MAAM,EACZ,IAAI,EAAE,MAAM,EACZ,QAAQ,EAAE,MAAM;;;;;EAQhB;AAED,wBAAgB,mBAAmB,CAAE,IAAI,EACxC,IAAI,EAAE,MAAM,EACZ,IAAI,EAAE,MAAM,EACZ,MAAM,EAAE,KAAK,CAAE,IAAI,CAAE;;;;;EAQrB;AAED,wBAAgB,qBAAqB,CACpC,IAAI,EAAE,MAAM,EACZ,IAAI,EAAE,MAAM,EACZ,OAAO,EAAE,MAAM;;;;;EAQf;AAED,wBAAgB,UAAU,CAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM;;;;EAMrD;AAED,eAAO,MAAM,sBAAsB,aACtB,MAAM,oBACI;IAAE,QAAQ,EAAE,GAAG,CAAA;CAAE,kBA8FtC,CAAC"}
@@ -3,5 +3,6 @@
3
3
  */
4
4
  import type { State } from './reducer';
5
5
  export declare function getEntityActions(state: State, kind: string, name: string): import("@wordpress/dataviews").Action<any>[];
6
+ export declare function getEntityFields(state: State, kind: string, name: string): import("@wordpress/dataviews").Field<any>[];
6
7
  export declare function isEntityReady(state: State, kind: string, name: string): boolean;
7
8
  //# sourceMappingURL=private-selectors.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"private-selectors.d.ts","sourceRoot":"","sources":["../../../src/dataviews/store/private-selectors.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,WAAW,CAAC;AAIvC,wBAAgB,gBAAgB,CAAE,KAAK,EAAE,KAAK,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,gDAEzE;AAED,wBAAgB,aAAa,CAAE,KAAK,EAAE,KAAK,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,WAEtE"}
1
+ {"version":3,"file":"private-selectors.d.ts","sourceRoot":"","sources":["../../../src/dataviews/store/private-selectors.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,WAAW,CAAC;AAIvC,wBAAgB,gBAAgB,CAAE,KAAK,EAAE,KAAK,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,gDAEzE;AAED,wBAAgB,eAAe,CAAE,KAAK,EAAE,KAAK,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,+CAExE;AAED,wBAAgB,aAAa,CAAE,KAAK,EAAE,KAAK,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,WAEtE"}
@@ -1,18 +1,29 @@
1
- import type { Action } from '@wordpress/dataviews';
2
- type ReduxAction = ReturnType<typeof import('./private-actions').registerEntityAction> | ReturnType<typeof import('./private-actions').unregisterEntityAction> | ReturnType<typeof import('./private-actions').setIsReady>;
1
+ import type { Action, Field } from '@wordpress/dataviews';
2
+ type ReduxAction = ReturnType<typeof import('./private-actions').registerEntityAction> | ReturnType<typeof import('./private-actions').unregisterEntityAction> | ReturnType<typeof import('./private-actions').registerEntityField> | ReturnType<typeof import('./private-actions').unregisterEntityField> | ReturnType<typeof import('./private-actions').setIsReady>;
3
3
  export type ActionState = Record<string, Record<string, Action<any>[]>>;
4
+ export type FieldsState = Record<string, Record<string, Field<any>[]>>;
4
5
  export type ReadyState = Record<string, Record<string, boolean>>;
5
6
  export type State = {
6
7
  actions: ActionState;
8
+ fields: FieldsState;
7
9
  isReady: ReadyState;
8
10
  };
9
- declare const _default: import("redux").Reducer<import("redux").CombinedState<{
11
+ declare const _default: import("redux").Reducer<{
10
12
  actions: {
11
13
  [x: string]: Record<string, Action<any>[]> | {
12
14
  [x: string]: Action<any>[] | (Action<unknown> | Action<any>)[];
13
15
  };
14
16
  };
17
+ fields: {
18
+ [x: string]: Record<string, Field<any>[]> | {
19
+ [x: string]: Field<any>[] | (Field<any> | Field<unknown>)[];
20
+ };
21
+ };
15
22
  isReady: ReadyState;
16
- }>, ReduxAction>;
23
+ }, ReduxAction, Partial<{
24
+ actions: never;
25
+ fields: never;
26
+ isReady: never;
27
+ }>>;
17
28
  export default _default;
18
29
  //# sourceMappingURL=reducer.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"reducer.d.ts","sourceRoot":"","sources":["../../../src/dataviews/store/reducer.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAC;AAEnD,KAAK,WAAW,GACb,UAAU,CAAE,cAAc,mBAAmB,EAAE,oBAAoB,CAAE,GACrE,UAAU,CAAE,cAAc,mBAAmB,EAAE,sBAAsB,CAAE,GACvE,UAAU,CAAE,cAAc,mBAAmB,EAAE,UAAU,CAAE,CAAC;AAE/D,MAAM,MAAM,WAAW,GAAG,MAAM,CAAE,MAAM,EAAE,MAAM,CAAE,MAAM,EAAE,MAAM,CAAE,GAAG,CAAE,EAAE,CAAE,CAAE,CAAC;AAC9E,MAAM,MAAM,UAAU,GAAG,MAAM,CAAE,MAAM,EAAE,MAAM,CAAE,MAAM,EAAE,OAAO,CAAE,CAAE,CAAC;AACrE,MAAM,MAAM,KAAK,GAAG;IACnB,OAAO,EAAE,WAAW,CAAC;IACrB,OAAO,EAAE,UAAU,CAAC;CACpB,CAAC;;;;;;;;;AAkDF,wBAGI"}
1
+ {"version":3,"file":"reducer.d.ts","sourceRoot":"","sources":["../../../src/dataviews/store/reducer.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,sBAAsB,CAAC;AAE1D,KAAK,WAAW,GACb,UAAU,CAAE,cAAc,mBAAmB,EAAE,oBAAoB,CAAE,GACrE,UAAU,CAAE,cAAc,mBAAmB,EAAE,sBAAsB,CAAE,GACvE,UAAU,CAAE,cAAc,mBAAmB,EAAE,mBAAmB,CAAE,GACpE,UAAU,CAAE,cAAc,mBAAmB,EAAE,qBAAqB,CAAE,GACtE,UAAU,CAAE,cAAc,mBAAmB,EAAE,UAAU,CAAE,CAAC;AAE/D,MAAM,MAAM,WAAW,GAAG,MAAM,CAAE,MAAM,EAAE,MAAM,CAAE,MAAM,EAAE,MAAM,CAAE,GAAG,CAAE,EAAE,CAAE,CAAE,CAAC;AAC9E,MAAM,MAAM,WAAW,GAAG,MAAM,CAAE,MAAM,EAAE,MAAM,CAAE,MAAM,EAAE,KAAK,CAAE,GAAG,CAAE,EAAE,CAAE,CAAE,CAAC;AAC7E,MAAM,MAAM,UAAU,GAAG,MAAM,CAAE,MAAM,EAAE,MAAM,CAAE,MAAM,EAAE,OAAO,CAAE,CAAE,CAAC;AACrE,MAAM,MAAM,KAAK,GAAG;IACnB,OAAO,EAAE,WAAW,CAAC;IACrB,MAAM,EAAE,WAAW,CAAC;IACpB,OAAO,EAAE,UAAU,CAAC;CACpB,CAAC;;;;;;;;;;;;;;;;;;AAkFF,wBAII"}
@@ -1,3 +1,3 @@
1
- export const lock: (object: any, privateData: any) => void;
2
- export const unlock: (object: any) => any;
1
+ export const lock: (object: Record<symbol, WeakKey>, privateData: unknown) => void;
2
+ export const unlock: (object: Record<symbol, WeakKey>) => any;
3
3
  //# sourceMappingURL=lock-unlock.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"private-apis.d.ts","sourceRoot":"","sources":["../src/private-apis.js"],"names":[],"mappings":"AA6BA,6BAA8B"}
1
+ {"version":3,"file":"private-apis.d.ts","sourceRoot":"","sources":["../src/private-apis.js"],"names":[],"mappings":"AA+BA,6BAA8B"}
@@ -197,11 +197,11 @@ export function closePublishSidebar(): Object;
197
197
  * @return {Object} Action object
198
198
  */
199
199
  export function togglePublishSidebar(): Object;
200
- export function setupEditor(post: Object, edits: Object, template: any[] | null): ({ dispatch }: {
200
+ export function setupEditor(post: Object, edits: Object, template?: any[] | undefined): ({ dispatch }: {
201
201
  dispatch: any;
202
202
  }) => void;
203
- export function editPost(edits: Object, options: Object): Object;
204
- export function savePost(options?: Object): ({ select, dispatch, registry }: {
203
+ export function editPost(edits: Object, options?: Object | undefined): Object;
204
+ export function savePost(options?: Object | undefined): ({ select, dispatch, registry }: {
205
205
  select: any;
206
206
  dispatch: any;
207
207
  registry: any;
@@ -211,7 +211,9 @@ export function trashPost(): ({ select, dispatch, registry }: {
211
211
  dispatch: any;
212
212
  registry: any;
213
213
  }) => Promise<void>;
214
- export function autosave({ local, ...options }?: Object | null): ({ select, dispatch }: {
214
+ export function autosave({ local, ...options }?: {
215
+ local?: boolean | undefined;
216
+ } | undefined): ({ select, dispatch }: {
215
217
  select: any;
216
218
  dispatch: any;
217
219
  }) => Promise<void>;
@@ -233,7 +235,7 @@ export function enablePublishSidebar(): ({ registry }: {
233
235
  export function disablePublishSidebar(): ({ registry }: {
234
236
  registry: any;
235
237
  }) => void;
236
- export function resetEditorBlocks(blocks: any[], options?: Object | null): ({ select, dispatch, registry }: {
238
+ export function resetEditorBlocks(blocks: any[], options?: Object | undefined): ({ select, dispatch, registry }: {
237
239
  select: any;
238
240
  dispatch: any;
239
241
  registry: any;
@@ -248,10 +250,18 @@ export function toggleEditorPanelOpened(panelName: string): ({ registry }: {
248
250
  registry: any;
249
251
  }) => void;
250
252
  export function setIsInserterOpened(value: boolean | Object): Object;
251
- export function toggleDistractionFree(): ({ dispatch, registry }: {
253
+ export function toggleDistractionFree({ createNotice }?: {
254
+ createNotice?: boolean | undefined;
255
+ } | undefined): ({ dispatch, registry }: {
252
256
  dispatch: any;
253
257
  registry: any;
254
258
  }) => void;
259
+ export function toggleSpotlightMode(): ({ registry }: {
260
+ registry: any;
261
+ }) => void;
262
+ export function toggleTopToolbar(): ({ registry }: {
263
+ registry: any;
264
+ }) => void;
255
265
  export function switchEditorMode(mode: string): ({ dispatch, registry }: {
256
266
  dispatch: any;
257
267
  registry: any;