@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.
- package/CHANGELOG.md +28 -0
- package/README.md +0 -7
- package/build/components/add-new-pattern/index.cjs.map +2 -2
- package/build/components/add-new-post/index.cjs.map +2 -2
- package/build/components/add-new-template/add-custom-generic-template-modal-content.cjs.map +2 -2
- package/build/components/add-new-template/add-custom-template-modal-content.cjs.map +2 -2
- package/build/components/add-new-template/index.cjs.map +2 -2
- package/build/components/add-new-template/utils.cjs.map +2 -2
- package/build/components/add-new-template-legacy/add-custom-generic-template-modal-content.cjs.map +2 -2
- package/build/components/add-new-template-legacy/add-custom-template-modal-content.cjs.map +2 -2
- package/build/components/add-new-template-legacy/index.cjs.map +2 -2
- package/build/components/add-new-template-legacy/utils.cjs.map +2 -2
- package/build/components/app/index.cjs.map +2 -2
- package/build/components/block-editor/use-editor-iframe-props.cjs.map +2 -2
- 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.map +2 -2
- package/build/components/dataviews-actions/index.cjs.map +2 -2
- package/build/components/editor/index.cjs +14 -12
- package/build/components/editor/index.cjs.map +3 -3
- package/build/components/editor/site-preview.cjs.map +2 -2
- package/build/components/editor/use-adapt-editor-to-canvas.cjs +2 -2
- package/build/components/editor/use-adapt-editor-to-canvas.cjs.map +2 -2
- package/build/components/editor/use-editor-title.cjs.map +2 -2
- package/build/components/editor/use-resolve-edited-entity.cjs.map +2 -2
- package/build/components/editor/use-revisions-url-sync.cjs +122 -0
- package/build/components/editor/use-revisions-url-sync.cjs.map +7 -0
- package/build/components/layout/animation.cjs.map +2 -2
- package/build/components/layout/hooks.cjs.map +2 -2
- package/build/components/layout/index.cjs +11 -2
- package/build/components/layout/index.cjs.map +2 -2
- package/build/components/media/index.cjs.map +2 -2
- package/build/components/more-menu/index.cjs +2 -3
- package/build/components/more-menu/index.cjs.map +3 -3
- package/build/components/more-menu/welcome-guide-menu-item.cjs.map +2 -2
- package/build/components/page-patterns/actions.cjs.map +2 -2
- package/build/components/page-patterns/delete-category-menu-item.cjs.map +2 -2
- package/build/components/page-patterns/fields.cjs.map +2 -2
- package/build/components/page-patterns/index.cjs.map +2 -2
- package/build/components/page-patterns/rename-category-menu-item.cjs.map +2 -2
- package/build/components/page-patterns/search-items.cjs.map +2 -2
- package/build/components/page-patterns/use-pattern-settings.cjs.map +2 -2
- package/build/components/page-patterns/use-patterns.cjs.map +2 -2
- package/build/components/page-templates/fields.cjs.map +2 -2
- package/build/components/page-templates/hooks.cjs.map +2 -2
- package/build/components/page-templates/index-legacy.cjs.map +2 -2
- package/build/components/page-templates/index.cjs.map +2 -2
- package/build/components/pagination/index.cjs.map +2 -2
- package/build/components/plugin-template-setting-panel/index.cjs.map +2 -2
- package/build/components/post-list/index.cjs.map +2 -2
- package/build/components/post-list/quick-edit-modal.cjs.map +2 -2
- package/build/components/post-list/use-notes-count.cjs.map +2 -2
- package/build/components/resizable-frame/index.cjs.map +2 -2
- package/build/components/routes/use-title.cjs.map +2 -2
- package/build/components/save-button/index.cjs.map +2 -2
- package/build/components/save-hub/index.cjs.map +2 -2
- package/build/components/save-keyboard-shortcut/index.cjs.map +2 -2
- package/build/components/save-panel/index.cjs.map +2 -2
- package/build/components/sidebar/index.cjs.map +2 -2
- package/build/components/sidebar-button/index.cjs.map +2 -2
- package/build/components/sidebar-dataviews/index.cjs.map +2 -2
- package/build/components/sidebar-global-styles/index.cjs.map +2 -2
- package/build/components/sidebar-identity/index.cjs +5 -2
- package/build/components/sidebar-identity/index.cjs.map +2 -2
- package/build/components/sidebar-navigation-item/index.cjs.map +2 -2
- package/build/components/sidebar-navigation-screen/index.cjs.map +2 -2
- package/build/components/sidebar-navigation-screen-details-footer/index.cjs.map +2 -2
- package/build/components/sidebar-navigation-screen-global-styles/content.cjs.map +2 -2
- package/build/components/sidebar-navigation-screen-global-styles/index.cjs.map +2 -2
- package/build/components/sidebar-navigation-screen-identity/index.cjs.map +2 -2
- package/build/components/sidebar-navigation-screen-main/index.cjs.map +2 -2
- package/build/components/sidebar-navigation-screen-navigation-menu/delete-confirm-dialog.cjs.map +2 -2
- package/build/components/sidebar-navigation-screen-navigation-menu/index.cjs.map +2 -2
- package/build/components/sidebar-navigation-screen-navigation-menu/more-menu.cjs.map +2 -2
- package/build/components/sidebar-navigation-screen-navigation-menu/navigation-menu-editor.cjs.map +2 -2
- package/build/components/sidebar-navigation-screen-navigation-menu/rename-modal.cjs.map +2 -2
- package/build/components/sidebar-navigation-screen-navigation-menu/single-navigation-menu.cjs.map +2 -2
- package/build/components/sidebar-navigation-screen-navigation-menu/use-navigation-menu-handlers.cjs.map +2 -2
- package/build/components/sidebar-navigation-screen-navigation-menus/build-navigation-label.cjs.map +2 -2
- package/build/components/sidebar-navigation-screen-navigation-menus/index.cjs +3 -1
- package/build/components/sidebar-navigation-screen-navigation-menus/index.cjs.map +2 -2
- package/build/components/sidebar-navigation-screen-navigation-menus/leaf-more-menu.cjs +24 -25
- package/build/components/sidebar-navigation-screen-navigation-menus/leaf-more-menu.cjs.map +2 -2
- 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.map +2 -2
- package/build/components/sidebar-navigation-screen-patterns/index.cjs +1 -1
- package/build/components/sidebar-navigation-screen-patterns/index.cjs.map +2 -2
- package/build/components/sidebar-navigation-screen-patterns/use-default-pattern-categories.cjs.map +2 -2
- package/build/components/sidebar-navigation-screen-patterns/use-pattern-categories.cjs.map +2 -2
- package/build/components/sidebar-navigation-screen-patterns/use-template-part-areas.cjs.map +2 -2
- package/build/components/sidebar-navigation-screen-patterns/use-theme-patterns.cjs.map +2 -2
- package/build/components/sidebar-navigation-screen-templates-browse/content-legacy.cjs.map +2 -2
- package/build/components/sidebar-navigation-screen-templates-browse/content.cjs +1 -1
- package/build/components/sidebar-navigation-screen-templates-browse/content.cjs.map +2 -2
- package/build/components/sidebar-navigation-screen-templates-browse/index.cjs +1 -1
- package/build/components/sidebar-navigation-screen-templates-browse/index.cjs.map +2 -2
- package/build/components/sidebar-navigation-screen-unsupported/index.cjs.map +2 -2
- package/build/components/site-editor-routes/home.cjs.map +2 -2
- package/build/components/site-editor-routes/identity.cjs.map +2 -2
- package/build/components/site-editor-routes/index.cjs.map +2 -2
- package/build/components/site-editor-routes/navigation-item.cjs.map +2 -2
- package/build/components/site-editor-routes/navigation.cjs.map +2 -2
- package/build/components/site-editor-routes/notfound.cjs.map +2 -2
- package/build/components/site-editor-routes/page-item.cjs.map +2 -2
- package/build/components/site-editor-routes/pages.cjs +3 -0
- package/build/components/site-editor-routes/pages.cjs.map +2 -2
- package/build/components/site-editor-routes/pattern-item.cjs.map +2 -2
- package/build/components/site-editor-routes/patterns.cjs.map +2 -2
- package/build/components/site-editor-routes/stylebook.cjs.map +2 -2
- package/build/components/site-editor-routes/styles.cjs.map +2 -2
- package/build/components/site-editor-routes/template-item.cjs.map +2 -2
- package/build/components/site-editor-routes/template-part-item.cjs.map +2 -2
- package/build/components/site-editor-routes/templates.cjs.map +2 -2
- package/build/components/site-hub/index.cjs.map +2 -2
- package/build/components/welcome-guide/editor.cjs.map +2 -2
- package/build/components/welcome-guide/index.cjs.map +2 -2
- package/build/components/welcome-guide/page.cjs.map +2 -2
- package/build/components/welcome-guide/template.cjs.map +2 -2
- package/build/deprecated.cjs.map +2 -2
- package/build/hooks/commands/use-common-commands.cjs.map +2 -2
- package/build/hooks/commands/use-set-command-context.cjs.map +2 -2
- package/build/index.cjs.map +2 -2
- package/build/lock-unlock.cjs.map +2 -2
- package/build/store/actions.cjs.map +2 -2
- package/build/store/index.cjs.map +2 -2
- package/build/store/reducer.cjs.map +2 -2
- package/build/store/selectors.cjs.map +2 -2
- package/build/utils/constants.cjs.map +2 -2
- package/build/utils/get-filtered-template-parts.cjs.map +2 -2
- package/build/utils/is-previewing-theme.cjs.map +2 -2
- package/build/utils/is-template-removable.cjs.map +2 -2
- package/build/utils/is-template-revertable.cjs.map +2 -2
- package/build/utils/use-activate-theme.cjs.map +2 -2
- package/build/utils/use-actual-current-theme.cjs.map +2 -2
- package/build-module/components/add-new-pattern/index.mjs.map +2 -2
- package/build-module/components/add-new-post/index.mjs.map +2 -2
- package/build-module/components/add-new-template/add-custom-generic-template-modal-content.mjs.map +2 -2
- package/build-module/components/add-new-template/add-custom-template-modal-content.mjs.map +2 -2
- package/build-module/components/add-new-template/index.mjs.map +2 -2
- package/build-module/components/add-new-template/utils.mjs.map +2 -2
- package/build-module/components/add-new-template-legacy/add-custom-generic-template-modal-content.mjs.map +2 -2
- package/build-module/components/add-new-template-legacy/add-custom-template-modal-content.mjs.map +2 -2
- package/build-module/components/add-new-template-legacy/index.mjs.map +2 -2
- package/build-module/components/add-new-template-legacy/utils.mjs.map +2 -2
- package/build-module/components/app/index.mjs.map +2 -2
- package/build-module/components/block-editor/use-editor-iframe-props.mjs.map +2 -2
- 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.map +2 -2
- package/build-module/components/dataviews-actions/index.mjs.map +2 -2
- package/build-module/components/editor/index.mjs +14 -13
- package/build-module/components/editor/index.mjs.map +2 -2
- package/build-module/components/editor/site-preview.mjs.map +2 -2
- package/build-module/components/editor/use-adapt-editor-to-canvas.mjs +1 -1
- package/build-module/components/editor/use-adapt-editor-to-canvas.mjs.map +2 -2
- package/build-module/components/editor/use-editor-title.mjs.map +2 -2
- package/build-module/components/editor/use-resolve-edited-entity.mjs.map +2 -2
- package/build-module/components/editor/use-revisions-url-sync.mjs +101 -0
- package/build-module/components/editor/use-revisions-url-sync.mjs.map +7 -0
- package/build-module/components/layout/animation.mjs.map +2 -2
- package/build-module/components/layout/hooks.mjs.map +2 -2
- package/build-module/components/layout/index.mjs +11 -2
- package/build-module/components/layout/index.mjs.map +2 -2
- package/build-module/components/media/index.mjs.map +2 -2
- package/build-module/components/more-menu/index.mjs +1 -2
- package/build-module/components/more-menu/index.mjs.map +2 -2
- package/build-module/components/more-menu/welcome-guide-menu-item.mjs.map +2 -2
- package/build-module/components/page-patterns/actions.mjs.map +2 -2
- package/build-module/components/page-patterns/delete-category-menu-item.mjs.map +2 -2
- package/build-module/components/page-patterns/fields.mjs.map +2 -2
- package/build-module/components/page-patterns/index.mjs.map +2 -2
- package/build-module/components/page-patterns/rename-category-menu-item.mjs.map +2 -2
- package/build-module/components/page-patterns/search-items.mjs.map +2 -2
- package/build-module/components/page-patterns/use-pattern-settings.mjs.map +2 -2
- package/build-module/components/page-patterns/use-patterns.mjs.map +2 -2
- package/build-module/components/page-templates/fields.mjs.map +2 -2
- package/build-module/components/page-templates/hooks.mjs.map +2 -2
- package/build-module/components/page-templates/index-legacy.mjs.map +2 -2
- package/build-module/components/page-templates/index.mjs.map +2 -2
- package/build-module/components/pagination/index.mjs.map +2 -2
- package/build-module/components/plugin-template-setting-panel/index.mjs.map +2 -2
- package/build-module/components/post-list/index.mjs.map +2 -2
- package/build-module/components/post-list/quick-edit-modal.mjs.map +2 -2
- package/build-module/components/post-list/use-notes-count.mjs.map +2 -2
- package/build-module/components/resizable-frame/index.mjs.map +2 -2
- package/build-module/components/routes/use-title.mjs.map +2 -2
- package/build-module/components/save-button/index.mjs.map +2 -2
- package/build-module/components/save-hub/index.mjs.map +2 -2
- package/build-module/components/save-keyboard-shortcut/index.mjs.map +2 -2
- package/build-module/components/save-panel/index.mjs.map +2 -2
- package/build-module/components/sidebar/index.mjs.map +2 -2
- package/build-module/components/sidebar-button/index.mjs.map +2 -2
- package/build-module/components/sidebar-dataviews/index.mjs.map +2 -2
- package/build-module/components/sidebar-global-styles/index.mjs.map +2 -2
- package/build-module/components/sidebar-identity/index.mjs +5 -2
- package/build-module/components/sidebar-identity/index.mjs.map +2 -2
- package/build-module/components/sidebar-navigation-item/index.mjs.map +2 -2
- package/build-module/components/sidebar-navigation-screen/index.mjs.map +2 -2
- package/build-module/components/sidebar-navigation-screen-details-footer/index.mjs.map +2 -2
- package/build-module/components/sidebar-navigation-screen-global-styles/content.mjs.map +2 -2
- package/build-module/components/sidebar-navigation-screen-global-styles/index.mjs.map +2 -2
- package/build-module/components/sidebar-navigation-screen-identity/index.mjs.map +2 -2
- package/build-module/components/sidebar-navigation-screen-main/index.mjs.map +2 -2
- package/build-module/components/sidebar-navigation-screen-navigation-menu/delete-confirm-dialog.mjs.map +2 -2
- package/build-module/components/sidebar-navigation-screen-navigation-menu/index.mjs.map +2 -2
- package/build-module/components/sidebar-navigation-screen-navigation-menu/more-menu.mjs.map +2 -2
- package/build-module/components/sidebar-navigation-screen-navigation-menu/navigation-menu-editor.mjs.map +2 -2
- package/build-module/components/sidebar-navigation-screen-navigation-menu/rename-modal.mjs.map +2 -2
- package/build-module/components/sidebar-navigation-screen-navigation-menu/single-navigation-menu.mjs.map +2 -2
- package/build-module/components/sidebar-navigation-screen-navigation-menu/use-navigation-menu-handlers.mjs.map +2 -2
- package/build-module/components/sidebar-navigation-screen-navigation-menus/build-navigation-label.mjs.map +2 -2
- package/build-module/components/sidebar-navigation-screen-navigation-menus/index.mjs +3 -1
- package/build-module/components/sidebar-navigation-screen-navigation-menus/index.mjs.map +2 -2
- package/build-module/components/sidebar-navigation-screen-navigation-menus/leaf-more-menu.mjs +24 -25
- package/build-module/components/sidebar-navigation-screen-navigation-menus/leaf-more-menu.mjs.map +2 -2
- 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.map +2 -2
- package/build-module/components/sidebar-navigation-screen-patterns/index.mjs +1 -1
- package/build-module/components/sidebar-navigation-screen-patterns/index.mjs.map +2 -2
- package/build-module/components/sidebar-navigation-screen-patterns/use-default-pattern-categories.mjs.map +2 -2
- package/build-module/components/sidebar-navigation-screen-patterns/use-pattern-categories.mjs.map +2 -2
- package/build-module/components/sidebar-navigation-screen-patterns/use-template-part-areas.mjs.map +2 -2
- package/build-module/components/sidebar-navigation-screen-patterns/use-theme-patterns.mjs.map +2 -2
- package/build-module/components/sidebar-navigation-screen-templates-browse/content-legacy.mjs.map +2 -2
- 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 +2 -2
- package/build-module/components/sidebar-navigation-screen-templates-browse/index.mjs +1 -1
- package/build-module/components/sidebar-navigation-screen-templates-browse/index.mjs.map +2 -2
- package/build-module/components/sidebar-navigation-screen-unsupported/index.mjs.map +2 -2
- package/build-module/components/site-editor-routes/home.mjs.map +2 -2
- package/build-module/components/site-editor-routes/identity.mjs.map +2 -2
- package/build-module/components/site-editor-routes/index.mjs.map +2 -2
- package/build-module/components/site-editor-routes/navigation-item.mjs.map +2 -2
- package/build-module/components/site-editor-routes/navigation.mjs.map +2 -2
- package/build-module/components/site-editor-routes/notfound.mjs.map +2 -2
- package/build-module/components/site-editor-routes/page-item.mjs.map +2 -2
- package/build-module/components/site-editor-routes/pages.mjs +3 -0
- package/build-module/components/site-editor-routes/pages.mjs.map +2 -2
- package/build-module/components/site-editor-routes/pattern-item.mjs.map +2 -2
- package/build-module/components/site-editor-routes/patterns.mjs.map +2 -2
- package/build-module/components/site-editor-routes/stylebook.mjs.map +2 -2
- package/build-module/components/site-editor-routes/styles.mjs.map +2 -2
- package/build-module/components/site-editor-routes/template-item.mjs.map +2 -2
- package/build-module/components/site-editor-routes/template-part-item.mjs.map +2 -2
- package/build-module/components/site-editor-routes/templates.mjs.map +2 -2
- package/build-module/components/site-hub/index.mjs.map +2 -2
- package/build-module/components/welcome-guide/editor.mjs.map +2 -2
- package/build-module/components/welcome-guide/index.mjs.map +2 -2
- package/build-module/components/welcome-guide/page.mjs.map +2 -2
- package/build-module/components/welcome-guide/template.mjs.map +2 -2
- package/build-module/deprecated.mjs.map +2 -2
- package/build-module/hooks/commands/use-common-commands.mjs.map +2 -2
- package/build-module/hooks/commands/use-set-command-context.mjs.map +2 -2
- package/build-module/index.mjs.map +2 -2
- package/build-module/lock-unlock.mjs.map +2 -2
- package/build-module/store/actions.mjs.map +2 -2
- package/build-module/store/index.mjs.map +2 -2
- package/build-module/store/reducer.mjs.map +2 -2
- package/build-module/store/selectors.mjs.map +2 -2
- package/build-module/utils/constants.mjs.map +2 -2
- package/build-module/utils/get-filtered-template-parts.mjs.map +2 -2
- package/build-module/utils/is-previewing-theme.mjs.map +2 -2
- package/build-module/utils/is-template-removable.mjs.map +2 -2
- package/build-module/utils/is-template-revertable.mjs.map +2 -2
- package/build-module/utils/use-activate-theme.mjs.map +2 -2
- package/build-module/utils/use-actual-current-theme.mjs.map +2 -2
- package/build-style/style-rtl.css +157 -66
- package/build-style/style.css +157 -66
- package/package.json +48 -48
- package/src/components/add-new-pattern/index.js +0 -7
- package/src/components/add-new-post/index.js +0 -3
- package/src/components/add-new-template/add-custom-generic-template-modal-content.js +0 -7
- package/src/components/add-new-template/add-custom-template-modal-content.js +0 -7
- package/src/components/add-new-template/index.js +0 -15
- package/src/components/add-new-template/utils.js +0 -7
- package/src/components/add-new-template-legacy/add-custom-generic-template-modal-content.js +0 -7
- package/src/components/add-new-template-legacy/add-custom-template-modal-content.js +0 -7
- package/src/components/add-new-template-legacy/index.js +0 -15
- package/src/components/add-new-template-legacy/utils.js +0 -7
- package/src/components/app/index.js +0 -7
- package/src/components/block-editor/use-editor-iframe-props.js +0 -11
- package/src/components/block-editor/use-navigate-to-entity-record.js +11 -39
- package/src/components/block-editor/use-site-editor-settings.js +0 -8
- package/src/components/block-editor/viewport.js +34 -0
- package/src/components/canvas-loader/index.js +0 -7
- package/src/components/dataviews-actions/index.js +0 -7
- package/src/components/editor/index.js +19 -20
- package/src/components/editor/site-preview.js +0 -3
- package/src/components/editor/use-adapt-editor-to-canvas.js +1 -8
- package/src/components/editor/use-editor-title.js +0 -7
- package/src/components/editor/use-resolve-edited-entity.js +0 -7
- package/src/components/editor/use-revisions-url-sync.js +132 -0
- package/src/components/layout/animation.js +0 -7
- package/src/components/layout/hooks.js +0 -3
- package/src/components/layout/index.js +10 -14
- package/src/components/media/index.js +0 -3
- package/src/components/more-menu/index.js +2 -9
- package/src/components/more-menu/welcome-guide-menu-item.js +0 -3
- package/src/components/page-patterns/actions.js +0 -7
- package/src/components/page-patterns/delete-category-menu-item.js +0 -7
- package/src/components/page-patterns/fields.js +0 -7
- package/src/components/page-patterns/index.js +0 -7
- package/src/components/page-patterns/rename-category-menu-item.js +0 -10
- package/src/components/page-patterns/search-items.js +0 -12
- package/src/components/page-patterns/style.scss +3 -0
- package/src/components/page-patterns/use-pattern-settings.js +0 -7
- package/src/components/page-patterns/use-patterns.js +0 -7
- package/src/components/page-templates/fields.js +0 -11
- package/src/components/page-templates/hooks.js +0 -7
- package/src/components/page-templates/index-legacy.js +0 -7
- package/src/components/page-templates/index.js +0 -7
- package/src/components/pagination/index.js +0 -7
- package/src/components/plugin-template-setting-panel/index.js +0 -4
- package/src/components/post-list/index.js +0 -9
- package/src/components/post-list/quick-edit-modal.js +0 -7
- package/src/components/post-list/use-notes-count.js +0 -3
- package/src/components/resizable-frame/index.js +0 -11
- package/src/components/routes/use-title.js +0 -7
- package/src/components/save-button/index.js +0 -7
- package/src/components/save-hub/index.js +0 -7
- package/src/components/save-keyboard-shortcut/index.js +0 -7
- package/src/components/save-panel/index.js +0 -11
- package/src/components/sidebar/index.js +0 -7
- package/src/components/sidebar-button/index.js +0 -7
- package/src/components/sidebar-dataviews/index.js +0 -7
- package/src/components/sidebar-global-styles/index.js +0 -7
- package/src/components/sidebar-identity/index.js +3 -3
- package/src/components/sidebar-navigation-item/index.js +0 -11
- package/src/components/sidebar-navigation-item/style.scss +3 -10
- package/src/components/sidebar-navigation-screen/index.js +0 -11
- package/src/components/sidebar-navigation-screen-details-footer/index.js +0 -7
- package/src/components/sidebar-navigation-screen-global-styles/content.js +0 -7
- package/src/components/sidebar-navigation-screen-global-styles/index.js +0 -7
- package/src/components/sidebar-navigation-screen-identity/index.js +0 -7
- package/src/components/sidebar-navigation-screen-main/index.js +0 -7
- package/src/components/sidebar-navigation-screen-navigation-menu/delete-confirm-dialog.js +0 -3
- package/src/components/sidebar-navigation-screen-navigation-menu/index.js +0 -7
- package/src/components/sidebar-navigation-screen-navigation-menu/more-menu.js +0 -7
- package/src/components/sidebar-navigation-screen-navigation-menu/navigation-menu-editor.js +0 -7
- package/src/components/sidebar-navigation-screen-navigation-menu/rename-modal.js +0 -3
- package/src/components/sidebar-navigation-screen-navigation-menu/single-navigation-menu.js +0 -6
- package/src/components/sidebar-navigation-screen-navigation-menu/use-navigation-menu-handlers.js +0 -7
- package/src/components/sidebar-navigation-screen-navigation-menus/build-navigation-label.js +0 -3
- package/src/components/sidebar-navigation-screen-navigation-menus/index.js +6 -9
- package/src/components/sidebar-navigation-screen-navigation-menus/leaf-more-menu.js +38 -48
- package/src/components/sidebar-navigation-screen-navigation-menus/navigation-menu-content.js +0 -7
- package/src/components/sidebar-navigation-screen-patterns/category-item.js +0 -3
- package/src/components/sidebar-navigation-screen-patterns/index.js +1 -8
- package/src/components/sidebar-navigation-screen-patterns/use-default-pattern-categories.js +0 -7
- package/src/components/sidebar-navigation-screen-patterns/use-pattern-categories.js +0 -7
- package/src/components/sidebar-navigation-screen-patterns/use-template-part-areas.js +0 -7
- package/src/components/sidebar-navigation-screen-patterns/use-theme-patterns.js +0 -7
- package/src/components/sidebar-navigation-screen-templates-browse/content-legacy.js +0 -7
- package/src/components/sidebar-navigation-screen-templates-browse/content.js +1 -8
- package/src/components/sidebar-navigation-screen-templates-browse/index.js +1 -8
- package/src/components/sidebar-navigation-screen-unsupported/index.js +0 -3
- package/src/components/site-editor-routes/home.js +0 -3
- package/src/components/site-editor-routes/identity.js +0 -3
- package/src/components/site-editor-routes/index.js +0 -7
- package/src/components/site-editor-routes/navigation-item.js +0 -3
- package/src/components/site-editor-routes/navigation.js +0 -3
- package/src/components/site-editor-routes/notfound.js +0 -7
- package/src/components/site-editor-routes/page-item.js +0 -7
- package/src/components/site-editor-routes/pages.js +3 -7
- package/src/components/site-editor-routes/pattern-item.js +0 -3
- package/src/components/site-editor-routes/patterns.js +0 -3
- package/src/components/site-editor-routes/stylebook.js +0 -7
- package/src/components/site-editor-routes/styles.js +0 -7
- package/src/components/site-editor-routes/template-item.js +0 -3
- package/src/components/site-editor-routes/template-part-item.js +0 -3
- package/src/components/site-editor-routes/templates.js +0 -7
- package/src/components/site-hub/index.js +0 -7
- package/src/components/welcome-guide/editor.js +0 -7
- package/src/components/welcome-guide/index.js +0 -3
- package/src/components/welcome-guide/page.js +0 -3
- package/src/components/welcome-guide/template.js +0 -3
- package/src/deprecated.js +0 -3
- package/src/hooks/commands/use-common-commands.js +0 -7
- package/src/hooks/commands/use-set-command-context.js +0 -7
- package/src/index.js +0 -7
- package/src/lock-unlock.js +0 -3
- package/src/store/actions.js +0 -7
- package/src/store/index.js +0 -7
- package/src/store/reducer.js +0 -3
- package/src/store/selectors.js +0 -7
- package/src/style.scss +7 -3
- package/src/utils/constants.js +0 -7
- package/src/utils/get-filtered-template-parts.js +0 -3
- package/src/utils/is-previewing-theme.js +0 -3
- package/src/utils/is-template-removable.js +0 -3
- package/src/utils/is-template-revertable.js +0 -3
- package/src/utils/test/get-filtered-template-parts.js +0 -3
- package/src/utils/use-activate-theme.js +0 -7
- package/src/utils/use-actual-current-theme.js +0 -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 -51
- 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": ["
|
|
5
|
-
"mappings": ";
|
|
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": ["
|
|
5
|
-
"mappings": ";
|
|
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": ["
|
|
5
|
-
"mappings": ";
|
|
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
|
-
|
|
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 {
|
|
@@ -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-
|
|
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,
|
|
@@ -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
|
-
|
|
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 #
|
|
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 #
|
|
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 #
|
|
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 #
|
|
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 #
|
|
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-
|
|
4106
|
-
margin-bottom:
|
|
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:
|
|
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:
|
|
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
|
|
5554
|
-
display:
|
|
5644
|
+
body.js.site-editor-php #wpadminbar {
|
|
5645
|
+
display: var(--wp-editor-admin-bar-display, block);
|
|
5555
5646
|
}
|
|
5556
5647
|
}
|
|
5557
5648
|
|