@wordpress/block-library 8.18.1-next.5a1d1283.0 → 8.19.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 (381) hide show
  1. package/CHANGELOG.md +2 -0
  2. package/README.md +1 -1
  3. package/build/block/edit.js +53 -2
  4. package/build/block/edit.js.map +1 -1
  5. package/build/button/edit.js +7 -4
  6. package/build/button/edit.js.map +1 -1
  7. package/build/button/index.js +11 -2
  8. package/build/button/index.js.map +1 -1
  9. package/build/button/save.js +10 -4
  10. package/build/button/save.js.map +1 -1
  11. package/build/buttons/edit.js +12 -3
  12. package/build/buttons/edit.js.map +1 -1
  13. package/build/code/edit.js +8 -2
  14. package/build/code/edit.js.map +1 -1
  15. package/build/code/index.js +7 -1
  16. package/build/code/index.js.map +1 -1
  17. package/build/column/index.js +1 -0
  18. package/build/column/index.js.map +1 -1
  19. package/build/columns/index.js +2 -0
  20. package/build/columns/index.js.map +1 -1
  21. package/build/file/edit.native.js +1 -1
  22. package/build/file/edit.native.js.map +1 -1
  23. package/build/file/index.js +2 -1
  24. package/build/file/index.js.map +1 -1
  25. package/build/file/utils/index.js +1 -15
  26. package/build/file/utils/index.js.map +1 -1
  27. package/build/file/view.js +14 -1
  28. package/build/file/view.js.map +1 -1
  29. package/build/footnotes/edit.js +12 -2
  30. package/build/footnotes/edit.js.map +1 -1
  31. package/build/gallery/edit.js +1 -1
  32. package/build/gallery/edit.js.map +1 -1
  33. package/build/group/edit.js +0 -1
  34. package/build/group/edit.js.map +1 -1
  35. package/build/group/index.js +4 -0
  36. package/build/group/index.js.map +1 -1
  37. package/build/heading/edit.js +0 -1
  38. package/build/heading/edit.js.map +1 -1
  39. package/build/heading/index.js +2 -0
  40. package/build/heading/index.js.map +1 -1
  41. package/build/heading/transforms.js +3 -6
  42. package/build/heading/transforms.js.map +1 -1
  43. package/build/image/deprecated.js +191 -7
  44. package/build/image/deprecated.js.map +1 -1
  45. package/build/image/edit.js +27 -12
  46. package/build/image/edit.js.map +1 -1
  47. package/build/image/image.js +75 -40
  48. package/build/image/image.js.map +1 -1
  49. package/build/image/index.js +7 -4
  50. package/build/image/index.js.map +1 -1
  51. package/build/image/{view-interactivity.js → view.js} +1 -1
  52. package/build/image/view.js.map +1 -0
  53. package/build/list/deprecated.js +93 -1
  54. package/build/list/deprecated.js.map +1 -1
  55. package/build/list/edit.js +10 -10
  56. package/build/list/edit.js.map +1 -1
  57. package/build/list/ordered-list-settings.js +10 -10
  58. package/build/list/ordered-list-settings.js.map +1 -1
  59. package/build/list/save.js +4 -2
  60. package/build/list/save.js.map +1 -1
  61. package/build/list/utils.js +21 -2
  62. package/build/list/utils.js.map +1 -1
  63. package/build/navigation/constants.js +1 -1
  64. package/build/navigation/constants.js.map +1 -1
  65. package/build/navigation/index.js +4 -2
  66. package/build/navigation/index.js.map +1 -1
  67. package/build/navigation/view.js +168 -82
  68. package/build/navigation/view.js.map +1 -1
  69. package/build/navigation-link/edit.js +3 -9
  70. package/build/navigation-link/edit.js.map +1 -1
  71. package/build/navigation-link/transforms.js +24 -0
  72. package/build/navigation-link/transforms.js.map +1 -1
  73. package/build/page-list/edit.js +2 -1
  74. package/build/page-list/edit.js.map +1 -1
  75. package/build/post-comments-form/edit.js +10 -2
  76. package/build/post-comments-form/edit.js.map +1 -1
  77. package/build/post-comments-form/form.js +5 -3
  78. package/build/post-comments-form/form.js.map +1 -1
  79. package/build/post-content/edit.js +8 -7
  80. package/build/post-content/edit.js.map +1 -1
  81. package/build/post-content/index.js +3 -0
  82. package/build/post-content/index.js.map +1 -1
  83. package/build/post-featured-image/overlay.js +2 -1
  84. package/build/post-featured-image/overlay.js.map +1 -1
  85. package/build/preformatted/edit.js +4 -1
  86. package/build/preformatted/edit.js.map +1 -1
  87. package/build/preformatted/index.js +1 -1
  88. package/build/preformatted/index.js.map +1 -1
  89. package/build/pullquote/deprecated.js +6 -7
  90. package/build/pullquote/deprecated.js.map +1 -1
  91. package/build/query/edit/enhanced-pagination-modal.js +56 -0
  92. package/build/query/edit/enhanced-pagination-modal.js.map +1 -0
  93. package/build/query/edit/inspector-controls/enhanced-pagination-control.js +42 -0
  94. package/build/query/edit/inspector-controls/enhanced-pagination-control.js.map +1 -0
  95. package/build/query/edit/inspector-controls/index.js +8 -25
  96. package/build/query/edit/inspector-controls/index.js.map +1 -1
  97. package/build/query/edit/query-content.js +8 -2
  98. package/build/query/edit/query-content.js.map +1 -1
  99. package/build/query/utils.js +19 -0
  100. package/build/query/utils.js.map +1 -1
  101. package/build/query/view.js +4 -5
  102. package/build/query/view.js.map +1 -1
  103. package/build/search/index.js +1 -0
  104. package/build/search/index.js.map +1 -1
  105. package/build/search/view.js +81 -150
  106. package/build/search/view.js.map +1 -1
  107. package/build/social-link/edit.native.js +3 -1
  108. package/build/social-link/edit.native.js.map +1 -1
  109. package/build/table/edit.js +7 -7
  110. package/build/table/edit.js.map +1 -1
  111. package/build/table-of-contents/edit.js +2 -130
  112. package/build/table-of-contents/edit.js.map +1 -1
  113. package/build/table-of-contents/hooks.js +145 -0
  114. package/build/table-of-contents/hooks.js.map +1 -0
  115. package/build/table-of-contents/index.js +2 -1
  116. package/build/table-of-contents/index.js.map +1 -1
  117. package/build/verse/edit.js +4 -1
  118. package/build/verse/edit.js.map +1 -1
  119. package/build/verse/index.js +1 -1
  120. package/build/verse/index.js.map +1 -1
  121. package/build-module/block/edit.js +54 -3
  122. package/build-module/block/edit.js.map +1 -1
  123. package/build-module/button/edit.js +7 -4
  124. package/build-module/button/edit.js.map +1 -1
  125. package/build-module/button/index.js +11 -2
  126. package/build-module/button/index.js.map +1 -1
  127. package/build-module/button/save.js +10 -4
  128. package/build-module/button/save.js.map +1 -1
  129. package/build-module/buttons/edit.js +12 -3
  130. package/build-module/buttons/edit.js.map +1 -1
  131. package/build-module/code/edit.js +8 -2
  132. package/build-module/code/edit.js.map +1 -1
  133. package/build-module/code/index.js +7 -1
  134. package/build-module/code/index.js.map +1 -1
  135. package/build-module/column/index.js +1 -0
  136. package/build-module/column/index.js.map +1 -1
  137. package/build-module/columns/index.js +2 -0
  138. package/build-module/columns/index.js.map +1 -1
  139. package/build-module/file/edit.native.js +1 -1
  140. package/build-module/file/edit.native.js.map +1 -1
  141. package/build-module/file/index.js +2 -1
  142. package/build-module/file/index.js.map +1 -1
  143. package/build-module/file/utils/index.js +0 -13
  144. package/build-module/file/utils/index.js.map +1 -1
  145. package/build-module/file/view.js +14 -2
  146. package/build-module/file/view.js.map +1 -1
  147. package/build-module/footnotes/edit.js +12 -2
  148. package/build-module/footnotes/edit.js.map +1 -1
  149. package/build-module/gallery/edit.js +1 -1
  150. package/build-module/gallery/edit.js.map +1 -1
  151. package/build-module/group/edit.js +0 -1
  152. package/build-module/group/edit.js.map +1 -1
  153. package/build-module/group/index.js +4 -0
  154. package/build-module/group/index.js.map +1 -1
  155. package/build-module/heading/edit.js +0 -1
  156. package/build-module/heading/edit.js.map +1 -1
  157. package/build-module/heading/index.js +2 -0
  158. package/build-module/heading/index.js.map +1 -1
  159. package/build-module/heading/transforms.js +3 -6
  160. package/build-module/heading/transforms.js.map +1 -1
  161. package/build-module/image/deprecated.js +191 -7
  162. package/build-module/image/deprecated.js.map +1 -1
  163. package/build-module/image/edit.js +27 -12
  164. package/build-module/image/edit.js.map +1 -1
  165. package/build-module/image/image.js +77 -42
  166. package/build-module/image/image.js.map +1 -1
  167. package/build-module/image/index.js +7 -4
  168. package/build-module/image/index.js.map +1 -1
  169. package/build-module/image/{view-interactivity.js → view.js} +1 -1
  170. package/build-module/image/view.js.map +1 -0
  171. package/build-module/list/deprecated.js +95 -3
  172. package/build-module/list/deprecated.js.map +1 -1
  173. package/build-module/list/edit.js +10 -10
  174. package/build-module/list/edit.js.map +1 -1
  175. package/build-module/list/ordered-list-settings.js +10 -10
  176. package/build-module/list/ordered-list-settings.js.map +1 -1
  177. package/build-module/list/save.js +4 -2
  178. package/build-module/list/save.js.map +1 -1
  179. package/build-module/list/utils.js +20 -2
  180. package/build-module/list/utils.js.map +1 -1
  181. package/build-module/navigation/constants.js +1 -1
  182. package/build-module/navigation/constants.js.map +1 -1
  183. package/build-module/navigation/index.js +4 -2
  184. package/build-module/navigation/index.js.map +1 -1
  185. package/build-module/navigation/view.js +168 -83
  186. package/build-module/navigation/view.js.map +1 -1
  187. package/build-module/navigation-link/edit.js +3 -9
  188. package/build-module/navigation-link/edit.js.map +1 -1
  189. package/build-module/navigation-link/transforms.js +24 -0
  190. package/build-module/navigation-link/transforms.js.map +1 -1
  191. package/build-module/page-list/edit.js +2 -1
  192. package/build-module/page-list/edit.js.map +1 -1
  193. package/build-module/post-comments-form/edit.js +10 -2
  194. package/build-module/post-comments-form/edit.js.map +1 -1
  195. package/build-module/post-comments-form/form.js +5 -3
  196. package/build-module/post-comments-form/form.js.map +1 -1
  197. package/build-module/post-content/edit.js +8 -7
  198. package/build-module/post-content/edit.js.map +1 -1
  199. package/build-module/post-content/index.js +3 -0
  200. package/build-module/post-content/index.js.map +1 -1
  201. package/build-module/post-featured-image/overlay.js +2 -1
  202. package/build-module/post-featured-image/overlay.js.map +1 -1
  203. package/build-module/preformatted/edit.js +4 -1
  204. package/build-module/preformatted/edit.js.map +1 -1
  205. package/build-module/preformatted/index.js +1 -1
  206. package/build-module/preformatted/index.js.map +1 -1
  207. package/build-module/pullquote/deprecated.js +6 -7
  208. package/build-module/pullquote/deprecated.js.map +1 -1
  209. package/build-module/query/edit/enhanced-pagination-modal.js +50 -0
  210. package/build-module/query/edit/enhanced-pagination-modal.js.map +1 -0
  211. package/build-module/query/edit/inspector-controls/enhanced-pagination-control.js +35 -0
  212. package/build-module/query/edit/inspector-controls/enhanced-pagination-control.js.map +1 -0
  213. package/build-module/query/edit/inspector-controls/index.js +9 -26
  214. package/build-module/query/edit/inspector-controls/index.js.map +1 -1
  215. package/build-module/query/edit/query-content.js +8 -2
  216. package/build-module/query/edit/query-content.js.map +1 -1
  217. package/build-module/query/utils.js +17 -0
  218. package/build-module/query/utils.js.map +1 -1
  219. package/build-module/query/view.js +4 -5
  220. package/build-module/query/view.js.map +1 -1
  221. package/build-module/search/index.js +1 -0
  222. package/build-module/search/index.js.map +1 -1
  223. package/build-module/search/view.js +81 -151
  224. package/build-module/search/view.js.map +1 -1
  225. package/build-module/social-link/edit.native.js +3 -1
  226. package/build-module/social-link/edit.native.js.map +1 -1
  227. package/build-module/table/edit.js +7 -7
  228. package/build-module/table/edit.js.map +1 -1
  229. package/build-module/table-of-contents/edit.js +3 -131
  230. package/build-module/table-of-contents/edit.js.map +1 -1
  231. package/build-module/table-of-contents/hooks.js +137 -0
  232. package/build-module/table-of-contents/hooks.js.map +1 -0
  233. package/build-module/table-of-contents/index.js +2 -1
  234. package/build-module/table-of-contents/index.js.map +1 -1
  235. package/build-module/verse/edit.js +4 -1
  236. package/build-module/verse/edit.js.map +1 -1
  237. package/build-module/verse/index.js +1 -1
  238. package/build-module/verse/index.js.map +1 -1
  239. package/build-style/cover/style-rtl.css +9 -0
  240. package/build-style/cover/style.css +9 -0
  241. package/build-style/editor-rtl.css +15 -9
  242. package/build-style/editor.css +15 -9
  243. package/build-style/file/style-rtl.css +5 -0
  244. package/build-style/file/style.css +5 -0
  245. package/build-style/heading/style-rtl.css +13 -0
  246. package/build-style/heading/style.css +13 -0
  247. package/build-style/navigation-link/editor-rtl.css +0 -9
  248. package/build-style/navigation-link/editor.css +0 -9
  249. package/build-style/paragraph/editor-rtl.css +5 -0
  250. package/build-style/paragraph/editor.css +5 -0
  251. package/build-style/paragraph/style-rtl.css +5 -0
  252. package/build-style/paragraph/style.css +5 -0
  253. package/build-style/post-navigation-link/style-rtl.css +3 -0
  254. package/build-style/post-navigation-link/style.css +3 -0
  255. package/build-style/query/editor-rtl.css +10 -0
  256. package/build-style/query/editor.css +10 -0
  257. package/build-style/query/style-rtl.css +1 -1
  258. package/build-style/query/style.css +1 -1
  259. package/build-style/reset-rtl.css +27 -27
  260. package/build-style/reset.css +27 -27
  261. package/build-style/style-rtl.css +35 -0
  262. package/build-style/style.css +35 -0
  263. package/package.json +32 -33
  264. package/src/audio/test/__snapshots__/edit.native.js.snap +78 -106
  265. package/src/avatar/index.php +2 -2
  266. package/src/block/edit.js +58 -2
  267. package/src/block/test/edit.native.js +2 -3
  268. package/src/button/block.json +11 -2
  269. package/src/button/edit.js +27 -11
  270. package/src/button/save.js +10 -4
  271. package/src/buttons/edit.js +13 -3
  272. package/src/buttons/test/edit.native.js +28 -24
  273. package/src/calendar/index.php +2 -2
  274. package/src/code/block.json +2 -1
  275. package/src/code/edit.js +13 -1
  276. package/src/code/index.js +5 -0
  277. package/src/column/block.json +1 -0
  278. package/src/columns/block.json +2 -0
  279. package/src/comment-template/index.php +1 -1
  280. package/src/comments-pagination-next/index.php +1 -1
  281. package/src/comments-pagination-previous/index.php +1 -1
  282. package/src/cover/style.scss +12 -1
  283. package/src/cover/test/edit.js +7 -7
  284. package/src/cover/test/edit.native.js +18 -27
  285. package/src/embed/test/index.native.js +30 -45
  286. package/src/file/block.json +2 -1
  287. package/src/file/edit.native.js +1 -1
  288. package/src/file/index.php +19 -21
  289. package/src/file/style.scss +6 -1
  290. package/src/file/test/__snapshots__/edit.native.js.snap +162 -218
  291. package/src/file/utils/index.js +0 -15
  292. package/src/file/view.js +14 -5
  293. package/src/footnotes/edit.js +13 -1
  294. package/src/gallery/edit.js +1 -1
  295. package/src/gallery/index.php +1 -1
  296. package/src/group/block.json +4 -0
  297. package/src/group/edit.js +0 -1
  298. package/src/heading/block.json +2 -0
  299. package/src/heading/edit.js +0 -1
  300. package/src/heading/style.scss +4 -0
  301. package/src/heading/transforms.js +1 -6
  302. package/src/image/block.json +7 -4
  303. package/src/image/deprecated.js +210 -7
  304. package/src/image/edit.js +43 -29
  305. package/src/image/image.js +86 -43
  306. package/src/image/index.php +251 -28
  307. package/src/latest-posts/index.php +1 -1
  308. package/src/list/deprecated.js +84 -3
  309. package/src/list/edit.js +6 -3
  310. package/src/list/ordered-list-settings.js +20 -5
  311. package/src/list/save.js +10 -1
  312. package/src/list/test/edit.native.js +2 -4
  313. package/src/list/utils.js +22 -1
  314. package/src/navigation/block.json +4 -2
  315. package/src/navigation/constants.js +1 -0
  316. package/src/navigation/index.php +85 -123
  317. package/src/navigation/view.js +192 -96
  318. package/src/navigation-link/edit.js +21 -36
  319. package/src/navigation-link/editor.scss +0 -8
  320. package/src/navigation-link/transforms.js +22 -0
  321. package/src/page-list/edit.js +2 -1
  322. package/src/paragraph/editor.scss +5 -0
  323. package/src/paragraph/style.scss +5 -0
  324. package/src/pattern/index.php +2 -2
  325. package/src/post-comments-form/edit.js +10 -0
  326. package/src/post-comments-form/form.js +7 -1
  327. package/src/post-content/block.json +3 -0
  328. package/src/post-content/edit.js +14 -6
  329. package/src/post-excerpt/index.php +2 -2
  330. package/src/post-featured-image/index.php +2 -2
  331. package/src/post-featured-image/overlay.js +1 -0
  332. package/src/post-navigation-link/index.php +0 -5
  333. package/src/post-navigation-link/style.scss +4 -0
  334. package/src/post-template/index.php +1 -1
  335. package/src/post-terms/index.php +5 -2
  336. package/src/preformatted/edit.js +5 -0
  337. package/src/preformatted/index.js +1 -1
  338. package/src/pullquote/deprecated.js +8 -13
  339. package/src/query/edit/enhanced-pagination-modal.js +65 -0
  340. package/src/query/edit/inspector-controls/enhanced-pagination-control.js +49 -0
  341. package/src/query/edit/inspector-controls/index.js +9 -45
  342. package/src/query/edit/query-content.js +8 -0
  343. package/src/query/editor.scss +10 -0
  344. package/src/query/index.php +29 -16
  345. package/src/query/style.scss +2 -2
  346. package/src/query/utils.js +22 -0
  347. package/src/query/view.js +5 -5
  348. package/src/query-pagination-next/index.php +1 -1
  349. package/src/query-pagination-previous/index.php +1 -1
  350. package/src/reset.scss +1 -1
  351. package/src/search/block.json +1 -0
  352. package/src/search/index.php +45 -4
  353. package/src/search/test/__snapshots__/edit.native.js.snap +265 -363
  354. package/src/search/view.js +70 -169
  355. package/src/social-link/edit.native.js +1 -1
  356. package/src/social-link/editor.native.scss +4 -0
  357. package/src/table/edit.js +21 -19
  358. package/src/table-of-contents/block.json +2 -1
  359. package/src/table-of-contents/edit.js +5 -162
  360. package/src/table-of-contents/hooks.js +156 -0
  361. package/src/verse/edit.js +5 -0
  362. package/src/verse/index.js +1 -1
  363. package/src/verse/test/edit.native.js +2 -3
  364. package/build/file/view-interactivity.js +0 -22
  365. package/build/file/view-interactivity.js.map +0 -1
  366. package/build/image/view-interactivity.js.map +0 -1
  367. package/build/navigation/view-interactivity.js +0 -172
  368. package/build/navigation/view-interactivity.js.map +0 -1
  369. package/build/navigation/view-modal.js +0 -115
  370. package/build/navigation/view-modal.js.map +0 -1
  371. package/build-module/file/view-interactivity.js +0 -18
  372. package/build-module/file/view-interactivity.js.map +0 -1
  373. package/build-module/image/view-interactivity.js.map +0 -1
  374. package/build-module/navigation/view-interactivity.js +0 -169
  375. package/build-module/navigation/view-interactivity.js.map +0 -1
  376. package/build-module/navigation/view-modal.js +0 -112
  377. package/build-module/navigation/view-modal.js.map +0 -1
  378. package/src/file/view-interactivity.js +0 -18
  379. package/src/navigation/view-interactivity.js +0 -196
  380. package/src/navigation/view-modal.js +0 -127
  381. /package/src/image/{view-interactivity.js → view.js} +0 -0
