@wordpress/block-library 7.13.0 → 7.13.1-next.957ca95e4c.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 (242) hide show
  1. package/build/columns/transforms.js +10 -1
  2. package/build/columns/transforms.js.map +1 -1
  3. package/build/cover/edit/block-controls.js +9 -2
  4. package/build/cover/edit/block-controls.js.map +1 -1
  5. package/build/gallery/gap-styles.js +5 -4
  6. package/build/gallery/gap-styles.js.map +1 -1
  7. package/build/home-link/index.js +14 -1
  8. package/build/home-link/index.js.map +1 -1
  9. package/build/image/edit.js +3 -1
  10. package/build/image/edit.js.map +1 -1
  11. package/build/image/use-client-width.js +3 -1
  12. package/build/image/use-client-width.js.map +1 -1
  13. package/build/index.js +1 -1
  14. package/build/index.js.map +1 -1
  15. package/build/index.native.js +3 -15
  16. package/build/index.native.js.map +1 -1
  17. package/build/latest-posts/deprecated.js +14 -1
  18. package/build/latest-posts/deprecated.js.map +1 -1
  19. package/build/latest-posts/index.js +14 -1
  20. package/build/latest-posts/index.js.map +1 -1
  21. package/build/list/deprecated.js +84 -1
  22. package/build/list/deprecated.js.map +1 -1
  23. package/build/list/edit.js +153 -134
  24. package/build/list/edit.js.map +1 -1
  25. package/build/list/index.js +29 -34
  26. package/build/list/index.js.map +1 -1
  27. package/build/list/save.js +1 -5
  28. package/build/list/save.js.map +1 -1
  29. package/build/list/{v2/tag-name.js → tag-name.js} +0 -0
  30. package/build/list/tag-name.js.map +1 -0
  31. package/build/list/{v2/tag-name.native.js → tag-name.native.js} +0 -0
  32. package/build/list/tag-name.native.js.map +1 -0
  33. package/build/list/transforms.js +61 -95
  34. package/build/list/transforms.js.map +1 -1
  35. package/build/list/{v2/migrate.js → utils.js} +3 -2
  36. package/build/list/utils.js.map +1 -0
  37. package/build/list-item/edit.native.js +21 -3
  38. package/build/list-item/edit.native.js.map +1 -1
  39. package/build/list-item/hooks/use-copy.js +2 -0
  40. package/build/list-item/hooks/use-copy.js.map +1 -1
  41. package/build/list-item/hooks/use-merge.js +0 -1
  42. package/build/list-item/hooks/use-merge.js.map +1 -1
  43. package/build/list-item/hooks/use-outdent-list-item.js +0 -1
  44. package/build/list-item/hooks/use-outdent-list-item.js.map +1 -1
  45. package/build/list-item/hooks/use-space.js +10 -1
  46. package/build/list-item/hooks/use-space.js.map +1 -1
  47. package/build/list-item/index.js +0 -1
  48. package/build/list-item/index.js.map +1 -1
  49. package/build/list-item/utils.js +0 -1
  50. package/build/list-item/utils.js.map +1 -1
  51. package/build/navigation/edit/index.js +6 -3
  52. package/build/navigation/edit/index.js.map +1 -1
  53. package/build/navigation/edit/responsive-wrapper.js +6 -4
  54. package/build/navigation/edit/responsive-wrapper.js.map +1 -1
  55. package/build/navigation/edit/unsaved-inner-blocks.js +4 -15
  56. package/build/navigation/edit/unsaved-inner-blocks.js.map +1 -1
  57. package/build/post-excerpt/index.js +4 -2
  58. package/build/post-excerpt/index.js.map +1 -1
  59. package/build/post-terms/edit.js +0 -1
  60. package/build/post-terms/edit.js.map +1 -1
  61. package/build/post-terms/use-post-terms.js +4 -24
  62. package/build/post-terms/use-post-terms.js.map +1 -1
  63. package/build/query-no-results/index.js +13 -0
  64. package/build/query-no-results/index.js.map +1 -1
  65. package/build/query-pagination-numbers/index.js +4 -2
  66. package/build/query-pagination-numbers/index.js.map +1 -1
  67. package/build/query-title/index.js +1 -0
  68. package/build/query-title/index.js.map +1 -1
  69. package/build/quote/index.js +4 -2
  70. package/build/quote/index.js.map +1 -1
  71. package/build/term-description/index.js +6 -0
  72. package/build/term-description/index.js.map +1 -1
  73. package/build/verse/index.js +1 -0
  74. package/build/verse/index.js.map +1 -1
  75. package/build-module/columns/transforms.js +10 -1
  76. package/build-module/columns/transforms.js.map +1 -1
  77. package/build-module/cover/edit/block-controls.js +10 -3
  78. package/build-module/cover/edit/block-controls.js.map +1 -1
  79. package/build-module/gallery/gap-styles.js +6 -5
  80. package/build-module/gallery/gap-styles.js.map +1 -1
  81. package/build-module/home-link/index.js +14 -1
  82. package/build-module/home-link/index.js.map +1 -1
  83. package/build-module/image/edit.js +4 -2
  84. package/build-module/image/edit.js.map +1 -1
  85. package/build-module/image/use-client-width.js +3 -1
  86. package/build-module/image/use-client-width.js.map +1 -1
  87. package/build-module/index.js +1 -1
  88. package/build-module/index.js.map +1 -1
  89. package/build-module/index.native.js +3 -15
  90. package/build-module/index.native.js.map +1 -1
  91. package/build-module/latest-posts/deprecated.js +14 -1
  92. package/build-module/latest-posts/deprecated.js.map +1 -1
  93. package/build-module/latest-posts/index.js +14 -1
  94. package/build-module/latest-posts/index.js.map +1 -1
  95. package/build-module/list/deprecated.js +83 -1
  96. package/build-module/list/deprecated.js.map +1 -1
  97. package/build-module/list/edit.js +151 -134
  98. package/build-module/list/edit.js.map +1 -1
  99. package/build-module/list/index.js +29 -29
  100. package/build-module/list/index.js.map +1 -1
  101. package/build-module/list/save.js +2 -6
  102. package/build-module/list/save.js.map +1 -1
  103. package/build-module/list/{v2/tag-name.js → tag-name.js} +0 -0
  104. package/build-module/list/tag-name.js.map +1 -0
  105. package/build-module/list/{v2/tag-name.native.js → tag-name.native.js} +0 -0
  106. package/build-module/list/tag-name.native.js.map +1 -0
  107. package/build-module/list/transforms.js +62 -97
  108. package/build-module/list/transforms.js.map +1 -1
  109. package/build-module/list/{v2/migrate.js → utils.js} +3 -2
  110. package/build-module/list/utils.js.map +1 -0
  111. package/build-module/list-item/edit.native.js +19 -3
  112. package/build-module/list-item/edit.native.js.map +1 -1
  113. package/build-module/list-item/hooks/use-copy.js +2 -0
  114. package/build-module/list-item/hooks/use-copy.js.map +1 -1
  115. package/build-module/list-item/hooks/use-merge.js +0 -1
  116. package/build-module/list-item/hooks/use-merge.js.map +1 -1
  117. package/build-module/list-item/hooks/use-outdent-list-item.js +0 -1
  118. package/build-module/list-item/hooks/use-outdent-list-item.js.map +1 -1
  119. package/build-module/list-item/hooks/use-space.js +10 -1
  120. package/build-module/list-item/hooks/use-space.js.map +1 -1
  121. package/build-module/list-item/index.js +0 -1
  122. package/build-module/list-item/index.js.map +1 -1
  123. package/build-module/list-item/utils.js +0 -1
  124. package/build-module/list-item/utils.js.map +1 -1
  125. package/build-module/navigation/edit/index.js +5 -3
  126. package/build-module/navigation/edit/index.js.map +1 -1
  127. package/build-module/navigation/edit/responsive-wrapper.js +6 -4
  128. package/build-module/navigation/edit/responsive-wrapper.js.map +1 -1
  129. package/build-module/navigation/edit/unsaved-inner-blocks.js +5 -15
  130. package/build-module/navigation/edit/unsaved-inner-blocks.js.map +1 -1
  131. package/build-module/post-excerpt/index.js +4 -2
  132. package/build-module/post-excerpt/index.js.map +1 -1
  133. package/build-module/post-terms/edit.js +0 -1
  134. package/build-module/post-terms/edit.js.map +1 -1
  135. package/build-module/post-terms/use-post-terms.js +5 -25
  136. package/build-module/post-terms/use-post-terms.js.map +1 -1
  137. package/build-module/query-no-results/index.js +13 -0
  138. package/build-module/query-no-results/index.js.map +1 -1
  139. package/build-module/query-pagination-numbers/index.js +4 -2
  140. package/build-module/query-pagination-numbers/index.js.map +1 -1
  141. package/build-module/query-title/index.js +1 -0
  142. package/build-module/query-title/index.js.map +1 -1
  143. package/build-module/quote/index.js +4 -2
  144. package/build-module/quote/index.js.map +1 -1
  145. package/build-module/term-description/index.js +6 -0
  146. package/build-module/term-description/index.js.map +1 -1
  147. package/build-module/verse/index.js +1 -0
  148. package/build-module/verse/index.js.map +1 -1
  149. package/build-style/button/style-rtl.css +1 -4
  150. package/build-style/button/style.css +1 -4
  151. package/build-style/code/editor-rtl.css +79 -0
  152. package/build-style/code/editor.css +79 -0
  153. package/build-style/cover/editor-rtl.css +0 -3
  154. package/build-style/cover/editor.css +0 -3
  155. package/build-style/editor-rtl.css +9 -44
  156. package/build-style/editor.css +9 -44
  157. package/build-style/group/editor-rtl.css +2 -22
  158. package/build-style/group/editor.css +2 -22
  159. package/build-style/navigation/editor-rtl.css +3 -19
  160. package/build-style/navigation/editor.css +3 -19
  161. package/build-style/navigation/style-rtl.css +8 -1
  162. package/build-style/navigation/style.css +8 -1
  163. package/build-style/style-rtl.css +9 -5
  164. package/build-style/style.css +9 -5
  165. package/package.json +28 -28
  166. package/src/button/style.scss +1 -8
  167. package/src/code/editor.scss +3 -0
  168. package/src/columns/transforms.js +17 -3
  169. package/src/cover/edit/block-controls.js +15 -3
  170. package/src/cover/editor.scss +0 -4
  171. package/src/editor.scss +1 -0
  172. package/src/gallery/gap-styles.js +10 -6
  173. package/src/gallery/index.php +23 -2
  174. package/src/group/editor.scss +1 -28
  175. package/src/home-link/block.json +14 -1
  176. package/src/image/edit.js +3 -3
  177. package/src/image/use-client-width.js +1 -1
  178. package/src/index.js +1 -4
  179. package/src/index.native.js +2 -13
  180. package/src/latest-posts/block.json +14 -1
  181. package/src/list/deprecated.js +71 -1
  182. package/src/list/edit.js +146 -133
  183. package/src/list/index.js +25 -24
  184. package/src/list/save.js +3 -4
  185. package/src/list/{v2/tag-name.js → tag-name.js} +0 -0
  186. package/src/list/{v2/tag-name.native.js → tag-name.native.js} +0 -0
  187. package/src/list/test/__snapshots__/edit.native.js.snap +14 -2
  188. package/src/list/test/edit.native.js +0 -154
  189. package/src/list/transforms.js +57 -111
  190. package/src/list/{v2/migrate.js → utils.js} +2 -2
  191. package/src/list-item/block.json +0 -1
  192. package/src/list-item/edit.native.js +32 -2
  193. package/src/list-item/hooks/use-copy.js +2 -0
  194. package/src/list-item/hooks/use-space.js +10 -2
  195. package/src/list-item/style.native.scss +8 -0
  196. package/src/navigation/edit/index.js +14 -4
  197. package/src/navigation/edit/responsive-wrapper.js +8 -3
  198. package/src/navigation/edit/unsaved-inner-blocks.js +14 -24
  199. package/src/navigation/editor.scss +2 -23
  200. package/src/navigation/index.php +13 -8
  201. package/src/navigation/style.scss +11 -2
  202. package/src/post-excerpt/block.json +4 -2
  203. package/src/post-terms/edit.js +0 -1
  204. package/src/post-terms/use-post-terms.js +10 -15
  205. package/src/query-no-results/block.json +13 -0
  206. package/src/query-pagination-numbers/block.json +4 -2
  207. package/src/query-title/block.json +1 -0
  208. package/src/quote/block.json +4 -2
  209. package/src/term-description/block.json +6 -0
  210. package/src/verse/block.json +1 -0
  211. package/build/list/v2/deprecated.js +0 -117
  212. package/build/list/v2/deprecated.js.map +0 -1
  213. package/build/list/v2/edit.js +0 -200
  214. package/build/list/v2/edit.js.map +0 -1
  215. package/build/list/v2/index.js +0 -36
  216. package/build/list/v2/index.js.map +0 -1
  217. package/build/list/v2/migrate.js.map +0 -1
  218. package/build/list/v2/save.js +0 -34
  219. package/build/list/v2/save.js.map +0 -1
  220. package/build/list/v2/tag-name.js.map +0 -1
  221. package/build/list/v2/tag-name.native.js.map +0 -1
  222. package/build/list/v2/transforms.js +0 -137
  223. package/build/list/v2/transforms.js.map +0 -1
  224. package/build-module/list/v2/deprecated.js +0 -104
  225. package/build-module/list/v2/deprecated.js.map +0 -1
  226. package/build-module/list/v2/edit.js +0 -179
  227. package/build-module/list/v2/edit.js.map +0 -1
  228. package/build-module/list/v2/index.js +0 -21
  229. package/build-module/list/v2/index.js.map +0 -1
  230. package/build-module/list/v2/migrate.js.map +0 -1
  231. package/build-module/list/v2/save.js +0 -23
  232. package/build-module/list/v2/save.js.map +0 -1
  233. package/build-module/list/v2/tag-name.js.map +0 -1
  234. package/build-module/list/v2/tag-name.native.js.map +0 -1
  235. package/build-module/list/v2/transforms.js +0 -127
  236. package/build-module/list/v2/transforms.js.map +0 -1
  237. package/src/list/test/migrate.js +0 -158
  238. package/src/list/v2/deprecated.js +0 -89
  239. package/src/list/v2/edit.js +0 -192
  240. package/src/list/v2/index.js +0 -22
  241. package/src/list/v2/save.js +0 -18
  242. package/src/list/v2/transforms.js +0 -120
