@wordpress/editor 14.5.0 → 14.7.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 (415) hide show
  1. package/CHANGELOG.md +4 -0
  2. package/README.md +37 -0
  3. package/build/bindings/post-meta.js +12 -10
  4. package/build/bindings/post-meta.js.map +1 -1
  5. package/build/components/block-manager/index.js +4 -1
  6. package/build/components/block-manager/index.js.map +1 -1
  7. package/build/components/block-settings-menu/content-only-settings-menu.js +5 -8
  8. package/build/components/block-settings-menu/content-only-settings-menu.js.map +1 -1
  9. package/build/components/create-template-part-modal/index.js +1 -0
  10. package/build/components/create-template-part-modal/index.js.map +1 -1
  11. package/build/components/document-bar/index.js +4 -4
  12. package/build/components/document-bar/index.js.map +1 -1
  13. package/build/components/editor-history/redo.js +4 -1
  14. package/build/components/editor-history/redo.js.map +1 -1
  15. package/build/components/editor-history/undo.js +4 -1
  16. package/build/components/editor-history/undo.js.map +1 -1
  17. package/build/components/editor-interface/index.js +2 -3
  18. package/build/components/editor-interface/index.js.map +1 -1
  19. package/build/components/error-boundary/index.js +4 -1
  20. package/build/components/error-boundary/index.js.map +1 -1
  21. package/build/components/global-styles-provider/index.js +17 -4
  22. package/build/components/global-styles-provider/index.js.map +1 -1
  23. package/build/components/index.js +8 -0
  24. package/build/components/index.js.map +1 -1
  25. package/build/components/inserter-sidebar/index.js +8 -7
  26. package/build/components/inserter-sidebar/index.js.map +1 -1
  27. package/build/components/local-autosave-monitor/index.js +5 -5
  28. package/build/components/local-autosave-monitor/index.js.map +1 -1
  29. package/build/components/page-attributes/parent.js +10 -6
  30. package/build/components/page-attributes/parent.js.map +1 -1
  31. package/build/components/plugin-preview-menu-item/index.js +57 -0
  32. package/build/components/plugin-preview-menu-item/index.js.map +1 -0
  33. package/build/components/post-actions/actions.js +4 -499
  34. package/build/components/post-actions/actions.js.map +1 -1
  35. package/build/components/post-actions/index.js +13 -25
  36. package/build/components/post-actions/index.js.map +1 -1
  37. package/build/components/post-card-panel/index.js +20 -20
  38. package/build/components/post-card-panel/index.js.map +1 -1
  39. package/build/components/post-excerpt/panel.js +4 -1
  40. package/build/components/post-excerpt/panel.js.map +1 -1
  41. package/build/components/post-featured-image/index.js +14 -3
  42. package/build/components/post-featured-image/index.js.map +1 -1
  43. package/build/components/post-format/index.js +4 -1
  44. package/build/components/post-format/index.js.map +1 -1
  45. package/build/components/post-last-revision/index.js +4 -1
  46. package/build/components/post-last-revision/index.js.map +1 -1
  47. package/build/components/post-locked-modal/index.js +12 -3
  48. package/build/components/post-locked-modal/index.js.map +1 -1
  49. package/build/components/post-publish-panel/index.js +4 -1
  50. package/build/components/post-publish-panel/index.js.map +1 -1
  51. package/build/components/post-publish-panel/maybe-post-format-panel.js +4 -1
  52. package/build/components/post-publish-panel/maybe-post-format-panel.js.map +1 -1
  53. package/build/components/post-publish-panel/maybe-upload-media.js +14 -8
  54. package/build/components/post-publish-panel/maybe-upload-media.js.map +1 -1
  55. package/build/components/post-publish-panel/postpublish.js +4 -0
  56. package/build/components/post-publish-panel/postpublish.js.map +1 -1
  57. package/build/components/post-slug/index.js +1 -0
  58. package/build/components/post-slug/index.js.map +1 -1
  59. package/build/components/post-status/index.js +4 -2
  60. package/build/components/post-status/index.js.map +1 -1
  61. package/build/components/post-taxonomies/hierarchical-term-selector.js +6 -2
  62. package/build/components/post-taxonomies/hierarchical-term-selector.js.map +1 -1
  63. package/build/components/post-taxonomies/most-used-terms.js +4 -1
  64. package/build/components/post-taxonomies/most-used-terms.js.map +1 -1
  65. package/build/components/post-template/block-theme.js +13 -4
  66. package/build/components/post-template/block-theme.js.map +1 -1
  67. package/build/components/post-template/classic-theme.js +4 -1
  68. package/build/components/post-template/classic-theme.js.map +1 -1
  69. package/build/components/post-title/index.js +32 -46
  70. package/build/components/post-title/index.js.map +1 -1
  71. package/build/components/post-url/index.js +10 -6
  72. package/build/components/post-url/index.js.map +1 -1
  73. package/build/components/preview-dropdown/index.js +26 -14
  74. package/build/components/preview-dropdown/index.js.map +1 -1
  75. package/build/components/provider/use-block-editor-settings.js +5 -6
  76. package/build/components/provider/use-block-editor-settings.js.map +1 -1
  77. package/build/components/save-publish-panels/index.js +8 -2
  78. package/build/components/save-publish-panels/index.js.map +1 -1
  79. package/build/components/sidebar/post-summary.js +10 -7
  80. package/build/components/sidebar/post-summary.js.map +1 -1
  81. package/build/components/start-template-options/index.js +4 -1
  82. package/build/components/start-template-options/index.js.map +1 -1
  83. package/build/components/table-of-contents/index.js +4 -1
  84. package/build/components/table-of-contents/index.js.map +1 -1
  85. package/build/components/template-content-panel/index.js +1 -1
  86. package/build/components/template-content-panel/index.js.map +1 -1
  87. package/build/components/text-editor/index.js +4 -1
  88. package/build/components/text-editor/index.js.map +1 -1
  89. package/build/components/visual-editor/index.js +1 -6
  90. package/build/components/visual-editor/index.js.map +1 -1
  91. package/build/dataviews/actions/duplicate-pattern.js +48 -0
  92. package/build/dataviews/actions/duplicate-pattern.js.map +1 -0
  93. package/build/dataviews/actions/duplicate-post.js +146 -0
  94. package/build/dataviews/actions/duplicate-post.js.map +1 -0
  95. package/build/dataviews/actions/duplicate-post.native.js +9 -0
  96. package/build/dataviews/actions/duplicate-post.native.js.map +1 -0
  97. package/build/dataviews/actions/duplicate-template-part.js +67 -0
  98. package/build/dataviews/actions/duplicate-template-part.js.map +1 -0
  99. package/build/dataviews/actions/export-pattern.js +2 -0
  100. package/build/dataviews/actions/export-pattern.js.map +1 -1
  101. package/build/dataviews/actions/permanently-delete-post.js +2 -0
  102. package/build/dataviews/actions/permanently-delete-post.js.map +1 -1
  103. package/build/dataviews/actions/rename-post.js +125 -0
  104. package/build/dataviews/actions/rename-post.js.map +1 -0
  105. package/build/dataviews/actions/reorder-page.js +116 -0
  106. package/build/dataviews/actions/reorder-page.js.map +1 -0
  107. package/build/dataviews/actions/reorder-page.native.js +9 -0
  108. package/build/dataviews/actions/reorder-page.native.js.map +1 -0
  109. package/build/dataviews/actions/reset-post.js +9 -3
  110. package/build/dataviews/actions/reset-post.js.map +1 -1
  111. package/build/dataviews/actions/trash-post.js +8 -2
  112. package/build/dataviews/actions/trash-post.js.map +1 -1
  113. package/build/dataviews/actions/utils.js +9 -1
  114. package/build/dataviews/actions/utils.js.map +1 -1
  115. package/build/dataviews/actions/view-post-revisions.js +49 -0
  116. package/build/dataviews/actions/view-post-revisions.js.map +1 -0
  117. package/build/dataviews/actions/view-post.js +36 -0
  118. package/build/dataviews/actions/view-post.js.map +1 -0
  119. package/build/dataviews/fields/index.js +32 -0
  120. package/build/dataviews/fields/index.js.map +1 -0
  121. package/build/dataviews/store/private-actions.js +16 -2
  122. package/build/dataviews/store/private-actions.js.map +1 -1
  123. package/build/dataviews/types.js.map +1 -1
  124. package/build/private-apis.js +2 -2
  125. package/build/private-apis.js.map +1 -1
  126. package/build/store/private-actions.js +2 -2
  127. package/build/store/private-actions.js.map +1 -1
  128. package/build/store/utils/is-template-revertable.js +1 -1
  129. package/build/store/utils/is-template-revertable.js.map +1 -1
  130. package/build-module/bindings/post-meta.js +12 -10
  131. package/build-module/bindings/post-meta.js.map +1 -1
  132. package/build-module/components/block-manager/index.js +4 -1
  133. package/build-module/components/block-manager/index.js.map +1 -1
  134. package/build-module/components/block-settings-menu/content-only-settings-menu.js +6 -9
  135. package/build-module/components/block-settings-menu/content-only-settings-menu.js.map +1 -1
  136. package/build-module/components/create-template-part-modal/index.js +1 -0
  137. package/build-module/components/create-template-part-modal/index.js.map +1 -1
  138. package/build-module/components/document-bar/index.js +4 -4
  139. package/build-module/components/document-bar/index.js.map +1 -1
  140. package/build-module/components/editor-history/redo.js +4 -1
  141. package/build-module/components/editor-history/redo.js.map +1 -1
  142. package/build-module/components/editor-history/undo.js +4 -1
  143. package/build-module/components/editor-history/undo.js.map +1 -1
  144. package/build-module/components/editor-interface/index.js +2 -3
  145. package/build-module/components/editor-interface/index.js.map +1 -1
  146. package/build-module/components/error-boundary/index.js +4 -1
  147. package/build-module/components/error-boundary/index.js.map +1 -1
  148. package/build-module/components/global-styles-provider/index.js +17 -4
  149. package/build-module/components/global-styles-provider/index.js.map +1 -1
  150. package/build-module/components/index.js +1 -0
  151. package/build-module/components/index.js.map +1 -1
  152. package/build-module/components/inserter-sidebar/index.js +8 -7
  153. package/build-module/components/inserter-sidebar/index.js.map +1 -1
  154. package/build-module/components/local-autosave-monitor/index.js +5 -5
  155. package/build-module/components/local-autosave-monitor/index.js.map +1 -1
  156. package/build-module/components/page-attributes/parent.js +10 -6
  157. package/build-module/components/page-attributes/parent.js.map +1 -1
  158. package/build-module/components/plugin-preview-menu-item/index.js +52 -0
  159. package/build-module/components/plugin-preview-menu-item/index.js.map +1 -0
  160. package/build-module/components/post-actions/actions.js +5 -501
  161. package/build-module/components/post-actions/actions.js.map +1 -1
  162. package/build-module/components/post-actions/index.js +13 -25
  163. package/build-module/components/post-actions/index.js.map +1 -1
  164. package/build-module/components/post-card-panel/index.js +20 -20
  165. package/build-module/components/post-card-panel/index.js.map +1 -1
  166. package/build-module/components/post-excerpt/panel.js +4 -1
  167. package/build-module/components/post-excerpt/panel.js.map +1 -1
  168. package/build-module/components/post-featured-image/index.js +14 -3
  169. package/build-module/components/post-featured-image/index.js.map +1 -1
  170. package/build-module/components/post-format/index.js +4 -1
  171. package/build-module/components/post-format/index.js.map +1 -1
  172. package/build-module/components/post-last-revision/index.js +4 -1
  173. package/build-module/components/post-last-revision/index.js.map +1 -1
  174. package/build-module/components/post-locked-modal/index.js +12 -3
  175. package/build-module/components/post-locked-modal/index.js.map +1 -1
  176. package/build-module/components/post-publish-panel/index.js +4 -1
  177. package/build-module/components/post-publish-panel/index.js.map +1 -1
  178. package/build-module/components/post-publish-panel/maybe-post-format-panel.js +4 -1
  179. package/build-module/components/post-publish-panel/maybe-post-format-panel.js.map +1 -1
  180. package/build-module/components/post-publish-panel/maybe-upload-media.js +14 -8
  181. package/build-module/components/post-publish-panel/maybe-upload-media.js.map +1 -1
  182. package/build-module/components/post-publish-panel/postpublish.js +4 -0
  183. package/build-module/components/post-publish-panel/postpublish.js.map +1 -1
  184. package/build-module/components/post-slug/index.js +1 -0
  185. package/build-module/components/post-slug/index.js.map +1 -1
  186. package/build-module/components/post-status/index.js +4 -2
  187. package/build-module/components/post-status/index.js.map +1 -1
  188. package/build-module/components/post-taxonomies/hierarchical-term-selector.js +7 -3
  189. package/build-module/components/post-taxonomies/hierarchical-term-selector.js.map +1 -1
  190. package/build-module/components/post-taxonomies/most-used-terms.js +4 -1
  191. package/build-module/components/post-taxonomies/most-used-terms.js.map +1 -1
  192. package/build-module/components/post-template/block-theme.js +13 -4
  193. package/build-module/components/post-template/block-theme.js.map +1 -1
  194. package/build-module/components/post-template/classic-theme.js +4 -1
  195. package/build-module/components/post-template/classic-theme.js.map +1 -1
  196. package/build-module/components/post-title/index.js +33 -47
  197. package/build-module/components/post-title/index.js.map +1 -1
  198. package/build-module/components/post-url/index.js +11 -7
  199. package/build-module/components/post-url/index.js.map +1 -1
  200. package/build-module/components/preview-dropdown/index.js +26 -14
  201. package/build-module/components/preview-dropdown/index.js.map +1 -1
  202. package/build-module/components/provider/use-block-editor-settings.js +6 -7
  203. package/build-module/components/provider/use-block-editor-settings.js.map +1 -1
  204. package/build-module/components/save-publish-panels/index.js +8 -2
  205. package/build-module/components/save-publish-panels/index.js.map +1 -1
  206. package/build-module/components/sidebar/post-summary.js +10 -7
  207. package/build-module/components/sidebar/post-summary.js.map +1 -1
  208. package/build-module/components/start-template-options/index.js +4 -1
  209. package/build-module/components/start-template-options/index.js.map +1 -1
  210. package/build-module/components/table-of-contents/index.js +4 -1
  211. package/build-module/components/table-of-contents/index.js.map +1 -1
  212. package/build-module/components/template-content-panel/index.js +1 -1
  213. package/build-module/components/template-content-panel/index.js.map +1 -1
  214. package/build-module/components/text-editor/index.js +4 -1
  215. package/build-module/components/text-editor/index.js.map +1 -1
  216. package/build-module/components/visual-editor/index.js +1 -6
  217. package/build-module/components/visual-editor/index.js.map +1 -1
  218. package/build-module/dataviews/actions/duplicate-pattern.js +39 -0
  219. package/build-module/dataviews/actions/duplicate-pattern.js.map +1 -0
  220. package/build-module/dataviews/actions/duplicate-post.js +139 -0
  221. package/build-module/dataviews/actions/duplicate-post.js.map +1 -0
  222. package/build-module/dataviews/actions/duplicate-post.native.js +3 -0
  223. package/build-module/dataviews/actions/duplicate-post.native.js.map +1 -0
  224. package/build-module/dataviews/actions/duplicate-template-part.js +58 -0
  225. package/build-module/dataviews/actions/duplicate-template-part.js.map +1 -0
  226. package/build-module/dataviews/actions/export-pattern.js +2 -0
  227. package/build-module/dataviews/actions/export-pattern.js.map +1 -1
  228. package/build-module/dataviews/actions/permanently-delete-post.js +3 -0
  229. package/build-module/dataviews/actions/permanently-delete-post.js.map +1 -1
  230. package/build-module/dataviews/actions/rename-post.js +118 -0
  231. package/build-module/dataviews/actions/rename-post.js.map +1 -0
  232. package/build-module/dataviews/actions/reorder-page.js +111 -0
  233. package/build-module/dataviews/actions/reorder-page.js.map +1 -0
  234. package/build-module/dataviews/actions/reorder-page.native.js +3 -0
  235. package/build-module/dataviews/actions/reorder-page.native.js.map +1 -0
  236. package/build-module/dataviews/actions/reset-post.js +9 -3
  237. package/build-module/dataviews/actions/reset-post.js.map +1 -1
  238. package/build-module/dataviews/actions/trash-post.js +8 -2
  239. package/build-module/dataviews/actions/trash-post.js.map +1 -1
  240. package/build-module/dataviews/actions/utils.js +7 -1
  241. package/build-module/dataviews/actions/utils.js.map +1 -1
  242. package/build-module/dataviews/actions/view-post-revisions.js +43 -0
  243. package/build-module/dataviews/actions/view-post-revisions.js.map +1 -0
  244. package/build-module/dataviews/actions/view-post.js +30 -0
  245. package/build-module/dataviews/actions/view-post.js.map +1 -0
  246. package/build-module/dataviews/fields/index.js +26 -0
  247. package/build-module/dataviews/fields/index.js.map +1 -0
  248. package/build-module/dataviews/store/private-actions.js +16 -2
  249. package/build-module/dataviews/store/private-actions.js.map +1 -1
  250. package/build-module/dataviews/types.js.map +1 -1
  251. package/build-module/private-apis.js +2 -2
  252. package/build-module/private-apis.js.map +1 -1
  253. package/build-module/store/private-actions.js +2 -2
  254. package/build-module/store/private-actions.js.map +1 -1
  255. package/build-module/store/utils/is-template-revertable.js +1 -1
  256. package/build-module/store/utils/is-template-revertable.js.map +1 -1
  257. package/build-style/style-rtl.css +14 -38
  258. package/build-style/style.css +14 -38
  259. package/build-types/bindings/post-meta.d.ts +0 -3
  260. package/build-types/bindings/post-meta.d.ts.map +1 -1
  261. package/build-types/components/block-settings-menu/content-only-settings-menu.d.ts.map +1 -1
  262. package/build-types/components/create-template-part-modal/index.d.ts.map +1 -1
  263. package/build-types/components/editor-history/redo.d.ts.map +1 -1
  264. package/build-types/components/editor-history/undo.d.ts.map +1 -1
  265. package/build-types/components/editor-interface/index.d.ts.map +1 -1
  266. package/build-types/components/error-boundary/index.d.ts.map +1 -1
  267. package/build-types/components/global-styles-provider/index.d.ts.map +1 -1
  268. package/build-types/components/index.d.ts +1 -0
  269. package/build-types/components/index.d.ts.map +1 -1
  270. package/build-types/components/inserter-sidebar/index.d.ts.map +1 -1
  271. package/build-types/components/page-attributes/parent.d.ts.map +1 -1
  272. package/build-types/components/plugin-preview-menu-item/index.d.ts +3 -0
  273. package/build-types/components/plugin-preview-menu-item/index.d.ts.map +1 -0
  274. package/build-types/components/post-actions/actions.d.ts +1 -26
  275. package/build-types/components/post-actions/actions.d.ts.map +1 -1
  276. package/build-types/components/post-actions/index.d.ts +3 -2
  277. package/build-types/components/post-actions/index.d.ts.map +1 -1
  278. package/build-types/components/post-card-panel/index.d.ts +4 -2
  279. package/build-types/components/post-card-panel/index.d.ts.map +1 -1
  280. package/build-types/components/post-format/index.d.ts.map +1 -1
  281. package/build-types/components/post-last-revision/index.d.ts.map +1 -1
  282. package/build-types/components/post-locked-modal/index.d.ts.map +1 -1
  283. package/build-types/components/post-publish-panel/index.d.ts.map +1 -1
  284. package/build-types/components/post-publish-panel/maybe-post-format-panel.d.ts.map +1 -1
  285. package/build-types/components/post-publish-panel/maybe-upload-media.d.ts.map +1 -1
  286. package/build-types/components/post-slug/index.d.ts.map +1 -1
  287. package/build-types/components/post-status/index.d.ts.map +1 -1
  288. package/build-types/components/post-taxonomies/hierarchical-term-selector.d.ts +1 -17
  289. package/build-types/components/post-taxonomies/hierarchical-term-selector.d.ts.map +1 -1
  290. package/build-types/components/post-taxonomies/most-used-terms.d.ts.map +1 -1
  291. package/build-types/components/post-template/block-theme.d.ts.map +1 -1
  292. package/build-types/components/post-template/classic-theme.d.ts.map +1 -1
  293. package/build-types/components/post-url/index.d.ts.map +1 -1
  294. package/build-types/components/preview-dropdown/index.d.ts.map +1 -1
  295. package/build-types/components/provider/use-block-editor-settings.d.ts.map +1 -1
  296. package/build-types/components/save-publish-panels/index.d.ts.map +1 -1
  297. package/build-types/components/sidebar/post-summary.d.ts.map +1 -1
  298. package/build-types/components/start-template-options/index.d.ts.map +1 -1
  299. package/build-types/components/template-content-panel/index.d.ts.map +1 -1
  300. package/build-types/components/text-editor/index.d.ts.map +1 -1
  301. package/build-types/components/visual-editor/index.d.ts.map +1 -1
  302. package/build-types/dataviews/actions/duplicate-pattern.d.ts +5 -0
  303. package/build-types/dataviews/actions/duplicate-pattern.d.ts.map +1 -0
  304. package/build-types/dataviews/actions/duplicate-post.d.ts +5 -0
  305. package/build-types/dataviews/actions/duplicate-post.d.ts.map +1 -0
  306. package/build-types/dataviews/actions/duplicate-post.native.d.ts +3 -0
  307. package/build-types/dataviews/actions/duplicate-post.native.d.ts.map +1 -0
  308. package/build-types/dataviews/actions/duplicate-template-part.d.ts +5 -0
  309. package/build-types/dataviews/actions/duplicate-template-part.d.ts.map +1 -0
  310. package/build-types/dataviews/actions/export-pattern.d.ts.map +1 -1
  311. package/build-types/dataviews/actions/permanently-delete-post.d.ts.map +1 -1
  312. package/build-types/dataviews/actions/rename-post.d.ts +5 -0
  313. package/build-types/dataviews/actions/rename-post.d.ts.map +1 -0
  314. package/build-types/dataviews/actions/reorder-page.d.ts +8 -0
  315. package/build-types/dataviews/actions/reorder-page.d.ts.map +1 -0
  316. package/build-types/dataviews/actions/reorder-page.native.d.ts +3 -0
  317. package/build-types/dataviews/actions/reorder-page.native.d.ts.map +1 -0
  318. package/build-types/dataviews/actions/reset-post.d.ts.map +1 -1
  319. package/build-types/dataviews/actions/trash-post.d.ts.map +1 -1
  320. package/build-types/dataviews/actions/utils.d.ts +5 -3
  321. package/build-types/dataviews/actions/utils.d.ts.map +1 -1
  322. package/build-types/dataviews/actions/view-post-revisions.d.ts +8 -0
  323. package/build-types/dataviews/actions/view-post-revisions.d.ts.map +1 -0
  324. package/build-types/dataviews/actions/view-post.d.ts +8 -0
  325. package/build-types/dataviews/actions/view-post.d.ts.map +1 -0
  326. package/build-types/dataviews/fields/index.d.ts +8 -0
  327. package/build-types/dataviews/fields/index.d.ts.map +1 -0
  328. package/build-types/dataviews/store/private-actions.d.ts.map +1 -1
  329. package/build-types/dataviews/types.d.ts +57 -8
  330. package/build-types/dataviews/types.d.ts.map +1 -1
  331. package/build-types/store/private-actions.d.ts.map +1 -1
  332. package/build-types/store/utils/is-template-revertable.d.ts.map +1 -1
  333. package/package.json +36 -36
  334. package/src/bindings/post-meta.js +14 -8
  335. package/src/components/block-manager/index.js +2 -0
  336. package/src/components/block-manager/style.scss +2 -2
  337. package/src/components/block-settings-menu/content-only-settings-menu.js +5 -9
  338. package/src/components/create-template-part-modal/index.js +1 -0
  339. package/src/components/create-template-part-modal/style.scss +1 -1
  340. package/src/components/document-bar/index.js +4 -4
  341. package/src/components/document-outline/style.scss +1 -1
  342. package/src/components/editor-history/redo.js +2 -0
  343. package/src/components/editor-history/undo.js +2 -0
  344. package/src/components/editor-interface/index.js +2 -4
  345. package/src/components/error-boundary/index.js +6 -1
  346. package/src/components/error-boundary/style.native.scss +1 -1
  347. package/src/components/error-boundary/style.scss +1 -1
  348. package/src/components/global-styles-provider/index.js +16 -3
  349. package/src/components/header/style.scss +6 -3
  350. package/src/components/index.js +1 -0
  351. package/src/components/inserter-sidebar/index.js +12 -5
  352. package/src/components/local-autosave-monitor/index.js +6 -6
  353. package/src/components/page-attributes/parent.js +18 -13
  354. package/src/components/plugin-preview-menu-item/index.js +52 -0
  355. package/src/components/post-actions/actions.js +5 -616
  356. package/src/components/post-actions/index.js +24 -34
  357. package/src/components/post-card-panel/index.js +28 -27
  358. package/src/components/post-card-panel/style.scss +1 -1
  359. package/src/components/post-discussion/style.scss +0 -9
  360. package/src/components/post-excerpt/panel.js +2 -0
  361. package/src/components/post-featured-image/index.js +8 -0
  362. package/src/components/post-featured-image/style.scss +1 -2
  363. package/src/components/post-format/index.js +2 -0
  364. package/src/components/post-format/style.scss +0 -6
  365. package/src/components/post-last-revision/index.js +2 -0
  366. package/src/components/post-locked-modal/index.js +14 -2
  367. package/src/components/post-locked-modal/style.scss +1 -1
  368. package/src/components/post-publish-panel/index.js +2 -0
  369. package/src/components/post-publish-panel/maybe-post-format-panel.js +2 -0
  370. package/src/components/post-publish-panel/maybe-upload-media.js +37 -29
  371. package/src/components/post-publish-panel/postpublish.js +8 -2
  372. package/src/components/post-publish-panel/style.scss +3 -1
  373. package/src/components/post-publish-panel/test/__snapshots__/index.js.snap +8 -8
  374. package/src/components/post-slug/index.js +1 -0
  375. package/src/components/post-status/index.js +3 -2
  376. package/src/components/post-status/style.scss +0 -19
  377. package/src/components/post-taxonomies/hierarchical-term-selector.js +5 -1
  378. package/src/components/post-taxonomies/most-used-terms.js +2 -0
  379. package/src/components/post-template/block-theme.js +15 -9
  380. package/src/components/post-template/classic-theme.js +2 -0
  381. package/src/components/post-title/index.js +30 -41
  382. package/src/components/post-url/index.js +17 -9
  383. package/src/components/preview-dropdown/index.js +28 -20
  384. package/src/components/provider/use-block-editor-settings.js +5 -5
  385. package/src/components/resizable-editor/style.scss +2 -2
  386. package/src/components/save-publish-panels/index.js +4 -0
  387. package/src/components/save-publish-panels/style.scss +3 -3
  388. package/src/components/sidebar/post-summary.js +20 -16
  389. package/src/components/site-discussion/style.scss +0 -14
  390. package/src/components/start-template-options/index.js +6 -1
  391. package/src/components/table-of-contents/index.js +2 -0
  392. package/src/components/template-content-panel/index.js +4 -1
  393. package/src/components/text-editor/index.js +2 -0
  394. package/src/components/visual-editor/index.js +2 -9
  395. package/src/dataviews/actions/duplicate-pattern.tsx +40 -0
  396. package/src/dataviews/actions/duplicate-post.native.tsx +3 -0
  397. package/src/dataviews/actions/duplicate-post.tsx +174 -0
  398. package/src/dataviews/actions/duplicate-template-part.tsx +70 -0
  399. package/src/dataviews/actions/export-pattern.tsx +2 -0
  400. package/src/dataviews/actions/permanently-delete-post.tsx +2 -0
  401. package/src/dataviews/actions/rename-post.tsx +146 -0
  402. package/src/dataviews/actions/reorder-page.native.tsx +3 -0
  403. package/src/dataviews/actions/reorder-page.tsx +125 -0
  404. package/src/dataviews/actions/reset-post.tsx +6 -1
  405. package/src/dataviews/actions/trash-post.tsx +4 -0
  406. package/src/dataviews/actions/utils.ts +14 -4
  407. package/src/dataviews/actions/view-post-revisions.tsx +47 -0
  408. package/src/dataviews/actions/view-post.tsx +30 -0
  409. package/src/dataviews/fields/index.ts +26 -0
  410. package/src/dataviews/store/private-actions.ts +42 -1
  411. package/src/dataviews/types.ts +47 -6
  412. package/src/private-apis.js +2 -2
  413. package/src/store/private-actions.js +4 -2
  414. package/src/store/utils/is-template-revertable.js +2 -1
  415. package/tsconfig.tsbuildinfo +1 -1
