@wordpress/block-library 6.0.12 → 6.0.17-next.33ec3857e2.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/archives/index.js +1 -0
- package/build/archives/index.js.map +1 -1
- package/build/audio/index.js +1 -0
- package/build/audio/index.js.map +1 -1
- package/build/block/index.js +1 -0
- package/build/block/index.js.map +1 -1
- package/build/button/edit.native.js +1 -1
- package/build/button/edit.native.js.map +1 -1
- package/build/button/index.js +5 -1
- package/build/button/index.js.map +1 -1
- package/build/buttons/index.js +1 -0
- package/build/buttons/index.js.map +1 -1
- package/build/buttons/transforms.js +1 -0
- package/build/buttons/transforms.js.map +1 -1
- package/build/calendar/index.js +1 -0
- package/build/calendar/index.js.map +1 -1
- package/build/categories/index.js +1 -0
- package/build/categories/index.js.map +1 -1
- package/build/code/index.js +6 -1
- package/build/code/index.js.map +1 -1
- package/build/column/index.js +1 -0
- package/build/column/index.js.map +1 -1
- package/build/columns/index.js +1 -0
- package/build/columns/index.js.map +1 -1
- package/build/comment-author-avatar/edit.js +2 -1
- package/build/comment-author-avatar/edit.js.map +1 -1
- package/build/comment-author-avatar/index.js +7 -2
- package/build/comment-author-avatar/index.js.map +1 -1
- package/build/comment-author-name/index.js +1 -0
- package/build/comment-author-name/index.js.map +1 -1
- package/build/comment-content/index.js +1 -0
- package/build/comment-content/index.js.map +1 -1
- package/build/comment-date/index.js +1 -0
- 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 +1 -0
- package/build/comment-reply-link/index.js.map +1 -1
- package/build/comment-template/edit.js +98 -23
- package/build/comment-template/edit.js.map +1 -1
- package/build/comment-template/index.js +4 -2
- package/build/comment-template/index.js.map +1 -1
- package/build/comment-template/util.js +66 -0
- package/build/comment-template/util.js.map +1 -0
- package/build/comments-pagination/comments-pagination-arrow-controls.js +39 -0
- package/build/comments-pagination/comments-pagination-arrow-controls.js.map +1 -0
- package/build/comments-pagination/edit.js +80 -0
- package/build/comments-pagination/edit.js.map +1 -0
- package/build/comments-pagination/index.js +71 -0
- package/build/comments-pagination/index.js.map +1 -0
- package/build/comments-pagination/save.js +18 -0
- package/build/comments-pagination/save.js.map +1 -0
- package/build/comments-pagination-numbers/edit.js +47 -0
- package/build/comments-pagination-numbers/edit.js.map +1 -0
- package/build/comments-pagination-numbers/index.js +47 -0
- package/build/comments-pagination-numbers/index.js.map +1 -0
- package/build/comments-query-loop/edit.js +2 -2
- package/build/comments-query-loop/edit.js.map +1 -1
- package/build/comments-query-loop/index.js +4 -7
- package/build/comments-query-loop/index.js.map +1 -1
- package/build/comments-query-loop/toolbar.js +3 -3
- package/build/comments-query-loop/toolbar.js.map +1 -1
- package/build/cover/edit.js +2 -1
- package/build/cover/edit.js.map +1 -1
- package/build/cover/index.js +1 -0
- package/build/cover/index.js.map +1 -1
- package/build/embed/deprecated.js +1 -0
- package/build/embed/deprecated.js.map +1 -1
- package/build/embed/edit.native.js +23 -20
- package/build/embed/edit.native.js.map +1 -1
- package/build/embed/embed-controls.native.js +69 -0
- package/build/embed/embed-controls.native.js.map +1 -0
- package/build/embed/embed-link-settings.native.js +101 -0
- package/build/embed/embed-link-settings.native.js.map +1 -0
- package/build/embed/embed-placeholder.native.js +9 -2
- package/build/embed/embed-placeholder.native.js.map +1 -1
- package/build/embed/index.js +1 -0
- package/build/embed/index.js.map +1 -1
- package/build/embed/transforms.js +1 -0
- package/build/embed/transforms.js.map +1 -1
- package/build/embed/util.js +1 -0
- package/build/embed/util.js.map +1 -1
- package/build/file/index.js +1 -0
- package/build/file/index.js.map +1 -1
- package/build/freeform/index.js +1 -0
- package/build/freeform/index.js.map +1 -1
- package/build/gallery/edit.js +5 -1
- package/build/gallery/edit.js.map +1 -1
- package/build/gallery/index.js +1 -0
- package/build/gallery/index.js.map +1 -1
- package/build/group/index.js +8 -1
- package/build/group/index.js.map +1 -1
- package/build/heading/index.js +1 -0
- package/build/heading/index.js.map +1 -1
- package/build/heading/transforms.js +1 -0
- package/build/heading/transforms.js.map +1 -1
- package/build/home-link/index.js +1 -0
- package/build/home-link/index.js.map +1 -1
- package/build/html/index.js +1 -0
- package/build/html/index.js.map +1 -1
- package/build/image/edit.js +56 -5
- package/build/image/edit.js.map +1 -1
- package/build/image/edit.native.js +1 -1
- package/build/image/edit.native.js.map +1 -1
- package/build/image/image.js +45 -10
- package/build/image/image.js.map +1 -1
- package/build/image/index.js +5 -1
- package/build/image/index.js.map +1 -1
- package/build/index.js +5 -1
- package/build/index.js.map +1 -1
- package/build/latest-comments/index.js +1 -0
- package/build/latest-comments/index.js.map +1 -1
- package/build/latest-posts/deprecated.js +1 -0
- package/build/latest-posts/deprecated.js.map +1 -1
- package/build/latest-posts/index.js +1 -0
- package/build/latest-posts/index.js.map +1 -1
- package/build/list/index.js +1 -0
- package/build/list/index.js.map +1 -1
- package/build/loginout/index.js +1 -0
- package/build/loginout/index.js.map +1 -1
- package/build/media-text/index.js +1 -0
- package/build/media-text/index.js.map +1 -1
- package/build/missing/index.js +1 -0
- package/build/missing/index.js.map +1 -1
- package/build/more/index.js +1 -0
- package/build/more/index.js.map +1 -1
- package/build/navigation/edit/index.js +27 -8
- package/build/navigation/edit/index.js.map +1 -1
- package/build/navigation/edit/navigation-menu-selector.js +7 -1
- package/build/navigation/edit/navigation-menu-selector.js.map +1 -1
- package/build/navigation/index.js +1 -0
- package/build/navigation/index.js.map +1 -1
- package/build/navigation/menu-items-to-blocks.js +8 -2
- package/build/navigation/menu-items-to-blocks.js.map +1 -1
- package/build/navigation/view.js +2 -2
- package/build/navigation/view.js.map +1 -1
- package/build/navigation-area/edit.js +2 -1
- package/build/navigation-area/edit.js.map +1 -1
- package/build/navigation-area/index.js +2 -1
- package/build/navigation-area/index.js.map +1 -1
- package/build/navigation-link/edit.js +7 -0
- package/build/navigation-link/edit.js.map +1 -1
- package/build/navigation-link/index.js +1 -0
- package/build/navigation-link/index.js.map +1 -1
- package/build/navigation-submenu/edit.js +2 -1
- package/build/navigation-submenu/edit.js.map +1 -1
- package/build/navigation-submenu/index.js +1 -0
- package/build/navigation-submenu/index.js.map +1 -1
- package/build/nextpage/index.js +1 -0
- package/build/nextpage/index.js.map +1 -1
- package/build/page-list/index.js +6 -1
- package/build/page-list/index.js.map +1 -1
- package/build/paragraph/edit.js +12 -2
- package/build/paragraph/edit.js.map +1 -1
- package/build/paragraph/index.js +1 -0
- package/build/paragraph/index.js.map +1 -1
- package/build/paragraph/transforms.js +1 -0
- package/build/paragraph/transforms.js.map +1 -1
- package/build/pattern/index.js +1 -0
- package/build/pattern/index.js.map +1 -1
- package/build/post-author/index.js +1 -0
- package/build/post-author/index.js.map +1 -1
- package/build/post-comment/index.js +1 -0
- package/build/post-comment/index.js.map +1 -1
- package/build/post-comments/index.js +2 -1
- package/build/post-comments/index.js.map +1 -1
- package/build/post-comments-count/index.js +1 -0
- package/build/post-comments-count/index.js.map +1 -1
- package/build/post-comments-form/index.js +1 -0
- package/build/post-comments-form/index.js.map +1 -1
- package/build/post-comments-link/index.js +1 -0
- package/build/post-comments-link/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 +1 -0
- package/build/post-date/index.js.map +1 -1
- package/build/post-excerpt/index.js +1 -0
- package/build/post-excerpt/index.js.map +1 -1
- package/build/post-featured-image/dimension-controls.js +50 -30
- package/build/post-featured-image/dimension-controls.js.map +1 -1
- package/build/post-featured-image/edit.js +7 -3
- package/build/post-featured-image/edit.js.map +1 -1
- package/build/post-featured-image/index.js +1 -0
- package/build/post-featured-image/index.js.map +1 -1
- package/build/post-navigation-link/index.js +1 -0
- package/build/post-navigation-link/index.js.map +1 -1
- package/build/post-template/edit.js +54 -13
- package/build/post-template/edit.js.map +1 -1
- package/build/post-template/index.js +1 -0
- package/build/post-template/index.js.map +1 -1
- package/build/post-terms/index.js +1 -0
- package/build/post-terms/index.js.map +1 -1
- package/build/post-title/index.js +1 -0
- package/build/post-title/index.js.map +1 -1
- package/build/preformatted/edit.native.js +2 -1
- package/build/preformatted/edit.native.js.map +1 -1
- package/build/preformatted/index.js +1 -0
- package/build/preformatted/index.js.map +1 -1
- package/build/pullquote/index.js +8 -1
- package/build/pullquote/index.js.map +1 -1
- package/build/query/index.js +1 -0
- package/build/query/index.js.map +1 -1
- package/build/query-pagination/index.js +1 -0
- package/build/query-pagination/index.js.map +1 -1
- package/build/query-pagination-next/index.js +1 -0
- package/build/query-pagination-next/index.js.map +1 -1
- package/build/query-pagination-numbers/index.js +1 -0
- package/build/query-pagination-numbers/index.js.map +1 -1
- package/build/query-pagination-previous/index.js +1 -0
- package/build/query-pagination-previous/index.js.map +1 -1
- package/build/query-title/index.js +1 -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/rss/index.js +1 -0
- package/build/rss/index.js.map +1 -1
- package/build/search/edit.js +5 -3
- package/build/search/edit.js.map +1 -1
- package/build/search/index.js +8 -1
- package/build/search/index.js.map +1 -1
- package/build/separator/index.js +1 -0
- package/build/separator/index.js.map +1 -1
- package/build/shortcode/index.js +1 -0
- package/build/shortcode/index.js.map +1 -1
- package/build/site-logo/index.js +1 -0
- package/build/site-logo/index.js.map +1 -1
- package/build/site-tagline/index.js +2 -1
- package/build/site-tagline/index.js.map +1 -1
- package/build/site-title/index.js +1 -0
- package/build/site-title/index.js.map +1 -1
- package/build/social-link/index.js +2 -1
- package/build/social-link/index.js.map +1 -1
- package/build/social-links/index.js +2 -1
- package/build/social-links/index.js.map +1 -1
- package/build/spacer/index.js +1 -0
- package/build/spacer/index.js.map +1 -1
- package/build/table/index.js +7 -1
- package/build/table/index.js.map +1 -1
- package/build/table-of-contents/index.js +1 -0
- package/build/table-of-contents/index.js.map +1 -1
- package/build/tag-cloud/index.js +1 -0
- package/build/tag-cloud/index.js.map +1 -1
- package/build/template-part/edit/index.js +7 -1
- package/build/template-part/edit/index.js.map +1 -1
- package/build/template-part/index.js +26 -9
- package/build/template-part/index.js.map +1 -1
- package/build/term-description/index.js +1 -0
- package/build/term-description/index.js.map +1 -1
- package/build/text-columns/index.js +1 -0
- package/build/text-columns/index.js.map +1 -1
- package/build/verse/index.js +1 -0
- package/build/verse/index.js.map +1 -1
- package/build/video/index.js +1 -0
- package/build/video/index.js.map +1 -1
- package/build-module/archives/index.js +1 -0
- package/build-module/archives/index.js.map +1 -1
- package/build-module/audio/index.js +1 -0
- package/build-module/audio/index.js.map +1 -1
- package/build-module/block/index.js +1 -0
- package/build-module/block/index.js.map +1 -1
- package/build-module/button/edit.native.js +1 -1
- package/build-module/button/edit.native.js.map +1 -1
- package/build-module/button/index.js +5 -1
- package/build-module/button/index.js.map +1 -1
- package/build-module/buttons/index.js +1 -0
- package/build-module/buttons/index.js.map +1 -1
- package/build-module/buttons/transforms.js +1 -0
- package/build-module/buttons/transforms.js.map +1 -1
- package/build-module/calendar/index.js +1 -0
- package/build-module/calendar/index.js.map +1 -1
- package/build-module/categories/index.js +1 -0
- package/build-module/categories/index.js.map +1 -1
- package/build-module/code/index.js +6 -1
- package/build-module/code/index.js.map +1 -1
- package/build-module/column/index.js +1 -0
- package/build-module/column/index.js.map +1 -1
- package/build-module/columns/index.js +1 -0
- package/build-module/columns/index.js.map +1 -1
- package/build-module/comment-author-avatar/edit.js +3 -2
- package/build-module/comment-author-avatar/edit.js.map +1 -1
- package/build-module/comment-author-avatar/index.js +7 -2
- package/build-module/comment-author-avatar/index.js.map +1 -1
- package/build-module/comment-author-name/index.js +1 -0
- package/build-module/comment-author-name/index.js.map +1 -1
- package/build-module/comment-content/index.js +1 -0
- package/build-module/comment-content/index.js.map +1 -1
- package/build-module/comment-date/index.js +1 -0
- 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 +1 -0
- package/build-module/comment-reply-link/index.js.map +1 -1
- package/build-module/comment-template/edit.js +97 -23
- package/build-module/comment-template/edit.js.map +1 -1
- package/build-module/comment-template/index.js +4 -2
- package/build-module/comment-template/index.js.map +1 -1
- package/build-module/comment-template/util.js +57 -0
- package/build-module/comment-template/util.js.map +1 -0
- package/build-module/comments-pagination/comments-pagination-arrow-controls.js +30 -0
- package/build-module/comments-pagination/comments-pagination-arrow-controls.js.map +1 -0
- package/build-module/comments-pagination/edit.js +67 -0
- package/build-module/comments-pagination/edit.js.map +1 -0
- package/build-module/comments-pagination/index.js +57 -0
- package/build-module/comments-pagination/index.js.map +1 -0
- package/build-module/comments-pagination/save.js +10 -0
- package/build-module/comments-pagination/save.js.map +1 -0
- package/build-module/comments-pagination-numbers/edit.js +40 -0
- package/build-module/comments-pagination-numbers/edit.js.map +1 -0
- package/build-module/comments-pagination-numbers/index.js +34 -0
- package/build-module/comments-pagination-numbers/index.js.map +1 -0
- package/build-module/comments-query-loop/edit.js +2 -2
- package/build-module/comments-query-loop/edit.js.map +1 -1
- package/build-module/comments-query-loop/index.js +4 -7
- package/build-module/comments-query-loop/index.js.map +1 -1
- package/build-module/comments-query-loop/toolbar.js +3 -3
- package/build-module/comments-query-loop/toolbar.js.map +1 -1
- package/build-module/cover/edit.js +2 -1
- package/build-module/cover/edit.js.map +1 -1
- package/build-module/cover/index.js +1 -0
- package/build-module/cover/index.js.map +1 -1
- package/build-module/embed/deprecated.js +1 -0
- package/build-module/embed/deprecated.js.map +1 -1
- package/build-module/embed/edit.native.js +24 -21
- package/build-module/embed/edit.native.js.map +1 -1
- package/build-module/embed/embed-controls.native.js +54 -0
- package/build-module/embed/embed-controls.native.js.map +1 -0
- package/build-module/embed/embed-link-settings.native.js +90 -0
- package/build-module/embed/embed-link-settings.native.js.map +1 -0
- package/build-module/embed/embed-placeholder.native.js +9 -2
- package/build-module/embed/embed-placeholder.native.js.map +1 -1
- package/build-module/embed/index.js +1 -0
- package/build-module/embed/index.js.map +1 -1
- package/build-module/embed/transforms.js +1 -0
- package/build-module/embed/transforms.js.map +1 -1
- package/build-module/embed/util.js +1 -0
- package/build-module/embed/util.js.map +1 -1
- package/build-module/file/index.js +1 -0
- package/build-module/file/index.js.map +1 -1
- package/build-module/freeform/index.js +1 -0
- package/build-module/freeform/index.js.map +1 -1
- package/build-module/gallery/edit.js +5 -1
- package/build-module/gallery/edit.js.map +1 -1
- package/build-module/gallery/index.js +1 -0
- package/build-module/gallery/index.js.map +1 -1
- package/build-module/group/index.js +8 -1
- package/build-module/group/index.js.map +1 -1
- package/build-module/heading/index.js +1 -0
- package/build-module/heading/index.js.map +1 -1
- package/build-module/heading/transforms.js +1 -0
- package/build-module/heading/transforms.js.map +1 -1
- package/build-module/home-link/index.js +1 -0
- package/build-module/home-link/index.js.map +1 -1
- package/build-module/html/index.js +1 -0
- package/build-module/html/index.js.map +1 -1
- package/build-module/image/edit.js +52 -4
- package/build-module/image/edit.js.map +1 -1
- package/build-module/image/edit.native.js +1 -1
- package/build-module/image/edit.native.js.map +1 -1
- package/build-module/image/image.js +47 -12
- package/build-module/image/image.js.map +1 -1
- package/build-module/image/index.js +5 -1
- package/build-module/image/index.js.map +1 -1
- package/build-module/index.js +3 -1
- package/build-module/index.js.map +1 -1
- package/build-module/latest-comments/index.js +1 -0
- package/build-module/latest-comments/index.js.map +1 -1
- package/build-module/latest-posts/deprecated.js +1 -0
- package/build-module/latest-posts/deprecated.js.map +1 -1
- package/build-module/latest-posts/index.js +1 -0
- package/build-module/latest-posts/index.js.map +1 -1
- package/build-module/list/index.js +1 -0
- package/build-module/list/index.js.map +1 -1
- package/build-module/loginout/index.js +1 -0
- package/build-module/loginout/index.js.map +1 -1
- package/build-module/media-text/index.js +1 -0
- package/build-module/media-text/index.js.map +1 -1
- package/build-module/missing/index.js +1 -0
- package/build-module/missing/index.js.map +1 -1
- package/build-module/more/index.js +1 -0
- package/build-module/more/index.js.map +1 -1
- package/build-module/navigation/edit/index.js +26 -8
- package/build-module/navigation/edit/index.js.map +1 -1
- package/build-module/navigation/edit/navigation-menu-selector.js +6 -1
- package/build-module/navigation/edit/navigation-menu-selector.js.map +1 -1
- package/build-module/navigation/index.js +1 -0
- package/build-module/navigation/index.js.map +1 -1
- package/build-module/navigation/menu-items-to-blocks.js +7 -2
- package/build-module/navigation/menu-items-to-blocks.js.map +1 -1
- package/build-module/navigation/view.js +2 -2
- package/build-module/navigation/view.js.map +1 -1
- package/build-module/navigation-area/edit.js +2 -1
- package/build-module/navigation-area/edit.js.map +1 -1
- package/build-module/navigation-area/index.js +2 -1
- package/build-module/navigation-area/index.js.map +1 -1
- package/build-module/navigation-link/edit.js +7 -0
- package/build-module/navigation-link/edit.js.map +1 -1
- package/build-module/navigation-link/index.js +1 -0
- package/build-module/navigation-link/index.js.map +1 -1
- package/build-module/navigation-submenu/edit.js +2 -1
- package/build-module/navigation-submenu/edit.js.map +1 -1
- package/build-module/navigation-submenu/index.js +1 -0
- package/build-module/navigation-submenu/index.js.map +1 -1
- package/build-module/nextpage/index.js +1 -0
- package/build-module/nextpage/index.js.map +1 -1
- package/build-module/page-list/index.js +6 -1
- package/build-module/page-list/index.js.map +1 -1
- package/build-module/paragraph/edit.js +13 -3
- package/build-module/paragraph/edit.js.map +1 -1
- package/build-module/paragraph/index.js +1 -0
- package/build-module/paragraph/index.js.map +1 -1
- package/build-module/paragraph/transforms.js +1 -0
- package/build-module/paragraph/transforms.js.map +1 -1
- package/build-module/pattern/index.js +1 -0
- package/build-module/pattern/index.js.map +1 -1
- package/build-module/post-author/index.js +1 -0
- package/build-module/post-author/index.js.map +1 -1
- package/build-module/post-comment/index.js +1 -0
- package/build-module/post-comment/index.js.map +1 -1
- package/build-module/post-comments/index.js +2 -1
- package/build-module/post-comments/index.js.map +1 -1
- package/build-module/post-comments-count/index.js +1 -0
- package/build-module/post-comments-count/index.js.map +1 -1
- package/build-module/post-comments-form/index.js +1 -0
- package/build-module/post-comments-form/index.js.map +1 -1
- package/build-module/post-comments-link/index.js +1 -0
- package/build-module/post-comments-link/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 +1 -0
- package/build-module/post-date/index.js.map +1 -1
- package/build-module/post-excerpt/index.js +1 -0
- package/build-module/post-excerpt/index.js.map +1 -1
- package/build-module/post-featured-image/dimension-controls.js +52 -29
- package/build-module/post-featured-image/dimension-controls.js.map +1 -1
- package/build-module/post-featured-image/edit.js +8 -4
- package/build-module/post-featured-image/edit.js.map +1 -1
- package/build-module/post-featured-image/index.js +1 -0
- package/build-module/post-featured-image/index.js.map +1 -1
- package/build-module/post-navigation-link/index.js +1 -0
- package/build-module/post-navigation-link/index.js.map +1 -1
- package/build-module/post-template/edit.js +54 -15
- package/build-module/post-template/edit.js.map +1 -1
- package/build-module/post-template/index.js +1 -0
- package/build-module/post-template/index.js.map +1 -1
- package/build-module/post-terms/index.js +1 -0
- package/build-module/post-terms/index.js.map +1 -1
- package/build-module/post-title/index.js +1 -0
- package/build-module/post-title/index.js.map +1 -1
- package/build-module/preformatted/edit.native.js +2 -1
- package/build-module/preformatted/edit.native.js.map +1 -1
- package/build-module/preformatted/index.js +1 -0
- package/build-module/preformatted/index.js.map +1 -1
- package/build-module/pullquote/index.js +8 -1
- package/build-module/pullquote/index.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-pagination/index.js +1 -0
- package/build-module/query-pagination/index.js.map +1 -1
- package/build-module/query-pagination-next/index.js +1 -0
- package/build-module/query-pagination-next/index.js.map +1 -1
- package/build-module/query-pagination-numbers/index.js +1 -0
- package/build-module/query-pagination-numbers/index.js.map +1 -1
- package/build-module/query-pagination-previous/index.js +1 -0
- package/build-module/query-pagination-previous/index.js.map +1 -1
- package/build-module/query-title/index.js +1 -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/rss/index.js +1 -0
- package/build-module/rss/index.js.map +1 -1
- package/build-module/search/edit.js +5 -3
- package/build-module/search/edit.js.map +1 -1
- package/build-module/search/index.js +8 -1
- package/build-module/search/index.js.map +1 -1
- package/build-module/separator/index.js +1 -0
- package/build-module/separator/index.js.map +1 -1
- package/build-module/shortcode/index.js +1 -0
- package/build-module/shortcode/index.js.map +1 -1
- package/build-module/site-logo/index.js +1 -0
- package/build-module/site-logo/index.js.map +1 -1
- package/build-module/site-tagline/index.js +2 -1
- package/build-module/site-tagline/index.js.map +1 -1
- package/build-module/site-title/index.js +1 -0
- package/build-module/site-title/index.js.map +1 -1
- package/build-module/social-link/index.js +2 -1
- package/build-module/social-link/index.js.map +1 -1
- package/build-module/social-links/index.js +2 -1
- package/build-module/social-links/index.js.map +1 -1
- package/build-module/spacer/index.js +1 -0
- package/build-module/spacer/index.js.map +1 -1
- package/build-module/table/index.js +7 -1
- package/build-module/table/index.js.map +1 -1
- package/build-module/table-of-contents/index.js +1 -0
- package/build-module/table-of-contents/index.js.map +1 -1
- package/build-module/tag-cloud/index.js +1 -0
- package/build-module/tag-cloud/index.js.map +1 -1
- package/build-module/template-part/edit/index.js +6 -1
- package/build-module/template-part/edit/index.js.map +1 -1
- package/build-module/template-part/index.js +26 -9
- package/build-module/template-part/index.js.map +1 -1
- package/build-module/term-description/index.js +1 -0
- package/build-module/term-description/index.js.map +1 -1
- package/build-module/text-columns/index.js +1 -0
- package/build-module/text-columns/index.js.map +1 -1
- package/build-module/verse/index.js +1 -0
- package/build-module/verse/index.js.map +1 -1
- package/build-module/video/index.js +1 -0
- package/build-module/video/index.js.map +1 -1
- package/build-style/columns/style-rtl.css +4 -3
- package/build-style/columns/style.css +4 -3
- package/build-style/comment-template/style-rtl.css +91 -0
- package/build-style/comment-template/style.css +91 -0
- package/build-style/{home-link/style.css → comments-pagination/editor-rtl.css} +18 -22
- package/build-style/comments-pagination/editor.css +102 -0
- package/build-style/{home-link → comments-pagination}/style-rtl.css +21 -21
- package/build-style/comments-pagination/style.css +106 -0
- package/build-style/comments-pagination-numbers/editor-rtl.css +85 -0
- package/build-style/comments-pagination-numbers/editor.css +86 -0
- package/build-style/common-rtl.css +29 -0
- package/build-style/common.css +29 -0
- package/build-style/cover/style-rtl.css +4 -0
- package/build-style/cover/style.css +4 -0
- package/build-style/editor-rtl.css +70 -23
- package/build-style/editor.css +73 -23
- package/build-style/gallery/editor-rtl.css +0 -12
- package/build-style/gallery/editor.css +0 -12
- package/build-style/gallery/style-rtl.css +3 -0
- package/build-style/gallery/style.css +3 -0
- package/build-style/group/theme-rtl.css +1 -1
- package/build-style/group/theme.css +1 -1
- package/build-style/image/editor-rtl.css +16 -0
- package/build-style/image/editor.css +16 -0
- package/build-style/navigation/editor-rtl.css +9 -0
- package/build-style/navigation/editor.css +9 -0
- package/build-style/navigation/style-rtl.css +13 -7
- package/build-style/navigation/style.css +13 -7
- package/build-style/post-comments/style-rtl.css +3 -1
- package/build-style/post-comments/style.css +3 -1
- package/build-style/post-comments-form/style-rtl.css +2 -2
- package/build-style/post-comments-form/style.css +2 -2
- package/build-style/post-featured-image/editor-rtl.css +0 -7
- package/build-style/post-featured-image/editor.css +0 -7
- package/build-style/post-featured-image/style-rtl.css +1 -1
- package/build-style/post-featured-image/style.css +1 -1
- package/build-style/post-title/style-rtl.css +3 -0
- package/build-style/post-title/style.css +3 -0
- package/build-style/pullquote/style-rtl.css +1 -0
- package/build-style/pullquote/style.css +1 -0
- package/build-style/query-pagination/editor-rtl.css +0 -4
- package/build-style/query-pagination/editor.css +0 -4
- package/build-style/query-pagination/style-rtl.css +6 -2
- package/build-style/query-pagination/style.css +6 -2
- package/build-style/style-rtl.css +131 -61
- package/build-style/style.css +133 -61
- package/build-style/table/style-rtl.css +1 -0
- package/build-style/table/style.css +1 -0
- package/build-style/theme-rtl.css +1 -1
- package/build-style/theme.css +1 -1
- package/package.json +31 -31
- package/src/archives/block.json +1 -0
- package/src/audio/block.json +1 -0
- package/src/block/block.json +1 -0
- package/src/button/block.json +5 -1
- package/src/button/edit.native.js +1 -1
- package/src/buttons/block.json +2 -1
- package/src/calendar/block.json +1 -0
- package/src/calendar/index.php +35 -39
- package/src/categories/block.json +1 -0
- package/src/code/block.json +6 -1
- package/src/column/block.json +1 -0
- package/src/columns/block.json +1 -0
- package/src/columns/style.scss +8 -5
- package/src/comment-author-avatar/block.json +7 -2
- package/src/comment-author-avatar/edit.js +7 -2
- package/src/comment-author-avatar/index.php +25 -6
- package/src/comment-author-name/block.json +1 -0
- package/src/comment-content/block.json +1 -0
- package/src/comment-date/block.json +1 -0
- package/src/comment-edit-link/block.json +1 -0
- package/src/comment-edit-link/index.js +1 -1
- package/src/comment-reply-link/block.json +1 -0
- package/src/comment-template/block.json +4 -2
- package/src/comment-template/edit.js +111 -37
- package/src/comment-template/index.php +46 -19
- package/src/comment-template/style.scss +17 -0
- package/src/comment-template/test/index.js +45 -0
- package/src/comment-template/util.js +56 -0
- package/src/comments-pagination/block.json +37 -0
- package/src/comments-pagination/comments-pagination-arrow-controls.js +44 -0
- package/src/comments-pagination/edit.js +78 -0
- package/src/comments-pagination/editor.scss +34 -0
- package/src/comments-pagination/index.js +20 -0
- package/src/comments-pagination/index.php +39 -0
- package/src/comments-pagination/save.js +8 -0
- package/src/comments-pagination/style.scss +38 -0
- package/src/comments-pagination-numbers/block.json +16 -0
- package/src/comments-pagination-numbers/edit.js +22 -0
- package/src/comments-pagination-numbers/editor.scss +12 -0
- package/src/comments-pagination-numbers/index.js +18 -0
- package/src/comments-pagination-numbers/index.php +69 -0
- package/src/comments-query-loop/block.json +4 -7
- package/src/comments-query-loop/edit.js +2 -5
- package/src/comments-query-loop/toolbar.js +3 -3
- package/src/common.scss +31 -0
- package/src/cover/block.json +1 -0
- package/src/cover/edit.js +1 -0
- package/src/cover/style.scss +4 -0
- package/src/editor.scss +14 -0
- package/src/embed/block.json +1 -0
- package/src/embed/edit.native.js +23 -18
- package/src/embed/embed-controls.native.js +65 -0
- package/src/embed/embed-link-settings.native.js +100 -0
- package/src/embed/embed-placeholder.native.js +8 -0
- package/src/embed/test/__snapshots__/index.native.js.snap +10 -0
- package/src/embed/test/index.native.js +228 -88
- package/src/file/block.json +1 -0
- package/src/freeform/block.json +1 -0
- package/src/gallery/block.json +1 -0
- package/src/gallery/edit.js +13 -0
- package/src/gallery/editor.scss +0 -14
- package/src/gallery/index.php +7 -8
- package/src/gallery/style.scss +4 -0
- package/src/gallery/test/use-get-new-images.js +93 -0
- package/src/group/block.json +8 -1
- package/src/group/theme.scss +4 -5
- package/src/heading/block.json +1 -0
- package/src/home-link/block.json +1 -0
- package/src/home-link/index.php +4 -4
- package/src/html/block.json +1 -0
- package/src/image/block.json +5 -1
- package/src/image/edit.js +44 -0
- package/src/image/edit.native.js +1 -1
- package/src/image/editor.scss +18 -0
- package/src/image/image.js +46 -11
- package/src/image/index.php +1 -1
- package/src/index.js +4 -0
- package/src/latest-comments/block.json +1 -0
- package/src/latest-posts/block.json +1 -0
- package/src/list/block.json +1 -0
- package/src/loginout/block.json +1 -0
- package/src/media-text/block.json +1 -0
- package/src/missing/block.json +1 -0
- package/src/more/block.json +1 -0
- package/src/navigation/README.md +13 -0
- package/src/navigation/block.json +4 -16
- package/src/navigation/edit/index.js +51 -28
- package/src/navigation/edit/navigation-menu-selector.js +8 -0
- package/src/navigation/editor.scss +12 -0
- package/src/navigation/index.php +4 -4
- package/src/navigation/menu-items-to-blocks.js +9 -2
- package/src/navigation/style.scss +26 -14
- package/src/navigation/view.js +2 -2
- package/src/navigation-area/block.json +3 -7
- package/src/navigation-area/edit.js +2 -1
- package/src/navigation-link/block.json +2 -3
- package/src/navigation-link/edit.js +5 -0
- package/src/navigation-link/index.php +4 -4
- package/src/navigation-submenu/block.json +2 -3
- package/src/navigation-submenu/edit.js +1 -1
- package/src/navigation-submenu/index.php +12 -6
- package/src/nextpage/block.json +1 -0
- package/src/page-list/block.json +4 -0
- package/src/page-list/index.php +12 -7
- package/src/paragraph/block.json +1 -0
- package/src/paragraph/edit.js +12 -4
- package/src/pattern/block.json +1 -0
- package/src/post-author/block.json +1 -0
- package/src/post-comment/block.json +1 -0
- package/src/post-comments/block.json +6 -1
- package/src/post-comments/index.php +17 -0
- package/src/post-comments/style.scss +7 -3
- package/src/post-comments-count/block.json +1 -0
- package/src/post-comments-form/block.json +6 -1
- package/src/post-comments-form/index.php +6 -4
- package/src/post-comments-form/style.scss +7 -5
- package/src/post-comments-link/block.json +1 -0
- package/src/post-content/block.json +1 -0
- package/src/post-date/block.json +1 -0
- package/src/post-excerpt/block.json +1 -0
- package/src/post-featured-image/block.json +1 -0
- package/src/post-featured-image/dimension-controls.js +75 -50
- package/src/post-featured-image/edit.js +12 -5
- package/src/post-featured-image/editor.scss +0 -8
- package/src/post-featured-image/style.scss +1 -1
- package/src/post-navigation-link/block.json +1 -0
- package/src/post-template/block.json +1 -0
- package/src/post-template/edit.js +54 -17
- package/src/post-terms/block.json +1 -0
- package/src/post-title/block.json +1 -0
- package/src/post-title/style.scss +6 -2
- package/src/preformatted/block.json +1 -0
- package/src/preformatted/edit.native.js +3 -1
- package/src/pullquote/block.json +8 -1
- package/src/pullquote/style.scss +1 -0
- package/src/query/block.json +1 -0
- package/src/query-pagination/block.json +1 -0
- package/src/query-pagination/editor.scss +0 -4
- package/src/query-pagination/style.scss +12 -2
- package/src/query-pagination-next/block.json +1 -0
- package/src/query-pagination-next/index.php +42 -19
- package/src/query-pagination-numbers/block.json +1 -0
- package/src/query-pagination-previous/block.json +1 -0
- package/src/query-pagination-previous/index.php +45 -13
- package/src/query-title/block.json +1 -0
- package/src/quote/block.json +1 -0
- package/src/rss/block.json +1 -0
- package/src/search/block.json +8 -1
- package/src/search/edit.js +2 -1
- package/src/search/index.php +20 -10
- package/src/separator/block.json +1 -0
- package/src/shortcode/block.json +1 -0
- package/src/site-logo/block.json +1 -0
- package/src/site-tagline/block.json +2 -1
- package/src/site-title/block.json +1 -0
- package/src/social-link/block.json +2 -1
- package/src/social-links/block.json +3 -8
- package/src/spacer/block.json +1 -0
- package/src/style.scss +3 -2
- package/src/table/block.json +7 -1
- package/src/table/style.scss +1 -0
- package/src/table-of-contents/block.json +1 -0
- package/src/tag-cloud/block.json +1 -0
- package/src/template-part/block.json +1 -8
- package/src/template-part/edit/index.js +6 -1
- package/src/template-part/index.js +28 -0
- package/src/template-part/index.php +5 -2
- package/src/term-description/block.json +1 -0
- package/src/text-columns/block.json +1 -0
- package/src/verse/block.json +1 -0
- package/src/video/block.json +1 -0
- package/build/embed/embed-bottom-sheet.native.js +0 -85
- package/build/embed/embed-bottom-sheet.native.js.map +0 -1
- package/build-module/embed/embed-bottom-sheet.native.js +0 -74
- package/build-module/embed/embed-bottom-sheet.native.js.map +0 -1
- package/src/embed/embed-bottom-sheet.native.js +0 -78
- package/src/home-link/style.scss +0 -51
|
@@ -17,31 +17,63 @@
|
|
|
17
17
|
function render_block_core_query_pagination_previous( $attributes, $content, $block ) {
|
|
18
18
|
$page_key = isset( $block->context['queryId'] ) ? 'query-' . $block->context['queryId'] . '-page' : 'query-page';
|
|
19
19
|
$page = empty( $_GET[ $page_key ] ) ? 1 : (int) $_GET[ $page_key ];
|
|
20
|
+
$paged = ( get_query_var( 'paged' ) ) ? get_query_var( 'paged' ) : 1;
|
|
21
|
+
$max_page = isset( $block->context['query']['pages'] ) ? (int) $block->context['query']['pages'] : 0;
|
|
22
|
+
|
|
23
|
+
$wrapper_attributes = get_block_wrapper_attributes();
|
|
24
|
+
$hidden_wrapper_attributes = get_block_wrapper_attributes( array( 'aria-hidden' => 'true' ) );
|
|
25
|
+
$default_label = __( 'Previous Page' );
|
|
26
|
+
$label = isset( $attributes['label'] ) && ! empty( $attributes['label'] ) ? $attributes['label'] : $default_label;
|
|
27
|
+
$pagination_arrow = get_query_pagination_arrow( $block, false );
|
|
28
|
+
$content = '';
|
|
20
29
|
|
|
21
|
-
$wrapper_attributes = get_block_wrapper_attributes();
|
|
22
|
-
$default_label = __( 'Previous Page' );
|
|
23
|
-
$label = isset( $attributes['label'] ) && ! empty( $attributes['label'] ) ? $attributes['label'] : $default_label;
|
|
24
|
-
$pagination_arrow = get_query_pagination_arrow( $block, false );
|
|
25
30
|
if ( $pagination_arrow ) {
|
|
26
31
|
$label = $pagination_arrow . $label;
|
|
27
32
|
}
|
|
28
|
-
$content = '';
|
|
29
33
|
// Check if the pagination is for Query that inherits the global context
|
|
30
34
|
// and handle appropriately.
|
|
31
35
|
if ( isset( $block->context['query']['inherit'] ) && $block->context['query']['inherit'] ) {
|
|
36
|
+
global $wp_query;
|
|
37
|
+
$max_page = ! $max_page || $max_page > $wp_query->max_num_pages ? $wp_query->max_num_pages : $max_page;
|
|
32
38
|
$filter_link_attributes = function() use ( $wrapper_attributes ) {
|
|
33
39
|
return $wrapper_attributes;
|
|
34
40
|
};
|
|
41
|
+
|
|
35
42
|
add_filter( 'previous_posts_link_attributes', $filter_link_attributes );
|
|
36
|
-
|
|
43
|
+
|
|
44
|
+
// If there are pages to paginate...
|
|
45
|
+
if ( 1 < $max_page ) {
|
|
46
|
+
if ( 1 !== $paged ) { // ... and we are NOT in the first one.
|
|
47
|
+
$content = get_previous_posts_link( $label );
|
|
48
|
+
} else { // ... and we are in the first one.
|
|
49
|
+
$content = sprintf(
|
|
50
|
+
'<span %1$s>%2$s</span>',
|
|
51
|
+
$hidden_wrapper_attributes,
|
|
52
|
+
$label
|
|
53
|
+
);
|
|
54
|
+
}
|
|
55
|
+
}
|
|
37
56
|
remove_filter( 'previous_posts_link_attributes', $filter_link_attributes );
|
|
38
|
-
} elseif (
|
|
39
|
-
$
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
$
|
|
44
|
-
|
|
57
|
+
} elseif ( ! $max_page || $max_page > $page ) {
|
|
58
|
+
$custom_query = new WP_Query( build_query_vars_from_query_block( $block, $page ) );
|
|
59
|
+
$max_num_pages = $custom_query->max_num_pages ? $custom_query->max_num_pages : 1;
|
|
60
|
+
// If there are pages to paginate...
|
|
61
|
+
if ( 1 < $max_num_pages ) {
|
|
62
|
+
if ( 1 !== $page ) { // ... and we are NOT in the first one.
|
|
63
|
+
$content = sprintf(
|
|
64
|
+
'<a href="%1$s" %2$s>%3$s</a>',
|
|
65
|
+
esc_url( add_query_arg( $page_key, $page - 1 ) ),
|
|
66
|
+
$wrapper_attributes,
|
|
67
|
+
$label
|
|
68
|
+
);
|
|
69
|
+
} else { // ... and we are in the first one.
|
|
70
|
+
$content = sprintf(
|
|
71
|
+
'<span %1$s>%2$s</span>',
|
|
72
|
+
$hidden_wrapper_attributes,
|
|
73
|
+
$label
|
|
74
|
+
);
|
|
75
|
+
}
|
|
76
|
+
}
|
|
45
77
|
}
|
|
46
78
|
return $content;
|
|
47
79
|
}
|
package/src/quote/block.json
CHANGED
package/src/rss/block.json
CHANGED
package/src/search/block.json
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
+
"$schema": "https://schemas.wp.org/trunk/block.json",
|
|
2
3
|
"apiVersion": 2,
|
|
3
4
|
"name": "core/search",
|
|
4
5
|
"title": "Search",
|
|
@@ -48,7 +49,13 @@
|
|
|
48
49
|
"__experimentalBorder": {
|
|
49
50
|
"color": true,
|
|
50
51
|
"radius": true,
|
|
51
|
-
"
|
|
52
|
+
"width": true,
|
|
53
|
+
"__experimentalSkipSerialization": true,
|
|
54
|
+
"__experimentalDefaultControls": {
|
|
55
|
+
"color": true,
|
|
56
|
+
"radius": true,
|
|
57
|
+
"width": true
|
|
58
|
+
}
|
|
52
59
|
},
|
|
53
60
|
"html": false
|
|
54
61
|
},
|
package/src/search/edit.js
CHANGED
|
@@ -103,6 +103,7 @@ export default function SearchEdit( {
|
|
|
103
103
|
}, [ insertedInNavigationBlock ] );
|
|
104
104
|
const borderRadius = style?.border?.radius;
|
|
105
105
|
const borderColor = style?.border?.color;
|
|
106
|
+
const borderWidth = style?.border?.width;
|
|
106
107
|
const borderProps = useBorderProps( attributes );
|
|
107
108
|
|
|
108
109
|
// Check for old deprecated numerical border radius. Done as a separate
|
|
@@ -128,7 +129,6 @@ export default function SearchEdit( {
|
|
|
128
129
|
const getBlockClassNames = () => {
|
|
129
130
|
return classnames(
|
|
130
131
|
className,
|
|
131
|
-
! isButtonPositionInside ? borderProps.className : undefined,
|
|
132
132
|
isButtonPositionInside
|
|
133
133
|
? 'wp-block-search__button-inside'
|
|
134
134
|
: undefined,
|
|
@@ -389,6 +389,7 @@ export default function SearchEdit( {
|
|
|
389
389
|
const getWrapperStyles = () => {
|
|
390
390
|
const styles = {
|
|
391
391
|
borderColor,
|
|
392
|
+
borderWidth: isButtonPositionInside ? borderWidth : undefined,
|
|
392
393
|
};
|
|
393
394
|
|
|
394
395
|
const isNonZeroBorderRadius = parseInt( borderRadius, 10 ) !== 0;
|
package/src/search/index.php
CHANGED
|
@@ -33,7 +33,6 @@ function render_block_core_search( $attributes ) {
|
|
|
33
33
|
$use_icon_button = ( ! empty( $attributes['buttonUseIcon'] ) ) ? true : false;
|
|
34
34
|
$show_input = ( ! empty( $attributes['buttonPosition'] ) && 'button-only' === $attributes['buttonPosition'] ) ? false : true;
|
|
35
35
|
$show_button = ( ! empty( $attributes['buttonPosition'] ) && 'no-button' === $attributes['buttonPosition'] ) ? false : true;
|
|
36
|
-
$label_markup = '';
|
|
37
36
|
$input_markup = '';
|
|
38
37
|
$button_markup = '';
|
|
39
38
|
$inline_styles = styles_for_block_core_search( $attributes );
|
|
@@ -178,9 +177,11 @@ function classnames_for_block_core_search( $attributes ) {
|
|
|
178
177
|
* @return array Style HTML attribute.
|
|
179
178
|
*/
|
|
180
179
|
function styles_for_block_core_search( $attributes ) {
|
|
181
|
-
$wrapper_styles
|
|
182
|
-
$button_styles
|
|
183
|
-
$input_styles
|
|
180
|
+
$wrapper_styles = array();
|
|
181
|
+
$button_styles = array();
|
|
182
|
+
$input_styles = array();
|
|
183
|
+
$is_button_inside = ! empty( $attributes['buttonPosition'] ) &&
|
|
184
|
+
'button-inside' === $attributes['buttonPosition'];
|
|
184
185
|
|
|
185
186
|
// Add width styles.
|
|
186
187
|
$has_width = ! empty( $attributes['width'] ) && ! empty( $attributes['widthUnit'] );
|
|
@@ -194,15 +195,26 @@ function styles_for_block_core_search( $attributes ) {
|
|
|
194
195
|
);
|
|
195
196
|
}
|
|
196
197
|
|
|
198
|
+
// Add border width styles.
|
|
199
|
+
$has_border_width = ! empty( $attributes['style']['border']['width'] );
|
|
200
|
+
|
|
201
|
+
if ( $has_border_width ) {
|
|
202
|
+
$border_width = $attributes['style']['border']['width'];
|
|
203
|
+
|
|
204
|
+
if ( $is_button_inside ) {
|
|
205
|
+
$wrapper_styles[] = sprintf( 'border-width: %s;', esc_attr( $border_width ) );
|
|
206
|
+
} else {
|
|
207
|
+
$button_styles[] = sprintf( 'border-width: %s;', esc_attr( $border_width ) );
|
|
208
|
+
$input_styles[] = sprintf( 'border-width: %s;', esc_attr( $border_width ) );
|
|
209
|
+
}
|
|
210
|
+
}
|
|
211
|
+
|
|
197
212
|
// Add border radius styles.
|
|
198
213
|
$has_border_radius = ! empty( $attributes['style']['border']['radius'] );
|
|
199
214
|
|
|
200
215
|
if ( $has_border_radius ) {
|
|
201
216
|
$default_padding = '4px';
|
|
202
217
|
$border_radius = $attributes['style']['border']['radius'];
|
|
203
|
-
// Apply wrapper border radius if button placed inside.
|
|
204
|
-
$is_button_inside = ! empty( $attributes['buttonPosition'] ) &&
|
|
205
|
-
'button-inside' === $attributes['buttonPosition'];
|
|
206
218
|
|
|
207
219
|
if ( is_array( $border_radius ) ) {
|
|
208
220
|
// Apply styles for individual corner border radii.
|
|
@@ -255,9 +267,7 @@ function styles_for_block_core_search( $attributes ) {
|
|
|
255
267
|
$has_border_color = ! empty( $attributes['style']['border']['color'] );
|
|
256
268
|
|
|
257
269
|
if ( $has_border_color ) {
|
|
258
|
-
$border_color
|
|
259
|
-
$is_button_inside = ! empty( $attributes['buttonPosition'] ) &&
|
|
260
|
-
'button-inside' === $attributes['buttonPosition'];
|
|
270
|
+
$border_color = $attributes['style']['border']['color'];
|
|
261
271
|
|
|
262
272
|
// Apply wrapper border color if button placed inside.
|
|
263
273
|
if ( $is_button_inside ) {
|
package/src/separator/block.json
CHANGED
package/src/shortcode/block.json
CHANGED
package/src/site-logo/block.json
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
{
|
|
2
|
+
"$schema": "https://schemas.wp.org/trunk/block.json",
|
|
2
3
|
"apiVersion": 2,
|
|
3
4
|
"name": "core/site-tagline",
|
|
4
5
|
"title": "Site Tagline",
|
|
5
6
|
"category": "theme",
|
|
6
|
-
"description": "Describe in a few words what the
|
|
7
|
+
"description": "Describe in a few words what the site is about. The tagline can be used in search results or when sharing on social networks even if it's not displayed in the theme design.",
|
|
7
8
|
"keywords": [ "description" ],
|
|
8
9
|
"textdomain": "default",
|
|
9
10
|
"attributes": {
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
{
|
|
2
|
+
"$schema": "https://schemas.wp.org/trunk/block.json",
|
|
2
3
|
"apiVersion": 2,
|
|
3
4
|
"name": "core/social-link",
|
|
4
5
|
"title": "Social Icon",
|
|
5
6
|
"category": "widgets",
|
|
6
7
|
"parent": [ "core/social-links" ],
|
|
7
|
-
"description": "Display an icon linking to a social media profile or
|
|
8
|
+
"description": "Display an icon linking to a social media profile or site.",
|
|
8
9
|
"textdomain": "default",
|
|
9
10
|
"attributes": {
|
|
10
11
|
"url": {
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
{
|
|
2
|
+
"$schema": "https://schemas.wp.org/trunk/block.json",
|
|
2
3
|
"apiVersion": 2,
|
|
3
4
|
"name": "core/social-links",
|
|
4
5
|
"title": "Social Icons",
|
|
5
6
|
"category": "widgets",
|
|
6
|
-
"description": "Display icons linking to your social media profiles or
|
|
7
|
+
"description": "Display icons linking to your social media profiles or sites.",
|
|
7
8
|
"keywords": [ "links" ],
|
|
8
9
|
"textdomain": "default",
|
|
9
10
|
"attributes": {
|
|
@@ -52,13 +53,7 @@
|
|
|
52
53
|
"spacing": {
|
|
53
54
|
"blockGap": true,
|
|
54
55
|
"margin": [ "top", "bottom" ],
|
|
55
|
-
"units": [
|
|
56
|
-
"px",
|
|
57
|
-
"em",
|
|
58
|
-
"rem",
|
|
59
|
-
"vh",
|
|
60
|
-
"vw"
|
|
61
|
-
],
|
|
56
|
+
"units": [ "px", "em", "rem", "vh", "vw" ],
|
|
62
57
|
"__experimentalDefaultControls": {
|
|
63
58
|
"blockGap": true
|
|
64
59
|
}
|
package/src/spacer/block.json
CHANGED
package/src/style.scss
CHANGED
|
@@ -6,6 +6,8 @@
|
|
|
6
6
|
@import "./categories/style.scss";
|
|
7
7
|
@import "./code/style.scss";
|
|
8
8
|
@import "./columns/style.scss";
|
|
9
|
+
@import "./comments-pagination/style.scss";
|
|
10
|
+
@import "./comment-template/style.scss";
|
|
9
11
|
@import "./cover/style.scss";
|
|
10
12
|
@import "./embed/style.scss";
|
|
11
13
|
@import "./file/style.scss";
|
|
@@ -19,13 +21,13 @@
|
|
|
19
21
|
@import "./media-text/style.scss";
|
|
20
22
|
@import "./navigation/style.scss";
|
|
21
23
|
@import "./navigation-link/style.scss";
|
|
22
|
-
@import "./home-link/style.scss";
|
|
23
24
|
@import "./page-list/style.scss";
|
|
24
25
|
@import "./paragraph/style.scss";
|
|
25
26
|
@import "./post-author/style.scss";
|
|
26
27
|
@import "./post-comments/style.scss";
|
|
27
28
|
@import "./post-comments-form/style.scss";
|
|
28
29
|
@import "./post-excerpt/style.scss";
|
|
30
|
+
@import "./post-featured-image/style.scss";
|
|
29
31
|
@import "./post-terms/style.scss";
|
|
30
32
|
@import "./post-title/style.scss";
|
|
31
33
|
@import "./preformatted/style.scss";
|
|
@@ -44,6 +46,5 @@
|
|
|
44
46
|
@import "./text-columns/style.scss";
|
|
45
47
|
@import "./verse/style.scss";
|
|
46
48
|
@import "./video/style.scss";
|
|
47
|
-
@import "./post-featured-image/style.scss";
|
|
48
49
|
|
|
49
50
|
@import "common.scss";
|
package/src/table/block.json
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
+
"$schema": "https://schemas.wp.org/trunk/block.json",
|
|
2
3
|
"apiVersion": 2,
|
|
3
4
|
"name": "core/table",
|
|
4
5
|
"title": "Table",
|
|
@@ -144,7 +145,12 @@
|
|
|
144
145
|
"__experimentalSkipSerialization": true,
|
|
145
146
|
"color": true,
|
|
146
147
|
"style": true,
|
|
147
|
-
"width": true
|
|
148
|
+
"width": true,
|
|
149
|
+
"__experimentalDefaultControls": {
|
|
150
|
+
"color": true,
|
|
151
|
+
"style": true,
|
|
152
|
+
"width": true
|
|
153
|
+
}
|
|
148
154
|
},
|
|
149
155
|
"__experimentalSelector": ".wp-block-table > table"
|
|
150
156
|
},
|
package/src/table/style.scss
CHANGED
package/src/tag-cloud/block.json
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
+
"$schema": "https://schemas.wp.org/trunk/block.json",
|
|
2
3
|
"apiVersion": 2,
|
|
3
4
|
"name": "core/template-part",
|
|
4
5
|
"title": "Template Part",
|
|
@@ -22,14 +23,6 @@
|
|
|
22
23
|
"supports": {
|
|
23
24
|
"align": true,
|
|
24
25
|
"html": false,
|
|
25
|
-
"color": {
|
|
26
|
-
"gradients": true,
|
|
27
|
-
"link": true
|
|
28
|
-
},
|
|
29
|
-
"spacing": {
|
|
30
|
-
"padding": true
|
|
31
|
-
},
|
|
32
|
-
"__experimentalLayout": true,
|
|
33
26
|
"reusable": false
|
|
34
27
|
},
|
|
35
28
|
"editorStyle": "wp-block-template-part-editor"
|
|
@@ -1,3 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* External dependencies
|
|
3
|
+
*/
|
|
4
|
+
import { isEmpty } from 'lodash';
|
|
5
|
+
|
|
1
6
|
/**
|
|
2
7
|
* WordPress dependencies
|
|
3
8
|
*/
|
|
@@ -99,7 +104,7 @@ export default function TemplatePartEdit( {
|
|
|
99
104
|
return {
|
|
100
105
|
innerBlocks: getBlocks( clientId ),
|
|
101
106
|
isResolved: hasResolvedEntity,
|
|
102
|
-
isMissing: hasResolvedEntity &&
|
|
107
|
+
isMissing: hasResolvedEntity && isEmpty( entityRecord ),
|
|
103
108
|
defaultWrapper: defaultWrapperElement || 'div',
|
|
104
109
|
area: _area,
|
|
105
110
|
enableSelection: _enableSelection,
|
|
@@ -50,3 +50,31 @@ addFilter(
|
|
|
50
50
|
'core/template-part',
|
|
51
51
|
enhanceTemplatePartVariations
|
|
52
52
|
);
|
|
53
|
+
|
|
54
|
+
// Prevent adding template parts inside post templates.
|
|
55
|
+
const DISALLOWED_PARENTS = [ 'core/post-template', 'core/post-content' ];
|
|
56
|
+
addFilter(
|
|
57
|
+
'blockEditor.__unstableCanInsertBlockType',
|
|
58
|
+
'removeTemplatePartsFromPostTemplates',
|
|
59
|
+
(
|
|
60
|
+
can,
|
|
61
|
+
blockType,
|
|
62
|
+
rootClientId,
|
|
63
|
+
{ getBlock, getBlockParentsByBlockName }
|
|
64
|
+
) => {
|
|
65
|
+
if ( blockType.name !== 'core/template-part' ) {
|
|
66
|
+
return can;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
for ( const disallowedParentType of DISALLOWED_PARENTS ) {
|
|
70
|
+
const hasDisallowedParent =
|
|
71
|
+
getBlock( rootClientId )?.name === disallowedParentType ||
|
|
72
|
+
getBlockParentsByBlockName( rootClientId, disallowedParentType )
|
|
73
|
+
.length;
|
|
74
|
+
if ( hasDisallowedParent ) {
|
|
75
|
+
return false;
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
return true;
|
|
79
|
+
}
|
|
80
|
+
);
|
|
@@ -64,8 +64,11 @@ function render_block_core_template_part( $attributes ) {
|
|
|
64
64
|
} else {
|
|
65
65
|
// Else, if the template part was provided by the active theme,
|
|
66
66
|
// render the corresponding file content.
|
|
67
|
-
$
|
|
68
|
-
$
|
|
67
|
+
$parent_theme_folders = get_block_theme_folders( get_template() );
|
|
68
|
+
$child_theme_folders = get_block_theme_folders( get_stylesheet() );
|
|
69
|
+
$child_theme_part_file_path = get_theme_file_path( '/' . $child_theme_folders['wp_template_part'] . '/' . $attributes['slug'] . '.html' );
|
|
70
|
+
$parent_theme_part_file_path = get_theme_file_path( '/' . $parent_theme_folders['wp_template_part'] . '/' . $attributes['slug'] . '.html' );
|
|
71
|
+
$template_part_file_path = 0 === validate_file( $attributes['slug'] ) && file_exists( $child_theme_part_file_path ) ? $child_theme_part_file_path : $parent_theme_part_file_path;
|
|
69
72
|
if ( 0 === validate_file( $attributes['slug'] ) && file_exists( $template_part_file_path ) ) {
|
|
70
73
|
$content = file_get_contents( $template_part_file_path );
|
|
71
74
|
$content = is_string( $content ) && '' !== $content
|
package/src/verse/block.json
CHANGED
package/src/video/block.json
CHANGED
|
@@ -1,85 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.default = void 0;
|
|
7
|
-
|
|
8
|
-
var _element = require("@wordpress/element");
|
|
9
|
-
|
|
10
|
-
var _i18n = require("@wordpress/i18n");
|
|
11
|
-
|
|
12
|
-
var _components = require("@wordpress/components");
|
|
13
|
-
|
|
14
|
-
var _url = require("@wordpress/url");
|
|
15
|
-
|
|
16
|
-
var _data = require("@wordpress/data");
|
|
17
|
-
|
|
18
|
-
var _notices = require("@wordpress/notices");
|
|
19
|
-
|
|
20
|
-
/**
|
|
21
|
-
* WordPress dependencies
|
|
22
|
-
*/
|
|
23
|
-
const EmbedBottomSheet = _ref => {
|
|
24
|
-
let {
|
|
25
|
-
value,
|
|
26
|
-
label,
|
|
27
|
-
isVisible,
|
|
28
|
-
onClose,
|
|
29
|
-
onSubmit
|
|
30
|
-
} = _ref;
|
|
31
|
-
const [url, setURL] = (0, _element.useState)(value);
|
|
32
|
-
const {
|
|
33
|
-
createErrorNotice
|
|
34
|
-
} = (0, _data.useDispatch)(_notices.store);
|
|
35
|
-
const linkSettingsOptions = {
|
|
36
|
-
url: {
|
|
37
|
-
label: (0, _i18n.sprintf)( // translators: %s: embed block variant's label e.g: "Twitter".
|
|
38
|
-
(0, _i18n.__)('%s link'), label),
|
|
39
|
-
placeholder: (0, _i18n.__)('Add link'),
|
|
40
|
-
autoFocus: true,
|
|
41
|
-
autoFill: true
|
|
42
|
-
},
|
|
43
|
-
footer: {
|
|
44
|
-
label: (0, _element.createElement)(_components.FooterMessageLink, {
|
|
45
|
-
href: (0, _i18n.__)('https://wordpress.org/support/article/embeds/'),
|
|
46
|
-
value: (0, _i18n.__)('Learn more about embeds')
|
|
47
|
-
}),
|
|
48
|
-
separatorType: 'topFullWidth'
|
|
49
|
-
}
|
|
50
|
-
};
|
|
51
|
-
const onDismiss = (0, _element.useCallback)(() => {
|
|
52
|
-
if (url !== '') {
|
|
53
|
-
if ((0, _url.isURL)(url)) {
|
|
54
|
-
onSubmit(url);
|
|
55
|
-
} else {
|
|
56
|
-
createErrorNotice((0, _i18n.__)('Invalid URL. Please enter a valid URL.')); // If the URL was already defined, we submit it to stop showing the embed placeholder.
|
|
57
|
-
|
|
58
|
-
onSubmit(value);
|
|
59
|
-
}
|
|
60
|
-
} else {
|
|
61
|
-
// Resets the URL when new value is empty
|
|
62
|
-
onSubmit('');
|
|
63
|
-
}
|
|
64
|
-
}, [url, onSubmit, value]);
|
|
65
|
-
|
|
66
|
-
function setAttributes(attributes) {
|
|
67
|
-
setURL(attributes.url);
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
return (0, _element.createElement)(_components.LinkSettingsNavigation, {
|
|
71
|
-
isVisible: isVisible,
|
|
72
|
-
url: url,
|
|
73
|
-
onClose: onClose,
|
|
74
|
-
onDismiss: onDismiss,
|
|
75
|
-
setAttributes: setAttributes,
|
|
76
|
-
options: linkSettingsOptions,
|
|
77
|
-
testID: "embed-edit-url-modal",
|
|
78
|
-
withBottomSheet: true,
|
|
79
|
-
showIcon: true
|
|
80
|
-
});
|
|
81
|
-
};
|
|
82
|
-
|
|
83
|
-
var _default = EmbedBottomSheet;
|
|
84
|
-
exports.default = _default;
|
|
85
|
-
//# sourceMappingURL=embed-bottom-sheet.native.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["@wordpress/block-library/src/embed/embed-bottom-sheet.native.js"],"names":["EmbedBottomSheet","value","label","isVisible","onClose","onSubmit","url","setURL","createErrorNotice","noticesStore","linkSettingsOptions","placeholder","autoFocus","autoFill","footer","separatorType","onDismiss","setAttributes","attributes"],"mappings":";;;;;;;AAWA;;AARA;;AACA;;AAIA;;AACA;;AACA;;AAVA;AACA;AACA;AAWA,MAAMA,gBAAgB,GAAG,QAAsD;AAAA,MAApD;AAAEC,IAAAA,KAAF;AAASC,IAAAA,KAAT;AAAgBC,IAAAA,SAAhB;AAA2BC,IAAAA,OAA3B;AAAoCC,IAAAA;AAApC,GAAoD;AAC9E,QAAM,CAAEC,GAAF,EAAOC,MAAP,IAAkB,uBAAUN,KAAV,CAAxB;AACA,QAAM;AAAEO,IAAAA;AAAF,MAAwB,uBAAaC,cAAb,CAA9B;AAEA,QAAMC,mBAAmB,GAAG;AAC3BJ,IAAAA,GAAG,EAAE;AACJJ,MAAAA,KAAK,EAAE,oBACN;AACA,oBAAI,SAAJ,CAFM,EAGNA,KAHM,CADH;AAMJS,MAAAA,WAAW,EAAE,cAAI,UAAJ,CANT;AAOJC,MAAAA,SAAS,EAAE,IAPP;AAQJC,MAAAA,QAAQ,EAAE;AARN,KADsB;AAW3BC,IAAAA,MAAM,EAAE;AACPZ,MAAAA,KAAK,EACJ,4BAAC,6BAAD;AACC,QAAA,IAAI,EAAG,cACN,+CADM,CADR;AAIC,QAAA,KAAK,EAAG,cAAI,yBAAJ;AAJT,QAFM;AASPa,MAAAA,aAAa,EAAE;AATR;AAXmB,GAA5B;AAwBA,QAAMC,SAAS,GAAG,0BAAa,MAAM;AACpC,QAAKV,GAAG,KAAK,EAAb,EAAkB;AACjB,UAAK,gBAAOA,GAAP,CAAL,EAAoB;AACnBD,QAAAA,QAAQ,CAAEC,GAAF,CAAR;AACA,OAFD,MAEO;AACNE,QAAAA,iBAAiB,CAChB,cAAI,wCAAJ,CADgB,CAAjB,CADM,CAIN;;AACAH,QAAAA,QAAQ,CAAEJ,KAAF,CAAR;AACA;AACD,KAVD,MAUO;AACN;AACAI,MAAAA,QAAQ,CAAE,EAAF,CAAR;AACA;AACD,GAfiB,EAef,CAAEC,GAAF,EAAOD,QAAP,EAAiBJ,KAAjB,CAfe,CAAlB;;AAiBA,WAASgB,aAAT,CAAwBC,UAAxB,EAAqC;AACpCX,IAAAA,MAAM,CAAEW,UAAU,CAACZ,GAAb,CAAN;AACA;;AAED,SACC,4BAAC,kCAAD;AACC,IAAA,SAAS,EAAGH,SADb;AAEC,IAAA,GAAG,EAAGG,GAFP;AAGC,IAAA,OAAO,EAAGF,OAHX;AAIC,IAAA,SAAS,EAAGY,SAJb;AAKC,IAAA,aAAa,EAAGC,aALjB;AAMC,IAAA,OAAO,EAAGP,mBANX;AAOC,IAAA,MAAM,EAAC,sBAPR;AAQC,IAAA,eAAe,MARhB;AASC,IAAA,QAAQ;AATT,IADD;AAaA,CA9DD;;eAgEeV,gB","sourcesContent":["/**\n * WordPress dependencies\n */\nimport { __, sprintf } from '@wordpress/i18n';\nimport {\n\tLinkSettingsNavigation,\n\tFooterMessageLink,\n} from '@wordpress/components';\nimport { isURL } from '@wordpress/url';\nimport { useDispatch } from '@wordpress/data';\nimport { store as noticesStore } from '@wordpress/notices';\nimport { useCallback, useState } from '@wordpress/element';\n\nconst EmbedBottomSheet = ( { value, label, isVisible, onClose, onSubmit } ) => {\n\tconst [ url, setURL ] = useState( value );\n\tconst { createErrorNotice } = useDispatch( noticesStore );\n\n\tconst linkSettingsOptions = {\n\t\turl: {\n\t\t\tlabel: sprintf(\n\t\t\t\t// translators: %s: embed block variant's label e.g: \"Twitter\".\n\t\t\t\t__( '%s link' ),\n\t\t\t\tlabel\n\t\t\t),\n\t\t\tplaceholder: __( 'Add link' ),\n\t\t\tautoFocus: true,\n\t\t\tautoFill: true,\n\t\t},\n\t\tfooter: {\n\t\t\tlabel: (\n\t\t\t\t<FooterMessageLink\n\t\t\t\t\thref={ __(\n\t\t\t\t\t\t'https://wordpress.org/support/article/embeds/'\n\t\t\t\t\t) }\n\t\t\t\t\tvalue={ __( 'Learn more about embeds' ) }\n\t\t\t\t/>\n\t\t\t),\n\t\t\tseparatorType: 'topFullWidth',\n\t\t},\n\t};\n\n\tconst onDismiss = useCallback( () => {\n\t\tif ( url !== '' ) {\n\t\t\tif ( isURL( url ) ) {\n\t\t\t\tonSubmit( url );\n\t\t\t} else {\n\t\t\t\tcreateErrorNotice(\n\t\t\t\t\t__( 'Invalid URL. Please enter a valid URL.' )\n\t\t\t\t);\n\t\t\t\t// If the URL was already defined, we submit it to stop showing the embed placeholder.\n\t\t\t\tonSubmit( value );\n\t\t\t}\n\t\t} else {\n\t\t\t// Resets the URL when new value is empty\n\t\t\tonSubmit( '' );\n\t\t}\n\t}, [ url, onSubmit, value ] );\n\n\tfunction setAttributes( attributes ) {\n\t\tsetURL( attributes.url );\n\t}\n\n\treturn (\n\t\t<LinkSettingsNavigation\n\t\t\tisVisible={ isVisible }\n\t\t\turl={ url }\n\t\t\tonClose={ onClose }\n\t\t\tonDismiss={ onDismiss }\n\t\t\tsetAttributes={ setAttributes }\n\t\t\toptions={ linkSettingsOptions }\n\t\t\ttestID=\"embed-edit-url-modal\"\n\t\t\twithBottomSheet\n\t\t\tshowIcon\n\t\t/>\n\t);\n};\n\nexport default EmbedBottomSheet;\n"]}
|
|
@@ -1,74 +0,0 @@
|
|
|
1
|
-
import { createElement } from "@wordpress/element";
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* WordPress dependencies
|
|
5
|
-
*/
|
|
6
|
-
import { __, sprintf } from '@wordpress/i18n';
|
|
7
|
-
import { LinkSettingsNavigation, FooterMessageLink } from '@wordpress/components';
|
|
8
|
-
import { isURL } from '@wordpress/url';
|
|
9
|
-
import { useDispatch } from '@wordpress/data';
|
|
10
|
-
import { store as noticesStore } from '@wordpress/notices';
|
|
11
|
-
import { useCallback, useState } from '@wordpress/element';
|
|
12
|
-
|
|
13
|
-
const EmbedBottomSheet = _ref => {
|
|
14
|
-
let {
|
|
15
|
-
value,
|
|
16
|
-
label,
|
|
17
|
-
isVisible,
|
|
18
|
-
onClose,
|
|
19
|
-
onSubmit
|
|
20
|
-
} = _ref;
|
|
21
|
-
const [url, setURL] = useState(value);
|
|
22
|
-
const {
|
|
23
|
-
createErrorNotice
|
|
24
|
-
} = useDispatch(noticesStore);
|
|
25
|
-
const linkSettingsOptions = {
|
|
26
|
-
url: {
|
|
27
|
-
label: sprintf( // translators: %s: embed block variant's label e.g: "Twitter".
|
|
28
|
-
__('%s link'), label),
|
|
29
|
-
placeholder: __('Add link'),
|
|
30
|
-
autoFocus: true,
|
|
31
|
-
autoFill: true
|
|
32
|
-
},
|
|
33
|
-
footer: {
|
|
34
|
-
label: createElement(FooterMessageLink, {
|
|
35
|
-
href: __('https://wordpress.org/support/article/embeds/'),
|
|
36
|
-
value: __('Learn more about embeds')
|
|
37
|
-
}),
|
|
38
|
-
separatorType: 'topFullWidth'
|
|
39
|
-
}
|
|
40
|
-
};
|
|
41
|
-
const onDismiss = useCallback(() => {
|
|
42
|
-
if (url !== '') {
|
|
43
|
-
if (isURL(url)) {
|
|
44
|
-
onSubmit(url);
|
|
45
|
-
} else {
|
|
46
|
-
createErrorNotice(__('Invalid URL. Please enter a valid URL.')); // If the URL was already defined, we submit it to stop showing the embed placeholder.
|
|
47
|
-
|
|
48
|
-
onSubmit(value);
|
|
49
|
-
}
|
|
50
|
-
} else {
|
|
51
|
-
// Resets the URL when new value is empty
|
|
52
|
-
onSubmit('');
|
|
53
|
-
}
|
|
54
|
-
}, [url, onSubmit, value]);
|
|
55
|
-
|
|
56
|
-
function setAttributes(attributes) {
|
|
57
|
-
setURL(attributes.url);
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
return createElement(LinkSettingsNavigation, {
|
|
61
|
-
isVisible: isVisible,
|
|
62
|
-
url: url,
|
|
63
|
-
onClose: onClose,
|
|
64
|
-
onDismiss: onDismiss,
|
|
65
|
-
setAttributes: setAttributes,
|
|
66
|
-
options: linkSettingsOptions,
|
|
67
|
-
testID: "embed-edit-url-modal",
|
|
68
|
-
withBottomSheet: true,
|
|
69
|
-
showIcon: true
|
|
70
|
-
});
|
|
71
|
-
};
|
|
72
|
-
|
|
73
|
-
export default EmbedBottomSheet;
|
|
74
|
-
//# sourceMappingURL=embed-bottom-sheet.native.js.map
|