@wordpress/block-library 9.13.0 → 9.13.1-next.cd6172eb0.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 (127) 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/list-item/hooks/use-merge.js +2 -2
  8. package/build/list-item/hooks/use-merge.js.map +1 -1
  9. package/build/navigation/edit/deleted-navigation-warning.js +9 -2
  10. package/build/navigation/edit/deleted-navigation-warning.js.map +1 -1
  11. package/build/navigation-submenu/edit.js +3 -0
  12. package/build/navigation-submenu/edit.js.map +1 -1
  13. package/build/pattern/recursion-detector.js +0 -1
  14. package/build/pattern/recursion-detector.js.map +1 -1
  15. package/build/query/edit/index.js +2 -2
  16. package/build/query/edit/index.js.map +1 -1
  17. package/build/query/edit/inspector-controls/author-control.js +0 -1
  18. package/build/query/edit/inspector-controls/author-control.js.map +1 -1
  19. package/build/query/edit/inspector-controls/parent-control.js +0 -1
  20. package/build/query/edit/inspector-controls/parent-control.js.map +1 -1
  21. package/build/query/edit/inspector-controls/taxonomy-controls.js +0 -1
  22. package/build/query/edit/inspector-controls/taxonomy-controls.js.map +1 -1
  23. package/build/query/edit/{pattern-selection-modal.js → pattern-selection.js} +55 -36
  24. package/build/query/edit/pattern-selection.js.map +1 -0
  25. package/build/query/edit/query-content.js +5 -8
  26. package/build/query/edit/query-content.js.map +1 -1
  27. package/build/query/edit/query-placeholder.js +5 -11
  28. package/build/query/edit/query-placeholder.js.map +1 -1
  29. package/build/query/edit/query-toolbar.js +31 -11
  30. package/build/query/edit/query-toolbar.js.map +1 -1
  31. package/build/separator/deprecated.js +2 -1
  32. package/build/separator/deprecated.js.map +1 -1
  33. package/build/separator/edit.js +29 -4
  34. package/build/separator/edit.js.map +1 -1
  35. package/build/separator/index.js +5 -0
  36. package/build/separator/index.js.map +1 -1
  37. package/build/separator/save.js +3 -2
  38. package/build/separator/save.js.map +1 -1
  39. package/build/template-part/edit/import-controls.js +0 -1
  40. package/build/template-part/edit/import-controls.js.map +1 -1
  41. package/build-module/block/edit.js +3 -30
  42. package/build-module/block/edit.js.map +1 -1
  43. package/build-module/cover/edit/index.js +4 -2
  44. package/build-module/cover/edit/index.js.map +1 -1
  45. package/build-module/cover/edit/inspector-controls.js +6 -4
  46. package/build-module/cover/edit/inspector-controls.js.map +1 -1
  47. package/build-module/list-item/hooks/use-merge.js +2 -2
  48. package/build-module/list-item/hooks/use-merge.js.map +1 -1
  49. package/build-module/navigation/edit/deleted-navigation-warning.js +10 -3
  50. package/build-module/navigation/edit/deleted-navigation-warning.js.map +1 -1
  51. package/build-module/navigation-submenu/edit.js +3 -0
  52. package/build-module/navigation-submenu/edit.js.map +1 -1
  53. package/build-module/pattern/recursion-detector.js +0 -1
  54. package/build-module/pattern/recursion-detector.js.map +1 -1
  55. package/build-module/query/edit/index.js +1 -1
  56. package/build-module/query/edit/index.js.map +1 -1
  57. package/build-module/query/edit/inspector-controls/author-control.js +0 -1
  58. package/build-module/query/edit/inspector-controls/author-control.js.map +1 -1
  59. package/build-module/query/edit/inspector-controls/parent-control.js +0 -1
  60. package/build-module/query/edit/inspector-controls/parent-control.js.map +1 -1
  61. package/build-module/query/edit/inspector-controls/taxonomy-controls.js +0 -1
  62. package/build-module/query/edit/inspector-controls/taxonomy-controls.js.map +1 -1
  63. package/build-module/query/edit/{pattern-selection-modal.js → pattern-selection.js} +53 -36
  64. package/build-module/query/edit/pattern-selection.js.map +1 -0
  65. package/build-module/query/edit/query-content.js +5 -8
  66. package/build-module/query/edit/query-content.js.map +1 -1
  67. package/build-module/query/edit/query-placeholder.js +6 -12
  68. package/build-module/query/edit/query-placeholder.js.map +1 -1
  69. package/build-module/query/edit/query-toolbar.js +31 -13
  70. package/build-module/query/edit/query-toolbar.js.map +1 -1
  71. package/build-module/separator/deprecated.js +2 -1
  72. package/build-module/separator/deprecated.js.map +1 -1
  73. package/build-module/separator/edit.js +32 -7
  74. package/build-module/separator/edit.js.map +1 -1
  75. package/build-module/separator/index.js +5 -0
  76. package/build-module/separator/index.js.map +1 -1
  77. package/build-module/separator/save.js +3 -2
  78. package/build-module/separator/save.js.map +1 -1
  79. package/build-module/template-part/edit/import-controls.js +0 -1
  80. package/build-module/template-part/edit/import-controls.js.map +1 -1
  81. package/build-style/comments-pagination/editor-rtl.css +1 -0
  82. package/build-style/comments-pagination/editor.css +1 -0
  83. package/build-style/comments-pagination/style-rtl.css +1 -0
  84. package/build-style/comments-pagination/style.css +1 -0
  85. package/build-style/editor-rtl.css +31 -0
  86. package/build-style/editor.css +31 -0
  87. package/build-style/image/style-rtl.css +3 -2
  88. package/build-style/image/style.css +3 -2
  89. package/build-style/pullquote/style-rtl.css +1 -0
  90. package/build-style/pullquote/style.css +1 -0
  91. package/build-style/query/editor-rtl.css +30 -0
  92. package/build-style/query/editor.css +30 -0
  93. package/build-style/style-rtl.css +5 -2
  94. package/build-style/style.css +5 -2
  95. package/build-types/lock-unlock.d.ts +1 -1
  96. package/build-types/lock-unlock.d.ts.map +1 -1
  97. package/package.json +34 -34
  98. package/src/block/edit.js +6 -51
  99. package/src/comments-pagination/editor.scss +1 -0
  100. package/src/comments-pagination/style.scss +1 -0
  101. package/src/cover/edit/index.js +4 -1
  102. package/src/cover/edit/inspector-controls.js +10 -3
  103. package/src/cover/index.php +2 -2
  104. package/src/image/style.scss +4 -3
  105. package/src/list-item/hooks/use-merge.js +2 -2
  106. package/src/missing/test/edit.native.js +0 -1
  107. package/src/navigation/README.md +1 -0
  108. package/src/navigation/edit/deleted-navigation-warning.js +11 -2
  109. package/src/navigation/index.php +9 -35
  110. package/src/navigation-submenu/edit.js +5 -0
  111. package/src/navigation-submenu/index.php +17 -1
  112. package/src/pullquote/style.scss +1 -0
  113. package/src/query/edit/index.js +1 -1
  114. package/src/query/edit/{pattern-selection-modal.js → pattern-selection.js} +53 -33
  115. package/src/query/edit/query-content.js +4 -10
  116. package/src/query/edit/query-placeholder.js +5 -14
  117. package/src/query/edit/query-toolbar.js +38 -17
  118. package/src/query/editor.scss +30 -0
  119. package/src/search/index.php +3 -3
  120. package/src/separator/block.json +5 -0
  121. package/src/separator/deprecated.js +1 -0
  122. package/src/separator/edit.js +28 -3
  123. package/src/separator/save.js +2 -2
  124. package/src/separator/test/edit.js +1 -0
  125. package/tsconfig.tsbuildinfo +1 -1
  126. package/build/query/edit/pattern-selection-modal.js.map +0 -1
  127. 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\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;EAAA;EAAAC,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;IAAAvB,IAAA;IAAAwB,KAAA;IAAAC,SAAA;EAAA;IAAAzB,IAAA;IAAAwB,KAAA;EAAA;IAAAxB,IAAA;IAAAwB,KAAA;EAAA;EAAAE,WAAA;EAAAC,KAAA;AAAA;AAE1B,OAAOC,IAAI,MAAM,QAAQ;AACzB,OAAOC,UAAU,MAAM,cAAc;AACrC,OAAOC,UAAU,MAAM,cAAc;AAErC,MAAM;EAAE9B;AAAK,CAAC,GAAGH,QAAQ;AAEzB,SAASA,QAAQ,EAAEG,IAAI;AAEvB,OAAO,MAAM+B,QAAQ,GAAG;EACvBrC,IAAI;EACJsC,OAAO,EAAE;IACR1B,UAAU,EAAE;MACX2B,WAAW,EAAE,SAAS;MACtBC,SAAS,EAAE;IACZ;EACD,CAAC;EACDL,UAAU;EACVjC,IAAI;EACJgC,IAAI;EACJE;AACD,CAAC;AAED,OAAO,MAAMK,IAAI,GAAGA,CAAA,KAAMxC,SAAS,CAAE;EAAEK,IAAI;EAAEH,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\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B;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 || ! 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,EA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;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":[]}