@@ -1 +1 @@
1
- {"version":3,"sources":["@wordpress/block-library/src/post-terms/use-post-terms.js"],"names":["useEntityProp","store","coreStore","useSelect","usePostTerms","postId","postType","term","rest_base","restBase","slug","termIds","select","visible","visibility","publicly_queryable","postTerms","_isLoading","hasPostTerms","isLoading","includes","length","getEntityRecords","isResolving","taxonomyArgs","include","context","terms"],"mappings":"AAAA;AACA;AACA;AACA,SAASA,aAAT,EAAwBC,KAAK,IAAIC,SAAjC,QAAkD,sBAAlD;AACA,SAASC,SAAT,QAA0B,iBAA1B;AAEA,eAAe,SAASC,YAAT,OAAoD;AAAA;;AAAA,MAA7B;AAAEC,IAAAA,MAAF;AAAUC,IAAAA,QAAV;AAAoBC,IAAAA;AAApB,GAA6B;AAClE,QAAM;AAAEC,IAAAA,SAAS,EAAEC,QAAb;AAAuBC,IAAAA;AAAvB,MAAgCH,IAAtC;AACA,QAAM,CAAEI,OAAF,IAAcX,aAAa,CAAE,UAAF,EAAcM,QAAd,EAAwBG,QAAxB,EAAkCJ,MAAlC,CAAjC;AACA,SAAOF,SAAS,CACbS,MAAF,IAAc;AAAA;;AACb,UAAMC,OAAO,GAAGN,IAAH,aAAGA,IAAH,2CAAGA,IAAI,CAAEO,UAAT,qDAAG,iBAAkBC,kBAAlC;;AACA,QAAK,CAAEF,OAAP,EAAiB;AAChB,aAAO;AACNG,QAAAA,SAAS,EAAE,EADL;AAENC,QAAAA,UAAU,EAAE,KAFN;AAGNC,QAAAA,YAAY,EAAE;AAHR,OAAP;AAKA;;AACD,QAAK,CAAEP,OAAP,EAAiB;AAAA;;AAChB;AACA,aAAO;AAAEQ,QAAAA,SAAS,EAAEZ,IAAF,aAAEA,IAAF,0CAAEA,IAAI,CAAES,SAAR,oDAAE,gBAAiBI,QAAjB,CAA2Bd,QAA3B;AAAb,OAAP;AACA;;AACD,QAAK,CAAEK,OAAO,CAACU,MAAf,EAAwB;AACvB,aAAO;AAAEF,QAAAA,SAAS,EAAE;AAAb,OAAP;AACA;;AACD,UAAM;AAAEG,MAAAA,gBAAF;AAAoBC,MAAAA;AAApB,QAAoCX,MAAM,CAAEV,SAAF,CAAhD;AACA,UAAMsB,YAAY,GAAG,CACpB,UADoB,EAEpBd,IAFoB,EAGpB;AACCe,MAAAA,OAAO,EAAEd,OADV;AAECe,MAAAA,OAAO,EAAE;AAFV,KAHoB,CAArB;AAQA,UAAMC,KAAK,GAAGL,gBAAgB,CAAE,GAAGE,YAAL,CAA9B;;AACA,UAAMP,UAAU,GAAGM,WAAW,CAAE,kBAAF,EAAsBC,YAAtB,CAA9B;;AACA,WAAO;AACNR,MAAAA,SAAS,EAAEW,KADL;AAENR,MAAAA,SAAS,EAAEF,UAFL;AAGNC,MAAAA,YAAY,EAAE,CAAC,EAAES,KAAF,aAAEA,KAAF,eAAEA,KAAK,CAAEN,MAAT;AAHT,KAAP;AAKA,GAjCc,EAkCf,CAAEV,OAAF,EAAWJ,IAAX,aAAWA,IAAX,4CAAWA,IAAI,CAAEO,UAAjB,sDAAW,kBAAkBC,kBAA7B,CAlCe,CAAhB;AAoCA","sourcesContent":["/**\n * WordPress dependencies\n */\nimport { useEntityProp, store as coreStore } from '@wordpress/core-data';\nimport { useSelect } from '@wordpress/data';\n\nexport default function usePostTerms( { postId, postType, term } ) {\n\tconst { rest_base: restBase, slug } = term;\n\tconst [ termIds ] = useEntityProp( 'postType', postType, restBase, postId );\n\treturn useSelect(\n\t\t( select ) => {\n\t\t\tconst visible = term?.visibility?.publicly_queryable;\n\t\t\tif ( ! visible ) {\n\t\t\t\treturn {\n\t\t\t\t\tpostTerms: [],\n\t\t\t\t\t_isLoading: false,\n\t\t\t\t\thasPostTerms: false,\n\t\t\t\t};\n\t\t\t}\n\t\t\tif ( ! termIds ) {\n\t\t\t\t// Waiting for post terms to be fetched.\n\t\t\t\treturn { isLoading: term?.postTerms?.includes( postType ) };\n\t\t\t}\n\t\t\tif ( ! termIds.length ) {\n\t\t\t\treturn { isLoading: false };\n\t\t\t}\n\t\t\tconst { getEntityRecords, isResolving } = select( coreStore );\n\t\t\tconst taxonomyArgs = [\n\t\t\t\t'taxonomy',\n\t\t\t\tslug,\n\t\t\t\t{\n\t\t\t\t\tinclude: termIds,\n\t\t\t\t\tcontext: 'view',\n\t\t\t\t},\n\t\t\t];\n\t\t\tconst terms = getEntityRecords( ...taxonomyArgs );\n\t\t\tconst _isLoading = isResolving( 'getEntityRecords', taxonomyArgs );\n\t\t\treturn {\n\t\t\t\tpostTerms: terms,\n\t\t\t\tisLoading: _isLoading,\n\t\t\t\thasPostTerms: !! terms?.length,\n\t\t\t};\n\t\t},\n\t\t[ termIds, term?.visibility?.publicly_queryable ]\n\t);\n}\n"]}
1
+ {"version":3,"sources":["@wordpress/block-library/src/post-terms/use-post-terms.js"],"names":["store","coreStore","useSelect","usePostTerms","postId","term","slug","select","visible","visibility","publicly_queryable","postTerms","_isLoading","hasPostTerms","getEntityRecords","isResolving","taxonomyArgs","post","per_page","context","terms","isLoading","length"],"mappings":"AAAA;AACA;AACA;AACA,SAASA,KAAK,IAAIC,SAAlB,QAAmC,sBAAnC;AACA,SAASC,SAAT,QAA0B,iBAA1B;AAEA,eAAe,SAASC,YAAT,OAA0C;AAAA;;AAAA,MAAnB;AAAEC,IAAAA,MAAF;AAAUC,IAAAA;AAAV,GAAmB;AACxD,QAAM;AAAEC,IAAAA;AAAF,MAAWD,IAAjB;AAEA,SAAOH,SAAS,CACbK,MAAF,IAAc;AAAA;;AACb,UAAMC,OAAO,GAAGH,IAAH,aAAGA,IAAH,2CAAGA,IAAI,CAAEI,UAAT,qDAAG,iBAAkBC,kBAAlC;;AACA,QAAK,CAAEF,OAAP,EAAiB;AAChB,aAAO;AACNG,QAAAA,SAAS,EAAE,EADL;AAENC,QAAAA,UAAU,EAAE,KAFN;AAGNC,QAAAA,YAAY,EAAE;AAHR,OAAP;AAKA;;AAED,UAAM;AAAEC,MAAAA,gBAAF;AAAoBC,MAAAA;AAApB,QAAoCR,MAAM,CAAEN,SAAF,CAAhD;AACA,UAAMe,YAAY,GAAG,CACpB,UADoB,EAEpBV,IAFoB,EAGpB;AACCW,MAAAA,IAAI,EAAEb,MADP;AAECc,MAAAA,QAAQ,EAAE,CAAC,CAFZ;AAGCC,MAAAA,OAAO,EAAE;AAHV,KAHoB,CAArB;AASA,UAAMC,KAAK,GAAGN,gBAAgB,CAAE,GAAGE,YAAL,CAA9B;AAEA,WAAO;AACNL,MAAAA,SAAS,EAAES,KADL;AAENC,MAAAA,SAAS,EAAEN,WAAW,CAAE,kBAAF,EAAsBC,YAAtB,CAFhB;AAGNH,MAAAA,YAAY,EAAE,CAAC,EAAEO,KAAF,aAAEA,KAAF,eAAEA,KAAK,CAAEE,MAAT;AAHT,KAAP;AAKA,GA5Bc,EA6Bf,CAAElB,MAAF,EAAUC,IAAV,aAAUA,IAAV,4CAAUA,IAAI,CAAEI,UAAhB,sDAAU,kBAAkBC,kBAA5B,CA7Be,CAAhB;AA+BA","sourcesContent":["/**\n * WordPress dependencies\n */\nimport { store as coreStore } from '@wordpress/core-data';\nimport { useSelect } from '@wordpress/data';\n\nexport default function usePostTerms( { postId, term } ) {\n\tconst { slug } = term;\n\n\treturn useSelect(\n\t\t( select ) => {\n\t\t\tconst visible = term?.visibility?.publicly_queryable;\n\t\t\tif ( ! visible ) {\n\t\t\t\treturn {\n\t\t\t\t\tpostTerms: [],\n\t\t\t\t\t_isLoading: false,\n\t\t\t\t\thasPostTerms: false,\n\t\t\t\t};\n\t\t\t}\n\n\t\t\tconst { getEntityRecords, isResolving } = select( coreStore );\n\t\t\tconst taxonomyArgs = [\n\t\t\t\t'taxonomy',\n\t\t\t\tslug,\n\t\t\t\t{\n\t\t\t\t\tpost: postId,\n\t\t\t\t\tper_page: -1,\n\t\t\t\t\tcontext: 'view',\n\t\t\t\t},\n\t\t\t];\n\t\t\tconst terms = getEntityRecords( ...taxonomyArgs );\n\n\t\t\treturn {\n\t\t\t\tpostTerms: terms,\n\t\t\t\tisLoading: isResolving( 'getEntityRecords', taxonomyArgs ),\n\t\t\t\thasPostTerms: !! terms?.length,\n\t\t\t};\n\t\t},\n\t\t[ postId, term?.visibility?.publicly_queryable ]\n\t);\n}\n"]}
@@ -23,6 +23,19 @@ const metadata = {
23
23
  color: {
24
24
  gradients: true,
25
25
  link: true
26
+ },
27
+ typography: {
28
+ fontSize: true,
29
+ lineHeight: true,
30
+ __experimentalFontFamily: true,
31
+ __experimentalFontWeight: true,
32
+ __experimentalFontStyle: true,
33
+ __experimentalTextTransform: true,
34
+ __experimentalTextDecoration: true,
35
+ __experimentalLetterSpacing: true,
36
+ __experimentalDefaultControls: {
37
+ fontSize: true
38
+ }
26
39
  }
27
40
  }
