@wordpress/editor 13.24.1 → 13.26.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 (307) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/LICENSE.md +1 -1
  3. package/build/components/document-bar/index.js +164 -0
  4. package/build/components/document-bar/index.js.map +1 -0
  5. package/build/components/document-outline/index.js +82 -1
  6. package/build/components/document-outline/index.js.map +1 -1
  7. package/build/components/document-tools/index.js +160 -0
  8. package/build/components/document-tools/index.js.map +1 -0
  9. package/build/components/editor-canvas/edit-template-blocks-notification.js +106 -0
  10. package/build/components/editor-canvas/edit-template-blocks-notification.js.map +1 -0
  11. package/build/components/editor-canvas/index.js +298 -0
  12. package/build/components/editor-canvas/index.js.map +1 -0
  13. package/build/components/entities-saved-states/index.js +3 -1
  14. package/build/components/entities-saved-states/index.js.map +1 -1
  15. package/build/components/global-keyboard-shortcuts/index.js +12 -2
  16. package/build/components/global-keyboard-shortcuts/index.js.map +1 -1
  17. package/build/components/global-keyboard-shortcuts/register-shortcuts.js +9 -0
  18. package/build/components/global-keyboard-shortcuts/register-shortcuts.js.map +1 -1
  19. package/build/components/index.js +72 -8
  20. package/build/components/index.js.map +1 -1
  21. package/build/components/index.native.js +9 -1
  22. package/build/components/index.native.js.map +1 -1
  23. package/build/components/inserter-sidebar/index.js +77 -0
  24. package/build/components/inserter-sidebar/index.js.map +1 -0
  25. package/build/components/list-view-sidebar/index.js +150 -0
  26. package/build/components/list-view-sidebar/index.js.map +1 -0
  27. package/build/components/list-view-sidebar/list-view-outline.js +28 -0
  28. package/build/components/list-view-sidebar/list-view-outline.js.map +1 -0
  29. package/build/components/offline-status/index.native.js +85 -0
  30. package/build/components/offline-status/index.native.js.map +1 -0
  31. package/build/components/page-attributes/panel.js +63 -0
  32. package/build/components/page-attributes/panel.js.map +1 -0
  33. package/build/components/post-discussion/panel.js +59 -0
  34. package/build/components/post-discussion/panel.js.map +1 -0
  35. package/build/components/post-excerpt/check.js +19 -0
  36. package/build/components/post-excerpt/check.js.map +1 -1
  37. package/build/components/post-excerpt/panel.js +55 -0
  38. package/build/components/post-excerpt/panel.js.map +1 -0
  39. package/build/components/post-excerpt/plugin.js +72 -0
  40. package/build/components/post-excerpt/plugin.js.map +1 -0
  41. package/build/components/post-featured-image/index.js +5 -8
  42. package/build/components/post-featured-image/index.js.map +1 -1
  43. package/build/components/post-featured-image/panel.js +60 -0
  44. package/build/components/post-featured-image/panel.js.map +1 -0
  45. package/build/components/post-last-revision/panel.js +27 -0
  46. package/build/components/post-last-revision/panel.js.map +1 -0
  47. package/build/components/post-publish-button/index.js +1 -0
  48. package/build/components/post-publish-button/index.js.map +1 -1
  49. package/build/components/post-publish-panel/maybe-upload-media.js +2 -4
  50. package/build/components/post-publish-panel/maybe-upload-media.js.map +1 -1
  51. package/build/components/post-saved-state/index.js +13 -8
  52. package/build/components/post-saved-state/index.js.map +1 -1
  53. package/build/components/post-schedule/panel.js +1 -1
  54. package/build/components/post-schedule/panel.js.map +1 -1
  55. package/build/components/post-taxonomies/panel.js +68 -0
  56. package/build/components/post-taxonomies/panel.js.map +1 -0
  57. package/build/components/post-template/block-theme.js +100 -0
  58. package/build/components/post-template/block-theme.js.map +1 -0
  59. package/build/components/post-template/classic-theme.js +171 -0
  60. package/build/components/post-template/classic-theme.js.map +1 -0
  61. package/build/components/post-template/create-new-template-modal.js +98 -0
  62. package/build/components/post-template/create-new-template-modal.js.map +1 -0
  63. package/build/components/post-template/create-new-template.js +55 -0
  64. package/build/components/post-template/create-new-template.js.map +1 -0
  65. package/build/components/post-template/hooks.js +88 -0
  66. package/build/components/post-template/hooks.js.map +1 -0
  67. package/build/components/post-template/panel.js +70 -0
  68. package/build/components/post-template/panel.js.map +1 -0
  69. package/build/components/post-template/reset-default-template.js +48 -0
  70. package/build/components/post-template/reset-default-template.js.map +1 -0
  71. package/build/components/post-template/swap-template-button.js +86 -0
  72. package/build/components/post-template/swap-template-button.js.map +1 -0
  73. package/build/components/post-title/index.native.js +25 -15
  74. package/build/components/post-title/index.native.js.map +1 -1
  75. package/build/components/post-view-link/index.js +58 -0
  76. package/build/components/post-view-link/index.js.map +1 -0
  77. package/build/components/post-visibility/check.js +5 -17
  78. package/build/components/post-visibility/check.js.map +1 -1
  79. package/build/components/preview-dropdown/index.js +118 -0
  80. package/build/components/preview-dropdown/index.js.map +1 -0
  81. package/build/components/provider/index.js +24 -82
  82. package/build/components/provider/index.js.map +1 -1
  83. package/build/components/provider/index.native.js +36 -8
  84. package/build/components/provider/index.native.js.map +1 -1
  85. package/build/components/provider/navigation-block-editing-mode.js +40 -0
  86. package/build/components/provider/navigation-block-editing-mode.js.map +1 -0
  87. package/build/components/provider/use-block-editor-settings.js +38 -15
  88. package/build/components/provider/use-block-editor-settings.js.map +1 -1
  89. package/build/hooks/index.js +1 -0
  90. package/build/hooks/index.js.map +1 -1
  91. package/build/hooks/pattern-partial-syncing.js +49 -0
  92. package/build/hooks/pattern-partial-syncing.js.map +1 -0
  93. package/build/private-apis.js +14 -0
  94. package/build/private-apis.js.map +1 -1
  95. package/build/store/actions.js +161 -13
  96. package/build/store/actions.js.map +1 -1
  97. package/build/store/defaults.js +2 -1
  98. package/build/store/defaults.js.map +1 -1
  99. package/build/store/index.js +5 -0
  100. package/build/store/index.js.map +1 -1
  101. package/build/store/private-actions.js +52 -0
  102. package/build/store/private-actions.js.map +1 -0
  103. package/build/store/private-selectors.js +52 -0
  104. package/build/store/private-selectors.js.map +1 -0
  105. package/build/store/reducer.js +109 -27
  106. package/build/store/reducer.js.map +1 -1
  107. package/build/store/reducer.native.js +0 -1
  108. package/build/store/reducer.native.js.map +1 -1
  109. package/build/store/selectors.js +104 -9
  110. package/build/store/selectors.js.map +1 -1
  111. package/build/utils/media-upload/index.js +8 -2
  112. package/build/utils/media-upload/index.js.map +1 -1
  113. package/build-module/components/document-bar/index.js +156 -0
  114. package/build-module/components/document-bar/index.js.map +1 -0
  115. package/build-module/components/document-outline/index.js +82 -1
  116. package/build-module/components/document-outline/index.js.map +1 -1
  117. package/build-module/components/document-tools/index.js +151 -0
  118. package/build-module/components/document-tools/index.js.map +1 -0
  119. package/build-module/components/editor-canvas/edit-template-blocks-notification.js +100 -0
  120. package/build-module/components/editor-canvas/edit-template-blocks-notification.js.map +1 -0
  121. package/build-module/components/editor-canvas/index.js +289 -0
  122. package/build-module/components/editor-canvas/index.js.map +1 -0
  123. package/build-module/components/entities-saved-states/index.js +3 -1
  124. package/build-module/components/entities-saved-states/index.js.map +1 -1
  125. package/build-module/components/global-keyboard-shortcuts/index.js +12 -2
  126. package/build-module/components/global-keyboard-shortcuts/index.js.map +1 -1
  127. package/build-module/components/global-keyboard-shortcuts/register-shortcuts.js +9 -0
  128. package/build-module/components/global-keyboard-shortcuts/register-shortcuts.js.map +1 -1
  129. package/build-module/components/index.js +9 -1
  130. package/build-module/components/index.js.map +1 -1
  131. package/build-module/components/index.native.js +1 -0
  132. package/build-module/components/index.native.js.map +1 -1
  133. package/build-module/components/inserter-sidebar/index.js +70 -0
  134. package/build-module/components/inserter-sidebar/index.js.map +1 -0
  135. package/build-module/components/list-view-sidebar/index.js +142 -0
  136. package/build-module/components/list-view-sidebar/index.js.map +1 -0
  137. package/build-module/components/list-view-sidebar/list-view-outline.js +20 -0
  138. package/build-module/components/list-view-sidebar/list-view-outline.js.map +1 -0
  139. package/build-module/components/offline-status/index.native.js +77 -0
  140. package/build-module/components/offline-status/index.native.js.map +1 -0
  141. package/build-module/components/page-attributes/panel.js +53 -0
  142. package/build-module/components/page-attributes/panel.js.map +1 -0
  143. package/build-module/components/post-discussion/panel.js +50 -0
  144. package/build-module/components/post-discussion/panel.js.map +1 -0
  145. package/build-module/components/post-excerpt/check.js +19 -0
  146. package/build-module/components/post-excerpt/check.js.map +1 -1
  147. package/build-module/components/post-excerpt/panel.js +48 -0
  148. package/build-module/components/post-excerpt/panel.js.map +1 -0
  149. package/build-module/components/post-excerpt/plugin.js +64 -0
  150. package/build-module/components/post-excerpt/plugin.js.map +1 -0
  151. package/build-module/components/post-featured-image/index.js +5 -8
  152. package/build-module/components/post-featured-image/index.js.map +1 -1
  153. package/build-module/components/post-featured-image/panel.js +51 -0
  154. package/build-module/components/post-featured-image/panel.js.map +1 -0
  155. package/build-module/components/post-last-revision/panel.js +18 -0
  156. package/build-module/components/post-last-revision/panel.js.map +1 -0
  157. package/build-module/components/post-publish-button/index.js +1 -0
  158. package/build-module/components/post-publish-button/index.js.map +1 -1
  159. package/build-module/components/post-publish-panel/maybe-upload-media.js +2 -4
  160. package/build-module/components/post-publish-panel/maybe-upload-media.js.map +1 -1
  161. package/build-module/components/post-saved-state/index.js +13 -8
  162. package/build-module/components/post-saved-state/index.js.map +1 -1
  163. package/build-module/components/post-schedule/panel.js +1 -1
  164. package/build-module/components/post-schedule/panel.js.map +1 -1
  165. package/build-module/components/post-taxonomies/panel.js +59 -0
  166. package/build-module/components/post-taxonomies/panel.js.map +1 -0
  167. package/build-module/components/post-template/block-theme.js +92 -0
  168. package/build-module/components/post-template/block-theme.js.map +1 -0
  169. package/build-module/components/post-template/classic-theme.js +162 -0
  170. package/build-module/components/post-template/classic-theme.js.map +1 -0
  171. package/build-module/components/post-template/create-new-template-modal.js +91 -0
  172. package/build-module/components/post-template/create-new-template-modal.js.map +1 -0
  173. package/build-module/components/post-template/create-new-template.js +47 -0
  174. package/build-module/components/post-template/create-new-template.js.map +1 -0
  175. package/build-module/components/post-template/hooks.js +78 -0
  176. package/build-module/components/post-template/hooks.js.map +1 -0
  177. package/build-module/components/post-template/panel.js +62 -0
  178. package/build-module/components/post-template/panel.js.map +1 -0
  179. package/build-module/components/post-template/reset-default-template.js +41 -0
  180. package/build-module/components/post-template/reset-default-template.js.map +1 -0
  181. package/build-module/components/post-template/swap-template-button.js +79 -0
  182. package/build-module/components/post-template/swap-template-button.js.map +1 -0
  183. package/build-module/components/post-title/index.native.js +26 -16
  184. package/build-module/components/post-title/index.native.js.map +1 -1
  185. package/build-module/components/post-view-link/index.js +51 -0
  186. package/build-module/components/post-view-link/index.js.map +1 -0
  187. package/build-module/components/post-visibility/check.js +6 -16
  188. package/build-module/components/post-visibility/check.js.map +1 -1
  189. package/build-module/components/preview-dropdown/index.js +110 -0
  190. package/build-module/components/preview-dropdown/index.js.map +1 -0
  191. package/build-module/components/provider/index.js +25 -83
  192. package/build-module/components/provider/index.js.map +1 -1
  193. package/build-module/components/provider/index.native.js +37 -9
  194. package/build-module/components/provider/index.native.js.map +1 -1
  195. package/build-module/components/provider/navigation-block-editing-mode.js +34 -0
  196. package/build-module/components/provider/navigation-block-editing-mode.js.map +1 -0
  197. package/build-module/components/provider/use-block-editor-settings.js +38 -15
  198. package/build-module/components/provider/use-block-editor-settings.js.map +1 -1
  199. package/build-module/hooks/index.js +1 -0
  200. package/build-module/hooks/index.js.map +1 -1
  201. package/build-module/hooks/pattern-partial-syncing.js +46 -0
  202. package/build-module/hooks/pattern-partial-syncing.js.map +1 -0
  203. package/build-module/private-apis.js +14 -0
  204. package/build-module/private-apis.js.map +1 -1
  205. package/build-module/store/actions.js +147 -9
  206. package/build-module/store/actions.js.map +1 -1
  207. package/build-module/store/defaults.js +2 -1
  208. package/build-module/store/defaults.js.map +1 -1
  209. package/build-module/store/index.js +5 -0
  210. package/build-module/store/index.js.map +1 -1
  211. package/build-module/store/private-actions.js +44 -0
  212. package/build-module/store/private-actions.js.map +1 -0
  213. package/build-module/store/private-selectors.js +43 -0
  214. package/build-module/store/private-selectors.js.map +1 -0
  215. package/build-module/store/reducer.js +103 -26
  216. package/build-module/store/reducer.js.map +1 -1
  217. package/build-module/store/reducer.native.js +1 -2
  218. package/build-module/store/reducer.native.js.map +1 -1
  219. package/build-module/store/selectors.js +93 -6
  220. package/build-module/store/selectors.js.map +1 -1
  221. package/build-module/utils/media-upload/index.js +8 -2
  222. package/build-module/utils/media-upload/index.js.map +1 -1
  223. package/build-style/style-rtl.css +433 -0
  224. package/build-style/style.css +433 -0
  225. package/package.json +32 -31
  226. package/src/components/document-bar/index.js +193 -0
  227. package/src/components/document-bar/style.scss +130 -0
  228. package/src/components/document-outline/index.js +48 -1
  229. package/src/components/document-outline/style.scss +12 -0
  230. package/src/components/document-tools/index.js +177 -0
  231. package/src/components/document-tools/style.scss +98 -0
  232. package/src/components/editor-canvas/edit-template-blocks-notification.js +108 -0
  233. package/src/components/editor-canvas/index.js +386 -0
  234. package/src/components/editor-canvas/style.scss +5 -0
  235. package/src/components/entities-saved-states/index.js +3 -1
  236. package/src/components/entities-saved-states/style.scss +4 -0
  237. package/src/components/global-keyboard-shortcuts/index.js +12 -2
  238. package/src/components/global-keyboard-shortcuts/register-shortcuts.js +10 -0
  239. package/src/components/index.js +9 -1
  240. package/src/components/index.native.js +1 -0
  241. package/src/components/inserter-sidebar/index.js +73 -0
  242. package/src/components/inserter-sidebar/style.scss +22 -0
  243. package/src/components/list-view-sidebar/index.js +169 -0
  244. package/src/components/list-view-sidebar/list-view-outline.js +37 -0
  245. package/src/components/list-view-sidebar/style.scss +84 -0
  246. package/src/components/offline-status/index.native.js +101 -0
  247. package/src/components/offline-status/style.native.scss +28 -0
  248. package/src/components/offline-status/test/index.native.js +108 -0
  249. package/src/components/page-attributes/panel.js +62 -0
  250. package/src/components/post-discussion/panel.js +57 -0
  251. package/src/components/post-excerpt/check.js +18 -0
  252. package/src/components/post-excerpt/panel.js +57 -0
  253. package/src/components/post-excerpt/plugin.js +61 -0
  254. package/src/components/post-excerpt/test/plugin.js +36 -0
  255. package/src/components/post-featured-image/index.js +3 -7
  256. package/src/components/post-featured-image/panel.js +55 -0
  257. package/src/components/post-last-revision/panel.js +22 -0
  258. package/src/components/post-last-revision/style.scss +10 -0
  259. package/src/components/post-publish-button/index.js +1 -0
  260. package/src/components/post-publish-panel/maybe-upload-media.js +3 -8
  261. package/src/components/post-saved-state/index.js +9 -8
  262. package/src/components/post-saved-state/test/__snapshots__/index.js.snap +2 -2
  263. package/src/components/post-schedule/panel.js +1 -1
  264. package/src/components/post-taxonomies/panel.js +66 -0
  265. package/src/components/post-template/block-theme.js +110 -0
  266. package/src/components/post-template/classic-theme.js +213 -0
  267. package/src/components/post-template/create-new-template-modal.js +139 -0
  268. package/src/components/post-template/create-new-template.js +50 -0
  269. package/src/components/post-template/hooks.js +95 -0
  270. package/src/components/post-template/panel.js +66 -0
  271. package/src/components/post-template/reset-default-template.js +43 -0
  272. package/src/components/post-template/style.scss +52 -0
  273. package/src/components/post-template/swap-template-button.js +86 -0
  274. package/src/components/post-title/index.native.js +32 -18
  275. package/src/components/post-title/style.scss +1 -0
  276. package/src/components/post-title/test/__snapshots__/index.native.js.snap +25 -0
  277. package/src/components/post-title/test/index.native.js +78 -0
  278. package/src/components/post-view-link/index.js +47 -0
  279. package/src/components/post-visibility/check.js +10 -15
  280. package/src/components/post-visibility/test/check.js +24 -13
  281. package/src/components/preview-dropdown/index.js +133 -0
  282. package/src/components/preview-dropdown/style.scss +5 -0
  283. package/src/components/provider/index.js +28 -118
  284. package/src/components/provider/index.native.js +55 -14
  285. package/src/components/provider/navigation-block-editing-mode.js +37 -0
  286. package/src/components/provider/use-block-editor-settings.js +42 -17
  287. package/src/hooks/index.js +1 -0
  288. package/src/hooks/pattern-partial-syncing.js +73 -0
  289. package/src/private-apis.js +14 -0
  290. package/src/store/actions.js +160 -9
  291. package/src/store/defaults.js +1 -0
  292. package/src/store/index.js +5 -0
  293. package/src/store/private-actions.js +61 -0
  294. package/src/store/private-selectors.js +51 -0
  295. package/src/store/reducer.js +103 -26
  296. package/src/store/reducer.native.js +0 -2
  297. package/src/store/selectors.js +144 -42
  298. package/src/store/test/actions.js +56 -0
  299. package/src/store/test/reducer.js +98 -0
  300. package/src/store/test/selectors.js +137 -147
  301. package/src/style.scss +7 -0
  302. package/src/utils/media-upload/index.js +9 -2
  303. package/build/components/post-template/index.js +0 -66
  304. package/build/components/post-template/index.js.map +0 -1
  305. package/build-module/components/post-template/index.js +0 -57
  306. package/build-module/components/post-template/index.js.map +0 -1
  307. package/src/components/post-template/index.js +0 -64
