@wordpress/block-library 9.5.0 → 9.6.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/archives/edit.js +1 -0
- package/build/archives/edit.js.map +1 -1
- package/build/audio/edit.js +1 -0
- package/build/audio/edit.js.map +1 -1
- package/build/avatar/user-control.js +1 -0
- package/build/avatar/user-control.js.map +1 -1
- package/build/button/edit.js +1 -0
- package/build/button/edit.js.map +1 -1
- package/build/comment-author-name/index.js +14 -1
- package/build/comment-author-name/index.js.map +1 -1
- package/build/comment-content/index.js +14 -1
- package/build/comment-content/index.js.map +1 -1
- package/build/comment-date/index.js +14 -1
- package/build/comment-date/index.js.map +1 -1
- package/build/comments-pagination/comments-pagination-arrow-controls.js +1 -0
- package/build/comments-pagination/comments-pagination-arrow-controls.js.map +1 -1
- package/build/cover/edit/inspector-controls.js +0 -1
- package/build/cover/edit/inspector-controls.js.map +1 -1
- package/build/embed/edit.js +12 -4
- package/build/embed/edit.js.map +1 -1
- package/build/embed/embed-placeholder.js +6 -3
- package/build/embed/embed-placeholder.js.map +1 -1
- package/build/embed/embed-preview.js +4 -18
- package/build/embed/embed-preview.js.map +1 -1
- package/build/file/index.js +12 -0
- package/build/file/index.js.map +1 -1
- package/build/file/inspector.js +1 -0
- package/build/file/inspector.js.map +1 -1
- package/build/form/edit.js +2 -0
- package/build/form/edit.js.map +1 -1
- package/build/form-input/edit.js +1 -0
- package/build/form-input/edit.js.map +1 -1
- package/build/gallery/edit.js +2 -6
- package/build/gallery/edit.js.map +1 -1
- package/build/gallery/gallery.native.js +4 -1
- package/build/gallery/gallery.native.js.map +1 -1
- package/build/group/edit.js +1 -1
- package/build/group/edit.js.map +1 -1
- package/build/image/image.js +6 -1
- package/build/image/image.js.map +1 -1
- package/build/image/transforms.js +4 -0
- package/build/image/transforms.js.map +1 -1
- package/build/latest-posts/edit.js +37 -11
- package/build/latest-posts/edit.js.map +1 -1
- package/build/list/index.js +9 -0
- package/build/list/index.js.map +1 -1
- package/build/list-item/index.js +8 -1
- package/build/list-item/index.js.map +1 -1
- package/build/media-text/edit.js +0 -1
- package/build/media-text/edit.js.map +1 -1
- package/build/missing/edit.js +10 -19
- package/build/missing/edit.js.map +1 -1
- package/build/navigation/edit/index.js +3 -4
- package/build/navigation/edit/index.js.map +1 -1
- package/build/navigation/edit/navigation-menu-name-control.js +1 -0
- package/build/navigation/edit/navigation-menu-name-control.js.map +1 -1
- package/build/navigation/edit/overlay-menu-preview.js +2 -0
- package/build/navigation/edit/overlay-menu-preview.js.map +1 -1
- package/build/post-author/edit.js +60 -53
- package/build/post-author/edit.js.map +1 -1
- package/build/post-author/index.js +13 -0
- package/build/post-author/index.js.map +1 -1
- package/build/post-author-biography/index.js +14 -1
- package/build/post-author-biography/index.js.map +1 -1
- package/build/post-author-name/index.js +14 -1
- package/build/post-author-name/index.js.map +1 -1
- package/build/post-comment/edit.js +2 -0
- package/build/post-comment/edit.js.map +1 -1
- package/build/post-excerpt/edit.js +1 -0
- package/build/post-excerpt/edit.js.map +1 -1
- package/build/post-featured-image/dimension-controls.js +9 -2
- package/build/post-featured-image/dimension-controls.js.map +1 -1
- package/build/post-featured-image/edit.js +1 -0
- package/build/post-featured-image/edit.js.map +1 -1
- package/build/post-navigation-link/edit.js +5 -2
- package/build/post-navigation-link/edit.js.map +1 -1
- package/build/post-terms/edit.js +1 -0
- package/build/post-terms/edit.js.map +1 -1
- package/build/post-title/edit.js +1 -0
- package/build/post-title/edit.js.map +1 -1
- package/build/preformatted/index.js +12 -0
- package/build/preformatted/index.js.map +1 -1
- package/build/query/edit/inspector-controls/parent-control.js +1 -0
- package/build/query/edit/inspector-controls/parent-control.js.map +1 -1
- package/build/query/edit/query-content.js +1 -1
- package/build/query/edit/query-content.js.map +1 -1
- package/build/query-pagination/query-pagination-arrow-controls.js +1 -0
- package/build/query-pagination/query-pagination-arrow-controls.js.map +1 -1
- package/build/query-pagination-numbers/edit.js +1 -0
- package/build/query-pagination-numbers/edit.js.map +1 -1
- package/build/query-title/index.js +12 -0
- package/build/query-title/index.js.map +1 -1
- package/build/quote/index.js +1 -0
- package/build/quote/index.js.map +1 -1
- package/build/quote/transforms.js +4 -0
- package/build/quote/transforms.js.map +1 -1
- package/build/search/edit.js +9 -5
- package/build/search/edit.js.map +1 -1
- package/build/social-link/edit.js +2 -0
- package/build/social-link/edit.js.map +1 -1
- package/build/table/edit.js +6 -5
- package/build/table/edit.js.map +1 -1
- package/build/tag-cloud/edit.js +44 -33
- package/build/tag-cloud/edit.js.map +1 -1
- package/build/tag-cloud/index.js +12 -0
- package/build/tag-cloud/index.js.map +1 -1
- package/build/template-part/edit/advanced-controls.js +2 -0
- package/build/template-part/edit/advanced-controls.js.map +1 -1
- package/build/video/edit-common-settings.js +1 -0
- package/build/video/edit-common-settings.js.map +1 -1
- package/build/video/edit.js +1 -1
- package/build/video/edit.js.map +1 -1
- package/build/video/tracks-editor.js +3 -0
- package/build/video/tracks-editor.js.map +1 -1
- package/build/video/transforms.js +4 -0
- package/build/video/transforms.js.map +1 -1
- package/build-module/archives/edit.js +1 -0
- package/build-module/archives/edit.js.map +1 -1
- package/build-module/audio/edit.js +1 -0
- package/build-module/audio/edit.js.map +1 -1
- package/build-module/avatar/user-control.js +1 -0
- package/build-module/avatar/user-control.js.map +1 -1
- package/build-module/button/edit.js +1 -0
- package/build-module/button/edit.js.map +1 -1
- package/build-module/comment-author-name/index.js +14 -1
- package/build-module/comment-author-name/index.js.map +1 -1
- package/build-module/comment-content/index.js +14 -1
- package/build-module/comment-content/index.js.map +1 -1
- package/build-module/comment-date/index.js +14 -1
- package/build-module/comment-date/index.js.map +1 -1
- package/build-module/comments-pagination/comments-pagination-arrow-controls.js +1 -0
- package/build-module/comments-pagination/comments-pagination-arrow-controls.js.map +1 -1
- package/build-module/cover/edit/inspector-controls.js +0 -1
- package/build-module/cover/edit/inspector-controls.js.map +1 -1
- package/build-module/embed/edit.js +13 -5
- package/build-module/embed/edit.js.map +1 -1
- package/build-module/embed/embed-placeholder.js +7 -4
- package/build-module/embed/embed-placeholder.js.map +1 -1
- package/build-module/embed/embed-preview.js +5 -19
- package/build-module/embed/embed-preview.js.map +1 -1
- package/build-module/file/index.js +12 -0
- package/build-module/file/index.js.map +1 -1
- package/build-module/file/inspector.js +1 -0
- package/build-module/file/inspector.js.map +1 -1
- package/build-module/form/edit.js +2 -0
- package/build-module/form/edit.js.map +1 -1
- package/build-module/form-input/edit.js +1 -0
- package/build-module/form-input/edit.js.map +1 -1
- package/build-module/gallery/edit.js +3 -7
- package/build-module/gallery/edit.js.map +1 -1
- package/build-module/gallery/gallery.native.js +4 -1
- package/build-module/gallery/gallery.native.js.map +1 -1
- package/build-module/group/edit.js +1 -1
- package/build-module/group/edit.js.map +1 -1
- package/build-module/image/image.js +7 -2
- package/build-module/image/image.js.map +1 -1
- package/build-module/image/transforms.js +5 -1
- package/build-module/image/transforms.js.map +1 -1
- package/build-module/latest-posts/edit.js +40 -14
- package/build-module/latest-posts/edit.js.map +1 -1
- package/build-module/list/index.js +9 -0
- package/build-module/list/index.js.map +1 -1
- package/build-module/list-item/index.js +8 -1
- package/build-module/list-item/index.js.map +1 -1
- package/build-module/media-text/edit.js +0 -1
- package/build-module/media-text/edit.js.map +1 -1
- package/build-module/missing/edit.js +10 -19
- package/build-module/missing/edit.js.map +1 -1
- package/build-module/navigation/edit/index.js +3 -4
- package/build-module/navigation/edit/index.js.map +1 -1
- package/build-module/navigation/edit/navigation-menu-name-control.js +1 -0
- package/build-module/navigation/edit/navigation-menu-name-control.js.map +1 -1
- package/build-module/navigation/edit/overlay-menu-preview.js +2 -0
- package/build-module/navigation/edit/overlay-menu-preview.js.map +1 -1
- package/build-module/post-author/edit.js +61 -54
- package/build-module/post-author/edit.js.map +1 -1
- package/build-module/post-author/index.js +13 -0
- package/build-module/post-author/index.js.map +1 -1
- package/build-module/post-author-biography/index.js +14 -1
- package/build-module/post-author-biography/index.js.map +1 -1
- package/build-module/post-author-name/index.js +14 -1
- package/build-module/post-author-name/index.js.map +1 -1
- package/build-module/post-comment/edit.js +2 -0
- package/build-module/post-comment/edit.js.map +1 -1
- package/build-module/post-excerpt/edit.js +1 -0
- package/build-module/post-excerpt/edit.js.map +1 -1
- package/build-module/post-featured-image/dimension-controls.js +9 -2
- package/build-module/post-featured-image/dimension-controls.js.map +1 -1
- package/build-module/post-featured-image/edit.js +1 -0
- package/build-module/post-featured-image/edit.js.map +1 -1
- package/build-module/post-navigation-link/edit.js +5 -2
- package/build-module/post-navigation-link/edit.js.map +1 -1
- package/build-module/post-terms/edit.js +1 -0
- package/build-module/post-terms/edit.js.map +1 -1
- package/build-module/post-title/edit.js +1 -0
- package/build-module/post-title/edit.js.map +1 -1
- package/build-module/preformatted/index.js +12 -0
- package/build-module/preformatted/index.js.map +1 -1
- package/build-module/query/edit/inspector-controls/parent-control.js +1 -0
- package/build-module/query/edit/inspector-controls/parent-control.js.map +1 -1
- package/build-module/query/edit/query-content.js +1 -1
- package/build-module/query/edit/query-content.js.map +1 -1
- package/build-module/query-pagination/query-pagination-arrow-controls.js +1 -0
- package/build-module/query-pagination/query-pagination-arrow-controls.js.map +1 -1
- package/build-module/query-pagination-numbers/edit.js +1 -0
- package/build-module/query-pagination-numbers/edit.js.map +1 -1
- package/build-module/query-title/index.js +12 -0
- package/build-module/query-title/index.js.map +1 -1
- package/build-module/quote/index.js +1 -0
- package/build-module/quote/index.js.map +1 -1
- package/build-module/quote/transforms.js +4 -0
- package/build-module/quote/transforms.js.map +1 -1
- package/build-module/search/edit.js +10 -6
- package/build-module/search/edit.js.map +1 -1
- package/build-module/social-link/edit.js +2 -0
- package/build-module/social-link/edit.js.map +1 -1
- package/build-module/table/edit.js +6 -5
- package/build-module/table/edit.js.map +1 -1
- package/build-module/tag-cloud/edit.js +45 -34
- package/build-module/tag-cloud/edit.js.map +1 -1
- package/build-module/tag-cloud/index.js +12 -0
- package/build-module/tag-cloud/index.js.map +1 -1
- package/build-module/template-part/edit/advanced-controls.js +2 -0
- package/build-module/template-part/edit/advanced-controls.js.map +1 -1
- package/build-module/video/edit-common-settings.js +1 -0
- package/build-module/video/edit-common-settings.js.map +1 -1
- package/build-module/video/edit.js +1 -1
- package/build-module/video/edit.js.map +1 -1
- package/build-module/video/tracks-editor.js +3 -0
- package/build-module/video/tracks-editor.js.map +1 -1
- package/build-module/video/transforms.js +5 -1
- package/build-module/video/transforms.js.map +1 -1
- package/build-style/archives/editor-rtl.css +2 -2
- package/build-style/archives/editor.css +2 -2
- package/build-style/archives/style-rtl.css +2 -2
- package/build-style/archives/style.css +2 -2
- package/build-style/audio/editor-rtl.css +2 -2
- package/build-style/audio/editor.css +2 -2
- package/build-style/audio/style-rtl.css +2 -2
- package/build-style/audio/style.css +2 -2
- package/build-style/audio/theme-rtl.css +2 -2
- package/build-style/audio/theme.css +2 -2
- package/build-style/avatar/editor-rtl.css +2 -2
- package/build-style/avatar/editor.css +2 -2
- package/build-style/avatar/style-rtl.css +2 -2
- package/build-style/avatar/style.css +2 -2
- package/build-style/button/editor-rtl.css +2 -2
- package/build-style/button/editor.css +2 -2
- package/build-style/button/style-rtl.css +2 -2
- package/build-style/button/style.css +2 -2
- package/build-style/buttons/editor-rtl.css +2 -2
- package/build-style/buttons/editor.css +2 -2
- package/build-style/buttons/style-rtl.css +2 -2
- package/build-style/buttons/style.css +2 -2
- package/build-style/calendar/style-rtl.css +2 -2
- package/build-style/calendar/style.css +2 -2
- package/build-style/categories/editor-rtl.css +2 -2
- package/build-style/categories/editor.css +2 -2
- package/build-style/categories/style-rtl.css +2 -2
- package/build-style/categories/style.css +2 -2
- package/build-style/classic-rtl.css +2 -2
- package/build-style/classic.css +2 -2
- package/build-style/code/editor-rtl.css +2 -2
- package/build-style/code/editor.css +2 -2
- package/build-style/code/style-rtl.css +2 -2
- package/build-style/code/style.css +2 -2
- package/build-style/code/theme-rtl.css +2 -2
- package/build-style/code/theme.css +2 -2
- package/build-style/columns/editor-rtl.css +2 -2
- package/build-style/columns/editor.css +2 -2
- package/build-style/columns/style-rtl.css +2 -2
- package/build-style/columns/style.css +2 -2
- package/build-style/comment-author-avatar/editor-rtl.css +2 -2
- package/build-style/comment-author-avatar/editor.css +2 -2
- package/build-style/comment-author-name/style-rtl.css +94 -0
- package/build-style/comment-author-name/style.css +94 -0
- package/build-style/comment-content/style-rtl.css +6 -2
- package/build-style/comment-content/style.css +6 -2
- package/build-style/comment-date/style-rtl.css +94 -0
- package/build-style/comment-date/style.css +94 -0
- package/build-style/comment-template/style-rtl.css +2 -2
- package/build-style/comment-template/style.css +2 -2
- package/build-style/comments/editor-rtl.css +2 -2
- package/build-style/comments/editor.css +2 -2
- package/build-style/comments/style-rtl.css +2 -2
- package/build-style/comments/style.css +2 -2
- package/build-style/comments-pagination/editor-rtl.css +2 -2
- package/build-style/comments-pagination/editor.css +2 -2
- package/build-style/comments-pagination/style-rtl.css +2 -2
- package/build-style/comments-pagination/style.css +2 -2
- package/build-style/comments-pagination-numbers/editor-rtl.css +2 -2
- package/build-style/comments-pagination-numbers/editor.css +2 -2
- package/build-style/comments-title/editor-rtl.css +2 -2
- package/build-style/comments-title/editor.css +2 -2
- package/build-style/common-rtl.css +2 -2
- package/build-style/common.css +2 -2
- package/build-style/cover/editor-rtl.css +2 -2
- package/build-style/cover/editor.css +2 -2
- package/build-style/cover/style-rtl.css +2 -2
- package/build-style/cover/style.css +2 -2
- package/build-style/details/editor-rtl.css +2 -2
- package/build-style/details/editor.css +2 -2
- package/build-style/details/style-rtl.css +2 -2
- package/build-style/details/style.css +2 -2
- package/build-style/editor-elements-rtl.css +2 -2
- package/build-style/editor-elements.css +2 -2
- package/build-style/editor-rtl.css +31 -15
- package/build-style/editor.css +31 -15
- package/build-style/elements-rtl.css +2 -2
- package/build-style/elements.css +2 -2
- package/build-style/embed/editor-rtl.css +5 -2
- package/build-style/embed/editor.css +5 -2
- package/build-style/embed/style-rtl.css +2 -2
- package/build-style/embed/style.css +2 -2
- package/build-style/embed/theme-rtl.css +2 -2
- package/build-style/embed/theme.css +2 -2
- package/build-style/file/editor-rtl.css +2 -2
- package/build-style/file/editor.css +2 -2
- package/build-style/file/style-rtl.css +2 -2
- package/build-style/file/style.css +2 -2
- package/build-style/footnotes/style-rtl.css +2 -2
- package/build-style/footnotes/style.css +2 -2
- package/build-style/form-input/editor-rtl.css +2 -2
- package/build-style/form-input/editor.css +2 -2
- package/build-style/form-input/style-rtl.css +2 -2
- package/build-style/form-input/style.css +2 -2
- package/build-style/form-submission-notification/editor-rtl.css +2 -2
- package/build-style/form-submission-notification/editor.css +2 -2
- package/build-style/form-submit-button/style-rtl.css +2 -2
- package/build-style/form-submit-button/style.css +2 -2
- package/build-style/freeform/editor-rtl.css +2 -2
- package/build-style/freeform/editor.css +2 -2
- package/build-style/gallery/editor-rtl.css +2 -2
- package/build-style/gallery/editor.css +2 -2
- package/build-style/gallery/style-rtl.css +26 -9
- package/build-style/gallery/style.css +26 -9
- package/build-style/gallery/theme-rtl.css +2 -2
- package/build-style/gallery/theme.css +2 -2
- package/build-style/group/editor-rtl.css +2 -2
- package/build-style/group/editor.css +2 -2
- package/build-style/group/style-rtl.css +2 -2
- package/build-style/group/style.css +2 -2
- package/build-style/group/theme-rtl.css +2 -2
- package/build-style/group/theme.css +2 -2
- package/build-style/heading/style-rtl.css +2 -2
- package/build-style/heading/style.css +2 -2
- package/build-style/html/editor-rtl.css +2 -2
- package/build-style/html/editor.css +2 -2
- package/build-style/image/editor-rtl.css +2 -2
- package/build-style/image/editor.css +2 -2
- package/build-style/image/style-rtl.css +2 -2
- package/build-style/image/style.css +2 -2
- package/build-style/image/theme-rtl.css +2 -2
- package/build-style/image/theme.css +2 -2
- package/build-style/latest-comments/style-rtl.css +2 -2
- package/build-style/latest-comments/style.css +2 -2
- package/build-style/latest-posts/editor-rtl.css +9 -6
- package/build-style/latest-posts/editor.css +9 -6
- package/build-style/latest-posts/style-rtl.css +2 -2
- package/build-style/latest-posts/style.css +2 -2
- package/build-style/list/style-rtl.css +2 -2
- package/build-style/list/style.css +2 -2
- package/build-style/loginout/style-rtl.css +2 -2
- package/build-style/loginout/style.css +2 -2
- package/build-style/media-text/editor-rtl.css +2 -2
- package/build-style/media-text/editor.css +2 -2
- package/build-style/media-text/style-rtl.css +2 -2
- package/build-style/media-text/style.css +2 -2
- package/build-style/more/editor-rtl.css +2 -2
- package/build-style/more/editor.css +2 -2
- package/build-style/navigation/editor-rtl.css +6 -2
- package/build-style/navigation/editor.css +6 -2
- package/build-style/navigation/style-rtl.css +2 -2
- package/build-style/navigation/style.css +2 -2
- package/build-style/navigation-link/editor-rtl.css +2 -5
- package/build-style/navigation-link/editor.css +2 -5
- package/build-style/navigation-link/style-rtl.css +2 -2
- package/build-style/navigation-link/style.css +2 -2
- package/build-style/navigation-submenu/editor-rtl.css +2 -2
- package/build-style/navigation-submenu/editor.css +2 -2
- package/build-style/nextpage/editor-rtl.css +2 -2
- package/build-style/nextpage/editor.css +2 -2
- package/build-style/page-list/editor-rtl.css +2 -2
- package/build-style/page-list/editor.css +2 -2
- package/build-style/page-list/style-rtl.css +2 -2
- package/build-style/page-list/style.css +2 -2
- package/build-style/paragraph/editor-rtl.css +2 -2
- package/build-style/paragraph/editor.css +2 -2
- package/build-style/paragraph/style-rtl.css +2 -2
- package/build-style/paragraph/style.css +2 -2
- package/build-style/post-author/editor-rtl.css +95 -0
- package/build-style/post-author/editor.css +95 -0
- package/build-style/post-author/style-rtl.css +3 -2
- package/build-style/post-author/style.css +3 -2
- package/build-style/post-author-biography/style-rtl.css +94 -0
- package/build-style/post-author-biography/style.css +94 -0
- package/build-style/post-author-name/style-rtl.css +94 -0
- package/build-style/post-author-name/style.css +94 -0
- package/build-style/post-comments-form/editor-rtl.css +2 -2
- package/build-style/post-comments-form/editor.css +2 -2
- package/build-style/post-comments-form/style-rtl.css +2 -2
- package/build-style/post-comments-form/style.css +2 -2
- package/build-style/post-content/editor-rtl.css +2 -2
- package/build-style/post-content/editor.css +2 -2
- package/build-style/post-content/style-rtl.css +2 -2
- package/build-style/post-content/style.css +2 -2
- package/build-style/post-date/style-rtl.css +2 -2
- package/build-style/post-date/style.css +2 -2
- package/build-style/post-excerpt/editor-rtl.css +2 -2
- package/build-style/post-excerpt/editor.css +2 -2
- package/build-style/post-excerpt/style-rtl.css +2 -2
- package/build-style/post-excerpt/style.css +2 -2
- package/build-style/post-featured-image/editor-rtl.css +2 -2
- package/build-style/post-featured-image/editor.css +2 -2
- package/build-style/post-featured-image/style-rtl.css +2 -2
- package/build-style/post-featured-image/style.css +2 -2
- package/build-style/post-navigation-link/style-rtl.css +2 -2
- package/build-style/post-navigation-link/style.css +2 -2
- package/build-style/post-template/editor-rtl.css +2 -2
- package/build-style/post-template/editor.css +2 -2
- package/build-style/post-template/style-rtl.css +2 -2
- package/build-style/post-template/style.css +2 -2
- package/build-style/post-terms/style-rtl.css +2 -2
- package/build-style/post-terms/style.css +2 -2
- package/build-style/post-time-to-read/style-rtl.css +2 -2
- package/build-style/post-time-to-read/style.css +2 -2
- package/build-style/post-title/style-rtl.css +2 -2
- package/build-style/post-title/style.css +2 -2
- package/build-style/preformatted/style-rtl.css +2 -2
- package/build-style/preformatted/style.css +2 -2
- package/build-style/pullquote/editor-rtl.css +2 -2
- package/build-style/pullquote/editor.css +2 -2
- package/build-style/pullquote/style-rtl.css +2 -2
- package/build-style/pullquote/style.css +2 -2
- package/build-style/pullquote/theme-rtl.css +2 -2
- package/build-style/pullquote/theme.css +2 -2
- package/build-style/query/editor-rtl.css +2 -2
- package/build-style/query/editor.css +2 -2
- package/build-style/query-pagination/editor-rtl.css +2 -2
- package/build-style/query-pagination/editor.css +2 -2
- package/build-style/query-pagination/style-rtl.css +2 -2
- package/build-style/query-pagination/style.css +2 -2
- package/build-style/query-pagination-numbers/editor-rtl.css +2 -2
- package/build-style/query-pagination-numbers/editor.css +2 -2
- package/build-style/query-title/style-rtl.css +2 -2
- package/build-style/query-title/style.css +2 -2
- package/build-style/quote/style-rtl.css +2 -2
- package/build-style/quote/style.css +2 -2
- package/build-style/quote/theme-rtl.css +2 -2
- package/build-style/quote/theme.css +2 -2
- package/build-style/read-more/style-rtl.css +2 -2
- package/build-style/read-more/style.css +2 -2
- package/build-style/reset-rtl.css +2 -2
- package/build-style/reset.css +2 -2
- package/build-style/rss/editor-rtl.css +2 -2
- package/build-style/rss/editor.css +2 -2
- package/build-style/rss/style-rtl.css +2 -2
- package/build-style/rss/style.css +2 -2
- package/build-style/search/editor-rtl.css +5 -4
- package/build-style/search/editor.css +5 -4
- package/build-style/search/style-rtl.css +2 -2
- package/build-style/search/style.css +2 -2
- package/build-style/search/theme-rtl.css +2 -2
- package/build-style/search/theme.css +2 -2
- package/build-style/separator/editor-rtl.css +2 -2
- package/build-style/separator/editor.css +2 -2
- package/build-style/separator/style-rtl.css +2 -2
- package/build-style/separator/style.css +2 -2
- package/build-style/separator/theme-rtl.css +2 -2
- package/build-style/separator/theme.css +2 -2
- package/build-style/shortcode/editor-rtl.css +2 -2
- package/build-style/shortcode/editor.css +2 -2
- package/build-style/site-logo/editor-rtl.css +2 -2
- package/build-style/site-logo/editor.css +2 -2
- package/build-style/site-logo/style-rtl.css +2 -2
- package/build-style/site-logo/style.css +2 -2
- package/build-style/site-tagline/editor-rtl.css +2 -2
- package/build-style/site-tagline/editor.css +2 -2
- package/build-style/site-tagline/style-rtl.css +2 -2
- package/build-style/site-tagline/style.css +2 -2
- package/build-style/site-title/editor-rtl.css +2 -2
- package/build-style/site-title/editor.css +2 -2
- package/build-style/site-title/style-rtl.css +2 -2
- package/build-style/site-title/style.css +2 -2
- package/build-style/social-link/editor-rtl.css +2 -2
- package/build-style/social-link/editor.css +2 -2
- package/build-style/social-links/editor-rtl.css +2 -2
- package/build-style/social-links/editor.css +2 -2
- package/build-style/social-links/style-rtl.css +2 -2
- package/build-style/social-links/style.css +2 -2
- package/build-style/spacer/editor-rtl.css +2 -2
- package/build-style/spacer/editor.css +2 -2
- package/build-style/spacer/style-rtl.css +2 -2
- package/build-style/spacer/style.css +2 -2
- package/build-style/style-rtl.css +53 -9
- package/build-style/style.css +53 -9
- package/build-style/table/editor-rtl.css +2 -2
- package/build-style/table/editor.css +2 -2
- package/build-style/table/style-rtl.css +2 -2
- package/build-style/table/style.css +2 -2
- package/build-style/table/theme-rtl.css +2 -2
- package/build-style/table/theme.css +2 -2
- package/build-style/table-of-contents/style-rtl.css +2 -2
- package/build-style/table-of-contents/style.css +2 -2
- package/build-style/tag-cloud/editor-rtl.css +9 -2
- package/build-style/tag-cloud/editor.css +9 -2
- package/build-style/tag-cloud/style-rtl.css +2 -2
- package/build-style/tag-cloud/style.css +2 -2
- package/build-style/template-part/editor-rtl.css +2 -6
- package/build-style/template-part/editor.css +2 -6
- package/build-style/template-part/theme-rtl.css +2 -2
- package/build-style/template-part/theme.css +2 -2
- package/build-style/term-description/style-rtl.css +2 -2
- package/build-style/term-description/style.css +2 -2
- package/build-style/text-columns/editor-rtl.css +2 -2
- package/build-style/text-columns/editor.css +2 -2
- package/build-style/text-columns/style-rtl.css +2 -2
- package/build-style/text-columns/style.css +2 -2
- package/build-style/theme-rtl.css +2 -2
- package/build-style/theme.css +2 -2
- package/build-style/verse/style-rtl.css +2 -2
- package/build-style/verse/style.css +2 -2
- package/build-style/video/editor-rtl.css +2 -2
- package/build-style/video/editor.css +2 -2
- package/build-style/video/style-rtl.css +2 -2
- package/build-style/video/style.css +2 -2
- package/build-style/video/theme-rtl.css +2 -2
- package/build-style/video/theme.css +2 -2
- package/package.json +35 -35
- package/src/archives/edit.js +1 -0
- package/src/audio/edit.js +4 -3
- package/src/avatar/user-control.js +1 -0
- package/src/button/edit.js +1 -0
- package/src/comment-author-name/block.json +14 -1
- package/src/comment-author-name/style.scss +4 -0
- package/src/comment-content/block.json +14 -1
- package/src/comment-content/style.scss +5 -0
- package/src/comment-date/block.json +14 -1
- package/src/comment-date/style.scss +4 -0
- package/src/comments-pagination/comments-pagination-arrow-controls.js +1 -0
- package/src/cover/edit/inspector-controls.js +0 -1
- package/src/editor.scss +1 -0
- package/src/embed/edit.js +10 -1
- package/src/embed/editor.scss +4 -0
- package/src/embed/embed-placeholder.js +7 -4
- package/src/embed/embed-preview.js +3 -37
- package/src/file/block.json +12 -0
- package/src/file/inspector.js +1 -0
- package/src/form/edit.js +2 -0
- package/src/form-input/edit.js +1 -0
- package/src/gallery/edit.js +5 -9
- package/src/gallery/editor.scss +1 -1
- package/src/gallery/gallery.native.js +2 -1
- package/src/gallery/style.scss +33 -7
- package/src/group/edit.js +1 -1
- package/src/image/image.js +7 -1
- package/src/image/transforms.js +7 -1
- package/src/latest-posts/edit.js +60 -17
- package/src/latest-posts/editor.scss +11 -6
- package/src/list/block.json +9 -0
- package/src/list-item/block.json +8 -1
- package/src/media-text/edit.js +0 -1
- package/src/missing/edit.js +12 -18
- package/src/navigation/edit/index.js +3 -3
- package/src/navigation/edit/navigation-menu-name-control.js +1 -0
- package/src/navigation/edit/overlay-menu-preview.js +2 -0
- package/src/navigation/editor.scss +5 -0
- package/src/navigation/index.php +10 -27
- package/src/navigation-link/editor.scss +0 -3
- package/src/post-author/block.json +13 -0
- package/src/post-author/edit.js +68 -57
- package/src/post-author/editor.scss +7 -0
- package/src/post-author/style.scss +1 -0
- package/src/post-author-biography/block.json +14 -1
- package/src/post-author-biography/style.scss +4 -0
- package/src/post-author-name/block.json +14 -1
- package/src/post-author-name/style.scss +4 -0
- package/src/post-comment/edit.js +2 -0
- package/src/post-excerpt/edit.js +1 -0
- package/src/post-featured-image/dimension-controls.js +5 -0
- package/src/post-featured-image/edit.js +1 -0
- package/src/post-navigation-link/edit.js +6 -2
- package/src/post-terms/edit.js +1 -0
- package/src/post-title/edit.js +1 -0
- package/src/preformatted/block.json +12 -0
- package/src/query/edit/inspector-controls/parent-control.js +1 -0
- package/src/query/edit/query-content.js +1 -1
- package/src/query-pagination/query-pagination-arrow-controls.js +1 -0
- package/src/query-pagination-numbers/edit.js +1 -0
- package/src/query-title/block.json +12 -0
- package/src/quote/block.json +1 -0
- package/src/quote/test/transforms.native.js +1 -1
- package/src/quote/transforms.js +11 -2
- package/src/search/edit.js +9 -9
- package/src/search/editor.scss +5 -2
- package/src/social-link/edit.js +2 -0
- package/src/style.scss +5 -0
- package/src/table/edit.js +5 -4
- package/src/tag-cloud/block.json +12 -0
- package/src/tag-cloud/edit.js +46 -34
- package/src/tag-cloud/editor.scss +11 -1
- package/src/template-part/edit/advanced-controls.js +2 -0
- package/src/template-part/editor.scss +0 -5
- package/src/video/edit-common-settings.js +1 -0
- package/src/video/edit.js +2 -2
- package/src/video/tracks-editor.js +3 -0
- package/src/video/transforms.js +5 -1
package/src/post-author/edit.js
CHANGED
|
@@ -18,6 +18,7 @@ import {
|
|
|
18
18
|
PanelBody,
|
|
19
19
|
SelectControl,
|
|
20
20
|
ToggleControl,
|
|
21
|
+
__experimentalVStack as VStack,
|
|
21
22
|
} from '@wordpress/components';
|
|
22
23
|
import { useSelect, useDispatch } from '@wordpress/data';
|
|
23
24
|
import { __ } from '@wordpress/i18n';
|
|
@@ -100,72 +101,82 @@ function PostAuthorEdit( {
|
|
|
100
101
|
<>
|
|
101
102
|
<InspectorControls>
|
|
102
103
|
<PanelBody title={ __( 'Settings' ) }>
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
104
|
+
<VStack
|
|
105
|
+
spacing={ 4 }
|
|
106
|
+
className="wp-block-post-author__inspector-settings"
|
|
107
|
+
>
|
|
108
|
+
{ showAuthorControl &&
|
|
109
|
+
( ( showCombobox && (
|
|
110
|
+
<ComboboxControl
|
|
111
|
+
__next40pxDefaultSize
|
|
112
|
+
__nextHasNoMarginBottom
|
|
113
|
+
label={ __( 'Author' ) }
|
|
114
|
+
options={ authorOptions }
|
|
115
|
+
value={ authorId }
|
|
116
|
+
onChange={ handleSelect }
|
|
117
|
+
allowReset={ false }
|
|
118
|
+
/>
|
|
119
|
+
) ) || (
|
|
120
|
+
<SelectControl
|
|
121
|
+
__next40pxDefaultSize
|
|
122
|
+
__nextHasNoMarginBottom
|
|
123
|
+
label={ __( 'Author' ) }
|
|
124
|
+
value={ authorId }
|
|
125
|
+
options={ authorOptions }
|
|
126
|
+
onChange={ handleSelect }
|
|
127
|
+
/>
|
|
128
|
+
) ) }
|
|
129
|
+
<ToggleControl
|
|
130
|
+
__nextHasNoMarginBottom
|
|
131
|
+
label={ __( 'Show avatar' ) }
|
|
132
|
+
checked={ showAvatar }
|
|
133
|
+
onChange={ () =>
|
|
134
|
+
setAttributes( { showAvatar: ! showAvatar } )
|
|
135
|
+
}
|
|
136
|
+
/>
|
|
137
|
+
{ showAvatar && (
|
|
114
138
|
<SelectControl
|
|
139
|
+
__next40pxDefaultSize
|
|
115
140
|
__nextHasNoMarginBottom
|
|
116
|
-
label={ __( '
|
|
117
|
-
value={
|
|
118
|
-
options={
|
|
119
|
-
onChange={
|
|
141
|
+
label={ __( 'Avatar size' ) }
|
|
142
|
+
value={ attributes.avatarSize }
|
|
143
|
+
options={ avatarSizes }
|
|
144
|
+
onChange={ ( size ) => {
|
|
145
|
+
setAttributes( {
|
|
146
|
+
avatarSize: Number( size ),
|
|
147
|
+
} );
|
|
148
|
+
} }
|
|
120
149
|
/>
|
|
121
|
-
)
|
|
122
|
-
|
|
123
|
-
__nextHasNoMarginBottom
|
|
124
|
-
label={ __( 'Show avatar' ) }
|
|
125
|
-
checked={ showAvatar }
|
|
126
|
-
onChange={ () =>
|
|
127
|
-
setAttributes( { showAvatar: ! showAvatar } )
|
|
128
|
-
}
|
|
129
|
-
/>
|
|
130
|
-
{ showAvatar && (
|
|
131
|
-
<SelectControl
|
|
150
|
+
) }
|
|
151
|
+
<ToggleControl
|
|
132
152
|
__nextHasNoMarginBottom
|
|
133
|
-
label={ __( '
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
avatarSize: Number( size ),
|
|
139
|
-
} );
|
|
140
|
-
} }
|
|
153
|
+
label={ __( 'Show bio' ) }
|
|
154
|
+
checked={ showBio }
|
|
155
|
+
onChange={ () =>
|
|
156
|
+
setAttributes( { showBio: ! showBio } )
|
|
157
|
+
}
|
|
141
158
|
/>
|
|
142
|
-
) }
|
|
143
|
-
<ToggleControl
|
|
144
|
-
__nextHasNoMarginBottom
|
|
145
|
-
label={ __( 'Show bio' ) }
|
|
146
|
-
checked={ showBio }
|
|
147
|
-
onChange={ () =>
|
|
148
|
-
setAttributes( { showBio: ! showBio } )
|
|
149
|
-
}
|
|
150
|
-
/>
|
|
151
|
-
<ToggleControl
|
|
152
|
-
__nextHasNoMarginBottom
|
|
153
|
-
label={ __( 'Link author name to author page' ) }
|
|
154
|
-
checked={ isLink }
|
|
155
|
-
onChange={ () => setAttributes( { isLink: ! isLink } ) }
|
|
156
|
-
/>
|
|
157
|
-
{ isLink && (
|
|
158
159
|
<ToggleControl
|
|
159
160
|
__nextHasNoMarginBottom
|
|
160
|
-
label={ __( '
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
} )
|
|
161
|
+
label={ __( 'Link author name to author page' ) }
|
|
162
|
+
checked={ isLink }
|
|
163
|
+
onChange={ () =>
|
|
164
|
+
setAttributes( { isLink: ! isLink } )
|
|
165
165
|
}
|
|
166
|
-
checked={ linkTarget === '_blank' }
|
|
167
166
|
/>
|
|
168
|
-
|
|
167
|
+
{ isLink && (
|
|
168
|
+
<ToggleControl
|
|
169
|
+
__nextHasNoMarginBottom
|
|
170
|
+
label={ __( 'Open in new tab' ) }
|
|
171
|
+
onChange={ ( value ) =>
|
|
172
|
+
setAttributes( {
|
|
173
|
+
linkTarget: value ? '_blank' : '_self',
|
|
174
|
+
} )
|
|
175
|
+
}
|
|
176
|
+
checked={ linkTarget === '_blank' }
|
|
177
|
+
/>
|
|
178
|
+
) }
|
|
179
|
+
</VStack>
|
|
169
180
|
</PanelBody>
|
|
170
181
|
</InspectorControls>
|
|
171
182
|
|
|
@@ -43,6 +43,19 @@
|
|
|
43
43
|
},
|
|
44
44
|
"interactivity": {
|
|
45
45
|
"clientNavigation": true
|
|
46
|
+
},
|
|
47
|
+
"__experimentalBorder": {
|
|
48
|
+
"radius": true,
|
|
49
|
+
"color": true,
|
|
50
|
+
"width": true,
|
|
51
|
+
"style": true,
|
|
52
|
+
"__experimentalDefaultControls": {
|
|
53
|
+
"radius": true,
|
|
54
|
+
"color": true,
|
|
55
|
+
"width": true,
|
|
56
|
+
"style": true
|
|
57
|
+
}
|
|
46
58
|
}
|
|
47
|
-
}
|
|
59
|
+
},
|
|
60
|
+
"style": "wp-block-post-author-biography"
|
|
48
61
|
}
|
|
@@ -53,6 +53,19 @@
|
|
|
53
53
|
},
|
|
54
54
|
"interactivity": {
|
|
55
55
|
"clientNavigation": true
|
|
56
|
+
},
|
|
57
|
+
"__experimentalBorder": {
|
|
58
|
+
"radius": true,
|
|
59
|
+
"color": true,
|
|
60
|
+
"width": true,
|
|
61
|
+
"style": true,
|
|
62
|
+
"__experimentalDefaultControls": {
|
|
63
|
+
"radius": true,
|
|
64
|
+
"color": true,
|
|
65
|
+
"width": true,
|
|
66
|
+
"style": true
|
|
67
|
+
}
|
|
56
68
|
}
|
|
57
|
-
}
|
|
69
|
+
},
|
|
70
|
+
"style": "wp-block-post-author-name"
|
|
58
71
|
}
|
package/src/post-comment/edit.js
CHANGED
|
@@ -34,6 +34,7 @@ export default function Edit( { attributes: { commentId }, setAttributes } ) {
|
|
|
34
34
|
) }
|
|
35
35
|
>
|
|
36
36
|
<TextControl
|
|
37
|
+
__next40pxDefaultSize
|
|
37
38
|
__nextHasNoMarginBottom
|
|
38
39
|
value={ commentId }
|
|
39
40
|
onChange={ ( val ) =>
|
|
@@ -42,6 +43,7 @@ export default function Edit( { attributes: { commentId }, setAttributes } ) {
|
|
|
42
43
|
/>
|
|
43
44
|
|
|
44
45
|
<Button
|
|
46
|
+
__next40pxDefaultSize
|
|
45
47
|
variant="primary"
|
|
46
48
|
onClick={ () => {
|
|
47
49
|
setAttributes( { commentId: commentIdInput } );
|
package/src/post-excerpt/edit.js
CHANGED
|
@@ -134,6 +134,8 @@ const DimensionControls = ( {
|
|
|
134
134
|
panelId={ clientId }
|
|
135
135
|
>
|
|
136
136
|
<SelectControl
|
|
137
|
+
// TODO: Switch to `true` (40px size) if possible
|
|
138
|
+
__next40pxDefaultSize={ false }
|
|
137
139
|
__nextHasNoMarginBottom
|
|
138
140
|
label={ __( 'Aspect ratio' ) }
|
|
139
141
|
value={ aspectRatio }
|
|
@@ -203,6 +205,7 @@ const DimensionControls = ( {
|
|
|
203
205
|
panelId={ clientId }
|
|
204
206
|
>
|
|
205
207
|
<ToggleGroupControl
|
|
208
|
+
__next40pxDefaultSize
|
|
206
209
|
__nextHasNoMarginBottom
|
|
207
210
|
label={ scaleLabel }
|
|
208
211
|
value={ scale }
|
|
@@ -232,6 +235,8 @@ const DimensionControls = ( {
|
|
|
232
235
|
panelId={ clientId }
|
|
233
236
|
>
|
|
234
237
|
<SelectControl
|
|
238
|
+
// TODO: Switch to `true` (40px size) if possible
|
|
239
|
+
__next40pxDefaultSize={ false }
|
|
235
240
|
__nextHasNoMarginBottom
|
|
236
241
|
label={ __( 'Resolution' ) }
|
|
237
242
|
value={ sizeSlug || DEFAULT_SIZE }
|
|
@@ -49,8 +49,11 @@ export default function PostNavigationLinkEdit( {
|
|
|
49
49
|
const displayArrow = arrowMap[ arrow ];
|
|
50
50
|
|
|
51
51
|
if ( showTitle ) {
|
|
52
|
-
|
|
53
|
-
|
|
52
|
+
placeholder = isNext
|
|
53
|
+
? /* translators: Label before for next and previous post. There is a space after the colon. */
|
|
54
|
+
__( 'Next: ' ) // eslint-disable-line @wordpress/i18n-no-flanking-whitespace
|
|
55
|
+
: /* translators: Label before for next and previous post. There is a space after the colon. */
|
|
56
|
+
__( 'Previous: ' ); // eslint-disable-line @wordpress/i18n-no-flanking-whitespace
|
|
54
57
|
}
|
|
55
58
|
|
|
56
59
|
const ariaLabel = isNext ? __( 'Next post' ) : __( 'Previous post' );
|
|
@@ -120,6 +123,7 @@ export default function PostNavigationLinkEdit( {
|
|
|
120
123
|
/>
|
|
121
124
|
) }
|
|
122
125
|
<ToggleGroupControl
|
|
126
|
+
__next40pxDefaultSize
|
|
123
127
|
__nextHasNoMarginBottom
|
|
124
128
|
label={ __( 'Arrow' ) }
|
|
125
129
|
value={ arrow }
|
package/src/post-terms/edit.js
CHANGED
package/src/post-title/edit.js
CHANGED
|
@@ -43,6 +43,18 @@
|
|
|
43
43
|
},
|
|
44
44
|
"interactivity": {
|
|
45
45
|
"clientNavigation": true
|
|
46
|
+
},
|
|
47
|
+
"__experimentalBorder": {
|
|
48
|
+
"radius": true,
|
|
49
|
+
"color": true,
|
|
50
|
+
"width": true,
|
|
51
|
+
"style": true,
|
|
52
|
+
"__experimentalDefaultControls": {
|
|
53
|
+
"radius": true,
|
|
54
|
+
"color": true,
|
|
55
|
+
"width": true,
|
|
56
|
+
"style": true
|
|
57
|
+
}
|
|
46
58
|
}
|
|
47
59
|
},
|
|
48
60
|
"style": "wp-block-preformatted"
|
|
@@ -109,7 +109,7 @@ export default function QueryContent( {
|
|
|
109
109
|
} );
|
|
110
110
|
const htmlElementMessages = {
|
|
111
111
|
main: __(
|
|
112
|
-
'The <main> element should be used for the primary content of your document only.
|
|
112
|
+
'The <main> element should be used for the primary content of your document only.'
|
|
113
113
|
),
|
|
114
114
|
section: __(
|
|
115
115
|
"The <section> element should represent a standalone portion of the document that can't be better represented by another element."
|
|
@@ -58,6 +58,18 @@
|
|
|
58
58
|
},
|
|
59
59
|
"interactivity": {
|
|
60
60
|
"clientNavigation": true
|
|
61
|
+
},
|
|
62
|
+
"__experimentalBorder": {
|
|
63
|
+
"radius": true,
|
|
64
|
+
"color": true,
|
|
65
|
+
"width": true,
|
|
66
|
+
"style": true,
|
|
67
|
+
"__experimentalDefaultControls": {
|
|
68
|
+
"radius": true,
|
|
69
|
+
"color": true,
|
|
70
|
+
"width": true,
|
|
71
|
+
"style": true
|
|
72
|
+
}
|
|
61
73
|
}
|
|
62
74
|
},
|
|
63
75
|
"style": "wp-block-query-title"
|
package/src/quote/block.json
CHANGED
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
|
|
15
15
|
const block = 'Quote';
|
|
16
16
|
const initialHtml = `
|
|
17
|
-
<!-- wp:quote {"
|
|
17
|
+
<!-- wp:quote {"textAlign":"left","className":"is-style-large"} -->
|
|
18
18
|
<blockquote class="wp-block-quote has-text-align-left is-style-large"><!-- wp:paragraph -->
|
|
19
19
|
<p>"This will make running your own blog a viable alternative again."</p>
|
|
20
20
|
<!-- /wp:paragraph --><cite>— <a href="https://twitter.com/azumbrunnen_/status/1019347243084800005">Adrian Zumbrunnen</a></cite></blockquote>
|
package/src/quote/transforms.js
CHANGED
|
@@ -9,10 +9,18 @@ const transforms = {
|
|
|
9
9
|
{
|
|
10
10
|
type: 'block',
|
|
11
11
|
blocks: [ 'core/pullquote' ],
|
|
12
|
-
transform: ( {
|
|
12
|
+
transform: ( {
|
|
13
|
+
value,
|
|
14
|
+
align,
|
|
15
|
+
citation,
|
|
16
|
+
anchor,
|
|
17
|
+
fontSize,
|
|
18
|
+
style,
|
|
19
|
+
} ) => {
|
|
13
20
|
return createBlock(
|
|
14
21
|
'core/quote',
|
|
15
22
|
{
|
|
23
|
+
align,
|
|
16
24
|
citation,
|
|
17
25
|
anchor,
|
|
18
26
|
fontSize,
|
|
@@ -95,7 +103,7 @@ const transforms = {
|
|
|
95
103
|
);
|
|
96
104
|
},
|
|
97
105
|
transform: (
|
|
98
|
-
{ citation, anchor, fontSize, style },
|
|
106
|
+
{ align, citation, anchor, fontSize, style },
|
|
99
107
|
innerBlocks
|
|
100
108
|
) => {
|
|
101
109
|
const value = innerBlocks
|
|
@@ -103,6 +111,7 @@ const transforms = {
|
|
|
103
111
|
.join( '<br>' );
|
|
104
112
|
return createBlock( 'core/pullquote', {
|
|
105
113
|
value,
|
|
114
|
+
align,
|
|
106
115
|
citation,
|
|
107
116
|
anchor,
|
|
108
117
|
fontSize,
|
package/src/search/edit.js
CHANGED
|
@@ -28,7 +28,7 @@ import {
|
|
|
28
28
|
ToolbarButton,
|
|
29
29
|
ResizableBox,
|
|
30
30
|
PanelBody,
|
|
31
|
-
|
|
31
|
+
__experimentalVStack as VStack,
|
|
32
32
|
__experimentalUseCustomUnits as useCustomUnits,
|
|
33
33
|
__experimentalUnitControl as UnitControl,
|
|
34
34
|
} from '@wordpress/components';
|
|
@@ -408,12 +408,14 @@ export default function SearchEdit( {
|
|
|
408
408
|
|
|
409
409
|
<InspectorControls>
|
|
410
410
|
<PanelBody title={ __( 'Settings' ) }>
|
|
411
|
-
<
|
|
412
|
-
|
|
413
|
-
|
|
411
|
+
<VStack
|
|
412
|
+
className="wp-block-search__inspector-controls"
|
|
413
|
+
spacing={ 4 }
|
|
414
414
|
>
|
|
415
415
|
<UnitControl
|
|
416
|
-
|
|
416
|
+
__next40pxDefaultSize
|
|
417
|
+
label={ __( 'Width' ) }
|
|
418
|
+
id={ unitControlInputId } // unused, kept for backwards compatibility
|
|
417
419
|
min={
|
|
418
420
|
isPercentageUnit( widthUnit ) ? 0 : MIN_WIDTH
|
|
419
421
|
}
|
|
@@ -427,7 +429,6 @@ export default function SearchEdit( {
|
|
|
427
429
|
parseInt( newWidth, 10 ) > 100
|
|
428
430
|
? 100
|
|
429
431
|
: newWidth;
|
|
430
|
-
|
|
431
432
|
setAttributes( {
|
|
432
433
|
width: parseInt( filteredWidth, 10 ),
|
|
433
434
|
} );
|
|
@@ -445,9 +446,8 @@ export default function SearchEdit( {
|
|
|
445
446
|
value={ `${ width }${ widthUnit }` }
|
|
446
447
|
units={ units }
|
|
447
448
|
/>
|
|
448
|
-
|
|
449
449
|
<ButtonGroup
|
|
450
|
-
className="wp-block-search__components-button-group"
|
|
450
|
+
className="wp-block-search__components-button-group" // unused, kept for backwards compatibility
|
|
451
451
|
aria-label={ __( 'Percentage Width' ) }
|
|
452
452
|
>
|
|
453
453
|
{ [ 25, 50, 75, 100 ].map( ( widthValue ) => {
|
|
@@ -473,7 +473,7 @@ export default function SearchEdit( {
|
|
|
473
473
|
);
|
|
474
474
|
} ) }
|
|
475
475
|
</ButtonGroup>
|
|
476
|
-
</
|
|
476
|
+
</VStack>
|
|
477
477
|
</PanelBody>
|
|
478
478
|
</InspectorControls>
|
|
479
479
|
</>
|
package/src/search/editor.scss
CHANGED
|
@@ -15,8 +15,11 @@
|
|
|
15
15
|
justify-content: center;
|
|
16
16
|
text-align: center;
|
|
17
17
|
}
|
|
18
|
+
}
|
|
18
19
|
|
|
19
|
-
|
|
20
|
-
|
|
20
|
+
.wp-block-search__inspector-controls {
|
|
21
|
+
.components-base-control {
|
|
22
|
+
// Counteract the margin added by the block inspector.
|
|
23
|
+
margin-bottom: 0;
|
|
21
24
|
}
|
|
22
25
|
}
|
package/src/social-link/edit.js
CHANGED
|
@@ -139,6 +139,7 @@ const SocialLinkEdit = ( {
|
|
|
139
139
|
<PanelBody title={ __( 'Settings' ) }>
|
|
140
140
|
<PanelRow>
|
|
141
141
|
<TextControl
|
|
142
|
+
__next40pxDefaultSize
|
|
142
143
|
__nextHasNoMarginBottom
|
|
143
144
|
label={ __( 'Text' ) }
|
|
144
145
|
help={ __(
|
|
@@ -155,6 +156,7 @@ const SocialLinkEdit = ( {
|
|
|
155
156
|
</InspectorControls>
|
|
156
157
|
<InspectorControls group="advanced">
|
|
157
158
|
<TextControl
|
|
159
|
+
__next40pxDefaultSize
|
|
158
160
|
__nextHasNoMarginBottom
|
|
159
161
|
label={ __( 'Link rel' ) }
|
|
160
162
|
value={ rel || '' }
|
package/src/style.scss
CHANGED
|
@@ -10,6 +10,9 @@
|
|
|
10
10
|
@import "./comments/style.scss";
|
|
11
11
|
@import "./comments-pagination/style.scss";
|
|
12
12
|
@import "./comment-template/style.scss";
|
|
13
|
+
@import "./comment-date/style.scss";
|
|
14
|
+
@import "./comment-content/style.scss";
|
|
15
|
+
@import "./comment-author-name/style.scss";
|
|
13
16
|
@import "./cover/style.scss";
|
|
14
17
|
@import "./details/style.scss";
|
|
15
18
|
@import "./embed/style.scss";
|
|
@@ -29,6 +32,7 @@
|
|
|
29
32
|
@import "./page-list/style.scss";
|
|
30
33
|
@import "./paragraph/style.scss";
|
|
31
34
|
@import "./post-author/style.scss";
|
|
35
|
+
@import "./post-author-biography/style.scss";
|
|
32
36
|
@import "./post-comments-form/style.scss";
|
|
33
37
|
@import "./post-content/style.scss";
|
|
34
38
|
@import "./post-date/style.scss";
|
|
@@ -38,6 +42,7 @@
|
|
|
38
42
|
@import "./post-terms/style.scss";
|
|
39
43
|
@import "./post-time-to-read/style.scss";
|
|
40
44
|
@import "./post-title/style.scss";
|
|
45
|
+
@import "./post-author-name/style.scss";
|
|
41
46
|
@import "./preformatted/style.scss";
|
|
42
47
|
@import "./pullquote/style.scss";
|
|
43
48
|
@import "./post-template/style.scss";
|
package/src/table/edit.js
CHANGED
|
@@ -95,7 +95,7 @@ function TableEdit( {
|
|
|
95
95
|
attributes,
|
|
96
96
|
setAttributes,
|
|
97
97
|
insertBlocksAfter,
|
|
98
|
-
isSelected,
|
|
98
|
+
isSelected: isSingleSelected,
|
|
99
99
|
} ) {
|
|
100
100
|
const { hasFixedLayout, head, foot } = attributes;
|
|
101
101
|
const [ initialRowCount, setInitialRowCount ] = useState( 2 );
|
|
@@ -340,10 +340,10 @@ function TableEdit( {
|
|
|
340
340
|
}
|
|
341
341
|
|
|
342
342
|
useEffect( () => {
|
|
343
|
-
if ( !
|
|
343
|
+
if ( ! isSingleSelected ) {
|
|
344
344
|
setSelectedCell();
|
|
345
345
|
}
|
|
346
|
-
}, [
|
|
346
|
+
}, [ isSingleSelected ] );
|
|
347
347
|
|
|
348
348
|
useEffect( () => {
|
|
349
349
|
if ( hasTableCreated ) {
|
|
@@ -565,9 +565,10 @@ function TableEdit( {
|
|
|
565
565
|
<Caption
|
|
566
566
|
attributes={ attributes }
|
|
567
567
|
setAttributes={ setAttributes }
|
|
568
|
-
isSelected={
|
|
568
|
+
isSelected={ isSingleSelected }
|
|
569
569
|
insertBlocksAfter={ insertBlocksAfter }
|
|
570
570
|
label={ __( 'Table caption text' ) }
|
|
571
|
+
showToolbarButton={ isSingleSelected }
|
|
571
572
|
/>
|
|
572
573
|
) }
|
|
573
574
|
</figure>
|
package/src/tag-cloud/block.json
CHANGED
|
@@ -51,6 +51,18 @@
|
|
|
51
51
|
},
|
|
52
52
|
"interactivity": {
|
|
53
53
|
"clientNavigation": true
|
|
54
|
+
},
|
|
55
|
+
"__experimentalBorder": {
|
|
56
|
+
"radius": true,
|
|
57
|
+
"color": true,
|
|
58
|
+
"width": true,
|
|
59
|
+
"style": true,
|
|
60
|
+
"__experimentalDefaultControls": {
|
|
61
|
+
"radius": true,
|
|
62
|
+
"color": true,
|
|
63
|
+
"width": true,
|
|
64
|
+
"style": true
|
|
65
|
+
}
|
|
54
66
|
}
|
|
55
67
|
},
|
|
56
68
|
"editorStyle": "wp-block-tag-cloud-editor"
|