28
41
  };
@@ -1 +1 @@
1
- {"version":3,"sources":["@wordpress/block-library/src/query-no-results/index.js"],"names":["loop","icon","edit","save","name","metadata","settings"],"mappings":"AAAA;AACA;AACA;AACA,SAASA,IAAI,IAAIC,IAAjB,QAA6B,kBAA7B;AAEA;AACA;AACA;;;;;;;;;;;;;;;;;;;;;;AAEA,OAAOC,IAAP,MAAiB,QAAjB;AACA,OAAOC,IAAP,MAAiB,QAAjB;AAEA,MAAM;AAAEC,EAAAA;AAAF,IAAWC,QAAjB;AACA,SAASA,QAAT,EAAmBD,IAAnB;AAEA,OAAO,MAAME,QAAQ,GAAG;AACvBL,EAAAA,IADuB;AAEvBC,EAAAA,IAFuB;AAGvBC,EAAAA;AAHuB,CAAjB","sourcesContent":["/**\n * WordPress dependencies\n */\nimport { loop as icon } from '@wordpress/icons';\n\n/**\n * Internal dependencies\n */\nimport metadata from './block.json';\nimport edit from './edit';\nimport save from './save';\n\nconst { name } = metadata;\nexport { metadata, name };\n\nexport const settings = {\n\ticon,\n\tedit,\n\tsave,\n};\n"]}
1
+ {"version":3,"sources":["@wordpress/block-library/src/query-no-results/index.js"],"names":["loop","icon","edit","save","name","metadata","settings"],"mappings":"AAAA;AACA;AACA;AACA,SAASA,IAAI,IAAIC,IAAjB,QAA6B,kBAA7B;AAEA;AACA;AACA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,OAAOC,IAAP,MAAiB,QAAjB;AACA,OAAOC,IAAP,MAAiB,QAAjB;AAEA,MAAM;AAAEC,EAAAA;AAAF,IAAWC,QAAjB;AACA,SAASA,QAAT,EAAmBD,IAAnB;AAEA,OAAO,MAAME,QAAQ,GAAG;AACvBL,EAAAA,IADuB;AAEvBC,EAAAA,IAFuB;AAGvBC,EAAAA;AAHuB,CAAjB","sourcesContent":["/**\n * WordPress dependencies\n */\nimport { loop as icon } from '@wordpress/icons';\n\n/**\n * Internal dependencies\n */\nimport metadata from './block.json';\nimport edit from './edit';\nimport save from './save';\n\nconst { name } = metadata;\nexport { metadata, name };\n\nexport const settings = {\n\ticon,\n\tedit,\n\tsave,\n};\n"]}
@@ -29,10 +29,12 @@ const metadata = {
29
29
  typography: {
30
30
  fontSize: true,
31
31
  lineHeight: true,
32
- __experimentalFontStyle: true,
32
+ __experimentalFontFamily: true,
33
33
  __experimentalFontWeight: true,
34
- __experimentalLetterSpacing: true,
34
+ __experimentalFontStyle: true,
35
35
  __experimentalTextTransform: true,
36
+ __experimentalTextDecoration: true,
37
+ __experimentalLetterSpacing: true,
36
38
  __experimentalDefaultControls: {
37
39
  fontSize: true
38
40
  }
@@ -1 +1 @@
1
- {"version":3,"sources":["@wordpress/block-library/src/query-pagination-numbers/index.js"],"names":["queryPaginationNumbers","icon","edit","name","metadata","settings"],"mappings":"AAAA;AACA;AACA;AACA,SAASA,sBAAsB,IAAIC,IAAnC,QAA+C,kBAA/C;AAEA;AACA;AACA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,OAAOC,IAAP,MAAiB,QAAjB;AAEA,MAAM;AAAEC,EAAAA;AAAF,IAAWC,QAAjB;AACA,SAASA,QAAT,EAAmBD,IAAnB;AAEA,OAAO,MAAME,QAAQ,GAAG;AACvBJ,EAAAA,IADuB;AAEvBC,EAAAA;AAFuB,CAAjB","sourcesContent":["/**\n * WordPress dependencies\n */\nimport { queryPaginationNumbers as icon } from '@wordpress/icons';\n\n/**\n * Internal dependencies\n */\nimport metadata from './block.json';\nimport edit from './edit';\n\nconst { name } = metadata;\nexport { metadata, name };\n\nexport const settings = {\n\ticon,\n\tedit,\n};\n"]}
1
+ {"version":3,"sources":["@wordpress/block-library/src/query-pagination-numbers/index.js"],"names":["queryPaginationNumbers","icon","edit","name","metadata","settings"],"mappings":"AAAA;AACA;AACA;AACA,SAASA,sBAAsB,IAAIC,IAAnC,QAA+C,kBAA/C;AAEA;AACA;AACA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,OAAOC,IAAP,MAAiB,QAAjB;AAEA,MAAM;AAAEC,EAAAA;AAAF,IAAWC,QAAjB;AACA,SAASA,QAAT,EAAmBD,IAAnB;AAEA,OAAO,MAAME,QAAQ,GAAG;AACvBJ,EAAAA,IADuB;AAEvBC,EAAAA;AAFuB,CAAjB","sourcesContent":["/**\n * WordPress dependencies\n */\nimport { queryPaginationNumbers as icon } from '@wordpress/icons';\n\n/**\n * Internal dependencies\n */\nimport metadata from './block.json';\nimport edit from './edit';\n\nconst { name } = metadata;\nexport { metadata, name };\n\nexport const settings = {\n\ticon,\n\tedit,\n};\n"]}
@@ -51,6 +51,7 @@ const metadata = {
51
51
  __experimentalFontWeight: true,
52
52
  __experimentalLetterSpacing: true,
53
53
  __experimentalTextTransform: true,
54
+ __experimentalTextDecoration: true,
54
55
  __experimentalDefaultControls: {
55
56
  fontSize: true,
56
57
  fontAppearance: true,
@@ -1 +1 @@
1
- {"version":3,"sources":["@wordpress/block-library/src/query-title/index.js"],"names":["edit","variations","deprecated","title","icon","name","metadata","settings"],"mappings":"AAAA;AACA;AACA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,OAAOA,IAAP,MAAiB,QAAjB;AACA,OAAOC,UAAP,MAAuB,cAAvB;AACA,OAAOC,UAAP,MAAuB,cAAvB;AAEA;AACA;AACA;;AACA,SAASC,KAAK,IAAIC,IAAlB,QAA8B,kBAA9B;AAEA,MAAM;AAAEC,EAAAA;AAAF,IAAWC,QAAjB;AACA,SAASA,QAAT,EAAmBD,IAAnB;AAEA,OAAO,MAAME,QAAQ,GAAG;AACvBH,EAAAA,IADuB;AAEvBJ,EAAAA,IAFuB;AAGvBC,EAAAA,UAHuB;AAIvBC,EAAAA;AAJuB,CAAjB","sourcesContent":["/**\n * Internal dependencies\n */\nimport metadata from './block.json';\nimport edit from './edit';\nimport variations from './variations';\nimport deprecated from './deprecated';\n\n/**\n * WordPress dependencies\n */\nimport { title as icon } from '@wordpress/icons';\n\nconst { name } = metadata;\nexport { metadata, name };\n\nexport const settings = {\n\ticon,\n\tedit,\n\tvariations,\n\tdeprecated,\n};\n"]}
1
+ {"version":3,"sources":["@wordpress/block-library/src/query-title/index.js"],"names":["edit","variations","deprecated","title","icon","name","metadata","settings"],"mappings":"AAAA;AACA;AACA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,OAAOA,IAAP,MAAiB,QAAjB;AACA,OAAOC,UAAP,MAAuB,cAAvB;AACA,OAAOC,UAAP,MAAuB,cAAvB;AAEA;AACA;AACA;;AACA,SAASC,KAAK,IAAIC,IAAlB,QAA8B,kBAA9B;AAEA,MAAM;AAAEC,EAAAA;AAAF,IAAWC,QAAjB;AACA,SAASA,QAAT,EAAmBD,IAAnB;AAEA,OAAO,MAAME,QAAQ,GAAG;AACvBH,EAAAA,IADuB;AAEvBJ,EAAAA,IAFuB;AAGvBC,EAAAA,UAHuB;AAIvBC,EAAAA;AAJuB,CAAjB","sourcesContent":["/**\n * Internal dependencies\n */\nimport metadata from './block.json';\nimport edit from './edit';\nimport variations from './variations';\nimport deprecated from './deprecated';\n\n/**\n * WordPress dependencies\n */\nimport { title as icon } from '@wordpress/icons';\n\nconst { name } = metadata;\nexport { metadata, name };\n\nexport const settings = {\n\ticon,\n\tedit,\n\tvariations,\n\tdeprecated,\n};\n"]}
@@ -45,10 +45,12 @@ const metadata = {
45
45
  typography: {
46
46
  fontSize: true,
47
47
  lineHeight: true,
48
- __experimentalFontStyle: true,
48
+ __experimentalFontFamily: true,
49
49
  __experimentalFontWeight: true,
50
- __experimentalLetterSpacing: true,
50
+ __experimentalFontStyle: true,
51
51
  __experimentalTextTransform: true,
52
+ __experimentalTextDecoration: true,
53
+ __experimentalLetterSpacing: true,
52
54
  __experimentalDefaultControls: {
53
55
  fontSize: true,
54
56
  fontAppearance: true
@@ -1 +1 @@
1
- {"version":3,"sources":["@wordpress/block-library/src/quote/index.js"],"names":["__","quote","icon","deprecated","edit","save","transforms","name","metadata","settings","example","attributes","citation","innerBlocks","content"],"mappings":"AAAA;AACA;AACA;AACA,SAASA,EAAT,QAAmB,iBAAnB;AACA,SAASC,KAAK,IAAIC,IAAlB,QAA8B,kBAA9B;AAEA;AACA;AACA;;AACA,OAAOC,UAAP,MAAuB,cAAvB;AACA,OAAOC,IAAP,MAAiB,QAAjB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,OAAOC,IAAP,MAAiB,QAAjB;AACA,OAAOC,UAAP,MAAuB,cAAvB;AAEA,MAAM;AAAEC,EAAAA;AAAF,IAAWC,QAAjB;AAEA,SAASA,QAAT,EAAmBD,IAAnB;AAEA,OAAO,MAAME,QAAQ,GAAG;AACvBP,EAAAA,IADuB;AAEvBQ,EAAAA,OAAO,EAAE;AACRC,IAAAA,UAAU,EAAE;AACXC,MAAAA,QAAQ,EAAE;AADC,KADJ;AAIRC,IAAAA,WAAW,EAAE,CACZ;AACCN,MAAAA,IAAI,EAAE,gBADP;AAECI,MAAAA,UAAU,EAAE;AACXG,QAAAA,OAAO,EAAEd,EAAE,CAAE,uCAAF;AADA;AAFb,KADY;AAJL,GAFc;AAevBM,EAAAA,UAfuB;AAgBvBF,EAAAA,IAhBuB;AAiBvBC,EAAAA,IAjBuB;AAkBvBF,EAAAA;AAlBuB,CAAjB","sourcesContent":["/**\n * WordPress dependencies\n */\nimport { __ } from '@wordpress/i18n';\nimport { quote as icon } from '@wordpress/icons';\n\n/**\n * Internal dependencies\n */\nimport deprecated from './deprecated';\nimport edit from './edit';\nimport metadata from './block.json';\nimport save from './save';\nimport transforms from './transforms';\n\nconst { name } = metadata;\n\nexport { metadata, name };\n\nexport const settings = {\n\ticon,\n\texample: {\n\t\tattributes: {\n\t\t\tcitation: 'Julio Cortázar',\n\t\t},\n\t\tinnerBlocks: [\n\t\t\t{\n\t\t\t\tname: 'core/paragraph',\n\t\t\t\tattributes: {\n\t\t\t\t\tcontent: __( 'In quoting others, we cite ourselves.' ),\n\t\t\t\t},\n\t\t\t},\n\t\t],\n\t},\n\ttransforms,\n\tedit,\n\tsave,\n\tdeprecated,\n};\n"]}
1
+ {"version":3,"sources":["@wordpress/block-library/src/quote/index.js"],"names":["__","quote","icon","deprecated","edit","save","transforms","name","metadata","settings","example","attributes","citation","innerBlocks","content"],"mappings":"AAAA;AACA;AACA;AACA,SAASA,EAAT,QAAmB,iBAAnB;AACA,SAASC,KAAK,IAAIC,IAAlB,QAA8B,kBAA9B;AAEA;AACA;AACA;;AACA,OAAOC,UAAP,MAAuB,cAAvB;AACA,OAAOC,IAAP,MAAiB,QAAjB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,OAAOC,IAAP,MAAiB,QAAjB;AACA,OAAOC,UAAP,MAAuB,cAAvB;AAEA,MAAM;AAAEC,EAAAA;AAAF,IAAWC,QAAjB;AAEA,SAASA,QAAT,EAAmBD,IAAnB;AAEA,OAAO,MAAME,QAAQ,GAAG;AACvBP,EAAAA,IADuB;AAEvBQ,EAAAA,OAAO,EAAE;AACRC,IAAAA,UAAU,EAAE;AACXC,MAAAA,QAAQ,EAAE;AADC,KADJ;AAIRC,IAAAA,WAAW,EAAE,CACZ;AACCN,MAAAA,IAAI,EAAE,gBADP;AAECI,MAAAA,UAAU,EAAE;AACXG,QAAAA,OAAO,EAAEd,EAAE,CAAE,uCAAF;AADA;AAFb,KADY;AAJL,GAFc;AAevBM,EAAAA,UAfuB;AAgBvBF,EAAAA,IAhBuB;AAiBvBC,EAAAA,IAjBuB;AAkBvBF,EAAAA;AAlBuB,CAAjB","sourcesContent":["/**\n * WordPress dependencies\n */\nimport { __ } from '@wordpress/i18n';\nimport { quote as icon } from '@wordpress/icons';\n\n/**\n * Internal dependencies\n */\nimport deprecated from './deprecated';\nimport edit from './edit';\nimport metadata from './block.json';\nimport save from './save';\nimport transforms from './transforms';\n\nconst { name } = metadata;\n\nexport { metadata, name };\n\nexport const settings = {\n\ticon,\n\texample: {\n\t\tattributes: {\n\t\t\tcitation: 'Julio Cortázar',\n\t\t},\n\t\tinnerBlocks: [\n\t\t\t{\n\t\t\t\tname: 'core/paragraph',\n\t\t\t\tattributes: {\n\t\t\t\t\tcontent: __( 'In quoting others, we cite ourselves.' ),\n\t\t\t\t},\n\t\t\t},\n\t\t],\n\t},\n\ttransforms,\n\tedit,\n\tsave,\n\tdeprecated,\n};\n"]}
@@ -36,6 +36,12 @@ const metadata = {
36
36
  typography: {
37
37
  fontSize: true,
38
38
  lineHeight: true,
39
+ __experimentalFontFamily: true,
40
+ __experimentalFontWeight: true,
41
+ __experimentalFontStyle: true,
42
+ __experimentalTextTransform: true,
43
+ __experimentalTextDecoration: true,
44
+ __experimentalLetterSpacing: true,
39
45
  __experimentalDefaultControls: {
40
46
  fontSize: true
41
47
  }
@@ -1 +1 @@
1
- {"version":3,"sources":["@wordpress/block-library/src/term-description/index.js"],"names":["termDescription","icon","edit","name","metadata","settings"],"mappings":"AAAA;AACA;AACA;AACA,SAASA,eAAe,IAAIC,IAA5B,QAAwC,kBAAxC;AAEA;AACA;AACA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,OAAOC,IAAP,MAAiB,QAAjB;AAEA,MAAM;AAAEC,EAAAA;AAAF,IAAWC,QAAjB;AACA,SAASA,QAAT,EAAmBD,IAAnB;AAEA,OAAO,MAAME,QAAQ,GAAG;AACvBJ,EAAAA,IADuB;AAEvBC,EAAAA;AAFuB,CAAjB","sourcesContent":["/**\n * WordPress dependencies\n */\nimport { termDescription as icon } from '@wordpress/icons';\n\n/**\n * Internal dependencies\n */\nimport metadata from './block.json';\nimport edit from './edit';\n\nconst { name } = metadata;\nexport { metadata, name };\n\nexport const settings = {\n\ticon,\n\tedit,\n};\n"]}
1
+ {"version":3,"sources":["@wordpress/block-library/src/term-description/index.js"],"names":["termDescription","icon","edit","name","metadata","settings"],"mappings":"AAAA;AACA;AACA;AACA,SAASA,eAAe,IAAIC,IAA5B,QAAwC,kBAAxC;AAEA;AACA;AACA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,OAAOC,IAAP,MAAiB,QAAjB;AAEA,MAAM;AAAEC,EAAAA;AAAF,IAAWC,QAAjB;AACA,SAASA,QAAT,EAAmBD,IAAnB;AAEA,OAAO,MAAME,QAAQ,GAAG;AACvBJ,EAAAA,IADuB;AAEvBC,EAAAA;AAFuB,CAAjB","sourcesContent":["/**\n * WordPress dependencies\n */\nimport { termDescription as icon } from '@wordpress/icons';\n\n/**\n * Internal dependencies\n */\nimport metadata from './block.json';\nimport edit from './edit';\n\nconst { name } = metadata;\nexport { metadata, name };\n\nexport const settings = {\n\ticon,\n\tedit,\n};\n"]}
@@ -49,6 +49,7 @@ const metadata = {
49
49
  __experimentalFontWeight: true,
50
50
  __experimentalLetterSpacing: true,
51
51
  __experimentalTextTransform: true,
52
+ __experimentalTextDecoration: true,
52
53
  __experimentalDefaultControls: {
53
54
  fontSize: true,
54
55
  fontAppearance: true
@@ -1 +1 @@
1
- {"version":3,"sources":["@wordpress/block-library/src/verse/index.js"],"names":["__","verse","icon","deprecated","edit","save","transforms","name","metadata","settings","example","attributes","content","merge","attributesToMerge"],"mappings":"AAAA;AACA;AACA;AACA,SAASA,EAAT,QAAmB,iBAAnB;AACA,SAASC,KAAK,IAAIC,IAAlB,QAA8B,kBAA9B;AAEA;AACA;AACA;;AACA,OAAOC,UAAP,MAAuB,cAAvB;AACA,OAAOC,IAAP,MAAiB,QAAjB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,OAAOC,IAAP,MAAiB,QAAjB;AACA,OAAOC,UAAP,MAAuB,cAAvB;AAEA,MAAM;AAAEC,EAAAA;AAAF,IAAWC,QAAjB;AAEA,SAASA,QAAT,EAAmBD,IAAnB;AAEA,OAAO,MAAME,QAAQ,GAAG;AACvBP,EAAAA,IADuB;AAEvBQ,EAAAA,OAAO,EAAE;AACRC,IAAAA,UAAU,EAAE;AACX;AACA;AACAC,MAAAA,OAAO,EAAEZ,EAAE,CACV,yOADU;AAGX;;AANW;AADJ,GAFc;AAYvBM,EAAAA,UAZuB;AAavBH,EAAAA,UAbuB;;AAcvBU,EAAAA,KAAK,CAAEF,UAAF,EAAcG,iBAAd,EAAkC;AACtC,WAAO;AACNF,MAAAA,OAAO,EAAED,UAAU,CAACC,OAAX,GAAqBE,iBAAiB,CAACF;AAD1C,KAAP;AAGA,GAlBsB;;AAmBvBR,EAAAA,IAnBuB;AAoBvBC,EAAAA;AApBuB,CAAjB","sourcesContent":["/**\n * WordPress dependencies\n */\nimport { __ } from '@wordpress/i18n';\nimport { verse as icon } from '@wordpress/icons';\n\n/**\n * Internal dependencies\n */\nimport deprecated from './deprecated';\nimport edit from './edit';\nimport metadata from './block.json';\nimport save from './save';\nimport transforms from './transforms';\n\nconst { name } = metadata;\n\nexport { metadata, name };\n\nexport const settings = {\n\ticon,\n\texample: {\n\t\tattributes: {\n\t\t\t/* eslint-disable @wordpress/i18n-no-collapsible-whitespace */\n\t\t\t// translators: Sample content for the Verse block. Can be replaced with a more locale-adequate work.\n\t\t\tcontent: __(\n\t\t\t\t'WHAT was he doing, the great god Pan,\\n\tDown in the reeds by the river?\\nSpreading ruin and scattering ban,\\nSplashing and paddling with hoofs of a goat,\\nAnd breaking the golden lilies afloat\\n With the dragon-fly on the river.'\n\t\t\t),\n\t\t\t/* eslint-enable @wordpress/i18n-no-collapsible-whitespace */\n\t\t},\n\t},\n\ttransforms,\n\tdeprecated,\n\tmerge( attributes, attributesToMerge ) {\n\t\treturn {\n\t\t\tcontent: attributes.content + attributesToMerge.content,\n\t\t};\n\t},\n\tedit,\n\tsave,\n};\n"]}
1
+ {"version":3,"sources":["@wordpress/block-library/src/verse/index.js"],"names":["__","verse","icon","deprecated","edit","save","transforms","name","metadata","settings","example","attributes","content","merge","attributesToMerge"],"mappings":"AAAA;AACA;AACA;AACA,SAASA,EAAT,QAAmB,iBAAnB;AACA,SAASC,KAAK,IAAIC,IAAlB,QAA8B,kBAA9B;AAEA;AACA;AACA;;AACA,OAAOC,UAAP,MAAuB,cAAvB;AACA,OAAOC,IAAP,MAAiB,QAAjB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,OAAOC,IAAP,MAAiB,QAAjB;AACA,OAAOC,UAAP,MAAuB,cAAvB;AAEA,MAAM;AAAEC,EAAAA;AAAF,IAAWC,QAAjB;AAEA,SAASA,QAAT,EAAmBD,IAAnB;AAEA,OAAO,MAAME,QAAQ,GAAG;AACvBP,EAAAA,IADuB;AAEvBQ,EAAAA,OAAO,EAAE;AACRC,IAAAA,UAAU,EAAE;AACX;AACA;AACAC,MAAAA,OAAO,EAAEZ,EAAE,CACV,yOADU;AAGX;;AANW;AADJ,GAFc;AAYvBM,EAAAA,UAZuB;AAavBH,EAAAA,UAbuB;;AAcvBU,EAAAA,KAAK,CAAEF,UAAF,EAAcG,iBAAd,EAAkC;AACtC,WAAO;AACNF,MAAAA,OAAO,EAAED,UAAU,CAACC,OAAX,GAAqBE,iBAAiB,CAACF;AAD1C,KAAP;AAGA,GAlBsB;;AAmBvBR,EAAAA,IAnBuB;AAoBvBC,EAAAA;AApBuB,CAAjB","sourcesContent":["/**\n * WordPress dependencies\n */\nimport { __ } from '@wordpress/i18n';\nimport { verse as icon } from '@wordpress/icons';\n\n/**\n * Internal dependencies\n */\nimport deprecated from './deprecated';\nimport edit from './edit';\nimport metadata from './block.json';\nimport save from './save';\nimport transforms from './transforms';\n\nconst { name } = metadata;\n\nexport { metadata, name };\n\nexport const settings = {\n\ticon,\n\texample: {\n\t\tattributes: {\n\t\t\t/* eslint-disable @wordpress/i18n-no-collapsible-whitespace */\n\t\t\t// translators: Sample content for the Verse block. Can be replaced with a more locale-adequate work.\n\t\t\tcontent: __(\n\t\t\t\t'WHAT was he doing, the great god Pan,\\n\tDown in the reeds by the river?\\nSpreading ruin and scattering ban,\\nSplashing and paddling with hoofs of a goat,\\nAnd breaking the golden lilies afloat\\n With the dragon-fly on the river.'\n\t\t\t),\n\t\t\t/* eslint-enable @wordpress/i18n-no-collapsible-whitespace */\n\t\t},\n\t},\n\ttransforms,\n\tdeprecated,\n\tmerge( attributes, attributesToMerge ) {\n\t\treturn {\n\t\t\tcontent: attributes.content + attributesToMerge.content,\n\t\t};\n\t},\n\tedit,\n\tsave,\n};\n"]}
@@ -75,16 +75,12 @@
75
75
  * Reset the WP Admin page styles for Gutenberg-like pages.
76
76
  */
77
77
  .wp-block-button__link {
78
- box-shadow: none;
79
78
  cursor: pointer;
80
79
  display: inline-block;
81
80
  text-align: center;
82
81
  word-break: break-word;
83
82
  box-sizing: border-box;
84
83
  }
85
- .wp-block-button__link:hover, .wp-block-button__link:focus, .wp-block-button__link:active, .wp-block-button__link:visited {
86
- color: #fff;
87
- }
88
84
  .wp-block-button__link.aligncenter {
89
85
  text-align: center;
90
86
  }
@@ -93,6 +89,7 @@
93
89
  }
94
90
 
95
91
  :where(.wp-block-button__link) {
92
+ box-shadow: none;
96
93
  text-decoration: none;
97
94
  border-radius: 9999px;
98
95
  padding: calc(0.667em + 2px) calc(1.333em + 2px);
@@ -75,16 +75,12 @@
75
75
  * Reset the WP Admin page styles for Gutenberg-like pages.
76
76
  */
77
77
  .wp-block-button__link {
78
- box-shadow: none;
79
78
  cursor: pointer;
80
79
  display: inline-block;
81
80
  text-align: center;
82
81
  word-break: break-word;
83
82
  box-sizing: border-box;
84
83
  }
85
- .wp-block-button__link:hover, .wp-block-button__link:focus, .wp-block-button__link:active, .wp-block-button__link:visited {
86
- color: #fff;
87
- }
88
84
  .wp-block-button__link.aligncenter {
89
85
  text-align: center;
90
86
  }
@@ -94,6 +90,7 @@
94
90
  }
95
91
 
96
92
  :where(.wp-block-button__link) {
93
+ box-shadow: none;
97
94
  text-decoration: none;
98
95
  border-radius: 9999px;
99
96
  padding: calc(0.667em + 2px) calc(1.333em + 2px);
@@ -0,0 +1,79 @@
1
+ /**
2
+ * Colors
3
+ */
4
+ /**
5
+ * Breakpoints & Media Queries
6
+ */
7
+ /**
8
+ * SCSS Variables.
9
+ *
10
+ * Please use variables from this sheet to ensure consistency across the UI.
11
+ * Don't add to this sheet unless you're pretty sure the value will be reused in many places.
12
+ * For example, don't add rules to this sheet that affect block visuals. It's purely for UI.
13
+ */
14
+ /**
15
+ * Colors
16
+ */
17
+ /**
18
+ * Fonts & basic variables.
19
+ */
20
+ /**
21
+ * Grid System.
22
+ * https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
23
+ */
24
+ /**
25
+ * Dimensions.
26
+ */
27
+ /**
28
+ * Shadows.
29
+ */
30
+ /**
31
+ * Editor widths.
32
+ */
33
+ /**
34
+ * Block & Editor UI.
35
+ */
36
+ /**
37
+ * Block paddings.
38
+ */
39
+ /**
40
+ * React Native specific.
41
+ * These variables do not appear to be used anywhere else.
42
+ */
43
+ /**
44
+ * Converts a hex value into the rgb equivalent.
45
+ *
46
+ * @param {string} hex - the hexadecimal value to convert
47
+ * @return {string} comma separated rgb values
48
+ */
49
+ /**
50
+ * Breakpoint mixins
51
+ */
52
+ /**
53
+ * Long content fade mixin
54
+ *
55
+ * Creates a fading overlay to signify that the content is longer
56
+ * than the space allows.
57
+ */
58
+ /**
59
+ * Focus styles.
60
+ */
61
+ /**
62
+ * Applies editor left position to the selector passed as argument
63
+ */
64
+ /**
65
+ * Styles that are reused verbatim in a few places
66
+ */
67
+ /**
68
+ * Allows users to opt-out of animations via OS-level preferences.
69
+ */
70
+ /**
71
+ * Reset default styles for JavaScript UI based pages.
72
+ * This is a WP-admin agnostic reset
73
+ */
74
+ /**
75
+ * Reset the WP Admin page styles for Gutenberg-like pages.
76
+ */
77
+ .wp-block-code code {
78
+ background: none;
79
+ }
@@ -0,0 +1,79 @@
1
+ /**
2
+ * Colors
3
+ */
4
+ /**
5
+ * Breakpoints & Media Queries
6
+ */
7
+ /**
8
+ * SCSS Variables.
9
+ *
10
+ * Please use variables from this sheet to ensure consistency across the UI.
11
+ * Don't add to this sheet unless you're pretty sure the value will be reused in many places.
12
+ * For example, don't add rules to this sheet that affect block visuals. It's purely for UI.
13
+ */
14
+ /**
15
+ * Colors
16
+ */
17
+ /**
18
+ * Fonts & basic variables.
19
+ */
20
+ /**
21
+ * Grid System.
22
+ * https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
23
+ */
24
+ /**
25
+ * Dimensions.
26
+ */
27
+ /**
28
+ * Shadows.
29
+ */
30
+ /**
31
+ * Editor widths.
32
+ */
33
+ /**
34
+ * Block & Editor UI.
35
+ */
36
+ /**
37
+ * Block paddings.
38
+ */
39
+ /**
40
+ * React Native specific.
41
+ * These variables do not appear to be used anywhere else.
42
+ */
43
+ /**
44
+ * Converts a hex value into the rgb equivalent.
45
+ *
46
+ * @param {string} hex - the hexadecimal value to convert
47
+ * @return {string} comma separated rgb values
48
+ */
49
+ /**
50
+ * Breakpoint mixins
51
+ */
52
+ /**
53
+ * Long content fade mixin
54
+ *
55
+ * Creates a fading overlay to signify that the content is longer
56
+ * than the space allows.
57
+ */
58
+ /**
59
+ * Focus styles.
60
+ */
61
+ /**
62
+ * Applies editor left position to the selector passed as argument
63
+ */
64
+ /**
65
+ * Styles that are reused verbatim in a few places
66
+ */
67
+ /**
68
+ * Allows users to opt-out of animations via OS-level preferences.
69
+ */
70
+ /**
71
+ * Reset default styles for JavaScript UI based pages.
72
+ * This is a WP-admin agnostic reset
73
+ */
74
+ /**
75
+ * Reset the WP Admin page styles for Gutenberg-like pages.
76
+ */
77
+ .wp-block-code code {
78
+ background: none;
79
+ }
@@ -111,9 +111,6 @@
111
111
  transform: translate(50%, -50%);
112
112
  margin: 0;
113
113
  }
114
- .wp-block-cover .block-editor-block-list__layout {
115
- width: 100%;
116
- }
117
114
  .wp-block-cover .wp-block-cover__inner-container {
118
115
  text-align: right;
119
116
  margin-right: 0;
@@ -111,9 +111,6 @@
111
111
  transform: translate(-50%, -50%);
112
112
  margin: 0;
113
113
  }
114
- .wp-block-cover .block-editor-block-list__layout {
115
- width: 100%;
116
- }
117
114
  .wp-block-cover .wp-block-cover__inner-container {
118
115
  text-align: left;
119
116
  margin-left: 0;
@@ -229,6 +229,10 @@ div[data-type="core/button"] {
229
229
  margin-top: 6px;
230
230
  }
231
231
 
232
+ .wp-block-code code {
233
+ background: none;
234
+ }
235
+
232
236
  .wp-block-columns :where(.wp-block) {
233
237
  max-width: none;
234
238
  margin-right: 0;
@@ -450,9 +454,6 @@ html :where(.wp-block-column) {
450
454
  transform: translate(50%, -50%);
451
455
  margin: 0;
452
456
  }
453
- .wp-block-cover .block-editor-block-list__layout {
454
- width: 100%;
455
- }
456
457
  .wp-block-cover .wp-block-cover__inner-container {
457
458
  text-align: right;
458
459
  margin-right: 0;
@@ -1093,34 +1094,14 @@ figure.wp-block-gallery .components-spinner {
1093
1094
  .wp-block-group.is-layout-flex.block-editor-block-list__block > .block-list-appender:only-child::after {
1094
1095
  content: "";
1095
1096
  display: flex;
1096
- border: 1px dashed currentColor;
1097
- opacity: 0.4;
1098
- border-radius: 2px;
1099
1097
  flex: 1 0 48px;
1100
1098
  pointer-events: none;
1101
1099
  min-height: 46px;
1102
- }
1103
- .wp-block-group.is-layout-flex.block-editor-block-list__block > .block-list-appender:only-child .block-editor-inserter {
1104
- pointer-events: all;
1105
- }
1106
-
1107
- .is-layout-flow.block-editor-block-list__block:not(.is-selected) > .block-list-appender:only-child {
1108
- pointer-events: none;
1109
- }
1110
- .is-layout-flow.block-editor-block-list__block:not(.is-selected) > .block-list-appender:only-child::after {
1111
- content: "";
1112
- position: absolute;
1113
- top: 0;
1114
- left: 0;
1115
- bottom: 0;
1116
- right: 0;
1117
1100
  border: 1px dashed currentColor;
1118
- opacity: 0.4;
1119
1101
  border-radius: 2px;
1120
- pointer-events: none;
1121
1102
  }
1122
- .is-layout-flow.block-editor-block-list__block:not(.is-selected) > .block-list-appender:only-child .block-editor-inserter {
1123
- visibility: hidden;
1103
+ .wp-block-group.is-layout-flex.block-editor-block-list__block > .block-list-appender:only-child .block-editor-inserter {
1104
+ pointer-events: all;
1124
1105
  }
1125
1106
 
1126
1107
  .block-library-html__edit .block-library-html__preview-overlay {
@@ -1603,14 +1584,13 @@ figure.wp-block-image:not(.wp-block) {
1603
1584
  left: 0;
1604
1585
  bottom: 0;
1605
1586
  right: 0;
1606
- border: 1px dashed currentColor;
1607
- opacity: 0.4;
1608
1587
  pointer-events: none;
1588
+ border: 1px dashed currentColor;
1589
+ border-radius: 2px;
1609
1590
  border-radius: inherit;
1610
1591
  }
1611
1592
  .wp-block-navigation-placeholder__preview > svg {
1612
1593
  fill: currentColor;
1613
- opacity: 0.4;
1614
1594
  }
1615
1595
 
1616
1596
  .wp-block-navigation.is-vertical .is-small .components-placeholder__fieldset,
@@ -1809,17 +1789,6 @@ body.editor-styles-wrapper .wp-block-navigation__responsive-container.is-menu-op
1809
1789
  padding: 8px 12px;
1810
1790
  }
1811
1791
 
1812
- .wp-block-navigation__unsaved-changes {
1813
- position: relative;
1814
- }
1815
- .wp-block-navigation__unsaved-changes .components-spinner {
1816
- position: absolute;
1817
- top: calc(50% - 16px / 2);
1818
- right: calc(50% - 16px / 2);
1819
- opacity: 0;
1820
- animation: 0.5s linear 2s normal forwards fadein;
1821
- }
1822
-
1823
1792
  @keyframes fadeouthalf {
1824
1793
  0% {
1825
1794
  opacity: 1;
@@ -1828,11 +1797,6 @@ body.editor-styles-wrapper .wp-block-navigation__responsive-container.is-menu-op
1828
1797
  opacity: 0.5;
1829
1798
  }
1830
1799
  }
1831
- .wp-block-navigation__unsaved-changes-overlay.is-saving {
1832
- opacity: 1;
1833
- animation: 0.5s linear 2s normal forwards fadeouthalf;
1834
- }
1835
-
1836
1800
  .wp-block-navigation-delete-menu-button {
1837
1801
  width: 100%;
1838
1802
  justify-content: center;
@@ -1842,6 +1806,7 @@ body.editor-styles-wrapper .wp-block-navigation__responsive-container.is-menu-op
1842
1806
  .wp-block-navigation__overlay-menu-preview {
1843
1807
  display: flex;
1844
1808
  align-items: center;
1809
+ justify-content: space-between;
1845
1810
  width: 100%;
1846
1811
  background-color: #f0f0f0;
1847
1812
  padding: 0 24px;
@@ -230,6 +230,10 @@ div[data-type="core/button"] {
230
230
  margin-top: 6px;
231
231
  }
232
232
 
233
+ .wp-block-code code {
234
+ background: none;
235
+ }
236
+
233
237
  .wp-block-columns :where(.wp-block) {
234
238
  max-width: none;
235
239
  margin-left: 0;
@@ -454,9 +458,6 @@ html :where(.wp-block-column) {
454
458
  transform: translate(-50%, -50%);
455
459
  margin: 0;
456
460
  }
457
- .wp-block-cover .block-editor-block-list__layout {
458
- width: 100%;
459
- }
460
461
  .wp-block-cover .wp-block-cover__inner-container {
461
462
  text-align: left;
462
463
  margin-left: 0;
@@ -1101,34 +1102,14 @@ figure.wp-block-gallery .components-spinner {
1101
1102
  .wp-block-group.is-layout-flex.block-editor-block-list__block > .block-list-appender:only-child::after {
1102
1103
  content: "";
1103
1104
  display: flex;
1104
- border: 1px dashed currentColor;
1105
- opacity: 0.4;
1106
- border-radius: 2px;
1107
1105
  flex: 1 0 48px;
1108
1106
  pointer-events: none;
1109
1107
  min-height: 46px;
1110
- }
1111
- .wp-block-group.is-layout-flex.block-editor-block-list__block > .block-list-appender:only-child .block-editor-inserter {
1112
- pointer-events: all;
1113
- }
1114
-
1115
- .is-layout-flow.block-editor-block-list__block:not(.is-selected) > .block-list-appender:only-child {
1116
- pointer-events: none;
1117
- }
1118
- .is-layout-flow.block-editor-block-list__block:not(.is-selected) > .block-list-appender:only-child::after {
1119
- content: "";
1120
- position: absolute;
1121
- top: 0;
1122
- right: 0;
1123
- bottom: 0;
1124
- left: 0;
1125
1108
  border: 1px dashed currentColor;
1126
- opacity: 0.4;
1127
1109
  border-radius: 2px;
1128
- pointer-events: none;
1129
1110
  }
1130
- .is-layout-flow.block-editor-block-list__block:not(.is-selected) > .block-list-appender:only-child .block-editor-inserter {
1131
- visibility: hidden;
1111
+ .wp-block-group.is-layout-flex.block-editor-block-list__block > .block-list-appender:only-child .block-editor-inserter {
1112
+ pointer-events: all;
1132
1113
  }
1133
1114
 
1134
1115
  .block-library-html__edit .block-library-html__preview-overlay {
@@ -1611,14 +1592,13 @@ figure.wp-block-image:not(.wp-block) {
1611
1592
  right: 0;
1612
1593
  bottom: 0;
1613
1594
  left: 0;
1614
- border: 1px dashed currentColor;
1615
- opacity: 0.4;
1616
1595
  pointer-events: none;
1596
+ border: 1px dashed currentColor;
1597
+ border-radius: 2px;
1617
1598
  border-radius: inherit;
1618
1599
  }
1619
1600
  .wp-block-navigation-placeholder__preview > svg {
1620
1601
  fill: currentColor;
1621
- opacity: 0.4;
1622
1602
  }
1623
1603
 
1624
1604
  .wp-block-navigation.is-vertical .is-small .components-placeholder__fieldset,
@@ -1817,17 +1797,6 @@ body.editor-styles-wrapper .wp-block-navigation__responsive-container.is-menu-op
1817
1797
  padding: 8px 12px;
1818
1798
  }
1819
1799
 
1820
- .wp-block-navigation__unsaved-changes {
1821
- position: relative;
1822
- }
1823
- .wp-block-navigation__unsaved-changes .components-spinner {
1824
- position: absolute;
1825
- top: calc(50% - 16px / 2);
1826
- left: calc(50% - 16px / 2);
1827
- opacity: 0;
1828
- animation: 0.5s linear 2s normal forwards fadein;
1829
- }
1830
-
1831
1800
  @keyframes fadeouthalf {
1832
1801
  0% {
1833
1802
  opacity: 1;
@@ -1836,11 +1805,6 @@ body.editor-styles-wrapper .wp-block-navigation__responsive-container.is-menu-op
1836
1805
  opacity: 0.5;
1837
1806
  }
1838
1807
  }
1839
- .wp-block-navigation__unsaved-changes-overlay.is-saving {
1840
- opacity: 1;
1841
- animation: 0.5s linear 2s normal forwards fadeouthalf;
1842
- }
1843
-
1844
1808
  .wp-block-navigation-delete-menu-button {
1845
1809
  width: 100%;
1846
1810
  justify-content: center;
@@ -1850,6 +1814,7 @@ body.editor-styles-wrapper .wp-block-navigation__responsive-container.is-menu-op
1850
1814
  .wp-block-navigation__overlay-menu-preview {
1851
1815
  display: flex;
1852
1816
  align-items: center;
1817
+ justify-content: space-between;
1853
1818
  width: 100%;
1854
1819
  background-color: #f0f0f0;
1855
1820
  padding: 0 24px;
@@ -106,32 +106,12 @@
106
106
  .wp-block-group.is-layout-flex.block-editor-block-list__block > .block-list-appender:only-child::after {
107
107
  content: "";
108
108
  display: flex;
109
- border: 1px dashed currentColor;
110
- opacity: 0.4;
111
- border-radius: 2px;
112
109
  flex: 1 0 48px;
113
110
  pointer-events: none;
114
111
  min-height: 46px;
115
- }
116
- .wp-block-group.is-layout-flex.block-editor-block-list__block > .block-list-appender:only-child .block-editor-inserter {
117
- pointer-events: all;
118
- }
119
-
120
- .is-layout-flow.block-editor-block-list__block:not(.is-selected) > .block-list-appender:only-child {
121
- pointer-events: none;
122
- }
123
- .is-layout-flow.block-editor-block-list__block:not(.is-selected) > .block-list-appender:only-child::after {
124
- content: "";
125
- position: absolute;
126
- top: 0;
127
- left: 0;
128
- bottom: 0;
129
- right: 0;
130
112
  border: 1px dashed currentColor;
131
- opacity: 0.4;
132
113
  border-radius: 2px;
133
- pointer-events: none;
134
114
  }
135
- .is-layout-flow.block-editor-block-list__block:not(.is-selected) > .block-list-appender:only-child .block-editor-inserter {
136
- visibility: hidden;
115
+ .wp-block-group.is-layout-flex.block-editor-block-list__block > .block-list-appender:only-child .block-editor-inserter {
116
+ pointer-events: all;
137
117
  }