@wordpress/block-library 9.13.0 → 9.13.1-next.a9f418477.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.
Files changed (178) hide show
  1. package/build/block/edit.js +2 -29
  2. package/build/block/edit.js.map +1 -1
  3. package/build/cover/edit/index.js +4 -2
  4. package/build/cover/edit/index.js.map +1 -1
  5. package/build/cover/edit/inspector-controls.js +6 -4
  6. package/build/cover/edit/inspector-controls.js.map +1 -1
  7. package/build/form/index.js +1 -2
  8. package/build/form/index.js.map +1 -1
  9. package/build/form/view.js +10 -5
  10. package/build/form/view.js.map +1 -1
  11. package/build/list-item/hooks/use-merge.js +2 -2
  12. package/build/list-item/hooks/use-merge.js.map +1 -1
  13. package/build/navigation/edit/deleted-navigation-warning.js +9 -2
  14. package/build/navigation/edit/deleted-navigation-warning.js.map +1 -1
  15. package/build/navigation-link/edit.js +1 -2
  16. package/build/navigation-link/edit.js.map +1 -1
  17. package/build/navigation-submenu/edit.js +3 -1
  18. package/build/navigation-submenu/edit.js.map +1 -1
  19. package/build/pattern/recursion-detector.js +0 -1
  20. package/build/pattern/recursion-detector.js.map +1 -1
  21. package/build/query/edit/index.js +2 -2
  22. package/build/query/edit/index.js.map +1 -1
  23. package/build/query/edit/inspector-controls/author-control.js +0 -1
  24. package/build/query/edit/inspector-controls/author-control.js.map +1 -1
  25. package/build/query/edit/inspector-controls/parent-control.js +0 -1
  26. package/build/query/edit/inspector-controls/parent-control.js.map +1 -1
  27. package/build/query/edit/inspector-controls/taxonomy-controls.js +0 -1
  28. package/build/query/edit/inspector-controls/taxonomy-controls.js.map +1 -1
  29. package/build/query/edit/{pattern-selection-modal.js → pattern-selection.js} +55 -36
  30. package/build/query/edit/pattern-selection.js.map +1 -0
  31. package/build/query/edit/query-content.js +5 -8
  32. package/build/query/edit/query-content.js.map +1 -1
  33. package/build/query/edit/query-placeholder.js +5 -11
  34. package/build/query/edit/query-placeholder.js.map +1 -1
  35. package/build/query/edit/query-toolbar.js +31 -11
  36. package/build/query/edit/query-toolbar.js.map +1 -1
  37. package/build/separator/deprecated.js +2 -1
  38. package/build/separator/deprecated.js.map +1 -1
  39. package/build/separator/edit.js +29 -4
  40. package/build/separator/edit.js.map +1 -1
  41. package/build/separator/index.js +5 -0
  42. package/build/separator/index.js.map +1 -1
  43. package/build/separator/save.js +3 -2
  44. package/build/separator/save.js.map +1 -1
  45. package/build/template-part/edit/import-controls.js +0 -1
  46. package/build/template-part/edit/import-controls.js.map +1 -1
  47. package/build-module/block/edit.js +3 -30
  48. package/build-module/block/edit.js.map +1 -1
  49. package/build-module/cover/edit/index.js +4 -2
  50. package/build-module/cover/edit/index.js.map +1 -1
  51. package/build-module/cover/edit/inspector-controls.js +6 -4
  52. package/build-module/cover/edit/inspector-controls.js.map +1 -1
  53. package/build-module/form/index.js +1 -2
  54. package/build-module/form/index.js.map +1 -1
  55. package/build-module/form/view.js +10 -5
  56. package/build-module/form/view.js.map +1 -1
  57. package/build-module/list-item/hooks/use-merge.js +2 -2
  58. package/build-module/list-item/hooks/use-merge.js.map +1 -1
  59. package/build-module/navigation/edit/deleted-navigation-warning.js +10 -3
  60. package/build-module/navigation/edit/deleted-navigation-warning.js.map +1 -1
  61. package/build-module/navigation-link/edit.js +1 -2
  62. package/build-module/navigation-link/edit.js.map +1 -1
  63. package/build-module/navigation-submenu/edit.js +3 -1
  64. package/build-module/navigation-submenu/edit.js.map +1 -1
  65. package/build-module/pattern/recursion-detector.js +0 -1
  66. package/build-module/pattern/recursion-detector.js.map +1 -1
  67. package/build-module/query/edit/index.js +1 -1
  68. package/build-module/query/edit/index.js.map +1 -1
  69. package/build-module/query/edit/inspector-controls/author-control.js +0 -1
  70. package/build-module/query/edit/inspector-controls/author-control.js.map +1 -1
  71. package/build-module/query/edit/inspector-controls/parent-control.js +0 -1
  72. package/build-module/query/edit/inspector-controls/parent-control.js.map +1 -1
  73. package/build-module/query/edit/inspector-controls/taxonomy-controls.js +0 -1
  74. package/build-module/query/edit/inspector-controls/taxonomy-controls.js.map +1 -1
  75. package/build-module/query/edit/{pattern-selection-modal.js → pattern-selection.js} +53 -36
  76. package/build-module/query/edit/pattern-selection.js.map +1 -0
  77. package/build-module/query/edit/query-content.js +5 -8
  78. package/build-module/query/edit/query-content.js.map +1 -1
  79. package/build-module/query/edit/query-placeholder.js +6 -12
  80. package/build-module/query/edit/query-placeholder.js.map +1 -1
  81. package/build-module/query/edit/query-toolbar.js +31 -13
  82. package/build-module/query/edit/query-toolbar.js.map +1 -1
  83. package/build-module/separator/deprecated.js +2 -1
  84. package/build-module/separator/deprecated.js.map +1 -1
  85. package/build-module/separator/edit.js +32 -7
  86. package/build-module/separator/edit.js.map +1 -1
  87. package/build-module/separator/index.js +5 -0
  88. package/build-module/separator/index.js.map +1 -1
  89. package/build-module/separator/save.js +3 -2
  90. package/build-module/separator/save.js.map +1 -1
  91. package/build-module/template-part/edit/import-controls.js +0 -1
  92. package/build-module/template-part/edit/import-controls.js.map +1 -1
  93. package/build-style/button/style-rtl.css +3 -3
  94. package/build-style/button/style.css +3 -3
  95. package/build-style/comments/editor-rtl.css +1 -1
  96. package/build-style/comments/editor.css +1 -1
  97. package/build-style/comments/style-rtl.css +1 -1
  98. package/build-style/comments/style.css +1 -1
  99. package/build-style/comments-pagination/editor-rtl.css +1 -0
  100. package/build-style/comments-pagination/editor.css +1 -0
  101. package/build-style/comments-pagination/style-rtl.css +1 -0
  102. package/build-style/comments-pagination/style.css +1 -0
  103. package/build-style/common-rtl.css +17 -17
  104. package/build-style/common.css +17 -17
  105. package/build-style/editor-rtl.css +72 -41
  106. package/build-style/editor.css +72 -41
  107. package/build-style/gallery/style-rtl.css +2 -2
  108. package/build-style/gallery/style.css +2 -2
  109. package/build-style/heading/style-rtl.css +11 -11
  110. package/build-style/heading/style.css +11 -11
  111. package/build-style/image/style-rtl.css +4 -3
  112. package/build-style/image/style.css +4 -3
  113. package/build-style/latest-comments/style-rtl.css +4 -4
  114. package/build-style/latest-comments/style.css +4 -4
  115. package/build-style/latest-posts/style-rtl.css +2 -1
  116. package/build-style/latest-posts/style.css +2 -1
  117. package/build-style/more/editor-rtl.css +1 -1
  118. package/build-style/more/editor.css +1 -1
  119. package/build-style/nextpage/editor-rtl.css +1 -1
  120. package/build-style/nextpage/editor.css +1 -1
  121. package/build-style/post-comments-form/style-rtl.css +2 -2
  122. package/build-style/post-comments-form/style.css +2 -2
  123. package/build-style/post-featured-image/editor-rtl.css +27 -27
  124. package/build-style/post-featured-image/editor.css +27 -27
  125. package/build-style/pullquote/style-rtl.css +1 -0
  126. package/build-style/pullquote/style.css +1 -0
  127. package/build-style/query/editor-rtl.css +30 -0
  128. package/build-style/query/editor.css +30 -0
  129. package/build-style/read-more/style-rtl.css +2 -2
  130. package/build-style/read-more/style.css +2 -2
  131. package/build-style/social-link/editor-rtl.css +2 -2
  132. package/build-style/social-link/editor.css +2 -2
  133. package/build-style/social-links/editor-rtl.css +2 -2
  134. package/build-style/social-links/editor.css +2 -2
  135. package/build-style/social-links/style-rtl.css +2 -2
  136. package/build-style/social-links/style.css +2 -2
  137. package/build-style/style-rtl.css +55 -51
  138. package/build-style/style.css +55 -51
  139. package/build-style/text-columns/style-rtl.css +3 -3
  140. package/build-style/text-columns/style.css +3 -3
  141. package/build-types/lock-unlock.d.ts +1 -1
  142. package/build-types/lock-unlock.d.ts.map +1 -1
  143. package/package.json +35 -34
  144. package/src/block/edit.js +6 -51
  145. package/src/comments-pagination/editor.scss +1 -0
  146. package/src/comments-pagination/style.scss +1 -0
  147. package/src/cover/edit/index.js +4 -1
  148. package/src/cover/edit/inspector-controls.js +10 -3
  149. package/src/cover/index.php +2 -2
  150. package/src/form/block.json +1 -2
  151. package/src/form/index.php +1 -20
  152. package/src/form/view.js +18 -5
  153. package/src/image/style.scss +4 -3
  154. package/src/latest-posts/style.scss +2 -1
  155. package/src/list-item/hooks/use-merge.js +2 -2
  156. package/src/missing/test/edit.native.js +0 -1
  157. package/src/navigation/README.md +1 -0
  158. package/src/navigation/edit/deleted-navigation-warning.js +11 -2
  159. package/src/navigation/index.php +9 -35
  160. package/src/navigation-link/edit.js +0 -6
  161. package/src/navigation-submenu/edit.js +5 -6
  162. package/src/navigation-submenu/index.php +17 -1
  163. package/src/pullquote/style.scss +1 -0
  164. package/src/query/edit/index.js +1 -1
  165. package/src/query/edit/{pattern-selection-modal.js → pattern-selection.js} +53 -33
  166. package/src/query/edit/query-content.js +4 -10
  167. package/src/query/edit/query-placeholder.js +5 -14
  168. package/src/query/edit/query-toolbar.js +38 -17
  169. package/src/query/editor.scss +30 -0
  170. package/src/search/index.php +3 -3
  171. package/src/separator/block.json +5 -0
  172. package/src/separator/deprecated.js +1 -0
  173. package/src/separator/edit.js +28 -3
  174. package/src/separator/save.js +2 -2
  175. package/src/separator/test/edit.js +1 -0
  176. package/tsconfig.tsbuildinfo +1 -1
  177. package/build/query/edit/pattern-selection-modal.js.map +0 -1
  178. package/build-module/query/edit/pattern-selection-modal.js.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"names":["separator","icon","initBlock","edit","metadata","$schema","apiVersion","name","title","category","description","keywords","textdomain","attributes","opacity","type","supports","anchor","align","color","enableContrastChecker","__experimentalSkipSerialization","gradients","background","text","__experimentalDefaultControls","spacing","margin","interactivity","clientNavigation","styles","label","isDefault","editorStyle","style","save","transforms","deprecated","settings","example","customColor","className","init"],"sources":["@wordpress/block-library/src/separator/index.js"],"sourcesContent":["/**\n * WordPress dependencies\n */\nimport { separator as icon } from '@wordpress/icons';\n\n/**\n * Internal dependencies\n */\nimport initBlock from '../utils/init-block';\nimport edit from './edit';\nimport metadata from './block.json';\nimport save from './save';\nimport transforms from './transforms';\nimport deprecated from './deprecated';\n\nconst { name } = metadata;\n\nexport { metadata, name };\n\nexport const settings = {\n\ticon,\n\texample: {\n\t\tattributes: {\n\t\t\tcustomColor: '#065174',\n\t\t\tclassName: 'is-style-wide',\n\t\t},\n\t},\n\ttransforms,\n\tedit,\n\tsave,\n\tdepr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AEH,QAAQ;EAAEkC;AAAS,CAAE,CAAC","ignoreList":[]}
