@wordpress/edit-site 7.2.0 → 7.3.2-next.v.202608281122.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.
- package/CHANGELOG.md +31 -0
- package/build/components/add-new-pattern/index.cjs +1 -1
- package/build/components/add-new-pattern/index.cjs.map +1 -1
- package/build/components/add-new-post/index.cjs +1 -1
- package/build/components/add-new-post/index.cjs.map +1 -1
- package/build/components/add-new-template/add-custom-generic-template-modal-content.cjs +1 -1
- package/build/components/add-new-template/add-custom-generic-template-modal-content.cjs.map +1 -1
- package/build/components/add-new-template/add-custom-template-modal-content.cjs +1 -1
- package/build/components/add-new-template/add-custom-template-modal-content.cjs.map +1 -1
- package/build/components/add-new-template/index.cjs +1 -1
- package/build/components/add-new-template/index.cjs.map +1 -1
- package/build/components/add-new-template-legacy/add-custom-generic-template-modal-content.cjs +1 -1
- package/build/components/add-new-template-legacy/add-custom-generic-template-modal-content.cjs.map +1 -1
- package/build/components/add-new-template-legacy/add-custom-template-modal-content.cjs +1 -1
- package/build/components/add-new-template-legacy/add-custom-template-modal-content.cjs.map +1 -1
- package/build/components/add-new-template-legacy/index.cjs +1 -1
- package/build/components/add-new-template-legacy/index.cjs.map +1 -1
- package/build/components/app/index.cjs +1 -1
- package/build/components/app/index.cjs.map +1 -1
- package/build/components/block-editor/use-navigate-to-entity-record.cjs +4 -20
- package/build/components/block-editor/use-navigate-to-entity-record.cjs.map +2 -2
- package/build/components/block-editor/use-site-editor-settings.cjs +0 -1
- package/build/components/block-editor/use-site-editor-settings.cjs.map +2 -2
- package/build/components/block-editor/viewport.cjs +46 -0
- package/build/components/block-editor/viewport.cjs.map +7 -0
- package/build/components/canvas-loader/index.cjs +1 -1
- package/build/components/canvas-loader/index.cjs.map +1 -1
- package/build/components/editor/index.cjs +9 -8
- package/build/components/editor/index.cjs.map +4 -4
- package/build/components/editor/site-preview.cjs +1 -1
- package/build/components/editor/site-preview.cjs.map +1 -1
- package/build/components/editor/use-adapt-editor-to-canvas.cjs +2 -13
- package/build/components/editor/use-adapt-editor-to-canvas.cjs.map +3 -3
- package/build/components/layout/index.cjs +12 -2
- package/build/components/layout/index.cjs.map +3 -3
- package/build/components/media/index.cjs +1 -1
- package/build/components/media/index.cjs.map +1 -1
- package/build/components/more-menu/index.cjs +3 -4
- package/build/components/more-menu/index.cjs.map +4 -4
- package/build/components/more-menu/welcome-guide-menu-item.cjs +1 -1
- package/build/components/more-menu/welcome-guide-menu-item.cjs.map +1 -1
- package/build/components/page-patterns/actions.cjs +1 -1
- package/build/components/page-patterns/actions.cjs.map +1 -1
- package/build/components/page-patterns/delete-category-menu-item.cjs +1 -1
- package/build/components/page-patterns/delete-category-menu-item.cjs.map +1 -1
- package/build/components/page-patterns/fields.cjs +1 -1
- package/build/components/page-patterns/fields.cjs.map +1 -1
- package/build/components/page-patterns/index.cjs +1 -1
- package/build/components/page-patterns/index.cjs.map +1 -1
- package/build/components/page-patterns/rename-category-menu-item.cjs +1 -1
- package/build/components/page-patterns/rename-category-menu-item.cjs.map +1 -1
- package/build/components/page-templates/fields.cjs +1 -1
- package/build/components/page-templates/fields.cjs.map +1 -1
- package/build/components/page-templates/index-legacy.cjs +1 -1
- package/build/components/page-templates/index-legacy.cjs.map +1 -1
- package/build/components/page-templates/index.cjs +1 -1
- package/build/components/page-templates/index.cjs.map +1 -1
- package/build/components/pagination/index.cjs +1 -1
- package/build/components/pagination/index.cjs.map +1 -1
- package/build/components/plugin-template-setting-panel/index.cjs +1 -1
- package/build/components/plugin-template-setting-panel/index.cjs.map +1 -1
- package/build/components/post-list/index.cjs +1 -1
- package/build/components/post-list/index.cjs.map +1 -1
- package/build/components/post-list/quick-edit-modal.cjs +1 -1
- package/build/components/post-list/quick-edit-modal.cjs.map +1 -1
- package/build/components/resizable-frame/index.cjs +1 -1
- package/build/components/resizable-frame/index.cjs.map +1 -1
- package/build/components/save-button/index.cjs +1 -1
- package/build/components/save-button/index.cjs.map +1 -1
- package/build/components/save-hub/index.cjs +1 -1
- package/build/components/save-hub/index.cjs.map +1 -1
- package/build/components/save-panel/index.cjs +1 -1
- package/build/components/save-panel/index.cjs.map +1 -1
- package/build/components/sidebar/index.cjs +1 -1
- package/build/components/sidebar/index.cjs.map +1 -1
- package/build/components/sidebar-button/index.cjs +1 -1
- package/build/components/sidebar-button/index.cjs.map +1 -1
- package/build/components/sidebar-dataviews/index.cjs +1 -1
- package/build/components/sidebar-dataviews/index.cjs.map +1 -1
- package/build/components/sidebar-global-styles/index.cjs +1 -1
- package/build/components/sidebar-global-styles/index.cjs.map +1 -1
- package/build/components/sidebar-identity/index.cjs +1 -1
- package/build/components/sidebar-identity/index.cjs.map +1 -1
- package/build/components/sidebar-navigation-item/index.cjs +1 -1
- package/build/components/sidebar-navigation-item/index.cjs.map +1 -1
- package/build/components/sidebar-navigation-screen/index.cjs +1 -1
- package/build/components/sidebar-navigation-screen/index.cjs.map +1 -1
- package/build/components/sidebar-navigation-screen-details-footer/index.cjs +1 -1
- package/build/components/sidebar-navigation-screen-details-footer/index.cjs.map +1 -1
- package/build/components/sidebar-navigation-screen-global-styles/content.cjs +1 -1
- package/build/components/sidebar-navigation-screen-global-styles/content.cjs.map +1 -1
- package/build/components/sidebar-navigation-screen-global-styles/index.cjs +1 -1
- package/build/components/sidebar-navigation-screen-global-styles/index.cjs.map +1 -1
- package/build/components/sidebar-navigation-screen-identity/index.cjs +1 -1
- package/build/components/sidebar-navigation-screen-identity/index.cjs.map +1 -1
- package/build/components/sidebar-navigation-screen-main/index.cjs +1 -1
- package/build/components/sidebar-navigation-screen-main/index.cjs.map +1 -1
- package/build/components/sidebar-navigation-screen-navigation-menu/delete-confirm-dialog.cjs +1 -1
- package/build/components/sidebar-navigation-screen-navigation-menu/delete-confirm-dialog.cjs.map +1 -1
- package/build/components/sidebar-navigation-screen-navigation-menu/index.cjs +1 -1
- package/build/components/sidebar-navigation-screen-navigation-menu/index.cjs.map +1 -1
- package/build/components/sidebar-navigation-screen-navigation-menu/more-menu.cjs +1 -1
- package/build/components/sidebar-navigation-screen-navigation-menu/more-menu.cjs.map +1 -1
- package/build/components/sidebar-navigation-screen-navigation-menu/navigation-menu-editor.cjs +1 -1
- package/build/components/sidebar-navigation-screen-navigation-menu/navigation-menu-editor.cjs.map +1 -1
- package/build/components/sidebar-navigation-screen-navigation-menu/rename-modal.cjs +1 -1
- package/build/components/sidebar-navigation-screen-navigation-menu/rename-modal.cjs.map +1 -1
- package/build/components/sidebar-navigation-screen-navigation-menu/single-navigation-menu.cjs +1 -1
- package/build/components/sidebar-navigation-screen-navigation-menu/single-navigation-menu.cjs.map +1 -1
- package/build/components/sidebar-navigation-screen-navigation-menus/build-navigation-label.cjs.map +1 -1
- package/build/components/sidebar-navigation-screen-navigation-menus/index.cjs +4 -2
- package/build/components/sidebar-navigation-screen-navigation-menus/index.cjs.map +3 -3
- package/build/components/sidebar-navigation-screen-navigation-menus/leaf-more-menu.cjs +1 -1
- package/build/components/sidebar-navigation-screen-navigation-menus/leaf-more-menu.cjs.map +1 -1
- package/build/components/sidebar-navigation-screen-navigation-menus/navigation-menu-content.cjs +1 -1
- package/build/components/sidebar-navigation-screen-navigation-menus/navigation-menu-content.cjs.map +2 -2
- package/build/components/sidebar-navigation-screen-patterns/category-item.cjs +1 -1
- package/build/components/sidebar-navigation-screen-patterns/category-item.cjs.map +1 -1
- package/build/components/sidebar-navigation-screen-patterns/index.cjs +2 -2
- package/build/components/sidebar-navigation-screen-patterns/index.cjs.map +2 -2
- package/build/components/sidebar-navigation-screen-templates-browse/content-legacy.cjs +1 -1
- package/build/components/sidebar-navigation-screen-templates-browse/content-legacy.cjs.map +1 -1
- package/build/components/sidebar-navigation-screen-templates-browse/content.cjs +1 -1
- package/build/components/sidebar-navigation-screen-templates-browse/content.cjs.map +1 -1
- package/build/components/sidebar-navigation-screen-templates-browse/index.cjs +2 -2
- package/build/components/sidebar-navigation-screen-templates-browse/index.cjs.map +2 -2
- package/build/components/sidebar-navigation-screen-unsupported/index.cjs +1 -1
- package/build/components/sidebar-navigation-screen-unsupported/index.cjs.map +1 -1
- package/build/components/site-editor-routes/home.cjs +1 -1
- package/build/components/site-editor-routes/home.cjs.map +1 -1
- package/build/components/site-editor-routes/identity.cjs +1 -1
- package/build/components/site-editor-routes/identity.cjs.map +1 -1
- package/build/components/site-editor-routes/navigation-item.cjs +1 -1
- package/build/components/site-editor-routes/navigation-item.cjs.map +1 -1
- package/build/components/site-editor-routes/navigation.cjs +1 -1
- package/build/components/site-editor-routes/navigation.cjs.map +1 -1
- package/build/components/site-editor-routes/notfound.cjs +1 -1
- package/build/components/site-editor-routes/notfound.cjs.map +1 -1
- package/build/components/site-editor-routes/page-item.cjs +1 -1
- package/build/components/site-editor-routes/page-item.cjs.map +1 -1
- package/build/components/site-editor-routes/pages.cjs +4 -1
- package/build/components/site-editor-routes/pages.cjs.map +3 -3
- package/build/components/site-editor-routes/pattern-item.cjs +1 -1
- package/build/components/site-editor-routes/pattern-item.cjs.map +1 -1
- package/build/components/site-editor-routes/patterns.cjs +1 -1
- package/build/components/site-editor-routes/patterns.cjs.map +1 -1
- package/build/components/site-editor-routes/stylebook.cjs +1 -1
- package/build/components/site-editor-routes/stylebook.cjs.map +1 -1
- package/build/components/site-editor-routes/styles.cjs +1 -1
- package/build/components/site-editor-routes/styles.cjs.map +1 -1
- package/build/components/site-editor-routes/template-item.cjs +1 -1
- package/build/components/site-editor-routes/template-item.cjs.map +1 -1
- package/build/components/site-editor-routes/template-part-item.cjs +1 -1
- package/build/components/site-editor-routes/template-part-item.cjs.map +1 -1
- package/build/components/site-editor-routes/templates.cjs +1 -1
- package/build/components/site-editor-routes/templates.cjs.map +1 -1
- package/build/components/site-hub/index.cjs +1 -1
- package/build/components/site-hub/index.cjs.map +1 -1
- package/build/components/welcome-guide/editor.cjs +1 -1
- package/build/components/welcome-guide/editor.cjs.map +1 -1
- package/build/components/welcome-guide/image.cjs +1 -1
- package/build/components/welcome-guide/image.cjs.map +1 -1
- package/build/components/welcome-guide/index.cjs +1 -1
- package/build/components/welcome-guide/index.cjs.map +1 -1
- package/build/components/welcome-guide/page.cjs +1 -1
- package/build/components/welcome-guide/page.cjs.map +1 -1
- package/build/components/welcome-guide/template.cjs +1 -1
- package/build/components/welcome-guide/template.cjs.map +1 -1
- package/build/deprecated.cjs +1 -1
- package/build/deprecated.cjs.map +1 -1
- package/build/index.cjs +1 -1
- package/build/index.cjs.map +1 -1
- package/build-module/components/add-new-pattern/index.mjs +1 -1
- package/build-module/components/add-new-pattern/index.mjs.map +1 -1
- package/build-module/components/add-new-post/index.mjs +1 -1
- package/build-module/components/add-new-post/index.mjs.map +1 -1
- package/build-module/components/add-new-template/add-custom-generic-template-modal-content.mjs +1 -1
- package/build-module/components/add-new-template/add-custom-generic-template-modal-content.mjs.map +1 -1
- package/build-module/components/add-new-template/add-custom-template-modal-content.mjs +1 -1
- package/build-module/components/add-new-template/add-custom-template-modal-content.mjs.map +1 -1
- package/build-module/components/add-new-template/index.mjs +1 -1
- package/build-module/components/add-new-template/index.mjs.map +1 -1
- package/build-module/components/add-new-template-legacy/add-custom-generic-template-modal-content.mjs +1 -1
- package/build-module/components/add-new-template-legacy/add-custom-generic-template-modal-content.mjs.map +1 -1
- package/build-module/components/add-new-template-legacy/add-custom-template-modal-content.mjs +1 -1
- package/build-module/components/add-new-template-legacy/add-custom-template-modal-content.mjs.map +1 -1
- package/build-module/components/add-new-template-legacy/index.mjs +1 -1
- package/build-module/components/add-new-template-legacy/index.mjs.map +1 -1
- package/build-module/components/app/index.mjs +1 -1
- package/build-module/components/app/index.mjs.map +1 -1
- package/build-module/components/block-editor/use-navigate-to-entity-record.mjs +5 -21
- package/build-module/components/block-editor/use-navigate-to-entity-record.mjs.map +2 -2
- package/build-module/components/block-editor/use-site-editor-settings.mjs +0 -1
- package/build-module/components/block-editor/use-site-editor-settings.mjs.map +2 -2
- package/build-module/components/block-editor/viewport.mjs +19 -0
- package/build-module/components/block-editor/viewport.mjs.map +7 -0
- package/build-module/components/canvas-loader/index.mjs +1 -1
- package/build-module/components/canvas-loader/index.mjs.map +1 -1
- package/build-module/components/editor/index.mjs +9 -9
- package/build-module/components/editor/index.mjs.map +3 -3
- package/build-module/components/editor/site-preview.mjs +1 -1
- package/build-module/components/editor/site-preview.mjs.map +1 -1
- package/build-module/components/editor/use-adapt-editor-to-canvas.mjs +1 -12
- package/build-module/components/editor/use-adapt-editor-to-canvas.mjs.map +2 -2
- package/build-module/components/layout/index.mjs +12 -2
- package/build-module/components/layout/index.mjs.map +3 -3
- package/build-module/components/media/index.mjs +1 -1
- package/build-module/components/media/index.mjs.map +1 -1
- package/build-module/components/more-menu/index.mjs +2 -3
- package/build-module/components/more-menu/index.mjs.map +3 -3
- package/build-module/components/more-menu/welcome-guide-menu-item.mjs +1 -1
- package/build-module/components/more-menu/welcome-guide-menu-item.mjs.map +1 -1
- package/build-module/components/page-patterns/actions.mjs +1 -1
- package/build-module/components/page-patterns/actions.mjs.map +1 -1
- package/build-module/components/page-patterns/delete-category-menu-item.mjs +1 -1
- package/build-module/components/page-patterns/delete-category-menu-item.mjs.map +1 -1
- package/build-module/components/page-patterns/fields.mjs +1 -1
- package/build-module/components/page-patterns/fields.mjs.map +1 -1
- package/build-module/components/page-patterns/index.mjs +1 -1
- package/build-module/components/page-patterns/index.mjs.map +1 -1
- package/build-module/components/page-patterns/rename-category-menu-item.mjs +1 -1
- package/build-module/components/page-patterns/rename-category-menu-item.mjs.map +1 -1
- package/build-module/components/page-templates/fields.mjs +1 -1
- package/build-module/components/page-templates/fields.mjs.map +1 -1
- package/build-module/components/page-templates/index-legacy.mjs +1 -1
- package/build-module/components/page-templates/index-legacy.mjs.map +1 -1
- package/build-module/components/page-templates/index.mjs +1 -1
- package/build-module/components/page-templates/index.mjs.map +1 -1
- package/build-module/components/pagination/index.mjs +1 -1
- package/build-module/components/pagination/index.mjs.map +1 -1
- package/build-module/components/plugin-template-setting-panel/index.mjs +1 -1
- package/build-module/components/plugin-template-setting-panel/index.mjs.map +1 -1
- package/build-module/components/post-list/index.mjs +1 -1
- package/build-module/components/post-list/index.mjs.map +1 -1
- package/build-module/components/post-list/quick-edit-modal.mjs +1 -1
- package/build-module/components/post-list/quick-edit-modal.mjs.map +1 -1
- package/build-module/components/resizable-frame/index.mjs +1 -1
- package/build-module/components/resizable-frame/index.mjs.map +1 -1
- package/build-module/components/save-button/index.mjs +1 -1
- package/build-module/components/save-button/index.mjs.map +1 -1
- package/build-module/components/save-hub/index.mjs +1 -1
- package/build-module/components/save-hub/index.mjs.map +1 -1
- package/build-module/components/save-panel/index.mjs +1 -1
- package/build-module/components/save-panel/index.mjs.map +1 -1
- package/build-module/components/sidebar/index.mjs +1 -1
- package/build-module/components/sidebar/index.mjs.map +1 -1
- package/build-module/components/sidebar-button/index.mjs +1 -1
- package/build-module/components/sidebar-button/index.mjs.map +1 -1
- package/build-module/components/sidebar-dataviews/index.mjs +1 -1
- package/build-module/components/sidebar-dataviews/index.mjs.map +1 -1
- package/build-module/components/sidebar-global-styles/index.mjs +1 -1
- package/build-module/components/sidebar-global-styles/index.mjs.map +1 -1
- package/build-module/components/sidebar-identity/index.mjs +1 -1
- package/build-module/components/sidebar-identity/index.mjs.map +1 -1
- package/build-module/components/sidebar-navigation-item/index.mjs +1 -1
- package/build-module/components/sidebar-navigation-item/index.mjs.map +1 -1
- package/build-module/components/sidebar-navigation-screen/index.mjs +1 -1
- package/build-module/components/sidebar-navigation-screen/index.mjs.map +1 -1
- package/build-module/components/sidebar-navigation-screen-details-footer/index.mjs +1 -1
- package/build-module/components/sidebar-navigation-screen-details-footer/index.mjs.map +1 -1
- package/build-module/components/sidebar-navigation-screen-global-styles/content.mjs +1 -1
- package/build-module/components/sidebar-navigation-screen-global-styles/content.mjs.map +1 -1
- package/build-module/components/sidebar-navigation-screen-global-styles/index.mjs +1 -1
- package/build-module/components/sidebar-navigation-screen-global-styles/index.mjs.map +1 -1
- package/build-module/components/sidebar-navigation-screen-identity/index.mjs +1 -1
- package/build-module/components/sidebar-navigation-screen-identity/index.mjs.map +1 -1
- package/build-module/components/sidebar-navigation-screen-main/index.mjs +1 -1
- package/build-module/components/sidebar-navigation-screen-main/index.mjs.map +1 -1
- package/build-module/components/sidebar-navigation-screen-navigation-menu/delete-confirm-dialog.mjs +1 -1
- package/build-module/components/sidebar-navigation-screen-navigation-menu/delete-confirm-dialog.mjs.map +1 -1
- package/build-module/components/sidebar-navigation-screen-navigation-menu/index.mjs +1 -1
- package/build-module/components/sidebar-navigation-screen-navigation-menu/index.mjs.map +1 -1
- package/build-module/components/sidebar-navigation-screen-navigation-menu/more-menu.mjs +1 -1
- package/build-module/components/sidebar-navigation-screen-navigation-menu/more-menu.mjs.map +1 -1
- package/build-module/components/sidebar-navigation-screen-navigation-menu/navigation-menu-editor.mjs +1 -1
- package/build-module/components/sidebar-navigation-screen-navigation-menu/navigation-menu-editor.mjs.map +1 -1
- package/build-module/components/sidebar-navigation-screen-navigation-menu/rename-modal.mjs +1 -1
- package/build-module/components/sidebar-navigation-screen-navigation-menu/rename-modal.mjs.map +1 -1
- package/build-module/components/sidebar-navigation-screen-navigation-menu/single-navigation-menu.mjs +1 -1
- package/build-module/components/sidebar-navigation-screen-navigation-menu/single-navigation-menu.mjs.map +1 -1
- package/build-module/components/sidebar-navigation-screen-navigation-menus/build-navigation-label.mjs.map +1 -1
- package/build-module/components/sidebar-navigation-screen-navigation-menus/index.mjs +4 -2
- package/build-module/components/sidebar-navigation-screen-navigation-menus/index.mjs.map +3 -3
- package/build-module/components/sidebar-navigation-screen-navigation-menus/leaf-more-menu.mjs +1 -1
- package/build-module/components/sidebar-navigation-screen-navigation-menus/leaf-more-menu.mjs.map +1 -1
- package/build-module/components/sidebar-navigation-screen-navigation-menus/navigation-menu-content.mjs +1 -1
- package/build-module/components/sidebar-navigation-screen-navigation-menus/navigation-menu-content.mjs.map +2 -2
- package/build-module/components/sidebar-navigation-screen-patterns/category-item.mjs +1 -1
- package/build-module/components/sidebar-navigation-screen-patterns/category-item.mjs.map +1 -1
- package/build-module/components/sidebar-navigation-screen-patterns/index.mjs +2 -2
- package/build-module/components/sidebar-navigation-screen-patterns/index.mjs.map +2 -2
- package/build-module/components/sidebar-navigation-screen-templates-browse/content-legacy.mjs +1 -1
- package/build-module/components/sidebar-navigation-screen-templates-browse/content-legacy.mjs.map +1 -1
- package/build-module/components/sidebar-navigation-screen-templates-browse/content.mjs +1 -1
- package/build-module/components/sidebar-navigation-screen-templates-browse/content.mjs.map +1 -1
- package/build-module/components/sidebar-navigation-screen-templates-browse/index.mjs +2 -2
- package/build-module/components/sidebar-navigation-screen-templates-browse/index.mjs.map +2 -2
- package/build-module/components/sidebar-navigation-screen-unsupported/index.mjs +1 -1
- package/build-module/components/sidebar-navigation-screen-unsupported/index.mjs.map +1 -1
- package/build-module/components/site-editor-routes/home.mjs +1 -1
- package/build-module/components/site-editor-routes/home.mjs.map +1 -1
- package/build-module/components/site-editor-routes/identity.mjs +1 -1
- package/build-module/components/site-editor-routes/identity.mjs.map +1 -1
- package/build-module/components/site-editor-routes/navigation-item.mjs +1 -1
- package/build-module/components/site-editor-routes/navigation-item.mjs.map +1 -1
- package/build-module/components/site-editor-routes/navigation.mjs +1 -1
- package/build-module/components/site-editor-routes/navigation.mjs.map +1 -1
- package/build-module/components/site-editor-routes/notfound.mjs +1 -1
- package/build-module/components/site-editor-routes/notfound.mjs.map +1 -1
- package/build-module/components/site-editor-routes/page-item.mjs +1 -1
- package/build-module/components/site-editor-routes/page-item.mjs.map +1 -1
- package/build-module/components/site-editor-routes/pages.mjs +4 -1
- package/build-module/components/site-editor-routes/pages.mjs.map +3 -3
- package/build-module/components/site-editor-routes/pattern-item.mjs +1 -1
- package/build-module/components/site-editor-routes/pattern-item.mjs.map +1 -1
- package/build-module/components/site-editor-routes/patterns.mjs +1 -1
- package/build-module/components/site-editor-routes/patterns.mjs.map +1 -1
- package/build-module/components/site-editor-routes/stylebook.mjs +1 -1
- package/build-module/components/site-editor-routes/stylebook.mjs.map +1 -1
- package/build-module/components/site-editor-routes/styles.mjs +1 -1
- package/build-module/components/site-editor-routes/styles.mjs.map +1 -1
- package/build-module/components/site-editor-routes/template-item.mjs +1 -1
- package/build-module/components/site-editor-routes/template-item.mjs.map +1 -1
- package/build-module/components/site-editor-routes/template-part-item.mjs +1 -1
- package/build-module/components/site-editor-routes/template-part-item.mjs.map +1 -1
- package/build-module/components/site-editor-routes/templates.mjs +1 -1
- package/build-module/components/site-editor-routes/templates.mjs.map +1 -1
- package/build-module/components/site-hub/index.mjs +1 -1
- package/build-module/components/site-hub/index.mjs.map +1 -1
- package/build-module/components/welcome-guide/editor.mjs +1 -1
- package/build-module/components/welcome-guide/editor.mjs.map +1 -1
- package/build-module/components/welcome-guide/image.mjs +1 -1
- package/build-module/components/welcome-guide/image.mjs.map +1 -1
- package/build-module/components/welcome-guide/index.mjs +1 -1
- package/build-module/components/welcome-guide/index.mjs.map +1 -1
- package/build-module/components/welcome-guide/page.mjs +1 -1
- package/build-module/components/welcome-guide/page.mjs.map +1 -1
- package/build-module/components/welcome-guide/template.mjs +1 -1
- package/build-module/components/welcome-guide/template.mjs.map +1 -1
- package/build-module/deprecated.mjs +1 -1
- package/build-module/deprecated.mjs.map +1 -1
- package/build-module/index.mjs +1 -1
- package/build-module/index.mjs.map +1 -1
- package/build-style/style-rtl.css +130 -85
- package/build-style/style.css +130 -85
- package/package.json +39 -52
- package/src/components/block-editor/use-navigate-to-entity-record.js +11 -32
- package/src/components/block-editor/use-site-editor-settings.js +0 -1
- package/src/components/block-editor/viewport.js +34 -0
- package/src/components/editor/{index.js → index.jsx} +13 -8
- package/src/components/editor/use-adapt-editor-to-canvas.js +1 -22
- package/src/components/layout/{index.js → index.jsx} +10 -2
- package/src/components/more-menu/{index.js → index.jsx} +2 -2
- package/src/components/sidebar-navigation-screen-navigation-menus/build-navigation-label.js +1 -1
- package/src/components/sidebar-navigation-screen-navigation-menus/{index.js → index.jsx} +7 -2
- package/src/components/sidebar-navigation-screen-navigation-menus/{navigation-menu-content.js → navigation-menu-content.jsx} +1 -1
- package/src/components/sidebar-navigation-screen-patterns/{index.js → index.jsx} +1 -1
- package/src/components/sidebar-navigation-screen-templates-browse/{index.js → index.jsx} +1 -1
- package/src/components/site-editor-routes/{pages.js → pages.jsx} +3 -0
- package/src/style.scss +7 -3
- package/build/components/block-editor/use-viewport-sync.cjs +0 -55
- package/build/components/block-editor/use-viewport-sync.cjs.map +0 -7
- package/build/components/more-menu/site-export.cjs +0 -93
- package/build/components/more-menu/site-export.cjs.map +0 -7
- package/build-module/components/block-editor/use-viewport-sync.mjs +0 -29
- package/build-module/components/block-editor/use-viewport-sync.mjs.map +0 -7
- package/build-module/components/more-menu/site-export.mjs +0 -62
- package/build-module/components/more-menu/site-export.mjs.map +0 -7
- package/src/components/block-editor/use-viewport-sync.js +0 -44
- package/src/components/more-menu/site-export.js +0 -71
- /package/src/components/add-new-pattern/{index.js → index.jsx} +0 -0
- /package/src/components/add-new-post/{index.js → index.jsx} +0 -0
- /package/src/components/add-new-template/{add-custom-generic-template-modal-content.js → add-custom-generic-template-modal-content.jsx} +0 -0
- /package/src/components/add-new-template/{add-custom-template-modal-content.js → add-custom-template-modal-content.jsx} +0 -0
- /package/src/components/add-new-template/{index.js → index.jsx} +0 -0
- /package/src/components/add-new-template-legacy/{add-custom-generic-template-modal-content.js → add-custom-generic-template-modal-content.jsx} +0 -0
- /package/src/components/add-new-template-legacy/{add-custom-template-modal-content.js → add-custom-template-modal-content.jsx} +0 -0
- /package/src/components/add-new-template-legacy/{index.js → index.jsx} +0 -0
- /package/src/components/app/{index.js → index.jsx} +0 -0
- /package/src/components/canvas-loader/{index.js → index.jsx} +0 -0
- /package/src/components/editor/{site-preview.js → site-preview.jsx} +0 -0
- /package/src/components/media/{index.js → index.jsx} +0 -0
- /package/src/components/more-menu/{welcome-guide-menu-item.js → welcome-guide-menu-item.jsx} +0 -0
- /package/src/components/page-patterns/{actions.js → actions.jsx} +0 -0
- /package/src/components/page-patterns/{delete-category-menu-item.js → delete-category-menu-item.jsx} +0 -0
- /package/src/components/page-patterns/{fields.js → fields.jsx} +0 -0
- /package/src/components/page-patterns/{index.js → index.jsx} +0 -0
- /package/src/components/page-patterns/{rename-category-menu-item.js → rename-category-menu-item.jsx} +0 -0
- /package/src/components/page-templates/{fields.js → fields.jsx} +0 -0
- /package/src/components/page-templates/{index-legacy.js → index-legacy.jsx} +0 -0
- /package/src/components/page-templates/{index.js → index.jsx} +0 -0
- /package/src/components/pagination/{index.js → index.jsx} +0 -0
- /package/src/components/plugin-template-setting-panel/{index.js → index.jsx} +0 -0
- /package/src/components/post-list/{index.js → index.jsx} +0 -0
- /package/src/components/post-list/{quick-edit-modal.js → quick-edit-modal.jsx} +0 -0
- /package/src/components/resizable-frame/{index.js → index.jsx} +0 -0
- /package/src/components/save-button/{index.js → index.jsx} +0 -0
- /package/src/components/save-hub/{index.js → index.jsx} +0 -0
- /package/src/components/save-panel/{index.js → index.jsx} +0 -0
- /package/src/components/sidebar/{index.js → index.jsx} +0 -0
- /package/src/components/sidebar-button/{index.js → index.jsx} +0 -0
- /package/src/components/sidebar-dataviews/{index.js → index.jsx} +0 -0
- /package/src/components/sidebar-global-styles/{index.js → index.jsx} +0 -0
- /package/src/components/sidebar-identity/{index.js → index.jsx} +0 -0
- /package/src/components/sidebar-navigation-item/{index.js → index.jsx} +0 -0
- /package/src/components/sidebar-navigation-screen/{index.js → index.jsx} +0 -0
- /package/src/components/sidebar-navigation-screen-details-footer/{index.js → index.jsx} +0 -0
- /package/src/components/sidebar-navigation-screen-global-styles/{content.js → content.jsx} +0 -0
- /package/src/components/sidebar-navigation-screen-global-styles/{index.js → index.jsx} +0 -0
- /package/src/components/sidebar-navigation-screen-identity/{index.js → index.jsx} +0 -0
- /package/src/components/sidebar-navigation-screen-main/{index.js → index.jsx} +0 -0
- /package/src/components/sidebar-navigation-screen-navigation-menu/{delete-confirm-dialog.js → delete-confirm-dialog.jsx} +0 -0
- /package/src/components/sidebar-navigation-screen-navigation-menu/{index.js → index.jsx} +0 -0
- /package/src/components/sidebar-navigation-screen-navigation-menu/{more-menu.js → more-menu.jsx} +0 -0
- /package/src/components/sidebar-navigation-screen-navigation-menu/{navigation-menu-editor.js → navigation-menu-editor.jsx} +0 -0
- /package/src/components/sidebar-navigation-screen-navigation-menu/{rename-modal.js → rename-modal.jsx} +0 -0
- /package/src/components/sidebar-navigation-screen-navigation-menu/{single-navigation-menu.js → single-navigation-menu.jsx} +0 -0
- /package/src/components/sidebar-navigation-screen-navigation-menus/{leaf-more-menu.js → leaf-more-menu.jsx} +0 -0
- /package/src/components/sidebar-navigation-screen-patterns/{category-item.js → category-item.jsx} +0 -0
- /package/src/components/sidebar-navigation-screen-templates-browse/{content-legacy.js → content-legacy.jsx} +0 -0
- /package/src/components/sidebar-navigation-screen-templates-browse/{content.js → content.jsx} +0 -0
- /package/src/components/sidebar-navigation-screen-unsupported/{index.js → index.jsx} +0 -0
- /package/src/components/site-editor-routes/{home.js → home.jsx} +0 -0
- /package/src/components/site-editor-routes/{identity.js → identity.jsx} +0 -0
- /package/src/components/site-editor-routes/{navigation-item.js → navigation-item.jsx} +0 -0
- /package/src/components/site-editor-routes/{navigation.js → navigation.jsx} +0 -0
- /package/src/components/site-editor-routes/{notfound.js → notfound.jsx} +0 -0
- /package/src/components/site-editor-routes/{page-item.js → page-item.jsx} +0 -0
- /package/src/components/site-editor-routes/{pattern-item.js → pattern-item.jsx} +0 -0
- /package/src/components/site-editor-routes/{patterns.js → patterns.jsx} +0 -0
- /package/src/components/site-editor-routes/{stylebook.js → stylebook.jsx} +0 -0
- /package/src/components/site-editor-routes/{styles.js → styles.jsx} +0 -0
- /package/src/components/site-editor-routes/{template-item.js → template-item.jsx} +0 -0
- /package/src/components/site-editor-routes/{template-part-item.js → template-part-item.jsx} +0 -0
- /package/src/components/site-editor-routes/{templates.js → templates.jsx} +0 -0
- /package/src/components/site-hub/{index.js → index.jsx} +0 -0
- /package/src/components/welcome-guide/{editor.js → editor.jsx} +0 -0
- /package/src/components/welcome-guide/{image.js → image.jsx} +0 -0
- /package/src/components/welcome-guide/{index.js → index.jsx} +0 -0
- /package/src/components/welcome-guide/{page.js → page.jsx} +0 -0
- /package/src/components/welcome-guide/{template.js → template.jsx} +0 -0
- /package/src/{deprecated.js → deprecated.jsx} +0 -0
- /package/src/{index.js → index.jsx} +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
|
-
"sources": ["../../../src/components/welcome-guide/page.
|
|
3
|
+
"sources": ["../../../src/components/welcome-guide/page.jsx"],
|
|
4
4
|
"sourcesContent": ["import { useDispatch, useSelect } from '@wordpress/data';\nimport { Guide } from '@wordpress/components';\nimport { __ } from '@wordpress/i18n';\nimport { store as preferencesStore } from '@wordpress/preferences';\n\nexport default function WelcomeGuidePage() {\n\tconst { toggle } = useDispatch( preferencesStore );\n\n\tconst isVisible = useSelect( ( select ) => {\n\t\tconst isPageActive = !! select( preferencesStore ).get(\n\t\t\t'core/edit-site',\n\t\t\t'welcomeGuidePage'\n\t\t);\n\t\tconst isEditorActive = !! select( preferencesStore ).get(\n\t\t\t'core/edit-site',\n\t\t\t'welcomeGuide'\n\t\t);\n\t\treturn isPageActive && ! isEditorActive;\n\t}, [] );\n\n\tif ( ! isVisible ) {\n\t\treturn null;\n\t}\n\n\tconst heading = __( 'Editing a page' );\n\n\treturn (\n\t\t<Guide\n\t\t\tclassName=\"edit-site-welcome-guide guide-page\"\n\t\t\tcontentLabel={ heading }\n\t\t\tfinishButtonText={ __( 'Continue' ) }\n\t\t\tonFinish={ () => toggle( 'core/edit-site', 'welcomeGuidePage' ) }\n\t\t\tpages={ [\n\t\t\t\t{\n\t\t\t\t\timage: (\n\t\t\t\t\t\t<video\n\t\t\t\t\t\t\tclassName=\"edit-site-welcome-guide__video\"\n\t\t\t\t\t\t\tautoPlay\n\t\t\t\t\t\t\tloop\n\t\t\t\t\t\t\tmuted\n\t\t\t\t\t\t\twidth=\"312\"\n\t\t\t\t\t\t\theight=\"240\"\n\t\t\t\t\t\t>\n\t\t\t\t\t\t\t<source\n\t\t\t\t\t\t\t\tsrc=\"https://s.w.org/images/block-editor/editing-your-page.mp4\"\n\t\t\t\t\t\t\t\ttype=\"video/mp4\"\n\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t</video>\n\t\t\t\t\t),\n\t\t\t\t\tcontent: (\n\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t<h1 className=\"edit-site-welcome-guide__heading\">\n\t\t\t\t\t\t\t\t{ heading }\n\t\t\t\t\t\t\t</h1>\n\t\t\t\t\t\t\t<p className=\"edit-site-welcome-guide__text\">\n\t\t\t\t\t\t\t\t{ __(\n\t\t\t\t\t\t\t\t\t// eslint-disable-next-line no-restricted-syntax -- 'sidebar' is a common web design term for layouts\n\t\t\t\t\t\t\t\t\t'It’s now possible to edit page content in the site editor. To customize other parts of the page like the header and footer switch to editing the template using the settings sidebar.'\n\t\t\t\t\t\t\t\t) }\n\t\t\t\t\t\t\t</p>\n\t\t\t\t\t\t</>\n\t\t\t\t\t),\n\t\t\t\t},\n\t\t\t] }\n\t\t/>\n\t);\n}\n"],
|
|
5
5
|
"mappings": ";AAAA,SAAS,aAAa,iBAAiB;AACvC,SAAS,aAAa;AACtB,SAAS,UAAU;AACnB,SAAS,SAAS,wBAAwB;AAwCnC,SAOD,UAPC,KAOD,YAPC;AAtCQ,SAAR,mBAAoC;AAC1C,QAAM,EAAE,OAAO,IAAI,YAAa,gBAAiB;AAEjD,QAAM,YAAY,UAAW,CAAE,WAAY;AAC1C,UAAM,eAAe,CAAC,CAAE,OAAQ,gBAAiB,EAAE;AAAA,MAClD;AAAA,MACA;AAAA,IACD;AACA,UAAM,iBAAiB,CAAC,CAAE,OAAQ,gBAAiB,EAAE;AAAA,MACpD;AAAA,MACA;AAAA,IACD;AACA,WAAO,gBAAgB,CAAE;AAAA,EAC1B,GAAG,CAAC,CAAE;AAEN,MAAK,CAAE,WAAY;AAClB,WAAO;AAAA,EACR;AAEA,QAAM,UAAU,GAAI,gBAAiB;AAErC,SACC;AAAA,IAAC;AAAA;AAAA,MACA,WAAU;AAAA,MACV,cAAe;AAAA,MACf,kBAAmB,GAAI,UAAW;AAAA,MAClC,UAAW,MAAM,OAAQ,kBAAkB,kBAAmB;AAAA,MAC9D,OAAQ;AAAA,QACP;AAAA,UACC,OACC;AAAA,YAAC;AAAA;AAAA,cACA,WAAU;AAAA,cACV,UAAQ;AAAA,cACR,MAAI;AAAA,cACJ,OAAK;AAAA,cACL,OAAM;AAAA,cACN,QAAO;AAAA,cAEP;AAAA,gBAAC;AAAA;AAAA,kBACA,KAAI;AAAA,kBACJ,MAAK;AAAA;AAAA,cACN;AAAA;AAAA,UACD;AAAA,UAED,SACC,iCACC;AAAA,gCAAC,QAAG,WAAU,oCACX,mBACH;AAAA,YACA,oBAAC,OAAE,WAAU,iCACV;AAAA;AAAA,cAED;AAAA,YACD,GACD;AAAA,aACD;AAAA,QAEF;AAAA,MACD;AAAA;AAAA,EACD;AAEF;",
|
|
6
6
|
"names": []
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// packages/edit-site/src/components/welcome-guide/template.
|
|
1
|
+
// packages/edit-site/src/components/welcome-guide/template.jsx
|
|
2
2
|
import { useDispatch, useSelect } from "@wordpress/data";
|
|
3
3
|
import { Guide } from "@wordpress/components";
|
|
4
4
|
import { __ } from "@wordpress/i18n";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
|
-
"sources": ["../../../src/components/welcome-guide/template.
|
|
3
|
+
"sources": ["../../../src/components/welcome-guide/template.jsx"],
|
|
4
4
|
"sourcesContent": ["import { useDispatch, useSelect } from '@wordpress/data';\nimport { Guide } from '@wordpress/components';\nimport { __ } from '@wordpress/i18n';\nimport { store as preferencesStore } from '@wordpress/preferences';\nimport { store as editorStore } from '@wordpress/editor';\n\nexport default function WelcomeGuideTemplate() {\n\tconst { toggle } = useDispatch( preferencesStore );\n\n\tconst { isActive, hasPreviousEntity } = useSelect( ( select ) => {\n\t\tconst { getEditorSettings } = select( editorStore );\n\t\tconst { get } = select( preferencesStore );\n\t\treturn {\n\t\t\tisActive: get( 'core/edit-site', 'welcomeGuideTemplate' ),\n\t\t\thasPreviousEntity:\n\t\t\t\t!! getEditorSettings().onNavigateToPreviousEntityRecord,\n\t\t};\n\t}, [] );\n\tconst isVisible = isActive && hasPreviousEntity;\n\n\tif ( ! isVisible ) {\n\t\treturn null;\n\t}\n\n\tconst heading = __( 'Editing a template' );\n\n\treturn (\n\t\t<Guide\n\t\t\tclassName=\"edit-site-welcome-guide guide-template\"\n\t\t\tcontentLabel={ heading }\n\t\t\tfinishButtonText={ __( 'Continue' ) }\n\t\t\tonFinish={ () =>\n\t\t\t\ttoggle( 'core/edit-site', 'welcomeGuideTemplate' )\n\t\t\t}\n\t\t\tpages={ [\n\t\t\t\t{\n\t\t\t\t\timage: (\n\t\t\t\t\t\t<video\n\t\t\t\t\t\t\tclassName=\"edit-site-welcome-guide__video\"\n\t\t\t\t\t\t\tautoPlay\n\t\t\t\t\t\t\tloop\n\t\t\t\t\t\t\tmuted\n\t\t\t\t\t\t\twidth=\"312\"\n\t\t\t\t\t\t\theight=\"240\"\n\t\t\t\t\t\t>\n\t\t\t\t\t\t\t<source\n\t\t\t\t\t\t\t\tsrc=\"https://s.w.org/images/block-editor/editing-your-template.mp4\"\n\t\t\t\t\t\t\t\ttype=\"video/mp4\"\n\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t</video>\n\t\t\t\t\t),\n\t\t\t\t\tcontent: (\n\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t<h1 className=\"edit-site-welcome-guide__heading\">\n\t\t\t\t\t\t\t\t{ heading }\n\t\t\t\t\t\t\t</h1>\n\t\t\t\t\t\t\t<p className=\"edit-site-welcome-guide__text\">\n\t\t\t\t\t\t\t\t{ __(\n\t\t\t\t\t\t\t\t\t'Note that the same template can be used by multiple pages, so any changes made here may affect other pages on the site. To switch back to editing the page content click the ‘Back’ button in the toolbar.'\n\t\t\t\t\t\t\t\t) }\n\t\t\t\t\t\t\t</p>\n\t\t\t\t\t\t</>\n\t\t\t\t\t),\n\t\t\t\t},\n\t\t\t] }\n\t\t/>\n\t);\n}\n"],
|
|
5
5
|
"mappings": ";AAAA,SAAS,aAAa,iBAAiB;AACvC,SAAS,aAAa;AACtB,SAAS,UAAU;AACnB,SAAS,SAAS,wBAAwB;AAC1C,SAAS,SAAS,mBAAmB;AAyC9B,SAOD,UAPC,KAOD,YAPC;AAvCQ,SAAR,uBAAwC;AAC9C,QAAM,EAAE,OAAO,IAAI,YAAa,gBAAiB;AAEjD,QAAM,EAAE,UAAU,kBAAkB,IAAI,UAAW,CAAE,WAAY;AAChE,UAAM,EAAE,kBAAkB,IAAI,OAAQ,WAAY;AAClD,UAAM,EAAE,IAAI,IAAI,OAAQ,gBAAiB;AACzC,WAAO;AAAA,MACN,UAAU,IAAK,kBAAkB,sBAAuB;AAAA,MACxD,mBACC,CAAC,CAAE,kBAAkB,EAAE;AAAA,IACzB;AAAA,EACD,GAAG,CAAC,CAAE;AACN,QAAM,YAAY,YAAY;AAE9B,MAAK,CAAE,WAAY;AAClB,WAAO;AAAA,EACR;AAEA,QAAM,UAAU,GAAI,oBAAqB;AAEzC,SACC;AAAA,IAAC;AAAA;AAAA,MACA,WAAU;AAAA,MACV,cAAe;AAAA,MACf,kBAAmB,GAAI,UAAW;AAAA,MAClC,UAAW,MACV,OAAQ,kBAAkB,sBAAuB;AAAA,MAElD,OAAQ;AAAA,QACP;AAAA,UACC,OACC;AAAA,YAAC;AAAA;AAAA,cACA,WAAU;AAAA,cACV,UAAQ;AAAA,cACR,MAAI;AAAA,cACJ,OAAK;AAAA,cACL,OAAM;AAAA,cACN,QAAO;AAAA,cAEP;AAAA,gBAAC;AAAA;AAAA,kBACA,KAAI;AAAA,kBACJ,MAAK;AAAA;AAAA,cACN;AAAA;AAAA,UACD;AAAA,UAED,SACC,iCACC;AAAA,gCAAC,QAAG,WAAU,oCACX,mBACH;AAAA,YACA,oBAAC,OAAE,WAAU,iCACV;AAAA,cACD;AAAA,YACD,GACD;AAAA,aACD;AAAA,QAEF;AAAA,MACD;AAAA;AAAA,EACD;AAEF;",
|
|
6
6
|
"names": []
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
|
-
"sources": ["../src/deprecated.
|
|
3
|
+
"sources": ["../src/deprecated.jsx"],
|
|
4
4
|
"sourcesContent": ["import {\n\tPluginMoreMenuItem as EditorPluginMoreMenuItem,\n\tPluginSidebar as EditorPluginSidebar,\n\tPluginSidebarMoreMenuItem as EditorPluginSidebarMoreMenuItem,\n} from '@wordpress/editor';\nimport { getPath } from '@wordpress/url';\nimport deprecated from '@wordpress/deprecated';\n\nconst isSiteEditor = getPath( window.location.href )?.includes(\n\t'site-editor.php'\n);\n\nconst deprecateSlot = ( name ) => {\n\tdeprecated( `wp.editPost.${ name }`, {\n\t\tsince: '6.6',\n\t\talternative: `wp.editor.${ name }`,\n\t} );\n};\n\n/* eslint-disable jsdoc/require-param */\n/**\n * @see PluginMoreMenuItem in @wordpress/editor package.\n */\nexport function PluginMoreMenuItem( props ) {\n\tif ( ! isSiteEditor ) {\n\t\treturn null;\n\t}\n\tdeprecateSlot( 'PluginMoreMenuItem' );\n\treturn <EditorPluginMoreMenuItem { ...props } />;\n}\n\n/**\n * @see PluginSidebar in @wordpress/editor package.\n */\nexport function PluginSidebar( props ) {\n\tif ( ! isSiteEditor ) {\n\t\treturn null;\n\t}\n\tdeprecateSlot( 'PluginSidebar' );\n\treturn <EditorPluginSidebar { ...props } />;\n}\n\n/**\n * @see PluginSidebarMoreMenuItem in @wordpress/editor package.\n */\nexport function PluginSidebarMoreMenuItem( props ) {\n\tif ( ! isSiteEditor ) {\n\t\treturn null;\n\t}\n\tdeprecateSlot( 'PluginSidebarMoreMenuItem' );\n\treturn <EditorPluginSidebarMoreMenuItem { ...props } />;\n}\n/* eslint-enable jsdoc/require-param */\n"],
|
|
5
5
|
"mappings": ";AAAA;AAAA,EACC,sBAAsB;AAAA,EACtB,iBAAiB;AAAA,EACjB,6BAA6B;AAAA,OACvB;AACP,SAAS,eAAe;AACxB,OAAO,gBAAgB;AAsBf;AApBR,IAAM,eAAe,QAAS,OAAO,SAAS,IAAK,GAAG;AAAA,EACrD;AACD;AAEA,IAAM,gBAAgB,CAAE,SAAU;AACjC,aAAY,eAAgB,IAAK,IAAI;AAAA,IACpC,OAAO;AAAA,IACP,aAAa,aAAc,IAAK;AAAA,EACjC,CAAE;AACH;AAMO,SAAS,mBAAoB,OAAQ;AAC3C,MAAK,CAAE,cAAe;AACrB,WAAO;AAAA,EACR;AACA,gBAAe,oBAAqB;AACpC,SAAO,oBAAC,4BAA2B,GAAG,OAAQ;AAC/C;AAKO,SAAS,cAAe,OAAQ;AACtC,MAAK,CAAE,cAAe;AACrB,WAAO;AAAA,EACR;AACA,gBAAe,eAAgB;AAC/B,SAAO,oBAAC,uBAAsB,GAAG,OAAQ;AAC1C;AAKO,SAAS,0BAA2B,OAAQ;AAClD,MAAK,CAAE,cAAe;AACrB,WAAO;AAAA,EACR;AACA,gBAAe,2BAA4B;AAC3C,SAAO,oBAAC,mCAAkC,GAAG,OAAQ;AACtD;",
|
|
6
6
|
"names": []
|
package/build-module/index.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
|
-
"sources": ["../src/index.
|
|
3
|
+
"sources": ["../src/index.jsx"],
|
|
4
4
|
"sourcesContent": ["import { store as blocksStore } from '@wordpress/blocks';\nimport {\n\tregisterCoreBlocks,\n\t__experimentalGetCoreBlocks,\n\t__experimentalRegisterExperimentalCoreBlocks,\n} from '@wordpress/block-library';\nimport { dispatch } from '@wordpress/data';\nimport deprecated from '@wordpress/deprecated';\nimport { createRoot, StrictMode } from '@wordpress/element';\nimport { privateApis as editorPrivateApis } from '@wordpress/editor';\nimport { store as preferencesStore } from '@wordpress/preferences';\nimport {\n\tregisterLegacyWidgetBlock,\n\tregisterWidgetGroupBlock,\n} from '@wordpress/widgets';\nimport { store as editSiteStore } from './store';\nimport { unlock } from './lock-unlock';\nimport App from './components/app';\n\nconst { registerCoreBlockBindingsSources } = unlock( editorPrivateApis );\n\n/**\n * Initializes the site editor screen.\n *\n * @param {string} id ID of the root element to render the screen in.\n * @param {Object} settings Editor settings.\n */\nexport function initializeEditor( id, settings ) {\n\tconst target = document.getElementById( id );\n\tconst root = createRoot( target );\n\n\tdispatch( blocksStore ).reapplyBlockTypeFilters();\n\tconst coreBlocks = __experimentalGetCoreBlocks().filter(\n\t\t( { name } ) => name !== 'core/freeform'\n\t);\n\tregisterCoreBlocks( coreBlocks );\n\tregisterCoreBlockBindingsSources();\n\tdispatch( blocksStore ).setFreeformFallbackBlockName( 'core/html' );\n\tregisterLegacyWidgetBlock( { inserter: false } );\n\tregisterWidgetGroupBlock( { inserter: false } );\n\tif ( globalThis.IS_GUTENBERG_PLUGIN ) {\n\t\t__experimentalRegisterExperimentalCoreBlocks( {\n\t\t\tenableFSEBlocks: true,\n\t\t} );\n\t}\n\n\t// We dispatch actions and update the store synchronously before rendering\n\t// so that we won't trigger unnecessary re-renders with useEffect.\n\tdispatch( preferencesStore ).setDefaults( 'core/edit-site', {\n\t\twelcomeGuide: true,\n\t\twelcomeGuideStyles: true,\n\t\twelcomeGuidePage: true,\n\t\twelcomeGuideTemplate: true,\n\t} );\n\n\tdispatch( preferencesStore ).setDefaults( 'core', {\n\t\tallowRightClickOverrides: true,\n\t\tdistractionFree: false,\n\t\teditorMode: 'visual',\n\t\teditorTool: 'edit',\n\t\tfixedToolbar: false,\n\t\tfocusMode: false,\n\t\tinactivePanels: [],\n\t\tkeepCaretInsideBlock: false,\n\t\topenPanels: [ 'post-status' ],\n\t\tshowBlockBreadcrumbs: true,\n\t\tshowListViewByDefault: false,\n\t\tenableChoosePatternModal: true,\n\t\tshowCollaborationCursor: false,\n\t\tshowCollaborationJoinNotifications: true,\n\t\tshowCollaborationLeaveNotifications: true,\n\t\tshowCollaborationPostSaveNotifications: true,\n\t} );\n\n\tif ( window.__clientSideMediaProcessing ) {\n\t\tdispatch( preferencesStore ).setDefaults( 'core/media', {\n\t\t\trequireApproval: true,\n\t\t\toptimizeOnUpload: true,\n\t\t} );\n\t}\n\n\tdispatch( editSiteStore ).updateSettings( settings );\n\n\t// Prevent the default browser action for files dropped outside of dropzones.\n\twindow.addEventListener( 'dragover', ( e ) => e.preventDefault(), false );\n\twindow.addEventListener( 'drop', ( e ) => e.preventDefault(), false );\n\n\troot.render(\n\t\t<StrictMode>\n\t\t\t<App />\n\t\t</StrictMode>\n\t);\n\n\treturn root;\n}\n\nexport function reinitializeEditor() {\n\tdeprecated( 'wp.editSite.reinitializeEditor', {\n\t\tsince: '6.2',\n\t\tversion: '6.3',\n\t} );\n}\n\nexport { default as PluginTemplateSettingPanel } from './components/plugin-template-setting-panel';\nexport { store } from './store';\nexport * from './deprecated';\n"],
|
|
5
5
|
"mappings": ";AAAA,SAAS,SAAS,mBAAmB;AACrC;AAAA,EACC;AAAA,EACA;AAAA,EACA;AAAA,OACM;AACP,SAAS,gBAAgB;AACzB,OAAO,gBAAgB;AACvB,SAAS,YAAY,kBAAkB;AACvC,SAAS,eAAe,yBAAyB;AACjD,SAAS,SAAS,wBAAwB;AAC1C;AAAA,EACC;AAAA,EACA;AAAA,OACM;AACP,SAAS,SAAS,qBAAqB;AACvC,SAAS,cAAc;AACvB,OAAO,SAAS;AAsFhB,SAAoB,WAAXA,gBAA6C;AACtD,SAAS,aAAa;AACtB,cAAc;AAhBX;AAtEH,IAAM,EAAE,iCAAiC,IAAI,OAAQ,iBAAkB;AAQhE,SAAS,iBAAkB,IAAI,UAAW;AAChD,QAAM,SAAS,SAAS,eAAgB,EAAG;AAC3C,QAAM,OAAO,WAAY,MAAO;AAEhC,WAAU,WAAY,EAAE,wBAAwB;AAChD,QAAM,aAAa,4BAA4B,EAAE;AAAA,IAChD,CAAE,EAAE,KAAK,MAAO,SAAS;AAAA,EAC1B;AACA,qBAAoB,UAAW;AAC/B,mCAAiC;AACjC,WAAU,WAAY,EAAE,6BAA8B,WAAY;AAClE,4BAA2B,EAAE,UAAU,MAAM,CAAE;AAC/C,2BAA0B,EAAE,UAAU,MAAM,CAAE;AAC9C,MAAK,WAAW,qBAAsB;AACrC,iDAA8C;AAAA,MAC7C,iBAAiB;AAAA,IAClB,CAAE;AAAA,EACH;AAIA,WAAU,gBAAiB,EAAE,YAAa,kBAAkB;AAAA,IAC3D,cAAc;AAAA,IACd,oBAAoB;AAAA,IACpB,kBAAkB;AAAA,IAClB,sBAAsB;AAAA,EACvB,CAAE;AAEF,WAAU,gBAAiB,EAAE,YAAa,QAAQ;AAAA,IACjD,0BAA0B;AAAA,IAC1B,iBAAiB;AAAA,IACjB,YAAY;AAAA,IACZ,YAAY;AAAA,IACZ,cAAc;AAAA,IACd,WAAW;AAAA,IACX,gBAAgB,CAAC;AAAA,IACjB,sBAAsB;AAAA,IACtB,YAAY,CAAE,aAAc;AAAA,IAC5B,sBAAsB;AAAA,IACtB,uBAAuB;AAAA,IACvB,0BAA0B;AAAA,IAC1B,yBAAyB;AAAA,IACzB,oCAAoC;AAAA,IACpC,qCAAqC;AAAA,IACrC,wCAAwC;AAAA,EACzC,CAAE;AAEF,MAAK,OAAO,6BAA8B;AACzC,aAAU,gBAAiB,EAAE,YAAa,cAAc;AAAA,MACvD,iBAAiB;AAAA,MACjB,kBAAkB;AAAA,IACnB,CAAE;AAAA,EACH;AAEA,WAAU,aAAc,EAAE,eAAgB,QAAS;AAGnD,SAAO,iBAAkB,YAAY,CAAE,MAAO,EAAE,eAAe,GAAG,KAAM;AACxE,SAAO,iBAAkB,QAAQ,CAAE,MAAO,EAAE,eAAe,GAAG,KAAM;AAEpE,OAAK;AAAA,IACJ,oBAAC,cACA,8BAAC,OAAI,GACN;AAAA,EACD;AAEA,SAAO;AACR;AAEO,SAAS,qBAAqB;AACpC,aAAY,kCAAkC;AAAA,IAC7C,OAAO;AAAA,IACP,SAAS;AAAA,EACV,CAAE;AACH;",
|
|
6
6
|
"names": ["default"]
|
|
@@ -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
|
-
|
|
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
|
|
738
|
-
|
|
739
|
-
|
|
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
|
-
|
|
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
|
|
873
|
-
|
|
874
|
-
|
|
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 {
|
|
@@ -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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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,
|
|
@@ -2108,6 +2115,7 @@ div.dataviews-view-list {
|
|
|
2108
2115
|
min-height: 0;
|
|
2109
2116
|
background-color: var(--wpds-color-background-surface-neutral-strong, #fff);
|
|
2110
2117
|
border-radius: var(--wpds-border-radius-md, 4px);
|
|
2118
|
+
overflow: hidden;
|
|
2111
2119
|
position: relative;
|
|
2112
2120
|
}
|
|
2113
2121
|
|
|
@@ -2130,6 +2138,15 @@ div.dataviews-view-list {
|
|
|
2130
2138
|
pointer-events: none;
|
|
2131
2139
|
}
|
|
2132
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
|
+
|
|
2133
2150
|
.dataviews-view-picker-grid .dataviews-view-picker-grid__fields {
|
|
2134
2151
|
position: relative;
|
|
2135
2152
|
font-size: 12px;
|
|
@@ -2700,51 +2717,35 @@ div.dataviews-view-list {
|
|
|
2700
2717
|
background-color: var(--wpds-color-background-interactive-neutral-strong-active, #1e1e1e);
|
|
2701
2718
|
}
|
|
2702
2719
|
|
|
2703
|
-
.dataviews-validated-control:has(:is(input, select):invalid[data-validity-visible]) .components-input-control__backdrop {
|
|
2704
|
-
--
|
|
2705
|
-
border-color: #cc1818;
|
|
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;
|
|
2706
2722
|
}
|
|
2707
2723
|
|
|
2708
|
-
.dataviews-validated-
|
|
2709
|
-
|
|
2710
|
-
align-items: flex-start;
|
|
2711
|
-
gap: 4px;
|
|
2712
|
-
margin: 8px 0 0;
|
|
2713
|
-
font-family: -apple-system, system-ui, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
|
|
2714
|
-
font-size: 12px;
|
|
2715
|
-
line-height: 16px;
|
|
2716
|
-
color: #757575;
|
|
2717
|
-
animation: dataviews-validated-control__indicator-jump 0.2s cubic-bezier(0.68, -0.55, 0.27, 1.55);
|
|
2724
|
+
.dataviews-validated-control:has(:is(input, select):invalid[data-validity-visible]) .components-input-control__backdrop {
|
|
2725
|
+
border-color: #cc1818;
|
|
2718
2726
|
}
|
|
2719
2727
|
|
|
2720
|
-
.dataviews-validated-
|
|
2721
|
-
color: #cc1818;
|
|
2728
|
+
.dataviews-validated-control .components-combobox-control__suggestions-container:has(input:invalid[data-validity-visible]):not(:has([aria-expanded=true])) {
|
|
2729
|
+
border-color: #cc1818;
|
|
2722
2730
|
}
|
|
2723
2731
|
|
|
2724
|
-
.dataviews-validated-
|
|
2725
|
-
|
|
2732
|
+
.dataviews-validated-control__wrapper-with-error-delegate {
|
|
2733
|
+
position: relative;
|
|
2726
2734
|
}
|
|
2727
2735
|
|
|
2728
|
-
.dataviews-validated-
|
|
2729
|
-
|
|
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;
|
|
2730
2738
|
}
|
|
2731
2739
|
|
|
2732
|
-
.dataviews-validated-
|
|
2733
|
-
|
|
2734
|
-
|
|
2735
|
-
height:
|
|
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;
|
|
2736
2747
|
}
|
|
2737
2748
|
|
|
2738
|
-
@keyframes dataviews-validated-control__indicator-jump {
|
|
2739
|
-
0% {
|
|
2740
|
-
transform: translateY(-4px);
|
|
2741
|
-
opacity: 0;
|
|
2742
|
-
}
|
|
2743
|
-
100% {
|
|
2744
|
-
transform: translateY(0);
|
|
2745
|
-
opacity: 1;
|
|
2746
|
-
}
|
|
2747
|
-
}
|
|
2748
2749
|
.dataforms-layouts-panel__field-trigger {
|
|
2749
2750
|
position: relative;
|
|
2750
2751
|
color: inherit;
|
|
@@ -2809,6 +2810,12 @@ div.dataviews-view-list {
|
|
|
2809
2810
|
border-radius: var(--wpds-border-radius-xs, 1px);
|
|
2810
2811
|
}
|
|
2811
2812
|
|
|
2813
|
+
.dataforms-layouts-panel__field-trigger-icon::after {
|
|
2814
|
+
content: "";
|
|
2815
|
+
position: absolute;
|
|
2816
|
+
inset: 0;
|
|
2817
|
+
}
|
|
2818
|
+
|
|
2812
2819
|
.dataforms-layouts-panel__field-trigger-icon:focus-visible {
|
|
2813
2820
|
opacity: 1;
|
|
2814
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));
|
|
@@ -2844,9 +2851,7 @@ div.dataviews-view-list {
|
|
|
2844
2851
|
}
|
|
2845
2852
|
|
|
2846
2853
|
.dataforms-layouts-panel__field-label-error-content {
|
|
2847
|
-
|
|
2848
|
-
z-index: 1;
|
|
2849
|
-
cursor: help;
|
|
2854
|
+
pointer-events: none;
|
|
2850
2855
|
color: var(--wpds-color-foreground-content-error-weak, #cc1818);
|
|
2851
2856
|
display: inline-flex;
|
|
2852
2857
|
flex-direction: row;
|
|
@@ -2868,6 +2873,10 @@ div.dataviews-view-list {
|
|
|
2868
2873
|
font-weight: var(--wpds-typography-font-weight-emphasis, 600);
|
|
2869
2874
|
}
|
|
2870
2875
|
|
|
2876
|
+
.dataforms-layouts-panel__field-control:has(a, button) {
|
|
2877
|
+
z-index: 1;
|
|
2878
|
+
}
|
|
2879
|
+
|
|
2871
2880
|
.dataforms-layouts-panel__field-control > * {
|
|
2872
2881
|
min-width: 0;
|
|
2873
2882
|
}
|
|
@@ -2902,10 +2911,6 @@ div.dataviews-view-list {
|
|
|
2902
2911
|
z-index: 159990;
|
|
2903
2912
|
}
|
|
2904
2913
|
|
|
2905
|
-
.dataforms-layouts-panel__summary-button:empty {
|
|
2906
|
-
min-width: 160px;
|
|
2907
|
-
}
|
|
2908
|
-
|
|
2909
2914
|
.dataforms-layouts-regular__field {
|
|
2910
2915
|
width: 100%;
|
|
2911
2916
|
min-height: var(--wpds-dimension-size-md, 32px);
|
|
@@ -3732,7 +3737,7 @@ fieldset.fields__media-edit .fields__media-edit-expanded:not(.is-empty) .fields_
|
|
|
3732
3737
|
position: absolute;
|
|
3733
3738
|
width: 100%;
|
|
3734
3739
|
bottom: 0;
|
|
3735
|
-
border-top: 1px solid #
|
|
3740
|
+
border-top: 1px solid var(--wpds-color-stroke-surface-neutral, #dbdbdb);
|
|
3736
3741
|
padding: 24px;
|
|
3737
3742
|
background-color: #fff;
|
|
3738
3743
|
box-sizing: border-box;
|
|
@@ -3776,9 +3781,13 @@ fieldset.fields__media-edit .fields__media-edit-expanded:not(.is-empty) .fields_
|
|
|
3776
3781
|
margin-bottom: 0;
|
|
3777
3782
|
}
|
|
3778
3783
|
|
|
3784
|
+
.font-library__font-demo {
|
|
3785
|
+
position: relative;
|
|
3786
|
+
}
|
|
3787
|
+
|
|
3779
3788
|
.font-library__font-card {
|
|
3780
3789
|
box-sizing: border-box;
|
|
3781
|
-
border: 1px solid #
|
|
3790
|
+
border: 1px solid var(--wpds-color-stroke-surface-neutral, #dbdbdb);
|
|
3782
3791
|
width: 100%;
|
|
3783
3792
|
height: auto !important;
|
|
3784
3793
|
padding: 16px;
|
|
@@ -3807,6 +3816,23 @@ fieldset.fields__media-edit .fields__media-edit-expanded:not(.is-empty) .fields_
|
|
|
3807
3816
|
width: auto;
|
|
3808
3817
|
}
|
|
3809
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
|
+
|
|
3810
3836
|
.font-library__font-card .font-library__font-variant_demo-text {
|
|
3811
3837
|
white-space: nowrap;
|
|
3812
3838
|
flex-shrink: 0;
|
|
@@ -3820,7 +3846,7 @@ fieldset.fields__media-edit .fields__media-edit-expanded:not(.is-empty) .fields_
|
|
|
3820
3846
|
.font-library-modal__tablist-container {
|
|
3821
3847
|
position: sticky;
|
|
3822
3848
|
top: 0;
|
|
3823
|
-
border-bottom: 1px solid #
|
|
3849
|
+
border-bottom: 1px solid var(--wpds-color-stroke-surface-neutral, #dbdbdb);
|
|
3824
3850
|
background: #fff;
|
|
3825
3851
|
z-index: 1;
|
|
3826
3852
|
}
|
|
@@ -3960,7 +3986,7 @@ button.font-library__upload-area {
|
|
|
3960
3986
|
right: 16px;
|
|
3961
3987
|
top: 0;
|
|
3962
3988
|
width: 0;
|
|
3963
|
-
border: 0.5px solid #
|
|
3989
|
+
border: 0.5px solid var(--wpds-color-stroke-surface-neutral, #dbdbdb);
|
|
3964
3990
|
}
|
|
3965
3991
|
|
|
3966
3992
|
.global-styles-ui-screen-revisions__revision-item:first-child::after {
|
|
@@ -4067,7 +4093,7 @@ button.font-library__upload-area {
|
|
|
4067
4093
|
bottom: 0;
|
|
4068
4094
|
background: #fff;
|
|
4069
4095
|
padding: 12px;
|
|
4070
|
-
border-top: 1px solid #
|
|
4096
|
+
border-top: 1px solid var(--wpds-color-stroke-surface-neutral, #dbdbdb);
|
|
4071
4097
|
box-sizing: border-box;
|
|
4072
4098
|
}
|
|
4073
4099
|
|
|
@@ -4153,11 +4179,32 @@ button.font-library__upload-area {
|
|
|
4153
4179
|
border-radius: 2px;
|
|
4154
4180
|
}
|
|
4155
4181
|
|
|
4156
|
-
.global-styles-ui-block-types-
|
|
4157
|
-
margin-bottom:
|
|
4182
|
+
.global-styles-ui-block-types-filter {
|
|
4183
|
+
margin-bottom: 12px;
|
|
4158
4184
|
padding: 0 16px;
|
|
4159
4185
|
}
|
|
4160
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
|
+
|
|
4161
4208
|
.global-styles-ui-screen-typography__font-variants-count {
|
|
4162
4209
|
color: #757575;
|
|
4163
4210
|
}
|
|
@@ -4268,10 +4315,6 @@ button.font-library__upload-area {
|
|
|
4268
4315
|
opacity: 0;
|
|
4269
4316
|
}
|
|
4270
4317
|
|
|
4271
|
-
.global-styles-ui__shadow-editor__remove-button.global-styles-ui__shadow-editor__remove-button {
|
|
4272
|
-
border: none;
|
|
4273
|
-
}
|
|
4274
|
-
|
|
4275
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 {
|
|
4276
4319
|
opacity: 1;
|
|
4277
4320
|
}
|
|
@@ -4363,7 +4406,8 @@ button.font-library__upload-area {
|
|
|
4363
4406
|
}
|
|
4364
4407
|
|
|
4365
4408
|
.global-styles-ui-color-palette-panel,
|
|
4366
|
-
.global-styles-ui-gradient-palette-panel
|
|
4409
|
+
.global-styles-ui-gradient-palette-panel,
|
|
4410
|
+
.global-styles-ui-duotone-palette-panel {
|
|
4367
4411
|
padding: 16px;
|
|
4368
4412
|
}
|
|
4369
4413
|
|
|
@@ -5595,9 +5639,10 @@ body.js.site-editor-php {
|
|
|
5595
5639
|
@media (min-width: 782px) {
|
|
5596
5640
|
body.js.site-editor-php:has(.editor-editor-interface.is-distraction-free) {
|
|
5597
5641
|
--wp-admin--admin-bar--height: 0px;
|
|
5642
|
+
--wp-editor-admin-bar-display: none;
|
|
5598
5643
|
}
|
|
5599
|
-
body.js.site-editor-php
|
|
5600
|
-
display:
|
|
5644
|
+
body.js.site-editor-php #wpadminbar {
|
|
5645
|
+
display: var(--wp-editor-admin-bar-display, block);
|
|
5601
5646
|
}
|
|
5602
5647
|
}
|
|
5603
5648
|
|