@wordpress/block-library 11.0.0 → 11.0.2-next.v.202609171837.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 +18 -0
- package/README.md +7 -7
- package/build/archives/edit.cjs.map +3 -3
- package/build/audio/edit.cjs.map +3 -3
- package/build/avatar/hooks.cjs.map +2 -2
- package/build/button/edit.cjs.map +2 -2
- package/build/categories/edit.cjs.map +3 -3
- package/build/code/block.json +1 -0
- package/build/code/save.cjs.map +2 -2
- package/build/comment-template/hooks.cjs.map +2 -2
- package/build/cover/edit/index.cjs.map +2 -2
- package/build/cover/edit/inspector-controls.cjs.map +2 -2
- package/build/cover/transforms.cjs.map +2 -2
- package/build/details/block.json +1 -0
- package/build/details/index.cjs.map +2 -2
- package/build/embed/embed-controls.cjs.map +2 -2
- package/build/file/deprecated.cjs.map +2 -2
- package/build/file/edit.cjs.map +2 -2
- package/build/file/inspector.cjs.map +3 -3
- package/build/file/save.cjs.map +2 -2
- package/build/footnotes/block.json +1 -0
- package/build/footnotes/edit.cjs.map +2 -2
- package/build/gallery/dynamic-gallery.cjs.map +3 -3
- package/build/gallery/edit.cjs +64 -37
- package/build/gallery/edit.cjs.map +3 -3
- package/build/gallery/{flex-styles.cjs → gallery-styles.cjs} +31 -32
- package/build/gallery/gallery-styles.cjs.map +7 -0
- package/build/gallery/responsive-styles.cjs +27 -5
- package/build/gallery/responsive-styles.cjs.map +2 -2
- package/build/heading/block.json +2 -0
- package/build/heading/index.cjs.map +2 -2
- package/build/html/modal.cjs +3 -6
- package/build/html/modal.cjs.map +2 -2
- package/build/image/edit.cjs.map +2 -2
- package/build/image/image.cjs.map +2 -2
- package/build/index.cjs.map +2 -2
- package/build/latest-comments/edit.cjs.map +3 -3
- package/build/latest-posts/edit.cjs.map +2 -2
- package/build/list/ordered-list-settings.cjs.map +3 -3
- package/build/list-item/hooks/use-enter.cjs.map +2 -2
- package/build/math/block.json +2 -0
- package/build/math/deprecated.cjs +29 -12
- package/build/math/deprecated.cjs.map +2 -2
- package/build/math/edit.cjs +67 -46
- package/build/math/edit.cjs.map +2 -2
- package/build/math/save.cjs +2 -2
- package/build/math/save.cjs.map +2 -2
- package/build/media-text/constants.cjs +3 -0
- package/build/media-text/constants.cjs.map +2 -2
- package/build/media-text/deprecated.cjs.map +2 -2
- package/build/media-text/edit.cjs +40 -0
- package/build/media-text/edit.cjs.map +3 -3
- package/build/media-text/image-fill.cjs.map +2 -2
- package/build/media-text/media-container.cjs +3 -3
- package/build/media-text/media-container.cjs.map +2 -2
- package/build/navigation/edit/index.cjs.map +2 -2
- package/build/navigation/edit/menu-inspector-controls.cjs.map +2 -2
- package/build/navigation/edit/overlay-template-part-selector.cjs.map +3 -3
- package/build/navigation/edit/responsive-wrapper.cjs.map +2 -2
- package/build/navigation/edit/use-generate-default-navigation-title.cjs.map +2 -2
- package/build/navigation/view.cjs +2 -2
- package/build/navigation/view.cjs.map +2 -2
- package/build/navigation-link/edit.cjs.map +2 -2
- package/build/navigation-link/shared/invalid-draft-display.cjs.map +2 -2
- package/build/navigation-submenu/edit.cjs.map +2 -2
- package/build/paragraph/block.json +1 -0
- package/build/paragraph/edit.cjs.map +2 -2
- package/build/paragraph/index.cjs +6 -0
- package/build/paragraph/index.cjs.map +3 -3
- package/build/playlist/edit.cjs +2 -1
- package/build/playlist/edit.cjs.map +3 -3
- package/build/post-author/edit.cjs.map +3 -3
- package/build/post-author-name/edit.cjs.map +2 -2
- package/build/post-content/block.json +1 -0
- package/build/post-date/edit.cjs.map +2 -2
- package/build/post-excerpt/block.json +1 -0
- package/build/post-excerpt/edit.cjs.map +2 -2
- package/build/post-featured-image/edit.cjs.map +2 -2
- package/build/post-navigation-link/edit.cjs.map +3 -3
- package/build/post-time-to-read/edit.cjs.map +2 -2
- package/build/pullquote/deprecated.cjs.map +2 -2
- package/build/query/deprecated.cjs.map +2 -2
- package/build/query/edit/inspector-controls/index.cjs.map +3 -3
- package/build/query/edit/inspector-controls/order-control.cjs.map +3 -3
- package/build/query/edit/inspector-controls/sticky-control.cjs.map +3 -3
- package/build/query/view.cjs.map +2 -2
- package/build/query-title/use-archive-label.cjs.map +2 -2
- package/build/quote/deprecated.cjs.map +2 -2
- package/build/quote/transforms.cjs.map +2 -2
- package/build/search/edit.cjs.map +3 -3
- package/build/separator/edit.cjs.map +3 -3
- package/build/social-links/edit.cjs.map +3 -3
- package/build/table/state.cjs.map +2 -2
- package/build/table-of-contents/edit.cjs.map +3 -3
- package/build/table-of-contents/utils.cjs.map +2 -2
- package/build/tabs/use-tab-actions.cjs.map +2 -2
- package/build/tag-cloud/edit.cjs.map +3 -3
- package/build/template-part/edit/advanced-controls.cjs.map +3 -3
- package/build/template-part/edit/import-controls.cjs.map +3 -3
- package/build/template-part/edit/index.cjs.map +2 -2
- package/build/template-part/edit/inner-blocks.cjs.map +2 -2
- package/build/template-part/edit/placeholder.cjs.map +2 -2
- package/build/term-count/use-term-count.cjs.map +2 -2
- package/build/term-description/use-term-description.cjs.map +2 -2
- package/build/term-name/use-term-name.cjs.map +2 -2
- package/build/terms-query/edit/inspector-controls/index.cjs.map +2 -2
- package/build/terms-query/edit/inspector-controls/inherit-control.cjs.map +2 -2
- package/build/terms-query/edit/inspector-controls/order-control.cjs.map +3 -3
- package/build/terms-query/edit/inspector-controls/taxonomy-control.cjs.map +3 -3
- package/build/utils/hooks.cjs.map +2 -2
- package/build/utils/media-control.cjs +5 -1
- package/build/utils/media-control.cjs.map +2 -2
- package/build/utils/poster-image.cjs.map +2 -2
- package/build/verse/block.json +1 -0
- package/build/video/edit-common-settings.cjs.map +3 -3
- package/build/video/tracks-editor.cjs.map +3 -3
- package/build-module/archives/edit.mjs +2 -2
- package/build-module/archives/edit.mjs.map +2 -2
- package/build-module/audio/edit.mjs +2 -2
- package/build-module/audio/edit.mjs.map +2 -2
- package/build-module/avatar/hooks.mjs.map +2 -2
- package/build-module/button/edit.mjs.map +2 -2
- package/build-module/categories/edit.mjs +2 -2
- package/build-module/categories/edit.mjs.map +2 -2
- package/build-module/code/block.json +1 -0
- package/build-module/code/save.mjs.map +2 -2
- package/build-module/comment-template/hooks.mjs.map +2 -2
- package/build-module/cover/edit/index.mjs.map +2 -2
- package/build-module/cover/edit/inspector-controls.mjs.map +2 -2
- package/build-module/cover/transforms.mjs.map +2 -2
- package/build-module/details/block.json +1 -0
- package/build-module/details/index.mjs.map +2 -2
- package/build-module/embed/embed-controls.mjs.map +2 -2
- package/build-module/file/deprecated.mjs.map +2 -2
- package/build-module/file/edit.mjs.map +2 -2
- package/build-module/file/inspector.mjs +2 -2
- package/build-module/file/inspector.mjs.map +2 -2
- package/build-module/file/save.mjs.map +2 -2
- package/build-module/footnotes/block.json +1 -0
- package/build-module/footnotes/edit.mjs.map +2 -2
- package/build-module/gallery/dynamic-gallery.mjs +2 -2
- package/build-module/gallery/dynamic-gallery.mjs.map +2 -2
- package/build-module/gallery/edit.mjs +67 -40
- package/build-module/gallery/edit.mjs.map +2 -2
- package/build-module/gallery/{flex-styles.mjs → gallery-styles.mjs} +29 -30
- package/build-module/gallery/gallery-styles.mjs.map +7 -0
- package/build-module/gallery/responsive-styles.mjs +25 -4
- package/build-module/gallery/responsive-styles.mjs.map +2 -2
- package/build-module/heading/block.json +2 -0
- package/build-module/heading/index.mjs.map +2 -2
- package/build-module/html/modal.mjs +3 -6
- package/build-module/html/modal.mjs.map +2 -2
- package/build-module/image/edit.mjs.map +2 -2
- package/build-module/image/image.mjs.map +2 -2
- package/build-module/index.mjs.map +2 -2
- package/build-module/latest-comments/edit.mjs +2 -2
- package/build-module/latest-comments/edit.mjs.map +2 -2
- package/build-module/latest-posts/edit.mjs.map +2 -2
- package/build-module/list/ordered-list-settings.mjs +2 -2
- package/build-module/list/ordered-list-settings.mjs.map +2 -2
- package/build-module/list-item/hooks/use-enter.mjs.map +2 -2
- package/build-module/math/block.json +2 -0
- package/build-module/math/deprecated.mjs +29 -12
- package/build-module/math/deprecated.mjs.map +2 -2
- package/build-module/math/edit.mjs +68 -47
- package/build-module/math/edit.mjs.map +2 -2
- package/build-module/math/save.mjs +2 -2
- package/build-module/math/save.mjs.map +2 -2
- package/build-module/media-text/constants.mjs +2 -0
- package/build-module/media-text/constants.mjs.map +2 -2
- package/build-module/media-text/deprecated.mjs.map +2 -2
- package/build-module/media-text/edit.mjs +42 -1
- package/build-module/media-text/edit.mjs.map +2 -2
- package/build-module/media-text/image-fill.mjs.map +2 -2
- package/build-module/media-text/media-container.mjs +1 -1
- package/build-module/media-text/media-container.mjs.map +2 -2
- package/build-module/navigation/edit/index.mjs.map +2 -2
- package/build-module/navigation/edit/menu-inspector-controls.mjs.map +2 -2
- package/build-module/navigation/edit/overlay-template-part-selector.mjs +2 -2
- package/build-module/navigation/edit/overlay-template-part-selector.mjs.map +2 -2
- package/build-module/navigation/edit/responsive-wrapper.mjs.map +2 -2
- package/build-module/navigation/edit/use-generate-default-navigation-title.mjs.map +2 -2
- package/build-module/navigation/view.mjs +2 -2
- package/build-module/navigation/view.mjs.map +2 -2
- package/build-module/navigation-link/edit.mjs.map +2 -2
- package/build-module/navigation-link/shared/invalid-draft-display.mjs.map +2 -2
- package/build-module/navigation-submenu/edit.mjs.map +2 -2
- package/build-module/paragraph/block.json +1 -0
- package/build-module/paragraph/edit.mjs.map +2 -2
- package/build-module/paragraph/index.mjs +6 -0
- package/build-module/paragraph/index.mjs.map +2 -2
- package/build-module/playlist/edit.mjs +5 -4
- package/build-module/playlist/edit.mjs.map +2 -2
- package/build-module/post-author/edit.mjs +2 -2
- package/build-module/post-author/edit.mjs.map +2 -2
- package/build-module/post-author-name/edit.mjs.map +2 -2
- package/build-module/post-content/block.json +1 -0
- package/build-module/post-date/edit.mjs.map +2 -2
- package/build-module/post-excerpt/block.json +1 -0
- package/build-module/post-excerpt/edit.mjs.map +2 -2
- package/build-module/post-featured-image/edit.mjs.map +2 -2
- package/build-module/post-navigation-link/edit.mjs +2 -2
- package/build-module/post-navigation-link/edit.mjs.map +2 -2
- package/build-module/post-time-to-read/edit.mjs.map +2 -2
- package/build-module/pullquote/deprecated.mjs.map +2 -2
- package/build-module/query/deprecated.mjs.map +2 -2
- package/build-module/query/edit/inspector-controls/index.mjs +2 -2
- package/build-module/query/edit/inspector-controls/index.mjs.map +2 -2
- package/build-module/query/edit/inspector-controls/order-control.mjs +2 -2
- package/build-module/query/edit/inspector-controls/order-control.mjs.map +2 -2
- package/build-module/query/edit/inspector-controls/sticky-control.mjs +2 -2
- package/build-module/query/edit/inspector-controls/sticky-control.mjs.map +2 -2
- package/build-module/query/view.mjs.map +2 -2
- package/build-module/query-title/use-archive-label.mjs.map +2 -2
- package/build-module/quote/deprecated.mjs.map +2 -2
- package/build-module/quote/transforms.mjs.map +2 -2
- package/build-module/search/edit.mjs +3 -3
- package/build-module/search/edit.mjs.map +2 -2
- package/build-module/separator/edit.mjs +5 -2
- package/build-module/separator/edit.mjs.map +2 -2
- package/build-module/social-links/edit.mjs +2 -2
- package/build-module/social-links/edit.mjs.map +2 -2
- package/build-module/table/state.mjs.map +2 -2
- package/build-module/table-of-contents/edit.mjs +2 -2
- package/build-module/table-of-contents/edit.mjs.map +2 -2
- package/build-module/table-of-contents/utils.mjs.map +2 -2
- package/build-module/tabs/use-tab-actions.mjs.map +2 -2
- package/build-module/tag-cloud/edit.mjs +2 -2
- package/build-module/tag-cloud/edit.mjs.map +2 -2
- package/build-module/template-part/edit/advanced-controls.mjs +5 -2
- package/build-module/template-part/edit/advanced-controls.mjs.map +2 -2
- package/build-module/template-part/edit/import-controls.mjs +2 -2
- package/build-module/template-part/edit/import-controls.mjs.map +2 -2
- package/build-module/template-part/edit/index.mjs.map +2 -2
- package/build-module/template-part/edit/inner-blocks.mjs.map +2 -2
- package/build-module/template-part/edit/placeholder.mjs.map +2 -2
- package/build-module/term-count/use-term-count.mjs.map +2 -2
- package/build-module/term-description/use-term-description.mjs.map +2 -2
- package/build-module/term-name/use-term-name.mjs.map +2 -2
- package/build-module/terms-query/edit/inspector-controls/index.mjs.map +2 -2
- package/build-module/terms-query/edit/inspector-controls/inherit-control.mjs.map +2 -2
- package/build-module/terms-query/edit/inspector-controls/order-control.mjs +2 -2
- package/build-module/terms-query/edit/inspector-controls/order-control.mjs.map +2 -2
- package/build-module/terms-query/edit/inspector-controls/taxonomy-control.mjs +2 -2
- package/build-module/terms-query/edit/inspector-controls/taxonomy-control.mjs.map +2 -2
- package/build-module/utils/hooks.mjs.map +2 -2
- package/build-module/utils/media-control.mjs +5 -1
- package/build-module/utils/media-control.mjs.map +2 -2
- package/build-module/utils/poster-image.mjs.map +2 -2
- package/build-module/verse/block.json +1 -0
- package/build-module/video/edit-common-settings.mjs +2 -2
- package/build-module/video/edit-common-settings.mjs.map +2 -2
- package/build-module/video/tracks-editor.mjs +2 -2
- package/build-module/video/tracks-editor.mjs.map +2 -2
- package/build-style/button/style-rtl.css +2 -1
- package/build-style/button/style.css +2 -1
- package/build-style/columns/style-rtl.css +1 -1
- package/build-style/columns/style.css +1 -1
- package/build-style/comments/editor-rtl.css +1 -1
- package/build-style/comments/editor.css +1 -1
- package/build-style/comments/style-rtl.css +1 -1
- package/build-style/comments/style.css +1 -1
- package/build-style/common-rtl.css +1 -1
- package/build-style/common.css +1 -1
- package/build-style/cover/style-rtl.css +6 -0
- package/build-style/cover/style.css +6 -0
- package/build-style/editor-rtl.css +9 -5
- package/build-style/editor.css +9 -5
- package/build-style/embed/editor-rtl.css +2 -1
- package/build-style/embed/editor.css +2 -1
- package/build-style/gallery/style-rtl.css +1 -2
- package/build-style/gallery/style.css +1 -2
- package/build-style/image/style-rtl.css +6 -9
- package/build-style/image/style.css +6 -9
- package/build-style/math/editor-rtl.css +5 -0
- package/build-style/math/editor.css +5 -0
- package/build-style/navigation/editor-rtl.css +1 -0
- package/build-style/navigation/editor.css +1 -0
- package/build-style/navigation/style-rtl.css +1 -1
- package/build-style/navigation/style.css +1 -1
- package/build-style/post-title/style-rtl.css +2 -2
- package/build-style/post-title/style.css +2 -2
- package/build-style/query-pagination/editor-rtl.css +0 -3
- package/build-style/query-pagination/editor.css +0 -3
- package/build-style/search/theme-rtl.css +1 -1
- package/build-style/search/theme.css +1 -1
- package/build-style/style-rtl.css +23 -19
- package/build-style/style.css +23 -19
- package/build-style/theme-rtl.css +1 -1
- package/build-style/theme.css +1 -1
- package/build-style/verse/style-rtl.css +2 -1
- package/build-style/verse/style.css +2 -1
- package/package.json +40 -40
- package/src/archives/edit.jsx +2 -2
- package/src/audio/edit.jsx +2 -2
- package/src/avatar/hooks.js +2 -2
- package/src/button/edit.jsx +1 -1
- package/src/button/style.scss +2 -2
- package/src/calendar/index.php +1 -1
- package/src/categories/edit.jsx +2 -2
- package/src/code/README.md +1 -0
- package/src/code/block.json +1 -0
- package/src/code/save.jsx +1 -1
- package/src/columns/style.scss +2 -3
- package/src/comment-template/hooks.js +1 -1
- package/src/comments/style.scss +1 -1
- package/src/common.scss +1 -2
- package/src/cover/edit/index.jsx +2 -2
- package/src/cover/edit/inspector-controls.jsx +2 -2
- package/src/cover/style.scss +10 -0
- package/src/cover/test/{edit.jsdom.test.js → edit.browser.test.js} +104 -145
- package/src/cover/transforms.js +3 -3
- package/src/details/README.md +1 -0
- package/src/details/block.json +1 -0
- package/src/details/index.js +1 -1
- package/src/embed/editor.scss +2 -2
- package/src/embed/embed-controls.jsx +2 -2
- package/src/file/deprecated.jsx +3 -3
- package/src/file/edit.jsx +5 -3
- package/src/file/inspector.jsx +3 -3
- package/src/file/save.jsx +2 -2
- package/src/footnotes/README.md +1 -0
- package/src/footnotes/block.json +1 -0
- package/src/footnotes/edit.jsx +1 -1
- package/src/gallery/dynamic-gallery.jsx +4 -4
- package/src/gallery/edit.jsx +121 -68
- package/src/gallery/gallery-styles.js +117 -0
- package/src/gallery/index.php +181 -67
- package/src/gallery/responsive-styles.js +59 -5
- package/src/gallery/test/edit.jsdom.test.js +71 -3
- package/src/gallery/test/responsive-styles.js +59 -5
- package/src/heading/README.md +2 -0
- package/src/heading/block.json +2 -0
- package/src/heading/index.js +2 -2
- package/src/html/modal.jsx +0 -3
- package/src/image/edit.jsx +1 -1
- package/src/image/image.jsx +7 -7
- package/src/image/index.php +10 -4
- package/src/image/style.scss +1 -0
- package/src/image/test/use-open-image-media-editor-modal.jsdom.test.js +1 -1
- package/src/index.jsx +1 -1
- package/src/latest-comments/edit.jsx +2 -2
- package/src/latest-posts/edit.jsx +1 -1
- package/src/list/ordered-list-settings.jsx +2 -2
- package/src/list-item/hooks/use-enter.js +1 -1
- package/src/math/README.md +2 -2
- package/src/math/block.json +2 -0
- package/src/math/deprecated.jsx +38 -12
- package/src/math/edit.jsx +49 -20
- package/src/math/editor.scss +5 -0
- package/src/math/save.jsx +20 -4
- package/src/media-text/constants.js +1 -0
- package/src/media-text/deprecated.jsx +3 -3
- package/src/media-text/edit.jsx +48 -3
- package/src/media-text/image-fill.js +2 -2
- package/src/media-text/media-container.jsx +1 -1
- package/src/navigation/edit/index.jsx +1 -1
- package/src/navigation/edit/menu-inspector-controls.jsx +2 -2
- package/src/navigation/edit/overlay-template-part-selector.jsx +3 -3
- package/src/navigation/edit/responsive-wrapper.jsx +1 -1
- package/src/navigation/edit/use-generate-default-navigation-title.js +2 -2
- package/src/navigation/editor.scss +1 -0
- package/src/navigation/index.php +12 -0
- package/src/navigation/style.scss +1 -1
- package/src/navigation/test/use-navigation-menu.jsdom.test.js +6 -28
- package/src/navigation/test/view.jsdom.test.js +23 -0
- package/src/navigation/view.js +9 -6
- package/src/navigation-link/edit.jsx +1 -1
- package/src/navigation-link/shared/invalid-draft-display.jsx +2 -2
- package/src/navigation-link/test/__snapshots__/hooks.jsdom.test.js.snap +41 -11
- package/src/navigation-submenu/edit.jsx +1 -1
- package/src/paragraph/README.md +1 -0
- package/src/paragraph/block.json +1 -0
- package/src/paragraph/edit.jsx +1 -1
- package/src/paragraph/index.js +7 -0
- package/src/pattern/index.php +2 -2
- package/src/playlist/edit.jsx +6 -4
- package/src/playlist-track/test/edit.jsdom.test.jsx +2 -3
- package/src/post-author/edit.jsx +2 -2
- package/src/post-author-name/edit.jsx +1 -1
- package/src/post-content/README.md +1 -0
- package/src/post-content/block.json +1 -0
- package/src/post-date/edit.jsx +2 -2
- package/src/post-excerpt/README.md +1 -0
- package/src/post-excerpt/block.json +1 -0
- package/src/post-excerpt/edit.jsx +1 -1
- package/src/post-featured-image/edit.jsx +2 -2
- package/src/post-navigation-link/edit.jsx +4 -4
- package/src/post-time-to-read/edit.jsx +2 -2
- package/src/post-title/style.scss +2 -3
- package/src/pullquote/deprecated.jsx +1 -1
- package/src/query/deprecated.jsx +1 -1
- package/src/query/edit/inspector-controls/index.jsx +4 -4
- package/src/query/edit/inspector-controls/order-control.jsx +2 -2
- package/src/query/edit/inspector-controls/sticky-control.jsx +2 -2
- package/src/query/view.js +6 -9
- package/src/query-pagination/editor.scss +0 -3
- package/src/query-title/use-archive-label.js +1 -1
- package/src/quote/deprecated.jsx +2 -2
- package/src/quote/transforms.js +3 -3
- package/src/search/edit.jsx +6 -6
- package/src/search/theme.scss +1 -1
- package/src/separator/edit.jsx +7 -4
- package/src/social-links/edit.jsx +2 -2
- package/src/table/state.js +1 -1
- package/src/table-of-contents/edit.jsx +6 -6
- package/src/table-of-contents/utils.ts +2 -2
- package/src/tabs/use-tab-actions.js +1 -1
- package/src/tag-cloud/edit.jsx +2 -2
- package/src/template-part/edit/advanced-controls.jsx +5 -2
- package/src/template-part/edit/import-controls.jsx +2 -2
- package/src/template-part/edit/index.jsx +2 -2
- package/src/template-part/edit/inner-blocks.jsx +1 -1
- package/src/template-part/edit/placeholder.jsx +2 -2
- package/src/term-count/use-term-count.js +1 -1
- package/src/term-description/use-term-description.js +1 -1
- package/src/term-name/use-term-name.js +1 -1
- package/src/terms-query/edit/inspector-controls/index.jsx +2 -2
- package/src/terms-query/edit/inspector-controls/inherit-control.jsx +1 -1
- package/src/terms-query/edit/inspector-controls/order-control.jsx +2 -2
- package/src/terms-query/edit/inspector-controls/taxonomy-control.jsx +2 -2
- package/src/utils/hooks.js +1 -1
- package/src/utils/media-control.jsx +16 -10
- package/src/utils/poster-image.jsx +2 -2
- package/src/utils/test/waveform-player.jsdom.test.jsx +36 -38
- package/src/utils/test/{waveform-utils.jsdom.test.js → waveform-utils.browser.test.js} +64 -44
- package/src/verse/README.md +1 -0
- package/src/verse/block.json +1 -0
- package/src/verse/style.scss +2 -2
- package/src/video/edit-common-settings.jsx +3 -3
- package/src/video/tracks-editor.jsx +2 -2
- package/build/gallery/flex-styles.cjs.map +0 -7
- package/build-module/gallery/flex-styles.mjs.map +0 -7
- package/src/gallery/flex-styles.js +0 -99
|
@@ -221,7 +221,8 @@
|
|
|
221
221
|
cursor: pointer;
|
|
222
222
|
display: inline-block;
|
|
223
223
|
text-align: center;
|
|
224
|
-
word-break:
|
|
224
|
+
word-break: normal;
|
|
225
|
+
overflow-wrap: anywhere;
|
|
225
226
|
box-sizing: border-box;
|
|
226
227
|
height: 100%;
|
|
227
228
|
align-content: center;
|
|
@@ -502,7 +503,7 @@
|
|
|
502
503
|
.wp-block-column {
|
|
503
504
|
flex-grow: 1;
|
|
504
505
|
min-width: 0;
|
|
505
|
-
word-break:
|
|
506
|
+
word-break: normal;
|
|
506
507
|
overflow-wrap: break-word;
|
|
507
508
|
/**
|
|
508
509
|
* Individual Column Alignment
|
|
@@ -583,7 +584,7 @@
|
|
|
583
584
|
line-height: 1.5;
|
|
584
585
|
}
|
|
585
586
|
.wp-block-post-comments .comment-meta b {
|
|
586
|
-
font-weight:
|
|
587
|
+
font-weight: 400;
|
|
587
588
|
}
|
|
588
589
|
.wp-block-post-comments .comment-meta .comment-awaiting-moderation {
|
|
589
590
|
margin-top: 1em;
|
|
@@ -1015,6 +1016,12 @@
|
|
|
1015
1016
|
border: none;
|
|
1016
1017
|
box-shadow: none;
|
|
1017
1018
|
}
|
|
1019
|
+
@supports (-webkit-hyphens: none) {
|
|
1020
|
+
.wp-block-cover-image.has-aspect-ratio,
|
|
1021
|
+
.wp-block-cover.has-aspect-ratio {
|
|
1022
|
+
min-height: fit-content !important;
|
|
1023
|
+
}
|
|
1024
|
+
}
|
|
1018
1025
|
.wp-block-cover-image .wp-block-cover__embed-background,
|
|
1019
1026
|
.wp-block-cover .wp-block-cover__embed-background {
|
|
1020
1027
|
position: absolute;
|
|
@@ -1606,8 +1613,7 @@ figure.wp-block-gallery.has-nested-images:where(.is-layout-flex) {
|
|
|
1606
1613
|
max-height: 3em;
|
|
1607
1614
|
pointer-events: none;
|
|
1608
1615
|
backdrop-filter: blur(3px);
|
|
1609
|
-
|
|
1610
|
-
mask-image: linear-gradient(0deg, #000 20%, transparent 100%);
|
|
1616
|
+
mask-image: linear-gradient(0deg, #000 20%, transparent 100%);
|
|
1611
1617
|
}
|
|
1612
1618
|
.wp-block-gallery.has-nested-images figure.wp-block-image figcaption {
|
|
1613
1619
|
color: #fff;
|
|
@@ -1752,6 +1758,7 @@ h6.has-text-align-left[style*=writing-mode]:where([style*=vertical-lr]) {
|
|
|
1752
1758
|
.wp-block-image > a,
|
|
1753
1759
|
.wp-block-image > figure > a {
|
|
1754
1760
|
display: inline-block;
|
|
1761
|
+
color: inherit;
|
|
1755
1762
|
}
|
|
1756
1763
|
.wp-block-image img {
|
|
1757
1764
|
height: auto;
|
|
@@ -1822,17 +1829,13 @@ h6.has-text-align-left[style*=writing-mode]:where([style*=vertical-lr]) {
|
|
|
1822
1829
|
.wp-block-image.is-style-circle-mask img {
|
|
1823
1830
|
border-radius: 9999px;
|
|
1824
1831
|
}
|
|
1825
|
-
@supports (
|
|
1832
|
+
@supports (mask-image: none) or (-webkit-mask-image: none) {
|
|
1826
1833
|
.wp-block-image.is-style-circle-mask img {
|
|
1827
|
-
|
|
1828
|
-
mask-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="50"/></svg>');
|
|
1834
|
+
mask-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="50"/></svg>');
|
|
1829
1835
|
mask-mode: alpha;
|
|
1830
|
-
|
|
1831
|
-
|
|
1832
|
-
|
|
1833
|
-
mask-size: contain;
|
|
1834
|
-
-webkit-mask-position: center;
|
|
1835
|
-
mask-position: center;
|
|
1836
|
+
mask-repeat: no-repeat;
|
|
1837
|
+
mask-size: contain;
|
|
1838
|
+
mask-position: center;
|
|
1836
1839
|
border-radius: 0;
|
|
1837
1840
|
}
|
|
1838
1841
|
}
|
|
@@ -2962,7 +2965,7 @@ button.wp-block-navigation-item__content {
|
|
|
2962
2965
|
|
|
2963
2966
|
.wp-block-navigation__toggle_button_label {
|
|
2964
2967
|
font-size: 1rem;
|
|
2965
|
-
font-weight:
|
|
2968
|
+
font-weight: 700;
|
|
2966
2969
|
}
|
|
2967
2970
|
|
|
2968
2971
|
.wp-block-navigation__responsive-container-open,
|
|
@@ -4027,11 +4030,11 @@ p.has-text-align-left[style*="writing-mode:vertical-lr"] {
|
|
|
4027
4030
|
}
|
|
4028
4031
|
|
|
4029
4032
|
.wp-block-post-title {
|
|
4030
|
-
word-break:
|
|
4033
|
+
word-break: normal;
|
|
4034
|
+
overflow-wrap: anywhere;
|
|
4031
4035
|
box-sizing: border-box;
|
|
4032
4036
|
}
|
|
4033
4037
|
.wp-block-post-title :where(a) {
|
|
4034
|
-
display: inline-block;
|
|
4035
4038
|
font-family: inherit;
|
|
4036
4039
|
font-size: inherit;
|
|
4037
4040
|
font-style: inherit;
|
|
@@ -5185,7 +5188,8 @@ pre.wp-block-verse {
|
|
|
5185
5188
|
overflow: auto;
|
|
5186
5189
|
white-space: pre-wrap;
|
|
5187
5190
|
min-width: 1em;
|
|
5188
|
-
word-break:
|
|
5191
|
+
word-break: normal;
|
|
5192
|
+
overflow-wrap: break-word;
|
|
5189
5193
|
}
|
|
5190
5194
|
|
|
5191
5195
|
:where(pre.wp-block-verse) {
|
|
@@ -5366,7 +5370,7 @@ a[data-fn].fn::after {
|
|
|
5366
5370
|
padding: 0;
|
|
5367
5371
|
position: absolute;
|
|
5368
5372
|
width: 1px;
|
|
5369
|
-
|
|
5373
|
+
overflow-wrap: normal !important;
|
|
5370
5374
|
word-break: normal !important;
|
|
5371
5375
|
}
|
|
5372
5376
|
|
package/build-style/style.css
CHANGED
|
@@ -221,7 +221,8 @@
|
|
|
221
221
|
cursor: pointer;
|
|
222
222
|
display: inline-block;
|
|
223
223
|
text-align: center;
|
|
224
|
-
word-break:
|
|
224
|
+
word-break: normal;
|
|
225
|
+
overflow-wrap: anywhere;
|
|
225
226
|
box-sizing: border-box;
|
|
226
227
|
height: 100%;
|
|
227
228
|
align-content: center;
|
|
@@ -507,7 +508,7 @@
|
|
|
507
508
|
.wp-block-column {
|
|
508
509
|
flex-grow: 1;
|
|
509
510
|
min-width: 0;
|
|
510
|
-
word-break:
|
|
511
|
+
word-break: normal;
|
|
511
512
|
overflow-wrap: break-word;
|
|
512
513
|
/**
|
|
513
514
|
* Individual Column Alignment
|
|
@@ -588,7 +589,7 @@
|
|
|
588
589
|
line-height: 1.5;
|
|
589
590
|
}
|
|
590
591
|
.wp-block-post-comments .comment-meta b {
|
|
591
|
-
font-weight:
|
|
592
|
+
font-weight: 400;
|
|
592
593
|
}
|
|
593
594
|
.wp-block-post-comments .comment-meta .comment-awaiting-moderation {
|
|
594
595
|
margin-top: 1em;
|
|
@@ -1022,6 +1023,12 @@
|
|
|
1022
1023
|
border: none;
|
|
1023
1024
|
box-shadow: none;
|
|
1024
1025
|
}
|
|
1026
|
+
@supports (-webkit-hyphens: none) {
|
|
1027
|
+
.wp-block-cover-image.has-aspect-ratio,
|
|
1028
|
+
.wp-block-cover.has-aspect-ratio {
|
|
1029
|
+
min-height: fit-content !important;
|
|
1030
|
+
}
|
|
1031
|
+
}
|
|
1025
1032
|
.wp-block-cover-image .wp-block-cover__embed-background,
|
|
1026
1033
|
.wp-block-cover .wp-block-cover__embed-background {
|
|
1027
1034
|
position: absolute;
|
|
@@ -1614,8 +1621,7 @@ figure.wp-block-gallery.has-nested-images:where(.is-layout-flex) {
|
|
|
1614
1621
|
max-height: 3em;
|
|
1615
1622
|
pointer-events: none;
|
|
1616
1623
|
backdrop-filter: blur(3px);
|
|
1617
|
-
|
|
1618
|
-
mask-image: linear-gradient(0deg, #000 20%, transparent 100%);
|
|
1624
|
+
mask-image: linear-gradient(0deg, #000 20%, transparent 100%);
|
|
1619
1625
|
}
|
|
1620
1626
|
.wp-block-gallery.has-nested-images figure.wp-block-image figcaption {
|
|
1621
1627
|
color: #fff;
|
|
@@ -1760,6 +1766,7 @@ h6.has-text-align-left[style*=writing-mode]:where([style*=vertical-lr]) {
|
|
|
1760
1766
|
.wp-block-image > a,
|
|
1761
1767
|
.wp-block-image > figure > a {
|
|
1762
1768
|
display: inline-block;
|
|
1769
|
+
color: inherit;
|
|
1763
1770
|
}
|
|
1764
1771
|
.wp-block-image img {
|
|
1765
1772
|
height: auto;
|
|
@@ -1836,17 +1843,13 @@ h6.has-text-align-left[style*=writing-mode]:where([style*=vertical-lr]) {
|
|
|
1836
1843
|
.wp-block-image.is-style-circle-mask img {
|
|
1837
1844
|
border-radius: 9999px;
|
|
1838
1845
|
}
|
|
1839
|
-
@supports (
|
|
1846
|
+
@supports (mask-image: none) or (-webkit-mask-image: none) {
|
|
1840
1847
|
.wp-block-image.is-style-circle-mask img {
|
|
1841
|
-
|
|
1842
|
-
mask-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="50"/></svg>');
|
|
1848
|
+
mask-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="50"/></svg>');
|
|
1843
1849
|
mask-mode: alpha;
|
|
1844
|
-
|
|
1845
|
-
|
|
1846
|
-
|
|
1847
|
-
mask-size: contain;
|
|
1848
|
-
-webkit-mask-position: center;
|
|
1849
|
-
mask-position: center;
|
|
1850
|
+
mask-repeat: no-repeat;
|
|
1851
|
+
mask-size: contain;
|
|
1852
|
+
mask-position: center;
|
|
1850
1853
|
border-radius: 0;
|
|
1851
1854
|
}
|
|
1852
1855
|
}
|
|
@@ -2992,7 +2995,7 @@ button.wp-block-navigation-item__content {
|
|
|
2992
2995
|
|
|
2993
2996
|
.wp-block-navigation__toggle_button_label {
|
|
2994
2997
|
font-size: 1rem;
|
|
2995
|
-
font-weight:
|
|
2998
|
+
font-weight: 700;
|
|
2996
2999
|
}
|
|
2997
3000
|
|
|
2998
3001
|
.wp-block-navigation__responsive-container-open,
|
|
@@ -4057,11 +4060,11 @@ p.has-text-align-left[style*="writing-mode:vertical-lr"] {
|
|
|
4057
4060
|
}
|
|
4058
4061
|
|
|
4059
4062
|
.wp-block-post-title {
|
|
4060
|
-
word-break:
|
|
4063
|
+
word-break: normal;
|
|
4064
|
+
overflow-wrap: anywhere;
|
|
4061
4065
|
box-sizing: border-box;
|
|
4062
4066
|
}
|
|
4063
4067
|
.wp-block-post-title :where(a) {
|
|
4064
|
-
display: inline-block;
|
|
4065
4068
|
font-family: inherit;
|
|
4066
4069
|
font-size: inherit;
|
|
4067
4070
|
font-style: inherit;
|
|
@@ -5218,7 +5221,8 @@ pre.wp-block-verse {
|
|
|
5218
5221
|
overflow: auto;
|
|
5219
5222
|
white-space: pre-wrap;
|
|
5220
5223
|
min-width: 1em;
|
|
5221
|
-
word-break:
|
|
5224
|
+
word-break: normal;
|
|
5225
|
+
overflow-wrap: break-word;
|
|
5222
5226
|
}
|
|
5223
5227
|
|
|
5224
5228
|
:where(pre.wp-block-verse) {
|
|
@@ -5401,7 +5405,7 @@ a[data-fn].fn::after {
|
|
|
5401
5405
|
padding: 0;
|
|
5402
5406
|
position: absolute;
|
|
5403
5407
|
width: 1px;
|
|
5404
|
-
|
|
5408
|
+
overflow-wrap: normal !important;
|
|
5405
5409
|
word-break: normal !important;
|
|
5406
5410
|
}
|
|
5407
5411
|
|
package/build-style/theme.css
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wordpress/block-library",
|
|
3
|
-
"version": "11.0.0",
|
|
3
|
+
"version": "11.0.2-next.v.202609171837.0",
|
|
4
4
|
"description": "Block library for the WordPress editor.",
|
|
5
5
|
"author": "The WordPress Contributors",
|
|
6
6
|
"license": "GPL-2.0-or-later",
|
|
@@ -92,46 +92,46 @@
|
|
|
92
92
|
],
|
|
93
93
|
"dependencies": {
|
|
94
94
|
"@arraypress/waveform-player": "^1.26.0",
|
|
95
|
-
"@wordpress/a11y": "^4.55.0",
|
|
96
|
-
"@wordpress/api-fetch": "^7.55.0",
|
|
97
|
-
"@wordpress/autop": "^4.55.0",
|
|
98
|
-
"@wordpress/base-styles": "^13.1.0",
|
|
99
|
-
"@wordpress/blob": "^4.55.0",
|
|
100
|
-
"@wordpress/block-editor": "^17.1.0",
|
|
101
|
-
"@wordpress/blocks": "^16.
|
|
102
|
-
"@wordpress/components": "^
|
|
103
|
-
"@wordpress/compose": "^8.8.0",
|
|
104
|
-
"@wordpress/core-data": "^8.0.0",
|
|
105
|
-
"@wordpress/data": "^10.
|
|
106
|
-
"@wordpress/date": "^5.55.0",
|
|
107
|
-
"@wordpress/deprecated": "^4.55.0",
|
|
108
|
-
"@wordpress/dom": "^4.55.0",
|
|
109
|
-
"@wordpress/element": "^8.7.0",
|
|
110
|
-
"@wordpress/escape-html": "^3.55.0",
|
|
111
|
-
"@wordpress/global-styles-engine": "^1.
|
|
112
|
-
"@wordpress/hooks": "^4.55.0",
|
|
113
|
-
"@wordpress/html-entities": "^4.55.0",
|
|
114
|
-
"@wordpress/i18n": "^6.28.0",
|
|
115
|
-
"@wordpress/icons": "^
|
|
116
|
-
"@wordpress/interactivity": "^6.55.0",
|
|
117
|
-
"@wordpress/interactivity-router": "^2.55.0",
|
|
118
|
-
"@wordpress/kebab-case": "^1.2.0",
|
|
119
|
-
"@wordpress/keycodes": "^4.
|
|
120
|
-
"@wordpress/latex-to-mathml": "^1.23.0",
|
|
121
|
-
"@wordpress/notices": "^5.55.0",
|
|
122
|
-
"@wordpress/patterns": "^2.55.0",
|
|
123
|
-
"@wordpress/primitives": "^4.55.0",
|
|
124
|
-
"@wordpress/private-apis": "^1.55.0",
|
|
125
|
-
"@wordpress/rich-text": "^7.55.0",
|
|
126
|
-
"@wordpress/server-side-render": "^6.31.0",
|
|
127
|
-
"@wordpress/shortcode": "^4.55.0",
|
|
128
|
-
"@wordpress/ui": "^0.
|
|
129
|
-
"@wordpress/upload-media": "^0.40.0",
|
|
130
|
-
"@wordpress/url": "^4.55.0",
|
|
131
|
-
"@wordpress/wordcount": "^4.55.0",
|
|
95
|
+
"@wordpress/a11y": "^4.55.1-next.v.202609171837.0",
|
|
96
|
+
"@wordpress/api-fetch": "^7.55.1-next.v.202609171837.0",
|
|
97
|
+
"@wordpress/autop": "^4.55.1-next.v.202609171837.0",
|
|
98
|
+
"@wordpress/base-styles": "^13.2.1-next.v.202609171837.0",
|
|
99
|
+
"@wordpress/blob": "^4.55.1-next.v.202609171837.0",
|
|
100
|
+
"@wordpress/block-editor": "^17.2.1-next.v.202609171837.0",
|
|
101
|
+
"@wordpress/blocks": "^16.1.1-next.v.202609171837.0",
|
|
102
|
+
"@wordpress/components": "^41.0.1-next.v.202609171837.0",
|
|
103
|
+
"@wordpress/compose": "^8.8.2-next.v.202609171837.0",
|
|
104
|
+
"@wordpress/core-data": "^8.0.2-next.v.202609171837.0",
|
|
105
|
+
"@wordpress/data": "^10.56.1-next.v.202609171837.0",
|
|
106
|
+
"@wordpress/date": "^5.55.1-next.v.202609171837.0",
|
|
107
|
+
"@wordpress/deprecated": "^4.55.1-next.v.202609171837.0",
|
|
108
|
+
"@wordpress/dom": "^4.55.2-next.v.202609171837.0",
|
|
109
|
+
"@wordpress/element": "^8.7.1-next.v.202609171837.0",
|
|
110
|
+
"@wordpress/escape-html": "^3.55.1-next.v.202609171837.0",
|
|
111
|
+
"@wordpress/global-styles-engine": "^1.23.1-next.v.202609171837.0",
|
|
112
|
+
"@wordpress/hooks": "^4.55.1-next.v.202609171837.0",
|
|
113
|
+
"@wordpress/html-entities": "^4.55.1-next.v.202609171837.0",
|
|
114
|
+
"@wordpress/i18n": "^6.28.1-next.v.202609171837.0",
|
|
115
|
+
"@wordpress/icons": "^17.0.1-next.v.202609171837.0",
|
|
116
|
+
"@wordpress/interactivity": "^6.55.1-next.v.202609171837.0",
|
|
117
|
+
"@wordpress/interactivity-router": "^2.55.1-next.v.202609171837.0",
|
|
118
|
+
"@wordpress/kebab-case": "^1.2.1-next.v.202609171837.0",
|
|
119
|
+
"@wordpress/keycodes": "^4.56.1-next.v.202609171837.0",
|
|
120
|
+
"@wordpress/latex-to-mathml": "^1.23.1-next.v.202609171837.0",
|
|
121
|
+
"@wordpress/notices": "^5.55.1-next.v.202609171837.0",
|
|
122
|
+
"@wordpress/patterns": "^2.55.1-next.v.202609171837.0",
|
|
123
|
+
"@wordpress/primitives": "^4.55.1-next.v.202609171837.0",
|
|
124
|
+
"@wordpress/private-apis": "^1.55.1-next.v.202609171837.0",
|
|
125
|
+
"@wordpress/rich-text": "^7.55.2-next.v.202609171837.0",
|
|
126
|
+
"@wordpress/server-side-render": "^6.31.1-next.v.202609171837.0",
|
|
127
|
+
"@wordpress/shortcode": "^4.55.1-next.v.202609171837.0",
|
|
128
|
+
"@wordpress/ui": "^0.23.1-next.v.202609171837.0",
|
|
129
|
+
"@wordpress/upload-media": "^0.40.2-next.v.202609171837.0",
|
|
130
|
+
"@wordpress/url": "^4.55.1-next.v.202609171837.0",
|
|
131
|
+
"@wordpress/wordcount": "^4.55.1-next.v.202609171837.0",
|
|
132
132
|
"change-case": "^4.1.2",
|
|
133
133
|
"clsx": "^2.1.1",
|
|
134
|
-
"colord": "^2.9.
|
|
134
|
+
"colord": "^2.9.4",
|
|
135
135
|
"fast-average-color": "^9.1.1",
|
|
136
136
|
"fast-deep-equal": "^3.1.3",
|
|
137
137
|
"html-react-parser": "^5.2.11",
|
|
@@ -162,5 +162,5 @@
|
|
|
162
162
|
"publishConfig": {
|
|
163
163
|
"access": "public"
|
|
164
164
|
},
|
|
165
|
-
"gitHead": "
|
|
165
|
+
"gitHead": "7fc9f6676debc888d2f071d17cb71837040d4b48"
|
|
166
166
|
}
|
package/src/archives/edit.jsx
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ToggleControl,
|
|
3
|
-
SelectControl,
|
|
3
|
+
SelectControl as WCSelectControl,
|
|
4
4
|
Spinner,
|
|
5
5
|
__experimentalToolsPanel as ToolsPanel,
|
|
6
6
|
__experimentalToolsPanelItem as ToolsPanelItem,
|
|
@@ -108,7 +108,7 @@ export default function ArchivesEdit( { attributes, setAttributes, name } ) {
|
|
|
108
108
|
setAttributes( { type: 'monthly' } )
|
|
109
109
|
}
|
|
110
110
|
>
|
|
111
|
-
<
|
|
111
|
+
<WCSelectControl
|
|
112
112
|
label={ __( 'Group by' ) }
|
|
113
113
|
options={ [
|
|
114
114
|
{ label: __( 'Year' ), value: 'yearly' },
|
package/src/audio/edit.jsx
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import clsx from 'clsx';
|
|
2
2
|
import { isBlobURL } from '@wordpress/blob';
|
|
3
3
|
import {
|
|
4
|
-
SelectControl,
|
|
4
|
+
SelectControl as WCSelectControl,
|
|
5
5
|
Spinner,
|
|
6
6
|
ToggleControl,
|
|
7
7
|
__experimentalToolsPanel as ToolsPanel,
|
|
@@ -223,7 +223,7 @@ function AudioEdit( {
|
|
|
223
223
|
} )
|
|
224
224
|
}
|
|
225
225
|
>
|
|
226
|
-
<
|
|
226
|
+
<WCSelectControl
|
|
227
227
|
label={ _x(
|
|
228
228
|
'Preload',
|
|
229
229
|
'noun; Audio block parameter'
|
package/src/avatar/hooks.js
CHANGED
|
@@ -37,7 +37,7 @@ export function useCommentAvatar( { commentId } ) {
|
|
|
37
37
|
maxSize,
|
|
38
38
|
alt: authorName
|
|
39
39
|
? // translators: %s: Author name.
|
|
40
|
-
|
|
40
|
+
sprintf( __( '%s Avatar' ), authorName )
|
|
41
41
|
: __( 'Default Avatar' ),
|
|
42
42
|
};
|
|
43
43
|
}
|
|
@@ -77,7 +77,7 @@ export function useUserAvatar( { userId, postId, postType } ) {
|
|
|
77
77
|
maxSize,
|
|
78
78
|
alt: authorDetails
|
|
79
79
|
? // translators: %s: Author name.
|
|
80
|
-
|
|
80
|
+
sprintf( __( '%s Avatar' ), authorDetails?.name )
|
|
81
81
|
: __( 'Default Avatar' ),
|
|
82
82
|
};
|
|
83
83
|
}
|
package/src/button/edit.jsx
CHANGED
package/src/button/style.scss
CHANGED
|
@@ -7,8 +7,8 @@ $blocks-block__margin: 0.5em;
|
|
|
7
7
|
cursor: pointer;
|
|
8
8
|
display: inline-block;
|
|
9
9
|
text-align: center;
|
|
10
|
-
|
|
11
|
-
|
|
10
|
+
word-break: normal;
|
|
11
|
+
overflow-wrap: anywhere;
|
|
12
12
|
box-sizing: border-box;
|
|
13
13
|
height: 100%;
|
|
14
14
|
align-content: center;
|
package/src/calendar/index.php
CHANGED
|
@@ -63,7 +63,7 @@ function render_block_core_calendar( $attributes ) {
|
|
|
63
63
|
$classnames .= ' has-link-color';
|
|
64
64
|
}
|
|
65
65
|
// Apply color classes and styles to the calendar.
|
|
66
|
-
$calendar = str_replace( '<table', '<table' . $inline_styles, get_calendar(
|
|
66
|
+
$calendar = str_replace( '<table', '<table' . $inline_styles, get_calendar( array( 'display' => false ) ) );
|
|
67
67
|
$calendar = str_replace( 'class="wp-calendar-table', 'class="wp-calendar-table' . $classnames, $calendar );
|
|
68
68
|
|
|
69
69
|
$wrapper_attributes = get_block_wrapper_attributes();
|
package/src/categories/edit.jsx
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import clsx from 'clsx';
|
|
2
2
|
import {
|
|
3
3
|
Placeholder,
|
|
4
|
-
SelectControl,
|
|
4
|
+
SelectControl as WCSelectControl,
|
|
5
5
|
Spinner,
|
|
6
6
|
ToggleControl,
|
|
7
7
|
__experimentalToolsPanel as ToolsPanel,
|
|
@@ -224,7 +224,7 @@ export default function CategoriesEdit( {
|
|
|
224
224
|
} }
|
|
225
225
|
isShownByDefault
|
|
226
226
|
>
|
|
227
|
-
<
|
|
227
|
+
<WCSelectControl
|
|
228
228
|
label={ __( 'Taxonomy' ) }
|
|
229
229
|
options={ taxonomies.map( ( t ) => ( {
|
|
230
230
|
label: t.name,
|
package/src/code/README.md
CHANGED
|
@@ -32,6 +32,7 @@ _Defined via the [`supports`](https://developer.wordpress.org/block-editor/refer
|
|
|
32
32
|
- [`text`](https://developer.wordpress.org/block-editor/reference-guides/block-api/block-supports/#color-text): `true`
|
|
33
33
|
- [`background`](https://developer.wordpress.org/block-editor/reference-guides/block-api/block-supports/#color-background): `true`
|
|
34
34
|
- [`gradients`](https://developer.wordpress.org/block-editor/reference-guides/block-api/block-supports/#color-gradients): `true`
|
|
35
|
+
- [`shadow`](https://developer.wordpress.org/block-editor/reference-guides/block-api/block-supports/#shadow): `true`
|
|
35
36
|
- [`interactivity`](https://developer.wordpress.org/block-editor/reference-guides/block-api/block-supports/#interactivity):
|
|
36
37
|
- `clientNavigation`: `true`
|
|
37
38
|
|
package/src/code/block.json
CHANGED
package/src/code/save.jsx
CHANGED
package/src/columns/style.scss
CHANGED
|
@@ -95,9 +95,8 @@
|
|
|
95
95
|
min-width: 0;
|
|
96
96
|
|
|
97
97
|
// Prevent long unbroken words from overflowing.
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
overflow-wrap: break-word; // New standard.
|
|
98
|
+
word-break: normal;
|
|
99
|
+
overflow-wrap: break-word;
|
|
101
100
|
|
|
102
101
|
/**
|
|
103
102
|
* Individual Column Alignment
|
package/src/comments/style.scss
CHANGED
package/src/common.scss
CHANGED
|
@@ -91,8 +91,7 @@
|
|
|
91
91
|
padding: 0;
|
|
92
92
|
position: absolute;
|
|
93
93
|
width: 1px;
|
|
94
|
-
|
|
95
|
-
word-wrap: normal !important;
|
|
94
|
+
overflow-wrap: normal !important;
|
|
96
95
|
word-break: normal !important;
|
|
97
96
|
}
|
|
98
97
|
|
package/src/cover/edit/index.jsx
CHANGED
|
@@ -147,7 +147,7 @@ function CoverEdit( {
|
|
|
147
147
|
{
|
|
148
148
|
context: 'view',
|
|
149
149
|
}
|
|
150
|
-
|
|
150
|
+
)
|
|
151
151
|
: undefined,
|
|
152
152
|
};
|
|
153
153
|
},
|
|
@@ -208,7 +208,7 @@ function CoverEdit( {
|
|
|
208
208
|
const url = useFeaturedImage
|
|
209
209
|
? mediaUrl
|
|
210
210
|
: // Ensure the url is not malformed due to sanitization through `wp_kses`.
|
|
211
|
-
|
|
211
|
+
originalUrl?.replaceAll( '&', '&' );
|
|
212
212
|
const backgroundType = useFeaturedImage
|
|
213
213
|
? IMAGE_BACKGROUND_TYPE
|
|
214
214
|
: originalBackgroundType;
|
|
@@ -173,7 +173,7 @@ export default function CoverInspectorControls( {
|
|
|
173
173
|
'attachment',
|
|
174
174
|
id,
|
|
175
175
|
{ context: 'view' }
|
|
176
|
-
|
|
176
|
+
)
|
|
177
177
|
: null,
|
|
178
178
|
[ id, isImageBackground ]
|
|
179
179
|
);
|
|
@@ -242,7 +242,7 @@ export default function CoverInspectorControls( {
|
|
|
242
242
|
? undefined
|
|
243
243
|
: `${ nextMinHeight }${
|
|
244
244
|
nextUnit || activeMinHeightUnit || 'px'
|
|
245
|
-
|
|
245
|
+
}`,
|
|
246
246
|
aspectRatio: undefined,
|
|
247
247
|
},
|
|
248
248
|
} )
|
package/src/cover/style.scss
CHANGED
|
@@ -182,6 +182,16 @@
|
|
|
182
182
|
box-shadow: none;
|
|
183
183
|
}
|
|
184
184
|
|
|
185
|
+
&.has-aspect-ratio {
|
|
186
|
+
// Safari clips overflowing content instead of growing the box when an
|
|
187
|
+
// aspect ratio is set. Floor the height to the content in WebKit only.
|
|
188
|
+
// `!important` is required because aspect-ratio covers serialize an
|
|
189
|
+
// inline `min-height: unset`, which outranks any stylesheet rule.
|
|
190
|
+
@supports (-webkit-hyphens: none) {
|
|
191
|
+
min-height: fit-content !important;
|
|
192
|
+
}
|
|
193
|
+
}
|
|
194
|
+
|
|
185
195
|
.wp-block-cover__embed-background {
|
|
186
196
|
position: absolute;
|
|
187
197
|
top: 0;
|