@atlaskit/editor-common 113.0.0 → 114.0.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 (438) hide show
  1. package/CHANGELOG.md +31 -0
  2. package/dist/cjs/ai-messages/ai-autocomplete.js +2 -2
  3. package/dist/cjs/ai-messages/ai-config-items.js +2 -2
  4. package/dist/cjs/ai-messages/ai-definitions.js +2 -2
  5. package/dist/cjs/ai-messages/ai-experience-application.js +2 -2
  6. package/dist/cjs/ai-messages/ai-failed-state.js +2 -2
  7. package/dist/cjs/ai-messages/ai-languages.js +2 -2
  8. package/dist/cjs/ai-messages/ai-proactive-setting.js +2 -2
  9. package/dist/cjs/ai-messages/ai-proactive-transform.js +2 -2
  10. package/dist/cjs/ai-messages/ai-proactive.js +2 -2
  11. package/dist/cjs/ai-messages/ai-quick-prompt.js +2 -2
  12. package/dist/cjs/ai-messages/ai-suggestions.js +2 -2
  13. package/dist/cjs/ai-messages/ai.js +2 -2
  14. package/dist/cjs/block-menu/messages.js +2 -2
  15. package/dist/cjs/element-browser/components/ElementList/EmptyState.js +4 -4
  16. package/dist/cjs/element-browser/components/ElementSearch.js +2 -2
  17. package/dist/cjs/element-browser/components/StatelessElementBrowser.js +2 -2
  18. package/dist/cjs/element-browser/components/ViewMore.js +2 -2
  19. package/dist/cjs/element-browser/messages.js +2 -2
  20. package/dist/cjs/emoji/messages.js +2 -2
  21. package/dist/cjs/extensibility/Extension/Lozenge/EditToggle.js +3 -3
  22. package/dist/cjs/extensibility/Extension/Lozenge/ExtensionLabel.js +3 -3
  23. package/dist/cjs/extensions/UnknownMacroPlaceholder.js +2 -2
  24. package/dist/cjs/extensions/extension-handlers.js +2 -2
  25. package/dist/cjs/extensions/messages.js +3 -3
  26. package/dist/cjs/floating-toolbar/messages.js +2 -2
  27. package/dist/cjs/link/ConfigureLinkOverlay/Dropdown.js +2 -2
  28. package/dist/cjs/link/ConfigureLinkOverlay/index.js +2 -2
  29. package/dist/cjs/link/LinkPicker/HyperlinkAddToolbar/HyperlinkAddToolbar.js +3 -3
  30. package/dist/cjs/link/LinkPicker/HyperlinkAddToolbar/messages.js +2 -2
  31. package/dist/cjs/link/LinkPicker/HyperlinkAddToolbar/utils.js +7 -7
  32. package/dist/cjs/link/LinkSearch/LinkSearchListItem.js +2 -2
  33. package/dist/cjs/link/LinkSearch/index.js +2 -2
  34. package/dist/cjs/link/LinkSearch/listItemAlts.js +2 -2
  35. package/dist/cjs/lists/messages.js +2 -2
  36. package/dist/cjs/media/messages/altText.js +2 -2
  37. package/dist/cjs/media/messages/caption.js +2 -2
  38. package/dist/cjs/media/messages/comments.js +2 -2
  39. package/dist/cjs/media/messages/dropPlaceholder.js +2 -2
  40. package/dist/cjs/media/messages/externalMedia.js +2 -2
  41. package/dist/cjs/media/messages/imageBorder.js +2 -2
  42. package/dist/cjs/media/messages/mediaLinkingToolbar.js +2 -2
  43. package/dist/cjs/media/messages/mediaResizeAnnouncerMess.js +2 -2
  44. package/dist/cjs/media/messages/nodeviews.js +2 -2
  45. package/dist/cjs/media/messages/pixelEntry.js +2 -2
  46. package/dist/cjs/media/messages/toolbarMedia.js +2 -2
  47. package/dist/cjs/media-inline/media-inline-image-card.js +3 -3
  48. package/dist/cjs/media-single/CommentBadgeNext.js +2 -2
  49. package/dist/cjs/media-single/ExternalImageBadge.js +2 -2
  50. package/dist/cjs/messages/alignment.js +2 -2
  51. package/dist/cjs/messages/annotation.js +2 -2
  52. package/dist/cjs/messages/avatar-group.js +2 -2
  53. package/dist/cjs/messages/block-controls.js +2 -2
  54. package/dist/cjs/messages/block-menu.js +2 -2
  55. package/dist/cjs/messages/block-type.js +2 -2
  56. package/dist/cjs/messages/breakout.js +2 -2
  57. package/dist/cjs/messages/card.js +2 -2
  58. package/dist/cjs/messages/codeBidiWarning.js +2 -2
  59. package/dist/cjs/messages/codeBlock.js +2 -2
  60. package/dist/cjs/messages/codeBlockButton.js +2 -2
  61. package/dist/cjs/messages/color-picker-button.js +2 -2
  62. package/dist/cjs/messages/company-hub-text-color.js +2 -2
  63. package/dist/cjs/messages/context-panel.js +2 -2
  64. package/dist/cjs/messages/date.js +2 -2
  65. package/dist/cjs/messages/element-insert-side-panel.js +2 -2
  66. package/dist/cjs/messages/find-replace.js +2 -2
  67. package/dist/cjs/messages/full-page.js +2 -2
  68. package/dist/cjs/messages/help-dialog.js +2 -2
  69. package/dist/cjs/messages/highlight.js +2 -2
  70. package/dist/cjs/messages/indentation.js +2 -2
  71. package/dist/cjs/messages/index.js +2 -2
  72. package/dist/cjs/messages/insert-block.js +2 -2
  73. package/dist/cjs/messages/layout.js +2 -2
  74. package/dist/cjs/messages/limited-mode.js +2 -2
  75. package/dist/cjs/messages/link-toolbar.js +2 -2
  76. package/dist/cjs/messages/link.js +2 -2
  77. package/dist/cjs/messages/list.js +2 -2
  78. package/dist/cjs/messages/media-and-embed-toolbar.js +2 -2
  79. package/dist/cjs/messages/media-editing.js +2 -2
  80. package/dist/cjs/messages/media-inline-card.js +2 -2
  81. package/dist/cjs/messages/media-insert.js +2 -2
  82. package/dist/cjs/messages/mentions.js +2 -2
  83. package/dist/cjs/messages/native-embed-toolbar.js +2 -2
  84. package/dist/cjs/messages/panel.js +2 -2
  85. package/dist/cjs/messages/paste-options-toolbar.js +2 -2
  86. package/dist/cjs/messages/placeholder-text.js +2 -2
  87. package/dist/cjs/messages/roleDescription.js +2 -2
  88. package/dist/cjs/messages/selection-extension.js +2 -2
  89. package/dist/cjs/messages/selection-toolbar.js +2 -2
  90. package/dist/cjs/messages/status.js +2 -2
  91. package/dist/cjs/messages/syncBlock.js +2 -2
  92. package/dist/cjs/messages/table.js +2 -2
  93. package/dist/cjs/messages/tasks-and-decsisions.js +2 -2
  94. package/dist/cjs/messages/text-color.js +2 -2
  95. package/dist/cjs/messages/toolbar.js +2 -2
  96. package/dist/cjs/messages/track-changes.js +2 -2
  97. package/dist/cjs/messages/undo-redo.js +2 -2
  98. package/dist/cjs/messages/unsupportedContent.js +2 -2
  99. package/dist/cjs/monitoring/error.js +1 -1
  100. package/dist/cjs/quick-insert/messages.js +2 -2
  101. package/dist/cjs/resizer/Resizer.js +2 -2
  102. package/dist/cjs/resizer/ResizerBreakoutModeLabel.js +2 -2
  103. package/dist/cjs/table/SortingIcon.js +2 -2
  104. package/dist/cjs/table/messages.js +3 -3
  105. package/dist/cjs/transforms/index.js +6 -0
  106. package/dist/cjs/transforms/list-transforms.js +34 -1
  107. package/dist/cjs/type-ahead/messages.js +2 -2
  108. package/dist/cjs/ui/Caption/index.js +2 -2
  109. package/dist/cjs/ui/Caption/messages.js +2 -2
  110. package/dist/cjs/ui/DropList/index.js +1 -1
  111. package/dist/cjs/ui/Expand/index.js +2 -2
  112. package/dist/cjs/ui/HoverLinkOverlay/index.js +2 -2
  113. package/dist/cjs/ui/IntlErrorBoundary/index.js +3 -3
  114. package/dist/cjs/ui/IntlProviderIfMissingWrapper/index.js +3 -3
  115. package/dist/cjs/ui/Messages/index.js +3 -3
  116. package/dist/cjs/ui/TableSelector/table-selector.js +2 -2
  117. package/dist/cjs/ui/UnsupportedBlock/index.js +2 -2
  118. package/dist/cjs/ui/UnsupportedInline/index.js +2 -2
  119. package/dist/cjs/ui-color/ColorPalette/Palettes/paletteMessages.js +2 -2
  120. package/dist/cjs/ui-color/ColorPalette/Palettes/paletteMessagesTokenModeNames.js +7 -7
  121. package/dist/cjs/ui-color/ColorPalette/index.js +2 -2
  122. package/dist/cjs/ui-menu/ColorPickerButton/index.js +2 -2
  123. package/dist/es2019/ai-messages/ai-autocomplete.js +1 -1
  124. package/dist/es2019/ai-messages/ai-config-items.js +1 -1
  125. package/dist/es2019/ai-messages/ai-definitions.js +1 -1
  126. package/dist/es2019/ai-messages/ai-experience-application.js +1 -1
  127. package/dist/es2019/ai-messages/ai-failed-state.js +1 -1
  128. package/dist/es2019/ai-messages/ai-languages.js +1 -1
  129. package/dist/es2019/ai-messages/ai-proactive-setting.js +1 -1
  130. package/dist/es2019/ai-messages/ai-proactive-transform.js +1 -1
  131. package/dist/es2019/ai-messages/ai-proactive.js +1 -1
  132. package/dist/es2019/ai-messages/ai-quick-prompt.js +1 -1
  133. package/dist/es2019/ai-messages/ai-suggestions.js +1 -1
  134. package/dist/es2019/ai-messages/ai.js +1 -1
  135. package/dist/es2019/block-menu/messages.js +1 -1
  136. package/dist/es2019/element-browser/components/ElementList/EmptyState.js +1 -1
  137. package/dist/es2019/element-browser/components/ElementSearch.js +1 -1
  138. package/dist/es2019/element-browser/components/StatelessElementBrowser.js +1 -1
  139. package/dist/es2019/element-browser/components/ViewMore.js +1 -1
  140. package/dist/es2019/element-browser/messages.js +1 -1
  141. package/dist/es2019/emoji/messages.js +1 -1
  142. package/dist/es2019/extensibility/Extension/Lozenge/EditToggle.js +1 -1
  143. package/dist/es2019/extensibility/Extension/Lozenge/ExtensionLabel.js +1 -1
  144. package/dist/es2019/extensions/UnknownMacroPlaceholder.js +1 -1
  145. package/dist/es2019/extensions/extension-handlers.js +1 -1
  146. package/dist/es2019/extensions/messages.js +1 -1
  147. package/dist/es2019/floating-toolbar/messages.js +1 -1
  148. package/dist/es2019/link/ConfigureLinkOverlay/Dropdown.js +1 -1
  149. package/dist/es2019/link/ConfigureLinkOverlay/index.js +1 -1
  150. package/dist/es2019/link/LinkPicker/HyperlinkAddToolbar/HyperlinkAddToolbar.js +1 -1
  151. package/dist/es2019/link/LinkPicker/HyperlinkAddToolbar/messages.js +1 -1
  152. package/dist/es2019/link/LinkPicker/HyperlinkAddToolbar/utils.js +1 -1
  153. package/dist/es2019/link/LinkSearch/LinkSearchListItem.js +1 -1
  154. package/dist/es2019/link/LinkSearch/index.js +1 -1
  155. package/dist/es2019/link/LinkSearch/listItemAlts.js +1 -1
  156. package/dist/es2019/lists/messages.js +1 -1
  157. package/dist/es2019/media/messages/altText.js +1 -1
  158. package/dist/es2019/media/messages/caption.js +1 -1
  159. package/dist/es2019/media/messages/comments.js +1 -1
  160. package/dist/es2019/media/messages/dropPlaceholder.js +1 -1
  161. package/dist/es2019/media/messages/externalMedia.js +1 -1
  162. package/dist/es2019/media/messages/imageBorder.js +1 -1
  163. package/dist/es2019/media/messages/mediaLinkingToolbar.js +1 -1
  164. package/dist/es2019/media/messages/mediaResizeAnnouncerMess.js +1 -1
  165. package/dist/es2019/media/messages/nodeviews.js +1 -1
  166. package/dist/es2019/media/messages/pixelEntry.js +1 -1
  167. package/dist/es2019/media/messages/toolbarMedia.js +1 -1
  168. package/dist/es2019/media-inline/media-inline-image-card.js +1 -1
  169. package/dist/es2019/media-single/CommentBadgeNext.js +1 -1
  170. package/dist/es2019/media-single/ExternalImageBadge.js +1 -1
  171. package/dist/es2019/messages/alignment.js +1 -1
  172. package/dist/es2019/messages/annotation.js +1 -1
  173. package/dist/es2019/messages/avatar-group.js +1 -1
  174. package/dist/es2019/messages/block-controls.js +1 -1
  175. package/dist/es2019/messages/block-menu.js +1 -1
  176. package/dist/es2019/messages/block-type.js +1 -1
  177. package/dist/es2019/messages/breakout.js +1 -1
  178. package/dist/es2019/messages/card.js +1 -1
  179. package/dist/es2019/messages/codeBidiWarning.js +1 -1
  180. package/dist/es2019/messages/codeBlock.js +1 -1
  181. package/dist/es2019/messages/codeBlockButton.js +1 -1
  182. package/dist/es2019/messages/color-picker-button.js +1 -1
  183. package/dist/es2019/messages/company-hub-text-color.js +1 -1
  184. package/dist/es2019/messages/context-panel.js +1 -1
  185. package/dist/es2019/messages/date.js +1 -1
  186. package/dist/es2019/messages/element-insert-side-panel.js +1 -1
  187. package/dist/es2019/messages/find-replace.js +1 -1
  188. package/dist/es2019/messages/full-page.js +1 -1
  189. package/dist/es2019/messages/help-dialog.js +1 -1
  190. package/dist/es2019/messages/highlight.js +1 -1
  191. package/dist/es2019/messages/indentation.js +1 -1
  192. package/dist/es2019/messages/index.js +1 -1
  193. package/dist/es2019/messages/insert-block.js +1 -1
  194. package/dist/es2019/messages/layout.js +1 -1
  195. package/dist/es2019/messages/limited-mode.js +1 -1
  196. package/dist/es2019/messages/link-toolbar.js +1 -1
  197. package/dist/es2019/messages/link.js +1 -1
  198. package/dist/es2019/messages/list.js +1 -1
  199. package/dist/es2019/messages/media-and-embed-toolbar.js +1 -1
  200. package/dist/es2019/messages/media-editing.js +1 -1
  201. package/dist/es2019/messages/media-inline-card.js +1 -1
  202. package/dist/es2019/messages/media-insert.js +1 -1
  203. package/dist/es2019/messages/mentions.js +1 -1
  204. package/dist/es2019/messages/native-embed-toolbar.js +1 -1
  205. package/dist/es2019/messages/panel.js +1 -1
  206. package/dist/es2019/messages/paste-options-toolbar.js +1 -1
  207. package/dist/es2019/messages/placeholder-text.js +1 -1
  208. package/dist/es2019/messages/roleDescription.js +1 -1
  209. package/dist/es2019/messages/selection-extension.js +1 -1
  210. package/dist/es2019/messages/selection-toolbar.js +1 -1
  211. package/dist/es2019/messages/status.js +1 -1
  212. package/dist/es2019/messages/syncBlock.js +1 -1
  213. package/dist/es2019/messages/table.js +1 -1
  214. package/dist/es2019/messages/tasks-and-decsisions.js +1 -1
  215. package/dist/es2019/messages/text-color.js +1 -1
  216. package/dist/es2019/messages/toolbar.js +1 -1
  217. package/dist/es2019/messages/track-changes.js +1 -1
  218. package/dist/es2019/messages/undo-redo.js +1 -1
  219. package/dist/es2019/messages/unsupportedContent.js +1 -1
  220. package/dist/es2019/monitoring/error.js +1 -1
  221. package/dist/es2019/quick-insert/messages.js +1 -1
  222. package/dist/es2019/resizer/Resizer.js +1 -1
  223. package/dist/es2019/resizer/ResizerBreakoutModeLabel.js +1 -1
  224. package/dist/es2019/table/SortingIcon.js +1 -1
  225. package/dist/es2019/table/messages.js +1 -1
  226. package/dist/es2019/transforms/index.js +1 -1
  227. package/dist/es2019/transforms/list-transforms.js +34 -0
  228. package/dist/es2019/type-ahead/messages.js +1 -1
  229. package/dist/es2019/ui/Caption/index.js +1 -1
  230. package/dist/es2019/ui/Caption/messages.js +1 -1
  231. package/dist/es2019/ui/DropList/index.js +1 -1
  232. package/dist/es2019/ui/Expand/index.js +1 -1
  233. package/dist/es2019/ui/HoverLinkOverlay/index.js +1 -1
  234. package/dist/es2019/ui/IntlErrorBoundary/index.js +2 -2
  235. package/dist/es2019/ui/IntlProviderIfMissingWrapper/index.js +1 -1
  236. package/dist/es2019/ui/Messages/index.js +1 -1
  237. package/dist/es2019/ui/TableSelector/table-selector.js +1 -1
  238. package/dist/es2019/ui/UnsupportedBlock/index.js +1 -1
  239. package/dist/es2019/ui/UnsupportedInline/index.js +1 -1
  240. package/dist/es2019/ui-color/ColorPalette/Palettes/paletteMessages.js +1 -1
  241. package/dist/es2019/ui-color/ColorPalette/Palettes/paletteMessagesTokenModeNames.js +1 -1
  242. package/dist/es2019/ui-color/ColorPalette/index.js +1 -1
  243. package/dist/es2019/ui-menu/ColorPickerButton/index.js +1 -1
  244. package/dist/esm/ai-messages/ai-autocomplete.js +1 -1
  245. package/dist/esm/ai-messages/ai-config-items.js +1 -1
  246. package/dist/esm/ai-messages/ai-definitions.js +1 -1
  247. package/dist/esm/ai-messages/ai-experience-application.js +1 -1
  248. package/dist/esm/ai-messages/ai-failed-state.js +1 -1
  249. package/dist/esm/ai-messages/ai-languages.js +1 -1
  250. package/dist/esm/ai-messages/ai-proactive-setting.js +1 -1
  251. package/dist/esm/ai-messages/ai-proactive-transform.js +1 -1
  252. package/dist/esm/ai-messages/ai-proactive.js +1 -1
  253. package/dist/esm/ai-messages/ai-quick-prompt.js +1 -1
  254. package/dist/esm/ai-messages/ai-suggestions.js +1 -1
  255. package/dist/esm/ai-messages/ai.js +1 -1
  256. package/dist/esm/block-menu/messages.js +1 -1
  257. package/dist/esm/element-browser/components/ElementList/EmptyState.js +1 -1
  258. package/dist/esm/element-browser/components/ElementSearch.js +1 -1
  259. package/dist/esm/element-browser/components/StatelessElementBrowser.js +1 -1
  260. package/dist/esm/element-browser/components/ViewMore.js +1 -1
  261. package/dist/esm/element-browser/messages.js +1 -1
  262. package/dist/esm/emoji/messages.js +1 -1
  263. package/dist/esm/extensibility/Extension/Lozenge/EditToggle.js +1 -1
  264. package/dist/esm/extensibility/Extension/Lozenge/ExtensionLabel.js +1 -1
  265. package/dist/esm/extensions/UnknownMacroPlaceholder.js +1 -1
  266. package/dist/esm/extensions/extension-handlers.js +1 -1
  267. package/dist/esm/extensions/messages.js +1 -1
  268. package/dist/esm/floating-toolbar/messages.js +1 -1
  269. package/dist/esm/link/ConfigureLinkOverlay/Dropdown.js +1 -1
  270. package/dist/esm/link/ConfigureLinkOverlay/index.js +1 -1
  271. package/dist/esm/link/LinkPicker/HyperlinkAddToolbar/HyperlinkAddToolbar.js +1 -1
  272. package/dist/esm/link/LinkPicker/HyperlinkAddToolbar/messages.js +1 -1
  273. package/dist/esm/link/LinkPicker/HyperlinkAddToolbar/utils.js +1 -1
  274. package/dist/esm/link/LinkSearch/LinkSearchListItem.js +1 -1
  275. package/dist/esm/link/LinkSearch/index.js +1 -1
  276. package/dist/esm/link/LinkSearch/listItemAlts.js +1 -1
  277. package/dist/esm/lists/messages.js +1 -1
  278. package/dist/esm/media/messages/altText.js +1 -1
  279. package/dist/esm/media/messages/caption.js +1 -1
  280. package/dist/esm/media/messages/comments.js +1 -1
  281. package/dist/esm/media/messages/dropPlaceholder.js +1 -1
  282. package/dist/esm/media/messages/externalMedia.js +1 -1
  283. package/dist/esm/media/messages/imageBorder.js +1 -1
  284. package/dist/esm/media/messages/mediaLinkingToolbar.js +1 -1
  285. package/dist/esm/media/messages/mediaResizeAnnouncerMess.js +1 -1
  286. package/dist/esm/media/messages/nodeviews.js +1 -1
  287. package/dist/esm/media/messages/pixelEntry.js +1 -1
  288. package/dist/esm/media/messages/toolbarMedia.js +1 -1
  289. package/dist/esm/media-inline/media-inline-image-card.js +1 -1
  290. package/dist/esm/media-single/CommentBadgeNext.js +1 -1
  291. package/dist/esm/media-single/ExternalImageBadge.js +1 -1
  292. package/dist/esm/messages/alignment.js +1 -1
  293. package/dist/esm/messages/annotation.js +1 -1
  294. package/dist/esm/messages/avatar-group.js +1 -1
  295. package/dist/esm/messages/block-controls.js +1 -1
  296. package/dist/esm/messages/block-menu.js +1 -1
  297. package/dist/esm/messages/block-type.js +1 -1
  298. package/dist/esm/messages/breakout.js +1 -1
  299. package/dist/esm/messages/card.js +1 -1
  300. package/dist/esm/messages/codeBidiWarning.js +1 -1
  301. package/dist/esm/messages/codeBlock.js +1 -1
  302. package/dist/esm/messages/codeBlockButton.js +1 -1
  303. package/dist/esm/messages/color-picker-button.js +1 -1
  304. package/dist/esm/messages/company-hub-text-color.js +1 -1
  305. package/dist/esm/messages/context-panel.js +1 -1
  306. package/dist/esm/messages/date.js +1 -1
  307. package/dist/esm/messages/element-insert-side-panel.js +1 -1
  308. package/dist/esm/messages/find-replace.js +1 -1
  309. package/dist/esm/messages/full-page.js +1 -1
  310. package/dist/esm/messages/help-dialog.js +1 -1
  311. package/dist/esm/messages/highlight.js +1 -1
  312. package/dist/esm/messages/indentation.js +1 -1
  313. package/dist/esm/messages/index.js +1 -1
  314. package/dist/esm/messages/insert-block.js +1 -1
  315. package/dist/esm/messages/layout.js +1 -1
  316. package/dist/esm/messages/limited-mode.js +1 -1
  317. package/dist/esm/messages/link-toolbar.js +1 -1
  318. package/dist/esm/messages/link.js +1 -1
  319. package/dist/esm/messages/list.js +1 -1
  320. package/dist/esm/messages/media-and-embed-toolbar.js +1 -1
  321. package/dist/esm/messages/media-editing.js +1 -1
  322. package/dist/esm/messages/media-inline-card.js +1 -1
  323. package/dist/esm/messages/media-insert.js +1 -1
  324. package/dist/esm/messages/mentions.js +1 -1
  325. package/dist/esm/messages/native-embed-toolbar.js +1 -1
  326. package/dist/esm/messages/panel.js +1 -1
  327. package/dist/esm/messages/paste-options-toolbar.js +1 -1
  328. package/dist/esm/messages/placeholder-text.js +1 -1
  329. package/dist/esm/messages/roleDescription.js +1 -1
  330. package/dist/esm/messages/selection-extension.js +1 -1
  331. package/dist/esm/messages/selection-toolbar.js +1 -1
  332. package/dist/esm/messages/status.js +1 -1
  333. package/dist/esm/messages/syncBlock.js +1 -1
  334. package/dist/esm/messages/table.js +1 -1
  335. package/dist/esm/messages/tasks-and-decsisions.js +1 -1
  336. package/dist/esm/messages/text-color.js +1 -1
  337. package/dist/esm/messages/toolbar.js +1 -1
  338. package/dist/esm/messages/track-changes.js +1 -1
  339. package/dist/esm/messages/undo-redo.js +1 -1
  340. package/dist/esm/messages/unsupportedContent.js +1 -1
  341. package/dist/esm/monitoring/error.js +1 -1
  342. package/dist/esm/quick-insert/messages.js +1 -1
  343. package/dist/esm/resizer/Resizer.js +1 -1
  344. package/dist/esm/resizer/ResizerBreakoutModeLabel.js +1 -1
  345. package/dist/esm/table/SortingIcon.js +1 -1
  346. package/dist/esm/table/messages.js +1 -1
  347. package/dist/esm/transforms/index.js +1 -1
  348. package/dist/esm/transforms/list-transforms.js +33 -0
  349. package/dist/esm/type-ahead/messages.js +1 -1
  350. package/dist/esm/ui/Caption/index.js +1 -1
  351. package/dist/esm/ui/Caption/messages.js +1 -1
  352. package/dist/esm/ui/DropList/index.js +1 -1
  353. package/dist/esm/ui/Expand/index.js +1 -1
  354. package/dist/esm/ui/HoverLinkOverlay/index.js +1 -1
  355. package/dist/esm/ui/IntlErrorBoundary/index.js +2 -2
  356. package/dist/esm/ui/IntlProviderIfMissingWrapper/index.js +1 -1
  357. package/dist/esm/ui/Messages/index.js +1 -1
  358. package/dist/esm/ui/TableSelector/table-selector.js +1 -1
  359. package/dist/esm/ui/UnsupportedBlock/index.js +1 -1
  360. package/dist/esm/ui/UnsupportedInline/index.js +1 -1
  361. package/dist/esm/ui-color/ColorPalette/Palettes/paletteMessages.js +1 -1
  362. package/dist/esm/ui-color/ColorPalette/Palettes/paletteMessagesTokenModeNames.js +1 -1
  363. package/dist/esm/ui-color/ColorPalette/index.js +1 -1
  364. package/dist/esm/ui-menu/ColorPickerButton/index.js +1 -1
  365. package/dist/types/card/MediaAndEmbedsToolbar/index.d.ts +1 -1
  366. package/dist/types/card/link-toolbar-button-group-options.d.ts +1 -1
  367. package/dist/types/card/link-toolbar-dropdown-options.d.ts +1 -1
  368. package/dist/types/card/types.d.ts +1 -1
  369. package/dist/types/element-browser/components/ElementSearch.d.ts +1 -1
  370. package/dist/types/floating-toolbar/DropdownMenuExtensionItems.d.ts +1 -1
  371. package/dist/types/floating-toolbar/DropdownMenuItem.d.ts +1 -1
  372. package/dist/types/link/LinkPicker/HyperlinkAddToolbar/HyperlinkAddToolbar.d.ts +1 -1
  373. package/dist/types/link/LinkSearch/LinkSearchListItem.d.ts +1 -1
  374. package/dist/types/link/LinkSearch/listItemAlts.d.ts +1 -1
  375. package/dist/types/link/LinkSearch/transformTimeStamp.d.ts +1 -1
  376. package/dist/types/media-inline/media-inline-image-card.d.ts +1 -1
  377. package/dist/types/media-single/CommentBadge.d.ts +1 -1
  378. package/dist/types/quick-insert/utils.d.ts +1 -1
  379. package/dist/types/table/SortingIcon.d.ts +1 -1
  380. package/dist/types/transforms/index.d.ts +1 -1
  381. package/dist/types/transforms/list-transforms.d.ts +9 -1
  382. package/dist/types/types/copy-button.d.ts +1 -1
  383. package/dist/types/types/editor-react-context.d.ts +1 -1
  384. package/dist/types/types/floating-toolbar.d.ts +1 -1
  385. package/dist/types/types/index.d.ts +1 -1
  386. package/dist/types/types/plugin-factory.d.ts +1 -1
  387. package/dist/types/types/quick-insert.d.ts +1 -1
  388. package/dist/types/types/selection-toolbar.d.ts +1 -1
  389. package/dist/types/types/type-ahead.d.ts +1 -1
  390. package/dist/types/ui/Caption/index.d.ts +1 -1
  391. package/dist/types/ui/TableSelector/table-selector.d.ts +1 -1
  392. package/dist/types/ui/UnsupportedBlock/index.d.ts +1 -1
  393. package/dist/types/ui/UnsupportedInline/index.d.ts +1 -1
  394. package/dist/types/ui/unsupported-content-helper.d.ts +1 -1
  395. package/dist/types/ui-color/ColorPalette/Palettes/getColorMessage.d.ts +1 -1
  396. package/dist/types/ui-color/ColorPalette/Palettes/textColorPalette.d.ts +1 -1
  397. package/dist/types/ui-color/ColorPalette/Palettes/type.d.ts +1 -1
  398. package/dist/types/ui-color/ColorPalette/index.d.ts +1 -1
  399. package/dist/types/ui-menu/ToolbarArrowKeyNavigationProvider/index.d.ts +1 -1
  400. package/dist/types/utils/date.d.ts +1 -1
  401. package/dist/types-ts4.5/card/MediaAndEmbedsToolbar/index.d.ts +1 -1
  402. package/dist/types-ts4.5/card/link-toolbar-button-group-options.d.ts +1 -1
  403. package/dist/types-ts4.5/card/link-toolbar-dropdown-options.d.ts +1 -1
  404. package/dist/types-ts4.5/card/types.d.ts +1 -1
  405. package/dist/types-ts4.5/element-browser/components/ElementSearch.d.ts +1 -1
  406. package/dist/types-ts4.5/floating-toolbar/DropdownMenuExtensionItems.d.ts +1 -1
  407. package/dist/types-ts4.5/floating-toolbar/DropdownMenuItem.d.ts +1 -1
  408. package/dist/types-ts4.5/link/LinkPicker/HyperlinkAddToolbar/HyperlinkAddToolbar.d.ts +1 -1
  409. package/dist/types-ts4.5/link/LinkSearch/LinkSearchListItem.d.ts +1 -1
  410. package/dist/types-ts4.5/link/LinkSearch/listItemAlts.d.ts +1 -1
  411. package/dist/types-ts4.5/link/LinkSearch/transformTimeStamp.d.ts +1 -1
  412. package/dist/types-ts4.5/media-inline/media-inline-image-card.d.ts +1 -1
  413. package/dist/types-ts4.5/media-single/CommentBadge.d.ts +1 -1
  414. package/dist/types-ts4.5/quick-insert/utils.d.ts +1 -1
  415. package/dist/types-ts4.5/table/SortingIcon.d.ts +1 -1
  416. package/dist/types-ts4.5/transforms/index.d.ts +1 -1
  417. package/dist/types-ts4.5/transforms/list-transforms.d.ts +9 -1
  418. package/dist/types-ts4.5/types/copy-button.d.ts +1 -1
  419. package/dist/types-ts4.5/types/editor-react-context.d.ts +1 -1
  420. package/dist/types-ts4.5/types/floating-toolbar.d.ts +1 -1
  421. package/dist/types-ts4.5/types/index.d.ts +1 -1
  422. package/dist/types-ts4.5/types/plugin-factory.d.ts +1 -1
  423. package/dist/types-ts4.5/types/quick-insert.d.ts +1 -1
  424. package/dist/types-ts4.5/types/selection-toolbar.d.ts +1 -1
  425. package/dist/types-ts4.5/types/type-ahead.d.ts +1 -1
  426. package/dist/types-ts4.5/ui/Caption/index.d.ts +1 -1
  427. package/dist/types-ts4.5/ui/TableSelector/table-selector.d.ts +1 -1
  428. package/dist/types-ts4.5/ui/UnsupportedBlock/index.d.ts +1 -1
  429. package/dist/types-ts4.5/ui/UnsupportedInline/index.d.ts +1 -1
  430. package/dist/types-ts4.5/ui/unsupported-content-helper.d.ts +1 -1
  431. package/dist/types-ts4.5/ui-color/ColorPalette/Palettes/getColorMessage.d.ts +1 -1
  432. package/dist/types-ts4.5/ui-color/ColorPalette/Palettes/textColorPalette.d.ts +1 -1
  433. package/dist/types-ts4.5/ui-color/ColorPalette/Palettes/type.d.ts +1 -1
  434. package/dist/types-ts4.5/ui-color/ColorPalette/index.d.ts +1 -1
  435. package/dist/types-ts4.5/ui-menu/ToolbarArrowKeyNavigationProvider/index.d.ts +1 -1
  436. package/dist/types-ts4.5/utils/date.d.ts +1 -1
  437. package/package.json +4 -3
  438. package/report.api.md +1 -1
