@wordpress/editor 14.13.0 → 14.13.1-next.cd6172eb0.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 (253) hide show
  1. package/README.md +8 -28
  2. package/build/bindings/post-meta.js +2 -3
  3. package/build/bindings/post-meta.js.map +1 -1
  4. package/build/components/autocompleters/user.js +1 -3
  5. package/build/components/autocompleters/user.js.map +1 -1
  6. package/build/components/collab-sidebar/constants.js +2 -1
  7. package/build/components/collab-sidebar/constants.js.map +1 -1
  8. package/build/components/collab-sidebar/index.js +108 -43
  9. package/build/components/collab-sidebar/index.js.map +1 -1
  10. package/build/components/collab-sidebar/utils.js +32 -0
  11. package/build/components/collab-sidebar/utils.js.map +1 -1
  12. package/build/components/entities-saved-states/index.js +6 -6
  13. package/build/components/entities-saved-states/index.js.map +1 -1
  14. package/build/components/header/index.js +5 -2
  15. package/build/components/header/index.js.map +1 -1
  16. package/build/components/index.js +10 -26
  17. package/build/components/index.js.map +1 -1
  18. package/build/components/post-actions/actions.js +29 -2
  19. package/build/components/post-actions/actions.js.map +1 -1
  20. package/build/components/post-actions/index.js +1 -1
  21. package/build/components/post-actions/index.js.map +1 -1
  22. package/build/components/post-actions/set-as-homepage.js +170 -0
  23. package/build/components/post-actions/set-as-homepage.js.map +1 -0
  24. package/build/components/post-author/constants.js +1 -1
  25. package/build/components/post-author/constants.js.map +1 -1
  26. package/build/components/post-author/hook.js +1 -0
  27. package/build/components/post-author/hook.js.map +1 -1
  28. package/build/components/post-fields/index.js +3 -3
  29. package/build/components/post-fields/index.js.map +1 -1
  30. package/build/components/post-publish-button/index.js +4 -2
  31. package/build/components/post-publish-button/index.js.map +1 -1
  32. package/build/components/post-publish-button/post-publish-button-or-toggle.js +32 -37
  33. package/build/components/post-publish-button/post-publish-button-or-toggle.js.map +1 -1
  34. package/build/components/post-publish-panel/maybe-upload-media.js +0 -1
  35. package/build/components/post-publish-panel/maybe-upload-media.js.map +1 -1
  36. package/build/components/post-publish-panel/media-util.js +0 -1
  37. package/build/components/post-publish-panel/media-util.js.map +1 -1
  38. package/build/components/post-publish-panel/postpublish.js +103 -117
  39. package/build/components/post-publish-panel/postpublish.js.map +1 -1
  40. package/build/components/post-trash/check.js +4 -4
  41. package/build/components/post-trash/check.js.map +1 -1
  42. package/build/components/post-url/index.js +2 -1
  43. package/build/components/post-url/index.js.map +1 -1
  44. package/build/components/provider/index.js +9 -1
  45. package/build/components/provider/index.js.map +1 -1
  46. package/build/components/save-publish-panels/index.js +3 -1
  47. package/build/components/save-publish-panels/index.js.map +1 -1
  48. package/build/components/template-part-menu-items/convert-to-template-part.js +2 -3
  49. package/build/components/template-part-menu-items/convert-to-template-part.js.map +1 -1
  50. package/build/components/visual-editor/index.js +2 -1
  51. package/build/components/visual-editor/index.js.map +1 -1
  52. package/build/dataviews/store/private-actions.js +3 -8
  53. package/build/dataviews/store/private-actions.js.map +1 -1
  54. package/build/private-apis.js +2 -2
  55. package/build/private-apis.js.map +1 -1
  56. package/build/store/constants.js +0 -1
  57. package/build/store/constants.js.map +1 -1
  58. package/build/store/private-actions.js +0 -1
  59. package/build/store/private-actions.js.map +1 -1
  60. package/build/store/selectors.js +1 -1
  61. package/build/store/selectors.js.map +1 -1
  62. package/build-module/bindings/post-meta.js +2 -3
  63. package/build-module/bindings/post-meta.js.map +1 -1
  64. package/build-module/components/autocompleters/user.js +1 -3
  65. package/build-module/components/autocompleters/user.js.map +1 -1
  66. package/build-module/components/collab-sidebar/constants.js +1 -0
  67. package/build-module/components/collab-sidebar/constants.js.map +1 -1
  68. package/build-module/components/collab-sidebar/index.js +111 -46
  69. package/build-module/components/collab-sidebar/index.js.map +1 -1
  70. package/build-module/components/collab-sidebar/utils.js +31 -0
  71. package/build-module/components/collab-sidebar/utils.js.map +1 -1
  72. package/build-module/components/entities-saved-states/index.js +6 -6
  73. package/build-module/components/entities-saved-states/index.js.map +1 -1
  74. package/build-module/components/header/index.js +5 -2
  75. package/build-module/components/header/index.js.map +1 -1
  76. package/build-module/components/index.js +0 -2
  77. package/build-module/components/index.js.map +1 -1
  78. package/build-module/components/post-actions/actions.js +29 -2
  79. package/build-module/components/post-actions/actions.js.map +1 -1
  80. package/build-module/components/post-actions/index.js +1 -1
  81. package/build-module/components/post-actions/index.js.map +1 -1
  82. package/build-module/components/post-actions/set-as-homepage.js +162 -0
  83. package/build-module/components/post-actions/set-as-homepage.js.map +1 -0
  84. package/build-module/components/post-author/constants.js +1 -1
  85. package/build-module/components/post-author/constants.js.map +1 -1
  86. package/build-module/components/post-author/hook.js +1 -0
  87. package/build-module/components/post-author/hook.js.map +1 -1
  88. package/build-module/components/post-fields/index.js +3 -3
  89. package/build-module/components/post-fields/index.js.map +1 -1
  90. package/build-module/components/post-publish-button/index.js +4 -2
  91. package/build-module/components/post-publish-button/index.js.map +1 -1
  92. package/build-module/components/post-publish-button/post-publish-button-or-toggle.js +34 -38
  93. package/build-module/components/post-publish-button/post-publish-button-or-toggle.js.map +1 -1
  94. package/build-module/components/post-publish-panel/maybe-upload-media.js +0 -1
  95. package/build-module/components/post-publish-panel/maybe-upload-media.js.map +1 -1
  96. package/build-module/components/post-publish-panel/media-util.js +0 -1
  97. package/build-module/components/post-publish-panel/media-util.js.map +1 -1
  98. package/build-module/components/post-publish-panel/postpublish.js +104 -118
  99. package/build-module/components/post-publish-panel/postpublish.js.map +1 -1
  100. package/build-module/components/post-trash/check.js +4 -4
  101. package/build-module/components/post-trash/check.js.map +1 -1
  102. package/build-module/components/post-url/index.js +2 -1
  103. package/build-module/components/post-url/index.js.map +1 -1
  104. package/build-module/components/provider/index.js +10 -2
  105. package/build-module/components/provider/index.js.map +1 -1
  106. package/build-module/components/save-publish-panels/index.js +3 -1
  107. package/build-module/components/save-publish-panels/index.js.map +1 -1
  108. package/build-module/components/template-part-menu-items/convert-to-template-part.js +1 -1
  109. package/build-module/components/template-part-menu-items/convert-to-template-part.js.map +1 -1
  110. package/build-module/components/visual-editor/index.js +2 -1
  111. package/build-module/components/visual-editor/index.js.map +1 -1
  112. package/build-module/dataviews/store/private-actions.js +4 -9
  113. package/build-module/dataviews/store/private-actions.js.map +1 -1
  114. package/build-module/private-apis.js +1 -1
  115. package/build-module/private-apis.js.map +1 -1
  116. package/build-module/store/constants.js +0 -1
  117. package/build-module/store/constants.js.map +1 -1
  118. package/build-module/store/private-actions.js +0 -1
  119. package/build-module/store/private-actions.js.map +1 -1
  120. package/build-module/store/selectors.js +1 -1
  121. package/build-module/store/selectors.js.map +1 -1
  122. package/build-style/style-rtl.css +31 -62
  123. package/build-style/style.css +31 -62
  124. package/build-types/bindings/post-meta.d.ts.map +1 -1
  125. package/build-types/components/autocompleters/user.d.ts +1 -3
  126. package/build-types/components/autocompleters/user.d.ts.map +1 -1
  127. package/build-types/components/collab-sidebar/constants.d.ts +1 -0
  128. package/build-types/components/collab-sidebar/constants.d.ts.map +1 -1
  129. package/build-types/components/collab-sidebar/index.d.ts.map +1 -1
  130. package/build-types/components/collab-sidebar/utils.d.ts +10 -0
  131. package/build-types/components/collab-sidebar/utils.d.ts.map +1 -1
  132. package/build-types/components/entities-saved-states/index.d.ts +5 -5
  133. package/build-types/components/entities-saved-states/index.d.ts.map +1 -1
  134. package/build-types/components/header/index.d.ts.map +1 -1
  135. package/build-types/components/index.d.ts +0 -2
  136. package/build-types/components/index.d.ts.map +1 -1
  137. package/build-types/components/post-actions/actions.d.ts +1 -1
  138. package/build-types/components/post-actions/actions.d.ts.map +1 -1
  139. package/build-types/components/post-actions/set-as-homepage.d.ts +10 -0
  140. package/build-types/components/post-actions/set-as-homepage.d.ts.map +1 -0
  141. package/build-types/components/post-author/hook.d.ts.map +1 -1
  142. package/build-types/components/post-fields/index.d.ts +3 -1
  143. package/build-types/components/post-fields/index.d.ts.map +1 -1
  144. package/build-types/components/post-publish-button/index.d.ts.map +1 -1
  145. package/build-types/components/post-publish-button/post-publish-button-or-toggle.d.ts +1 -13
  146. package/build-types/components/post-publish-button/post-publish-button-or-toggle.d.ts.map +1 -1
  147. package/build-types/components/post-publish-panel/postpublish.d.ts +4 -2
  148. package/build-types/components/post-publish-panel/postpublish.d.ts.map +1 -1
  149. package/build-types/components/post-trash/check.d.ts +6 -6
  150. package/build-types/components/post-trash/check.d.ts.map +1 -1
  151. package/build-types/components/post-url/index.d.ts +5 -2
  152. package/build-types/components/post-url/index.d.ts.map +1 -1
  153. package/build-types/components/provider/index.d.ts.map +1 -1
  154. package/build-types/components/save-publish-panels/index.d.ts.map +1 -1
  155. package/build-types/components/visual-editor/index.d.ts.map +1 -1
  156. package/build-types/dataviews/store/private-actions.d.ts.map +1 -1
  157. package/build-types/lock-unlock.d.ts +2 -2
  158. package/build-types/store/selectors.d.ts +1 -1
  159. package/build-types/store/selectors.d.ts.map +1 -1
  160. package/package.json +36 -36
  161. package/src/bindings/post-meta.js +2 -5
  162. package/src/components/autocompleters/user.js +1 -3
  163. package/src/components/collab-sidebar/constants.js +1 -0
  164. package/src/components/collab-sidebar/index.js +115 -47
  165. package/src/components/collab-sidebar/style.scss +13 -0
  166. package/src/components/collab-sidebar/utils.js +36 -0
  167. package/src/components/editor-interface/style.scss +2 -1
  168. package/src/components/entities-saved-states/index.js +6 -9
  169. package/src/components/header/index.js +17 -5
  170. package/src/components/header/style.scss +1 -1
  171. package/src/components/index.js +0 -2
  172. package/src/components/post-actions/actions.js +38 -2
  173. package/src/components/post-actions/index.js +1 -1
  174. package/src/components/post-actions/set-as-homepage.js +183 -0
  175. package/src/components/post-author/constants.js +1 -1
  176. package/src/components/post-author/hook.js +1 -0
  177. package/src/components/post-fields/index.ts +5 -3
  178. package/src/components/post-publish-button/index.js +2 -0
  179. package/src/components/post-publish-button/post-publish-button-or-toggle.js +38 -40
  180. package/src/components/post-publish-button/test/post-publish-button-or-toggle.js +24 -9
  181. package/src/components/post-publish-panel/postpublish.js +114 -124
  182. package/src/components/post-trash/check.js +4 -4
  183. package/src/components/post-url/index.js +2 -1
  184. package/src/components/provider/index.js +17 -3
  185. package/src/components/save-publish-panels/index.js +5 -1
  186. package/src/components/template-part-menu-items/convert-to-template-part.js +1 -1
  187. package/src/components/visual-editor/index.js +1 -0
  188. package/src/components/visual-editor/style.scss +29 -6
  189. package/src/dataviews/store/private-actions.ts +14 -13
  190. package/src/private-apis.js +1 -1
  191. package/src/store/selectors.js +1 -1
  192. package/src/style.scss +0 -2
  193. package/tsconfig.tsbuildinfo +1 -1
  194. package/build/components/create-template-part-modal/index.js +0 -170
  195. package/build/components/create-template-part-modal/index.js.map +0 -1
  196. package/build/components/create-template-part-modal/utils.js +0 -64
  197. package/build/components/create-template-part-modal/utils.js.map +0 -1
  198. package/build/components/post-slug/check.js +0 -29
  199. package/build/components/post-slug/check.js.map +0 -1
  200. package/build/components/post-slug/index.js +0 -79
  201. package/build/components/post-slug/index.js.map +0 -1
  202. package/build/components/post-slug/panel.js +0 -30
  203. package/build/components/post-slug/panel.js.map +0 -1
  204. package/build/dataviews/actions/duplicate-template-part.js +0 -67
  205. package/build/dataviews/actions/duplicate-template-part.js.map +0 -1
  206. package/build/dataviews/actions/utils.js +0 -58
  207. package/build/dataviews/actions/utils.js.map +0 -1
  208. package/build/dataviews/types.js +0 -6
  209. package/build/dataviews/types.js.map +0 -1
  210. package/build-module/components/create-template-part-modal/index.js +0 -162
  211. package/build-module/components/create-template-part-modal/index.js.map +0 -1
  212. package/build-module/components/create-template-part-modal/utils.js +0 -54
  213. package/build-module/components/create-template-part-modal/utils.js.map +0 -1
  214. package/build-module/components/post-slug/check.js +0 -23
  215. package/build-module/components/post-slug/check.js.map +0 -1
  216. package/build-module/components/post-slug/index.js +0 -71
  217. package/build-module/components/post-slug/index.js.map +0 -1
  218. package/build-module/components/post-slug/panel.js +0 -21
  219. package/build-module/components/post-slug/panel.js.map +0 -1
  220. package/build-module/dataviews/actions/duplicate-template-part.js +0 -58
  221. package/build-module/dataviews/actions/duplicate-template-part.js.map +0 -1
  222. package/build-module/dataviews/actions/utils.js +0 -47
  223. package/build-module/dataviews/actions/utils.js.map +0 -1
  224. package/build-module/dataviews/types.js +0 -2
  225. package/build-module/dataviews/types.js.map +0 -1
  226. package/build-types/components/create-template-part-modal/index.d.ts +0 -14
  227. package/build-types/components/create-template-part-modal/index.d.ts.map +0 -1
  228. package/build-types/components/create-template-part-modal/utils.d.ts +0 -4
  229. package/build-types/components/create-template-part-modal/utils.d.ts.map +0 -1
  230. package/build-types/components/post-slug/check.d.ts +0 -12
  231. package/build-types/components/post-slug/check.d.ts.map +0 -1
  232. package/build-types/components/post-slug/index.d.ts +0 -7
  233. package/build-types/components/post-slug/index.d.ts.map +0 -1
  234. package/build-types/components/post-slug/panel.d.ts +0 -3
  235. package/build-types/components/post-slug/panel.d.ts.map +0 -1
  236. package/build-types/dataviews/actions/duplicate-template-part.d.ts +0 -5
  237. package/build-types/dataviews/actions/duplicate-template-part.d.ts.map +0 -1
  238. package/build-types/dataviews/actions/utils.d.ts +0 -13
  239. package/build-types/dataviews/actions/utils.d.ts.map +0 -1
  240. package/build-types/dataviews/types.d.ts +0 -92
  241. package/build-types/dataviews/types.d.ts.map +0 -1
  242. package/src/components/create-template-part-modal/index.js +0 -210
  243. package/src/components/create-template-part-modal/style.scss +0 -63
  244. package/src/components/create-template-part-modal/test/utils.js +0 -60
  245. package/src/components/create-template-part-modal/utils.js +0 -67
  246. package/src/components/post-slug/check.js +0 -20
  247. package/src/components/post-slug/index.js +0 -73
  248. package/src/components/post-slug/panel.js +0 -22
  249. package/src/components/post-slug/style.scss +0 -5
  250. package/src/components/post-slug/test/index.js +0 -53
  251. package/src/dataviews/actions/duplicate-template-part.tsx +0 -70
  252. package/src/dataviews/actions/utils.ts +0 -64
  253. package/src/dataviews/types.ts +0 -85
