@wordpress/block-library 8.18.0 → 8.19.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/README.md +1 -1
- package/build/block/edit.js +53 -2
- package/build/block/edit.js.map +1 -1
- package/build/button/edit.js +7 -4
- package/build/button/edit.js.map +1 -1
- package/build/button/index.js +11 -2
- package/build/button/index.js.map +1 -1
- package/build/button/save.js +10 -4
- package/build/button/save.js.map +1 -1
- package/build/buttons/edit.js +12 -3
- package/build/buttons/edit.js.map +1 -1
- package/build/code/edit.js +8 -2
- package/build/code/edit.js.map +1 -1
- package/build/code/index.js +7 -1
- package/build/code/index.js.map +1 -1
- package/build/column/edit.native.js +5 -5
- package/build/column/edit.native.js.map +1 -1
- package/build/column/index.js +1 -0
- package/build/column/index.js.map +1 -1
- package/build/columns/index.js +2 -0
- package/build/columns/index.js.map +1 -1
- package/build/file/edit.native.js +1 -1
- package/build/file/edit.native.js.map +1 -1
- package/build/file/index.js +2 -1
- package/build/file/index.js.map +1 -1
- package/build/file/utils/index.js +1 -15
- package/build/file/utils/index.js.map +1 -1
- package/build/file/view.js +14 -1
- package/build/file/view.js.map +1 -1
- package/build/footnotes/edit.js +14 -5
- package/build/footnotes/edit.js.map +1 -1
- package/build/gallery/edit.js +1 -1
- package/build/gallery/edit.js.map +1 -1
- package/build/group/edit.js +0 -1
- package/build/group/edit.js.map +1 -1
- package/build/group/index.js +5 -0
- package/build/group/index.js.map +1 -1
- package/build/heading/edit.js +0 -1
- package/build/heading/edit.js.map +1 -1
- package/build/heading/index.js +2 -0
- package/build/heading/index.js.map +1 -1
- package/build/heading/transforms.js +3 -6
- package/build/heading/transforms.js.map +1 -1
- package/build/image/deprecated.js +191 -7
- package/build/image/deprecated.js.map +1 -1
- package/build/image/edit.js +27 -12
- package/build/image/edit.js.map +1 -1
- package/build/image/image.js +75 -40
- package/build/image/image.js.map +1 -1
- package/build/image/index.js +7 -4
- package/build/image/index.js.map +1 -1
- package/build/image/{view-interactivity.js → view.js} +1 -1
- package/build/image/view.js.map +1 -0
- package/build/list/deprecated.js +93 -1
- package/build/list/deprecated.js.map +1 -1
- package/build/list/edit.js +10 -10
- package/build/list/edit.js.map +1 -1
- package/build/list/ordered-list-settings.js +10 -10
- package/build/list/ordered-list-settings.js.map +1 -1
- package/build/list/save.js +4 -2
- package/build/list/save.js.map +1 -1
- package/build/list/utils.js +21 -2
- package/build/list/utils.js.map +1 -1
- package/build/navigation/constants.js +1 -1
- package/build/navigation/constants.js.map +1 -1
- package/build/navigation/index.js +4 -2
- package/build/navigation/index.js.map +1 -1
- package/build/navigation/view.js +168 -82
- package/build/navigation/view.js.map +1 -1
- package/build/navigation-link/edit.js +3 -9
- package/build/navigation-link/edit.js.map +1 -1
- package/build/navigation-link/transforms.js +24 -0
- package/build/navigation-link/transforms.js.map +1 -1
- package/build/page-list/edit.js +2 -1
- package/build/page-list/edit.js.map +1 -1
- package/build/post-comments-form/edit.js +10 -2
- package/build/post-comments-form/edit.js.map +1 -1
- package/build/post-comments-form/form.js +5 -3
- package/build/post-comments-form/form.js.map +1 -1
- package/build/post-content/edit.js +8 -7
- package/build/post-content/edit.js.map +1 -1
- package/build/post-content/index.js +3 -0
- package/build/post-content/index.js.map +1 -1
- package/build/post-featured-image/overlay.js +2 -1
- package/build/post-featured-image/overlay.js.map +1 -1
- package/build/post-terms/use-post-terms.js +3 -2
- package/build/post-terms/use-post-terms.js.map +1 -1
- package/build/preformatted/edit.js +4 -1
- package/build/preformatted/edit.js.map +1 -1
- package/build/preformatted/index.js +1 -1
- package/build/preformatted/index.js.map +1 -1
- package/build/pullquote/deprecated.js +6 -7
- package/build/pullquote/deprecated.js.map +1 -1
- package/build/query/edit/enhanced-pagination-modal.js +56 -0
- package/build/query/edit/enhanced-pagination-modal.js.map +1 -0
- package/build/query/edit/inspector-controls/enhanced-pagination-control.js +42 -0
- package/build/query/edit/inspector-controls/enhanced-pagination-control.js.map +1 -0
- package/build/query/edit/inspector-controls/index.js +8 -25
- package/build/query/edit/inspector-controls/index.js.map +1 -1
- package/build/query/edit/query-content.js +8 -2
- package/build/query/edit/query-content.js.map +1 -1
- package/build/query/utils.js +19 -0
- package/build/query/utils.js.map +1 -1
- package/build/query/view.js +4 -5
- package/build/query/view.js.map +1 -1
- package/build/search/index.js +1 -0
- package/build/search/index.js.map +1 -1
- package/build/search/view.js +81 -150
- package/build/search/view.js.map +1 -1
- package/build/social-link/edit.native.js +3 -1
- package/build/social-link/edit.native.js.map +1 -1
- package/build/table/edit.js +7 -7
- package/build/table/edit.js.map +1 -1
- package/build/table-of-contents/edit.js +2 -130
- package/build/table-of-contents/edit.js.map +1 -1
- package/build/table-of-contents/hooks.js +145 -0
- package/build/table-of-contents/hooks.js.map +1 -0
- package/build/table-of-contents/index.js +2 -1
- package/build/table-of-contents/index.js.map +1 -1
- package/build/verse/edit.js +4 -1
- package/build/verse/edit.js.map +1 -1
- package/build/verse/index.js +1 -1
- package/build/verse/index.js.map +1 -1
- package/build-module/block/edit.js +54 -3
- package/build-module/block/edit.js.map +1 -1
- package/build-module/button/edit.js +7 -4
- package/build-module/button/edit.js.map +1 -1
- package/build-module/button/index.js +11 -2
- package/build-module/button/index.js.map +1 -1
- package/build-module/button/save.js +10 -4
- package/build-module/button/save.js.map +1 -1
- package/build-module/buttons/edit.js +12 -3
- package/build-module/buttons/edit.js.map +1 -1
- package/build-module/code/edit.js +8 -2
- package/build-module/code/edit.js.map +1 -1
- package/build-module/code/index.js +7 -1
- package/build-module/code/index.js.map +1 -1
- package/build-module/column/edit.native.js +5 -5
- package/build-module/column/edit.native.js.map +1 -1
- package/build-module/column/index.js +1 -0
- package/build-module/column/index.js.map +1 -1
- package/build-module/columns/index.js +2 -0
- package/build-module/columns/index.js.map +1 -1
- package/build-module/file/edit.native.js +1 -1
- package/build-module/file/edit.native.js.map +1 -1
- package/build-module/file/index.js +2 -1
- package/build-module/file/index.js.map +1 -1
- package/build-module/file/utils/index.js +0 -13
- package/build-module/file/utils/index.js.map +1 -1
- package/build-module/file/view.js +14 -2
- package/build-module/file/view.js.map +1 -1
- package/build-module/footnotes/edit.js +14 -5
- package/build-module/footnotes/edit.js.map +1 -1
- package/build-module/gallery/edit.js +1 -1
- package/build-module/gallery/edit.js.map +1 -1
- package/build-module/group/edit.js +0 -1
- package/build-module/group/edit.js.map +1 -1
- package/build-module/group/index.js +5 -0
- package/build-module/group/index.js.map +1 -1
- package/build-module/heading/edit.js +0 -1
- package/build-module/heading/edit.js.map +1 -1
- package/build-module/heading/index.js +2 -0
- package/build-module/heading/index.js.map +1 -1
- package/build-module/heading/transforms.js +3 -6
- package/build-module/heading/transforms.js.map +1 -1
- package/build-module/image/deprecated.js +191 -7
- package/build-module/image/deprecated.js.map +1 -1
- package/build-module/image/edit.js +27 -12
- package/build-module/image/edit.js.map +1 -1
- package/build-module/image/image.js +77 -42
- package/build-module/image/image.js.map +1 -1
- package/build-module/image/index.js +7 -4
- package/build-module/image/index.js.map +1 -1
- package/build-module/image/{view-interactivity.js → view.js} +1 -1
- package/build-module/image/view.js.map +1 -0
- package/build-module/list/deprecated.js +95 -3
- package/build-module/list/deprecated.js.map +1 -1
- package/build-module/list/edit.js +10 -10
- package/build-module/list/edit.js.map +1 -1
- package/build-module/list/ordered-list-settings.js +10 -10
- package/build-module/list/ordered-list-settings.js.map +1 -1
- package/build-module/list/save.js +4 -2
- package/build-module/list/save.js.map +1 -1
- package/build-module/list/utils.js +20 -2
- package/build-module/list/utils.js.map +1 -1
- package/build-module/navigation/constants.js +1 -1
- package/build-module/navigation/constants.js.map +1 -1
- package/build-module/navigation/index.js +4 -2
- package/build-module/navigation/index.js.map +1 -1
- package/build-module/navigation/view.js +168 -83
- package/build-module/navigation/view.js.map +1 -1
- package/build-module/navigation-link/edit.js +3 -9
- package/build-module/navigation-link/edit.js.map +1 -1
- package/build-module/navigation-link/transforms.js +24 -0
- package/build-module/navigation-link/transforms.js.map +1 -1
- package/build-module/page-list/edit.js +2 -1
- package/build-module/page-list/edit.js.map +1 -1
- package/build-module/post-comments-form/edit.js +10 -2
- package/build-module/post-comments-form/edit.js.map +1 -1
- package/build-module/post-comments-form/form.js +5 -3
- package/build-module/post-comments-form/form.js.map +1 -1
- package/build-module/post-content/edit.js +8 -7
- package/build-module/post-content/edit.js.map +1 -1
- package/build-module/post-content/index.js +3 -0
- package/build-module/post-content/index.js.map +1 -1
- package/build-module/post-featured-image/overlay.js +2 -1
- package/build-module/post-featured-image/overlay.js.map +1 -1
- package/build-module/post-terms/use-post-terms.js +3 -2
- package/build-module/post-terms/use-post-terms.js.map +1 -1
- package/build-module/preformatted/edit.js +4 -1
- package/build-module/preformatted/edit.js.map +1 -1
- package/build-module/preformatted/index.js +1 -1
- package/build-module/preformatted/index.js.map +1 -1
- package/build-module/pullquote/deprecated.js +6 -7
- package/build-module/pullquote/deprecated.js.map +1 -1
- package/build-module/query/edit/enhanced-pagination-modal.js +50 -0
- package/build-module/query/edit/enhanced-pagination-modal.js.map +1 -0
- package/build-module/query/edit/inspector-controls/enhanced-pagination-control.js +35 -0
- package/build-module/query/edit/inspector-controls/enhanced-pagination-control.js.map +1 -0
- package/build-module/query/edit/inspector-controls/index.js +9 -26
- package/build-module/query/edit/inspector-controls/index.js.map +1 -1
- package/build-module/query/edit/query-content.js +8 -2
- package/build-module/query/edit/query-content.js.map +1 -1
- package/build-module/query/utils.js +17 -0
- package/build-module/query/utils.js.map +1 -1
- package/build-module/query/view.js +4 -5
- package/build-module/query/view.js.map +1 -1
- package/build-module/search/index.js +1 -0
- package/build-module/search/index.js.map +1 -1
- package/build-module/search/view.js +81 -151
- package/build-module/search/view.js.map +1 -1
- package/build-module/social-link/edit.native.js +3 -1
- package/build-module/social-link/edit.native.js.map +1 -1
- package/build-module/table/edit.js +7 -7
- package/build-module/table/edit.js.map +1 -1
- package/build-module/table-of-contents/edit.js +3 -131
- package/build-module/table-of-contents/edit.js.map +1 -1
- package/build-module/table-of-contents/hooks.js +137 -0
- package/build-module/table-of-contents/hooks.js.map +1 -0
- package/build-module/table-of-contents/index.js +2 -1
- package/build-module/table-of-contents/index.js.map +1 -1
- package/build-module/verse/edit.js +4 -1
- package/build-module/verse/edit.js.map +1 -1
- package/build-module/verse/index.js +1 -1
- package/build-module/verse/index.js.map +1 -1
- package/build-style/cover/style-rtl.css +9 -0
- package/build-style/cover/style.css +9 -0
- package/build-style/editor-rtl.css +15 -9
- package/build-style/editor.css +15 -9
- package/build-style/file/style-rtl.css +5 -0
- package/build-style/file/style.css +5 -0
- package/build-style/heading/style-rtl.css +13 -0
- package/build-style/heading/style.css +13 -0
- package/build-style/navigation-link/editor-rtl.css +0 -9
- package/build-style/navigation-link/editor.css +0 -9
- package/build-style/paragraph/editor-rtl.css +5 -0
- package/build-style/paragraph/editor.css +5 -0
- package/build-style/paragraph/style-rtl.css +5 -0
- package/build-style/paragraph/style.css +5 -0
- package/build-style/post-navigation-link/style-rtl.css +3 -0
- package/build-style/post-navigation-link/style.css +3 -0
- package/build-style/query/editor-rtl.css +10 -0
- package/build-style/query/editor.css +10 -0
- package/build-style/query/style-rtl.css +1 -1
- package/build-style/query/style.css +1 -1
- package/build-style/reset-rtl.css +27 -27
- package/build-style/reset.css +27 -27
- package/build-style/style-rtl.css +35 -0
- package/build-style/style.css +35 -0
- package/package.json +32 -33
- package/src/audio/test/__snapshots__/edit.native.js.snap +78 -106
- package/src/avatar/index.php +2 -2
- package/src/block/edit.js +58 -2
- package/src/block/test/edit.native.js +2 -3
- package/src/button/block.json +11 -2
- package/src/button/edit.js +27 -11
- package/src/button/save.js +10 -4
- package/src/buttons/edit.js +13 -3
- package/src/buttons/test/edit.native.js +28 -24
- package/src/calendar/index.php +2 -2
- package/src/code/block.json +2 -1
- package/src/code/edit.js +13 -1
- package/src/code/index.js +5 -0
- package/src/column/block.json +1 -0
- package/src/column/edit.native.js +4 -4
- package/src/columns/block.json +2 -0
- package/src/columns/test/__snapshots__/edit.native.js.snap +14 -0
- package/src/columns/test/edit.native.js +47 -17
- package/src/comment-template/index.php +1 -1
- package/src/comments-pagination-next/index.php +1 -1
- package/src/comments-pagination-previous/index.php +1 -1
- package/src/cover/style.scss +12 -1
- package/src/cover/test/edit.js +7 -7
- package/src/cover/test/edit.native.js +18 -27
- package/src/embed/test/index.native.js +30 -45
- package/src/file/block.json +2 -1
- package/src/file/edit.native.js +1 -1
- package/src/file/index.php +19 -21
- package/src/file/style.scss +6 -1
- package/src/file/test/__snapshots__/edit.native.js.snap +162 -218
- package/src/file/utils/index.js +0 -15
- package/src/file/view.js +14 -5
- package/src/footnotes/edit.js +16 -2
- package/src/gallery/edit.js +1 -1
- package/src/gallery/index.php +1 -1
- package/src/group/block.json +5 -0
- package/src/group/edit.js +0 -1
- package/src/heading/block.json +2 -0
- package/src/heading/edit.js +0 -1
- package/src/heading/style.scss +4 -0
- package/src/heading/transforms.js +1 -6
- package/src/image/block.json +7 -4
- package/src/image/deprecated.js +210 -7
- package/src/image/edit.js +43 -29
- package/src/image/image.js +86 -43
- package/src/image/index.php +251 -28
- package/src/latest-posts/index.php +1 -1
- package/src/list/deprecated.js +84 -3
- package/src/list/edit.js +6 -3
- package/src/list/ordered-list-settings.js +20 -5
- package/src/list/save.js +10 -1
- package/src/list/test/edit.native.js +2 -4
- package/src/list/utils.js +22 -1
- package/src/navigation/block.json +4 -2
- package/src/navigation/constants.js +1 -0
- package/src/navigation/index.php +85 -123
- package/src/navigation/view.js +192 -96
- package/src/navigation-link/edit.js +21 -36
- package/src/navigation-link/editor.scss +0 -8
- package/src/navigation-link/transforms.js +22 -0
- package/src/page-list/edit.js +2 -1
- package/src/paragraph/editor.scss +5 -0
- package/src/paragraph/style.scss +5 -0
- package/src/pattern/index.php +2 -2
- package/src/post-comments-form/edit.js +10 -0
- package/src/post-comments-form/form.js +7 -1
- package/src/post-content/block.json +3 -0
- package/src/post-content/edit.js +14 -6
- package/src/post-excerpt/index.php +2 -2
- package/src/post-featured-image/index.php +2 -2
- package/src/post-featured-image/overlay.js +1 -0
- package/src/post-navigation-link/index.php +5 -1
- package/src/post-navigation-link/style.scss +4 -0
- package/src/post-template/index.php +1 -1
- package/src/post-terms/index.php +5 -2
- package/src/post-terms/use-post-terms.js +4 -2
- package/src/preformatted/edit.js +5 -0
- package/src/preformatted/index.js +1 -1
- package/src/pullquote/deprecated.js +8 -13
- package/src/query/edit/enhanced-pagination-modal.js +65 -0
- package/src/query/edit/inspector-controls/enhanced-pagination-control.js +49 -0
- package/src/query/edit/inspector-controls/index.js +9 -45
- package/src/query/edit/query-content.js +8 -0
- package/src/query/editor.scss +10 -0
- package/src/query/index.php +29 -16
- package/src/query/style.scss +2 -2
- package/src/query/utils.js +22 -0
- package/src/query/view.js +5 -5
- package/src/query-pagination-next/index.php +1 -1
- package/src/query-pagination-previous/index.php +1 -1
- package/src/reset.scss +1 -1
- package/src/search/block.json +1 -0
- package/src/search/index.php +45 -4
- package/src/search/test/__snapshots__/edit.native.js.snap +265 -363
- package/src/search/view.js +70 -169
- package/src/social-link/edit.native.js +1 -1
- package/src/social-link/editor.native.scss +4 -0
- package/src/table/edit.js +21 -19
- package/src/table-of-contents/block.json +2 -1
- package/src/table-of-contents/edit.js +5 -162
- package/src/table-of-contents/hooks.js +156 -0
- package/src/verse/edit.js +5 -0
- package/src/verse/index.js +1 -1
- package/src/verse/test/edit.native.js +2 -3
- package/build/file/view-interactivity.js +0 -22
- package/build/file/view-interactivity.js.map +0 -1
- package/build/image/view-interactivity.js.map +0 -1
- package/build/navigation/view-interactivity.js +0 -172
- package/build/navigation/view-interactivity.js.map +0 -1
- package/build/navigation/view-modal.js +0 -115
- package/build/navigation/view-modal.js.map +0 -1
- package/build-module/file/view-interactivity.js +0 -18
- package/build-module/file/view-interactivity.js.map +0 -1
- package/build-module/image/view-interactivity.js.map +0 -1
- package/build-module/navigation/view-interactivity.js +0 -169
- package/build-module/navigation/view-interactivity.js.map +0 -1
- package/build-module/navigation/view-modal.js +0 -112
- package/build-module/navigation/view-modal.js.map +0 -1
- package/src/file/view-interactivity.js +0 -18
- package/src/navigation/view-interactivity.js +0 -196
- package/src/navigation/view-modal.js +0 -127
- /package/src/image/{view-interactivity.js → view.js} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["__","verse","icon","initBlock","deprecated","edit","metadata","$schema","apiVersion","name","title","category","description","keywords","textdomain","attributes","content","type","source","selector","__unstablePreserveWhiteSpace","__experimentalRole","textAlign","supports","anchor","color","gradients","link","__experimentalDefaultControls","background","text","typography","fontSize","__experimentalFontFamily","lineHeight","__experimentalFontStyle","__experimentalFontWeight","__experimentalLetterSpacing","__experimentalTextTransform","__experimentalTextDecoration","fontAppearance","spacing","margin","padding","__experimentalBorder","radius","width","style","editorStyle","save","transforms","settings","example","merge","attributesToMerge","init"],"sources":["@wordpress/block-library/src/verse/index.js"],"sourcesContent":["/**\n * WordPress dependencies\n */\nimport { __ } from '@wordpress/i18n';\nimport { verse as icon } from '@wordpress/icons';\n\n/**\n * Internal dependencies\n */\nimport initBlock from '../utils/init-block';\nimport deprecated from './deprecated';\nimport edit from './edit';\nimport metadata from './block.json';\nimport save from './save';\nimport transforms from './transforms';\n\nconst { name } = metadata;\n\nexport { metadata, name };\n\nexport const settings = {\n\ticon,\n\texample: {\n\t\tattributes: {\n\t\t\t/* eslint-disable @wordpress/i18n-no-collapsible-whitespace */\n\t\t\t// translators: Sample content for the Verse block. Can be replaced with a more locale-adequate work.\n\t\t\tcontent: __(\n\t\t\t\t'WHAT was he doing, the great god Pan,\\n\tDown in the reeds by the river?\\nSpreading ruin and scattering ban,\\nSplashing and paddling with hoofs of a goat,\\nAnd breaking the golden lilies afloat\\n With the dragon-fly on the river.'\n\t\t\t),\n\t\t\t/* eslint-enable @wordpress/i18n-no-collapsible-whitespace */\n\t\t},\n\t},\n\ttransforms,\n\tdeprecated,\n\tmerge( attributes, attributesToMerge ) {\n\t\treturn {\n\t\t\tcontent: attributes.content + attributesToMerge.content,\n\t\t};\n\t},\n\tedit,\n\tsave,\n};\n\nexport const init = () => initBlock( { name, metadata, settings } );\n"],"mappings":"AAAA;AACA;AACA;AACA,SAASA,EAAE,QAAQ,iBAAiB;AACpC,SAASC,KAAK,IAAIC,IAAI,QAAQ,kBAAkB;;AAEhD;AACA;AACA;AACA,OAAOC,SAAS,MAAM,qBAAqB;AAC3C,OAAOC,UAAU,MAAM,cAAc;AACrC,OAAOC,IAAI,MAAM,QAAQ;AAAC,MAAAC,QAAA;EAAAC,OAAA;EAAAC,UAAA;EAAAC,IAAA;EAAAC,KAAA;EAAAC,QAAA;EAAAC,WAAA;EAAAC,QAAA;EAAAC,UAAA;EAAAC,UAAA;IAAAC,OAAA;MAAAC,IAAA;MAAAC,MAAA;MAAAC,QAAA;MAAA;MAAAC,4BAAA;MAAAC,kBAAA;IAAA;IAAAC,SAAA;MAAAL,IAAA;IAAA;EAAA;EAAAM,QAAA;IAAAC,MAAA;IAAAC,KAAA;MAAAC,SAAA;MAAAC,IAAA;MAAAC,6BAAA;QAAAC,UAAA;QAAAC,IAAA;MAAA;IAAA;IAAAC,UAAA;MAAAC,QAAA;MAAAC,wBAAA;MAAAC,UAAA;MAAAC,uBAAA;MAAAC,wBAAA;MAAAC,2BAAA;MAAAC,2BAAA;MAAAC,4BAAA;MAAAX,6BAAA;QAAAI,QAAA;QAAAQ,cAAA;MAAA;IAAA;IAAAC,OAAA;MAAAC,MAAA;MAAAC,OAAA;MAAAf,6BAAA;QAAAc,MAAA;QAAAC,OAAA;MAAA;IAAA;IAAAC,oBAAA;MAAAC,MAAA;MAAAC,KAAA;MAAArB,KAAA;MAAAsB,KAAA;IAAA;EAAA;EAAAA,KAAA;EAAAC,WAAA;AAAA;AAE1B,OAAOC,IAAI,MAAM,QAAQ;AACzB,OAAOC,UAAU,MAAM,cAAc;AAErC,MAAM;EAAEzC;AAAK,CAAC,GAAGH,QAAQ;AAEzB,SAASA,QAAQ,EAAEG,IAAI;AAEvB,OAAO,MAAM0C,QAAQ,GAAG;EACvBjD,IAAI;EACJkD,OAAO,EAAE;IACRrC,UAAU,EAAE;MACX;MACA;MACAC,OAAO,EAAEhB,EAAE,CACV,yOACD;MACA;IACD;EACD,CAAC;;EACDkD,UAAU;EACV9C,UAAU;EACViD,KAAKA,CAAEtC,UAAU,EAAEuC,iBAAiB,EAAG;IACtC,OAAO;MACNtC,OAAO,EAAED,UAAU,CAACC,OAAO,GAAGsC,iBAAiB,CAACtC;
|
|
1
|
+
{"version":3,"names":["__","verse","icon","initBlock","deprecated","edit","metadata","$schema","apiVersion","name","title","category","description","keywords","textdomain","attributes","content","type","source","selector","__unstablePreserveWhiteSpace","__experimentalRole","textAlign","supports","anchor","color","gradients","link","__experimentalDefaultControls","background","text","typography","fontSize","__experimentalFontFamily","lineHeight","__experimentalFontStyle","__experimentalFontWeight","__experimentalLetterSpacing","__experimentalTextTransform","__experimentalTextDecoration","fontAppearance","spacing","margin","padding","__experimentalBorder","radius","width","style","editorStyle","save","transforms","settings","example","merge","attributesToMerge","init"],"sources":["@wordpress/block-library/src/verse/index.js"],"sourcesContent":["/**\n * WordPress dependencies\n */\nimport { __ } from '@wordpress/i18n';\nimport { verse as icon } from '@wordpress/icons';\n\n/**\n * Internal dependencies\n */\nimport initBlock from '../utils/init-block';\nimport deprecated from './deprecated';\nimport edit from './edit';\nimport metadata from './block.json';\nimport save from './save';\nimport transforms from './transforms';\n\nconst { name } = metadata;\n\nexport { metadata, name };\n\nexport const settings = {\n\ticon,\n\texample: {\n\t\tattributes: {\n\t\t\t/* eslint-disable @wordpress/i18n-no-collapsible-whitespace */\n\t\t\t// translators: Sample content for the Verse block. Can be replaced with a more locale-adequate work.\n\t\t\tcontent: __(\n\t\t\t\t'WHAT was he doing, the great god Pan,\\n\tDown in the reeds by the river?\\nSpreading ruin and scattering ban,\\nSplashing and paddling with hoofs of a goat,\\nAnd breaking the golden lilies afloat\\n With the dragon-fly on the river.'\n\t\t\t),\n\t\t\t/* eslint-enable @wordpress/i18n-no-collapsible-whitespace */\n\t\t},\n\t},\n\ttransforms,\n\tdeprecated,\n\tmerge( attributes, attributesToMerge ) {\n\t\treturn {\n\t\t\tcontent: attributes.content + '\\n\\n' + attributesToMerge.content,\n\t\t};\n\t},\n\tedit,\n\tsave,\n};\n\nexport const init = () => initBlock( { name, metadata, settings } );\n"],"mappings":"AAAA;AACA;AACA;AACA,SAASA,EAAE,QAAQ,iBAAiB;AACpC,SAASC,KAAK,IAAIC,IAAI,QAAQ,kBAAkB;;AAEhD;AACA;AACA;AACA,OAAOC,SAAS,MAAM,qBAAqB;AAC3C,OAAOC,UAAU,MAAM,cAAc;AACrC,OAAOC,IAAI,MAAM,QAAQ;AAAC,MAAAC,QAAA;EAAAC,OAAA;EAAAC,UAAA;EAAAC,IAAA;EAAAC,KAAA;EAAAC,QAAA;EAAAC,WAAA;EAAAC,QAAA;EAAAC,UAAA;EAAAC,UAAA;IAAAC,OAAA;MAAAC,IAAA;MAAAC,MAAA;MAAAC,QAAA;MAAA;MAAAC,4BAAA;MAAAC,kBAAA;IAAA;IAAAC,SAAA;MAAAL,IAAA;IAAA;EAAA;EAAAM,QAAA;IAAAC,MAAA;IAAAC,KAAA;MAAAC,SAAA;MAAAC,IAAA;MAAAC,6BAAA;QAAAC,UAAA;QAAAC,IAAA;MAAA;IAAA;IAAAC,UAAA;MAAAC,QAAA;MAAAC,wBAAA;MAAAC,UAAA;MAAAC,uBAAA;MAAAC,wBAAA;MAAAC,2BAAA;MAAAC,2BAAA;MAAAC,4BAAA;MAAAX,6BAAA;QAAAI,QAAA;QAAAQ,cAAA;MAAA;IAAA;IAAAC,OAAA;MAAAC,MAAA;MAAAC,OAAA;MAAAf,6BAAA;QAAAc,MAAA;QAAAC,OAAA;MAAA;IAAA;IAAAC,oBAAA;MAAAC,MAAA;MAAAC,KAAA;MAAArB,KAAA;MAAAsB,KAAA;IAAA;EAAA;EAAAA,KAAA;EAAAC,WAAA;AAAA;AAE1B,OAAOC,IAAI,MAAM,QAAQ;AACzB,OAAOC,UAAU,MAAM,cAAc;AAErC,MAAM;EAAEzC;AAAK,CAAC,GAAGH,QAAQ;AAEzB,SAASA,QAAQ,EAAEG,IAAI;AAEvB,OAAO,MAAM0C,QAAQ,GAAG;EACvBjD,IAAI;EACJkD,OAAO,EAAE;IACRrC,UAAU,EAAE;MACX;MACA;MACAC,OAAO,EAAEhB,EAAE,CACV,yOACD;MACA;IACD;EACD,CAAC;;EACDkD,UAAU;EACV9C,UAAU;EACViD,KAAKA,CAAEtC,UAAU,EAAEuC,iBAAiB,EAAG;IACtC,OAAO;MACNtC,OAAO,EAAED,UAAU,CAACC,OAAO,GAAG,MAAM,GAAGsC,iBAAiB,CAACtC;IAC1D,CAAC;EACF,CAAC;EACDX,IAAI;EACJ4C;AACD,CAAC;AAED,OAAO,MAAMM,IAAI,GAAGA,CAAA,KAAMpD,SAAS,CAAE;EAAEM,IAAI;EAAEH,QAAQ;EAAE6C;AAAS,CAAE,CAAC"}
|
|
@@ -379,6 +379,15 @@
|
|
|
379
379
|
.wp-block-cover-image.has-custom-content-position.has-custom-content-position .wp-block-cover__inner-container,
|
|
380
380
|
.wp-block-cover.has-custom-content-position.has-custom-content-position .wp-block-cover__inner-container {
|
|
381
381
|
margin: 0;
|
|
382
|
+
}
|
|
383
|
+
.wp-block-cover-image.has-custom-content-position.has-custom-content-position.is-position-top-left .wp-block-cover__inner-container, .wp-block-cover-image.has-custom-content-position.has-custom-content-position.is-position-top-right .wp-block-cover__inner-container, .wp-block-cover-image.has-custom-content-position.has-custom-content-position.is-position-center-left .wp-block-cover__inner-container, .wp-block-cover-image.has-custom-content-position.has-custom-content-position.is-position-center-right .wp-block-cover__inner-container, .wp-block-cover-image.has-custom-content-position.has-custom-content-position.is-position-bottom-left .wp-block-cover__inner-container, .wp-block-cover-image.has-custom-content-position.has-custom-content-position.is-position-bottom-right .wp-block-cover__inner-container,
|
|
384
|
+
.wp-block-cover.has-custom-content-position.has-custom-content-position.is-position-top-left .wp-block-cover__inner-container,
|
|
385
|
+
.wp-block-cover.has-custom-content-position.has-custom-content-position.is-position-top-right .wp-block-cover__inner-container,
|
|
386
|
+
.wp-block-cover.has-custom-content-position.has-custom-content-position.is-position-center-left .wp-block-cover__inner-container,
|
|
387
|
+
.wp-block-cover.has-custom-content-position.has-custom-content-position.is-position-center-right .wp-block-cover__inner-container,
|
|
388
|
+
.wp-block-cover.has-custom-content-position.has-custom-content-position.is-position-bottom-left .wp-block-cover__inner-container,
|
|
389
|
+
.wp-block-cover.has-custom-content-position.has-custom-content-position.is-position-bottom-right .wp-block-cover__inner-container {
|
|
390
|
+
margin: 0;
|
|
382
391
|
width: auto;
|
|
383
392
|
}
|
|
384
393
|
.wp-block-cover-image .wp-block-cover__image-background,
|
|
@@ -381,6 +381,15 @@
|
|
|
381
381
|
.wp-block-cover-image.has-custom-content-position.has-custom-content-position .wp-block-cover__inner-container,
|
|
382
382
|
.wp-block-cover.has-custom-content-position.has-custom-content-position .wp-block-cover__inner-container {
|
|
383
383
|
margin: 0;
|
|
384
|
+
}
|
|
385
|
+
.wp-block-cover-image.has-custom-content-position.has-custom-content-position.is-position-top-left .wp-block-cover__inner-container, .wp-block-cover-image.has-custom-content-position.has-custom-content-position.is-position-top-right .wp-block-cover__inner-container, .wp-block-cover-image.has-custom-content-position.has-custom-content-position.is-position-center-left .wp-block-cover__inner-container, .wp-block-cover-image.has-custom-content-position.has-custom-content-position.is-position-center-right .wp-block-cover__inner-container, .wp-block-cover-image.has-custom-content-position.has-custom-content-position.is-position-bottom-left .wp-block-cover__inner-container, .wp-block-cover-image.has-custom-content-position.has-custom-content-position.is-position-bottom-right .wp-block-cover__inner-container,
|
|
386
|
+
.wp-block-cover.has-custom-content-position.has-custom-content-position.is-position-top-left .wp-block-cover__inner-container,
|
|
387
|
+
.wp-block-cover.has-custom-content-position.has-custom-content-position.is-position-top-right .wp-block-cover__inner-container,
|
|
388
|
+
.wp-block-cover.has-custom-content-position.has-custom-content-position.is-position-center-left .wp-block-cover__inner-container,
|
|
389
|
+
.wp-block-cover.has-custom-content-position.has-custom-content-position.is-position-center-right .wp-block-cover__inner-container,
|
|
390
|
+
.wp-block-cover.has-custom-content-position.has-custom-content-position.is-position-bottom-left .wp-block-cover__inner-container,
|
|
391
|
+
.wp-block-cover.has-custom-content-position.has-custom-content-position.is-position-bottom-right .wp-block-cover__inner-container {
|
|
392
|
+
margin: 0;
|
|
384
393
|
width: auto;
|
|
385
394
|
}
|
|
386
395
|
.wp-block-cover-image .wp-block-cover__image-background,
|
|
@@ -2101,15 +2101,6 @@ body.editor-styles-wrapper .wp-block-navigation__responsive-container.is-menu-op
|
|
|
2101
2101
|
color: #000;
|
|
2102
2102
|
}
|
|
2103
2103
|
|
|
2104
|
-
.wp-block-navigation-link__missing_text-tooltip {
|
|
2105
|
-
position: absolute;
|
|
2106
|
-
width: 1px;
|
|
2107
|
-
height: 1px;
|
|
2108
|
-
padding: 0;
|
|
2109
|
-
margin: -1px;
|
|
2110
|
-
overflow: hidden;
|
|
2111
|
-
}
|
|
2112
|
-
|
|
2113
2104
|
/**
|
|
2114
2105
|
* Menu item setup state. Is shown when a menu item has no URL configured.
|
|
2115
2106
|
*/
|
|
@@ -2288,6 +2279,11 @@ body.editor-styles-wrapper .wp-block-navigation__responsive-container.is-menu-op
|
|
|
2288
2279
|
opacity: 0;
|
|
2289
2280
|
}
|
|
2290
2281
|
|
|
2282
|
+
.block-editor-block-list__block[data-type="core/paragraph"].has-text-align-right[style*="writing-mode: vertical-rl"],
|
|
2283
|
+
.block-editor-block-list__block[data-type="core/paragraph"].has-text-align-left[style*="writing-mode: vertical-lr"] {
|
|
2284
|
+
rotate: 180deg;
|
|
2285
|
+
}
|
|
2286
|
+
|
|
2291
2287
|
.wp-block-post-excerpt .wp-block-post-excerpt__excerpt.is-inline {
|
|
2292
2288
|
display: inline;
|
|
2293
2289
|
}
|
|
@@ -2898,6 +2894,16 @@ body.editor-styles-wrapper .wp-block-navigation__responsive-container.is-menu-op
|
|
|
2898
2894
|
margin-bottom: 24px;
|
|
2899
2895
|
}
|
|
2900
2896
|
|
|
2897
|
+
@media (min-width: 600px) {
|
|
2898
|
+
.wp-block-query__enhanced-pagination-modal {
|
|
2899
|
+
max-width: 480px;
|
|
2900
|
+
}
|
|
2901
|
+
}
|
|
2902
|
+
|
|
2903
|
+
.wp-block-query__enhanced-pagination-notice {
|
|
2904
|
+
margin: 0;
|
|
2905
|
+
}
|
|
2906
|
+
|
|
2901
2907
|
.wp-block[data-align=center] > .wp-block-query-pagination {
|
|
2902
2908
|
justify-content: center;
|
|
2903
2909
|
}
|
package/build-style/editor.css
CHANGED
|
@@ -2109,15 +2109,6 @@ body.editor-styles-wrapper .wp-block-navigation__responsive-container.is-menu-op
|
|
|
2109
2109
|
color: #000;
|
|
2110
2110
|
}
|
|
2111
2111
|
|
|
2112
|
-
.wp-block-navigation-link__missing_text-tooltip {
|
|
2113
|
-
position: absolute;
|
|
2114
|
-
width: 1px;
|
|
2115
|
-
height: 1px;
|
|
2116
|
-
padding: 0;
|
|
2117
|
-
margin: -1px;
|
|
2118
|
-
overflow: hidden;
|
|
2119
|
-
}
|
|
2120
|
-
|
|
2121
2112
|
/**
|
|
2122
2113
|
* Menu item setup state. Is shown when a menu item has no URL configured.
|
|
2123
2114
|
*/
|
|
@@ -2296,6 +2287,11 @@ body.editor-styles-wrapper .wp-block-navigation__responsive-container.is-menu-op
|
|
|
2296
2287
|
opacity: 0;
|
|
2297
2288
|
}
|
|
2298
2289
|
|
|
2290
|
+
.block-editor-block-list__block[data-type="core/paragraph"].has-text-align-right[style*="writing-mode: vertical-rl"],
|
|
2291
|
+
.block-editor-block-list__block[data-type="core/paragraph"].has-text-align-left[style*="writing-mode: vertical-lr"] {
|
|
2292
|
+
rotate: 180deg;
|
|
2293
|
+
}
|
|
2294
|
+
|
|
2299
2295
|
.wp-block-post-excerpt .wp-block-post-excerpt__excerpt.is-inline {
|
|
2300
2296
|
display: inline;
|
|
2301
2297
|
}
|
|
@@ -2906,6 +2902,16 @@ body.editor-styles-wrapper .wp-block-navigation__responsive-container.is-menu-op
|
|
|
2906
2902
|
margin-bottom: 24px;
|
|
2907
2903
|
}
|
|
2908
2904
|
|
|
2905
|
+
@media (min-width: 600px) {
|
|
2906
|
+
.wp-block-query__enhanced-pagination-modal {
|
|
2907
|
+
max-width: 480px;
|
|
2908
|
+
}
|
|
2909
|
+
}
|
|
2910
|
+
|
|
2911
|
+
.wp-block-query__enhanced-pagination-notice {
|
|
2912
|
+
margin: 0;
|
|
2913
|
+
}
|
|
2914
|
+
|
|
2909
2915
|
.wp-block[data-align=center] > .wp-block-query-pagination {
|
|
2910
2916
|
justify-content: center;
|
|
2911
2917
|
}
|
|
@@ -93,4 +93,17 @@ h4.has-background,
|
|
|
93
93
|
h5.has-background,
|
|
94
94
|
h6.has-background {
|
|
95
95
|
padding: 1.25em 2.375em;
|
|
96
|
+
}
|
|
97
|
+
h1.has-text-align-right[style*=writing-mode]:where([style*="vertical-rl"]), h1.has-text-align-left[style*=writing-mode]:where([style*="vertical-lr"]),
|
|
98
|
+
h2.has-text-align-right[style*=writing-mode]:where([style*="vertical-rl"]),
|
|
99
|
+
h2.has-text-align-left[style*=writing-mode]:where([style*="vertical-lr"]),
|
|
100
|
+
h3.has-text-align-right[style*=writing-mode]:where([style*="vertical-rl"]),
|
|
101
|
+
h3.has-text-align-left[style*=writing-mode]:where([style*="vertical-lr"]),
|
|
102
|
+
h4.has-text-align-right[style*=writing-mode]:where([style*="vertical-rl"]),
|
|
103
|
+
h4.has-text-align-left[style*=writing-mode]:where([style*="vertical-lr"]),
|
|
104
|
+
h5.has-text-align-right[style*=writing-mode]:where([style*="vertical-rl"]),
|
|
105
|
+
h5.has-text-align-left[style*=writing-mode]:where([style*="vertical-lr"]),
|
|
106
|
+
h6.has-text-align-right[style*=writing-mode]:where([style*="vertical-rl"]),
|
|
107
|
+
h6.has-text-align-left[style*=writing-mode]:where([style*="vertical-lr"]) {
|
|
108
|
+
rotate: 180deg;
|
|
96
109
|
}
|
|
@@ -93,4 +93,17 @@ h4.has-background,
|
|
|
93
93
|
h5.has-background,
|
|
94
94
|
h6.has-background {
|
|
95
95
|
padding: 1.25em 2.375em;
|
|
96
|
+
}
|
|
97
|
+
h1.has-text-align-right[style*=writing-mode]:where([style*="vertical-rl"]), h1.has-text-align-left[style*=writing-mode]:where([style*="vertical-lr"]),
|
|
98
|
+
h2.has-text-align-right[style*=writing-mode]:where([style*="vertical-rl"]),
|
|
99
|
+
h2.has-text-align-left[style*=writing-mode]:where([style*="vertical-lr"]),
|
|
100
|
+
h3.has-text-align-right[style*=writing-mode]:where([style*="vertical-rl"]),
|
|
101
|
+
h3.has-text-align-left[style*=writing-mode]:where([style*="vertical-lr"]),
|
|
102
|
+
h4.has-text-align-right[style*=writing-mode]:where([style*="vertical-rl"]),
|
|
103
|
+
h4.has-text-align-left[style*=writing-mode]:where([style*="vertical-lr"]),
|
|
104
|
+
h5.has-text-align-right[style*=writing-mode]:where([style*="vertical-rl"]),
|
|
105
|
+
h5.has-text-align-left[style*=writing-mode]:where([style*="vertical-lr"]),
|
|
106
|
+
h6.has-text-align-right[style*=writing-mode]:where([style*="vertical-rl"]),
|
|
107
|
+
h6.has-text-align-left[style*=writing-mode]:where([style*="vertical-lr"]) {
|
|
108
|
+
rotate: 180deg;
|
|
96
109
|
}
|
|
@@ -134,15 +134,6 @@
|
|
|
134
134
|
color: #000;
|
|
135
135
|
}
|
|
136
136
|
|
|
137
|
-
.wp-block-navigation-link__missing_text-tooltip {
|
|
138
|
-
position: absolute;
|
|
139
|
-
width: 1px;
|
|
140
|
-
height: 1px;
|
|
141
|
-
padding: 0;
|
|
142
|
-
margin: -1px;
|
|
143
|
-
overflow: hidden;
|
|
144
|
-
}
|
|
145
|
-
|
|
146
137
|
/**
|
|
147
138
|
* Menu item setup state. Is shown when a menu item has no URL configured.
|
|
148
139
|
*/
|
|
@@ -134,15 +134,6 @@
|
|
|
134
134
|
color: #000;
|
|
135
135
|
}
|
|
136
136
|
|
|
137
|
-
.wp-block-navigation-link__missing_text-tooltip {
|
|
138
|
-
position: absolute;
|
|
139
|
-
width: 1px;
|
|
140
|
-
height: 1px;
|
|
141
|
-
padding: 0;
|
|
142
|
-
margin: -1px;
|
|
143
|
-
overflow: hidden;
|
|
144
|
-
}
|
|
145
|
-
|
|
146
137
|
/**
|
|
147
138
|
* Menu item setup state. Is shown when a menu item has no URL configured.
|
|
148
139
|
*/
|
|
@@ -96,4 +96,9 @@
|
|
|
96
96
|
|
|
97
97
|
.block-editor-block-list__block[data-empty=true] + .block-editor-block-list__block[data-empty=true]:not([data-custom-placeholder=true]) [data-rich-text-placeholder] {
|
|
98
98
|
opacity: 0;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
.block-editor-block-list__block[data-type="core/paragraph"].has-text-align-right[style*="writing-mode: vertical-rl"],
|
|
102
|
+
.block-editor-block-list__block[data-type="core/paragraph"].has-text-align-left[style*="writing-mode: vertical-lr"] {
|
|
103
|
+
rotate: 180deg;
|
|
99
104
|
}
|
|
@@ -96,4 +96,9 @@
|
|
|
96
96
|
|
|
97
97
|
.block-editor-block-list__block[data-empty=true] + .block-editor-block-list__block[data-empty=true]:not([data-custom-placeholder=true]) [data-rich-text-placeholder] {
|
|
98
98
|
opacity: 0;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
.block-editor-block-list__block[data-type="core/paragraph"].has-text-align-right[style*="writing-mode: vertical-rl"],
|
|
102
|
+
.block-editor-block-list__block[data-type="core/paragraph"].has-text-align-left[style*="writing-mode: vertical-lr"] {
|
|
103
|
+
rotate: 180deg;
|
|
99
104
|
}
|
|
@@ -127,4 +127,9 @@ p.has-background {
|
|
|
127
127
|
|
|
128
128
|
:where(p.has-text-color:not(.has-link-color)) a {
|
|
129
129
|
color: inherit;
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
p.has-text-align-right[style*="writing-mode:vertical-rl"],
|
|
133
|
+
p.has-text-align-left[style*="writing-mode:vertical-lr"] {
|
|
134
|
+
rotate: 180deg;
|
|
130
135
|
}
|
|
@@ -127,4 +127,9 @@ p.has-background {
|
|
|
127
127
|
|
|
128
128
|
:where(p.has-text-color:not(.has-link-color)) a {
|
|
129
129
|
color: inherit;
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
p.has-text-align-right[style*="writing-mode:vertical-rl"],
|
|
133
|
+
p.has-text-align-left[style*="writing-mode:vertical-lr"] {
|
|
134
|
+
rotate: 180deg;
|
|
130
135
|
}
|
|
@@ -99,4 +99,7 @@
|
|
|
99
99
|
}
|
|
100
100
|
.wp-block-post-navigation-link .wp-block-post-navigation-link__arrow-next:not(.is-arrow-chevron) {
|
|
101
101
|
transform: scaleX(-1);;
|
|
102
|
+
}
|
|
103
|
+
.wp-block-post-navigation-link.has-text-align-right[style*="writing-mode: vertical-rl"], .wp-block-post-navigation-link.has-text-align-left[style*="writing-mode: vertical-lr"] {
|
|
104
|
+
rotate: 180deg;
|
|
102
105
|
}
|
|
@@ -99,4 +99,7 @@
|
|
|
99
99
|
}
|
|
100
100
|
.wp-block-post-navigation-link .wp-block-post-navigation-link__arrow-next:not(.is-arrow-chevron) {
|
|
101
101
|
transform: scaleX(1) /*rtl:scaleX(-1);*/;
|
|
102
|
+
}
|
|
103
|
+
.wp-block-post-navigation-link.has-text-align-right[style*="writing-mode: vertical-rl"], .wp-block-post-navigation-link.has-text-align-left[style*="writing-mode: vertical-lr"] {
|
|
104
|
+
rotate: 180deg;
|
|
102
105
|
}
|
|
@@ -132,4 +132,14 @@
|
|
|
132
132
|
}
|
|
133
133
|
.block-library-query-toolspanel__filters .block-library-query-inspector__taxonomy-control:not(:last-child) {
|
|
134
134
|
margin-bottom: 24px;
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
@media (min-width: 600px) {
|
|
138
|
+
.wp-block-query__enhanced-pagination-modal {
|
|
139
|
+
max-width: 480px;
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
.wp-block-query__enhanced-pagination-notice {
|
|
144
|
+
margin: 0;
|
|
135
145
|
}
|
|
@@ -132,4 +132,14 @@
|
|
|
132
132
|
}
|
|
133
133
|
.block-library-query-toolspanel__filters .block-library-query-inspector__taxonomy-control:not(:last-child) {
|
|
134
134
|
margin-bottom: 24px;
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
@media (min-width: 600px) {
|
|
138
|
+
.wp-block-query__enhanced-pagination-modal {
|
|
139
|
+
max-width: 480px;
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
.wp-block-query__enhanced-pagination-notice {
|
|
144
|
+
margin: 0;
|
|
135
145
|
}
|
|
@@ -99,7 +99,7 @@
|
|
|
99
99
|
opacity: 0;
|
|
100
100
|
}
|
|
101
101
|
.wp-block-query__enhanced-pagination-animation.start-animation {
|
|
102
|
-
animation: wp-block-query__enhanced-pagination-start-animation 30s cubic-bezier(0,
|
|
102
|
+
animation: wp-block-query__enhanced-pagination-start-animation 30s cubic-bezier(0.03, 0.5, 0, 1) forwards;
|
|
103
103
|
}
|
|
104
104
|
.wp-block-query__enhanced-pagination-animation.finish-animation {
|
|
105
105
|
animation: wp-block-query__enhanced-pagination-finish-animation 300ms ease-in;
|
|
@@ -99,7 +99,7 @@
|
|
|
99
99
|
opacity: 0;
|
|
100
100
|
}
|
|
101
101
|
.wp-block-query__enhanced-pagination-animation.start-animation {
|
|
102
|
-
animation: wp-block-query__enhanced-pagination-start-animation 30s cubic-bezier(0,
|
|
102
|
+
animation: wp-block-query__enhanced-pagination-start-animation 30s cubic-bezier(0.03, 0.5, 0, 1) forwards;
|
|
103
103
|
}
|
|
104
104
|
.wp-block-query__enhanced-pagination-animation.finish-animation {
|
|
105
105
|
animation: wp-block-query__enhanced-pagination-finish-animation 300ms ease-in;
|
|
@@ -92,7 +92,7 @@
|
|
|
92
92
|
* These are only output in the editor, but styles here are prefixed .editor-styles-wrapper and affect the theming
|
|
93
93
|
* of the editor by themes.
|
|
94
94
|
*/
|
|
95
|
-
|
|
95
|
+
:where(.editor-styles-wrapper) {
|
|
96
96
|
/**
|
|
97
97
|
* The following styles revert to the browser defaults overriding the WPAdmin styles.
|
|
98
98
|
* This is only needed while the block editor is not being loaded in an iframe.
|
|
@@ -103,65 +103,65 @@ html :where(.editor-styles-wrapper) {
|
|
|
103
103
|
color: initial;
|
|
104
104
|
background: #fff;
|
|
105
105
|
}
|
|
106
|
-
|
|
106
|
+
:where(.editor-styles-wrapper) .wp-align-wrapper {
|
|
107
107
|
max-width: 840px;
|
|
108
108
|
}
|
|
109
|
-
|
|
109
|
+
:where(.editor-styles-wrapper) .wp-align-wrapper > .wp-block, :where(.editor-styles-wrapper) .wp-align-wrapper.wp-align-full {
|
|
110
110
|
max-width: none;
|
|
111
111
|
}
|
|
112
|
-
|
|
112
|
+
:where(.editor-styles-wrapper) .wp-align-wrapper.wp-align-wide {
|
|
113
113
|
max-width: 840px;
|
|
114
114
|
}
|
|
115
|
-
|
|
115
|
+
:where(.editor-styles-wrapper) a {
|
|
116
116
|
transition: none;
|
|
117
117
|
}
|
|
118
|
-
|
|
119
|
-
|
|
118
|
+
:where(.editor-styles-wrapper) code,
|
|
119
|
+
:where(.editor-styles-wrapper) kbd {
|
|
120
120
|
padding: 0;
|
|
121
121
|
margin: 0;
|
|
122
122
|
background: inherit;
|
|
123
123
|
font-size: inherit;
|
|
124
124
|
font-family: monospace;
|
|
125
125
|
}
|
|
126
|
-
|
|
126
|
+
:where(.editor-styles-wrapper) p {
|
|
127
127
|
font-size: revert;
|
|
128
128
|
line-height: revert;
|
|
129
129
|
margin: revert;
|
|
130
130
|
}
|
|
131
|
-
|
|
132
|
-
|
|
131
|
+
:where(.editor-styles-wrapper) ul,
|
|
132
|
+
:where(.editor-styles-wrapper) ol {
|
|
133
133
|
margin: revert;
|
|
134
134
|
padding: revert;
|
|
135
135
|
list-style-type: revert;
|
|
136
136
|
box-sizing: border-box;
|
|
137
137
|
}
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
138
|
+
:where(.editor-styles-wrapper) ul ul,
|
|
139
|
+
:where(.editor-styles-wrapper) ul ol,
|
|
140
|
+
:where(.editor-styles-wrapper) ol ul,
|
|
141
|
+
:where(.editor-styles-wrapper) ol ol {
|
|
142
142
|
margin: revert;
|
|
143
143
|
}
|
|
144
|
-
|
|
145
|
-
|
|
144
|
+
:where(.editor-styles-wrapper) ul li,
|
|
145
|
+
:where(.editor-styles-wrapper) ol li {
|
|
146
146
|
margin: revert;
|
|
147
147
|
}
|
|
148
|
-
|
|
149
|
-
|
|
148
|
+
:where(.editor-styles-wrapper) ul ul,
|
|
149
|
+
:where(.editor-styles-wrapper) ol ul {
|
|
150
150
|
list-style-type: revert;
|
|
151
151
|
}
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
152
|
+
:where(.editor-styles-wrapper) h1,
|
|
153
|
+
:where(.editor-styles-wrapper) h2,
|
|
154
|
+
:where(.editor-styles-wrapper) h3,
|
|
155
|
+
:where(.editor-styles-wrapper) h4,
|
|
156
|
+
:where(.editor-styles-wrapper) h5,
|
|
157
|
+
:where(.editor-styles-wrapper) h6 {
|
|
158
158
|
font-size: revert;
|
|
159
159
|
margin: revert;
|
|
160
160
|
color: revert;
|
|
161
161
|
line-height: revert;
|
|
162
162
|
font-weight: revert;
|
|
163
163
|
}
|
|
164
|
-
|
|
164
|
+
:where(.editor-styles-wrapper) select {
|
|
165
165
|
font-family: system-ui;
|
|
166
166
|
-webkit-appearance: revert;
|
|
167
167
|
color: revert;
|
|
@@ -182,8 +182,8 @@ html :where(.editor-styles-wrapper) select {
|
|
|
182
182
|
vertical-align: revert;
|
|
183
183
|
font-weight: revert;
|
|
184
184
|
}
|
|
185
|
-
|
|
186
|
-
|
|
185
|
+
:where(.editor-styles-wrapper) select:disabled,
|
|
186
|
+
:where(.editor-styles-wrapper) select:focus {
|
|
187
187
|
color: revert;
|
|
188
188
|
border-color: revert;
|
|
189
189
|
background-color: revert;
|
package/build-style/reset.css
CHANGED
|
@@ -92,7 +92,7 @@
|
|
|
92
92
|
* These are only output in the editor, but styles here are prefixed .editor-styles-wrapper and affect the theming
|
|
93
93
|
* of the editor by themes.
|
|
94
94
|
*/
|
|
95
|
-
|
|
95
|
+
:where(.editor-styles-wrapper) {
|
|
96
96
|
/**
|
|
97
97
|
* The following styles revert to the browser defaults overriding the WPAdmin styles.
|
|
98
98
|
* This is only needed while the block editor is not being loaded in an iframe.
|
|
@@ -103,65 +103,65 @@ html :where(.editor-styles-wrapper) {
|
|
|
103
103
|
color: initial;
|
|
104
104
|
background: #fff;
|
|
105
105
|
}
|
|
106
|
-
|
|
106
|
+
:where(.editor-styles-wrapper) .wp-align-wrapper {
|
|
107
107
|
max-width: 840px;
|
|
108
108
|
}
|
|
109
|
-
|
|
109
|
+
:where(.editor-styles-wrapper) .wp-align-wrapper > .wp-block, :where(.editor-styles-wrapper) .wp-align-wrapper.wp-align-full {
|
|
110
110
|
max-width: none;
|
|
111
111
|
}
|
|
112
|
-
|
|
112
|
+
:where(.editor-styles-wrapper) .wp-align-wrapper.wp-align-wide {
|
|
113
113
|
max-width: 840px;
|
|
114
114
|
}
|
|
115
|
-
|
|
115
|
+
:where(.editor-styles-wrapper) a {
|
|
116
116
|
transition: none;
|
|
117
117
|
}
|
|
118
|
-
|
|
119
|
-
|
|
118
|
+
:where(.editor-styles-wrapper) code,
|
|
119
|
+
:where(.editor-styles-wrapper) kbd {
|
|
120
120
|
padding: 0;
|
|
121
121
|
margin: 0;
|
|
122
122
|
background: inherit;
|
|
123
123
|
font-size: inherit;
|
|
124
124
|
font-family: monospace;
|
|
125
125
|
}
|
|
126
|
-
|
|
126
|
+
:where(.editor-styles-wrapper) p {
|
|
127
127
|
font-size: revert;
|
|
128
128
|
line-height: revert;
|
|
129
129
|
margin: revert;
|
|
130
130
|
}
|
|
131
|
-
|
|
132
|
-
|
|
131
|
+
:where(.editor-styles-wrapper) ul,
|
|
132
|
+
:where(.editor-styles-wrapper) ol {
|
|
133
133
|
margin: revert;
|
|
134
134
|
padding: revert;
|
|
135
135
|
list-style-type: revert;
|
|
136
136
|
box-sizing: border-box;
|
|
137
137
|
}
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
138
|
+
:where(.editor-styles-wrapper) ul ul,
|
|
139
|
+
:where(.editor-styles-wrapper) ul ol,
|
|
140
|
+
:where(.editor-styles-wrapper) ol ul,
|
|
141
|
+
:where(.editor-styles-wrapper) ol ol {
|
|
142
142
|
margin: revert;
|
|
143
143
|
}
|
|
144
|
-
|
|
145
|
-
|
|
144
|
+
:where(.editor-styles-wrapper) ul li,
|
|
145
|
+
:where(.editor-styles-wrapper) ol li {
|
|
146
146
|
margin: revert;
|
|
147
147
|
}
|
|
148
|
-
|
|
149
|
-
|
|
148
|
+
:where(.editor-styles-wrapper) ul ul,
|
|
149
|
+
:where(.editor-styles-wrapper) ol ul {
|
|
150
150
|
list-style-type: revert;
|
|
151
151
|
}
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
152
|
+
:where(.editor-styles-wrapper) h1,
|
|
153
|
+
:where(.editor-styles-wrapper) h2,
|
|
154
|
+
:where(.editor-styles-wrapper) h3,
|
|
155
|
+
:where(.editor-styles-wrapper) h4,
|
|
156
|
+
:where(.editor-styles-wrapper) h5,
|
|
157
|
+
:where(.editor-styles-wrapper) h6 {
|
|
158
158
|
font-size: revert;
|
|
159
159
|
margin: revert;
|
|
160
160
|
color: revert;
|
|
161
161
|
line-height: revert;
|
|
162
162
|
font-weight: revert;
|
|
163
163
|
}
|
|
164
|
-
|
|
164
|
+
:where(.editor-styles-wrapper) select {
|
|
165
165
|
font-family: system-ui;
|
|
166
166
|
-webkit-appearance: revert;
|
|
167
167
|
color: revert;
|
|
@@ -182,8 +182,8 @@ html :where(.editor-styles-wrapper) select {
|
|
|
182
182
|
vertical-align: revert;
|
|
183
183
|
font-weight: revert;
|
|
184
184
|
}
|
|
185
|
-
|
|
186
|
-
|
|
185
|
+
:where(.editor-styles-wrapper) select:disabled,
|
|
186
|
+
:where(.editor-styles-wrapper) select:focus {
|
|
187
187
|
color: revert;
|
|
188
188
|
border-color: revert;
|
|
189
189
|
background-color: revert;
|
|
@@ -897,6 +897,15 @@
|
|
|
897
897
|
.wp-block-cover-image.has-custom-content-position.has-custom-content-position .wp-block-cover__inner-container,
|
|
898
898
|
.wp-block-cover.has-custom-content-position.has-custom-content-position .wp-block-cover__inner-container {
|
|
899
899
|
margin: 0;
|
|
900
|
+
}
|
|
901
|
+
.wp-block-cover-image.has-custom-content-position.has-custom-content-position.is-position-top-left .wp-block-cover__inner-container, .wp-block-cover-image.has-custom-content-position.has-custom-content-position.is-position-top-right .wp-block-cover__inner-container, .wp-block-cover-image.has-custom-content-position.has-custom-content-position.is-position-center-left .wp-block-cover__inner-container, .wp-block-cover-image.has-custom-content-position.has-custom-content-position.is-position-center-right .wp-block-cover__inner-container, .wp-block-cover-image.has-custom-content-position.has-custom-content-position.is-position-bottom-left .wp-block-cover__inner-container, .wp-block-cover-image.has-custom-content-position.has-custom-content-position.is-position-bottom-right .wp-block-cover__inner-container,
|
|
902
|
+
.wp-block-cover.has-custom-content-position.has-custom-content-position.is-position-top-left .wp-block-cover__inner-container,
|
|
903
|
+
.wp-block-cover.has-custom-content-position.has-custom-content-position.is-position-top-right .wp-block-cover__inner-container,
|
|
904
|
+
.wp-block-cover.has-custom-content-position.has-custom-content-position.is-position-center-left .wp-block-cover__inner-container,
|
|
905
|
+
.wp-block-cover.has-custom-content-position.has-custom-content-position.is-position-center-right .wp-block-cover__inner-container,
|
|
906
|
+
.wp-block-cover.has-custom-content-position.has-custom-content-position.is-position-bottom-left .wp-block-cover__inner-container,
|
|
907
|
+
.wp-block-cover.has-custom-content-position.has-custom-content-position.is-position-bottom-right .wp-block-cover__inner-container {
|
|
908
|
+
margin: 0;
|
|
900
909
|
width: auto;
|
|
901
910
|
}
|
|
902
911
|
.wp-block-cover-image .wp-block-cover__image-background,
|
|
@@ -1127,6 +1136,11 @@ section.wp-block-cover-image > h2,
|
|
|
1127
1136
|
margin-bottom: 1em;
|
|
1128
1137
|
}
|
|
1129
1138
|
|
|
1139
|
+
@media (max-width: 768px) {
|
|
1140
|
+
.wp-block-file__embed {
|
|
1141
|
+
display: none;
|
|
1142
|
+
}
|
|
1143
|
+
}
|
|
1130
1144
|
:where(.wp-block-file__button) {
|
|
1131
1145
|
border-radius: 2em;
|
|
1132
1146
|
padding: 0.5em 1em;
|
|
@@ -1471,6 +1485,19 @@ h5.has-background,
|
|
|
1471
1485
|
h6.has-background {
|
|
1472
1486
|
padding: 1.25em 2.375em;
|
|
1473
1487
|
}
|
|
1488
|
+
h1.has-text-align-right[style*=writing-mode]:where([style*="vertical-rl"]), h1.has-text-align-left[style*=writing-mode]:where([style*="vertical-lr"]),
|
|
1489
|
+
h2.has-text-align-right[style*=writing-mode]:where([style*="vertical-rl"]),
|
|
1490
|
+
h2.has-text-align-left[style*=writing-mode]:where([style*="vertical-lr"]),
|
|
1491
|
+
h3.has-text-align-right[style*=writing-mode]:where([style*="vertical-rl"]),
|
|
1492
|
+
h3.has-text-align-left[style*=writing-mode]:where([style*="vertical-lr"]),
|
|
1493
|
+
h4.has-text-align-right[style*=writing-mode]:where([style*="vertical-rl"]),
|
|
1494
|
+
h4.has-text-align-left[style*=writing-mode]:where([style*="vertical-lr"]),
|
|
1495
|
+
h5.has-text-align-right[style*=writing-mode]:where([style*="vertical-rl"]),
|
|
1496
|
+
h5.has-text-align-left[style*=writing-mode]:where([style*="vertical-lr"]),
|
|
1497
|
+
h6.has-text-align-right[style*=writing-mode]:where([style*="vertical-rl"]),
|
|
1498
|
+
h6.has-text-align-left[style*=writing-mode]:where([style*="vertical-lr"]) {
|
|
1499
|
+
rotate: 180deg;
|
|
1500
|
+
}
|
|
1474
1501
|
|
|
1475
1502
|
.wp-block-image img {
|
|
1476
1503
|
height: auto;
|
|
@@ -2603,6 +2630,11 @@ p.has-background {
|
|
|
2603
2630
|
color: inherit;
|
|
2604
2631
|
}
|
|
2605
2632
|
|
|
2633
|
+
p.has-text-align-right[style*="writing-mode:vertical-rl"],
|
|
2634
|
+
p.has-text-align-left[style*="writing-mode:vertical-lr"] {
|
|
2635
|
+
rotate: 180deg;
|
|
2636
|
+
}
|
|
2637
|
+
|
|
2606
2638
|
.wp-block-post-author {
|
|
2607
2639
|
display: flex;
|
|
2608
2640
|
flex-wrap: wrap;
|
|
@@ -2794,6 +2826,9 @@ p.has-background {
|
|
|
2794
2826
|
.wp-block-post-navigation-link .wp-block-post-navigation-link__arrow-next:not(.is-arrow-chevron) {
|
|
2795
2827
|
transform: scaleX(-1);;
|
|
2796
2828
|
}
|
|
2829
|
+
.wp-block-post-navigation-link.has-text-align-right[style*="writing-mode: vertical-rl"], .wp-block-post-navigation-link.has-text-align-left[style*="writing-mode: vertical-lr"] {
|
|
2830
|
+
rotate: 180deg;
|
|
2831
|
+
}
|
|
2797
2832
|
|
|
2798
2833
|
.wp-block-post-terms {
|
|
2799
2834
|
box-sizing: border-box;
|