@@ -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,
@@ -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,
@@ -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
  }
@@ -393,6 +393,7 @@ html :where(.wp-block-column) {
393
393
  /*rtl:ignore*/
394
394
  margin-right: 0.5em;
395
395
  margin-bottom: 0.5em;
396
+ font-size: inherit;
396
397
  }
397
398
  .wp-block-comments-pagination > .wp-block-comments-pagination-next:last-child,
398
399
  .wp-block-comments-pagination > .wp-block-comments-pagination-previous:last-child,
@@ -2783,6 +2784,10 @@ body.editor-styles-wrapper .wp-block-navigation__responsive-container.is-menu-op
2783
2784
  z-index: 2;
2784
2785
  }
2785
2786
 
2787
+ .block-library-query-toolspanel__design .block-library-query-pattern__selection-content {
2788
+ margin-top: 8px;
2789
+ }
2790
+
2786
2791
  @media (min-width: 600px) {
2787
2792
  .wp-block-query__enhanced-pagination-modal {
2788
2793
  max-width: 480px;
@@ -2793,6 +2798,32 @@ body.editor-styles-wrapper .wp-block-navigation__responsive-container.is-menu-op
2793
2798
  margin: 0;
2794
2799
  }
2795
2800
 
2801
+ .block-editor-block-settings-menu__popover.is-expanded {
2802
+ overflow-y: scroll;
2803
+ }
2804
+ .block-editor-block-settings-menu__popover .block-library-query-pattern__selection-content {
2805
+ height: 100%;
2806
+ }
2807
+ .block-editor-block-settings-menu__popover .block-editor-block-patterns-list {
2808
+ display: grid;
2809
+ grid-template-columns: 1fr;
2810
+ grid-gap: 12px;
2811
+ min-width: 280px;
2812
+ }
2813
+ @media (min-width: 600px) {
2814
+ .block-editor-block-settings-menu__popover .block-editor-block-patterns-list {
2815
+ grid-template-columns: 1fr 1fr;
2816
+ }
2817
+ }
2818
+ @media (min-width: 600px) {
2819
+ .block-editor-block-settings-menu__popover .block-editor-block-patterns-list {
2820
+ min-width: 480px;
2821
+ }
2822
+ }
2823
+ .block-editor-block-settings-menu__popover .block-editor-block-patterns-list__list-item {
2824
+ margin-bottom: 0;
2825
+ }
2826
+
2796
2827
  .wp-block[data-align=center] > .wp-block-query-pagination {
2797
2828
  justify-content: center;
2798
2829
  }
@@ -98,7 +98,8 @@
98
98
  /**
99
99
  * Reset the WP Admin page styles for Gutenberg-like pages.
100
100
  */
101
- .wp-block-image a {
101
+ .wp-block-image > a,
102
+ .wp-block-image > figure > a {
102
103
  display: inline-block;
103
104
  }
104
105
  .wp-block-image img {
@@ -125,7 +126,7 @@
125
126
  .wp-block-image.aligncenter {
126
127
  text-align: center;
127
128
  }
128
- .wp-block-image.alignfull a, .wp-block-image.alignwide a {
129
+ .wp-block-image.alignfull > a, .wp-block-image.alignwide > a {
129
130
  width: 100%;
130
131
  }
131
132
  .wp-block-image.alignfull img, .wp-block-image.alignwide img {
@@ -98,7 +98,8 @@
98
98
  /**
99
99
  * Reset the WP Admin page styles for Gutenberg-like pages.
100
100
  */
101
- .wp-block-image a {
101
+ .wp-block-image > a,
102
+ .wp-block-image > figure > a {
102
103
  display: inline-block;
103
104
  }
104
105
  .wp-block-image img {
@@ -125,7 +126,7 @@
125
126
  .wp-block-image.aligncenter {
126
127
  text-align: center;
127
128
  }
128
- .wp-block-image.alignfull a, .wp-block-image.alignwide a {
129
+ .wp-block-image.alignfull > a, .wp-block-image.alignwide > a {
129
130
  width: 100%;
130
131
  }
131
132
  .wp-block-image.alignfull img, .wp-block-image.alignwide img {
@@ -158,4 +158,5 @@
158
158
 
159
159
  .wp-block-pullquote cite {
160
160
  color: inherit;
161
+ display: block;
161
162
  }
@@ -158,4 +158,5 @@
158
158
 
159
159
  .wp-block-pullquote cite {
160
160
  color: inherit;
161
+ display: block;
161
162
  }
@@ -139,6 +139,10 @@
139
139
  z-index: 2;
140
140
  }
141
141
 
142
+ .block-library-query-toolspanel__design .block-library-query-pattern__selection-content {
143
+ margin-top: 8px;
144
+ }
145
+
142
146
  @media (min-width: 600px) {
143
147
  .wp-block-query__enhanced-pagination-modal {
144
148
  max-width: 480px;
@@ -147,4 +151,30 @@
147
151
 
148
152
  .wp-block-query__enhanced-pagination-notice {
149
153
  margin: 0;
154
+ }
155
+
156
+ .block-editor-block-settings-menu__popover.is-expanded {
157
+ overflow-y: scroll;
158
+ }
159
+ .block-editor-block-settings-menu__popover .block-library-query-pattern__selection-content {
160
+ height: 100%;
161
+ }
162
+ .block-editor-block-settings-menu__popover .block-editor-block-patterns-list {
163
+ display: grid;
164
+ grid-template-columns: 1fr;
165
+ grid-gap: 12px;
166
+ min-width: 280px;
167
+ }
168
+ @media (min-width: 600px) {
169
+ .block-editor-block-settings-menu__popover .block-editor-block-patterns-list {
170
+ grid-template-columns: 1fr 1fr;
171
+ }
172
+ }
173
+ @media (min-width: 600px) {
174
+ .block-editor-block-settings-menu__popover .block-editor-block-patterns-list {
175
+ min-width: 480px;
176
+ }
177
+ }
178
+ .block-editor-block-settings-menu__popover .block-editor-block-patterns-list__list-item {
179
+ margin-bottom: 0;
150
180
  }
@@ -139,6 +139,10 @@
139
139
  z-index: 2;
140
140
  }
141
141
 
142
+ .block-library-query-toolspanel__design .block-library-query-pattern__selection-content {
143
+ margin-top: 8px;
144
+ }
145
+
142
146
  @media (min-width: 600px) {
143
147
  .wp-block-query__enhanced-pagination-modal {
144
148
  max-width: 480px;
@@ -147,4 +151,30 @@
147
151
 
148
152
  .wp-block-query__enhanced-pagination-notice {
149
153
  margin: 0;
154
+ }
155
+
156
+ .block-editor-block-settings-menu__popover.is-expanded {
157
+ overflow-y: scroll;
158
+ }
159
+ .block-editor-block-settings-menu__popover .block-library-query-pattern__selection-content {
160
+ height: 100%;
161
+ }
162
+ .block-editor-block-settings-menu__popover .block-editor-block-patterns-list {
163
+ display: grid;
164
+ grid-template-columns: 1fr;
165
+ grid-gap: 12px;
166
+ min-width: 280px;
167
+ }
168
+ @media (min-width: 600px) {
169
+ .block-editor-block-settings-menu__popover .block-editor-block-patterns-list {
170
+ grid-template-columns: 1fr 1fr;
171
+ }
172
+ }
173
+ @media (min-width: 600px) {
174
+ .block-editor-block-settings-menu__popover .block-editor-block-patterns-list {
175
+ min-width: 480px;
176
+ }
177
+ }
178
+ .block-editor-block-settings-menu__popover .block-editor-block-patterns-list__list-item {
179
+ margin-bottom: 0;
150
180
  }
@@ -544,6 +544,7 @@
544
544
  .wp-block-comments-pagination > .wp-block-comments-pagination-numbers {
545
545
  margin-right: 0.5em;
546
546
  margin-bottom: 0.5em;
547
+ font-size: inherit;
547
548
  }
548
549
  .wp-block-comments-pagination > .wp-block-comments-pagination-next:last-child,
549
550
  .wp-block-comments-pagination > .wp-block-comments-pagination-previous:last-child,
@@ -1599,7 +1600,8 @@ h6.has-text-align-left[style*=writing-mode]:where([style*="vertical-lr"]) {
1599
1600
  rotate: 180deg;
1600
1601
  }
1601
1602
 
1602
- .wp-block-image a {
1603
+ .wp-block-image > a,
1604
+ .wp-block-image > figure > a {
1603
1605
  display: inline-block;
1604
1606
  }
1605
1607
  .wp-block-image img {
@@ -1626,7 +1628,7 @@ h6.has-text-align-left[style*=writing-mode]:where([style*="vertical-lr"]) {
1626
1628
  .wp-block-image.aligncenter {
1627
1629
  text-align: center;
1628
1630
  }
1629
- .wp-block-image.alignfull a, .wp-block-image.alignwide a {
1631
+ .wp-block-image.alignfull > a, .wp-block-image.alignwide > a {
1630
1632
  width: 100%;
1631
1633
  }
1632
1634
  .wp-block-image.alignfull img, .wp-block-image.alignwide img {
@@ -3127,6 +3129,7 @@ p.has-text-align-left[style*="writing-mode:vertical-lr"] {
3127
3129
 
3128
3130
  .wp-block-pullquote cite {
3129
3131
  color: inherit;
3132
+ display: block;
3130
3133
  }
3131
3134
 
3132
3135
  .wp-block-post-template {
@@ -550,6 +550,7 @@
550
550
  /*rtl:ignore*/
551
551
  margin-right: 0.5em;
552
552
  margin-bottom: 0.5em;
553
+ font-size: inherit;
553
554
  }
554
555
  .wp-block-comments-pagination > .wp-block-comments-pagination-next:last-child,
555
556
  .wp-block-comments-pagination > .wp-block-comments-pagination-previous:last-child,
@@ -1609,7 +1610,8 @@ h6.has-text-align-left[style*=writing-mode]:where([style*="vertical-lr"]) {
1609
1610
  rotate: 180deg;
1610
1611
  }
1611
1612
 
1612
- .wp-block-image a {
1613
+ .wp-block-image > a,
1614
+ .wp-block-image > figure > a {
1613
1615
  display: inline-block;
1614
1616
  }
1615
1617
  .wp-block-image img {
@@ -1636,7 +1638,7 @@ h6.has-text-align-left[style*=writing-mode]:where([style*="vertical-lr"]) {
1636
1638
  .wp-block-image.aligncenter {
1637
1639
  text-align: center;
1638
1640
  }
1639
- .wp-block-image.alignfull a, .wp-block-image.alignwide a {
1641
+ .wp-block-image.alignfull > a, .wp-block-image.alignwide > a {
1640
1642
  width: 100%;
1641
1643
  }
1642
1644
  .wp-block-image.alignfull img, .wp-block-image.alignwide img {
@@ -3159,6 +3161,7 @@ p.has-text-align-left[style*="writing-mode:vertical-lr"] {
3159
3161
 
3160
3162
  .wp-block-pullquote cite {
3161
3163
  color: inherit;
3164
+ display: block;
3162
3165
  }
3163
3166
 
3164
3167
  .wp-block-post-template {
@@ -1,2 +1,2 @@
1
- export declare const lock: (object: Record<symbol, WeakKey>, privateData: unknown) => void, unlock: (object: Record<symbol, WeakKey>) => any;
1
+ export declare const lock: (object: unknown, privateData: unknown) => void, unlock: <T = any>(object: unknown) => T;
2
2
  //# sourceMappingURL=lock-unlock.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"lock-unlock.d.ts","sourceRoot":"","sources":["../src/lock-unlock.ts"],"names":[],"mappings":"AAKA,eAAO,MAAQ,IAAI,mEAAE,MAAM,0CAIzB,CAAC"}
1
+ {"version":3,"file":"lock-unlock.d.ts","sourceRoot":"","sources":["../src/lock-unlock.ts"],"names":[],"mappings":"AAKA,eAAO,MAAQ,IAAI,mDAAE,MAAM,iCAIzB,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wordpress/block-library",
3
- "version": "9.13.0",
3
+ "version": "9.13.1-next.cd6172eb0.0",
4
4
  "description": "Block library for the WordPress editor.",
5
5
  "author": "The WordPress Contributors",
6
6
  "license": "GPL-2.0-or-later",
@@ -40,39 +40,39 @@
40
40
  ],
41
41
  "dependencies": {
42
42
  "@babel/runtime": "7.25.7",
43
- "@wordpress/a11y": "*",
44
- "@wordpress/api-fetch": "*",
45
- "@wordpress/autop": "*",
46
- "@wordpress/blob": "*",
47
- "@wordpress/block-editor": "*",
48
- "@wordpress/blocks": "*",
43
+ "@wordpress/a11y": "^4.13.1-next.cd6172eb0.0",
44
+ "@wordpress/api-fetch": "^7.13.1-next.cd6172eb0.0",
45
+ "@wordpress/autop": "^4.13.1-next.cd6172eb0.0",
46
+ "@wordpress/blob": "^4.13.1-next.cd6172eb0.0",
47
+ "@wordpress/block-editor": "^14.8.1-next.cd6172eb0.0",
48
+ "@wordpress/blocks": "^14.2.1-next.cd6172eb0.0",
49
49
  "@wordpress/components": "*",
50
- "@wordpress/compose": "*",
51
- "@wordpress/core-data": "*",
52
- "@wordpress/data": "*",
53
- "@wordpress/date": "*",
54
- "@wordpress/deprecated": "*",
55
- "@wordpress/dom": "*",
56
- "@wordpress/element": "*",
57
- "@wordpress/escape-html": "*",
58
- "@wordpress/hooks": "*",
59
- "@wordpress/html-entities": "*",
60
- "@wordpress/i18n": "*",
61
- "@wordpress/icons": "*",
62
- "@wordpress/interactivity": "*",
63
- "@wordpress/interactivity-router": "*",
64
- "@wordpress/keyboard-shortcuts": "*",
65
- "@wordpress/keycodes": "*",
66
- "@wordpress/notices": "*",
67
- "@wordpress/patterns": "*",
68
- "@wordpress/primitives": "*",
69
- "@wordpress/private-apis": "*",
70
- "@wordpress/reusable-blocks": "*",
71
- "@wordpress/rich-text": "*",
72
- "@wordpress/server-side-render": "*",
73
- "@wordpress/url": "*",
74
- "@wordpress/viewport": "*",
75
- "@wordpress/wordcount": "*",
50
+ "@wordpress/compose": "^7.13.1-next.cd6172eb0.0",
51
+ "@wordpress/core-data": "^7.13.1-next.cd6172eb0.0",
52
+ "@wordpress/data": "^10.13.1-next.cd6172eb0.0",
53
+ "@wordpress/date": "^5.13.1-next.cd6172eb0.0",
54
+ "@wordpress/deprecated": "^4.13.1-next.cd6172eb0.0",
55
+ "@wordpress/dom": "^4.13.1-next.cd6172eb0.0",
56
+ "@wordpress/element": "^6.13.1-next.cd6172eb0.0",
57
+ "@wordpress/escape-html": "^3.13.1-next.cd6172eb0.0",
58
+ "@wordpress/hooks": "^4.13.1-next.cd6172eb0.0",
59
+ "@wordpress/html-entities": "^4.13.1-next.cd6172eb0.0",
60
+ "@wordpress/i18n": "^5.13.1-next.cd6172eb0.0",
61
+ "@wordpress/icons": "^10.13.1-next.cd6172eb0.0",
62
+ "@wordpress/interactivity": "^6.13.1-next.cd6172eb0.0",
63
+ "@wordpress/interactivity-router": "^2.13.1-next.cd6172eb0.0",
64
+ "@wordpress/keyboard-shortcuts": "^5.13.1-next.cd6172eb0.0",
65
+ "@wordpress/keycodes": "^4.13.1-next.cd6172eb0.0",
66
+ "@wordpress/notices": "^5.13.1-next.cd6172eb0.0",
67
+ "@wordpress/patterns": "^2.13.1-next.cd6172eb0.0",
68
+ "@wordpress/primitives": "^4.13.1-next.cd6172eb0.0",
69
+ "@wordpress/private-apis": "^1.13.1-next.cd6172eb0.0",
70
+ "@wordpress/reusable-blocks": "^5.13.1-next.cd6172eb0.0",
71
+ "@wordpress/rich-text": "^7.13.1-next.cd6172eb0.0",
72
+ "@wordpress/server-side-render": "^5.13.1-next.cd6172eb0.0",
73
+ "@wordpress/url": "^4.13.1-next.cd6172eb0.0",
74
+ "@wordpress/viewport": "^6.13.1-next.cd6172eb0.0",
75
+ "@wordpress/wordcount": "^4.13.1-next.cd6172eb0.0",
76
76
  "change-case": "^4.1.2",
77
77
  "clsx": "^2.1.1",
78
78
  "colord": "^2.7.0",
@@ -90,5 +90,5 @@
90
90
  "publishConfig": {
91
91
  "access": "public"
92
92
  },
93
- "gitHead": "cce81c13739c2a8b53d91df90c4f037cb68c2665"
93
+ "gitHead": "4cc93dc1781d8a7bc2bbde265913917920e2bd45"
94
94
  }