@wordpress/block-library 6.0.17-next.33ec3857e2.0 → 6.0.20
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 +0 -4
- package/build/archives/index.js +0 -1
- package/build/archives/index.js.map +1 -1
- package/build/audio/index.js +0 -1
- package/build/audio/index.js.map +1 -1
- package/build/block/index.js +0 -1
- package/build/block/index.js.map +1 -1
- package/build/button/edit.native.js +1 -1
- package/build/button/edit.native.js.map +1 -1
- package/build/button/index.js +1 -5
- package/build/button/index.js.map +1 -1
- package/build/buttons/index.js +0 -1
- package/build/buttons/index.js.map +1 -1
- package/build/buttons/transforms.js +0 -1
- package/build/buttons/transforms.js.map +1 -1
- package/build/calendar/index.js +0 -1
- package/build/calendar/index.js.map +1 -1
- package/build/categories/index.js +0 -1
- package/build/categories/index.js.map +1 -1
- package/build/code/index.js +1 -6
- package/build/code/index.js.map +1 -1
- package/build/column/index.js +0 -1
- package/build/column/index.js.map +1 -1
- package/build/columns/index.js +1 -3
- package/build/columns/index.js.map +1 -1
- package/build/comment-author-avatar/edit.js +1 -2
- package/build/comment-author-avatar/edit.js.map +1 -1
- package/build/comment-author-avatar/index.js +2 -7
- package/build/comment-author-avatar/index.js.map +1 -1
- package/build/comment-author-name/index.js +0 -1
- package/build/comment-author-name/index.js.map +1 -1
- package/build/comment-content/index.js +0 -1
- package/build/comment-content/index.js.map +1 -1
- package/build/comment-date/index.js +0 -1
- package/build/comment-date/index.js.map +1 -1
- package/build/comment-edit-link/index.js +1 -2
- package/build/comment-edit-link/index.js.map +1 -1
- package/build/comment-reply-link/index.js +0 -1
- package/build/comment-reply-link/index.js.map +1 -1
- package/build/comment-template/edit.js +23 -98
- package/build/comment-template/edit.js.map +1 -1
- package/build/comment-template/index.js +2 -4
- package/build/comment-template/index.js.map +1 -1
- package/build/comments-query-loop/edit.js +2 -2
- package/build/comments-query-loop/edit.js.map +1 -1
- package/build/comments-query-loop/index.js +7 -4
- package/build/comments-query-loop/index.js.map +1 -1
- package/build/comments-query-loop/toolbar.js +3 -3
- package/build/comments-query-loop/toolbar.js.map +1 -1
- package/build/cover/edit.js +1 -2
- package/build/cover/edit.js.map +1 -1
- package/build/cover/index.js +0 -1
- package/build/cover/index.js.map +1 -1
- package/build/embed/deprecated.js +0 -1
- package/build/embed/deprecated.js.map +1 -1
- package/build/embed/edit.native.js +20 -23
- package/build/embed/edit.native.js.map +1 -1
- package/build/embed/embed-bottom-sheet.native.js +85 -0
- package/build/embed/embed-bottom-sheet.native.js.map +1 -0
- package/build/embed/embed-placeholder.native.js +2 -9
- package/build/embed/embed-placeholder.native.js.map +1 -1
- package/build/embed/index.js +0 -1
- package/build/embed/index.js.map +1 -1
- package/build/embed/transforms.js +0 -1
- package/build/embed/transforms.js.map +1 -1
- package/build/embed/util.js +0 -1
- package/build/embed/util.js.map +1 -1
- package/build/file/index.js +0 -1
- package/build/file/index.js.map +1 -1
- package/build/freeform/index.js +0 -1
- package/build/freeform/index.js.map +1 -1
- package/build/gallery/deprecated.js +1 -5
- package/build/gallery/deprecated.js.map +1 -1
- package/build/gallery/edit.js +1 -12
- package/build/gallery/edit.js.map +1 -1
- package/build/gallery/index.js +0 -1
- package/build/gallery/index.js.map +1 -1
- package/build/group/edit.native.js +1 -1
- package/build/group/edit.native.js.map +1 -1
- package/build/group/index.js +4 -9
- package/build/group/index.js.map +1 -1
- package/build/heading/index.js +0 -1
- package/build/heading/index.js.map +1 -1
- package/build/heading/transforms.js +0 -1
- package/build/heading/transforms.js.map +1 -1
- package/build/home-link/index.js +0 -1
- package/build/home-link/index.js.map +1 -1
- package/build/html/index.js +0 -1
- package/build/html/index.js.map +1 -1
- package/build/image/edit.js +5 -56
- package/build/image/edit.js.map +1 -1
- package/build/image/edit.native.js +1 -1
- package/build/image/edit.native.js.map +1 -1
- package/build/image/image.js +4 -15
- package/build/image/image.js.map +1 -1
- package/build/image/index.js +1 -5
- package/build/image/index.js.map +1 -1
- package/build/index.js +1 -5
- package/build/index.js.map +1 -1
- package/build/latest-comments/index.js +0 -1
- package/build/latest-comments/index.js.map +1 -1
- package/build/latest-posts/deprecated.js +0 -1
- package/build/latest-posts/deprecated.js.map +1 -1
- package/build/latest-posts/index.js +0 -1
- package/build/latest-posts/index.js.map +1 -1
- package/build/list/index.js +0 -1
- package/build/list/index.js.map +1 -1
- package/build/loginout/index.js +0 -1
- package/build/loginout/index.js.map +1 -1
- package/build/media-text/index.js +0 -1
- package/build/media-text/index.js.map +1 -1
- package/build/missing/index.js +0 -1
- package/build/missing/index.js.map +1 -1
- package/build/more/index.js +0 -1
- package/build/more/index.js.map +1 -1
- package/build/navigation/deprecated.js +1 -3
- package/build/navigation/deprecated.js.map +1 -1
- package/build/navigation/edit/index.js +106 -59
- package/build/navigation/edit/index.js.map +1 -1
- package/build/navigation/edit/navigation-menu-selector.js +3 -2
- package/build/navigation/edit/navigation-menu-selector.js.map +1 -1
- package/build/navigation/edit/placeholder/index.js +15 -7
- package/build/navigation/edit/placeholder/index.js.map +1 -1
- package/build/navigation/edit/responsive-wrapper.js +9 -7
- package/build/navigation/edit/responsive-wrapper.js.map +1 -1
- package/build/navigation/edit/unsaved-inner-blocks.js +3 -11
- package/build/navigation/edit/unsaved-inner-blocks.js.map +1 -1
- package/build/navigation/edit/use-navigation-notice.js +54 -0
- package/build/navigation/edit/use-navigation-notice.js.map +1 -0
- package/build/navigation/index.js +2 -9
- package/build/navigation/index.js.map +1 -1
- package/build/navigation/menu-items-to-blocks.js +1 -4
- package/build/navigation/menu-items-to-blocks.js.map +1 -1
- package/build/navigation/use-navigation-menu.js +9 -2
- package/build/navigation/use-navigation-menu.js.map +1 -1
- package/build/navigation/view.js +12 -7
- package/build/navigation/view.js.map +1 -1
- package/build/navigation-area/edit.js +1 -2
- package/build/navigation-area/edit.js.map +1 -1
- package/build/navigation-area/index.js +1 -2
- package/build/navigation-area/index.js.map +1 -1
- package/build/navigation-link/edit.js +0 -7
- package/build/navigation-link/edit.js.map +1 -1
- package/build/navigation-link/index.js +0 -1
- package/build/navigation-link/index.js.map +1 -1
- package/build/navigation-submenu/edit.js +0 -1
- package/build/navigation-submenu/edit.js.map +1 -1
- package/build/navigation-submenu/index.js +0 -1
- package/build/navigation-submenu/index.js.map +1 -1
- package/build/nextpage/index.js +0 -1
- package/build/nextpage/index.js.map +1 -1
- package/build/page-list/index.js +1 -6
- package/build/page-list/index.js.map +1 -1
- package/build/paragraph/edit.js +2 -12
- package/build/paragraph/edit.js.map +1 -1
- package/build/paragraph/index.js +0 -1
- package/build/paragraph/index.js.map +1 -1
- package/build/paragraph/transforms.js +0 -1
- package/build/paragraph/transforms.js.map +1 -1
- package/build/pattern/index.js +0 -1
- package/build/pattern/index.js.map +1 -1
- package/build/post-author/edit.js +1 -1
- package/build/post-author/edit.js.map +1 -1
- package/build/post-author/index.js +0 -1
- package/build/post-author/index.js.map +1 -1
- package/build/post-comment/index.js +0 -1
- package/build/post-comment/index.js.map +1 -1
- package/build/post-comments/index.js +0 -1
- package/build/post-comments/index.js.map +1 -1
- package/build/post-comments-count/index.js +0 -1
- package/build/post-comments-count/index.js.map +1 -1
- package/build/post-comments-form/index.js +0 -1
- package/build/post-comments-form/index.js.map +1 -1
- package/build/post-comments-link/index.js +0 -1
- package/build/post-comments-link/index.js.map +1 -1
- package/build/post-content/edit.js +1 -1
- package/build/post-content/edit.js.map +1 -1
- package/build/post-content/index.js +0 -1
- package/build/post-content/index.js.map +1 -1
- package/build/post-date/edit.js +1 -1
- package/build/post-date/edit.js.map +1 -1
- package/build/post-date/index.js +0 -1
- package/build/post-date/index.js.map +1 -1
- package/build/post-excerpt/edit.js +1 -1
- package/build/post-excerpt/edit.js.map +1 -1
- package/build/post-excerpt/index.js +0 -1
- package/build/post-excerpt/index.js.map +1 -1
- package/build/post-featured-image/dimension-controls.js +30 -50
- package/build/post-featured-image/dimension-controls.js.map +1 -1
- package/build/post-featured-image/edit.js +4 -8
- package/build/post-featured-image/edit.js.map +1 -1
- package/build/post-featured-image/index.js +0 -1
- package/build/post-featured-image/index.js.map +1 -1
- package/build/post-navigation-link/index.js +0 -1
- package/build/post-navigation-link/index.js.map +1 -1
- package/build/post-template/index.js +0 -1
- package/build/post-template/index.js.map +1 -1
- package/build/post-terms/index.js +0 -1
- package/build/post-terms/index.js.map +1 -1
- package/build/post-title/edit.js +1 -1
- package/build/post-title/edit.js.map +1 -1
- package/build/post-title/index.js +0 -1
- package/build/post-title/index.js.map +1 -1
- package/build/preformatted/edit.native.js +1 -2
- package/build/preformatted/edit.native.js.map +1 -1
- package/build/preformatted/index.js +0 -1
- package/build/preformatted/index.js.map +1 -1
- package/build/pullquote/index.js +1 -8
- package/build/pullquote/index.js.map +1 -1
- package/build/query/index.js +0 -1
- package/build/query/index.js.map +1 -1
- package/build/query-pagination/index.js +0 -1
- package/build/query-pagination/index.js.map +1 -1
- package/build/query-pagination-next/index.js +0 -1
- package/build/query-pagination-next/index.js.map +1 -1
- package/build/query-pagination-numbers/index.js +0 -1
- package/build/query-pagination-numbers/index.js.map +1 -1
- package/build/query-pagination-previous/index.js +0 -1
- package/build/query-pagination-previous/index.js.map +1 -1
- package/build/query-title/index.js +0 -1
- package/build/query-title/index.js.map +1 -1
- package/build/quote/index.js +0 -1
- package/build/quote/index.js.map +1 -1
- package/build/rss/index.js +0 -1
- package/build/rss/index.js.map +1 -1
- package/build/search/edit.js +3 -5
- package/build/search/edit.js.map +1 -1
- package/build/search/index.js +1 -8
- package/build/search/index.js.map +1 -1
- package/build/separator/index.js +0 -1
- package/build/separator/index.js.map +1 -1
- package/build/shortcode/index.js +0 -1
- package/build/shortcode/index.js.map +1 -1
- package/build/site-logo/edit.js +119 -18
- package/build/site-logo/edit.js.map +1 -1
- package/build/site-logo/index.js +5 -5
- package/build/site-tagline/index.js +1 -2
- package/build/site-tagline/index.js.map +1 -1
- package/build/site-title/index.js +0 -1
- package/build/site-title/index.js.map +1 -1
- package/build/social-link/index.js +1 -2
- package/build/social-link/index.js.map +1 -1
- package/build/social-links/index.js +1 -2
- package/build/social-links/index.js.map +1 -1
- package/build/spacer/index.js +0 -1
- package/build/spacer/index.js.map +1 -1
- package/build/table/index.js +1 -7
- package/build/table/index.js.map +1 -1
- package/build/table-of-contents/index.js +0 -1
- package/build/table-of-contents/index.js.map +1 -1
- package/build/tag-cloud/index.js +0 -1
- package/build/tag-cloud/index.js.map +1 -1
- package/build/template-part/index.js +0 -1
- package/build/template-part/index.js.map +1 -1
- package/build/term-description/index.js +0 -1
- package/build/term-description/index.js.map +1 -1
- package/build/text-columns/index.js +0 -1
- package/build/text-columns/index.js.map +1 -1
- package/build/verse/index.js +0 -1
- package/build/verse/index.js.map +1 -1
- package/build/video/index.js +0 -1
- package/build/video/index.js.map +1 -1
- package/build-module/archives/index.js +0 -1
- package/build-module/archives/index.js.map +1 -1
- package/build-module/audio/index.js +0 -1
- package/build-module/audio/index.js.map +1 -1
- package/build-module/block/index.js +0 -1
- package/build-module/block/index.js.map +1 -1
- package/build-module/button/edit.native.js +1 -1
- package/build-module/button/edit.native.js.map +1 -1
- package/build-module/button/index.js +1 -5
- package/build-module/button/index.js.map +1 -1
- package/build-module/buttons/index.js +0 -1
- package/build-module/buttons/index.js.map +1 -1
- package/build-module/buttons/transforms.js +0 -1
- package/build-module/buttons/transforms.js.map +1 -1
- package/build-module/calendar/index.js +0 -1
- package/build-module/calendar/index.js.map +1 -1
- package/build-module/categories/index.js +0 -1
- package/build-module/categories/index.js.map +1 -1
- package/build-module/code/index.js +1 -6
- package/build-module/code/index.js.map +1 -1
- package/build-module/column/index.js +0 -1
- package/build-module/column/index.js.map +1 -1
- package/build-module/columns/index.js +1 -3
- package/build-module/columns/index.js.map +1 -1
- package/build-module/comment-author-avatar/edit.js +2 -3
- package/build-module/comment-author-avatar/edit.js.map +1 -1
- package/build-module/comment-author-avatar/index.js +2 -7
- package/build-module/comment-author-avatar/index.js.map +1 -1
- package/build-module/comment-author-name/index.js +0 -1
- package/build-module/comment-author-name/index.js.map +1 -1
- package/build-module/comment-content/index.js +0 -1
- package/build-module/comment-content/index.js.map +1 -1
- package/build-module/comment-date/index.js +0 -1
- package/build-module/comment-date/index.js.map +1 -1
- package/build-module/comment-edit-link/index.js +1 -2
- package/build-module/comment-edit-link/index.js.map +1 -1
- package/build-module/comment-reply-link/index.js +0 -1
- package/build-module/comment-reply-link/index.js.map +1 -1
- package/build-module/comment-template/edit.js +23 -97
- package/build-module/comment-template/edit.js.map +1 -1
- package/build-module/comment-template/index.js +2 -4
- package/build-module/comment-template/index.js.map +1 -1
- package/build-module/comments-query-loop/edit.js +2 -2
- package/build-module/comments-query-loop/edit.js.map +1 -1
- package/build-module/comments-query-loop/index.js +7 -4
- package/build-module/comments-query-loop/index.js.map +1 -1
- package/build-module/comments-query-loop/toolbar.js +3 -3
- package/build-module/comments-query-loop/toolbar.js.map +1 -1
- package/build-module/cover/edit.js +1 -2
- package/build-module/cover/edit.js.map +1 -1
- package/build-module/cover/index.js +0 -1
- package/build-module/cover/index.js.map +1 -1
- package/build-module/embed/deprecated.js +0 -1
- package/build-module/embed/deprecated.js.map +1 -1
- package/build-module/embed/edit.native.js +21 -24
- package/build-module/embed/edit.native.js.map +1 -1
- package/build-module/embed/embed-bottom-sheet.native.js +74 -0
- package/build-module/embed/embed-bottom-sheet.native.js.map +1 -0
- package/build-module/embed/embed-placeholder.native.js +2 -9
- package/build-module/embed/embed-placeholder.native.js.map +1 -1
- package/build-module/embed/index.js +0 -1
- package/build-module/embed/index.js.map +1 -1
- package/build-module/embed/transforms.js +0 -1
- package/build-module/embed/transforms.js.map +1 -1
- package/build-module/embed/util.js +0 -1
- package/build-module/embed/util.js.map +1 -1
- package/build-module/file/index.js +0 -1
- package/build-module/file/index.js.map +1 -1
- package/build-module/freeform/index.js +0 -1
- package/build-module/freeform/index.js.map +1 -1
- package/build-module/gallery/deprecated.js +2 -6
- package/build-module/gallery/deprecated.js.map +1 -1
- package/build-module/gallery/edit.js +1 -11
- package/build-module/gallery/edit.js.map +1 -1
- package/build-module/gallery/index.js +0 -1
- package/build-module/gallery/index.js.map +1 -1
- package/build-module/group/edit.native.js +1 -1
- package/build-module/group/edit.native.js.map +1 -1
- package/build-module/group/index.js +4 -9
- package/build-module/group/index.js.map +1 -1
- package/build-module/heading/index.js +0 -1
- package/build-module/heading/index.js.map +1 -1
- package/build-module/heading/transforms.js +0 -1
- package/build-module/heading/transforms.js.map +1 -1
- package/build-module/home-link/index.js +0 -1
- package/build-module/home-link/index.js.map +1 -1
- package/build-module/html/index.js +0 -1
- package/build-module/html/index.js.map +1 -1
- package/build-module/image/edit.js +4 -52
- package/build-module/image/edit.js.map +1 -1
- package/build-module/image/edit.native.js +1 -1
- package/build-module/image/edit.native.js.map +1 -1
- package/build-module/image/image.js +5 -16
- package/build-module/image/image.js.map +1 -1
- package/build-module/image/index.js +1 -5
- package/build-module/image/index.js.map +1 -1
- package/build-module/index.js +1 -3
- package/build-module/index.js.map +1 -1
- package/build-module/latest-comments/index.js +0 -1
- package/build-module/latest-comments/index.js.map +1 -1
- package/build-module/latest-posts/deprecated.js +0 -1
- package/build-module/latest-posts/deprecated.js.map +1 -1
- package/build-module/latest-posts/index.js +0 -1
- package/build-module/latest-posts/index.js.map +1 -1
- package/build-module/list/index.js +0 -1
- package/build-module/list/index.js.map +1 -1
- package/build-module/loginout/index.js +0 -1
- package/build-module/loginout/index.js.map +1 -1
- package/build-module/media-text/index.js +0 -1
- package/build-module/media-text/index.js.map +1 -1
- package/build-module/missing/index.js +0 -1
- package/build-module/missing/index.js.map +1 -1
- package/build-module/more/index.js +0 -1
- package/build-module/more/index.js.map +1 -1
- package/build-module/navigation/deprecated.js +1 -3
- package/build-module/navigation/deprecated.js.map +1 -1
- package/build-module/navigation/edit/index.js +104 -59
- package/build-module/navigation/edit/index.js.map +1 -1
- package/build-module/navigation/edit/navigation-menu-selector.js +3 -2
- package/build-module/navigation/edit/navigation-menu-selector.js.map +1 -1
- package/build-module/navigation/edit/placeholder/index.js +15 -7
- package/build-module/navigation/edit/placeholder/index.js.map +1 -1
- package/build-module/navigation/edit/responsive-wrapper.js +9 -7
- package/build-module/navigation/edit/responsive-wrapper.js.map +1 -1
- package/build-module/navigation/edit/unsaved-inner-blocks.js +4 -13
- package/build-module/navigation/edit/unsaved-inner-blocks.js.map +1 -1
- package/build-module/navigation/edit/use-navigation-notice.js +44 -0
- package/build-module/navigation/edit/use-navigation-notice.js.map +1 -0
- package/build-module/navigation/index.js +2 -9
- package/build-module/navigation/index.js.map +1 -1
- package/build-module/navigation/menu-items-to-blocks.js +1 -4
- package/build-module/navigation/menu-items-to-blocks.js.map +1 -1
- package/build-module/navigation/use-navigation-menu.js +9 -2
- package/build-module/navigation/use-navigation-menu.js.map +1 -1
- package/build-module/navigation/view.js +12 -7
- package/build-module/navigation/view.js.map +1 -1
- package/build-module/navigation-area/edit.js +1 -2
- package/build-module/navigation-area/edit.js.map +1 -1
- package/build-module/navigation-area/index.js +1 -2
- package/build-module/navigation-area/index.js.map +1 -1
- package/build-module/navigation-link/edit.js +0 -7
- package/build-module/navigation-link/edit.js.map +1 -1
- package/build-module/navigation-link/index.js +0 -1
- package/build-module/navigation-link/index.js.map +1 -1
- package/build-module/navigation-submenu/edit.js +0 -1
- package/build-module/navigation-submenu/edit.js.map +1 -1
- package/build-module/navigation-submenu/index.js +0 -1
- package/build-module/navigation-submenu/index.js.map +1 -1
- package/build-module/nextpage/index.js +0 -1
- package/build-module/nextpage/index.js.map +1 -1
- package/build-module/page-list/index.js +1 -6
- package/build-module/page-list/index.js.map +1 -1
- package/build-module/paragraph/edit.js +3 -13
- package/build-module/paragraph/edit.js.map +1 -1
- package/build-module/paragraph/index.js +0 -1
- package/build-module/paragraph/index.js.map +1 -1
- package/build-module/paragraph/transforms.js +0 -1
- package/build-module/paragraph/transforms.js.map +1 -1
- package/build-module/pattern/index.js +0 -1
- package/build-module/pattern/index.js.map +1 -1
- package/build-module/post-author/edit.js +1 -1
- package/build-module/post-author/edit.js.map +1 -1
- package/build-module/post-author/index.js +0 -1
- package/build-module/post-author/index.js.map +1 -1
- package/build-module/post-comment/index.js +0 -1
- package/build-module/post-comment/index.js.map +1 -1
- package/build-module/post-comments/index.js +0 -1
- package/build-module/post-comments/index.js.map +1 -1
- package/build-module/post-comments-count/index.js +0 -1
- package/build-module/post-comments-count/index.js.map +1 -1
- package/build-module/post-comments-form/index.js +0 -1
- package/build-module/post-comments-form/index.js.map +1 -1
- package/build-module/post-comments-link/index.js +0 -1
- package/build-module/post-comments-link/index.js.map +1 -1
- package/build-module/post-content/edit.js +1 -1
- package/build-module/post-content/edit.js.map +1 -1
- package/build-module/post-content/index.js +0 -1
- package/build-module/post-content/index.js.map +1 -1
- package/build-module/post-date/edit.js +1 -1
- package/build-module/post-date/edit.js.map +1 -1
- package/build-module/post-date/index.js +0 -1
- package/build-module/post-date/index.js.map +1 -1
- package/build-module/post-excerpt/edit.js +1 -1
- package/build-module/post-excerpt/edit.js.map +1 -1
- package/build-module/post-excerpt/index.js +0 -1
- package/build-module/post-excerpt/index.js.map +1 -1
- package/build-module/post-featured-image/dimension-controls.js +29 -52
- package/build-module/post-featured-image/dimension-controls.js.map +1 -1
- package/build-module/post-featured-image/edit.js +5 -9
- package/build-module/post-featured-image/edit.js.map +1 -1
- package/build-module/post-featured-image/index.js +0 -1
- package/build-module/post-featured-image/index.js.map +1 -1
- package/build-module/post-navigation-link/index.js +0 -1
- package/build-module/post-navigation-link/index.js.map +1 -1
- package/build-module/post-template/index.js +0 -1
- package/build-module/post-template/index.js.map +1 -1
- package/build-module/post-terms/index.js +0 -1
- package/build-module/post-terms/index.js.map +1 -1
- package/build-module/post-title/edit.js +1 -1
- package/build-module/post-title/edit.js.map +1 -1
- package/build-module/post-title/index.js +0 -1
- package/build-module/post-title/index.js.map +1 -1
- package/build-module/preformatted/edit.native.js +1 -2
- package/build-module/preformatted/edit.native.js.map +1 -1
- package/build-module/preformatted/index.js +0 -1
- package/build-module/preformatted/index.js.map +1 -1
- package/build-module/pullquote/index.js +1 -8
- package/build-module/pullquote/index.js.map +1 -1
- package/build-module/query/index.js +0 -1
- package/build-module/query/index.js.map +1 -1
- package/build-module/query-pagination/index.js +0 -1
- package/build-module/query-pagination/index.js.map +1 -1
- package/build-module/query-pagination-next/index.js +0 -1
- package/build-module/query-pagination-next/index.js.map +1 -1
- package/build-module/query-pagination-numbers/index.js +0 -1
- package/build-module/query-pagination-numbers/index.js.map +1 -1
- package/build-module/query-pagination-previous/index.js +0 -1
- package/build-module/query-pagination-previous/index.js.map +1 -1
- package/build-module/query-title/index.js +0 -1
- package/build-module/query-title/index.js.map +1 -1
- package/build-module/quote/index.js +0 -1
- package/build-module/quote/index.js.map +1 -1
- package/build-module/rss/index.js +0 -1
- package/build-module/rss/index.js.map +1 -1
- package/build-module/search/edit.js +3 -5
- package/build-module/search/edit.js.map +1 -1
- package/build-module/search/index.js +1 -8
- package/build-module/search/index.js.map +1 -1
- package/build-module/separator/index.js +0 -1
- package/build-module/separator/index.js.map +1 -1
- package/build-module/shortcode/index.js +0 -1
- package/build-module/shortcode/index.js.map +1 -1
- package/build-module/site-logo/edit.js +120 -19
- package/build-module/site-logo/edit.js.map +1 -1
- package/build-module/site-logo/index.js +5 -5
- package/build-module/site-tagline/index.js +1 -2
- package/build-module/site-tagline/index.js.map +1 -1
- package/build-module/site-title/index.js +0 -1
- package/build-module/site-title/index.js.map +1 -1
- package/build-module/social-link/index.js +1 -2
- package/build-module/social-link/index.js.map +1 -1
- package/build-module/social-links/index.js +1 -2
- package/build-module/social-links/index.js.map +1 -1
- package/build-module/spacer/index.js +0 -1
- package/build-module/spacer/index.js.map +1 -1
- package/build-module/table/index.js +1 -7
- package/build-module/table/index.js.map +1 -1
- package/build-module/table-of-contents/index.js +0 -1
- package/build-module/table-of-contents/index.js.map +1 -1
- package/build-module/tag-cloud/index.js +0 -1
- package/build-module/tag-cloud/index.js.map +1 -1
- package/build-module/template-part/index.js +0 -1
- package/build-module/template-part/index.js.map +1 -1
- package/build-module/term-description/index.js +0 -1
- package/build-module/term-description/index.js.map +1 -1
- package/build-module/text-columns/index.js +0 -1
- package/build-module/text-columns/index.js.map +1 -1
- package/build-module/verse/index.js +0 -1
- package/build-module/verse/index.js.map +1 -1
- package/build-module/video/index.js +0 -1
- package/build-module/video/index.js.map +1 -1
- package/build-style/columns/style-rtl.css +3 -4
- package/build-style/columns/style.css +3 -4
- package/build-style/common-rtl.css +2 -21
- package/build-style/common.css +2 -21
- package/build-style/cover/style-rtl.css +0 -4
- package/build-style/cover/style.css +0 -4
- package/build-style/editor-rtl.css +46 -56
- package/build-style/editor.css +46 -59
- package/build-style/gallery/editor-rtl.css +12 -0
- package/build-style/gallery/editor.css +12 -0
- package/build-style/gallery/style-rtl.css +0 -3
- package/build-style/gallery/style.css +0 -3
- package/build-style/group/theme-rtl.css +1 -1
- package/build-style/group/theme.css +1 -1
- package/build-style/{comments-pagination → home-link}/style-rtl.css +21 -21
- package/build-style/{comments-pagination/editor.css → home-link/style.css} +22 -20
- package/build-style/navigation/editor-rtl.css +15 -6
- package/build-style/navigation/editor.css +15 -6
- package/build-style/navigation/style-rtl.css +45 -18
- package/build-style/navigation/style.css +45 -18
- package/build-style/page-list/style-rtl.css +4 -4
- package/build-style/page-list/style.css +4 -4
- package/build-style/post-comments/style-rtl.css +0 -1
- package/build-style/post-comments/style.css +0 -1
- package/build-style/post-featured-image/editor-rtl.css +7 -0
- package/build-style/post-featured-image/editor.css +7 -0
- package/build-style/post-featured-image/style-rtl.css +1 -1
- package/build-style/post-featured-image/style.css +1 -1
- package/build-style/post-template/style-rtl.css +2 -29
- package/build-style/post-template/style.css +2 -29
- package/build-style/post-title/style-rtl.css +0 -3
- package/build-style/post-title/style.css +0 -3
- package/build-style/pullquote/style-rtl.css +0 -1
- package/build-style/pullquote/style.css +0 -1
- package/build-style/query-pagination/editor-rtl.css +4 -0
- package/build-style/query-pagination/editor.css +4 -0
- package/build-style/query-pagination/style-rtl.css +2 -6
- package/build-style/query-pagination/style.css +2 -6
- package/build-style/site-logo/editor-rtl.css +1 -11
- package/build-style/site-logo/editor.css +1 -11
- package/build-style/site-logo/style-rtl.css +3 -1
- package/build-style/site-logo/style.css +3 -1
- package/build-style/style-rtl.css +107 -158
- package/build-style/style.css +107 -160
- package/build-style/table/style-rtl.css +0 -1
- package/build-style/table/style.css +0 -1
- package/build-style/theme-rtl.css +1 -1
- package/build-style/theme.css +1 -1
- package/package.json +30 -31
- package/src/archives/block.json +0 -1
- package/src/audio/block.json +0 -1
- package/src/block/block.json +0 -1
- package/src/button/block.json +1 -5
- package/src/button/edit.native.js +1 -1
- package/src/buttons/block.json +1 -2
- package/src/calendar/block.json +0 -1
- package/src/calendar/index.php +39 -35
- package/src/categories/block.json +0 -1
- package/src/code/block.json +1 -6
- package/src/column/block.json +0 -1
- package/src/columns/block.json +1 -3
- package/src/columns/style.scss +5 -8
- package/src/comment-author-avatar/block.json +2 -7
- package/src/comment-author-avatar/edit.js +2 -7
- package/src/comment-author-avatar/index.php +6 -25
- package/src/comment-author-name/block.json +0 -1
- package/src/comment-content/block.json +0 -1
- package/src/comment-date/block.json +0 -1
- package/src/comment-edit-link/block.json +0 -1
- package/src/comment-edit-link/index.js +1 -1
- package/src/comment-reply-link/block.json +0 -1
- package/src/comment-template/block.json +2 -4
- package/src/comment-template/edit.js +37 -111
- package/src/comment-template/index.php +19 -46
- package/src/comments-query-loop/block.json +7 -4
- package/src/comments-query-loop/edit.js +5 -2
- package/src/comments-query-loop/toolbar.js +3 -3
- package/src/common.scss +2 -21
- package/src/cover/block.json +0 -1
- package/src/cover/edit.js +0 -1
- package/src/cover/style.scss +0 -4
- package/src/editor.scss +7 -6
- package/src/embed/block.json +0 -1
- package/src/embed/edit.native.js +18 -23
- package/src/embed/embed-bottom-sheet.native.js +78 -0
- package/src/embed/embed-placeholder.native.js +0 -8
- package/src/embed/test/__snapshots__/index.native.js.snap +0 -10
- package/src/embed/test/index.native.js +88 -228
- package/src/file/block.json +0 -1
- package/src/freeform/block.json +0 -1
- package/src/gallery/block.json +0 -1
- package/src/gallery/deprecated.js +2 -5
- package/src/gallery/edit.js +0 -20
- package/src/gallery/editor.scss +14 -0
- package/src/gallery/index.php +1 -1
- package/src/gallery/style.scss +0 -4
- package/src/group/block.json +4 -9
- package/src/group/edit.native.js +1 -1
- package/src/group/theme.scss +5 -4
- package/src/heading/block.json +0 -1
- package/src/home-link/block.json +0 -1
- package/src/home-link/index.php +3 -3
- package/src/home-link/style.scss +51 -0
- package/src/html/block.json +0 -1
- package/src/image/block.json +1 -5
- package/src/image/edit.js +0 -44
- package/src/image/edit.native.js +1 -1
- package/src/image/image.js +3 -14
- package/src/index.js +0 -4
- package/src/latest-comments/block.json +0 -1
- package/src/latest-posts/block.json +0 -1
- package/src/list/block.json +0 -1
- package/src/loginout/block.json +0 -1
- package/src/media-text/block.json +0 -1
- package/src/missing/block.json +0 -1
- package/src/more/block.json +0 -1
- package/src/navigation/block.json +11 -11
- package/src/navigation/deprecated.js +0 -2
- package/src/navigation/edit/index.js +172 -89
- package/src/navigation/edit/navigation-menu-selector.js +19 -13
- package/src/navigation/edit/placeholder/index.js +40 -24
- package/src/navigation/edit/responsive-wrapper.js +10 -7
- package/src/navigation/edit/unsaved-inner-blocks.js +13 -25
- package/src/navigation/edit/use-navigation-notice.js +37 -0
- package/src/navigation/editor.scss +20 -8
- package/src/navigation/index.php +23 -12
- package/src/navigation/menu-items-to-blocks.js +1 -2
- package/src/navigation/style.scss +58 -19
- package/src/navigation/use-navigation-menu.js +20 -0
- package/src/navigation/view.js +13 -7
- package/src/navigation-area/block.json +7 -3
- package/src/navigation-area/edit.js +1 -2
- package/src/navigation-link/block.json +3 -2
- package/src/navigation-link/edit.js +0 -5
- package/src/navigation-link/index.php +3 -3
- package/src/navigation-submenu/block.json +3 -2
- package/src/navigation-submenu/index.php +5 -5
- package/src/nextpage/block.json +0 -1
- package/src/page-list/block.json +0 -4
- package/src/page-list/index.php +4 -4
- package/src/page-list/style.scss +4 -4
- package/src/paragraph/block.json +0 -1
- package/src/paragraph/edit.js +4 -12
- package/src/pattern/block.json +0 -1
- package/src/post-author/block.json +0 -1
- package/src/post-author/edit.js +1 -1
- package/src/post-comment/block.json +0 -1
- package/src/post-comments/block.json +0 -1
- package/src/post-comments/style.scss +0 -1
- package/src/post-comments-count/block.json +0 -1
- package/src/post-comments-form/block.json +1 -6
- package/src/post-comments-link/block.json +0 -1
- package/src/post-content/block.json +0 -1
- package/src/post-content/edit.js +1 -1
- package/src/post-content/index.php +11 -1
- package/src/post-date/block.json +0 -1
- package/src/post-date/edit.js +1 -1
- package/src/post-excerpt/block.json +0 -1
- package/src/post-excerpt/edit.js +1 -1
- package/src/post-excerpt/index.php +1 -1
- package/src/post-featured-image/block.json +0 -1
- package/src/post-featured-image/dimension-controls.js +50 -75
- package/src/post-featured-image/edit.js +6 -13
- package/src/post-featured-image/editor.scss +8 -0
- package/src/post-featured-image/style.scss +1 -1
- package/src/post-navigation-link/block.json +0 -1
- package/src/post-template/block.json +0 -1
- package/src/post-template/style.scss +2 -13
- package/src/post-terms/block.json +0 -1
- package/src/post-title/block.json +0 -1
- package/src/post-title/edit.js +1 -1
- package/src/post-title/index.php +1 -1
- package/src/post-title/style.scss +2 -6
- package/src/preformatted/block.json +0 -1
- package/src/preformatted/edit.native.js +1 -3
- package/src/pullquote/block.json +1 -8
- package/src/pullquote/style.scss +0 -1
- package/src/query/block.json +0 -1
- package/src/query-pagination/block.json +0 -1
- package/src/query-pagination/editor.scss +4 -0
- package/src/query-pagination/style.scss +2 -12
- package/src/query-pagination-next/block.json +0 -1
- package/src/query-pagination-next/index.php +20 -42
- package/src/query-pagination-numbers/block.json +0 -1
- package/src/query-pagination-previous/block.json +0 -1
- package/src/query-pagination-previous/index.php +13 -45
- package/src/query-title/block.json +0 -1
- package/src/quote/block.json +0 -1
- package/src/rss/block.json +0 -1
- package/src/search/block.json +1 -8
- package/src/search/edit.js +1 -2
- package/src/search/index.php +19 -29
- package/src/separator/block.json +0 -1
- package/src/shortcode/block.json +0 -1
- package/src/site-logo/block.json +5 -5
- package/src/site-logo/edit.js +133 -14
- package/src/site-logo/editor.scss +1 -15
- package/src/site-logo/index.php +17 -4
- package/src/site-logo/style.scss +3 -1
- package/src/site-tagline/block.json +1 -2
- package/src/site-title/block.json +0 -1
- package/src/social-link/block.json +1 -2
- package/src/social-links/block.json +8 -3
- package/src/spacer/block.json +0 -1
- package/src/style.scss +2 -3
- package/src/table/block.json +1 -7
- package/src/table/style.scss +0 -1
- package/src/table-of-contents/block.json +0 -1
- package/src/tag-cloud/block.json +0 -1
- package/src/template-part/block.json +0 -1
- package/src/term-description/block.json +0 -1
- package/src/text-columns/block.json +0 -1
- package/src/verse/block.json +0 -1
- package/src/video/block.json +0 -1
- package/build/comment-template/util.js +0 -66
- package/build/comment-template/util.js.map +0 -1
- package/build/comments-pagination/comments-pagination-arrow-controls.js +0 -39
- package/build/comments-pagination/comments-pagination-arrow-controls.js.map +0 -1
- package/build/comments-pagination/edit.js +0 -80
- package/build/comments-pagination/edit.js.map +0 -1
- package/build/comments-pagination/index.js +0 -71
- package/build/comments-pagination/index.js.map +0 -1
- package/build/comments-pagination/save.js +0 -18
- package/build/comments-pagination/save.js.map +0 -1
- package/build/comments-pagination-numbers/edit.js +0 -47
- package/build/comments-pagination-numbers/edit.js.map +0 -1
- package/build/comments-pagination-numbers/index.js +0 -47
- package/build/comments-pagination-numbers/index.js.map +0 -1
- package/build/embed/embed-controls.native.js +0 -69
- package/build/embed/embed-controls.native.js.map +0 -1
- package/build/embed/embed-link-settings.native.js +0 -101
- package/build/embed/embed-link-settings.native.js.map +0 -1
- package/build/gallery/use-mobile-warning.js +0 -43
- package/build/gallery/use-mobile-warning.js.map +0 -1
- package/build-module/comment-template/util.js +0 -57
- package/build-module/comment-template/util.js.map +0 -1
- package/build-module/comments-pagination/comments-pagination-arrow-controls.js +0 -30
- package/build-module/comments-pagination/comments-pagination-arrow-controls.js.map +0 -1
- package/build-module/comments-pagination/edit.js +0 -67
- package/build-module/comments-pagination/edit.js.map +0 -1
- package/build-module/comments-pagination/index.js +0 -57
- package/build-module/comments-pagination/index.js.map +0 -1
- package/build-module/comments-pagination/save.js +0 -10
- package/build-module/comments-pagination/save.js.map +0 -1
- package/build-module/comments-pagination-numbers/edit.js +0 -40
- package/build-module/comments-pagination-numbers/edit.js.map +0 -1
- package/build-module/comments-pagination-numbers/index.js +0 -34
- package/build-module/comments-pagination-numbers/index.js.map +0 -1
- package/build-module/embed/embed-controls.native.js +0 -54
- package/build-module/embed/embed-controls.native.js.map +0 -1
- package/build-module/embed/embed-link-settings.native.js +0 -90
- package/build-module/embed/embed-link-settings.native.js.map +0 -1
- package/build-module/gallery/use-mobile-warning.js +0 -32
- package/build-module/gallery/use-mobile-warning.js.map +0 -1
- package/build-style/comment-template/style-rtl.css +0 -91
- package/build-style/comment-template/style.css +0 -91
- package/build-style/comments-pagination/editor-rtl.css +0 -100
- package/build-style/comments-pagination/style.css +0 -106
- package/build-style/comments-pagination-numbers/editor-rtl.css +0 -85
- package/build-style/comments-pagination-numbers/editor.css +0 -86
- package/src/comment-template/style.scss +0 -17
- package/src/comment-template/test/index.js +0 -45
- package/src/comment-template/util.js +0 -56
- package/src/comments-pagination/block.json +0 -37
- package/src/comments-pagination/comments-pagination-arrow-controls.js +0 -44
- package/src/comments-pagination/edit.js +0 -78
- package/src/comments-pagination/editor.scss +0 -34
- package/src/comments-pagination/index.js +0 -20
- package/src/comments-pagination/index.php +0 -39
- package/src/comments-pagination/save.js +0 -8
- package/src/comments-pagination/style.scss +0 -38
- package/src/comments-pagination-numbers/block.json +0 -16
- package/src/comments-pagination-numbers/edit.js +0 -22
- package/src/comments-pagination-numbers/editor.scss +0 -12
- package/src/comments-pagination-numbers/index.js +0 -18
- package/src/comments-pagination-numbers/index.php +0 -69
- package/src/embed/embed-controls.native.js +0 -65
- package/src/embed/embed-link-settings.native.js +0 -100
- package/src/gallery/test/use-get-new-images.js +0 -93
- package/src/gallery/use-mobile-warning.js +0 -28
- package/src/navigation/README.md +0 -13
|
@@ -100,6 +100,7 @@
|
|
|
100
100
|
.is-editing > .wp-block-navigation__submenu-container > .block-list-appender {
|
|
101
101
|
display: block;
|
|
102
102
|
position: static;
|
|
103
|
+
width: 100%;
|
|
103
104
|
}
|
|
104
105
|
|
|
105
106
|
// Hide when hovering.
|
|
@@ -304,7 +305,6 @@ $color-control-label-height: 20px;
|
|
|
304
305
|
|
|
305
306
|
// Selected state.
|
|
306
307
|
.wp-block-navigation-placeholder__controls {
|
|
307
|
-
padding: $grid-unit-10;
|
|
308
308
|
border-radius: $radius-block-ui;
|
|
309
309
|
background-color: $white;
|
|
310
310
|
box-shadow: inset 0 0 0 $border-width $gray-900;
|
|
@@ -313,11 +313,7 @@ $color-control-label-height: 20px;
|
|
|
313
313
|
display: none;
|
|
314
314
|
position: relative;
|
|
315
315
|
z-index: 1;
|
|
316
|
-
|
|
317
|
-
// Adjust padding for when shown horizontally.
|
|
318
|
-
.is-large & {
|
|
319
|
-
padding: $grid-unit-05 $grid-unit-10;
|
|
320
|
-
}
|
|
316
|
+
padding: $grid-unit-05 $grid-unit-10;
|
|
321
317
|
|
|
322
318
|
// If an ancestor has a text-decoration property applied, it is inherited regardless of
|
|
323
319
|
// the specificity of a child element. Only pulling the child out of the flow fixes it.
|
|
@@ -330,9 +326,19 @@ $color-control-label-height: 20px;
|
|
|
330
326
|
display: flex;
|
|
331
327
|
}
|
|
332
328
|
|
|
333
|
-
//
|
|
334
|
-
.
|
|
329
|
+
// Hide a few elements in medium size placeholders.
|
|
330
|
+
// @todo: part of the code here will be irrelevant if https://github.com/WordPress/gutenberg/pull/36775 lands.
|
|
335
331
|
.is-medium & {
|
|
332
|
+
.wp-block-navigation-placeholder__actions__indicator,
|
|
333
|
+
.wp-block-navigation-placeholder__actions__indicator + hr,
|
|
334
|
+
.wp-block-navigation-placeholder__actions > :nth-last-child(3), // Add all pages.
|
|
335
|
+
.wp-block-navigation-placeholder__actions > :nth-last-child(2) { // hr separator after it.
|
|
336
|
+
display: none;
|
|
337
|
+
}
|
|
338
|
+
}
|
|
339
|
+
|
|
340
|
+
// Show stacked for the vertical navigation, or small placeholders.
|
|
341
|
+
.is-small & {
|
|
336
342
|
.wp-block-navigation-placeholder__actions {
|
|
337
343
|
flex-direction: column;
|
|
338
344
|
}
|
|
@@ -366,11 +372,17 @@ $color-control-label-height: 20px;
|
|
|
366
372
|
}
|
|
367
373
|
}
|
|
368
374
|
|
|
375
|
+
// Keep as row for medium.
|
|
376
|
+
.wp-block-navigation .components-placeholder.is-medium .components-placeholder__fieldset {
|
|
377
|
+
flex-direction: row !important;
|
|
378
|
+
}
|
|
379
|
+
|
|
369
380
|
.wp-block-navigation-placeholder__actions {
|
|
370
381
|
display: flex;
|
|
371
382
|
font-size: $default-font-size;
|
|
372
383
|
font-family: $default-font;
|
|
373
384
|
gap: $grid-unit-15 * 0.5;
|
|
385
|
+
align-items: center;
|
|
374
386
|
|
|
375
387
|
// Margins.
|
|
376
388
|
.components-dropdown,
|
package/src/navigation/index.php
CHANGED
|
@@ -351,9 +351,9 @@ function block_core_navigation_get_fallback_blocks() {
|
|
|
351
351
|
/**
|
|
352
352
|
* Renders the `core/navigation` block on server.
|
|
353
353
|
*
|
|
354
|
-
* @param array
|
|
355
|
-
* @param array
|
|
356
|
-
* @param
|
|
354
|
+
* @param array $attributes The block attributes.
|
|
355
|
+
* @param array $content The saved content.
|
|
356
|
+
* @param array $block The parsed block.
|
|
357
357
|
*
|
|
358
358
|
* @return string Returns the post content with the legacy widget added.
|
|
359
359
|
*/
|
|
@@ -452,14 +452,24 @@ function render_block_core_navigation( $attributes, $content, $block ) {
|
|
|
452
452
|
|
|
453
453
|
}
|
|
454
454
|
|
|
455
|
+
$layout_justification = array(
|
|
456
|
+
'left' => 'items-justified-left',
|
|
457
|
+
'right' => 'items-justified-right',
|
|
458
|
+
'center' => 'items-justified-center',
|
|
459
|
+
'space-between' => 'items-justified-space-between',
|
|
460
|
+
);
|
|
461
|
+
|
|
455
462
|
// Restore legacy classnames for submenu positioning.
|
|
456
463
|
$layout_class = '';
|
|
457
464
|
if ( isset( $attributes['layout']['justifyContent'] ) ) {
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
465
|
+
$layout_class .= $layout_justification[ $attributes['layout']['justifyContent'] ];
|
|
466
|
+
}
|
|
467
|
+
if ( isset( $attributes['layout']['orientation'] ) && 'vertical' === $attributes['layout']['orientation'] ) {
|
|
468
|
+
$layout_class .= ' is-vertical';
|
|
469
|
+
}
|
|
470
|
+
|
|
471
|
+
if ( isset( $attributes['layout']['flexWrap'] ) && 'nowrap' === $attributes['layout']['flexWrap'] ) {
|
|
472
|
+
$layout_class .= ' no-wrap';
|
|
463
473
|
}
|
|
464
474
|
|
|
465
475
|
$colors = block_core_navigation_build_css_colors( $attributes );
|
|
@@ -528,10 +538,10 @@ function render_block_core_navigation( $attributes, $content, $block ) {
|
|
|
528
538
|
);
|
|
529
539
|
|
|
530
540
|
$responsive_container_markup = sprintf(
|
|
531
|
-
'<button aria-
|
|
541
|
+
'<button aria-haspopup="true" aria-label="%3$s" class="%6$s" data-micromodal-trigger="modal-%1$s"><svg width="24" height="24" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" role="img" aria-hidden="true" focusable="false"><rect x="4" y="7.5" width="16" height="1.5" /><rect x="4" y="15" width="16" height="1.5" /></svg></button>
|
|
532
542
|
<div class="%5$s" style="%7$s" id="modal-%1$s">
|
|
533
543
|
<div class="wp-block-navigation__responsive-close" tabindex="-1" data-micromodal-close>
|
|
534
|
-
<div class="wp-block-navigation__responsive-dialog"
|
|
544
|
+
<div class="wp-block-navigation__responsive-dialog" aria-label="%8$s">
|
|
535
545
|
<button aria-label="%4$s" data-micromodal-close class="wp-block-navigation__responsive-container-close"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24" role="img" aria-hidden="true" focusable="false"><path d="M13 11.8l6.1-6.3-1-1-6.1 6.2-6.1-6.2-1 1 6.1 6.3-6.5 6.7 1 1 6.5-6.6 6.5 6.6 1-1z"></path></svg></button>
|
|
536
546
|
<div class="wp-block-navigation__responsive-container-content" id="modal-%1$s-content">
|
|
537
547
|
%2$s
|
|
@@ -545,7 +555,8 @@ function render_block_core_navigation( $attributes, $content, $block ) {
|
|
|
545
555
|
__( 'Close menu' ), // Close button label.
|
|
546
556
|
implode( ' ', $responsive_container_classes ),
|
|
547
557
|
implode( ' ', $open_button_classes ),
|
|
548
|
-
$colors['overlay_inline_styles']
|
|
558
|
+
$colors['overlay_inline_styles'],
|
|
559
|
+
__( 'Menu' )
|
|
549
560
|
);
|
|
550
561
|
|
|
551
562
|
return sprintf(
|
|
@@ -558,8 +569,8 @@ function render_block_core_navigation( $attributes, $content, $block ) {
|
|
|
558
569
|
/**
|
|
559
570
|
* Register the navigation block.
|
|
560
571
|
*
|
|
561
|
-
* @uses render_block_core_navigation()
|
|
562
572
|
* @throws WP_Error An WP_Error exception parsing the block definition.
|
|
573
|
+
* @uses render_block_core_navigation()
|
|
563
574
|
*/
|
|
564
575
|
function register_block_core_navigation() {
|
|
565
576
|
register_block_type_from_metadata(
|
|
@@ -154,15 +154,14 @@ function menuItemToBlockAttributes( {
|
|
|
154
154
|
classes.join( ' ' ).trim() && {
|
|
155
155
|
className: classes.join( ' ' ).trim(),
|
|
156
156
|
} ),
|
|
157
|
-
/* eslint-disable camelcase */
|
|
158
157
|
...( attr_title?.length && {
|
|
159
158
|
title: attr_title,
|
|
160
159
|
} ),
|
|
160
|
+
// eslint-disable-next-line camelcase
|
|
161
161
|
...( object_id &&
|
|
162
162
|
'custom' !== object && {
|
|
163
163
|
id: object_id,
|
|
164
164
|
} ),
|
|
165
|
-
/* eslint-enable camelcase */
|
|
166
165
|
...( description?.length && {
|
|
167
166
|
description,
|
|
168
167
|
} ),
|
|
@@ -106,6 +106,46 @@ $navigation-icon-size: 24px;
|
|
|
106
106
|
height: inherit;
|
|
107
107
|
}
|
|
108
108
|
}
|
|
109
|
+
|
|
110
|
+
// Custom properties for layout style cascade: default values.
|
|
111
|
+
--navigation-layout-justification-setting: flex-start;
|
|
112
|
+
--navigation-layout-direction: row;
|
|
113
|
+
--navigation-layout-wrap: wrap;
|
|
114
|
+
--navigation-layout-justify: flex-start;
|
|
115
|
+
--navigation-layout-align: center;
|
|
116
|
+
|
|
117
|
+
&.is-vertical {
|
|
118
|
+
--navigation-layout-direction: column;
|
|
119
|
+
--navigation-layout-justify: initial;
|
|
120
|
+
--navigation-layout-align: flex-start;
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
&.no-wrap {
|
|
124
|
+
--navigation-layout-wrap: nowrap;
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
&.items-justified-center {
|
|
128
|
+
--navigation-layout-justification-setting: center;
|
|
129
|
+
--navigation-layout-justify: center;
|
|
130
|
+
|
|
131
|
+
&.is-vertical {
|
|
132
|
+
--navigation-layout-align: center;
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
&.items-justified-right {
|
|
137
|
+
--navigation-layout-justification-setting: flex-end;
|
|
138
|
+
--navigation-layout-justify: flex-end;
|
|
139
|
+
|
|
140
|
+
&.is-vertical {
|
|
141
|
+
--navigation-layout-align: flex-end;
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
&.items-justified-space-between {
|
|
146
|
+
--navigation-layout-justification-setting: space-between;
|
|
147
|
+
--navigation-layout-justify: space-between;
|
|
148
|
+
}
|
|
109
149
|
}
|
|
110
150
|
|
|
111
151
|
// Styles for submenu flyout.
|
|
@@ -351,10 +391,10 @@ button.wp-block-navigation-item__content {
|
|
|
351
391
|
// Navigation block inner container.
|
|
352
392
|
.wp-block-navigation__container {
|
|
353
393
|
display: flex;
|
|
354
|
-
flex-wrap: var(--layout-wrap, wrap);
|
|
355
|
-
flex-direction: var(--layout-direction, initial);
|
|
356
|
-
justify-content: var(--layout-justify, initial);
|
|
357
|
-
align-items: var(--layout-align, initial);
|
|
394
|
+
flex-wrap: var(--navigation-layout-wrap, wrap);
|
|
395
|
+
flex-direction: var(--navigation-layout-direction, initial);
|
|
396
|
+
justify-content: var(--navigation-layout-justify, initial);
|
|
397
|
+
align-items: var(--navigation-layout-align, initial);
|
|
358
398
|
|
|
359
399
|
// Reset the default list styles
|
|
360
400
|
list-style: none;
|
|
@@ -388,10 +428,10 @@ button.wp-block-navigation-item__content {
|
|
|
388
428
|
|
|
389
429
|
.wp-block-navigation__responsive-container-content {
|
|
390
430
|
display: flex;
|
|
391
|
-
flex-wrap: var(--layout-wrap, wrap);
|
|
392
|
-
flex-direction: var(--layout-direction, initial);
|
|
393
|
-
justify-content: var(--layout-justify, initial);
|
|
394
|
-
align-items: var(--layout-align, initial);
|
|
431
|
+
flex-wrap: var(--navigation-layout-wrap, wrap);
|
|
432
|
+
flex-direction: var(--navigation-layout-direction, initial);
|
|
433
|
+
justify-content: var(--navigation-layout-justify, initial);
|
|
434
|
+
align-items: var(--navigation-layout-align, initial);
|
|
395
435
|
}
|
|
396
436
|
|
|
397
437
|
// If the responsive wrapper is present but overlay is not open,
|
|
@@ -432,8 +472,10 @@ button.wp-block-navigation-item__content {
|
|
|
432
472
|
// as a column.
|
|
433
473
|
display: flex;
|
|
434
474
|
flex-direction: column;
|
|
475
|
+
flex-wrap: nowrap;
|
|
476
|
+
|
|
435
477
|
// Inherit alignment settings from container.
|
|
436
|
-
align-items: var(--layout-justification-setting, inherit);
|
|
478
|
+
align-items: var(--navigation-layout-justification-setting, inherit);
|
|
437
479
|
|
|
438
480
|
// Always align the contents of the menu to the top.
|
|
439
481
|
&,
|
|
@@ -460,20 +502,19 @@ button.wp-block-navigation-item__content {
|
|
|
460
502
|
// Position and style.
|
|
461
503
|
position: static;
|
|
462
504
|
border: none;
|
|
463
|
-
padding-left:
|
|
464
|
-
padding-right:
|
|
505
|
+
padding-left: 2em;
|
|
506
|
+
padding-right: 2em;
|
|
465
507
|
}
|
|
466
508
|
|
|
467
509
|
// Space unfolded items using gap and padding for submenus.
|
|
468
510
|
.wp-block-navigation__submenu-container,
|
|
469
511
|
.wp-block-navigation__container {
|
|
470
512
|
gap: var(--wp--style--block-gap, 2em);
|
|
513
|
+
}
|
|
471
514
|
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
padding-top: var(--wp--style--block-gap, 2em);
|
|
476
|
-
}
|
|
515
|
+
// Apply top padding to nested submenus.
|
|
516
|
+
.wp-block-navigation__submenu-container {
|
|
517
|
+
padding-top: var(--wp--style--block-gap, 2em);
|
|
477
518
|
}
|
|
478
519
|
|
|
479
520
|
// A default padding is added to submenu items. It's not appropriate inside the modal.
|
|
@@ -488,7 +529,7 @@ button.wp-block-navigation-item__content {
|
|
|
488
529
|
display: flex;
|
|
489
530
|
flex-direction: column;
|
|
490
531
|
// Inherit alignment settings from container.
|
|
491
|
-
align-items: var(--layout-justification-setting, initial);
|
|
532
|
+
align-items: var(--navigation-layout-justification-setting, initial);
|
|
492
533
|
}
|
|
493
534
|
}
|
|
494
535
|
|
|
@@ -581,14 +622,12 @@ button.wp-block-navigation-item__content {
|
|
|
581
622
|
// The menu adds wrapping containers.
|
|
582
623
|
.wp-block-navigation__responsive-close {
|
|
583
624
|
width: 100%;
|
|
584
|
-
height: 100%;
|
|
585
625
|
}
|
|
586
626
|
|
|
587
627
|
.is-menu-open .wp-block-navigation__responsive-close,
|
|
588
628
|
.is-menu-open .wp-block-navigation__responsive-dialog,
|
|
589
629
|
.is-menu-open .wp-block-navigation__responsive-container-content {
|
|
590
630
|
box-sizing: border-box;
|
|
591
|
-
height: 100%;
|
|
592
631
|
}
|
|
593
632
|
|
|
594
633
|
.wp-block-navigation__responsive-dialog {
|
|
@@ -12,6 +12,7 @@ export default function useNavigationMenu( ref ) {
|
|
|
12
12
|
getEditedEntityRecord,
|
|
13
13
|
getEntityRecords,
|
|
14
14
|
hasFinishedResolution,
|
|
15
|
+
canUser,
|
|
15
16
|
} = select( coreStore );
|
|
16
17
|
|
|
17
18
|
const navigationMenuSingleArgs = [
|
|
@@ -64,6 +65,25 @@ export default function useNavigationMenu( ref ) {
|
|
|
64
65
|
),
|
|
65
66
|
navigationMenu,
|
|
66
67
|
navigationMenus,
|
|
68
|
+
canUserUpdateNavigationEntity: ref
|
|
69
|
+
? canUser( 'update', 'navigation', ref )
|
|
70
|
+
: undefined,
|
|
71
|
+
hasResolvedCanUserUpdateNavigationEntity: hasFinishedResolution(
|
|
72
|
+
'canUser',
|
|
73
|
+
[ 'update', 'navigation', ref ]
|
|
74
|
+
),
|
|
75
|
+
canUserDeleteNavigationEntity: ref
|
|
76
|
+
? canUser( 'delete', 'navigation', ref )
|
|
77
|
+
: undefined,
|
|
78
|
+
hasResolvedCanUserDeleteNavigationEntity: hasFinishedResolution(
|
|
79
|
+
'canUser',
|
|
80
|
+
[ 'delete', 'navigation', ref ]
|
|
81
|
+
),
|
|
82
|
+
canUserCreateNavigation: canUser( 'create', 'navigation' ),
|
|
83
|
+
hasResolvedCanUserCreateNavigation: hasFinishedResolution(
|
|
84
|
+
'canUser',
|
|
85
|
+
[ 'create', 'navigation' ]
|
|
86
|
+
),
|
|
67
87
|
};
|
|
68
88
|
},
|
|
69
89
|
[ ref ]
|
package/src/navigation/view.js
CHANGED
|
@@ -5,16 +5,22 @@ import MicroModal from 'micromodal';
|
|
|
5
5
|
|
|
6
6
|
// Responsive navigation toggle.
|
|
7
7
|
function navigationToggleModal( modal ) {
|
|
8
|
-
const
|
|
9
|
-
|
|
8
|
+
const dialogContainer = modal.querySelector(
|
|
9
|
+
`.wp-block-navigation__responsive-dialog`
|
|
10
10
|
);
|
|
11
|
-
|
|
12
|
-
// Use aria-hidden to determine the status of the modal, as this attribute is
|
|
13
|
-
// managed by micromodal.
|
|
11
|
+
|
|
14
12
|
const isHidden = 'true' === modal.getAttribute( 'aria-hidden' );
|
|
15
|
-
|
|
16
|
-
closeButton.setAttribute( 'aria-expanded', ! isHidden );
|
|
13
|
+
|
|
17
14
|
modal.classList.toggle( 'has-modal-open', ! isHidden );
|
|
15
|
+
dialogContainer.toggleAttribute( 'aria-modal', ! isHidden );
|
|
16
|
+
|
|
17
|
+
if ( isHidden ) {
|
|
18
|
+
dialogContainer.removeAttribute( 'role' );
|
|
19
|
+
dialogContainer.removeAttribute( 'aria-modal' );
|
|
20
|
+
} else {
|
|
21
|
+
dialogContainer.setAttribute( 'role', 'dialog' );
|
|
22
|
+
dialogContainer.setAttribute( 'aria-modal', 'true' );
|
|
23
|
+
}
|
|
18
24
|
|
|
19
25
|
// Add a class to indicate the modal is open.
|
|
20
26
|
const htmlElement = document.documentElement;
|
|
@@ -1,11 +1,15 @@
|
|
|
1
1
|
{
|
|
2
|
-
"$schema": "https://schemas.wp.org/trunk/block.json",
|
|
3
2
|
"apiVersion": 2,
|
|
4
3
|
"name": "core/navigation-area",
|
|
5
4
|
"title": "Navigation Area",
|
|
6
5
|
"category": "theme",
|
|
7
6
|
"description": "Define a navigation area for your theme. The navigation block associated with this area will be automatically displayed.",
|
|
8
|
-
"keywords": [
|
|
7
|
+
"keywords": [
|
|
8
|
+
"menu",
|
|
9
|
+
"navigation",
|
|
10
|
+
"links",
|
|
11
|
+
"location"
|
|
12
|
+
],
|
|
9
13
|
"textdomain": "default",
|
|
10
14
|
"attributes": {
|
|
11
15
|
"area": {
|
|
@@ -18,6 +22,6 @@
|
|
|
18
22
|
},
|
|
19
23
|
"supports": {
|
|
20
24
|
"html": false,
|
|
21
|
-
"inserter":
|
|
25
|
+
"inserter": true
|
|
22
26
|
}
|
|
23
27
|
}
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
{
|
|
2
|
-
"$schema": "https://schemas.wp.org/trunk/block.json",
|
|
3
2
|
"apiVersion": 2,
|
|
4
3
|
"name": "core/navigation-link",
|
|
5
4
|
"title": "Custom Link",
|
|
6
5
|
"category": "design",
|
|
7
|
-
"parent": [
|
|
6
|
+
"parent": [
|
|
7
|
+
"core/navigation"
|
|
8
|
+
],
|
|
8
9
|
"description": "Add a page, link, or another item to your navigation.",
|
|
9
10
|
"textdomain": "default",
|
|
10
11
|
"attributes": {
|
|
@@ -286,10 +286,6 @@ function navStripHTML( html ) {
|
|
|
286
286
|
*/
|
|
287
287
|
|
|
288
288
|
function LinkControlTransforms( { block, transforms, replace } ) {
|
|
289
|
-
if ( ! transforms?.length ) {
|
|
290
|
-
return null;
|
|
291
|
-
}
|
|
292
|
-
|
|
293
289
|
return (
|
|
294
290
|
<div className="link-control-transform">
|
|
295
291
|
<h3 className="link-control-transform__subheading">
|
|
@@ -726,7 +722,6 @@ export default function NavigationLinkEdit( {
|
|
|
726
722
|
>
|
|
727
723
|
<LinkControl
|
|
728
724
|
hasTextControl
|
|
729
|
-
hasRichPreviews
|
|
730
725
|
className="wp-block-navigation-link__inline-link-input"
|
|
731
726
|
value={ link }
|
|
732
727
|
showInitialSuggestions={ true }
|
|
@@ -116,9 +116,9 @@ function block_core_navigation_link_render_submenu_icon() {
|
|
|
116
116
|
/**
|
|
117
117
|
* Renders the `core/navigation-link` block.
|
|
118
118
|
*
|
|
119
|
-
* @param array
|
|
120
|
-
* @param array
|
|
121
|
-
* @param
|
|
119
|
+
* @param array $attributes The block attributes.
|
|
120
|
+
* @param array $content The saved content.
|
|
121
|
+
* @param array $block The parsed block.
|
|
122
122
|
*
|
|
123
123
|
* @return string Returns the post content with the legacy widget added.
|
|
124
124
|
*/
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
{
|
|
2
|
-
"$schema": "https://schemas.wp.org/trunk/block.json",
|
|
3
2
|
"apiVersion": 2,
|
|
4
3
|
"name": "core/navigation-submenu",
|
|
5
4
|
"title": "Submenu",
|
|
6
5
|
"category": "design",
|
|
7
|
-
"parent": [
|
|
6
|
+
"parent": [
|
|
7
|
+
"core/navigation"
|
|
8
|
+
],
|
|
8
9
|
"description": "Add a submenu to your navigation.",
|
|
9
10
|
"textdomain": "default",
|
|
10
11
|
"attributes": {
|
|
@@ -116,9 +116,9 @@ function block_core_navigation_submenu_render_submenu_icon() {
|
|
|
116
116
|
/**
|
|
117
117
|
* Renders the `core/navigation-submenu` block.
|
|
118
118
|
*
|
|
119
|
-
* @param array
|
|
120
|
-
* @param string
|
|
121
|
-
* @param
|
|
119
|
+
* @param array $attributes The block attributes.
|
|
120
|
+
* @param string $content The saved content.
|
|
121
|
+
* @param object $block The parsed block.
|
|
122
122
|
*
|
|
123
123
|
* @return string Returns the post content with the legacy widget added.
|
|
124
124
|
*/
|
|
@@ -191,7 +191,7 @@ function render_block_core_navigation_submenu( $attributes, $content, $block ) {
|
|
|
191
191
|
$aria_label = sprintf(
|
|
192
192
|
/* translators: Accessibility text. %s: Parent page title. */
|
|
193
193
|
__( '%s submenu' ),
|
|
194
|
-
$label
|
|
194
|
+
wp_strip_all_tags( $label )
|
|
195
195
|
);
|
|
196
196
|
|
|
197
197
|
$html = '<li ' . $wrapper_attributes . '>';
|
|
@@ -231,7 +231,7 @@ function render_block_core_navigation_submenu( $attributes, $content, $block ) {
|
|
|
231
231
|
|
|
232
232
|
if ( $show_submenu_indicators ) {
|
|
233
233
|
// The submenu icon is rendered in a button here
|
|
234
|
-
// so that there's a clickable
|
|
234
|
+
// so that there's a clickable element to open the submenu.
|
|
235
235
|
$html .= '<button aria-label="' . $aria_label . '" class="wp-block-navigation__submenu-icon wp-block-navigation-submenu__toggle" aria-expanded="false">' . block_core_navigation_submenu_render_submenu_icon() . '</button>';
|
|
236
236
|
}
|
|
237
237
|
} else {
|
package/src/nextpage/block.json
CHANGED
package/src/page-list/block.json
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
{
|
|
2
|
-
"$schema": "https://schemas.wp.org/trunk/block.json",
|
|
3
2
|
"apiVersion": 2,
|
|
4
3
|
"name": "core/page-list",
|
|
5
4
|
"title": "Page List",
|
|
@@ -8,9 +7,6 @@
|
|
|
8
7
|
"keywords": [ "menu", "navigation" ],
|
|
9
8
|
"textdomain": "default",
|
|
10
9
|
"attributes": {
|
|
11
|
-
"__unstableMaxPages": {
|
|
12
|
-
"type": "number"
|
|
13
|
-
}
|
|
14
10
|
},
|
|
15
11
|
"usesContext": [
|
|
16
12
|
"textColor",
|
package/src/page-list/index.php
CHANGED
|
@@ -177,7 +177,7 @@ function block_core_page_list_render_nested_page_list( $open_submenus_on_click,
|
|
|
177
177
|
$aria_label = sprintf(
|
|
178
178
|
/* translators: Accessibility text. %s: Parent page title. */
|
|
179
179
|
__( '%s submenu' ),
|
|
180
|
-
$title
|
|
180
|
+
wp_strip_all_tags( $title )
|
|
181
181
|
);
|
|
182
182
|
|
|
183
183
|
$markup .= '<li class="wp-block-pages-list__item' . $css_class . '"' . $style_attribute . '>';
|
|
@@ -230,9 +230,9 @@ function block_core_page_list_nest_pages( $current_level, $children ) {
|
|
|
230
230
|
/**
|
|
231
231
|
* Renders the `core/page-list` block on server.
|
|
232
232
|
*
|
|
233
|
-
* @param array
|
|
234
|
-
* @param array
|
|
235
|
-
* @param
|
|
233
|
+
* @param array $attributes The block attributes.
|
|
234
|
+
* @param array $content The saved content.
|
|
235
|
+
* @param array $block The parsed block.
|
|
236
236
|
*
|
|
237
237
|
* @return string Returns the page list markup.
|
|
238
238
|
*/
|
package/src/page-list/style.scss
CHANGED
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
.wp-block-navigation {
|
|
3
3
|
.wp-block-page-list {
|
|
4
4
|
display: flex;
|
|
5
|
-
flex-direction: var(--layout-direction, initial);
|
|
6
|
-
justify-content: var(--layout-justify, initial);
|
|
7
|
-
align-items: var(--layout-align, initial);
|
|
8
|
-
flex-wrap: var(--layout-wrap, wrap);
|
|
5
|
+
flex-direction: var(--navigation-layout-direction, initial);
|
|
6
|
+
justify-content: var(--navigation-layout-justify, initial);
|
|
7
|
+
align-items: var(--navigation-layout-align, initial);
|
|
8
|
+
flex-wrap: var(--navigation-layout-wrap, wrap);
|
|
9
9
|
background-color: inherit;
|
|
10
10
|
}
|
|
11
11
|
|
package/src/paragraph/block.json
CHANGED
package/src/paragraph/edit.js
CHANGED
|
@@ -9,8 +9,8 @@ import classnames from 'classnames';
|
|
|
9
9
|
import { __, _x, isRTL } from '@wordpress/i18n';
|
|
10
10
|
import {
|
|
11
11
|
ToolbarDropdownMenu,
|
|
12
|
+
PanelBody,
|
|
12
13
|
ToggleControl,
|
|
13
|
-
__experimentalToolsPanelItem as ToolsPanelItem,
|
|
14
14
|
} from '@wordpress/components';
|
|
15
15
|
import {
|
|
16
16
|
AlignmentControl,
|
|
@@ -81,16 +81,8 @@ function ParagraphBlock( {
|
|
|
81
81
|
/>
|
|
82
82
|
</BlockControls>
|
|
83
83
|
{ isDropCapFeatureEnabled && (
|
|
84
|
-
<InspectorControls
|
|
85
|
-
<
|
|
86
|
-
hasValue={ () => !! dropCap }
|
|
87
|
-
label={ __( 'Drop cap' ) }
|
|
88
|
-
onDeselect={ () =>
|
|
89
|
-
setAttributes( { dropCap: undefined } )
|
|
90
|
-
}
|
|
91
|
-
resetAllFilter={ () => ( { dropCap: undefined } ) }
|
|
92
|
-
panelId={ clientId }
|
|
93
|
-
>
|
|
84
|
+
<InspectorControls>
|
|
85
|
+
<PanelBody title={ __( 'Text settings' ) }>
|
|
94
86
|
<ToggleControl
|
|
95
87
|
label={ __( 'Drop cap' ) }
|
|
96
88
|
checked={ !! dropCap }
|
|
@@ -105,7 +97,7 @@ function ParagraphBlock( {
|
|
|
105
97
|
)
|
|
106
98
|
}
|
|
107
99
|
/>
|
|
108
|
-
</
|
|
100
|
+
</PanelBody>
|
|
109
101
|
</InspectorControls>
|
|
110
102
|
) }
|
|
111
103
|
<RichText
|
package/src/pattern/block.json
CHANGED
package/src/post-author/edit.js
CHANGED
|
@@ -25,7 +25,7 @@ function PostAuthorEdit( {
|
|
|
25
25
|
attributes,
|
|
26
26
|
setAttributes,
|
|
27
27
|
} ) {
|
|
28
|
-
const isDescendentOfQueryLoop =
|
|
28
|
+
const isDescendentOfQueryLoop = Number.isFinite( queryId );
|
|
29
29
|
const { authorId, authorDetails, authors } = useSelect(
|
|
30
30
|
( select ) => {
|
|
31
31
|
const { getEditedEntityRecord, getUser, getUsers } = select(
|