@wordpress/editor 14.35.1-next.16d95556a.0 → 14.36.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 (121) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/build/bindings/post-data.js +15 -15
  3. package/build/bindings/post-data.js.map +2 -2
  4. package/build/bindings/term-data.js +97 -95
  5. package/build/bindings/term-data.js.map +2 -2
  6. package/build/components/collab-sidebar/comments.js +69 -18
  7. package/build/components/collab-sidebar/comments.js.map +2 -2
  8. package/build/components/collab-sidebar/hooks.js +9 -1
  9. package/build/components/collab-sidebar/hooks.js.map +2 -2
  10. package/build/components/global-styles/index.js +8 -8
  11. package/build/components/global-styles/index.js.map +2 -2
  12. package/build/components/post-featured-image/index.js +1 -32
  13. package/build/components/post-featured-image/index.js.map +3 -3
  14. package/build/components/post-schedule/panel.js +1 -7
  15. package/build/components/post-schedule/panel.js.map +2 -2
  16. package/build/components/post-status/index.js +1 -7
  17. package/build/components/post-status/index.js.map +2 -2
  18. package/build/components/post-template/block-theme.js +1 -1
  19. package/build/components/post-template/block-theme.js.map +2 -2
  20. package/build/components/post-template/hooks.js +1 -1
  21. package/build/components/post-template/hooks.js.map +2 -2
  22. package/build/components/provider/index.js +3 -1
  23. package/build/components/provider/index.js.map +2 -2
  24. package/build/components/provider/use-block-editor-settings.js +9 -1
  25. package/build/components/provider/use-block-editor-settings.js.map +2 -2
  26. package/build/components/visual-editor/index.js +1 -7
  27. package/build/components/visual-editor/index.js.map +2 -2
  28. package/build/components/visual-editor/use-edit-content-only-section-exit.js +5 -6
  29. package/build/components/visual-editor/use-edit-content-only-section-exit.js.map +2 -2
  30. package/build/dataviews/store/private-actions.js +5 -1
  31. package/build/dataviews/store/private-actions.js.map +2 -2
  32. package/build/hooks/media-upload.js +89 -6
  33. package/build/hooks/media-upload.js.map +3 -3
  34. package/build/hooks/template-part-navigation-edit-button.js +8 -11
  35. package/build/hooks/template-part-navigation-edit-button.js.map +3 -3
  36. package/build/store/actions.js +1 -1
  37. package/build/store/actions.js.map +2 -2
  38. package/build/store/constants.js +8 -0
  39. package/build/store/constants.js.map +2 -2
  40. package/build-module/bindings/post-data.js +15 -15
  41. package/build-module/bindings/post-data.js.map +2 -2
  42. package/build-module/bindings/term-data.js +93 -95
  43. package/build-module/bindings/term-data.js.map +2 -2
  44. package/build-module/components/collab-sidebar/comments.js +69 -18
  45. package/build-module/components/collab-sidebar/comments.js.map +2 -2
  46. package/build-module/components/collab-sidebar/hooks.js +9 -1
  47. package/build-module/components/collab-sidebar/hooks.js.map +2 -2
  48. package/build-module/components/global-styles/index.js +8 -8
  49. package/build-module/components/global-styles/index.js.map +2 -2
  50. package/build-module/components/post-featured-image/index.js +3 -35
  51. package/build-module/components/post-featured-image/index.js.map +2 -2
  52. package/build-module/components/post-schedule/panel.js +1 -12
  53. package/build-module/components/post-schedule/panel.js.map +2 -2
  54. package/build-module/components/post-status/index.js +1 -12
  55. package/build-module/components/post-status/index.js.map +2 -2
  56. package/build-module/components/post-template/block-theme.js +1 -1
  57. package/build-module/components/post-template/block-theme.js.map +2 -2
  58. package/build-module/components/post-template/hooks.js +1 -1
  59. package/build-module/components/post-template/hooks.js.map +2 -2
  60. package/build-module/components/provider/index.js +3 -1
  61. package/build-module/components/provider/index.js.map +2 -2
  62. package/build-module/components/provider/use-block-editor-settings.js +9 -1
  63. package/build-module/components/provider/use-block-editor-settings.js.map +2 -2
  64. package/build-module/components/visual-editor/index.js +2 -7
  65. package/build-module/components/visual-editor/index.js.map +2 -2
  66. package/build-module/components/visual-editor/use-edit-content-only-section-exit.js +5 -6
  67. package/build-module/components/visual-editor/use-edit-content-only-section-exit.js.map +2 -2
  68. package/build-module/dataviews/store/private-actions.js +5 -1
  69. package/build-module/dataviews/store/private-actions.js.map +2 -2
  70. package/build-module/hooks/media-upload.js +67 -6
  71. package/build-module/hooks/media-upload.js.map +2 -2
  72. package/build-module/hooks/template-part-navigation-edit-button.js +10 -17
  73. package/build-module/hooks/template-part-navigation-edit-button.js.map +2 -2
  74. package/build-module/store/actions.js +1 -1
  75. package/build-module/store/actions.js.map +2 -2
  76. package/build-module/store/constants.js +7 -0
  77. package/build-module/store/constants.js.map +2 -2
  78. package/build-style/style-rtl.css +309 -40
  79. package/build-style/style.css +309 -40
  80. package/build-types/bindings/post-data.d.ts +2 -1
  81. package/build-types/bindings/term-data.d.ts +86 -8
  82. package/build-types/bindings/term-data.d.ts.map +1 -1
  83. package/build-types/components/collab-sidebar/comments.d.ts.map +1 -1
  84. package/build-types/components/collab-sidebar/hooks.d.ts.map +1 -1
  85. package/build-types/components/global-styles/index.d.ts.map +1 -1
  86. package/build-types/components/post-schedule/panel.d.ts.map +1 -1
  87. package/build-types/components/post-status/index.d.ts.map +1 -1
  88. package/build-types/components/post-template/block-theme.d.ts.map +1 -1
  89. package/build-types/components/provider/index.d.ts.map +1 -1
  90. package/build-types/components/provider/use-block-editor-settings.d.ts.map +1 -1
  91. package/build-types/components/visual-editor/index.d.ts.map +1 -1
  92. package/build-types/components/visual-editor/use-edit-content-only-section-exit.d.ts.map +1 -1
  93. package/build-types/dataviews/store/private-actions.d.ts +5 -0
  94. package/build-types/dataviews/store/private-actions.d.ts.map +1 -1
  95. package/build-types/store/actions.d.ts.map +1 -1
  96. package/build-types/store/constants.d.ts +1 -0
  97. package/build-types/store/constants.d.ts.map +1 -1
  98. package/package.json +40 -40
  99. package/src/bindings/post-data.js +21 -20
  100. package/src/bindings/term-data.js +124 -151
  101. package/src/bindings/test/post-data.js +210 -0
  102. package/src/bindings/test/term-data.js +406 -0
  103. package/src/components/collab-sidebar/comments.js +90 -24
  104. package/src/components/collab-sidebar/hooks.js +12 -1
  105. package/src/components/global-styles/index.js +8 -9
  106. package/src/components/global-styles-sidebar/style.scss +7 -0
  107. package/src/components/post-featured-image/index.js +1 -44
  108. package/src/components/post-schedule/panel.js +1 -13
  109. package/src/components/post-status/index.js +1 -13
  110. package/src/components/post-template/block-theme.js +4 -1
  111. package/src/components/post-template/hooks.js +1 -1
  112. package/src/components/provider/index.js +7 -2
  113. package/src/components/provider/use-block-editor-settings.js +8 -0
  114. package/src/components/visual-editor/index.js +1 -6
  115. package/src/components/visual-editor/use-edit-content-only-section-exit.js +9 -10
  116. package/src/dataviews/store/private-actions.ts +17 -1
  117. package/src/hooks/media-upload.js +75 -7
  118. package/src/hooks/template-part-navigation-edit-button.js +4 -15
  119. package/src/store/actions.js +2 -0
  120. package/src/store/constants.ts +6 -0
  121. package/tsconfig.tsbuildinfo +1 -1
@@ -30,3 +30,9 @@ export const GLOBAL_POST_TYPES = [
30
30
  'wp_block',
31
31
  'wp_navigation',
32
32
  ];
33
+ export const DESIGN_POST_TYPES = [
34
+ TEMPLATE_POST_TYPE,
35
+ TEMPLATE_PART_POST_TYPE,
36
+ PATTERN_POST_TYPE,
37
+ NAVIGATION_POST_TYPE,
38
+ ];