@wordpress/block-library 9.22.0 → 9.24.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 +4 -0
- package/build/calendar/index.js +1 -0
- package/build/calendar/index.js.map +1 -1
- package/build/code/index.js +2 -1
- package/build/code/index.js.map +1 -1
- package/build/comments/edit/comments-inspector-controls.js +13 -13
- package/build/comments/edit/comments-inspector-controls.js.map +1 -1
- package/build/comments/edit/index.js +4 -2
- package/build/comments/edit/index.js.map +1 -1
- package/build/cover/edit/inspector-controls.js +9 -12
- package/build/cover/edit/inspector-controls.js.map +1 -1
- package/build/details/index.js +2 -1
- package/build/details/index.js.map +1 -1
- package/build/group/edit.js +17 -13
- package/build/group/edit.js.map +1 -1
- package/build/html/index.js +2 -1
- package/build/html/index.js.map +1 -1
- package/build/image/constants.js +2 -1
- package/build/image/constants.js.map +1 -1
- package/build/image/edit.js +1 -7
- package/build/image/edit.js.map +1 -1
- package/build/image/image.js +1 -4
- package/build/image/image.js.map +1 -1
- package/build/latest-posts/edit.js +100 -54
- package/build/latest-posts/edit.js.map +1 -1
- package/build/more/index.js +2 -1
- package/build/more/index.js.map +1 -1
- package/build/post-excerpt/edit.js +3 -1
- package/build/post-excerpt/edit.js.map +1 -1
- package/build/post-excerpt/index.js +2 -1
- package/build/post-excerpt/index.js.map +1 -1
- package/build/post-navigation-link/edit.js +3 -1
- package/build/post-navigation-link/edit.js.map +1 -1
- package/build/post-navigation-link/index.js +2 -1
- package/build/post-navigation-link/index.js.map +1 -1
- package/build/post-navigation-link/variations.js +13 -13
- package/build/post-navigation-link/variations.js.map +1 -1
- package/build/post-template/edit.js +5 -3
- package/build/post-template/edit.js.map +1 -1
- package/build/post-terms/edit.js +3 -1
- package/build/post-terms/edit.js.map +1 -1
- package/build/post-terms/index.js +4 -2
- package/build/post-terms/index.js.map +1 -1
- package/build/preformatted/transforms.js +5 -1
- package/build/preformatted/transforms.js.map +1 -1
- package/build/query/edit/query-content.js +11 -12
- package/build/query/edit/query-content.js.map +1 -1
- package/build/read-more/index.js +2 -1
- package/build/read-more/index.js.map +1 -1
- package/build/rss/index.js +2 -1
- package/build/rss/index.js.map +1 -1
- package/build/search/edit.js +76 -86
- package/build/search/edit.js.map +1 -1
- package/build/separator/edit.js +13 -12
- package/build/separator/edit.js.map +1 -1
- package/build/table/edit.js +3 -2
- package/build/table/edit.js.map +1 -1
- package/build/table/index.js +8 -4
- package/build/table/index.js.map +1 -1
- package/build/template-part/edit/advanced-controls.js +14 -12
- package/build/template-part/edit/advanced-controls.js.map +1 -1
- package/build/template-part/edit/index.js +2 -1
- package/build/template-part/edit/index.js.map +1 -1
- package/build-module/calendar/index.js +1 -0
- package/build-module/calendar/index.js.map +1 -1
- package/build-module/code/index.js +2 -1
- package/build-module/code/index.js.map +1 -1
- package/build-module/comments/edit/comments-inspector-controls.js +14 -14
- package/build-module/comments/edit/comments-inspector-controls.js.map +1 -1
- package/build-module/comments/edit/index.js +4 -2
- package/build-module/comments/edit/index.js.map +1 -1
- package/build-module/cover/edit/inspector-controls.js +10 -13
- package/build-module/cover/edit/inspector-controls.js.map +1 -1
- package/build-module/details/index.js +2 -1
- package/build-module/details/index.js.map +1 -1
- package/build-module/group/edit.js +16 -14
- package/build-module/group/edit.js.map +1 -1
- package/build-module/html/index.js +2 -1
- package/build-module/html/index.js.map +1 -1
- package/build-module/image/constants.js +1 -0
- package/build-module/image/constants.js.map +1 -1
- package/build-module/image/edit.js +2 -8
- package/build-module/image/edit.js.map +1 -1
- package/build-module/image/image.js +2 -5
- package/build-module/image/image.js.map +1 -1
- package/build-module/latest-posts/edit.js +100 -54
- package/build-module/latest-posts/edit.js.map +1 -1
- package/build-module/more/index.js +2 -1
- package/build-module/more/index.js.map +1 -1
- package/build-module/post-excerpt/edit.js +4 -2
- package/build-module/post-excerpt/edit.js.map +1 -1
- package/build-module/post-excerpt/index.js +2 -1
- package/build-module/post-excerpt/index.js.map +1 -1
- package/build-module/post-navigation-link/edit.js +4 -2
- package/build-module/post-navigation-link/edit.js.map +1 -1
- package/build-module/post-navigation-link/index.js +2 -1
- package/build-module/post-navigation-link/index.js.map +1 -1
- package/build-module/post-navigation-link/variations.js +13 -13
- package/build-module/post-navigation-link/variations.js.map +1 -1
- package/build-module/post-template/edit.js +5 -3
- package/build-module/post-template/edit.js.map +1 -1
- package/build-module/post-terms/edit.js +4 -2
- package/build-module/post-terms/edit.js.map +1 -1
- package/build-module/post-terms/index.js +4 -2
- package/build-module/post-terms/index.js.map +1 -1
- package/build-module/preformatted/transforms.js +5 -1
- package/build-module/preformatted/transforms.js.map +1 -1
- package/build-module/query/edit/query-content.js +12 -13
- package/build-module/query/edit/query-content.js.map +1 -1
- package/build-module/read-more/index.js +2 -1
- package/build-module/read-more/index.js.map +1 -1
- package/build-module/rss/index.js +2 -1
- package/build-module/rss/index.js.map +1 -1
- package/build-module/search/edit.js +78 -88
- package/build-module/search/edit.js.map +1 -1
- package/build-module/separator/edit.js +15 -14
- package/build-module/separator/edit.js.map +1 -1
- package/build-module/table/edit.js +4 -3
- package/build-module/table/edit.js.map +1 -1
- package/build-module/table/index.js +8 -4
- package/build-module/table/index.js.map +1 -1
- package/build-module/template-part/edit/advanced-controls.js +14 -12
- package/build-module/template-part/edit/advanced-controls.js.map +1 -1
- package/build-module/template-part/edit/index.js +2 -1
- package/build-module/template-part/edit/index.js.map +1 -1
- package/build-style/archives/editor-rtl.css +47 -11
- package/build-style/archives/editor.css +47 -11
- package/build-style/archives/style-rtl.css +47 -11
- package/build-style/archives/style.css +47 -11
- package/build-style/audio/editor-rtl.css +47 -11
- package/build-style/audio/editor.css +47 -11
- package/build-style/audio/style-rtl.css +47 -11
- package/build-style/audio/style.css +47 -11
- package/build-style/audio/theme-rtl.css +47 -11
- package/build-style/audio/theme.css +47 -11
- package/build-style/avatar/editor-rtl.css +47 -11
- package/build-style/avatar/editor.css +47 -11
- package/build-style/avatar/style-rtl.css +47 -11
- package/build-style/avatar/style.css +47 -11
- package/build-style/button/editor-rtl.css +47 -11
- package/build-style/button/editor.css +47 -11
- package/build-style/button/style-rtl.css +47 -12
- package/build-style/button/style.css +47 -12
- package/build-style/buttons/editor-rtl.css +47 -11
- package/build-style/buttons/editor.css +47 -11
- package/build-style/buttons/style-rtl.css +50 -11
- package/build-style/buttons/style.css +50 -11
- package/build-style/calendar/style-rtl.css +47 -11
- package/build-style/calendar/style.css +47 -11
- package/build-style/categories/editor-rtl.css +47 -11
- package/build-style/categories/editor.css +47 -11
- package/build-style/categories/style-rtl.css +47 -11
- package/build-style/categories/style.css +47 -11
- package/build-style/classic-rtl.css +47 -11
- package/build-style/classic.css +47 -11
- package/build-style/code/editor-rtl.css +47 -11
- package/build-style/code/editor.css +47 -11
- package/build-style/code/style-rtl.css +47 -11
- package/build-style/code/style.css +47 -11
- package/build-style/code/theme-rtl.css +47 -11
- package/build-style/code/theme.css +47 -11
- package/build-style/columns/editor-rtl.css +47 -11
- package/build-style/columns/editor.css +47 -11
- package/build-style/columns/style-rtl.css +47 -11
- package/build-style/columns/style.css +47 -11
- package/build-style/comment-author-avatar/editor-rtl.css +47 -11
- package/build-style/comment-author-avatar/editor.css +47 -11
- package/build-style/comment-author-name/style-rtl.css +47 -11
- package/build-style/comment-author-name/style.css +47 -11
- package/build-style/comment-content/style-rtl.css +47 -11
- package/build-style/comment-content/style.css +47 -11
- package/build-style/comment-date/style-rtl.css +47 -11
- package/build-style/comment-date/style.css +47 -11
- package/build-style/comment-edit-link/style-rtl.css +47 -11
- package/build-style/comment-edit-link/style.css +47 -11
- package/build-style/comment-reply-link/style-rtl.css +47 -11
- package/build-style/comment-reply-link/style.css +47 -11
- package/build-style/comment-template/style-rtl.css +47 -11
- package/build-style/comment-template/style.css +47 -11
- package/build-style/comments/editor-rtl.css +47 -11
- package/build-style/comments/editor.css +47 -11
- package/build-style/comments/style-rtl.css +47 -11
- package/build-style/comments/style.css +47 -11
- package/build-style/comments-pagination/editor-rtl.css +47 -11
- package/build-style/comments-pagination/editor.css +47 -11
- package/build-style/comments-pagination/style-rtl.css +47 -11
- package/build-style/comments-pagination/style.css +47 -11
- package/build-style/comments-pagination-numbers/editor-rtl.css +47 -11
- package/build-style/comments-pagination-numbers/editor.css +47 -11
- package/build-style/comments-title/editor-rtl.css +47 -11
- package/build-style/comments-title/editor.css +47 -11
- package/build-style/common-rtl.css +130 -9
- package/build-style/common.css +130 -9
- package/build-style/cover/editor-rtl.css +47 -11
- package/build-style/cover/editor.css +47 -11
- package/build-style/cover/style-rtl.css +47 -11
- package/build-style/cover/style.css +47 -11
- package/build-style/details/editor-rtl.css +47 -11
- package/build-style/details/editor.css +47 -11
- package/build-style/details/style-rtl.css +47 -11
- package/build-style/details/style.css +47 -11
- package/build-style/editor-elements-rtl.css +47 -11
- package/build-style/editor-elements.css +47 -11
- package/build-style/editor-rtl.css +48 -11
- package/build-style/editor.css +48 -11
- package/build-style/elements-rtl.css +47 -11
- package/build-style/elements.css +47 -11
- package/build-style/embed/editor-rtl.css +47 -11
- package/build-style/embed/editor.css +47 -11
- package/build-style/embed/style-rtl.css +47 -11
- package/build-style/embed/style.css +47 -11
- package/build-style/embed/theme-rtl.css +47 -11
- package/build-style/embed/theme.css +47 -11
- package/build-style/file/editor-rtl.css +47 -11
- package/build-style/file/editor.css +47 -11
- package/build-style/file/style-rtl.css +47 -11
- package/build-style/file/style.css +47 -11
- package/build-style/footnotes/style-rtl.css +47 -11
- package/build-style/footnotes/style.css +47 -11
- package/build-style/form-input/editor-rtl.css +47 -11
- package/build-style/form-input/editor.css +47 -11
- package/build-style/form-input/style-rtl.css +47 -11
- package/build-style/form-input/style.css +47 -11
- package/build-style/form-submission-notification/editor-rtl.css +47 -11
- package/build-style/form-submission-notification/editor.css +47 -11
- package/build-style/form-submit-button/style-rtl.css +47 -11
- package/build-style/form-submit-button/style.css +47 -11
- package/build-style/freeform/editor-rtl.css +47 -11
- package/build-style/freeform/editor.css +47 -11
- package/build-style/gallery/editor-rtl.css +47 -11
- package/build-style/gallery/editor.css +47 -11
- package/build-style/gallery/style-rtl.css +47 -11
- package/build-style/gallery/style.css +47 -11
- package/build-style/gallery/theme-rtl.css +47 -11
- package/build-style/gallery/theme.css +47 -11
- package/build-style/group/editor-rtl.css +47 -11
- package/build-style/group/editor.css +47 -11
- package/build-style/group/style-rtl.css +47 -11
- package/build-style/group/style.css +47 -11
- package/build-style/group/theme-rtl.css +47 -11
- package/build-style/group/theme.css +47 -11
- package/build-style/heading/style-rtl.css +47 -11
- package/build-style/heading/style.css +47 -11
- package/build-style/html/editor-rtl.css +48 -11
- package/build-style/html/editor.css +48 -11
- package/build-style/image/editor-rtl.css +47 -11
- package/build-style/image/editor.css +47 -11
- package/build-style/image/style-rtl.css +47 -11
- package/build-style/image/style.css +47 -11
- package/build-style/image/theme-rtl.css +47 -11
- package/build-style/image/theme.css +47 -11
- package/build-style/latest-comments/style-rtl.css +47 -11
- package/build-style/latest-comments/style.css +47 -11
- package/build-style/latest-posts/editor-rtl.css +47 -11
- package/build-style/latest-posts/editor.css +47 -11
- package/build-style/latest-posts/style-rtl.css +47 -11
- package/build-style/latest-posts/style.css +47 -11
- package/build-style/list/style-rtl.css +47 -11
- package/build-style/list/style.css +47 -11
- package/build-style/loginout/style-rtl.css +47 -11
- package/build-style/loginout/style.css +47 -11
- package/build-style/media-text/editor-rtl.css +47 -11
- package/build-style/media-text/editor.css +47 -11
- package/build-style/media-text/style-rtl.css +47 -11
- package/build-style/media-text/style.css +47 -11
- package/build-style/more/editor-rtl.css +47 -11
- package/build-style/more/editor.css +47 -11
- package/build-style/navigation/editor-rtl.css +47 -11
- package/build-style/navigation/editor.css +47 -11
- package/build-style/navigation/style-rtl.css +47 -11
- package/build-style/navigation/style.css +47 -11
- package/build-style/navigation-link/editor-rtl.css +47 -11
- package/build-style/navigation-link/editor.css +47 -11
- package/build-style/navigation-link/style-rtl.css +47 -11
- package/build-style/navigation-link/style.css +47 -11
- package/build-style/navigation-submenu/editor-rtl.css +47 -11
- package/build-style/navigation-submenu/editor.css +47 -11
- package/build-style/nextpage/editor-rtl.css +47 -11
- package/build-style/nextpage/editor.css +47 -11
- package/build-style/page-list/editor-rtl.css +47 -11
- package/build-style/page-list/editor.css +47 -11
- package/build-style/page-list/style-rtl.css +47 -11
- package/build-style/page-list/style.css +47 -11
- package/build-style/paragraph/editor-rtl.css +47 -11
- package/build-style/paragraph/editor.css +47 -11
- package/build-style/paragraph/style-rtl.css +47 -11
- package/build-style/paragraph/style.css +47 -11
- package/build-style/post-author/editor-rtl.css +47 -11
- package/build-style/post-author/editor.css +47 -11
- package/build-style/post-author/style-rtl.css +47 -11
- package/build-style/post-author/style.css +47 -11
- package/build-style/post-author-biography/style-rtl.css +47 -11
- package/build-style/post-author-biography/style.css +47 -11
- package/build-style/post-author-name/style-rtl.css +47 -11
- package/build-style/post-author-name/style.css +47 -11
- package/build-style/post-comments-count/style-rtl.css +47 -11
- package/build-style/post-comments-count/style.css +47 -11
- package/build-style/post-comments-form/editor-rtl.css +47 -11
- package/build-style/post-comments-form/editor.css +47 -11
- package/build-style/post-comments-form/style-rtl.css +47 -14
- package/build-style/post-comments-form/style.css +47 -14
- package/build-style/post-comments-link/style-rtl.css +47 -11
- package/build-style/post-comments-link/style.css +47 -11
- package/build-style/post-content/style-rtl.css +47 -11
- package/build-style/post-content/style.css +47 -11
- package/build-style/post-date/style-rtl.css +47 -11
- package/build-style/post-date/style.css +47 -11
- package/build-style/post-excerpt/editor-rtl.css +47 -11
- package/build-style/post-excerpt/editor.css +47 -11
- package/build-style/post-excerpt/style-rtl.css +47 -11
- package/build-style/post-excerpt/style.css +47 -11
- package/build-style/post-featured-image/editor-rtl.css +47 -11
- package/build-style/post-featured-image/editor.css +47 -11
- package/build-style/post-featured-image/style-rtl.css +47 -11
- package/build-style/post-featured-image/style.css +47 -11
- package/build-style/post-navigation-link/style-rtl.css +47 -11
- package/build-style/post-navigation-link/style.css +47 -11
- package/build-style/post-template/style-rtl.css +47 -11
- package/build-style/post-template/style.css +47 -11
- package/build-style/post-terms/style-rtl.css +47 -11
- package/build-style/post-terms/style.css +47 -11
- package/build-style/post-time-to-read/style-rtl.css +47 -11
- package/build-style/post-time-to-read/style.css +47 -11
- package/build-style/post-title/style-rtl.css +47 -11
- package/build-style/post-title/style.css +47 -11
- package/build-style/preformatted/style-rtl.css +47 -11
- package/build-style/preformatted/style.css +47 -11
- package/build-style/pullquote/editor-rtl.css +47 -11
- package/build-style/pullquote/editor.css +47 -11
- package/build-style/pullquote/style-rtl.css +47 -11
- package/build-style/pullquote/style.css +47 -11
- package/build-style/pullquote/theme-rtl.css +47 -11
- package/build-style/pullquote/theme.css +47 -11
- package/build-style/query/editor-rtl.css +47 -11
- package/build-style/query/editor.css +47 -11
- package/build-style/query-pagination/editor-rtl.css +47 -11
- package/build-style/query-pagination/editor.css +47 -11
- package/build-style/query-pagination/style-rtl.css +47 -11
- package/build-style/query-pagination/style.css +47 -11
- package/build-style/query-pagination-numbers/editor-rtl.css +47 -11
- package/build-style/query-pagination-numbers/editor.css +47 -11
- package/build-style/query-title/style-rtl.css +47 -11
- package/build-style/query-title/style.css +47 -11
- package/build-style/query-total/style-rtl.css +47 -11
- package/build-style/query-total/style.css +47 -11
- package/build-style/quote/style-rtl.css +47 -11
- package/build-style/quote/style.css +47 -11
- package/build-style/quote/theme-rtl.css +47 -11
- package/build-style/quote/theme.css +47 -11
- package/build-style/read-more/style-rtl.css +47 -11
- package/build-style/read-more/style.css +47 -11
- package/build-style/reset-rtl.css +47 -11
- package/build-style/reset.css +47 -11
- package/build-style/rss/editor-rtl.css +47 -11
- package/build-style/rss/editor.css +47 -11
- package/build-style/rss/style-rtl.css +47 -11
- package/build-style/rss/style.css +47 -11
- package/build-style/search/editor-rtl.css +47 -11
- package/build-style/search/editor.css +47 -11
- package/build-style/search/style-rtl.css +47 -11
- package/build-style/search/style.css +47 -11
- package/build-style/search/theme-rtl.css +47 -11
- package/build-style/search/theme.css +47 -11
- package/build-style/separator/editor-rtl.css +47 -11
- package/build-style/separator/editor.css +47 -11
- package/build-style/separator/style-rtl.css +47 -11
- package/build-style/separator/style.css +47 -11
- package/build-style/separator/theme-rtl.css +47 -11
- package/build-style/separator/theme.css +47 -11
- package/build-style/shortcode/editor-rtl.css +47 -11
- package/build-style/shortcode/editor.css +47 -11
- package/build-style/site-logo/editor-rtl.css +47 -11
- package/build-style/site-logo/editor.css +47 -11
- package/build-style/site-logo/style-rtl.css +47 -11
- package/build-style/site-logo/style.css +47 -11
- package/build-style/site-tagline/editor-rtl.css +47 -11
- package/build-style/site-tagline/editor.css +47 -11
- package/build-style/site-tagline/style-rtl.css +47 -11
- package/build-style/site-tagline/style.css +47 -11
- package/build-style/site-title/editor-rtl.css +47 -11
- package/build-style/site-title/editor.css +47 -11
- package/build-style/site-title/style-rtl.css +47 -11
- package/build-style/site-title/style.css +47 -11
- package/build-style/social-link/editor-rtl.css +47 -11
- package/build-style/social-link/editor.css +47 -11
- package/build-style/social-links/editor-rtl.css +47 -11
- package/build-style/social-links/editor.css +47 -11
- package/build-style/social-links/style-rtl.css +47 -11
- package/build-style/social-links/style.css +47 -11
- package/build-style/spacer/editor-rtl.css +47 -11
- package/build-style/spacer/editor.css +47 -11
- package/build-style/spacer/style-rtl.css +47 -11
- package/build-style/spacer/style.css +47 -11
- package/build-style/style-rtl.css +50 -15
- package/build-style/style.css +50 -15
- package/build-style/table/editor-rtl.css +47 -11
- package/build-style/table/editor.css +47 -11
- package/build-style/table/style-rtl.css +47 -11
- package/build-style/table/style.css +47 -11
- package/build-style/table/theme-rtl.css +47 -11
- package/build-style/table/theme.css +47 -11
- package/build-style/table-of-contents/style-rtl.css +47 -11
- package/build-style/table-of-contents/style.css +47 -11
- package/build-style/tag-cloud/editor-rtl.css +47 -11
- package/build-style/tag-cloud/editor.css +47 -11
- package/build-style/tag-cloud/style-rtl.css +47 -11
- package/build-style/tag-cloud/style.css +47 -11
- package/build-style/template-part/editor-rtl.css +47 -11
- package/build-style/template-part/editor.css +47 -11
- package/build-style/template-part/theme-rtl.css +47 -11
- package/build-style/template-part/theme.css +47 -11
- package/build-style/term-description/style-rtl.css +47 -11
- package/build-style/term-description/style.css +47 -11
- package/build-style/text-columns/editor-rtl.css +47 -11
- package/build-style/text-columns/editor.css +47 -11
- package/build-style/text-columns/style-rtl.css +47 -11
- package/build-style/text-columns/style.css +47 -11
- package/build-style/theme-rtl.css +47 -11
- package/build-style/theme.css +47 -11
- package/build-style/verse/style-rtl.css +47 -11
- package/build-style/verse/style.css +47 -11
- package/build-style/video/editor-rtl.css +47 -11
- package/build-style/video/editor.css +47 -11
- package/build-style/video/style-rtl.css +47 -11
- package/build-style/video/style.css +47 -11
- package/build-style/video/theme-rtl.css +47 -11
- package/build-style/video/theme.css +47 -11
- package/package.json +35 -35
- package/src/button/style.scss +0 -1
- package/src/buttons/style.scss +5 -0
- package/src/calendar/block.json +1 -0
- package/src/code/block.json +2 -1
- package/src/comments/edit/comments-inspector-controls.js +14 -12
- package/src/comments/edit/index.js +2 -1
- package/src/cover/edit/inspector-controls.js +9 -12
- package/src/details/block.json +2 -1
- package/src/group/edit.js +11 -10
- package/src/html/block.json +2 -1
- package/src/html/editor.scss +1 -0
- package/src/image/constants.js +1 -0
- package/src/image/edit.js +2 -5
- package/src/image/image.js +7 -5
- package/src/latest-posts/edit.js +113 -81
- package/src/loginout/index.php +5 -1
- package/src/more/block.json +2 -1
- package/src/navigation/index.php +0 -1
- package/src/navigation-link/index.php +1 -1
- package/src/navigation-submenu/index.php +1 -1
- package/src/post-author/index.php +1 -1
- package/src/post-author-name/index.php +1 -1
- package/src/post-comments-form/style.scss +0 -5
- package/src/post-excerpt/block.json +2 -1
- package/src/post-excerpt/edit.js +13 -8
- package/src/post-navigation-link/block.json +2 -1
- package/src/post-navigation-link/edit.js +13 -8
- package/src/post-navigation-link/variations.js +13 -13
- package/src/post-template/edit.js +4 -3
- package/src/post-terms/block.json +4 -2
- package/src/post-terms/edit.js +13 -8
- package/src/preformatted/test/__snapshots__/transforms.native.js.snap +6 -0
- package/src/preformatted/test/transforms.native.js +6 -1
- package/src/preformatted/transforms.js +7 -1
- package/src/query/edit/query-content.js +10 -11
- package/src/read-more/block.json +2 -1
- package/src/rss/block.json +2 -1
- package/src/search/edit.js +84 -99
- package/src/separator/edit.js +16 -12
- package/src/table/block.json +8 -4
- package/src/table/edit.js +6 -2
- package/src/template-part/edit/advanced-controls.js +9 -8
- package/src/template-part/edit/index.js +1 -0
- package/src/verse/test/__snapshots__/transforms.native.js.snap +6 -0
- package/src/verse/test/transforms.native.js +5 -1
- package/build/search/icons.js +0 -121
- package/build/search/icons.js.map +0 -1
- package/build/utils/messages.js +0 -22
- package/build/utils/messages.js.map +0 -1
- package/build-module/search/icons.js +0 -114
- package/build-module/search/icons.js.map +0 -1
- package/build-module/utils/messages.js +0 -15
- package/build-module/utils/messages.js.map +0 -1
- package/src/search/icons.js +0 -89
- package/src/utils/messages.js +0 -31
package/src/table/block.json
CHANGED
|
@@ -14,7 +14,8 @@
|
|
|
14
14
|
"caption": {
|
|
15
15
|
"type": "rich-text",
|
|
16
16
|
"source": "rich-text",
|
|
17
|
-
"selector": "figcaption"
|
|
17
|
+
"selector": "figcaption",
|
|
18
|
+
"role": "content"
|
|
18
19
|
},
|
|
19
20
|
"head": {
|
|
20
21
|
"type": "array",
|
|
@@ -30,7 +31,8 @@
|
|
|
30
31
|
"query": {
|
|
31
32
|
"content": {
|
|
32
33
|
"type": "rich-text",
|
|
33
|
-
"source": "rich-text"
|
|
34
|
+
"source": "rich-text",
|
|
35
|
+
"role": "content"
|
|
34
36
|
},
|
|
35
37
|
"tag": {
|
|
36
38
|
"type": "string",
|
|
@@ -75,7 +77,8 @@
|
|
|
75
77
|
"query": {
|
|
76
78
|
"content": {
|
|
77
79
|
"type": "rich-text",
|
|
78
|
-
"source": "rich-text"
|
|
80
|
+
"source": "rich-text",
|
|
81
|
+
"role": "content"
|
|
79
82
|
},
|
|
80
83
|
"tag": {
|
|
81
84
|
"type": "string",
|
|
@@ -120,7 +123,8 @@
|
|
|
120
123
|
"query": {
|
|
121
124
|
"content": {
|
|
122
125
|
"type": "rich-text",
|
|
123
|
-
"source": "rich-text"
|
|
126
|
+
"source": "rich-text",
|
|
127
|
+
"role": "content"
|
|
124
128
|
},
|
|
125
129
|
"tag": {
|
|
126
130
|
"type": "string",
|
package/src/table/edit.js
CHANGED
|
@@ -16,6 +16,7 @@ import {
|
|
|
16
16
|
useBlockProps,
|
|
17
17
|
__experimentalUseColorProps as useColorProps,
|
|
18
18
|
__experimentalUseBorderProps as useBorderProps,
|
|
19
|
+
useBlockEditingMode,
|
|
19
20
|
} from '@wordpress/block-editor';
|
|
20
21
|
import { __ } from '@wordpress/i18n';
|
|
21
22
|
import {
|
|
@@ -106,6 +107,7 @@ function TableEdit( {
|
|
|
106
107
|
|
|
107
108
|
const colorProps = useColorProps( attributes );
|
|
108
109
|
const borderProps = useBorderProps( attributes );
|
|
110
|
+
const blockEditingMode = useBlockEditingMode();
|
|
109
111
|
|
|
110
112
|
const tableRef = useRef();
|
|
111
113
|
const [ hasTableCreated, setHasTableCreated ] = useState( false );
|
|
@@ -455,7 +457,7 @@ function TableEdit( {
|
|
|
455
457
|
|
|
456
458
|
return (
|
|
457
459
|
<figure { ...useBlockProps( { ref: tableRef } ) }>
|
|
458
|
-
{ ! isEmpty && (
|
|
460
|
+
{ ! isEmpty && blockEditingMode === 'default' && (
|
|
459
461
|
<>
|
|
460
462
|
<BlockControls group="block">
|
|
461
463
|
<AlignmentControl
|
|
@@ -605,7 +607,9 @@ function TableEdit( {
|
|
|
605
607
|
isSelected={ isSingleSelected }
|
|
606
608
|
insertBlocksAfter={ insertBlocksAfter }
|
|
607
609
|
label={ __( 'Table caption text' ) }
|
|
608
|
-
showToolbarButton={
|
|
610
|
+
showToolbarButton={
|
|
611
|
+
isSingleSelected && blockEditingMode === 'default'
|
|
612
|
+
}
|
|
609
613
|
/>
|
|
610
614
|
) }
|
|
611
615
|
</figure>
|
|
@@ -5,12 +5,15 @@ import { useEntityProp, store as coreStore } from '@wordpress/core-data';
|
|
|
5
5
|
import { SelectControl, TextControl } from '@wordpress/components';
|
|
6
6
|
import { sprintf, __ } from '@wordpress/i18n';
|
|
7
7
|
import { useSelect } from '@wordpress/data';
|
|
8
|
+
import { privateApis as blockEditorPrivateApis } from '@wordpress/block-editor';
|
|
8
9
|
|
|
9
10
|
/**
|
|
10
11
|
* Internal dependencies
|
|
11
12
|
*/
|
|
12
13
|
import { TemplatePartImportControls } from './import-controls';
|
|
13
|
-
import {
|
|
14
|
+
import { unlock } from '../../lock-unlock';
|
|
15
|
+
|
|
16
|
+
const { HTMLElementControl } = unlock( blockEditorPrivateApis );
|
|
14
17
|
|
|
15
18
|
export function TemplatePartAdvancedControls( {
|
|
16
19
|
tagName,
|
|
@@ -19,6 +22,7 @@ export function TemplatePartAdvancedControls( {
|
|
|
19
22
|
templatePartId,
|
|
20
23
|
defaultWrapper,
|
|
21
24
|
hasInnerBlocks,
|
|
25
|
+
clientId,
|
|
22
26
|
} ) {
|
|
23
27
|
const [ area, setArea ] = useEntityProp(
|
|
24
28
|
'postType',
|
|
@@ -73,10 +77,10 @@ export function TemplatePartAdvancedControls( {
|
|
|
73
77
|
/>
|
|
74
78
|
</>
|
|
75
79
|
) }
|
|
76
|
-
<
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
+
<HTMLElementControl
|
|
81
|
+
tagName={ tagName || '' }
|
|
82
|
+
onChange={ ( value ) => setAttributes( { tagName: value } ) }
|
|
83
|
+
clientId={ clientId }
|
|
80
84
|
options={ [
|
|
81
85
|
{
|
|
82
86
|
label: sprintf(
|
|
@@ -94,9 +98,6 @@ export function TemplatePartAdvancedControls( {
|
|
|
94
98
|
{ label: '<footer>', value: 'footer' },
|
|
95
99
|
{ label: '<div>', value: 'div' },
|
|
96
100
|
] }
|
|
97
|
-
value={ tagName || '' }
|
|
98
|
-
onChange={ ( value ) => setAttributes( { tagName: value } ) }
|
|
99
|
-
help={ htmlElementMessages[ tagName ] }
|
|
100
101
|
/>
|
|
101
102
|
{ ! hasInnerBlocks && (
|
|
102
103
|
<TemplatePartImportControls
|
|
@@ -23,3 +23,9 @@ exports[`Verse block transforms to Paragraph block 1`] = `
|
|
|
23
23
|
<p>Come<br />Home.</p>
|
|
24
24
|
<!-- /wp:paragraph -->"
|
|
25
25
|
`;
|
|
26
|
+
|
|
27
|
+
exports[`Verse block transforms to Preformatted block 1`] = `
|
|
28
|
+
"<!-- wp:preformatted -->
|
|
29
|
+
<pre class="wp-block-preformatted">Come<br />Home.</pre>
|
|
30
|
+
<!-- /wp:preformatted -->"
|
|
31
|
+
`;
|
|
@@ -16,7 +16,11 @@ const initialHtml = `
|
|
|
16
16
|
<!-- /wp:verse -->`;
|
|
17
17
|
|
|
18
18
|
const transformsWithInnerBlocks = [ 'Columns', 'Group' ];
|
|
19
|
-
const blockTransforms = [
|
|
19
|
+
const blockTransforms = [
|
|
20
|
+
'Paragraph',
|
|
21
|
+
'Preformatted',
|
|
22
|
+
...transformsWithInnerBlocks,
|
|
23
|
+
];
|
|
20
24
|
|
|
21
25
|
setupCoreBlocks();
|
|
22
26
|
|
package/build/search/icons.js
DELETED
|
@@ -1,121 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.toggleLabel = exports.noButton = exports.buttonWithIcon = exports.buttonOutside = exports.buttonOnly = exports.buttonInside = void 0;
|
|
7
|
-
var _components = require("@wordpress/components");
|
|
8
|
-
var _jsxRuntime = require("react/jsx-runtime");
|
|
9
|
-
/**
|
|
10
|
-
* WordPress dependencies
|
|
11
|
-
*/
|
|
12
|
-
|
|
13
|
-
const buttonOnly = exports.buttonOnly = /*#__PURE__*/(0, _jsxRuntime.jsx)(_components.SVG, {
|
|
14
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
15
|
-
viewBox: "0 0 24 24",
|
|
16
|
-
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_components.Rect, {
|
|
17
|
-
x: "7",
|
|
18
|
-
y: "10",
|
|
19
|
-
width: "10",
|
|
20
|
-
height: "4",
|
|
21
|
-
rx: "1",
|
|
22
|
-
fill: "currentColor"
|
|
23
|
-
})
|
|
24
|
-
});
|
|
25
|
-
const buttonOutside = exports.buttonOutside = /*#__PURE__*/(0, _jsxRuntime.jsxs)(_components.SVG, {
|
|
26
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
27
|
-
viewBox: "0 0 24 24",
|
|
28
|
-
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_components.Rect, {
|
|
29
|
-
x: "4.75",
|
|
30
|
-
y: "15.25",
|
|
31
|
-
width: "6.5",
|
|
32
|
-
height: "9.5",
|
|
33
|
-
transform: "rotate(-90 4.75 15.25)",
|
|
34
|
-
stroke: "currentColor",
|
|
35
|
-
strokeWidth: "1.5",
|
|
36
|
-
fill: "none"
|
|
37
|
-
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_components.Rect, {
|
|
38
|
-
x: "16",
|
|
39
|
-
y: "10",
|
|
40
|
-
width: "4",
|
|
41
|
-
height: "4",
|
|
42
|
-
rx: "1",
|
|
43
|
-
fill: "currentColor"
|
|
44
|
-
})]
|
|
45
|
-
});
|
|
46
|
-
const buttonInside = exports.buttonInside = /*#__PURE__*/(0, _jsxRuntime.jsxs)(_components.SVG, {
|
|
47
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
48
|
-
viewBox: "0 0 24 24",
|
|
49
|
-
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_components.Rect, {
|
|
50
|
-
x: "4.75",
|
|
51
|
-
y: "15.25",
|
|
52
|
-
width: "6.5",
|
|
53
|
-
height: "14.5",
|
|
54
|
-
transform: "rotate(-90 4.75 15.25)",
|
|
55
|
-
stroke: "currentColor",
|
|
56
|
-
strokeWidth: "1.5",
|
|
57
|
-
fill: "none"
|
|
58
|
-
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_components.Rect, {
|
|
59
|
-
x: "14",
|
|
60
|
-
y: "10",
|
|
61
|
-
width: "4",
|
|
62
|
-
height: "4",
|
|
63
|
-
rx: "1",
|
|
64
|
-
fill: "currentColor"
|
|
65
|
-
})]
|
|
66
|
-
});
|
|
67
|
-
const noButton = exports.noButton = /*#__PURE__*/(0, _jsxRuntime.jsx)(_components.SVG, {
|
|
68
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
69
|
-
viewBox: "0 0 24 24",
|
|
70
|
-
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_components.Rect, {
|
|
71
|
-
x: "4.75",
|
|
72
|
-
y: "15.25",
|
|
73
|
-
width: "6.5",
|
|
74
|
-
height: "14.5",
|
|
75
|
-
transform: "rotate(-90 4.75 15.25)",
|
|
76
|
-
stroke: "currentColor",
|
|
77
|
-
fill: "none",
|
|
78
|
-
strokeWidth: "1.5"
|
|
79
|
-
})
|
|
80
|
-
});
|
|
81
|
-
const buttonWithIcon = exports.buttonWithIcon = /*#__PURE__*/(0, _jsxRuntime.jsxs)(_components.SVG, {
|
|
82
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
83
|
-
viewBox: "0 0 24 24",
|
|
84
|
-
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_components.Rect, {
|
|
85
|
-
x: "4.75",
|
|
86
|
-
y: "7.75",
|
|
87
|
-
width: "14.5",
|
|
88
|
-
height: "8.5",
|
|
89
|
-
rx: "1.25",
|
|
90
|
-
stroke: "currentColor",
|
|
91
|
-
fill: "none",
|
|
92
|
-
strokeWidth: "1.5"
|
|
93
|
-
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_components.Rect, {
|
|
94
|
-
x: "8",
|
|
95
|
-
y: "11",
|
|
96
|
-
width: "8",
|
|
97
|
-
height: "2",
|
|
98
|
-
fill: "currentColor"
|
|
99
|
-
})]
|
|
100
|
-
});
|
|
101
|
-
const toggleLabel = exports.toggleLabel = /*#__PURE__*/(0, _jsxRuntime.jsxs)(_components.SVG, {
|
|
102
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
103
|
-
viewBox: "0 0 24 24",
|
|
104
|
-
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_components.Rect, {
|
|
105
|
-
x: "4.75",
|
|
106
|
-
y: "17.25",
|
|
107
|
-
width: "5.5",
|
|
108
|
-
height: "14.5",
|
|
109
|
-
transform: "rotate(-90 4.75 17.25)",
|
|
110
|
-
stroke: "currentColor",
|
|
111
|
-
fill: "none",
|
|
112
|
-
strokeWidth: "1.5"
|
|
113
|
-
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_components.Rect, {
|
|
114
|
-
x: "4",
|
|
115
|
-
y: "7",
|
|
116
|
-
width: "10",
|
|
117
|
-
height: "2",
|
|
118
|
-
fill: "currentColor"
|
|
119
|
-
})]
|
|
120
|
-
});
|
|
121
|
-
//# sourceMappingURL=icons.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["_components","require","_jsxRuntime","buttonOnly","exports","jsx","SVG","xmlns","viewBox","children","Rect","x","y","width","height","rx","fill","buttonOutside","jsxs","transform","stroke","strokeWidth","buttonInside","noButton","buttonWithIcon","toggleLabel"],"sources":["@wordpress/block-library/src/search/icons.js"],"sourcesContent":["/**\n * WordPress dependencies\n */\nimport { SVG, Rect } from '@wordpress/components';\n\nexport const buttonOnly = (\n\t<SVG xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\">\n\t\t<Rect x=\"7\" y=\"10\" width=\"10\" height=\"4\" rx=\"1\" fill=\"currentColor\" />\n\t</SVG>\n);\n\nexport const buttonOutside = (\n\t<SVG xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\">\n\t\t<Rect\n\t\t\tx=\"4.75\"\n\t\t\ty=\"15.25\"\n\t\t\twidth=\"6.5\"\n\t\t\theight=\"9.5\"\n\t\t\ttransform=\"rotate(-90 4.75 15.25)\"\n\t\t\tstroke=\"currentColor\"\n\t\t\tstrokeWidth=\"1.5\"\n\t\t\tfill=\"none\"\n\t\t/>\n\t\t<Rect x=\"16\" y=\"10\" width=\"4\" height=\"4\" rx=\"1\" fill=\"currentColor\" />\n\t</SVG>\n);\n\nexport const buttonInside = (\n\t<SVG xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\">\n\t\t<Rect\n\t\t\tx=\"4.75\"\n\t\t\ty=\"15.25\"\n\t\t\twidth=\"6.5\"\n\t\t\theight=\"14.5\"\n\t\t\ttransform=\"rotate(-90 4.75 15.25)\"\n\t\t\tstroke=\"currentColor\"\n\t\t\tstrokeWidth=\"1.5\"\n\t\t\tfill=\"none\"\n\t\t/>\n\t\t<Rect x=\"14\" y=\"10\" width=\"4\" height=\"4\" rx=\"1\" fill=\"currentColor\" />\n\t</SVG>\n);\n\nexport const noButton = (\n\t<SVG xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\">\n\t\t<Rect\n\t\t\tx=\"4.75\"\n\t\t\ty=\"15.25\"\n\t\t\twidth=\"6.5\"\n\t\t\theight=\"14.5\"\n\t\t\ttransform=\"rotate(-90 4.75 15.25)\"\n\t\t\tstroke=\"currentColor\"\n\t\t\tfill=\"none\"\n\t\t\tstrokeWidth=\"1.5\"\n\t\t/>\n\t</SVG>\n);\n\nexport const buttonWithIcon = (\n\t<SVG xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\">\n\t\t<Rect\n\t\t\tx=\"4.75\"\n\t\t\ty=\"7.75\"\n\t\t\twidth=\"14.5\"\n\t\t\theight=\"8.5\"\n\t\t\trx=\"1.25\"\n\t\t\tstroke=\"currentColor\"\n\t\t\tfill=\"none\"\n\t\t\tstrokeWidth=\"1.5\"\n\t\t/>\n\t\t<Rect x=\"8\" y=\"11\" width=\"8\" height=\"2\" fill=\"currentColor\" />\n\t</SVG>\n);\n\nexport const toggleLabel = (\n\t<SVG xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\">\n\t\t<Rect\n\t\t\tx=\"4.75\"\n\t\t\ty=\"17.25\"\n\t\t\twidth=\"5.5\"\n\t\t\theight=\"14.5\"\n\t\t\ttransform=\"rotate(-90 4.75 17.25)\"\n\t\t\tstroke=\"currentColor\"\n\t\t\tfill=\"none\"\n\t\t\tstrokeWidth=\"1.5\"\n\t\t/>\n\t\t<Rect x=\"4\" y=\"7\" width=\"10\" height=\"2\" fill=\"currentColor\" />\n\t</SVG>\n);\n"],"mappings":"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","ignoreList":[]}
|
package/build/utils/messages.js
DELETED
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.htmlElementMessages = void 0;
|
|
7
|
-
var _i18n = require("@wordpress/i18n");
|
|
8
|
-
/**
|
|
9
|
-
* WordPress dependencies
|
|
10
|
-
*/
|
|
11
|
-
|
|
12
|
-
const htmlElementMessages = exports.htmlElementMessages = {
|
|
13
|
-
article: (0, _i18n.__)('The <article> element should represent a self-contained, syndicatable portion of the document.'),
|
|
14
|
-
aside: (0, _i18n.__)("The <aside> element should represent a portion of a document whose content is only indirectly related to the document's main content."),
|
|
15
|
-
div: (0, _i18n.__)('The <div> element should only be used if the block is a design element with no semantic meaning.'),
|
|
16
|
-
footer: (0, _i18n.__)('The <footer> element should represent a footer for its nearest sectioning element (e.g.: <section>, <article>, <main> etc.).'),
|
|
17
|
-
header: (0, _i18n.__)('The <header> element should represent introductory content, typically a group of introductory or navigational aids.'),
|
|
18
|
-
main: (0, _i18n.__)('The <main> element should be used for the primary content of your document only.'),
|
|
19
|
-
nav: (0, _i18n.__)('The <nav> element should be used to identify groups of links that are intended to be used for website or page content navigation.'),
|
|
20
|
-
section: (0, _i18n.__)("The <section> element should represent a standalone portion of the document that can't be better represented by another element.")
|
|
21
|
-
};
|
|
22
|
-
//# sourceMappingURL=messages.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["_i18n","require","htmlElementMessages","exports","article","__","aside","div","footer","header","main","nav","section"],"sources":["@wordpress/block-library/src/utils/messages.js"],"sourcesContent":["/**\n * WordPress dependencies\n */\nimport { __ } from '@wordpress/i18n';\n\nexport const htmlElementMessages = {\n\tarticle: __(\n\t\t'The <article> element should represent a self-contained, syndicatable portion of the document.'\n\t),\n\taside: __(\n\t\t\"The <aside> element should represent a portion of a document whose content is only indirectly related to the document's main content.\"\n\t),\n\tdiv: __(\n\t\t'The <div> element should only be used if the block is a design element with no semantic meaning.'\n\t),\n\tfooter: __(\n\t\t'The <footer> element should represent a footer for its nearest sectioning element (e.g.: <section>, <article>, <main> etc.).'\n\t),\n\theader: __(\n\t\t'The <header> element should represent introductory content, typically a group of introductory or navigational aids.'\n\t),\n\tmain: __(\n\t\t'The <main> element should be used for the primary content of your document only.'\n\t),\n\tnav: __(\n\t\t'The <nav> element should be used to identify groups of links that are intended to be used for website or page content navigation.'\n\t),\n\tsection: __(\n\t\t\"The <section> element should represent a standalone portion of the document that can't be better represented by another element.\"\n\t),\n};\n"],"mappings":";;;;;;AAGA,IAAAA,KAAA,GAAAC,OAAA;AAHA;AACA;AACA;;AAGO,MAAMC,mBAAmB,GAAAC,OAAA,CAAAD,mBAAA,GAAG;EAClCE,OAAO,EAAE,IAAAC,QAAE,EACV,gGACD,CAAC;EACDC,KAAK,EAAE,IAAAD,QAAE,EACR,uIACD,CAAC;EACDE,GAAG,EAAE,IAAAF,QAAE,EACN,kGACD,CAAC;EACDG,MAAM,EAAE,IAAAH,QAAE,EACT,8HACD,CAAC;EACDI,MAAM,EAAE,IAAAJ,QAAE,EACT,qHACD,CAAC;EACDK,IAAI,EAAE,IAAAL,QAAE,EACP,kFACD,CAAC;EACDM,GAAG,EAAE,IAAAN,QAAE,EACN,mIACD,CAAC;EACDO,OAAO,EAAE,IAAAP,QAAE,EACV,kIACD;AACD,CAAC","ignoreList":[]}
|
|
@@ -1,114 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* WordPress dependencies
|
|
3
|
-
*/
|
|
4
|
-
import { SVG, Rect } from '@wordpress/components';
|
|
5
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
6
|
-
export const buttonOnly = /*#__PURE__*/_jsx(SVG, {
|
|
7
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
8
|
-
viewBox: "0 0 24 24",
|
|
9
|
-
children: /*#__PURE__*/_jsx(Rect, {
|
|
10
|
-
x: "7",
|
|
11
|
-
y: "10",
|
|
12
|
-
width: "10",
|
|
13
|
-
height: "4",
|
|
14
|
-
rx: "1",
|
|
15
|
-
fill: "currentColor"
|
|
16
|
-
})
|
|
17
|
-
});
|
|
18
|
-
export const buttonOutside = /*#__PURE__*/_jsxs(SVG, {
|
|
19
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
20
|
-
viewBox: "0 0 24 24",
|
|
21
|
-
children: [/*#__PURE__*/_jsx(Rect, {
|
|
22
|
-
x: "4.75",
|
|
23
|
-
y: "15.25",
|
|
24
|
-
width: "6.5",
|
|
25
|
-
height: "9.5",
|
|
26
|
-
transform: "rotate(-90 4.75 15.25)",
|
|
27
|
-
stroke: "currentColor",
|
|
28
|
-
strokeWidth: "1.5",
|
|
29
|
-
fill: "none"
|
|
30
|
-
}), /*#__PURE__*/_jsx(Rect, {
|
|
31
|
-
x: "16",
|
|
32
|
-
y: "10",
|
|
33
|
-
width: "4",
|
|
34
|
-
height: "4",
|
|
35
|
-
rx: "1",
|
|
36
|
-
fill: "currentColor"
|
|
37
|
-
})]
|
|
38
|
-
});
|
|
39
|
-
export const buttonInside = /*#__PURE__*/_jsxs(SVG, {
|
|
40
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
41
|
-
viewBox: "0 0 24 24",
|
|
42
|
-
children: [/*#__PURE__*/_jsx(Rect, {
|
|
43
|
-
x: "4.75",
|
|
44
|
-
y: "15.25",
|
|
45
|
-
width: "6.5",
|
|
46
|
-
height: "14.5",
|
|
47
|
-
transform: "rotate(-90 4.75 15.25)",
|
|
48
|
-
stroke: "currentColor",
|
|
49
|
-
strokeWidth: "1.5",
|
|
50
|
-
fill: "none"
|
|
51
|
-
}), /*#__PURE__*/_jsx(Rect, {
|
|
52
|
-
x: "14",
|
|
53
|
-
y: "10",
|
|
54
|
-
width: "4",
|
|
55
|
-
height: "4",
|
|
56
|
-
rx: "1",
|
|
57
|
-
fill: "currentColor"
|
|
58
|
-
})]
|
|
59
|
-
});
|
|
60
|
-
export const noButton = /*#__PURE__*/_jsx(SVG, {
|
|
61
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
62
|
-
viewBox: "0 0 24 24",
|
|
63
|
-
children: /*#__PURE__*/_jsx(Rect, {
|
|
64
|
-
x: "4.75",
|
|
65
|
-
y: "15.25",
|
|
66
|
-
width: "6.5",
|
|
67
|
-
height: "14.5",
|
|
68
|
-
transform: "rotate(-90 4.75 15.25)",
|
|
69
|
-
stroke: "currentColor",
|
|
70
|
-
fill: "none",
|
|
71
|
-
strokeWidth: "1.5"
|
|
72
|
-
})
|
|
73
|
-
});
|
|
74
|
-
export const buttonWithIcon = /*#__PURE__*/_jsxs(SVG, {
|
|
75
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
76
|
-
viewBox: "0 0 24 24",
|
|
77
|
-
children: [/*#__PURE__*/_jsx(Rect, {
|
|
78
|
-
x: "4.75",
|
|
79
|
-
y: "7.75",
|
|
80
|
-
width: "14.5",
|
|
81
|
-
height: "8.5",
|
|
82
|
-
rx: "1.25",
|
|
83
|
-
stroke: "currentColor",
|
|
84
|
-
fill: "none",
|
|
85
|
-
strokeWidth: "1.5"
|
|
86
|
-
}), /*#__PURE__*/_jsx(Rect, {
|
|
87
|
-
x: "8",
|
|
88
|
-
y: "11",
|
|
89
|
-
width: "8",
|
|
90
|
-
height: "2",
|
|
91
|
-
fill: "currentColor"
|
|
92
|
-
})]
|
|
93
|
-
});
|
|
94
|
-
export const toggleLabel = /*#__PURE__*/_jsxs(SVG, {
|
|
95
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
96
|
-
viewBox: "0 0 24 24",
|
|
97
|
-
children: [/*#__PURE__*/_jsx(Rect, {
|
|
98
|
-
x: "4.75",
|
|
99
|
-
y: "17.25",
|
|
100
|
-
width: "5.5",
|
|
101
|
-
height: "14.5",
|
|
102
|
-
transform: "rotate(-90 4.75 17.25)",
|
|
103
|
-
stroke: "currentColor",
|
|
104
|
-
fill: "none",
|
|
105
|
-
strokeWidth: "1.5"
|
|
106
|
-
}), /*#__PURE__*/_jsx(Rect, {
|
|
107
|
-
x: "4",
|
|
108
|
-
y: "7",
|
|
109
|
-
width: "10",
|
|
110
|
-
height: "2",
|
|
111
|
-
fill: "currentColor"
|
|
112
|
-
})]
|
|
113
|
-
});
|
|
114
|
-
//# sourceMappingURL=icons.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["SVG","Rect","jsx","_jsx","jsxs","_jsxs","buttonOnly","xmlns","viewBox","children","x","y","width","height","rx","fill","buttonOutside","transform","stroke","strokeWidth","buttonInside","noButton","buttonWithIcon","toggleLabel"],"sources":["@wordpress/block-library/src/search/icons.js"],"sourcesContent":["/**\n * WordPress dependencies\n */\nimport { SVG, Rect } from '@wordpress/components';\n\nexport const buttonOnly = (\n\t<SVG xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\">\n\t\t<Rect x=\"7\" y=\"10\" width=\"10\" height=\"4\" rx=\"1\" fill=\"currentColor\" />\n\t</SVG>\n);\n\nexport const buttonOutside = (\n\t<SVG xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\">\n\t\t<Rect\n\t\t\tx=\"4.75\"\n\t\t\ty=\"15.25\"\n\t\t\twidth=\"6.5\"\n\t\t\theight=\"9.5\"\n\t\t\ttransform=\"rotate(-90 4.75 15.25)\"\n\t\t\tstroke=\"currentColor\"\n\t\t\tstrokeWidth=\"1.5\"\n\t\t\tfill=\"none\"\n\t\t/>\n\t\t<Rect x=\"16\" y=\"10\" width=\"4\" height=\"4\" rx=\"1\" fill=\"currentColor\" />\n\t</SVG>\n);\n\nexport const buttonInside = (\n\t<SVG xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\">\n\t\t<Rect\n\t\t\tx=\"4.75\"\n\t\t\ty=\"15.25\"\n\t\t\twidth=\"6.5\"\n\t\t\theight=\"14.5\"\n\t\t\ttransform=\"rotate(-90 4.75 15.25)\"\n\t\t\tstroke=\"currentColor\"\n\t\t\tstrokeWidth=\"1.5\"\n\t\t\tfill=\"none\"\n\t\t/>\n\t\t<Rect x=\"14\" y=\"10\" width=\"4\" height=\"4\" rx=\"1\" fill=\"currentColor\" />\n\t</SVG>\n);\n\nexport const noButton = (\n\t<SVG xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\">\n\t\t<Rect\n\t\t\tx=\"4.75\"\n\t\t\ty=\"15.25\"\n\t\t\twidth=\"6.5\"\n\t\t\theight=\"14.5\"\n\t\t\ttransform=\"rotate(-90 4.75 15.25)\"\n\t\t\tstroke=\"currentColor\"\n\t\t\tfill=\"none\"\n\t\t\tstrokeWidth=\"1.5\"\n\t\t/>\n\t</SVG>\n);\n\nexport const buttonWithIcon = (\n\t<SVG xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\">\n\t\t<Rect\n\t\t\tx=\"4.75\"\n\t\t\ty=\"7.75\"\n\t\t\twidth=\"14.5\"\n\t\t\theight=\"8.5\"\n\t\t\trx=\"1.25\"\n\t\t\tstroke=\"currentColor\"\n\t\t\tfill=\"none\"\n\t\t\tstrokeWidth=\"1.5\"\n\t\t/>\n\t\t<Rect x=\"8\" y=\"11\" width=\"8\" height=\"2\" fill=\"currentColor\" />\n\t</SVG>\n);\n\nexport const toggleLabel = (\n\t<SVG xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\">\n\t\t<Rect\n\t\t\tx=\"4.75\"\n\t\t\ty=\"17.25\"\n\t\t\twidth=\"5.5\"\n\t\t\theight=\"14.5\"\n\t\t\ttransform=\"rotate(-90 4.75 17.25)\"\n\t\t\tstroke=\"currentColor\"\n\t\t\tfill=\"none\"\n\t\t\tstrokeWidth=\"1.5\"\n\t\t/>\n\t\t<Rect x=\"4\" y=\"7\" width=\"10\" height=\"2\" fill=\"currentColor\" />\n\t</SVG>\n);\n"],"mappings":"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","ignoreList":[]}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* WordPress dependencies
|
|
3
|
-
*/
|
|
4
|
-
import { __ } from '@wordpress/i18n';
|
|
5
|
-
export const htmlElementMessages = {
|
|
6
|
-
article: __('The <article> element should represent a self-contained, syndicatable portion of the document.'),
|
|
7
|
-
aside: __("The <aside> element should represent a portion of a document whose content is only indirectly related to the document's main content."),
|
|
8
|
-
div: __('The <div> element should only be used if the block is a design element with no semantic meaning.'),
|
|
9
|
-
footer: __('The <footer> element should represent a footer for its nearest sectioning element (e.g.: <section>, <article>, <main> etc.).'),
|
|
10
|
-
header: __('The <header> element should represent introductory content, typically a group of introductory or navigational aids.'),
|
|
11
|
-
main: __('The <main> element should be used for the primary content of your document only.'),
|
|
12
|
-
nav: __('The <nav> element should be used to identify groups of links that are intended to be used for website or page content navigation.'),
|
|
13
|
-
section: __("The <section> element should represent a standalone portion of the document that can't be better represented by another element.")
|
|
14
|
-
};
|
|
15
|
-
//# sourceMappingURL=messages.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["__","htmlElementMessages","article","aside","div","footer","header","main","nav","section"],"sources":["@wordpress/block-library/src/utils/messages.js"],"sourcesContent":["/**\n * WordPress dependencies\n */\nimport { __ } from '@wordpress/i18n';\n\nexport const htmlElementMessages = {\n\tarticle: __(\n\t\t'The <article> element should represent a self-contained, syndicatable portion of the document.'\n\t),\n\taside: __(\n\t\t\"The <aside> element should represent a portion of a document whose content is only indirectly related to the document's main content.\"\n\t),\n\tdiv: __(\n\t\t'The <div> element should only be used if the block is a design element with no semantic meaning.'\n\t),\n\tfooter: __(\n\t\t'The <footer> element should represent a footer for its nearest sectioning element (e.g.: <section>, <article>, <main> etc.).'\n\t),\n\theader: __(\n\t\t'The <header> element should represent introductory content, typically a group of introductory or navigational aids.'\n\t),\n\tmain: __(\n\t\t'The <main> element should be used for the primary content of your document only.'\n\t),\n\tnav: __(\n\t\t'The <nav> element should be used to identify groups of links that are intended to be used for website or page content navigation.'\n\t),\n\tsection: __(\n\t\t\"The <section> element should represent a standalone portion of the document that can't be better represented by another element.\"\n\t),\n};\n"],"mappings":"AAAA;AACA;AACA;AACA,SAASA,EAAE,QAAQ,iBAAiB;AAEpC,OAAO,MAAMC,mBAAmB,GAAG;EAClCC,OAAO,EAAEF,EAAE,CACV,gGACD,CAAC;EACDG,KAAK,EAAEH,EAAE,CACR,uIACD,CAAC;EACDI,GAAG,EAAEJ,EAAE,CACN,kGACD,CAAC;EACDK,MAAM,EAAEL,EAAE,CACT,8HACD,CAAC;EACDM,MAAM,EAAEN,EAAE,CACT,qHACD,CAAC;EACDO,IAAI,EAAEP,EAAE,CACP,kFACD,CAAC;EACDQ,GAAG,EAAER,EAAE,CACN,mIACD,CAAC;EACDS,OAAO,EAAET,EAAE,CACV,kIACD;AACD,CAAC","ignoreList":[]}
|
package/src/search/icons.js
DELETED
|
@@ -1,89 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* WordPress dependencies
|
|
3
|
-
*/
|
|
4
|
-
import { SVG, Rect } from '@wordpress/components';
|
|
5
|
-
|
|
6
|
-
export const buttonOnly = (
|
|
7
|
-
<SVG xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
|
|
8
|
-
<Rect x="7" y="10" width="10" height="4" rx="1" fill="currentColor" />
|
|
9
|
-
</SVG>
|
|
10
|
-
);
|
|
11
|
-
|
|
12
|
-
export const buttonOutside = (
|
|
13
|
-
<SVG xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
|
|
14
|
-
<Rect
|
|
15
|
-
x="4.75"
|
|
16
|
-
y="15.25"
|
|
17
|
-
width="6.5"
|
|
18
|
-
height="9.5"
|
|
19
|
-
transform="rotate(-90 4.75 15.25)"
|
|
20
|
-
stroke="currentColor"
|
|
21
|
-
strokeWidth="1.5"
|
|
22
|
-
fill="none"
|
|
23
|
-
/>
|
|
24
|
-
<Rect x="16" y="10" width="4" height="4" rx="1" fill="currentColor" />
|
|
25
|
-
</SVG>
|
|
26
|
-
);
|
|
27
|
-
|
|
28
|
-
export const buttonInside = (
|
|
29
|
-
<SVG xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
|
|
30
|
-
<Rect
|
|
31
|
-
x="4.75"
|
|
32
|
-
y="15.25"
|
|
33
|
-
width="6.5"
|
|
34
|
-
height="14.5"
|
|
35
|
-
transform="rotate(-90 4.75 15.25)"
|
|
36
|
-
stroke="currentColor"
|
|
37
|
-
strokeWidth="1.5"
|
|
38
|
-
fill="none"
|
|
39
|
-
/>
|
|
40
|
-
<Rect x="14" y="10" width="4" height="4" rx="1" fill="currentColor" />
|
|
41
|
-
</SVG>
|
|
42
|
-
);
|
|
43
|
-
|
|
44
|
-
export const noButton = (
|
|
45
|
-
<SVG xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
|
|
46
|
-
<Rect
|
|
47
|
-
x="4.75"
|
|
48
|
-
y="15.25"
|
|
49
|
-
width="6.5"
|
|
50
|
-
height="14.5"
|
|
51
|
-
transform="rotate(-90 4.75 15.25)"
|
|
52
|
-
stroke="currentColor"
|
|
53
|
-
fill="none"
|
|
54
|
-
strokeWidth="1.5"
|
|
55
|
-
/>
|
|
56
|
-
</SVG>
|
|
57
|
-
);
|
|
58
|
-
|
|
59
|
-
export const buttonWithIcon = (
|
|
60
|
-
<SVG xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
|
|
61
|
-
<Rect
|
|
62
|
-
x="4.75"
|
|
63
|
-
y="7.75"
|
|
64
|
-
width="14.5"
|
|
65
|
-
height="8.5"
|
|
66
|
-
rx="1.25"
|
|
67
|
-
stroke="currentColor"
|
|
68
|
-
fill="none"
|
|
69
|
-
strokeWidth="1.5"
|
|
70
|
-
/>
|
|
71
|
-
<Rect x="8" y="11" width="8" height="2" fill="currentColor" />
|
|
72
|
-
</SVG>
|
|
73
|
-
);
|
|
74
|
-
|
|
75
|
-
export const toggleLabel = (
|
|
76
|
-
<SVG xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
|
|
77
|
-
<Rect
|
|
78
|
-
x="4.75"
|
|
79
|
-
y="17.25"
|
|
80
|
-
width="5.5"
|
|
81
|
-
height="14.5"
|
|
82
|
-
transform="rotate(-90 4.75 17.25)"
|
|
83
|
-
stroke="currentColor"
|
|
84
|
-
fill="none"
|
|
85
|
-
strokeWidth="1.5"
|
|
86
|
-
/>
|
|
87
|
-
<Rect x="4" y="7" width="10" height="2" fill="currentColor" />
|
|
88
|
-
</SVG>
|
|
89
|
-
);
|
package/src/utils/messages.js
DELETED
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* WordPress dependencies
|
|
3
|
-
*/
|
|
4
|
-
import { __ } from '@wordpress/i18n';
|
|
5
|
-
|
|
6
|
-
export const htmlElementMessages = {
|
|
7
|
-
article: __(
|
|
8
|
-
'The <article> element should represent a self-contained, syndicatable portion of the document.'
|
|
9
|
-
),
|
|
10
|
-
aside: __(
|
|
11
|
-
"The <aside> element should represent a portion of a document whose content is only indirectly related to the document's main content."
|
|
12
|
-
),
|
|
13
|
-
div: __(
|
|
14
|
-
'The <div> element should only be used if the block is a design element with no semantic meaning.'
|
|
15
|
-
),
|
|
16
|
-
footer: __(
|
|
17
|
-
'The <footer> element should represent a footer for its nearest sectioning element (e.g.: <section>, <article>, <main> etc.).'
|
|
18
|
-
),
|
|
19
|
-
header: __(
|
|
20
|
-
'The <header> element should represent introductory content, typically a group of introductory or navigational aids.'
|
|
21
|
-
),
|
|
22
|
-
main: __(
|
|
23
|
-
'The <main> element should be used for the primary content of your document only.'
|
|
24
|
-
),
|
|
25
|
-
nav: __(
|
|
26
|
-
'The <nav> element should be used to identify groups of links that are intended to be used for website or page content navigation.'
|
|
27
|
-
),
|
|
28
|
-
section: __(
|
|
29
|
-
"The <section> element should represent a standalone portion of the document that can't be better represented by another element."
|
|
30
|
-
),
|
|
31
|
-
};
|