@wordpress/edit-site 6.11.0 → 6.12.1-next.082ed6819.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 +2 -0
- package/build/components/add-new-template/utils.js +1 -2
- package/build/components/add-new-template/utils.js.map +1 -1
- package/build/components/app/index.js +0 -5
- package/build/components/app/index.js.map +1 -1
- package/build/components/block-editor/use-editor-iframe-props.js +6 -8
- package/build/components/block-editor/use-editor-iframe-props.js.map +1 -1
- package/build/components/block-editor/use-site-editor-settings.js +4 -12
- package/build/components/block-editor/use-site-editor-settings.js.map +1 -1
- package/build/components/editor/index.js +23 -27
- package/build/components/editor/index.js.map +1 -1
- package/build/components/editor/use-editor-title.js +37 -12
- package/build/components/editor/use-editor-title.js.map +1 -1
- package/build/components/editor/use-resolve-edited-entity.js +133 -0
- package/build/components/editor/use-resolve-edited-entity.js.map +1 -0
- package/build/components/editor-canvas-container/index.js +1 -1
- package/build/components/editor-canvas-container/index.js.map +1 -1
- package/build/components/global-styles/block-preview-panel.js +8 -10
- package/build/components/global-styles/block-preview-panel.js.map +1 -1
- package/build/components/global-styles/screen-block.js +18 -5
- package/build/components/global-styles/screen-block.js.map +1 -1
- package/build/components/global-styles/screen-revisions/revisions-buttons.js +24 -22
- package/build/components/global-styles/screen-revisions/revisions-buttons.js.map +1 -1
- package/build/components/global-styles/screen-style-variations.js +11 -5
- package/build/components/global-styles/screen-style-variations.js.map +1 -1
- package/build/components/global-styles/shadows-edit-panel.js +2 -3
- package/build/components/global-styles/shadows-edit-panel.js.map +1 -1
- package/build/components/global-styles/ui.js +42 -2
- package/build/components/global-styles/ui.js.map +1 -1
- package/build/components/global-styles-renderer/index.js +6 -8
- package/build/components/global-styles-renderer/index.js.map +1 -1
- package/build/components/global-styles-sidebar/index.js +17 -1
- package/build/components/global-styles-sidebar/index.js.map +1 -1
- package/build/components/layout/hooks.js +1 -10
- package/build/components/layout/hooks.js.map +1 -1
- package/build/components/layout/index.js +1 -0
- package/build/components/layout/index.js.map +1 -1
- package/build/components/page-patterns/fields.js +3 -7
- package/build/components/page-patterns/fields.js.map +1 -1
- package/build/components/page-patterns/header.js +2 -2
- package/build/components/page-patterns/header.js.map +1 -1
- package/build/components/page-patterns/use-patterns.js +4 -8
- package/build/components/page-patterns/use-patterns.js.map +1 -1
- package/build/components/page-templates/fields.js +1 -2
- package/build/components/page-templates/fields.js.map +1 -1
- package/build/components/post-edit/index.js +15 -11
- package/build/components/post-edit/index.js.map +1 -1
- package/build/components/post-list/index.js +13 -3
- package/build/components/post-list/index.js.map +1 -1
- package/build/components/posts-app/index.js +3 -4
- package/build/components/posts-app/index.js.map +1 -1
- package/build/components/posts-app-routes/home.js +48 -0
- package/build/components/posts-app-routes/home.js.map +1 -0
- package/build/components/posts-app-routes/index.js +37 -0
- package/build/components/posts-app-routes/index.js.map +1 -0
- package/build/components/posts-app-routes/posts-edit.js +44 -0
- package/build/components/posts-app-routes/posts-edit.js.map +1 -0
- package/build/components/posts-app-routes/posts-list-view-quick-edit.js +63 -0
- package/build/components/posts-app-routes/posts-list-view-quick-edit.js.map +1 -0
- package/build/components/posts-app-routes/posts-list-view.js +48 -0
- package/build/components/posts-app-routes/posts-list-view.js.map +1 -0
- package/build/components/posts-app-routes/posts-view-quick-edit.js +60 -0
- package/build/components/posts-app-routes/posts-view-quick-edit.js.map +1 -0
- package/build/components/posts-app-routes/posts-view.js +41 -0
- package/build/components/posts-app-routes/posts-view.js.map +1 -0
- package/build/components/sidebar/index.js +11 -3
- package/build/components/sidebar/index.js.map +1 -1
- package/build/components/sidebar-global-styles-wrapper/index.js +129 -0
- package/build/components/sidebar-global-styles-wrapper/index.js.map +1 -0
- package/build/components/sidebar-navigation-screen-details-footer/index.js +17 -23
- package/build/components/sidebar-navigation-screen-details-footer/index.js.map +1 -1
- package/build/components/sidebar-navigation-screen-global-styles/index.js +18 -90
- package/build/components/sidebar-navigation-screen-global-styles/index.js.map +1 -1
- package/build/components/sidebar-navigation-screen-main/index.js +43 -42
- package/build/components/sidebar-navigation-screen-main/index.js.map +1 -1
- package/build/components/sidebar-navigation-screen-patterns/use-pattern-categories.js +1 -1
- package/build/components/sidebar-navigation-screen-patterns/use-pattern-categories.js.map +1 -1
- package/build/components/sidebar-navigation-screen-patterns/use-template-part-areas.js +2 -3
- package/build/components/sidebar-navigation-screen-patterns/use-template-part-areas.js.map +1 -1
- package/build/components/site-editor-routes/index.js +1 -2
- package/build/components/site-editor-routes/index.js.map +1 -1
- package/build/components/site-editor-routes/styles-view.js +8 -2
- package/build/components/site-editor-routes/styles-view.js.map +1 -1
- package/build/components/site-hub/index.js +19 -6
- package/build/components/site-hub/index.js.map +1 -1
- package/build/components/style-book/constants.js +10 -3
- package/build/components/style-book/constants.js.map +1 -1
- package/build/components/style-book/examples.js +94 -2
- package/build/components/style-book/examples.js.map +1 -1
- package/build/components/style-book/index.js +70 -11
- package/build/components/style-book/index.js.map +1 -1
- package/build/components/welcome-guide/index.js +4 -2
- package/build/components/welcome-guide/index.js.map +1 -1
- package/build/components/welcome-guide/page.js +1 -9
- package/build/components/welcome-guide/page.js.map +1 -1
- package/build/components/welcome-guide/template.js +1 -12
- package/build/components/welcome-guide/template.js.map +1 -1
- package/build/hooks/commands/use-common-commands.js +15 -15
- package/build/hooks/commands/use-common-commands.js.map +1 -1
- package/build/index.js +1 -9
- package/build/index.js.map +1 -1
- package/build/posts.js +1 -0
- package/build/posts.js.map +1 -1
- package/build/store/actions.js +13 -0
- package/build/store/actions.js.map +1 -1
- package/build/store/selectors.js +21 -1
- package/build/store/selectors.js.map +1 -1
- package/build-module/components/add-new-template/utils.js +1 -2
- package/build-module/components/add-new-template/utils.js.map +1 -1
- package/build-module/components/app/index.js +0 -5
- package/build-module/components/app/index.js.map +1 -1
- package/build-module/components/block-editor/use-editor-iframe-props.js +6 -8
- package/build-module/components/block-editor/use-editor-iframe-props.js.map +1 -1
- package/build-module/components/block-editor/use-site-editor-settings.js +4 -12
- package/build-module/components/block-editor/use-site-editor-settings.js.map +1 -1
- package/build-module/components/editor/index.js +23 -27
- package/build-module/components/editor/index.js.map +1 -1
- package/build-module/components/editor/use-editor-title.js +37 -12
- package/build-module/components/editor/use-editor-title.js.map +1 -1
- package/build-module/components/editor/use-resolve-edited-entity.js +125 -0
- package/build-module/components/editor/use-resolve-edited-entity.js.map +1 -0
- package/build-module/components/editor-canvas-container/index.js +1 -1
- package/build-module/components/editor-canvas-container/index.js.map +1 -1
- package/build-module/components/global-styles/block-preview-panel.js +8 -10
- package/build-module/components/global-styles/block-preview-panel.js.map +1 -1
- package/build-module/components/global-styles/screen-block.js +18 -5
- package/build-module/components/global-styles/screen-block.js.map +1 -1
- package/build-module/components/global-styles/screen-revisions/revisions-buttons.js +25 -23
- package/build-module/components/global-styles/screen-revisions/revisions-buttons.js.map +1 -1
- package/build-module/components/global-styles/screen-style-variations.js +11 -5
- package/build-module/components/global-styles/screen-style-variations.js.map +1 -1
- package/build-module/components/global-styles/shadows-edit-panel.js +2 -3
- package/build-module/components/global-styles/shadows-edit-panel.js.map +1 -1
- package/build-module/components/global-styles/ui.js +42 -2
- package/build-module/components/global-styles/ui.js.map +1 -1
- package/build-module/components/global-styles-renderer/index.js +6 -8
- package/build-module/components/global-styles-renderer/index.js.map +1 -1
- package/build-module/components/global-styles-sidebar/index.js +18 -2
- package/build-module/components/global-styles-sidebar/index.js.map +1 -1
- package/build-module/components/layout/hooks.js +1 -9
- package/build-module/components/layout/hooks.js.map +1 -1
- package/build-module/components/layout/index.js +1 -0
- package/build-module/components/layout/index.js.map +1 -1
- package/build-module/components/page-patterns/fields.js +4 -8
- package/build-module/components/page-patterns/fields.js.map +1 -1
- package/build-module/components/page-patterns/header.js +2 -2
- package/build-module/components/page-patterns/header.js.map +1 -1
- package/build-module/components/page-patterns/use-patterns.js +4 -8
- package/build-module/components/page-patterns/use-patterns.js.map +1 -1
- package/build-module/components/page-templates/fields.js +1 -2
- package/build-module/components/page-templates/fields.js.map +1 -1
- package/build-module/components/post-edit/index.js +14 -10
- package/build-module/components/post-edit/index.js.map +1 -1
- package/build-module/components/post-list/index.js +13 -3
- package/build-module/components/post-list/index.js.map +1 -1
- package/build-module/components/posts-app/index.js +3 -4
- package/build-module/components/posts-app/index.js.map +1 -1
- package/build-module/components/posts-app-routes/home.js +40 -0
- package/build-module/components/posts-app-routes/home.js.map +1 -0
- package/build-module/components/posts-app-routes/index.js +30 -0
- package/build-module/components/posts-app-routes/index.js.map +1 -0
- package/build-module/components/posts-app-routes/posts-edit.js +36 -0
- package/build-module/components/posts-app-routes/posts-edit.js.map +1 -0
- package/build-module/components/posts-app-routes/posts-list-view-quick-edit.js +55 -0
- package/build-module/components/posts-app-routes/posts-list-view-quick-edit.js.map +1 -0
- package/build-module/components/posts-app-routes/posts-list-view.js +40 -0
- package/build-module/components/posts-app-routes/posts-list-view.js.map +1 -0
- package/build-module/components/posts-app-routes/posts-view-quick-edit.js +52 -0
- package/build-module/components/posts-app-routes/posts-view-quick-edit.js.map +1 -0
- package/build-module/components/posts-app-routes/posts-view.js +33 -0
- package/build-module/components/posts-app-routes/posts-view.js.map +1 -0
- package/build-module/components/sidebar/index.js +11 -3
- package/build-module/components/sidebar/index.js.map +1 -1
- package/build-module/components/sidebar-global-styles-wrapper/index.js +121 -0
- package/build-module/components/sidebar-global-styles-wrapper/index.js.map +1 -0
- package/build-module/components/sidebar-navigation-screen-details-footer/index.js +20 -26
- package/build-module/components/sidebar-navigation-screen-details-footer/index.js.map +1 -1
- package/build-module/components/sidebar-navigation-screen-global-styles/index.js +19 -91
- package/build-module/components/sidebar-navigation-screen-global-styles/index.js.map +1 -1
- package/build-module/components/sidebar-navigation-screen-main/index.js +43 -43
- package/build-module/components/sidebar-navigation-screen-main/index.js.map +1 -1
- package/build-module/components/sidebar-navigation-screen-patterns/use-pattern-categories.js +1 -1
- package/build-module/components/sidebar-navigation-screen-patterns/use-pattern-categories.js.map +1 -1
- package/build-module/components/sidebar-navigation-screen-patterns/use-template-part-areas.js +3 -4
- package/build-module/components/sidebar-navigation-screen-patterns/use-template-part-areas.js.map +1 -1
- package/build-module/components/site-editor-routes/index.js +1 -2
- package/build-module/components/site-editor-routes/index.js.map +1 -1
- package/build-module/components/site-editor-routes/styles-view.js +8 -2
- package/build-module/components/site-editor-routes/styles-view.js.map +1 -1
- package/build-module/components/site-hub/index.js +19 -6
- package/build-module/components/site-hub/index.js.map +1 -1
- package/build-module/components/style-book/constants.js +10 -3
- package/build-module/components/style-book/constants.js.map +1 -1
- package/build-module/components/style-book/examples.js +94 -2
- package/build-module/components/style-book/examples.js.map +1 -1
- package/build-module/components/style-book/index.js +71 -12
- package/build-module/components/style-book/index.js.map +1 -1
- package/build-module/components/welcome-guide/index.js +4 -2
- package/build-module/components/welcome-guide/index.js.map +1 -1
- package/build-module/components/welcome-guide/page.js +1 -9
- package/build-module/components/welcome-guide/page.js.map +1 -1
- package/build-module/components/welcome-guide/template.js +1 -11
- package/build-module/components/welcome-guide/template.js.map +1 -1
- package/build-module/hooks/commands/use-common-commands.js +15 -15
- package/build-module/hooks/commands/use-common-commands.js.map +1 -1
- package/build-module/index.js +2 -10
- package/build-module/index.js.map +1 -1
- package/build-module/posts.js +1 -0
- package/build-module/posts.js.map +1 -1
- package/build-module/store/actions.js +13 -0
- package/build-module/store/actions.js.map +1 -1
- package/build-module/store/selectors.js +21 -1
- package/build-module/store/selectors.js.map +1 -1
- package/build-style/posts-rtl.css +106 -16
- package/build-style/posts.css +106 -16
- package/build-style/style-rtl.css +176 -78
- package/build-style/style.css +176 -78
- package/package.json +39 -40
- package/src/components/add-new-template/utils.js +2 -2
- package/src/components/app/index.js +0 -5
- package/src/components/block-editor/use-editor-iframe-props.js +2 -3
- package/src/components/block-editor/use-site-editor-settings.js +7 -21
- package/src/components/editor/index.js +31 -30
- package/src/components/editor/use-editor-title.js +50 -13
- package/src/components/editor/use-resolve-edited-entity.js +132 -0
- package/src/components/editor-canvas-container/index.js +1 -1
- package/src/components/editor-canvas-container/style.scss +0 -1
- package/src/components/global-styles/block-preview-panel.js +10 -10
- package/src/components/global-styles/screen-block.js +26 -8
- package/src/components/global-styles/screen-revisions/revisions-buttons.js +28 -31
- package/src/components/global-styles/screen-revisions/style.scss +11 -17
- package/src/components/global-styles/screen-style-variations.js +14 -5
- package/src/components/global-styles/shadows-edit-panel.js +4 -2
- package/src/components/global-styles/ui.js +41 -1
- package/src/components/global-styles-renderer/index.js +4 -10
- package/src/components/global-styles-sidebar/index.js +16 -2
- package/src/components/layout/hooks.js +1 -7
- package/src/components/layout/index.js +6 -1
- package/src/components/page-patterns/fields.js +6 -12
- package/src/components/page-patterns/header.js +3 -2
- package/src/components/page-patterns/style.scss +0 -5
- package/src/components/page-patterns/use-patterns.js +9 -7
- package/src/components/page-templates/fields.js +2 -3
- package/src/components/page-templates/style.scss +1 -0
- package/src/components/post-edit/index.js +37 -32
- package/src/components/post-edit/style.scss +7 -0
- package/src/components/post-list/index.js +10 -5
- package/src/components/post-list/style.scss +29 -3
- package/src/components/posts-app/index.js +3 -4
- package/src/components/posts-app-routes/home.js +36 -0
- package/src/components/posts-app-routes/index.js +36 -0
- package/src/components/posts-app-routes/posts-edit.js +31 -0
- package/src/components/posts-app-routes/posts-list-view-quick-edit.js +52 -0
- package/src/components/posts-app-routes/posts-list-view.js +40 -0
- package/src/components/posts-app-routes/posts-view-quick-edit.js +49 -0
- package/src/components/posts-app-routes/posts-view.js +35 -0
- package/src/components/sidebar/index.js +23 -7
- package/src/components/sidebar-global-styles-wrapper/index.js +150 -0
- package/src/components/sidebar-global-styles-wrapper/style.scss +35 -0
- package/src/components/sidebar-navigation-item/style.scss +2 -2
- package/src/components/sidebar-navigation-screen/style.scss +7 -2
- package/src/components/sidebar-navigation-screen-details-footer/index.js +27 -38
- package/src/components/sidebar-navigation-screen-details-footer/style.scss +0 -4
- package/src/components/sidebar-navigation-screen-global-styles/index.js +19 -103
- package/src/components/sidebar-navigation-screen-main/index.js +46 -45
- package/src/components/sidebar-navigation-screen-navigation-menus/style.scss +8 -0
- package/src/components/sidebar-navigation-screen-patterns/use-pattern-categories.js +1 -1
- package/src/components/sidebar-navigation-screen-patterns/use-template-part-areas.js +4 -4
- package/src/components/site-editor-routes/README.md +2 -2
- package/src/components/site-editor-routes/index.js +0 -2
- package/src/components/site-editor-routes/styles-view.js +11 -1
- package/src/components/site-hub/index.js +33 -16
- package/src/components/site-hub/style.scss +1 -1
- package/src/components/site-icon/style.scss +16 -0
- package/src/components/style-book/constants.ts +11 -3
- package/src/components/style-book/examples.tsx +128 -2
- package/src/components/style-book/index.js +86 -8
- package/src/components/welcome-guide/index.js +3 -3
- package/src/components/welcome-guide/page.js +1 -7
- package/src/components/welcome-guide/template.js +1 -8
- package/src/hooks/commands/use-common-commands.js +253 -246
- package/src/index.js +2 -13
- package/src/posts.js +1 -0
- package/src/store/actions.js +15 -0
- package/src/store/selectors.js +24 -1
- package/src/style.scss +2 -5
- package/build/components/async/index.js +0 -51
- package/build/components/async/index.js.map +0 -1
- package/build/components/post-fields/index.js +0 -290
- package/build/components/post-fields/index.js.map +0 -1
- package/build/components/posts-app/router.js +0 -85
- package/build/components/posts-app/router.js.map +0 -1
- package/build/components/sidebar-navigation-screen-details-panel/index.js +0 -54
- package/build/components/sidebar-navigation-screen-details-panel/index.js.map +0 -1
- package/build/components/sidebar-navigation-screen-details-panel/sidebar-navigation-screen-details-panel-label.js +0 -21
- package/build/components/sidebar-navigation-screen-details-panel/sidebar-navigation-screen-details-panel-label.js.map +0 -1
- package/build/components/sidebar-navigation-screen-details-panel/sidebar-navigation-screen-details-panel-row.js +0 -33
- package/build/components/sidebar-navigation-screen-details-panel/sidebar-navigation-screen-details-panel-row.js.map +0 -1
- package/build/components/sidebar-navigation-screen-details-panel/sidebar-navigation-screen-details-panel-value.js +0 -21
- package/build/components/sidebar-navigation-screen-details-panel/sidebar-navigation-screen-details-panel-value.js.map +0 -1
- package/build/components/site-editor-routes/styles-edit.js +0 -28
- package/build/components/site-editor-routes/styles-edit.js.map +0 -1
- package/build/components/sync-state-with-url/use-init-edited-entity-from-url.js +0 -219
- package/build/components/sync-state-with-url/use-init-edited-entity-from-url.js.map +0 -1
- package/build/components/use-edited-entity-record/index.js +0 -60
- package/build/components/use-edited-entity-record/index.js.map +0 -1
- package/build/hooks/commands/use-edit-mode-commands.js +0 -179
- package/build/hooks/commands/use-edit-mode-commands.js.map +0 -1
- package/build-module/components/async/index.js +0 -44
- package/build-module/components/async/index.js.map +0 -1
- package/build-module/components/post-fields/index.js +0 -283
- package/build-module/components/post-fields/index.js.map +0 -1
- package/build-module/components/posts-app/router.js +0 -77
- package/build-module/components/posts-app/router.js.map +0 -1
- package/build-module/components/sidebar-navigation-screen-details-panel/index.js +0 -29
- package/build-module/components/sidebar-navigation-screen-details-panel/index.js.map +0 -1
- package/build-module/components/sidebar-navigation-screen-details-panel/sidebar-navigation-screen-details-panel-label.js +0 -14
- package/build-module/components/sidebar-navigation-screen-details-panel/sidebar-navigation-screen-details-panel-label.js.map +0 -1
- package/build-module/components/sidebar-navigation-screen-details-panel/sidebar-navigation-screen-details-panel-row.js +0 -25
- package/build-module/components/sidebar-navigation-screen-details-panel/sidebar-navigation-screen-details-panel-row.js.map +0 -1
- package/build-module/components/sidebar-navigation-screen-details-panel/sidebar-navigation-screen-details-panel-value.js +0 -14
- package/build-module/components/sidebar-navigation-screen-details-panel/sidebar-navigation-screen-details-panel-value.js.map +0 -1
- package/build-module/components/site-editor-routes/styles-edit.js +0 -20
- package/build-module/components/site-editor-routes/styles-edit.js.map +0 -1
- package/build-module/components/sync-state-with-url/use-init-edited-entity-from-url.js +0 -212
- package/build-module/components/sync-state-with-url/use-init-edited-entity-from-url.js.map +0 -1
- package/build-module/components/use-edited-entity-record/index.js +0 -53
- package/build-module/components/use-edited-entity-record/index.js.map +0 -1
- package/build-module/hooks/commands/use-edit-mode-commands.js +0 -171
- package/build-module/hooks/commands/use-edit-mode-commands.js.map +0 -1
- package/src/components/async/index.js +0 -43
- package/src/components/post-fields/index.js +0 -361
- package/src/components/post-fields/style.scss +0 -3
- package/src/components/posts-app/router.js +0 -69
- package/src/components/sidebar-navigation-screen-details-panel/index.js +0 -40
- package/src/components/sidebar-navigation-screen-details-panel/sidebar-navigation-screen-details-panel-label.js +0 -14
- package/src/components/sidebar-navigation-screen-details-panel/sidebar-navigation-screen-details-panel-row.js +0 -31
- package/src/components/sidebar-navigation-screen-details-panel/sidebar-navigation-screen-details-panel-value.js +0 -14
- package/src/components/sidebar-navigation-screen-details-panel/style.scss +0 -26
- package/src/components/site-editor-routes/styles-edit.js +0 -17
- package/src/components/sync-state-with-url/use-init-edited-entity-from-url.js +0 -267
- package/src/components/use-edited-entity-record/index.js +0 -58
- package/src/hooks/commands/use-edit-mode-commands.js +0 -168
- package/src/store/test/actions.js +0 -83
- package/src/store/test/reducer.js +0 -69
- package/src/store/test/selectors.js +0 -41
package/build-style/style.css
CHANGED
|
@@ -198,6 +198,13 @@
|
|
|
198
198
|
color: var(--wp-admin-theme-color);
|
|
199
199
|
}
|
|
200
200
|
|
|
201
|
+
.dataviews-view-list__primary-field--clickable,
|
|
202
|
+
.dataviews-view-grid__primary-field--clickable,
|
|
203
|
+
.dataviews-view-grid__media--clickable,
|
|
204
|
+
.dataviews-view-table__primary-field > .dataviews-view-table__cell-content--clickable {
|
|
205
|
+
cursor: pointer;
|
|
206
|
+
}
|
|
207
|
+
|
|
201
208
|
.dataviews-no-results,
|
|
202
209
|
.dataviews-loading {
|
|
203
210
|
padding: 0 48px;
|
|
@@ -653,15 +660,6 @@
|
|
|
653
660
|
top: unset;
|
|
654
661
|
}
|
|
655
662
|
|
|
656
|
-
.dataforms-layouts-panel__field-dropdown .dataforms-combined-edit {
|
|
657
|
-
border: none;
|
|
658
|
-
padding: 0;
|
|
659
|
-
}
|
|
660
|
-
|
|
661
|
-
.dataforms-combined-edit__field {
|
|
662
|
-
flex: 1 1 auto;
|
|
663
|
-
}
|
|
664
|
-
|
|
665
663
|
.dataviews-view-grid {
|
|
666
664
|
margin-bottom: auto;
|
|
667
665
|
grid-template-rows: max-content;
|
|
@@ -683,7 +681,13 @@
|
|
|
683
681
|
padding: 8px 0 4px;
|
|
684
682
|
}
|
|
685
683
|
.dataviews-view-grid .dataviews-view-grid__card .dataviews-view-grid__primary-field {
|
|
686
|
-
min-height:
|
|
684
|
+
min-height: 24px;
|
|
685
|
+
display: flex;
|
|
686
|
+
align-items: center;
|
|
687
|
+
}
|
|
688
|
+
.dataviews-view-grid .dataviews-view-grid__card .dataviews-view-grid__primary-field--clickable {
|
|
689
|
+
width: -moz-fit-content;
|
|
690
|
+
width: fit-content;
|
|
687
691
|
}
|
|
688
692
|
.dataviews-view-grid .dataviews-view-grid__card.is-selected .dataviews-view-grid__fields .dataviews-view-grid__field .dataviews-view-grid__field-value {
|
|
689
693
|
color: #1e1e1e;
|
|
@@ -1106,6 +1110,22 @@ ul.dataviews-view-list {
|
|
|
1106
1110
|
.dataviews-view-table:has(tr.is-selected) .components-checkbox-control__input {
|
|
1107
1111
|
opacity: 1;
|
|
1108
1112
|
}
|
|
1113
|
+
.dataviews-view-table.has-compact-density thead th:has(.dataviews-view-table-header-button):not(:first-child) {
|
|
1114
|
+
padding-left: 0;
|
|
1115
|
+
}
|
|
1116
|
+
.dataviews-view-table.has-compact-density td,
|
|
1117
|
+
.dataviews-view-table.has-compact-density th {
|
|
1118
|
+
padding: 4px 8px;
|
|
1119
|
+
}
|
|
1120
|
+
.dataviews-view-table.has-comfortable-density td,
|
|
1121
|
+
.dataviews-view-table.has-comfortable-density th {
|
|
1122
|
+
padding: 16px 12px;
|
|
1123
|
+
}
|
|
1124
|
+
.dataviews-view-table.has-compact-density td.dataviews-view-table__checkbox-column,
|
|
1125
|
+
.dataviews-view-table.has-compact-density th.dataviews-view-table__checkbox-column, .dataviews-view-table.has-comfortable-density td.dataviews-view-table__checkbox-column,
|
|
1126
|
+
.dataviews-view-table.has-comfortable-density th.dataviews-view-table__checkbox-column {
|
|
1127
|
+
padding-right: 0;
|
|
1128
|
+
}
|
|
1109
1129
|
|
|
1110
1130
|
/* stylelint-disable-next-line scss/at-rule-no-unknown -- '@container' not globally permitted */
|
|
1111
1131
|
@container (max-width: 430px) {
|
|
@@ -1178,6 +1198,41 @@ ul.dataviews-view-list {
|
|
|
1178
1198
|
margin-bottom: 16px;
|
|
1179
1199
|
}
|
|
1180
1200
|
|
|
1201
|
+
.components-popover.components-dropdown__content.dataforms-layouts-panel__field-dropdown {
|
|
1202
|
+
z-index: 159990;
|
|
1203
|
+
}
|
|
1204
|
+
|
|
1205
|
+
.dataforms-layouts-regular__field {
|
|
1206
|
+
width: 100%;
|
|
1207
|
+
min-height: 32px;
|
|
1208
|
+
justify-content: flex-start !important;
|
|
1209
|
+
align-items: flex-start !important;
|
|
1210
|
+
}
|
|
1211
|
+
|
|
1212
|
+
.dataforms-layouts-regular__field .components-base-control__label {
|
|
1213
|
+
font-size: inherit;
|
|
1214
|
+
font-weight: normal;
|
|
1215
|
+
text-transform: none;
|
|
1216
|
+
}
|
|
1217
|
+
|
|
1218
|
+
.dataforms-layouts-regular__field-label {
|
|
1219
|
+
width: 38%;
|
|
1220
|
+
flex-shrink: 0;
|
|
1221
|
+
min-height: 32px;
|
|
1222
|
+
display: flex;
|
|
1223
|
+
align-items: center;
|
|
1224
|
+
padding: 6px 0;
|
|
1225
|
+
line-height: 20px;
|
|
1226
|
+
hyphens: auto;
|
|
1227
|
+
}
|
|
1228
|
+
|
|
1229
|
+
.dataforms-layouts-regular__field-control {
|
|
1230
|
+
flex-grow: 1;
|
|
1231
|
+
min-height: 32px;
|
|
1232
|
+
display: flex;
|
|
1233
|
+
align-items: center;
|
|
1234
|
+
}
|
|
1235
|
+
|
|
1181
1236
|
.fields-controls__slug .fields-controls__slug-external-icon {
|
|
1182
1237
|
margin-left: 5ch;
|
|
1183
1238
|
}
|
|
@@ -1265,13 +1320,11 @@ fieldset.fields-controls__featured-image .fields-controls__featured-image-remove
|
|
|
1265
1320
|
height: 16px;
|
|
1266
1321
|
}
|
|
1267
1322
|
|
|
1268
|
-
.dataviews-view-table__cell-content-wrapper .fields-controls__featured-image-image
|
|
1269
|
-
width: 32px;
|
|
1270
|
-
height: 32px;
|
|
1271
|
-
}
|
|
1323
|
+
.dataviews-view-table__cell-content-wrapper .fields-controls__featured-image-image,
|
|
1272
1324
|
.dataviews-view-table__cell-content-wrapper .fields-controls__featured-image-placeholder {
|
|
1273
1325
|
width: 32px;
|
|
1274
1326
|
height: 32px;
|
|
1327
|
+
display: block;
|
|
1275
1328
|
}
|
|
1276
1329
|
|
|
1277
1330
|
.edit-site-custom-template-modal__contents-wrapper {
|
|
@@ -1693,6 +1746,10 @@ fieldset.fields-controls__featured-image .fields-controls__featured-image-remove
|
|
|
1693
1746
|
display: flex;
|
|
1694
1747
|
flex-direction: column;
|
|
1695
1748
|
}
|
|
1749
|
+
.edit-site-global-styles-screen-revisions__revision-item[role=option]:active, .edit-site-global-styles-screen-revisions__revision-item[role=option]:focus {
|
|
1750
|
+
box-shadow: 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
|
|
1751
|
+
outline: 2px solid transparent;
|
|
1752
|
+
}
|
|
1696
1753
|
.edit-site-global-styles-screen-revisions__revision-item:hover {
|
|
1697
1754
|
background: rgba(var(--wp-admin-theme-color--rgb), 0.04);
|
|
1698
1755
|
}
|
|
@@ -1715,25 +1772,22 @@ fieldset.fields-controls__featured-image .fields-controls__featured-image-remove
|
|
|
1715
1772
|
z-index: 1;
|
|
1716
1773
|
border: 4px solid transparent;
|
|
1717
1774
|
}
|
|
1718
|
-
.edit-site-global-styles-screen-revisions__revision-item
|
|
1775
|
+
.edit-site-global-styles-screen-revisions__revision-item[aria-selected=true] {
|
|
1719
1776
|
border-radius: 2px;
|
|
1720
1777
|
outline: 3px solid transparent;
|
|
1721
1778
|
outline-offset: -2px;
|
|
1722
1779
|
color: var(--wp-admin-theme-color);
|
|
1723
1780
|
background: rgba(var(--wp-admin-theme-color--rgb), 0.04);
|
|
1724
1781
|
}
|
|
1725
|
-
.edit-site-global-styles-screen-revisions__revision-item
|
|
1726
|
-
opacity: 1;
|
|
1727
|
-
}
|
|
1728
|
-
.edit-site-global-styles-screen-revisions__revision-item.is-selected .edit-site-global-styles-screen-revisions__date {
|
|
1782
|
+
.edit-site-global-styles-screen-revisions__revision-item[aria-selected=true] .edit-site-global-styles-screen-revisions__date {
|
|
1729
1783
|
color: var(--wp-admin-theme-color);
|
|
1730
1784
|
}
|
|
1731
|
-
.edit-site-global-styles-screen-revisions__revision-item
|
|
1785
|
+
.edit-site-global-styles-screen-revisions__revision-item[aria-selected=true]::before {
|
|
1732
1786
|
background: var(--wp-admin-theme-color);
|
|
1733
1787
|
}
|
|
1734
|
-
.edit-site-global-styles-screen-revisions__revision-item
|
|
1735
|
-
.edit-site-global-styles-screen-revisions__revision-item
|
|
1736
|
-
.edit-site-global-styles-screen-revisions__revision-item
|
|
1788
|
+
.edit-site-global-styles-screen-revisions__revision-item[aria-selected=true] .edit-site-global-styles-screen-revisions__changes > li,
|
|
1789
|
+
.edit-site-global-styles-screen-revisions__revision-item[aria-selected=true] .edit-site-global-styles-screen-revisions__meta,
|
|
1790
|
+
.edit-site-global-styles-screen-revisions__revision-item[aria-selected=true] .edit-site-global-styles-screen-revisions__applied-text {
|
|
1737
1791
|
color: #1e1e1e;
|
|
1738
1792
|
}
|
|
1739
1793
|
.edit-site-global-styles-screen-revisions__revision-item::after {
|
|
@@ -1749,14 +1803,10 @@ fieldset.fields-controls__featured-image .fields-controls__featured-image-remove
|
|
|
1749
1803
|
.edit-site-global-styles-screen-revisions__revision-item:last-child::after {
|
|
1750
1804
|
height: 18px;
|
|
1751
1805
|
}
|
|
1752
|
-
|
|
1753
|
-
|
|
1754
|
-
height: auto;
|
|
1806
|
+
|
|
1807
|
+
.edit-site-global-styles-screen-revisions__revision-item-wrapper {
|
|
1755
1808
|
display: block;
|
|
1756
1809
|
padding: 12px 12px 4px 40px;
|
|
1757
|
-
z-index: 1;
|
|
1758
|
-
position: relative;
|
|
1759
|
-
outline-offset: -2px;
|
|
1760
1810
|
}
|
|
1761
1811
|
|
|
1762
1812
|
.edit-site-global-styles-screen-revisions__apply-button.is-primary,
|
|
@@ -2032,10 +2082,6 @@ fieldset.fields-controls__featured-image .fields-controls__featured-image-remove
|
|
|
2032
2082
|
flex-shrink: 0;
|
|
2033
2083
|
}
|
|
2034
2084
|
|
|
2035
|
-
.edit-site-patterns__pattern-lock-icon {
|
|
2036
|
-
min-width: min-content;
|
|
2037
|
-
}
|
|
2038
|
-
|
|
2039
2085
|
.edit-site-patterns__section-header {
|
|
2040
2086
|
border-bottom: 1px solid #f0f0f0;
|
|
2041
2087
|
padding: 16px 48px;
|
|
@@ -2069,7 +2115,6 @@ fieldset.fields-controls__featured-image .fields-controls__featured-image-remove
|
|
|
2069
2115
|
|
|
2070
2116
|
.edit-site-patterns__pattern-title {
|
|
2071
2117
|
display: block;
|
|
2072
|
-
width: 100%;
|
|
2073
2118
|
white-space: nowrap;
|
|
2074
2119
|
overflow: hidden;
|
|
2075
2120
|
text-overflow: ellipsis;
|
|
@@ -2181,6 +2226,7 @@ fieldset.fields-controls__featured-image .fields-controls__featured-image-remove
|
|
|
2181
2226
|
}
|
|
2182
2227
|
.dataviews-view-table .page-templates-description {
|
|
2183
2228
|
margin-bottom: 8px;
|
|
2229
|
+
display: block;
|
|
2184
2230
|
}
|
|
2185
2231
|
|
|
2186
2232
|
.edit-site-page-templates .dataviews-pagination {
|
|
@@ -2641,7 +2687,7 @@ html.canvas-mode-edit-transition::view-transition-group(toggle) {
|
|
|
2641
2687
|
contain: content;
|
|
2642
2688
|
}
|
|
2643
2689
|
|
|
2644
|
-
@keyframes
|
|
2690
|
+
@keyframes _4uxd5_slide-from-right {
|
|
2645
2691
|
from {
|
|
2646
2692
|
transform: translateX(50px);
|
|
2647
2693
|
opacity: 0;
|
|
@@ -2651,7 +2697,7 @@ html.canvas-mode-edit-transition::view-transition-group(toggle) {
|
|
|
2651
2697
|
opacity: 1;
|
|
2652
2698
|
}
|
|
2653
2699
|
}
|
|
2654
|
-
@keyframes
|
|
2700
|
+
@keyframes _4uxd5_slide-from-left {
|
|
2655
2701
|
from {
|
|
2656
2702
|
transform: translateX(-50px);
|
|
2657
2703
|
opacity: 0;
|
|
@@ -2707,10 +2753,10 @@ html.canvas-mode-edit-transition::view-transition-group(toggle) {
|
|
|
2707
2753
|
}
|
|
2708
2754
|
}
|
|
2709
2755
|
.edit-site-sidebar__screen-wrapper.slide-from-left {
|
|
2710
|
-
animation-name:
|
|
2756
|
+
animation-name: _4uxd5_slide-from-left;
|
|
2711
2757
|
}
|
|
2712
2758
|
.edit-site-sidebar__screen-wrapper.slide-from-right {
|
|
2713
|
-
animation-name:
|
|
2759
|
+
animation-name: _4uxd5_slide-from-right;
|
|
2714
2760
|
}
|
|
2715
2761
|
|
|
2716
2762
|
.edit-site-sidebar-button {
|
|
@@ -2735,14 +2781,14 @@ html.canvas-mode-edit-transition::view-transition-group(toggle) {
|
|
|
2735
2781
|
border: none;
|
|
2736
2782
|
min-height: 40px;
|
|
2737
2783
|
}
|
|
2738
|
-
.edit-site-sidebar-navigation-item.components-item:hover, .edit-site-sidebar-navigation-item.components-item:focus, .edit-site-sidebar-navigation-item.components-item[aria-current] {
|
|
2784
|
+
.edit-site-sidebar-navigation-item.components-item:hover, .edit-site-sidebar-navigation-item.components-item:focus, .edit-site-sidebar-navigation-item.components-item[aria-current=true] {
|
|
2739
2785
|
color: #e0e0e0;
|
|
2740
2786
|
background: #2f2f2f;
|
|
2741
2787
|
}
|
|
2742
|
-
.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] .edit-site-sidebar-navigation-item__drilldown-indicator {
|
|
2788
|
+
.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 {
|
|
2743
2789
|
fill: #e0e0e0;
|
|
2744
2790
|
}
|
|
2745
|
-
.edit-site-sidebar-navigation-item.components-item[aria-current] {
|
|
2791
|
+
.edit-site-sidebar-navigation-item.components-item[aria-current=true] {
|
|
2746
2792
|
background: var(--wp-admin-theme-color);
|
|
2747
2793
|
color: #fff;
|
|
2748
2794
|
}
|
|
@@ -2776,7 +2822,7 @@ html.canvas-mode-edit-transition::view-transition-group(toggle) {
|
|
|
2776
2822
|
.edit-site-sidebar-navigation-screen__content {
|
|
2777
2823
|
padding: 0 16px;
|
|
2778
2824
|
}
|
|
2779
|
-
.edit-site-sidebar-navigation-screen__content .
|
|
2825
|
+
.edit-site-sidebar-navigation-screen__content .edit-site-sidebar-navigation-screen-details-footer {
|
|
2780
2826
|
margin-left: -16px;
|
|
2781
2827
|
margin-right: -16px;
|
|
2782
2828
|
}
|
|
@@ -2861,10 +2907,14 @@ html.canvas-mode-edit-transition::view-transition-group(toggle) {
|
|
|
2861
2907
|
bottom: 0;
|
|
2862
2908
|
background-color: #1e1e1e;
|
|
2863
2909
|
gap: 0;
|
|
2864
|
-
padding: 16px
|
|
2910
|
+
padding: 8px 16px;
|
|
2865
2911
|
margin: 16px 0 0;
|
|
2866
2912
|
border-top: 1px solid #2f2f2f;
|
|
2867
2913
|
}
|
|
2914
|
+
.edit-site-sidebar-navigation-screen__footer .components-item-group {
|
|
2915
|
+
margin-left: -16px;
|
|
2916
|
+
margin-right: -16px;
|
|
2917
|
+
}
|
|
2868
2918
|
|
|
2869
2919
|
/* In general style overrides are discouraged.
|
|
2870
2920
|
* This is a temporary solution to override the InputControl component's styles.
|
|
@@ -2897,10 +2947,6 @@ html.canvas-mode-edit-transition::view-transition-group(toggle) {
|
|
|
2897
2947
|
.edit-site-sidebar-navigation-screen-details-footer div.edit-site-sidebar-navigation-item.components-item[aria-current] {
|
|
2898
2948
|
background: none;
|
|
2899
2949
|
}
|
|
2900
|
-
.edit-site-sidebar-navigation-screen-details-footer .edit-site-sidebar-navigation-screen-details-footer__icon {
|
|
2901
|
-
margin-left: auto;
|
|
2902
|
-
fill: #949494;
|
|
2903
|
-
}
|
|
2904
2950
|
|
|
2905
2951
|
.sidebar-navigation__more-menu .components-button {
|
|
2906
2952
|
color: #e0e0e0;
|
|
@@ -2909,31 +2955,6 @@ html.canvas-mode-edit-transition::view-transition-group(toggle) {
|
|
|
2909
2955
|
color: #f0f0f0;
|
|
2910
2956
|
}
|
|
2911
2957
|
|
|
2912
|
-
.edit-site-sidebar-navigation-details-screen-panel {
|
|
2913
|
-
margin: 24px 0;
|
|
2914
|
-
}
|
|
2915
|
-
.edit-site-sidebar-navigation-details-screen-panel:last-of-type {
|
|
2916
|
-
margin-bottom: 0;
|
|
2917
|
-
}
|
|
2918
|
-
.edit-site-sidebar-navigation-details-screen-panel .edit-site-sidebar-navigation-details-screen-panel__heading {
|
|
2919
|
-
color: #ccc;
|
|
2920
|
-
text-transform: uppercase;
|
|
2921
|
-
font-weight: 500;
|
|
2922
|
-
font-size: 11px;
|
|
2923
|
-
padding: 0;
|
|
2924
|
-
margin-bottom: 0;
|
|
2925
|
-
}
|
|
2926
|
-
|
|
2927
|
-
.edit-site-sidebar-navigation-details-screen-panel__label.edit-site-sidebar-navigation-details-screen-panel__label {
|
|
2928
|
-
color: #949494;
|
|
2929
|
-
width: 100px;
|
|
2930
|
-
flex-shrink: 0;
|
|
2931
|
-
}
|
|
2932
|
-
|
|
2933
|
-
.edit-site-sidebar-navigation-details-screen-panel__value.edit-site-sidebar-navigation-details-screen-panel__value {
|
|
2934
|
-
color: #e0e0e0;
|
|
2935
|
-
}
|
|
2936
|
-
|
|
2937
2958
|
.edit-site-sidebar-navigation-screen-patterns__group {
|
|
2938
2959
|
margin-bottom: 24px;
|
|
2939
2960
|
}
|
|
@@ -2991,7 +3012,7 @@ html.canvas-mode-edit-transition::view-transition-group(toggle) {
|
|
|
2991
3012
|
justify-content: space-between;
|
|
2992
3013
|
gap: 8px;
|
|
2993
3014
|
margin-right: 12px;
|
|
2994
|
-
height:
|
|
3015
|
+
height: 60px;
|
|
2995
3016
|
}
|
|
2996
3017
|
|
|
2997
3018
|
.edit-site-site-hub__actions {
|
|
@@ -3080,6 +3101,12 @@ html.canvas-mode-edit-transition::view-transition-group(toggle) {
|
|
|
3080
3101
|
.edit-site-sidebar-navigation-screen-navigation-menus__content .block-editor-list-view-block-select-button:hover, .edit-site-sidebar-navigation-screen-navigation-menus__content .block-editor-list-view-block-select-button:focus, .edit-site-sidebar-navigation-screen-navigation-menus__content .block-editor-list-view-block-select-button[aria-current] {
|
|
3081
3102
|
color: #fff;
|
|
3082
3103
|
}
|
|
3104
|
+
.edit-site-sidebar-navigation-screen-navigation-menus__content .block-editor-list-view-block__menu {
|
|
3105
|
+
color: #949494;
|
|
3106
|
+
}
|
|
3107
|
+
.edit-site-sidebar-navigation-screen-navigation-menus__content .block-editor-list-view-block__menu:hover, .edit-site-sidebar-navigation-screen-navigation-menus__content .block-editor-list-view-block__menu:focus {
|
|
3108
|
+
color: #fff;
|
|
3109
|
+
}
|
|
3083
3110
|
|
|
3084
3111
|
.edit-site-sidebar-navigation-screen-navigation-menus__loading.components-spinner {
|
|
3085
3112
|
margin-left: auto;
|
|
@@ -3111,6 +3138,21 @@ html.canvas-mode-edit-transition::view-transition-group(toggle) {
|
|
|
3111
3138
|
border-radius: 0;
|
|
3112
3139
|
}
|
|
3113
3140
|
|
|
3141
|
+
.edit-site-editor__view-mode-toggle button:focus {
|
|
3142
|
+
position: relative;
|
|
3143
|
+
}
|
|
3144
|
+
.edit-site-editor__view-mode-toggle button:focus::before {
|
|
3145
|
+
content: "";
|
|
3146
|
+
display: block;
|
|
3147
|
+
position: absolute;
|
|
3148
|
+
z-index: 1;
|
|
3149
|
+
top: 0;
|
|
3150
|
+
right: 0;
|
|
3151
|
+
bottom: 0;
|
|
3152
|
+
left: 0;
|
|
3153
|
+
box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color), inset 0 0 0 calc(1px + var(--wp-admin-border-width-focus)) #fff;
|
|
3154
|
+
}
|
|
3155
|
+
|
|
3114
3156
|
.edit-site-style-book {
|
|
3115
3157
|
height: 100%;
|
|
3116
3158
|
display: flex;
|
|
@@ -3144,7 +3186,6 @@ html.canvas-mode-edit-transition::view-transition-group(toggle) {
|
|
|
3144
3186
|
|
|
3145
3187
|
.edit-site-editor-canvas-container {
|
|
3146
3188
|
height: 100%;
|
|
3147
|
-
background-color: #ddd;
|
|
3148
3189
|
}
|
|
3149
3190
|
.edit-site-editor-canvas-container iframe {
|
|
3150
3191
|
display: block;
|
|
@@ -3184,6 +3225,11 @@ html.canvas-mode-edit-transition::view-transition-group(toggle) {
|
|
|
3184
3225
|
justify-content: center;
|
|
3185
3226
|
}
|
|
3186
3227
|
|
|
3228
|
+
.dataforms-layouts-panel__field-dropdown .fields-controls__password {
|
|
3229
|
+
border-top: 1px solid #e0e0e0;
|
|
3230
|
+
padding-top: 16px;
|
|
3231
|
+
}
|
|
3232
|
+
|
|
3187
3233
|
.edit-site-post-list__featured-image {
|
|
3188
3234
|
height: 100%;
|
|
3189
3235
|
object-fit: cover;
|
|
@@ -3243,6 +3289,27 @@ html.canvas-mode-edit-transition::view-transition-group(toggle) {
|
|
|
3243
3289
|
overflow: hidden;
|
|
3244
3290
|
}
|
|
3245
3291
|
|
|
3292
|
+
.dataviews-view-grid__primary-field.dataviews-view-grid__primary-field--clickable .edit-site-post-list__title span,
|
|
3293
|
+
.dataviews-view-table__primary-field > .dataviews-view-table__cell-content--clickable .edit-site-post-list__title span {
|
|
3294
|
+
text-decoration: none;
|
|
3295
|
+
text-overflow: ellipsis;
|
|
3296
|
+
white-space: nowrap;
|
|
3297
|
+
overflow: hidden;
|
|
3298
|
+
display: block;
|
|
3299
|
+
flex-grow: 0;
|
|
3300
|
+
color: #1e1e1e;
|
|
3301
|
+
}
|
|
3302
|
+
.dataviews-view-grid__primary-field.dataviews-view-grid__primary-field--clickable .edit-site-post-list__title span:hover,
|
|
3303
|
+
.dataviews-view-table__primary-field > .dataviews-view-table__cell-content--clickable .edit-site-post-list__title span:hover {
|
|
3304
|
+
color: var(--wp-admin-theme-color);
|
|
3305
|
+
}
|
|
3306
|
+
.dataviews-view-grid__primary-field.dataviews-view-grid__primary-field--clickable .edit-site-post-list__title span:focus,
|
|
3307
|
+
.dataviews-view-table__primary-field > .dataviews-view-table__cell-content--clickable .edit-site-post-list__title span:focus {
|
|
3308
|
+
color: var(--wp-admin-theme-color--rgb);
|
|
3309
|
+
box-shadow: 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color, #007cba);
|
|
3310
|
+
border-radius: 2px;
|
|
3311
|
+
}
|
|
3312
|
+
|
|
3246
3313
|
.edit-site-post-list__title-badge {
|
|
3247
3314
|
background: #f0f0f0;
|
|
3248
3315
|
color: #2f2f2f;
|
|
@@ -3263,10 +3330,6 @@ html.canvas-mode-edit-transition::view-transition-group(toggle) {
|
|
|
3263
3330
|
margin-left: -4px;
|
|
3264
3331
|
}
|
|
3265
3332
|
|
|
3266
|
-
.components-popover.components-dropdown__content.dataforms-layouts-panel__field-dropdown {
|
|
3267
|
-
z-index: 159990;
|
|
3268
|
-
}
|
|
3269
|
-
|
|
3270
3333
|
.edit-site-resizable-frame__inner {
|
|
3271
3334
|
position: relative;
|
|
3272
3335
|
}
|
|
@@ -3548,6 +3611,41 @@ button.font-library-modal__upload-area {
|
|
|
3548
3611
|
outline-color: var(--wp-admin-theme-color);
|
|
3549
3612
|
}
|
|
3550
3613
|
|
|
3614
|
+
.edit-site-styles .edit-site-page-content .edit-site-global-styles-screen-root {
|
|
3615
|
+
box-shadow: none;
|
|
3616
|
+
}
|
|
3617
|
+
.edit-site-styles .edit-site-page-content .edit-site-global-styles-screen-root > div > hr {
|
|
3618
|
+
display: none;
|
|
3619
|
+
}
|
|
3620
|
+
.edit-site-styles .edit-site-page-content .edit-site-global-styles-sidebar__navigator-provider {
|
|
3621
|
+
overflow-y: auto;
|
|
3622
|
+
padding-left: 0;
|
|
3623
|
+
padding-right: 0;
|
|
3624
|
+
}
|
|
3625
|
+
.edit-site-styles .edit-site-page-content .edit-site-global-styles-sidebar__navigator-provider .components-tools-panel {
|
|
3626
|
+
border-top: none;
|
|
3627
|
+
}
|
|
3628
|
+
.edit-site-styles .edit-site-page-content .edit-site-global-styles-sidebar__navigator-provider .edit-site-global-styles-sidebar__navigator-screen {
|
|
3629
|
+
padding-top: 12px;
|
|
3630
|
+
padding-left: 12px;
|
|
3631
|
+
padding-right: 12px;
|
|
3632
|
+
padding-bottom: 12px;
|
|
3633
|
+
outline: none;
|
|
3634
|
+
}
|
|
3635
|
+
.edit-site-styles .edit-site-page-content .edit-site-page-header {
|
|
3636
|
+
padding-left: 48px;
|
|
3637
|
+
padding-right: 48px;
|
|
3638
|
+
}
|
|
3639
|
+
@container (max-width: 430px) {
|
|
3640
|
+
.edit-site-styles .edit-site-page-content .edit-site-page-header {
|
|
3641
|
+
padding-left: 24px;
|
|
3642
|
+
padding-right: 24px;
|
|
3643
|
+
}
|
|
3644
|
+
}
|
|
3645
|
+
.edit-site-styles .edit-site-page-content .edit-site-sidebar-button {
|
|
3646
|
+
color: #1e1e1e;
|
|
3647
|
+
}
|
|
3648
|
+
|
|
3551
3649
|
/* stylelint-disable -- Disable reason: View Transitions not supported properly by stylelint. */
|
|
3552
3650
|
::view-transition-image-pair(root) {
|
|
3553
3651
|
isolation: auto;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wordpress/edit-site",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.12.1-next.082ed6819.0",
|
|
4
4
|
"description": "Edit Site Page module for WordPress.",
|
|
5
5
|
"author": "The WordPress Contributors",
|
|
6
6
|
"license": "GPL-2.0-or-later",
|
|
@@ -26,49 +26,49 @@
|
|
|
26
26
|
"main": "build/index.js",
|
|
27
27
|
"module": "build-module/index.js",
|
|
28
28
|
"react-native": "src/index",
|
|
29
|
+
"wpScript": true,
|
|
29
30
|
"dependencies": {
|
|
30
31
|
"@babel/runtime": "7.25.7",
|
|
31
32
|
"@react-spring/web": "^9.4.5",
|
|
32
|
-
"@wordpress/a11y": "
|
|
33
|
-
"@wordpress/api-fetch": "
|
|
34
|
-
"@wordpress/blob": "
|
|
35
|
-
"@wordpress/block-editor": "
|
|
36
|
-
"@wordpress/block-library": "
|
|
37
|
-
"@wordpress/blocks": "
|
|
38
|
-
"@wordpress/commands": "
|
|
33
|
+
"@wordpress/a11y": "^4.12.1-next.082ed6819.0",
|
|
34
|
+
"@wordpress/api-fetch": "^7.12.1-next.082ed6819.0",
|
|
35
|
+
"@wordpress/blob": "^4.12.1-next.082ed6819.0",
|
|
36
|
+
"@wordpress/block-editor": "^14.7.1-next.082ed6819.0",
|
|
37
|
+
"@wordpress/block-library": "^9.12.1-next.082ed6819.0",
|
|
38
|
+
"@wordpress/blocks": "^14.1.1-next.082ed6819.0",
|
|
39
|
+
"@wordpress/commands": "^1.12.1-next.082ed6819.0",
|
|
39
40
|
"@wordpress/components": "*",
|
|
40
|
-
"@wordpress/compose": "
|
|
41
|
-
"@wordpress/core-commands": "
|
|
42
|
-
"@wordpress/core-data": "
|
|
41
|
+
"@wordpress/compose": "^7.12.1-next.082ed6819.0",
|
|
42
|
+
"@wordpress/core-commands": "^1.12.1-next.082ed6819.0",
|
|
43
|
+
"@wordpress/core-data": "^7.12.1-next.082ed6819.0",
|
|
43
44
|
"@wordpress/data": "*",
|
|
44
45
|
"@wordpress/dataviews": "*",
|
|
45
|
-
"@wordpress/date": "
|
|
46
|
-
"@wordpress/deprecated": "
|
|
47
|
-
"@wordpress/dom": "
|
|
48
|
-
"@wordpress/editor": "
|
|
49
|
-
"@wordpress/element": "
|
|
50
|
-
"@wordpress/escape-html": "
|
|
51
|
-
"@wordpress/fields": "
|
|
52
|
-
"@wordpress/hooks": "
|
|
53
|
-
"@wordpress/html-entities": "
|
|
54
|
-
"@wordpress/i18n": "
|
|
55
|
-
"@wordpress/icons": "
|
|
56
|
-
"@wordpress/keyboard-shortcuts": "
|
|
57
|
-
"@wordpress/keycodes": "
|
|
58
|
-
"@wordpress/notices": "
|
|
59
|
-
"@wordpress/patterns": "
|
|
60
|
-
"@wordpress/plugins": "
|
|
61
|
-
"@wordpress/preferences": "
|
|
62
|
-
"@wordpress/primitives": "
|
|
63
|
-
"@wordpress/
|
|
64
|
-
"@wordpress/
|
|
65
|
-
"@wordpress/
|
|
66
|
-
"@wordpress/
|
|
67
|
-
"@wordpress/
|
|
68
|
-
"@wordpress/
|
|
69
|
-
"@wordpress/
|
|
70
|
-
"@wordpress/
|
|
71
|
-
"@wordpress/wordcount": "*",
|
|
46
|
+
"@wordpress/date": "^5.12.1-next.082ed6819.0",
|
|
47
|
+
"@wordpress/deprecated": "^4.12.1-next.082ed6819.0",
|
|
48
|
+
"@wordpress/dom": "^4.12.1-next.082ed6819.0",
|
|
49
|
+
"@wordpress/editor": "^14.12.1-next.082ed6819.0",
|
|
50
|
+
"@wordpress/element": "^6.12.1-next.082ed6819.0",
|
|
51
|
+
"@wordpress/escape-html": "^3.12.1-next.082ed6819.0",
|
|
52
|
+
"@wordpress/fields": "^0.4.1-next.082ed6819.0",
|
|
53
|
+
"@wordpress/hooks": "^4.12.1-next.082ed6819.0",
|
|
54
|
+
"@wordpress/html-entities": "^4.12.1-next.082ed6819.0",
|
|
55
|
+
"@wordpress/i18n": "^5.12.1-next.082ed6819.0",
|
|
56
|
+
"@wordpress/icons": "^10.12.1-next.082ed6819.0",
|
|
57
|
+
"@wordpress/keyboard-shortcuts": "^5.12.1-next.082ed6819.0",
|
|
58
|
+
"@wordpress/keycodes": "^4.12.1-next.082ed6819.0",
|
|
59
|
+
"@wordpress/notices": "^5.12.1-next.082ed6819.0",
|
|
60
|
+
"@wordpress/patterns": "^2.12.1-next.082ed6819.0",
|
|
61
|
+
"@wordpress/plugins": "^7.12.1-next.082ed6819.0",
|
|
62
|
+
"@wordpress/preferences": "^4.12.1-next.082ed6819.0",
|
|
63
|
+
"@wordpress/primitives": "^4.12.1-next.082ed6819.0",
|
|
64
|
+
"@wordpress/private-apis": "^1.12.1-next.082ed6819.0",
|
|
65
|
+
"@wordpress/reusable-blocks": "^5.12.1-next.082ed6819.0",
|
|
66
|
+
"@wordpress/router": "^1.12.1-next.082ed6819.0",
|
|
67
|
+
"@wordpress/style-engine": "^2.12.1-next.082ed6819.0",
|
|
68
|
+
"@wordpress/url": "^4.12.1-next.082ed6819.0",
|
|
69
|
+
"@wordpress/viewport": "^6.12.1-next.082ed6819.0",
|
|
70
|
+
"@wordpress/widgets": "^4.12.1-next.082ed6819.0",
|
|
71
|
+
"@wordpress/wordcount": "^4.12.1-next.082ed6819.0",
|
|
72
72
|
"change-case": "^4.1.2",
|
|
73
73
|
"clsx": "^2.1.1",
|
|
74
74
|
"colord": "^2.9.2",
|
|
@@ -83,6 +83,5 @@
|
|
|
83
83
|
"publishConfig": {
|
|
84
84
|
"access": "public"
|
|
85
85
|
},
|
|
86
|
-
"
|
|
87
|
-
"gitHead": "dcf4613b33b0eda14e203ac30f700ed0db70347f"
|
|
86
|
+
"gitHead": "2bb7bad15ddb8e88210fab7d4a1ef1565466e424"
|
|
88
87
|
}
|
|
@@ -3,7 +3,6 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import { useSelect } from '@wordpress/data';
|
|
5
5
|
import { store as coreStore } from '@wordpress/core-data';
|
|
6
|
-
import { store as editorStore } from '@wordpress/editor';
|
|
7
6
|
import { decodeEntities } from '@wordpress/html-entities';
|
|
8
7
|
import { useMemo, useCallback } from '@wordpress/element';
|
|
9
8
|
import { __, _x, sprintf } from '@wordpress/i18n';
|
|
@@ -69,7 +68,8 @@ export const useExistingTemplates = () => {
|
|
|
69
68
|
export const useDefaultTemplateTypes = () => {
|
|
70
69
|
return useSelect(
|
|
71
70
|
( select ) =>
|
|
72
|
-
select(
|
|
71
|
+
select( coreStore ).getEntityRecord( 'root', '__unstableBase' )
|
|
72
|
+
?.default_template_types || [],
|
|
73
73
|
[]
|
|
74
74
|
);
|
|
75
75
|
};
|
|
@@ -18,8 +18,6 @@ import { privateApis as routerPrivateApis } from '@wordpress/router';
|
|
|
18
18
|
import Layout from '../layout';
|
|
19
19
|
import { unlock } from '../../lock-unlock';
|
|
20
20
|
import { useCommonCommands } from '../../hooks/commands/use-common-commands';
|
|
21
|
-
import { useEditModeCommands } from '../../hooks/commands/use-edit-mode-commands';
|
|
22
|
-
import useInitEditedEntityFromURL from '../sync-state-with-url/use-init-edited-entity-from-url';
|
|
23
21
|
import useActiveRoute from '../layout/router';
|
|
24
22
|
import useSetCommandContext from '../../hooks/commands/use-set-command-context';
|
|
25
23
|
import { useRegisterSiteEditorRoutes } from '../site-editor-routes';
|
|
@@ -28,9 +26,6 @@ const { RouterProvider } = unlock( routerPrivateApis );
|
|
|
28
26
|
const { GlobalStylesProvider } = unlock( editorPrivateApis );
|
|
29
27
|
|
|
30
28
|
function AppLayout() {
|
|
31
|
-
// This ensures the edited entity id and type are initialized properly.
|
|
32
|
-
useInitEditedEntityFromURL();
|
|
33
|
-
useEditModeCommands();
|
|
34
29
|
useCommonCommands();
|
|
35
30
|
useSetCommandContext();
|
|
36
31
|
useRegisterSiteEditorRoutes();
|
|
@@ -60,11 +60,10 @@ export default function useEditorIframeProps() {
|
|
|
60
60
|
} );
|
|
61
61
|
}
|
|
62
62
|
},
|
|
63
|
-
onClick: () =>
|
|
63
|
+
onClick: () =>
|
|
64
64
|
history.push( { ...params, canvas: 'edit' }, undefined, {
|
|
65
65
|
transition: 'canvas-mode-edit-transition',
|
|
66
|
-
} )
|
|
67
|
-
},
|
|
66
|
+
} ),
|
|
68
67
|
onClickCapture: ( event ) => {
|
|
69
68
|
if ( currentPostIsTrashed ) {
|
|
70
69
|
event.preventDefault();
|
|
@@ -40,25 +40,13 @@ export function useSpecificEditorSettings() {
|
|
|
40
40
|
const { params } = useLocation();
|
|
41
41
|
const { canvas = 'view' } = params;
|
|
42
42
|
const onNavigateToEntityRecord = useNavigateToEntityRecord();
|
|
43
|
-
const { settings
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
settings: getSettings(),
|
|
51
|
-
// TODO: The `postType` check should be removed when the default rendering mode per post type is merged.
|
|
52
|
-
// @see https://github.com/WordPress/gutenberg/pull/62304/
|
|
53
|
-
shouldUseTemplateAsDefaultRenderingMode:
|
|
54
|
-
_context?.postId && _context?.postType !== 'post',
|
|
55
|
-
};
|
|
56
|
-
},
|
|
57
|
-
[]
|
|
58
|
-
);
|
|
59
|
-
const defaultRenderingMode = shouldUseTemplateAsDefaultRenderingMode
|
|
60
|
-
? 'template-locked'
|
|
61
|
-
: 'post-only';
|
|
43
|
+
const { settings } = useSelect( ( select ) => {
|
|
44
|
+
const { getSettings } = select( editSiteStore );
|
|
45
|
+
return {
|
|
46
|
+
settings: getSettings(),
|
|
47
|
+
};
|
|
48
|
+
}, [] );
|
|
49
|
+
|
|
62
50
|
const onNavigateToPreviousEntityRecord =
|
|
63
51
|
useNavigateToPreviousEntityRecord();
|
|
64
52
|
const defaultEditorSettings = useMemo( () => {
|
|
@@ -68,7 +56,6 @@ export function useSpecificEditorSettings() {
|
|
|
68
56
|
richEditingEnabled: true,
|
|
69
57
|
supportsTemplateMode: true,
|
|
70
58
|
focusMode: canvas !== 'view',
|
|
71
|
-
defaultRenderingMode,
|
|
72
59
|
onNavigateToEntityRecord,
|
|
73
60
|
onNavigateToPreviousEntityRecord,
|
|
74
61
|
isPreviewMode: canvas === 'view',
|
|
@@ -76,7 +63,6 @@ export function useSpecificEditorSettings() {
|
|
|
76
63
|
}, [
|
|
77
64
|
settings,
|
|
78
65
|
canvas,
|
|
79
|
-
defaultRenderingMode,
|
|
80
66
|
onNavigateToEntityRecord,
|
|
81
67
|
onNavigateToPreviousEntityRecord,
|
|
82
68
|
] );
|