@@ -142,6 +142,137 @@
142
142
  color: var(--wp-admin-theme-color);
143
143
  }
144
144
 
145
+ .editor-document-bar {
146
+ display: flex;
147
+ align-items: center;
148
+ height: 32px;
149
+ justify-content: space-between;
150
+ min-width: 0;
151
+ background: #f0f0f0;
152
+ border-radius: 4px;
153
+ width: min(100%, 450px);
154
+ }
155
+ .editor-document-bar:hover {
156
+ background-color: #e0e0e0;
157
+ }
158
+ .editor-document-bar .components-button {
159
+ border-radius: 4px;
160
+ }
161
+ .editor-document-bar .components-button:hover {
162
+ color: var(--wp-block-synced-color);
163
+ background: #e0e0e0;
164
+ }
165
+ @media (min-width: 960px) {
166
+ .editor-document-bar {
167
+ width: min(100%, 450px);
168
+ }
169
+ }
170
+
171
+ .editor-document-bar__command {
172
+ flex-grow: 1;
173
+ color: var(--wp-block-synced-color);
174
+ overflow: hidden;
175
+ }
176
+
177
+ .editor-document-bar__title {
178
+ flex-grow: 1;
179
+ overflow: hidden;
180
+ color: #2f2f2f;
181
+ }
182
+ @media (min-width: 600px) {
183
+ .editor-document-bar__title {
184
+ padding-right: 32px;
185
+ }
186
+ }
187
+ .editor-document-bar__title:hover {
188
+ color: var(--wp-block-synced-color);
189
+ }
190
+ .editor-document-bar.is-global .editor-document-bar__title {
191
+ color: var(--wp-block-synced-color);
192
+ }
193
+ .editor-document-bar__title .block-editor-block-icon {
194
+ min-width: 24px;
195
+ flex-shrink: 0;
196
+ }
197
+ .editor-document-bar__title h1 {
198
+ white-space: nowrap;
199
+ overflow: hidden;
200
+ text-overflow: ellipsis;
201
+ max-width: 50%;
202
+ color: currentColor;
203
+ }
204
+ .editor-document-bar.is-animated.has-back-button .editor-document-bar__title {
205
+ animation: editor-document-bar__slide-in-left 0.3s;
206
+ }
207
+ @media (prefers-reduced-motion: reduce) {
208
+ .editor-document-bar.is-animated.has-back-button .editor-document-bar__title {
209
+ animation-duration: 1ms;
210
+ animation-delay: 0s;
211
+ }
212
+ }
213
+ .editor-document-bar.is-animated .editor-document-bar__title {
214
+ animation: editor-document-bar__slide-in-right 0.3s;
215
+ }
216
+ @media (prefers-reduced-motion: reduce) {
217
+ .editor-document-bar.is-animated .editor-document-bar__title {
218
+ animation-duration: 1ms;
219
+ animation-delay: 0s;
220
+ }
221
+ }
222
+
223
+ .editor-document-bar__shortcut {
224
+ color: #2f2f2f;
225
+ min-width: 32px;
226
+ display: none;
227
+ }
228
+ @media (min-width: 782px) {
229
+ .editor-document-bar__shortcut {
230
+ display: initial;
231
+ }
232
+ }
233
+
234
+ .editor-document-bar__back.components-button.has-icon.has-text {
235
+ min-width: 36px;
236
+ flex-shrink: 0;
237
+ color: #757575;
238
+ gap: 0;
239
+ z-index: 1;
240
+ position: absolute;
241
+ }
242
+ .editor-document-bar__back.components-button.has-icon.has-text:hover {
243
+ color: var(--wp-block-synced-color);
244
+ background-color: transparent;
245
+ }
246
+ .editor-document-bar.is-animated .editor-document-bar__back.components-button.has-icon.has-text {
247
+ animation: editor-document-bar__slide-in-left 0.3s;
248
+ }
249
+ @media (prefers-reduced-motion: reduce) {
250
+ .editor-document-bar.is-animated .editor-document-bar__back.components-button.has-icon.has-text {
251
+ animation-duration: 1ms;
252
+ animation-delay: 0s;
253
+ }
254
+ }
255
+
256
+ @keyframes editor-document-bar__slide-in-right {
257
+ from {
258
+ transform: translateX(15%);
259
+ opacity: 0;
260
+ }
261
+ to {
262
+ transform: translateX(0);
263
+ opacity: 1;
264
+ }
265
+ }
266
+ @keyframes editor-document-bar__slide-in-left {
267
+ from {
268
+ transform: translateX(-15%);
269
+ opacity: 0;
270
+ }
271
+ to {
272
+ transform: translateX(0);
273
+ opacity: 1;
274
+ }
275
+ }
145
276
  .document-outline {
146
277
  margin: 20px 0;
147
278
  }
