@wordpress/block-library 6.0.17-next.33ec3857e2.0 → 6.0.20

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 (804) hide show
  1. package/CHANGELOG.md +0 -4
  2. package/build/archives/index.js +0 -1
  3. package/build/archives/index.js.map +1 -1
  4. package/build/audio/index.js +0 -1
  5. package/build/audio/index.js.map +1 -1
  6. package/build/block/index.js +0 -1
  7. package/build/block/index.js.map +1 -1
  8. package/build/button/edit.native.js +1 -1
  9. package/build/button/edit.native.js.map +1 -1
  10. package/build/button/index.js +1 -5
  11. package/build/button/index.js.map +1 -1
  12. package/build/buttons/index.js +0 -1
  13. package/build/buttons/index.js.map +1 -1
  14. package/build/buttons/transforms.js +0 -1
  15. package/build/buttons/transforms.js.map +1 -1
  16. package/build/calendar/index.js +0 -1
  17. package/build/calendar/index.js.map +1 -1
  18. package/build/categories/index.js +0 -1
  19. package/build/categories/index.js.map +1 -1
  20. package/build/code/index.js +1 -6
  21. package/build/code/index.js.map +1 -1
  22. package/build/column/index.js +0 -1
  23. package/build/column/index.js.map +1 -1
  24. package/build/columns/index.js +1 -3
  25. package/build/columns/index.js.map +1 -1
  26. package/build/comment-author-avatar/edit.js +1 -2
  27. package/build/comment-author-avatar/edit.js.map +1 -1
  28. package/build/comment-author-avatar/index.js +2 -7
  29. package/build/comment-author-avatar/index.js.map +1 -1
  30. package/build/comment-author-name/index.js +0 -1
  31. package/build/comment-author-name/index.js.map +1 -1
  32. package/build/comment-content/index.js +0 -1
  33. package/build/comment-content/index.js.map +1 -1
  34. package/build/comment-date/index.js +0 -1
  35. package/build/comment-date/index.js.map +1 -1
  36. package/build/comment-edit-link/index.js +1 -2
  37. package/build/comment-edit-link/index.js.map +1 -1
  38. package/build/comment-reply-link/index.js +0 -1
  39. package/build/comment-reply-link/index.js.map +1 -1
  40. package/build/comment-template/edit.js +23 -98
  41. package/build/comment-template/edit.js.map +1 -1
  42. package/build/comment-template/index.js +2 -4
  43. package/build/comment-template/index.js.map +1 -1
  44. package/build/comments-query-loop/edit.js +2 -2
  45. package/build/comments-query-loop/edit.js.map +1 -1
  46. package/build/comments-query-loop/index.js +7 -4
  47. package/build/comments-query-loop/index.js.map +1 -1
  48. package/build/comments-query-loop/toolbar.js +3 -3
  49. package/build/comments-query-loop/toolbar.js.map +1 -1
  50. package/build/cover/edit.js +1 -2
  51. package/build/cover/edit.js.map +1 -1
  52. package/build/cover/index.js +0 -1
  53. package/build/cover/index.js.map +1 -1
  54. package/build/embed/deprecated.js +0 -1
  55. package/build/embed/deprecated.js.map +1 -1
  56. package/build/embed/edit.native.js +20 -23
  57. package/build/embed/edit.native.js.map +1 -1
  58. package/build/embed/embed-bottom-sheet.native.js +85 -0
  59. package/build/embed/embed-bottom-sheet.native.js.map +1 -0
  60. package/build/embed/embed-placeholder.native.js +2 -9
  61. package/build/embed/embed-placeholder.native.js.map +1 -1
  62. package/build/embed/index.js +0 -1
  63. package/build/embed/index.js.map +1 -1
  64. package/build/embed/transforms.js +0 -1
  65. package/build/embed/transforms.js.map +1 -1
  66. package/build/embed/util.js +0 -1
  67. package/build/embed/util.js.map +1 -1
  68. package/build/file/index.js +0 -1
  69. package/build/file/index.js.map +1 -1
  70. package/build/freeform/index.js +0 -1
  71. package/build/freeform/index.js.map +1 -1
  72. package/build/gallery/deprecated.js +1 -5
  73. package/build/gallery/deprecated.js.map +1 -1
  74. package/build/gallery/edit.js +1 -12
  75. package/build/gallery/edit.js.map +1 -1
  76. package/build/gallery/index.js +0 -1
  77. package/build/gallery/index.js.map +1 -1
  78. package/build/group/edit.native.js +1 -1
  79. package/build/group/edit.native.js.map +1 -1
  80. package/build/group/index.js +4 -9
  81. package/build/group/index.js.map +1 -1
  82. package/build/heading/index.js +0 -1
  83. package/build/heading/index.js.map +1 -1
  84. package/build/heading/transforms.js +0 -1
  85. package/build/heading/transforms.js.map +1 -1
  86. package/build/home-link/index.js +0 -1
  87. package/build/home-link/index.js.map +1 -1
  88. package/build/html/index.js +0 -1
  89. package/build/html/index.js.map +1 -1
  90. package/build/image/edit.js +5 -56
  91. package/build/image/edit.js.map +1 -1
  92. package/build/image/edit.native.js +1 -1
  93. package/build/image/edit.native.js.map +1 -1
  94. package/build/image/image.js +4 -15
  95. package/build/image/image.js.map +1 -1
  96. package/build/image/index.js +1 -5
  97. package/build/image/index.js.map +1 -1
  98. package/build/index.js +1 -5
  99. package/build/index.js.map +1 -1
  100. package/build/latest-comments/index.js +0 -1
  101. package/build/latest-comments/index.js.map +1 -1
  102. package/build/latest-posts/deprecated.js +0 -1
  103. package/build/latest-posts/deprecated.js.map +1 -1
  104. package/build/latest-posts/index.js +0 -1
  105. package/build/latest-posts/index.js.map +1 -1
  106. package/build/list/index.js +0 -1
  107. package/build/list/index.js.map +1 -1
  108. package/build/loginout/index.js +0 -1
  109. package/build/loginout/index.js.map +1 -1
  110. package/build/media-text/index.js +0 -1
  111. package/build/media-text/index.js.map +1 -1
  112. package/build/missing/index.js +0 -1
  113. package/build/missing/index.js.map +1 -1
  114. package/build/more/index.js +0 -1
  115. package/build/more/index.js.map +1 -1
  116. package/build/navigation/deprecated.js +1 -3
  117. package/build/navigation/deprecated.js.map +1 -1
  118. package/build/navigation/edit/index.js +106 -59
  119. package/build/navigation/edit/index.js.map +1 -1
  120. package/build/navigation/edit/navigation-menu-selector.js +3 -2
  121. package/build/navigation/edit/navigation-menu-selector.js.map +1 -1
  122. package/build/navigation/edit/placeholder/index.js +15 -7
  123. package/build/navigation/edit/placeholder/index.js.map +1 -1
  124. package/build/navigation/edit/responsive-wrapper.js +9 -7
  125. package/build/navigation/edit/responsive-wrapper.js.map +1 -1
  126. package/build/navigation/edit/unsaved-inner-blocks.js +3 -11
  127. package/build/navigation/edit/unsaved-inner-blocks.js.map +1 -1
  128. package/build/navigation/edit/use-navigation-notice.js +54 -0
  129. package/build/navigation/edit/use-navigation-notice.js.map +1 -0
  130. package/build/navigation/index.js +2 -9
  131. package/build/navigation/index.js.map +1 -1
  132. package/build/navigation/menu-items-to-blocks.js +1 -4
  133. package/build/navigation/menu-items-to-blocks.js.map +1 -1
  134. package/build/navigation/use-navigation-menu.js +9 -2
  135. package/build/navigation/use-navigation-menu.js.map +1 -1
  136. package/build/navigation/view.js +12 -7
  137. package/build/navigation/view.js.map +1 -1
  138. package/build/navigation-area/edit.js +1 -2
  139. package/build/navigation-area/edit.js.map +1 -1
  140. package/build/navigation-area/index.js +1 -2
  141. package/build/navigation-area/index.js.map +1 -1
  142. package/build/navigation-link/edit.js +0 -7
  143. package/build/navigation-link/edit.js.map +1 -1
  144. package/build/navigation-link/index.js +0 -1
  145. package/build/navigation-link/index.js.map +1 -1
  146. package/build/navigation-submenu/edit.js +0 -1
  147. package/build/navigation-submenu/edit.js.map +1 -1
  148. package/build/navigation-submenu/index.js +0 -1
  149. package/build/navigation-submenu/index.js.map +1 -1
  150. package/build/nextpage/index.js +0 -1
  151. package/build/nextpage/index.js.map +1 -1
  152. package/build/page-list/index.js +1 -6
  153. package/build/page-list/index.js.map +1 -1
  154. package/build/paragraph/edit.js +2 -12
  155. package/build/paragraph/edit.js.map +1 -1
  156. package/build/paragraph/index.js +0 -1
  157. package/build/paragraph/index.js.map +1 -1
  158. package/build/paragraph/transforms.js +0 -1
  159. package/build/paragraph/transforms.js.map +1 -1
  160. package/build/pattern/index.js +0 -1
  161. package/build/pattern/index.js.map +1 -1
  162. package/build/post-author/edit.js +1 -1
  163. package/build/post-author/edit.js.map +1 -1
  164. package/build/post-author/index.js +0 -1
  165. package/build/post-author/index.js.map +1 -1
  166. package/build/post-comment/index.js +0 -1
  167. package/build/post-comment/index.js.map +1 -1
  168. package/build/post-comments/index.js +0 -1
  169. package/build/post-comments/index.js.map +1 -1
  170. package/build/post-comments-count/index.js +0 -1
  171. package/build/post-comments-count/index.js.map +1 -1
  172. package/build/post-comments-form/index.js +0 -1
  173. package/build/post-comments-form/index.js.map +1 -1
  174. package/build/post-comments-link/index.js +0 -1
  175. package/build/post-comments-link/index.js.map +1 -1
  176. package/build/post-content/edit.js +1 -1
  177. package/build/post-content/edit.js.map +1 -1
  178. package/build/post-content/index.js +0 -1
  179. package/build/post-content/index.js.map +1 -1
  180. package/build/post-date/edit.js +1 -1
  181. package/build/post-date/edit.js.map +1 -1
  182. package/build/post-date/index.js +0 -1
  183. package/build/post-date/index.js.map +1 -1
  184. package/build/post-excerpt/edit.js +1 -1
  185. package/build/post-excerpt/edit.js.map +1 -1
  186. package/build/post-excerpt/index.js +0 -1
  187. package/build/post-excerpt/index.js.map +1 -1
  188. package/build/post-featured-image/dimension-controls.js +30 -50
  189. package/build/post-featured-image/dimension-controls.js.map +1 -1
  190. package/build/post-featured-image/edit.js +4 -8
  191. package/build/post-featured-image/edit.js.map +1 -1
  192. package/build/post-featured-image/index.js +0 -1
  193. package/build/post-featured-image/index.js.map +1 -1
  194. package/build/post-navigation-link/index.js +0 -1
  195. package/build/post-navigation-link/index.js.map +1 -1
  196. package/build/post-template/index.js +0 -1
  197. package/build/post-template/index.js.map +1 -1
  198. package/build/post-terms/index.js +0 -1
  199. package/build/post-terms/index.js.map +1 -1
  200. package/build/post-title/edit.js +1 -1
  201. package/build/post-title/edit.js.map +1 -1
  202. package/build/post-title/index.js +0 -1
  203. package/build/post-title/index.js.map +1 -1
  204. package/build/preformatted/edit.native.js +1 -2
  205. package/build/preformatted/edit.native.js.map +1 -1
  206. package/build/preformatted/index.js +0 -1
  207. package/build/preformatted/index.js.map +1 -1
  208. package/build/pullquote/index.js +1 -8
  209. package/build/pullquote/index.js.map +1 -1
  210. package/build/query/index.js +0 -1
  211. package/build/query/index.js.map +1 -1
  212. package/build/query-pagination/index.js +0 -1
  213. package/build/query-pagination/index.js.map +1 -1
  214. package/build/query-pagination-next/index.js +0 -1
  215. package/build/query-pagination-next/index.js.map +1 -1
  216. package/build/query-pagination-numbers/index.js +0 -1
  217. package/build/query-pagination-numbers/index.js.map +1 -1
  218. package/build/query-pagination-previous/index.js +0 -1
  219. package/build/query-pagination-previous/index.js.map +1 -1
  220. package/build/query-title/index.js +0 -1
  221. package/build/query-title/index.js.map +1 -1
  222. package/build/quote/index.js +0 -1
  223. package/build/quote/index.js.map +1 -1
  224. package/build/rss/index.js +0 -1
  225. package/build/rss/index.js.map +1 -1
  226. package/build/search/edit.js +3 -5
  227. package/build/search/edit.js.map +1 -1
  228. package/build/search/index.js +1 -8
  229. package/build/search/index.js.map +1 -1
  230. package/build/separator/index.js +0 -1
  231. package/build/separator/index.js.map +1 -1
  232. package/build/shortcode/index.js +0 -1
  233. package/build/shortcode/index.js.map +1 -1
  234. package/build/site-logo/edit.js +119 -18
  235. package/build/site-logo/edit.js.map +1 -1
  236. package/build/site-logo/index.js +5 -5
  237. package/build/site-tagline/index.js +1 -2
  238. package/build/site-tagline/index.js.map +1 -1
  239. package/build/site-title/index.js +0 -1
  240. package/build/site-title/index.js.map +1 -1
  241. package/build/social-link/index.js +1 -2
  242. package/build/social-link/index.js.map +1 -1
  243. package/build/social-links/index.js +1 -2
  244. package/build/social-links/index.js.map +1 -1
  245. package/build/spacer/index.js +0 -1
  246. package/build/spacer/index.js.map +1 -1
  247. package/build/table/index.js +1 -7
  248. package/build/table/index.js.map +1 -1
  249. package/build/table-of-contents/index.js +0 -1
  250. package/build/table-of-contents/index.js.map +1 -1
  251. package/build/tag-cloud/index.js +0 -1
  252. package/build/tag-cloud/index.js.map +1 -1
  253. package/build/template-part/index.js +0 -1
  254. package/build/template-part/index.js.map +1 -1
  255. package/build/term-description/index.js +0 -1
  256. package/build/term-description/index.js.map +1 -1
  257. package/build/text-columns/index.js +0 -1
  258. package/build/text-columns/index.js.map +1 -1
  259. package/build/verse/index.js +0 -1
  260. package/build/verse/index.js.map +1 -1
  261. package/build/video/index.js +0 -1
  262. package/build/video/index.js.map +1 -1
  263. package/build-module/archives/index.js +0 -1
  264. package/build-module/archives/index.js.map +1 -1
  265. package/build-module/audio/index.js +0 -1
  266. package/build-module/audio/index.js.map +1 -1
  267. package/build-module/block/index.js +0 -1
  268. package/build-module/block/index.js.map +1 -1
  269. package/build-module/button/edit.native.js +1 -1
  270. package/build-module/button/edit.native.js.map +1 -1
  271. package/build-module/button/index.js +1 -5
  272. package/build-module/button/index.js.map +1 -1
  273. package/build-module/buttons/index.js +0 -1
  274. package/build-module/buttons/index.js.map +1 -1
  275. package/build-module/buttons/transforms.js +0 -1
  276. package/build-module/buttons/transforms.js.map +1 -1
  277. package/build-module/calendar/index.js +0 -1
  278. package/build-module/calendar/index.js.map +1 -1
  279. package/build-module/categories/index.js +0 -1
  280. package/build-module/categories/index.js.map +1 -1
  281. package/build-module/code/index.js +1 -6
  282. package/build-module/code/index.js.map +1 -1
  283. package/build-module/column/index.js +0 -1
  284. package/build-module/column/index.js.map +1 -1
  285. package/build-module/columns/index.js +1 -3
  286. package/build-module/columns/index.js.map +1 -1
  287. package/build-module/comment-author-avatar/edit.js +2 -3
  288. package/build-module/comment-author-avatar/edit.js.map +1 -1
  289. package/build-module/comment-author-avatar/index.js +2 -7
  290. package/build-module/comment-author-avatar/index.js.map +1 -1
  291. package/build-module/comment-author-name/index.js +0 -1
  292. package/build-module/comment-author-name/index.js.map +1 -1
  293. package/build-module/comment-content/index.js +0 -1
  294. package/build-module/comment-content/index.js.map +1 -1
  295. package/build-module/comment-date/index.js +0 -1
  296. package/build-module/comment-date/index.js.map +1 -1
  297. package/build-module/comment-edit-link/index.js +1 -2
  298. package/build-module/comment-edit-link/index.js.map +1 -1
  299. package/build-module/comment-reply-link/index.js +0 -1
  300. package/build-module/comment-reply-link/index.js.map +1 -1
  301. package/build-module/comment-template/edit.js +23 -97
  302. package/build-module/comment-template/edit.js.map +1 -1
  303. package/build-module/comment-template/index.js +2 -4
  304. package/build-module/comment-template/index.js.map +1 -1
  305. package/build-module/comments-query-loop/edit.js +2 -2
  306. package/build-module/comments-query-loop/edit.js.map +1 -1
  307. package/build-module/comments-query-loop/index.js +7 -4
  308. package/build-module/comments-query-loop/index.js.map +1 -1
  309. package/build-module/comments-query-loop/toolbar.js +3 -3
  310. package/build-module/comments-query-loop/toolbar.js.map +1 -1
  311. package/build-module/cover/edit.js +1 -2
  312. package/build-module/cover/edit.js.map +1 -1
  313. package/build-module/cover/index.js +0 -1
  314. package/build-module/cover/index.js.map +1 -1
  315. package/build-module/embed/deprecated.js +0 -1
  316. package/build-module/embed/deprecated.js.map +1 -1
  317. package/build-module/embed/edit.native.js +21 -24
  318. package/build-module/embed/edit.native.js.map +1 -1
  319. package/build-module/embed/embed-bottom-sheet.native.js +74 -0
  320. package/build-module/embed/embed-bottom-sheet.native.js.map +1 -0
  321. package/build-module/embed/embed-placeholder.native.js +2 -9
  322. package/build-module/embed/embed-placeholder.native.js.map +1 -1
  323. package/build-module/embed/index.js +0 -1
  324. package/build-module/embed/index.js.map +1 -1
  325. package/build-module/embed/transforms.js +0 -1
  326. package/build-module/embed/transforms.js.map +1 -1
  327. package/build-module/embed/util.js +0 -1
  328. package/build-module/embed/util.js.map +1 -1
  329. package/build-module/file/index.js +0 -1
  330. package/build-module/file/index.js.map +1 -1
  331. package/build-module/freeform/index.js +0 -1
  332. package/build-module/freeform/index.js.map +1 -1
  333. package/build-module/gallery/deprecated.js +2 -6
  334. package/build-module/gallery/deprecated.js.map +1 -1
  335. package/build-module/gallery/edit.js +1 -11
  336. package/build-module/gallery/edit.js.map +1 -1
  337. package/build-module/gallery/index.js +0 -1
  338. package/build-module/gallery/index.js.map +1 -1
  339. package/build-module/group/edit.native.js +1 -1
  340. package/build-module/group/edit.native.js.map +1 -1
  341. package/build-module/group/index.js +4 -9
  342. package/build-module/group/index.js.map +1 -1
  343. package/build-module/heading/index.js +0 -1
  344. package/build-module/heading/index.js.map +1 -1
  345. package/build-module/heading/transforms.js +0 -1
  346. package/build-module/heading/transforms.js.map +1 -1
  347. package/build-module/home-link/index.js +0 -1
  348. package/build-module/home-link/index.js.map +1 -1
  349. package/build-module/html/index.js +0 -1
  350. package/build-module/html/index.js.map +1 -1
  351. package/build-module/image/edit.js +4 -52
  352. package/build-module/image/edit.js.map +1 -1
  353. package/build-module/image/edit.native.js +1 -1
  354. package/build-module/image/edit.native.js.map +1 -1
  355. package/build-module/image/image.js +5 -16
  356. package/build-module/image/image.js.map +1 -1
  357. package/build-module/image/index.js +1 -5
  358. package/build-module/image/index.js.map +1 -1
  359. package/build-module/index.js +1 -3
  360. package/build-module/index.js.map +1 -1
  361. package/build-module/latest-comments/index.js +0 -1
  362. package/build-module/latest-comments/index.js.map +1 -1
  363. package/build-module/latest-posts/deprecated.js +0 -1
  364. package/build-module/latest-posts/deprecated.js.map +1 -1
  365. package/build-module/latest-posts/index.js +0 -1
  366. package/build-module/latest-posts/index.js.map +1 -1
  367. package/build-module/list/index.js +0 -1
  368. package/build-module/list/index.js.map +1 -1
  369. package/build-module/loginout/index.js +0 -1
  370. package/build-module/loginout/index.js.map +1 -1
  371. package/build-module/media-text/index.js +0 -1
  372. package/build-module/media-text/index.js.map +1 -1
  373. package/build-module/missing/index.js +0 -1
  374. package/build-module/missing/index.js.map +1 -1
  375. package/build-module/more/index.js +0 -1
  376. package/build-module/more/index.js.map +1 -1
  377. package/build-module/navigation/deprecated.js +1 -3
  378. package/build-module/navigation/deprecated.js.map +1 -1
  379. package/build-module/navigation/edit/index.js +104 -59
  380. package/build-module/navigation/edit/index.js.map +1 -1
  381. package/build-module/navigation/edit/navigation-menu-selector.js +3 -2
  382. package/build-module/navigation/edit/navigation-menu-selector.js.map +1 -1
  383. package/build-module/navigation/edit/placeholder/index.js +15 -7
  384. package/build-module/navigation/edit/placeholder/index.js.map +1 -1
  385. package/build-module/navigation/edit/responsive-wrapper.js +9 -7
  386. package/build-module/navigation/edit/responsive-wrapper.js.map +1 -1
  387. package/build-module/navigation/edit/unsaved-inner-blocks.js +4 -13
  388. package/build-module/navigation/edit/unsaved-inner-blocks.js.map +1 -1
  389. package/build-module/navigation/edit/use-navigation-notice.js +44 -0
  390. package/build-module/navigation/edit/use-navigation-notice.js.map +1 -0
  391. package/build-module/navigation/index.js +2 -9
  392. package/build-module/navigation/index.js.map +1 -1
  393. package/build-module/navigation/menu-items-to-blocks.js +1 -4
  394. package/build-module/navigation/menu-items-to-blocks.js.map +1 -1
  395. package/build-module/navigation/use-navigation-menu.js +9 -2
  396. package/build-module/navigation/use-navigation-menu.js.map +1 -1
  397. package/build-module/navigation/view.js +12 -7
  398. package/build-module/navigation/view.js.map +1 -1
  399. package/build-module/navigation-area/edit.js +1 -2
  400. package/build-module/navigation-area/edit.js.map +1 -1
  401. package/build-module/navigation-area/index.js +1 -2
  402. package/build-module/navigation-area/index.js.map +1 -1
  403. package/build-module/navigation-link/edit.js +0 -7
  404. package/build-module/navigation-link/edit.js.map +1 -1
  405. package/build-module/navigation-link/index.js +0 -1
  406. package/build-module/navigation-link/index.js.map +1 -1
  407. package/build-module/navigation-submenu/edit.js +0 -1
  408. package/build-module/navigation-submenu/edit.js.map +1 -1
  409. package/build-module/navigation-submenu/index.js +0 -1
  410. package/build-module/navigation-submenu/index.js.map +1 -1
  411. package/build-module/nextpage/index.js +0 -1
  412. package/build-module/nextpage/index.js.map +1 -1
  413. package/build-module/page-list/index.js +1 -6
  414. package/build-module/page-list/index.js.map +1 -1
  415. package/build-module/paragraph/edit.js +3 -13
  416. package/build-module/paragraph/edit.js.map +1 -1
  417. package/build-module/paragraph/index.js +0 -1
  418. package/build-module/paragraph/index.js.map +1 -1
  419. package/build-module/paragraph/transforms.js +0 -1
  420. package/build-module/paragraph/transforms.js.map +1 -1
  421. package/build-module/pattern/index.js +0 -1
  422. package/build-module/pattern/index.js.map +1 -1
  423. package/build-module/post-author/edit.js +1 -1
  424. package/build-module/post-author/edit.js.map +1 -1
  425. package/build-module/post-author/index.js +0 -1
  426. package/build-module/post-author/index.js.map +1 -1
  427. package/build-module/post-comment/index.js +0 -1
  428. package/build-module/post-comment/index.js.map +1 -1
  429. package/build-module/post-comments/index.js +0 -1
  430. package/build-module/post-comments/index.js.map +1 -1
  431. package/build-module/post-comments-count/index.js +0 -1
  432. package/build-module/post-comments-count/index.js.map +1 -1
  433. package/build-module/post-comments-form/index.js +0 -1
  434. package/build-module/post-comments-form/index.js.map +1 -1
  435. package/build-module/post-comments-link/index.js +0 -1
  436. package/build-module/post-comments-link/index.js.map +1 -1
  437. package/build-module/post-content/edit.js +1 -1
  438. package/build-module/post-content/edit.js.map +1 -1
  439. package/build-module/post-content/index.js +0 -1
  440. package/build-module/post-content/index.js.map +1 -1
  441. package/build-module/post-date/edit.js +1 -1
  442. package/build-module/post-date/edit.js.map +1 -1
  443. package/build-module/post-date/index.js +0 -1
  444. package/build-module/post-date/index.js.map +1 -1
  445. package/build-module/post-excerpt/edit.js +1 -1
  446. package/build-module/post-excerpt/edit.js.map +1 -1
  447. package/build-module/post-excerpt/index.js +0 -1
  448. package/build-module/post-excerpt/index.js.map +1 -1
  449. package/build-module/post-featured-image/dimension-controls.js +29 -52
  450. package/build-module/post-featured-image/dimension-controls.js.map +1 -1
  451. package/build-module/post-featured-image/edit.js +5 -9
  452. package/build-module/post-featured-image/edit.js.map +1 -1
  453. package/build-module/post-featured-image/index.js +0 -1
  454. package/build-module/post-featured-image/index.js.map +1 -1
  455. package/build-module/post-navigation-link/index.js +0 -1
  456. package/build-module/post-navigation-link/index.js.map +1 -1
  457. package/build-module/post-template/index.js +0 -1
  458. package/build-module/post-template/index.js.map +1 -1
  459. package/build-module/post-terms/index.js +0 -1
  460. package/build-module/post-terms/index.js.map +1 -1
  461. package/build-module/post-title/edit.js +1 -1
  462. package/build-module/post-title/edit.js.map +1 -1
  463. package/build-module/post-title/index.js +0 -1
  464. package/build-module/post-title/index.js.map +1 -1
  465. package/build-module/preformatted/edit.native.js +1 -2
  466. package/build-module/preformatted/edit.native.js.map +1 -1
  467. package/build-module/preformatted/index.js +0 -1
  468. package/build-module/preformatted/index.js.map +1 -1
  469. package/build-module/pullquote/index.js +1 -8
  470. package/build-module/pullquote/index.js.map +1 -1
  471. package/build-module/query/index.js +0 -1
  472. package/build-module/query/index.js.map +1 -1
  473. package/build-module/query-pagination/index.js +0 -1
  474. package/build-module/query-pagination/index.js.map +1 -1
  475. package/build-module/query-pagination-next/index.js +0 -1
  476. package/build-module/query-pagination-next/index.js.map +1 -1
  477. package/build-module/query-pagination-numbers/index.js +0 -1
  478. package/build-module/query-pagination-numbers/index.js.map +1 -1
  479. package/build-module/query-pagination-previous/index.js +0 -1
  480. package/build-module/query-pagination-previous/index.js.map +1 -1
  481. package/build-module/query-title/index.js +0 -1
  482. package/build-module/query-title/index.js.map +1 -1
  483. package/build-module/quote/index.js +0 -1
  484. package/build-module/quote/index.js.map +1 -1
  485. package/build-module/rss/index.js +0 -1
  486. package/build-module/rss/index.js.map +1 -1
  487. package/build-module/search/edit.js +3 -5
  488. package/build-module/search/edit.js.map +1 -1
  489. package/build-module/search/index.js +1 -8
  490. package/build-module/search/index.js.map +1 -1
  491. package/build-module/separator/index.js +0 -1
  492. package/build-module/separator/index.js.map +1 -1
  493. package/build-module/shortcode/index.js +0 -1
  494. package/build-module/shortcode/index.js.map +1 -1
  495. package/build-module/site-logo/edit.js +120 -19
  496. package/build-module/site-logo/edit.js.map +1 -1
  497. package/build-module/site-logo/index.js +5 -5
  498. package/build-module/site-tagline/index.js +1 -2
  499. package/build-module/site-tagline/index.js.map +1 -1
  500. package/build-module/site-title/index.js +0 -1
  501. package/build-module/site-title/index.js.map +1 -1
  502. package/build-module/social-link/index.js +1 -2
  503. package/build-module/social-link/index.js.map +1 -1
  504. package/build-module/social-links/index.js +1 -2
  505. package/build-module/social-links/index.js.map +1 -1
  506. package/build-module/spacer/index.js +0 -1
  507. package/build-module/spacer/index.js.map +1 -1
  508. package/build-module/table/index.js +1 -7
  509. package/build-module/table/index.js.map +1 -1
  510. package/build-module/table-of-contents/index.js +0 -1
  511. package/build-module/table-of-contents/index.js.map +1 -1
  512. package/build-module/tag-cloud/index.js +0 -1
  513. package/build-module/tag-cloud/index.js.map +1 -1
  514. package/build-module/template-part/index.js +0 -1
  515. package/build-module/template-part/index.js.map +1 -1
  516. package/build-module/term-description/index.js +0 -1
  517. package/build-module/term-description/index.js.map +1 -1
  518. package/build-module/text-columns/index.js +0 -1
  519. package/build-module/text-columns/index.js.map +1 -1
  520. package/build-module/verse/index.js +0 -1
  521. package/build-module/verse/index.js.map +1 -1
  522. package/build-module/video/index.js +0 -1
  523. package/build-module/video/index.js.map +1 -1
  524. package/build-style/columns/style-rtl.css +3 -4
  525. package/build-style/columns/style.css +3 -4
  526. package/build-style/common-rtl.css +2 -21
  527. package/build-style/common.css +2 -21
  528. package/build-style/cover/style-rtl.css +0 -4
  529. package/build-style/cover/style.css +0 -4
  530. package/build-style/editor-rtl.css +46 -56
  531. package/build-style/editor.css +46 -59
  532. package/build-style/gallery/editor-rtl.css +12 -0
  533. package/build-style/gallery/editor.css +12 -0
  534. package/build-style/gallery/style-rtl.css +0 -3
  535. package/build-style/gallery/style.css +0 -3
  536. package/build-style/group/theme-rtl.css +1 -1
  537. package/build-style/group/theme.css +1 -1
  538. package/build-style/{comments-pagination → home-link}/style-rtl.css +21 -21
  539. package/build-style/{comments-pagination/editor.css → home-link/style.css} +22 -20
  540. package/build-style/navigation/editor-rtl.css +15 -6
  541. package/build-style/navigation/editor.css +15 -6
  542. package/build-style/navigation/style-rtl.css +45 -18
  543. package/build-style/navigation/style.css +45 -18
  544. package/build-style/page-list/style-rtl.css +4 -4
  545. package/build-style/page-list/style.css +4 -4
  546. package/build-style/post-comments/style-rtl.css +0 -1
  547. package/build-style/post-comments/style.css +0 -1
  548. package/build-style/post-featured-image/editor-rtl.css +7 -0
  549. package/build-style/post-featured-image/editor.css +7 -0
  550. package/build-style/post-featured-image/style-rtl.css +1 -1
  551. package/build-style/post-featured-image/style.css +1 -1
  552. package/build-style/post-template/style-rtl.css +2 -29
  553. package/build-style/post-template/style.css +2 -29
  554. package/build-style/post-title/style-rtl.css +0 -3
  555. package/build-style/post-title/style.css +0 -3
  556. package/build-style/pullquote/style-rtl.css +0 -1
  557. package/build-style/pullquote/style.css +0 -1
  558. package/build-style/query-pagination/editor-rtl.css +4 -0
  559. package/build-style/query-pagination/editor.css +4 -0
  560. package/build-style/query-pagination/style-rtl.css +2 -6
  561. package/build-style/query-pagination/style.css +2 -6
  562. package/build-style/site-logo/editor-rtl.css +1 -11
  563. package/build-style/site-logo/editor.css +1 -11
  564. package/build-style/site-logo/style-rtl.css +3 -1
  565. package/build-style/site-logo/style.css +3 -1
  566. package/build-style/style-rtl.css +107 -158
  567. package/build-style/style.css +107 -160
  568. package/build-style/table/style-rtl.css +0 -1
  569. package/build-style/table/style.css +0 -1
  570. package/build-style/theme-rtl.css +1 -1
  571. package/build-style/theme.css +1 -1
  572. package/package.json +30 -31
  573. package/src/archives/block.json +0 -1
  574. package/src/audio/block.json +0 -1
  575. package/src/block/block.json +0 -1
  576. package/src/button/block.json +1 -5
  577. package/src/button/edit.native.js +1 -1
  578. package/src/buttons/block.json +1 -2
  579. package/src/calendar/block.json +0 -1
  580. package/src/calendar/index.php +39 -35
  581. package/src/categories/block.json +0 -1
  582. package/src/code/block.json +1 -6
  583. package/src/column/block.json +0 -1
  584. package/src/columns/block.json +1 -3
  585. package/src/columns/style.scss +5 -8
  586. package/src/comment-author-avatar/block.json +2 -7
  587. package/src/comment-author-avatar/edit.js +2 -7
  588. package/src/comment-author-avatar/index.php +6 -25
  589. package/src/comment-author-name/block.json +0 -1
  590. package/src/comment-content/block.json +0 -1
  591. package/src/comment-date/block.json +0 -1
  592. package/src/comment-edit-link/block.json +0 -1
  593. package/src/comment-edit-link/index.js +1 -1
  594. package/src/comment-reply-link/block.json +0 -1
  595. package/src/comment-template/block.json +2 -4
  596. package/src/comment-template/edit.js +37 -111
  597. package/src/comment-template/index.php +19 -46
  598. package/src/comments-query-loop/block.json +7 -4
  599. package/src/comments-query-loop/edit.js +5 -2
  600. package/src/comments-query-loop/toolbar.js +3 -3
  601. package/src/common.scss +2 -21
  602. package/src/cover/block.json +0 -1
  603. package/src/cover/edit.js +0 -1
  604. package/src/cover/style.scss +0 -4
  605. package/src/editor.scss +7 -6
  606. package/src/embed/block.json +0 -1
  607. package/src/embed/edit.native.js +18 -23
  608. package/src/embed/embed-bottom-sheet.native.js +78 -0
  609. package/src/embed/embed-placeholder.native.js +0 -8
  610. package/src/embed/test/__snapshots__/index.native.js.snap +0 -10
  611. package/src/embed/test/index.native.js +88 -228
  612. package/src/file/block.json +0 -1
  613. package/src/freeform/block.json +0 -1
  614. package/src/gallery/block.json +0 -1
  615. package/src/gallery/deprecated.js +2 -5
  616. package/src/gallery/edit.js +0 -20
  617. package/src/gallery/editor.scss +14 -0
  618. package/src/gallery/index.php +1 -1
  619. package/src/gallery/style.scss +0 -4
  620. package/src/group/block.json +4 -9
  621. package/src/group/edit.native.js +1 -1
  622. package/src/group/theme.scss +5 -4
  623. package/src/heading/block.json +0 -1
  624. package/src/home-link/block.json +0 -1
  625. package/src/home-link/index.php +3 -3
  626. package/src/home-link/style.scss +51 -0
  627. package/src/html/block.json +0 -1
  628. package/src/image/block.json +1 -5
  629. package/src/image/edit.js +0 -44
  630. package/src/image/edit.native.js +1 -1
  631. package/src/image/image.js +3 -14
  632. package/src/index.js +0 -4
  633. package/src/latest-comments/block.json +0 -1
  634. package/src/latest-posts/block.json +0 -1
  635. package/src/list/block.json +0 -1
  636. package/src/loginout/block.json +0 -1
  637. package/src/media-text/block.json +0 -1
  638. package/src/missing/block.json +0 -1
  639. package/src/more/block.json +0 -1
  640. package/src/navigation/block.json +11 -11
  641. package/src/navigation/deprecated.js +0 -2
  642. package/src/navigation/edit/index.js +172 -89
  643. package/src/navigation/edit/navigation-menu-selector.js +19 -13
  644. package/src/navigation/edit/placeholder/index.js +40 -24
  645. package/src/navigation/edit/responsive-wrapper.js +10 -7
  646. package/src/navigation/edit/unsaved-inner-blocks.js +13 -25
  647. package/src/navigation/edit/use-navigation-notice.js +37 -0
  648. package/src/navigation/editor.scss +20 -8
  649. package/src/navigation/index.php +23 -12
  650. package/src/navigation/menu-items-to-blocks.js +1 -2
  651. package/src/navigation/style.scss +58 -19
  652. package/src/navigation/use-navigation-menu.js +20 -0
  653. package/src/navigation/view.js +13 -7
  654. package/src/navigation-area/block.json +7 -3
  655. package/src/navigation-area/edit.js +1 -2
  656. package/src/navigation-link/block.json +3 -2
  657. package/src/navigation-link/edit.js +0 -5
  658. package/src/navigation-link/index.php +3 -3
  659. package/src/navigation-submenu/block.json +3 -2
  660. package/src/navigation-submenu/index.php +5 -5
  661. package/src/nextpage/block.json +0 -1
  662. package/src/page-list/block.json +0 -4
  663. package/src/page-list/index.php +4 -4
  664. package/src/page-list/style.scss +4 -4
  665. package/src/paragraph/block.json +0 -1
  666. package/src/paragraph/edit.js +4 -12
  667. package/src/pattern/block.json +0 -1
  668. package/src/post-author/block.json +0 -1
  669. package/src/post-author/edit.js +1 -1
  670. package/src/post-comment/block.json +0 -1
  671. package/src/post-comments/block.json +0 -1
  672. package/src/post-comments/style.scss +0 -1
  673. package/src/post-comments-count/block.json +0 -1
  674. package/src/post-comments-form/block.json +1 -6
  675. package/src/post-comments-link/block.json +0 -1
  676. package/src/post-content/block.json +0 -1
  677. package/src/post-content/edit.js +1 -1
  678. package/src/post-content/index.php +11 -1
  679. package/src/post-date/block.json +0 -1
  680. package/src/post-date/edit.js +1 -1
  681. package/src/post-excerpt/block.json +0 -1
  682. package/src/post-excerpt/edit.js +1 -1
  683. package/src/post-excerpt/index.php +1 -1
  684. package/src/post-featured-image/block.json +0 -1
  685. package/src/post-featured-image/dimension-controls.js +50 -75
  686. package/src/post-featured-image/edit.js +6 -13
  687. package/src/post-featured-image/editor.scss +8 -0
  688. package/src/post-featured-image/style.scss +1 -1
  689. package/src/post-navigation-link/block.json +0 -1
  690. package/src/post-template/block.json +0 -1
  691. package/src/post-template/style.scss +2 -13
  692. package/src/post-terms/block.json +0 -1
  693. package/src/post-title/block.json +0 -1
  694. package/src/post-title/edit.js +1 -1
  695. package/src/post-title/index.php +1 -1
  696. package/src/post-title/style.scss +2 -6
  697. package/src/preformatted/block.json +0 -1
  698. package/src/preformatted/edit.native.js +1 -3
  699. package/src/pullquote/block.json +1 -8
  700. package/src/pullquote/style.scss +0 -1
  701. package/src/query/block.json +0 -1
  702. package/src/query-pagination/block.json +0 -1
  703. package/src/query-pagination/editor.scss +4 -0
  704. package/src/query-pagination/style.scss +2 -12
  705. package/src/query-pagination-next/block.json +0 -1
  706. package/src/query-pagination-next/index.php +20 -42
  707. package/src/query-pagination-numbers/block.json +0 -1
  708. package/src/query-pagination-previous/block.json +0 -1
  709. package/src/query-pagination-previous/index.php +13 -45
  710. package/src/query-title/block.json +0 -1
  711. package/src/quote/block.json +0 -1
  712. package/src/rss/block.json +0 -1
  713. package/src/search/block.json +1 -8
  714. package/src/search/edit.js +1 -2
  715. package/src/search/index.php +19 -29
  716. package/src/separator/block.json +0 -1
  717. package/src/shortcode/block.json +0 -1
  718. package/src/site-logo/block.json +5 -5
  719. package/src/site-logo/edit.js +133 -14
  720. package/src/site-logo/editor.scss +1 -15
  721. package/src/site-logo/index.php +17 -4
  722. package/src/site-logo/style.scss +3 -1
  723. package/src/site-tagline/block.json +1 -2
  724. package/src/site-title/block.json +0 -1
  725. package/src/social-link/block.json +1 -2
  726. package/src/social-links/block.json +8 -3
  727. package/src/spacer/block.json +0 -1
  728. package/src/style.scss +2 -3
  729. package/src/table/block.json +1 -7
  730. package/src/table/style.scss +0 -1
  731. package/src/table-of-contents/block.json +0 -1
  732. package/src/tag-cloud/block.json +0 -1
  733. package/src/template-part/block.json +0 -1
  734. package/src/term-description/block.json +0 -1
  735. package/src/text-columns/block.json +0 -1
  736. package/src/verse/block.json +0 -1
  737. package/src/video/block.json +0 -1
  738. package/build/comment-template/util.js +0 -66
  739. package/build/comment-template/util.js.map +0 -1
  740. package/build/comments-pagination/comments-pagination-arrow-controls.js +0 -39
  741. package/build/comments-pagination/comments-pagination-arrow-controls.js.map +0 -1
  742. package/build/comments-pagination/edit.js +0 -80
  743. package/build/comments-pagination/edit.js.map +0 -1
  744. package/build/comments-pagination/index.js +0 -71
  745. package/build/comments-pagination/index.js.map +0 -1
  746. package/build/comments-pagination/save.js +0 -18
  747. package/build/comments-pagination/save.js.map +0 -1
  748. package/build/comments-pagination-numbers/edit.js +0 -47
  749. package/build/comments-pagination-numbers/edit.js.map +0 -1
  750. package/build/comments-pagination-numbers/index.js +0 -47
  751. package/build/comments-pagination-numbers/index.js.map +0 -1
  752. package/build/embed/embed-controls.native.js +0 -69
  753. package/build/embed/embed-controls.native.js.map +0 -1
  754. package/build/embed/embed-link-settings.native.js +0 -101
  755. package/build/embed/embed-link-settings.native.js.map +0 -1
  756. package/build/gallery/use-mobile-warning.js +0 -43
  757. package/build/gallery/use-mobile-warning.js.map +0 -1
  758. package/build-module/comment-template/util.js +0 -57
  759. package/build-module/comment-template/util.js.map +0 -1
  760. package/build-module/comments-pagination/comments-pagination-arrow-controls.js +0 -30
  761. package/build-module/comments-pagination/comments-pagination-arrow-controls.js.map +0 -1
  762. package/build-module/comments-pagination/edit.js +0 -67
  763. package/build-module/comments-pagination/edit.js.map +0 -1
  764. package/build-module/comments-pagination/index.js +0 -57
  765. package/build-module/comments-pagination/index.js.map +0 -1
  766. package/build-module/comments-pagination/save.js +0 -10
  767. package/build-module/comments-pagination/save.js.map +0 -1
  768. package/build-module/comments-pagination-numbers/edit.js +0 -40
  769. package/build-module/comments-pagination-numbers/edit.js.map +0 -1
  770. package/build-module/comments-pagination-numbers/index.js +0 -34
  771. package/build-module/comments-pagination-numbers/index.js.map +0 -1
  772. package/build-module/embed/embed-controls.native.js +0 -54
  773. package/build-module/embed/embed-controls.native.js.map +0 -1
  774. package/build-module/embed/embed-link-settings.native.js +0 -90
  775. package/build-module/embed/embed-link-settings.native.js.map +0 -1
  776. package/build-module/gallery/use-mobile-warning.js +0 -32
  777. package/build-module/gallery/use-mobile-warning.js.map +0 -1
  778. package/build-style/comment-template/style-rtl.css +0 -91
  779. package/build-style/comment-template/style.css +0 -91
  780. package/build-style/comments-pagination/editor-rtl.css +0 -100
  781. package/build-style/comments-pagination/style.css +0 -106
  782. package/build-style/comments-pagination-numbers/editor-rtl.css +0 -85
  783. package/build-style/comments-pagination-numbers/editor.css +0 -86
  784. package/src/comment-template/style.scss +0 -17
  785. package/src/comment-template/test/index.js +0 -45
  786. package/src/comment-template/util.js +0 -56
  787. package/src/comments-pagination/block.json +0 -37
  788. package/src/comments-pagination/comments-pagination-arrow-controls.js +0 -44
  789. package/src/comments-pagination/edit.js +0 -78
  790. package/src/comments-pagination/editor.scss +0 -34
  791. package/src/comments-pagination/index.js +0 -20
  792. package/src/comments-pagination/index.php +0 -39
  793. package/src/comments-pagination/save.js +0 -8
  794. package/src/comments-pagination/style.scss +0 -38
  795. package/src/comments-pagination-numbers/block.json +0 -16
  796. package/src/comments-pagination-numbers/edit.js +0 -22
  797. package/src/comments-pagination-numbers/editor.scss +0 -12
  798. package/src/comments-pagination-numbers/index.js +0 -18
  799. package/src/comments-pagination-numbers/index.php +0 -69
  800. package/src/embed/embed-controls.native.js +0 -65
  801. package/src/embed/embed-link-settings.native.js +0 -100
  802. package/src/gallery/test/use-get-new-images.js +0 -93
  803. package/src/gallery/use-mobile-warning.js +0 -28
  804. package/src/navigation/README.md +0 -13