@@ -38,10 +38,10 @@
38
38
  * Radius scale.
39
39
  */
40
40
  /**
41
- * Dimensions.
41
+ * Elevation scale.
42
42
  */
43
43
  /**
44
- * Shadows.
44
+ * Dimensions.
45
45
  */
46
46
  /**
47
47
  * Editor widths.
@@ -1232,7 +1232,7 @@ body.is-fullscreen-mode .interface-interface-skeleton {
1232
1232
  margin-left: 8px;
1233
1233
  }
1234
1234
 
1235
- @media (min-width: 600px) {
1235
+ @media (min-width: 480px) {
1236
1236
  .editor-header__post-preview-button {
1237
1237
  display: none;
1238
1238
  }
@@ -1243,10 +1243,14 @@ body.is-fullscreen-mode .interface-interface-skeleton {
1243
1243
  }
1244
1244
  .editor-editor-interface.is-distraction-free .editor-header {
1245
1245
  background-color: #fff;
1246
- border-bottom: 1px solid #e0e0e0;
1247
- position: absolute;
1248
1246
  width: 100%;
1249
1247
  }
1248
+ @media (min-width: 782px) {
1249
+ .editor-editor-interface.is-distraction-free .editor-header {
1250
+ border-bottom: 1px solid #e0e0e0;
1251
+ position: absolute;
1252
+ }
1253
+ }
1250
1254
  .editor-editor-interface.is-distraction-free .editor-header > .edit-post-header__settings > .edit-post-header__post-preview-button {
1251
1255
  visibility: hidden;
1252
1256
  }
@@ -1509,13 +1513,6 @@ body.is-fullscreen-mode .interface-interface-skeleton {
1509
1513
  min-width: 248px;
1510
1514
  margin: 8px;
1511
1515
  }
1512
- .editor-post-discussion__panel-dialog .editor-post-discussion .components-radio-control__option {
1513
- align-items: flex-start;
1514
- }
1515
- .editor-post-discussion__panel-dialog .editor-post-discussion .components-radio-control__label .components-text {
1516
- display: block;
1517
- margin-top: 4px;
1518
- }
1519
1516
 
1520
1517
  .editor-post-discussion__panel-toggle .components-text {
1521
1518
  color: inherit;
@@ -1596,7 +1593,6 @@ body.is-fullscreen-mode .interface-interface-skeleton {
1596
1593
  }
1597
1594
 
1598
1595
  .editor-post-featured-image__toggle {
1599
- border-radius: 2px;
1600
1596
  height: 100%;
1601
1597
  line-height: 20px;
1602
1598
  padding: 8px 0;
@@ -1635,10 +1631,6 @@ body.is-fullscreen-mode .interface-interface-skeleton {
1635
1631
  margin: 8px;
1636
1632
  }
1637
1633
 
1638
- .editor-post-format__options .components-base-control__field > .components-v-stack {
1639
- gap: 12px;
1640
- }
1641
-
1642
1634
  .editor-post-last-edited-panel {
1643
1635
  color: #757575;
1644
1636
  }
@@ -1680,7 +1672,7 @@ body.is-fullscreen-mode .interface-interface-skeleton {
1680
1672
  }
1681
1673
 
1682
1674
  .editor-post-locked-modal__avatar {
1683
- border-radius: 2px;
1675
+ border-radius: 50%;
1684
1676
  margin-top: 16px;
1685
1677
  min-width: initial !important;
1686
1678
  }
@@ -1763,6 +1755,7 @@ body.is-fullscreen-mode .interface-interface-skeleton {
1763
1755
  border: none;
1764
1756
  border-radius: 2px;
1765
1757
  margin-left: 12px;
1758
+ flex-shrink: 0;
1766
1759
  height: 36px;
1767
1760
  width: 36px;
1768
1761
  }
@@ -1776,6 +1769,7 @@ body.is-fullscreen-mode .interface-interface-skeleton {
1776
1769
  display: block;
1777
1770
  color: #757575;
1778
1771
  font-size: 12px;
1772
+ word-break: break-word;
1779
1773
  }
1780
1774
 
1781
1775
  .editor-post-publish-panel__header-publish-button,
@@ -2009,16 +2003,6 @@ body.is-fullscreen-mode .interface-interface-skeleton {
2009
2003
  min-width: 320px;
2010
2004
  padding: 16px;
2011
2005
  }
2012
- .editor-change-status__content .editor-change-status__options .components-base-control__field > .components-v-stack {
2013
- gap: 12px;
2014
- }
2015
- .editor-change-status__content .editor-change-status__options .components-radio-control__option {
2016
- align-items: flex-start;
2017
- }
2018
- .editor-change-status__content .editor-change-status__options label .components-text {
2019
- display: block;
2020
- margin-top: 4px;
2021
- }
2022
2006
  .editor-change-status__content .editor-change-status__password-legend {
2023
2007
  padding: 0;
2024
2008
  margin-bottom: 8px;
@@ -2372,7 +2356,7 @@ textarea.editor-post-text-editor:-ms-input-placeholder {
2372
2356
  cursor: ew-resize;
2373
2357
  outline: none;
2374
2358
  background: none;
2375
- border-radius: 2px;
2359
+ border-radius: 9999px;
2376
2360
  border: 0;
2377
2361
  height: 100px;
2378
2362
  }
@@ -2385,7 +2369,7 @@ textarea.editor-post-text-editor:-ms-input-placeholder {
2385
2369
  content: "";
2386
2370
  width: 4px;
2387
2371
  background-color: rgba(117, 117, 117, 0.4);
2388
- border-radius: 2px;
2372
+ border-radius: 9999px;
2389
2373
  }
2390
2374
  .editor-resizable-editor__resize-handle.is-left {
2391
2375
  right: -18px;
@@ -2513,14 +2497,6 @@ textarea.editor-post-text-editor:-ms-input-placeholder {
2513
2497
  padding: 16px;
2514
2498
  }
2515
2499
 
2516
- .editor-site-discussion__options .components-radio-control__option {
2517
- align-items: flex-start;
2518
- }
2519
- .editor-site-discussion__options label .components-text {
2520
- display: block;
2521
- margin-top: 4px;
2522
- }
2523
-
2524
2500
  .table-of-contents__popover.components-popover .components-popover__content {
2525
2501
  min-width: 380px;
2526
2502
  }
@@ -38,10 +38,10 @@
38
38
  * Radius scale.
39
39
  */
