@wordpress/editor 14.4.0 → 14.6.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 (375) hide show
  1. package/CHANGELOG.md +4 -0
  2. package/build/bindings/post-meta.js +12 -0
  3. package/build/bindings/post-meta.js.map +1 -1
  4. package/build/components/blog-title/index.js +1 -1
  5. package/build/components/blog-title/index.js.map +1 -1
  6. package/build/components/commands/index.js +8 -2
  7. package/build/components/commands/index.js.map +1 -1
  8. package/build/components/create-template-part-modal/index.js +1 -0
  9. package/build/components/create-template-part-modal/index.js.map +1 -1
  10. package/build/components/document-bar/index.js +1 -1
  11. package/build/components/document-bar/index.js.map +1 -1
  12. package/build/components/global-styles-provider/index.js +17 -4
  13. package/build/components/global-styles-provider/index.js.map +1 -1
  14. package/build/components/header/index.js +2 -3
  15. package/build/components/header/index.js.map +1 -1
  16. package/build/components/inserter-sidebar/index.js +5 -2
  17. package/build/components/inserter-sidebar/index.js.map +1 -1
  18. package/build/components/page-attributes/parent.js +11 -6
  19. package/build/components/page-attributes/parent.js.map +1 -1
  20. package/build/components/post-actions/actions.js +10 -811
  21. package/build/components/post-actions/actions.js.map +1 -1
  22. package/build/components/post-actions/index.js +20 -19
  23. package/build/components/post-actions/index.js.map +1 -1
  24. package/build/components/post-author/hook.js +10 -3
  25. package/build/components/post-author/hook.js.map +1 -1
  26. package/build/components/post-author/panel.js +2 -1
  27. package/build/components/post-author/panel.js.map +1 -1
  28. package/build/components/post-card-panel/index.js +21 -21
  29. package/build/components/post-card-panel/index.js.map +1 -1
  30. package/build/components/post-comments/index.js +6 -20
  31. package/build/components/post-comments/index.js.map +1 -1
  32. package/build/components/post-featured-image/index.js +2 -0
  33. package/build/components/post-featured-image/index.js.map +1 -1
  34. package/build/components/post-publish-panel/postpublish.js +4 -0
  35. package/build/components/post-publish-panel/postpublish.js.map +1 -1
  36. package/build/components/post-slug/index.js +1 -0
  37. package/build/components/post-slug/index.js.map +1 -1
  38. package/build/components/post-status/index.js +17 -41
  39. package/build/components/post-status/index.js.map +1 -1
  40. package/build/components/post-taxonomies/hierarchical-term-selector.js +2 -1
  41. package/build/components/post-taxonomies/hierarchical-term-selector.js.map +1 -1
  42. package/build/components/post-template/create-new-template-modal.js +3 -0
  43. package/build/components/post-template/create-new-template-modal.js.map +1 -1
  44. package/build/components/post-url/index.js +6 -5
  45. package/build/components/post-url/index.js.map +1 -1
  46. package/build/components/post-url/panel.js +3 -2
  47. package/build/components/post-url/panel.js.map +1 -1
  48. package/build/components/preview-dropdown/index.js +82 -17
  49. package/build/components/preview-dropdown/index.js.map +1 -1
  50. package/build/components/provider/disable-non-page-content-blocks.js +14 -18
  51. package/build/components/provider/disable-non-page-content-blocks.js.map +1 -1
  52. package/build/components/sidebar/post-summary.js +10 -7
  53. package/build/components/sidebar/post-summary.js.map +1 -1
  54. package/build/components/site-discussion/index.js +6 -20
  55. package/build/components/site-discussion/index.js.map +1 -1
  56. package/build/components/template-content-panel/index.js +15 -13
  57. package/build/components/template-content-panel/index.js.map +1 -1
  58. package/build/components/visual-editor/index.js +2 -1
  59. package/build/components/visual-editor/index.js.map +1 -1
  60. package/build/dataviews/actions/duplicate-pattern.js +48 -0
  61. package/build/dataviews/actions/duplicate-pattern.js.map +1 -0
  62. package/build/dataviews/actions/duplicate-post.js +146 -0
  63. package/build/dataviews/actions/duplicate-post.js.map +1 -0
  64. package/build/dataviews/actions/duplicate-post.native.js +9 -0
  65. package/build/dataviews/actions/duplicate-post.native.js.map +1 -0
  66. package/build/dataviews/actions/duplicate-template-part.js +67 -0
  67. package/build/dataviews/actions/duplicate-template-part.js.map +1 -0
  68. package/build/dataviews/actions/export-pattern.native.js +9 -0
  69. package/build/dataviews/actions/export-pattern.native.js.map +1 -0
  70. package/build/dataviews/actions/permanently-delete-post.js +107 -0
  71. package/build/dataviews/actions/permanently-delete-post.js.map +1 -0
  72. package/build/dataviews/actions/rename-post.js +125 -0
  73. package/build/dataviews/actions/rename-post.js.map +1 -0
  74. package/build/dataviews/actions/reorder-page.js +116 -0
  75. package/build/dataviews/actions/reorder-page.js.map +1 -0
  76. package/build/dataviews/actions/reorder-page.native.js +9 -0
  77. package/build/dataviews/actions/reorder-page.native.js.map +1 -0
  78. package/build/dataviews/actions/reset-post.js +1 -1
  79. package/build/dataviews/actions/reset-post.js.map +1 -1
  80. package/build/dataviews/actions/restore-post.js +112 -0
  81. package/build/dataviews/actions/restore-post.js.map +1 -0
  82. package/build/dataviews/actions/trash-post.js +142 -0
  83. package/build/dataviews/actions/trash-post.js.map +1 -0
  84. package/build/dataviews/actions/utils.js +9 -1
  85. package/build/dataviews/actions/utils.js.map +1 -1
  86. package/build/dataviews/actions/view-post-revisions.js +49 -0
  87. package/build/dataviews/actions/view-post-revisions.js.map +1 -0
  88. package/build/dataviews/actions/view-post.js +36 -0
  89. package/build/dataviews/actions/view-post.js.map +1 -0
  90. package/build/dataviews/fields/index.js +32 -0
  91. package/build/dataviews/fields/index.js.map +1 -0
  92. package/build/dataviews/store/private-actions.js +59 -0
  93. package/build/dataviews/store/private-actions.js.map +1 -1
  94. package/build/dataviews/store/private-selectors.js +10 -10
  95. package/build/dataviews/store/private-selectors.js.map +1 -1
  96. package/build/dataviews/store/reducer.js +15 -1
  97. package/build/dataviews/store/reducer.js.map +1 -1
  98. package/build/dataviews/types.js.map +1 -1
  99. package/build/private-apis.js +2 -2
  100. package/build/private-apis.js.map +1 -1
  101. package/build/store/actions.js +16 -2
  102. package/build/store/actions.js.map +1 -1
  103. package/build/store/private-actions.js +9 -2
  104. package/build/store/private-actions.js.map +1 -1
  105. package/build/store/private-selectors.js +33 -2
  106. package/build/store/private-selectors.js.map +1 -1
  107. package/build/store/utils/is-template-revertable.js +1 -1
  108. package/build/store/utils/is-template-revertable.js.map +1 -1
  109. package/build-module/bindings/post-meta.js +12 -0
  110. package/build-module/bindings/post-meta.js.map +1 -1
  111. package/build-module/components/blog-title/index.js +1 -1
  112. package/build-module/components/blog-title/index.js.map +1 -1
  113. package/build-module/components/commands/index.js +8 -2
  114. package/build-module/components/commands/index.js.map +1 -1
  115. package/build-module/components/create-template-part-modal/index.js +1 -0
  116. package/build-module/components/create-template-part-modal/index.js.map +1 -1
  117. package/build-module/components/document-bar/index.js +1 -1
  118. package/build-module/components/document-bar/index.js.map +1 -1
  119. package/build-module/components/global-styles-provider/index.js +17 -4
  120. package/build-module/components/global-styles-provider/index.js.map +1 -1
  121. package/build-module/components/header/index.js +2 -3
  122. package/build-module/components/header/index.js.map +1 -1
  123. package/build-module/components/inserter-sidebar/index.js +5 -2
  124. package/build-module/components/inserter-sidebar/index.js.map +1 -1
  125. package/build-module/components/page-attributes/parent.js +12 -7
  126. package/build-module/components/page-attributes/parent.js.map +1 -1
  127. package/build-module/components/post-actions/actions.js +12 -814
  128. package/build-module/components/post-actions/actions.js.map +1 -1
  129. package/build-module/components/post-actions/index.js +20 -19
  130. package/build-module/components/post-actions/index.js.map +1 -1
  131. package/build-module/components/post-author/hook.js +10 -3
  132. package/build-module/components/post-author/hook.js.map +1 -1
  133. package/build-module/components/post-author/panel.js +2 -1
  134. package/build-module/components/post-author/panel.js.map +1 -1
  135. package/build-module/components/post-card-panel/index.js +21 -21
  136. package/build-module/components/post-card-panel/index.js.map +1 -1
  137. package/build-module/components/post-comments/index.js +7 -23
  138. package/build-module/components/post-comments/index.js.map +1 -1
  139. package/build-module/components/post-featured-image/index.js +2 -0
  140. package/build-module/components/post-featured-image/index.js.map +1 -1
  141. package/build-module/components/post-publish-panel/postpublish.js +4 -0
  142. package/build-module/components/post-publish-panel/postpublish.js.map +1 -1
  143. package/build-module/components/post-slug/index.js +1 -0
  144. package/build-module/components/post-slug/index.js.map +1 -1
  145. package/build-module/components/post-status/index.js +19 -43
  146. package/build-module/components/post-status/index.js.map +1 -1
  147. package/build-module/components/post-taxonomies/hierarchical-term-selector.js +3 -2
  148. package/build-module/components/post-taxonomies/hierarchical-term-selector.js.map +1 -1
  149. package/build-module/components/post-template/create-new-template-modal.js +3 -0
  150. package/build-module/components/post-template/create-new-template-modal.js.map +1 -1
  151. package/build-module/components/post-url/index.js +7 -6
  152. package/build-module/components/post-url/index.js.map +1 -1
  153. package/build-module/components/post-url/panel.js +4 -5
  154. package/build-module/components/post-url/panel.js.map +1 -1
  155. package/build-module/components/preview-dropdown/index.js +84 -19
  156. package/build-module/components/preview-dropdown/index.js.map +1 -1
  157. package/build-module/components/provider/disable-non-page-content-blocks.js +15 -19
  158. package/build-module/components/provider/disable-non-page-content-blocks.js.map +1 -1
  159. package/build-module/components/sidebar/post-summary.js +10 -7
  160. package/build-module/components/sidebar/post-summary.js.map +1 -1
  161. package/build-module/components/site-discussion/index.js +7 -21
  162. package/build-module/components/site-discussion/index.js.map +1 -1
  163. package/build-module/components/template-content-panel/index.js +16 -14
  164. package/build-module/components/template-content-panel/index.js.map +1 -1
  165. package/build-module/components/visual-editor/index.js +2 -1
  166. package/build-module/components/visual-editor/index.js.map +1 -1
  167. package/build-module/dataviews/actions/duplicate-pattern.js +39 -0
  168. package/build-module/dataviews/actions/duplicate-pattern.js.map +1 -0
  169. package/build-module/dataviews/actions/duplicate-post.js +139 -0
  170. package/build-module/dataviews/actions/duplicate-post.js.map +1 -0
  171. package/build-module/dataviews/actions/duplicate-post.native.js +3 -0
  172. package/build-module/dataviews/actions/duplicate-post.native.js.map +1 -0
  173. package/build-module/dataviews/actions/duplicate-template-part.js +58 -0
  174. package/build-module/dataviews/actions/duplicate-template-part.js.map +1 -0
  175. package/build-module/dataviews/actions/export-pattern.native.js +3 -0
  176. package/build-module/dataviews/actions/export-pattern.native.js.map +1 -0
  177. package/build-module/dataviews/actions/permanently-delete-post.js +99 -0
  178. package/build-module/dataviews/actions/permanently-delete-post.js.map +1 -0
  179. package/build-module/dataviews/actions/rename-post.js +118 -0
  180. package/build-module/dataviews/actions/rename-post.js.map +1 -0
  181. package/build-module/dataviews/actions/reorder-page.js +111 -0
  182. package/build-module/dataviews/actions/reorder-page.js.map +1 -0
  183. package/build-module/dataviews/actions/reorder-page.native.js +3 -0
  184. package/build-module/dataviews/actions/reorder-page.native.js.map +1 -0
  185. package/build-module/dataviews/actions/reset-post.js +1 -1
  186. package/build-module/dataviews/actions/reset-post.js.map +1 -1
  187. package/build-module/dataviews/actions/restore-post.js +104 -0
  188. package/build-module/dataviews/actions/restore-post.js.map +1 -0
  189. package/build-module/dataviews/actions/trash-post.js +135 -0
  190. package/build-module/dataviews/actions/trash-post.js.map +1 -0
  191. package/build-module/dataviews/actions/utils.js +7 -1
  192. package/build-module/dataviews/actions/utils.js.map +1 -1
  193. package/build-module/dataviews/actions/view-post-revisions.js +43 -0
  194. package/build-module/dataviews/actions/view-post-revisions.js.map +1 -0
  195. package/build-module/dataviews/actions/view-post.js +30 -0
  196. package/build-module/dataviews/actions/view-post.js.map +1 -0
  197. package/build-module/dataviews/fields/index.js +26 -0
  198. package/build-module/dataviews/fields/index.js.map +1 -0
  199. package/build-module/dataviews/store/private-actions.js +54 -0
  200. package/build-module/dataviews/store/private-actions.js.map +1 -1
  201. package/build-module/dataviews/store/private-selectors.js +8 -9
  202. package/build-module/dataviews/store/private-selectors.js.map +1 -1
  203. package/build-module/dataviews/store/reducer.js +15 -1
  204. package/build-module/dataviews/store/reducer.js.map +1 -1
  205. package/build-module/dataviews/types.js.map +1 -1
  206. package/build-module/private-apis.js +2 -2
  207. package/build-module/private-apis.js.map +1 -1
  208. package/build-module/store/actions.js +16 -2
  209. package/build-module/store/actions.js.map +1 -1
  210. package/build-module/store/private-actions.js +9 -2
  211. package/build-module/store/private-actions.js.map +1 -1
  212. package/build-module/store/private-selectors.js +32 -2
  213. package/build-module/store/private-selectors.js.map +1 -1
  214. package/build-module/store/utils/is-template-revertable.js +1 -1
  215. package/build-module/store/utils/is-template-revertable.js.map +1 -1
  216. package/build-style/style-rtl.css +21 -34
  217. package/build-style/style.css +21 -34
  218. package/build-types/bindings/post-meta.d.ts +6 -0
  219. package/build-types/bindings/post-meta.d.ts.map +1 -1
  220. package/build-types/components/commands/index.d.ts.map +1 -1
  221. package/build-types/components/create-template-part-modal/index.d.ts.map +1 -1
  222. package/build-types/components/global-styles-provider/index.d.ts.map +1 -1
  223. package/build-types/components/header/index.d.ts.map +1 -1
  224. package/build-types/components/inserter-sidebar/index.d.ts.map +1 -1
  225. package/build-types/components/page-attributes/parent.d.ts.map +1 -1
  226. package/build-types/components/post-actions/actions.d.ts +1 -26
  227. package/build-types/components/post-actions/actions.d.ts.map +1 -1
  228. package/build-types/components/post-actions/index.d.ts +3 -2
  229. package/build-types/components/post-actions/index.d.ts.map +1 -1
  230. package/build-types/components/post-author/hook.d.ts +1 -1
  231. package/build-types/components/post-author/hook.d.ts.map +1 -1
  232. package/build-types/components/post-author/panel.d.ts.map +1 -1
  233. package/build-types/components/post-card-panel/index.d.ts +4 -2
  234. package/build-types/components/post-card-panel/index.d.ts.map +1 -1
  235. package/build-types/components/post-comments/index.d.ts.map +1 -1
  236. package/build-types/components/post-slug/index.d.ts.map +1 -1
  237. package/build-types/components/post-status/index.d.ts +2 -1
  238. package/build-types/components/post-status/index.d.ts.map +1 -1
  239. package/build-types/components/post-taxonomies/hierarchical-term-selector.d.ts +1 -17
  240. package/build-types/components/post-taxonomies/hierarchical-term-selector.d.ts.map +1 -1
  241. package/build-types/components/post-template/create-new-template-modal.d.ts.map +1 -1
  242. package/build-types/components/post-url/index.d.ts.map +1 -1
  243. package/build-types/components/post-url/panel.d.ts.map +1 -1
  244. package/build-types/components/preview-dropdown/index.d.ts.map +1 -1
  245. package/build-types/components/provider/disable-non-page-content-blocks.d.ts.map +1 -1
  246. package/build-types/components/sidebar/post-summary.d.ts.map +1 -1
  247. package/build-types/components/site-discussion/index.d.ts.map +1 -1
  248. package/build-types/components/template-content-panel/index.d.ts.map +1 -1
  249. package/build-types/components/visual-editor/index.d.ts.map +1 -1
  250. package/build-types/dataviews/actions/duplicate-pattern.d.ts +5 -0
  251. package/build-types/dataviews/actions/duplicate-pattern.d.ts.map +1 -0
  252. package/build-types/dataviews/actions/duplicate-post.d.ts +5 -0
  253. package/build-types/dataviews/actions/duplicate-post.d.ts.map +1 -0
  254. package/build-types/dataviews/actions/duplicate-post.native.d.ts +3 -0
  255. package/build-types/dataviews/actions/duplicate-post.native.d.ts.map +1 -0
  256. package/build-types/dataviews/actions/duplicate-template-part.d.ts +5 -0
  257. package/build-types/dataviews/actions/duplicate-template-part.d.ts.map +1 -0
  258. package/build-types/dataviews/actions/export-pattern.native.d.ts +3 -0
  259. package/build-types/dataviews/actions/export-pattern.native.d.ts.map +1 -0
  260. package/build-types/dataviews/actions/permanently-delete-post.d.ts +5 -0
  261. package/build-types/dataviews/actions/permanently-delete-post.d.ts.map +1 -0
  262. package/build-types/dataviews/actions/rename-post.d.ts +5 -0
  263. package/build-types/dataviews/actions/rename-post.d.ts.map +1 -0
  264. package/build-types/dataviews/actions/reorder-page.d.ts +8 -0
  265. package/build-types/dataviews/actions/reorder-page.d.ts.map +1 -0
  266. package/build-types/dataviews/actions/reorder-page.native.d.ts +3 -0
  267. package/build-types/dataviews/actions/reorder-page.native.d.ts.map +1 -0
  268. package/build-types/dataviews/actions/reset-post.d.ts.map +1 -1
  269. package/build-types/dataviews/actions/restore-post.d.ts +5 -0
  270. package/build-types/dataviews/actions/restore-post.d.ts.map +1 -0
  271. package/build-types/dataviews/actions/trash-post.d.ts +5 -0
  272. package/build-types/dataviews/actions/trash-post.d.ts.map +1 -0
  273. package/build-types/dataviews/actions/utils.d.ts +5 -3
  274. package/build-types/dataviews/actions/utils.d.ts.map +1 -1
  275. package/build-types/dataviews/actions/view-post-revisions.d.ts +8 -0
  276. package/build-types/dataviews/actions/view-post-revisions.d.ts.map +1 -0
  277. package/build-types/dataviews/actions/view-post.d.ts +8 -0
  278. package/build-types/dataviews/actions/view-post.d.ts.map +1 -0
  279. package/build-types/dataviews/fields/index.d.ts +8 -0
  280. package/build-types/dataviews/fields/index.d.ts.map +1 -0
  281. package/build-types/dataviews/store/private-actions.d.ts +8 -3
  282. package/build-types/dataviews/store/private-actions.d.ts.map +1 -1
  283. package/build-types/dataviews/store/private-selectors.d.ts +2 -1
  284. package/build-types/dataviews/store/private-selectors.d.ts.map +1 -1
  285. package/build-types/dataviews/store/reducer.d.ts +4 -1
  286. package/build-types/dataviews/store/reducer.d.ts.map +1 -1
  287. package/build-types/dataviews/types.d.ts +66 -8
  288. package/build-types/dataviews/types.d.ts.map +1 -1
  289. package/build-types/store/actions.d.ts.map +1 -1
  290. package/build-types/store/private-actions.d.ts.map +1 -1
  291. package/build-types/store/private-selectors.d.ts +11 -0
  292. package/build-types/store/private-selectors.d.ts.map +1 -1
  293. package/build-types/store/reducer.d.ts +1 -0
  294. package/build-types/store/reducer.d.ts.map +1 -1
  295. package/build-types/store/utils/is-template-revertable.d.ts.map +1 -1
  296. package/package.json +36 -36
  297. package/src/bindings/post-meta.js +20 -0
  298. package/src/components/block-manager/style.scss +2 -2
  299. package/src/components/blog-title/index.js +1 -1
  300. package/src/components/commands/index.js +4 -2
  301. package/src/components/create-template-part-modal/index.js +1 -0
  302. package/src/components/document-bar/index.js +1 -1
  303. package/src/components/document-bar/style.scss +1 -1
  304. package/src/components/editor-interface/style.scss +5 -0
  305. package/src/components/error-boundary/style.native.scss +1 -1
  306. package/src/components/error-boundary/style.scss +1 -1
  307. package/src/components/global-styles-provider/index.js +16 -3
  308. package/src/components/header/index.js +1 -2
  309. package/src/components/inserter-sidebar/index.js +10 -4
  310. package/src/components/list-view-sidebar/style.scss +4 -0
  311. package/src/components/page-attributes/parent.js +38 -16
  312. package/src/components/post-actions/actions.js +10 -1044
  313. package/src/components/post-actions/index.js +25 -17
  314. package/src/components/post-author/hook.js +11 -3
  315. package/src/components/post-author/panel.js +3 -1
  316. package/src/components/post-card-panel/index.js +29 -28
  317. package/src/components/post-comments/index.js +7 -20
  318. package/src/components/post-discussion/style.scss +0 -9
  319. package/src/components/post-featured-image/index.js +2 -0
  320. package/src/components/post-format/style.scss +0 -6
  321. package/src/components/post-publish-panel/postpublish.js +8 -2
  322. package/src/components/post-publish-panel/test/__snapshots__/index.js.snap +10 -10
  323. package/src/components/post-slug/index.js +1 -0
  324. package/src/components/post-status/index.js +11 -41
  325. package/src/components/post-status/style.scss +0 -19
  326. package/src/components/post-taxonomies/hierarchical-term-selector.js +3 -1
  327. package/src/components/post-template/create-new-template-modal.js +7 -1
  328. package/src/components/post-url/index.js +15 -9
  329. package/src/components/post-url/panel.js +8 -2
  330. package/src/components/preview-dropdown/index.js +113 -35
  331. package/src/components/preview-dropdown/style.scss +5 -0
  332. package/src/components/provider/disable-non-page-content-blocks.js +27 -24
  333. package/src/components/save-publish-panels/style.scss +3 -3
  334. package/src/components/sidebar/post-summary.js +20 -16
  335. package/src/components/site-discussion/index.js +7 -19
  336. package/src/components/site-discussion/style.scss +0 -14
  337. package/src/components/template-content-panel/index.js +40 -22
  338. package/src/components/visual-editor/index.js +8 -6
  339. package/src/components/visual-editor/style.scss +1 -3
  340. package/src/dataviews/actions/duplicate-pattern.tsx +40 -0
  341. package/src/dataviews/actions/duplicate-post.native.tsx +3 -0
  342. package/src/dataviews/actions/duplicate-post.tsx +174 -0
  343. package/src/dataviews/actions/duplicate-template-part.tsx +70 -0
  344. package/src/dataviews/actions/export-pattern.native.tsx +3 -0
  345. package/src/dataviews/actions/permanently-delete-post.tsx +116 -0
  346. package/src/dataviews/actions/rename-post.tsx +146 -0
  347. package/src/dataviews/actions/reorder-page.native.tsx +3 -0
  348. package/src/dataviews/actions/reorder-page.tsx +125 -0
  349. package/src/dataviews/actions/reset-post.tsx +2 -1
  350. package/src/dataviews/actions/restore-post.tsx +134 -0
  351. package/src/dataviews/actions/trash-post.tsx +196 -0
  352. package/src/dataviews/actions/utils.ts +14 -4
  353. package/src/dataviews/actions/view-post-revisions.tsx +47 -0
  354. package/src/dataviews/actions/view-post.tsx +30 -0
  355. package/src/dataviews/fields/index.ts +26 -0
  356. package/src/dataviews/store/private-actions.ts +109 -0
  357. package/src/dataviews/store/private-selectors.ts +9 -17
  358. package/src/dataviews/store/reducer.ts +20 -1
  359. package/src/dataviews/types.ts +58 -6
  360. package/src/private-apis.js +2 -2
  361. package/src/store/actions.js +36 -13
  362. package/src/store/private-actions.js +9 -5
  363. package/src/store/private-selectors.js +45 -2
  364. package/src/store/test/private-selectors.js +78 -0
  365. package/src/store/utils/is-template-revertable.js +2 -1
  366. package/tsconfig.tsbuildinfo +1 -1
  367. package/build/dataviews/actions/index.js +0 -32
  368. package/build/dataviews/actions/index.js.map +0 -1
  369. package/build-module/dataviews/actions/index.js +0 -24
  370. package/build-module/dataviews/actions/index.js.map +0 -1
  371. package/build-types/dataviews/actions/index.d.ts +0 -2
  372. package/build-types/dataviews/actions/index.d.ts.map +0 -1
  373. package/src/components/document-outline/test/__snapshots__/index.js.snap +0 -111
  374. package/src/components/document-outline/test/index.js +0 -185
  375. package/src/dataviews/actions/index.ts +0 -25
