@wordpress/edit-site 7.1.0 → 7.3.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 (412) hide show
  1. package/CHANGELOG.md +28 -0
  2. package/README.md +0 -7
  3. package/build/components/add-new-pattern/index.cjs.map +2 -2
  4. package/build/components/add-new-post/index.cjs.map +2 -2
  5. package/build/components/add-new-template/add-custom-generic-template-modal-content.cjs.map +2 -2
  6. package/build/components/add-new-template/add-custom-template-modal-content.cjs.map +2 -2
  7. package/build/components/add-new-template/index.cjs.map +2 -2
  8. package/build/components/add-new-template/utils.cjs.map +2 -2
  9. package/build/components/add-new-template-legacy/add-custom-generic-template-modal-content.cjs.map +2 -2
  10. package/build/components/add-new-template-legacy/add-custom-template-modal-content.cjs.map +2 -2
  11. package/build/components/add-new-template-legacy/index.cjs.map +2 -2
  12. package/build/components/add-new-template-legacy/utils.cjs.map +2 -2
  13. package/build/components/app/index.cjs.map +2 -2
  14. package/build/components/block-editor/use-editor-iframe-props.cjs.map +2 -2
  15. package/build/components/block-editor/use-navigate-to-entity-record.cjs +4 -20
  16. package/build/components/block-editor/use-navigate-to-entity-record.cjs.map +2 -2
  17. package/build/components/block-editor/use-site-editor-settings.cjs +0 -1
  18. package/build/components/block-editor/use-site-editor-settings.cjs.map +2 -2
  19. package/build/components/block-editor/viewport.cjs +46 -0
  20. package/build/components/block-editor/viewport.cjs.map +7 -0
  21. package/build/components/canvas-loader/index.cjs.map +2 -2
  22. package/build/components/dataviews-actions/index.cjs.map +2 -2
  23. package/build/components/editor/index.cjs +14 -12
  24. package/build/components/editor/index.cjs.map +3 -3
  25. package/build/components/editor/site-preview.cjs.map +2 -2
  26. package/build/components/editor/use-adapt-editor-to-canvas.cjs +2 -2
  27. package/build/components/editor/use-adapt-editor-to-canvas.cjs.map +2 -2
  28. package/build/components/editor/use-editor-title.cjs.map +2 -2
  29. package/build/components/editor/use-resolve-edited-entity.cjs.map +2 -2
  30. package/build/components/editor/use-revisions-url-sync.cjs +122 -0
  31. package/build/components/editor/use-revisions-url-sync.cjs.map +7 -0
  32. package/build/components/layout/animation.cjs.map +2 -2
  33. package/build/components/layout/hooks.cjs.map +2 -2
  34. package/build/components/layout/index.cjs +11 -2
  35. package/build/components/layout/index.cjs.map +2 -2
  36. package/build/components/media/index.cjs.map +2 -2
  37. package/build/components/more-menu/index.cjs +2 -3
  38. package/build/components/more-menu/index.cjs.map +3 -3
  39. package/build/components/more-menu/welcome-guide-menu-item.cjs.map +2 -2
  40. package/build/components/page-patterns/actions.cjs.map +2 -2
  41. package/build/components/page-patterns/delete-category-menu-item.cjs.map +2 -2
  42. package/build/components/page-patterns/fields.cjs.map +2 -2
  43. package/build/components/page-patterns/index.cjs.map +2 -2
  44. package/build/components/page-patterns/rename-category-menu-item.cjs.map +2 -2
  45. package/build/components/page-patterns/search-items.cjs.map +2 -2
  46. package/build/components/page-patterns/use-pattern-settings.cjs.map +2 -2
  47. package/build/components/page-patterns/use-patterns.cjs.map +2 -2
  48. package/build/components/page-templates/fields.cjs.map +2 -2
  49. package/build/components/page-templates/hooks.cjs.map +2 -2
  50. package/build/components/page-templates/index-legacy.cjs.map +2 -2
  51. package/build/components/page-templates/index.cjs.map +2 -2
  52. package/build/components/pagination/index.cjs.map +2 -2
  53. package/build/components/plugin-template-setting-panel/index.cjs.map +2 -2
  54. package/build/components/post-list/index.cjs.map +2 -2
  55. package/build/components/post-list/quick-edit-modal.cjs.map +2 -2
  56. package/build/components/post-list/use-notes-count.cjs.map +2 -2
  57. package/build/components/resizable-frame/index.cjs.map +2 -2
  58. package/build/components/routes/use-title.cjs.map +2 -2
  59. package/build/components/save-button/index.cjs.map +2 -2
  60. package/build/components/save-hub/index.cjs.map +2 -2
  61. package/build/components/save-keyboard-shortcut/index.cjs.map +2 -2
  62. package/build/components/save-panel/index.cjs.map +2 -2
  63. package/build/components/sidebar/index.cjs.map +2 -2
  64. package/build/components/sidebar-button/index.cjs.map +2 -2
  65. package/build/components/sidebar-dataviews/index.cjs.map +2 -2
  66. package/build/components/sidebar-global-styles/index.cjs.map +2 -2
  67. package/build/components/sidebar-identity/index.cjs +5 -2
  68. package/build/components/sidebar-identity/index.cjs.map +2 -2
  69. package/build/components/sidebar-navigation-item/index.cjs.map +2 -2
  70. package/build/components/sidebar-navigation-screen/index.cjs.map +2 -2
  71. package/build/components/sidebar-navigation-screen-details-footer/index.cjs.map +2 -2
  72. package/build/components/sidebar-navigation-screen-global-styles/content.cjs.map +2 -2
  73. package/build/components/sidebar-navigation-screen-global-styles/index.cjs.map +2 -2
  74. package/build/components/sidebar-navigation-screen-identity/index.cjs.map +2 -2
  75. package/build/components/sidebar-navigation-screen-main/index.cjs.map +2 -2
  76. package/build/components/sidebar-navigation-screen-navigation-menu/delete-confirm-dialog.cjs.map +2 -2
  77. package/build/components/sidebar-navigation-screen-navigation-menu/index.cjs.map +2 -2
  78. package/build/components/sidebar-navigation-screen-navigation-menu/more-menu.cjs.map +2 -2
  79. package/build/components/sidebar-navigation-screen-navigation-menu/navigation-menu-editor.cjs.map +2 -2
  80. package/build/components/sidebar-navigation-screen-navigation-menu/rename-modal.cjs.map +2 -2
  81. package/build/components/sidebar-navigation-screen-navigation-menu/single-navigation-menu.cjs.map +2 -2
  82. package/build/components/sidebar-navigation-screen-navigation-menu/use-navigation-menu-handlers.cjs.map +2 -2
  83. package/build/components/sidebar-navigation-screen-navigation-menus/build-navigation-label.cjs.map +2 -2
  84. package/build/components/sidebar-navigation-screen-navigation-menus/index.cjs +3 -1
  85. package/build/components/sidebar-navigation-screen-navigation-menus/index.cjs.map +2 -2
  86. package/build/components/sidebar-navigation-screen-navigation-menus/leaf-more-menu.cjs +24 -25
  87. package/build/components/sidebar-navigation-screen-navigation-menus/leaf-more-menu.cjs.map +2 -2
  88. package/build/components/sidebar-navigation-screen-navigation-menus/navigation-menu-content.cjs.map +2 -2
  89. package/build/components/sidebar-navigation-screen-patterns/category-item.cjs.map +2 -2
  90. package/build/components/sidebar-navigation-screen-patterns/index.cjs +1 -1
  91. package/build/components/sidebar-navigation-screen-patterns/index.cjs.map +2 -2
  92. package/build/components/sidebar-navigation-screen-patterns/use-default-pattern-categories.cjs.map +2 -2
  93. package/build/components/sidebar-navigation-screen-patterns/use-pattern-categories.cjs.map +2 -2
  94. package/build/components/sidebar-navigation-screen-patterns/use-template-part-areas.cjs.map +2 -2
  95. package/build/components/sidebar-navigation-screen-patterns/use-theme-patterns.cjs.map +2 -2
  96. package/build/components/sidebar-navigation-screen-templates-browse/content-legacy.cjs.map +2 -2
  97. package/build/components/sidebar-navigation-screen-templates-browse/content.cjs +1 -1
  98. package/build/components/sidebar-navigation-screen-templates-browse/content.cjs.map +2 -2
  99. package/build/components/sidebar-navigation-screen-templates-browse/index.cjs +1 -1
  100. package/build/components/sidebar-navigation-screen-templates-browse/index.cjs.map +2 -2
  101. package/build/components/sidebar-navigation-screen-unsupported/index.cjs.map +2 -2
  102. package/build/components/site-editor-routes/home.cjs.map +2 -2
  103. package/build/components/site-editor-routes/identity.cjs.map +2 -2
  104. package/build/components/site-editor-routes/index.cjs.map +2 -2
  105. package/build/components/site-editor-routes/navigation-item.cjs.map +2 -2
  106. package/build/components/site-editor-routes/navigation.cjs.map +2 -2
  107. package/build/components/site-editor-routes/notfound.cjs.map +2 -2
  108. package/build/components/site-editor-routes/page-item.cjs.map +2 -2
  109. package/build/components/site-editor-routes/pages.cjs +3 -0
  110. package/build/components/site-editor-routes/pages.cjs.map +2 -2
  111. package/build/components/site-editor-routes/pattern-item.cjs.map +2 -2
  112. package/build/components/site-editor-routes/patterns.cjs.map +2 -2
  113. package/build/components/site-editor-routes/stylebook.cjs.map +2 -2
  114. package/build/components/site-editor-routes/styles.cjs.map +2 -2
  115. package/build/components/site-editor-routes/template-item.cjs.map +2 -2
  116. package/build/components/site-editor-routes/template-part-item.cjs.map +2 -2
  117. package/build/components/site-editor-routes/templates.cjs.map +2 -2
  118. package/build/components/site-hub/index.cjs.map +2 -2
  119. package/build/components/welcome-guide/editor.cjs.map +2 -2
  120. package/build/components/welcome-guide/index.cjs.map +2 -2
  121. package/build/components/welcome-guide/page.cjs.map +2 -2
  122. package/build/components/welcome-guide/template.cjs.map +2 -2
  123. package/build/deprecated.cjs.map +2 -2
  124. package/build/hooks/commands/use-common-commands.cjs.map +2 -2
  125. package/build/hooks/commands/use-set-command-context.cjs.map +2 -2
  126. package/build/index.cjs.map +2 -2
  127. package/build/lock-unlock.cjs.map +2 -2
  128. package/build/store/actions.cjs.map +2 -2
  129. package/build/store/index.cjs.map +2 -2
  130. package/build/store/reducer.cjs.map +2 -2
  131. package/build/store/selectors.cjs.map +2 -2
  132. package/build/utils/constants.cjs.map +2 -2
  133. package/build/utils/get-filtered-template-parts.cjs.map +2 -2
  134. package/build/utils/is-previewing-theme.cjs.map +2 -2
  135. package/build/utils/is-template-removable.cjs.map +2 -2
  136. package/build/utils/is-template-revertable.cjs.map +2 -2
  137. package/build/utils/use-activate-theme.cjs.map +2 -2
  138. package/build/utils/use-actual-current-theme.cjs.map +2 -2
  139. package/build-module/components/add-new-pattern/index.mjs.map +2 -2
  140. package/build-module/components/add-new-post/index.mjs.map +2 -2
  141. package/build-module/components/add-new-template/add-custom-generic-template-modal-content.mjs.map +2 -2
  142. package/build-module/components/add-new-template/add-custom-template-modal-content.mjs.map +2 -2
  143. package/build-module/components/add-new-template/index.mjs.map +2 -2
  144. package/build-module/components/add-new-template/utils.mjs.map +2 -2
  145. package/build-module/components/add-new-template-legacy/add-custom-generic-template-modal-content.mjs.map +2 -2
  146. package/build-module/components/add-new-template-legacy/add-custom-template-modal-content.mjs.map +2 -2
  147. package/build-module/components/add-new-template-legacy/index.mjs.map +2 -2
  148. package/build-module/components/add-new-template-legacy/utils.mjs.map +2 -2
  149. package/build-module/components/app/index.mjs.map +2 -2
  150. package/build-module/components/block-editor/use-editor-iframe-props.mjs.map +2 -2
  151. package/build-module/components/block-editor/use-navigate-to-entity-record.mjs +5 -21
  152. package/build-module/components/block-editor/use-navigate-to-entity-record.mjs.map +2 -2
  153. package/build-module/components/block-editor/use-site-editor-settings.mjs +0 -1
  154. package/build-module/components/block-editor/use-site-editor-settings.mjs.map +2 -2
  155. package/build-module/components/block-editor/viewport.mjs +19 -0
  156. package/build-module/components/block-editor/viewport.mjs.map +7 -0
  157. package/build-module/components/canvas-loader/index.mjs.map +2 -2
  158. package/build-module/components/dataviews-actions/index.mjs.map +2 -2
  159. package/build-module/components/editor/index.mjs +14 -13
  160. package/build-module/components/editor/index.mjs.map +2 -2
  161. package/build-module/components/editor/site-preview.mjs.map +2 -2
  162. package/build-module/components/editor/use-adapt-editor-to-canvas.mjs +1 -1
  163. package/build-module/components/editor/use-adapt-editor-to-canvas.mjs.map +2 -2
  164. package/build-module/components/editor/use-editor-title.mjs.map +2 -2
  165. package/build-module/components/editor/use-resolve-edited-entity.mjs.map +2 -2
  166. package/build-module/components/editor/use-revisions-url-sync.mjs +101 -0
  167. package/build-module/components/editor/use-revisions-url-sync.mjs.map +7 -0
  168. package/build-module/components/layout/animation.mjs.map +2 -2
  169. package/build-module/components/layout/hooks.mjs.map +2 -2
  170. package/build-module/components/layout/index.mjs +11 -2
  171. package/build-module/components/layout/index.mjs.map +2 -2
  172. package/build-module/components/media/index.mjs.map +2 -2
  173. package/build-module/components/more-menu/index.mjs +1 -2
  174. package/build-module/components/more-menu/index.mjs.map +2 -2
  175. package/build-module/components/more-menu/welcome-guide-menu-item.mjs.map +2 -2
  176. package/build-module/components/page-patterns/actions.mjs.map +2 -2
  177. package/build-module/components/page-patterns/delete-category-menu-item.mjs.map +2 -2
  178. package/build-module/components/page-patterns/fields.mjs.map +2 -2
  179. package/build-module/components/page-patterns/index.mjs.map +2 -2
  180. package/build-module/components/page-patterns/rename-category-menu-item.mjs.map +2 -2
  181. package/build-module/components/page-patterns/search-items.mjs.map +2 -2
  182. package/build-module/components/page-patterns/use-pattern-settings.mjs.map +2 -2
  183. package/build-module/components/page-patterns/use-patterns.mjs.map +2 -2
  184. package/build-module/components/page-templates/fields.mjs.map +2 -2
  185. package/build-module/components/page-templates/hooks.mjs.map +2 -2
  186. package/build-module/components/page-templates/index-legacy.mjs.map +2 -2
  187. package/build-module/components/page-templates/index.mjs.map +2 -2
  188. package/build-module/components/pagination/index.mjs.map +2 -2
  189. package/build-module/components/plugin-template-setting-panel/index.mjs.map +2 -2
  190. package/build-module/components/post-list/index.mjs.map +2 -2
  191. package/build-module/components/post-list/quick-edit-modal.mjs.map +2 -2
  192. package/build-module/components/post-list/use-notes-count.mjs.map +2 -2
  193. package/build-module/components/resizable-frame/index.mjs.map +2 -2
  194. package/build-module/components/routes/use-title.mjs.map +2 -2
  195. package/build-module/components/save-button/index.mjs.map +2 -2
  196. package/build-module/components/save-hub/index.mjs.map +2 -2
  197. package/build-module/components/save-keyboard-shortcut/index.mjs.map +2 -2
  198. package/build-module/components/save-panel/index.mjs.map +2 -2
  199. package/build-module/components/sidebar/index.mjs.map +2 -2
  200. package/build-module/components/sidebar-button/index.mjs.map +2 -2
  201. package/build-module/components/sidebar-dataviews/index.mjs.map +2 -2
  202. package/build-module/components/sidebar-global-styles/index.mjs.map +2 -2
  203. package/build-module/components/sidebar-identity/index.mjs +5 -2
  204. package/build-module/components/sidebar-identity/index.mjs.map +2 -2
  205. package/build-module/components/sidebar-navigation-item/index.mjs.map +2 -2
  206. package/build-module/components/sidebar-navigation-screen/index.mjs.map +2 -2
  207. package/build-module/components/sidebar-navigation-screen-details-footer/index.mjs.map +2 -2
  208. package/build-module/components/sidebar-navigation-screen-global-styles/content.mjs.map +2 -2
  209. package/build-module/components/sidebar-navigation-screen-global-styles/index.mjs.map +2 -2
  210. package/build-module/components/sidebar-navigation-screen-identity/index.mjs.map +2 -2
  211. package/build-module/components/sidebar-navigation-screen-main/index.mjs.map +2 -2
  212. package/build-module/components/sidebar-navigation-screen-navigation-menu/delete-confirm-dialog.mjs.map +2 -2
  213. package/build-module/components/sidebar-navigation-screen-navigation-menu/index.mjs.map +2 -2
  214. package/build-module/components/sidebar-navigation-screen-navigation-menu/more-menu.mjs.map +2 -2
  215. package/build-module/components/sidebar-navigation-screen-navigation-menu/navigation-menu-editor.mjs.map +2 -2
  216. package/build-module/components/sidebar-navigation-screen-navigation-menu/rename-modal.mjs.map +2 -2
  217. package/build-module/components/sidebar-navigation-screen-navigation-menu/single-navigation-menu.mjs.map +2 -2
  218. package/build-module/components/sidebar-navigation-screen-navigation-menu/use-navigation-menu-handlers.mjs.map +2 -2
  219. package/build-module/components/sidebar-navigation-screen-navigation-menus/build-navigation-label.mjs.map +2 -2
  220. package/build-module/components/sidebar-navigation-screen-navigation-menus/index.mjs +3 -1
  221. package/build-module/components/sidebar-navigation-screen-navigation-menus/index.mjs.map +2 -2
  222. package/build-module/components/sidebar-navigation-screen-navigation-menus/leaf-more-menu.mjs +24 -25
  223. package/build-module/components/sidebar-navigation-screen-navigation-menus/leaf-more-menu.mjs.map +2 -2
  224. package/build-module/components/sidebar-navigation-screen-navigation-menus/navigation-menu-content.mjs.map +2 -2
  225. package/build-module/components/sidebar-navigation-screen-patterns/category-item.mjs.map +2 -2
  226. package/build-module/components/sidebar-navigation-screen-patterns/index.mjs +1 -1
  227. package/build-module/components/sidebar-navigation-screen-patterns/index.mjs.map +2 -2
  228. package/build-module/components/sidebar-navigation-screen-patterns/use-default-pattern-categories.mjs.map +2 -2
  229. package/build-module/components/sidebar-navigation-screen-patterns/use-pattern-categories.mjs.map +2 -2
  230. package/build-module/components/sidebar-navigation-screen-patterns/use-template-part-areas.mjs.map +2 -2
  231. package/build-module/components/sidebar-navigation-screen-patterns/use-theme-patterns.mjs.map +2 -2
  232. package/build-module/components/sidebar-navigation-screen-templates-browse/content-legacy.mjs.map +2 -2
  233. package/build-module/components/sidebar-navigation-screen-templates-browse/content.mjs +1 -1
  234. package/build-module/components/sidebar-navigation-screen-templates-browse/content.mjs.map +2 -2
  235. package/build-module/components/sidebar-navigation-screen-templates-browse/index.mjs +1 -1
  236. package/build-module/components/sidebar-navigation-screen-templates-browse/index.mjs.map +2 -2
  237. package/build-module/components/sidebar-navigation-screen-unsupported/index.mjs.map +2 -2
  238. package/build-module/components/site-editor-routes/home.mjs.map +2 -2
  239. package/build-module/components/site-editor-routes/identity.mjs.map +2 -2
  240. package/build-module/components/site-editor-routes/index.mjs.map +2 -2
  241. package/build-module/components/site-editor-routes/navigation-item.mjs.map +2 -2
  242. package/build-module/components/site-editor-routes/navigation.mjs.map +2 -2
  243. package/build-module/components/site-editor-routes/notfound.mjs.map +2 -2
  244. package/build-module/components/site-editor-routes/page-item.mjs.map +2 -2
  245. package/build-module/components/site-editor-routes/pages.mjs +3 -0
  246. package/build-module/components/site-editor-routes/pages.mjs.map +2 -2
  247. package/build-module/components/site-editor-routes/pattern-item.mjs.map +2 -2
  248. package/build-module/components/site-editor-routes/patterns.mjs.map +2 -2
  249. package/build-module/components/site-editor-routes/stylebook.mjs.map +2 -2
  250. package/build-module/components/site-editor-routes/styles.mjs.map +2 -2
  251. package/build-module/components/site-editor-routes/template-item.mjs.map +2 -2
  252. package/build-module/components/site-editor-routes/template-part-item.mjs.map +2 -2
  253. package/build-module/components/site-editor-routes/templates.mjs.map +2 -2
  254. package/build-module/components/site-hub/index.mjs.map +2 -2
  255. package/build-module/components/welcome-guide/editor.mjs.map +2 -2
  256. package/build-module/components/welcome-guide/index.mjs.map +2 -2
  257. package/build-module/components/welcome-guide/page.mjs.map +2 -2
  258. package/build-module/components/welcome-guide/template.mjs.map +2 -2
  259. package/build-module/deprecated.mjs.map +2 -2
  260. package/build-module/hooks/commands/use-common-commands.mjs.map +2 -2
  261. package/build-module/hooks/commands/use-set-command-context.mjs.map +2 -2
  262. package/build-module/index.mjs.map +2 -2
  263. package/build-module/lock-unlock.mjs.map +2 -2
  264. package/build-module/store/actions.mjs.map +2 -2
  265. package/build-module/store/index.mjs.map +2 -2
  266. package/build-module/store/reducer.mjs.map +2 -2
  267. package/build-module/store/selectors.mjs.map +2 -2
  268. package/build-module/utils/constants.mjs.map +2 -2
  269. package/build-module/utils/get-filtered-template-parts.mjs.map +2 -2
  270. package/build-module/utils/is-previewing-theme.mjs.map +2 -2
  271. package/build-module/utils/is-template-removable.mjs.map +2 -2
  272. package/build-module/utils/is-template-revertable.mjs.map +2 -2
  273. package/build-module/utils/use-activate-theme.mjs.map +2 -2
  274. package/build-module/utils/use-actual-current-theme.mjs.map +2 -2
  275. package/build-style/style-rtl.css +157 -66
  276. package/build-style/style.css +157 -66
  277. package/package.json +48 -48
  278. package/src/components/add-new-pattern/index.js +0 -7
  279. package/src/components/add-new-post/index.js +0 -3
  280. package/src/components/add-new-template/add-custom-generic-template-modal-content.js +0 -7
  281. package/src/components/add-new-template/add-custom-template-modal-content.js +0 -7
  282. package/src/components/add-new-template/index.js +0 -15
  283. package/src/components/add-new-template/utils.js +0 -7
  284. package/src/components/add-new-template-legacy/add-custom-generic-template-modal-content.js +0 -7
  285. package/src/components/add-new-template-legacy/add-custom-template-modal-content.js +0 -7
  286. package/src/components/add-new-template-legacy/index.js +0 -15
  287. package/src/components/add-new-template-legacy/utils.js +0 -7
  288. package/src/components/app/index.js +0 -7
  289. package/src/components/block-editor/use-editor-iframe-props.js +0 -11
  290. package/src/components/block-editor/use-navigate-to-entity-record.js +11 -39
  291. package/src/components/block-editor/use-site-editor-settings.js +0 -8
  292. package/src/components/block-editor/viewport.js +34 -0
  293. package/src/components/canvas-loader/index.js +0 -7
  294. package/src/components/dataviews-actions/index.js +0 -7
  295. package/src/components/editor/index.js +19 -20
  296. package/src/components/editor/site-preview.js +0 -3
  297. package/src/components/editor/use-adapt-editor-to-canvas.js +1 -8
  298. package/src/components/editor/use-editor-title.js +0 -7
  299. package/src/components/editor/use-resolve-edited-entity.js +0 -7
  300. package/src/components/editor/use-revisions-url-sync.js +132 -0
  301. package/src/components/layout/animation.js +0 -7
  302. package/src/components/layout/hooks.js +0 -3
  303. package/src/components/layout/index.js +10 -14
  304. package/src/components/media/index.js +0 -3
  305. package/src/components/more-menu/index.js +2 -9
  306. package/src/components/more-menu/welcome-guide-menu-item.js +0 -3
  307. package/src/components/page-patterns/actions.js +0 -7
  308. package/src/components/page-patterns/delete-category-menu-item.js +0 -7
  309. package/src/components/page-patterns/fields.js +0 -7
  310. package/src/components/page-patterns/index.js +0 -7
  311. package/src/components/page-patterns/rename-category-menu-item.js +0 -10
  312. package/src/components/page-patterns/search-items.js +0 -12
  313. package/src/components/page-patterns/style.scss +3 -0
  314. package/src/components/page-patterns/use-pattern-settings.js +0 -7
  315. package/src/components/page-patterns/use-patterns.js +0 -7
  316. package/src/components/page-templates/fields.js +0 -11
  317. package/src/components/page-templates/hooks.js +0 -7
  318. package/src/components/page-templates/index-legacy.js +0 -7
  319. package/src/components/page-templates/index.js +0 -7
  320. package/src/components/pagination/index.js +0 -7
  321. package/src/components/plugin-template-setting-panel/index.js +0 -4
  322. package/src/components/post-list/index.js +0 -9
  323. package/src/components/post-list/quick-edit-modal.js +0 -7
  324. package/src/components/post-list/use-notes-count.js +0 -3
  325. package/src/components/resizable-frame/index.js +0 -11
  326. package/src/components/routes/use-title.js +0 -7
  327. package/src/components/save-button/index.js +0 -7
  328. package/src/components/save-hub/index.js +0 -7
  329. package/src/components/save-keyboard-shortcut/index.js +0 -7
  330. package/src/components/save-panel/index.js +0 -11
  331. package/src/components/sidebar/index.js +0 -7
  332. package/src/components/sidebar-button/index.js +0 -7
  333. package/src/components/sidebar-dataviews/index.js +0 -7
  334. package/src/components/sidebar-global-styles/index.js +0 -7
  335. package/src/components/sidebar-identity/index.js +3 -3
  336. package/src/components/sidebar-navigation-item/index.js +0 -11
  337. package/src/components/sidebar-navigation-item/style.scss +3 -10
  338. package/src/components/sidebar-navigation-screen/index.js +0 -11
  339. package/src/components/sidebar-navigation-screen-details-footer/index.js +0 -7
  340. package/src/components/sidebar-navigation-screen-global-styles/content.js +0 -7
  341. package/src/components/sidebar-navigation-screen-global-styles/index.js +0 -7
  342. package/src/components/sidebar-navigation-screen-identity/index.js +0 -7
  343. package/src/components/sidebar-navigation-screen-main/index.js +0 -7
  344. package/src/components/sidebar-navigation-screen-navigation-menu/delete-confirm-dialog.js +0 -3
  345. package/src/components/sidebar-navigation-screen-navigation-menu/index.js +0 -7
  346. package/src/components/sidebar-navigation-screen-navigation-menu/more-menu.js +0 -7
  347. package/src/components/sidebar-navigation-screen-navigation-menu/navigation-menu-editor.js +0 -7
  348. package/src/components/sidebar-navigation-screen-navigation-menu/rename-modal.js +0 -3
  349. package/src/components/sidebar-navigation-screen-navigation-menu/single-navigation-menu.js +0 -6
  350. package/src/components/sidebar-navigation-screen-navigation-menu/use-navigation-menu-handlers.js +0 -7
  351. package/src/components/sidebar-navigation-screen-navigation-menus/build-navigation-label.js +0 -3
  352. package/src/components/sidebar-navigation-screen-navigation-menus/index.js +6 -9
  353. package/src/components/sidebar-navigation-screen-navigation-menus/leaf-more-menu.js +38 -48
  354. package/src/components/sidebar-navigation-screen-navigation-menus/navigation-menu-content.js +0 -7
  355. package/src/components/sidebar-navigation-screen-patterns/category-item.js +0 -3
  356. package/src/components/sidebar-navigation-screen-patterns/index.js +1 -8
  357. package/src/components/sidebar-navigation-screen-patterns/use-default-pattern-categories.js +0 -7
  358. package/src/components/sidebar-navigation-screen-patterns/use-pattern-categories.js +0 -7
  359. package/src/components/sidebar-navigation-screen-patterns/use-template-part-areas.js +0 -7
  360. package/src/components/sidebar-navigation-screen-patterns/use-theme-patterns.js +0 -7
  361. package/src/components/sidebar-navigation-screen-templates-browse/content-legacy.js +0 -7
  362. package/src/components/sidebar-navigation-screen-templates-browse/content.js +1 -8
  363. package/src/components/sidebar-navigation-screen-templates-browse/index.js +1 -8
  364. package/src/components/sidebar-navigation-screen-unsupported/index.js +0 -3
  365. package/src/components/site-editor-routes/home.js +0 -3
  366. package/src/components/site-editor-routes/identity.js +0 -3
  367. package/src/components/site-editor-routes/index.js +0 -7
  368. package/src/components/site-editor-routes/navigation-item.js +0 -3
  369. package/src/components/site-editor-routes/navigation.js +0 -3
  370. package/src/components/site-editor-routes/notfound.js +0 -7
  371. package/src/components/site-editor-routes/page-item.js +0 -7
  372. package/src/components/site-editor-routes/pages.js +3 -7
  373. package/src/components/site-editor-routes/pattern-item.js +0 -3
  374. package/src/components/site-editor-routes/patterns.js +0 -3
  375. package/src/components/site-editor-routes/stylebook.js +0 -7
  376. package/src/components/site-editor-routes/styles.js +0 -7
  377. package/src/components/site-editor-routes/template-item.js +0 -3
  378. package/src/components/site-editor-routes/template-part-item.js +0 -3
  379. package/src/components/site-editor-routes/templates.js +0 -7
  380. package/src/components/site-hub/index.js +0 -7
  381. package/src/components/welcome-guide/editor.js +0 -7
  382. package/src/components/welcome-guide/index.js +0 -3
  383. package/src/components/welcome-guide/page.js +0 -3
  384. package/src/components/welcome-guide/template.js +0 -3
  385. package/src/deprecated.js +0 -3
  386. package/src/hooks/commands/use-common-commands.js +0 -7
  387. package/src/hooks/commands/use-set-command-context.js +0 -7
  388. package/src/index.js +0 -7
  389. package/src/lock-unlock.js +0 -3
  390. package/src/store/actions.js +0 -7
  391. package/src/store/index.js +0 -7
  392. package/src/store/reducer.js +0 -3
  393. package/src/store/selectors.js +0 -7
  394. package/src/style.scss +7 -3
  395. package/src/utils/constants.js +0 -7
  396. package/src/utils/get-filtered-template-parts.js +0 -3
  397. package/src/utils/is-previewing-theme.js +0 -3
  398. package/src/utils/is-template-removable.js +0 -3
  399. package/src/utils/is-template-revertable.js +0 -3
  400. package/src/utils/test/get-filtered-template-parts.js +0 -3
  401. package/src/utils/use-activate-theme.js +0 -7
  402. package/src/utils/use-actual-current-theme.js +0 -3
  403. package/build/components/block-editor/use-viewport-sync.cjs +0 -55
  404. package/build/components/block-editor/use-viewport-sync.cjs.map +0 -7
  405. package/build/components/more-menu/site-export.cjs +0 -93
  406. package/build/components/more-menu/site-export.cjs.map +0 -7
  407. package/build-module/components/block-editor/use-viewport-sync.mjs +0 -29
  408. package/build-module/components/block-editor/use-viewport-sync.mjs.map +0 -7
  409. package/build-module/components/more-menu/site-export.mjs +0 -62
  410. package/build-module/components/more-menu/site-export.mjs.map +0 -7
  411. package/src/components/block-editor/use-viewport-sync.js +0 -51
  412. package/src/components/more-menu/site-export.js +0 -74
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../src/utils/is-template-revertable.js"],
4
- "sourcesContent": ["/**\n * Internal dependencies\n */\nimport { TEMPLATE_ORIGINS } from './constants';\n\n/**\n * Check if a template is revertable to its original theme-provided template file.\n *\n * @param {Object} template The template entity to check.\n * @return {boolean} Whether the template is revertable.\n */\nexport default function isTemplateRevertable( template ) {\n\tif ( ! template ) {\n\t\treturn false;\n\t}\n\n\treturn (\n\t\ttemplate?.source === TEMPLATE_ORIGINS.custom &&\n\t\t( Boolean( template?.plugin ) || template?.has_theme_file )\n\t);\n}\n"],
5
- "mappings": ";AAGA,SAAS,wBAAwB;AAQlB,SAAR,qBAAuC,UAAW;AACxD,MAAK,CAAE,UAAW;AACjB,WAAO;AAAA,EACR;AAEA,SACC,UAAU,WAAW,iBAAiB,WACpC,QAAS,UAAU,MAAO,KAAK,UAAU;AAE7C;",
4
+ "sourcesContent": ["import { TEMPLATE_ORIGINS } from './constants';\n\n/**\n * Check if a template is revertable to its original theme-provided template file.\n *\n * @param {Object} template The template entity to check.\n * @return {boolean} Whether the template is revertable.\n */\nexport default function isTemplateRevertable( template ) {\n\tif ( ! template ) {\n\t\treturn false;\n\t}\n\n\treturn (\n\t\ttemplate?.source === TEMPLATE_ORIGINS.custom &&\n\t\t( Boolean( template?.plugin ) || template?.has_theme_file )\n\t);\n}\n"],
5
+ "mappings": ";AAAA,SAAS,wBAAwB;AAQlB,SAAR,qBAAuC,UAAW;AACxD,MAAK,CAAE,UAAW;AACjB,WAAO;AAAA,EACR;AAEA,SACC,UAAU,WAAW,iBAAiB,WACpC,QAAS,UAAU,MAAO,KAAK,UAAU;AAE7C;",
6
6
  "names": []
