@wordpress/block-library 9.23.0 → 9.25.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/button/edit.js +29 -17
- package/build/button/edit.js.map +1 -1
- package/build/code/index.js +2 -1
- package/build/code/index.js.map +1 -1
- package/build/columns/edit.js +18 -22
- package/build/columns/edit.js.map +1 -1
- package/build/comment-author-name/edit.js +41 -12
- package/build/comment-author-name/edit.js.map +1 -1
- package/build/comment-date/edit.js +41 -12
- package/build/comment-date/edit.js.map +1 -1
- package/build/comment-edit-link/edit.js +27 -7
- package/build/comment-edit-link/edit.js.map +1 -1
- package/build/comments/edit/comments-inspector-controls.js +1 -3
- package/build/comments/edit/comments-inspector-controls.js.map +1 -1
- package/build/comments-pagination/edit.js +23 -9
- package/build/comments-pagination/edit.js.map +1 -1
- package/build/comments-title/edit.js +41 -12
- package/build/comments-title/edit.js.map +1 -1
- package/build/details/edit.js +27 -3
- package/build/details/edit.js.map +1 -1
- package/build/details/index.js +2 -1
- package/build/details/index.js.map +1 -1
- package/build/embed/edit.js +2 -4
- package/build/embed/edit.js.map +1 -1
- package/build/embed/embed-controls.js +41 -22
- package/build/embed/embed-controls.js.map +1 -1
- package/build/file/inspector.js +73 -30
- package/build/file/inspector.js.map +1 -1
- package/build/form/edit.js +67 -37
- package/build/form/edit.js.map +1 -1
- package/build/form-input/edit.js +47 -18
- package/build/form-input/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 -1
- 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 +154 -82
- package/build/latest-posts/edit.js.map +1 -1
- package/build/list/ordered-list-settings.js +131 -52
- package/build/list/ordered-list-settings.js.map +1 -1
- package/build/more/index.js +2 -1
- package/build/more/index.js.map +1 -1
- package/build/navigation/edit/index.js +93 -51
- package/build/navigation/edit/index.js.map +1 -1
- package/build/navigation/edit/overlay-menu-preview.js +43 -27
- package/build/navigation/edit/overlay-menu-preview.js.map +1 -1
- package/build/navigation-link/index.js +3 -0
- package/build/navigation-link/index.js.map +1 -1
- package/build/navigation-link/transforms.js +2 -0
- package/build/navigation-link/transforms.js.map +1 -1
- package/build/navigation-link/update-attributes.js +1 -0
- package/build/navigation-link/update-attributes.js.map +1 -1
- package/build/navigation-submenu/index.js +3 -0
- package/build/navigation-submenu/index.js.map +1 -1
- package/build/post-comments-count/index.js +3 -1
- package/build/post-comments-count/index.js.map +1 -1
- package/build/post-comments-count/transforms.js +26 -0
- package/build/post-comments-count/transforms.js.map +1 -0
- package/build/post-comments-link/index.js +3 -1
- package/build/post-comments-link/index.js.map +1 -1
- package/build/post-comments-link/transforms.js +26 -0
- package/build/post-comments-link/transforms.js.map +1 -0
- 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/post-title/edit.js +56 -18
- package/build/post-title/edit.js.map +1 -1
- package/build/preformatted/transforms.js +5 -1
- package/build/preformatted/transforms.js.map +1 -1
- package/build/query/edit/enhanced-pagination-modal.js +1 -1
- package/build/query/edit/enhanced-pagination-modal.js.map +1 -1
- package/build/query/edit/inspector-controls/enhanced-pagination-control.js +3 -6
- package/build/query/edit/inspector-controls/enhanced-pagination-control.js.map +1 -1
- package/build/read-more/index.js +2 -1
- package/build/read-more/index.js.map +1 -1
- package/build/rss/edit.js +120 -46
- package/build/rss/edit.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 +52 -20
- package/build/separator/edit.js.map +1 -1
- package/build/shortcode/index.js +2 -1
- package/build/shortcode/index.js.map +1 -1
- package/build/social-link/variations.js +53 -48
- package/build/social-link/variations.js.map +1 -1
- package/build/social-links/edit.js +35 -45
- package/build/social-links/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/video/tracks-editor.js +40 -12
- package/build/video/tracks-editor.js.map +1 -1
- package/build-module/button/edit.js +30 -18
- package/build-module/button/edit.js.map +1 -1
- package/build-module/code/index.js +2 -1
- package/build-module/code/index.js.map +1 -1
- package/build-module/columns/edit.js +18 -22
- package/build-module/columns/edit.js.map +1 -1
- package/build-module/comment-author-name/edit.js +42 -13
- package/build-module/comment-author-name/edit.js.map +1 -1
- package/build-module/comment-date/edit.js +42 -13
- package/build-module/comment-date/edit.js.map +1 -1
- package/build-module/comment-edit-link/edit.js +28 -8
- package/build-module/comment-edit-link/edit.js.map +1 -1
- package/build-module/comments/edit/comments-inspector-controls.js +1 -3
- package/build-module/comments/edit/comments-inspector-controls.js.map +1 -1
- package/build-module/comments-pagination/edit.js +24 -10
- package/build-module/comments-pagination/edit.js.map +1 -1
- package/build-module/comments-title/edit.js +42 -13
- package/build-module/comments-title/edit.js.map +1 -1
- package/build-module/details/edit.js +29 -5
- package/build-module/details/edit.js.map +1 -1
- package/build-module/details/index.js +2 -1
- package/build-module/details/index.js.map +1 -1
- package/build-module/embed/edit.js +2 -4
- package/build-module/embed/edit.js.map +1 -1
- package/build-module/embed/embed-controls.js +42 -23
- package/build-module/embed/embed-controls.js.map +1 -1
- package/build-module/file/inspector.js +74 -31
- package/build-module/file/inspector.js.map +1 -1
- package/build-module/form/edit.js +68 -38
- package/build-module/form/edit.js.map +1 -1
- package/build-module/form-input/edit.js +48 -19
- package/build-module/form-input/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 -2
- 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 +155 -83
- package/build-module/latest-posts/edit.js.map +1 -1
- package/build-module/list/ordered-list-settings.js +132 -53
- package/build-module/list/ordered-list-settings.js.map +1 -1
- package/build-module/more/index.js +2 -1
- package/build-module/more/index.js.map +1 -1
- package/build-module/navigation/edit/index.js +94 -52
- package/build-module/navigation/edit/index.js.map +1 -1
- package/build-module/navigation/edit/overlay-menu-preview.js +44 -28
- package/build-module/navigation/edit/overlay-menu-preview.js.map +1 -1
- package/build-module/navigation-link/index.js +3 -0
- package/build-module/navigation-link/index.js.map +1 -1
- package/build-module/navigation-link/transforms.js +2 -0
- package/build-module/navigation-link/transforms.js.map +1 -1
- package/build-module/navigation-link/update-attributes.js +1 -0
- package/build-module/navigation-link/update-attributes.js.map +1 -1
- package/build-module/navigation-submenu/index.js +3 -0
- package/build-module/navigation-submenu/index.js.map +1 -1
- package/build-module/post-comments-count/index.js +3 -1
- package/build-module/post-comments-count/index.js.map +1 -1
- package/build-module/post-comments-count/transforms.js +19 -0
- package/build-module/post-comments-count/transforms.js.map +1 -0
- package/build-module/post-comments-link/index.js +3 -1
- package/build-module/post-comments-link/index.js.map +1 -1
- package/build-module/post-comments-link/transforms.js +19 -0
- package/build-module/post-comments-link/transforms.js.map +1 -0
- 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/post-title/edit.js +57 -19
- package/build-module/post-title/edit.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/enhanced-pagination-modal.js +1 -1
- package/build-module/query/edit/enhanced-pagination-modal.js.map +1 -1
- package/build-module/query/edit/inspector-controls/enhanced-pagination-control.js +3 -6
- package/build-module/query/edit/inspector-controls/enhanced-pagination-control.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/edit.js +121 -47
- package/build-module/rss/edit.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 +54 -22
- package/build-module/separator/edit.js.map +1 -1
- package/build-module/shortcode/index.js +2 -1
- package/build-module/shortcode/index.js.map +1 -1
- package/build-module/social-link/variations.js +53 -48
- package/build-module/social-link/variations.js.map +1 -1
- package/build-module/social-links/edit.js +37 -47
- package/build-module/social-links/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/video/tracks-editor.js +41 -13
- package/build-module/video/tracks-editor.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 +57 -15
- package/build-style/editor.css +57 -15
- 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 +48 -11
- package/build-style/gallery/style.css +48 -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 +55 -14
- package/build-style/navigation/editor.css +55 -14
- 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 +48 -12
- package/build-style/pullquote/editor.css +48 -12
- package/build-style/pullquote/style-rtl.css +49 -14
- package/build-style/pullquote/style.css +49 -14
- package/build-style/pullquote/theme-rtl.css +49 -13
- package/build-style/pullquote/theme.css +49 -13
- 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 +53 -18
- package/build-style/style.css +53 -18
- 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 +49 -13
- package/build-style/theme.css +49 -13
- 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/edit.js +44 -29
- package/src/button/style.scss +0 -1
- package/src/buttons/style.scss +5 -0
- package/src/code/block.json +2 -1
- package/src/columns/edit.js +20 -31
- package/src/comment-author-name/edit.js +54 -13
- package/src/comment-date/edit.js +50 -15
- package/src/comment-edit-link/edit.js +39 -11
- package/src/comments/edit/comments-inspector-controls.js +0 -2
- package/src/comments-pagination/edit.js +29 -9
- package/src/comments-title/edit.js +53 -15
- package/src/details/block.json +2 -1
- package/src/details/edit.js +36 -4
- package/src/embed/edit.js +3 -5
- package/src/embed/embed-controls.js +55 -33
- package/src/file/inspector.js +99 -45
- package/src/form/edit.js +91 -46
- package/src/form-input/edit.js +56 -18
- package/src/gallery/style.scss +1 -0
- 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 -1
- package/src/image/image.js +7 -5
- package/src/latest-posts/edit.js +206 -98
- package/src/list/ordered-list-settings.js +172 -62
- package/src/more/block.json +2 -1
- package/src/navigation/edit/index.js +127 -64
- package/src/navigation/edit/overlay-menu-preview.js +43 -26
- package/src/navigation/editor.scss +8 -4
- package/src/navigation-link/block.json +3 -0
- package/src/navigation-link/index.php +4 -0
- package/src/navigation-link/transforms.js +2 -1
- package/src/navigation-link/update-attributes.js +1 -0
- package/src/navigation-submenu/block.json +3 -0
- package/src/navigation-submenu/index.php +4 -0
- package/src/post-comments-count/index.js +2 -0
- package/src/post-comments-count/transforms.js +20 -0
- package/src/post-comments-form/style.scss +0 -5
- package/src/post-comments-link/index.js +2 -0
- package/src/post-comments-link/transforms.js +20 -0
- 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/post-title/edit.js +76 -24
- 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/pullquote/editor.scss +1 -1
- package/src/pullquote/style.scss +2 -3
- package/src/pullquote/theme.scss +2 -2
- package/src/query/edit/enhanced-pagination-modal.js +1 -5
- package/src/query/edit/inspector-controls/enhanced-pagination-control.js +3 -13
- package/src/read-more/block.json +2 -1
- package/src/rss/block.json +2 -1
- package/src/rss/edit.js +141 -55
- package/src/search/edit.js +84 -99
- package/src/separator/edit.js +66 -21
- package/src/shortcode/block.json +2 -1
- package/src/site-title/index.php +1 -1
- package/src/social-link/index.php +49 -49
- package/src/social-link/variations.js +53 -48
- package/src/social-links/edit.js +39 -60
- package/src/table/block.json +8 -4
- package/src/table/edit.js +6 -2
- package/src/verse/test/__snapshots__/transforms.native.js.snap +6 -0
- package/src/verse/test/transforms.native.js +5 -1
- package/src/video/tracks-editor.js +57 -16
- package/build/search/icons.js +0 -121
- package/build/search/icons.js.map +0 -1
- package/build-module/search/icons.js +0 -114
- package/build-module/search/icons.js.map +0 -1
- package/src/search/icons.js +0 -89
|
@@ -13,9 +13,11 @@ import {
|
|
|
13
13
|
Button,
|
|
14
14
|
TextControl,
|
|
15
15
|
SelectControl,
|
|
16
|
+
ToggleControl,
|
|
16
17
|
__experimentalGrid as Grid,
|
|
17
18
|
__experimentalHStack as HStack,
|
|
18
19
|
__experimentalVStack as VStack,
|
|
20
|
+
privateApis as componentsPrivateApis,
|
|
19
21
|
} from '@wordpress/components';
|
|
20
22
|
import {
|
|
21
23
|
MediaUpload,
|
|
@@ -27,6 +29,13 @@ import { useSelect } from '@wordpress/data';
|
|
|
27
29
|
import { useState, useRef, useEffect } from '@wordpress/element';
|
|
28
30
|
import { getFilename } from '@wordpress/url';
|
|
29
31
|
|
|
32
|
+
/**
|
|
33
|
+
* Internal dependencies
|
|
34
|
+
*/
|
|
35
|
+
import { unlock } from '../lock-unlock';
|
|
36
|
+
|
|
37
|
+
const { Badge } = unlock( componentsPrivateApis );
|
|
38
|
+
|
|
30
39
|
const ALLOWED_TYPES = [ 'text/vtt' ];
|
|
31
40
|
|
|
32
41
|
const DEFAULT_KIND = 'subtitles';
|
|
@@ -43,22 +52,25 @@ function TrackList( { tracks, onEditPress } ) {
|
|
|
43
52
|
const content = tracks.map( ( track, index ) => {
|
|
44
53
|
return (
|
|
45
54
|
<HStack
|
|
46
|
-
key={
|
|
55
|
+
key={ track.src }
|
|
47
56
|
className="block-library-video-tracks-editor__track-list-track"
|
|
48
57
|
>
|
|
49
58
|
<span>{ track.label }</span>
|
|
50
|
-
<
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
59
|
+
<HStack justify="flex-end">
|
|
60
|
+
{ track.default && <Badge>{ __( 'Default' ) }</Badge> }
|
|
61
|
+
<Button
|
|
62
|
+
__next40pxDefaultSize
|
|
63
|
+
variant="tertiary"
|
|
64
|
+
onClick={ () => onEditPress( index ) }
|
|
65
|
+
aria-label={ sprintf(
|
|
66
|
+
/* translators: %s: Label of the video text track e.g: "French subtitles". */
|
|
67
|
+
_x( 'Edit %s', 'text tracks' ),
|
|
68
|
+
track.label
|
|
69
|
+
) }
|
|
70
|
+
>
|
|
71
|
+
{ __( 'Edit' ) }
|
|
72
|
+
</Button>
|
|
73
|
+
</HStack>
|
|
62
74
|
</HStack>
|
|
63
75
|
);
|
|
64
76
|
} );
|
|
@@ -73,8 +85,20 @@ function TrackList( { tracks, onEditPress } ) {
|
|
|
73
85
|
);
|
|
74
86
|
}
|
|
75
87
|
|
|
76
|
-
function SingleTrackEditor( {
|
|
77
|
-
|
|
88
|
+
function SingleTrackEditor( {
|
|
89
|
+
track,
|
|
90
|
+
onChange,
|
|
91
|
+
onClose,
|
|
92
|
+
onRemove,
|
|
93
|
+
allowSettingDefault,
|
|
94
|
+
} ) {
|
|
95
|
+
const {
|
|
96
|
+
src = '',
|
|
97
|
+
label = '',
|
|
98
|
+
srcLang = '',
|
|
99
|
+
kind = DEFAULT_KIND,
|
|
100
|
+
default: isDefaultTrack = false,
|
|
101
|
+
} = track;
|
|
78
102
|
const fileName = src.startsWith( 'blob:' ) ? '' : getFilename( src ) || '';
|
|
79
103
|
return (
|
|
80
104
|
<VStack
|
|
@@ -115,7 +139,7 @@ function SingleTrackEditor( { track, onChange, onClose, onRemove } ) {
|
|
|
115
139
|
help={ __( 'Language tag (en, fr, etc.)' ) }
|
|
116
140
|
/>
|
|
117
141
|
</Grid>
|
|
118
|
-
<VStack spacing="
|
|
142
|
+
<VStack spacing="4">
|
|
119
143
|
<SelectControl
|
|
120
144
|
__next40pxDefaultSize
|
|
121
145
|
__nextHasNoMarginBottom
|
|
@@ -130,6 +154,19 @@ function SingleTrackEditor( { track, onChange, onClose, onRemove } ) {
|
|
|
130
154
|
} );
|
|
131
155
|
} }
|
|
132
156
|
/>
|
|
157
|
+
<ToggleControl
|
|
158
|
+
__next40pxDefaultSize
|
|
159
|
+
__nextHasNoMarginBottom
|
|
160
|
+
label={ __( 'Set as default track' ) }
|
|
161
|
+
checked={ isDefaultTrack }
|
|
162
|
+
disabled={ ! allowSettingDefault }
|
|
163
|
+
onChange={ ( defaultTrack ) => {
|
|
164
|
+
onChange( {
|
|
165
|
+
...track,
|
|
166
|
+
default: defaultTrack,
|
|
167
|
+
} );
|
|
168
|
+
} }
|
|
169
|
+
/>
|
|
133
170
|
<HStack className="block-library-video-tracks-editor__single-track-editor-buttons-container">
|
|
134
171
|
<Button
|
|
135
172
|
__next40pxDefaultSize
|
|
@@ -237,6 +274,10 @@ export default function TracksEditor( { tracks = [], onChange } ) {
|
|
|
237
274
|
);
|
|
238
275
|
setTrackBeingEdited( null );
|
|
239
276
|
} }
|
|
277
|
+
allowSettingDefault={
|
|
278
|
+
! tracks.some( ( track ) => track.default ) ||
|
|
279
|
+
tracks[ trackBeingEdited ].default
|
|
280
|
+
}
|
|
240
281
|
/>
|
|
241
282
|
);
|
|
242
283
|
}
|
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":";;;;;;AAGA,IAAAA,WAAA,GAAAC,OAAA;AAAkD,IAAAC,WAAA,GAAAD,OAAA;AAHlD;AACA;AACA;;AAGO,MAAME,UAAU,GAAAC,OAAA,CAAAD,UAAA,gBACtB,IAAAD,WAAA,CAAAG,GAAA,EAACL,WAAA,CAAAM,GAAG;EAACC,KAAK,EAAC,4BAA4B;EAACC,OAAO,EAAC,WAAW;EAAAC,QAAA,eAC1D,IAAAP,WAAA,CAAAG,GAAA,EAACL,WAAA,CAAAU,IAAI;IAACC,CAAC,EAAC,GAAG;IAACC,CAAC,EAAC,IAAI;IAACC,KAAK,EAAC,IAAI;IAACC,MAAM,EAAC,GAAG;IAACC,EAAE,EAAC,GAAG;IAACC,IAAI,EAAC;EAAc,CAAE;AAAC,CAClE,CACL;AAEM,MAAMC,aAAa,GAAAb,OAAA,CAAAa,aAAA,gBACzB,IAAAf,WAAA,CAAAgB,IAAA,EAAClB,WAAA,CAAAM,GAAG;EAACC,KAAK,EAAC,4BAA4B;EAACC,OAAO,EAAC,WAAW;EAAAC,QAAA,gBAC1D,IAAAP,WAAA,CAAAG,GAAA,EAACL,WAAA,CAAAU,IAAI;IACJC,CAAC,EAAC,MAAM;IACR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O;IACTC,KAAK,EAAC,KAAK;IACXC,MAAM,EAAC,MAAM;IACbK,SAAS,EAAC,wBAAwB;IAClCC,MAAM,EAAC,cAAc;IACrBJ,IAAI,EAAC,MAAM;IACXK,WAAW,EAAC;EAAK,CACjB,CAAC,eACF,IAAAnB,WAAA,CAAAG,GAAA,EAACL,WAAA,CAAAU,IAAI;IAACC,CAAC,EAAC,GAAG;IAACC,CAAC,EAAC,GAAG;IAACC,KAAK,EAAC,IAAI;IAACC,MAAM,EAAC,GAAG;IAACE,IAAI,EAAC;EAAc,CAAE,CAAC;AAAA,CAC1D,CACL","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":"AAAA;AACA;AACA;AACA,SAASA,GAAG,EAAEC,IAAI,QAAQ,uBAAuB;AAAC,SAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAAC,KAAA;AAElD,OAAO,MAAMC,UAAU,gBACtBH,IAAA,CAACH,GAAG;EAACO,KAAK,EAAC,4BAA4B;EAACC,OAAO,EAAC,WAAW;EAAAC,QAAA,eAC1DN,IAAA,CAACF,IAAI;IAACS,CAAC,EAAC,GAAG;IAACC,CAAC,EAAC,IAAI;IAACC,KAAK,EAAC,IAAI;IAACC,MAAM,EAAC,GAAG;IAACC,EAAE,EAAC,GAAG;IAACC,IAAI,EAAC;EAAc,CAAE;AAAC,CAClE,CACL;AAED,OAAO,MAAMC,aAAa,gBACzBX,KAAA,CAACL,GAAG;EAACO,KAAK,EAAC,4BAA4B;EAACC,OAAO,EAAC,WAAW;EAAAC,QAAA,gBAC1DN,IAAA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|
|
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
|
-
);
|