@@ -35,10 +35,13 @@
35
35
  * https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
36
36
  */
37
37
  /**
38
- * Dimensions.
38
+ * Radius scale.
39
39
  */
40
40
  /**
41
- * Shadows.
41
+ * Elevation scale.
42
+ */
43
+ /**
44
+ * Dimensions.
42
45
  */
43
46
  /**
44
47
  * Editor widths.
@@ -733,7 +736,7 @@ body.is-fullscreen-mode .interface-interface-skeleton {
733
736
  }
734
737
 
735
738
  .editor-document-bar__title {
736
- flex-grow: 1;
739
+ flex: 1;
737
740
  overflow: hidden;
738
741
  color: #1e1e1e;
739
742
  gap: 4px;
@@ -954,6 +957,10 @@ body.is-fullscreen-mode .interface-interface-skeleton {
954
957
  height: 61px;
955
958
  }
956
959
 
960
+ .editor-editor-interface .interface-interface-skeleton__content {
961
+ isolation: isolate;
962
+ }
963
+
957
964
  .editor-visual-editor {
958
965
  flex: 1 0 auto;
959
966
  }
@@ -1327,6 +1334,11 @@ body.is-fullscreen-mode .interface-interface-skeleton {
1327
1334
  .editor-list-view-sidebar {
1328
1335
  height: 100%;
1329
1336
  }
1337
+ @media (min-width: 782px) {
1338
+ .editor-list-view-sidebar {
1339
+ width: 350px;
1340
+ }
1341
+ }
1330
1342
 
1331
1343
  .editor-list-view-sidebar__list-view-panel-content,
1332
1344
  .editor-list-view-sidebar__list-view-container > .document-outline {
@@ -1497,13 +1509,6 @@ body.is-fullscreen-mode .interface-interface-skeleton {
1497
1509
  min-width: 248px;
1498
1510
  margin: 8px;
1499
1511
  }
1500
- .editor-post-discussion__panel-dialog .editor-post-discussion .components-radio-control__option {
1501
- align-items: flex-start;
1502
- }
1503
- .editor-post-discussion__panel-dialog .editor-post-discussion .components-radio-control__label .components-text {
1504
- display: block;
1505
- margin-top: 4px;
1506
- }
1507
1512
 
1508
1513
  .editor-post-discussion__panel-toggle .components-text {
1509
1514
  color: inherit;
@@ -1623,10 +1628,6 @@ body.is-fullscreen-mode .interface-interface-skeleton {
1623
1628
  margin: 8px;
1624
1629
  }
1625
1630
 
1626
- .editor-post-format__options .components-base-control__field > .components-v-stack {
1627
- gap: 12px;
1628
- }
1629
-
1630
1631
  .editor-post-last-edited-panel {
1631
1632
  color: #757575;
1632
1633
  }
@@ -1997,16 +1998,6 @@ body.is-fullscreen-mode .interface-interface-skeleton {
1997
1998
  min-width: 320px;
1998
1999
  padding: 16px;
1999
2000
  }
2000
- .editor-change-status__content .editor-change-status__options .components-base-control__field > .components-v-stack {
2001
- gap: 12px;
2002
- }
2003
- .editor-change-status__content .editor-change-status__options .components-radio-control__option {
2004
- align-items: flex-start;
2005
- }
2006
- .editor-change-status__content .editor-change-status__options label .components-text {
2007
- display: block;
2008
- margin-top: 4px;
2009
- }
2010
2001
  .editor-change-status__content .editor-change-status__password-legend {
2011
2002
  padding: 0;
2012
2003
  margin-bottom: 8px;
@@ -2333,6 +2324,11 @@ textarea.editor-post-text-editor:-ms-input-placeholder {
2333
2324
  justify-content: center;
2334
2325
  }
2335
2326
 
2327
+ .editor-preview-dropdown .editor-preview-dropdown__toggle.has-icon.has-text {
2328
+ padding-left: 4px;
2329
+ padding-right: 6px;
2330
+ }
2331
+
2336
2332
  .editor-preview-dropdown__button-external {
2337
2333
  width: 100%;
2338
2334
  display: flex;
@@ -2496,14 +2492,6 @@ textarea.editor-post-text-editor:-ms-input-placeholder {
2496
2492
  padding: 16px;
2497
2493
  }
2498
2494
 
2499
- .editor-site-discussion__options .components-radio-control__option {
2500
- align-items: flex-start;
2501
- }
2502
- .editor-site-discussion__options label .components-text {
2503
- display: block;
2504
- margin-top: 4px;
2505
- }
2506
-
2507
2495
  .table-of-contents__popover.components-popover .components-popover__content {
2508
2496
  min-width: 380px;
2509
2497
  }
@@ -2644,9 +2632,8 @@ textarea.editor-post-text-editor:-ms-input-placeholder {
2644
2632
 
2645
2633
  .editor-visual-editor {
2646
2634
  position: relative;
2647
- display: block;
2635
+ display: flex;
2648
2636
  background-color: #ddd;
2649
- isolation: isolate;
2650
2637
  align-items: center;
2651
2638
  }
2652
2639
  .editor-visual-editor.is-resizable {
@@ -35,10 +35,13 @@
35
35
  * https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
36
36
  */
