@wordpress/block-library 9.6.1 → 9.7.1-next.5368f64a9.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/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/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/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 +75 -16
- package/build-style/style.css +75 -18
- 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/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
|
@@ -90,7 +90,7 @@
|
|
|
90
90
|
* Reset the WP Admin page styles for Gutenberg-like pages.
|
|
91
91
|
*/
|
|
92
92
|
.wp-block-buttons {
|
|
93
|
-
/* stylelint-disable indentation -- Disable the stylelint rule, otherwise this selector is ugly! */
|
|
93
|
+
/* stylelint-disable @stylistic/indentation -- Disable the stylelint rule, otherwise this selector is ugly! */
|
|
94
94
|
}
|
|
95
95
|
.wp-block-buttons > .wp-block {
|
|
96
96
|
margin: 0;
|
|
@@ -112,7 +112,7 @@
|
|
|
112
112
|
.is-content-justification-right,
|
|
113
113
|
.is-content-justification-left,
|
|
114
114
|
.is-content-justification-center) .wp-block[data-align=center] {
|
|
115
|
-
/* stylelint-enable indentation */
|
|
115
|
+
/* stylelint-enable @stylistic/indentation */
|
|
116
116
|
margin-right: auto;
|
|
117
117
|
margin-left: auto;
|
|
118
118
|
margin-top: 0;
|
|
@@ -124,9 +124,6 @@
|
|
|
124
124
|
.is-content-justification-center) .wp-block[data-align=center] .wp-block-button {
|
|
125
125
|
margin-bottom: 0;
|
|
126
126
|
}
|
|
127
|
-
.editor-styles-wrapper .wp-block-buttons.has-custom-font-size .wp-block-button__link {
|
|
128
|
-
font-size: inherit;
|
|
129
|
-
}
|
|
130
127
|
|
|
131
128
|
.wp-block[data-align=center] > .wp-block-buttons {
|
|
132
129
|
align-items: center;
|
|
@@ -90,7 +90,7 @@
|
|
|
90
90
|
* Reset the WP Admin page styles for Gutenberg-like pages.
|
|
91
91
|
*/
|
|
92
92
|
.wp-block-buttons {
|
|
93
|
-
/* stylelint-disable indentation -- Disable the stylelint rule, otherwise this selector is ugly! */
|
|
93
|
+
/* stylelint-disable @stylistic/indentation -- Disable the stylelint rule, otherwise this selector is ugly! */
|
|
94
94
|
}
|
|
95
95
|
.wp-block-buttons > .wp-block {
|
|
96
96
|
margin: 0;
|
|
@@ -112,7 +112,7 @@
|
|
|
112
112
|
.is-content-justification-right,
|
|
113
113
|
.is-content-justification-left,
|
|
114
114
|
.is-content-justification-center) .wp-block[data-align=center] {
|
|
115
|
-
/* stylelint-enable indentation */
|
|
115
|
+
/* stylelint-enable @stylistic/indentation */
|
|
116
116
|
margin-left: auto;
|
|
117
117
|
margin-right: auto;
|
|
118
118
|
margin-top: 0;
|
|
@@ -124,9 +124,6 @@
|
|
|
124
124
|
.is-content-justification-center) .wp-block[data-align=center] .wp-block-button {
|
|
125
125
|
margin-bottom: 0;
|
|
126
126
|
}
|
|
127
|
-
.editor-styles-wrapper .wp-block-buttons.has-custom-font-size .wp-block-button__link {
|
|
128
|
-
font-size: inherit;
|
|
129
|
-
}
|
|
130
127
|
|
|
131
128
|
.wp-block[data-align=center] > .wp-block-buttons {
|
|
132
129
|
align-items: center;
|
|
@@ -90,7 +90,7 @@
|
|
|
90
90
|
* Reset the WP Admin page styles for Gutenberg-like pages.
|
|
91
91
|
*/
|
|
92
92
|
.wp-block-buttons {
|
|
93
|
-
/* stylelint-disable indentation -- Disable the stylelint rule, otherwise this selector is ugly! */
|
|
93
|
+
/* stylelint-disable @stylistic/indentation -- Disable the stylelint rule, otherwise this selector is ugly! */
|
|
94
94
|
}
|
|
95
95
|
.wp-block-buttons.is-vertical {
|
|
96
96
|
flex-direction: column;
|
|
@@ -130,7 +130,7 @@
|
|
|
130
130
|
.is-content-justification-right,
|
|
131
131
|
.is-content-justification-left,
|
|
132
132
|
.is-content-justification-center) .wp-block-button.aligncenter {
|
|
133
|
-
/* stylelint-enable indentation */
|
|
133
|
+
/* stylelint-enable @stylistic/indentation */
|
|
134
134
|
margin-right: auto;
|
|
135
135
|
margin-left: auto;
|
|
136
136
|
width: 100%;
|
|
@@ -90,7 +90,7 @@
|
|
|
90
90
|
* Reset the WP Admin page styles for Gutenberg-like pages.
|
|
91
91
|
*/
|
|
92
92
|
.wp-block-buttons {
|
|
93
|
-
/* stylelint-disable indentation -- Disable the stylelint rule, otherwise this selector is ugly! */
|
|
93
|
+
/* stylelint-disable @stylistic/indentation -- Disable the stylelint rule, otherwise this selector is ugly! */
|
|
94
94
|
}
|
|
95
95
|
.wp-block-buttons.is-vertical {
|
|
96
96
|
flex-direction: column;
|
|
@@ -130,7 +130,7 @@
|
|
|
130
130
|
.is-content-justification-right,
|
|
131
131
|
.is-content-justification-left,
|
|
132
132
|
.is-content-justification-center) .wp-block-button.aligncenter {
|
|
133
|
-
/* stylelint-enable indentation */
|
|
133
|
+
/* stylelint-enable @stylistic/indentation */
|
|
134
134
|
margin-left: auto;
|
|
135
135
|
margin-right: auto;
|
|
136
136
|
width: 100%;
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Converts a hex value into the rgb equivalent.
|
|
3
|
+
*
|
|
4
|
+
* @param {string} hex - the hexadecimal value to convert
|
|
5
|
+
* @return {string} comma separated rgb values
|
|
6
|
+
*/
|
|
7
|
+
/**
|
|
8
|
+
* Colors
|
|
9
|
+
*/
|
|
10
|
+
/**
|
|
11
|
+
* Breakpoints & Media Queries
|
|
12
|
+
*/
|
|
13
|
+
/**
|
|
14
|
+
* SCSS Variables.
|
|
15
|
+
*
|
|
16
|
+
* Please use variables from this sheet to ensure consistency across the UI.
|
|
17
|
+
* Don't add to this sheet unless you're pretty sure the value will be reused in many places.
|
|
18
|
+
* For example, don't add rules to this sheet that affect block visuals. It's purely for UI.
|
|
19
|
+
*/
|
|
20
|
+
/**
|
|
21
|
+
* Converts a hex value into the rgb equivalent.
|
|
22
|
+
*
|
|
23
|
+
* @param {string} hex - the hexadecimal value to convert
|
|
24
|
+
* @return {string} comma separated rgb values
|
|
25
|
+
*/
|
|
26
|
+
/**
|
|
27
|
+
* Colors
|
|
28
|
+
*/
|
|
29
|
+
/**
|
|
30
|
+
* Fonts & basic variables.
|
|
31
|
+
*/
|
|
32
|
+
/**
|
|
33
|
+
* Grid System.
|
|
34
|
+
* https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
|
|
35
|
+
*/
|
|
36
|
+
/**
|
|
37
|
+
* Radius scale.
|
|
38
|
+
*/
|
|
39
|
+
/**
|
|
40
|
+
* Elevation scale.
|
|
41
|
+
*/
|
|
42
|
+
/**
|
|
43
|
+
* Dimensions.
|
|
44
|
+
*/
|
|
45
|
+
/**
|
|
46
|
+
* Editor widths.
|
|
47
|
+
*/
|
|
48
|
+
/**
|
|
49
|
+
* Block & Editor UI.
|
|
50
|
+
*/
|
|
51
|
+
/**
|
|
52
|
+
* Block paddings.
|
|
53
|
+
*/
|
|
54
|
+
/**
|
|
55
|
+
* React Native specific.
|
|
56
|
+
* These variables do not appear to be used anywhere else.
|
|
57
|
+
*/
|
|
58
|
+
/**
|
|
59
|
+
* Converts a hex value into the rgb equivalent.
|
|
60
|
+
*
|
|
61
|
+
* @param {string} hex - the hexadecimal value to convert
|
|
62
|
+
* @return {string} comma separated rgb values
|
|
63
|
+
*/
|
|
64
|
+
/**
|
|
65
|
+
* Long content fade mixin
|
|
66
|
+
*
|
|
67
|
+
* Creates a fading overlay to signify that the content is longer
|
|
68
|
+
* than the space allows.
|
|
69
|
+
*/
|
|
70
|
+
/**
|
|
71
|
+
* Breakpoint mixins
|
|
72
|
+
*/
|
|
73
|
+
/**
|
|
74
|
+
* Focus styles.
|
|
75
|
+
*/
|
|
76
|
+
/**
|
|
77
|
+
* Applies editor left position to the selector passed as argument
|
|
78
|
+
*/
|
|
79
|
+
/**
|
|
80
|
+
* Styles that are reused verbatim in a few places
|
|
81
|
+
*/
|
|
82
|
+
/**
|
|
83
|
+
* Allows users to opt-out of animations via OS-level preferences.
|
|
84
|
+
*/
|
|
85
|
+
/**
|
|
86
|
+
* Reset default styles for JavaScript UI based pages.
|
|
87
|
+
* This is a WP-admin agnostic reset
|
|
88
|
+
*/
|
|
89
|
+
/**
|
|
90
|
+
* Reset the WP Admin page styles for Gutenberg-like pages.
|
|
91
|
+
*/
|
|
92
|
+
.wp-block-comment-edit-link {
|
|
93
|
+
box-sizing: border-box;
|
|
94
|
+
}
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Converts a hex value into the rgb equivalent.
|
|
3
|
+
*
|
|
4
|
+
* @param {string} hex - the hexadecimal value to convert
|
|
5
|
+
* @return {string} comma separated rgb values
|
|
6
|
+
*/
|
|
7
|
+
/**
|
|
8
|
+
* Colors
|
|
9
|
+
*/
|
|
10
|
+
/**
|
|
11
|
+
* Breakpoints & Media Queries
|
|
12
|
+
*/
|
|
13
|
+
/**
|
|
14
|
+
* SCSS Variables.
|
|
15
|
+
*
|
|
16
|
+
* Please use variables from this sheet to ensure consistency across the UI.
|
|
17
|
+
* Don't add to this sheet unless you're pretty sure the value will be reused in many places.
|
|
18
|
+
* For example, don't add rules to this sheet that affect block visuals. It's purely for UI.
|
|
19
|
+
*/
|
|
20
|
+
/**
|
|
21
|
+
* Converts a hex value into the rgb equivalent.
|
|
22
|
+
*
|
|
23
|
+
* @param {string} hex - the hexadecimal value to convert
|
|
24
|
+
* @return {string} comma separated rgb values
|
|
25
|
+
*/
|
|
26
|
+
/**
|
|
27
|
+
* Colors
|
|
28
|
+
*/
|
|
29
|
+
/**
|
|
30
|
+
* Fonts & basic variables.
|
|
31
|
+
*/
|
|
32
|
+
/**
|
|
33
|
+
* Grid System.
|
|
34
|
+
* https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
|
|
35
|
+
*/
|
|
36
|
+
/**
|
|
37
|
+
* Radius scale.
|
|
38
|
+
*/
|
|
39
|
+
/**
|
|
40
|
+
* Elevation scale.
|
|
41
|
+
*/
|
|
42
|
+
/**
|
|
43
|
+
* Dimensions.
|
|
44
|
+
*/
|
|
45
|
+
/**
|
|
46
|
+
* Editor widths.
|
|
47
|
+
*/
|
|
48
|
+
/**
|
|
49
|
+
* Block & Editor UI.
|
|
50
|
+
*/
|
|
51
|
+
/**
|
|
52
|
+
* Block paddings.
|
|
53
|
+
*/
|
|
54
|
+
/**
|
|
55
|
+
* React Native specific.
|
|
56
|
+
* These variables do not appear to be used anywhere else.
|
|
57
|
+
*/
|
|
58
|
+
/**
|
|
59
|
+
* Converts a hex value into the rgb equivalent.
|
|
60
|
+
*
|
|
61
|
+
* @param {string} hex - the hexadecimal value to convert
|
|
62
|
+
* @return {string} comma separated rgb values
|
|
63
|
+
*/
|
|
64
|
+
/**
|
|
65
|
+
* Long content fade mixin
|
|
66
|
+
*
|
|
67
|
+
* Creates a fading overlay to signify that the content is longer
|
|
68
|
+
* than the space allows.
|
|
69
|
+
*/
|
|
70
|
+
/**
|
|
71
|
+
* Breakpoint mixins
|
|
72
|
+
*/
|
|
73
|
+
/**
|
|
74
|
+
* Focus styles.
|
|
75
|
+
*/
|
|
76
|
+
/**
|
|
77
|
+
* Applies editor left position to the selector passed as argument
|
|
78
|
+
*/
|
|
79
|
+
/**
|
|
80
|
+
* Styles that are reused verbatim in a few places
|
|
81
|
+
*/
|
|
82
|
+
/**
|
|
83
|
+
* Allows users to opt-out of animations via OS-level preferences.
|
|
84
|
+
*/
|
|
85
|
+
/**
|
|
86
|
+
* Reset default styles for JavaScript UI based pages.
|
|
87
|
+
* This is a WP-admin agnostic reset
|
|
88
|
+
*/
|
|
89
|
+
/**
|
|
90
|
+
* Reset the WP Admin page styles for Gutenberg-like pages.
|
|
91
|
+
*/
|
|
92
|
+
.wp-block-comment-edit-link {
|
|
93
|
+
box-sizing: border-box;
|
|
94
|
+
}
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Converts a hex value into the rgb equivalent.
|
|
3
|
+
*
|
|
4
|
+
* @param {string} hex - the hexadecimal value to convert
|
|
5
|
+
* @return {string} comma separated rgb values
|
|
6
|
+
*/
|
|
7
|
+
/**
|
|
8
|
+
* Colors
|
|
9
|
+
*/
|
|
10
|
+
/**
|
|
11
|
+
* Breakpoints & Media Queries
|
|
12
|
+
*/
|
|
13
|
+
/**
|
|
14
|
+
* SCSS Variables.
|
|
15
|
+
*
|
|
16
|
+
* Please use variables from this sheet to ensure consistency across the UI.
|
|
17
|
+
* Don't add to this sheet unless you're pretty sure the value will be reused in many places.
|
|
18
|
+
* For example, don't add rules to this sheet that affect block visuals. It's purely for UI.
|
|
19
|
+
*/
|
|
20
|
+
/**
|
|
21
|
+
* Converts a hex value into the rgb equivalent.
|
|
22
|
+
*
|
|
23
|
+
* @param {string} hex - the hexadecimal value to convert
|
|
24
|
+
* @return {string} comma separated rgb values
|
|
25
|
+
*/
|
|
26
|
+
/**
|
|
27
|
+
* Colors
|
|
28
|
+
*/
|
|
29
|
+
/**
|
|
30
|
+
* Fonts & basic variables.
|
|
31
|
+
*/
|
|
32
|
+
/**
|
|
33
|
+
* Grid System.
|
|
34
|
+
* https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
|
|
35
|
+
*/
|
|
36
|
+
/**
|
|
37
|
+
* Radius scale.
|
|
38
|
+
*/
|
|
39
|
+
/**
|
|
40
|
+
* Elevation scale.
|
|
41
|
+
*/
|
|
42
|
+
/**
|
|
43
|
+
* Dimensions.
|
|
44
|
+
*/
|
|
45
|
+
/**
|
|
46
|
+
* Editor widths.
|
|
47
|
+
*/
|
|
48
|
+
/**
|
|
49
|
+
* Block & Editor UI.
|
|
50
|
+
*/
|
|
51
|
+
/**
|
|
52
|
+
* Block paddings.
|
|
53
|
+
*/
|
|
54
|
+
/**
|
|
55
|
+
* React Native specific.
|
|
56
|
+
* These variables do not appear to be used anywhere else.
|
|
57
|
+
*/
|
|
58
|
+
/**
|
|
59
|
+
* Converts a hex value into the rgb equivalent.
|
|
60
|
+
*
|
|
61
|
+
* @param {string} hex - the hexadecimal value to convert
|
|
62
|
+
* @return {string} comma separated rgb values
|
|
63
|
+
*/
|
|
64
|
+
/**
|
|
65
|
+
* Long content fade mixin
|
|
66
|
+
*
|
|
67
|
+
* Creates a fading overlay to signify that the content is longer
|
|
68
|
+
* than the space allows.
|
|
69
|
+
*/
|
|
70
|
+
/**
|
|
71
|
+
* Breakpoint mixins
|
|
72
|
+
*/
|
|
73
|
+
/**
|
|
74
|
+
* Focus styles.
|
|
75
|
+
*/
|
|
76
|
+
/**
|
|
77
|
+
* Applies editor left position to the selector passed as argument
|
|
78
|
+
*/
|
|
79
|
+
/**
|
|
80
|
+
* Styles that are reused verbatim in a few places
|
|
81
|
+
*/
|
|
82
|
+
/**
|
|
83
|
+
* Allows users to opt-out of animations via OS-level preferences.
|
|
84
|
+
*/
|
|
85
|
+
/**
|
|
86
|
+
* Reset default styles for JavaScript UI based pages.
|
|
87
|
+
* This is a WP-admin agnostic reset
|
|
88
|
+
*/
|
|
89
|
+
/**
|
|
90
|
+
* Reset the WP Admin page styles for Gutenberg-like pages.
|
|
91
|
+
*/
|
|
92
|
+
.wp-block-comment-reply-link {
|
|
93
|
+
box-sizing: border-box;
|
|
94
|
+
}
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Converts a hex value into the rgb equivalent.
|
|
3
|
+
*
|
|
4
|
+
* @param {string} hex - the hexadecimal value to convert
|
|
5
|
+
* @return {string} comma separated rgb values
|
|
6
|
+
*/
|
|
7
|
+
/**
|
|
8
|
+
* Colors
|
|
9
|
+
*/
|
|
10
|
+
/**
|
|
11
|
+
* Breakpoints & Media Queries
|
|
12
|
+
*/
|
|
13
|
+
/**
|
|
14
|
+
* SCSS Variables.
|
|
15
|
+
*
|
|
16
|
+
* Please use variables from this sheet to ensure consistency across the UI.
|
|
17
|
+
* Don't add to this sheet unless you're pretty sure the value will be reused in many places.
|
|
18
|
+
* For example, don't add rules to this sheet that affect block visuals. It's purely for UI.
|
|
19
|
+
*/
|
|
20
|
+
/**
|
|
21
|
+
* Converts a hex value into the rgb equivalent.
|
|
22
|
+
*
|
|
23
|
+
* @param {string} hex - the hexadecimal value to convert
|
|
24
|
+
* @return {string} comma separated rgb values
|
|
25
|
+
*/
|
|
26
|
+
/**
|
|
27
|
+
* Colors
|
|
28
|
+
*/
|
|
29
|
+
/**
|
|
30
|
+
* Fonts & basic variables.
|
|
31
|
+
*/
|
|
32
|
+
/**
|
|
33
|
+
* Grid System.
|
|
34
|
+
* https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
|
|
35
|
+
*/
|
|
36
|
+
/**
|
|
37
|
+
* Radius scale.
|
|
38
|
+
*/
|
|
39
|
+
/**
|
|
40
|
+
* Elevation scale.
|
|
41
|
+
*/
|
|
42
|
+
/**
|
|
43
|
+
* Dimensions.
|
|
44
|
+
*/
|
|
45
|
+
/**
|
|
46
|
+
* Editor widths.
|
|
47
|
+
*/
|
|
48
|
+
/**
|
|
49
|
+
* Block & Editor UI.
|
|
50
|
+
*/
|
|
51
|
+
/**
|
|
52
|
+
* Block paddings.
|
|
53
|
+
*/
|
|
54
|
+
/**
|
|
55
|
+
* React Native specific.
|
|
56
|
+
* These variables do not appear to be used anywhere else.
|
|
57
|
+
*/
|
|
58
|
+
/**
|
|
59
|
+
* Converts a hex value into the rgb equivalent.
|
|
60
|
+
*
|
|
61
|
+
* @param {string} hex - the hexadecimal value to convert
|
|
62
|
+
* @return {string} comma separated rgb values
|
|
63
|
+
*/
|
|
64
|
+
/**
|
|
65
|
+
* Long content fade mixin
|
|
66
|
+
*
|
|
67
|
+
* Creates a fading overlay to signify that the content is longer
|
|
68
|
+
* than the space allows.
|
|
69
|
+
*/
|
|
70
|
+
/**
|
|
71
|
+
* Breakpoint mixins
|
|
72
|
+
*/
|
|
73
|
+
/**
|
|
74
|
+
* Focus styles.
|
|
75
|
+
*/
|
|
76
|
+
/**
|
|
77
|
+
* Applies editor left position to the selector passed as argument
|
|
78
|
+
*/
|
|
79
|
+
/**
|
|
80
|
+
* Styles that are reused verbatim in a few places
|
|
81
|
+
*/
|
|
82
|
+
/**
|
|
83
|
+
* Allows users to opt-out of animations via OS-level preferences.
|
|
84
|
+
*/
|
|
85
|
+
/**
|
|
86
|
+
* Reset default styles for JavaScript UI based pages.
|
|
87
|
+
* This is a WP-admin agnostic reset
|
|
88
|
+
*/
|
|
89
|
+
/**
|
|
90
|
+
* Reset the WP Admin page styles for Gutenberg-like pages.
|
|
91
|
+
*/
|
|
92
|
+
.wp-block-comment-reply-link {
|
|
93
|
+
box-sizing: border-box;
|
|
94
|
+
}
|
|
@@ -93,10 +93,10 @@
|
|
|
93
93
|
justify-content: center;
|
|
94
94
|
}
|
|
95
95
|
|
|
96
|
-
.editor-styles-wrapper .wp-block-comments-pagination {
|
|
96
|
+
:where(.editor-styles-wrapper) .wp-block-comments-pagination {
|
|
97
97
|
max-width: 100%;
|
|
98
98
|
}
|
|
99
|
-
.editor-styles-wrapper .wp-block-comments-pagination.block-editor-block-list__layout {
|
|
99
|
+
:where(.editor-styles-wrapper) .wp-block-comments-pagination.block-editor-block-list__layout {
|
|
100
100
|
margin: 0;
|
|
101
101
|
}
|
|
102
102
|
|
|
@@ -93,10 +93,10 @@
|
|
|
93
93
|
justify-content: center;
|
|
94
94
|
}
|
|
95
95
|
|
|
96
|
-
.editor-styles-wrapper .wp-block-comments-pagination {
|
|
96
|
+
:where(.editor-styles-wrapper) .wp-block-comments-pagination {
|
|
97
97
|
max-width: 100%;
|
|
98
98
|
}
|
|
99
|
-
.editor-styles-wrapper .wp-block-comments-pagination.block-editor-block-list__layout {
|
|
99
|
+
:where(.editor-styles-wrapper) .wp-block-comments-pagination.block-editor-block-list__layout {
|
|
100
100
|
margin: 0;
|
|
101
101
|
}
|
|
102
102
|
|
|
@@ -115,8 +115,8 @@
|
|
|
115
115
|
}
|
|
116
116
|
|
|
117
117
|
:root {
|
|
118
|
-
/* stylelint-disable function-comma-space-after -- We can not use spacing because of WP multi site kses rule. */
|
|
119
|
-
/* stylelint-enable function-comma-space-after */
|
|
118
|
+
/* stylelint-disable @stylistic/function-comma-space-after -- We can not use spacing because of WP multi site kses rule. */
|
|
119
|
+
/* stylelint-enable @stylistic/function-comma-space-after */
|
|
120
120
|
--wp--preset--font-size--normal: 16px;
|
|
121
121
|
--wp--preset--font-size--huge: 42px;
|
|
122
122
|
}
|
package/build-style/common.css
CHANGED
|
@@ -115,8 +115,8 @@
|
|
|
115
115
|
}
|
|
116
116
|
|
|
117
117
|
:root {
|
|
118
|
-
/* stylelint-disable function-comma-space-after -- We can not use spacing because of WP multi site kses rule. */
|
|
119
|
-
/* stylelint-enable function-comma-space-after */
|
|
118
|
+
/* stylelint-disable @stylistic/function-comma-space-after -- We can not use spacing because of WP multi site kses rule. */
|
|
119
|
+
/* stylelint-enable @stylistic/function-comma-space-after */
|
|
120
120
|
--wp--preset--font-size--normal: 16px;
|
|
121
121
|
--wp--preset--font-size--huge: 42px;
|
|
122
122
|
}
|
|
@@ -89,12 +89,6 @@
|
|
|
89
89
|
/**
|
|
90
90
|
* Reset the WP Admin page styles for Gutenberg-like pages.
|
|
91
91
|
*/
|
|
92
|
-
.wp-block-cover {
|
|
93
|
-
/* Extra specificity needed because the reset.css applied in the editor context is overriding this rule. */
|
|
94
|
-
}
|
|
95
|
-
.editor-styles-wrapper .wp-block-cover {
|
|
96
|
-
box-sizing: border-box;
|
|
97
|
-
}
|
|
98
92
|
.wp-block-cover.is-placeholder {
|
|
99
93
|
padding: 0 !important;
|
|
100
94
|
display: flex;
|
|
@@ -89,12 +89,6 @@
|
|
|
89
89
|
/**
|
|
90
90
|
* Reset the WP Admin page styles for Gutenberg-like pages.
|
|
91
91
|
*/
|
|
92
|
-
.wp-block-cover {
|
|
93
|
-
/* Extra specificity needed because the reset.css applied in the editor context is overriding this rule. */
|
|
94
|
-
}
|
|
95
|
-
.editor-styles-wrapper .wp-block-cover {
|
|
96
|
-
box-sizing: border-box;
|
|
97
|
-
}
|
|
98
92
|
.wp-block-cover.is-placeholder {
|
|
99
93
|
padding: 0 !important;
|
|
100
94
|
display: flex;
|