@wordpress/edit-site 7.0.0 → 7.2.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 +8 -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.map +2 -2
- package/build/components/block-editor/use-site-editor-settings.cjs.map +2 -2
- package/build/components/block-editor/use-viewport-sync.cjs.map +2 -2
- package/build/components/canvas-loader/index.cjs +8 -3
- package/build/components/canvas-loader/index.cjs.map +3 -3
- package/build/components/dataviews-actions/index.cjs.map +2 -2
- package/build/components/editor/index.cjs +6 -5
- 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.map +2 -2
- package/build/components/editor/use-editor-title.cjs +1 -2
- package/build/components/editor/use-editor-title.cjs.map +3 -3
- 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 +0 -1
- 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.map +2 -2
- package/build/components/more-menu/site-export.cjs.map +2 -2
- 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 +3 -3
- package/build/components/save-button/index.cjs.map +3 -3
- 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 +7 -4
- package/build/components/save-panel/index.cjs.map +3 -3
- 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.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 +3 -2
- package/build/components/sidebar-navigation-screen-patterns/index.cjs.map +3 -3
- 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.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.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 +17 -12
- 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.map +2 -2
- package/build-module/components/block-editor/use-site-editor-settings.mjs.map +2 -2
- package/build-module/components/block-editor/use-viewport-sync.mjs.map +2 -2
- package/build-module/components/canvas-loader/index.mjs +9 -7
- 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 +6 -5
- 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.map +2 -2
- package/build-module/components/editor/use-editor-title.mjs +5 -3
- 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 +0 -1
- 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.map +2 -2
- package/build-module/components/more-menu/site-export.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 +6 -6
- 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 +9 -7
- 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.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 +2 -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.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.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 +17 -12
- 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 +79 -22
- package/build-style/style.css +79 -22
- package/package.json +48 -49
- 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 +0 -7
- package/src/components/block-editor/use-site-editor-settings.js +0 -7
- package/src/components/block-editor/use-viewport-sync.js +0 -7
- package/src/components/canvas-loader/index.js +6 -17
- package/src/components/canvas-loader/style.scss +3 -4
- package/src/components/dataviews-actions/index.js +0 -7
- package/src/components/editor/index.js +6 -12
- package/src/components/editor/site-preview.js +0 -3
- package/src/components/editor/use-adapt-editor-to-canvas.js +0 -7
- package/src/components/editor/use-editor-title.js +5 -10
- 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 +0 -12
- package/src/components/media/index.js +0 -3
- package/src/components/more-menu/index.js +0 -7
- package/src/components/more-menu/site-export.js +0 -3
- 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 +6 -13
- 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 +9 -18
- 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 +0 -8
- 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 +2 -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 +0 -7
- 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 +0 -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 +19 -18
- 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/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
|
@@ -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
|
}
|
|
@@ -238,6 +238,10 @@
|
|
|
238
238
|
transition: padding ease-out 0.1s;
|
|
239
239
|
}
|
|
240
240
|
}
|
|
241
|
+
.dataviews__search {
|
|
242
|
+
flex-grow: 1;
|
|
243
|
+
}
|
|
244
|
+
|
|
241
245
|
.dataviews-no-results,
|
|
242
246
|
.dataviews-loading {
|
|
243
247
|
padding: 0 var(--wpds-dimension-padding-2xl, 24px);
|
|
@@ -562,6 +566,7 @@
|
|
|
562
566
|
font-weight: var(--wpds-typography-font-weight-default, 400);
|
|
563
567
|
font-size: 13px;
|
|
564
568
|
line-height: 20px;
|
|
569
|
+
color: var(--wpds-color-foreground-interactive-neutral, #1e1e1e);
|
|
565
570
|
}
|
|
566
571
|
|
|
567
572
|
.dataviews-filters__search-widget-listitem:last-child {
|
|
@@ -570,6 +575,7 @@
|
|
|
570
575
|
|
|
571
576
|
.dataviews-filters__search-widget-listitem:hover, .dataviews-filters__search-widget-listitem[data-active-item], .dataviews-filters__search-widget-listitem:focus {
|
|
572
577
|
background-color: var(--wpds-color-background-interactive-brand-weak-active, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 12%, white));
|
|
578
|
+
color: var(--wpds-color-foreground-interactive-neutral-active, #1e1e1e);
|
|
573
579
|
}
|
|
574
580
|
|
|
575
581
|
.dataviews-filters__search-widget-listitem:hover .dataviews-filters__search-widget-listitem-single-selection, .dataviews-filters__search-widget-listitem[data-active-item] .dataviews-filters__search-widget-listitem-single-selection, .dataviews-filters__search-widget-listitem:focus .dataviews-filters__search-widget-listitem-single-selection {
|
|
@@ -592,6 +598,10 @@
|
|
|
592
598
|
background: var(--wpds-color-background-interactive-brand-strong-active, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 93%, black));
|
|
593
599
|
}
|
|
594
600
|
|
|
601
|
+
.dataviews-filters__search-widget-listitem:hover .dataviews-filters__search-widget-listitem-description, .dataviews-filters__search-widget-listitem[data-active-item] .dataviews-filters__search-widget-listitem-description, .dataviews-filters__search-widget-listitem:focus .dataviews-filters__search-widget-listitem-description {
|
|
602
|
+
color: var(--wpds-color-foreground-interactive-neutral-weak-active, #1e1e1e);
|
|
603
|
+
}
|
|
604
|
+
|
|
595
605
|
.dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-value {
|
|
596
606
|
overflow: hidden;
|
|
597
607
|
text-overflow: ellipsis;
|
|
@@ -605,7 +615,7 @@
|
|
|
605
615
|
text-overflow: ellipsis;
|
|
606
616
|
font-size: var(--wpds-typography-font-size-sm, 12px);
|
|
607
617
|
line-height: 16px;
|
|
608
|
-
color: var(--wpds-color-foreground-
|
|
618
|
+
color: var(--wpds-color-foreground-interactive-neutral-weak, #707070);
|
|
609
619
|
}
|
|
610
620
|
|
|
611
621
|
.dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-single-selection {
|
|
@@ -944,8 +954,7 @@
|
|
|
944
954
|
}
|
|
945
955
|
|
|
946
956
|
.dataviews-search {
|
|
947
|
-
|
|
948
|
-
width: fit-content;
|
|
957
|
+
flex-basis: 210px;
|
|
949
958
|
}
|
|
950
959
|
|
|
951
960
|
.dataviews-filters__user-input-widget {
|
|
@@ -1248,7 +1257,7 @@
|
|
|
1248
1257
|
.dataviews-view-grid .dataviews-view-grid__media,
|
|
1249
1258
|
.dataviews-view-grid-infinite-scroll .dataviews-view-grid__media {
|
|
1250
1259
|
width: 100%;
|
|
1251
|
-
aspect-ratio: 1/1;
|
|
1260
|
+
aspect-ratio: var(--wp-dataviews-media-aspect-ratio, 1/1);
|
|
1252
1261
|
background-color: var(--wpds-color-background-surface-neutral-strong, #fff);
|
|
1253
1262
|
border-radius: var(--wpds-border-radius-md, 4px);
|
|
1254
1263
|
overflow: hidden;
|
|
@@ -1718,7 +1727,7 @@ div.dataviews-view-list {
|
|
|
1718
1727
|
font-size: var(--wpds-typography-font-size-lg, 15px);
|
|
1719
1728
|
font-weight: var(--wpds-typography-font-weight-emphasis, 600);
|
|
1720
1729
|
color: var(--wpds-color-foreground-content-neutral, #1e1e1e);
|
|
1721
|
-
margin: 0 0 var(--wpds-dimension-gap-
|
|
1730
|
+
margin: 0 0 var(--wpds-dimension-gap-lg, 16px) 0;
|
|
1722
1731
|
padding: 0 var(--wpds-dimension-padding-2xl, 24px);
|
|
1723
1732
|
}
|
|
1724
1733
|
|
|
@@ -1995,6 +2004,17 @@ div.dataviews-view-list {
|
|
|
1995
2004
|
border-radius: var(--wpds-border-radius-md, 4px);
|
|
1996
2005
|
}
|
|
1997
2006
|
|
|
2007
|
+
.dataviews-view-table.has-media-aspect-ratio .dataviews-column-primary__media {
|
|
2008
|
+
height: var(--wpds-dimension-size-md, 32px);
|
|
2009
|
+
aspect-ratio: var(--wp-dataviews-media-aspect-ratio, 1/1);
|
|
2010
|
+
min-width: 0;
|
|
2011
|
+
}
|
|
2012
|
+
|
|
2013
|
+
.dataviews-view-table.has-media-aspect-ratio .dataviews-column-primary__media img {
|
|
2014
|
+
width: 100%;
|
|
2015
|
+
height: 100%;
|
|
2016
|
+
}
|
|
2017
|
+
|
|
1998
2018
|
.dataviews-view-table__cell-content-wrapper:not(.dataviews-column-primary__media),
|
|
1999
2019
|
.dataviews-view-table__primary-column-content:not(.dataviews-column-primary__media) {
|
|
2000
2020
|
min-width: 15ch;
|
|
@@ -2648,11 +2668,6 @@ div.dataviews-view-list {
|
|
|
2648
2668
|
align-self: flex-end;
|
|
2649
2669
|
}
|
|
2650
2670
|
|
|
2651
|
-
.dataviews-controls__richtext [data-rich-text-placeholder]::after {
|
|
2652
|
-
content: attr(data-rich-text-placeholder);
|
|
2653
|
-
color: color-mix(in srgb, currentColor, transparent 38%);
|
|
2654
|
-
}
|
|
2655
|
-
|
|
2656
2671
|
.dataviews-controls__datetime {
|
|
2657
2672
|
border: none;
|
|
2658
2673
|
padding: 0;
|
|
@@ -2685,6 +2700,51 @@ div.dataviews-view-list {
|
|
|
2685
2700
|
background-color: var(--wpds-color-background-interactive-neutral-strong-active, #1e1e1e);
|
|
2686
2701
|
}
|
|
2687
2702
|
|
|
2703
|
+
.dataviews-validated-control:has(:is(input, select):invalid[data-validity-visible]) .components-input-control__backdrop {
|
|
2704
|
+
--wp-components-color-accent: #cc1818;
|
|
2705
|
+
border-color: #cc1818;
|
|
2706
|
+
}
|
|
2707
|
+
|
|
2708
|
+
.dataviews-validated-control__indicator {
|
|
2709
|
+
display: flex;
|
|
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);
|
|
2718
|
+
}
|
|
2719
|
+
|
|
2720
|
+
.dataviews-validated-control__indicator.is-invalid {
|
|
2721
|
+
color: #cc1818;
|
|
2722
|
+
}
|
|
2723
|
+
|
|
2724
|
+
.dataviews-validated-control__indicator.is-valid {
|
|
2725
|
+
color: color-mix(in srgb, #000 30%, #4ab866);
|
|
2726
|
+
}
|
|
2727
|
+
|
|
2728
|
+
.dataviews-validated-control__indicator-icon {
|
|
2729
|
+
flex-shrink: 0;
|
|
2730
|
+
}
|
|
2731
|
+
|
|
2732
|
+
.dataviews-validated-control__indicator-spinner {
|
|
2733
|
+
margin: 2px;
|
|
2734
|
+
width: 12px;
|
|
2735
|
+
height: 12px;
|
|
2736
|
+
}
|
|
2737
|
+
|
|
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
|
+
}
|
|
2688
2748
|
.dataforms-layouts-panel__field-trigger {
|
|
2689
2749
|
position: relative;
|
|
2690
2750
|
color: inherit;
|
|
@@ -3688,11 +3748,15 @@ fieldset.fields__media-edit .fields__media-edit-expanded:not(.is-empty) .fields_
|
|
|
3688
3748
|
}
|
|
3689
3749
|
|
|
3690
3750
|
@media (min-width: 600px) {
|
|
3691
|
-
.font-library__page-selection .
|
|
3751
|
+
.font-library__page-selection .components-select-control__input {
|
|
3692
3752
|
font-size: 11px !important;
|
|
3693
3753
|
font-weight: var(--wpds-typography-font-weight-emphasis, 600);
|
|
3694
3754
|
}
|
|
3695
3755
|
}
|
|
3756
|
+
.font-library__search {
|
|
3757
|
+
width: 240px;
|
|
3758
|
+
}
|
|
3759
|
+
|
|
3696
3760
|
.font-library__fonts-title {
|
|
3697
3761
|
text-transform: uppercase;
|
|
3698
3762
|
font-size: 11px;
|
|
@@ -4461,6 +4525,7 @@ button.font-library__upload-area {
|
|
|
4461
4525
|
}
|
|
4462
4526
|
|
|
4463
4527
|
.edit-site-canvas-loader {
|
|
4528
|
+
--wp-components-color-foreground: var(--color);
|
|
4464
4529
|
width: 100%;
|
|
4465
4530
|
height: 100%;
|
|
4466
4531
|
display: flex;
|
|
@@ -4477,9 +4542,6 @@ button.font-library__upload-area {
|
|
|
4477
4542
|
animation-fill-mode: forwards;
|
|
4478
4543
|
}
|
|
4479
4544
|
}
|
|
4480
|
-
.edit-site-canvas-loader > div {
|
|
4481
|
-
width: 160px;
|
|
4482
|
-
}
|
|
4483
4545
|
|
|
4484
4546
|
@keyframes edit-site-canvas-loader__fade-in-animation {
|
|
4485
4547
|
from {
|
|
@@ -4548,6 +4610,7 @@ button.font-library__upload-area {
|
|
|
4548
4610
|
.edit-site-page-patterns-dataviews .dataviews-view-grid__badge-fields .dataviews-view-grid__field-value:has(.fields-field__pattern-sync-status-fully) {
|
|
4549
4611
|
background: rgba(var(--wp-block-synced-color--rgb), 0.04);
|
|
4550
4612
|
color: var(--wp-block-synced-color);
|
|
4613
|
+
border-color: currentColor;
|
|
4551
4614
|
}
|
|
4552
4615
|
|
|
4553
4616
|
.dataviews-action-modal__duplicate-pattern [role=dialog] > [role=document] {
|
|
@@ -4888,7 +4951,7 @@ html.canvas-mode-edit-transition::view-transition-group(toggle) {
|
|
|
4888
4951
|
|
|
4889
4952
|
.edit-site-layout__snackbar {
|
|
4890
4953
|
position: fixed;
|
|
4891
|
-
bottom:
|
|
4954
|
+
bottom: var(--wpds-dimension-size-md, 32px);
|
|
4892
4955
|
right: 0;
|
|
4893
4956
|
left: 0;
|
|
4894
4957
|
padding-inline: 16px;
|
|
@@ -5034,12 +5097,9 @@ html.canvas-mode-edit-transition::view-transition-group(toggle) {
|
|
|
5034
5097
|
border: none;
|
|
5035
5098
|
min-height: 40px;
|
|
5036
5099
|
}
|
|
5037
|
-
.edit-site-sidebar-navigation-item.components-item:
|
|
5100
|
+
.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 {
|
|
5038
5101
|
color: var(--wpds-color-foreground-interactive-neutral-weak-active, #1e1e1e);
|
|
5039
5102
|
}
|
|
5040
|
-
.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 {
|
|
5041
|
-
fill: var(--wpds-color-foreground-interactive-neutral-weak-active, #1e1e1e);
|
|
5042
|
-
}
|
|
5043
5103
|
.edit-site-sidebar-navigation-item.components-item[aria-current=true] {
|
|
5044
5104
|
background: var(--wpds-color-background-interactive-neutral-weak-active, #ededed);
|
|
5045
5105
|
color: var(--wpds-color-foreground-interactive-neutral-weak-active, #1e1e1e);
|
|
@@ -5049,9 +5109,6 @@ html.canvas-mode-edit-transition::view-transition-group(toggle) {
|
|
|
5049
5109
|
--wp-components-color-accent: var(--wpds-color-stroke-focus, var(--wp-admin-theme-color, #3858e9));
|
|
5050
5110
|
transform: translateZ(0);
|
|
5051
5111
|
}
|
|
5052
|
-
.edit-site-sidebar-navigation-item.components-item .edit-site-sidebar-navigation-item__drilldown-indicator {
|
|
5053
|
-
fill: var(--wpds-color-foreground-interactive-neutral-weak, #707070);
|
|
5054
|
-
}
|
|
5055
5112
|
.edit-site-sidebar-navigation-item.components-item.with-suffix {
|
|
5056
5113
|
padding-left: 16px;
|
|
5057
5114
|
}
|
package/build-style/style.css
CHANGED
|
@@ -238,6 +238,10 @@
|
|
|
238
238
|
transition: padding ease-out 0.1s;
|
|
239
239
|
}
|
|
240
240
|
}
|
|
241
|
+
.dataviews__search {
|
|
242
|
+
flex-grow: 1;
|
|
243
|
+
}
|
|
244
|
+
|
|
241
245
|
.dataviews-no-results,
|
|
242
246
|
.dataviews-loading {
|
|
243
247
|
padding: 0 var(--wpds-dimension-padding-2xl, 24px);
|
|
@@ -562,6 +566,7 @@
|
|
|
562
566
|
font-weight: var(--wpds-typography-font-weight-default, 400);
|
|
563
567
|
font-size: 13px;
|
|
564
568
|
line-height: 20px;
|
|
569
|
+
color: var(--wpds-color-foreground-interactive-neutral, #1e1e1e);
|
|
565
570
|
}
|
|
566
571
|
|
|
567
572
|
.dataviews-filters__search-widget-listitem:last-child {
|
|
@@ -570,6 +575,7 @@
|
|
|
570
575
|
|
|
571
576
|
.dataviews-filters__search-widget-listitem:hover, .dataviews-filters__search-widget-listitem[data-active-item], .dataviews-filters__search-widget-listitem:focus {
|
|
572
577
|
background-color: var(--wpds-color-background-interactive-brand-weak-active, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 12%, white));
|
|
578
|
+
color: var(--wpds-color-foreground-interactive-neutral-active, #1e1e1e);
|
|
573
579
|
}
|
|
574
580
|
|
|
575
581
|
.dataviews-filters__search-widget-listitem:hover .dataviews-filters__search-widget-listitem-single-selection, .dataviews-filters__search-widget-listitem[data-active-item] .dataviews-filters__search-widget-listitem-single-selection, .dataviews-filters__search-widget-listitem:focus .dataviews-filters__search-widget-listitem-single-selection {
|
|
@@ -592,6 +598,10 @@
|
|
|
592
598
|
background: var(--wpds-color-background-interactive-brand-strong-active, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 93%, black));
|
|
593
599
|
}
|
|
594
600
|
|
|
601
|
+
.dataviews-filters__search-widget-listitem:hover .dataviews-filters__search-widget-listitem-description, .dataviews-filters__search-widget-listitem[data-active-item] .dataviews-filters__search-widget-listitem-description, .dataviews-filters__search-widget-listitem:focus .dataviews-filters__search-widget-listitem-description {
|
|
602
|
+
color: var(--wpds-color-foreground-interactive-neutral-weak-active, #1e1e1e);
|
|
603
|
+
}
|
|
604
|
+
|
|
595
605
|
.dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-value {
|
|
596
606
|
overflow: hidden;
|
|
597
607
|
text-overflow: ellipsis;
|
|
@@ -605,7 +615,7 @@
|
|
|
605
615
|
text-overflow: ellipsis;
|
|
606
616
|
font-size: var(--wpds-typography-font-size-sm, 12px);
|
|
607
617
|
line-height: 16px;
|
|
608
|
-
color: var(--wpds-color-foreground-
|
|
618
|
+
color: var(--wpds-color-foreground-interactive-neutral-weak, #707070);
|
|
609
619
|
}
|
|
610
620
|
|
|
611
621
|
.dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-single-selection {
|
|
@@ -944,8 +954,7 @@
|
|
|
944
954
|
}
|
|
945
955
|
|
|
946
956
|
.dataviews-search {
|
|
947
|
-
|
|
948
|
-
width: fit-content;
|
|
957
|
+
flex-basis: 210px;
|
|
949
958
|
}
|
|
950
959
|
|
|
951
960
|
.dataviews-filters__user-input-widget {
|
|
@@ -1248,7 +1257,7 @@
|
|
|
1248
1257
|
.dataviews-view-grid .dataviews-view-grid__media,
|
|
1249
1258
|
.dataviews-view-grid-infinite-scroll .dataviews-view-grid__media {
|
|
1250
1259
|
width: 100%;
|
|
1251
|
-
aspect-ratio: 1/1;
|
|
1260
|
+
aspect-ratio: var(--wp-dataviews-media-aspect-ratio, 1/1);
|
|
1252
1261
|
background-color: var(--wpds-color-background-surface-neutral-strong, #fff);
|
|
1253
1262
|
border-radius: var(--wpds-border-radius-md, 4px);
|
|
1254
1263
|
overflow: hidden;
|
|
@@ -1718,7 +1727,7 @@ div.dataviews-view-list {
|
|
|
1718
1727
|
font-size: var(--wpds-typography-font-size-lg, 15px);
|
|
1719
1728
|
font-weight: var(--wpds-typography-font-weight-emphasis, 600);
|
|
1720
1729
|
color: var(--wpds-color-foreground-content-neutral, #1e1e1e);
|
|
1721
|
-
margin: 0 0 var(--wpds-dimension-gap-
|
|
1730
|
+
margin: 0 0 var(--wpds-dimension-gap-lg, 16px) 0;
|
|
1722
1731
|
padding: 0 var(--wpds-dimension-padding-2xl, 24px);
|
|
1723
1732
|
}
|
|
1724
1733
|
|
|
@@ -1995,6 +2004,17 @@ div.dataviews-view-list {
|
|
|
1995
2004
|
border-radius: var(--wpds-border-radius-md, 4px);
|
|
1996
2005
|
}
|
|
1997
2006
|
|
|
2007
|
+
.dataviews-view-table.has-media-aspect-ratio .dataviews-column-primary__media {
|
|
2008
|
+
height: var(--wpds-dimension-size-md, 32px);
|
|
2009
|
+
aspect-ratio: var(--wp-dataviews-media-aspect-ratio, 1/1);
|
|
2010
|
+
min-width: 0;
|
|
2011
|
+
}
|
|
2012
|
+
|
|
2013
|
+
.dataviews-view-table.has-media-aspect-ratio .dataviews-column-primary__media img {
|
|
2014
|
+
width: 100%;
|
|
2015
|
+
height: 100%;
|
|
2016
|
+
}
|
|
2017
|
+
|
|
1998
2018
|
.dataviews-view-table__cell-content-wrapper:not(.dataviews-column-primary__media),
|
|
1999
2019
|
.dataviews-view-table__primary-column-content:not(.dataviews-column-primary__media) {
|
|
2000
2020
|
min-width: 15ch;
|
|
@@ -2648,11 +2668,6 @@ div.dataviews-view-list {
|
|
|
2648
2668
|
align-self: flex-end;
|
|
2649
2669
|
}
|
|
2650
2670
|
|
|
2651
|
-
.dataviews-controls__richtext [data-rich-text-placeholder]::after {
|
|
2652
|
-
content: attr(data-rich-text-placeholder);
|
|
2653
|
-
color: color-mix(in srgb, currentColor, transparent 38%);
|
|
2654
|
-
}
|
|
2655
|
-
|
|
2656
2671
|
.dataviews-controls__datetime {
|
|
2657
2672
|
border: none;
|
|
2658
2673
|
padding: 0;
|
|
@@ -2685,6 +2700,51 @@ div.dataviews-view-list {
|
|
|
2685
2700
|
background-color: var(--wpds-color-background-interactive-neutral-strong-active, #1e1e1e);
|
|
2686
2701
|
}
|
|
2687
2702
|
|
|
2703
|
+
.dataviews-validated-control:has(:is(input, select):invalid[data-validity-visible]) .components-input-control__backdrop {
|
|
2704
|
+
--wp-components-color-accent: #cc1818;
|
|
2705
|
+
border-color: #cc1818;
|
|
2706
|
+
}
|
|
2707
|
+
|
|
2708
|
+
.dataviews-validated-control__indicator {
|
|
2709
|
+
display: flex;
|
|
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);
|
|
2718
|
+
}
|
|
2719
|
+
|
|
2720
|
+
.dataviews-validated-control__indicator.is-invalid {
|
|
2721
|
+
color: #cc1818;
|
|
2722
|
+
}
|
|
2723
|
+
|
|
2724
|
+
.dataviews-validated-control__indicator.is-valid {
|
|
2725
|
+
color: color-mix(in srgb, #000 30%, #4ab866);
|
|
2726
|
+
}
|
|
2727
|
+
|
|
2728
|
+
.dataviews-validated-control__indicator-icon {
|
|
2729
|
+
flex-shrink: 0;
|
|
2730
|
+
}
|
|
2731
|
+
|
|
2732
|
+
.dataviews-validated-control__indicator-spinner {
|
|
2733
|
+
margin: 2px;
|
|
2734
|
+
width: 12px;
|
|
2735
|
+
height: 12px;
|
|
2736
|
+
}
|
|
2737
|
+
|
|
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
|
+
}
|
|
2688
2748
|
.dataforms-layouts-panel__field-trigger {
|
|
2689
2749
|
position: relative;
|
|
2690
2750
|
color: inherit;
|
|
@@ -3688,11 +3748,15 @@ fieldset.fields__media-edit .fields__media-edit-expanded:not(.is-empty) .fields_
|
|
|
3688
3748
|
}
|
|
3689
3749
|
|
|
3690
3750
|
@media (min-width: 600px) {
|
|
3691
|
-
.font-library__page-selection .
|
|
3751
|
+
.font-library__page-selection .components-select-control__input {
|
|
3692
3752
|
font-size: 11px !important;
|
|
3693
3753
|
font-weight: var(--wpds-typography-font-weight-emphasis, 600);
|
|
3694
3754
|
}
|
|
3695
3755
|
}
|
|
3756
|
+
.font-library__search {
|
|
3757
|
+
width: 240px;
|
|
3758
|
+
}
|
|
3759
|
+
|
|
3696
3760
|
.font-library__fonts-title {
|
|
3697
3761
|
text-transform: uppercase;
|
|
3698
3762
|
font-size: 11px;
|
|
@@ -4463,6 +4527,7 @@ button.font-library__upload-area {
|
|
|
4463
4527
|
}
|
|
4464
4528
|
|
|
4465
4529
|
.edit-site-canvas-loader {
|
|
4530
|
+
--wp-components-color-foreground: var(--color);
|
|
4466
4531
|
width: 100%;
|
|
4467
4532
|
height: 100%;
|
|
4468
4533
|
display: flex;
|
|
@@ -4479,9 +4544,6 @@ button.font-library__upload-area {
|
|
|
4479
4544
|
animation-fill-mode: forwards;
|
|
4480
4545
|
}
|
|
4481
4546
|
}
|
|
4482
|
-
.edit-site-canvas-loader > div {
|
|
4483
|
-
width: 160px;
|
|
4484
|
-
}
|
|
4485
4547
|
|
|
4486
4548
|
@keyframes edit-site-canvas-loader__fade-in-animation {
|
|
4487
4549
|
from {
|
|
@@ -4550,6 +4612,7 @@ button.font-library__upload-area {
|
|
|
4550
4612
|
.edit-site-page-patterns-dataviews .dataviews-view-grid__badge-fields .dataviews-view-grid__field-value:has(.fields-field__pattern-sync-status-fully) {
|
|
4551
4613
|
background: rgba(var(--wp-block-synced-color--rgb), 0.04);
|
|
4552
4614
|
color: var(--wp-block-synced-color);
|
|
4615
|
+
border-color: currentColor;
|
|
4553
4616
|
}
|
|
4554
4617
|
|
|
4555
4618
|
.dataviews-action-modal__duplicate-pattern [role=dialog] > [role=document] {
|
|
@@ -4890,7 +4953,7 @@ html.canvas-mode-edit-transition::view-transition-group(toggle) {
|
|
|
4890
4953
|
|
|
4891
4954
|
.edit-site-layout__snackbar {
|
|
4892
4955
|
position: fixed;
|
|
4893
|
-
bottom:
|
|
4956
|
+
bottom: var(--wpds-dimension-size-md, 32px);
|
|
4894
4957
|
left: 0;
|
|
4895
4958
|
right: 0;
|
|
4896
4959
|
padding-inline: 16px;
|
|
@@ -5036,12 +5099,9 @@ html.canvas-mode-edit-transition::view-transition-group(toggle) {
|
|
|
5036
5099
|
border: none;
|
|
5037
5100
|
min-height: 40px;
|
|
5038
5101
|
}
|
|
5039
|
-
.edit-site-sidebar-navigation-item.components-item:
|
|
5102
|
+
.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 {
|
|
5040
5103
|
color: var(--wpds-color-foreground-interactive-neutral-weak-active, #1e1e1e);
|
|
5041
5104
|
}
|
|
5042
|
-
.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 {
|
|
5043
|
-
fill: var(--wpds-color-foreground-interactive-neutral-weak-active, #1e1e1e);
|
|
5044
|
-
}
|
|
5045
5105
|
.edit-site-sidebar-navigation-item.components-item[aria-current=true] {
|
|
5046
5106
|
background: var(--wpds-color-background-interactive-neutral-weak-active, #ededed);
|
|
5047
5107
|
color: var(--wpds-color-foreground-interactive-neutral-weak-active, #1e1e1e);
|
|
@@ -5051,9 +5111,6 @@ html.canvas-mode-edit-transition::view-transition-group(toggle) {
|
|
|
5051
5111
|
--wp-components-color-accent: var(--wpds-color-stroke-focus, var(--wp-admin-theme-color, #3858e9));
|
|
5052
5112
|
transform: translateZ(0);
|
|
5053
5113
|
}
|
|
5054
|
-
.edit-site-sidebar-navigation-item.components-item .edit-site-sidebar-navigation-item__drilldown-indicator {
|
|
5055
|
-
fill: var(--wpds-color-foreground-interactive-neutral-weak, #707070);
|
|
5056
|
-
}
|
|
5057
5114
|
.edit-site-sidebar-navigation-item.components-item.with-suffix {
|
|
5058
5115
|
padding-right: 16px;
|
|
5059
5116
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wordpress/edit-site",
|
|
3
|
-
"version": "7.
|
|
3
|
+
"version": "7.2.0",
|
|
4
4
|
"description": "Edit Site Page module for WordPress.",
|
|
5
5
|
"author": "The WordPress Contributors",
|
|
6
6
|
"license": "GPL-2.0-or-later",
|
|
@@ -47,57 +47,56 @@
|
|
|
47
47
|
],
|
|
48
48
|
"dependencies": {
|
|
49
49
|
"@react-spring/web": "^9.4.5",
|
|
50
|
-
"@wordpress/a11y": "^4.
|
|
51
|
-
"@wordpress/admin-ui": "^2.
|
|
52
|
-
"@wordpress/api-fetch": "^7.
|
|
53
|
-
"@wordpress/base-styles": "^
|
|
54
|
-
"@wordpress/blob": "^4.
|
|
55
|
-
"@wordpress/block-editor": "^16.
|
|
56
|
-
"@wordpress/block-library": "^10.
|
|
57
|
-
"@wordpress/blocks": "^15.
|
|
58
|
-
"@wordpress/commands": "^1.
|
|
59
|
-
"@wordpress/components": "^
|
|
60
|
-
"@wordpress/compose": "^8.
|
|
61
|
-
"@wordpress/core-data": "^7.
|
|
62
|
-
"@wordpress/data": "^10.
|
|
63
|
-
"@wordpress/dataviews": "^
|
|
64
|
-
"@wordpress/date": "^5.
|
|
65
|
-
"@wordpress/deprecated": "^4.
|
|
66
|
-
"@wordpress/dom": "^4.
|
|
67
|
-
"@wordpress/editor": "^14.
|
|
68
|
-
"@wordpress/element": "^8.
|
|
69
|
-
"@wordpress/escape-html": "^3.
|
|
70
|
-
"@wordpress/fields": "^0.
|
|
71
|
-
"@wordpress/global-styles-engine": "^1.
|
|
72
|
-
"@wordpress/global-styles-ui": "^1.
|
|
73
|
-
"@wordpress/hooks": "^4.
|
|
74
|
-
"@wordpress/html-entities": "^4.
|
|
75
|
-
"@wordpress/i18n": "^6.
|
|
76
|
-
"@wordpress/icons": "^15.
|
|
77
|
-
"@wordpress/keyboard-shortcuts": "^5.
|
|
78
|
-
"@wordpress/keycodes": "^4.
|
|
79
|
-
"@wordpress/media-utils": "^5.
|
|
80
|
-
"@wordpress/notices": "^5.
|
|
81
|
-
"@wordpress/patterns": "^2.
|
|
82
|
-
"@wordpress/plugins": "^7.
|
|
83
|
-
"@wordpress/preferences": "^4.
|
|
84
|
-
"@wordpress/primitives": "^4.
|
|
85
|
-
"@wordpress/private-apis": "^1.
|
|
86
|
-
"@wordpress/reusable-blocks": "^5.
|
|
87
|
-
"@wordpress/router": "^1.
|
|
88
|
-
"@wordpress/style-engine": "^2.
|
|
89
|
-
"@wordpress/theme": "^1.
|
|
90
|
-
"@wordpress/ui": "^0.
|
|
91
|
-
"@wordpress/url": "^4.
|
|
92
|
-
"@wordpress/viewport": "^6.
|
|
93
|
-
"@wordpress/views": "^1.
|
|
94
|
-
"@wordpress/widgets": "^4.
|
|
95
|
-
"@wordpress/wordcount": "^4.
|
|
50
|
+
"@wordpress/a11y": "^4.53.0",
|
|
51
|
+
"@wordpress/admin-ui": "^2.8.0",
|
|
52
|
+
"@wordpress/api-fetch": "^7.53.0",
|
|
53
|
+
"@wordpress/base-styles": "^12.1.0",
|
|
54
|
+
"@wordpress/blob": "^4.53.0",
|
|
55
|
+
"@wordpress/block-editor": "^16.2.0",
|
|
56
|
+
"@wordpress/block-library": "^10.4.0",
|
|
57
|
+
"@wordpress/blocks": "^15.26.0",
|
|
58
|
+
"@wordpress/commands": "^1.53.0",
|
|
59
|
+
"@wordpress/components": "^39.0.0",
|
|
60
|
+
"@wordpress/compose": "^8.6.0",
|
|
61
|
+
"@wordpress/core-data": "^7.53.0",
|
|
62
|
+
"@wordpress/data": "^10.53.0",
|
|
63
|
+
"@wordpress/dataviews": "^18.0.0",
|
|
64
|
+
"@wordpress/date": "^5.53.0",
|
|
65
|
+
"@wordpress/deprecated": "^4.53.0",
|
|
66
|
+
"@wordpress/dom": "^4.53.0",
|
|
67
|
+
"@wordpress/editor": "^14.53.0",
|
|
68
|
+
"@wordpress/element": "^8.5.0",
|
|
69
|
+
"@wordpress/escape-html": "^3.53.0",
|
|
70
|
+
"@wordpress/fields": "^0.45.0",
|
|
71
|
+
"@wordpress/global-styles-engine": "^1.20.0",
|
|
72
|
+
"@wordpress/global-styles-ui": "^1.20.0",
|
|
73
|
+
"@wordpress/hooks": "^4.53.0",
|
|
74
|
+
"@wordpress/html-entities": "^4.53.0",
|
|
75
|
+
"@wordpress/i18n": "^6.26.0",
|
|
76
|
+
"@wordpress/icons": "^15.4.0",
|
|
77
|
+
"@wordpress/keyboard-shortcuts": "^5.53.0",
|
|
78
|
+
"@wordpress/keycodes": "^4.53.0",
|
|
79
|
+
"@wordpress/media-utils": "^5.53.0",
|
|
80
|
+
"@wordpress/notices": "^5.53.0",
|
|
81
|
+
"@wordpress/patterns": "^2.53.0",
|
|
82
|
+
"@wordpress/plugins": "^7.53.0",
|
|
83
|
+
"@wordpress/preferences": "^4.53.0",
|
|
84
|
+
"@wordpress/primitives": "^4.53.0",
|
|
85
|
+
"@wordpress/private-apis": "^1.53.0",
|
|
86
|
+
"@wordpress/reusable-blocks": "^5.53.0",
|
|
87
|
+
"@wordpress/router": "^1.53.0",
|
|
88
|
+
"@wordpress/style-engine": "^2.53.0",
|
|
89
|
+
"@wordpress/theme": "^1.2.0",
|
|
90
|
+
"@wordpress/ui": "^0.20.0",
|
|
91
|
+
"@wordpress/url": "^4.53.0",
|
|
92
|
+
"@wordpress/viewport": "^6.53.0",
|
|
93
|
+
"@wordpress/views": "^1.20.0",
|
|
94
|
+
"@wordpress/widgets": "^4.53.0",
|
|
95
|
+
"@wordpress/wordcount": "^4.53.0",
|
|
96
96
|
"change-case": "^4.1.2",
|
|
97
97
|
"clsx": "^2.1.1",
|
|
98
98
|
"colord": "^2.9.3",
|
|
99
99
|
"fast-deep-equal": "^3.1.3",
|
|
100
|
-
"memize": "^2.1.0",
|
|
101
100
|
"react-autosize-textarea": "^7.1.0"
|
|
102
101
|
},
|
|
103
102
|
"peerDependencies": {
|
|
@@ -107,5 +106,5 @@
|
|
|
107
106
|
"publishConfig": {
|
|
108
107
|
"access": "public"
|
|
109
108
|
},
|
|
110
|
-
"gitHead": "
|
|
109
|
+
"gitHead": "989764d42ff93e33684aaf0b96a5b7f3d9bbff52"
|
|
111
110
|
}
|
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* WordPress dependencies
|
|
3
|
-
*/
|
|
4
1
|
import { DropdownMenu } from '@wordpress/components';
|
|
5
2
|
import { useState, useRef } from '@wordpress/element';
|
|
6
3
|
import { __, sprintf } from '@wordpress/i18n';
|
|
@@ -14,10 +11,6 @@ import {
|
|
|
14
11
|
import { store as noticesStore } from '@wordpress/notices';
|
|
15
12
|
import { store as coreStore } from '@wordpress/core-data';
|
|
16
13
|
import { privateApis as editorPrivateApis } from '@wordpress/editor';
|
|
17
|
-
|
|
18
|
-
/**
|
|
19
|
-
* Internal dependencies
|
|
20
|
-
*/
|
|
21
14
|
import { unlock } from '../../lock-unlock';
|
|
22
15
|
import {
|
|
23
16
|
PATTERN_TYPES,
|
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* WordPress dependencies
|
|
3
|
-
*/
|
|
4
1
|
import { useState, useMemo, useEffect } from '@wordpress/element';
|
|
5
2
|
import { __ } from '@wordpress/i18n';
|
|
6
3
|
import {
|
|
@@ -18,10 +15,6 @@ import { decodeEntities } from '@wordpress/html-entities';
|
|
|
18
15
|
import { useDebouncedInput } from '@wordpress/compose';
|
|
19
16
|
import { focus } from '@wordpress/dom';
|
|
20
17
|
import { safeDecodeURI } from '@wordpress/url';
|
|
21
|
-
|
|
22
|
-
/**
|
|
23
|
-
* Internal dependencies
|
|
24
|
-
*/
|
|
25
18
|
import { mapToIHasNameAndId } from './utils';
|
|
26
19
|
|
|
27
20
|
const EMPTY_ARRAY = [];
|