1
+ {"version":3,"names":["separator","icon","initBlock","edit","metadata","$schema","apiVersion","name","title","category","description","keywords","textdomain","attributes","opacity","type","tagName","supports","anchor","align","color","enableContrastChecker","__experimentalSkipSerialization","gradients","background","text","__experimentalDefaultControls","spacing","margin","interactivity","clientNavigation","styles","label","isDefault","editorStyle","style","save","transforms","deprecated","settings","example","customColor","className","init"],"sources":["@wordpress/block-library/src/separator/index.js"],"sourcesContent":["/**\n * WordPress dependencies\n */\nimport { separator as icon } from '@wordpress/icons';\n\n/**\n * Internal dependencies\n */\nimport initBlock from '../utils/init-block';\nimport edit from './edit';\nimport metadata from './block.json';\nimport save from './save';\nimport transforms from './transforms';\nimport deprecated from './deprecated';\n\nconst { name } = metadata;\n\nexport { metadata, name };\n\nexport const settings = {\n\ticon,\n\texample: {\n\t\tattributes: {\n\t\t\tcustomColor: '#065174',\n\t\t\tclassName: 'is-style-wide',\n\t\t},\n\t},\n\ttransforms,\n\tedit,\n\tsave,\n\tdeprecated,\n};\n\nexport const init = () => initBlock( { name, metadata, settings } );\n"],"mappings":"AAAA;AACA;AACA;AACA,SAASA,SAAS,IAAIC,IAAI,QAAQ,kBAAkB;;AAEpD;AACA;AACA;AACA,OAAOC,SAAS,MAAM,qBAAqB;AAC3C,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;MAAA;IAAA;IAAAC,OAAA;MAAAD,IAAA;MAAA;MAAA;IAAA;EAAA;EAAAE,QAAA;IAAAC,MAAA;IAAAC,KAAA;IAAAC,KAAA;MAAAC,qBAAA;MAAAC,+BAAA;MAAAC,SAAA;MAAAC,UAAA;MAAAC,IAAA;MAAAC,6BAAA;QAAAF,UAAA;MAAA;IAAA;IAAAG,OAAA;MAAAC,MAAA;IAAA;IAAAC,aAAA;MAAAC,gBAAA;IAAA;EAAA;EAAAC,MAAA;IAAAxB,IAAA;IAAAyB,KAAA;IAAAC,SAAA;EAAA;IAAA1B,IAAA;IAAAyB,KAAA;EAAA;IAAAzB,IAAA;IAAAyB,KAAA;EAAA;EAAAE,WAAA;EAAAC,KAAA;AAAA;AAE1B,OAAOC,IAAI,MAAM,QAAQ;AACzB,OAAOC,UAAU,MAAM,cAAc;AACrC,OAAOC,UAAU,MAAM,cAAc;AAErC,MAAM;EAAE/B;AAAK,CAAC,GAAGH,QAAQ;AAEzB,SAASA,QAAQ,EAAEG,IAAI;AAEvB,OAAO,MAAMgC,QAAQ,GAAG;EACvBtC,IAAI;EACJuC,OAAO,EAAE;IACR3B,UAAU,EAAE;MACX4B,WAAW,EAAE,SAAS;MACtBC,SAAS,EAAE;IACZ;EACD,CAAC;EACDL,UAAU;EACVlC,IAAI;EACJiC,IAAI;EACJE;AACD,CAAC;AAED,OAAO,MAAMK,IAAI,GAAGA,CAAA,KAAMzC,SAAS,CAAE;EAAEK,IAAI;EAAEH,QAAQ;EAAEmC;AAAS,CAAE,CAAC","ignoreList":[]}
@@ -14,7 +14,8 @@ export default function separatorSave({
14
14
  const {
15
15
  backgroundColor,
16
16
  style,
17
- opacity
17
+ opacity,
18
+ tagName: Tag
18
19
  } = attributes;
19
20
  const customColor = style?.color?.background;
20
21
  const colorProps = getColorClassesAndStyles(attributes);
@@ -34,7 +35,7 @@ export default function separatorSave({
34
35
  backgroundColor: colorProps?.style?.backgroundColor,
35
36
  color: colorClass ? undefined : customColor
36
37
  };
37
- return /*#__PURE__*/_jsx("hr", {
38
+ return /*#__PURE__*/_jsx(Tag, {
38
39
  ...useBlockProps.save({
39
40
  className,
40
41
  style: styles
@@ -1 +1 @@
1
- {"version":3,"names":["clsx","getColorClassName","useBlockProps","__experimentalGetColorClassesAndStyles","getColorClassesAndStyles","jsx","_jsx","separatorSave","attributes","backgroundColor","style","opacity","customColor","color","background","colorProps","colorClass","className","styles","undefined","save"],"sources":["@wordpress/block-library/src/separator/save.js"],"sourcesContent":["/**\n * External dependencies\n */\nimport clsx from 'clsx';\n\n/**\n * WordPress dependencies\n */\nimport {\n\tgetColorClassName,\n\tuseBlockProps,\n\t__experimentalGetColorClassesAndStyles as getColorClassesAndStyles,\n} from '@wordpress/block-editor';\n\nexport default function separatorSave( { attributes } ) {\n\tconst { backgroundColor, style, opacity } = attributes;\n\tconst customColor = style?.color?.background;\n\tconst colorProps = getColorClassesAndStyles( attributes );\n\t// The hr support changing color using border-color, since border-color\n\t// is not yet supported in the color palette, we use background-color.\n\n\t// The dots styles uses text for the dots, to change those dots color is\n\t// using color, not backgroundColor.\n\tconst colorClass = getColorClassName( 'color', backgroundColor );\n\n\tconst className = clsx(\n\t\t{\n\t\t\t'has-text-color': backgroundColor || customColor,\n\t\t\t[ colorClass ]: colorClass,\n\t\t\t'has-css-opacity': opacity === 'css',\n\t\t\t'has-alpha-channel-opacity': opacity === 'alpha-channel',\n\t\t},\n\t\tcolorProps.className\n\t);\n\n\tconst styles = {\n\t\tbackgroundColor: colorProps?.style?.backgroundColor,\n\t\tcolor: colorClass ? undefined : customColor,\n\t};\n\treturn <hr { ...useBlockProps.save( { className, style: styles } ) } />;\n}\n"],"mappings":"AAAA;AACA;AACA;AACA,OAAOA,IAAI,MAAM,MAAM;;AAEvB;AACA;AACA;AACA,SACCC,iBAAiB,EACjBC,aAAa,EACbC,sCAAsC,IAAIC,wBAAwB,QAC5D,yBAAyB;AAAC,SAAAC,GAAA,IAAAC,IAAA;AAEjC,eAAe,SAASC,aAAaA,CAAE;EAAEC;AAAW,CAAC,EAAG;EACvD,MAAM;IAAEC,eAAe;IAAEC,KAAK;IAAEC;EAAQ,CAAC,GAAGH,UAAU;EACtD,MAAMI,WAAW,GAAGF,KAAK,EAAEG,KAAK,EAAEC,UAAU;EAC5C,MAAMC,UAAU,GAAGX,wBAAwB,CAAEI,UAAW,CAAC;EACzD;EACA;;EAEA;EACA;EACA,MAAMQ,UAAU,GAAGf,iBAAiB,CAAE,OAAO,EAAEQ,eAAgB,CAAC;EAEhE,MAAMQ,SAAS,GAAGjB,IAAI,CACrB;IACC,gBAAgB,EAAES,eAAe,IAAIG,WAAW;IAChD,CAAEI,UAAU,GAAIA,UAAU;IAC1B,iBAAiB,EAAEL,OAAO,KAAK,KAAK;IACpC,2BAA2B,EAAEA,OAAO,KAAK;EAC1C,CAAC,EACDI,UAAU,CAACE,SACZ,CAAC;EAED,MAAMC,MAAM,GAAG;IACdT,eAAe,EAAEM,UAAU,EAAEL,KAAK,EAAED,eAAe;IACnDI,KAAK,EAAEG,UAAU,GAAGG,SAAS,GAAGP;EACjC,CAAC;EACD,oBAAON,IAAA;IAAA,GAASJ,aAAa,CAACkB,IAAI,CAAE;MAAEH,SAAS;MAAEP,KAAK,EAAEQ;IAAO,CAAE;EAAC,CAAI,CAAC;AACxE","ignoreList":[]}
1
+ {"version":3,"names":["clsx","getColorClassName","useBlockProps","__experimentalGetColorClassesAndStyles","getColorClassesAndStyles","jsx","_jsx","separatorSave","attributes","backgroundColor","style","opacity","tagName","Tag","customColor","color","background","colorProps","colorClass","className","styles","undefined","save"],"sources":["@wordpress/block-library/src/separator/save.js"],"sourcesContent":["/**\n * External dependencies\n */\nimport clsx from 'clsx';\n\n/**\n * WordPress dependencies\n */\nimport {\n\tgetColorClassName,\n\tuseBlockProps,\n\t__experimentalGetColorClassesAndStyles as getColorClassesAndStyles,\n} from '@wordpress/block-editor';\n\nexport default function separatorSave( { attributes } ) {\n\tconst { backgroundColor, style, opacity, tagName: Tag } = attributes;\n\tconst customColor = style?.color?.background;\n\tconst colorProps = getColorClassesAndStyles( attributes );\n\t// The hr support changing color using border-color, since border-color\n\t// is not yet supported in the color palette, we use background-color.\n\n\t// The dots styles uses text for the dots, to change those dots color is\n\t// using color, not backgroundColor.\n\tconst colorClass = getColorClassName( 'color', backgroundColor );\n\n\tconst className = clsx(\n\t\t{\n\t\t\t'has-text-color': backgroundColor || customColor,\n\t\t\t[ colorClass ]: colorClass,\n\t\t\t'has-css-opacity': opacity === 'css',\n\t\t\t'has-alpha-channel-opacity': opacity === 'alpha-channel',\n\t\t},\n\t\tcolorProps.className\n\t);\n\n\tconst styles = {\n\t\tbackgroundColor: colorProps?.style?.backgroundColor,\n\t\tcolor: colorClass ? undefined : customColor,\n\t};\n\treturn <Tag { ...useBlockProps.save( { className, style: styles } ) } />;\n}\n"],"mappings":"AAAA;AACA;AACA;AACA,OAAOA,IAAI,MAAM,MAAM;;AAEvB;AACA;AACA;AACA,SACCC,iBAAiB,EACjBC,aAAa,EACbC,sCAAsC,IAAIC,wBAAwB,QAC5D,yBAAyB;AAAC,SAAAC,GAAA,IAAAC,IAAA;AAEjC,eAAe,SAASC,aAAaA,CAAE;EAAEC;AAAW,CAAC,EAAG;EACvD,MAAM;IAAEC,eAAe;IAAEC,KAAK;IAAEC,OAAO;IAAEC,OAAO,EAAEC;EAAI,CAAC,GAAGL,UAAU;EACpE,MAAMM,WAAW,GAAGJ,KAAK,EAAEK,KAAK,EAAEC,UAAU;EAC5C,MAAMC,UAAU,GAAGb,wBAAwB,CAAEI,UAAW,CAAC;EACzD;EACA;;EAEA;EACA;EACA,MAAMU,UAAU,GAAGjB,iBAAiB,CAAE,OAAO,EAAEQ,eAAgB,CAAC;EAEhE,MAAMU,SAAS,GAAGnB,IAAI,CACrB;IACC,gBAAgB,EAAES,eAAe,IAAIK,WAAW;IAChD,CAAEI,UAAU,GAAIA,UAAU;IAC1B,iBAAiB,EAAEP,OAAO,KAAK,KAAK;IACpC,2BAA2B,EAAEA,OAAO,KAAK;EAC1C,CAAC,EACDM,UAAU,CAACE,SACZ,CAAC;EAED,MAAMC,MAAM,GAAG;IACdX,eAAe,EAAEQ,UAAU,EAAEP,KAAK,EAAED,eAAe;IACnDM,KAAK,EAAEG,UAAU,GAAGG,SAAS,GAAGP;EACjC,CAAC;EACD,oBAAOR,IAAA,CAACO,GAAG;IAAA,GAAMX,aAAa,CAACoB,IAAI,CAAE;MAAEH,SAAS;MAAET,KAAK,EAAEU;IAAO,CAAE;EAAC,CAAI,CAAC;AACzE","ignoreList":[]}
@@ -1,4 +1,3 @@
1
- /* wp:polyfill */
2
1
  /**
3
2
  * WordPress dependencies
4
3
  */
@@ -1 +1 @@
1
- {"version":3,"names":["__","_x","sprintf","useMemo","useState","useDispatch","useSelect","useRegistry","Button","FlexBlock","FlexItem","SelectControl","__experimentalHStack","HStack","__experimentalSpacer","Spacer","store","coreStore","noticesStore","useCreateTemplatePartFromBlocks","transformWidgetToBlock","jsx","_jsx","jsxs","_jsxs","SIDEBARS_QUERY","per_page","_fields","TemplatePartImportControls","area","setAttributes","selectedSidebar","setSelectedSidebar","isBusy","setIsBusy","registry","sidebars","hasResolved","select","getSidebars","hasFinishedResolution","createErrorNotice","createFromBlocks","options","sidebarOptions","filter","widgetArea","id","widgets","length","map","value","label","name","marginBottom","createFromWidgets","event","preventDefault","sidebar","find","getWidgets","resolveSelect","_embed","skippedWidgets","Set","blocks","flatMap","widget","block","add","id_base","size","Array","from","join","type","children","as","onSubmit","onChange","disabled","__next40pxDefaultSize","__nextHasNoMarginBottom","style","marginTop","variant"],"sources":["@wordpress/block-library/src/template-part/edit/import-controls.js"],"sourcesContent":["/**\n * WordPress dependencies\n */\nimport { __, _x, sprintf } from '@wordpress/i18n';\nimport { useMemo, useState } from '@wordpress/element';\nimport { useDispatch, useSelect, useRegistry } from '@wordpress/data';\nimport {\n\tButton,\n\tFlexBlock,\n\tFlexItem,\n\tSelectControl,\n\t__experimentalHStack as HStack,\n\t__experimentalSpacer as Spacer,\n} from '@wordpress/components';\nimport { store as coreStore } from '@wordpress/core-data';\nimport { store as noticesStore } from '@wordpress/notices';\n\n/**\n * Internal dependencies\n */\nimport { useCreateTemplatePartFromBlocks } from './utils/hooks';\nimport { transformWidgetToBlock } from './utils/transformers';\n\nconst SIDEBARS_QUERY = {\n\tper_page: -1,\n\t_fields: 'id,name,description,status,widgets',\n};\n\nexport function TemplatePartImportControls( { area, setAttributes } ) {\n\tconst [ selectedSidebar, setSelectedSidebar ] = useState( '' );\n\tconst [ isBusy, setIsBusy ] = useState( false );\n\n\tconst registry = useRegistry();\n\tconst { sidebars, hasResolved } = useSelect( ( select ) => {\n\t\tconst { getSidebars, hasFinishedResolution } = select( coreStore );\n\n\t\treturn {\n\t\t\tsidebars: getSidebars( SIDEBARS_QUERY ),\n\t\t\thasResolved: hasFinishedResolution( 'getSidebars', [\n\t\t\t\tSIDEBARS_QUERY,\n\t\t\t] ),\n\t\t};\n\t}, [] );\n\tconst { createErrorNotice } = useDispatch( noticesStore );\n\n\tconst createFromBlocks = useCreateTemplatePartFromBlocks(\n\t\tarea,\n\t\tsetAttributes\n\t);\n\n\tconst options = useMemo( () => {\n\t\tconst sidebarOptions = ( sidebars ?? [] )\n\t\t\t.filter(\n\t\t\t\t( widgetArea ) =>\n\t\t\t\t\twidgetArea.id !== 'wp_inactive_widgets' &&\n\t\t\t\t\twidgetArea.widgets.length > 0\n\t\t\t)\n\t\t\t.map( ( widgetArea ) => {\n\t\t\t\treturn {\n\t\t\t\t\tvalue: widgetArea.id,\n\t\t\t\t\tlabel: widgetArea.name,\n\t\t\t\t};\n\t\t\t} );\n\n\t\tif ( ! sidebarOptions.length ) {\n\t\t\treturn [];\n\t\t}\n\n\t\treturn [\n\t\t\t{ value: '', label: __( 'Select widget area' ) },\n\t\t\t...sidebarOptions,\n\t\t];\n\t}, [ sidebars ] );\n\n\t// Render an empty node while data is loading to avoid SlotFill re-positioning bug.\n\t// See: https://github.com/WordPress/gutenberg/issues/15641.\n\tif ( ! hasResolved ) {\n\t\treturn <Spacer marginBottom=\"0\" />;\n\t}\n\n\tif ( hasResolved && ! options.length ) {\n\t\treturn null;\n\t}\n\n\tasync function createFromWidgets( event ) {\n\t\tevent.preventDefault();\n\n\t\tif ( isBusy || ! selectedSidebar ) {\n\t\t\treturn;\n\t\t}\n\n\t\tsetIsBusy( true );\n\n\t\tconst sidebar = options.find(\n\t\t\t( { value } ) => value === selectedSidebar\n\t\t);\n\t\tconst { getWidgets } = registry.resolveSelect( coreStore );\n\n\t\t// The widgets API always returns a successful response.\n\t\tconst widgets = await getWidgets( {\n\t\t\tsidebar: sidebar.value,\n\t\t\t_embed: 'about',\n\t\t} );\n\n\t\tconst skippedWidgets = new Set();\n\t\tconst blocks = widgets.flatMap( ( widget ) => {\n\t\t\tconst block = transformWidgetToBlock( widget );\n\n\t\t\t// Skip the block if we have no matching transformations.\n\t\t\tif ( ! block ) {\n\t\t\t\tskippedWidgets.add( widget.id_base );\n\t\t\t\treturn [];\n\t\t\t}\n\n\t\t\treturn block;\n\t\t} );\n\n\t\tawait createFromBlocks(\n\t\t\tblocks,\n\t\t\t/* translators: %s: name of the widget area */\n\t\t\tsprintf( __( 'Widget area: %s' ), sidebar.label )\n\t\t);\n\n\t\tif ( skippedWidgets.size ) {\n\t\t\tcreateErrorNotice(\n\t\t\t\tsprintf(\n\t\t\t\t\t/* translators: %s: the list of widgets */\n\t\t\t\t\t__( 'Unable to import the following widgets: %s.' ),\n\t\t\t\t\tArray.from( skippedWidgets ).join( ', ' )\n\t\t\t\t),\n\t\t\t\t{\n\t\t\t\t\ttype: 'snackbar',\n\t\t\t\t}\n\t\t\t);\n\t\t}\n\n\t\tsetIsBusy( false );\n\t}\n\n\treturn (\n\t\t<Spacer marginBottom=\"4\">\n\t\t\t<HStack as=\"form\" onSubmit={ createFromWidgets }>\n\t\t\t\t<FlexBlock>\n\t\t\t\t\t<SelectControl\n\t\t\t\t\t\tlabel={ __( 'Import widget area' ) }\n\t\t\t\t\t\tvalue={ selectedSidebar }\n\t\t\t\t\t\toptions={ options }\n\t\t\t\t\t\tonChange={ ( value ) => setSelectedSidebar( value ) }\n\t\t\t\t\t\tdisabled={ ! options.length }\n\t\t\t\t\t\t__next40pxDefaultSize\n\t\t\t\t\t\t__nextHasNoMarginBottom\n\t\t\t\t\t/>\n\t\t\t\t</FlexBlock>\n\t\t\t\t<FlexItem\n\t\t\t\t\tstyle={ {\n\t\t\t\t\t\tmarginBottom: '8px',\n\t\t\t\t\t\tmarginTop: 'auto',\n\t\t\t\t\t} }\n\t\t\t\t>\n\t\t\t\t\t<Button\n\t\t\t\t\t\t__next40pxDefaultSize\n\t\t\t\t\t\tvariant=\"primary\"\n\t\t\t\t\t\ttype=\"submit\"\n\t\t\t\t\t\tisBusy={ isBusy }\n\t\t\t\t\t\taria-disabled={ isBusy || ! selectedSidebar }\n\t\t\t\t\t>\n\t\t\t\t\t\t{ _x( 'Import', 'button label' ) }\n\t\t\t\t\t</Button>\n\t\t\t\t</FlexItem>\n\t\t\t</HStack>\n\t\t</Spacer>\n\t);\n}\n"],"mappings":";AAAA;AACA;AACA;AACA,SAASA,EAAE,EAAEC,EAAE,EAAEC,OAAO,QAAQ,iBAAiB;AACjD,SAASC,OAAO,EAAEC,QAAQ,QAAQ,oBAAoB;AACtD,SAASC,WAAW,EAAEC,SAAS,EAAEC,WAAW,QAAQ,iBAAiB;AACrE,SACCC,MAAM,EACNC,SAAS,EACTC,QAAQ,EACRC,aAAa,EACbC,oBAAoB,IAAIC,MAAM,EAC9BC,oBAAoB,IAAIC,MAAM,QACxB,uBAAuB;AAC9B,SAASC,KAAK,IAAIC,SAAS,QAAQ,sBAAsB;AACzD,SAASD,KAAK,IAAIE,YAAY,QAAQ,oBAAoB;;AAE1D;AACA;AACA;AACA,SAASC,+BAA+B,QAAQ,eAAe;AAC/D,SAASC,sBAAsB,QAAQ,sBAAsB;AAAC,SAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAAC,KAAA;AAE9D,MAAMC,cAAc,GAAG;EACtBC,QAAQ,EAAE,CAAC,CAAC;EACZC,OAAO,EAAE;AACV,CAAC;AAED,OAAO,SAASC,0BAA0BA,CAAE;EAAEC,IAAI;EAAEC;AAAc,CAAC,EAAG;EACrE,MAAM,CAAEC,eAAe,EAAEC,kBAAkB,CAAE,GA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ACN;MACAF,EAAE,CAAE,6CAA8C,CAAC,EACnDwE,KAAK,CAACC,IAAI,CAAEV,cAAe,CAAC,CAACW,IAAI,CAAE,IAAK,CACzC,CAAC,EACD;QACCC,IAAI,EAAE;MACP,CACD,CAAC;IACF;IAEAzC,SAAS,CAAE,KAAM,CAAC;EACnB;EAEA,oBACCZ,IAAA,CAACP,MAAM;IAACuC,YAAY,EAAC,GAAG;IAAAsB,QAAA,eACvBpD,KAAA,CAACX,MAAM;MAACgE,EAAE,EAAC,MAAM;MAACC,QAAQ,EAAGvB,iBAAmB;MAAAqB,QAAA,gBAC/CtD,IAAA,CAACb,SAAS;QAAAmE,QAAA,eACTtD,IAAA,CAACX,aAAa;UACbyC,KAAK,EAAGpD,EAAE,CAAE,oBAAqB,CAAG;UACpCmD,KAAK,EAAGpB,eAAiB;UACzBY,OAAO,EAAGA,OAAS;UACnBoC,QAAQ,EAAK5B,KAAK,IAAMnB,kBAAkB,CAAEmB,KAAM,CAAG;UACrD6B,QAAQ,EAAG,CAAErC,OAAO,CAACM,MAAQ;UAC7BgC,qBAAqB;UACrBC,uBAAuB;QAAA,CACvB;MAAC,CACQ,CAAC,eACZ5D,IAAA,CAACZ,QAAQ;QACRyE,KAAK,EAAG;UACP7B,YAAY,EAAE,KAAK;UACnB8B,SAAS,EAAE;QACZ,CAAG;QAAAR,QAAA,eAEHtD,IAAA,CAACd,MAAM;UACNyE,qBAAqB;UACrBI,OAAO,EAAC,SAAS;UACjBV,IAAI,EAAC,QAAQ;UACb1C,MAAM,EAAGA,MAAQ;UACjB,iBAAgBA,MAAM,IAAI,CAAEF,eAAiB;UAAA6C,QAAA,EAE3C3E,EAAE,CAAE,QAAQ,EAAE,cAAe;QAAC,CACzB;MAAC,CACA,CAAC;IAAA,CACJ;EAAC,CACF,CAAC;AAEX","ignoreList":[]}
1
+ {"version":3,"names":["__","_x","sprintf","useMemo","useState","useDispatch","useSelect","useRegistry","Button","FlexBlock","FlexItem","SelectControl","__experimentalHStack","HStack","__experimentalSpacer","Spacer","store","coreStore","noticesStore","useCreateTemplatePartFromBlocks","transformWidgetToBlock","jsx","_jsx","jsxs","_jsxs","SIDEBARS_QUERY","per_page","_fields","TemplatePartImportControls","area","setAttributes","selectedSidebar","setSelectedSidebar","isBusy","setIsBusy","registry","sidebars","hasResolved","select","getSidebars","hasFinishedResolution","createErrorNotice","createFromBlocks","options","sidebarOptions","filter","widgetArea","id","widgets","length","map","value","label","name","marginBottom","createFromWidgets","event","preventDefault","sidebar","find","getWidgets","resolveSelect","_embed","skippedWidgets","Set","blocks","flatMap","widget","block","add","id_base","size","Array","from","join","type","children","as","onSubmit","onChange","disabled","__next40pxDefaultSize","__nextHasNoMarginBottom","style","marginTop","variant"],"sources":["@wordpress/block-library/src/template-part/edit/import-controls.js"],"sourcesContent":["/**\n * WordPress dependencies\n */\nimport { __, _x, sprintf } from '@wordpress/i18n';\nimport { useMemo, useState } from '@wordpress/element';\nimport { useDispatch, useSelect, useRegistry } from '@wordpress/data';\nimport {\n\tButton,\n\tFlexBlock,\n\tFlexItem,\n\tSelectControl,\n\t__experimentalHStack as HStack,\n\t__experimentalSpacer as Spacer,\n} from '@wordpress/components';\nimport { store as coreStore } from '@wordpress/core-data';\nimport { store as noticesStore } from '@wordpress/notices';\n\n/**\n * Internal dependencies\n */\nimport { useCreateTemplatePartFromBlocks } from './utils/hooks';\nimport { transformWidgetToBlock } from './utils/transformers';\n\nconst SIDEBARS_QUERY = {\n\tper_page: -1,\n\t_fields: 'id,name,description,status,widgets',\n};\n\nexport function TemplatePartImportControls( { area, setAttributes } ) {\n\tconst [ selectedSidebar, setSelectedSidebar ] = useState( '' );\n\tconst [ isBusy, setIsBusy ] = useState( false );\n\n\tconst registry = useRegistry();\n\tconst { sidebars, hasResolved } = useSelect( ( select ) => {\n\t\tconst { getSidebars, hasFinishedResolution } = select( coreStore );\n\n\t\treturn {\n\t\t\tsidebars: getSidebars( SIDEBARS_QUERY ),\n\t\t\thasResolved: hasFinishedResolution( 'getSidebars', [\n\t\t\t\tSIDEBARS_QUERY,\n\t\t\t] ),\n\t\t};\n\t}, [] );\n\tconst { createErrorNotice } = useDispatch( noticesStore );\n\n\tconst createFromBlocks = useCreateTemplatePartFromBlocks(\n\t\tarea,\n\t\tsetAttributes\n\t);\n\n\tconst options = useMemo( () => {\n\t\tconst sidebarOptions = ( sidebars ?? [] )\n\t\t\t.filter(\n\t\t\t\t( widgetArea ) =>\n\t\t\t\t\twidgetArea.id !== 'wp_inactive_widgets' &&\n\t\t\t\t\twidgetArea.widgets.length > 0\n\t\t\t)\n\t\t\t.map( ( widgetArea ) => {\n\t\t\t\treturn {\n\t\t\t\t\tvalue: widgetArea.id,\n\t\t\t\t\tlabel: widgetArea.name,\n\t\t\t\t};\n\t\t\t} );\n\n\t\tif ( ! sidebarOptions.length ) {\n\t\t\treturn [];\n\t\t}\n\n\t\treturn [\n\t\t\t{ value: '', label: __( 'Select widget area' ) },\n\t\t\t...sidebarOptions,\n\t\t];\n\t}, [ sidebars ] );\n\n\t// Render an empty node while data is loading to avoid SlotFill re-positioning bug.\n\t// See: https://github.com/WordPress/gutenberg/issues/15641.\n\tif ( ! hasResolved ) {\n\t\treturn <Spacer marginBottom=\"0\" />;\n\t}\n\n\tif ( hasResolved && ! options.length ) {\n\t\treturn null;\n\t}\n\n\tasync function createFromWidgets( event ) {\n\t\tevent.preventDefault();\n\n\t\tif ( isBusy || ! selectedSidebar ) {\n\t\t\treturn;\n\t\t}\n\n\t\tsetIsBusy( true );\n\n\t\tconst sidebar = options.find(\n\t\t\t( { value } ) => value === selectedSidebar\n\t\t);\n\t\tconst { getWidgets } = registry.resolveSelect( coreStore );\n\n\t\t// The widgets API always returns a successful response.\n\t\tconst widgets = await getWidgets( {\n\t\t\tsidebar: sidebar.value,\n\t\t\t_embed: 'about',\n\t\t} );\n\n\t\tconst skippedWidgets = new Set();\n\t\tconst blocks = widgets.flatMap( ( widget ) => {\n\t\t\tconst block = transformWidgetToBlock( widget );\n\n\t\t\t// Skip the block if we have no matching transformations.\n\t\t\tif ( ! block ) {\n\t\t\t\tskippedWidgets.add( widget.id_base );\n\t\t\t\treturn [];\n\t\t\t}\n\n\t\t\treturn block;\n\t\t} );\n\n\t\tawait createFromBlocks(\n\t\t\tblocks,\n\t\t\t/* translators: %s: name of the widget area */\n\t\t\tsprintf( __( 'Widget area: %s' ), sidebar.label )\n\t\t);\n\n\t\tif ( skippedWidgets.size ) {\n\t\t\tcreateErrorNotice(\n\t\t\t\tsprintf(\n\t\t\t\t\t/* translators: %s: the list of widgets */\n\t\t\t\t\t__( 'Unable to import the following widgets: %s.' ),\n\t\t\t\t\tArray.from( skippedWidgets ).join( ', ' )\n\t\t\t\t),\n\t\t\t\t{\n\t\t\t\t\ttype: 'snackbar',\n\t\t\t\t}\n\t\t\t);\n\t\t}\n\n\t\tsetIsBusy( false );\n\t}\n\n\treturn (\n\t\t<Spacer marginBottom=\"4\">\n\t\t\t<HStack as=\"form\" onSubmit={ createFromWidgets }>\n\t\t\t\t<FlexBlock>\n\t\t\t\t\t<SelectControl\n\t\t\t\t\t\tlabel={ __( 'Import widget area' ) }\n\t\t\t\t\t\tvalue={ selectedSidebar }\n\t\t\t\t\t\toptions={ options }\n\t\t\t\t\t\tonChange={ ( value ) => setSelectedSidebar( value ) }\n\t\t\t\t\t\tdisabled={ ! options.length }\n\t\t\t\t\t\t__next40pxDefaultSize\n\t\t\t\t\t\t__nextHasNoMarginBottom\n\t\t\t\t\t/>\n\t\t\t\t</FlexBlock>\n\t\t\t\t<FlexItem\n\t\t\t\t\tstyle={ {\n\t\t\t\t\t\tmarginBottom: '8px',\n\t\t\t\t\t\tmarginTop: 'auto',\n\t\t\t\t\t} }\n\t\t\t\t>\n\t\t\t\t\t<Button\n\t\t\t\t\t\t__next40pxDefaultSize\n\t\t\t\t\t\tvariant=\"primary\"\n\t\t\t\t\t\ttype=\"submit\"\n\t\t\t\t\t\tisBusy={ isBusy }\n\t\t\t\t\t\taria-disabled={ isBusy || !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,MAAM;MAACC,QAAQ,EAAGvB,iBAAmB;MAAAqB,QAAA,gBAC/CtD,IAAA,CAACb,SAAS;QAAAmE,QAAA,eACTtD,IAAA,CAACX,aAAa;UACbyC,KAAK,EAAGpD,EAAE,CAAE,oBAAqB,CAAG;UACpCmD,KAAK,EAAGpB,eAAiB;UACzBY,OAAO,EAAGA,OAAS;UACnBoC,QAAQ,EAAK5B,KAAK,IAAMnB,kBAAkB,CAAEmB,KAAM,CAAG;UACrD6B,QAAQ,EAAG,CAAErC,OAAO,CAACM,MAAQ;UAC7BgC,qBAAqB;UACrBC,uBAAuB;QAAA,CACvB;MAAC,CACQ,CAAC,eACZ5D,IAAA,CAACZ,QAAQ;QACRyE,KAAK,EAAG;UACP7B,YAAY,EAAE,KAAK;UACnB8B,SAAS,EAAE;QACZ,CAAG;QAAAR,QAAA,eAEHtD,IAAA,CAACd,MAAM;UACNyE,qBAAqB;UACrBI,OAAO,EAAC,SAAS;UACjBV,IAAI,EAAC,QAAQ;UACb1C,MAAM,EAAGA,MAAQ;UACjB,iBAAgBA,MAAM,IAAI,CAAEF,eAAiB;UAAA6C,QAAA,EAE3C3E,EAAE,CAAE,QAAQ,EAAE,cAAe;QAAC,CACzB;MAAC,CACA,CAAC;IAAA,CACJ;EAAC,CACF,CAAC;AAEX","ignoreList":[]}
@@ -136,13 +136,13 @@
136
136
  font-size: inherit;
137
137
  }
138
138
  .wp-block-buttons > .wp-block-button.wp-block-button__width-25 {
139
- width: calc(25% - (var(--wp--style--block-gap, 0.5em) * 0.75));
139
+ width: calc(25% - var(--wp--style--block-gap, 0.5em) * 0.75);
140
140
  }
141
141
  .wp-block-buttons > .wp-block-button.wp-block-button__width-50 {
142
- width: calc(50% - (var(--wp--style--block-gap, 0.5em) * 0.5));
142
+ width: calc(50% - var(--wp--style--block-gap, 0.5em) * 0.5);
143
143
  }
144
144
  .wp-block-buttons > .wp-block-button.wp-block-button__width-75 {
145
- width: calc(75% - (var(--wp--style--block-gap, 0.5em) * 0.25));
145
+ width: calc(75% - var(--wp--style--block-gap, 0.5em) * 0.25);
146
146
  }
147
147
  .wp-block-buttons > .wp-block-button.wp-block-button__width-100 {
148
148
  width: 100%;
@@ -137,13 +137,13 @@
137
137
  font-size: inherit;
138
138
  }
139
139
  .wp-block-buttons > .wp-block-button.wp-block-button__width-25 {
140
- width: calc(25% - (var(--wp--style--block-gap, 0.5em) * 0.75));
140
+ width: calc(25% - var(--wp--style--block-gap, 0.5em) * 0.75);
141
141
  }
142
142
  .wp-block-buttons > .wp-block-button.wp-block-button__width-50 {
143
- width: calc(50% - (var(--wp--style--block-gap, 0.5em) * 0.5));
143
+ width: calc(50% - var(--wp--style--block-gap, 0.5em) * 0.5);
144
144
  }
145
145
  .wp-block-buttons > .wp-block-button.wp-block-button__width-75 {
146
- width: calc(75% - (var(--wp--style--block-gap, 0.5em) * 0.25));
146
+ width: calc(75% - var(--wp--style--block-gap, 0.5em) * 0.25);
147
147
  }
148
148
  .wp-block-buttons > .wp-block-button.wp-block-button__width-100 {
149
149
  width: 100%;
@@ -213,7 +213,7 @@
213
213
  padding: calc(0.667em + 2px);
214
214
  }
215
215
 
216
- :where(.wp-block-post-comments input[type="submit"]) {
216
+ :where(.wp-block-post-comments input[type=submit], .wp-block-comments__legacy-placeholder input[type=submit]) {
217
217
  border: none;
218
218
  }
219
219
 
@@ -213,7 +213,7 @@
213
213
  padding: calc(0.667em + 2px);
214
214
  }
215
215
 
216
- :where(.wp-block-post-comments input[type="submit"]) {
216
+ :where(.wp-block-post-comments input[type=submit], .wp-block-comments__legacy-placeholder input[type=submit]) {
217
217
  border: none;
218
218
  }
219
219
 
@@ -207,7 +207,7 @@
207
207
  padding: calc(0.667em + 2px);
208
208
  }
209
209
 
210
- :where(.wp-block-post-comments input[type="submit"]) {
210
+ :where(.wp-block-post-comments input[type=submit]) {
211
211
  border: none;
212
212
  }
213
213
 
@@ -207,7 +207,7 @@
207
207
  padding: calc(0.667em + 2px);
208
208
  }
209
209
 
210
- :where(.wp-block-post-comments input[type="submit"]) {
210
+ :where(.wp-block-post-comments input[type=submit]) {
211
211
  border: none;
212
212
  }
213
213
 
@@ -116,6 +116,7 @@
116
116
  margin-top: 0.5em;
117
117
  margin-right: 0.5em;
118
118
  margin-bottom: 0.5em;
119
+ font-size: inherit;
119
120
  }
120
121
  .wp-block-comments-pagination > .wp-block-comments-pagination-next:last-child,
121
122
  .wp-block-comments-pagination > .wp-block-comments-pagination-previous:last-child,
@@ -117,6 +117,7 @@
117
117
  /*rtl:ignore*/
118
118
  margin-right: 0.5em;
119
119
  margin-bottom: 0.5em;
120
+ font-size: inherit;
120
121
  }
121
122
  .wp-block-comments-pagination > .wp-block-comments-pagination-next:last-child,
122
123
  .wp-block-comments-pagination > .wp-block-comments-pagination-previous:last-child,
@@ -103,6 +103,7 @@
103
103
  .wp-block-comments-pagination > .wp-block-comments-pagination-numbers {
104
104
  margin-right: 0.5em;
105
105
  margin-bottom: 0.5em;
106
+ font-size: inherit;
106
107
  }
107
108
  .wp-block-comments-pagination > .wp-block-comments-pagination-next:last-child,
108
109
  .wp-block-comments-pagination > .wp-block-comments-pagination-previous:last-child,
@@ -104,6 +104,7 @@
104
104
  /*rtl:ignore*/
105
105
  margin-right: 0.5em;
106
106
  margin-bottom: 0.5em;
107
+ font-size: inherit;
107
108
  }
108
109
  .wp-block-comments-pagination > .wp-block-comments-pagination-next:last-child,
109
110
  .wp-block-comments-pagination > .wp-block-comments-pagination-previous:last-child,
@@ -142,25 +142,25 @@
142
142
  color: #313131;
143
143
  }
144
144
  :root .has-vivid-green-cyan-to-vivid-cyan-blue-gradient-background {
145
- background: linear-gradient(-135deg, #00d084 0%, #0693e3 100%);
145
+ background: linear-gradient(-135deg, rgb(0, 208, 132) 0%, rgb(6, 147, 227) 100%);
146
146
  }
147
147
  :root .has-purple-crush-gradient-background {
148
- background: linear-gradient(-135deg, #34e2e4 0%, #4721fb 50%, #ab1dfe 100%);
148
+ background: linear-gradient(-135deg, rgb(52, 226, 228) 0%, rgb(71, 33, 251) 50%, rgb(171, 29, 254) 100%);
149
149
  }
150
150
  :root .has-hazy-dawn-gradient-background {
151
- background: linear-gradient(-135deg, #faaca8 0%, #dad0ec 100%);
151
+ background: linear-gradient(-135deg, rgb(250, 172, 168) 0%, rgb(218, 208, 236) 100%);
152
152
  }
153
153
  :root .has-subdued-olive-gradient-background {
154
- background: linear-gradient(-135deg, #fafae1 0%, #67a671 100%);
154
+ background: linear-gradient(-135deg, rgb(250, 250, 225) 0%, rgb(103, 166, 113) 100%);
155
155
  }
156
156
  :root .has-atomic-cream-gradient-background {
157
- background: linear-gradient(-135deg, #fdd79a 0%, #004a59 100%);
157
+ background: linear-gradient(-135deg, rgb(253, 215, 154) 0%, rgb(0, 74, 89) 100%);
158
158
  }
159
159
  :root .has-nightshade-gradient-background {
160
- background: linear-gradient(-135deg, #330968 0%, #31cdcf 100%);
160
+ background: linear-gradient(-135deg, rgb(51, 9, 104) 0%, rgb(49, 205, 207) 100%);
161
161
  }
162
162
  :root .has-midnight-gradient-background {
163
- background: linear-gradient(-135deg, #020381 0%, #2874fc 100%);
163
+ background: linear-gradient(-135deg, rgb(2, 3, 129) 0%, rgb(40, 116, 252) 100%);
164
164
  }
165
165
 
166
166
  .has-regular-font-size {
@@ -258,46 +258,46 @@ html :where(.has-border-color) {
258
258
  border-style: solid;
259
259
  }
260
260
 
261
- html :where([style*="border-top-color"]) {
261
+ html :where([style*=border-top-color]) {
262
262
  border-top-style: solid;
263
263
  }
264
264
 
265
- html :where([style*="border-right-color"]) {
265
+ html :where([style*=border-right-color]) {
266
266
  border-left-style: solid;
267
267
  }
268
268
 
269
- html :where([style*="border-bottom-color"]) {
269
+ html :where([style*=border-bottom-color]) {
270
270
  border-bottom-style: solid;
271
271
  }
272
272
 
273
- html :where([style*="border-left-color"]) {
273
+ html :where([style*=border-left-color]) {
274
274
  border-right-style: solid;
275
275
  }
276
276
 
277
- html :where([style*="border-width"]) {
277
+ html :where([style*=border-width]) {
278
278
  border-style: solid;
279
279
  }
280
280
 
281
- html :where([style*="border-top-width"]) {
281
+ html :where([style*=border-top-width]) {
282
282
  border-top-style: solid;
283
283
  }
284
284
 
285
- html :where([style*="border-right-width"]) {
285
+ html :where([style*=border-right-width]) {
286
286
  border-left-style: solid;
287
287
  }
288
288
 
289
- html :where([style*="border-bottom-width"]) {
289
+ html :where([style*=border-bottom-width]) {
290
290
  border-bottom-style: solid;
291
291
  }
292
292
 
293
- html :where([style*="border-left-width"]) {
293
+ html :where([style*=border-left-width]) {
294
294
  border-right-style: solid;
295
295
  }
296
296
 
297
297
  /**
298
298
  * Provide baseline responsiveness for images.
299
299
  */
300
- html :where(img[class*="wp-image-"]) {
300
+ html :where(img[class*=wp-image-]) {
301
301
  height: auto;
302
302
  max-width: 100%;
303
303
  }
@@ -142,25 +142,25 @@
142
142
  color: #313131;
143
143
  }
144
144
  :root .has-vivid-green-cyan-to-vivid-cyan-blue-gradient-background {
145
- background: linear-gradient(135deg, #00d084 0%, #0693e3 100%);
145
+ background: linear-gradient(135deg, rgb(0, 208, 132) 0%, rgb(6, 147, 227) 100%);
146
146
  }
147
147
  :root .has-purple-crush-gradient-background {
148
- background: linear-gradient(135deg, #34e2e4 0%, #4721fb 50%, #ab1dfe 100%);
148
+ background: linear-gradient(135deg, rgb(52, 226, 228) 0%, rgb(71, 33, 251) 50%, rgb(171, 29, 254) 100%);
149
149
  }
150
150
  :root .has-hazy-dawn-gradient-background {
151
- background: linear-gradient(135deg, #faaca8 0%, #dad0ec 100%);
151
+ background: linear-gradient(135deg, rgb(250, 172, 168) 0%, rgb(218, 208, 236) 100%);
152
152
  }
153
153
  :root .has-subdued-olive-gradient-background {
154
- background: linear-gradient(135deg, #fafae1 0%, #67a671 100%);
154
+ background: linear-gradient(135deg, rgb(250, 250, 225) 0%, rgb(103, 166, 113) 100%);
155
155
  }
156
156
  :root .has-atomic-cream-gradient-background {
157
- background: linear-gradient(135deg, #fdd79a 0%, #004a59 100%);
157
+ background: linear-gradient(135deg, rgb(253, 215, 154) 0%, rgb(0, 74, 89) 100%);
158
158
  }
159
159
  :root .has-nightshade-gradient-background {
160
- background: linear-gradient(135deg, #330968 0%, #31cdcf 100%);
160
+ background: linear-gradient(135deg, rgb(51, 9, 104) 0%, rgb(49, 205, 207) 100%);
161
161
  }
162
162
  :root .has-midnight-gradient-background {
163
- background: linear-gradient(135deg, #020381 0%, #2874fc 100%);
163
+ background: linear-gradient(135deg, rgb(2, 3, 129) 0%, rgb(40, 116, 252) 100%);
164
164
  }
165
165
 
166
166
  .has-regular-font-size {
@@ -260,46 +260,46 @@ html :where(.has-border-color) {
260
260
  border-style: solid;
261
261
  }
262
262
 
263
- html :where([style*="border-top-color"]) {
263
+ html :where([style*=border-top-color]) {
264
264
  border-top-style: solid;
265
265
  }
266
266
 
267
- html :where([style*="border-right-color"]) {
267
+ html :where([style*=border-right-color]) {
268
268
  border-right-style: solid;
269
269
  }
270
270
 
271
- html :where([style*="border-bottom-color"]) {
271
+ html :where([style*=border-bottom-color]) {
272
272
  border-bottom-style: solid;
273
273
  }
274
274
 
275
- html :where([style*="border-left-color"]) {
275
+ html :where([style*=border-left-color]) {
276
276
  border-left-style: solid;
277
277
  }
278
278
 
279
- html :where([style*="border-width"]) {
279
+ html :where([style*=border-width]) {
280
280
  border-style: solid;
281
281
  }
282
282
 
283
- html :where([style*="border-top-width"]) {
283
+ html :where([style*=border-top-width]) {
284
284
  border-top-style: solid;
285
285
  }
286
286
 
287
- html :where([style*="border-right-width"]) {
287
+ html :where([style*=border-right-width]) {
288
288
  border-right-style: solid;
289
289
  }
290
290
 
291
- html :where([style*="border-bottom-width"]) {
291
+ html :where([style*=border-bottom-width]) {
292
292
  border-bottom-style: solid;
293
293
  }
294
294
 
295
- html :where([style*="border-left-width"]) {
295
+ html :where([style*=border-left-width]) {
296
296
  border-left-style: solid;
297
297
  }
298
298
 
299
299
  /**
300
300
  * Provide baseline responsiveness for images.
301
301
  */
302
- html :where(img[class*="wp-image-"]) {
302
+ html :where(img[class*=wp-image-]) {
303
303
  height: auto;
304
304
  max-width: 100%;
305
305
  }
@@ -349,7 +349,7 @@ html :where(.wp-block-column) {
349
349
  padding: calc(0.667em + 2px);
350
350
  }
351
351
 
352
- :where(.wp-block-post-comments input[type="submit"]) {
352
+ :where(.wp-block-post-comments input[type=submit], .wp-block-comments__legacy-placeholder input[type=submit]) {
353
353
  border: none;
354
354
  }
355
355
 
@@ -391,6 +391,7 @@ html :where(.wp-block-column) {
391
391
  margin-top: 0.5em;
392
392
  margin-right: 0.5em;
393
393
  margin-bottom: 0.5em;
394
+ font-size: inherit;
394
395
  }
395
396
  .wp-block-comments-pagination > .wp-block-comments-pagination-next:last-child,
396
397
  .wp-block-comments-pagination > .wp-block-comments-pagination-previous:last-child,
@@ -1450,7 +1451,7 @@ figure.wp-block-image:not(.wp-block) {
1450
1451
  .wp-block-more::before {
1451
1452
  content: "";
1452
1453
  position: absolute;
1453
- top: calc(50%);
1454
+ top: 50%;
1454
1455
  right: 0;
1455
1456
  left: 0;
1456
1457
  border-top: 3px dashed #ccc;
@@ -2109,7 +2110,7 @@ body.editor-styles-wrapper .wp-block-navigation__responsive-container.is-menu-op
2109
2110
  .wp-block-nextpage::before {
2110
2111
  content: "";
2111
2112
  position: absolute;
2112
- top: calc(50%);
2113
+ top: 50%;
2113
2114
  right: 0;
2114
2115
  left: 0;
2115
2116
  border-top: 3px dashed #ccc;
@@ -2412,8 +2413,8 @@ body.editor-styles-wrapper .wp-block-navigation__responsive-container.is-menu-op
2412
2413
  }
2413
2414
 
2414
2415
  :root :where(.wp-block-social-links.is-style-pill-shape .wp-social-link button) {
2415
- padding-right: calc((2/3) * 1em);
2416
- padding-left: calc((2/3) * 1em);
2416
+ padding-right: 0.6666666667em;
2417
+ padding-left: 0.6666666667em;
2417
2418
  }
2418
2419
 
2419
2420
  :root :where(.wp-block-social-links.is-style-logos-only .wp-social-link button) {
@@ -2443,8 +2444,8 @@ body.editor-styles-wrapper .wp-block-navigation__responsive-container.is-menu-op
2443
2444
  }
2444
2445
 
2445
2446
  :root :where(.wp-block-social-links.is-style-pill-shape .wp-block-social-links__social-placeholder .wp-social-link) {
2446
- padding-right: calc((2/3) * 1em);
2447
- padding-left: calc((2/3) * 1em);
2447
+ padding-right: 0.6666666667em;
2448
+ padding-left: 0.6666666667em;
2448
2449
  }
2449
2450
 
2450
2451
  .wp-block-social-links__social-placeholder {
@@ -2774,6 +2775,10 @@ body.editor-styles-wrapper .wp-block-navigation__responsive-container.is-menu-op
2774
2775
  z-index: 2;
2775
2776
  }
2776
2777
 
2778
+ .block-library-query-toolspanel__design .block-library-query-pattern__selection-content {
2779
+ margin-top: 8px;
2780
+ }
2781
+
2777
2782
  @media (min-width: 600px) {
2778
2783
  .wp-block-query__enhanced-pagination-modal {
2779
2784
  max-width: 480px;
@@ -2784,6 +2789,32 @@ body.editor-styles-wrapper .wp-block-navigation__responsive-container.is-menu-op
2784
2789
  margin: 0;
2785
2790
  }
2786
2791
 
2792
+ .block-editor-block-settings-menu__popover.is-expanded {
2793
+ overflow-y: scroll;
2794
+ }
2795
+ .block-editor-block-settings-menu__popover .block-library-query-pattern__selection-content {
2796
+ height: 100%;
2797
+ }
2798
+ .block-editor-block-settings-menu__popover .block-editor-block-patterns-list {
2799
+ display: grid;
2800
+ grid-template-columns: 1fr;
2801
+ grid-gap: 12px;
2802
+ min-width: 280px;
2803
+ }
2804
+ @media (min-width: 600px) {
2805
+ .block-editor-block-settings-menu__popover .block-editor-block-patterns-list {
2806
+ grid-template-columns: 1fr 1fr;
2807
+ }
2808
+ }
2809
+ @media (min-width: 600px) {
2810
+ .block-editor-block-settings-menu__popover .block-editor-block-patterns-list {
2811
+ min-width: 480px;
2812
+ }
2813
+ }
2814
+ .block-editor-block-settings-menu__popover .block-editor-block-patterns-list__list-item {
2815
+ margin-bottom: 0;
2816
+ }
2817
+
2787
2818
  .wp-block[data-align=center] > .wp-block-query-pagination {
2788
2819
  justify-content: center;
2789
2820
  }
@@ -2847,49 +2878,49 @@ body.editor-styles-wrapper .wp-block-navigation__responsive-container.is-menu-op
2847
2878
  .wp-block-post-featured-image img:where(.has-border-color) {
2848
2879
  border-style: solid;
2849
2880
  }
2850
- .wp-block-post-featured-image .wp-block-post-featured-image__placeholder:where([style*="border-top-color"]),
2851
- .wp-block-post-featured-image .components-placeholder:where([style*="border-top-color"]),
2852
- .wp-block-post-featured-image img:where([style*="border-top-color"]) {
2881
+ .wp-block-post-featured-image .wp-block-post-featured-image__placeholder:where([style*=border-top-color]),
2882
+ .wp-block-post-featured-image .components-placeholder:where([style*=border-top-color]),
2883
+ .wp-block-post-featured-image img:where([style*=border-top-color]) {
2853
2884
  border-top-style: solid;
2854
2885
  }
2855
- .wp-block-post-featured-image .wp-block-post-featured-image__placeholder:where([style*="border-right-color"]),
2856
- .wp-block-post-featured-image .components-placeholder:where([style*="border-right-color"]),
2857
- .wp-block-post-featured-image img:where([style*="border-right-color"]) {
2886
+ .wp-block-post-featured-image .wp-block-post-featured-image__placeholder:where([style*=border-right-color]),
2887
+ .wp-block-post-featured-image .components-placeholder:where([style*=border-right-color]),
2888
+ .wp-block-post-featured-image img:where([style*=border-right-color]) {
2858
2889
  border-left-style: solid;
2859
2890
  }
2860
- .wp-block-post-featured-image .wp-block-post-featured-image__placeholder:where([style*="border-bottom-color"]),
2861
- .wp-block-post-featured-image .components-placeholder:where([style*="border-bottom-color"]),
2862
- .wp-block-post-featured-image img:where([style*="border-bottom-color"]) {
2891
+ .wp-block-post-featured-image .wp-block-post-featured-image__placeholder:where([style*=border-bottom-color]),
2892
+ .wp-block-post-featured-image .components-placeholder:where([style*=border-bottom-color]),
2893
+ .wp-block-post-featured-image img:where([style*=border-bottom-color]) {
2863
2894
  border-bottom-style: solid;
2864
2895
  }
2865
- .wp-block-post-featured-image .wp-block-post-featured-image__placeholder:where([style*="border-left-color"]),
2866
- .wp-block-post-featured-image .components-placeholder:where([style*="border-left-color"]),
2867
- .wp-block-post-featured-image img:where([style*="border-left-color"]) {
2896
+ .wp-block-post-featured-image .wp-block-post-featured-image__placeholder:where([style*=border-left-color]),
2897
+ .wp-block-post-featured-image .components-placeholder:where([style*=border-left-color]),
2898
+ .wp-block-post-featured-image img:where([style*=border-left-color]) {
2868
2899
  border-right-style: solid;
2869
2900
  }
2870
- .wp-block-post-featured-image .wp-block-post-featured-image__placeholder:where([style*="border-width"]),
2871
- .wp-block-post-featured-image .components-placeholder:where([style*="border-width"]),
2872
- .wp-block-post-featured-image img:where([style*="border-width"]) {
2901
+ .wp-block-post-featured-image .wp-block-post-featured-image__placeholder:where([style*=border-width]),
2902
+ .wp-block-post-featured-image .components-placeholder:where([style*=border-width]),
2903
+ .wp-block-post-featured-image img:where([style*=border-width]) {
2873
2904
  border-style: solid;
2874
2905
  }
2875
- .wp-block-post-featured-image .wp-block-post-featured-image__placeholder:where([style*="border-top-width"]),
2876
- .wp-block-post-featured-image .components-placeholder:where([style*="border-top-width"]),
2877
- .wp-block-post-featured-image img:where([style*="border-top-width"]) {
2906
+ .wp-block-post-featured-image .wp-block-post-featured-image__placeholder:where([style*=border-top-width]),
2907
+ .wp-block-post-featured-image .components-placeholder:where([style*=border-top-width]),
2908
+ .wp-block-post-featured-image img:where([style*=border-top-width]) {
2878
2909
  border-top-style: solid;
2879
2910
  }
2880
- .wp-block-post-featured-image .wp-block-post-featured-image__placeholder:where([style*="border-right-width"]),
2881
- .wp-block-post-featured-image .components-placeholder:where([style*="border-right-width"]),
2882
- .wp-block-post-featured-image img:where([style*="border-right-width"]) {
2911
+ .wp-block-post-featured-image .wp-block-post-featured-image__placeholder:where([style*=border-right-width]),
2912
+ .wp-block-post-featured-image .components-placeholder:where([style*=border-right-width]),
2913
+ .wp-block-post-featured-image img:where([style*=border-right-width]) {
2883
2914
  border-left-style: solid;
2884
2915
  }
2885
- .wp-block-post-featured-image .wp-block-post-featured-image__placeholder:where([style*="border-bottom-width"]),
2886
- .wp-block-post-featured-image .components-placeholder:where([style*="border-bottom-width"]),
2887
- .wp-block-post-featured-image img:where([style*="border-bottom-width"]) {
2916
+ .wp-block-post-featured-image .wp-block-post-featured-image__placeholder:where([style*=border-bottom-width]),
2917
+ .wp-block-post-featured-image .components-placeholder:where([style*=border-bottom-width]),
2918
+ .wp-block-post-featured-image img:where([style*=border-bottom-width]) {
2888
2919
  border-bottom-style: solid;
2889
2920
  }
2890
- .wp-block-post-featured-image .wp-block-post-featured-image__placeholder:where([style*="border-left-width"]),
2891
- .wp-block-post-featured-image .components-placeholder:where([style*="border-left-width"]),
2892
- .wp-block-post-featured-image img:where([style*="border-left-width"]) {
2921
+ .wp-block-post-featured-image .wp-block-post-featured-image__placeholder:where([style*=border-left-width]),
2922
+ .wp-block-post-featured-image .components-placeholder:where([style*=border-left-width]),
2923
+ .wp-block-post-featured-image img:where([style*=border-left-width]) {
2893
2924
  border-right-style: solid;
2894
2925
  }
2895
2926
  .wp-block-post-featured-image[style*=height] .components-placeholder {
@@ -2960,25 +2991,25 @@ div[data-type="core/post-featured-image"] img {
2960
2991
  color: #313131;
2961
2992
  }
2962
2993
  :root .editor-styles-wrapper .has-vivid-green-cyan-to-vivid-cyan-blue-gradient-background {
2963
- background: linear-gradient(-135deg, #00d084 0%, #0693e3 100%);
2994
+ background: linear-gradient(-135deg, rgb(0, 208, 132) 0%, rgb(6, 147, 227) 100%);
2964
2995
  }
2965
2996
  :root .editor-styles-wrapper .has-purple-crush-gradient-background {
2966
- background: linear-gradient(-135deg, #34e2e4 0%, #4721fb 50%, #ab1dfe 100%);
2997
+ background: linear-gradient(-135deg, rgb(52, 226, 228) 0%, rgb(71, 33, 251) 50%, rgb(171, 29, 254) 100%);
2967
2998
  }
2968
2999
  :root .editor-styles-wrapper .has-hazy-dawn-gradient-background {
2969
- background: linear-gradient(-135deg, #faaca8 0%, #dad0ec 100%);
3000
+ background: linear-gradient(-135deg, rgb(250, 172, 168) 0%, rgb(218, 208, 236) 100%);
2970
3001
  }
2971
3002
  :root .editor-styles-wrapper .has-subdued-olive-gradient-background {
2972
- background: linear-gradient(-135deg, #fafae1 0%, #67a671 100%);
3003
+ background: linear-gradient(-135deg, rgb(250, 250, 225) 0%, rgb(103, 166, 113) 100%);
2973
3004
  }
2974
3005
  :root .editor-styles-wrapper .has-atomic-cream-gradient-background {
2975
- background: linear-gradient(-135deg, #fdd79a 0%, #004a59 100%);
3006
+ background: linear-gradient(-135deg, rgb(253, 215, 154) 0%, rgb(0, 74, 89) 100%);
2976
3007
  }
2977
3008
  :root .editor-styles-wrapper .has-nightshade-gradient-background {
2978
- background: linear-gradient(-135deg, #330968 0%, #31cdcf 100%);
3009
+ background: linear-gradient(-135deg, rgb(51, 9, 104) 0%, rgb(49, 205, 207) 100%);
2979
3010
  }
2980
3011
  :root .editor-styles-wrapper .has-midnight-gradient-background {
2981
- background: linear-gradient(-135deg, #020381 0%, #2874fc 100%);
3012
+ background: linear-gradient(-135deg, rgb(2, 3, 129) 0%, rgb(40, 116, 252) 100%);
2982
3013
  }
2983
3014
 
2984
3015
  :where(.editor-styles-wrapper) .has-regular-font-size {