37
37
  /**
38
- * Dimensions.
38
+ * Radius scale.
39
39
  */
40
40
  /**
41
- * Shadows.
41
+ * Elevation scale.
42
+ */
43
+ /**
44
+ * Dimensions.
42
45
  */
43
46
  /**
44
47
  * Editor widths.
@@ -733,7 +736,7 @@ body.is-fullscreen-mode .interface-interface-skeleton {
733
736
  }
734
737
 
735
738
  .editor-document-bar__title {
736
- flex-grow: 1;
739
+ flex: 1;
737
740
  overflow: hidden;
738
741
  color: #1e1e1e;
739
742
  gap: 4px;
@@ -954,6 +957,10 @@ body.is-fullscreen-mode .interface-interface-skeleton {
954
957
  height: 61px;
955
958
  }
956
959
 
960
+ .editor-editor-interface .interface-interface-skeleton__content {
961
+ isolation: isolate;
962
+ }
963
+
957
964
  .editor-visual-editor {
958
965
  flex: 1 0 auto;
959
966
  }
@@ -1327,6 +1334,11 @@ body.is-fullscreen-mode .interface-interface-skeleton {
1327
1334
  .editor-list-view-sidebar {
1328
1335
  height: 100%;
1329
1336
  }
1337
+ @media (min-width: 782px) {
1338
+ .editor-list-view-sidebar {
1339
+ width: 350px;
1340
+ }
1341
+ }
1330
1342
 
1331
1343
  .editor-list-view-sidebar__list-view-panel-content,
1332
1344
  .editor-list-view-sidebar__list-view-container > .document-outline {
@@ -1497,13 +1509,6 @@ body.is-fullscreen-mode .interface-interface-skeleton {
1497
1509
  min-width: 248px;
1498
1510
  margin: 8px;
1499
1511
  }
1500
- .editor-post-discussion__panel-dialog .editor-post-discussion .components-radio-control__option {
1501
- align-items: flex-start;
1502
- }
1503
- .editor-post-discussion__panel-dialog .editor-post-discussion .components-radio-control__label .components-text {
1504
- display: block;
1505
- margin-top: 4px;
1506
- }
1507
1512
 
1508
1513
  .editor-post-discussion__panel-toggle .components-text {
1509
1514
  color: inherit;
@@ -1623,10 +1628,6 @@ body.is-fullscreen-mode .interface-interface-skeleton {
1623
1628
  margin: 8px;
1624
1629
  }
1625
1630
 
1626
- .editor-post-format__options .components-base-control__field > .components-v-stack {
1627
- gap: 12px;
1628
- }
1629
-
1630
1631
  .editor-post-last-edited-panel {
1631
1632
  color: #757575;
1632
1633
  }
@@ -1997,16 +1998,6 @@ body.is-fullscreen-mode .interface-interface-skeleton {
1997
1998
  min-width: 320px;
1998
1999
  padding: 16px;
1999
2000
  }
2000
- .editor-change-status__content .editor-change-status__options .components-base-control__field > .components-v-stack {
2001
- gap: 12px;
2002
- }
2003
- .editor-change-status__content .editor-change-status__options .components-radio-control__option {
2004
- align-items: flex-start;
2005
- }
2006
- .editor-change-status__content .editor-change-status__options label .components-text {
2007
- display: block;
2008
- margin-top: 4px;
2009
- }
2010
2001
  .editor-change-status__content .editor-change-status__password-legend {
2011
2002
  padding: 0;
2012
2003
  margin-bottom: 8px;
@@ -2337,6 +2328,11 @@ textarea.editor-post-text-editor:-ms-input-placeholder {
2337
2328
  justify-content: center;
2338
2329
  }
2339
2330
 
2331
+ .editor-preview-dropdown .editor-preview-dropdown__toggle.has-icon.has-text {
2332
+ padding-right: 4px;
2333
+ padding-left: 6px;
2334
+ }
2335
+
2340
2336
  .editor-preview-dropdown__button-external {
2341
2337
  width: 100%;
2342
2338
  display: flex;
@@ -2500,14 +2496,6 @@ textarea.editor-post-text-editor:-ms-input-placeholder {
2500
2496
  padding: 16px;
2501
2497
  }
2502
2498
 
2503
- .editor-site-discussion__options .components-radio-control__option {
2504
- align-items: flex-start;
2505
- }
2506
- .editor-site-discussion__options label .components-text {
2507
- display: block;
2508
- margin-top: 4px;
2509
- }
2510
-
2511
2499
  .table-of-contents__popover.components-popover .components-popover__content {
2512
2500
  min-width: 380px;
2513
2501
  }
@@ -2648,9 +2636,8 @@ textarea.editor-post-text-editor:-ms-input-placeholder {
2648
2636
 
2649
2637
  .editor-visual-editor {
2650
2638
  position: relative;
2651
- display: block;
2639
+ display: flex;
2652
2640
  background-color: #ddd;
2653
- isolation: isolate;
2654
2641
  align-items: center;
2655
2642
  }
2656
2643
  .editor-visual-editor.is-resizable {
@@ -18,6 +18,12 @@ declare namespace _default {
18
18
  context: any;
19
19
  args: any;
20
20
  }): boolean;
21
+ function getFieldsList({ registry, context }: {
22
+ registry: any;
23
+ context: any;
24
+ }): {
25
+ [k: string]: any;
26
+ } | null;
21
27
  }
22
28
  export default _default;
23
29
  //# sourceMappingURL=post-meta.d.ts.map
@@ -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"}
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 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/commands/index.js"],"names":[],"mappings":"AAuUA,4CAWC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/commands/index.js"],"names":[],"mappings":"AAyUA,4CAWC"}
@@ -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":"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"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/header/index.js"],"names":[],"mappings":";AA0CA;;;;;;;gCAuHC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/header/index.js"],"names":[],"mappings":";AA0CA;;;;;;;gCAsHC"}
@@ -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,uEA+FC"}
@@ -1 +1 @@
1
- {"version":3,"file":"parent.d.ts","sourceRoot":"","sources":["../../../src/components/page-attributes/parent.js"],"names":[],"mappings":"AAiDA;;;;;GAKG;AACH,wCAFY,SAAS,GAAC,IAAI,CAqIzB;AAgCD,yDA0DC;AAjPM,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,yDA2EC;AAlQM,qEAYN"}
@@ -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+8BA;;;;UAsJC;;;;IAzNY,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;;;gCAoDC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/post-actions/index.js"],"names":[],"mappings":"AA4BA;;;;gCA6DC"}
@@ -1,6 +1,6 @@
1
1
  export function useAuthorsQuery(search: any): {
2
2
  authorId: any;
3
- authorOptions: any;
3
+ authorOptions: any[];
4
4
  postAuthor: any;
5
5
  };
6
6
  //# sourceMappingURL=hook.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"hook.d.ts","sourceRoot":"","sources":["../../../src/components/post-author/hook.js"],"names":[],"mappings":"AAcA;;;;EAgDC"}
1
+ {"version":3,"file":"hook.d.ts","sourceRoot":"","sources":["../../../src/components/post-author/hook.js"],"names":[],"mappings":"AAeA;;;;EAuDC"}
@@ -1 +1 @@
1
- {"version":3,"file":"panel.d.ts","sourceRoot":"","sources":["../../../src/components/post-author/panel.js"],"names":[],"mappings":"AAkCA;;;;GAIG;AACH,8BAFY,SAAS,CA4CpB"}
1
+ {"version":3,"file":"panel.d.ts","sourceRoot":"","sources":["../../../src/components/post-author/panel.js"],"names":[],"mappings":"AAoCA;;;;GAIG;AACH,8BAFY,SAAS,CA4CpB"}
@@ -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-comments/index.js"],"names":[],"mappings":";AA4CA,6DA2BC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/post-comments/index.js"],"names":[],"mappings":";AA+BA,6DA2BC"}
@@ -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,6 +1,7 @@
1
1
  export default function PostStatus(): import("react").JSX.Element | null;
2
2
  export const STATUS_OPTIONS: {
3
- label: import("react").JSX.Element;
3
+ label: string;
4
4
  value: string;
5
+ description: string;
5
6
  }[];
6
7
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/post-status/index.js"],"names":[],"mappings":"AAkHA,yEA+LC;AAhQD;;;IAwDE"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/post-status/index.js"],"names":[],"mappings":"AAmFA,yEAgMC;AAnOD;;;;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,CAqUlB;;;;;;;yBAxae,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":"create-new-template-modal.d.ts","sourceRoot":"","sources":["../../../src/components/post-template/create-new-template-modal.js"],"names":[],"mappings":"AAwBA;;gCA4HC"}
1
+ {"version":3,"file":"create-new-template-modal.d.ts","sourceRoot":"","sources":["../../../src/components/post-template/create-new-template-modal.js"],"names":[],"mappings":"AAwBA;;gCAkIC"}
@@ -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,CAiJpB"}
@@ -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,CAqCtB"}
1
+ {"version":3,"file":"panel.d.ts","sourceRoot":"","sources":["../../../src/components/post-url/panel.js"],"names":[],"mappings":"AAsBA;;;;GAIG;AACH,wCAFY,GAAG,CAAC,OAAO,CAqCtB"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/preview-dropdown/index.js"],"names":[],"mappings":"AAuBA;;;uCA+GC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/preview-dropdown/index.js"],"names":[],"mappings":"AA+BA;;;uCAqLC"}
@@ -1 +1 @@
1
- {"version":3,"file":"disable-non-page-content-blocks.d.ts","sourceRoot":"","sources":["../../../src/components/provider/disable-non-page-content-blocks.js"],"names":[],"mappings":"AAeA;;;GAGG;AACH,4DA4DC"}
1
+ {"version":3,"file":"disable-non-page-content-blocks.d.ts","sourceRoot":"","sources":["../../../src/components/provider/disable-non-page-content-blocks.js"],"names":[],"mappings":"AAoBA;;;GAGG;AACH,4DA0DC"}
@@ -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/site-discussion/index.js"],"names":[],"mappings":"AAmDA,6EA2FC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/site-discussion/index.js"],"names":[],"mappings":"AAuCA,6EA2FC"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/template-content-panel/index.js"],"names":[],"mappings":"AA6BA,mFA+BC"}
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/visual-editor/index.js"],"names":[],"mappings":";AAkGA;;;;;;;gCAmZC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/visual-editor/index.js"],"names":[],"mappings":";AAkGA;;;;;;;gCAqZC"}
@@ -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"}
@@ -0,0 +1,3 @@
1
+ declare const exportPattern: undefined;
2
+ export default exportPattern;
3
+ //# sourceMappingURL=export-pattern.native.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"export-pattern.native.d.ts","sourceRoot":"","sources":["../../../src/dataviews/actions/export-pattern.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 { PostWithPermissions } from '../types';
3
+ declare const permanentlyDeletePost: Action<PostWithPermissions>;
4
+ export default permanentlyDeletePost;
5
+ //# sourceMappingURL=permanently-delete-post.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"permanently-delete-post.d.ts","sourceRoot":"","sources":["../../../src/dataviews/actions/permanently-delete-post.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAC;AAMnD,OAAO,KAAK,EAAiB,mBAAmB,EAAE,MAAM,UAAU,CAAC;AAEnE,QAAA,MAAM,qBAAqB,EAAE,MAAM,CAAE,mBAAmB,CAmGvD,CAAC;AAEF,eAAe,qBAAqB,CAAC"}
@@ -0,0 +1,5 @@
1
+ import type { Action } from '@wordpress/dataviews';
2
+ import type { PostWithPermissions } from '../types';
3
+ declare const renamePost: Action<PostWithPermissions>;
4
+ export default renamePost;
5
+ //# sourceMappingURL=rename-post.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"rename-post.d.ts","sourceRoot":"","sources":["../../../src/dataviews/actions/rename-post.tsx"],"names":[],"mappings":"AAeA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAC;AAkBnD,OAAO,KAAK,EAAiB,mBAAmB,EAAE,MAAM,UAAU,CAAC;AAKnE,QAAA,MAAM,UAAU,EAAE,MAAM,CAAE,mBAAmB,CAyG5C,CAAC;AAEF,eAAe,UAAU,CAAC"}
@@ -0,0 +1,8 @@
1
+ import type { Action } from '@wordpress/dataviews';
2
+ /**
3
+ * Internal dependencies
4
+ */
5
+ import type { BasePost } from '../types';
6
+ declare const reorderPage: Action<BasePost>;
7
+ export default reorderPage;
8
+ //# sourceMappingURL=reorder-page.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"reorder-page.d.ts","sourceRoot":"","sources":["../../../src/dataviews/actions/reorder-page.tsx"],"names":[],"mappings":"AAcA,OAAO,KAAK,EAAE,MAAM,EAAoB,MAAM,sBAAsB,CAAC;AAErE;;GAEG;AACH,OAAO,KAAK,EAAiB,QAAQ,EAAE,MAAM,UAAU,CAAC;AAgGxD,QAAA,MAAM,WAAW,EAAE,MAAM,CAAE,QAAQ,CAOlC,CAAC;AAEF,eAAe,WAAW,CAAC"}
@@ -0,0 +1,3 @@
1
+ declare const reorderPage: undefined;
2
+ export default reorderPage;
3
+ //# sourceMappingURL=reorder-page.native.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"reorder-page.native.d.ts","sourceRoot":"","sources":["../../../src/dataviews/actions/reorder-page.native.tsx"],"names":[],"mappings":"AAAA,QAAA,MAAM,WAAW,WAAY,CAAC;AAE9B,eAAe,WAAW,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"reset-post.d.ts","sourceRoot":"","sources":["../../../src/dataviews/actions/reset-post.tsx"],"names":[],"mappings":"AAeA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAC;AASnD,OAAO,KAAK,EAAE,IAAI,EAAiB,MAAM,UAAU,CAAC;AAGpD,QAAA,MAAM,SAAS,EAAE,MAAM,CAAE,IAAI,CAkH5B,CAAC;AAEF,eAAe,SAAS,CAAC"}
1
+ {"version":3,"file":"reset-post.d.ts","sourceRoot":"","sources":["../../../src/dataviews/actions/reset-post.tsx"],"names":[],"mappings":"AAeA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAC;AASnD,OAAO,KAAK,EAAE,IAAI,EAAiB,MAAM,UAAU,CAAC;AAGpD,QAAA,MAAM,SAAS,EAAE,MAAM,CAAE,IAAI,CAmH5B,CAAC;AAEF,eAAe,SAAS,CAAC"}
@@ -0,0 +1,5 @@
1
+ import type { Action } from '@wordpress/dataviews';
2
+ import type { PostWithPermissions } from '../types';
3
+ declare const restorePost: Action<PostWithPermissions>;
4
+ export default restorePost;
5
+ //# sourceMappingURL=restore-post.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"restore-post.d.ts","sourceRoot":"","sources":["../../../src/dataviews/actions/restore-post.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAC;AAMnD,OAAO,KAAK,EAAiB,mBAAmB,EAAE,MAAM,UAAU,CAAC;AAEnE,QAAA,MAAM,WAAW,EAAE,MAAM,CAAE,mBAAmB,CAoH7C,CAAC;AAEF,eAAe,WAAW,CAAC"}
@@ -0,0 +1,5 @@
1
+ import type { Action } from '@wordpress/dataviews';
2
+ import type { PostWithPermissions } from '../types';
3
+ declare const trashPost: Action<PostWithPermissions>;
4
+ export default trashPost;
5
+ //# sourceMappingURL=trash-post.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"trash-post.d.ts","sourceRoot":"","sources":["../../../src/dataviews/actions/trash-post.tsx"],"names":[],"mappings":"AAeA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAC;AAMnD,OAAO,KAAK,EAAiB,mBAAmB,EAAE,MAAM,UAAU,CAAC;AAEnE,QAAA,MAAM,SAAS,EAAE,MAAM,CAAE,mBAAmB,CA0K3C,CAAC;AAEF,eAAe,SAAS,CAAC"}