@@ -213,6 +344,107 @@
213
344
  padding: 1px 0;
214
345
  }
215
346
 
347
+ .editor-document-outline.has-no-headings {
348
+ text-align: center;
349
+ color: #757575;
350
+ }
351
+ .editor-document-outline.has-no-headings > svg {
352
+ margin-top: 28px;
353
+ }
354
+ .editor-document-outline.has-no-headings > p {
355
+ padding-right: 32px;
356
+ padding-left: 32px;
357
+ }
358
+
359
+ .editor-document-tools {
360
+ display: inline-flex;
361
+ align-items: center;
362
+ }
363
+ .editor-document-tools .editor-document-tools__left > .components-button {
364
+ display: none;
365
+ }
366
+ @media (min-width: 600px) {
367
+ .editor-document-tools .editor-document-tools__left > .components-button {
368
+ display: inline-flex;
369
+ }
370
+ }
371
+ .editor-document-tools .editor-document-tools__left > .editor-document-tools__inserter-toggle {
372
+ display: inline-flex;
373
+ }
374
+ .editor-document-tools .editor-document-tools__left > .editor-document-tools__inserter-toggle svg {
375
+ transition: transform cubic-bezier(0.165, 0.84, 0.44, 1) 0.2s;
376
+ }
377
+ @media (prefers-reduced-motion: reduce) {
378
+ .editor-document-tools .editor-document-tools__left > .editor-document-tools__inserter-toggle svg {
379
+ transition-duration: 0s;
380
+ transition-delay: 0s;
381
+ }
382
+ }
383
+ .editor-document-tools .editor-document-tools__left > .editor-document-tools__inserter-toggle.is-pressed svg {
384
+ transform: rotate(-45deg);
385
+ }
386
+ .editor-document-tools .block-editor-list-view {
387
+ display: none;
388
+ }
389
+ @media (min-width: 600px) {
390
+ .editor-document-tools .block-editor-list-view {
391
+ display: flex;
392
+ }
393
+ }
394
+ .editor-document-tools .editor-document-tools__left > .components-button.has-icon,
395
+ .editor-document-tools .editor-document-tools__left > .components-dropdown > .components-button.has-icon {
396
+ height: 32px;
397
+ min-width: 32px;
398
+ padding: 4px;
399
+ }
400
+ .editor-document-tools .editor-document-tools__left > .components-button.has-icon.is-pressed,
401
+ .editor-document-tools .editor-document-tools__left > .components-dropdown > .components-button.has-icon.is-pressed {
402
+ background: #1e1e1e;
403
+ }
404
+ .editor-document-tools .editor-document-tools__left > .components-button.has-icon:focus:not(:disabled),
405
+ .editor-document-tools .editor-document-tools__left > .components-dropdown > .components-button.has-icon:focus:not(:disabled) {
406
+ box-shadow: 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color), inset 0 0 0 1px #fff;
407
+ outline: 1px solid transparent;
408
+ }
409
+ .editor-document-tools .editor-document-tools__left > .components-button.has-icon::before,
410
+ .editor-document-tools .editor-document-tools__left > .components-dropdown > .components-button.has-icon::before {
411
+ display: none;
412
+ }
413
+
414
+ .editor-document-tools__left {
415
+ display: inline-flex;
416
+ align-items: center;
417
+ padding-right: 16px;
418
+ gap: 8px;
419
+ margin-left: 8px;
420
+ }
421
+ @media (min-width: 782px) {
422
+ .editor-document-tools__left {
423
+ padding-right: 20px;
424
+ }
425
+ }
426
+ @media (min-width: 1280px) {
427
+ .editor-document-tools__left {
428
+ padding-left: 8px;
429
+ }
430
+ }
431
+
432
+ .editor-document-tools .editor-document-tools__left > .editor-document-tools__inserter-toggle.has-icon {
433
+ min-width: 32px;
434
+ width: 32px;
435
+ height: 32px;
436
+ padding: 0;
437
+ }
438
+ .show-icon-labels .editor-document-tools .editor-document-tools__left > .editor-document-tools__inserter-toggle.has-icon {
439
+ width: auto;
440
+ height: 32px;
441
+ padding: 0 8px;
442
+ }
443
+
444
+ .show-icon-labels .editor-document-tools__left > * + * {
445
+ margin-right: 8px;
446
+ }
447
+
216
448
  .components-editor-notices__dismissible,