@@ -1,90 +0,0 @@
1
- import { createElement } from "@wordpress/element";
2
-
3
- /**
4
- * WordPress dependencies
5
- */
6
- import { __, sprintf } from '@wordpress/i18n';
7
- import { LinkSettingsNavigation, FooterMessageLink } from '@wordpress/components';
8
- import { isURL } from '@wordpress/url';
9
- import { useDispatch } from '@wordpress/data';
10
- import { store as noticesStore } from '@wordpress/notices';
11
- import { useCallback, useEffect, useRef, useState } from '@wordpress/element';
12
-
13
- const EmbedLinkSettings = _ref => {
14
- let {
15
- autoFocus,
16
- value,
17
- label,
18
- isVisible,
19
- onClose,
20
- onSubmit,
21
- withBottomSheet
22
- } = _ref;
23
- const url = useRef(value);
24
- const [inputURL, setInputURL] = useState(value);
25
- const {
26
- createErrorNotice
27
- } = useDispatch(noticesStore);
28
- const linkSettingsOptions = {
29
- url: {
30
- label: sprintf( // translators: %s: embed block variant's label e.g: "Twitter".
31
- __('%s link'), label),
32
- placeholder: __('Add link'),
33
- autoFocus,
34
- autoFill: true
35
- },
36
- footer: {
37
- label: createElement(FooterMessageLink, {
38
- href: __('https://wordpress.org/support/article/embeds/'),
39
- value: __('Learn more about embeds')
40
- }),
41
- separatorType: 'topFullWidth'
42
- }
43
- };
44
- const onDismiss = useCallback(() => {
45
- if (!isURL(url.current) && url.current !== '') {
46
- createErrorNotice(__('Invalid URL. Please enter a valid URL.')); // If the URL was already defined, we submit it to stop showing the embed placeholder.
47
-
48
- onSubmit(value);
49
- return;
50
- }
51
-
52
- onSubmit(url.current);
53
- }, [onSubmit, value]);
54
- useEffect(() => {
55
- url.current = value;
56
- setInputURL(value);
57
- }, [value]);
58
- /**
59
- * If the Embed Bottom Sheet component does not utilize a bottom sheet then the onDismiss action is not
60
- * called. Here we are wiring the onDismiss to the onClose callback that gets triggered when input is submitted.
61
- */
62
-
63
- const performOnCloseOperations = useCallback(() => {
64
- if (onClose) {
65
- onClose();
66
- }
67
-
68
- if (!withBottomSheet) {
69
- onDismiss();
70
- }
71
- }, [onClose]);
72
- const onSetAttributes = useCallback(attributes => {
73
- url.current = attributes.url;
74
- setInputURL(attributes.url);
75
- }, []);
76
- return createElement(LinkSettingsNavigation, {
77
- isVisible: isVisible,
78
- url: inputURL,
79
- onClose: performOnCloseOperations,
80
- onDismiss: onDismiss,
81
- setAttributes: onSetAttributes,
82
- options: linkSettingsOptions,
83
- testID: "embed-edit-url-modal",
84
- withBottomSheet: withBottomSheet,
85
- showIcon: true
86
- });
87
- };
88
-
89
- export default EmbedLinkSettings;
90
- //# sourceMappingURL=embed-link-settings.native.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["@wordpress/block-library/src/embed/embed-link-settings.native.js"],"names":["__","sprintf","LinkSettingsNavigation","FooterMessageLink","isURL","useDispatch","store","noticesStore","useCallback","useEffect","useRef","useState","EmbedLinkSettings","autoFocus","value","label","isVisible","onClose","onSubmit","withBottomSheet","url","inputURL","setInputURL","createErrorNotice","linkSettingsOptions","placeholder","autoFill","footer","separatorType","onDismiss","current","performOnCloseOperations","onSetAttributes","attributes"],"mappings":";;AAAA;AACA;AACA;AACA,SAASA,EAAT,EAAaC,OAAb,QAA4B,iBAA5B;AACA,SACCC,sBADD,EAECC,iBAFD,QAGO,uBAHP;AAIA,SAASC,KAAT,QAAsB,gBAAtB;AACA,SAASC,WAAT,QAA4B,iBAA5B;AACA,SAASC,KAAK,IAAIC,YAAlB,QAAsC,oBAAtC;AACA,SAASC,WAAT,EAAsBC,SAAtB,EAAiCC,MAAjC,EAAyCC,QAAzC,QAAyD,oBAAzD;;AAEA,MAAMC,iBAAiB,GAAG,QAQnB;AAAA,MARqB;AAC3BC,IAAAA,SAD2B;AAE3BC,IAAAA,KAF2B;AAG3BC,IAAAA,KAH2B;AAI3BC,IAAAA,SAJ2B;AAK3BC,IAAAA,OAL2B;AAM3BC,IAAAA,QAN2B;AAO3BC,IAAAA;AAP2B,GAQrB;AACN,QAAMC,GAAG,GAAGV,MAAM,CAAEI,KAAF,CAAlB;AACA,QAAM,CAAEO,QAAF,EAAYC,WAAZ,IAA4BX,QAAQ,CAAEG,KAAF,CAA1C;AACA,QAAM;AAAES,IAAAA;AAAF,MAAwBlB,WAAW,CAAEE,YAAF,CAAzC;AAEA,QAAMiB,mBAAmB,GAAG;AAC3BJ,IAAAA,GAAG,EAAE;AACJL,MAAAA,KAAK,EAAEd,OAAO,EACb;AACAD,MAAAA,EAAE,CAAE,SAAF,CAFW,EAGbe,KAHa,CADV;AAMJU,MAAAA,WAAW,EAAEzB,EAAE,CAAE,UAAF,CANX;AAOJa,MAAAA,SAPI;AAQJa,MAAAA,QAAQ,EAAE;AARN,KADsB;AAW3BC,IAAAA,MAAM,EAAE;AACPZ,MAAAA,KAAK,EACJ,cAAC,iBAAD;AACC,QAAA,IAAI,EAAGf,EAAE,CACR,+CADQ,CADV;AAIC,QAAA,KAAK,EAAGA,EAAE,CAAE,yBAAF;AAJX,QAFM;AASP4B,MAAAA,aAAa,EAAE;AATR;AAXmB,GAA5B;AAwBA,QAAMC,SAAS,GAAGrB,WAAW,CAAE,MAAM;AACpC,QAAK,CAAEJ,KAAK,CAAEgB,GAAG,CAACU,OAAN,CAAP,IAA0BV,GAAG,CAACU,OAAJ,KAAgB,EAA/C,EAAoD;AACnDP,MAAAA,iBAAiB,CAAEvB,EAAE,CAAE,wCAAF,CAAJ,CAAjB,CADmD,CAEnD;;AACAkB,MAAAA,QAAQ,CAAEJ,KAAF,CAAR;AACA;AACA;;AACDI,IAAAA,QAAQ,CAAEE,GAAG,CAACU,OAAN,CAAR;AACA,GAR4B,EAQ1B,CAAEZ,QAAF,EAAYJ,KAAZ,CAR0B,CAA7B;AAUAL,EAAAA,SAAS,CAAE,MAAM;AAChBW,IAAAA,GAAG,CAACU,OAAJ,GAAchB,KAAd;AACAQ,IAAAA,WAAW,CAAER,KAAF,CAAX;AACA,GAHQ,EAGN,CAAEA,KAAF,CAHM,CAAT;AAKA;AACD;AACA;AACA;;AACC,QAAMiB,wBAAwB,GAAGvB,WAAW,CAAE,MAAM;AACnD,QAAKS,OAAL,EAAe;AACdA,MAAAA,OAAO;AACP;;AAED,QAAK,CAAEE,eAAP,EAAyB;AACxBU,MAAAA,SAAS;AACT;AACD,GAR2C,EAQzC,CAAEZ,OAAF,CARyC,CAA5C;AAUA,QAAMe,eAAe,GAAGxB,WAAW,CAAIyB,UAAF,IAAkB;AACtDb,IAAAA,GAAG,CAACU,OAAJ,GAAcG,UAAU,CAACb,GAAzB;AACAE,IAAAA,WAAW,CAAEW,UAAU,CAACb,GAAb,CAAX;AACA,GAHkC,EAGhC,EAHgC,CAAnC;AAKA,SACC,cAAC,sBAAD;AACC,IAAA,SAAS,EAAGJ,SADb;AAEC,IAAA,GAAG,EAAGK,QAFP;AAGC,IAAA,OAAO,EAAGU,wBAHX;AAIC,IAAA,SAAS,EAAGF,SAJb;AAKC,IAAA,aAAa,EAAGG,eALjB;AAMC,IAAA,OAAO,EAAGR,mBANX;AAOC,IAAA,MAAM,EAAC,sBAPR;AAQC,IAAA,eAAe,EAAGL,eARnB;AASC,IAAA,QAAQ;AATT,IADD;AAaA,CApFD;;AAsFA,eAAeP,iBAAf","sourcesContent":["/**\n * WordPress dependencies\n */\nimport { __, sprintf } from '@wordpress/i18n';\nimport {\n\tLinkSettingsNavigation,\n\tFooterMessageLink,\n} from '@wordpress/components';\nimport { isURL } from '@wordpress/url';\nimport { useDispatch } from '@wordpress/data';\nimport { store as noticesStore } from '@wordpress/notices';\nimport { useCallback, useEffect, useRef, useState } from '@wordpress/element';\n\nconst EmbedLinkSettings = ( {\n\tautoFocus,\n\tvalue,\n\tlabel,\n\tisVisible,\n\tonClose,\n\tonSubmit,\n\twithBottomSheet,\n} ) => {\n\tconst url = useRef( value );\n\tconst [ inputURL, setInputURL ] = useState( value );\n\tconst { createErrorNotice } = useDispatch( noticesStore );\n\n\tconst linkSettingsOptions = {\n\t\turl: {\n\t\t\tlabel: sprintf(\n\t\t\t\t// translators: %s: embed block variant's label e.g: \"Twitter\".\n\t\t\t\t__( '%s link' ),\n\t\t\t\tlabel\n\t\t\t),\n\t\t\tplaceholder: __( 'Add link' ),\n\t\t\tautoFocus,\n\t\t\tautoFill: true,\n\t\t},\n\t\tfooter: {\n\t\t\tlabel: (\n\t\t\t\t<FooterMessageLink\n\t\t\t\t\thref={ __(\n\t\t\t\t\t\t'https://wordpress.org/support/article/embeds/'\n\t\t\t\t\t) }\n\t\t\t\t\tvalue={ __( 'Learn more about embeds' ) }\n\t\t\t\t/>\n\t\t\t),\n\t\t\tseparatorType: 'topFullWidth',\n\t\t},\n\t};\n\n\tconst onDismiss = useCallback( () => {\n\t\tif ( ! isURL( url.current ) && url.current !== '' ) {\n\t\t\tcreateErrorNotice( __( 'Invalid URL. Please enter a valid URL.' ) );\n\t\t\t// If the URL was already defined, we submit it to stop showing the embed placeholder.\n\t\t\tonSubmit( value );\n\t\t\treturn;\n\t\t}\n\t\tonSubmit( url.current );\n\t}, [ onSubmit, value ] );\n\n\tuseEffect( () => {\n\t\turl.current = value;\n\t\tsetInputURL( value );\n\t}, [ value ] );\n\n\t/**\n\t * If the Embed Bottom Sheet component does not utilize a bottom sheet then the onDismiss action is not\n\t * called. Here we are wiring the onDismiss to the onClose callback that gets triggered when input is submitted.\n\t */\n\tconst performOnCloseOperations = useCallback( () => {\n\t\tif ( onClose ) {\n\t\t\tonClose();\n\t\t}\n\n\t\tif ( ! withBottomSheet ) {\n\t\t\tonDismiss();\n\t\t}\n\t}, [ onClose ] );\n\n\tconst onSetAttributes = useCallback( ( attributes ) => {\n\t\turl.current = attributes.url;\n\t\tsetInputURL( attributes.url );\n\t}, [] );\n\n\treturn (\n\t\t<LinkSettingsNavigation\n\t\t\tisVisible={ isVisible }\n\t\t\turl={ inputURL }\n\t\t\tonClose={ performOnCloseOperations }\n\t\t\tonDismiss={ onDismiss }\n\t\t\tsetAttributes={ onSetAttributes }\n\t\t\toptions={ linkSettingsOptions }\n\t\t\ttestID=\"embed-edit-url-modal\"\n\t\t\twithBottomSheet={ withBottomSheet }\n\t\t\tshowIcon\n\t\t/>\n\t);\n};\n\nexport default EmbedLinkSettings;\n"]}
@@ -1,32 +0,0 @@
1
- /**
2
- * WordPress dependencies
3
- */
4
- import { __ } from '@wordpress/i18n';
5
- import { useDispatch, useSelect } from '@wordpress/data';
6
- import { store as interfaceStore } from '@wordpress/interface';
7
- import { store as noticesStore } from '@wordpress/notices';
8
- export default function useMobileWarning(newImages) {
9
- const {
10
- createWarningNotice
11
- } = useDispatch(noticesStore);
12
- const {
13
- toggleFeature
14
- } = useDispatch(interfaceStore);
15
- const isMobileWarningActive = useSelect(select => {
16
- const {
17
- isFeatureActive
18
- } = select(interfaceStore);
19
- return isFeatureActive('core/edit-post', 'mobileGalleryWarning');
20
- }, []);
21
-
22
- if (!isMobileWarningActive || !newImages) {
23
- return;
24
- }
25
-
26
- createWarningNotice(__('If you want to edit the gallery you just added in the mobile app, to avoid losing any data please make sure you use version 18.2 of the app or above.'), {
27
- type: 'snackbar',
28
- explicitDismiss: true
29
- });
30
- toggleFeature('core/edit-post', 'mobileGalleryWarning');
31
- }
32
- //# sourceMappingURL=use-mobile-warning.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["@wordpress/block-library/src/gallery/use-mobile-warning.js"],"names":["__","useDispatch","useSelect","store","interfaceStore","noticesStore","useMobileWarning","newImages","createWarningNotice","toggleFeature","isMobileWarningActive","select","isFeatureActive","type","explicitDismiss"],"mappings":"AAAA;AACA;AACA;AACA,SAASA,EAAT,QAAmB,iBAAnB;AACA,SAASC,WAAT,EAAsBC,SAAtB,QAAuC,iBAAvC;AACA,SAASC,KAAK,IAAIC,cAAlB,QAAwC,sBAAxC;AACA,SAASD,KAAK,IAAIE,YAAlB,QAAsC,oBAAtC;AAEA,eAAe,SAASC,gBAAT,CAA2BC,SAA3B,EAAuC;AACrD,QAAM;AAAEC,IAAAA;AAAF,MAA0BP,WAAW,CAAEI,YAAF,CAA3C;AACA,QAAM;AAAEI,IAAAA;AAAF,MAAoBR,WAAW,CAAEG,cAAF,CAArC;AACA,QAAMM,qBAAqB,GAAGR,SAAS,CAAIS,MAAF,IAAc;AACtD,UAAM;AAAEC,MAAAA;AAAF,QAAsBD,MAAM,CAAEP,cAAF,CAAlC;AACA,WAAOQ,eAAe,CAAE,gBAAF,EAAoB,sBAApB,CAAtB;AACA,GAHsC,EAGpC,EAHoC,CAAvC;;AAKA,MAAK,CAAEF,qBAAF,IAA2B,CAAEH,SAAlC,EAA8C;AAC7C;AACA;;AAEDC,EAAAA,mBAAmB,CAClBR,EAAE,CACD,uJADC,CADgB,EAIlB;AAAEa,IAAAA,IAAI,EAAE,UAAR;AAAoBC,IAAAA,eAAe,EAAE;AAArC,GAJkB,CAAnB;AAMAL,EAAAA,aAAa,CAAE,gBAAF,EAAoB,sBAApB,CAAb;AACA","sourcesContent":["/**\n * WordPress dependencies\n */\nimport { __ } from '@wordpress/i18n';\nimport { useDispatch, useSelect } from '@wordpress/data';\nimport { store as interfaceStore } from '@wordpress/interface';\nimport { store as noticesStore } from '@wordpress/notices';\n\nexport default function useMobileWarning( newImages ) {\n\tconst { createWarningNotice } = useDispatch( noticesStore );\n\tconst { toggleFeature } = useDispatch( interfaceStore );\n\tconst isMobileWarningActive = useSelect( ( select ) => {\n\t\tconst { isFeatureActive } = select( interfaceStore );\n\t\treturn isFeatureActive( 'core/edit-post', 'mobileGalleryWarning' );\n\t}, [] );\n\n\tif ( ! isMobileWarningActive || ! newImages ) {\n\t\treturn;\n\t}\n\n\tcreateWarningNotice(\n\t\t__(\n\t\t\t'If you want to edit the gallery you just added in the mobile app, to avoid losing any data please make sure you use version 18.2 of the app or above.'\n\t\t),\n\t\t{ type: 'snackbar', explicitDismiss: true }\n\t);\n\ttoggleFeature( 'core/edit-post', 'mobileGalleryWarning' );\n}\n"]}
@@ -1,91 +0,0 @@
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-comment-template {
78
- margin-bottom: 0;
79
- max-width: 100%;
80
- list-style: none;
81
- padding: 0;
82
- }
83
- .wp-block-comment-template li {
84
- clear: both;
85
- }
86
- .wp-block-comment-template ol {
87
- margin-bottom: 0;
88
- max-width: 100%;
89
- list-style: none;
90
- padding-right: 2rem;
91
- }
@@ -1,91 +0,0 @@
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-comment-template {
78
- margin-bottom: 0;
79
- max-width: 100%;
80
- list-style: none;
81
- padding: 0;
82
- }
83
- .wp-block-comment-template li {
84
- clear: both;
85
- }
86
- .wp-block-comment-template ol {
87
- margin-bottom: 0;
88
- max-width: 100%;
89
- list-style: none;
90
- padding-left: 2rem;
91
- }
@@ -1,100 +0,0 @@
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[data-align=center] > .wp-block-comments-pagination {
78
- justify-content: center;
79
- }
80
-
81
- .editor-styles-wrapper .wp-block-comments-pagination {
82
- max-width: 100%;
83
- }
84
- .editor-styles-wrapper .wp-block-comments-pagination.block-editor-block-list__layout {
85
- margin: 0;
86
- }
87
-
88
- .wp-block-comments-pagination > .wp-block-comments-pagination-next,
89
- .wp-block-comments-pagination > .wp-block-comments-pagination-previous,
90
- .wp-block-comments-pagination > .wp-block-comments-pagination-numbers {
91
- margin-right: 0;
92
- margin-top: 0.5em;
93
- margin-right: 0.5em;
94
- margin-bottom: 0.5em;
95
- }
96
- .wp-block-comments-pagination > .wp-block-comments-pagination-next:last-child,
97
- .wp-block-comments-pagination > .wp-block-comments-pagination-previous:last-child,
98
- .wp-block-comments-pagination > .wp-block-comments-pagination-numbers:last-child {
99
- margin-right: 0;
100
- }
@@ -1,106 +0,0 @@
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-comments-pagination > .wp-block-comments-pagination-next,
78
- .wp-block-comments-pagination > .wp-block-comments-pagination-previous,
79
- .wp-block-comments-pagination > .wp-block-comments-pagination-numbers {
80
- /*rtl:ignore*/
81
- margin-right: 0.5em;
82
- margin-bottom: 0.5em;
83
- }
84
- .wp-block-comments-pagination > .wp-block-comments-pagination-next:last-child,
85
- .wp-block-comments-pagination > .wp-block-comments-pagination-previous:last-child,
86
- .wp-block-comments-pagination > .wp-block-comments-pagination-numbers:last-child {
87
- /*rtl:ignore*/
88
- margin-right: 0;
89
- }
90
- .wp-block-comments-pagination .wp-block-comments-pagination-previous-arrow {
91
- margin-right: 1ch;
92
- display: inline-block;
93
- }
94
- .wp-block-comments-pagination .wp-block-comments-pagination-previous-arrow:not(.is-arrow-chevron) {
95
- transform: scaleX(1) /*rtl:scaleX(-1);*/;
96
- }
97
- .wp-block-comments-pagination .wp-block-comments-pagination-next-arrow {
98
- margin-left: 1ch;
99
- display: inline-block;
100
- }
101
- .wp-block-comments-pagination .wp-block-comments-pagination-next-arrow:not(.is-arrow-chevron) {
102
- transform: scaleX(1) /*rtl:scaleX(-1);*/;
103
- }
104
- .wp-block-comments-pagination.aligncenter {
105
- justify-content: center;
106
- }
@@ -1,85 +0,0 @@
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-comments-pagination-numbers a {
78
- text-decoration: underline;
79
- }
80
- .wp-block-comments-pagination-numbers .page-numbers {
81
- margin-left: 2px;
82
- }
83
- .wp-block-comments-pagination-numbers .page-numbers:last-child {
84
- margin-right: 0;
85
- }
@@ -1,86 +0,0 @@
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-comments-pagination-numbers a {
78
- text-decoration: underline;
79
- }
80
- .wp-block-comments-pagination-numbers .page-numbers {
81
- margin-right: 2px;
82
- }
83
- .wp-block-comments-pagination-numbers .page-numbers:last-child {
84
- /*rtl:ignore*/
85
- margin-right: 0;
86
- }