7
7
  }
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../src/utils/use-activate-theme.js"],
4
- "sourcesContent": ["/**\n * WordPress dependencies\n */\nimport { store as coreStore } from '@wordpress/core-data';\nimport { useDispatch } from '@wordpress/data';\nimport { privateApis as routerPrivateApis } from '@wordpress/router';\nimport { addQueryArgs } from '@wordpress/url';\n\n/**\n * Internal dependencies\n */\nimport { unlock } from '../lock-unlock';\nimport {\n\tisPreviewingTheme,\n\tcurrentlyPreviewingTheme,\n} from './is-previewing-theme';\n\nconst { useHistory, useLocation } = unlock( routerPrivateApis );\n\n/**\n * This should be refactored to use the REST API, once the REST API can activate themes.\n *\n * @return {Function} A function that activates the theme.\n */\nexport function useActivateTheme() {\n\tconst history = useHistory();\n\tconst { path } = useLocation();\n\tconst { startResolution, finishResolution } = useDispatch( coreStore );\n\n\treturn async () => {\n\t\tif ( isPreviewingTheme() ) {\n\t\t\tconst activationURL =\n\t\t\t\t'themes.php?action=activate&stylesheet=' +\n\t\t\t\tcurrentlyPreviewingTheme() +\n\t\t\t\t'&_wpnonce=' +\n\t\t\t\twindow.WP_BLOCK_THEME_ACTIVATE_NONCE;\n\t\t\tstartResolution( 'activateTheme' );\n\t\t\tawait window.fetch( activationURL );\n\t\t\tfinishResolution( 'activateTheme' );\n\t\t\t// Remove the wp_theme_preview query param: we've finished activating\n\t\t\t// the queue and are switching to normal Site Editor.\n\t\t\thistory.navigate( addQueryArgs( path, { wp_theme_preview: '' } ) );\n\t\t}\n\t};\n}\n"],
5
- "mappings": ";AAGA,SAAS,SAAS,iBAAiB;AACnC,SAAS,mBAAmB;AAC5B,SAAS,eAAe,yBAAyB;AACjD,SAAS,oBAAoB;AAK7B,SAAS,cAAc;AACvB;AAAA,EACC;AAAA,EACA;AAAA,OACM;AAEP,IAAM,EAAE,YAAY,YAAY,IAAI,OAAQ,iBAAkB;AAOvD,SAAS,mBAAmB;AAClC,QAAM,UAAU,WAAW;AAC3B,QAAM,EAAE,KAAK,IAAI,YAAY;AAC7B,QAAM,EAAE,iBAAiB,iBAAiB,IAAI,YAAa,SAAU;AAErE,SAAO,YAAY;AAClB,QAAK,kBAAkB,GAAI;AAC1B,YAAM,gBACL,2CACA,yBAAyB,IACzB,eACA,OAAO;AACR,sBAAiB,eAAgB;AACjC,YAAM,OAAO,MAAO,aAAc;AAClC,uBAAkB,eAAgB;AAGlC,cAAQ,SAAU,aAAc,MAAM,EAAE,kBAAkB,GAAG,CAAE,CAAE;AAAA,IAClE;AAAA,EACD;AACD;",
4
+ "sourcesContent": ["import { store as coreStore } from '@wordpress/core-data';\nimport { useDispatch } from '@wordpress/data';\nimport { privateApis as routerPrivateApis } from '@wordpress/router';\nimport { addQueryArgs } from '@wordpress/url';\nimport { unlock } from '../lock-unlock';\nimport {\n\tisPreviewingTheme,\n\tcurrentlyPreviewingTheme,\n} from './is-previewing-theme';\n\nconst { useHistory, useLocation } = unlock( routerPrivateApis );\n\n/**\n * This should be refactored to use the REST API, once the REST API can activate themes.\n *\n * @return {Function} A function that activates the theme.\n */\nexport function useActivateTheme() {\n\tconst history = useHistory();\n\tconst { path } = useLocation();\n\tconst { startResolution, finishResolution } = useDispatch( coreStore );\n\n\treturn async () => {\n\t\tif ( isPreviewingTheme() ) {\n\t\t\tconst activationURL =\n\t\t\t\t'themes.php?action=activate&stylesheet=' +\n\t\t\t\tcurrentlyPreviewingTheme() +\n\t\t\t\t'&_wpnonce=' +\n\t\t\t\twindow.WP_BLOCK_THEME_ACTIVATE_NONCE;\n\t\t\tstartResolution( 'activateTheme' );\n\t\t\tawait window.fetch( activationURL );\n\t\t\tfinishResolution( 'activateTheme' );\n\t\t\t// Remove the wp_theme_preview query param: we've finished activating\n\t\t\t// the queue and are switching to normal Site Editor.\n\t\t\thistory.navigate( addQueryArgs( path, { wp_theme_preview: '' } ) );\n\t\t}\n\t};\n}\n"],
5
+ "mappings": ";AAAA,SAAS,SAAS,iBAAiB;AACnC,SAAS,mBAAmB;AAC5B,SAAS,eAAe,yBAAyB;AACjD,SAAS,oBAAoB;AAC7B,SAAS,cAAc;AACvB;AAAA,EACC;AAAA,EACA;AAAA,OACM;AAEP,IAAM,EAAE,YAAY,YAAY,IAAI,OAAQ,iBAAkB;AAOvD,SAAS,mBAAmB;AAClC,QAAM,UAAU,WAAW;AAC3B,QAAM,EAAE,KAAK,IAAI,YAAY;AAC7B,QAAM,EAAE,iBAAiB,iBAAiB,IAAI,YAAa,SAAU;AAErE,SAAO,YAAY;AAClB,QAAK,kBAAkB,GAAI;AAC1B,YAAM,gBACL,2CACA,yBAAyB,IACzB,eACA,OAAO;AACR,sBAAiB,eAAgB;AACjC,YAAM,OAAO,MAAO,aAAc;AAClC,uBAAkB,eAAgB;AAGlC,cAAQ,SAAU,aAAc,MAAM,EAAE,kBAAkB,GAAG,CAAE,CAAE;AAAA,IAClE;AAAA,EACD;AACD;",
6
6
  "names": []
