@wordpress/block-library 9.8.5 → 9.9.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/avatar/index.js +2 -1
- package/build/avatar/index.js.map +1 -1
- package/build/comment-author-name/index.js +2 -1
- package/build/comment-author-name/index.js.map +1 -1
- package/build/comment-content/index.js +2 -1
- package/build/comment-content/index.js.map +1 -1
- package/build/comment-date/index.js +2 -1
- package/build/comment-date/index.js.map +1 -1
- package/build/comment-edit-link/index.js +2 -1
- package/build/comment-edit-link/index.js.map +1 -1
- package/build/comment-reply-link/index.js +2 -1
- package/build/comment-reply-link/index.js.map +1 -1
- package/build/comments-pagination-next/index.js +5 -0
- package/build/comments-pagination-next/index.js.map +1 -1
- package/build/comments-pagination-numbers/index.js +2 -1
- package/build/comments-pagination-numbers/index.js.map +1 -1
- package/build/comments-pagination-previous/index.js +5 -0
- package/build/comments-pagination-previous/index.js.map +1 -1
- package/build/comments-title/index.js +2 -1
- package/build/comments-title/index.js.map +1 -1
- package/build/cover/edit/index.js +4 -2
- package/build/cover/edit/index.js.map +1 -1
- package/build/file/index.js +8 -4
- package/build/file/index.js.map +1 -1
- package/build/post-navigation-link/index.js +6 -0
- package/build/post-navigation-link/index.js.map +1 -1
- package/build/post-navigation-link/variations.js +14 -2
- package/build/post-navigation-link/variations.js.map +1 -1
- package/build/post-time-to-read/index.js +2 -1
- package/build/post-time-to-read/index.js.map +1 -1
- package/build/query/edit/inspector-controls/index.js +2 -2
- package/build/query/edit/inspector-controls/index.js.map +1 -1
- package/build/query/edit/inspector-controls/pages-control.js +1 -1
- package/build/query/edit/inspector-controls/pages-control.js.map +1 -1
- package/build/query/edit/inspector-controls/per-page-control.js +1 -1
- package/build/query/edit/inspector-controls/per-page-control.js.map +1 -1
- package/build/query/index.js +1 -0
- package/build/query/index.js.map +1 -1
- package/build/query-no-results/index.js +8 -0
- package/build/query-no-results/index.js.map +1 -1
- package/build/query-pagination-numbers/index.js +2 -1
- package/build/query-pagination-numbers/index.js.map +1 -1
- package/build/query-title/index.js +5 -0
- package/build/query-title/index.js.map +1 -1
- package/build/site-logo/edit.js +5 -3
- package/build/site-logo/edit.js.map +1 -1
- package/build/table-of-contents/index.js +42 -1
- package/build/table-of-contents/index.js.map +1 -1
- package/build/term-description/index.js +2 -1
- package/build/term-description/index.js.map +1 -1
- package/build-module/avatar/index.js +2 -1
- package/build-module/avatar/index.js.map +1 -1
- package/build-module/comment-author-name/index.js +2 -1
- package/build-module/comment-author-name/index.js.map +1 -1
- package/build-module/comment-content/index.js +2 -1
- package/build-module/comment-content/index.js.map +1 -1
- package/build-module/comment-date/index.js +2 -1
- package/build-module/comment-date/index.js.map +1 -1
- package/build-module/comment-edit-link/index.js +2 -1
- package/build-module/comment-edit-link/index.js.map +1 -1
- package/build-module/comment-reply-link/index.js +2 -1
- package/build-module/comment-reply-link/index.js.map +1 -1
- package/build-module/comments-pagination-next/index.js +5 -0
- package/build-module/comments-pagination-next/index.js.map +1 -1
- package/build-module/comments-pagination-numbers/index.js +2 -1
- package/build-module/comments-pagination-numbers/index.js.map +1 -1
- package/build-module/comments-pagination-previous/index.js +5 -0
- package/build-module/comments-pagination-previous/index.js.map +1 -1
- package/build-module/comments-title/index.js +2 -1
- package/build-module/comments-title/index.js.map +1 -1
- package/build-module/cover/edit/index.js +5 -3
- package/build-module/cover/edit/index.js.map +1 -1
- package/build-module/file/index.js +8 -4
- package/build-module/file/index.js.map +1 -1
- package/build-module/post-navigation-link/index.js +6 -0
- package/build-module/post-navigation-link/index.js.map +1 -1
- package/build-module/post-navigation-link/variations.js +14 -2
- package/build-module/post-navigation-link/variations.js.map +1 -1
- package/build-module/post-time-to-read/index.js +2 -1
- package/build-module/post-time-to-read/index.js.map +1 -1
- package/build-module/query/edit/inspector-controls/index.js +2 -2
- package/build-module/query/edit/inspector-controls/index.js.map +1 -1
- package/build-module/query/edit/inspector-controls/pages-control.js +1 -1
- package/build-module/query/edit/inspector-controls/pages-control.js.map +1 -1
- package/build-module/query/edit/inspector-controls/per-page-control.js +1 -1
- package/build-module/query/edit/inspector-controls/per-page-control.js.map +1 -1
- package/build-module/query/index.js +1 -0
- package/build-module/query/index.js.map +1 -1
- package/build-module/query-no-results/index.js +8 -0
- package/build-module/query-no-results/index.js.map +1 -1
- package/build-module/query-pagination-numbers/index.js +2 -1
- package/build-module/query-pagination-numbers/index.js.map +1 -1
- package/build-module/query-title/index.js +5 -0
- package/build-module/query-title/index.js.map +1 -1
- package/build-module/site-logo/edit.js +5 -3
- package/build-module/site-logo/edit.js.map +1 -1
- package/build-module/table-of-contents/index.js +42 -1
- package/build-module/table-of-contents/index.js.map +1 -1
- package/build-module/term-description/index.js +2 -1
- package/build-module/term-description/index.js.map +1 -1
- package/build-style/archives/editor-rtl.css +10 -1
- package/build-style/archives/editor.css +10 -1
- package/build-style/archives/style-rtl.css +10 -1
- package/build-style/archives/style.css +10 -1
- package/build-style/audio/editor-rtl.css +10 -1
- package/build-style/audio/editor.css +10 -1
- package/build-style/audio/style-rtl.css +10 -1
- package/build-style/audio/style.css +10 -1
- package/build-style/audio/theme-rtl.css +10 -1
- package/build-style/audio/theme.css +10 -1
- package/build-style/avatar/editor-rtl.css +10 -1
- package/build-style/avatar/editor.css +10 -1
- package/build-style/avatar/style-rtl.css +10 -1
- package/build-style/avatar/style.css +10 -1
- package/build-style/button/editor-rtl.css +10 -1
- package/build-style/button/editor.css +10 -1
- package/build-style/button/style-rtl.css +10 -1
- package/build-style/button/style.css +10 -1
- package/build-style/buttons/editor-rtl.css +10 -1
- package/build-style/buttons/editor.css +10 -1
- package/build-style/buttons/style-rtl.css +11 -1
- package/build-style/buttons/style.css +11 -1
- package/build-style/calendar/style-rtl.css +10 -1
- package/build-style/calendar/style.css +10 -1
- package/build-style/categories/editor-rtl.css +10 -1
- package/build-style/categories/editor.css +10 -1
- package/build-style/categories/style-rtl.css +10 -1
- package/build-style/categories/style.css +10 -1
- package/build-style/classic-rtl.css +10 -1
- package/build-style/classic.css +10 -1
- package/build-style/code/editor-rtl.css +10 -1
- package/build-style/code/editor.css +10 -1
- package/build-style/code/style-rtl.css +10 -1
- package/build-style/code/style.css +10 -1
- package/build-style/code/theme-rtl.css +10 -1
- package/build-style/code/theme.css +10 -1
- package/build-style/columns/editor-rtl.css +10 -1
- package/build-style/columns/editor.css +10 -1
- package/build-style/columns/style-rtl.css +10 -1
- package/build-style/columns/style.css +10 -1
- package/build-style/comment-author-avatar/editor-rtl.css +10 -1
- package/build-style/comment-author-avatar/editor.css +10 -1
- package/build-style/comment-author-name/style-rtl.css +10 -1
- package/build-style/comment-author-name/style.css +10 -1
- package/build-style/comment-content/style-rtl.css +10 -1
- package/build-style/comment-content/style.css +10 -1
- package/build-style/comment-date/style-rtl.css +10 -1
- package/build-style/comment-date/style.css +10 -1
- package/build-style/comment-edit-link/style-rtl.css +10 -1
- package/build-style/comment-edit-link/style.css +10 -1
- package/build-style/comment-reply-link/style-rtl.css +10 -1
- package/build-style/comment-reply-link/style.css +10 -1
- package/build-style/comment-template/style-rtl.css +10 -1
- package/build-style/comment-template/style.css +10 -1
- package/build-style/comments/editor-rtl.css +10 -1
- package/build-style/comments/editor.css +10 -1
- package/build-style/comments/style-rtl.css +10 -1
- package/build-style/comments/style.css +10 -1
- package/build-style/comments-pagination/editor-rtl.css +10 -1
- package/build-style/comments-pagination/editor.css +10 -1
- package/build-style/comments-pagination/style-rtl.css +10 -1
- package/build-style/comments-pagination/style.css +10 -1
- package/build-style/comments-pagination-numbers/editor-rtl.css +10 -1
- package/build-style/comments-pagination-numbers/editor.css +10 -1
- package/build-style/comments-title/editor-rtl.css +10 -1
- package/build-style/comments-title/editor.css +10 -1
- package/build-style/common-rtl.css +10 -1
- package/build-style/common.css +10 -1
- package/build-style/cover/editor-rtl.css +10 -1
- package/build-style/cover/editor.css +10 -1
- package/build-style/cover/style-rtl.css +10 -1
- package/build-style/cover/style.css +10 -1
- package/build-style/details/editor-rtl.css +10 -1
- package/build-style/details/editor.css +10 -1
- package/build-style/details/style-rtl.css +10 -1
- package/build-style/details/style.css +10 -1
- package/build-style/editor-elements-rtl.css +10 -1
- package/build-style/editor-elements.css +10 -1
- package/build-style/editor-rtl.css +16 -19
- package/build-style/editor.css +16 -19
- package/build-style/elements-rtl.css +10 -1
- package/build-style/elements.css +10 -1
- package/build-style/embed/editor-rtl.css +10 -1
- package/build-style/embed/editor.css +10 -1
- package/build-style/embed/style-rtl.css +10 -1
- package/build-style/embed/style.css +10 -1
- package/build-style/embed/theme-rtl.css +10 -1
- package/build-style/embed/theme.css +10 -1
- package/build-style/file/editor-rtl.css +10 -1
- package/build-style/file/editor.css +10 -1
- package/build-style/file/style-rtl.css +10 -1
- package/build-style/file/style.css +10 -1
- package/build-style/footnotes/style-rtl.css +10 -1
- package/build-style/footnotes/style.css +10 -1
- package/build-style/form-input/editor-rtl.css +10 -1
- package/build-style/form-input/editor.css +10 -1
- package/build-style/form-input/style-rtl.css +10 -1
- package/build-style/form-input/style.css +10 -1
- package/build-style/form-submission-notification/editor-rtl.css +10 -1
- package/build-style/form-submission-notification/editor.css +10 -1
- package/build-style/form-submit-button/style-rtl.css +10 -1
- package/build-style/form-submit-button/style.css +10 -1
- package/build-style/freeform/editor-rtl.css +10 -1
- package/build-style/freeform/editor.css +10 -1
- package/build-style/gallery/editor-rtl.css +10 -1
- package/build-style/gallery/editor.css +10 -1
- package/build-style/gallery/style-rtl.css +10 -1
- package/build-style/gallery/style.css +10 -1
- package/build-style/gallery/theme-rtl.css +10 -1
- package/build-style/gallery/theme.css +10 -1
- package/build-style/group/editor-rtl.css +12 -3
- package/build-style/group/editor.css +12 -3
- package/build-style/group/style-rtl.css +10 -1
- package/build-style/group/style.css +10 -1
- package/build-style/group/theme-rtl.css +10 -1
- package/build-style/group/theme.css +10 -1
- package/build-style/heading/style-rtl.css +10 -1
- package/build-style/heading/style.css +10 -1
- package/build-style/html/editor-rtl.css +10 -1
- package/build-style/html/editor.css +10 -1
- package/build-style/image/editor-rtl.css +10 -1
- package/build-style/image/editor.css +10 -1
- package/build-style/image/style-rtl.css +10 -1
- package/build-style/image/style.css +10 -1
- package/build-style/image/theme-rtl.css +10 -1
- package/build-style/image/theme.css +10 -1
- package/build-style/latest-comments/style-rtl.css +10 -1
- package/build-style/latest-comments/style.css +10 -1
- package/build-style/latest-posts/editor-rtl.css +10 -1
- package/build-style/latest-posts/editor.css +10 -1
- package/build-style/latest-posts/style-rtl.css +10 -1
- package/build-style/latest-posts/style.css +10 -1
- package/build-style/list/style-rtl.css +10 -1
- package/build-style/list/style.css +10 -1
- package/build-style/loginout/style-rtl.css +10 -1
- package/build-style/loginout/style.css +10 -1
- package/build-style/media-text/editor-rtl.css +10 -1
- package/build-style/media-text/editor.css +10 -1
- package/build-style/media-text/style-rtl.css +10 -1
- package/build-style/media-text/style.css +10 -1
- package/build-style/more/editor-rtl.css +10 -1
- package/build-style/more/editor.css +10 -1
- package/build-style/navigation/editor-rtl.css +10 -1
- package/build-style/navigation/editor.css +10 -1
- package/build-style/navigation/style-rtl.css +10 -1
- package/build-style/navigation/style.css +10 -1
- package/build-style/navigation-link/editor-rtl.css +10 -1
- package/build-style/navigation-link/editor.css +10 -1
- package/build-style/navigation-link/style-rtl.css +10 -1
- package/build-style/navigation-link/style.css +10 -1
- package/build-style/navigation-submenu/editor-rtl.css +10 -1
- package/build-style/navigation-submenu/editor.css +10 -1
- package/build-style/nextpage/editor-rtl.css +10 -1
- package/build-style/nextpage/editor.css +10 -1
- package/build-style/page-list/editor-rtl.css +10 -1
- package/build-style/page-list/editor.css +10 -1
- package/build-style/page-list/style-rtl.css +10 -1
- package/build-style/page-list/style.css +10 -1
- package/build-style/paragraph/editor-rtl.css +10 -1
- package/build-style/paragraph/editor.css +10 -1
- package/build-style/paragraph/style-rtl.css +10 -1
- package/build-style/paragraph/style.css +10 -1
- package/build-style/post-author/editor-rtl.css +10 -1
- package/build-style/post-author/editor.css +10 -1
- package/build-style/post-author/style-rtl.css +10 -1
- package/build-style/post-author/style.css +10 -1
- package/build-style/post-author-biography/style-rtl.css +10 -1
- package/build-style/post-author-biography/style.css +10 -1
- package/build-style/post-author-name/style-rtl.css +10 -1
- package/build-style/post-author-name/style.css +10 -1
- package/build-style/post-comments-form/editor-rtl.css +10 -1
- package/build-style/post-comments-form/editor.css +10 -1
- package/build-style/post-comments-form/style-rtl.css +10 -1
- package/build-style/post-comments-form/style.css +10 -1
- package/build-style/post-content/style-rtl.css +10 -1
- package/build-style/post-content/style.css +10 -1
- package/build-style/post-date/style-rtl.css +10 -1
- package/build-style/post-date/style.css +10 -1
- package/build-style/post-excerpt/editor-rtl.css +10 -1
- package/build-style/post-excerpt/editor.css +10 -1
- package/build-style/post-excerpt/style-rtl.css +10 -1
- package/build-style/post-excerpt/style.css +10 -1
- package/build-style/post-featured-image/editor-rtl.css +10 -1
- package/build-style/post-featured-image/editor.css +10 -1
- package/build-style/post-featured-image/style-rtl.css +10 -1
- package/build-style/post-featured-image/style.css +10 -1
- package/build-style/post-navigation-link/style-rtl.css +10 -1
- package/build-style/post-navigation-link/style.css +10 -1
- package/build-style/post-template/editor-rtl.css +10 -1
- package/build-style/post-template/editor.css +10 -1
- package/build-style/post-template/style-rtl.css +10 -1
- package/build-style/post-template/style.css +10 -1
- package/build-style/post-terms/style-rtl.css +10 -1
- package/build-style/post-terms/style.css +10 -1
- package/build-style/post-time-to-read/style-rtl.css +10 -1
- package/build-style/post-time-to-read/style.css +10 -1
- package/build-style/post-title/style-rtl.css +10 -1
- package/build-style/post-title/style.css +10 -1
- package/build-style/preformatted/style-rtl.css +10 -1
- package/build-style/preformatted/style.css +10 -1
- package/build-style/pullquote/editor-rtl.css +10 -1
- package/build-style/pullquote/editor.css +10 -1
- package/build-style/pullquote/style-rtl.css +10 -1
- package/build-style/pullquote/style.css +10 -1
- package/build-style/pullquote/theme-rtl.css +10 -1
- package/build-style/pullquote/theme.css +10 -1
- package/build-style/query/editor-rtl.css +10 -1
- package/build-style/query/editor.css +10 -1
- package/build-style/query-pagination/editor-rtl.css +10 -1
- package/build-style/query-pagination/editor.css +10 -1
- package/build-style/query-pagination/style-rtl.css +10 -1
- package/build-style/query-pagination/style.css +10 -1
- package/build-style/query-pagination-numbers/editor-rtl.css +10 -1
- package/build-style/query-pagination-numbers/editor.css +10 -1
- package/build-style/query-title/style-rtl.css +10 -1
- package/build-style/query-title/style.css +10 -1
- package/build-style/quote/style-rtl.css +10 -1
- package/build-style/quote/style.css +10 -1
- package/build-style/quote/theme-rtl.css +10 -1
- package/build-style/quote/theme.css +10 -1
- package/build-style/read-more/style-rtl.css +10 -1
- package/build-style/read-more/style.css +10 -1
- package/build-style/reset-rtl.css +10 -1
- package/build-style/reset.css +10 -1
- package/build-style/rss/editor-rtl.css +10 -1
- package/build-style/rss/editor.css +10 -1
- package/build-style/rss/style-rtl.css +10 -1
- package/build-style/rss/style.css +10 -1
- package/build-style/search/editor-rtl.css +10 -1
- package/build-style/search/editor.css +10 -1
- package/build-style/search/style-rtl.css +10 -1
- package/build-style/search/style.css +10 -1
- package/build-style/search/theme-rtl.css +10 -1
- package/build-style/search/theme.css +10 -1
- package/build-style/separator/editor-rtl.css +10 -1
- package/build-style/separator/editor.css +10 -1
- package/build-style/separator/style-rtl.css +10 -1
- package/build-style/separator/style.css +10 -1
- package/build-style/separator/theme-rtl.css +10 -1
- package/build-style/separator/theme.css +10 -1
- package/build-style/shortcode/editor-rtl.css +10 -1
- package/build-style/shortcode/editor.css +10 -1
- package/build-style/site-logo/editor-rtl.css +10 -1
- package/build-style/site-logo/editor.css +10 -1
- package/build-style/site-logo/style-rtl.css +10 -1
- package/build-style/site-logo/style.css +10 -1
- package/build-style/site-tagline/editor-rtl.css +10 -1
- package/build-style/site-tagline/editor.css +10 -1
- package/build-style/site-tagline/style-rtl.css +10 -1
- package/build-style/site-tagline/style.css +10 -1
- package/build-style/site-title/editor-rtl.css +10 -1
- package/build-style/site-title/editor.css +10 -1
- package/build-style/site-title/style-rtl.css +10 -1
- package/build-style/site-title/style.css +10 -1
- package/build-style/social-link/editor-rtl.css +10 -1
- package/build-style/social-link/editor.css +10 -1
- package/build-style/social-links/editor-rtl.css +14 -12
- package/build-style/social-links/editor.css +14 -12
- package/build-style/social-links/style-rtl.css +10 -1
- package/build-style/social-links/style.css +10 -1
- package/build-style/spacer/editor-rtl.css +10 -1
- package/build-style/spacer/editor.css +10 -1
- package/build-style/spacer/style-rtl.css +10 -1
- package/build-style/spacer/style.css +10 -1
- package/build-style/style-rtl.css +11 -1
- package/build-style/style.css +11 -1
- package/build-style/table/editor-rtl.css +10 -1
- package/build-style/table/editor.css +10 -1
- package/build-style/table/style-rtl.css +10 -1
- package/build-style/table/style.css +10 -1
- package/build-style/table/theme-rtl.css +10 -1
- package/build-style/table/theme.css +10 -1
- package/build-style/table-of-contents/style-rtl.css +10 -1
- package/build-style/table-of-contents/style.css +10 -1
- package/build-style/tag-cloud/editor-rtl.css +10 -1
- package/build-style/tag-cloud/editor.css +10 -1
- package/build-style/tag-cloud/style-rtl.css +10 -1
- package/build-style/tag-cloud/style.css +10 -1
- package/build-style/template-part/editor-rtl.css +10 -1
- package/build-style/template-part/editor.css +10 -1
- package/build-style/template-part/theme-rtl.css +10 -1
- package/build-style/template-part/theme.css +10 -1
- package/build-style/term-description/style-rtl.css +10 -1
- package/build-style/term-description/style.css +10 -1
- package/build-style/text-columns/editor-rtl.css +10 -1
- package/build-style/text-columns/editor.css +10 -1
- package/build-style/text-columns/style-rtl.css +10 -1
- package/build-style/text-columns/style.css +10 -1
- package/build-style/theme-rtl.css +10 -1
- package/build-style/theme.css +10 -1
- package/build-style/verse/style-rtl.css +10 -1
- package/build-style/verse/style.css +10 -1
- package/build-style/video/editor-rtl.css +10 -1
- package/build-style/video/editor.css +10 -1
- package/build-style/video/style-rtl.css +10 -1
- package/build-style/video/style.css +10 -1
- package/build-style/video/theme-rtl.css +10 -1
- package/build-style/video/theme.css +10 -1
- package/package.json +35 -35
- package/src/avatar/index.js +1 -0
- package/src/buttons/style.scss +2 -0
- package/src/comment-author-name/index.js +1 -0
- package/src/comment-content/index.js +1 -0
- package/src/comment-date/index.js +1 -0
- package/src/comment-edit-link/index.js +1 -0
- package/src/comment-reply-link/index.js +1 -0
- package/src/comments-pagination-next/block.json +5 -0
- package/src/comments-pagination-numbers/index.js +1 -0
- package/src/comments-pagination-previous/block.json +5 -0
- package/src/comments-title/index.js +1 -0
- package/src/cover/edit/index.js +6 -2
- package/src/editor.scss +0 -1
- package/src/file/block.json +8 -4
- package/src/group/editor.scss +2 -2
- package/src/post-navigation-link/block.json +6 -0
- package/src/post-navigation-link/variations.js +12 -0
- package/src/post-time-to-read/index.js +1 -0
- package/src/query/block.json +1 -0
- package/src/query/edit/inspector-controls/index.js +2 -2
- package/src/query/edit/inspector-controls/pages-control.js +1 -1
- package/src/query/edit/inspector-controls/per-page-control.js +1 -1
- package/src/query-no-results/block.json +10 -0
- package/src/query-pagination-numbers/index.js +1 -0
- package/src/query-title/block.json +5 -0
- package/src/site-logo/edit.js +1 -0
- package/src/social-links/editor.scss +4 -13
- package/src/table-of-contents/block.json +52 -1
- package/src/term-description/index.js +1 -0
- package/build-style/post-content/editor-rtl.css +0 -95
- package/build-style/post-content/editor.css +0 -95
- package/src/post-content/editor.scss +0 -4
package/src/file/block.json
CHANGED
|
@@ -16,7 +16,8 @@
|
|
|
16
16
|
"role": "local"
|
|
17
17
|
},
|
|
18
18
|
"href": {
|
|
19
|
-
"type": "string"
|
|
19
|
+
"type": "string",
|
|
20
|
+
"role": "content"
|
|
20
21
|
},
|
|
21
22
|
"fileId": {
|
|
22
23
|
"type": "string",
|
|
@@ -27,13 +28,15 @@
|
|
|
27
28
|
"fileName": {
|
|
28
29
|
"type": "rich-text",
|
|
29
30
|
"source": "rich-text",
|
|
30
|
-
"selector": "a:not([download])"
|
|
31
|
+
"selector": "a:not([download])",
|
|
32
|
+
"role": "content"
|
|
31
33
|
},
|
|
32
34
|
"textLinkHref": {
|
|
33
35
|
"type": "string",
|
|
34
36
|
"source": "attribute",
|
|
35
37
|
"selector": "a:not([download])",
|
|
36
|
-
"attribute": "href"
|
|
38
|
+
"attribute": "href",
|
|
39
|
+
"role": "content"
|
|
37
40
|
},
|
|
38
41
|
"textLinkTarget": {
|
|
39
42
|
"type": "string",
|
|
@@ -48,7 +51,8 @@
|
|
|
48
51
|
"downloadButtonText": {
|
|
49
52
|
"type": "rich-text",
|
|
50
53
|
"source": "rich-text",
|
|
51
|
-
"selector": "a[download]"
|
|
54
|
+
"selector": "a[download]",
|
|
55
|
+
"role": "content"
|
|
52
56
|
},
|
|
53
57
|
"displayPreview": {
|
|
54
58
|
"type": "boolean"
|
package/src/group/editor.scss
CHANGED
|
@@ -39,9 +39,9 @@
|
|
|
39
39
|
&::after {
|
|
40
40
|
content: "";
|
|
41
41
|
display: flex;
|
|
42
|
-
flex: 1 0 $
|
|
42
|
+
flex: 1 0 $button-size-next-default-40px;
|
|
43
43
|
pointer-events: none;
|
|
44
|
-
min-height: $
|
|
44
|
+
min-height: $button-size-next-default-40px - $border-width - $border-width;
|
|
45
45
|
border: $border-width dashed currentColor;
|
|
46
46
|
}
|
|
47
47
|
|
|
@@ -15,6 +15,12 @@ const variations = [
|
|
|
15
15
|
icon: next,
|
|
16
16
|
attributes: { type: 'next' },
|
|
17
17
|
scope: [ 'inserter', 'transform' ],
|
|
18
|
+
example: {
|
|
19
|
+
attributes: {
|
|
20
|
+
label: 'Next post',
|
|
21
|
+
arrow: 'arrow',
|
|
22
|
+
},
|
|
23
|
+
},
|
|
18
24
|
},
|
|
19
25
|
{
|
|
20
26
|
name: 'post-previous',
|
|
@@ -25,6 +31,12 @@ const variations = [
|
|
|
25
31
|
icon: previous,
|
|
26
32
|
attributes: { type: 'previous' },
|
|
27
33
|
scope: [ 'inserter', 'transform' ],
|
|
34
|
+
example: {
|
|
35
|
+
attributes: {
|
|
36
|
+
label: 'Previous post',
|
|
37
|
+
arrow: 'arrow',
|
|
38
|
+
},
|
|
39
|
+
},
|
|
28
40
|
},
|
|
29
41
|
];
|
|
30
42
|
|
package/src/query/block.json
CHANGED
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
"title": "Query Loop",
|
|
6
6
|
"category": "theme",
|
|
7
7
|
"description": "An advanced block that allows displaying post types based on different query parameters and visual configurations.",
|
|
8
|
+
"keywords": [ "posts", "list", "blog", "blogs", "custom post types" ],
|
|
8
9
|
"textdomain": "default",
|
|
9
10
|
"attributes": {
|
|
10
11
|
"queryId": {
|
|
@@ -321,7 +321,7 @@ export default function QueryInspectorControls( props ) {
|
|
|
321
321
|
dropdownMenuProps={ dropdownMenuProps }
|
|
322
322
|
>
|
|
323
323
|
<ToolsPanelItem
|
|
324
|
-
label={ __( 'Items' ) }
|
|
324
|
+
label={ __( 'Items per page' ) }
|
|
325
325
|
hasValue={ () => perPage > 0 }
|
|
326
326
|
>
|
|
327
327
|
<PerPageControl
|
|
@@ -341,7 +341,7 @@ export default function QueryInspectorControls( props ) {
|
|
|
341
341
|
/>
|
|
342
342
|
</ToolsPanelItem>
|
|
343
343
|
<ToolsPanelItem
|
|
344
|
-
label={ __( 'Max
|
|
344
|
+
label={ __( 'Max pages to show' ) }
|
|
345
345
|
hasValue={ () => pages > 0 }
|
|
346
346
|
onDeselect={ () => setQuery( { pages: 0 } ) }
|
|
347
347
|
>
|
|
@@ -12,7 +12,7 @@ const PerPageControl = ( { perPage, offset = 0, onChange } ) => {
|
|
|
12
12
|
<RangeControl
|
|
13
13
|
__next40pxDefaultSize
|
|
14
14
|
__nextHasNoMarginBottom
|
|
15
|
-
label={ __( '
|
|
15
|
+
label={ __( 'Items per page' ) }
|
|
16
16
|
min={ MIN_POSTS_PER_PAGE }
|
|
17
17
|
max={ MAX_POSTS_PER_PAGE }
|
|
18
18
|
onChange={ ( newPerPage ) => {
|
|
@@ -8,6 +8,16 @@
|
|
|
8
8
|
"parent": [ "core/query" ],
|
|
9
9
|
"textdomain": "default",
|
|
10
10
|
"usesContext": [ "queryId", "query" ],
|
|
11
|
+
"example": {
|
|
12
|
+
"innerBlocks": [
|
|
13
|
+
{
|
|
14
|
+
"name": "core/paragraph",
|
|
15
|
+
"attributes": {
|
|
16
|
+
"content": "No posts were found."
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
]
|
|
20
|
+
},
|
|
11
21
|
"supports": {
|
|
12
22
|
"align": true,
|
|
13
23
|
"reusable": false,
|
package/src/site-logo/edit.js
CHANGED
|
@@ -101,19 +101,10 @@
|
|
|
101
101
|
.wp-block-social-links .block-list-appender {
|
|
102
102
|
position: static; // display inline.
|
|
103
103
|
|
|
104
|
-
.block-editor-button-block-appender
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
.wp-block-social-links {
|
|
110
|
-
&.has-small-icon-size .block-editor-button-block-appender.components-button.components-button {
|
|
104
|
+
.block-editor-button-block-appender {
|
|
105
|
+
height: 1.5em;
|
|
106
|
+
width: 1.5em;
|
|
107
|
+
font-size: inherit;
|
|
111
108
|
padding: 0;
|
|
112
109
|
}
|
|
113
|
-
&.has-large-icon-size .block-editor-button-block-appender.components-button.components-button {
|
|
114
|
-
padding: $grid-unit-20 - 2px;
|
|
115
|
-
}
|
|
116
|
-
&.has-huge-icon-size .block-editor-button-block-appender.components-button.components-button {
|
|
117
|
-
padding: $grid-unit-30 - 1px;
|
|
118
|
-
}
|
|
119
110
|
}
|
|
@@ -62,6 +62,57 @@
|
|
|
62
62
|
}
|
|
63
63
|
}
|
|
64
64
|
},
|
|
65
|
-
"example": {
|
|
65
|
+
"example": {
|
|
66
|
+
"innerBlocks": [
|
|
67
|
+
{
|
|
68
|
+
"name": "core/heading",
|
|
69
|
+
"attributes": {
|
|
70
|
+
"level": 2,
|
|
71
|
+
"content": "Heading"
|
|
72
|
+
}
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
"name": "core/heading",
|
|
76
|
+
"attributes": {
|
|
77
|
+
"level": 3,
|
|
78
|
+
"content": "Subheading"
|
|
79
|
+
}
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
"name": "core/heading",
|
|
83
|
+
"attributes": {
|
|
84
|
+
"level": 2,
|
|
85
|
+
"content": "Heading"
|
|
86
|
+
}
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
"name": "core/heading",
|
|
90
|
+
"attributes": {
|
|
91
|
+
"level": 3,
|
|
92
|
+
"content": "Subheading"
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
],
|
|
96
|
+
"attributes": {
|
|
97
|
+
"headings": [
|
|
98
|
+
{
|
|
99
|
+
"content": "Heading",
|
|
100
|
+
"level": 2
|
|
101
|
+
},
|
|
102
|
+
{
|
|
103
|
+
"content": "Subheading",
|
|
104
|
+
"level": 3
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
"content": "Heading",
|
|
108
|
+
"level": 2
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
"content": "Subheading",
|
|
112
|
+
"level": 3
|
|
113
|
+
}
|
|
114
|
+
]
|
|
115
|
+
}
|
|
116
|
+
},
|
|
66
117
|
"style": "wp-block-table-of-contents"
|
|
67
118
|
}
|
|
@@ -1,95 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Converts a hex value into the rgb equivalent.
|
|
3
|
-
*
|
|
4
|
-
* @param {string} hex - the hexadecimal value to convert
|
|
5
|
-
* @return {string} comma separated rgb values
|
|
6
|
-
*/
|
|
7
|
-
/**
|
|
8
|
-
* Colors
|
|
9
|
-
*/
|
|
10
|
-
/**
|
|
11
|
-
* Breakpoints & Media Queries
|
|
12
|
-
*/
|
|
13
|
-
/**
|
|
14
|
-
* SCSS Variables.
|
|
15
|
-
*
|
|
16
|
-
* Please use variables from this sheet to ensure consistency across the UI.
|
|
17
|
-
* Don't add to this sheet unless you're pretty sure the value will be reused in many places.
|
|
18
|
-
* For example, don't add rules to this sheet that affect block visuals. It's purely for UI.
|
|
19
|
-
*/
|
|
20
|
-
/**
|
|
21
|
-
* Converts a hex value into the rgb equivalent.
|
|
22
|
-
*
|
|
23
|
-
* @param {string} hex - the hexadecimal value to convert
|
|
24
|
-
* @return {string} comma separated rgb values
|
|
25
|
-
*/
|
|
26
|
-
/**
|
|
27
|
-
* Colors
|
|
28
|
-
*/
|
|
29
|
-
/**
|
|
30
|
-
* Fonts & basic variables.
|
|
31
|
-
*/
|
|
32
|
-
/**
|
|
33
|
-
* Grid System.
|
|
34
|
-
* https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
|
|
35
|
-
*/
|
|
36
|
-
/**
|
|
37
|
-
* Radius scale.
|
|
38
|
-
*/
|
|
39
|
-
/**
|
|
40
|
-
* Elevation scale.
|
|
41
|
-
*/
|
|
42
|
-
/**
|
|
43
|
-
* Dimensions.
|
|
44
|
-
*/
|
|
45
|
-
/**
|
|
46
|
-
* Editor widths.
|
|
47
|
-
*/
|
|
48
|
-
/**
|
|
49
|
-
* Block & Editor UI.
|
|
50
|
-
*/
|
|
51
|
-
/**
|
|
52
|
-
* Block paddings.
|
|
53
|
-
*/
|
|
54
|
-
/**
|
|
55
|
-
* React Native specific.
|
|
56
|
-
* These variables do not appear to be used anywhere else.
|
|
57
|
-
*/
|
|
58
|
-
/**
|
|
59
|
-
* Converts a hex value into the rgb equivalent.
|
|
60
|
-
*
|
|
61
|
-
* @param {string} hex - the hexadecimal value to convert
|
|
62
|
-
* @return {string} comma separated rgb values
|
|
63
|
-
*/
|
|
64
|
-
/**
|
|
65
|
-
* Long content fade mixin
|
|
66
|
-
*
|
|
67
|
-
* Creates a fading overlay to signify that the content is longer
|
|
68
|
-
* than the space allows.
|
|
69
|
-
*/
|
|
70
|
-
/**
|
|
71
|
-
* Breakpoint mixins
|
|
72
|
-
*/
|
|
73
|
-
/**
|
|
74
|
-
* Focus styles.
|
|
75
|
-
*/
|
|
76
|
-
/**
|
|
77
|
-
* Applies editor left position to the selector passed as argument
|
|
78
|
-
*/
|
|
79
|
-
/**
|
|
80
|
-
* Styles that are reused verbatim in a few places
|
|
81
|
-
*/
|
|
82
|
-
/**
|
|
83
|
-
* Allows users to opt-out of animations via OS-level preferences.
|
|
84
|
-
*/
|
|
85
|
-
/**
|
|
86
|
-
* Reset default styles for JavaScript UI based pages.
|
|
87
|
-
* This is a WP-admin agnostic reset
|
|
88
|
-
*/
|
|
89
|
-
/**
|
|
90
|
-
* Reset the WP Admin page styles for Gutenberg-like pages.
|
|
91
|
-
*/
|
|
92
|
-
.wp-block-post-content.wp-block-post-content {
|
|
93
|
-
-webkit-user-select: none;
|
|
94
|
-
user-select: none;
|
|
95
|
-
}
|
|
@@ -1,95 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Converts a hex value into the rgb equivalent.
|
|
3
|
-
*
|
|
4
|
-
* @param {string} hex - the hexadecimal value to convert
|
|
5
|
-
* @return {string} comma separated rgb values
|
|
6
|
-
*/
|
|
7
|
-
/**
|
|
8
|
-
* Colors
|
|
9
|
-
*/
|
|
10
|
-
/**
|
|
11
|
-
* Breakpoints & Media Queries
|
|
12
|
-
*/
|
|
13
|
-
/**
|
|
14
|
-
* SCSS Variables.
|
|
15
|
-
*
|
|
16
|
-
* Please use variables from this sheet to ensure consistency across the UI.
|
|
17
|
-
* Don't add to this sheet unless you're pretty sure the value will be reused in many places.
|
|
18
|
-
* For example, don't add rules to this sheet that affect block visuals. It's purely for UI.
|
|
19
|
-
*/
|
|
20
|
-
/**
|
|
21
|
-
* Converts a hex value into the rgb equivalent.
|
|
22
|
-
*
|
|
23
|
-
* @param {string} hex - the hexadecimal value to convert
|
|
24
|
-
* @return {string} comma separated rgb values
|
|
25
|
-
*/
|
|
26
|
-
/**
|
|
27
|
-
* Colors
|
|
28
|
-
*/
|
|
29
|
-
/**
|
|
30
|
-
* Fonts & basic variables.
|
|
31
|
-
*/
|
|
32
|
-
/**
|
|
33
|
-
* Grid System.
|
|
34
|
-
* https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
|
|
35
|
-
*/
|
|
36
|
-
/**
|
|
37
|
-
* Radius scale.
|
|
38
|
-
*/
|
|
39
|
-
/**
|
|
40
|
-
* Elevation scale.
|
|
41
|
-
*/
|
|
42
|
-
/**
|
|
43
|
-
* Dimensions.
|
|
44
|
-
*/
|
|
45
|
-
/**
|
|
46
|
-
* Editor widths.
|
|
47
|
-
*/
|
|
48
|
-
/**
|
|
49
|
-
* Block & Editor UI.
|
|
50
|
-
*/
|
|
51
|
-
/**
|
|
52
|
-
* Block paddings.
|
|
53
|
-
*/
|
|
54
|
-
/**
|
|
55
|
-
* React Native specific.
|
|
56
|
-
* These variables do not appear to be used anywhere else.
|
|
57
|
-
*/
|
|
58
|
-
/**
|
|
59
|
-
* Converts a hex value into the rgb equivalent.
|
|
60
|
-
*
|
|
61
|
-
* @param {string} hex - the hexadecimal value to convert
|
|
62
|
-
* @return {string} comma separated rgb values
|
|
63
|
-
*/
|
|
64
|
-
/**
|
|
65
|
-
* Long content fade mixin
|
|
66
|
-
*
|
|
67
|
-
* Creates a fading overlay to signify that the content is longer
|
|
68
|
-
* than the space allows.
|
|
69
|
-
*/
|
|
70
|
-
/**
|
|
71
|
-
* Breakpoint mixins
|
|
72
|
-
*/
|
|
73
|
-
/**
|
|
74
|
-
* Focus styles.
|
|
75
|
-
*/
|
|
76
|
-
/**
|
|
77
|
-
* Applies editor left position to the selector passed as argument
|
|
78
|
-
*/
|
|
79
|
-
/**
|
|
80
|
-
* Styles that are reused verbatim in a few places
|
|
81
|
-
*/
|
|
82
|
-
/**
|
|
83
|
-
* Allows users to opt-out of animations via OS-level preferences.
|
|
84
|
-
*/
|
|
85
|
-
/**
|
|
86
|
-
* Reset default styles for JavaScript UI based pages.
|
|
87
|
-
* This is a WP-admin agnostic reset
|
|
88
|
-
*/
|
|
89
|
-
/**
|
|
90
|
-
* Reset the WP Admin page styles for Gutenberg-like pages.
|
|
91
|
-
*/
|
|
92
|
-
.wp-block-post-content.wp-block-post-content {
|
|
93
|
-
-webkit-user-select: none;
|
|
94
|
-
user-select: none;
|
|
95
|
-
}
|