40
40
  /**
41
- * Dimensions.
41
+ * Elevation scale.
42
42
  */
43
43
  /**
44
- * Shadows.
44
+ * Dimensions.
45
45
  */
46
46
  /**
47
47
  * Editor widths.
@@ -1232,7 +1232,7 @@ body.is-fullscreen-mode .interface-interface-skeleton {
1232
1232
  margin-right: 8px;
1233
1233
  }
1234
1234
 
1235
- @media (min-width: 600px) {
1235
+ @media (min-width: 480px) {
1236
1236
  .editor-header__post-preview-button {
1237
1237
  display: none;
1238
1238
  }
@@ -1243,10 +1243,14 @@ body.is-fullscreen-mode .interface-interface-skeleton {
1243
1243
  }
1244
1244
  .editor-editor-interface.is-distraction-free .editor-header {
1245
1245
  background-color: #fff;
1246
- border-bottom: 1px solid #e0e0e0;
1247
- position: absolute;
1248
1246
  width: 100%;
1249
1247
  }
1248
+ @media (min-width: 782px) {
1249
+ .editor-editor-interface.is-distraction-free .editor-header {
1250
+ border-bottom: 1px solid #e0e0e0;
1251
+ position: absolute;
1252
+ }
1253
+ }
1250
1254
  .editor-editor-interface.is-distraction-free .editor-header > .edit-post-header__settings > .edit-post-header__post-preview-button {
1251
1255
  visibility: hidden;
1252
1256
  }
@@ -1509,13 +1513,6 @@ body.is-fullscreen-mode .interface-interface-skeleton {
1509
1513
  min-width: 248px;
1510
1514
  margin: 8px;
1511
1515
  }
1512
- .editor-post-discussion__panel-dialog .editor-post-discussion .components-radio-control__option {
1513
- align-items: flex-start;
1514
- }
1515
- .editor-post-discussion__panel-dialog .editor-post-discussion .components-radio-control__label .components-text {
1516
- display: block;
1517
- margin-top: 4px;
1518
- }
1519
1516
 
1520
1517
  .editor-post-discussion__panel-toggle .components-text {
1521
1518
  color: inherit;
@@ -1596,7 +1593,6 @@ body.is-fullscreen-mode .interface-interface-skeleton {
1596
1593
  }
1597
1594
 
1598
1595
  .editor-post-featured-image__toggle {
1599
- border-radius: 2px;
1600
1596
  height: 100%;
1601
1597
  line-height: 20px;
1602
1598
  padding: 8px 0;
@@ -1635,10 +1631,6 @@ body.is-fullscreen-mode .interface-interface-skeleton {
1635
1631
  margin: 8px;
1636
1632
  }
1637
1633
 
1638
- .editor-post-format__options .components-base-control__field > .components-v-stack {
1639
- gap: 12px;
1640
- }
1641
-
1642
1634
  .editor-post-last-edited-panel {
1643
1635
  color: #757575;
1644
1636
  }
@@ -1680,7 +1672,7 @@ body.is-fullscreen-mode .interface-interface-skeleton {
1680
1672
  }
1681
1673
 
1682
1674
  .editor-post-locked-modal__avatar {
1683
- border-radius: 2px;
1675
+ border-radius: 50%;
1684
1676
  margin-top: 16px;
1685
1677
  min-width: initial !important;
1686
1678
  }
@@ -1763,6 +1755,7 @@ body.is-fullscreen-mode .interface-interface-skeleton {
1763
1755
  border: none;
1764
1756
  border-radius: 2px;
1765
1757
  margin-right: 12px;
1758
+ flex-shrink: 0;
1766
1759
  height: 36px;
1767
1760
  width: 36px;
1768
1761
  }
@@ -1776,6 +1769,7 @@ body.is-fullscreen-mode .interface-interface-skeleton {
1776
1769
  display: block;
1777
1770
  color: #757575;
1778
1771
  font-size: 12px;
1772
+ word-break: break-word;
1779
1773
  }
1780
1774
 
1781
1775
  .editor-post-publish-panel__header-publish-button,
@@ -2009,16 +2003,6 @@ body.is-fullscreen-mode .interface-interface-skeleton {
2009
2003
  min-width: 320px;
2010
2004
  padding: 16px;
2011
2005
  }
2012
- .editor-change-status__content .editor-change-status__options .components-base-control__field > .components-v-stack {
2013
- gap: 12px;
2014
- }
2015
- .editor-change-status__content .editor-change-status__options .components-radio-control__option {
2016
- align-items: flex-start;
2017
- }
2018
- .editor-change-status__content .editor-change-status__options label .components-text {
2019
- display: block;
2020
- margin-top: 4px;
2021
- }
2022
2006
  .editor-change-status__content .editor-change-status__password-legend {
2023
2007
  padding: 0;
2024
2008
  margin-bottom: 8px;
@@ -2376,7 +2360,7 @@ textarea.editor-post-text-editor:-ms-input-placeholder {
2376
2360
  cursor: ew-resize;
2377
2361
  outline: none;
2378
2362
  background: none;
2379
- border-radius: 2px;
2363
+ border-radius: 9999px;
2380
2364
  border: 0;
2381
2365
  height: 100px;
2382
2366
  }
@@ -2389,7 +2373,7 @@ textarea.editor-post-text-editor:-ms-input-placeholder {
2389
2373
  content: "";
2390
2374
  width: 4px;
2391
2375
  background-color: rgba(117, 117, 117, 0.4);
2392
- border-radius: 2px;
2376
+ border-radius: 9999px;
2393
2377
  }
2394
2378
  .editor-resizable-editor__resize-handle.is-left {
2395
2379
  left: -18px;
@@ -2517,14 +2501,6 @@ textarea.editor-post-text-editor:-ms-input-placeholder {
2517
2501
  padding: 16px;
2518
2502
  }
2519
2503
 
2520
- .editor-site-discussion__options .components-radio-control__option {
2521
- align-items: flex-start;
2522
- }
2523
- .editor-site-discussion__options label .components-text {
2524
- display: block;
2525
- margin-top: 4px;
2526
- }
2527
-
2528
2504
  .table-of-contents__popover.components-popover .components-popover__content {
2529
2505
  min-width: 380px;
2530
2506
  }
@@ -1,8 +1,5 @@
1
1
  declare namespace _default {
2
2
  let name: string;
3
- function getPlaceholder({ args }: {
4
- args: any;
5
- }): any;
6
3
  function getValues({ registry, context, bindings }: {
7
4
  registry: any;
8
5
  context: any;
@@ -1 +1 @@
1
- {"version":3,"file":"post-meta.d.ts","sourceRoot":"","sources":["../../src/bindings/post-meta.js"],"names":[],"mappings":";;IAYC;;YAEC;IACD;;;;WAaC;IACD;;;;aAUC;IACD;;;;gBAoCC;IACD;;;;;aAmBC"}
1
+ {"version":3,"file":"post-meta.d.ts","sourceRoot":"","sources":["../../src/bindings/post-meta.js"],"names":[],"mappings":";;IAYC;;;;WAeC;IACD;;;;aAUC;IACD;;;;gBA2CC;IACD;;;;;aAmBC"}
@@ -1 +1 @@
1
- {"version":3,"file":"content-only-settings-menu.d.ts","sourceRoot":"","sources":["../../../src/components/block-settings-menu/content-only-settings-menu.js"],"names":[],"mappings":"AA+KA,+EAaC"}
1
+ {"version":3,"file":"content-only-settings-menu.d.ts","sourceRoot":"","sources":["../../../src/components/block-settings-menu/content-only-settings-menu.js"],"names":[],"mappings":"AA2KA,+EAaC"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/create-template-part-modal/index.js"],"names":[],"mappings":"AAwCA;;;gCAqBC;AAED;;;;;;;;gCA+IC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/create-template-part-modal/index.js"],"names":[],"mappings":"AAwCA;;;gCAqBC;AAED;;;;;;;;gCAgJC"}
@@ -1 +1 @@
1
- {"version":3,"file":"redo.d.ts","sourceRoot":"","sources":["../../../src/components/editor-history/redo.js"],"names":[],"mappings":";;kBA2Cc,OAAO,OAAO,EAAE,GAAG,CAAC,WAAW,CAAC"}
1
+ {"version":3,"file":"redo.d.ts","sourceRoot":"","sources":["../../../src/components/editor-history/redo.js"],"names":[],"mappings":";;kBA6Cc,OAAO,OAAO,EAAE,GAAG,CAAC,WAAW,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"undo.d.ts","sourceRoot":"","sources":["../../../src/components/editor-history/undo.js"],"names":[],"mappings":";;kBAuCc,OAAO,OAAO,EAAE,GAAG,CAAC,WAAW,CAAC"}
1
+ {"version":3,"file":"undo.d.ts","sourceRoot":"","sources":["../../../src/components/editor-history/undo.js"],"names":[],"mappings":";;kBAyCc,OAAO,OAAO,EAAE,GAAG,CAAC,WAAW,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/editor-interface/index.js"],"names":[],"mappings":"AA+CA;;;;;;;;;;;;;;;gCAiMC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/editor-interface/index.js"],"names":[],"mappings":"AA+CA;;;;;;;;;;;;;;;gCA+LC"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/error-boundary/index.js"],"names":[],"mappings":";AAqCA;IAaC;;MAEC;IAdD,4BAMC;IAHA;;MAEC;IAGF,oCAEC;IAMD,cAoBC;CACD;0BAxEyB,oBAAoB"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/error-boundary/index.js"],"names":[],"mappings":";AA0CA;IAaC;;MAEC;IAdD,4BAMC;IAHA;;MAEC;IAGF,oCAEC;IAMD,cAoBC;CACD;0BA7EyB,oBAAoB"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/global-styles-provider/index.js"],"names":[],"mappings":"AAuBA,mEAOC;AAqHD;;;;;;4BAtDa,WAAS,MAAM,YAEf,MAAM;;;;;;;4BAFN,WAAS,MAAM,YAEf,MAAM;EAmFlB;AAED;;uCAWC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/global-styles-provider/index.js"],"names":[],"mappings":"AAuBA,mEAoBC;AAqHD;;;;;;4BAtDa,WAAS,MAAM,YAEf,MAAM;;;;;;;4BAFN,WAAS,MAAM,YAEf,MAAM;EAmFlB;AAED;;uCAWC"}
@@ -25,6 +25,7 @@ export { default as PluginMoreMenuItem } from "./plugin-more-menu-item";
25
25
  export { default as PluginPostPublishPanel } from "./plugin-post-publish-panel";
26
26
  export { default as PluginPostStatusInfo } from "./plugin-post-status-info";
27
27
  export { default as PluginPrePublishPanel } from "./plugin-pre-publish-panel";
28
+ export { default as PluginPreviewMenuItem } from "./plugin-preview-menu-item";
28
29
  export { default as PluginSidebar } from "./plugin-sidebar";
29
30
  export { default as PluginSidebarMoreMenuItem } from "./plugin-sidebar-more-menu-item";
30
31
  export { default as PostTemplatePanel } from "./post-template/panel";
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/components/index.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA4GA;;;;;;GAMG;AACH,iFAA2E;AAE3E;;;;;;GAMG;AACH,+EAAyE;oCAzHrC,6BAA6B"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/components/index.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA6GA;;;;;;GAMG;AACH,iFAA2E;AAE3E;;;;;;GAMG;AACH,+EAAyE;oCA1HrC,6BAA6B"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/inserter-sidebar/index.js"],"names":[],"mappings":"AAsBA,uEAyFC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/inserter-sidebar/index.js"],"names":[],"mappings":"AAsBA,uEAgGC"}
@@ -1 +1 @@
1
- {"version":3,"file":"parent.d.ts","sourceRoot":"","sources":["../../../src/components/page-attributes/parent.js"],"names":[],"mappings":"AAsDA;;;;;GAKG;AACH,wCAFY,SAAS,GAAC,IAAI,CAqIzB;AAgCD,yDAuEC;AA9PM,qEAYN"}
1
+ {"version":3,"file":"parent.d.ts","sourceRoot":"","sources":["../../../src/components/page-attributes/parent.js"],"names":[],"mappings":"AAsDA;;;;;GAKG;AACH,wCAFY,SAAS,GAAC,IAAI,CAqIzB;AAgCD,yDA4EC;AAnQM,qEAYN"}
@@ -0,0 +1,3 @@
1
+ declare const _default: unknown;
2
+ export default _default;
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/plugin-preview-menu-item/index.js"],"names":[],"mappings":""}
@@ -2,30 +2,5 @@ export function usePostActions({ postType, onActionPerformed, context }: {
2
2
  postType: any;
3
3
  onActionPerformed: any;
4
4
  context: any;
5
- }): any[];
6
- export namespace duplicatePatternAction {
7
- let id: string;
8
- let label: string;
9
- function isEligible(item: any): boolean;
10
- let modalHeader: string;
11
- function RenderModal({ items, closeModal }: {
12
- items: any;
13
- closeModal: any;
14
- }): import("react").JSX.Element;
15
- }
16
- export namespace duplicateTemplatePartAction {
17
- let id_1: string;
18
- export { id_1 as id };
19
- let label_1: string;
20
- export { label_1 as label };
21
- export function isEligible_1(item: any): boolean;
22
- export { isEligible_1 as isEligible };
23
- let modalHeader_1: string;
24
- export { modalHeader_1 as modalHeader };
25
- export function RenderModal_1({ items, closeModal }: {
26
- items: any;
27
- closeModal: any;
28
- }): import("react").JSX.Element;
29
- export { RenderModal_1 as RenderModal };
30
- }
5
+ }): any;
31
6
  //# sourceMappingURL=actions.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"actions.d.ts","sourceRoot":"","sources":["../../../src/components/post-actions/actions.js"],"names":[],"mappings":"AA+jBA;;;;UA+HC;;;;IAlMY,wCAAiD;;IAEhD;;;oCAaZ;;;;;;;IAMW,iDAAiD;;;;IAEhD;;;oCAyCZ"}
1
+ {"version":3,"file":"actions.d.ts","sourceRoot":"","sources":["../../../src/components/post-actions/actions.js"],"names":[],"mappings":"AAYA;;;;QA+EC"}
@@ -1,5 +1,6 @@
1
- export default function PostActions({ onActionPerformed, buttonProps }: {
1
+ export default function PostActions({ postType, postId, onActionPerformed }: {
2
+ postType: any;
3
+ postId: any;
2
4
  onActionPerformed: any;
3
- buttonProps: any;
4
5
  }): import("react").JSX.Element;
5
6
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/post-actions/index.js"],"names":[],"mappings":"AA6BA;;;gCAgEC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/post-actions/index.js"],"names":[],"mappings":"AAsBA;;;;gCA6DC"}
@@ -1,4 +1,6 @@
1
- export default function PostCardPanel({ actions }: {
2
- actions: any;
1
+ export default function PostCardPanel({ postType, postId, onActionPerformed, }: {
2
+ postType: any;
3
+ postId: any;
4
+ onActionPerformed: any;
3
5
  }): import("react").JSX.Element;
4
6
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/post-card-panel/index.js"],"names":[],"mappings":"AA6BA;;gCA0FC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/post-card-panel/index.js"],"names":[],"mappings":"AA8BA;;;;gCA0FC"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/post-format/index.js"],"names":[],"mappings":"AAwCA;;;;;;;;;GASG;AACH,sCAFY,GAAG,CAAC,OAAO,CAsEtB;AAtGD;;;IAsBI"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/post-format/index.js"],"names":[],"mappings":"AAwCA;;;;;;;;;GASG;AACH,sCAFY,GAAG,CAAC,OAAO,CAwEtB;AAxGD;;;IAsBI"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/post-last-revision/index.js"],"names":[],"mappings":"AAsDA,uEAiBC;;AA5CD;;;;GAIG;AACH,qCAFY,SAAS,CAsBpB"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/post-last-revision/index.js"],"names":[],"mappings":"AAwDA,uEAiBC;;AA9CD;;;;GAIG;AACH,qCAFY,SAAS,CAwBpB"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/post-locked-modal/index.js"],"names":[],"mappings":"AAsBA;;;;;GAKG;AACH,2CAFY,GAAG,CAAC,OAAO,GAAC,IAAI,CAkP3B"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/post-locked-modal/index.js"],"names":[],"mappings":"AAsBA;;;;;GAKG;AACH,2CAFY,GAAG,CAAC,OAAO,GAAC,IAAI,CA8P3B"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/post-publish-panel/index.js"],"names":[],"mappings":"AAyBA;IACC,4BAGC;IAcD,iBAKC;IAjBD,yCAUC;IASD,sCAgFC;CACD;;;0BA/HyB,oBAAoB"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/post-publish-panel/index.js"],"names":[],"mappings":"AAyBA;IACC,4BAGC;IAcD,iBAKC;IAjBD,yCAUC;IASD,sCAkFC;CACD;;;0BAjIyB,oBAAoB"}
@@ -1 +1 @@
1
- {"version":3,"file":"maybe-post-format-panel.d.ts","sourceRoot":"","sources":["../../../src/components/post-publish-panel/maybe-post-format-panel.js"],"names":[],"mappings":"AAkCA,8EAkDC"}
1
+ {"version":3,"file":"maybe-post-format-panel.d.ts","sourceRoot":"","sources":["../../../src/components/post-publish-panel/maybe-post-format-panel.js"],"names":[],"mappings":"AAoCA,8EAkDC"}
@@ -1 +1 @@
1
- {"version":3,"file":"maybe-upload-media.d.ts","sourceRoot":"","sources":["../../../src/components/post-publish-panel/maybe-upload-media.js"],"names":[],"mappings":"AAiEA,8EAgGC"}
1
+ {"version":3,"file":"maybe-upload-media.d.ts","sourceRoot":"","sources":["../../../src/components/post-publish-panel/maybe-upload-media.js"],"names":[],"mappings":"AA4DA,8EA6GC"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/post-slug/index.js"],"names":[],"mappings":"AA4DA;;;;GAIG;AACH,oCAFY,SAAS,CAQpB"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/post-slug/index.js"],"names":[],"mappings":"AA6DA;;;;GAIG;AACH,oCAFY,SAAS,CAQpB"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/post-status/index.js"],"names":[],"mappings":"AAmFA,yEAgMC;AAnOD;;;;IA0BE"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/post-status/index.js"],"names":[],"mappings":"AAmFA,yEAiMC;AApOD;;;;IA0BE"}
@@ -50,23 +50,7 @@ declare const _default: {
50
50
  };
51
51
  shouldComponentUpdate?(nextProps: Readonly<{}>, nextState: Readonly<{}>, nextContext: any): boolean;
52
52
  componentDidCatch?(error: Error, errorInfo: import("react").ErrorInfo): void;
53
- getSnapshotBeforeUpdate
54
- /**
55
- * Find term by parent id or name.
56
- *
57
- * @param {Object[]} terms Array of Terms.
58
- * @param {number|string} parent id.
59
- * @param {string} name Term name.
60
- * @return {Object} Term object.
61
- */
62
- ? /**
63
- * Find term by parent id or name.
64
- *
65
- * @param {Object[]} terms Array of Terms.
66
- * @param {number|string} parent id.
67
- * @param {string} name Term name.
68
- * @return {Object} Term object.
69
- */(prevProps: Readonly<{}>, prevState: Readonly<{}>): any | null;
53
+ getSnapshotBeforeUpdate?(prevProps: Readonly<{}>, prevState: Readonly<{}>): any | null;
70
54
  componentDidUpdate?(prevProps: Readonly<{}>, prevState: Readonly<{}>, snapshot?: any): void;