7
7
  }
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../src/utils/use-actual-current-theme.js"],
4
- "sourcesContent": ["/**\n * WordPress dependencies\n */\nimport apiFetch from '@wordpress/api-fetch';\nimport { useState, useEffect } from '@wordpress/element';\nimport { addQueryArgs } from '@wordpress/url';\n\nconst ACTIVE_THEMES_URL = '/wp/v2/themes?status=active';\n\nexport function useActualCurrentTheme() {\n\tconst [ currentTheme, setCurrentTheme ] = useState();\n\n\tuseEffect( () => {\n\t\t// Set the `wp_theme_preview` to empty string to bypass the createThemePreviewMiddleware.\n\t\tconst path = addQueryArgs( ACTIVE_THEMES_URL, {\n\t\t\tcontext: 'edit',\n\t\t\twp_theme_preview: '',\n\t\t} );\n\n\t\tapiFetch( { path } )\n\t\t\t.then( ( activeThemes ) => setCurrentTheme( activeThemes[ 0 ] ) )\n\t\t\t// Do nothing\n\t\t\t.catch( () => {} );\n\t}, [] );\n\n\treturn currentTheme;\n}\n"],
5
- "mappings": ";AAGA,OAAO,cAAc;AACrB,SAAS,UAAU,iBAAiB;AACpC,SAAS,oBAAoB;AAE7B,IAAM,oBAAoB;AAEnB,SAAS,wBAAwB;AACvC,QAAM,CAAE,cAAc,eAAgB,IAAI,SAAS;AAEnD,YAAW,MAAM;AAEhB,UAAM,OAAO,aAAc,mBAAmB;AAAA,MAC7C,SAAS;AAAA,MACT,kBAAkB;AAAA,IACnB,CAAE;AAEF,aAAU,EAAE,KAAK,CAAE,EACjB,KAAM,CAAE,iBAAkB,gBAAiB,aAAc,CAAE,CAAE,CAAE,EAE/D,MAAO,MAAM;AAAA,IAAC,CAAE;AAAA,EACnB,GAAG,CAAC,CAAE;AAEN,SAAO;AACR;",
4
+ "sourcesContent": ["import apiFetch from '@wordpress/api-fetch';\nimport { useState, useEffect } from '@wordpress/element';\nimport { addQueryArgs } from '@wordpress/url';\n\nconst ACTIVE_THEMES_URL = '/wp/v2/themes?status=active';\n\nexport function useActualCurrentTheme() {\n\tconst [ currentTheme, setCurrentTheme ] = useState();\n\n\tuseEffect( () => {\n\t\t// Set the `wp_theme_preview` to empty string to bypass the createThemePreviewMiddleware.\n\t\tconst path = addQueryArgs( ACTIVE_THEMES_URL, {\n\t\t\tcontext: 'edit',\n\t\t\twp_theme_preview: '',\n\t\t} );\n\n\t\tapiFetch( { path } )\n\t\t\t.then( ( activeThemes ) => setCurrentTheme( activeThemes[ 0 ] ) )\n\t\t\t// Do nothing\n\t\t\t.catch( () => {} );\n\t}, [] );\n\n\treturn currentTheme;\n}\n"],
5
+ "mappings": ";AAAA,OAAO,cAAc;AACrB,SAAS,UAAU,iBAAiB;AACpC,SAAS,oBAAoB;AAE7B,IAAM,oBAAoB;AAEnB,SAAS,wBAAwB;AACvC,QAAM,CAAE,cAAc,eAAgB,IAAI,SAAS;AAEnD,YAAW,MAAM;AAEhB,UAAM,OAAO,aAAc,mBAAmB;AAAA,MAC7C,SAAS;AAAA,MACT,kBAAkB;AAAA,IACnB,CAAE;AAEF,aAAU,EAAE,KAAK,CAAE,EACjB,KAAM,CAAE,iBAAkB,gBAAiB,aAAc,CAAE,CAAE,CAAE,EAE/D,MAAO,MAAM;AAAA,IAAC,CAAE;AAAA,EACnB,GAAG,CAAC,CAAE;AAEN,SAAO;AACR;",
6
6
  "names": []