@@ -19,7 +19,7 @@ exports[`Search Block renders block with button inside option 1`] = `
19
19
  ]
20
20
  }
21
21
  >
22
- <View
22
+ <RCTAztecView
23
23
  accessibilityState={
24
24
  {
25
25
  "busy": undefined,
@@ -29,71 +29,57 @@ exports[`Search Block renders block with button inside option 1`] = `
29
29
  "selected": undefined,
30
30
  }
31
31
  }
32
- accessibilityValue={
32
+ accessible={true}
33
+ activeFormats={[]}
34
+ blockType={
33
35
  {
34
- "max": undefined,
35
- "min": undefined,
36
- "now": undefined,
37
- "text": undefined,
36
+ "tag": "p",
38
37
  }
39
38
  }
40
- accessible={false}
41
- collapsable={false}
39
+ disableEditingMenu={false}
42
40
  focusable={true}
41
+ fontFamily="serif"
42
+ fontSize={16}
43
+ isMultiline={false}
44
+ maxImagesWidth={200}
45
+ onBackspace={[Function]}
43
46
  onBlur={[Function]}
47
+ onChange={[Function]}
44
48
  onClick={[Function]}
49
+ onContentSizeChange={[Function]}
50
+ onEnter={[Function]}
45
51
  onFocus={[Function]}
52
+ onHTMLContentWithCursor={[Function]}
53
+ onKeyDown={[Function]}
54
+ onPaste={[Function]}
46
55
  onResponderGrant={[Function]}
47
56
  onResponderMove={[Function]}
48
57
  onResponderRelease={[Function]}
49
58
  onResponderTerminate={[Function]}
50
59
  onResponderTerminationRequest={[Function]}
60
+ onSelectionChange={[Function]}
51
61
  onStartShouldSetResponder={[Function]}
52
- >
53
- <RCTAztecView
54
- activeFormats={[]}
55
- blockType={
56
- {
57
- "tag": "p",
58
- }
59
- }
60
- disableEditingMenu={false}
61
- fontFamily="serif"
62
- fontSize={16}
63
- isMultiline={false}
64
- maxImagesWidth={200}
65
- onBackspace={[Function]}
66
- onBlur={[Function]}
67
- onChange={[Function]}
68
- onContentSizeChange={[Function]}
69
- onEnter={[Function]}
70
- onFocus={[Function]}
71
- onHTMLContentWithCursor={[Function]}
72
- onKeyDown={[Function]}
73
- onPaste={[Function]}
74
- onSelectionChange={[Function]}
75
- placeholder="Add label…"
76
- placeholderTextColor="gray"
77
- selectionColor="black"
78
- style={
79
- {
80
- "backgroundColor": undefined,
81
- "maxWidth": undefined,
82
- "minHeight": 0,
83
- }
62
+ placeholder="Add label…"
63
+ placeholderTextColor="gray"
64
+ selectionColor="black"
65
+ style={
66
+ {
67
+ "backgroundColor": undefined,
68
+ "maxWidth": undefined,
69
+ "minHeight": 0,
84
70
  }
85
- text={
86
- {
87
- "eventCount": undefined,
88
- "linkTextColor": undefined,
89
- "selection": null,
90
- "tag": "p",
91
- "text": "<p>Search</p>",
92
- }
71
+ }
72
+ text={
73
+ {
74
+ "eventCount": undefined,
75
+ "linkTextColor": undefined,
76
+ "selection": null,
77
+ "tag": "p",
78
+ "text": "<p>Search</p>",
93
79
  }
94
- triggerKeyCodes={[]}
95
- />
96
- </View>
80
+ }
81
+ triggerKeyCodes={[]}
82
+ />
97
83
  </View>
98
84
  </View>
99
85
  <View
@@ -158,7 +144,7 @@ exports[`Search Block renders block with button inside option 1`] = `
158
144
  ]
159
145
  }
160
146
  >
161
- <View
147
+ <RCTAztecView
162
148
  accessibilityState={
163
149
  {
164
150
  "busy": undefined,
@@ -168,73 +154,59 @@ exports[`Search Block renders block with button inside option 1`] = `
168
154
  "selected": undefined,
169
155
  }
170
156
  }
171
- accessibilityValue={
157
+ accessible={true}
158
+ activeFormats={[]}
159
+ blockType={
172
160
  {
173
- "max": undefined,
174
- "min": undefined,
175
- "now": undefined,
176
- "text": undefined,
161
+ "tag": "p",
177
162
  }
178
163
  }
179
- accessible={false}
180
- collapsable={false}
164
+ disableEditingMenu={false}
181
165
  focusable={true}
166
+ fontFamily="serif"
167
+ fontSize={16}
168
+ isMultiline={false}
169
+ maxImagesWidth={200}
170
+ minWidth={75}
171
+ onBackspace={[Function]}
182
172
  onBlur={[Function]}
173
+ onChange={[Function]}
183
174
  onClick={[Function]}
175
+ onContentSizeChange={[Function]}
176
+ onEnter={[Function]}
184
177
  onFocus={[Function]}
178
+ onHTMLContentWithCursor={[Function]}
179
+ onKeyDown={[Function]}
180
+ onPaste={[Function]}
185
181
  onResponderGrant={[Function]}
186
182
  onResponderMove={[Function]}
187
183
  onResponderRelease={[Function]}
188
184
  onResponderTerminate={[Function]}
189
185
  onResponderTerminationRequest={[Function]}
186
+ onSelectionChange={[Function]}
190
187
  onStartShouldSetResponder={[Function]}
191
- >
192
- <RCTAztecView
193
- activeFormats={[]}
194
- blockType={
195
- {
196
- "tag": "p",
197
- }
198
- }
199
- disableEditingMenu={false}
200
- fontFamily="serif"
201
- fontSize={16}
202
- isMultiline={false}
203
- maxImagesWidth={200}
204
- minWidth={75}
205
- onBackspace={[Function]}
206
- onBlur={[Function]}
207
- onChange={[Function]}
208
- onContentSizeChange={[Function]}
209
- onEnter={[Function]}
210
- onFocus={[Function]}
211
- onHTMLContentWithCursor={[Function]}
212
- onKeyDown={[Function]}
213
- onPaste={[Function]}
214
- onSelectionChange={[Function]}
215
- placeholder=""
216
- placeholderTextColor="gray"
217
- selectionColor="black"
218
- style={
219
- {
220
- "backgroundColor": undefined,
221
- "maxWidth": NaN,
222
- "minHeight": 0,
223
- }
188
+ placeholder=""
189
+ placeholderTextColor="gray"
190
+ selectionColor="black"
191
+ style={
192
+ {
193
+ "backgroundColor": undefined,
194
+ "maxWidth": NaN,
195
+ "minHeight": 0,
224
196
  }
225
- text={
226
- {
227
- "eventCount": undefined,
228
- "linkTextColor": undefined,
229
- "selection": null,
230
- "tag": "p",
231
- "text": "<p>Search Button</p>",
232
- }
197
+ }
198
+ text={
199
+ {
200
+ "eventCount": undefined,
201
+ "linkTextColor": undefined,
202
+ "selection": null,
203
+ "tag": "p",
204
+ "text": "<p>Search Button</p>",
233
205
  }
234
- textAlign="center"
235
- triggerKeyCodes={[]}
236
- />
237
- </View>
206
+ }
207
+ textAlign="center"
208
+ triggerKeyCodes={[]}
209
+ />
238
210
  </View>
239
211
  </View>
240
212
  </View>
@@ -261,7 +233,7 @@ exports[`Search Block renders block with icon button option matches snapshot 1`]
261
233
  ]
262
234
  }
263
235
  >
264
- <View
236
+ <RCTAztecView
265
237
  accessibilityState={
266
238
  {
267
239
  "busy": undefined,
@@ -271,71 +243,57 @@ exports[`Search Block renders block with icon button option matches snapshot 1`]
271
243
  "selected": undefined,
272
244
  }
273
245
  }
274
- accessibilityValue={
246
+ accessible={true}
247
+ activeFormats={[]}
248
+ blockType={
275
249
  {
276
- "max": undefined,
277
- "min": undefined,
278
- "now": undefined,
279
- "text": undefined,
250
+ "tag": "p",
280
251
  }
281
252
  }
282
- accessible={false}
283
- collapsable={false}
253
+ disableEditingMenu={false}
284
254
  focusable={true}
255
+ fontFamily="serif"
256
+ fontSize={16}
257
+ isMultiline={false}
258
+ maxImagesWidth={200}
259
+ onBackspace={[Function]}
285
260
  onBlur={[Function]}
261
+ onChange={[Function]}
286
262
  onClick={[Function]}
263
+ onContentSizeChange={[Function]}
264
+ onEnter={[Function]}
287
265
  onFocus={[Function]}
266
+ onHTMLContentWithCursor={[Function]}
267
+ onKeyDown={[Function]}
268
+ onPaste={[Function]}
288
269
  onResponderGrant={[Function]}
289
270
  onResponderMove={[Function]}
290
271
  onResponderRelease={[Function]}
291
272
  onResponderTerminate={[Function]}
292
273
  onResponderTerminationRequest={[Function]}
274
+ onSelectionChange={[Function]}
293
275
  onStartShouldSetResponder={[Function]}
294
- >
295
- <RCTAztecView
296
- activeFormats={[]}
297
- blockType={
298
- {
299
- "tag": "p",
300
- }
301
- }
302
- disableEditingMenu={false}
303
- fontFamily="serif"
304
- fontSize={16}
305
- isMultiline={false}
306
- maxImagesWidth={200}
307
- onBackspace={[Function]}
308
- onBlur={[Function]}
309
- onChange={[Function]}
310
- onContentSizeChange={[Function]}
311
- onEnter={[Function]}
312
- onFocus={[Function]}
313
- onHTMLContentWithCursor={[Function]}
314
- onKeyDown={[Function]}
315
- onPaste={[Function]}
316
- onSelectionChange={[Function]}
317
- placeholder="Add label…"
318
- placeholderTextColor="gray"
319
- selectionColor="black"
320
- style={
321
- {
322
- "backgroundColor": undefined,
323
- "maxWidth": undefined,
324
- "minHeight": 0,
325
- }
276
+ placeholder="Add label…"
277
+ placeholderTextColor="gray"
278
+ selectionColor="black"
279
+ style={
280
+ {
281
+ "backgroundColor": undefined,
282
+ "maxWidth": undefined,
283
+ "minHeight": 0,
326
284
  }
327
- text={
328
- {
329
- "eventCount": undefined,
330
- "linkTextColor": undefined,
331
- "selection": null,
332
- "tag": "p",
333
- "text": "<p>Search</p>",
334
- }
285
+ }
286
+ text={
287
+ {
288
+ "eventCount": undefined,
289
+ "linkTextColor": undefined,
290
+ "selection": null,
291
+ "tag": "p",
292
+ "text": "<p>Search</p>",
335
293
  }
336
- triggerKeyCodes={[]}
337
- />
338
- </View>
294
+ }
295
+ triggerKeyCodes={[]}
296
+ />
339
297
  </View>
340
298
  </View>
341
299
  <View
@@ -470,7 +428,7 @@ exports[`Search Block renders block with label hidden matches snapshot 1`] = `
470
428
  ]
471
429
  }
472
430
  >
473
- <View
431
+ <RCTAztecView
474
432
  accessibilityState={
475
433
  {
476
434
  "busy": undefined,
@@ -480,73 +438,59 @@ exports[`Search Block renders block with label hidden matches snapshot 1`] = `
480
438
  "selected": undefined,
481
439
  }
482
440
  }
483
- accessibilityValue={
441
+ accessible={true}
442
+ activeFormats={[]}
443
+ blockType={
484
444
  {
485
- "max": undefined,
486
- "min": undefined,
487
- "now": undefined,
488
- "text": undefined,
445
+ "tag": "p",
489
446
  }
490
447
  }
491
- accessible={false}
492
- collapsable={false}
448
+ disableEditingMenu={false}
493
449
  focusable={true}
450
+ fontFamily="serif"
451
+ fontSize={16}
452
+ isMultiline={false}
453
+ maxImagesWidth={200}
454
+ minWidth={75}
455
+ onBackspace={[Function]}
494
456
  onBlur={[Function]}
457
+ onChange={[Function]}
495
458
  onClick={[Function]}
459
+ onContentSizeChange={[Function]}
460
+ onEnter={[Function]}
496
461
  onFocus={[Function]}
462
+ onHTMLContentWithCursor={[Function]}
463
+ onKeyDown={[Function]}
464
+ onPaste={[Function]}
497
465
  onResponderGrant={[Function]}
498
466
  onResponderMove={[Function]}
499
467
  onResponderRelease={[Function]}
500
468
  onResponderTerminate={[Function]}
501
469
  onResponderTerminationRequest={[Function]}
470
+ onSelectionChange={[Function]}
502
471
  onStartShouldSetResponder={[Function]}
503
- >
504
- <RCTAztecView
505
- activeFormats={[]}
506
- blockType={
507
- {
508
- "tag": "p",
509
- }
510
- }
511
- disableEditingMenu={false}
512
- fontFamily="serif"
513
- fontSize={16}
514
- isMultiline={false}
515
- maxImagesWidth={200}
516
- minWidth={75}
517
- onBackspace={[Function]}
518
- onBlur={[Function]}
519
- onChange={[Function]}
520
- onContentSizeChange={[Function]}
521
- onEnter={[Function]}
522
- onFocus={[Function]}
523
- onHTMLContentWithCursor={[Function]}
524
- onKeyDown={[Function]}
525
- onPaste={[Function]}
526
- onSelectionChange={[Function]}
527
- placeholder=""
528
- placeholderTextColor="gray"
529
- selectionColor="black"
530
- style={
531
- {
532
- "backgroundColor": undefined,
533
- "maxWidth": NaN,
534
- "minHeight": 0,
535
- }
472
+ placeholder=""
473
+ placeholderTextColor="gray"
474
+ selectionColor="black"
475
+ style={
476
+ {
477
+ "backgroundColor": undefined,
478
+ "maxWidth": NaN,
479
+ "minHeight": 0,
536
480
  }
537
- text={
538
- {
539
- "eventCount": undefined,
540
- "linkTextColor": undefined,
541
- "selection": null,
542
- "tag": "p",
543
- "text": "<p>Search Button</p>",
544
- }
481
+ }
482
+ text={
483
+ {
484
+ "eventCount": undefined,
485
+ "linkTextColor": undefined,
486
+ "selection": null,
487
+ "tag": "p",
488
+ "text": "<p>Search Button</p>",
545
489
  }
546
- textAlign="center"
547
- triggerKeyCodes={[]}
548
- />
549
- </View>
490
+ }
491
+ textAlign="center"
492
+ triggerKeyCodes={[]}
493
+ />
550
494
  </View>
551
495
  </View>
552
496
  </View>
@@ -573,7 +517,7 @@ exports[`Search Block renders with default configuration matches snapshot 1`] =
573
517
  ]
574
518
  }
575
519
  >
576
- <View
520
+ <RCTAztecView
577
521
  accessibilityState={
578
522
  {
579
523
  "busy": undefined,
@@ -583,71 +527,57 @@ exports[`Search Block renders with default configuration matches snapshot 1`] =
583
527
  "selected": undefined,
584
528
  }
585
529
  }
586
- accessibilityValue={
530
+ accessible={true}
531
+ activeFormats={[]}
532
+ blockType={
587
533
  {
588
- "max": undefined,
589
- "min": undefined,
590
- "now": undefined,
591
- "text": undefined,
534
+ "tag": "p",
592
535
  }
593
536
  }
594
- accessible={false}
595
- collapsable={false}
537
+ disableEditingMenu={false}
596
538
  focusable={true}
539
+ fontFamily="serif"
540
+ fontSize={16}
541
+ isMultiline={false}
542
+ maxImagesWidth={200}
543
+ onBackspace={[Function]}
597
544
  onBlur={[Function]}
545
+ onChange={[Function]}
598
546
  onClick={[Function]}
547
+ onContentSizeChange={[Function]}
548
+ onEnter={[Function]}
599
549
  onFocus={[Function]}
550
+ onHTMLContentWithCursor={[Function]}
551
+ onKeyDown={[Function]}
552
+ onPaste={[Function]}
600
553
  onResponderGrant={[Function]}
601
554
  onResponderMove={[Function]}
602
555
  onResponderRelease={[Function]}
603
556
  onResponderTerminate={[Function]}
604
557
  onResponderTerminationRequest={[Function]}
558
+ onSelectionChange={[Function]}
605
559
  onStartShouldSetResponder={[Function]}
606
- >
607
- <RCTAztecView
608
- activeFormats={[]}
609
- blockType={
610
- {
611
- "tag": "p",
612
- }
613
- }
614
- disableEditingMenu={false}
615
- fontFamily="serif"
616
- fontSize={16}
617
- isMultiline={false}
618
- maxImagesWidth={200}
619
- onBackspace={[Function]}
620
- onBlur={[Function]}
621
- onChange={[Function]}
622
- onContentSizeChange={[Function]}
623
- onEnter={[Function]}
624
- onFocus={[Function]}
625
- onHTMLContentWithCursor={[Function]}
626
- onKeyDown={[Function]}
627
- onPaste={[Function]}
628
- onSelectionChange={[Function]}
629
- placeholder="Add label…"
630
- placeholderTextColor="gray"
631
- selectionColor="black"
632
- style={
633
- {
634
- "backgroundColor": undefined,
635
- "maxWidth": undefined,
636
- "minHeight": 0,
637
- }
560
+ placeholder="Add label…"
561
+ placeholderTextColor="gray"
562
+ selectionColor="black"
563
+ style={
564
+ {
565
+ "backgroundColor": undefined,
566
+ "maxWidth": undefined,
567
+ "minHeight": 0,
638
568
  }
639
- text={
640
- {
641
- "eventCount": undefined,
642
- "linkTextColor": undefined,
643
- "selection": null,
644
- "tag": "p",
645
- "text": "<p>Search</p>",
646
- }
569
+ }
570
+ text={
571
+ {
572
+ "eventCount": undefined,
573
+ "linkTextColor": undefined,
574
+ "selection": null,
575
+ "tag": "p",
576
+ "text": "<p>Search</p>",
647
577
  }
648
- triggerKeyCodes={[]}
649
- />
650
- </View>
578
+ }
579
+ triggerKeyCodes={[]}
580
+ />
651
581
  </View>
652
582
  </View>
653
583
  <View
@@ -712,7 +642,7 @@ exports[`Search Block renders with default configuration matches snapshot 1`] =
712
642
  ]
713
643
  }
714
644
  >
715
- <View
645
+ <RCTAztecView
716
646
  accessibilityState={
717
647
  {
718
648
  "busy": undefined,
@@ -722,73 +652,59 @@ exports[`Search Block renders with default configuration matches snapshot 1`] =
722
652
  "selected": undefined,
723
653
  }
724
654
  }
725
- accessibilityValue={
655
+ accessible={true}
656
+ activeFormats={[]}
657
+ blockType={
726
658
  {
727
- "max": undefined,
728
- "min": undefined,
729
- "now": undefined,
730
- "text": undefined,
659
+ "tag": "p",
731
660
  }
732
661
  }
733
- accessible={false}
734
- collapsable={false}
662
+ disableEditingMenu={false}
735
663
  focusable={true}
664
+ fontFamily="serif"
665
+ fontSize={16}
666
+ isMultiline={false}
667
+ maxImagesWidth={200}
668
+ minWidth={75}
669
+ onBackspace={[Function]}
736
670
  onBlur={[Function]}
671
+ onChange={[Function]}
737
672
  onClick={[Function]}
673
+ onContentSizeChange={[Function]}
674
+ onEnter={[Function]}
738
675
  onFocus={[Function]}
676
+ onHTMLContentWithCursor={[Function]}
677
+ onKeyDown={[Function]}
678
+ onPaste={[Function]}
739
679
  onResponderGrant={[Function]}
740
680
  onResponderMove={[Function]}
741
681
  onResponderRelease={[Function]}
742
682
  onResponderTerminate={[Function]}
743
683
  onResponderTerminationRequest={[Function]}
684
+ onSelectionChange={[Function]}
744
685
  onStartShouldSetResponder={[Function]}
745
- >
746
- <RCTAztecView
747
- activeFormats={[]}
748
- blockType={
749
- {
750
- "tag": "p",
751
- }
752
- }
753
- disableEditingMenu={false}
754
- fontFamily="serif"
755
- fontSize={16}
756
- isMultiline={false}
757
- maxImagesWidth={200}
758
- minWidth={75}
759
- onBackspace={[Function]}
760
- onBlur={[Function]}
761
- onChange={[Function]}
762
- onContentSizeChange={[Function]}
763
- onEnter={[Function]}
764
- onFocus={[Function]}
765
- onHTMLContentWithCursor={[Function]}
766
- onKeyDown={[Function]}
767
- onPaste={[Function]}
768
- onSelectionChange={[Function]}
769
- placeholder=""
770
- placeholderTextColor="gray"
771
- selectionColor="black"
772
- style={
773
- {
774
- "backgroundColor": undefined,
775
- "maxWidth": NaN,
776
- "minHeight": 0,
777
- }
686
+ placeholder=""
687
+ placeholderTextColor="gray"
688
+ selectionColor="black"
689
+ style={
690
+ {
691
+ "backgroundColor": undefined,
692
+ "maxWidth": NaN,
693
+ "minHeight": 0,
778
694
  }
779
- text={
780
- {
781
- "eventCount": undefined,
782
- "linkTextColor": undefined,
783
- "selection": null,
784
- "tag": "p",
785
- "text": "<p>Search Button</p>",
786
- }
695
+ }
696
+ text={
697
+ {
698
+ "eventCount": undefined,
699
+ "linkTextColor": undefined,
700
+ "selection": null,
701
+ "tag": "p",
702
+ "text": "<p>Search Button</p>",
787
703
  }
788
- textAlign="center"
789
- triggerKeyCodes={[]}
790
- />
791
- </View>
704
+ }
705
+ textAlign="center"
706
+ triggerKeyCodes={[]}
707
+ />
792
708
  </View>
793
709
  </View>
794
710
  </View>
@@ -815,7 +731,7 @@ exports[`Search Block renders with no-button option matches snapshot 1`] = `
815
731
  ]
816
732
  }
817
733
  >
818
- <View
734
+ <RCTAztecView
819
735
  accessibilityState={
820
736
  {
821
737
  "busy": undefined,
@@ -825,71 +741,57 @@ exports[`Search Block renders with no-button option matches snapshot 1`] = `
825
741
  "selected": undefined,
826
742
  }
827
743
  }
828
- accessibilityValue={
744
+ accessible={true}
745
+ activeFormats={[]}
746
+ blockType={
829
747
  {
830
- "max": undefined,
831
- "min": undefined,
832
- "now": undefined,
833
- "text": undefined,
748
+ "tag": "p",
834
749
  }
835
750
  }
836
- accessible={false}
837
- collapsable={false}
751
+ disableEditingMenu={false}
838
752
  focusable={true}
753
+ fontFamily="serif"
754
+ fontSize={16}
755
+ isMultiline={false}
756
+ maxImagesWidth={200}
757
+ onBackspace={[Function]}
839
758
  onBlur={[Function]}
759
+ onChange={[Function]}
840
760
  onClick={[Function]}
761
+ onContentSizeChange={[Function]}
762
+ onEnter={[Function]}
841
763
  onFocus={[Function]}
764
+ onHTMLContentWithCursor={[Function]}
765
+ onKeyDown={[Function]}
766
+ onPaste={[Function]}
842
767
  onResponderGrant={[Function]}
843
768
  onResponderMove={[Function]}
844
769
  onResponderRelease={[Function]}
845
770
  onResponderTerminate={[Function]}
846
771
  onResponderTerminationRequest={[Function]}
772
+ onSelectionChange={[Function]}
847
773
  onStartShouldSetResponder={[Function]}
848
- >
849
- <RCTAztecView
850
- activeFormats={[]}
851
- blockType={
852
- {
853
- "tag": "p",
854
- }
855
- }
856
- disableEditingMenu={false}
857
- fontFamily="serif"
858
- fontSize={16}
859
- isMultiline={false}
860
- maxImagesWidth={200}
861
- onBackspace={[Function]}
862
- onBlur={[Function]}
863
- onChange={[Function]}
864
- onContentSizeChange={[Function]}
865
- onEnter={[Function]}
866
- onFocus={[Function]}
867
- onHTMLContentWithCursor={[Function]}
868
- onKeyDown={[Function]}
869
- onPaste={[Function]}
870
- onSelectionChange={[Function]}
871
- placeholder="Add label…"
872
- placeholderTextColor="gray"
873
- selectionColor="black"
874
- style={
875
- {
876
- "backgroundColor": undefined,
877
- "maxWidth": undefined,
878
- "minHeight": 0,
879
- }
774
+ placeholder="Add label…"
775
+ placeholderTextColor="gray"
776
+ selectionColor="black"
777
+ style={
778
+ {
779
+ "backgroundColor": undefined,
780
+ "maxWidth": undefined,
781
+ "minHeight": 0,
880
782
  }
881
- text={
882
- {
883
- "eventCount": undefined,
884
- "linkTextColor": undefined,
885
- "selection": null,
886
- "tag": "p",
887
- "text": "<p>Search</p>",
888
- }
783
+ }
784
+ text={
785
+ {
786
+ "eventCount": undefined,
787
+ "linkTextColor": undefined,
788
+ "selection": null,
789
+ "tag": "p",
790
+ "text": "<p>Search</p>",
889
791
  }
890
- triggerKeyCodes={[]}
891
- />
892
- </View>
792
+ }
793
+ triggerKeyCodes={[]}
794
+ />
893
795
  </View>
894
796
  </View>
895
797
  <View