@wordpress/block-library 9.20.0 → 9.22.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +4 -0
- package/build/categories/edit.js +3 -3
- package/build/categories/edit.js.map +1 -1
- package/build/cover/index.js +1 -1
- package/build/cover/index.js.map +1 -1
- package/build/details/edit.js +1 -5
- package/build/details/edit.js.map +1 -1
- package/build/details/index.js +1 -1
- package/build/details/index.js.map +1 -1
- package/build/embed/edit.js +4 -1
- package/build/embed/edit.js.map +1 -1
- package/build/image/edit.js +3 -2
- package/build/image/edit.js.map +1 -1
- package/build/image/image.js +13 -8
- package/build/image/image.js.map +1 -1
- package/build/navigation/edit/index.js +8 -4
- package/build/navigation/edit/index.js.map +1 -1
- package/build/navigation/view.js +2 -1
- package/build/navigation/view.js.map +1 -1
- package/build/navigation-link/edit.js +27 -29
- package/build/navigation-link/edit.js.map +1 -1
- package/build/navigation-link/index.js +0 -3
- package/build/navigation-link/index.js.map +1 -1
- package/build/navigation-link/transforms.js +0 -2
- package/build/navigation-link/transforms.js.map +1 -1
- package/build/navigation-link/update-attributes.js +0 -1
- package/build/navigation-link/update-attributes.js.map +1 -1
- package/build/navigation-submenu/edit.js +1 -24
- package/build/navigation-submenu/edit.js.map +1 -1
- package/build/navigation-submenu/index.js +0 -3
- package/build/navigation-submenu/index.js.map +1 -1
- package/build/post-comments-count/index.js +0 -1
- package/build/post-comments-count/index.js.map +1 -1
- package/build/post-comments-link/index.js +0 -1
- package/build/post-comments-link/index.js.map +1 -1
- package/build/post-featured-image/edit.js +14 -3
- package/build/post-featured-image/edit.js.map +1 -1
- package/build/query/edit/inspector-controls/index.js +47 -59
- package/build/query/edit/inspector-controls/index.js.map +1 -1
- package/build/query/edit/inspector-controls/parent-control.js +2 -2
- package/build/query/edit/inspector-controls/parent-control.js.map +1 -1
- package/build/query/edit/inspector-controls/taxonomy-controls.js +2 -2
- package/build/query/edit/inspector-controls/taxonomy-controls.js.map +1 -1
- package/build/query/edit/query-content.js +4 -17
- package/build/query/edit/query-content.js.map +1 -1
- package/build/query-total/index.js +3 -0
- package/build/query-total/index.js.map +1 -1
- package/build/quote/index.js +1 -1
- package/build/quote/index.js.map +1 -1
- package/build/rss/edit.js +21 -1
- package/build/rss/edit.js.map +1 -1
- package/build/rss/index.js +7 -0
- package/build/rss/index.js.map +1 -1
- package/build/site-title/edit.js +1 -1
- package/build/site-title/edit.js.map +1 -1
- package/build/social-links/edit.js +29 -31
- package/build/social-links/edit.js.map +1 -1
- package/build/table/index.js +3 -3
- package/build/table/index.js.map +1 -1
- package/build/table/transforms.js +11 -3
- package/build/table/transforms.js.map +1 -1
- package/build/table-of-contents/edit.js +50 -8
- package/build/table-of-contents/edit.js.map +1 -1
- package/build/table-of-contents/hooks.js +13 -4
- package/build/table-of-contents/hooks.js.map +1 -1
- package/build/table-of-contents/index.js +3 -0
- package/build/table-of-contents/index.js.map +1 -1
- package/build-module/categories/edit.js +3 -3
- package/build-module/categories/edit.js.map +1 -1
- package/build-module/cover/index.js +1 -1
- package/build-module/cover/index.js.map +1 -1
- package/build-module/details/edit.js +1 -5
- package/build-module/details/edit.js.map +1 -1
- package/build-module/details/index.js +1 -1
- package/build-module/details/index.js.map +1 -1
- package/build-module/embed/edit.js +4 -1
- package/build-module/embed/edit.js.map +1 -1
- package/build-module/image/edit.js +3 -2
- package/build-module/image/edit.js.map +1 -1
- package/build-module/image/image.js +14 -9
- package/build-module/image/image.js.map +1 -1
- package/build-module/navigation/edit/index.js +8 -4
- package/build-module/navigation/edit/index.js.map +1 -1
- package/build-module/navigation/view.js +2 -1
- package/build-module/navigation/view.js.map +1 -1
- package/build-module/navigation-link/edit.js +28 -30
- package/build-module/navigation-link/edit.js.map +1 -1
- package/build-module/navigation-link/index.js +0 -3
- package/build-module/navigation-link/index.js.map +1 -1
- package/build-module/navigation-link/transforms.js +0 -2
- package/build-module/navigation-link/transforms.js.map +1 -1
- package/build-module/navigation-link/update-attributes.js +0 -1
- package/build-module/navigation-link/update-attributes.js.map +1 -1
- package/build-module/navigation-submenu/edit.js +1 -24
- package/build-module/navigation-submenu/edit.js.map +1 -1
- package/build-module/navigation-submenu/index.js +0 -3
- package/build-module/navigation-submenu/index.js.map +1 -1
- package/build-module/post-comments-count/index.js +0 -1
- package/build-module/post-comments-count/index.js.map +1 -1
- package/build-module/post-comments-link/index.js +0 -1
- package/build-module/post-comments-link/index.js.map +1 -1
- package/build-module/post-featured-image/edit.js +14 -3
- package/build-module/post-featured-image/edit.js.map +1 -1
- package/build-module/query/edit/inspector-controls/index.js +49 -61
- package/build-module/query/edit/inspector-controls/index.js.map +1 -1
- package/build-module/query/edit/inspector-controls/parent-control.js +2 -2
- package/build-module/query/edit/inspector-controls/parent-control.js.map +1 -1
- package/build-module/query/edit/inspector-controls/taxonomy-controls.js +2 -2
- package/build-module/query/edit/inspector-controls/taxonomy-controls.js.map +1 -1
- package/build-module/query/edit/query-content.js +4 -17
- package/build-module/query/edit/query-content.js.map +1 -1
- package/build-module/query-total/index.js +3 -0
- package/build-module/query-total/index.js.map +1 -1
- package/build-module/quote/index.js +1 -1
- package/build-module/quote/index.js.map +1 -1
- package/build-module/rss/edit.js +22 -2
- package/build-module/rss/edit.js.map +1 -1
- package/build-module/rss/index.js +7 -0
- package/build-module/rss/index.js.map +1 -1
- package/build-module/site-title/edit.js +1 -1
- package/build-module/site-title/edit.js.map +1 -1
- package/build-module/social-links/edit.js +30 -32
- package/build-module/social-links/edit.js.map +1 -1
- package/build-module/table/index.js +3 -3
- package/build-module/table/index.js.map +1 -1
- package/build-module/table/transforms.js +11 -3
- package/build-module/table/transforms.js.map +1 -1
- package/build-module/table-of-contents/edit.js +52 -10
- package/build-module/table-of-contents/edit.js.map +1 -1
- package/build-module/table-of-contents/hooks.js +13 -4
- package/build-module/table-of-contents/hooks.js.map +1 -1
- package/build-module/table-of-contents/index.js +3 -0
- package/build-module/table-of-contents/index.js.map +1 -1
- package/build-style/editor-rtl.css +1 -50
- package/build-style/editor.css +1 -50
- package/build-style/media-text/style-rtl.css +0 -2
- package/build-style/media-text/style.css +0 -2
- package/build-style/post-comments-form/style-rtl.css +3 -0
- package/build-style/post-comments-form/style.css +3 -0
- package/build-style/search/style-rtl.css +1 -0
- package/build-style/search/style.css +1 -0
- package/build-style/social-links/editor-rtl.css +1 -50
- package/build-style/social-links/editor.css +1 -50
- package/build-style/style-rtl.css +4 -6
- package/build-style/style.css +4 -6
- package/build-style/tag-cloud/style-rtl.css +0 -4
- package/build-style/tag-cloud/style.css +0 -4
- package/package.json +35 -35
- package/src/button/index.php +2 -3
- package/src/categories/edit.js +3 -3
- package/src/cover/index.js +1 -1
- package/src/details/edit.js +6 -8
- package/src/details/index.js +1 -1
- package/src/embed/edit.js +7 -1
- package/src/file/index.php +2 -3
- package/src/image/edit.js +3 -3
- package/src/image/image.js +9 -12
- package/src/latest-comments/index.php +1 -1
- package/src/latest-posts/index.php +3 -0
- package/src/media-text/style.scss +0 -2
- package/src/navigation/edit/index.js +4 -0
- package/src/navigation/index.php +1 -1
- package/src/navigation/view.js +2 -1
- package/src/navigation-link/block.json +0 -3
- package/src/navigation-link/edit.js +46 -33
- package/src/navigation-link/index.php +1 -5
- package/src/navigation-link/transforms.js +1 -2
- package/src/navigation-link/update-attributes.js +0 -1
- package/src/navigation-submenu/block.json +0 -3
- package/src/navigation-submenu/edit.js +1 -24
- package/src/navigation-submenu/index.php +0 -4
- package/src/post-comments-count/block.json +0 -1
- package/src/post-comments-count/index.php +4 -0
- package/src/post-comments-form/style.scss +5 -0
- package/src/post-comments-link/block.json +0 -1
- package/src/post-comments-link/index.php +4 -0
- package/src/post-featured-image/edit.js +93 -75
- package/src/query/edit/inspector-controls/index.js +66 -91
- package/src/query/edit/inspector-controls/parent-control.js +2 -2
- package/src/query/edit/inspector-controls/taxonomy-controls.js +2 -2
- package/src/query/edit/query-content.js +7 -16
- package/src/query-total/block.json +3 -0
- package/src/query-total/index.php +1 -1
- package/src/quote/index.js +1 -1
- package/src/rss/block.json +7 -0
- package/src/rss/edit.js +21 -0
- package/src/rss/index.php +27 -9
- package/src/search/index.php +12 -9
- package/src/search/style.scss +1 -0
- package/src/site-title/edit.js +1 -1
- package/src/site-title/index.php +1 -1
- package/src/social-links/edit.js +29 -30
- package/src/social-links/editor.scss +1 -59
- package/src/table/index.js +3 -3
- package/src/table/transforms.js +14 -2
- package/src/table-of-contents/block.json +3 -0
- package/src/table-of-contents/edit.js +45 -4
- package/src/table-of-contents/hooks.js +12 -3
- package/src/tag-cloud/style.scss +0 -5
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["__","tableOfContents","icon","initBlock","metadata","$schema","apiVersion","__experimental","name","title","category","description","keywords","textdomain","attributes","headings","type","items","onlyIncludeCurrentPage","supports","html","color","text","background","gradients","link","spacing","margin","padding","typography","fontSize","lineHeight","__experimentalFontFamily","__experimentalFontWeight","__experimentalFontStyle","__experimentalTextTransform","__experimentalTextDecoration","__experimentalLetterSpacing","__experimentalDefaultControls","interactivity","clientNavigation","__experimentalBorder","radius","width","style","edit","save","settings","example","innerBlocks","level","content","init"],"sources":["@wordpress/block-library/src/table-of-contents/index.js"],"sourcesContent":["/**\n * WordPress dependencies\n */\nimport { __ } from '@wordpress/i18n';\nimport { tableOfContents as icon } from '@wordpress/icons';\n\n/**\n * Internal dependencies\n */\nimport initBlock from '../utils/init-block';\nimport metadata from './block.json';\nimport edit from './edit';\nimport save from './save';\n\nconst { name } = metadata;\n\nexport { metadata, name };\n\nexport const settings = {\n\ticon,\n\tedit,\n\tsave,\n\texample: {\n\t\tinnerBlocks: [\n\t\t\t{\n\t\t\t\tname: 'core/heading',\n\t\t\t\tattributes: {\n\t\t\t\t\tlevel: 2,\n\t\t\t\t\tcontent: __( 'Heading' ),\n\t\t\t\t},\n\t\t\t},\n\t\t\t{\n\t\t\t\tname: 'core/heading',\n\t\t\t\tattributes: {\n\t\t\t\t\tlevel: 3,\n\t\t\t\t\tcontent: __( 'Subheading' ),\n\t\t\t\t},\n\t\t\t},\n\t\t\t{\n\t\t\t\tname: 'core/heading',\n\t\t\t\tattributes: {\n\t\t\t\t\tlevel: 2,\n\t\t\t\t\tcontent: __( 'Heading' ),\n\t\t\t\t},\n\t\t\t},\n\t\t\t{\n\t\t\t\tname: 'core/heading',\n\t\t\t\tattributes: {\n\t\t\t\t\tlevel: 3,\n\t\t\t\t\tcontent: __( 'Subheading' ),\n\t\t\t\t},\n\t\t\t},\n\t\t],\n\t\tattributes: {\n\t\t\theadings: [\n\t\t\t\t{\n\t\t\t\t\tcontent: __( 'Heading' ),\n\t\t\t\t\tlevel: 2,\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tcontent: __( 'Subheading' ),\n\t\t\t\t\tlevel: 3,\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tcontent: __( 'Heading' ),\n\t\t\t\t\tlevel: 2,\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tcontent: __( 'Subheading' ),\n\t\t\t\t\tlevel: 3,\n\t\t\t\t},\n\t\t\t],\n\t\t},\n\t},\n};\n\nexport const init = () => initBlock( { name, metadata, settings } );\n"],"mappings":"AAAA;AACA;AACA;AACA,SAASA,EAAE,QAAQ,iBAAiB;AACpC,SAASC,eAAe,IAAIC,IAAI,QAAQ,kBAAkB;;AAE1D;AACA;AACA;AACA,OAAOC,SAAS,MAAM,qBAAqB;AAAC,MAAAC,QAAA;EAAAC,OAAA;EAAAC,UAAA;EAAAC,cAAA;EAAAC,IAAA;EAAAC,KAAA;EAAAC,QAAA;EAAAC,WAAA;EAAAC,QAAA;EAAAC,UAAA;EAAAC,UAAA;IAAAC,QAAA;MAAAC,IAAA;MAAAC,KAAA;QAAAD,IAAA;MAAA;MAAA;IAAA;IAAAE,sBAAA;MAAAF,IAAA;MAAA;IAAA;EAAA;
|
|
1
|
+
{"version":3,"names":["__","tableOfContents","icon","initBlock","metadata","$schema","apiVersion","__experimental","name","title","category","description","keywords","textdomain","attributes","headings","type","items","onlyIncludeCurrentPage","maxLevel","supports","html","color","text","background","gradients","link","spacing","margin","padding","typography","fontSize","lineHeight","__experimentalFontFamily","__experimentalFontWeight","__experimentalFontStyle","__experimentalTextTransform","__experimentalTextDecoration","__experimentalLetterSpacing","__experimentalDefaultControls","interactivity","clientNavigation","__experimentalBorder","radius","width","style","edit","save","settings","example","innerBlocks","level","content","init"],"sources":["@wordpress/block-library/src/table-of-contents/index.js"],"sourcesContent":["/**\n * WordPress dependencies\n */\nimport { __ } from '@wordpress/i18n';\nimport { tableOfContents as icon } from '@wordpress/icons';\n\n/**\n * Internal dependencies\n */\nimport initBlock from '../utils/init-block';\nimport metadata from './block.json';\nimport edit from './edit';\nimport save from './save';\n\nconst { name } = metadata;\n\nexport { metadata, name };\n\nexport const settings = {\n\ticon,\n\tedit,\n\tsave,\n\texample: {\n\t\tinnerBlocks: [\n\t\t\t{\n\t\t\t\tname: 'core/heading',\n\t\t\t\tattributes: {\n\t\t\t\t\tlevel: 2,\n\t\t\t\t\tcontent: __( 'Heading' ),\n\t\t\t\t},\n\t\t\t},\n\t\t\t{\n\t\t\t\tname: 'core/heading',\n\t\t\t\tattributes: {\n\t\t\t\t\tlevel: 3,\n\t\t\t\t\tcontent: __( 'Subheading' ),\n\t\t\t\t},\n\t\t\t},\n\t\t\t{\n\t\t\t\tname: 'core/heading',\n\t\t\t\tattributes: {\n\t\t\t\t\tlevel: 2,\n\t\t\t\t\tcontent: __( 'Heading' ),\n\t\t\t\t},\n\t\t\t},\n\t\t\t{\n\t\t\t\tname: 'core/heading',\n\t\t\t\tattributes: {\n\t\t\t\t\tlevel: 3,\n\t\t\t\t\tcontent: __( 'Subheading' ),\n\t\t\t\t},\n\t\t\t},\n\t\t],\n\t\tattributes: {\n\t\t\theadings: [\n\t\t\t\t{\n\t\t\t\t\tcontent: __( 'Heading' ),\n\t\t\t\t\tlevel: 2,\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tcontent: __( 'Subheading' ),\n\t\t\t\t\tlevel: 3,\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tcontent: __( 'Heading' ),\n\t\t\t\t\tlevel: 2,\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tcontent: __( 'Subheading' ),\n\t\t\t\t\tlevel: 3,\n\t\t\t\t},\n\t\t\t],\n\t\t},\n\t},\n};\n\nexport const init = () => initBlock( { name, metadata, settings } );\n"],"mappings":"AAAA;AACA;AACA;AACA,SAASA,EAAE,QAAQ,iBAAiB;AACpC,SAASC,eAAe,IAAIC,IAAI,QAAQ,kBAAkB;;AAE1D;AACA;AACA;AACA,OAAOC,SAAS,MAAM,qBAAqB;AAAC,MAAAC,QAAA;EAAAC,OAAA;EAAAC,UAAA;EAAAC,cAAA;EAAAC,IAAA;EAAAC,KAAA;EAAAC,QAAA;EAAAC,WAAA;EAAAC,QAAA;EAAAC,UAAA;EAAAC,UAAA;IAAAC,QAAA;MAAAC,IAAA;MAAAC,KAAA;QAAAD,IAAA;MAAA;MAAA;IAAA;IAAAE,sBAAA;MAAAF,IAAA;MAAA;IAAA;IAAAG,QAAA;MAAAH,IAAA;IAAA;EAAA;EAAAI,QAAA;IAAAC,IAAA;IAAAC,KAAA;MAAAC,IAAA;MAAAC,UAAA;MAAAC,SAAA;MAAAC,IAAA;IAAA;IAAAC,OAAA;MAAAC,MAAA;MAAAC,OAAA;IAAA;IAAAC,UAAA;MAAAC,QAAA;MAAAC,UAAA;MAAAC,wBAAA;MAAAC,wBAAA;MAAAC,uBAAA;MAAAC,2BAAA;MAAAC,4BAAA;MAAAC,2BAAA;MAAAC,6BAAA;QAAAR,QAAA;MAAA;IAAA;IAAAS,aAAA;MAAAC,gBAAA;IAAA;IAAAC,oBAAA;MAAAC,MAAA;MAAArB,KAAA;MAAAsB,KAAA;MAAAC,KAAA;MAAAN,6BAAA;QAAAI,MAAA;QAAArB,KAAA;QAAAsB,KAAA;QAAAC,KAAA;MAAA;IAAA;EAAA;EAAAA,KAAA;AAAA;AAE5C,OAAOC,IAAI,MAAM,QAAQ;AACzB,OAAOC,IAAI,MAAM,QAAQ;AAEzB,MAAM;EAAEvC;AAAK,CAAC,GAAGJ,QAAQ;AAEzB,SAASA,QAAQ,EAAEI,IAAI;AAEvB,OAAO,MAAMwC,QAAQ,GAAG;EACvB9C,IAAI;EACJ4C,IAAI;EACJC,IAAI;EACJE,OAAO,EAAE;IACRC,WAAW,EAAE,CACZ;MACC1C,IAAI,EAAE,cAAc;MACpBM,UAAU,EAAE;QACXqC,KAAK,EAAE,CAAC;QACRC,OAAO,EAAEpD,EAAE,CAAE,SAAU;MACxB;IACD,CAAC,EACD;MACCQ,IAAI,EAAE,cAAc;MACpBM,UAAU,EAAE;QACXqC,KAAK,EAAE,CAAC;QACRC,OAAO,EAAEpD,EAAE,CAAE,YAAa;MAC3B;IACD,CAAC,EACD;MACCQ,IAAI,EAAE,cAAc;MACpBM,UAAU,EAAE;QACXqC,KAAK,EAAE,CAAC;QACRC,OAAO,EAAEpD,EAAE,CAAE,SAAU;MACxB;IACD,CAAC,EACD;MACCQ,IAAI,EAAE,cAAc;MACpBM,UAAU,EAAE;QACXqC,KAAK,EAAE,CAAC;QACRC,OAAO,EAAEpD,EAAE,CAAE,YAAa;MAC3B;IACD,CAAC,CACD;IACDc,UAAU,EAAE;MACXC,QAAQ,EAAE,CACT;QACCqC,OAAO,EAAEpD,EAAE,CAAE,SAAU,CAAC;QACxBmD,KAAK,EAAE;MACR,CAAC,EACD;QACCC,OAAO,EAAEpD,EAAE,CAAE,YAAa,CAAC;QAC3BmD,KAAK,EAAE;MACR,CAAC,EACD;QACCC,OAAO,EAAEpD,EAAE,CAAE,SAAU,CAAC;QACxBmD,KAAK,EAAE;MACR,CAAC,EACD;QACCC,OAAO,EAAEpD,EAAE,CAAE,YAAa,CAAC;QAC3BmD,KAAK,EAAE;MACR,CAAC;IAEH;EACD;AACD,CAAC;AAED,OAAO,MAAME,IAAI,GAAGA,CAAA,KAAMlD,SAAS,CAAE;EAAEK,IAAI;EAAEJ,QAAQ;EAAE4C;AAAS,CAAE,CAAC","ignoreList":[]}
|
|
@@ -2377,59 +2377,10 @@ body.editor-styles-wrapper .wp-block-navigation__responsive-container.is-menu-op
|
|
|
2377
2377
|
transform: none;
|
|
2378
2378
|
}
|
|
2379
2379
|
|
|
2380
|
-
:root :where(.wp-block-social-links)
|
|
2381
|
-
:root :where(.wp-block-social-links.is-style-logos-only .wp-block-social-links__social-placeholder .wp-social-link) {
|
|
2380
|
+
:root :where(.wp-block-social-links) {
|
|
2382
2381
|
padding: 0;
|
|
2383
2382
|
}
|
|
2384
2383
|
|
|
2385
|
-
:root :where(.wp-block-social-links__social-placeholder .wp-social-link) {
|
|
2386
|
-
padding: 0.25em;
|
|
2387
|
-
}
|
|
2388
|
-
|
|
2389
|
-
:root :where(.wp-block-social-links.is-style-pill-shape .wp-block-social-links__social-placeholder .wp-social-link) {
|
|
2390
|
-
padding-right: 0.6666666667em;
|
|
2391
|
-
padding-left: 0.6666666667em;
|
|
2392
|
-
}
|
|
2393
|
-
|
|
2394
|
-
.wp-block-social-links__social-placeholder {
|
|
2395
|
-
display: flex;
|
|
2396
|
-
opacity: 0.8;
|
|
2397
|
-
list-style: none;
|
|
2398
|
-
}
|
|
2399
|
-
.wp-block-social-links__social-placeholder > .wp-social-link {
|
|
2400
|
-
padding-right: 0 !important;
|
|
2401
|
-
margin-right: 0 !important;
|
|
2402
|
-
padding-left: 0 !important;
|
|
2403
|
-
margin-left: 0 !important;
|
|
2404
|
-
width: 0 !important;
|
|
2405
|
-
visibility: hidden;
|
|
2406
|
-
}
|
|
2407
|
-
.wp-block-social-links__social-placeholder > .wp-block-social-links__social-placeholder-icons {
|
|
2408
|
-
display: flex;
|
|
2409
|
-
}
|
|
2410
|
-
.wp-block-social-links__social-placeholder .wp-social-link::before {
|
|
2411
|
-
content: "";
|
|
2412
|
-
display: block;
|
|
2413
|
-
width: 1em;
|
|
2414
|
-
height: 1em;
|
|
2415
|
-
border-radius: 50%;
|
|
2416
|
-
}
|
|
2417
|
-
.is-style-logos-only .wp-block-social-links__social-placeholder .wp-social-link::before {
|
|
2418
|
-
background: currentColor;
|
|
2419
|
-
}
|
|
2420
|
-
|
|
2421
|
-
.wp-block-social-links .wp-block-social-links__social-prompt {
|
|
2422
|
-
min-height: 24px;
|
|
2423
|
-
list-style: none;
|
|
2424
|
-
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
|
|
2425
|
-
font-size: 13px;
|
|
2426
|
-
line-height: 24px;
|
|
2427
|
-
margin-top: auto;
|
|
2428
|
-
margin-bottom: auto;
|
|
2429
|
-
cursor: default;
|
|
2430
|
-
padding-left: 8px;
|
|
2431
|
-
}
|
|
2432
|
-
|
|
2433
2384
|
.wp-block[data-align=center] > .wp-block-social-links,
|
|
2434
2385
|
.wp-block.wp-block-social-links.aligncenter {
|
|
2435
2386
|
justify-content: center;
|
package/build-style/editor.css
CHANGED
|
@@ -2386,59 +2386,10 @@ body.editor-styles-wrapper .wp-block-navigation__responsive-container.is-menu-op
|
|
|
2386
2386
|
transform: none;
|
|
2387
2387
|
}
|
|
2388
2388
|
|
|
2389
|
-
:root :where(.wp-block-social-links)
|
|
2390
|
-
:root :where(.wp-block-social-links.is-style-logos-only .wp-block-social-links__social-placeholder .wp-social-link) {
|
|
2389
|
+
:root :where(.wp-block-social-links) {
|
|
2391
2390
|
padding: 0;
|
|
2392
2391
|
}
|
|
2393
2392
|
|
|
2394
|
-
:root :where(.wp-block-social-links__social-placeholder .wp-social-link) {
|
|
2395
|
-
padding: 0.25em;
|
|
2396
|
-
}
|
|
2397
|
-
|
|
2398
|
-
:root :where(.wp-block-social-links.is-style-pill-shape .wp-block-social-links__social-placeholder .wp-social-link) {
|
|
2399
|
-
padding-left: 0.6666666667em;
|
|
2400
|
-
padding-right: 0.6666666667em;
|
|
2401
|
-
}
|
|
2402
|
-
|
|
2403
|
-
.wp-block-social-links__social-placeholder {
|
|
2404
|
-
display: flex;
|
|
2405
|
-
opacity: 0.8;
|
|
2406
|
-
list-style: none;
|
|
2407
|
-
}
|
|
2408
|
-
.wp-block-social-links__social-placeholder > .wp-social-link {
|
|
2409
|
-
padding-left: 0 !important;
|
|
2410
|
-
margin-left: 0 !important;
|
|
2411
|
-
padding-right: 0 !important;
|
|
2412
|
-
margin-right: 0 !important;
|
|
2413
|
-
width: 0 !important;
|
|
2414
|
-
visibility: hidden;
|
|
2415
|
-
}
|
|
2416
|
-
.wp-block-social-links__social-placeholder > .wp-block-social-links__social-placeholder-icons {
|
|
2417
|
-
display: flex;
|
|
2418
|
-
}
|
|
2419
|
-
.wp-block-social-links__social-placeholder .wp-social-link::before {
|
|
2420
|
-
content: "";
|
|
2421
|
-
display: block;
|
|
2422
|
-
width: 1em;
|
|
2423
|
-
height: 1em;
|
|
2424
|
-
border-radius: 50%;
|
|
2425
|
-
}
|
|
2426
|
-
.is-style-logos-only .wp-block-social-links__social-placeholder .wp-social-link::before {
|
|
2427
|
-
background: currentColor;
|
|
2428
|
-
}
|
|
2429
|
-
|
|
2430
|
-
.wp-block-social-links .wp-block-social-links__social-prompt {
|
|
2431
|
-
min-height: 24px;
|
|
2432
|
-
list-style: none;
|
|
2433
|
-
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
|
|
2434
|
-
font-size: 13px;
|
|
2435
|
-
line-height: 24px;
|
|
2436
|
-
margin-top: auto;
|
|
2437
|
-
margin-bottom: auto;
|
|
2438
|
-
cursor: default;
|
|
2439
|
-
padding-right: 8px;
|
|
2440
|
-
}
|
|
2441
|
-
|
|
2442
2393
|
.wp-block[data-align=center] > .wp-block-social-links,
|
|
2443
2394
|
.wp-block.wp-block-social-links.aligncenter {
|
|
2444
2395
|
justify-content: center;
|
|
@@ -187,7 +187,6 @@
|
|
|
187
187
|
|
|
188
188
|
/* Image fill for versions 8 and onwards */
|
|
189
189
|
.wp-block-media-text.is-image-fill-element > .wp-block-media-text__media {
|
|
190
|
-
position: relative;
|
|
191
190
|
height: 100%;
|
|
192
191
|
min-height: 250px;
|
|
193
192
|
}
|
|
@@ -198,7 +197,6 @@
|
|
|
198
197
|
}
|
|
199
198
|
|
|
200
199
|
.wp-block-media-text.is-image-fill-element > .wp-block-media-text__media img {
|
|
201
|
-
position: absolute;
|
|
202
200
|
width: 100%;
|
|
203
201
|
height: 100%;
|
|
204
202
|
object-fit: cover;
|
|
@@ -197,7 +197,6 @@
|
|
|
197
197
|
|
|
198
198
|
/* Image fill for versions 8 and onwards */
|
|
199
199
|
.wp-block-media-text.is-image-fill-element > .wp-block-media-text__media {
|
|
200
|
-
position: relative;
|
|
201
200
|
height: 100%;
|
|
202
201
|
min-height: 250px;
|
|
203
202
|
}
|
|
@@ -208,7 +207,6 @@
|
|
|
208
207
|
}
|
|
209
208
|
|
|
210
209
|
.wp-block-media-text.is-image-fill-element > .wp-block-media-text__media img {
|
|
211
|
-
position: absolute;
|
|
212
210
|
width: 100%;
|
|
213
211
|
height: 100%;
|
|
214
212
|
object-fit: cover;
|
|
@@ -188,6 +188,7 @@
|
|
|
188
188
|
:where(.wp-block-search__button-inside .wp-block-search__inside-wrapper) {
|
|
189
189
|
padding: 4px;
|
|
190
190
|
border: 1px solid #949494;
|
|
191
|
+
background-color: #fff;
|
|
191
192
|
box-sizing: border-box;
|
|
192
193
|
}
|
|
193
194
|
:where(.wp-block-search__button-inside .wp-block-search__inside-wrapper) .wp-block-search__input {
|
|
@@ -188,6 +188,7 @@
|
|
|
188
188
|
:where(.wp-block-search__button-inside .wp-block-search__inside-wrapper) {
|
|
189
189
|
padding: 4px;
|
|
190
190
|
border: 1px solid #949494;
|
|
191
|
+
background-color: #fff;
|
|
191
192
|
box-sizing: border-box;
|
|
192
193
|
}
|
|
193
194
|
:where(.wp-block-search__button-inside .wp-block-search__inside-wrapper) .wp-block-search__input {
|
|
@@ -107,59 +107,10 @@
|
|
|
107
107
|
transform: none;
|
|
108
108
|
}
|
|
109
109
|
|
|
110
|
-
:root :where(.wp-block-social-links)
|
|
111
|
-
:root :where(.wp-block-social-links.is-style-logos-only .wp-block-social-links__social-placeholder .wp-social-link) {
|
|
110
|
+
:root :where(.wp-block-social-links) {
|
|
112
111
|
padding: 0;
|
|
113
112
|
}
|
|
114
113
|
|
|
115
|
-
:root :where(.wp-block-social-links__social-placeholder .wp-social-link) {
|
|
116
|
-
padding: 0.25em;
|
|
117
|
-
}
|
|
118
|
-
|
|
119
|
-
:root :where(.wp-block-social-links.is-style-pill-shape .wp-block-social-links__social-placeholder .wp-social-link) {
|
|
120
|
-
padding-right: 0.6666666667em;
|
|
121
|
-
padding-left: 0.6666666667em;
|
|
122
|
-
}
|
|
123
|
-
|
|
124
|
-
.wp-block-social-links__social-placeholder {
|
|
125
|
-
display: flex;
|
|
126
|
-
opacity: 0.8;
|
|
127
|
-
list-style: none;
|
|
128
|
-
}
|
|
129
|
-
.wp-block-social-links__social-placeholder > .wp-social-link {
|
|
130
|
-
padding-right: 0 !important;
|
|
131
|
-
margin-right: 0 !important;
|
|
132
|
-
padding-left: 0 !important;
|
|
133
|
-
margin-left: 0 !important;
|
|
134
|
-
width: 0 !important;
|
|
135
|
-
visibility: hidden;
|
|
136
|
-
}
|
|
137
|
-
.wp-block-social-links__social-placeholder > .wp-block-social-links__social-placeholder-icons {
|
|
138
|
-
display: flex;
|
|
139
|
-
}
|
|
140
|
-
.wp-block-social-links__social-placeholder .wp-social-link::before {
|
|
141
|
-
content: "";
|
|
142
|
-
display: block;
|
|
143
|
-
width: 1em;
|
|
144
|
-
height: 1em;
|
|
145
|
-
border-radius: 50%;
|
|
146
|
-
}
|
|
147
|
-
.is-style-logos-only .wp-block-social-links__social-placeholder .wp-social-link::before {
|
|
148
|
-
background: currentColor;
|
|
149
|
-
}
|
|
150
|
-
|
|
151
|
-
.wp-block-social-links .wp-block-social-links__social-prompt {
|
|
152
|
-
min-height: 24px;
|
|
153
|
-
list-style: none;
|
|
154
|
-
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
|
|
155
|
-
font-size: 13px;
|
|
156
|
-
line-height: 24px;
|
|
157
|
-
margin-top: auto;
|
|
158
|
-
margin-bottom: auto;
|
|
159
|
-
cursor: default;
|
|
160
|
-
padding-left: 8px;
|
|
161
|
-
}
|
|
162
|
-
|
|
163
114
|
.wp-block[data-align=center] > .wp-block-social-links,
|
|
164
115
|
.wp-block.wp-block-social-links.aligncenter {
|
|
165
116
|
justify-content: center;
|
|
@@ -107,59 +107,10 @@
|
|
|
107
107
|
transform: none;
|
|
108
108
|
}
|
|
109
109
|
|
|
110
|
-
:root :where(.wp-block-social-links)
|
|
111
|
-
:root :where(.wp-block-social-links.is-style-logos-only .wp-block-social-links__social-placeholder .wp-social-link) {
|
|
110
|
+
:root :where(.wp-block-social-links) {
|
|
112
111
|
padding: 0;
|
|
113
112
|
}
|
|
114
113
|
|
|
115
|
-
:root :where(.wp-block-social-links__social-placeholder .wp-social-link) {
|
|
116
|
-
padding: 0.25em;
|
|
117
|
-
}
|
|
118
|
-
|
|
119
|
-
:root :where(.wp-block-social-links.is-style-pill-shape .wp-block-social-links__social-placeholder .wp-social-link) {
|
|
120
|
-
padding-left: 0.6666666667em;
|
|
121
|
-
padding-right: 0.6666666667em;
|
|
122
|
-
}
|
|
123
|
-
|
|
124
|
-
.wp-block-social-links__social-placeholder {
|
|
125
|
-
display: flex;
|
|
126
|
-
opacity: 0.8;
|
|
127
|
-
list-style: none;
|
|
128
|
-
}
|
|
129
|
-
.wp-block-social-links__social-placeholder > .wp-social-link {
|
|
130
|
-
padding-left: 0 !important;
|
|
131
|
-
margin-left: 0 !important;
|
|
132
|
-
padding-right: 0 !important;
|
|
133
|
-
margin-right: 0 !important;
|
|
134
|
-
width: 0 !important;
|
|
135
|
-
visibility: hidden;
|
|
136
|
-
}
|
|
137
|
-
.wp-block-social-links__social-placeholder > .wp-block-social-links__social-placeholder-icons {
|
|
138
|
-
display: flex;
|
|
139
|
-
}
|
|
140
|
-
.wp-block-social-links__social-placeholder .wp-social-link::before {
|
|
141
|
-
content: "";
|
|
142
|
-
display: block;
|
|
143
|
-
width: 1em;
|
|
144
|
-
height: 1em;
|
|
145
|
-
border-radius: 50%;
|
|
146
|
-
}
|
|
147
|
-
.is-style-logos-only .wp-block-social-links__social-placeholder .wp-social-link::before {
|
|
148
|
-
background: currentColor;
|
|
149
|
-
}
|
|
150
|
-
|
|
151
|
-
.wp-block-social-links .wp-block-social-links__social-prompt {
|
|
152
|
-
min-height: 24px;
|
|
153
|
-
list-style: none;
|
|
154
|
-
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
|
|
155
|
-
font-size: 13px;
|
|
156
|
-
line-height: 24px;
|
|
157
|
-
margin-top: auto;
|
|
158
|
-
margin-bottom: auto;
|
|
159
|
-
cursor: default;
|
|
160
|
-
padding-right: 8px;
|
|
161
|
-
}
|
|
162
|
-
|
|
163
114
|
.wp-block[data-align=center] > .wp-block-social-links,
|
|
164
115
|
.wp-block.wp-block-social-links.aligncenter {
|
|
165
116
|
justify-content: center;
|
|
@@ -2185,7 +2185,6 @@ ul {
|
|
|
2185
2185
|
|
|
2186
2186
|
/* Image fill for versions 8 and onwards */
|
|
2187
2187
|
.wp-block-media-text.is-image-fill-element > .wp-block-media-text__media {
|
|
2188
|
-
position: relative;
|
|
2189
2188
|
height: 100%;
|
|
2190
2189
|
min-height: 250px;
|
|
2191
2190
|
}
|
|
@@ -2196,7 +2195,6 @@ ul {
|
|
|
2196
2195
|
}
|
|
2197
2196
|
|
|
2198
2197
|
.wp-block-media-text.is-image-fill-element > .wp-block-media-text__media img {
|
|
2199
|
-
position: absolute;
|
|
2200
2198
|
width: 100%;
|
|
2201
2199
|
height: 100%;
|
|
2202
2200
|
object-fit: cover;
|
|
@@ -2930,6 +2928,9 @@ p.has-text-align-left[style*="writing-mode:vertical-lr"] {
|
|
|
2930
2928
|
font-size: var(--wp--preset--font-size--medium, smaller);
|
|
2931
2929
|
margin-right: 0.5em;
|
|
2932
2930
|
}
|
|
2931
|
+
.wp-block-post-comments-form input[type=submit] {
|
|
2932
|
+
width: auto;
|
|
2933
|
+
}
|
|
2933
2934
|
|
|
2934
2935
|
.wp-block-post-comments-count {
|
|
2935
2936
|
box-sizing: border-box;
|
|
@@ -3420,6 +3421,7 @@ ul.wp-block-rss.is-grid li {
|
|
|
3420
3421
|
:where(.wp-block-search__button-inside .wp-block-search__inside-wrapper) {
|
|
3421
3422
|
padding: 4px;
|
|
3422
3423
|
border: 1px solid #949494;
|
|
3424
|
+
background-color: #fff;
|
|
3423
3425
|
box-sizing: border-box;
|
|
3424
3426
|
}
|
|
3425
3427
|
:where(.wp-block-search__button-inside .wp-block-search__inside-wrapper) .wp-block-search__input {
|
|
@@ -3951,10 +3953,6 @@ ul.wp-block-rss.is-grid li {
|
|
|
3951
3953
|
text-align: center;
|
|
3952
3954
|
justify-content: center;
|
|
3953
3955
|
}
|
|
3954
|
-
.wp-block-tag-cloud.alignfull {
|
|
3955
|
-
padding-right: 1em;
|
|
3956
|
-
padding-left: 1em;
|
|
3957
|
-
}
|
|
3958
3956
|
.wp-block-tag-cloud a {
|
|
3959
3957
|
display: inline-block;
|
|
3960
3958
|
margin-left: 5px;
|
package/build-style/style.css
CHANGED
|
@@ -2217,7 +2217,6 @@ ul {
|
|
|
2217
2217
|
|
|
2218
2218
|
/* Image fill for versions 8 and onwards */
|
|
2219
2219
|
.wp-block-media-text.is-image-fill-element > .wp-block-media-text__media {
|
|
2220
|
-
position: relative;
|
|
2221
2220
|
height: 100%;
|
|
2222
2221
|
min-height: 250px;
|
|
2223
2222
|
}
|
|
@@ -2228,7 +2227,6 @@ ul {
|
|
|
2228
2227
|
}
|
|
2229
2228
|
|
|
2230
2229
|
.wp-block-media-text.is-image-fill-element > .wp-block-media-text__media img {
|
|
2231
|
-
position: absolute;
|
|
2232
2230
|
width: 100%;
|
|
2233
2231
|
height: 100%;
|
|
2234
2232
|
object-fit: cover;
|
|
@@ -2962,6 +2960,9 @@ p.has-text-align-left[style*="writing-mode:vertical-lr"] {
|
|
|
2962
2960
|
font-size: var(--wp--preset--font-size--medium, smaller);
|
|
2963
2961
|
margin-left: 0.5em;
|
|
2964
2962
|
}
|
|
2963
|
+
.wp-block-post-comments-form input[type=submit] {
|
|
2964
|
+
width: auto;
|
|
2965
|
+
}
|
|
2965
2966
|
|
|
2966
2967
|
.wp-block-post-comments-count {
|
|
2967
2968
|
box-sizing: border-box;
|
|
@@ -3454,6 +3455,7 @@ ul.wp-block-rss.is-grid li {
|
|
|
3454
3455
|
:where(.wp-block-search__button-inside .wp-block-search__inside-wrapper) {
|
|
3455
3456
|
padding: 4px;
|
|
3456
3457
|
border: 1px solid #949494;
|
|
3458
|
+
background-color: #fff;
|
|
3457
3459
|
box-sizing: border-box;
|
|
3458
3460
|
}
|
|
3459
3461
|
:where(.wp-block-search__button-inside .wp-block-search__inside-wrapper) .wp-block-search__input {
|
|
@@ -3986,10 +3988,6 @@ ul.wp-block-rss.is-grid li {
|
|
|
3986
3988
|
text-align: center;
|
|
3987
3989
|
justify-content: center;
|
|
3988
3990
|
}
|
|
3989
|
-
.wp-block-tag-cloud.alignfull {
|
|
3990
|
-
padding-left: 1em;
|
|
3991
|
-
padding-right: 1em;
|
|
3992
|
-
}
|
|
3993
3991
|
.wp-block-tag-cloud a {
|
|
3994
3992
|
display: inline-block;
|
|
3995
3993
|
margin-right: 5px;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wordpress/block-library",
|
|
3
|
-
"version": "9.
|
|
3
|
+
"version": "9.22.0",
|
|
4
4
|
"description": "Block library for the WordPress editor.",
|
|
5
5
|
"author": "The WordPress Contributors",
|
|
6
6
|
"license": "GPL-2.0-or-later",
|
|
@@ -41,39 +41,39 @@
|
|
|
41
41
|
],
|
|
42
42
|
"dependencies": {
|
|
43
43
|
"@babel/runtime": "7.25.7",
|
|
44
|
-
"@wordpress/a11y": "^4.
|
|
45
|
-
"@wordpress/api-fetch": "^7.
|
|
46
|
-
"@wordpress/autop": "^4.
|
|
47
|
-
"@wordpress/blob": "^4.
|
|
48
|
-
"@wordpress/block-editor": "^14.
|
|
49
|
-
"@wordpress/blocks": "^14.
|
|
50
|
-
"@wordpress/components": "^29.
|
|
51
|
-
"@wordpress/compose": "^7.
|
|
52
|
-
"@wordpress/core-data": "^7.
|
|
53
|
-
"@wordpress/data": "^10.
|
|
54
|
-
"@wordpress/date": "^5.
|
|
55
|
-
"@wordpress/deprecated": "^4.
|
|
56
|
-
"@wordpress/dom": "^4.
|
|
57
|
-
"@wordpress/element": "^6.
|
|
58
|
-
"@wordpress/escape-html": "^3.
|
|
59
|
-
"@wordpress/hooks": "^4.
|
|
60
|
-
"@wordpress/html-entities": "^4.
|
|
61
|
-
"@wordpress/i18n": "^5.
|
|
62
|
-
"@wordpress/icons": "^10.
|
|
63
|
-
"@wordpress/interactivity": "^6.
|
|
64
|
-
"@wordpress/interactivity-router": "^2.
|
|
65
|
-
"@wordpress/keyboard-shortcuts": "^5.
|
|
66
|
-
"@wordpress/keycodes": "^4.
|
|
67
|
-
"@wordpress/notices": "^5.
|
|
68
|
-
"@wordpress/patterns": "^2.
|
|
69
|
-
"@wordpress/primitives": "^4.
|
|
70
|
-
"@wordpress/private-apis": "^1.
|
|
71
|
-
"@wordpress/reusable-blocks": "^5.
|
|
72
|
-
"@wordpress/rich-text": "^7.
|
|
73
|
-
"@wordpress/server-side-render": "^5.
|
|
74
|
-
"@wordpress/url": "^4.
|
|
75
|
-
"@wordpress/viewport": "^6.
|
|
76
|
-
"@wordpress/wordcount": "^4.
|
|
44
|
+
"@wordpress/a11y": "^4.22.0",
|
|
45
|
+
"@wordpress/api-fetch": "^7.22.0",
|
|
46
|
+
"@wordpress/autop": "^4.22.0",
|
|
47
|
+
"@wordpress/blob": "^4.22.0",
|
|
48
|
+
"@wordpress/block-editor": "^14.17.0",
|
|
49
|
+
"@wordpress/blocks": "^14.11.0",
|
|
50
|
+
"@wordpress/components": "^29.8.0",
|
|
51
|
+
"@wordpress/compose": "^7.22.0",
|
|
52
|
+
"@wordpress/core-data": "^7.22.0",
|
|
53
|
+
"@wordpress/data": "^10.22.0",
|
|
54
|
+
"@wordpress/date": "^5.22.0",
|
|
55
|
+
"@wordpress/deprecated": "^4.22.0",
|
|
56
|
+
"@wordpress/dom": "^4.22.0",
|
|
57
|
+
"@wordpress/element": "^6.22.0",
|
|
58
|
+
"@wordpress/escape-html": "^3.22.0",
|
|
59
|
+
"@wordpress/hooks": "^4.22.0",
|
|
60
|
+
"@wordpress/html-entities": "^4.22.0",
|
|
61
|
+
"@wordpress/i18n": "^5.22.0",
|
|
62
|
+
"@wordpress/icons": "^10.22.0",
|
|
63
|
+
"@wordpress/interactivity": "^6.22.0",
|
|
64
|
+
"@wordpress/interactivity-router": "^2.22.0",
|
|
65
|
+
"@wordpress/keyboard-shortcuts": "^5.22.0",
|
|
66
|
+
"@wordpress/keycodes": "^4.22.0",
|
|
67
|
+
"@wordpress/notices": "^5.22.0",
|
|
68
|
+
"@wordpress/patterns": "^2.22.0",
|
|
69
|
+
"@wordpress/primitives": "^4.22.0",
|
|
70
|
+
"@wordpress/private-apis": "^1.22.0",
|
|
71
|
+
"@wordpress/reusable-blocks": "^5.22.0",
|
|
72
|
+
"@wordpress/rich-text": "^7.22.0",
|
|
73
|
+
"@wordpress/server-side-render": "^5.22.0",
|
|
74
|
+
"@wordpress/url": "^4.22.0",
|
|
75
|
+
"@wordpress/viewport": "^6.22.0",
|
|
76
|
+
"@wordpress/wordcount": "^4.22.0",
|
|
77
77
|
"change-case": "^4.1.2",
|
|
78
78
|
"clsx": "^2.1.1",
|
|
79
79
|
"colord": "^2.7.0",
|
|
@@ -91,5 +91,5 @@
|
|
|
91
91
|
"publishConfig": {
|
|
92
92
|
"access": "public"
|
|
93
93
|
},
|
|
94
|
-
"gitHead": "
|
|
94
|
+
"gitHead": "01a314d7e46a50101e328fdb11959c441e49372d"
|
|
95
95
|
}
|
package/src/button/index.php
CHANGED
|
@@ -10,9 +10,8 @@
|
|
|
10
10
|
*
|
|
11
11
|
* @since 6.6.0
|
|
12
12
|
*
|
|
13
|
-
* @param array
|
|
14
|
-
* @param string
|
|
15
|
-
* @param WP_Block $block The block object.
|
|
13
|
+
* @param array $attributes The block attributes.
|
|
14
|
+
* @param string $content The block content.
|
|
16
15
|
*
|
|
17
16
|
* @return string The block content.
|
|
18
17
|
*/
|
package/src/categories/edit.js
CHANGED
|
@@ -125,7 +125,7 @@ export default function CategoriesEdit( {
|
|
|
125
125
|
<RichText
|
|
126
126
|
className="wp-block-categories__label"
|
|
127
127
|
aria-label={ __( 'Label text' ) }
|
|
128
|
-
placeholder={ taxonomy
|
|
128
|
+
placeholder={ taxonomy?.name }
|
|
129
129
|
withoutInteractiveFormatting
|
|
130
130
|
value={ label }
|
|
131
131
|
onChange={ ( html ) =>
|
|
@@ -134,7 +134,7 @@ export default function CategoriesEdit( {
|
|
|
134
134
|
/>
|
|
135
135
|
) : (
|
|
136
136
|
<VisuallyHidden as="label" htmlFor={ selectId }>
|
|
137
|
-
{ label ? label : taxonomy
|
|
137
|
+
{ label ? label : taxonomy?.name }
|
|
138
138
|
</VisuallyHidden>
|
|
139
139
|
) }
|
|
140
140
|
<select id={ selectId }>
|
|
@@ -142,7 +142,7 @@ export default function CategoriesEdit( {
|
|
|
142
142
|
{ sprintf(
|
|
143
143
|
/* translators: %s: taxonomy's singular name */
|
|
144
144
|
__( 'Select %s' ),
|
|
145
|
-
taxonomy
|
|
145
|
+
taxonomy?.labels?.singular_name
|
|
146
146
|
) }
|
|
147
147
|
</option>
|
|
148
148
|
{ categoriesList.map( ( category ) =>
|
package/src/cover/index.js
CHANGED
package/src/details/edit.js
CHANGED
|
@@ -91,18 +91,16 @@ function DetailsEdit( { attributes, setAttributes } ) {
|
|
|
91
91
|
) }
|
|
92
92
|
/>
|
|
93
93
|
</InspectorControls>
|
|
94
|
-
<details
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
>
|
|
94
|
+
<details
|
|
95
|
+
{ ...innerBlocksProps }
|
|
96
|
+
open={ isOpen }
|
|
97
|
+
onToggle={ ( event ) => setIsOpen( event.target.open ) }
|
|
98
|
+
>
|
|
99
|
+
<summary>
|
|
101
100
|
<RichText
|
|
102
101
|
identifier="summary"
|
|
103
102
|
aria-label={ __( 'Write summary' ) }
|
|
104
103
|
placeholder={ placeholder || __( 'Write summary…' ) }
|
|
105
|
-
allowedFormats={ [] }
|
|
106
104
|
withoutInteractiveFormatting
|
|
107
105
|
value={ summary }
|
|
108
106
|
onChange={ ( newSummary ) =>
|
package/src/details/index.js
CHANGED
package/src/embed/edit.js
CHANGED
|
@@ -172,7 +172,13 @@ const EmbedEdit = ( props ) => {
|
|
|
172
172
|
// When obtaining an incoming preview,
|
|
173
173
|
// we set the attributes derived from the preview data.
|
|
174
174
|
const mergedAttributes = getMergedAttributes();
|
|
175
|
-
|
|
175
|
+
const hasChanges = Object.keys( mergedAttributes ).some(
|
|
176
|
+
( key ) => mergedAttributes[ key ] !== attributes[ key ]
|
|
177
|
+
);
|
|
178
|
+
|
|
179
|
+
if ( hasChanges ) {
|
|
180
|
+
setAttributes( mergedAttributes );
|
|
181
|
+
}
|
|
176
182
|
|
|
177
183
|
if ( onReplace ) {
|
|
178
184
|
const upgradedBlock = createUpgradedEmbedBlock(
|
package/src/file/index.php
CHANGED
|
@@ -10,9 +10,8 @@
|
|
|
10
10
|
*
|
|
11
11
|
* @since 5.8.0
|
|
12
12
|
*
|
|
13
|
-
* @param array
|
|
14
|
-
* @param string
|
|
15
|
-
* @param WP_Block $block The parsed block.
|
|
13
|
+
* @param array $attributes The block attributes.
|
|
14
|
+
* @param string $content The block content.
|
|
16
15
|
*
|
|
17
16
|
* @return string Returns the block content.
|
|
18
17
|
*/
|