7
7
  }
@@ -438,8 +438,8 @@
438
438
 
439
439
  .dataviews-filters__summary-operators-container .dataviews-filters__summary-operators-filter-select {
440
440
  width: 100%;
441
+ min-width: 0;
441
442
  white-space: nowrap;
442
- overflow: hidden;
443
443
  }
444
444
 
445
445
  .dataviews-filters__summary-chip-container {
@@ -716,16 +716,10 @@
716
716
  font-size: 16px;
717
717
  /* Override core line-height. To be reviewed. */
718
718
  line-height: normal;
719
- box-shadow: 0 0 0 transparent;
720
- border-radius: 2px;
721
- border: 1px solid #949494;
719
+ border: var(--wpds-border-width-xs, 1px) solid var(--wpds-color-stroke-interactive-neutral, #8d8d8d);
720
+ border-radius: var(--wpds-border-radius-sm, 2px);
722
721
  }
723
722
 
724
- @media not (prefers-reduced-motion) {
725
- .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-multi-selection {
726
- transition: box-shadow 0.1s linear;
727
- }
728
- }
729
723
  @media (min-width: 600px) {
730
724
  .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-multi-selection {
731
725
  font-size: 13px;
@@ -733,10 +727,15 @@
733
727
  line-height: normal;
734
728
  }
735
729
  }
730
+ .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-multi-selection:hover:not(:disabled, [aria-disabled=true], [type=checkbox]) {
731
+ border-color: var(--wpds-color-stroke-interactive-neutral-active, #6e6e6e);
732
+ }
733
+
736
734
  .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-multi-selection:focus {
737
- border-color: var(--wp-admin-theme-color);
738
- box-shadow: 0 0 0 0.5px var(--wp-admin-theme-color);
739
- outline: 2px solid transparent;
735
+ outline: var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px)) solid var(--focus-color, var(--wpds-color-stroke-focus, var(--wp-admin-theme-color, #3858e9)));
736
+ outline-offset: var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px));
737
+ border-color: var(--wpds-color-stroke-interactive-neutral, #8d8d8d);
738
+ box-shadow: none;
740
739
  }
741
740
 
742
741
  .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-multi-selection::-moz-placeholder {
@@ -851,16 +850,10 @@
851
850
  font-size: 16px;
852
851
  /* Override core line-height. To be reviewed. */
853
852
  line-height: normal;
854
- box-shadow: 0 0 0 transparent;
855
- border-radius: 2px;
856
- border: 1px solid #949494;
853
+ border: var(--wpds-border-width-xs, 1px) solid var(--wpds-color-stroke-interactive-neutral, #8d8d8d);
854
+ border-radius: var(--wpds-border-radius-sm, 2px);
857
855
  }
858
856
 
859
- @media not (prefers-reduced-motion) {
860
- .dataviews-filters__search-widget-filter-combobox__wrapper .dataviews-filters__search-widget-filter-combobox__input {
861
- transition: box-shadow 0.1s linear;
862
- }
863
- }
864
857
  @media (min-width: 600px) {
865
858
  .dataviews-filters__search-widget-filter-combobox__wrapper .dataviews-filters__search-widget-filter-combobox__input {
866
859
  font-size: 13px;
@@ -868,10 +861,15 @@
868
861
  line-height: normal;
869
862
  }
870
863
  }
864
+ .dataviews-filters__search-widget-filter-combobox__wrapper .dataviews-filters__search-widget-filter-combobox__input:hover:not(:disabled, [aria-disabled=true], [type=checkbox]) {
865
+ border-color: var(--wpds-color-stroke-interactive-neutral-active, #6e6e6e);
866
+ }
867
+
871
868
  .dataviews-filters__search-widget-filter-combobox__wrapper .dataviews-filters__search-widget-filter-combobox__input:focus {
872
- border-color: var(--wp-admin-theme-color);
873
- box-shadow: 0 0 0 0.5px var(--wp-admin-theme-color);
874
- outline: 2px solid transparent;
869
+ outline: var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px)) solid var(--focus-color, var(--wpds-color-stroke-focus, var(--wp-admin-theme-color, #3858e9)));
870
+ outline-offset: var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px));
871
+ border-color: var(--wpds-color-stroke-interactive-neutral, #8d8d8d);
872
+ box-shadow: none;
875
873
  }
876
874
 
877
875
  .dataviews-filters__search-widget-filter-combobox__wrapper .dataviews-filters__search-widget-filter-combobox__input::-moz-placeholder {
@@ -900,7 +898,6 @@
900
898
  }
901
899
  .dataviews-filters__search-widget-filter-combobox__wrapper .dataviews-filters__search-widget-filter-combobox__input:focus {
902
900
  background: var(--wpds-color-background-surface-neutral-strong, #fff);
903
- box-shadow: inset 0 0 0 var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px)) var(--wpds-color-stroke-focus, var(--wp-admin-theme-color, #3858e9));
904
901
  }
905
902
 
906
903
  .dataviews-filters__search-widget-filter-combobox__wrapper .dataviews-filters__search-widget-filter-combobox__input::-moz-placeholder {
@@ -1257,7 +1254,7 @@
1257
1254
  .dataviews-view-grid .dataviews-view-grid__media,
1258
1255
  .dataviews-view-grid-infinite-scroll .dataviews-view-grid__media {
1259
1256
  width: 100%;
1260
- aspect-ratio: 1/1;
1257
+ aspect-ratio: var(--wp-dataviews-media-aspect-ratio, 1/1);
1261
1258
  background-color: var(--wpds-color-background-surface-neutral-strong, #fff);
1262
1259
  border-radius: var(--wpds-border-radius-md, 4px);
1263
1260
  overflow: hidden;
@@ -1300,6 +1297,17 @@
1300
1297
  background: var(--wpds-color-background-surface-neutral, #fcfcfc);
1301
1298
  }
1302
1299
 
1300
+ .dataviews-view-grid.has-media-fit-contain .dataviews-view-grid__media,
1301
+ .dataviews-view-grid-infinite-scroll.has-media-fit-contain .dataviews-view-grid__media {
1302
+ background-color: var(--wpds-color-background-surface-neutral, #fcfcfc);
1303
+ }
1304
+
1305
+ .dataviews-view-grid.has-media-fit-contain .dataviews-view-grid__media img,
1306
+ .dataviews-view-grid-infinite-scroll.has-media-fit-contain .dataviews-view-grid__media img {
1307
+ -o-object-fit: contain;
1308
+ object-fit: contain;
1309
+ }
1310
+
1303
1311
  .dataviews-view-grid .dataviews-view-grid__fields,
1304
1312
  .dataviews-view-grid-infinite-scroll .dataviews-view-grid__fields {
1305
1313
  position: relative;
@@ -1517,8 +1525,7 @@ div.dataviews-view-list {
1517
1525
  .dataviews-view-list div[role=article]:not(.is-selected):hover,
1518
1526
  .dataviews-view-list div[role=article]:not(.is-selected).is-hovered,
1519
1527
  .dataviews-view-list div[role=article]:not(.is-selected):focus-within {
1520
- color: var(--wpds-color-foreground-interactive-brand, var(--wp-admin-theme-color, #3858e9));
1521
- background-color: var(--wpds-color-background-interactive-brand-weak, rgba(0, 0, 0, 0));
1528
+ background-color: var(--wpds-color-background-interactive-neutral-weak-active, #ededed);
1522
1529
  }
1523
1530
 
1524
1531
  .dataviews-view-list div[role=row]:not(.is-selected):hover .dataviews-title-field,
@@ -1531,7 +1538,7 @@ div.dataviews-view-list {
1531
1538
  .dataviews-view-list div[role=article]:not(.is-selected).is-hovered .dataviews-view-list__field,
1532
1539
  .dataviews-view-list div[role=article]:not(.is-selected):focus-within .dataviews-title-field,
1533
1540
  .dataviews-view-list div[role=article]:not(.is-selected):focus-within .dataviews-view-list__field {
1534
- color: var(--wpds-color-foreground-interactive-brand, var(--wp-admin-theme-color, #3858e9));
1541
+ color: var(--wpds-color-foreground-interactive-neutral, #1e1e1e);
1535
1542
  }
1536
1543
 
1537
1544
  .dataviews-view-list div[role=row].is-selected .dataviews-view-list__item-wrapper,
@@ -1539,7 +1546,7 @@ div.dataviews-view-list {
1539
1546
  .dataviews-view-list div[role=article].is-selected .dataviews-view-list__item-wrapper,
1540
1547
  .dataviews-view-list div[role=article].is-selected:focus-within .dataviews-view-list__item-wrapper {
1541
1548
  background-color: var(--wpds-color-background-interactive-brand-weak-active, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 12%, white));
1542
- color: var(--wpds-color-foreground-interactive-neutral, #1e1e1e);
1549
+ color: var(--wpds-color-foreground-content-neutral, #1e1e1e);
1543
1550
  }
1544
1551
 
1545
1552
  .dataviews-view-list div[role=row].is-selected .dataviews-view-list__item-wrapper .dataviews-title-field,
@@ -1550,7 +1557,7 @@ div.dataviews-view-list {
1550
1557
  .dataviews-view-list div[role=article].is-selected .dataviews-view-list__item-wrapper .dataviews-view-list__field,
1551
1558
  .dataviews-view-list div[role=article].is-selected:focus-within .dataviews-view-list__item-wrapper .dataviews-title-field,
1552
1559
  .dataviews-view-list div[role=article].is-selected:focus-within .dataviews-view-list__item-wrapper .dataviews-view-list__field {
1553
- color: var(--wpds-color-foreground-interactive-neutral-active, #1e1e1e);
1560
+ color: var(--wpds-color-foreground-content-neutral, #1e1e1e);
1554
1561
  }
1555
1562
 
1556
1563
  .dataviews-view-list .dataviews-view-list__item {
@@ -1626,7 +1633,7 @@ div.dataviews-view-list {
1626
1633
  }
1627
1634
 
1628
1635
  .dataviews-view-list .dataviews-view-list__field {
1629
- color: var(--wpds-color-foreground-interactive-neutral-weak, #707070);
1636
+ color: var(--wpds-color-foreground-content-neutral-weak, #707070);
1630
1637
  }
1631
1638
 
1632
1639
  .dataviews-view-list .dataviews-view-list__fields {
@@ -1775,7 +1782,7 @@ div.dataviews-view-list {
1775
1782
  bottom: 0;
1776
1783
  right: 0;
1777
1784
  width: 1px;
1778
- background-color: var(--wpds-color-background-surface-neutral, #fcfcfc);
1785
+ background-color: var(--wpds-color-stroke-surface-neutral-weak, #f0f0f0);
1779
1786
  }
1780
1787
 
1781
1788
  .dataviews-view-table td.dataviews-view-table__checkbox-column,
@@ -2004,6 +2011,17 @@ div.dataviews-view-list {
2004
2011
  border-radius: var(--wpds-border-radius-md, 4px);
2005
2012
  }
2006
2013
 
2014
+ .dataviews-view-table.has-media-aspect-ratio .dataviews-column-primary__media {
2015
+ height: var(--wpds-dimension-size-md, 32px);
2016
+ aspect-ratio: var(--wp-dataviews-media-aspect-ratio, 1/1);
2017
+ min-width: 0;
2018
+ }
2019
+
2020
+ .dataviews-view-table.has-media-aspect-ratio .dataviews-column-primary__media img {
2021
+ width: 100%;
2022
+ height: 100%;
2023
+ }
2024
+
2007
2025
  .dataviews-view-table__cell-content-wrapper:not(.dataviews-column-primary__media),
2008
2026
  .dataviews-view-table__primary-column-content:not(.dataviews-column-primary__media) {
2009
2027
  min-width: 15ch;
@@ -2097,6 +2115,7 @@ div.dataviews-view-list {
2097
2115
  min-height: 0;
2098
2116
  background-color: var(--wpds-color-background-surface-neutral-strong, #fff);
2099
2117
  border-radius: var(--wpds-border-radius-md, 4px);
2118
+ overflow: hidden;
2100
2119
  position: relative;
2101
2120
  }
2102
2121
 
@@ -2119,6 +2138,15 @@ div.dataviews-view-list {
2119
2138
  pointer-events: none;
2120
2139
  }
2121
2140
 
2141
+ .dataviews-view-picker-grid.has-media-fit-contain .dataviews-view-picker-grid__media {
2142
+ background-color: var(--wpds-color-background-surface-neutral, #fcfcfc);
2143
+ }
2144
+
2145
+ .dataviews-view-picker-grid.has-media-fit-contain .dataviews-view-picker-grid__media img {
2146
+ -o-object-fit: contain;
2147
+ object-fit: contain;
2148
+ }
2149
+
2122
2150
  .dataviews-view-picker-grid .dataviews-view-picker-grid__fields {
2123
2151
  position: relative;
2124
2152
  font-size: 12px;
@@ -2657,11 +2685,6 @@ div.dataviews-view-list {
2657
2685
  align-self: flex-end;
2658
2686
  }
2659
2687
 
2660
- .dataviews-controls__richtext [data-rich-text-placeholder]::after {
2661
- content: attr(data-rich-text-placeholder);
2662
- color: color-mix(in srgb, currentColor, transparent 38%);
2663
- }
2664
-
2665
2688
  .dataviews-controls__datetime {
2666
2689
  border: none;
2667
2690
  padding: 0;
@@ -2694,6 +2717,35 @@ div.dataviews-view-list {
2694
2717
  background-color: var(--wpds-color-background-interactive-neutral-strong-active, #1e1e1e);
2695
2718
  }
2696
2719
 
2720
+ .dataviews-validated-control__wrapper-with-error-delegate:has(input[type=radio]:invalid[data-validity-visible]), .dataviews-validated-control__wrapper-with-error-delegate:has(input:invalid[data-validity-visible]) .components-form-token-field__input-container:not(:has([aria-expanded=true])), .dataviews-validated-control .components-combobox-control__suggestions-container:has(input:invalid[data-validity-visible]):not(:has([aria-expanded=true])), .dataviews-validated-control:has(:is(input, select):invalid[data-validity-visible]) .components-input-control__backdrop {
2721
+ --focus-color: #cc1818;
2722
+ }
2723
+
2724
+ .dataviews-validated-control:has(:is(input, select):invalid[data-validity-visible]) .components-input-control__backdrop {
2725
+ border-color: #cc1818;
2726
+ }
2727
+
2728
+ .dataviews-validated-control .components-combobox-control__suggestions-container:has(input:invalid[data-validity-visible]):not(:has([aria-expanded=true])) {
2729
+ border-color: #cc1818;
2730
+ }
2731
+
2732
+ .dataviews-validated-control__wrapper-with-error-delegate {
2733
+ position: relative;
2734
+ }
2735
+
2736
+ .dataviews-validated-control__wrapper-with-error-delegate:has(input:invalid[data-validity-visible]) .components-form-token-field__input-container:not(:has([aria-expanded=true])) {
2737
+ border-color: #cc1818;
2738
+ }
2739
+
2740
+ .dataviews-validated-control__error-delegate {
2741
+ position: absolute;
2742
+ top: 0;
2743
+ height: 100%;
2744
+ width: 100%;
2745
+ opacity: 0;
2746
+ pointer-events: none;
2747
+ }
2748
+
2697
2749
  .dataforms-layouts-panel__field-trigger {
2698
2750
  position: relative;
2699
2751
  color: inherit;
@@ -2758,6 +2810,12 @@ div.dataviews-view-list {
2758
2810
  border-radius: var(--wpds-border-radius-xs, 1px);
2759
2811
  }
2760
2812
 
2813
+ .dataforms-layouts-panel__field-trigger-icon::after {
2814
+ content: "";
2815
+ position: absolute;
2816
+ inset: 0;
2817
+ }
2818
+
2761
2819
  .dataforms-layouts-panel__field-trigger-icon:focus-visible {
2762
2820
  opacity: 1;
2763
2821
  outline: var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px)) solid var(--wpds-color-stroke-focus, var(--wp-admin-theme-color, #3858e9));
@@ -2793,9 +2851,7 @@ div.dataviews-view-list {
2793
2851
  }
2794
2852
 
2795
2853
  .dataforms-layouts-panel__field-label-error-content {
2796
- position: relative;
2797
- z-index: 1;
2798
- cursor: help;
2854
+ pointer-events: none;
2799
2855
  color: var(--wpds-color-foreground-content-error-weak, #cc1818);
2800
2856
  display: inline-flex;
2801
2857
  flex-direction: row;
@@ -2817,6 +2873,10 @@ div.dataviews-view-list {
2817
2873
  font-weight: var(--wpds-typography-font-weight-emphasis, 600);
2818
2874
  }
2819
2875
 
2876
+ .dataforms-layouts-panel__field-control:has(a, button) {
2877
+ z-index: 1;
2878
+ }
2879
+
2820
2880
  .dataforms-layouts-panel__field-control > * {
2821
2881
  min-width: 0;
2822
2882
  }
@@ -2851,10 +2911,6 @@ div.dataviews-view-list {
2851
2911
  z-index: 159990;
2852
2912
  }
2853
2913
 
2854
- .dataforms-layouts-panel__summary-button:empty {
2855
- min-width: 160px;
2856
- }
2857
-
2858
2914
  .dataforms-layouts-regular__field {
2859
2915
  width: 100%;
2860
2916
  min-height: var(--wpds-dimension-size-md, 32px);
@@ -3681,7 +3737,7 @@ fieldset.fields__media-edit .fields__media-edit-expanded:not(.is-empty) .fields_
3681
3737
  position: absolute;
3682
3738
  width: 100%;
3683
3739
  bottom: 0;
3684
- border-top: 1px solid #ddd;
3740
+ border-top: 1px solid var(--wpds-color-stroke-surface-neutral, #dbdbdb);
3685
3741
  padding: 24px;
3686
3742
  background-color: #fff;
3687
3743
  box-sizing: border-box;
@@ -3725,9 +3781,13 @@ fieldset.fields__media-edit .fields__media-edit-expanded:not(.is-empty) .fields_
3725
3781
  margin-bottom: 0;
3726
3782
  }
3727
3783
 
3784
+ .font-library__font-demo {
3785
+ position: relative;
3786
+ }
3787
+
3728
3788
  .font-library__font-card {
3729
3789
  box-sizing: border-box;
3730
- border: 1px solid #ddd;
3790
+ border: 1px solid var(--wpds-color-stroke-surface-neutral, #dbdbdb);
3731
3791
  width: 100%;
3732
3792
  height: auto !important;
3733
3793
  padding: 16px;
@@ -3756,6 +3816,23 @@ fieldset.fields__media-edit .fields__media-edit-expanded:not(.is-empty) .fields_
3756
3816
  width: auto;
3757
3817
  }
3758
3818
 
3819
+ @media not (prefers-reduced-motion) {
3820
+ .font-library__font-card .font-library__font-variant_demo-image {
3821
+ transition: opacity var(--wpds-motion-duration-lg, 300ms) var(--wpds-motion-easing-subtle, cubic-bezier(0.15, 0, 0.15, 1));
3822
+ }
3823
+ }
3824
+ .font-library__font-card .font-library__font-variant_demo-image.is-loading {
3825
+ position: absolute;
3826
+ top: 0;
3827
+ right: 0;
3828
+ opacity: 0;
3829
+ }
3830
+
3831
+ .font-library__font-card .font-library__font-variant-demo-skeleton {
3832
+ height: 24px;
3833
+ border-radius: var(--wpds-border-radius-sm, 2px);
3834
+ }
3835
+
3759
3836
  .font-library__font-card .font-library__font-variant_demo-text {
3760
3837
  white-space: nowrap;
3761
3838
  flex-shrink: 0;
@@ -3769,7 +3846,7 @@ fieldset.fields__media-edit .fields__media-edit-expanded:not(.is-empty) .fields_
3769
3846
  .font-library-modal__tablist-container {
3770
3847
  position: sticky;
3771
3848
  top: 0;
3772
- border-bottom: 1px solid #ddd;
3849
+ border-bottom: 1px solid var(--wpds-color-stroke-surface-neutral, #dbdbdb);
3773
3850
  background: #fff;
3774
3851
  z-index: 1;
3775
3852
  }
@@ -3909,7 +3986,7 @@ button.font-library__upload-area {
3909
3986
  right: 16px;
3910
3987
  top: 0;
3911
3988
  width: 0;
3912
- border: 0.5px solid #ddd;
3989
+ border: 0.5px solid var(--wpds-color-stroke-surface-neutral, #dbdbdb);
3913
3990
  }
3914
3991
 
3915
3992
  .global-styles-ui-screen-revisions__revision-item:first-child::after {
@@ -4016,7 +4093,7 @@ button.font-library__upload-area {
4016
4093
  bottom: 0;
4017
4094
  background: #fff;
4018
4095
  padding: 12px;
4019
- border-top: 1px solid #ddd;
4096
+ border-top: 1px solid var(--wpds-color-stroke-surface-neutral, #dbdbdb);
4020
4097
  box-sizing: border-box;
4021
4098
  }
4022
4099
 
@@ -4102,11 +4179,32 @@ button.font-library__upload-area {
4102
4179
  border-radius: 2px;
4103
4180
  }
4104
4181
 
4105
- .global-styles-ui-block-types-search {
4106
- margin-bottom: 10px;
4182
+ .global-styles-ui-block-types-filter {
4183
+ margin-bottom: 12px;
4107
4184
  padding: 0 16px;
4108
4185
  }
4109
4186
 
4187
+ .global-styles-ui-block-types-search {
4188
+ flex-grow: 1;
4189
+ }
4190
+
4191
+ .global-styles-ui-block-types-item-list .global-styles-ui-block-types-item__icon {
4192
+ min-width: 24px;
4193
+ }
4194
+
4195
+ .global-styles-ui-block-types-item-list__no-results {
4196
+ padding-top: 16px;
4197
+ }
4198
+
4199
+ .global-styles-ui-block-types-item__indicator {
4200
+ background: var(--wp-admin-theme-color);
4201
+ border-radius: 50%;
4202
+ flex: none;
4203
+ height: 6px;
4204
+ margin-right: auto;
4205
+ width: 6px;
4206
+ }
4207
+
4110
4208
  .global-styles-ui-screen-typography__font-variants-count {
4111
4209
  color: #757575;
4112
4210
  }
@@ -4217,10 +4315,6 @@ button.font-library__upload-area {
4217
4315
  opacity: 0;
4218
4316
  }
4219
4317
 
4220
- .global-styles-ui__shadow-editor__remove-button.global-styles-ui__shadow-editor__remove-button {
4221
- border: none;
4222
- }
4223
-
4224
4318
  .global-styles-ui__shadow-editor__dropdown-toggle:hover + .global-styles-ui__shadow-editor__remove-button, .global-styles-ui__shadow-editor__remove-button:focus, .global-styles-ui__shadow-editor__remove-button:hover {
4225
4319
  opacity: 1;
4226
4320
  }
@@ -4312,7 +4406,8 @@ button.font-library__upload-area {
4312
4406
  }
4313
4407
 
4314
4408
  .global-styles-ui-color-palette-panel,
4315
- .global-styles-ui-gradient-palette-panel {
4409
+ .global-styles-ui-gradient-palette-panel,
4410
+ .global-styles-ui-duotone-palette-panel {
4316
4411
  padding: 16px;
4317
4412
  }
4318
4413
 
@@ -4559,6 +4654,7 @@ button.font-library__upload-area {
4559
4654
  .edit-site-page-patterns-dataviews .dataviews-view-grid__badge-fields .dataviews-view-grid__field-value:has(.fields-field__pattern-sync-status-fully) {
4560
4655
  background: rgba(var(--wp-block-synced-color--rgb), 0.04);
4561
4656
  color: var(--wp-block-synced-color);
4657
+ border-color: currentColor;
4562
4658
  }
4563
4659
 
4564
4660
  .dataviews-action-modal__duplicate-pattern [role=dialog] > [role=document] {
@@ -4899,7 +4995,7 @@ html.canvas-mode-edit-transition::view-transition-group(toggle) {
4899
4995
 
4900
4996
  .edit-site-layout__snackbar {
4901
4997
  position: fixed;
4902
- bottom: 24px;
4998
+ bottom: var(--wpds-dimension-size-md, 32px);
4903
4999
  right: 0;
4904
5000
  left: 0;
4905
5001
  padding-inline: 16px;
@@ -5045,12 +5141,9 @@ html.canvas-mode-edit-transition::view-transition-group(toggle) {
5045
5141
  border: none;
5046
5142
  min-height: 40px;
5047
5143
  }
5048
- .edit-site-sidebar-navigation-item.components-item:hover, .edit-site-sidebar-navigation-item.components-item:focus, .edit-site-sidebar-navigation-item.components-item[aria-current=true] {
5144
+ .edit-site-sidebar-navigation-item.components-item:focus, .edit-site-sidebar-navigation-item.components-item[aria-current=true], .edit-site-sidebar-navigation-item.components-item.edit-site-sidebar-navigation-item.components-item:hover {
5049
5145
  color: var(--wpds-color-foreground-interactive-neutral-weak-active, #1e1e1e);
5050
5146
  }
5051
- .edit-site-sidebar-navigation-item.components-item:hover .edit-site-sidebar-navigation-item__drilldown-indicator, .edit-site-sidebar-navigation-item.components-item:focus .edit-site-sidebar-navigation-item__drilldown-indicator, .edit-site-sidebar-navigation-item.components-item[aria-current=true] .edit-site-sidebar-navigation-item__drilldown-indicator {
5052
- fill: var(--wpds-color-foreground-interactive-neutral-weak-active, #1e1e1e);
5053
- }
5054
5147
  .edit-site-sidebar-navigation-item.components-item[aria-current=true] {
5055
5148
  background: var(--wpds-color-background-interactive-neutral-weak-active, #ededed);
5056
5149
  color: var(--wpds-color-foreground-interactive-neutral-weak-active, #1e1e1e);
@@ -5060,9 +5153,6 @@ html.canvas-mode-edit-transition::view-transition-group(toggle) {
5060
5153
  --wp-components-color-accent: var(--wpds-color-stroke-focus, var(--wp-admin-theme-color, #3858e9));
5061
5154
  transform: translateZ(0);
5062
5155
  }
5063
- .edit-site-sidebar-navigation-item.components-item .edit-site-sidebar-navigation-item__drilldown-indicator {
5064
- fill: var(--wpds-color-foreground-interactive-neutral-weak, #707070);
5065
- }
5066
5156
  .edit-site-sidebar-navigation-item.components-item.with-suffix {
5067
5157
  padding-left: 16px;
5068
5158
  }
@@ -5549,9 +5639,10 @@ body.js.site-editor-php {
5549
5639
  @media (min-width: 782px) {
5550
5640
  body.js.site-editor-php:has(.editor-editor-interface.is-distraction-free) {
5551
5641
  --wp-admin--admin-bar--height: 0px;
5642
+ --wp-editor-admin-bar-display: none;
5552
5643
  }
5553
- body.js.site-editor-php:has(.editor-editor-interface.is-distraction-free) #wpadminbar {
5554
- display: none;
5644
+ body.js.site-editor-php #wpadminbar {
5645
+ display: var(--wp-editor-admin-bar-display, block);
5555
5646
  }
5556
5647
  }
5557
5648