217
449
  .components-editor-notices__pinned {
218
450
  position: relative;
@@ -247,6 +479,10 @@
247
479
  padding: 16px;
248
480
  padding-bottom: 4px;
249
481
  }
482
+ .entities-saved-states__text-prompt .entities-saved-states__text-prompt--header {
483
+ display: block;
484
+ margin-bottom: 12px;
485
+ }
250
486
 
251
487
  .editor-error-boundary {
252
488
  margin: auto;
@@ -256,6 +492,139 @@
256
492
  box-shadow: 0 0.7px 1px rgba(0, 0, 0, 0.15), 0 2.7px 3.8px -0.2px rgba(0, 0, 0, 0.15), 0 5.5px 7.8px -0.3px rgba(0, 0, 0, 0.15), -0.1px 11.5px 16.4px -0.5px rgba(0, 0, 0, 0.15);
257
493
  }
258
494
 
495
+ .editor-inserter-sidebar {
496
+ box-sizing: border-box;
497
+ height: 100%;
498
+ display: flex;
499
+ flex-direction: column;
500
+ }
501
+ .editor-inserter-sidebar *,
502
+ .editor-inserter-sidebar *::before,
503
+ .editor-inserter-sidebar *::after {
504
+ box-sizing: inherit;
505
+ }
506
+
507
+ .editor-inserter-sidebar__header {
508
+ padding-top: 8px;
509
+ padding-left: 8px;
510
+ display: flex;
511
+ justify-content: flex-end;
512
+ }
513
+
514
+ .editor-inserter-sidebar__content {
515
+ height: calc(100% - 36px - 8px);
516
+ }
517
+ @media (min-width: 782px) {
518
+ .editor-inserter-sidebar__content {
519
+ height: 100%;
520
+ }
521
+ }
522
+
523
+ .editor-list-view-sidebar {
524
+ height: 100%;
525
+ display: flex;
526
+ flex-direction: column;
527
+ }
528
+ @media (min-width: 782px) {
529
+ .editor-list-view-sidebar {
530
+ width: 350px;
531
+ }
532
+ }
533
+ .editor-list-view-sidebar .editor-list-view-sidebar__close-button {
534
+ position: absolute;
535
+ left: 8px;
536
+ top: 6px;
537
+ z-index: 1;
538
+ background: #fff;
539
+ }
540
+ .editor-list-view-sidebar .components-tab-panel__tabs {
541
+ border-bottom: 1px solid #ddd;
542
+ box-sizing: border-box;
543
+ display: flex;
544
+ width: 100%;
545
+ padding-left: 56px;
546
+ }
547
+ .editor-list-view-sidebar .components-tab-panel__tabs .editor-list-view-sidebar__panel-tab {
548
+ width: 50%;
549
+ margin-bottom: -1px;
550
+ }
551
+ .editor-list-view-sidebar .components-tab-panel__tab-content {
552
+ height: calc(100% - 47px);
553
+ }
554
+
555
+ .editor-list-view-sidebar__list-view-panel-content,
556
+ .editor-list-view-sidebar__list-view-container > .document-outline {
557
+ height: 100%;
558
+ scrollbar-width: thin;
559
+ scrollbar-gutter: stable both-edges;
560
+ scrollbar-color: transparent transparent;
561
+ will-change: transform;
562
+ overflow: auto;
563
+ scrollbar-gutter: auto;
564
+ padding: 8px 6px;
565
+ }
566
+ .editor-list-view-sidebar__list-view-panel-content::-webkit-scrollbar,
567
+ .editor-list-view-sidebar__list-view-container > .document-outline::-webkit-scrollbar {
568
+ width: 12px;
569
+ height: 12px;
570
+ }
571
+ .editor-list-view-sidebar__list-view-panel-content::-webkit-scrollbar-track,
572
+ .editor-list-view-sidebar__list-view-container > .document-outline::-webkit-scrollbar-track {
573
+ background-color: transparent;
574
+ }
575
+ .editor-list-view-sidebar__list-view-panel-content::-webkit-scrollbar-thumb,
576
+ .editor-list-view-sidebar__list-view-container > .document-outline::-webkit-scrollbar-thumb {
577
+ background-color: transparent;
578
+ border-radius: 8px;
579
+ border: 3px solid transparent;
580
+ background-clip: padding-box;
581
+ }
582
+ .editor-list-view-sidebar__list-view-panel-content:hover::-webkit-scrollbar-thumb, .editor-list-view-sidebar__list-view-panel-content:focus::-webkit-scrollbar-thumb, .editor-list-view-sidebar__list-view-panel-content:focus-within::-webkit-scrollbar-thumb,
583
+ .editor-list-view-sidebar__list-view-container > .document-outline:hover::-webkit-scrollbar-thumb,
584
+ .editor-list-view-sidebar__list-view-container > .document-outline:focus::-webkit-scrollbar-thumb,
585
+ .editor-list-view-sidebar__list-view-container > .document-outline:focus-within::-webkit-scrollbar-thumb {
586
+ background-color: #949494;
587
+ }
588
+ .editor-list-view-sidebar__list-view-panel-content:hover, .editor-list-view-sidebar__list-view-panel-content:focus, .editor-list-view-sidebar__list-view-panel-content:focus-within,
589
+ .editor-list-view-sidebar__list-view-container > .document-outline:hover,
590
+ .editor-list-view-sidebar__list-view-container > .document-outline:focus,
591
+ .editor-list-view-sidebar__list-view-container > .document-outline:focus-within {
592
+ scrollbar-color: #949494 transparent;
593
+ }
594
+ @media (hover: none) {
595
+ .editor-list-view-sidebar__list-view-panel-content,
596
+ .editor-list-view-sidebar__list-view-container > .document-outline {
597
+ scrollbar-color: #949494 transparent;
598
+ }
599
+ }
600
+
601
+ .editor-list-view-sidebar__list-view-container {
602
+ display: flex;
603
+ flex-direction: column;
604
+ height: 100%;
605
+ }
606
+
607
+ .editor-list-view-sidebar__tab-panel {
608
+ height: 100%;
609
+ }
610
+
611
+ .editor-list-view-sidebar__outline {
612
+ display: flex;
613
+ flex-direction: column;
614
+ gap: 8px;
615
+ border-bottom: 1px solid #ddd;
616
+ padding: 16px;
617
+ }
618
+ .editor-list-view-sidebar__outline > div > span:first-child {
619
+ width: 90px;
620
+ display: inline-block;
621
+ }
622
+ .editor-list-view-sidebar__outline > div > span {
623
+ font-size: 12px;
624
+ line-height: 1.4;
625
+ color: #757575;
626
+ }
627
+
259
628
  .editor-post-author__panel {
260
629
  padding-top: 8px;
261
630
  }
