@wordpress/block-library 9.4.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 +8 -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/edit.js +1 -0
- package/build/avatar/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/categories/index.js +12 -0
- package/build/categories/index.js.map +1 -1
- package/build/column/edit.js +2 -2
- package/build/column/edit.js.map +1 -1
- package/build/column/index.js +2 -0
- package/build/column/index.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/comment-template/index.js +12 -0
- package/build/comment-template/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/comments-title/deprecated.js +3 -0
- package/build/comments-title/deprecated.js.map +1 -1
- package/build/comments-title/edit.js +3 -1
- package/build/comments-title/edit.js.map +1 -1
- package/build/comments-title/index.js +3 -0
- package/build/comments-title/index.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/details/edit.js +1 -0
- package/build/details/edit.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 +6 -4
- package/build/form/edit.js.map +1 -1
- package/build/form-input/edit.js +2 -0
- package/build/form-input/edit.js.map +1 -1
- package/build/gallery/edit.js +44 -14
- 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/gallery/gap-styles.js +1 -9
- package/build/gallery/gap-styles.js.map +1 -1
- package/build/gallery/use-image-sizes.js +2 -2
- package/build/gallery/use-image-sizes.js.map +1 -1
- package/build/group/edit.js +1 -1
- package/build/group/edit.js.map +1 -1
- package/build/group/index.js +27 -30
- package/build/group/index.js.map +1 -1
- package/build/group/variations.js +51 -3
- package/build/group/variations.js.map +1 -1
- package/build/heading/edit.js +2 -0
- package/build/heading/edit.js.map +1 -1
- package/build/heading/index.js +3 -0
- package/build/heading/index.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/image/view.js +1 -1
- package/build/image/view.js.map +1 -1
- package/build/latest-posts/edit.js +38 -11
- package/build/latest-posts/edit.js.map +1 -1
- package/build/list/index.js +10 -1
- package/build/list/index.js.map +1 -1
- package/build/list/ordered-list-settings.js +19 -17
- package/build/list/ordered-list-settings.js.map +1 -1
- package/build/list-item/index.js +11 -3
- package/build/list-item/index.js.map +1 -1
- package/build/loginout/index.js +14 -1
- package/build/loginout/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 +8 -8
- 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-comments-form/index.js +12 -0
- package/build/post-comments-form/index.js.map +1 -1
- package/build/post-content/index.js +1 -0
- package/build/post-content/index.js.map +1 -1
- package/build/post-date/index.js +12 -0
- package/build/post-date/index.js.map +1 -1
- package/build/post-excerpt/edit.js +1 -0
- package/build/post-excerpt/edit.js.map +1 -1
- package/build/post-excerpt/index.js +12 -0
- package/build/post-excerpt/index.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 +7 -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-terms/index.js +12 -0
- package/build/post-terms/index.js.map +1 -1
- package/build/post-time-to-read/index.js +6 -0
- package/build/post-time-to-read/index.js.map +1 -1
- package/build/post-title/edit.js +5 -2
- package/build/post-title/edit.js.map +1 -1
- package/build/post-title/index.js +15 -0
- package/build/post-title/index.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/enhanced-pagination-control.js +1 -0
- package/build/query/edit/inspector-controls/enhanced-pagination-control.js.map +1 -1
- package/build/query/edit/inspector-controls/index.js +69 -9
- package/build/query/edit/inspector-controls/index.js.map +1 -1
- package/build/query/edit/inspector-controls/offset-controls.js +37 -0
- package/build/query/edit/inspector-controls/offset-controls.js.map +1 -0
- package/build/query/edit/inspector-controls/pages-control.js +36 -0
- package/build/query/edit/inspector-controls/pages-control.js.map +1 -0
- 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/inspector-controls/per-page-control.js +40 -0
- package/build/query/edit/inspector-controls/per-page-control.js.map +1 -0
- package/build/query/edit/inspector-controls/sticky-control.js +1 -1
- package/build/query/edit/inspector-controls/sticky-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/edit/query-toolbar.js +3 -76
- package/build/query/edit/query-toolbar.js.map +1 -1
- package/build/query/utils.js +10 -5
- package/build/query/utils.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/edit.js +2 -0
- package/build/query-title/edit.js.map +1 -1
- package/build/query-title/index.js +15 -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/site-logo/edit.js +15 -8
- package/build/site-logo/edit.js.map +1 -1
- package/build/site-tagline/edit.js +3 -3
- package/build/site-tagline/edit.js.map +1 -1
- package/build/site-tagline/index.js +12 -1
- package/build/site-tagline/index.js.map +1 -1
- package/build/site-title/edit.js +2 -2
- package/build/site-title/edit.js.map +1 -1
- package/build/site-title/index.js +10 -0
- package/build/site-title/index.js.map +1 -1
- package/build/social-link/edit.js +2 -1
- package/build/social-link/edit.js.map +1 -1
- package/build/spacer/controls.js +8 -13
- package/build/spacer/controls.js.map +1 -1
- package/build/table/edit.js +6 -5
- package/build/table/edit.js.map +1 -1
- package/build/table-of-contents/index.js +14 -1
- package/build/table-of-contents/index.js.map +1 -1
- package/build/tag-cloud/edit.js +69 -52
- package/build/tag-cloud/edit.js.map +1 -1
- package/build/tag-cloud/index.js +13 -1
- 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/template-part/edit/index.js +7 -6
- package/build/template-part/edit/index.js.map +1 -1
- package/build/template-part/edit/inner-blocks.js +6 -4
- package/build/template-part/edit/inner-blocks.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/edit.js +1 -0
- package/build-module/avatar/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/categories/index.js +12 -0
- package/build-module/categories/index.js.map +1 -1
- package/build-module/column/edit.js +2 -2
- package/build-module/column/edit.js.map +1 -1
- package/build-module/column/index.js +2 -0
- package/build-module/column/index.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/comment-template/index.js +12 -0
- package/build-module/comment-template/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/comments-title/deprecated.js +3 -0
- package/build-module/comments-title/deprecated.js.map +1 -1
- package/build-module/comments-title/edit.js +3 -1
- package/build-module/comments-title/edit.js.map +1 -1
- package/build-module/comments-title/index.js +3 -0
- package/build-module/comments-title/index.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/details/edit.js +1 -0
- package/build-module/details/edit.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 +6 -4
- package/build-module/form/edit.js.map +1 -1
- package/build-module/form-input/edit.js +2 -0
- package/build-module/form-input/edit.js.map +1 -1
- package/build-module/gallery/edit.js +45 -15
- 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/gallery/gap-styles.js +1 -9
- package/build-module/gallery/gap-styles.js.map +1 -1
- package/build-module/gallery/use-image-sizes.js +2 -2
- package/build-module/gallery/use-image-sizes.js.map +1 -1
- package/build-module/group/edit.js +1 -1
- package/build-module/group/edit.js.map +1 -1
- package/build-module/group/index.js +27 -30
- package/build-module/group/index.js.map +1 -1
- package/build-module/group/variations.js +51 -3
- package/build-module/group/variations.js.map +1 -1
- package/build-module/heading/edit.js +2 -0
- package/build-module/heading/edit.js.map +1 -1
- package/build-module/heading/index.js +3 -0
- package/build-module/heading/index.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/image/view.js +1 -1
- package/build-module/image/view.js.map +1 -1
- package/build-module/latest-posts/edit.js +41 -14
- package/build-module/latest-posts/edit.js.map +1 -1
- package/build-module/list/index.js +10 -1
- package/build-module/list/index.js.map +1 -1
- package/build-module/list/ordered-list-settings.js +19 -17
- package/build-module/list/ordered-list-settings.js.map +1 -1
- package/build-module/list-item/index.js +11 -3
- package/build-module/list-item/index.js.map +1 -1
- package/build-module/loginout/index.js +14 -1
- package/build-module/loginout/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 +8 -8
- 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-comments-form/index.js +12 -0
- package/build-module/post-comments-form/index.js.map +1 -1
- package/build-module/post-content/index.js +1 -0
- package/build-module/post-content/index.js.map +1 -1
- package/build-module/post-date/index.js +12 -0
- package/build-module/post-date/index.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-excerpt/index.js +12 -0
- package/build-module/post-excerpt/index.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 +7 -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-terms/index.js +12 -0
- package/build-module/post-terms/index.js.map +1 -1
- package/build-module/post-time-to-read/index.js +6 -0
- package/build-module/post-time-to-read/index.js.map +1 -1
- package/build-module/post-title/edit.js +5 -2
- package/build-module/post-title/edit.js.map +1 -1
- package/build-module/post-title/index.js +15 -0
- package/build-module/post-title/index.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/enhanced-pagination-control.js +1 -0
- package/build-module/query/edit/inspector-controls/enhanced-pagination-control.js.map +1 -1
- package/build-module/query/edit/inspector-controls/index.js +71 -11
- package/build-module/query/edit/inspector-controls/index.js.map +1 -1
- package/build-module/query/edit/inspector-controls/offset-controls.js +29 -0
- package/build-module/query/edit/inspector-controls/offset-controls.js.map +1 -0
- package/build-module/query/edit/inspector-controls/pages-control.js +28 -0
- package/build-module/query/edit/inspector-controls/pages-control.js.map +1 -0
- 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/inspector-controls/per-page-control.js +33 -0
- package/build-module/query/edit/inspector-controls/per-page-control.js.map +1 -0
- package/build-module/query/edit/inspector-controls/sticky-control.js +1 -1
- package/build-module/query/edit/inspector-controls/sticky-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/edit/query-toolbar.js +4 -78
- package/build-module/query/edit/query-toolbar.js.map +1 -1
- package/build-module/query/utils.js +10 -5
- package/build-module/query/utils.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/edit.js +2 -0
- package/build-module/query-title/edit.js.map +1 -1
- package/build-module/query-title/index.js +15 -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/site-logo/edit.js +15 -8
- package/build-module/site-logo/edit.js.map +1 -1
- package/build-module/site-tagline/edit.js +3 -3
- package/build-module/site-tagline/edit.js.map +1 -1
- package/build-module/site-tagline/index.js +12 -1
- package/build-module/site-tagline/index.js.map +1 -1
- package/build-module/site-title/edit.js +2 -2
- package/build-module/site-title/edit.js.map +1 -1
- package/build-module/site-title/index.js +10 -0
- package/build-module/site-title/index.js.map +1 -1
- package/build-module/social-link/edit.js +2 -1
- package/build-module/social-link/edit.js.map +1 -1
- package/build-module/spacer/controls.js +9 -14
- package/build-module/spacer/controls.js.map +1 -1
- package/build-module/table/edit.js +6 -5
- package/build-module/table/edit.js.map +1 -1
- package/build-module/table-of-contents/index.js +14 -1
- package/build-module/table-of-contents/index.js.map +1 -1
- package/build-module/tag-cloud/edit.js +70 -53
- package/build-module/tag-cloud/edit.js.map +1 -1
- package/build-module/tag-cloud/index.js +13 -1
- 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/template-part/edit/index.js +7 -6
- package/build-module/template-part/edit/index.js.map +1 -1
- package/build-module/template-part/edit/inner-blocks.js +6 -4
- package/build-module/template-part/edit/inner-blocks.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 +5 -2
- package/build-style/archives/editor.css +5 -2
- package/build-style/archives/style-rtl.css +5 -2
- package/build-style/archives/style.css +5 -2
- package/build-style/audio/editor-rtl.css +5 -2
- package/build-style/audio/editor.css +5 -2
- package/build-style/audio/style-rtl.css +5 -2
- package/build-style/audio/style.css +5 -2
- package/build-style/audio/theme-rtl.css +5 -2
- package/build-style/audio/theme.css +5 -2
- package/build-style/avatar/editor-rtl.css +5 -2
- package/build-style/avatar/editor.css +5 -2
- package/build-style/avatar/style-rtl.css +5 -2
- package/build-style/avatar/style.css +5 -2
- package/build-style/button/editor-rtl.css +5 -2
- package/build-style/button/editor.css +5 -2
- package/build-style/button/style-rtl.css +5 -2
- package/build-style/button/style.css +5 -2
- package/build-style/buttons/editor-rtl.css +5 -2
- package/build-style/buttons/editor.css +5 -2
- package/build-style/buttons/style-rtl.css +5 -2
- package/build-style/buttons/style.css +5 -2
- package/build-style/calendar/style-rtl.css +5 -2
- package/build-style/calendar/style.css +5 -2
- package/build-style/categories/editor-rtl.css +5 -2
- package/build-style/categories/editor.css +5 -2
- package/build-style/categories/style-rtl.css +5 -2
- package/build-style/categories/style.css +5 -2
- package/build-style/classic-rtl.css +5 -2
- package/build-style/classic.css +5 -2
- package/build-style/code/editor-rtl.css +5 -2
- package/build-style/code/editor.css +5 -2
- package/build-style/code/style-rtl.css +5 -2
- package/build-style/code/style.css +5 -2
- package/build-style/code/theme-rtl.css +5 -2
- package/build-style/code/theme.css +5 -2
- package/build-style/columns/editor-rtl.css +5 -2
- package/build-style/columns/editor.css +5 -2
- package/build-style/columns/style-rtl.css +5 -2
- package/build-style/columns/style.css +5 -2
- package/build-style/comment-author-avatar/editor-rtl.css +5 -2
- package/build-style/comment-author-avatar/editor.css +5 -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 +9 -2
- package/build-style/comment-content/style.css +9 -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 +5 -2
- package/build-style/comment-template/style.css +5 -2
- package/build-style/comments/editor-rtl.css +5 -2
- package/build-style/comments/editor.css +5 -2
- package/build-style/comments/style-rtl.css +5 -2
- package/build-style/comments/style.css +5 -2
- package/build-style/comments-pagination/editor-rtl.css +5 -2
- package/build-style/comments-pagination/editor.css +5 -2
- package/build-style/comments-pagination/style-rtl.css +5 -2
- package/build-style/comments-pagination/style.css +5 -2
- package/build-style/comments-pagination-numbers/editor-rtl.css +5 -2
- package/build-style/comments-pagination-numbers/editor.css +5 -2
- package/build-style/comments-title/editor-rtl.css +5 -2
- package/build-style/comments-title/editor.css +5 -2
- package/build-style/common-rtl.css +5 -2
- package/build-style/common.css +5 -2
- package/build-style/cover/editor-rtl.css +5 -2
- package/build-style/cover/editor.css +5 -2
- package/build-style/cover/style-rtl.css +5 -2
- package/build-style/cover/style.css +5 -2
- package/build-style/details/editor-rtl.css +5 -2
- package/build-style/details/editor.css +5 -2
- package/build-style/details/style-rtl.css +5 -2
- package/build-style/details/style.css +5 -2
- package/build-style/editor-elements-rtl.css +5 -2
- package/build-style/editor-elements.css +5 -2
- package/build-style/editor-rtl.css +47 -45
- package/build-style/editor.css +47 -45
- package/build-style/elements-rtl.css +5 -2
- package/build-style/elements.css +5 -2
- package/build-style/embed/editor-rtl.css +8 -2
- package/build-style/embed/editor.css +8 -2
- package/build-style/embed/style-rtl.css +5 -2
- package/build-style/embed/style.css +5 -2
- package/build-style/embed/theme-rtl.css +5 -2
- package/build-style/embed/theme.css +5 -2
- package/build-style/file/editor-rtl.css +5 -2
- package/build-style/file/editor.css +5 -2
- package/build-style/file/style-rtl.css +5 -2
- package/build-style/file/style.css +5 -2
- package/build-style/footnotes/style-rtl.css +5 -2
- package/build-style/footnotes/style.css +5 -2
- package/build-style/form-input/editor-rtl.css +5 -2
- package/build-style/form-input/editor.css +5 -2
- package/build-style/form-input/style-rtl.css +6 -2
- package/build-style/form-input/style.css +6 -2
- package/build-style/form-submission-notification/editor-rtl.css +5 -2
- package/build-style/form-submission-notification/editor.css +5 -2
- package/build-style/form-submit-button/style-rtl.css +5 -2
- package/build-style/form-submit-button/style.css +5 -2
- package/build-style/freeform/editor-rtl.css +5 -2
- package/build-style/freeform/editor.css +5 -2
- package/build-style/gallery/editor-rtl.css +5 -3
- package/build-style/gallery/editor.css +5 -3
- package/build-style/gallery/style-rtl.css +29 -9
- package/build-style/gallery/style.css +29 -9
- package/build-style/gallery/theme-rtl.css +5 -2
- package/build-style/gallery/theme.css +5 -2
- package/build-style/group/editor-rtl.css +5 -13
- package/build-style/group/editor.css +5 -13
- package/build-style/group/style-rtl.css +5 -2
- package/build-style/group/style.css +5 -2
- package/build-style/group/theme-rtl.css +5 -2
- package/build-style/group/theme.css +5 -2
- package/build-style/heading/style-rtl.css +5 -2
- package/build-style/heading/style.css +5 -2
- package/build-style/html/editor-rtl.css +5 -2
- package/build-style/html/editor.css +5 -2
- package/build-style/image/editor-rtl.css +13 -2
- package/build-style/image/editor.css +13 -2
- package/build-style/image/style-rtl.css +5 -2
- package/build-style/image/style.css +5 -2
- package/build-style/image/theme-rtl.css +5 -2
- package/build-style/image/theme.css +5 -2
- package/build-style/latest-comments/style-rtl.css +5 -2
- package/build-style/latest-comments/style.css +5 -2
- package/build-style/latest-posts/editor-rtl.css +12 -9
- package/build-style/latest-posts/editor.css +12 -9
- package/build-style/latest-posts/style-rtl.css +5 -2
- package/build-style/latest-posts/style.css +5 -2
- package/build-style/list/style-rtl.css +5 -2
- package/build-style/list/style.css +5 -2
- package/build-style/loginout/style-rtl.css +94 -0
- package/build-style/loginout/style.css +94 -0
- package/build-style/media-text/editor-rtl.css +5 -2
- package/build-style/media-text/editor.css +5 -2
- package/build-style/media-text/style-rtl.css +5 -2
- package/build-style/media-text/style.css +5 -2
- package/build-style/more/editor-rtl.css +5 -2
- package/build-style/more/editor.css +5 -2
- package/build-style/navigation/editor-rtl.css +9 -14
- package/build-style/navigation/editor.css +9 -14
- package/build-style/navigation/style-rtl.css +5 -2
- package/build-style/navigation/style.css +5 -2
- package/build-style/navigation-link/editor-rtl.css +5 -5
- package/build-style/navigation-link/editor.css +5 -5
- package/build-style/navigation-link/style-rtl.css +5 -2
- package/build-style/navigation-link/style.css +5 -2
- package/build-style/navigation-submenu/editor-rtl.css +5 -2
- package/build-style/navigation-submenu/editor.css +5 -2
- package/build-style/nextpage/editor-rtl.css +5 -2
- package/build-style/nextpage/editor.css +5 -2
- package/build-style/page-list/editor-rtl.css +5 -2
- package/build-style/page-list/editor.css +5 -2
- package/build-style/page-list/style-rtl.css +5 -2
- package/build-style/page-list/style.css +5 -2
- package/build-style/paragraph/editor-rtl.css +5 -2
- package/build-style/paragraph/editor.css +5 -2
- package/build-style/paragraph/style-rtl.css +5 -2
- package/build-style/paragraph/style.css +5 -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 +6 -2
- package/build-style/post-author/style.css +6 -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 +5 -2
- package/build-style/post-comments-form/editor.css +5 -2
- package/build-style/post-comments-form/style-rtl.css +5 -2
- package/build-style/post-comments-form/style.css +5 -2
- package/build-style/post-content/editor-rtl.css +5 -2
- package/build-style/post-content/editor.css +5 -2
- package/build-style/post-content/style-rtl.css +96 -0
- package/build-style/post-content/style.css +96 -0
- package/build-style/post-date/style-rtl.css +5 -2
- package/build-style/post-date/style.css +5 -2
- package/build-style/post-excerpt/editor-rtl.css +5 -2
- package/build-style/post-excerpt/editor.css +5 -2
- package/build-style/post-excerpt/style-rtl.css +6 -2
- package/build-style/post-excerpt/style.css +6 -2
- package/build-style/post-featured-image/editor-rtl.css +5 -2
- package/build-style/post-featured-image/editor.css +5 -2
- package/build-style/post-featured-image/style-rtl.css +5 -2
- package/build-style/post-featured-image/style.css +5 -2
- package/build-style/post-navigation-link/style-rtl.css +5 -2
- package/build-style/post-navigation-link/style.css +5 -2
- package/build-style/post-template/editor-rtl.css +5 -2
- package/build-style/post-template/editor.css +5 -2
- package/build-style/post-template/style-rtl.css +5 -2
- package/build-style/post-template/style.css +5 -2
- package/build-style/post-terms/style-rtl.css +5 -2
- package/build-style/post-terms/style.css +5 -2
- package/build-style/post-time-to-read/style-rtl.css +5 -2
- package/build-style/post-time-to-read/style.css +5 -2
- package/build-style/post-title/style-rtl.css +5 -2
- package/build-style/post-title/style.css +5 -2
- package/build-style/preformatted/style-rtl.css +5 -2
- package/build-style/preformatted/style.css +5 -2
- package/build-style/pullquote/editor-rtl.css +5 -2
- package/build-style/pullquote/editor.css +5 -2
- package/build-style/pullquote/style-rtl.css +5 -2
- package/build-style/pullquote/style.css +5 -2
- package/build-style/pullquote/theme-rtl.css +5 -2
- package/build-style/pullquote/theme.css +5 -2
- package/build-style/query/editor-rtl.css +5 -2
- package/build-style/query/editor.css +5 -2
- package/build-style/query-pagination/editor-rtl.css +5 -2
- package/build-style/query-pagination/editor.css +5 -2
- package/build-style/query-pagination/style-rtl.css +5 -2
- package/build-style/query-pagination/style.css +5 -2
- package/build-style/query-pagination-numbers/editor-rtl.css +5 -2
- package/build-style/query-pagination-numbers/editor.css +5 -2
- package/build-style/query-title/style-rtl.css +5 -2
- package/build-style/query-title/style.css +5 -2
- package/build-style/quote/style-rtl.css +5 -2
- package/build-style/quote/style.css +5 -2
- package/build-style/quote/theme-rtl.css +8 -5
- package/build-style/quote/theme.css +8 -5
- package/build-style/read-more/style-rtl.css +5 -2
- package/build-style/read-more/style.css +5 -2
- package/build-style/reset-rtl.css +5 -2
- package/build-style/reset.css +5 -2
- package/build-style/rss/editor-rtl.css +5 -2
- package/build-style/rss/editor.css +5 -2
- package/build-style/rss/style-rtl.css +5 -2
- package/build-style/rss/style.css +5 -2
- package/build-style/search/editor-rtl.css +8 -4
- package/build-style/search/editor.css +8 -4
- package/build-style/search/style-rtl.css +5 -2
- package/build-style/search/style.css +5 -2
- package/build-style/search/theme-rtl.css +5 -2
- package/build-style/search/theme.css +5 -2
- package/build-style/separator/editor-rtl.css +5 -2
- package/build-style/separator/editor.css +5 -2
- package/build-style/separator/style-rtl.css +5 -2
- package/build-style/separator/style.css +5 -2
- package/build-style/separator/theme-rtl.css +5 -2
- package/build-style/separator/theme.css +5 -2
- package/build-style/shortcode/editor-rtl.css +5 -2
- package/build-style/shortcode/editor.css +5 -2
- package/build-style/site-logo/editor-rtl.css +5 -2
- package/build-style/site-logo/editor.css +5 -2
- package/build-style/site-logo/style-rtl.css +5 -2
- package/build-style/site-logo/style.css +5 -2
- package/build-style/site-tagline/editor-rtl.css +5 -2
- package/build-style/site-tagline/editor.css +5 -2
- package/build-style/site-tagline/style-rtl.css +94 -0
- package/build-style/site-tagline/style.css +94 -0
- package/build-style/site-title/editor-rtl.css +5 -2
- package/build-style/site-title/editor.css +5 -2
- package/build-style/site-title/style-rtl.css +9 -3
- package/build-style/site-title/style.css +9 -3
- package/build-style/social-link/editor-rtl.css +5 -2
- package/build-style/social-link/editor.css +5 -2
- package/build-style/social-links/editor-rtl.css +5 -2
- package/build-style/social-links/editor.css +5 -2
- package/build-style/social-links/style-rtl.css +5 -2
- package/build-style/social-links/style.css +5 -2
- package/build-style/spacer/editor-rtl.css +5 -2
- package/build-style/spacer/editor.css +5 -2
- package/build-style/spacer/style-rtl.css +5 -2
- package/build-style/spacer/style.css +5 -2
- package/build-style/style-rtl.css +80 -10
- package/build-style/style.css +80 -10
- package/build-style/table/editor-rtl.css +5 -2
- package/build-style/table/editor.css +5 -2
- package/build-style/table/style-rtl.css +5 -2
- package/build-style/table/style.css +5 -2
- package/build-style/table/theme-rtl.css +5 -2
- package/build-style/table/theme.css +5 -2
- package/build-style/table-of-contents/style-rtl.css +94 -0
- package/build-style/table-of-contents/style.css +94 -0
- package/build-style/tag-cloud/editor-rtl.css +102 -0
- package/build-style/tag-cloud/editor.css +102 -0
- package/build-style/tag-cloud/style-rtl.css +5 -2
- package/build-style/tag-cloud/style.css +5 -2
- package/build-style/template-part/editor-rtl.css +5 -6
- package/build-style/template-part/editor.css +5 -6
- package/build-style/template-part/theme-rtl.css +5 -2
- package/build-style/template-part/theme.css +5 -2
- package/build-style/term-description/style-rtl.css +5 -2
- package/build-style/term-description/style.css +5 -2
- package/build-style/text-columns/editor-rtl.css +5 -2
- package/build-style/text-columns/editor.css +5 -2
- package/build-style/text-columns/style-rtl.css +5 -2
- package/build-style/text-columns/style.css +5 -2
- package/build-style/theme-rtl.css +8 -5
- package/build-style/theme.css +8 -5
- package/build-style/verse/style-rtl.css +5 -2
- package/build-style/verse/style.css +5 -2
- package/build-style/video/editor-rtl.css +5 -5
- package/build-style/video/editor.css +5 -5
- package/build-style/video/style-rtl.css +5 -2
- package/build-style/video/style.css +5 -2
- package/build-style/video/theme-rtl.css +5 -2
- package/build-style/video/theme.css +5 -2
- package/package.json +35 -35
- package/src/archives/edit.js +1 -0
- package/src/audio/edit.js +4 -3
- package/src/avatar/edit.js +1 -0
- package/src/avatar/user-control.js +1 -0
- package/src/button/edit.js +1 -0
- package/src/button/index.php +1 -14
- package/src/categories/block.json +12 -0
- package/src/column/block.json +2 -0
- package/src/column/edit.js +2 -2
- 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/comment-template/block.json +12 -0
- package/src/comments-pagination/comments-pagination-arrow-controls.js +1 -0
- package/src/comments-title/block.json +3 -0
- package/src/comments-title/edit.js +8 -1
- package/src/cover/edit/inspector-controls.js +0 -1
- package/src/details/edit.js +1 -0
- package/src/editor.scss +2 -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 +5 -2
- package/src/form-input/edit.js +2 -0
- package/src/form-input/style.scss +1 -0
- package/src/gallery/edit.js +80 -22
- package/src/gallery/editor.scss +1 -2
- package/src/gallery/gallery.native.js +2 -1
- package/src/gallery/gap-styles.js +1 -8
- package/src/gallery/style.scss +33 -7
- package/src/gallery/test/__snapshots__/index.native.js.snap +1 -1
- package/src/gallery/test/index.native.js +5 -5
- package/src/gallery/use-image-sizes.js +2 -2
- package/src/group/edit.js +1 -1
- package/src/group/editor.scss +1 -1
- package/src/group/index.js +26 -29
- package/src/group/variations.js +56 -0
- package/src/heading/block.json +3 -0
- package/src/heading/edit.js +3 -1
- package/src/image/editor.scss +12 -0
- package/src/image/image.js +7 -1
- package/src/image/transforms.js +7 -1
- package/src/image/view.js +1 -1
- package/src/latest-posts/edit.js +61 -17
- package/src/latest-posts/editor.scss +11 -10
- package/src/list/block.json +10 -1
- package/src/list/ordered-list-settings.js +20 -18
- package/src/list/test/edit.native.js +1 -3
- package/src/list-item/block.json +11 -3
- package/src/loginout/block.json +14 -1
- package/src/loginout/style.scss +4 -0
- package/src/media-text/edit.js +0 -1
- package/src/media-text/style.native.scss +2 -0
- package/src/missing/edit.js +12 -18
- package/src/navigation/edit/index.js +8 -8
- 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 -1
- 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-comments-form/block.json +12 -0
- package/src/post-content/block.json +1 -0
- package/src/post-content/style.scss +5 -0
- package/src/post-date/block.json +12 -0
- package/src/post-excerpt/block.json +12 -0
- package/src/post-excerpt/edit.js +1 -0
- package/src/post-excerpt/style.scss +3 -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 +8 -2
- package/src/post-terms/block.json +12 -0
- package/src/post-terms/edit.js +1 -0
- package/src/post-time-to-read/block.json +6 -0
- package/src/post-title/block.json +15 -0
- package/src/post-title/edit.js +5 -3
- package/src/preformatted/block.json +12 -0
- package/src/query/edit/inspector-controls/enhanced-pagination-control.js +1 -0
- package/src/query/edit/inspector-controls/index.js +85 -12
- package/src/query/edit/inspector-controls/offset-controls.js +31 -0
- package/src/query/edit/inspector-controls/pages-control.js +27 -0
- package/src/query/edit/inspector-controls/parent-control.js +1 -0
- package/src/query/edit/inspector-controls/per-page-control.js +33 -0
- package/src/query/edit/inspector-controls/sticky-control.js +1 -1
- package/src/query/edit/query-content.js +1 -1
- package/src/query/edit/query-toolbar.js +1 -90
- package/src/query/utils.js +9 -5
- 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 +15 -0
- package/src/query-title/edit.js +9 -1
- package/src/quote/block.json +1 -0
- package/src/quote/test/transforms.native.js +1 -1
- package/src/quote/theme.scss +5 -3
- package/src/quote/transforms.js +11 -2
- package/src/search/edit.js +9 -9
- package/src/search/editor.scss +5 -2
- package/src/site-logo/edit.js +23 -9
- package/src/site-tagline/block.json +12 -1
- package/src/site-tagline/edit.js +2 -4
- package/src/site-tagline/style.scss +4 -0
- package/src/site-title/block.json +10 -0
- package/src/site-title/edit.js +2 -4
- package/src/site-title/style.scss +7 -2
- package/src/social-link/edit.js +2 -1
- package/src/spacer/controls.js +10 -13
- package/src/style.scss +9 -0
- package/src/table/edit.js +5 -4
- package/src/table-of-contents/block.json +14 -1
- package/src/table-of-contents/style.scss +4 -0
- package/src/tag-cloud/block.json +13 -1
- package/src/tag-cloud/edit.js +80 -56
- package/src/tag-cloud/editor.scss +19 -0
- package/src/template-part/edit/advanced-controls.js +2 -0
- package/src/template-part/edit/index.js +10 -7
- package/src/template-part/edit/inner-blocks.js +6 -4
- 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/editor.scss +0 -4
- package/src/video/tracks-editor.js +3 -0
- package/src/video/transforms.js +5 -1
package/src/heading/edit.js
CHANGED
|
@@ -32,7 +32,8 @@ function HeadingEdit( {
|
|
|
32
32
|
style,
|
|
33
33
|
clientId,
|
|
34
34
|
} ) {
|
|
35
|
-
const { textAlign, content, level, placeholder, anchor } =
|
|
35
|
+
const { textAlign, content, level, levelOptions, placeholder, anchor } =
|
|
36
|
+
attributes;
|
|
36
37
|
const tagName = 'h' + level;
|
|
37
38
|
const blockProps = useBlockProps( {
|
|
38
39
|
className: clsx( {
|
|
@@ -95,6 +96,7 @@ function HeadingEdit( {
|
|
|
95
96
|
<BlockControls group="block">
|
|
96
97
|
<HeadingLevelDropdown
|
|
97
98
|
value={ level }
|
|
99
|
+
options={ levelOptions }
|
|
98
100
|
onChange={ ( newLevel ) =>
|
|
99
101
|
setAttributes( { level: newLevel } )
|
|
100
102
|
}
|
package/src/image/editor.scss
CHANGED
|
@@ -67,12 +67,24 @@ figure.wp-block-image:not(.wp-block) {
|
|
|
67
67
|
top: 50%;
|
|
68
68
|
left: 50%;
|
|
69
69
|
transform: translate(-50%, -50%);
|
|
70
|
+
margin: 0;
|
|
70
71
|
}
|
|
71
72
|
}
|
|
72
73
|
|
|
73
74
|
// Shown while image is being uploded but cannot be previewed.
|
|
74
75
|
.wp-block-image__placeholder {
|
|
75
76
|
aspect-ratio: 4 / 3;
|
|
77
|
+
|
|
78
|
+
// Make placeholder background white so that you can see the spinner on top of it.
|
|
79
|
+
&.has-illustration::before {
|
|
80
|
+
background: $white;
|
|
81
|
+
opacity: 0.8;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
// Reduce opacity of diagonal stroke so that it doesn't obscure the spinner.
|
|
85
|
+
.components-placeholder__illustration {
|
|
86
|
+
opacity: 0.1;
|
|
87
|
+
}
|
|
76
88
|
}
|
|
77
89
|
|
|
78
90
|
// This is necessary for the editor resize handles to accurately work on a non-floated, non-resized, small image.
|
package/src/image/image.js
CHANGED
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import { isBlobURL } from '@wordpress/blob';
|
|
5
5
|
import {
|
|
6
|
+
MenuItem,
|
|
6
7
|
ExternalLink,
|
|
7
8
|
ResizableBox,
|
|
8
9
|
Spinner,
|
|
@@ -597,7 +598,11 @@ export default function Image( {
|
|
|
597
598
|
onSelect={ onSelectImage }
|
|
598
599
|
onSelectURL={ onSelectURL }
|
|
599
600
|
onError={ onUploadError }
|
|
600
|
-
|
|
601
|
+
>
|
|
602
|
+
<MenuItem onClick={ () => onSelectImage( undefined ) }>
|
|
603
|
+
{ __( 'Reset' ) }
|
|
604
|
+
</MenuItem>
|
|
605
|
+
</MediaReplaceFlow>
|
|
601
606
|
</BlockControls>
|
|
602
607
|
) }
|
|
603
608
|
{ isSingleSelected && externalBlob && (
|
|
@@ -690,6 +695,7 @@ export default function Image( {
|
|
|
690
695
|
) }
|
|
691
696
|
renderContent={ () => (
|
|
692
697
|
<TextControl
|
|
698
|
+
__next40pxDefaultSize
|
|
693
699
|
className="wp-block-image__toolbar_content_textarea"
|
|
694
700
|
__nextHasNoMarginBottom
|
|
695
701
|
label={ __( 'Title attribute' ) }
|
package/src/image/transforms.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* WordPress dependencies
|
|
3
3
|
*/
|
|
4
|
-
import { createBlobURL } from '@wordpress/blob';
|
|
4
|
+
import { createBlobURL, isBlobURL } from '@wordpress/blob';
|
|
5
5
|
import { createBlock, getBlockAttributes } from '@wordpress/blocks';
|
|
6
6
|
import { dispatch } from '@wordpress/data';
|
|
7
7
|
import { store as noticesStore } from '@wordpress/notices';
|
|
@@ -123,6 +123,12 @@ const transforms = {
|
|
|
123
123
|
anchor,
|
|
124
124
|
}
|
|
125
125
|
);
|
|
126
|
+
|
|
127
|
+
if ( isBlobURL( attributes.url ) ) {
|
|
128
|
+
attributes.blob = attributes.url;
|
|
129
|
+
delete attributes.url;
|
|
130
|
+
}
|
|
131
|
+
|
|
126
132
|
return createBlock( 'core/image', attributes );
|
|
127
133
|
},
|
|
128
134
|
},
|
package/src/image/view.js
CHANGED
package/src/latest-posts/edit.js
CHANGED
|
@@ -7,7 +7,6 @@ import clsx from 'clsx';
|
|
|
7
7
|
* WordPress dependencies
|
|
8
8
|
*/
|
|
9
9
|
import {
|
|
10
|
-
BaseControl,
|
|
11
10
|
PanelBody,
|
|
12
11
|
Placeholder,
|
|
13
12
|
QueryControls,
|
|
@@ -16,19 +15,28 @@ import {
|
|
|
16
15
|
Spinner,
|
|
17
16
|
ToggleControl,
|
|
18
17
|
ToolbarGroup,
|
|
18
|
+
__experimentalToggleGroupControl as ToggleGroupControl,
|
|
19
|
+
__experimentalToggleGroupControlOptionIcon as ToggleGroupControlOptionIcon,
|
|
19
20
|
} from '@wordpress/components';
|
|
20
21
|
import { __, _x, sprintf } from '@wordpress/i18n';
|
|
21
22
|
import { dateI18n, format, getSettings } from '@wordpress/date';
|
|
22
23
|
import {
|
|
23
24
|
InspectorControls,
|
|
24
|
-
BlockAlignmentToolbar,
|
|
25
25
|
BlockControls,
|
|
26
26
|
__experimentalImageSizeControl as ImageSizeControl,
|
|
27
27
|
useBlockProps,
|
|
28
28
|
store as blockEditorStore,
|
|
29
29
|
} from '@wordpress/block-editor';
|
|
30
30
|
import { useSelect, useDispatch } from '@wordpress/data';
|
|
31
|
-
import {
|
|
31
|
+
import {
|
|
32
|
+
pin,
|
|
33
|
+
list,
|
|
34
|
+
grid,
|
|
35
|
+
alignNone,
|
|
36
|
+
positionLeft,
|
|
37
|
+
positionCenter,
|
|
38
|
+
positionRight,
|
|
39
|
+
} from '@wordpress/icons';
|
|
32
40
|
import { store as coreStore } from '@wordpress/core-data';
|
|
33
41
|
import { store as noticeStore } from '@wordpress/notices';
|
|
34
42
|
import { useInstanceId } from '@wordpress/compose';
|
|
@@ -197,11 +205,35 @@ export default function LatestPostsEdit( { attributes, setAttributes } ) {
|
|
|
197
205
|
setAttributes( { categories: allCategories } );
|
|
198
206
|
};
|
|
199
207
|
|
|
208
|
+
const imageAlignmentOptions = [
|
|
209
|
+
{
|
|
210
|
+
value: 'none',
|
|
211
|
+
icon: alignNone,
|
|
212
|
+
label: __( 'None' ),
|
|
213
|
+
},
|
|
214
|
+
{
|
|
215
|
+
value: 'left',
|
|
216
|
+
icon: positionLeft,
|
|
217
|
+
label: __( 'Left' ),
|
|
218
|
+
},
|
|
219
|
+
{
|
|
220
|
+
value: 'center',
|
|
221
|
+
icon: positionCenter,
|
|
222
|
+
label: __( 'Center' ),
|
|
223
|
+
},
|
|
224
|
+
{
|
|
225
|
+
value: 'right',
|
|
226
|
+
icon: positionRight,
|
|
227
|
+
label: __( 'Right' ),
|
|
228
|
+
},
|
|
229
|
+
];
|
|
230
|
+
|
|
200
231
|
const hasPosts = !! latestPosts?.length;
|
|
201
232
|
const inspectorControls = (
|
|
202
233
|
<InspectorControls>
|
|
203
234
|
<PanelBody title={ __( 'Post content' ) }>
|
|
204
235
|
<ToggleControl
|
|
236
|
+
__nextHasNoMarginBottom
|
|
205
237
|
label={ __( 'Post content' ) }
|
|
206
238
|
checked={ displayPostContent }
|
|
207
239
|
onChange={ ( value ) =>
|
|
@@ -210,6 +242,7 @@ export default function LatestPostsEdit( { attributes, setAttributes } ) {
|
|
|
210
242
|
/>
|
|
211
243
|
{ displayPostContent && (
|
|
212
244
|
<RadioControl
|
|
245
|
+
className="wp-block-latest-posts__post-content-radio"
|
|
213
246
|
label={ __( 'Show:' ) }
|
|
214
247
|
selected={ displayPostContentRadio }
|
|
215
248
|
options={ [
|
|
@@ -302,21 +335,32 @@ export default function LatestPostsEdit( { attributes, setAttributes } ) {
|
|
|
302
335
|
} )
|
|
303
336
|
}
|
|
304
337
|
/>
|
|
305
|
-
<
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
338
|
+
<ToggleGroupControl
|
|
339
|
+
className="editor-latest-posts-image-alignment-control"
|
|
340
|
+
__nextHasNoMarginBottom
|
|
341
|
+
__next40pxDefaultSize
|
|
342
|
+
label={ __( 'Image alignment' ) }
|
|
343
|
+
value={ featuredImageAlign || 'none' }
|
|
344
|
+
onChange={ ( value ) =>
|
|
345
|
+
setAttributes( {
|
|
346
|
+
featuredImageAlign:
|
|
347
|
+
value !== 'none' ? value : undefined,
|
|
348
|
+
} )
|
|
349
|
+
}
|
|
350
|
+
>
|
|
351
|
+
{ imageAlignmentOptions.map(
|
|
352
|
+
( { value, icon, label } ) => {
|
|
353
|
+
return (
|
|
354
|
+
<ToggleGroupControlOptionIcon
|
|
355
|
+
key={ value }
|
|
356
|
+
value={ value }
|
|
357
|
+
icon={ icon }
|
|
358
|
+
label={ label }
|
|
359
|
+
/>
|
|
360
|
+
);
|
|
315
361
|
}
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
/>
|
|
319
|
-
</BaseControl>
|
|
362
|
+
) }
|
|
363
|
+
</ToggleGroupControl>
|
|
320
364
|
<ToggleControl
|
|
321
365
|
__nextHasNoMarginBottom
|
|
322
366
|
label={ __( 'Add link to featured image' ) }
|
|
@@ -9,16 +9,6 @@
|
|
|
9
9
|
display: inline;
|
|
10
10
|
}
|
|
11
11
|
|
|
12
|
-
.editor-latest-posts-image-alignment-control {
|
|
13
|
-
.components-base-control__label {
|
|
14
|
-
display: block;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
.components-toolbar {
|
|
18
|
-
border-radius: $radius-block-ui;
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
|
|
22
12
|
:root :where(.wp-block-latest-posts) {
|
|
23
13
|
padding-left: 2.5em;
|
|
24
14
|
}
|
|
@@ -28,3 +18,14 @@
|
|
|
28
18
|
padding-left: 0;
|
|
29
19
|
}
|
|
30
20
|
}
|
|
21
|
+
|
|
22
|
+
// Apply the same styles that would be applied to
|
|
23
|
+
// ".block-editor-block-inspector .components-base-control"
|
|
24
|
+
// (see packages/block-editor/src/components/block-inspector/style.scss)
|
|
25
|
+
.wp-block-latest-posts__post-content-radio {
|
|
26
|
+
margin-bottom: #{ $grid-unit-30 };
|
|
27
|
+
|
|
28
|
+
&:last-child {
|
|
29
|
+
margin-bottom: $grid-unit-10;
|
|
30
|
+
}
|
|
31
|
+
}
|
package/src/list/block.json
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
"title": "List",
|
|
6
6
|
"category": "text",
|
|
7
7
|
"allowedBlocks": [ "core/list-item" ],
|
|
8
|
-
"description": "
|
|
8
|
+
"description": "An organized collection of items displayed in a specific order.",
|
|
9
9
|
"keywords": [ "bullet list", "ordered list", "numbered list" ],
|
|
10
10
|
"textdomain": "default",
|
|
11
11
|
"attributes": {
|
|
@@ -39,6 +39,12 @@
|
|
|
39
39
|
"supports": {
|
|
40
40
|
"anchor": true,
|
|
41
41
|
"html": false,
|
|
42
|
+
"__experimentalBorder": {
|
|
43
|
+
"color": true,
|
|
44
|
+
"radius": true,
|
|
45
|
+
"style": true,
|
|
46
|
+
"width": true
|
|
47
|
+
},
|
|
42
48
|
"typography": {
|
|
43
49
|
"fontSize": true,
|
|
44
50
|
"lineHeight": true,
|
|
@@ -75,6 +81,9 @@
|
|
|
75
81
|
"clientNavigation": true
|
|
76
82
|
}
|
|
77
83
|
},
|
|
84
|
+
"selectors": {
|
|
85
|
+
"border": ".wp-block-list:not(.wp-block-list .wp-block-list)"
|
|
86
|
+
},
|
|
78
87
|
"editorStyle": "wp-block-list-editor",
|
|
79
88
|
"style": "wp-block-list"
|
|
80
89
|
}
|
|
@@ -13,25 +13,10 @@ import {
|
|
|
13
13
|
const OrderedListSettings = ( { setAttributes, reversed, start, type } ) => (
|
|
14
14
|
<InspectorControls>
|
|
15
15
|
<PanelBody title={ __( 'Settings' ) }>
|
|
16
|
-
<TextControl
|
|
17
|
-
__nextHasNoMarginBottom
|
|
18
|
-
label={ __( 'Start value' ) }
|
|
19
|
-
type="number"
|
|
20
|
-
onChange={ ( value ) => {
|
|
21
|
-
const int = parseInt( value, 10 );
|
|
22
|
-
|
|
23
|
-
setAttributes( {
|
|
24
|
-
// It should be possible to unset the value,
|
|
25
|
-
// e.g. with an empty string.
|
|
26
|
-
start: isNaN( int ) ? undefined : int,
|
|
27
|
-
} );
|
|
28
|
-
} }
|
|
29
|
-
value={ Number.isInteger( start ) ? start.toString( 10 ) : '' }
|
|
30
|
-
step="1"
|
|
31
|
-
/>
|
|
32
16
|
<SelectControl
|
|
17
|
+
__next40pxDefaultSize
|
|
33
18
|
__nextHasNoMarginBottom
|
|
34
|
-
label={ __( '
|
|
19
|
+
label={ __( 'List style' ) }
|
|
35
20
|
options={ [
|
|
36
21
|
{
|
|
37
22
|
label: __( 'Numbers' ),
|
|
@@ -57,9 +42,26 @@ const OrderedListSettings = ( { setAttributes, reversed, start, type } ) => (
|
|
|
57
42
|
value={ type }
|
|
58
43
|
onChange={ ( newValue ) => setAttributes( { type: newValue } ) }
|
|
59
44
|
/>
|
|
45
|
+
<TextControl
|
|
46
|
+
__next40pxDefaultSize
|
|
47
|
+
__nextHasNoMarginBottom
|
|
48
|
+
label={ __( 'Start value' ) }
|
|
49
|
+
type="number"
|
|
50
|
+
onChange={ ( value ) => {
|
|
51
|
+
const int = parseInt( value, 10 );
|
|
52
|
+
|
|
53
|
+
setAttributes( {
|
|
54
|
+
// It should be possible to unset the value,
|
|
55
|
+
// e.g. with an empty string.
|
|
56
|
+
start: isNaN( int ) ? undefined : int,
|
|
57
|
+
} );
|
|
58
|
+
} }
|
|
59
|
+
value={ Number.isInteger( start ) ? start.toString( 10 ) : '' }
|
|
60
|
+
step="1"
|
|
61
|
+
/>
|
|
60
62
|
<ToggleControl
|
|
61
63
|
__nextHasNoMarginBottom
|
|
62
|
-
label={ __( 'Reverse
|
|
64
|
+
label={ __( 'Reverse order' ) }
|
|
63
65
|
checked={ reversed || false }
|
|
64
66
|
onChange={ ( value ) => {
|
|
65
67
|
setAttributes( {
|
|
@@ -289,9 +289,7 @@ describe( 'List block', () => {
|
|
|
289
289
|
() => screen.getByTestId( 'block-settings-modal' ).props.isVisible
|
|
290
290
|
);
|
|
291
291
|
|
|
292
|
-
const reverseButton = screen.getByLabelText(
|
|
293
|
-
/Reverse list numbering\. Off/
|
|
294
|
-
);
|
|
292
|
+
const reverseButton = screen.getByLabelText( /Reverse order\. Off/ );
|
|
295
293
|
fireEvent.press( reverseButton );
|
|
296
294
|
|
|
297
295
|
expect( getEditorHtml() ).toMatchSnapshot();
|
package/src/list-item/block.json
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
"category": "text",
|
|
7
7
|
"parent": [ "core/list" ],
|
|
8
8
|
"allowedBlocks": [ "core/list" ],
|
|
9
|
-
"description": "
|
|
9
|
+
"description": "An individual item within a list.",
|
|
10
10
|
"textdomain": "default",
|
|
11
11
|
"attributes": {
|
|
12
12
|
"placeholder": {
|
|
@@ -20,13 +20,20 @@
|
|
|
20
20
|
}
|
|
21
21
|
},
|
|
22
22
|
"supports": {
|
|
23
|
+
"anchor": true,
|
|
23
24
|
"className": false,
|
|
24
25
|
"splitting": true,
|
|
26
|
+
"__experimentalBorder": {
|
|
27
|
+
"color": true,
|
|
28
|
+
"radius": true,
|
|
29
|
+
"style": true,
|
|
30
|
+
"width": true
|
|
31
|
+
},
|
|
25
32
|
"color": {
|
|
26
33
|
"gradients": true,
|
|
27
34
|
"link": true,
|
|
35
|
+
"background": true,
|
|
28
36
|
"__experimentalDefaultControls": {
|
|
29
|
-
"background": true,
|
|
30
37
|
"text": true
|
|
31
38
|
}
|
|
32
39
|
},
|
|
@@ -56,6 +63,7 @@
|
|
|
56
63
|
}
|
|
57
64
|
},
|
|
58
65
|
"selectors": {
|
|
59
|
-
"root": ".wp-block-list > li"
|
|
66
|
+
"root": ".wp-block-list > li",
|
|
67
|
+
"border": ".wp-block-list:not(.wp-block-list .wp-block-list) > li"
|
|
60
68
|
}
|
|
61
69
|
}
|
package/src/loginout/block.json
CHANGED
|
@@ -22,6 +22,12 @@
|
|
|
22
22
|
},
|
|
23
23
|
"supports": {
|
|
24
24
|
"className": true,
|
|
25
|
+
"color": {
|
|
26
|
+
"background": true,
|
|
27
|
+
"text": false,
|
|
28
|
+
"gradients": true,
|
|
29
|
+
"link": true
|
|
30
|
+
},
|
|
25
31
|
"spacing": {
|
|
26
32
|
"margin": true,
|
|
27
33
|
"padding": true,
|
|
@@ -43,8 +49,15 @@
|
|
|
43
49
|
"fontSize": true
|
|
44
50
|
}
|
|
45
51
|
},
|
|
52
|
+
"__experimentalBorder": {
|
|
53
|
+
"radius": true,
|
|
54
|
+
"color": true,
|
|
55
|
+
"width": true,
|
|
56
|
+
"style": true
|
|
57
|
+
},
|
|
46
58
|
"interactivity": {
|
|
47
59
|
"clientNavigation": true
|
|
48
60
|
}
|
|
49
|
-
}
|
|
61
|
+
},
|
|
62
|
+
"style": "wp-block-loginout"
|
|
50
63
|
}
|
package/src/media-text/edit.js
CHANGED
|
@@ -7,6 +7,7 @@ $media-to-text: 12px;
|
|
|
7
7
|
}
|
|
8
8
|
|
|
9
9
|
.has-media-on-the-right {
|
|
10
|
+
/* stylelint-disable-next-line declaration-property-value-allowed-list -- This should be refactored to not use the row-reverse value. */
|
|
10
11
|
flex-direction: row-reverse;
|
|
11
12
|
}
|
|
12
13
|
|
|
@@ -14,6 +15,7 @@ $media-to-text: 12px;
|
|
|
14
15
|
flex-direction: column;
|
|
15
16
|
|
|
16
17
|
&.has-media-on-the-right {
|
|
18
|
+
/* stylelint-disable-next-line declaration-property-value-allowed-list -- This should be refactored to not use the column-reverse value. */
|
|
17
19
|
flex-direction: column-reverse;
|
|
18
20
|
}
|
|
19
21
|
}
|
package/src/missing/edit.js
CHANGED
|
@@ -5,7 +5,7 @@ import { __, sprintf } from '@wordpress/i18n';
|
|
|
5
5
|
import { RawHTML } from '@wordpress/element';
|
|
6
6
|
import { Button } from '@wordpress/components';
|
|
7
7
|
import { createBlock } from '@wordpress/blocks';
|
|
8
|
-
import {
|
|
8
|
+
import { useDispatch, useSelect } from '@wordpress/data';
|
|
9
9
|
import {
|
|
10
10
|
Warning,
|
|
11
11
|
useBlockProps,
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
} from '@wordpress/block-editor';
|
|
14
14
|
import { safeHTML } from '@wordpress/dom';
|
|
15
15
|
|
|
16
|
-
function
|
|
16
|
+
export default function MissingEdit( { attributes, clientId } ) {
|
|
17
17
|
const { originalName, originalUndelimitedContent } = attributes;
|
|
18
18
|
const hasContent = !! originalUndelimitedContent;
|
|
19
19
|
const { hasFreeformBlock, hasHTMLBlock } = useSelect(
|
|
@@ -34,6 +34,16 @@ function MissingBlockWarning( { attributes, convertToHTML, clientId } ) {
|
|
|
34
34
|
},
|
|
35
35
|
[ clientId ]
|
|
36
36
|
);
|
|
37
|
+
const { replaceBlock } = useDispatch( blockEditorStore );
|
|
38
|
+
|
|
39
|
+
function convertToHTML() {
|
|
40
|
+
replaceBlock(
|
|
41
|
+
clientId,
|
|
42
|
+
createBlock( 'core/html', {
|
|
43
|
+
content: originalUndelimitedContent,
|
|
44
|
+
} )
|
|
45
|
+
);
|
|
46
|
+
}
|
|
37
47
|
|
|
38
48
|
const actions = [];
|
|
39
49
|
let messageHTML;
|
|
@@ -81,19 +91,3 @@ function MissingBlockWarning( { attributes, convertToHTML, clientId } ) {
|
|
|
81
91
|
</div>
|
|
82
92
|
);
|
|
83
93
|
}
|
|
84
|
-
|
|
85
|
-
const MissingEdit = withDispatch( ( dispatch, { clientId, attributes } ) => {
|
|
86
|
-
const { replaceBlock } = dispatch( blockEditorStore );
|
|
87
|
-
return {
|
|
88
|
-
convertToHTML() {
|
|
89
|
-
replaceBlock(
|
|
90
|
-
clientId,
|
|
91
|
-
createBlock( 'core/html', {
|
|
92
|
-
content: attributes.originalUndelimitedContent,
|
|
93
|
-
} )
|
|
94
|
-
);
|
|
95
|
-
},
|
|
96
|
-
};
|
|
97
|
-
} )( MissingBlockWarning );
|
|
98
|
-
|
|
99
|
-
export default MissingEdit;
|
|
@@ -626,10 +626,11 @@ function Navigation( {
|
|
|
626
626
|
</div>
|
|
627
627
|
</>
|
|
628
628
|
) }
|
|
629
|
-
<h3>{ __( 'Overlay Menu' ) }</h3>
|
|
630
629
|
<ToggleGroupControl
|
|
630
|
+
__next40pxDefaultSize
|
|
631
631
|
__nextHasNoMarginBottom
|
|
632
|
-
label={ __( '
|
|
632
|
+
label={ __( 'Overlay Menu' ) }
|
|
633
|
+
aria-label={ __( 'Configure overlay menu' ) }
|
|
633
634
|
value={ overlayMenu }
|
|
634
635
|
help={ __(
|
|
635
636
|
'Collapses the navigation options in a menu icon opening an overlay.'
|
|
@@ -638,7 +639,6 @@ function Navigation( {
|
|
|
638
639
|
setAttributes( { overlayMenu: value } )
|
|
639
640
|
}
|
|
640
641
|
isBlock
|
|
641
|
-
hideLabelFromVision
|
|
642
642
|
>
|
|
643
643
|
<ToggleGroupControlOption
|
|
644
644
|
value="never"
|
|
@@ -721,7 +721,7 @@ function Navigation( {
|
|
|
721
721
|
);
|
|
722
722
|
|
|
723
723
|
const accessibleDescriptionId = `${ clientId }-desc`;
|
|
724
|
-
|
|
724
|
+
const isHiddenByDefault = 'always' === overlayMenu;
|
|
725
725
|
const isManageMenusButtonDisabled =
|
|
726
726
|
! hasManagePermissions || ! hasResolvedNavigationMenus;
|
|
727
727
|
|
|
@@ -760,7 +760,7 @@ function Navigation( {
|
|
|
760
760
|
hasIcon={ hasIcon }
|
|
761
761
|
icon={ icon }
|
|
762
762
|
isResponsive={ isResponsive }
|
|
763
|
-
isHiddenByDefault={
|
|
763
|
+
isHiddenByDefault={ isHiddenByDefault }
|
|
764
764
|
overlayBackgroundColor={ overlayBackgroundColor }
|
|
765
765
|
overlayTextColor={ overlayTextColor }
|
|
766
766
|
>
|
|
@@ -899,13 +899,13 @@ function Navigation( {
|
|
|
899
899
|
: undefined
|
|
900
900
|
}
|
|
901
901
|
>
|
|
902
|
-
{ isLoading && (
|
|
902
|
+
{ isLoading && ! isHiddenByDefault && (
|
|
903
903
|
<div className="wp-block-navigation__loading-indicator-container">
|
|
904
904
|
<Spinner className="wp-block-navigation__loading-indicator" />
|
|
905
905
|
</div>
|
|
906
906
|
) }
|
|
907
907
|
|
|
908
|
-
{ ! isLoading && (
|
|
908
|
+
{ ( ! isLoading || isHiddenByDefault ) && (
|
|
909
909
|
<>
|
|
910
910
|
<AccessibleMenuDescription
|
|
911
911
|
id={ accessibleDescriptionId }
|
|
@@ -917,7 +917,7 @@ function Navigation( {
|
|
|
917
917
|
icon={ icon }
|
|
918
918
|
isOpen={ isResponsiveMenuOpen }
|
|
919
919
|
isResponsive={ isResponsive }
|
|
920
|
-
isHiddenByDefault={
|
|
920
|
+
isHiddenByDefault={ isHiddenByDefault }
|
|
921
921
|
overlayBackgroundColor={
|
|
922
922
|
overlayBackgroundColor
|
|
923
923
|
}
|
|
@@ -27,7 +27,9 @@ export default function OverlayMenuPreview( { setAttributes, hasIcon, icon } ) {
|
|
|
27
27
|
/>
|
|
28
28
|
|
|
29
29
|
<ToggleGroupControl
|
|
30
|
+
__next40pxDefaultSize
|
|
30
31
|
__nextHasNoMarginBottom
|
|
32
|
+
className="wp-block-navigation__overlay-menu-icon-toggle-group"
|
|
31
33
|
label={ __( 'Icon' ) }
|
|
32
34
|
value={ icon }
|
|
33
35
|
onChange={ ( value ) => setAttributes( { icon: value } ) }
|
|
@@ -287,7 +287,6 @@ $color-control-label-height: 20px;
|
|
|
287
287
|
left: 0;
|
|
288
288
|
pointer-events: none;
|
|
289
289
|
border: $border-width dashed currentColor;
|
|
290
|
-
@include placeholder-style();
|
|
291
290
|
|
|
292
291
|
// Inherit border radius from style variations.
|
|
293
292
|
border-radius: inherit;
|
|
@@ -629,3 +628,8 @@ body.editor-styles-wrapper .wp-block-navigation__responsive-container.is-menu-op
|
|
|
629
628
|
.wp-block-navigation__menu-inspector-controls__empty-message {
|
|
630
629
|
margin-left: 24px;
|
|
631
630
|
}
|
|
631
|
+
|
|
632
|
+
.wp-block-navigation__overlay-menu-icon-toggle-group {
|
|
633
|
+
// Counteract the margin added by the block inspector.
|
|
634
|
+
margin-bottom: $grid-unit-20;
|
|
635
|
+
}
|