@@ -482,8 +482,20 @@ body.is-fullscreen-mode .interface-interface-skeleton {
482
482
  color: var(--wp-admin-theme-color);
483
483
  }
484
484
 
485
+ .interface-interface-skeleton__sidebar:has(.editor-collab-sidebar) {
486
+ box-shadow: none;
487
+ }
488
+ .interface-interface-skeleton__sidebar:has(.editor-collab-sidebar) .interface-complementary-area-header {
489
+ display: none;
490
+ }
491
+
492
+ .editor-collab-sidebar {
493
+ height: 100%;
494
+ }
495
+
485
496
  .editor-collab-sidebar-panel {
486
497
  padding: 16px;
498
+ height: 100%;
487
499
  }
488
500
  .editor-collab-sidebar-panel__thread {
489
501
  position: relative;
@@ -632,57 +644,6 @@ body.is-fullscreen-mode .interface-interface-skeleton {
632
644
  display: none;
633
645
  }
634
646
 
635
- .editor-create-template-part-modal {
636
- z-index: 1000001;
637
- }
638
-
639
- .editor-create-template-part-modal__area-radio-group {
640
- width: 100%;
641
- border: 1px solid #757575;
642
- border-radius: 2px;
643
- }
644
- .editor-create-template-part-modal__area-radio-group .components-button.editor-create-template-part-modal__area-radio {
645
- display: block;
646
- width: 100%;
647
- height: 100%;
648
- text-align: left;
649
- padding: 12px;
650
- }
651
- .editor-create-template-part-modal__area-radio-group .components-button.editor-create-template-part-modal__area-radio, .editor-create-template-part-modal__area-radio-group .components-button.editor-create-template-part-modal__area-radio.is-secondary:hover, .editor-create-template-part-modal__area-radio-group .components-button.editor-create-template-part-modal__area-radio.is-primary:hover {
652
- margin: 0;
653
- background-color: inherit;
654
- border-bottom: 1px solid #757575;
655
- border-radius: 0;
656
- }
657
- .editor-create-template-part-modal__area-radio-group .components-button.editor-create-template-part-modal__area-radio:not(:focus), .editor-create-template-part-modal__area-radio-group .components-button.editor-create-template-part-modal__area-radio.is-secondary:hover:not(:focus), .editor-create-template-part-modal__area-radio-group .components-button.editor-create-template-part-modal__area-radio.is-primary:hover:not(:focus) {
658
- box-shadow: none;
659
- }
660
- .editor-create-template-part-modal__area-radio-group .components-button.editor-create-template-part-modal__area-radio:focus, .editor-create-template-part-modal__area-radio-group .components-button.editor-create-template-part-modal__area-radio.is-secondary:hover:focus, .editor-create-template-part-modal__area-radio-group .components-button.editor-create-template-part-modal__area-radio.is-primary:hover:focus {
661
- border-bottom: 1px solid #fff;
662
- }
663
- .editor-create-template-part-modal__area-radio-group .components-button.editor-create-template-part-modal__area-radio:last-of-type, .editor-create-template-part-modal__area-radio-group .components-button.editor-create-template-part-modal__area-radio.is-secondary:hover:last-of-type, .editor-create-template-part-modal__area-radio-group .components-button.editor-create-template-part-modal__area-radio.is-primary:hover:last-of-type {
664
- border-bottom: none;
665
- }
666
- .editor-create-template-part-modal__area-radio-group .components-button.editor-create-template-part-modal__area-radio:not(:hover), .editor-create-template-part-modal__area-radio-group .components-button.editor-create-template-part-modal__area-radio[aria-checked=true] {
667
- color: #1e1e1e;
668
- cursor: auto;
669
- }
670
- .editor-create-template-part-modal__area-radio-group .components-button.editor-create-template-part-modal__area-radio:not(:hover) .editor-create-template-part-modal__option-label div, .editor-create-template-part-modal__area-radio-group .components-button.editor-create-template-part-modal__area-radio[aria-checked=true] .editor-create-template-part-modal__option-label div {
671
- color: #949494;
672
- }
673
- .editor-create-template-part-modal__area-radio-group .components-button.editor-create-template-part-modal__area-radio .editor-create-template-part-modal__option-label {
674
- padding-top: 4px;
675
- white-space: normal;
676
- }
677
- .editor-create-template-part-modal__area-radio-group .components-button.editor-create-template-part-modal__area-radio .editor-create-template-part-modal__option-label div {
678
- padding-top: 4px;
679
- font-size: 12px;
680
- }
681
- .editor-create-template-part-modal__area-radio-group .components-button.editor-create-template-part-modal__area-radio .editor-create-template-part-modal__checkbox {
682
- margin-left: auto;
683
- min-width: 24px;
684
- }
685
-
686
647
  .editor-content-only-settings-menu__description {
687
648
  padding: 8px;
688
649
  min-width: 235px;
@@ -982,7 +943,7 @@ body.is-fullscreen-mode .interface-interface-skeleton {
982
943
  }
983
944
 
984
945
  .editor-visual-editor {
985
- flex: 1 0 auto;
946
+ flex: 1 1 0%;
986
947
  }
987
948
 
988
949
  .components-editor-notices__dismissible,
@@ -1060,7 +1021,7 @@ body.is-fullscreen-mode .interface-interface-skeleton {
1060
1021
  }
1061
1022
  @media (min-width: 782px) {
1062
1023
  .editor-header:has(> .editor-header__center) {
1063
- grid-template: auto/60px minmax(min-content, 1fr) 2fr minmax(min-content, 1fr) 60px;
1024
+ grid-template: auto/60px minmax(min-content, 2fr) 2.5fr minmax(min-content, 2fr) 60px;
1064
1025
  }
1065
1026
  }
1066
1027
  @media (min-width: 480px) {
@@ -1990,12 +1951,6 @@ body.is-fullscreen-mode .interface-interface-skeleton {
1990
1951
  padding: 16px;
1991
1952
  }
1992
1953
 
1993
- .editor-post-slug {
1994
- display: flex;
1995
- flex-direction: column;
1996
- align-items: stretch;
1997
- }
1998
-
1999
1954
  .editor-post-status {
2000
1955
  max-width: 100%;
2001
1956
  }
@@ -2667,6 +2622,7 @@ textarea.editor-post-text-editor:-ms-input-placeholder {
2667
2622
  position: relative;
2668
2623
  display: flex;
2669
2624
  background-color: #ddd;
2625
+ overflow: hidden;
2670
2626
  align-items: center;
2671
2627
  }
2672
2628
  .editor-visual-editor iframe[name=editor-canvas] {
@@ -2678,9 +2634,6 @@ textarea.editor-post-text-editor:-ms-input-placeholder {
2678
2634
  .editor-visual-editor.has-padding {
2679
2635
  padding: 24px 24px 0;
2680
2636
  }
2681
- .editor-visual-editor.is-iframed {
2682
- overflow: hidden;
2683
- }
2684
2637
  .editor-visual-editor .components-button {
2685
2638
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
2686
2639
  font-size: 13px;
@@ -2688,4 +2641,20 @@ textarea.editor-post-text-editor:-ms-input-placeholder {
2688
2641
  }
2689
2642
  .editor-visual-editor .components-button.is-tertiary, .editor-visual-editor .components-button.has-icon {
2690
2643
  padding: 6px;
2644
+ }
2645
+ .editor-visual-editor.is-scrollable .block-editor-block-canvas {
2646
+ overflow: auto;
2647
+ }
2648
+ .editor-visual-editor.is-scrollable .block-editor-block-canvas > .block-editor-writing-flow {
2649
+ display: flow-root;
2650
+ min-height: 100%;
2651
+ box-sizing: border-box;
2652
+ }
2653
+ .editor-visual-editor.is-scrollable .block-editor-block-canvas > .block-editor-iframe__container {
2654
+ display: flex;
2655
+ flex-direction: column;
2656
+ }
2657
+ .editor-visual-editor.is-scrollable .block-editor-block-canvas > .block-editor-iframe__container > .block-editor-iframe__scale-container {
2658
+ flex: 1 0 fit-content;
2659
+ display: flow-root;
2691
2660
  }
@@ -1 +1 @@
1
- {"version":3,"file":"post-meta.d.ts","sourceRoot":"","sources":["../../src/bindings/post-meta.js"],"names":[],"mappings":";;IA4EC;;;;WAYC;IACD;;;;aAcC;IACD;;;;gBAsCC;IACD;;;eAEC"}
1
+ {"version":3,"file":"post-meta.d.ts","sourceRoot":"","sources":["../../src/bindings/post-meta.js"],"names":[],"mappings":";;IA4EC;;;;WAYC;IACD;;;;aAcC;IACD;;;;gBAmCC;IACD;;;eAEC"}
@@ -1,6 +1,4 @@
1
- /** @typedef {import('@wordpress/components').WPCompleter} WPCompleter */
2
1
  export function getUserLabel(user: any): import("react").JSX.Element;
3
- declare const _default: WPCompleter;
2
+ declare const _default: Object;
4
3
  export default _default;
5
- export type WPCompleter = import("@wordpress/components").WPCompleter;
6
4
  //# sourceMappingURL=user.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"user.d.ts","sourceRoot":"","sources":["../../../src/components/autocompleters/user.js"],"names":[],"mappings":"AAOA,yEAAyE;AAEzE,qEAuBC;wBAKS,WAAW;;0BA9BP,OAAO,uBAAuB,EAAE,WAAW"}
1
+ {"version":3,"file":"user.d.ts","sourceRoot":"","sources":["../../../src/components/autocompleters/user.js"],"names":[],"mappings":"AAOA,qEAuBC;wBAKS,MAAM"}
@@ -1,2 +1,3 @@
1
+ export const collabHistorySidebarName: "edit-post/collab-history-sidebar";
1
2
  export const collabSidebarName: "edit-post/collab-sidebar";
2
3
  //# sourceMappingURL=constants.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../src/components/collab-sidebar/constants.js"],"names":[],"mappings":"AAAA,2DAA4D"}
1
+ {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../src/components/collab-sidebar/constants.js"],"names":[],"mappings":"AAAA,0EAA2E;AAC3E,2DAA4D"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/collab-sidebar/index.js"],"names":[],"mappings":"AAiPA;;GAEG;AACH,4EAqDC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/collab-sidebar/index.js"],"names":[],"mappings":"AAuNA;;GAEG;AACH,4EAmJC"}
@@ -5,4 +5,14 @@
5
5
  * @return {string} - The sanitized comment string.
6
6
  */
7
7
  export function sanitizeCommentString(str: string): string;
8
+ /**
9
+ * Extracts comment IDs from an array of blocks.
10
+ *
11
+ * This function recursively traverses the blocks and their inner blocks to
12
+ * collect all comment IDs found in the block attributes.
13
+ *
14
+ * @param {Array} blocks - The array of blocks to extract comment IDs from.
15
+ * @return {Array} An array of comment IDs extracted from the blocks.
16
+ */
17
+ export function getCommentIdsFromBlocks(blocks: any[]): any[];
8
18
  //# sourceMappingURL=utils.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../src/components/collab-sidebar/utils.js"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,2CAHW,MAAM,GACL,MAAM,CAIjB"}
1
+ {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../src/components/collab-sidebar/utils.js"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,2CAHW,MAAM,GACL,MAAM,CAIjB;AAED;;;;;;;;GAQG;AACH,8DAyBC"}
@@ -3,13 +3,13 @@
3
3
  *
4
4
  * @param {Object} props The component props.
5
5
  * @param {Function} props.close The function to close the dialog.
6
- * @param {Function} props.renderDialog The function to render the dialog.
6
+ * @param {boolean} props.renderDialog Whether to render the component with modal dialog behavior.
7
7
  *
8
8
  * @return {React.ReactNode} The rendered component.
9
9
  */
10
- export default function EntitiesSavedStates({ close, renderDialog, }: {
10
+ export default function EntitiesSavedStates({ close, renderDialog }: {
11
11
  close: Function;
12
- renderDialog: Function;
12
+ renderDialog: boolean;
13
13
  }): React.ReactNode;
14
14
  /**
15
15
  * Renders a panel for saving entities with dirty records.
@@ -20,7 +20,7 @@ export default function EntitiesSavedStates({ close, renderDialog, }: {
20
20
  * @param {Function} props.onSave Function to call when saving entities.
21
21
  * @param {boolean} props.saveEnabled Flag indicating if save is enabled.
22
22
  * @param {string} props.saveLabel Label for the save button.
23
- * @param {Function} props.renderDialog Function to render a custom dialog.
23
+ * @param {boolean} props.renderDialog Whether to render the component with modal dialog behavior.
24
24
  * @param {Array} props.dirtyEntityRecords Array of dirty entity records.
25
25
  * @param {boolean} props.isDirty Flag indicating if there are dirty entities.
26
26
  * @param {Function} props.setUnselectedEntities Function to set unselected entities.
@@ -34,7 +34,7 @@ export function EntitiesSavedStatesExtensible({ additionalPrompt, close, onSave,
34
34
  onSave: Function;
35
35
  saveEnabled: boolean;
36
36
  saveLabel: string;
37
- renderDialog: Function;
37
+ renderDialog: boolean;
38
38
  dirtyEntityRecords: any[];
39
39
  isDirty: boolean;
40
40
  setUnselectedEntities: Function;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/entities-saved-states/index.js"],"names":[],"mappings":"AA4BA;;;;;;;;GAQG;AACH,sEALG;IAAwB,KAAK;IACL,YAAY;CAEpC,GAAS,KAAK,CAAC,SAAS,CAc1B;AAED;;;;;;;;;;;;;;;;GAgBG;AACH,mNAbG;IAAwB,gBAAgB,EAAhC,MAAM;IACU,KAAK;IACL,MAAM;IACN,WAAW,EAA3B,OAAO;IACS,SAAS,EAAzB,MAAM;IACU,YAAY;IACZ,kBAAkB;IAClB,OAAO,EAAvB,OAAO;IACS,qBAAqB;IACrB,kBAAkB;CAE1C,GAAS,KAAK,CAAC,SAAS,CAuI1B"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/entities-saved-states/index.js"],"names":[],"mappings":"AA4BA;;;;;;;;GAQG;AACH,qEALG;IAAwB,KAAK;IACL,YAAY,EAA5B,OAAO;CAEf,GAAS,KAAK,CAAC,SAAS,CAW1B;AAED;;;;;;;;;;;;;;;;GAgBG;AACH,mNAbG;IAAwB,gBAAgB,EAAhC,MAAM;IACU,KAAK;IACL,MAAM;IACN,WAAW,EAA3B,OAAO;IACS,SAAS,EAAzB,MAAM;IACU,YAAY,EAA5B,OAAO;IACS,kBAAkB;IAClB,OAAO,EAAvB,OAAO;IACS,qBAAqB;IACrB,kBAAkB;CAE1C,GAAS,KAAK,CAAC,SAAS,CAuI1B"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/header/index.js"],"names":[],"mappings":";AAiDA;;;;;;gCA+IC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/header/index.js"],"names":[],"mappings":";AAkDA;;;;;;gCA0JC"}
@@ -57,8 +57,6 @@ export { default as PostSavedState } from "./post-saved-state";
57
57
  export { default as PostSchedule } from "./post-schedule";
58
58
  export { default as PostScheduleCheck } from "./post-schedule/check";
59
59
  export { default as PostSchedulePanel } from "./post-schedule/panel";
60
- export { default as PostSlug } from "./post-slug";
61
- export { default as PostSlugCheck } from "./post-slug/check";
62
60
  export { default as PostSticky } from "./post-sticky";
63
61
  export { default as PostStickyCheck } from "./post-sticky/check";
64
62
  export { default as PostSwitchToDraftButton } from "./post-switch-to-draft-button";
@@ -1 +1 @@
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
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/components/index.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA2GA;;;;;;GAMG;AACH,iFAA2E;AAE3E;;;;;;GAMG;AACH,+EAAyE;oCAxHrC,6BAA6B"}
@@ -2,5 +2,5 @@ export function usePostActions({ postType, onActionPerformed, context }: {
2
2
  postType: any;
3
3
  onActionPerformed: any;
4
4
  context: any;
5
- }): any;
5
+ }): any[];
6
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":"AAYA;;;;QA+EC"}
1
+ {"version":3,"file":"actions.d.ts","sourceRoot":"","sources":["../../../src/components/post-actions/actions.js"],"names":[],"mappings":"AAcA;;;;UAiHC"}
@@ -0,0 +1,10 @@
1
+ export function useSetAsHomepageAction(): {
2
+ id: string;
3
+ label: string;
4
+ isEligible(post: any): boolean;
5
+ RenderModal: ({ items, closeModal }: {
6
+ items: any;
7
+ closeModal: any;
8
+ }) => import("react").JSX.Element;
9
+ };
10
+ //# sourceMappingURL=set-as-homepage.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"set-as-homepage.d.ts","sourceRoot":"","sources":["../../../src/components/post-actions/set-as-homepage.js"],"names":[],"mappings":"AA+IO;;;;;;;;EAuCN"}
@@ -1 +1 @@
1
- {"version":3,"file":"hook.d.ts","sourceRoot":"","sources":["../../../src/components/post-author/hook.js"],"names":[],"mappings":"AAeA;;;;EAuDC"}
1
+ {"version":3,"file":"hook.d.ts","sourceRoot":"","sources":["../../../src/components/post-author/hook.js"],"names":[],"mappings":"AAeA;;;;EAwDC"}
@@ -4,7 +4,9 @@ interface UsePostFieldsReturn {
4
4
  isLoading: boolean;
5
5
  fields: Field<BasePostWithEmbeddedAuthor>[];
6
6
  }
7
- declare function usePostFields(): UsePostFieldsReturn;
7
+ declare function usePostFields({ postType, }: {
8
+ postType: string;
9
+ }): UsePostFieldsReturn;
8
10
  /**
9
11
  * Hook to get the fields for a post (BasePost or BasePostWithEmbeddedAuthor).
10
12
  */
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/post-fields/index.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,mBAAmB,CAAC;AAQpE,UAAU,mBAAmB;IAC5B,SAAS,EAAE,OAAO,CAAC;IACnB,MAAM,EAAE,KAAK,CAAE,0BAA0B,CAAE,EAAE,CAAC;CAC9C;AAOD,iBAAS,aAAa,IAAI,mBAAmB,CA6C5C;AAED;;GAEG;AACH,eAAe,aAAa,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/post-fields/index.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,mBAAmB,CAAC;AAQpE,UAAU,mBAAmB;IAC5B,SAAS,EAAE,OAAO,CAAC;IACnB,MAAM,EAAE,KAAK,CAAE,0BAA0B,CAAE,EAAE,CAAC;CAC9C;AAOD,iBAAS,aAAa,CAAE,EACvB,QAAQ,GACR,EAAE;IACF,QAAQ,EAAE,MAAM,CAAC;CACjB,GAAI,mBAAmB,CA2CvB;AAED;;GAEG;AACH,eAAe,aAAa,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/post-publish-button/index.js"],"names":[],"mappings":"AAgBA;IACC,wBAUC;IAED,sDA6BC;IAED,mDAiBC;IArDA;;MAEC;IAqDF,sCAiGC;CACD;;;0BA7KyB,oBAAoB"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/post-publish-button/index.js"],"names":[],"mappings":"AAgBA;IACC,wBAUC;IAED,sDA6BC;IAED,mDAiBC;IArDA;;MAEC;IAqDF,sCAmGC;CACD;;;0BA/KyB,oBAAoB"}
@@ -1,17 +1,5 @@
1
- export function PostPublishButtonOrToggle({ forceIsDirty, hasPublishAction, isBeingScheduled, isPending, isPublished, isPublishSidebarEnabled, isPublishSidebarOpened, isScheduled, togglePublishSidebar, setEntitiesSavedStatesCallback, postStatusHasChanged, postStatus, }: {
1
+ export default function PostPublishButtonOrToggle({ forceIsDirty, setEntitiesSavedStatesCallback, }: {
2
2
  forceIsDirty: any;
3
- hasPublishAction: any;
4
- isBeingScheduled: any;
5
- isPending: any;
6
- isPublished: any;
7
- isPublishSidebarEnabled: any;
8
- isPublishSidebarOpened: any;
9
- isScheduled: any;
10
- togglePublishSidebar: any;
11
3
  setEntitiesSavedStatesCallback: any;
12
- postStatusHasChanged: any;
13
- postStatus: any;
14
4
  }): import("react").JSX.Element;
15
- declare const _default: unknown;
16
- export default _default;
17
5
  //# sourceMappingURL=post-publish-button-or-toggle.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"post-publish-button-or-toggle.d.ts","sourceRoot":"","sources":["../../../src/components/post-publish-button/post-publish-button-or-toggle.js"],"names":[],"mappings":"AAYA;;;;;;;;;;;;;gCAiEC"}
1
+ {"version":3,"file":"post-publish-button-or-toggle.d.ts","sourceRoot":"","sources":["../../../src/components/post-publish-button/post-publish-button-or-toggle.js"],"names":[],"mappings":"AAeA;;;gCAoFC"}
@@ -1,3 +1,5 @@
1
- declare const _default: any;
2
- export default _default;
1
+ export default function PostPublishPanelPostpublish({ focusOnMount, children, }: {
2
+ focusOnMount: any;
3
+ children: any;
4
+ }): import("react").JSX.Element;
3
5
  //# sourceMappingURL=postpublish.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"postpublish.d.ts","sourceRoot":"","sources":["../../../src/components/post-publish-panel/postpublish.js"],"names":[],"mappings":""}
1
+ {"version":3,"file":"postpublish.d.ts","sourceRoot":"","sources":["../../../src/components/post-publish-panel/postpublish.js"],"names":[],"mappings":"AAuEA;;;gCAoGC"}
@@ -1,12 +1,12 @@
1
1
  /**
2
- * Wrapper component that renders its children only if the post can trashed.
2
+ * Wrapper component that renders its children only if the post can be trashed.
3
3
  *
4
- * @param {Object} props - The component props.
5
- * @param {React.ReactEl} props.children - The child components to render.
4
+ * @param {Object} props The component props.
5
+ * @param {React.ReactElement} props.children The child components.
6
6
  *
7
- * @return {React.ReactElement} The rendered child components or null if the post can not trashed.
7
+ * @return {React.ReactElement | null} The rendered child components or null if the post can't be trashed.
8
8
  */
9
9
  export default function PostTrashCheck({ children }: {
10
- children: React.ReactEl;
11
- }): React.ReactElement;
10
+ children: React.ReactElement;
11
+ }): React.ReactElement | null;
12
12
  //# sourceMappingURL=check.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"check.d.ts","sourceRoot":"","sources":["../../../src/components/post-trash/check.js"],"names":[],"mappings":"AAYA;;;;;;;GAOG;AACH,qDAJG;IAA6B,QAAQ,EAA7B,KAAK,CAAC,OAAO;CAErB,GAAS,KAAK,CAAC,YAAY,CA8B7B"}
1
+ {"version":3,"file":"check.d.ts","sourceRoot":"","sources":["../../../src/components/post-trash/check.js"],"names":[],"mappings":"AAYA;;;;;;;GAOG;AACH,qDAJG;IAAkC,QAAQ,EAAlC,KAAK,CAAC,YAAY;CAE1B,GAAS,KAAK,CAAC,YAAY,GAAG,IAAI,CA8BpC"}
@@ -6,9 +6,12 @@
6
6
  * <PostURL />
7
7
  * ```
8
8
  *
9
- * @param {Function} onClose Callback function to be executed when the popover is closed.
9
+ * @param {{ onClose: () => void }} props The props for the component.
10
+ * @param {() => void} props.onClose Callback function to be executed when the popover is closed.
10
11
  *
11
12
  * @return {React.ReactNode} The rendered PostURL component.
12
13
  */
13
- export default function PostURL({ onClose }: Function): React.ReactNode;
14
+ export default function PostURL({ onClose }: {
15
+ onClose: () => void;
16
+ }): React.ReactNode;
14
17
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/post-url/index.js"],"names":[],"mappings":"AA0BA;;;;;;;;;;;GAWG;AACH,wDAFY,KAAK,CAAC,SAAS,CAgK1B"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/post-url/index.js"],"names":[],"mappings":"AA0BA;;;;;;;;;;;;GAYG;AACH,6CALW;IAAE,OAAO,EAAE,MAAM,IAAI,CAAA;CAAE,GAGtB,KAAK,CAAC,SAAS,CAgK1B"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/provider/index.js"],"names":[],"mappings":"AAiYA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AACH,sCArBG;IAAwB,IAAI;IACJ,kBAAkB;IAElB,QAAQ;IAER,QAAQ;CAGhC,GAWS,KAAK,CAAC,SAAS,CAW1B;AAvSD;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,4GAoOE"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/provider/index.js"],"names":[],"mappings":"AA+YA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AACH,sCArBG;IAAwB,IAAI;IACJ,kBAAkB;IAElB,QAAQ;IAER,QAAQ;CAGhC,GAWS,KAAK,CAAC,SAAS,CAW1B;AApTD;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,4GAiPE"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/save-publish-panels/index.js"],"names":[],"mappings":"AAqBA;;;;;gCAyFC;AA3FD;kHAqBgB,OAAO;;EArBc"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/save-publish-panels/index.js"],"names":[],"mappings":"AAqBA;;;;;gCA6FC;AA/FD;kHAqBgB,OAAO;;EArBc"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/visual-editor/index.js"],"names":[],"mappings":";AAmGA;;;;;;;gCA8YC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/visual-editor/index.js"],"names":[],"mappings":";AAmGA;;;;;;;gCA+YC"}
@@ -1 +1 @@
1
- {"version":3,"file":"private-actions.d.ts","sourceRoot":"","sources":["../../../src/dataviews/store/private-actions.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,sBAAsB,CAAC;AAkC1D,wBAAgB,oBAAoB,CAAE,IAAI,EACzC,IAAI,EAAE,MAAM,EACZ,IAAI,EAAE,MAAM,EACZ,MAAM,EAAE,MAAM,CAAE,IAAI,CAAE;;;;;EAQtB;AAED,wBAAgB,sBAAsB,CACrC,IAAI,EAAE,MAAM,EACZ,IAAI,EAAE,MAAM,EACZ,QAAQ,EAAE,MAAM;;;;;EAQhB;AAED,wBAAgB,mBAAmB,CAAE,IAAI,EACxC,IAAI,EAAE,MAAM,EACZ,IAAI,EAAE,MAAM,EACZ,MAAM,EAAE,KAAK,CAAE,IAAI,CAAE;;;;;EAQrB;AAED,wBAAgB,qBAAqB,CACpC,IAAI,EAAE,MAAM,EACZ,IAAI,EAAE,MAAM,EACZ,OAAO,EAAE,MAAM;;;;;EAQf;AAED,wBAAgB,UAAU,CAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM;;;;EAMrD;AAED,eAAO,MAAM,sBAAsB,aACtB,MAAM,oBACI;IAAE,QAAQ,EAAE,GAAG,CAAA;CAAE,kBA8FtC,CAAC"}
1
+ {"version":3,"file":"private-actions.d.ts","sourceRoot":"","sources":["../../../src/dataviews/store/private-actions.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,sBAAsB,CAAC;AAmC1D,wBAAgB,oBAAoB,CAAE,IAAI,EACzC,IAAI,EAAE,MAAM,EACZ,IAAI,EAAE,MAAM,EACZ,MAAM,EAAE,MAAM,CAAE,IAAI,CAAE;;;;;EAQtB;AAED,wBAAgB,sBAAsB,CACrC,IAAI,EAAE,MAAM,EACZ,IAAI,EAAE,MAAM,EACZ,QAAQ,EAAE,MAAM;;;;;EAQhB;AAED,wBAAgB,mBAAmB,CAAE,IAAI,EACxC,IAAI,EAAE,MAAM,EACZ,IAAI,EAAE,MAAM,EACZ,MAAM,EAAE,KAAK,CAAE,IAAI,CAAE;;;;;EAQrB;AAED,wBAAgB,qBAAqB,CACpC,IAAI,EAAE,MAAM,EACZ,IAAI,EAAE,MAAM,EACZ,OAAO,EAAE,MAAM;;;;;EAQf;AAED,wBAAgB,UAAU,CAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM;;;;EAMrD;AAED,eAAO,MAAM,sBAAsB,aACtB,MAAM,oBACI;IAAE,QAAQ,EAAE,GAAG,CAAA;CAAE,kBA8FtC,CAAC"}
@@ -1,3 +1,3 @@
1
- export const lock: (object: Record<symbol, WeakKey>, privateData: unknown) => void;
2
- export const unlock: (object: Record<symbol, WeakKey>) => any;
1
+ export const lock: (object: unknown, privateData: unknown) => void;
2
+ export const unlock: <T = any>(object: unknown) => T;
3
3
  //# sourceMappingURL=lock-unlock.d.ts.map
@@ -51,7 +51,7 @@ export function getCurrentPostId(state: Object): number | null;
51
51
  *
52
52
  * @param {Object} state Global application state.
53
53
  *
54
- * @return {string?} Template ID.
54
+ * @return {?string} Template ID.
55
55
  */
56
56
  export function getCurrentTemplateId(state: Object): string | null;
57
57
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"selectors.d.ts","sourceRoot":"","sources":["../../src/store/selectors.js"],"names":[],"mappings":"AAgEA;;;;;;;GAOG;AACH,uCAJW,MAAM,GAEL,OAAO,CAIlB;AAED;;;;;;GAMG;AACH,yCAJW,MAAM,GAEL,OAAO,CAKlB;AA+CD;;;;;;;GAOG;AACH,sCAJW,MAAM,GAEL,OAAO,CAIlB;AAgCD;;;;;;;;;;;GAWG;AACH,0C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AAEF;;GAEG;AACH,sDAEE;AAEF;;GAEG;AACH,8CAEE;AAEF;;GAEG;AACH,0DAEE;AAEF;;GAEG;AACH,yDAEE;AAEF;;GAEG;AACH,iDAEE;AAEF;;GAEG;AACH,4CAEE;AAEF;;GAEG;AACH,+CAEE;AAEF;;GAEG;AACH,2DAEE;AAEF;;GAEG;AACH,yDAEE;AAEF;;GAEG;AACH,qCAAuE;AAEvE;;GAEG;AACH,qCAAuE;AAEvE;;GAEG;AACH,uCAA2E;AAE3E;;GAEG;AACH,6CAEE;AAEF;;GAEG;AACH,8CAEE;AAEF;;GAEG;AACH,yCAA+E;AAE/E;;GAEG;AACH,wCAA6E;AAE7E;;GAEG;AACH,0CACgD;AAEhD;;GAEG;AACH,oCAAqE;AAErE;;GAEG;AACH,gCAA6D;AAE7D;;GAEG;AACH,kDAEE;AAEF;;GAEG;AACH,8CAEE;AAEF;;GAEG;AACH,oDAEE;AAEF;;GAEG;AACH,uCAA2E;AAE3E;;GAEG;AACH,mCAAmE;AAEnE;;GAEG;AACH,uCAA2E;AAE3E;;GAEG;AACH,0CACgD;AAEhD;;GAEG;AACH,wCAA6E;AAE7E;;GAEG;AACH,wCAA6E;AAE7E;;GAEG;AACH,4CAEE;AAEF,6DAaE;AAEF;;;;;;GAMG;AACH,iEAoBE;AAEF;;;;;;;GAOG;AACH,4DAwBE;AAEF;;;;;;;GAOG;AACH,qDAyBE;AAEF;;;;;;GAMG;AACH,wCAQE;;;;;;;;cA3mBY,MAAM;;;;kBACN,MAAM;;;;;YACN,MAAM"}
1
+ {"version":3,"file":"selectors.d.ts","sourceRoot":"","sources":["../../src/store/selectors.js"],"names":[],"mappings":"AAgEA;;;;;;;GAOG;AACH,uCAJW,MAAM,GAEL,OAAO,CAIlB;AAED;;;;;;GAMG;AACH,yCAJW,MAAM,GAEL,OAAO,CAKlB;AA+CD;;;;;;;GAOG;AACH,sCAJW,MAAM,GAEL,OAAO,CAIlB;AAgCD;;;;;;;;;;;GAWG;AACH,0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E;AAEF;;GAEG;AACH,sDAEE;AAEF;;GAEG;AACH,8CAEE;AAEF;;GAEG;AACH,0DAEE;AAEF;;GAEG;AACH,yDAEE;AAEF;;GAEG;AACH,iDAEE;AAEF;;GAEG;AACH,4CAEE;AAEF;;GAEG;AACH,+CAEE;AAEF;;GAEG;AACH,2DAEE;AAEF;;GAEG;AACH,yDAEE;AAEF;;GAEG;AACH,qCAAuE;AAEvE;;GAEG;AACH,qCAAuE;AAEvE;;GAEG;AACH,uCAA2E;AAE3E;;GAEG;AACH,6CAEE;AAEF;;GAEG;AACH,8CAEE;AAEF;;GAEG;AACH,yCAA+E;AAE/E;;GAEG;AACH,wCAA6E;AAE7E;;GAEG;AACH,0CACgD;AAEhD;;GAEG;AACH,oCAAqE;AAErE;;GAEG;AACH,gCAA6D;AAE7D;;GAEG;AACH,kDAEE;AAEF;;GAEG;AACH,8CAEE;AAEF;;GAEG;AACH,oDAEE;AAEF;;GAEG;AACH,uCAA2E;AAE3E;;GAEG;AACH,mCAAmE;AAEnE;;GAEG;AACH,uCAA2E;AAE3E;;GAEG;AACH,0CACgD;AAEhD;;GAEG;AACH,wCAA6E;AAE7E;;GAEG;AACH,wCAA6E;AAE7E;;GAEG;AACH,4CAEE;AAEF,6DAaE;AAEF;;;;;;GAMG;AACH,iEAoBE;AAEF;;;;;;;GAOG;AACH,4DAwBE;AAEF;;;;;;;GAOG;AACH,qDAyBE;AAEF;;;;;;GAMG;AACH,wCAQE;;;;;;;;cA3mBY,MAAM;;;;kBACN,MAAM;;;;;YACN,MAAM"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wordpress/editor",
3
- "version": "14.13.0",
3
+ "version": "14.13.1-next.cd6172eb0.0",
4
4
  "description": "Enhanced block editor for WordPress posts.",
5
5
  "author": "The WordPress Contributors",
6
6
  "license": "GPL-2.0-or-later",
@@ -34,41 +34,41 @@
34
34
  ],
35
35
  "dependencies": {
36
36
  "@babel/runtime": "7.25.7",
37
- "@wordpress/a11y": "*",
38
- "@wordpress/api-fetch": "*",
39
- "@wordpress/blob": "*",
40
- "@wordpress/block-editor": "*",
41
- "@wordpress/blocks": "*",
42
- "@wordpress/commands": "*",
37
+ "@wordpress/a11y": "^4.13.1-next.cd6172eb0.0",
38
+ "@wordpress/api-fetch": "^7.13.1-next.cd6172eb0.0",
39
+ "@wordpress/blob": "^4.13.1-next.cd6172eb0.0",
40
+ "@wordpress/block-editor": "^14.8.1-next.cd6172eb0.0",
41
+ "@wordpress/blocks": "^14.2.1-next.cd6172eb0.0",
42
+ "@wordpress/commands": "^1.13.1-next.cd6172eb0.0",
43
43
  "@wordpress/components": "*",
44
- "@wordpress/compose": "*",
45
- "@wordpress/core-data": "*",
46
- "@wordpress/data": "*",
47
- "@wordpress/dataviews": "*",
48
- "@wordpress/date": "*",
49
- "@wordpress/deprecated": "*",
50
- "@wordpress/dom": "*",
51
- "@wordpress/element": "*",
52
- "@wordpress/fields": "*",
53
- "@wordpress/hooks": "*",
54
- "@wordpress/html-entities": "*",
55
- "@wordpress/i18n": "*",
56
- "@wordpress/icons": "*",
57
- "@wordpress/interface": "*",
58
- "@wordpress/keyboard-shortcuts": "*",
59
- "@wordpress/keycodes": "*",
60
- "@wordpress/media-utils": "*",
61
- "@wordpress/notices": "*",
62
- "@wordpress/patterns": "*",
63
- "@wordpress/plugins": "*",
64
- "@wordpress/preferences": "*",
65
- "@wordpress/private-apis": "*",
66
- "@wordpress/reusable-blocks": "*",
67
- "@wordpress/rich-text": "*",
68
- "@wordpress/server-side-render": "*",
69
- "@wordpress/url": "*",
70
- "@wordpress/warning": "*",
71
- "@wordpress/wordcount": "*",
44
+ "@wordpress/compose": "^7.13.1-next.cd6172eb0.0",
45
+ "@wordpress/core-data": "^7.13.1-next.cd6172eb0.0",
46
+ "@wordpress/data": "^10.13.1-next.cd6172eb0.0",
47
+ "@wordpress/dataviews": "^4.9.1-next.cd6172eb0.0",
48
+ "@wordpress/date": "^5.13.1-next.cd6172eb0.0",
49
+ "@wordpress/deprecated": "^4.13.1-next.cd6172eb0.0",
50
+ "@wordpress/dom": "^4.13.1-next.cd6172eb0.0",
51
+ "@wordpress/element": "^6.13.1-next.cd6172eb0.0",
52
+ "@wordpress/fields": "^0.5.1-next.cd6172eb0.0",
53
+ "@wordpress/hooks": "^4.13.1-next.cd6172eb0.0",
54
+ "@wordpress/html-entities": "^4.13.1-next.cd6172eb0.0",
55
+ "@wordpress/i18n": "^5.13.1-next.cd6172eb0.0",
56
+ "@wordpress/icons": "^10.13.1-next.cd6172eb0.0",
57
+ "@wordpress/interface": "^8.2.1-next.cd6172eb0.0",
58
+ "@wordpress/keyboard-shortcuts": "^5.13.1-next.cd6172eb0.0",
59
+ "@wordpress/keycodes": "^4.13.1-next.cd6172eb0.0",
60
+ "@wordpress/media-utils": "^5.13.1-next.cd6172eb0.0",
61
+ "@wordpress/notices": "^5.13.1-next.cd6172eb0.0",
62
+ "@wordpress/patterns": "^2.13.1-next.cd6172eb0.0",
63
+ "@wordpress/plugins": "^7.13.1-next.cd6172eb0.0",
64
+ "@wordpress/preferences": "^4.13.1-next.cd6172eb0.0",
65
+ "@wordpress/private-apis": "^1.13.1-next.cd6172eb0.0",
66
+ "@wordpress/reusable-blocks": "^5.13.1-next.cd6172eb0.0",
67
+ "@wordpress/rich-text": "^7.13.1-next.cd6172eb0.0",
68
+ "@wordpress/server-side-render": "^5.13.1-next.cd6172eb0.0",
69
+ "@wordpress/url": "^4.13.1-next.cd6172eb0.0",
70
+ "@wordpress/warning": "^3.13.1-next.cd6172eb0.0",
71
+ "@wordpress/wordcount": "^4.13.1-next.cd6172eb0.0",
72
72
  "change-case": "^4.1.2",
73
73
  "client-zip": "^2.4.5",
74
74
  "clsx": "^2.1.1",
@@ -88,5 +88,5 @@
88
88
  "publishConfig": {
89
89
  "access": "public"
90
90
  },
91
- "gitHead": "cce81c13739c2a8b53d91df90c4f037cb68c2665"
91
+ "gitHead": "4cc93dc1781d8a7bc2bbde265913917920e2bd45"
92
92
  }
@@ -108,11 +108,8 @@ export default {
108
108
  return false;
109
109
  }
110
110
 
111
- const postType =
112
- context?.postType || select( editorStore ).getCurrentPostType();
113
-
114
- // Check that editing is happening in the post editor and not a template.
115
- if ( postType === 'wp_template' ) {
111
+ // Lock editing when `postType` is not defined.
112
+ if ( ! context?.postType ) {
116
113
  return false;
117
114
  }
118
115
 
@@ -5,8 +5,6 @@ import { useMemo } from '@wordpress/element';
5
5
  import { useSelect } from '@wordpress/data';
6
6
  import { store as coreStore } from '@wordpress/core-data';
7
7
 
8
- /** @typedef {import('@wordpress/components').WPCompleter} WPCompleter */
9
-
10
8
  export function getUserLabel( user ) {
11
9
  const avatar =
12
10
  user.avatar_urls && user.avatar_urls[ 24 ] ? (
@@ -35,7 +33,7 @@ export function getUserLabel( user ) {
35
33
  /**
36
34
  * A user mentions completer.
37
35
  *
38
- * @type {WPCompleter}
36
+ * @type {Object}
39
37
  */
40
38
  export default {
41
39
  name: 'users',
@@ -1 +1,2 @@
1
+ export const collabHistorySidebarName = 'edit-post/collab-history-sidebar';
1
2
  export const collabSidebarName = 'edit-post/collab-sidebar';