@@ -376,6 +745,14 @@
376
745
  border-radius: 0;
377
746
  }
378
747
 
748
+ .components-panel__body.is-opened.editor-post-last-revision__panel {
749
+ padding: 0;
750
+ height: 48px;
751
+ }
752
+ .components-panel__body.is-opened.editor-post-last-revision__panel .editor-post-last-revision__title.components-button.components-button {
753
+ padding: 16px;
754
+ }
755
+
379
756
  @media (min-width: 600px) {
380
757
  .editor-post-locked-modal {
381
758
  max-width: 480px;
@@ -689,6 +1066,51 @@
689
1066
  font-size: 12px;
690
1067
  }
691
1068
 
1069
+ .editor-post-template__swap-template-modal {
1070
+ z-index: 1000001;
1071
+ }
1072
+
1073
+ .editor-post-template__swap-template-modal-content .block-editor-block-patterns-list {
1074
+ column-count: 2;
1075
+ column-gap: 24px;
1076
+ padding-top: 2px;
1077
+ }
1078
+ @media (min-width: 782px) {
1079
+ .editor-post-template__swap-template-modal-content .block-editor-block-patterns-list {
1080
+ column-count: 3;
1081
+ }
1082
+ }
1083
+ @media (min-width: 1280px) {
1084
+ .editor-post-template__swap-template-modal-content .block-editor-block-patterns-list {
1085
+ column-count: 4;
1086
+ }
1087
+ }
1088
+ .editor-post-template__swap-template-modal-content .block-editor-block-patterns-list .block-editor-block-patterns-list__list-item {
1089
+ break-inside: avoid-column;
1090
+ }
1091
+ .editor-post-template__swap-template-modal-content .block-editor-block-patterns-list .block-editor-block-patterns-list__item:not(:focus):not(:hover) .block-editor-block-preview__container {
1092
+ box-shadow: 0 0 0 1px #ddd;
1093
+ }
1094
+
1095
+ .editor-post-template__dropdown .components-popover__content {
1096
+ min-width: 240px;
1097
+ }
1098
+ .editor-post-template__dropdown .components-button.is-pressed,
1099
+ .editor-post-template__dropdown .components-button.is-pressed:hover {
1100
+ background: inherit;
1101
+ color: inherit;
1102
+ }
1103
+
1104
+ @media (min-width: 782px) {
1105
+ .editor-post-template__create-form {
1106
+ width: 320px;
1107
+ }
1108
+ }
1109
+
1110
+ .editor-post-template__classic-theme-dropdown {
1111
+ padding: 8px;
1112
+ }
1113
+
692
1114
  .edit-post-text-editor__body textarea.editor-post-text-editor {
693
1115
  border: 1px solid #949494;
694
1116
  border-radius: 0;
@@ -741,6 +1163,7 @@
741
1163
  .edit-post-text-editor__body .editor-post-title.is-raw-text {
742
1164
  margin-bottom: 24px;
743
1165
  margin-top: 2px;
1166
+ max-width: none;
744
1167
  }
745
1168
 
746
1169
  .editor-post-url__panel-dropdown {
@@ -910,6 +1333,12 @@
910
1333
  justify-content: center;
911
1334
  }
912
1335
 
1336
+ .editor-preview-dropdown__button-external {
1337
+ width: 100%;
1338
+ display: flex;
1339
+ justify-content: space-between;
1340
+ }
1341
+
913
1342
  .table-of-contents__popover.components-popover .components-popover__content {
914
1343
  min-width: 380px;
915
1344
  }
@@ -986,4 +1415,8 @@
986
1415
  }
987
1416
  .editor-template-validation-notice .components-button {
988
1417
  margin-right: 5px;
1418
+ }
1419
+
1420
+ .editor-canvas__iframe.has-history {
1421
+ padding: 48px 48px 0;
989
1422
  }