@@ -1,4 +1,4 @@
1
- import { defineMessages } from 'react-intl-next';
1
+ import { defineMessages } from 'react-intl';
2
2
  export var syncBlockMessages = defineMessages({
3
3
  copySyncBlockLabel: {
4
4
  id: 'fabric.editor.copySyncBlock',
@@ -1,4 +1,4 @@
1
- import { defineMessages } from 'react-intl-next';
1
+ import { defineMessages } from 'react-intl';
2
2
  export var messages = defineMessages({
3
3
  tableScrollRegion: {
4
4
  id: 'fabric.editor.tableScrollRegion',
@@ -1,4 +1,4 @@
1
- import { defineMessages } from 'react-intl-next';
1
+ import { defineMessages } from 'react-intl';
2
2
  export var tasksAndDecisionsMessages = defineMessages({
3
3
  taskPlaceholder: {
4
4
  id: 'fabric.editor.taskPlaceholder',
@@ -1,4 +1,4 @@
1
- import { defineMessages } from 'react-intl-next';
1
+ import { defineMessages } from 'react-intl';
2
2
  export var textColorMessages = defineMessages({
3
3
  textColor: {
4
4
  id: 'fabric.editor.textColor',
@@ -1,4 +1,4 @@
1
- import { defineMessages } from 'react-intl-next';
1
+ import { defineMessages } from 'react-intl';
2
2
  export var toolbarMessages = defineMessages({
3
3
  underline: {
4
4
  id: 'fabric.editor.underline',
@@ -1,4 +1,4 @@
1
- import { defineMessages } from 'react-intl-next';
1
+ import { defineMessages } from 'react-intl';
2
2
  export var trackChangesMessages = defineMessages({
3
3
  toolbarIconLabel: {
4
4
  id: 'editor.trackChanges.toolbarIconLabel',
@@ -1,4 +1,4 @@
1
- import { defineMessages } from 'react-intl-next';
1
+ import { defineMessages } from 'react-intl';
2
2
  export var messages = defineMessages({
3
3
  undo: {
4
4
  id: 'fabric.editor.undo',
@@ -1,4 +1,4 @@
1
- import { defineMessages } from 'react-intl-next';
1
+ import { defineMessages } from 'react-intl';
2
2
  export var unsupportedContentMessages = defineMessages({
3
3
  unsupportedInlineContent: {
4
4
  id: 'fabric.editor.unsupportedInlineContent',
@@ -10,7 +10,7 @@ import { isFedRamp } from './environment';
10
10
  import { normaliseSentryBreadcrumbs, SERIALIZABLE_ATTRIBUTES } from './normalise-sentry-breadcrumbs';
11
11
  var SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
12
12
  var packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
13
- var packageVersion = "112.22.0";
13
+ var packageVersion = "113.0.1";
14
14
  var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
15
15
  // Remove URL as it has UGC
16
16
  // Ignored via go/ees007
@@ -1,4 +1,4 @@
1
- import { defineMessages } from 'react-intl-next';
1
+ import { defineMessages } from 'react-intl';
2
2
  export var messages = defineMessages({
3
3
  help: {
4
4
  id: 'fabric.editor.elementBrowser.help',
@@ -8,7 +8,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
8
8
  import React, { forwardRef, useCallback, useImperativeHandle, useMemo, useRef, useState } from 'react';
9
9
  import classnames from 'classnames';
10
10
  import { Resizable } from 're-resizable';
11
- import { useIntl } from 'react-intl-next';
11
+ import { useIntl } from 'react-intl';
12
12
 
13
13
  // eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
14
14
  import { Box, xcss } from '@atlaskit/primitives';
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { useIntl } from 'react-intl-next';
2
+ import { useIntl } from 'react-intl';
3
3
 
4
4
  // eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
5
5
  import { Box, Inline, xcss } from '@atlaskit/primitives';
@@ -8,7 +8,7 @@ var _templateObject, _templateObject2;
8
8
 
9
9
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
10
10
  import { css, jsx } from '@emotion/react';
11
- import { injectIntl } from 'react-intl-next';
11
+ import { injectIntl } from 'react-intl';
12
12
  import Tooltip from '@atlaskit/tooltip';
13
13
  import { SortOrder } from '../types';
14
14
  import { SORTABLE_COLUMN_ICON_CLASSNAME } from './consts';
@@ -1,4 +1,4 @@
1
- import { defineMessages } from 'react-intl-next';
1
+ import { defineMessages } from 'react-intl';
2
2
  export var sortingIconMessages = defineMessages({
3
3
  noOrderLabel: {
4
4
  id: 'fabric.editor.headingLink.noOrderLabel',
@@ -6,6 +6,6 @@ export { findExpand, transformSliceToRemoveOpenExpand, transformSliceToRemoveOpe
6
6
  export { transformSliceToRemoveOpenBodiedExtension, transformSliceToRemoveOpenMultiBodiedExtension, transformSliceToRemoveLegacyContentMacro, transformSliceToRemoveMacroId } from './extension';
7
7
  export { transformSliceToJoinAdjacentCodeBlocks, transformSingleLineCodeBlockToCodeMark, findCodeBlock } from './code-block';
8
8
  export { transformSliceToDecisionList } from './decision-list';
9
- export { createBlockTaskItem, transformListStructure, transformBetweenListTypes, transformListRecursively, transformToTaskList, transformTaskListToBlockNodes, getFormattedNode } from './list-transforms';
9
+ export { createBlockTaskItem, transformListStructure, transformBetweenListTypes, transformListRecursively, transformToTaskList, transformTaskListToBlockNodes, getFormattedNode, transformSliceEnsureListItemParagraphFirst } from './list-transforms';
10
10
  export { isBulletOrOrderedList, isTaskList, getSupportedListTypesSet, convertBlockToInlineContent } from './list-utils';
11
11
  export { removeBreakoutFromRendererSyncBlockHTML } from './sync-block';
@@ -8,6 +8,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
8
8
  import { Fragment, Slice } from '@atlaskit/editor-prosemirror/model';
9
9
  import { findChildrenByType, findParentNodeOfType, findSelectedNodeOfType } from '@atlaskit/editor-prosemirror/utils';
10
10
  import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
11
+ import { mapSlice } from '../utils/slice';
11
12
  import { getSupportedListTypesSet, isBulletOrOrderedList, isTaskList, convertBlockToInlineContent } from './list-utils';
12
13
  var getContentSupportChecker = function getContentSupportChecker(targetNodeType) {
13
14
  return function (node) {
@@ -430,4 +431,36 @@ export var getFormattedNode = function getFormattedNode(tr) {
430
431
  node: nodeToFormat,
431
432
  pos: nodePos
432
433
  };
434
+ };
435
+
436
+ /**
437
+ * Ensures every `listItem` in a slice starts with a paragraph.
438
+ *
439
+ * @param slice - The slice to transform
440
+ * @param schema - The editor schema, used to create new paragraph nodes
441
+ * @returns A new slice with the transformation applied
442
+ */
443
+ export var transformSliceEnsureListItemParagraphFirst = function transformSliceEnsureListItemParagraphFirst(slice, schema) {
444
+ var _schema$nodes3 = schema.nodes,
445
+ listItem = _schema$nodes3.listItem,
446
+ paragraph = _schema$nodes3.paragraph;
447
+ if (!listItem || !paragraph) {
448
+ return slice;
449
+ }
450
+ return mapSlice(slice, function (node) {
451
+ if (node.type === listItem) {
452
+ var firstChild = node.firstChild;
453
+ if (firstChild && firstChild.type !== paragraph) {
454
+ var emptyParagraph = paragraph.createAndFill();
455
+ if (emptyParagraph) {
456
+ var children = [emptyParagraph];
457
+ for (var i = 0; i < node.childCount; i++) {
458
+ children.push(node.child(i));
459
+ }
460
+ return node.copy(Fragment.from(children));
461
+ }
462
+ }
463
+ }
464
+ return node;
465
+ });
433
466
  };
@@ -1,4 +1,4 @@
1
- import { defineMessages } from 'react-intl-next';
1
+ import { defineMessages } from 'react-intl';
2
2
  export var typeAheadListMessages = defineMessages({
3
3
  typeAheadPopupLabel: {
4
4
  id: 'fabric.editor.typeAhead.popupLabel',
@@ -14,7 +14,7 @@ import React from 'react';
14
14
 
15
15
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled, @typescript-eslint/consistent-type-imports -- Ignored via go/DSP-18766; jsx required at runtime for @jsxRuntime classic
16
16
  import { css, jsx } from '@emotion/react';
17
- import { injectIntl } from 'react-intl-next';
17
+ import { injectIntl } from 'react-intl';
18
18
 
19
19
  // eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
20
20
  import { Box, Text, xcss } from '@atlaskit/primitives';
@@ -1,4 +1,4 @@
1
- import { defineMessages } from 'react-intl-next';
1
+ import { defineMessages } from 'react-intl';
2
2
  export var messages = defineMessages({
3
3
  placeholder: {
4
4
  id: 'fabric.editor.captionPlaceholder',
@@ -21,7 +21,7 @@ import withAnalyticsEvents from '@atlaskit/analytics-next/withAnalyticsEvents';
21
21
  import { fg } from '@atlaskit/platform-feature-flags';
22
22
  import Layer from '../Layer';
23
23
  var packageName = "@atlaskit/editor-common";
24
- var packageVersion = "112.22.0";
24
+ var packageVersion = "113.0.1";
25
25
  var halfFocusRing = 1;
26
26
  var dropOffset = '0, 8';
27
27
  var fadeIn = keyframes({
@@ -11,7 +11,7 @@ import React, { forwardRef } from 'react';
11
11
 
12
12
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled, @typescript-eslint/consistent-type-imports -- Ignored via go/DSP-18766; jsx required at runtime for @jsxRuntime classic
13
13
  import { css, jsx } from '@emotion/react';
14
- import { defineMessages } from 'react-intl-next';
14
+ import { defineMessages } from 'react-intl';
15
15
  import { akEditorSwoopCubicBezier } from '@atlaskit/editor-shared-styles';
16
16
  export var messages = defineMessages({
17
17
  loading: {
@@ -9,7 +9,7 @@ import React, { useLayoutEffect, useRef, useState } from 'react';
9
9
 
10
10
  // eslint-disable-next-line @typescript-eslint/consistent-type-imports -- jsx required at runtime for @jsxRuntime classic
11
11
  import { css, jsx } from '@emotion/react'; // eslint-disable-line @atlaskit/ui-styling-standard/use-compiled
12
- import { useIntl } from 'react-intl-next';
12
+ import { useIntl } from 'react-intl';
13
13
  import { NodeSelection } from '@atlaskit/editor-prosemirror/state';
14
14
  import { akEditorFullPageDefaultFontSize, akEditorFullPageDenseFontSize } from '@atlaskit/editor-shared-styles';
15
15
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
@@ -7,7 +7,7 @@ import _defineProperty from "@babel/runtime/helpers/defineProperty";
7
7
  function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }
8
8
  function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
9
9
  import React from 'react';
10
- import { IntlProvider } from 'react-intl-next';
10
+ import { IntlProvider } from 'react-intl';
11
11
  export var REACT_INTL_ERROR_MESSAGE = '<IntlProvider> needs to exist in the component ancestry';
12
12
  var isMissingIntlProviderInAncestryError = function isMissingIntlProviderInAncestryError(err) {
13
13
  var _err$toString;
@@ -39,7 +39,7 @@ export var IntlErrorBoundary = /*#__PURE__*/function (_React$Component) {
39
39
  missingIntlProviderInAncestry: true
40
40
  });
41
41
  } else {
42
- // else we re-propagate the non-react-intl-next error
42
+ // else we re-propagate the non-react-intl error
43
43
  throw error;
44
44
  }
45
45
  }
@@ -1,5 +1,5 @@
1
1
  import React, { useContext } from 'react';
2
- import { IntlContext, IntlProvider } from 'react-intl-next';
2
+ import { IntlContext, IntlProvider } from 'react-intl';
3
3
  var useCheckIntlContext = function useCheckIntlContext() {
4
4
  return useContext(IntlContext) === null;
5
5
  };
@@ -5,7 +5,7 @@
5
5
 
6
6
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled, @typescript-eslint/consistent-type-imports -- Ignored via go/DSP-18766; jsx required at runtime for @jsxRuntime classic
7
7
  import { css, jsx } from '@emotion/react';
8
- import { useIntl } from 'react-intl-next';
8
+ import { useIntl } from 'react-intl';
9
9
  import ErrorIcon from '@atlaskit/icon/core/status-error';
10
10
  import SuccessIcon from '@atlaskit/icon/core/status-success';
11
11
  import commonMessages from '../../messages';
@@ -5,7 +5,7 @@
5
5
  import { useContext, useEffect, useMemo, useRef } from 'react';
6
6
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
7
7
  import { css, jsx } from '@emotion/react';
8
- import { injectIntl } from 'react-intl-next';
8
+ import { injectIntl } from 'react-intl';
9
9
  import { Stack } from '@atlaskit/primitives/compiled';
10
10
  import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
11
11
  import { toolbarInsertBlockMessages as messages } from '../../messages';
@@ -6,7 +6,7 @@ import React, { useCallback, useRef } from 'react';
6
6
 
7
7
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
8
8
  import { css, jsx } from '@emotion/react';
9
- import { injectIntl } from 'react-intl-next';
9
+ import { injectIntl } from 'react-intl';
10
10
  import { relativeFontSizeToBase16 } from '@atlaskit/editor-shared-styles';
11
11
  import QuestionsIcon from '@atlaskit/icon/core/question-circle';
12
12
  import Tooltip from '@atlaskit/tooltip';
@@ -6,7 +6,7 @@ import React, { useCallback, useRef } from 'react';
6
6
 
7
7
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
8
8
  import { css, jsx } from '@emotion/react';
9
- import { injectIntl } from 'react-intl-next';
9
+ import { injectIntl } from 'react-intl';
10
10
  import { relativeFontSizeToBase16 } from '@atlaskit/editor-shared-styles';
11
11
  import QuestionsIcon from '@atlaskit/icon/core/question-circle';
12
12
  import Tooltip from '@atlaskit/tooltip';
@@ -1,4 +1,4 @@
1
- import { defineMessages } from 'react-intl-next';
1
+ import { defineMessages } from 'react-intl';
2
2
  var _default_1 = defineMessages({
3
3
  white: {
4
4
  id: 'fabric.theme.white',
@@ -1,7 +1,7 @@
1
1
  import _defineProperty from "@babel/runtime/helpers/defineProperty";
2
2
  function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
3
3
  function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
4
- import { defineMessages } from 'react-intl-next';
4
+ import { defineMessages } from 'react-intl';
5
5
 
6
6
  // These messages are only to be used when showSomewhatSemanticTooltips is true.
7
7
  export var lightTextPaletteTooltipMessages = defineMessages({
@@ -7,7 +7,7 @@ import React from 'react';
7
7
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
8
8
  import { jsx } from '@emotion/react';
9
9
  import chromatism from 'chromatism';
10
- import { injectIntl } from 'react-intl-next';
10
+ import { injectIntl } from 'react-intl';
11
11
  import { useThemeObserver } from '@atlaskit/tokens';
12
12
  import Color from './Color';
13
13
  import getColorMessage from './Palettes/getColorMessage';
@@ -7,7 +7,7 @@ import React from 'react';
7
7
 
8
8
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
9
9
  import { css, jsx } from '@emotion/react';
10
- import { useIntl } from 'react-intl-next';
10
+ import { useIntl } from 'react-intl';
11
11
  import withAnalyticsContext from '@atlaskit/analytics-next/withAnalyticsContext';
12
12
  import withAnalyticsEvents from '@atlaskit/analytics-next/withAnalyticsEvents';
13
13
  import Button from '@atlaskit/button/new';
@@ -1,4 +1,4 @@
1
- import type { IntlShape } from 'react-intl-next';
1
+ import type { IntlShape } from 'react-intl';
2
2
  import type { RichMediaLayout as MediaSingleLayout } from '@atlaskit/adf-schema';
3
3
  import type { NodeType } from '@atlaskit/editor-prosemirror/model';
4
4
  import type { EditorState } from '@atlaskit/editor-prosemirror/state';
@@ -1,4 +1,4 @@
1
- import type { IntlShape } from 'react-intl-next';
1
+ import type { IntlShape } from 'react-intl';
2
2
  import type { NewCoreIconProps } from '@atlaskit/icon';
3
3
  import type { Command } from '../types';
4
4
  import type { ButtonOptionProps } from './LinkToolbarButtonGroup';
@@ -1,4 +1,4 @@
1
- import type { IntlShape } from 'react-intl-next';
1
+ import type { IntlShape } from 'react-intl';
2
2
  import type { Command, DropdownOptionT } from '../types';
3
3
  import type { OptionConfig } from './types';
4
4
  export declare const getDropdownOption: (intl: IntlShape, dispatchCommand: (command: Command) => void, { disabled, onClick, selected, appearance, testId, tooltip, description }: OptionConfig) => DropdownOptionT<Function>;
@@ -1,4 +1,4 @@
1
- import type { IntlShape } from 'react-intl-next';
1
+ import type { IntlShape } from 'react-intl';
2
2
  import type { UIAnalyticsEvent } from '@atlaskit/analytics-next';
3
3
  import type { Node, Schema } from '@atlaskit/editor-prosemirror/model';
4
4
  import type { EditorState, Transaction } from '@atlaskit/editor-prosemirror/state';
@@ -3,7 +3,7 @@
3
3
  * @jsx jsx
4
4
  */
5
5
  import React from 'react';
6
- import type { WrappedComponentProps } from 'react-intl-next';
6
+ import type { WrappedComponentProps } from 'react-intl';
7
7
  import type { WithContextProps } from '@atlaskit/analytics-next/withAnalyticsContext';
8
8
  import type { QuickInsertItem } from '../../provider-factory';
9
9
  import { Modes } from '../types';
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import type { IntlShape } from 'react-intl-next';
2
+ import type { IntlShape } from 'react-intl';
3
3
  import type { Node as PMNode } from '@atlaskit/editor-prosemirror/model';
4
4
  import type { EditorView } from '@atlaskit/editor-prosemirror/view';
5
5
  import type { ExtensionAPI, ExtensionProvider } from '../extensions';
@@ -1,5 +1,5 @@
1
1
  import { jsx } from '@emotion/react';
2
- import type { IntlShape } from 'react-intl-next';
2
+ import type { IntlShape } from 'react-intl';
3
3
  import type { Node } from '@atlaskit/editor-prosemirror/model';
4
4
  import type { EditorView } from '@atlaskit/editor-prosemirror/view';
5
5
  import type { ButtonItemProps } from '@atlaskit/menu';
@@ -1,7 +1,7 @@
1
1
  import React, { PureComponent } from 'react';
2
2
  import { jsx } from '@emotion/react';
3
3
  import type { SerializedStyles } from '@emotion/react';
4
- import type { WithIntlProps, WrappedComponentProps } from 'react-intl-next';
4
+ import type { WithIntlProps, WrappedComponentProps } from 'react-intl';
5
5
  import type { ActivityProvider } from '@atlaskit/activity-provider';
6
6
  import type { WithAnalyticsEventsProps } from '@atlaskit/analytics-next';
7
7
  import type { EditorView } from '@atlaskit/editor-prosemirror/view';
@@ -5,7 +5,7 @@
5
5
  import React from 'react';
6
6
  import type { KeyboardEvent } from 'react';
7
7
  import type { SerializedStyles } from '@emotion/react';
8
- import type { WithIntlProps, WrappedComponentProps } from 'react-intl-next';
8
+ import type { WithIntlProps, WrappedComponentProps } from 'react-intl';
9
9
  import type { LinkSearchListItemData } from './types';
10
10
  export declare const container: SerializedStyles;
11
11
  export declare const containerSelected: SerializedStyles;
@@ -1,2 +1,2 @@
1
- import type { IntlShape } from 'react-intl-next';
1
+ import type { IntlShape } from 'react-intl';
2
2
  export declare const getCorrectAltByIconUrl: (iconUrl: string, intl: IntlShape) => string;
@@ -1,4 +1,4 @@
1
- import type { IntlShape } from 'react-intl-next';
1
+ import type { IntlShape } from 'react-intl';
2
2
  export declare const transformTimeStamp: (intl: IntlShape, lastViewedDate?: Date, lastUpdatedDate?: Date) => {
3
3
  pageAction: string;
4
4
  dateString: string;
@@ -1,5 +1,5 @@
1
1
  import { jsx } from '@emotion/react';
2
- import type { WrappedComponentProps } from 'react-intl-next';
2
+ import type { WrappedComponentProps } from 'react-intl';
3
3
  import type { FileIdentifier, MediaClient } from '@atlaskit/media-client';
4
4
  import type { MediaInlineAttrs, MediaSSR } from './types';
5
5
  export interface MediaInlineImageCardProps {
@@ -1,5 +1,5 @@
1
1
  import type { ForwardRefExoticComponent, RefAttributes } from 'react';
2
- import type { IntlShape } from 'react-intl-next';
2
+ import type { IntlShape } from 'react-intl';
3
3
  export declare const getBadgeSize: (width?: number, height?: number) => "medium" | "small";
4
4
  export type CommentBadgeProps = {
5
5
  badgeOffsetRight?: string;
@@ -1,5 +1,5 @@
1
1
  import Fuse from 'fuse.js';
2
- import type { IntlShape } from 'react-intl-next';
2
+ import type { IntlShape } from 'react-intl';
3
3
  import type { QuickInsertItem } from '../provider-factory';
4
4
  import type { QuickInsertHandler } from '../types';
5
5
  export declare const memoProcessQuickInsertItems: (items: Array<QuickInsertHandler>, intl: IntlShape) => QuickInsertItem[];
@@ -3,7 +3,7 @@
3
3
  * @jsx jsx
4
4
  */
5
5
  import type { FC, ComponentType } from 'react';
6
- import type { WithIntlProps, WrappedComponentProps } from 'react-intl-next';
6
+ import type { WithIntlProps, WrappedComponentProps } from 'react-intl';
7
7
  import { SortOrder } from '../types';
8
8
  export declare enum StatusClassNames {
9
9
  ASC = "sorting-icon-svg__asc",
@@ -3,7 +3,7 @@ export { findExpand, transformSliceToRemoveOpenExpand, transformSliceToRemoveOpe
3
3
  export { transformSliceToRemoveOpenBodiedExtension, transformSliceToRemoveOpenMultiBodiedExtension, transformSliceToRemoveLegacyContentMacro, transformSliceToRemoveMacroId, } from './extension';
4
4
  export { transformSliceToJoinAdjacentCodeBlocks, transformSingleLineCodeBlockToCodeMark, findCodeBlock, } from './code-block';
5
5
  export { transformSliceToDecisionList } from './decision-list';
6
- export { createBlockTaskItem, transformListStructure, transformBetweenListTypes, transformListRecursively, transformToTaskList, transformTaskListToBlockNodes, getFormattedNode, } from './list-transforms';
6
+ export { createBlockTaskItem, transformListStructure, transformBetweenListTypes, transformListRecursively, transformToTaskList, transformTaskListToBlockNodes, getFormattedNode, transformSliceEnsureListItemParagraphFirst, } from './list-transforms';
7
7
  export { isBulletOrOrderedList, isTaskList, getSupportedListTypesSet, convertBlockToInlineContent, } from './list-utils';
8
8
  export { removeBreakoutFromRendererSyncBlockHTML } from './sync-block';
9
9
  export type { TransformContext, TransformFunction } from './list-types';
@@ -1,5 +1,5 @@
1
1
  import type { Mark, NodeType, Node as PMNode, Schema } from '@atlaskit/editor-prosemirror/model';
2
- import { Fragment } from '@atlaskit/editor-prosemirror/model';
2
+ import { Fragment, Slice } from '@atlaskit/editor-prosemirror/model';
3
3
  import type { Transaction } from '@atlaskit/editor-prosemirror/state';
4
4
  import type { TransformContext } from './list-types';
5
5
  type TransformListRecursivelyProps = {
@@ -40,4 +40,12 @@ export declare const getFormattedNode: (tr: Transaction) => {
40
40
  node: PMNode;
41
41
  pos: number;
42
42
  };
43
+ /**
44
+ * Ensures every `listItem` in a slice starts with a paragraph.
45
+ *
46
+ * @param slice - The slice to transform
47
+ * @param schema - The editor schema, used to create new paragraph nodes
48
+ * @returns A new slice with the transformation applied
49
+ */
50
+ export declare const transformSliceEnsureListItemParagraphFirst: (slice: Slice, schema: Schema) => Slice;
43
51
  export {};
@@ -1,4 +1,4 @@
1
- import type { IntlShape } from 'react-intl-next';
1
+ import type { IntlShape } from 'react-intl';
2
2
  import type { MarkType, NodeType } from '@atlaskit/editor-prosemirror/model';
3
3
  import type { EditorState } from '@atlaskit/editor-prosemirror/state';
4
4
  import type { Command } from './command';
@@ -1,4 +1,4 @@
1
- import type { IntlShape } from 'react-intl-next';
1
+ import type { IntlShape } from 'react-intl';
2
2
  import type { UIAnalyticsEventHandler } from '@atlaskit/analytics-next';
3
3
  export type EditorReactContext = {
4
4
  getAtlaskitAnalyticsEventHandlers: () => UIAnalyticsEventHandler[];
@@ -1,5 +1,5 @@
1
1
  import type React from 'react';
2
- import type { IntlShape } from 'react-intl-next';
2
+ import type { IntlShape } from 'react-intl';
3
3
  import type { Node, NodeType } from '@atlaskit/editor-prosemirror/model';
4
4
  import type { EditorState } from '@atlaskit/editor-prosemirror/state';
5
5
  import type { EditorView } from '@atlaskit/editor-prosemirror/view';
@@ -47,7 +47,7 @@ export type { QuickInsertPluginState, QuickInsertPluginStateKeys, QuickInsertOpt
47
47
  export type { Refs, RefsNode, DocBuilder } from './doc-builder';
48
48
  export type { SelectionToolbarGroup, SelectionToolbarHandler } from './selection-toolbar';
49
49
  export type { FeedbackInfo } from './feedback-dialog';
50
- import type { MessageDescriptor } from 'react-intl-next';
50
+ import type { MessageDescriptor } from 'react-intl';
51
51
  /**
52
52
  * @deprecated
53
53
  */
@@ -1,4 +1,4 @@
1
- import type { IntlShape } from 'react-intl-next';
1
+ import type { IntlShape } from 'react-intl';
2
2
  import type { Schema } from '@atlaskit/editor-prosemirror/model';
3
3
  import type { DispatchAnalyticsEvent } from '../analytics/types/dispatch-analytics-event';
4
4
  import type { Dispatch, EventDispatcher } from '../event-dispatcher';
@@ -1,5 +1,5 @@
1
1
  import type Fuse from 'fuse.js';
2
- import type { IntlShape } from 'react-intl-next';
2
+ import type { IntlShape } from 'react-intl';
3
3
  import type { QuickInsertItem, QuickInsertProvider } from '../provider-factory';
4
4
  import type { EmptyStateHandler } from './empty-state-handler';
5
5
  export type QuickInsertOptions = boolean | {
@@ -1,4 +1,4 @@
1
- import type { IntlShape } from 'react-intl-next';
1
+ import type { IntlShape } from 'react-intl';
2
2
  import type { EditorState } from '@atlaskit/editor-prosemirror/state';
3
3
  import type { ProviderFactory } from '../provider-factory';
4
4
  import type { Command } from './command';
@@ -1,5 +1,5 @@
1
1
  import type { ReactElement, ReactNode } from 'react';
2
- import type { IntlShape } from 'react-intl-next';
2
+ import type { IntlShape } from 'react-intl';
3
3
  import type { Fragment, Node as PMNode } from '@atlaskit/editor-prosemirror/model';
4
4
  import type { EditorState, Transaction } from '@atlaskit/editor-prosemirror/state';
5
5
  import type { TypeAheadPayload } from '../analytics/types/type-ahead';
@@ -4,7 +4,7 @@
4
4
  */
5
5
  import React from 'react';
6
6
  import { jsx } from '@emotion/react';
7
- import type { WithIntlProps, WrappedComponentProps } from 'react-intl-next';
7
+ import type { WithIntlProps, WrappedComponentProps } from 'react-intl';
8
8
  type Props = {
9
9
  children?: React.ReactNode;
10
10
  dataAttributes?: {
@@ -1,5 +1,5 @@
1
1
  import type { ComponentType, FC, KeyboardEventHandler, SyntheticEvent } from 'react';
2
- import type { WithIntlProps, WrappedComponentProps } from 'react-intl-next';
2
+ import type { WithIntlProps, WrappedComponentProps } from 'react-intl';
3
3
  export declare const TABLE_SELECTOR_BUTTON_GAP = 2;
4
4
  export declare const TABLE_SELECTOR_BUTTON_SIZE = 17;
5
5
  export interface TableSelectorButtonProps {
@@ -3,7 +3,7 @@
3
3
  * @jsx jsx
4
4
  */
5
5
  import React from 'react';
6
- import type { WithIntlProps, WrappedComponentProps } from 'react-intl-next';
6
+ import type { WithIntlProps, WrappedComponentProps } from 'react-intl';
7
7
  import type { Node as PMNode } from '@atlaskit/editor-prosemirror/model';
8
8
  import type { UnsupportedContentTooltipPayload } from '../../utils';
9
9
  export interface Props {
@@ -3,7 +3,7 @@
3
3
  * @jsx jsx
4
4
  */
5
5
  import React from 'react';
6
- import type { WithIntlProps, WrappedComponentProps } from 'react-intl-next';
6
+ import type { WithIntlProps, WrappedComponentProps } from 'react-intl';
7
7
  import type { Node as PMNode } from '@atlaskit/editor-prosemirror/model';
8
8
  import type { UnsupportedContentTooltipPayload } from '../../utils';
9
9
  export interface Props {
@@ -1,3 +1,3 @@
1
- import type { IntlShape } from 'react-intl-next';
1
+ import type { IntlShape } from 'react-intl';
2
2
  import type { Node as PMNode } from '@atlaskit/editor-prosemirror/model';
3
3
  export declare function getUnsupportedContent(message: any, prefix: string, node?: PMNode, intl?: IntlShape): any;
@@ -1,2 +1,2 @@
1
- import type { MessageDescriptor } from 'react-intl-next';
1
+ import type { MessageDescriptor } from 'react-intl';
2
2
  export default function getColorMessage(messages: Record<string | number, MessageDescriptor>, color: string): MessageDescriptor | undefined;
@@ -1,4 +1,4 @@
1
- import type { MessageDescriptor } from 'react-intl-next';
1
+ import type { MessageDescriptor } from 'react-intl';
2
2
  import type { PaletteColor } from './type';
3
3
  export declare const mapPaletteColor: (label: string, color: string) => {
4
4
  border: "var(--ds-border)";