71
55
  componentWillMount?(): void;
72
56
  UNSAFE_componentWillMount?(): void;
@@ -1 +1 @@
1
- {"version":3,"file":"hierarchical-term-selector.d.ts","sourceRoot":"","sources":["../../../src/components/post-taxonomies/hierarchical-term-selector.js"],"names":[],"mappings":"AA0CA;;;;;;;GAOG;AACH,0CALW,MAAM,EAAE,SACR,MAAM,EAAE,GAEP,MAAM,EAAE,CAqCnB;AAED;;;;;;;GAOG;AACH,gCALW,MAAM,EAAE,UACR,MAAM,GAAC,MAAM,QACb,MAAM,GACL,MAAM,CAUjB;AAED;;;;;GAKG;AACH,8CAHW,MAAM,GACL,CAAC,CAAS,IAAM,EAAN,MAAM,KAAG,CAAC,MAAM,GAAC,OAAO,CAAC,CAAC,CAmC/C;AAED;;;;;;GAMG;AACH,mDAHG;IAAsB,IAAI,EAAlB,MAAM;CACd,GAAS,OAAO,CAoUlB;;;;;;;yBAva+B,OAAO;;wJASE,CAAA;4BAGU,CAAA;;;;kCAK/C,OAAO;;6BAIL,CAAC;yBASO,CAAC,iCACN,OAAO;;QAIhB;;;;;;;WAOG;QACH,CARA,CAAA;;;;;;;WAOG;0BAHF,CAAD,2DAC0B,CAAH;0BACH,CAAA;iCAEM,CAAC;iCACP,CAAC;wCAGQ,CAAC;2BAE5B,CAAC;kCAQY,CAAC;;;;;yBAKL,OAAO;;wJAOW,CAAC;4BACV,CAAA;;;;kCAOjB,OAAO;;6BAAyD,CAAC;yBAIvD,CAAC,iCAAiC,OAAO;+BAGnD,CAAC;0BAKF,CADD,2DAGA,CAAA;0BAII,CAAC;iCAES,CAAC;iCACJ,CAAC;wCAC8C,CAAC;2BAG/C,CAAC;kCAGI,CAAC;;yBAGgB,OAAO"}
1
+ {"version":3,"file":"hierarchical-term-selector.d.ts","sourceRoot":"","sources":["../../../src/components/post-taxonomies/hierarchical-term-selector.js"],"names":[],"mappings":"AA2CA;;;;;;;GAOG;AACH,0CALW,MAAM,EAAE,SACR,MAAM,EAAE,GAEP,MAAM,EAAE,CAqCnB;AAED;;;;;;;GAOG;AACH,gCALW,MAAM,EAAE,UACR,MAAM,GAAC,MAAM,QACb,MAAM,GACL,MAAM,CAUjB;AAED;;;;;GAKG;AACH,8CAHW,MAAM,GACL,CAAC,CAAS,IAAM,EAAN,MAAM,KAAG,CAAC,MAAM,GAAC,OAAO,CAAC,CAAC,CAmC/C;AAED;;;;;;GAMG;AACH,mDAHG;IAAsB,IAAI,EAAlB,MAAM;CACd,GAAS,OAAO,CAuUlB;;;;;;;yBA1ae,OAAO;;wJASC,CAAC;4BAGS,CAAC;;;;kCAIJ,OAAO;;6BAIJ,CAAC;yBASjC,CAAC,iCAC6B,OAChC;+BACQ,CAAA;0BAMyB,CAAA,2DAE3B,CAAC;0BACJ,CAAC;iCAEM,CAAC;iCACP,CAAC;wCAGS,CAAA;2BACsB,CAAC;kCASpC,CAAD;;;;;yBAI0B,OACxB;;wJAOW,CAAC;4BACX,CAAC;;;;kCAIuB,OAAO;;6BAGiB,CAAC;yBAG7C,CAAC,iCACuB,OAAO;+BACjB,CAAC;0BAKmC,CAAC,2DAEtD,CAAC;0BAEoB,CAAC;iCAMzB,CAAD;iCAA2C,CAAC;wCAED,CAAC;2BAES,CAAA;kCAInD,CAAC;;yBAGgB,OAAO"}
@@ -1 +1 @@
1
- {"version":3,"file":"most-used-terms.d.ts","sourceRoot":"","sources":["../../../src/components/post-taxonomies/most-used-terms.js"],"names":[],"mappings":"AAsBA;;;uCAqDC"}
1
+ {"version":3,"file":"most-used-terms.d.ts","sourceRoot":"","sources":["../../../src/components/post-taxonomies/most-used-terms.js"],"names":[],"mappings":"AAsBA;;;uCAuDC"}
@@ -1 +1 @@
1
- {"version":3,"file":"block-theme.d.ts","sourceRoot":"","sources":["../../../src/components/post-template/block-theme.js"],"names":[],"mappings":"AAyBA;;uCAqHC"}
1
+ {"version":3,"file":"block-theme.d.ts","sourceRoot":"","sources":["../../../src/components/post-template/block-theme.js"],"names":[],"mappings":"AA0BA;;uCA0HC"}
@@ -1 +1 @@
1
- {"version":3,"file":"classic-theme.d.ts","sourceRoot":"","sources":["../../../src/components/post-template/classic-theme.js"],"names":[],"mappings":";AAwNA,oEAaC"}
1
+ {"version":3,"file":"classic-theme.d.ts","sourceRoot":"","sources":["../../../src/components/post-template/classic-theme.js"],"names":[],"mappings":";AA0NA,oEAaC"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/post-url/index.js"],"names":[],"mappings":"AAyBA;;;;;;;;;;;GAWG;AACH,wDAFY,SAAS,CA2IpB"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/post-url/index.js"],"names":[],"mappings":"AAyBA;;;;;;;;;;;GAWG;AACH,wDAFY,SAAS,CAmJpB"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/preview-dropdown/index.js"],"names":[],"mappings":"AA+BA;;;uCAqLC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/preview-dropdown/index.js"],"names":[],"mappings":"AAgCA;;;uCA4LC"}
@@ -1 +1 @@
1
- {"version":3,"file":"use-block-editor-settings.d.ts","sourceRoot":"","sources":["../../../src/components/provider/use-block-editor-settings.js"],"names":[],"mappings":";AA8FA;;;;;;;;;GASG;AACH,kDAPW,MAAM,YACN,MAAM,UACN,MAAM,iBACN,MAAM,GAEL,MAAM,CA+PjB"}
1
+ {"version":3,"file":"use-block-editor-settings.d.ts","sourceRoot":"","sources":["../../../src/components/provider/use-block-editor-settings.js"],"names":[],"mappings":";AA+FA;;;;;;;;;GASG;AACH,kDAPW,MAAM,YACN,MAAM,UACN,MAAM,iBACN,MAAM,GAEL,MAAM,CA8PjB"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/save-publish-panels/index.js"],"names":[],"mappings":"AAqBA;;;;;gCAyFC;AA3FD;kHAkBO,OAAO;;EAlBuB"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/save-publish-panels/index.js"],"names":[],"mappings":"AAqBA;;;;;gCA6FC;AA/FD;kHAkBO,OAAO;;EAlBuB"}
@@ -1 +1 @@
1
- {"version":3,"file":"post-summary.d.ts","sourceRoot":"","sources":["../../../src/components/sidebar/post-summary.js"],"names":[],"mappings":"AAqCA;;gCAyDC"}
1
+ {"version":3,"file":"post-summary.d.ts","sourceRoot":"","sources":["../../../src/components/sidebar/post-summary.js"],"names":[],"mappings":"AAoCA;;gCA8DC"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/start-template-options/index.js"],"names":[],"mappings":"AAsKA,mFAoDC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/start-template-options/index.js"],"names":[],"mappings":"AA2KA,mFAoDC"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/template-content-panel/index.js"],"names":[],"mappings":"AA4BA,mFA+CC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/template-content-panel/index.js"],"names":[],"mappings":"AA4BA,mFAkDC"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/text-editor/index.js"],"names":[],"mappings":"AAgBA;;gCAwCC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/text-editor/index.js"],"names":[],"mappings":"AAgBA;;gCA0CC"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/visual-editor/index.js"],"names":[],"mappings":";AAkGA;;;;;;;gCAqZC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/visual-editor/index.js"],"names":[],"mappings":";AAkGA;;;;;;;gCA8YC"}
@@ -0,0 +1,5 @@
1
+ import type { Action } from '@wordpress/dataviews';
2
+ import type { Pattern } from '../types';
3
+ declare const duplicatePattern: Action<Pattern>;
4
+ export default duplicatePattern;
5
+ //# sourceMappingURL=duplicate-pattern.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"duplicate-pattern.d.ts","sourceRoot":"","sources":["../../../src/dataviews/actions/duplicate-pattern.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAC;AAMnD,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,UAAU,CAAC;AAMxC,QAAA,MAAM,gBAAgB,EAAE,MAAM,CAAE,OAAO,CAmBtC,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
@@ -0,0 +1,5 @@
1
+ import type { Action } from '@wordpress/dataviews';
2
+ import type { BasePost } from '../types';
3
+ declare const duplicatePost: Action<BasePost>;
4
+ export default duplicatePost;
5
+ //# sourceMappingURL=duplicate-post.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"duplicate-post.d.ts","sourceRoot":"","sources":["../../../src/dataviews/actions/duplicate-post.tsx"],"names":[],"mappings":"AAeA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAC;AAMnD,OAAO,KAAK,EAAiB,QAAQ,EAAE,MAAM,UAAU,CAAC;AAQxD,QAAA,MAAM,aAAa,EAAE,MAAM,CAAE,QAAQ,CA8IpC,CAAC;AAEF,eAAe,aAAa,CAAC"}
@@ -0,0 +1,3 @@
1
+ declare const duplicatePost: undefined;
2
+ export default duplicatePost;
3
+ //# sourceMappingURL=duplicate-post.native.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"duplicate-post.native.d.ts","sourceRoot":"","sources":["../../../src/dataviews/actions/duplicate-post.native.tsx"],"names":[],"mappings":"AAAA,QAAA,MAAM,aAAa,WAAY,CAAC;AAEhC,eAAe,aAAa,CAAC"}
@@ -0,0 +1,5 @@
1
+ import type { Action } from '@wordpress/dataviews';
2
+ import type { TemplatePart } from '../types';
3
+ declare const duplicateTemplatePart: Action<TemplatePart>;
4
+ export default duplicateTemplatePart;
5
+ //# sourceMappingURL=duplicate-template-part.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"duplicate-template-part.d.ts","sourceRoot":"","sources":["../../../src/dataviews/actions/duplicate-template-part.tsx"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAC;AAQnD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAE7C,QAAA,MAAM,qBAAqB,EAAE,MAAM,CAAE,YAAY,CAgDhD,CAAC;AAEF,eAAe,qBAAqB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"export-pattern.d.ts","sourceRoot":"","sources":["../../../src/dataviews/actions/export-pattern.tsx"],"names":[],"mappings":"AAWA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAC;AAEnD;;GAEG;AACH,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,UAAU,CAAC;AAmBxC,QAAA,MAAM,aAAa,EAAE,MAAM,CAAE,OAAO,CAoCnC,CAAC;AAEF,eAAe,aAAa,CAAC"}
1
+ {"version":3,"file":"export-pattern.d.ts","sourceRoot":"","sources":["../../../src/dataviews/actions/export-pattern.tsx"],"names":[],"mappings":"AAYA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAC;AAEnD;;GAEG;AACH,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,UAAU,CAAC;AAmBxC,QAAA,MAAM,aAAa,EAAE,MAAM,CAAE,OAAO,CAqCnC,CAAC;AAEF,eAAe,aAAa,CAAC"}