@wordpress/block-library 9.6.1 → 9.7.1-next.1f6eadc42.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +2 -0
- package/build/archives/edit.js +1 -1
- package/build/archives/edit.js.map +1 -1
- package/build/audio/edit.js +2 -1
- package/build/audio/edit.js.map +1 -1
- package/build/block/edit.js +5 -8
- package/build/block/edit.js.map +1 -1
- package/build/button/edit.js +1 -1
- package/build/button/edit.js.map +1 -1
- package/build/buttons/index.js +1 -1
- package/build/categories/index.js +1 -0
- package/build/categories/index.js.map +1 -1
- package/build/comment-edit-link/index.js +13 -2
- package/build/comment-edit-link/index.js.map +1 -1
- package/build/comment-reply-link/index.js +13 -2
- package/build/comment-reply-link/index.js.map +1 -1
- package/build/comments/edit/comments-legacy.js +1 -0
- package/build/comments/edit/comments-legacy.js.map +1 -1
- package/build/cover/deprecated.js +1 -1
- package/build/cover/deprecated.js.map +1 -1
- package/build/cover/edit/block-controls.js +4 -2
- package/build/cover/edit/block-controls.js.map +1 -1
- package/build/cover/edit/index.js +6 -3
- package/build/cover/edit/index.js.map +1 -1
- package/build/cover/edit/inspector-controls.js +4 -12
- package/build/cover/edit/inspector-controls.js.map +1 -1
- package/build/details/index.js +3 -1
- package/build/details/index.js.map +1 -1
- package/build/details/transforms.js +24 -0
- package/build/details/transforms.js.map +1 -0
- package/build/embed/edit.js +5 -11
- package/build/embed/edit.js.map +1 -1
- package/build/embed/embed-placeholder.js +2 -0
- package/build/embed/embed-placeholder.js.map +1 -1
- package/build/embed/embed-preview.js +16 -4
- package/build/embed/embed-preview.js.map +1 -1
- package/build/file/edit.js +12 -1
- package/build/file/edit.js.map +1 -1
- package/build/file/transforms.js +18 -4
- package/build/file/transforms.js.map +1 -1
- package/build/form-input/deprecated.js +113 -1
- package/build/form-input/deprecated.js.map +1 -1
- package/build/form-input/edit.js +16 -12
- package/build/form-input/edit.js.map +1 -1
- package/build/form-input/save.js +9 -1
- package/build/form-input/save.js.map +1 -1
- package/build/freeform/edit.js +4 -4
- package/build/freeform/edit.js.map +1 -1
- package/build/freeform/modal.js +3 -0
- package/build/freeform/modal.js.map +1 -1
- package/build/home-link/edit.js +3 -9
- package/build/home-link/edit.js.map +1 -1
- package/build/image/edit.js +95 -45
- package/build/image/edit.js.map +1 -1
- package/build/image/image.js +39 -24
- package/build/image/image.js.map +1 -1
- package/build/image/transforms.js +0 -13
- package/build/image/transforms.js.map +1 -1
- package/build/image/use-max-width-observer.js +35 -0
- package/build/image/use-max-width-observer.js.map +1 -0
- package/build/image/utils.js +11 -0
- package/build/image/utils.js.map +1 -1
- package/build/latest-posts/edit.js +1 -1
- package/build/latest-posts/edit.js.map +1 -1
- package/build/media-text/deprecated.js +144 -3
- package/build/media-text/deprecated.js.map +1 -1
- package/build/media-text/edit.js +5 -5
- package/build/media-text/edit.js.map +1 -1
- package/build/media-text/image-fill.js +12 -0
- package/build/media-text/image-fill.js.map +1 -0
- package/build/media-text/media-container.js +21 -18
- package/build/media-text/media-container.js.map +1 -1
- package/build/media-text/media-container.native.js +0 -7
- package/build/media-text/media-container.native.js.map +1 -1
- package/build/media-text/save.js +5 -6
- package/build/media-text/save.js.map +1 -1
- package/build/missing/edit.js +3 -2
- package/build/missing/edit.js.map +1 -1
- package/build/navigation/edit/deleted-navigation-warning.js +14 -7
- package/build/navigation/edit/deleted-navigation-warning.js.map +1 -1
- package/build/navigation/edit/index.js +1 -0
- package/build/navigation/edit/index.js.map +1 -1
- package/build/navigation/edit/menu-inspector-controls.js +2 -1
- package/build/navigation/edit/menu-inspector-controls.js.map +1 -1
- package/build/navigation/edit/navigation-menu-delete-control.js +1 -0
- package/build/navigation/edit/navigation-menu-delete-control.js.map +1 -1
- package/build/navigation/edit/placeholder/index.js +1 -0
- package/build/navigation/edit/placeholder/index.js.map +1 -1
- package/build/navigation/edit/responsive-wrapper.js +2 -0
- package/build/navigation/edit/responsive-wrapper.js.map +1 -1
- package/build/navigation/edit/unsaved-inner-blocks.js +4 -4
- package/build/navigation/edit/unsaved-inner-blocks.js.map +1 -1
- package/build/navigation-link/link-ui.js +2 -1
- package/build/navigation-link/link-ui.js.map +1 -1
- package/build/page-list/convert-to-links-modal.js +2 -0
- package/build/page-list/convert-to-links-modal.js.map +1 -1
- package/build/page-list/edit.js +4 -1
- package/build/page-list/edit.js.map +1 -1
- package/build/post-comments-form/form.js +1 -0
- package/build/post-comments-form/form.js.map +1 -1
- package/build/post-featured-image/dimension-controls.js +6 -8
- package/build/post-featured-image/dimension-controls.js.map +1 -1
- package/build/post-featured-image/edit.js +2 -4
- package/build/post-featured-image/edit.js.map +1 -1
- package/build/post-title/index.js +4 -1
- package/build/post-title/index.js.map +1 -1
- package/build/query/edit/enhanced-pagination-modal.js +3 -2
- package/build/query/edit/enhanced-pagination-modal.js.map +1 -1
- package/build/query/edit/inspector-controls/enhanced-pagination-control.js +3 -3
- package/build/query/edit/inspector-controls/enhanced-pagination-control.js.map +1 -1
- package/build/query/edit/inspector-controls/index.js +2 -10
- package/build/query/edit/inspector-controls/index.js.map +1 -1
- package/build/query/edit/query-content.js +9 -3
- package/build/query/edit/query-content.js.map +1 -1
- package/build/query/edit/query-placeholder.js +2 -0
- package/build/query/edit/query-placeholder.js.map +1 -1
- package/build/site-logo/edit.js +9 -13
- package/build/site-logo/edit.js.map +1 -1
- package/build/site-title/index.js +4 -1
- package/build/site-title/index.js.map +1 -1
- package/build/social-link/edit.js +4 -1
- package/build/social-link/edit.js.map +1 -1
- package/build/social-links/edit.js +10 -9
- package/build/social-links/edit.js.map +1 -1
- package/build/template-part/edit/advanced-controls.js.map +1 -1
- package/build/template-part/edit/index.js +1 -1
- package/build/template-part/edit/index.js.map +1 -1
- package/build/template-part/edit/inner-blocks.js +10 -1
- package/build/template-part/edit/inner-blocks.js.map +1 -1
- package/build/template-part/edit/placeholder.js +2 -0
- package/build/template-part/edit/placeholder.js.map +1 -1
- package/build/utils/hooks.js +10 -10
- package/build/utils/hooks.js.map +1 -1
- package/build/video/edit.js +16 -12
- package/build/video/edit.js.map +1 -1
- package/build/video/tracks-editor.js +3 -0
- package/build/video/tracks-editor.js.map +1 -1
- package/build-module/archives/edit.js +1 -1
- package/build-module/archives/edit.js.map +1 -1
- package/build-module/audio/edit.js +2 -1
- package/build-module/audio/edit.js.map +1 -1
- package/build-module/block/edit.js +6 -9
- package/build-module/block/edit.js.map +1 -1
- package/build-module/button/edit.js +1 -1
- package/build-module/button/edit.js.map +1 -1
- package/build-module/buttons/index.js +1 -1
- package/build-module/categories/index.js +1 -0
- package/build-module/categories/index.js.map +1 -1
- package/build-module/comment-edit-link/index.js +13 -2
- package/build-module/comment-edit-link/index.js.map +1 -1
- package/build-module/comment-reply-link/index.js +13 -2
- package/build-module/comment-reply-link/index.js.map +1 -1
- package/build-module/comments/edit/comments-legacy.js +1 -0
- package/build-module/comments/edit/comments-legacy.js.map +1 -1
- package/build-module/cover/deprecated.js +1 -1
- package/build-module/cover/deprecated.js.map +1 -1
- package/build-module/cover/edit/block-controls.js +4 -2
- package/build-module/cover/edit/block-controls.js.map +1 -1
- package/build-module/cover/edit/index.js +6 -3
- package/build-module/cover/edit/index.js.map +1 -1
- package/build-module/cover/edit/inspector-controls.js +5 -13
- package/build-module/cover/edit/inspector-controls.js.map +1 -1
- package/build-module/details/index.js +3 -1
- package/build-module/details/index.js.map +1 -1
- package/build-module/details/transforms.js +18 -0
- package/build-module/details/transforms.js.map +1 -0
- package/build-module/embed/edit.js +6 -12
- package/build-module/embed/edit.js.map +1 -1
- package/build-module/embed/embed-placeholder.js +2 -0
- package/build-module/embed/embed-placeholder.js.map +1 -1
- package/build-module/embed/embed-preview.js +16 -4
- package/build-module/embed/embed-preview.js.map +1 -1
- package/build-module/file/edit.js +12 -1
- package/build-module/file/edit.js.map +1 -1
- package/build-module/file/transforms.js +18 -4
- package/build-module/file/transforms.js.map +1 -1
- package/build-module/form-input/deprecated.js +114 -2
- package/build-module/form-input/deprecated.js.map +1 -1
- package/build-module/form-input/edit.js +16 -12
- package/build-module/form-input/edit.js.map +1 -1
- package/build-module/form-input/save.js +9 -1
- package/build-module/form-input/save.js.map +1 -1
- package/build-module/freeform/edit.js +4 -4
- package/build-module/freeform/edit.js.map +1 -1
- package/build-module/freeform/modal.js +3 -0
- package/build-module/freeform/modal.js.map +1 -1
- package/build-module/home-link/edit.js +3 -9
- package/build-module/home-link/edit.js.map +1 -1
- package/build-module/image/edit.js +99 -48
- package/build-module/image/edit.js.map +1 -1
- package/build-module/image/image.js +40 -25
- package/build-module/image/image.js.map +1 -1
- package/build-module/image/transforms.js +0 -13
- package/build-module/image/transforms.js.map +1 -1
- package/build-module/image/use-max-width-observer.js +29 -0
- package/build-module/image/use-max-width-observer.js.map +1 -0
- package/build-module/image/utils.js +11 -1
- package/build-module/image/utils.js.map +1 -1
- package/build-module/latest-posts/edit.js +1 -1
- package/build-module/latest-posts/edit.js.map +1 -1
- package/build-module/media-text/deprecated.js +144 -3
- package/build-module/media-text/deprecated.js.map +1 -1
- package/build-module/media-text/edit.js +5 -5
- package/build-module/media-text/edit.js.map +1 -1
- package/build-module/media-text/image-fill.js +6 -0
- package/build-module/media-text/image-fill.js.map +1 -0
- package/build-module/media-text/media-container.js +21 -17
- package/build-module/media-text/media-container.js.map +1 -1
- package/build-module/media-text/media-container.native.js +0 -1
- package/build-module/media-text/media-container.native.js.map +1 -1
- package/build-module/media-text/save.js +5 -6
- package/build-module/media-text/save.js.map +1 -1
- package/build-module/missing/edit.js +3 -2
- package/build-module/missing/edit.js.map +1 -1
- package/build-module/navigation/edit/deleted-navigation-warning.js +15 -8
- package/build-module/navigation/edit/deleted-navigation-warning.js.map +1 -1
- package/build-module/navigation/edit/index.js +1 -0
- package/build-module/navigation/edit/index.js.map +1 -1
- package/build-module/navigation/edit/menu-inspector-controls.js +2 -1
- package/build-module/navigation/edit/menu-inspector-controls.js.map +1 -1
- package/build-module/navigation/edit/navigation-menu-delete-control.js +1 -0
- package/build-module/navigation/edit/navigation-menu-delete-control.js.map +1 -1
- package/build-module/navigation/edit/placeholder/index.js +1 -0
- package/build-module/navigation/edit/placeholder/index.js.map +1 -1
- package/build-module/navigation/edit/responsive-wrapper.js +2 -0
- package/build-module/navigation/edit/responsive-wrapper.js.map +1 -1
- package/build-module/navigation/edit/unsaved-inner-blocks.js +4 -4
- package/build-module/navigation/edit/unsaved-inner-blocks.js.map +1 -1
- package/build-module/navigation-link/link-ui.js +4 -3
- package/build-module/navigation-link/link-ui.js.map +1 -1
- package/build-module/page-list/convert-to-links-modal.js +2 -0
- package/build-module/page-list/convert-to-links-modal.js.map +1 -1
- package/build-module/page-list/edit.js +4 -1
- package/build-module/page-list/edit.js.map +1 -1
- package/build-module/post-comments-form/form.js +1 -0
- package/build-module/post-comments-form/form.js.map +1 -1
- package/build-module/post-featured-image/dimension-controls.js +6 -8
- package/build-module/post-featured-image/dimension-controls.js.map +1 -1
- package/build-module/post-featured-image/edit.js +3 -5
- package/build-module/post-featured-image/edit.js.map +1 -1
- package/build-module/post-title/index.js +4 -1
- package/build-module/post-title/index.js.map +1 -1
- package/build-module/query/edit/enhanced-pagination-modal.js +3 -2
- package/build-module/query/edit/enhanced-pagination-modal.js.map +1 -1
- package/build-module/query/edit/inspector-controls/enhanced-pagination-control.js +3 -3
- package/build-module/query/edit/inspector-controls/enhanced-pagination-control.js.map +1 -1
- package/build-module/query/edit/inspector-controls/index.js +2 -10
- package/build-module/query/edit/inspector-controls/index.js.map +1 -1
- package/build-module/query/edit/query-content.js +10 -4
- package/build-module/query/edit/query-content.js.map +1 -1
- package/build-module/query/edit/query-placeholder.js +2 -0
- package/build-module/query/edit/query-placeholder.js.map +1 -1
- package/build-module/site-logo/edit.js +10 -14
- package/build-module/site-logo/edit.js.map +1 -1
- package/build-module/site-title/index.js +4 -1
- package/build-module/site-title/index.js.map +1 -1
- package/build-module/social-link/edit.js +4 -1
- package/build-module/social-link/edit.js.map +1 -1
- package/build-module/social-links/edit.js +11 -10
- package/build-module/social-links/edit.js.map +1 -1
- package/build-module/template-part/edit/advanced-controls.js.map +1 -1
- package/build-module/template-part/edit/index.js +1 -1
- package/build-module/template-part/edit/index.js.map +1 -1
- package/build-module/template-part/edit/inner-blocks.js +10 -1
- package/build-module/template-part/edit/inner-blocks.js.map +1 -1
- package/build-module/template-part/edit/placeholder.js +2 -0
- package/build-module/template-part/edit/placeholder.js.map +1 -1
- package/build-module/utils/hooks.js +10 -10
- package/build-module/utils/hooks.js.map +1 -1
- package/build-module/video/edit.js +16 -13
- package/build-module/video/edit.js.map +1 -1
- package/build-module/video/tracks-editor.js +3 -0
- package/build-module/video/tracks-editor.js.map +1 -1
- package/build-style/button/editor-rtl.css +0 -4
- package/build-style/button/editor.css +0 -4
- package/build-style/buttons/editor-rtl.css +2 -5
- package/build-style/buttons/editor.css +2 -5
- package/build-style/buttons/style-rtl.css +2 -2
- package/build-style/buttons/style.css +2 -2
- package/build-style/comment-edit-link/style-rtl.css +94 -0
- package/build-style/comment-edit-link/style.css +94 -0
- package/build-style/comment-reply-link/style-rtl.css +94 -0
- package/build-style/comment-reply-link/style.css +94 -0
- package/build-style/comments-pagination/editor-rtl.css +2 -2
- package/build-style/comments-pagination/editor.css +2 -2
- package/build-style/common-rtl.css +2 -2
- package/build-style/common.css +2 -2
- package/build-style/cover/editor-rtl.css +0 -6
- package/build-style/cover/editor.css +0 -6
- package/build-style/editor-rtl.css +35 -99
- package/build-style/editor.css +35 -101
- package/build-style/form-input/style-rtl.css +7 -8
- package/build-style/form-input/style.css +7 -8
- package/build-style/group/editor-rtl.css +0 -1
- package/build-style/group/editor.css +0 -1
- package/build-style/image/editor-rtl.css +6 -27
- package/build-style/image/editor.css +6 -27
- package/build-style/media-text/editor-rtl.css +3 -1
- package/build-style/media-text/editor.css +3 -1
- package/build-style/media-text/style-rtl.css +20 -0
- package/build-style/media-text/style.css +20 -0
- package/build-style/navigation/editor-rtl.css +1 -2
- package/build-style/navigation/editor.css +1 -2
- 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 +21 -0
- package/build-style/post-title/style.css +21 -0
- package/build-style/query-pagination/editor-rtl.css +2 -16
- package/build-style/query-pagination/editor.css +2 -18
- package/build-style/query-pagination/style-rtl.css +0 -11
- package/build-style/query-pagination/style.css +0 -13
- package/build-style/site-title/editor-rtl.css +0 -4
- package/build-style/site-title/editor.css +0 -4
- package/build-style/site-title/style-rtl.css +21 -0
- package/build-style/site-title/style.css +21 -0
- package/build-style/social-links/editor-rtl.css +17 -0
- package/build-style/social-links/editor.css +17 -0
- package/build-style/style-rtl.css +82 -24
- package/build-style/style.css +82 -26
- package/build-style/video/editor-rtl.css +0 -29
- package/build-style/video/editor.css +0 -29
- package/package.json +42 -35
- package/src/archives/edit.js +1 -1
- package/src/audio/edit.js +1 -0
- package/src/block/edit.js +9 -11
- package/src/button/edit.js +1 -1
- package/src/button/editor.scss +0 -5
- package/src/buttons/block.json +1 -1
- package/src/buttons/editor.scss +2 -8
- package/src/buttons/style.scss +2 -2
- package/src/categories/block.json +1 -0
- package/src/categories/index.php +13 -2
- package/src/comment-edit-link/block.json +13 -2
- package/src/comment-edit-link/style.scss +4 -0
- package/src/comment-reply-link/block.json +13 -2
- package/src/comment-reply-link/style.scss +4 -0
- package/src/comments/edit/comments-legacy.js +1 -0
- package/src/comments-pagination/editor.scss +1 -1
- package/src/cover/deprecated.js +3 -2
- package/src/cover/edit/block-controls.js +2 -0
- package/src/cover/edit/index.js +6 -1
- package/src/cover/edit/inspector-controls.js +3 -15
- package/src/cover/editor.scss +0 -5
- package/src/cover/test/edit.js +30 -26
- package/src/details/index.js +2 -0
- package/src/details/transforms.js +26 -0
- package/src/embed/edit.js +0 -7
- package/src/embed/embed-placeholder.js +10 -2
- package/src/embed/embed-preview.js +22 -2
- package/src/file/edit.js +11 -0
- package/src/file/index.php +1 -1
- package/src/file/transforms.js +26 -6
- package/src/form-input/deprecated.js +114 -1
- package/src/form-input/edit.js +17 -11
- package/src/form-input/save.js +13 -3
- package/src/form-input/style.scss +9 -8
- package/src/freeform/edit.js +4 -4
- package/src/freeform/editor.scss +1 -1
- package/src/freeform/modal.js +7 -1
- package/src/gallery/editor.scss +1 -1
- package/src/group/editor.scss +0 -1
- package/src/home-link/edit.js +4 -7
- package/src/image/edit.js +130 -47
- package/src/image/editor.scss +7 -41
- package/src/image/image.js +100 -67
- package/src/image/index.php +1 -1
- package/src/image/transforms.js +0 -23
- package/src/image/use-max-width-observer.js +32 -0
- package/src/image/utils.js +13 -1
- package/src/latest-posts/edit.js +1 -1
- package/src/media-text/deprecated.js +159 -3
- package/src/media-text/edit.js +5 -5
- package/src/media-text/editor.scss +3 -1
- package/src/media-text/image-fill.js +11 -0
- package/src/media-text/index.php +53 -43
- package/src/media-text/media-container.js +25 -25
- package/src/media-text/media-container.native.js +0 -2
- package/src/media-text/save.js +9 -13
- package/src/media-text/style.scss +21 -0
- package/src/media-text/test/image-fill.js +19 -0
- package/src/missing/edit.js +8 -3
- package/src/navigation/edit/deleted-navigation-warning.js +23 -13
- package/src/navigation/edit/index.js +1 -0
- package/src/navigation/edit/menu-inspector-controls.js +3 -1
- package/src/navigation/edit/navigation-menu-delete-control.js +1 -0
- package/src/navigation/edit/placeholder/index.js +1 -0
- package/src/navigation/edit/responsive-wrapper.js +2 -0
- package/src/navigation/edit/unsaved-inner-blocks.js +4 -4
- package/src/navigation/editor.scss +11 -4
- package/src/navigation/index.php +1 -1
- package/src/navigation-link/link-ui.js +4 -3
- package/src/page-list/convert-to-links-modal.js +6 -1
- package/src/page-list/edit.js +6 -1
- package/src/page-list/index.php +3 -1
- package/src/post-comments-form/form.js +1 -0
- package/src/post-featured-image/dimension-controls.js +4 -4
- package/src/post-featured-image/edit.js +3 -6
- package/src/post-featured-image/style.scss +1 -1
- package/src/post-title/block.json +4 -1
- package/src/post-title/style.scss +24 -0
- package/src/query/edit/enhanced-pagination-modal.js +7 -3
- package/src/query/edit/inspector-controls/enhanced-pagination-control.js +3 -3
- package/src/query/edit/inspector-controls/index.js +2 -9
- package/src/query/edit/query-content.js +7 -0
- package/src/query/edit/query-placeholder.js +2 -0
- package/src/query/index.php +1 -1
- package/src/query-pagination/editor.scss +1 -21
- package/src/query-pagination/style.scss +0 -15
- package/src/search/index.php +1 -1
- package/src/site-logo/edit.js +11 -20
- package/src/site-title/block.json +4 -1
- package/src/site-title/editor.scss +0 -4
- package/src/site-title/style.scss +24 -0
- package/src/social-link/edit.js +2 -0
- package/src/social-links/edit.js +17 -10
- package/src/social-links/editor.scss +24 -5
- package/src/style.scss +2 -0
- package/src/tag-cloud/index.php +7 -2
- package/src/template-part/edit/advanced-controls.js +0 -1
- package/src/template-part/edit/index.js +12 -10
- package/src/template-part/edit/inner-blocks.js +20 -1
- package/src/template-part/edit/placeholder.js +6 -1
- package/src/utils/hooks.js +11 -11
- package/src/video/edit.js +24 -21
- package/src/video/editor.scss +0 -45
- package/src/video/tracks-editor.js +3 -0
- package/src/media-text/test/media-container.js +0 -24
|
@@ -205,7 +205,7 @@
|
|
|
205
205
|
}
|
|
206
206
|
|
|
207
207
|
.wp-block-buttons {
|
|
208
|
-
/* stylelint-disable indentation -- Disable the stylelint rule, otherwise this selector is ugly! */
|
|
208
|
+
/* stylelint-disable @stylistic/indentation -- Disable the stylelint rule, otherwise this selector is ugly! */
|
|
209
209
|
}
|
|
210
210
|
.wp-block-buttons.is-vertical {
|
|
211
211
|
flex-direction: column;
|
|
@@ -245,7 +245,7 @@
|
|
|
245
245
|
.is-content-justification-right,
|
|
246
246
|
.is-content-justification-left,
|
|
247
247
|
.is-content-justification-center) .wp-block-button.aligncenter {
|
|
248
|
-
/* stylelint-enable indentation */
|
|
248
|
+
/* stylelint-enable @stylistic/indentation */
|
|
249
249
|
margin-right: auto;
|
|
250
250
|
margin-left: auto;
|
|
251
251
|
width: 100%;
|
|
@@ -596,6 +596,14 @@
|
|
|
596
596
|
box-sizing: border-box;
|
|
597
597
|
}
|
|
598
598
|
|
|
599
|
+
.wp-block-comment-edit-link {
|
|
600
|
+
box-sizing: border-box;
|
|
601
|
+
}
|
|
602
|
+
|
|
603
|
+
.wp-block-comment-reply-link {
|
|
604
|
+
box-sizing: border-box;
|
|
605
|
+
}
|
|
606
|
+
|
|
599
607
|
.wp-block-cover-image,
|
|
600
608
|
.wp-block-cover {
|
|
601
609
|
min-height: 430px;
|
|
@@ -1126,13 +1134,6 @@ section.wp-block-cover-image > h2,
|
|
|
1126
1134
|
flex-direction: column;
|
|
1127
1135
|
gap: 0.25em;
|
|
1128
1136
|
margin-bottom: 0.5em;
|
|
1129
|
-
/*
|
|
1130
|
-
Small tweak to left-align the checkbox.
|
|
1131
|
-
Even though `:has` is not currently supported in Firefox, this is a small tweak
|
|
1132
|
-
and does not affect the functionality of the block or the user's experience.
|
|
1133
|
-
There will be a minor inconsistency between browsers. However, it's more important to provide
|
|
1134
|
-
a better experience for 80+% of users, until Firefox catches up and supports `:has`.
|
|
1135
|
-
*/
|
|
1136
1137
|
}
|
|
1137
1138
|
.wp-block-form-input__label.is-label-inline {
|
|
1138
1139
|
flex-direction: row;
|
|
@@ -1143,9 +1144,15 @@ section.wp-block-cover-image > h2,
|
|
|
1143
1144
|
margin-bottom: 0.5em;
|
|
1144
1145
|
}
|
|
1145
1146
|
.wp-block-form-input__label:has(input[type=checkbox]) {
|
|
1147
|
+
flex-direction: row;
|
|
1146
1148
|
width: -moz-fit-content;
|
|
1147
1149
|
width: fit-content;
|
|
1148
|
-
|
|
1150
|
+
}
|
|
1151
|
+
.wp-block-form-input__label:has(input[type=checkbox]) .wp-block-form-input__label-content {
|
|
1152
|
+
margin: 0;
|
|
1153
|
+
}
|
|
1154
|
+
.wp-block-form-input__label:has(.wp-block-form-input__label-content + input[type=checkbox]) {
|
|
1155
|
+
/* stylelint-disable-next-line declaration-property-value-allowed-list -- This style is required for old markup. */
|
|
1149
1156
|
flex-direction: row-reverse;
|
|
1150
1157
|
}
|
|
1151
1158
|
|
|
@@ -2111,6 +2118,7 @@ ul {
|
|
|
2111
2118
|
vertical-align: middle;
|
|
2112
2119
|
}
|
|
2113
2120
|
|
|
2121
|
+
/* `is-image-fill` is deprecated and the styles are kept for backwards compatibility. */
|
|
2114
2122
|
.wp-block-media-text.is-image-fill > .wp-block-media-text__media {
|
|
2115
2123
|
height: 100%;
|
|
2116
2124
|
min-height: 250px;
|
|
@@ -2133,6 +2141,25 @@ ul {
|
|
|
2133
2141
|
border: 0;
|
|
2134
2142
|
}
|
|
2135
2143
|
|
|
2144
|
+
/* Image fill for versions 8 and onwards */
|
|
2145
|
+
.wp-block-media-text.is-image-fill-element > .wp-block-media-text__media {
|
|
2146
|
+
position: relative;
|
|
2147
|
+
height: 100%;
|
|
2148
|
+
min-height: 250px;
|
|
2149
|
+
}
|
|
2150
|
+
|
|
2151
|
+
.wp-block-media-text.is-image-fill-element > .wp-block-media-text__media > a {
|
|
2152
|
+
display: block;
|
|
2153
|
+
height: 100%;
|
|
2154
|
+
}
|
|
2155
|
+
|
|
2156
|
+
.wp-block-media-text.is-image-fill-element > .wp-block-media-text__media img {
|
|
2157
|
+
position: absolute;
|
|
2158
|
+
width: 100%;
|
|
2159
|
+
height: 100%;
|
|
2160
|
+
object-fit: cover;
|
|
2161
|
+
}
|
|
2162
|
+
|
|
2136
2163
|
/*
|
|
2137
2164
|
* Here we here not able to use a mobile first CSS approach.
|
|
2138
2165
|
* Custom widths are set using inline styles, and on mobile,
|
|
@@ -2894,7 +2921,7 @@ p.has-text-align-left[style*="writing-mode:vertical-lr"] {
|
|
|
2894
2921
|
display: block;
|
|
2895
2922
|
height: 100%;
|
|
2896
2923
|
}
|
|
2897
|
-
.wp-block-post-featured-image img {
|
|
2924
|
+
.wp-block-post-featured-image :where(img) {
|
|
2898
2925
|
max-width: 100%;
|
|
2899
2926
|
width: 100%;
|
|
2900
2927
|
height: auto;
|
|
@@ -2986,6 +3013,27 @@ p.has-text-align-left[style*="writing-mode:vertical-lr"] {
|
|
|
2986
3013
|
word-break: break-word;
|
|
2987
3014
|
box-sizing: border-box;
|
|
2988
3015
|
}
|
|
3016
|
+
.wp-block-post-title[style*=font-weight] :where(a) {
|
|
3017
|
+
font-weight: inherit;
|
|
3018
|
+
}
|
|
3019
|
+
.wp-block-post-title[class*=-font-family] :where(a), .wp-block-post-title[style*=font-family] :where(a) {
|
|
3020
|
+
font-family: inherit;
|
|
3021
|
+
}
|
|
3022
|
+
.wp-block-post-title[class*=-font-size] :where(a), .wp-block-post-title[style*=font-size] :where(a) {
|
|
3023
|
+
font-size: inherit;
|
|
3024
|
+
}
|
|
3025
|
+
.wp-block-post-title[style*=line-height] :where(a) {
|
|
3026
|
+
line-height: inherit;
|
|
3027
|
+
}
|
|
3028
|
+
.wp-block-post-title[style*=font-style] :where(a) {
|
|
3029
|
+
font-style: inherit;
|
|
3030
|
+
}
|
|
3031
|
+
.wp-block-post-title[style*=letter-spacing] :where(a) {
|
|
3032
|
+
letter-spacing: inherit;
|
|
3033
|
+
}
|
|
3034
|
+
.wp-block-post-title[style*=text-decoration] :where(a) {
|
|
3035
|
+
text-decoration: inherit;
|
|
3036
|
+
}
|
|
2989
3037
|
.wp-block-post-title a {
|
|
2990
3038
|
display: inline-block;
|
|
2991
3039
|
}
|
|
@@ -3125,17 +3173,6 @@ p.has-text-align-left[style*="writing-mode:vertical-lr"] {
|
|
|
3125
3173
|
margin-inline-end: auto;
|
|
3126
3174
|
}
|
|
3127
3175
|
|
|
3128
|
-
.wp-block-query-pagination > .wp-block-query-pagination-next,
|
|
3129
|
-
.wp-block-query-pagination > .wp-block-query-pagination-previous,
|
|
3130
|
-
.wp-block-query-pagination > .wp-block-query-pagination-numbers {
|
|
3131
|
-
margin-right: 0.5em;
|
|
3132
|
-
margin-bottom: 0.5em;
|
|
3133
|
-
}
|
|
3134
|
-
.wp-block-query-pagination > .wp-block-query-pagination-next:last-child,
|
|
3135
|
-
.wp-block-query-pagination > .wp-block-query-pagination-previous:last-child,
|
|
3136
|
-
.wp-block-query-pagination > .wp-block-query-pagination-numbers:last-child {
|
|
3137
|
-
margin-right: 0;
|
|
3138
|
-
}
|
|
3139
3176
|
.wp-block-query-pagination.is-content-justification-space-between > .wp-block-query-pagination-next:last-of-type {
|
|
3140
3177
|
margin-inline-start: auto;
|
|
3141
3178
|
}
|
|
@@ -3421,6 +3458,27 @@ ul.wp-block-rss.is-grid li {
|
|
|
3421
3458
|
.wp-block-site-title {
|
|
3422
3459
|
box-sizing: border-box;
|
|
3423
3460
|
}
|
|
3461
|
+
.wp-block-site-title[style*=font-weight] :where(a) {
|
|
3462
|
+
font-weight: inherit;
|
|
3463
|
+
}
|
|
3464
|
+
.wp-block-site-title[class*=-font-family] :where(a), .wp-block-site-title[style*=font-family] :where(a) {
|
|
3465
|
+
font-family: inherit;
|
|
3466
|
+
}
|
|
3467
|
+
.wp-block-site-title[class*=-font-size] :where(a), .wp-block-site-title[style*=font-size] :where(a) {
|
|
3468
|
+
font-size: inherit;
|
|
3469
|
+
}
|
|
3470
|
+
.wp-block-site-title[style*=line-height] :where(a) {
|
|
3471
|
+
line-height: inherit;
|
|
3472
|
+
}
|
|
3473
|
+
.wp-block-site-title[style*=font-style] :where(a) {
|
|
3474
|
+
font-style: inherit;
|
|
3475
|
+
}
|
|
3476
|
+
.wp-block-site-title[style*=letter-spacing] :where(a) {
|
|
3477
|
+
letter-spacing: inherit;
|
|
3478
|
+
}
|
|
3479
|
+
.wp-block-site-title[style*=text-decoration] :where(a) {
|
|
3480
|
+
text-decoration: inherit;
|
|
3481
|
+
}
|
|
3424
3482
|
.wp-block-site-title :where(a) {
|
|
3425
3483
|
color: inherit;
|
|
3426
3484
|
}
|
|
@@ -4113,8 +4171,8 @@ a[data-fn].fn::after {
|
|
|
4113
4171
|
}
|
|
4114
4172
|
|
|
4115
4173
|
:root {
|
|
4116
|
-
/* stylelint-disable function-comma-space-after -- We can not use spacing because of WP multi site kses rule. */
|
|
4117
|
-
/* stylelint-enable function-comma-space-after */
|
|
4174
|
+
/* stylelint-disable @stylistic/function-comma-space-after -- We can not use spacing because of WP multi site kses rule. */
|
|
4175
|
+
/* stylelint-enable @stylistic/function-comma-space-after */
|
|
4118
4176
|
--wp--preset--font-size--normal: 16px;
|
|
4119
4177
|
--wp--preset--font-size--huge: 42px;
|
|
4120
4178
|
}
|
package/build-style/style.css
CHANGED
|
@@ -206,7 +206,7 @@
|
|
|
206
206
|
}
|
|
207
207
|
|
|
208
208
|
.wp-block-buttons {
|
|
209
|
-
/* stylelint-disable indentation -- Disable the stylelint rule, otherwise this selector is ugly! */
|
|
209
|
+
/* stylelint-disable @stylistic/indentation -- Disable the stylelint rule, otherwise this selector is ugly! */
|
|
210
210
|
}
|
|
211
211
|
.wp-block-buttons.is-vertical {
|
|
212
212
|
flex-direction: column;
|
|
@@ -246,7 +246,7 @@
|
|
|
246
246
|
.is-content-justification-right,
|
|
247
247
|
.is-content-justification-left,
|
|
248
248
|
.is-content-justification-center) .wp-block-button.aligncenter {
|
|
249
|
-
/* stylelint-enable indentation */
|
|
249
|
+
/* stylelint-enable @stylistic/indentation */
|
|
250
250
|
margin-left: auto;
|
|
251
251
|
margin-right: auto;
|
|
252
252
|
width: 100%;
|
|
@@ -601,6 +601,14 @@
|
|
|
601
601
|
box-sizing: border-box;
|
|
602
602
|
}
|
|
603
603
|
|
|
604
|
+
.wp-block-comment-edit-link {
|
|
605
|
+
box-sizing: border-box;
|
|
606
|
+
}
|
|
607
|
+
|
|
608
|
+
.wp-block-comment-reply-link {
|
|
609
|
+
box-sizing: border-box;
|
|
610
|
+
}
|
|
611
|
+
|
|
604
612
|
.wp-block-cover-image,
|
|
605
613
|
.wp-block-cover {
|
|
606
614
|
min-height: 430px;
|
|
@@ -1134,13 +1142,6 @@ section.wp-block-cover-image > h2,
|
|
|
1134
1142
|
flex-direction: column;
|
|
1135
1143
|
gap: 0.25em;
|
|
1136
1144
|
margin-bottom: 0.5em;
|
|
1137
|
-
/*
|
|
1138
|
-
Small tweak to left-align the checkbox.
|
|
1139
|
-
Even though `:has` is not currently supported in Firefox, this is a small tweak
|
|
1140
|
-
and does not affect the functionality of the block or the user's experience.
|
|
1141
|
-
There will be a minor inconsistency between browsers. However, it's more important to provide
|
|
1142
|
-
a better experience for 80+% of users, until Firefox catches up and supports `:has`.
|
|
1143
|
-
*/
|
|
1144
1145
|
}
|
|
1145
1146
|
.wp-block-form-input__label.is-label-inline {
|
|
1146
1147
|
flex-direction: row;
|
|
@@ -1151,9 +1152,15 @@ section.wp-block-cover-image > h2,
|
|
|
1151
1152
|
margin-bottom: 0.5em;
|
|
1152
1153
|
}
|
|
1153
1154
|
.wp-block-form-input__label:has(input[type=checkbox]) {
|
|
1155
|
+
flex-direction: row;
|
|
1154
1156
|
width: -moz-fit-content;
|
|
1155
1157
|
width: fit-content;
|
|
1156
|
-
|
|
1158
|
+
}
|
|
1159
|
+
.wp-block-form-input__label:has(input[type=checkbox]) .wp-block-form-input__label-content {
|
|
1160
|
+
margin: 0;
|
|
1161
|
+
}
|
|
1162
|
+
.wp-block-form-input__label:has(.wp-block-form-input__label-content + input[type=checkbox]) {
|
|
1163
|
+
/* stylelint-disable-next-line declaration-property-value-allowed-list -- This style is required for old markup. */
|
|
1157
1164
|
flex-direction: row-reverse;
|
|
1158
1165
|
}
|
|
1159
1166
|
|
|
@@ -2141,6 +2148,7 @@ ul {
|
|
|
2141
2148
|
vertical-align: middle;
|
|
2142
2149
|
}
|
|
2143
2150
|
|
|
2151
|
+
/* `is-image-fill` is deprecated and the styles are kept for backwards compatibility. */
|
|
2144
2152
|
.wp-block-media-text.is-image-fill > .wp-block-media-text__media {
|
|
2145
2153
|
height: 100%;
|
|
2146
2154
|
min-height: 250px;
|
|
@@ -2163,6 +2171,25 @@ ul {
|
|
|
2163
2171
|
border: 0;
|
|
2164
2172
|
}
|
|
2165
2173
|
|
|
2174
|
+
/* Image fill for versions 8 and onwards */
|
|
2175
|
+
.wp-block-media-text.is-image-fill-element > .wp-block-media-text__media {
|
|
2176
|
+
position: relative;
|
|
2177
|
+
height: 100%;
|
|
2178
|
+
min-height: 250px;
|
|
2179
|
+
}
|
|
2180
|
+
|
|
2181
|
+
.wp-block-media-text.is-image-fill-element > .wp-block-media-text__media > a {
|
|
2182
|
+
display: block;
|
|
2183
|
+
height: 100%;
|
|
2184
|
+
}
|
|
2185
|
+
|
|
2186
|
+
.wp-block-media-text.is-image-fill-element > .wp-block-media-text__media img {
|
|
2187
|
+
position: absolute;
|
|
2188
|
+
width: 100%;
|
|
2189
|
+
height: 100%;
|
|
2190
|
+
object-fit: cover;
|
|
2191
|
+
}
|
|
2192
|
+
|
|
2166
2193
|
/*
|
|
2167
2194
|
* Here we here not able to use a mobile first CSS approach.
|
|
2168
2195
|
* Custom widths are set using inline styles, and on mobile,
|
|
@@ -2924,7 +2951,7 @@ p.has-text-align-left[style*="writing-mode:vertical-lr"] {
|
|
|
2924
2951
|
display: block;
|
|
2925
2952
|
height: 100%;
|
|
2926
2953
|
}
|
|
2927
|
-
.wp-block-post-featured-image img {
|
|
2954
|
+
.wp-block-post-featured-image :where(img) {
|
|
2928
2955
|
max-width: 100%;
|
|
2929
2956
|
width: 100%;
|
|
2930
2957
|
height: auto;
|
|
@@ -3016,6 +3043,27 @@ p.has-text-align-left[style*="writing-mode:vertical-lr"] {
|
|
|
3016
3043
|
word-break: break-word;
|
|
3017
3044
|
box-sizing: border-box;
|
|
3018
3045
|
}
|
|
3046
|
+
.wp-block-post-title[style*=font-weight] :where(a) {
|
|
3047
|
+
font-weight: inherit;
|
|
3048
|
+
}
|
|
3049
|
+
.wp-block-post-title[class*=-font-family] :where(a), .wp-block-post-title[style*=font-family] :where(a) {
|
|
3050
|
+
font-family: inherit;
|
|
3051
|
+
}
|
|
3052
|
+
.wp-block-post-title[class*=-font-size] :where(a), .wp-block-post-title[style*=font-size] :where(a) {
|
|
3053
|
+
font-size: inherit;
|
|
3054
|
+
}
|
|
3055
|
+
.wp-block-post-title[style*=line-height] :where(a) {
|
|
3056
|
+
line-height: inherit;
|
|
3057
|
+
}
|
|
3058
|
+
.wp-block-post-title[style*=font-style] :where(a) {
|
|
3059
|
+
font-style: inherit;
|
|
3060
|
+
}
|
|
3061
|
+
.wp-block-post-title[style*=letter-spacing] :where(a) {
|
|
3062
|
+
letter-spacing: inherit;
|
|
3063
|
+
}
|
|
3064
|
+
.wp-block-post-title[style*=text-decoration] :where(a) {
|
|
3065
|
+
text-decoration: inherit;
|
|
3066
|
+
}
|
|
3019
3067
|
.wp-block-post-title a {
|
|
3020
3068
|
display: inline-block;
|
|
3021
3069
|
}
|
|
@@ -3155,19 +3203,6 @@ p.has-text-align-left[style*="writing-mode:vertical-lr"] {
|
|
|
3155
3203
|
margin-inline-end: auto;
|
|
3156
3204
|
}
|
|
3157
3205
|
|
|
3158
|
-
.wp-block-query-pagination > .wp-block-query-pagination-next,
|
|
3159
|
-
.wp-block-query-pagination > .wp-block-query-pagination-previous,
|
|
3160
|
-
.wp-block-query-pagination > .wp-block-query-pagination-numbers {
|
|
3161
|
-
/*rtl:ignore*/
|
|
3162
|
-
margin-right: 0.5em;
|
|
3163
|
-
margin-bottom: 0.5em;
|
|
3164
|
-
}
|
|
3165
|
-
.wp-block-query-pagination > .wp-block-query-pagination-next:last-child,
|
|
3166
|
-
.wp-block-query-pagination > .wp-block-query-pagination-previous:last-child,
|
|
3167
|
-
.wp-block-query-pagination > .wp-block-query-pagination-numbers:last-child {
|
|
3168
|
-
/*rtl:ignore*/
|
|
3169
|
-
margin-right: 0;
|
|
3170
|
-
}
|
|
3171
3206
|
.wp-block-query-pagination.is-content-justification-space-between > .wp-block-query-pagination-next:last-of-type {
|
|
3172
3207
|
margin-inline-start: auto;
|
|
3173
3208
|
}
|
|
@@ -3456,6 +3491,27 @@ ul.wp-block-rss.is-grid li {
|
|
|
3456
3491
|
.wp-block-site-title {
|
|
3457
3492
|
box-sizing: border-box;
|
|
3458
3493
|
}
|
|
3494
|
+
.wp-block-site-title[style*=font-weight] :where(a) {
|
|
3495
|
+
font-weight: inherit;
|
|
3496
|
+
}
|
|
3497
|
+
.wp-block-site-title[class*=-font-family] :where(a), .wp-block-site-title[style*=font-family] :where(a) {
|
|
3498
|
+
font-family: inherit;
|
|
3499
|
+
}
|
|
3500
|
+
.wp-block-site-title[class*=-font-size] :where(a), .wp-block-site-title[style*=font-size] :where(a) {
|
|
3501
|
+
font-size: inherit;
|
|
3502
|
+
}
|
|
3503
|
+
.wp-block-site-title[style*=line-height] :where(a) {
|
|
3504
|
+
line-height: inherit;
|
|
3505
|
+
}
|
|
3506
|
+
.wp-block-site-title[style*=font-style] :where(a) {
|
|
3507
|
+
font-style: inherit;
|
|
3508
|
+
}
|
|
3509
|
+
.wp-block-site-title[style*=letter-spacing] :where(a) {
|
|
3510
|
+
letter-spacing: inherit;
|
|
3511
|
+
}
|
|
3512
|
+
.wp-block-site-title[style*=text-decoration] :where(a) {
|
|
3513
|
+
text-decoration: inherit;
|
|
3514
|
+
}
|
|
3459
3515
|
.wp-block-site-title :where(a) {
|
|
3460
3516
|
color: inherit;
|
|
3461
3517
|
}
|
|
@@ -4148,8 +4204,8 @@ a[data-fn].fn::after {
|
|
|
4148
4204
|
}
|
|
4149
4205
|
|
|
4150
4206
|
:root {
|
|
4151
|
-
/* stylelint-disable function-comma-space-after -- We can not use spacing because of WP multi site kses rule. */
|
|
4152
|
-
/* stylelint-enable function-comma-space-after */
|
|
4207
|
+
/* stylelint-disable @stylistic/function-comma-space-after -- We can not use spacing because of WP multi site kses rule. */
|
|
4208
|
+
/* stylelint-enable @stylistic/function-comma-space-after */
|
|
4153
4209
|
--wp--preset--font-size--normal: 16px;
|
|
4154
4210
|
--wp--preset--font-size--huge: 42px;
|
|
4155
4211
|
}
|
|
@@ -89,28 +89,6 @@
|
|
|
89
89
|
/**
|
|
90
90
|
* Reset the WP Admin page styles for Gutenberg-like pages.
|
|
91
91
|
*/
|
|
92
|
-
.wp-block-video.wp-block-video.is-selected .components-placeholder {
|
|
93
|
-
color: #1e1e1e;
|
|
94
|
-
background-color: #fff;
|
|
95
|
-
box-shadow: inset 0 0 0 1px #1e1e1e;
|
|
96
|
-
border: none;
|
|
97
|
-
border-radius: 2px;
|
|
98
|
-
}
|
|
99
|
-
.wp-block-video.wp-block-video.is-selected .components-placeholder > svg {
|
|
100
|
-
opacity: 0;
|
|
101
|
-
}
|
|
102
|
-
.wp-block-video.wp-block-video.is-selected .components-placeholder .components-placeholder__illustration {
|
|
103
|
-
display: none;
|
|
104
|
-
}
|
|
105
|
-
.wp-block-video.wp-block-video.is-selected .components-placeholder::before {
|
|
106
|
-
opacity: 0;
|
|
107
|
-
}
|
|
108
|
-
.wp-block-video.wp-block-video .components-placeholder__label,
|
|
109
|
-
.wp-block-video.wp-block-video .components-placeholder__instructions,
|
|
110
|
-
.wp-block-video.wp-block-video .components-button {
|
|
111
|
-
transition: none;
|
|
112
|
-
}
|
|
113
|
-
|
|
114
92
|
.wp-block[data-align=center] > .wp-block-video {
|
|
115
93
|
text-align: center;
|
|
116
94
|
}
|
|
@@ -156,16 +134,9 @@
|
|
|
156
134
|
|
|
157
135
|
.block-library-video-tracks-editor > .components-popover__content {
|
|
158
136
|
width: 360px;
|
|
159
|
-
padding: 0;
|
|
160
137
|
}
|
|
161
138
|
|
|
162
139
|
.block-library-video-tracks-editor__track-list .components-menu-group__label,
|
|
163
140
|
.block-library-video-tracks-editor__add-tracks-container .components-menu-group__label {
|
|
164
141
|
padding: 0;
|
|
165
|
-
}
|
|
166
|
-
|
|
167
|
-
.block-library-video-tracks-editor__single-track-editor,
|
|
168
|
-
.block-library-video-tracks-editor__track-list,
|
|
169
|
-
.block-library-video-tracks-editor__add-tracks-container {
|
|
170
|
-
padding: 12px;
|
|
171
142
|
}
|
|
@@ -89,28 +89,6 @@
|
|
|
89
89
|
/**
|
|
90
90
|
* Reset the WP Admin page styles for Gutenberg-like pages.
|
|
91
91
|
*/
|
|
92
|
-
.wp-block-video.wp-block-video.is-selected .components-placeholder {
|
|
93
|
-
color: #1e1e1e;
|
|
94
|
-
background-color: #fff;
|
|
95
|
-
box-shadow: inset 0 0 0 1px #1e1e1e;
|
|
96
|
-
border: none;
|
|
97
|
-
border-radius: 2px;
|
|
98
|
-
}
|
|
99
|
-
.wp-block-video.wp-block-video.is-selected .components-placeholder > svg {
|
|
100
|
-
opacity: 0;
|
|
101
|
-
}
|
|
102
|
-
.wp-block-video.wp-block-video.is-selected .components-placeholder .components-placeholder__illustration {
|
|
103
|
-
display: none;
|
|
104
|
-
}
|
|
105
|
-
.wp-block-video.wp-block-video.is-selected .components-placeholder::before {
|
|
106
|
-
opacity: 0;
|
|
107
|
-
}
|
|
108
|
-
.wp-block-video.wp-block-video .components-placeholder__label,
|
|
109
|
-
.wp-block-video.wp-block-video .components-placeholder__instructions,
|
|
110
|
-
.wp-block-video.wp-block-video .components-button {
|
|
111
|
-
transition: none;
|
|
112
|
-
}
|
|
113
|
-
|
|
114
92
|
.wp-block[data-align=center] > .wp-block-video {
|
|
115
93
|
text-align: center;
|
|
116
94
|
}
|
|
@@ -156,16 +134,9 @@
|
|
|
156
134
|
|
|
157
135
|
.block-library-video-tracks-editor > .components-popover__content {
|
|
158
136
|
width: 360px;
|
|
159
|
-
padding: 0;
|
|
160
137
|
}
|
|
161
138
|
|
|
162
139
|
.block-library-video-tracks-editor__track-list .components-menu-group__label,
|
|
163
140
|
.block-library-video-tracks-editor__add-tracks-container .components-menu-group__label {
|
|
164
141
|
padding: 0;
|
|
165
|
-
}
|
|
166
|
-
|
|
167
|
-
.block-library-video-tracks-editor__single-track-editor,
|
|
168
|
-
.block-library-video-tracks-editor__track-list,
|
|
169
|
-
.block-library-video-tracks-editor__add-tracks-container {
|
|
170
|
-
padding: 12px;
|
|
171
142
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wordpress/block-library",
|
|
3
|
-
"version": "9.
|
|
3
|
+
"version": "9.7.1-next.1f6eadc42.0",
|
|
4
4
|
"description": "Block library for the WordPress editor.",
|
|
5
5
|
"author": "The WordPress Contributors",
|
|
6
6
|
"license": "GPL-2.0-or-later",
|
|
@@ -30,41 +30,48 @@
|
|
|
30
30
|
"src/**/*.scss",
|
|
31
31
|
"{src,build,build-module}/*/init.js"
|
|
32
32
|
],
|
|
33
|
+
"wpScriptModuleExports": {
|
|
34
|
+
"./file/view": "./build-module/file/view.js",
|
|
35
|
+
"./image/view": "./build-module/image/view.js",
|
|
36
|
+
"./navigation/view": "./build-module/navigation/view.js",
|
|
37
|
+
"./query/view": "./build-module/query/view.js",
|
|
38
|
+
"./search/view": "./build-module/search/view.js"
|
|
39
|
+
},
|
|
33
40
|
"dependencies": {
|
|
34
41
|
"@babel/runtime": "^7.16.0",
|
|
35
|
-
"@wordpress/a11y": "^4.
|
|
36
|
-
"@wordpress/api-fetch": "^7.
|
|
37
|
-
"@wordpress/autop": "^4.
|
|
38
|
-
"@wordpress/blob": "^4.
|
|
39
|
-
"@wordpress/block-editor": "^14.1.0",
|
|
40
|
-
"@wordpress/blocks": "^13.
|
|
41
|
-
"@wordpress/components": "^28.
|
|
42
|
-
"@wordpress/compose": "^7.
|
|
43
|
-
"@wordpress/core-data": "^7.
|
|
44
|
-
"@wordpress/data": "^10.
|
|
45
|
-
"@wordpress/date": "^5.
|
|
46
|
-
"@wordpress/deprecated": "^4.
|
|
47
|
-
"@wordpress/dom": "^4.
|
|
48
|
-
"@wordpress/element": "^6.
|
|
49
|
-
"@wordpress/escape-html": "^3.
|
|
50
|
-
"@wordpress/hooks": "^4.
|
|
51
|
-
"@wordpress/html-entities": "^4.
|
|
52
|
-
"@wordpress/i18n": "^5.
|
|
53
|
-
"@wordpress/icons": "^10.
|
|
54
|
-
"@wordpress/interactivity": "^6.
|
|
55
|
-
"@wordpress/interactivity-router": "^2.
|
|
56
|
-
"@wordpress/keyboard-shortcuts": "^5.
|
|
57
|
-
"@wordpress/keycodes": "^4.
|
|
58
|
-
"@wordpress/notices": "^5.
|
|
59
|
-
"@wordpress/patterns": "^2.
|
|
60
|
-
"@wordpress/primitives": "^4.
|
|
61
|
-
"@wordpress/private-apis": "^1.
|
|
62
|
-
"@wordpress/reusable-blocks": "^5.
|
|
63
|
-
"@wordpress/rich-text": "^7.
|
|
64
|
-
"@wordpress/server-side-render": "^5.
|
|
65
|
-
"@wordpress/url": "^4.
|
|
66
|
-
"@wordpress/viewport": "^6.
|
|
67
|
-
"@wordpress/wordcount": "^4.
|
|
42
|
+
"@wordpress/a11y": "^4.7.1-next.1f6eadc42.0",
|
|
43
|
+
"@wordpress/api-fetch": "^7.7.1-next.1f6eadc42.0",
|
|
44
|
+
"@wordpress/autop": "^4.7.1-next.1f6eadc42.0",
|
|
45
|
+
"@wordpress/blob": "^4.7.1-next.1f6eadc42.0",
|
|
46
|
+
"@wordpress/block-editor": "^14.2.1-next.1f6eadc42.0",
|
|
47
|
+
"@wordpress/blocks": "^13.7.1-next.1f6eadc42.0",
|
|
48
|
+
"@wordpress/components": "^28.8.1-next.1f6eadc42.0",
|
|
49
|
+
"@wordpress/compose": "^7.8.1-next.1f6eadc42.0",
|
|
50
|
+
"@wordpress/core-data": "^7.7.1-next.1f6eadc42.0",
|
|
51
|
+
"@wordpress/data": "^10.7.1-next.1f6eadc42.0",
|
|
52
|
+
"@wordpress/date": "^5.7.1-next.1f6eadc42.0",
|
|
53
|
+
"@wordpress/deprecated": "^4.7.1-next.1f6eadc42.0",
|
|
54
|
+
"@wordpress/dom": "^4.7.1-next.1f6eadc42.0",
|
|
55
|
+
"@wordpress/element": "^6.7.1-next.1f6eadc42.0",
|
|
56
|
+
"@wordpress/escape-html": "^3.7.1-next.1f6eadc42.0",
|
|
57
|
+
"@wordpress/hooks": "^4.7.1-next.1f6eadc42.0",
|
|
58
|
+
"@wordpress/html-entities": "^4.7.1-next.1f6eadc42.0",
|
|
59
|
+
"@wordpress/i18n": "^5.7.1-next.1f6eadc42.0",
|
|
60
|
+
"@wordpress/icons": "^10.7.1-next.1f6eadc42.0",
|
|
61
|
+
"@wordpress/interactivity": "^6.7.2-next.1f6eadc42.0",
|
|
62
|
+
"@wordpress/interactivity-router": "^2.7.1-next.1f6eadc42.0",
|
|
63
|
+
"@wordpress/keyboard-shortcuts": "^5.7.1-next.1f6eadc42.0",
|
|
64
|
+
"@wordpress/keycodes": "^4.7.1-next.1f6eadc42.0",
|
|
65
|
+
"@wordpress/notices": "^5.7.1-next.1f6eadc42.0",
|
|
66
|
+
"@wordpress/patterns": "^2.7.1-next.1f6eadc42.0",
|
|
67
|
+
"@wordpress/primitives": "^4.7.1-next.1f6eadc42.0",
|
|
68
|
+
"@wordpress/private-apis": "^1.7.1-next.1f6eadc42.0",
|
|
69
|
+
"@wordpress/reusable-blocks": "^5.7.1-next.1f6eadc42.0",
|
|
70
|
+
"@wordpress/rich-text": "^7.7.1-next.1f6eadc42.0",
|
|
71
|
+
"@wordpress/server-side-render": "^5.7.1-next.1f6eadc42.0",
|
|
72
|
+
"@wordpress/url": "^4.7.1-next.1f6eadc42.0",
|
|
73
|
+
"@wordpress/viewport": "^6.7.1-next.1f6eadc42.0",
|
|
74
|
+
"@wordpress/wordcount": "^4.7.1-next.1f6eadc42.0",
|
|
68
75
|
"change-case": "^4.1.2",
|
|
69
76
|
"clsx": "^2.1.1",
|
|
70
77
|
"colord": "^2.7.0",
|
|
@@ -82,5 +89,5 @@
|
|
|
82
89
|
"publishConfig": {
|
|
83
90
|
"access": "public"
|
|
84
91
|
},
|
|
85
|
-
"gitHead": "
|
|
92
|
+
"gitHead": "960a22b909c9fdbc90e7435b7ba8947b9218837a"
|
|
86
93
|
}
|
package/src/archives/edit.js
CHANGED
|
@@ -53,7 +53,7 @@ export default function ArchivesEdit( { attributes, setAttributes } ) {
|
|
|
53
53
|
<SelectControl
|
|
54
54
|
__next40pxDefaultSize
|
|
55
55
|
__nextHasNoMarginBottom
|
|
56
|
-
label={ __( 'Group by
|
|
56
|
+
label={ __( 'Group by' ) }
|
|
57
57
|
options={ [
|
|
58
58
|
{ label: __( 'Year' ), value: 'yearly' },
|
|
59
59
|
{ label: __( 'Month' ), value: 'monthly' },
|
package/src/audio/edit.js
CHANGED
package/src/block/edit.js
CHANGED
|
@@ -29,6 +29,7 @@ import {
|
|
|
29
29
|
privateApis as blockEditorPrivateApis,
|
|
30
30
|
store as blockEditorStore,
|
|
31
31
|
BlockControls,
|
|
32
|
+
InnerBlocks,
|
|
32
33
|
} from '@wordpress/block-editor';
|
|
33
34
|
import { privateApis as patternsPrivateApis } from '@wordpress/patterns';
|
|
34
35
|
import { store as blocksStore } from '@wordpress/blocks';
|
|
@@ -193,19 +194,15 @@ function ReusableBlockEdit( {
|
|
|
193
194
|
hasPatternOverridesSource,
|
|
194
195
|
} = useSelect(
|
|
195
196
|
( select ) => {
|
|
196
|
-
const {
|
|
197
|
-
|
|
198
|
-
getSettings,
|
|
199
|
-
getBlockEditingMode: _getBlockEditingMode,
|
|
200
|
-
} = select( blockEditorStore );
|
|
197
|
+
const { getBlocks, getSettings, getBlockEditingMode } =
|
|
198
|
+
select( blockEditorStore );
|
|
201
199
|
const { getBlockBindingsSource } = unlock( select( blocksStore ) );
|
|
202
200
|
// For editing link to the site editor if the theme and user permissions support it.
|
|
203
201
|
return {
|
|
204
202
|
innerBlocks: getBlocks( patternClientId ),
|
|
205
|
-
getBlockEditingMode: _getBlockEditingMode,
|
|
206
203
|
onNavigateToEntityRecord:
|
|
207
204
|
getSettings().onNavigateToEntityRecord,
|
|
208
|
-
editingMode:
|
|
205
|
+
editingMode: getBlockEditingMode( patternClientId ),
|
|
209
206
|
hasPatternOverridesSource: !! getBlockBindingsSource(
|
|
210
207
|
'core/pattern-overrides'
|
|
211
208
|
),
|
|
@@ -247,14 +244,15 @@ function ReusableBlockEdit( {
|
|
|
247
244
|
),
|
|
248
245
|
} );
|
|
249
246
|
|
|
250
|
-
// Use `blocks` variable until `innerBlocks` is populated, which has the proper clientIds.
|
|
251
247
|
const innerBlocksProps = useInnerBlocksProps( blockProps, {
|
|
252
248
|
templateLock: 'all',
|
|
253
249
|
layout,
|
|
254
|
-
value:
|
|
250
|
+
value: blocks,
|
|
255
251
|
onInput: NOOP,
|
|
256
252
|
onChange: NOOP,
|
|
257
|
-
renderAppender: blocks?.length
|
|
253
|
+
renderAppender: blocks?.length
|
|
254
|
+
? undefined
|
|
255
|
+
: InnerBlocks.ButtonBlockAppender,
|
|
258
256
|
} );
|
|
259
257
|
|
|
260
258
|
const handleEditOriginal = () => {
|
|
@@ -292,7 +290,7 @@ function ReusableBlockEdit( {
|
|
|
292
290
|
|
|
293
291
|
return (
|
|
294
292
|
<>
|
|
295
|
-
{ hasResolved && (
|
|
293
|
+
{ hasResolved && ! isMissing && (
|
|
296
294
|
<ReusableBlockControl
|
|
297
295
|
recordId={ ref }
|
|
298
296
|
canOverrideBlocks={ canOverrideBlocks }
|
package/src/button/edit.js
CHANGED
package/src/button/editor.scss
CHANGED