@atlaskit/editor-core 153.1.3 → 153.1.4

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 (360) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/dist/cjs/commands/index.js +2 -2
  3. package/dist/cjs/create-editor/ErrorBoundary.js +2 -2
  4. package/dist/cjs/create-editor/ReactEditorView.js +2 -2
  5. package/dist/cjs/create-editor/create-plugins-list.js +2 -2
  6. package/dist/cjs/editor.js +2 -2
  7. package/dist/cjs/labs/CollapsedEditor/index.js +3 -1
  8. package/dist/cjs/labs/next/internal/hooks/use-editor/index.js +2 -2
  9. package/dist/cjs/plugins/alignment/pm-plugins/main.js +2 -2
  10. package/dist/cjs/plugins/analytics/plugin.js +2 -2
  11. package/dist/cjs/plugins/analytics/types/enums.js +1 -0
  12. package/dist/cjs/plugins/analytics/utils.js +2 -2
  13. package/dist/cjs/plugins/annotation/pm-plugins/plugin-factory.js +2 -2
  14. package/dist/cjs/plugins/annotation/pm-plugins/reducer.js +2 -2
  15. package/dist/cjs/plugins/base/index.js +2 -2
  16. package/dist/cjs/plugins/base/pm-plugins/context-identifier.js +2 -2
  17. package/dist/cjs/plugins/base/pm-plugins/frozen-editor.js +2 -2
  18. package/dist/cjs/plugins/block-type/pm-plugins/main.js +2 -2
  19. package/dist/cjs/plugins/breakout/index.js +2 -2
  20. package/dist/cjs/plugins/card/index.js +2 -2
  21. package/dist/cjs/plugins/card/nodeviews/embedCard.js +2 -2
  22. package/dist/cjs/plugins/card/pm-plugins/doc.js +2 -2
  23. package/dist/cjs/plugins/card/pm-plugins/reducers.js +2 -2
  24. package/dist/cjs/plugins/card/pm-plugins/util/state.js +2 -2
  25. package/dist/cjs/plugins/card/toolbar.js +2 -2
  26. package/dist/cjs/plugins/card/ui/ResizableEmbedCard.js +2 -2
  27. package/dist/cjs/plugins/code-bidi-warning/pm-plugins/plugin-factory.js +2 -2
  28. package/dist/cjs/plugins/code-block/ide-ux/paired-character-handling.js +2 -2
  29. package/dist/cjs/plugins/code-block/pm-plugins/main-state.js +2 -2
  30. package/dist/cjs/plugins/code-block/pm-plugins/main.js +2 -2
  31. package/dist/cjs/plugins/collab-edit/participants.js +2 -2
  32. package/dist/cjs/plugins/collab-edit/provider/collab-provider.js +2 -2
  33. package/dist/cjs/plugins/context-panel/index.js +2 -2
  34. package/dist/cjs/plugins/custom-autoformat/index.js +2 -2
  35. package/dist/cjs/plugins/custom-autoformat/reducers.js +2 -2
  36. package/dist/cjs/plugins/date/pm-plugins/utils.js +2 -2
  37. package/dist/cjs/plugins/emoji/commands/insert-emoji.js +2 -2
  38. package/dist/cjs/plugins/emoji/index.js +2 -2
  39. package/dist/cjs/plugins/expand/commands.js +2 -2
  40. package/dist/cjs/plugins/expand/reducer.js +2 -2
  41. package/dist/cjs/plugins/expand/ui/ExpandIconButton.js +5 -3
  42. package/dist/cjs/plugins/extension/actions.js +2 -2
  43. package/dist/cjs/plugins/extension/commands.js +2 -2
  44. package/dist/cjs/plugins/extension/context-panel.js +2 -2
  45. package/dist/cjs/plugins/extension/plugin-factory.js +2 -2
  46. package/dist/cjs/plugins/extension/pm-plugins/unique-id.js +5 -3
  47. package/dist/cjs/plugins/extension/reducer.js +2 -2
  48. package/dist/cjs/plugins/extension/ui/Extension/Lozenge.js +5 -3
  49. package/dist/cjs/plugins/feature-flags-context/feature-flags-from-props.js +2 -2
  50. package/dist/cjs/plugins/feature-flags-context/index.js +2 -2
  51. package/dist/cjs/plugins/feedback-dialog/index.js +2 -2
  52. package/dist/cjs/plugins/find-replace/plugin.js +2 -2
  53. package/dist/cjs/plugins/find-replace/reducer.js +2 -2
  54. package/dist/cjs/plugins/find-replace/ui/FindReplaceTooltipButton.js +2 -2
  55. package/dist/cjs/plugins/floating-toolbar/index.js +2 -2
  56. package/dist/cjs/plugins/floating-toolbar/pm-plugins/toolbar-data/reducer.js +2 -2
  57. package/dist/cjs/plugins/floating-toolbar/ui/Button.js +5 -3
  58. package/dist/cjs/plugins/floating-toolbar/ui/Select.js +2 -2
  59. package/dist/cjs/plugins/help-dialog/index.js +2 -2
  60. package/dist/cjs/plugins/hyperlink/Toolbar.js +2 -2
  61. package/dist/cjs/plugins/hyperlink/commands.js +2 -2
  62. package/dist/cjs/plugins/hyperlink/pm-plugins/main.js +2 -2
  63. package/dist/cjs/plugins/image-upload/pm-plugins/main.js +2 -2
  64. package/dist/cjs/plugins/insert-block/ui/ToolbarInsertBlock/create-items.js +2 -2
  65. package/dist/cjs/plugins/insert-block/ui/ToolbarInsertBlock/index.js +2 -2
  66. package/dist/cjs/plugins/layout/actions.js +2 -2
  67. package/dist/cjs/plugins/layout/pm-plugins/main.js +2 -2
  68. package/dist/cjs/plugins/list/commands/indent-list.js +2 -2
  69. package/dist/cjs/plugins/list/commands/index.js +2 -2
  70. package/dist/cjs/plugins/list/commands/outdent-list.js +2 -2
  71. package/dist/cjs/plugins/list/pm-plugins/main.js +2 -2
  72. package/dist/cjs/plugins/macro/actions.js +2 -2
  73. package/dist/cjs/plugins/macro/index.js +2 -2
  74. package/dist/cjs/plugins/media/commands/helpers.js +2 -2
  75. package/dist/cjs/plugins/media/commands/linking.js +2 -2
  76. package/dist/cjs/plugins/media/commands/media-editor.js +2 -2
  77. package/dist/cjs/plugins/media/nodeviews/mediaGroup.js +2 -2
  78. package/dist/cjs/plugins/media/nodeviews/mediaSingle.js +2 -2
  79. package/dist/cjs/plugins/media/pm-plugins/alt-text/commands.js +2 -2
  80. package/dist/cjs/plugins/media/pm-plugins/alt-text/reducer.js +2 -2
  81. package/dist/cjs/plugins/media/pm-plugins/linking/index.js +2 -2
  82. package/dist/cjs/plugins/media/pm-plugins/linking/reducer.js +2 -2
  83. package/dist/cjs/plugins/media/pm-plugins/main.js +2 -2
  84. package/dist/cjs/plugins/media/pm-plugins/media-editor-plugin-factory.js +2 -2
  85. package/dist/cjs/plugins/media/toolbar/alt-text.js +2 -2
  86. package/dist/cjs/plugins/media/toolbar/index.js +2 -2
  87. package/dist/cjs/plugins/media/toolbar/linking.js +2 -2
  88. package/dist/cjs/plugins/media/ui/MediaPicker/BrowserWrapper.js +2 -2
  89. package/dist/cjs/plugins/media/ui/MediaPicker/DropzoneWrapper.js +2 -2
  90. package/dist/cjs/plugins/media/utils/media-single.js +2 -2
  91. package/dist/cjs/plugins/mentions/analytics.js +2 -2
  92. package/dist/cjs/plugins/mentions/pm-plugins/main.js +2 -2
  93. package/dist/cjs/plugins/mentions/type-ahead/index.js +2 -2
  94. package/dist/cjs/plugins/mobile-dimensions/reducer.js +2 -2
  95. package/dist/cjs/plugins/panel/actions.js +2 -2
  96. package/dist/cjs/plugins/panel/toolbar.js +2 -2
  97. package/dist/cjs/plugins/panel/utils.js +2 -2
  98. package/dist/cjs/plugins/paste/handlers.js +2 -2
  99. package/dist/cjs/plugins/paste/pm-plugins/analytics.js +2 -2
  100. package/dist/cjs/plugins/quick-insert/assets/index.js +3 -1
  101. package/dist/cjs/plugins/quick-insert/index.js +2 -2
  102. package/dist/cjs/plugins/selection/plugin-factory.js +2 -2
  103. package/dist/cjs/plugins/selection/reducer.js +2 -2
  104. package/dist/cjs/plugins/status/actions.js +2 -2
  105. package/dist/cjs/plugins/status/analytics.js +2 -2
  106. package/dist/cjs/plugins/status/plugin.js +2 -2
  107. package/dist/cjs/plugins/table/commands/misc.js +2 -2
  108. package/dist/cjs/plugins/table/commands/toggle.js +2 -2
  109. package/dist/cjs/plugins/table/commands-with-analytics.js +2 -2
  110. package/dist/cjs/plugins/table/create-plugin-config.js +2 -2
  111. package/dist/cjs/plugins/table/handlers.js +2 -2
  112. package/dist/cjs/plugins/table/nodeviews/TableComponent.js +2 -2
  113. package/dist/cjs/plugins/table/pm-plugins/main.js +2 -2
  114. package/dist/cjs/plugins/table/pm-plugins/plugin-factory.js +2 -2
  115. package/dist/cjs/plugins/table/pm-plugins/sticky-headers/plugin-state.js +2 -2
  116. package/dist/cjs/plugins/table/pm-plugins/table-local-id.js +2 -2
  117. package/dist/cjs/plugins/table/pm-plugins/table-resizing/plugin-factory.js +2 -2
  118. package/dist/cjs/plugins/table/pm-plugins/table-resizing/reducer.js +2 -2
  119. package/dist/cjs/plugins/table/pm-plugins/table-resizing/utils/resize-logic.js +2 -2
  120. package/dist/cjs/plugins/table/pm-plugins/table-resizing/utils/resize-state.js +2 -2
  121. package/dist/cjs/plugins/table/pm-plugins/table-resizing/utils/scale-table.js +2 -2
  122. package/dist/cjs/plugins/table/reducer.js +2 -2
  123. package/dist/cjs/plugins/table/toolbar.js +2 -2
  124. package/dist/cjs/plugins/table/transforms/column-width.js +2 -2
  125. package/dist/cjs/plugins/table/transforms/delete-columns.js +2 -2
  126. package/dist/cjs/plugins/table/transforms/delete-rows.js +2 -2
  127. package/dist/cjs/plugins/table/transforms/fix-tables.js +2 -2
  128. package/dist/cjs/plugins/table/transforms/merge.js +2 -2
  129. package/dist/cjs/plugins/table/transforms/split.js +2 -2
  130. package/dist/cjs/plugins/table/types.js +2 -2
  131. package/dist/cjs/plugins/table/ui/FloatingContextualMenu/ContextualMenu.js +2 -2
  132. package/dist/cjs/plugins/table/ui/FloatingDeleteButton/getPopUpOptions.js +2 -2
  133. package/dist/cjs/plugins/table/ui/FloatingDeleteButton/index.js +2 -2
  134. package/dist/cjs/plugins/table/ui/FloatingInsertButton/getPopupOptions.js +2 -2
  135. package/dist/cjs/plugins/table/ui/LayoutButton/index.js +2 -2
  136. package/dist/cjs/plugins/table/utils/row-controls.js +2 -2
  137. package/dist/cjs/plugins/tasks-and-decisions/nodeviews/taskItem.js +2 -2
  138. package/dist/cjs/plugins/tasks-and-decisions/pm-plugins/keymaps.js +2 -2
  139. package/dist/cjs/plugins/tasks-and-decisions/pm-plugins/main.js +5 -3
  140. package/dist/cjs/plugins/tasks-and-decisions/ui/Task/index.js +3 -1
  141. package/dist/cjs/plugins/tasks-and-decisions/ui/Task/task-item-with-providers.js +3 -1
  142. package/dist/cjs/plugins/text-color/pm-plugins/main.js +2 -2
  143. package/dist/cjs/plugins/text-color/ui/ToolbarTextColor/index.js +2 -2
  144. package/dist/cjs/plugins/type-ahead/pm-plugins/reducer.js +2 -2
  145. package/dist/cjs/plugins/type-ahead/stats-modifier.js +4 -3
  146. package/dist/cjs/plugins/undo-redo/undo-redo-input-source.js +2 -2
  147. package/dist/cjs/plugins/view-update-subscription/index.js +4 -4
  148. package/dist/cjs/plugins/width/index.js +2 -2
  149. package/dist/cjs/test-utils.js +2 -2
  150. package/dist/cjs/ui/ColorPalette/Palettes/panelBackgroundPalette.js +2 -2
  151. package/dist/cjs/ui/ConfigPanel/Fields/Boolean.js +5 -2
  152. package/dist/cjs/ui/ConfigPanel/Fields/CheckboxGroup.js +3 -1
  153. package/dist/cjs/ui/ConfigPanel/Fields/ColorPicker.js +2 -2
  154. package/dist/cjs/ui/ConfigPanel/Fields/DateRange.js +2 -2
  155. package/dist/cjs/ui/ConfigPanel/Fields/Fieldset.js +2 -2
  156. package/dist/cjs/ui/ConfigPanel/Fields/RadioGroup.js +2 -2
  157. package/dist/cjs/ui/ConfigPanel/Fields/String.js +3 -1
  158. package/dist/cjs/ui/ConfigPanel/Fields/UserSelect.js +3 -1
  159. package/dist/cjs/ui/ConfigPanel/FormContent.js +2 -2
  160. package/dist/cjs/ui/ContextPanel/index.js +2 -2
  161. package/dist/cjs/ui/ElementBrowser/components/CategoryList.js +7 -4
  162. package/dist/cjs/ui/ElementBrowser/components/ElementList/ElementList.js +5 -3
  163. package/dist/cjs/ui/ElementBrowser/hooks/use-select-and-focus-on-arrow-navigation.js +2 -2
  164. package/dist/cjs/ui/LinkSearch/withActivityProvider.js +3 -1
  165. package/dist/cjs/ui/ToolbarButton/index.js +2 -2
  166. package/dist/cjs/ui/ToolbarFeedback/index.js +2 -2
  167. package/dist/cjs/ui/WithPluginState/index.js +2 -2
  168. package/dist/cjs/utils/document.js +20 -1
  169. package/dist/cjs/utils/filter/privacy-filter.js +2 -2
  170. package/dist/cjs/utils/input-rules.js +2 -2
  171. package/dist/cjs/utils/performance/plugin-performance-report.js +2 -2
  172. package/dist/cjs/utils/performance/simple-measure-to-entries.js +4 -3
  173. package/dist/cjs/utils/pick-by.js +2 -2
  174. package/dist/cjs/utils/rich-media-utils.js +2 -2
  175. package/dist/cjs/utils/selection.js +2 -2
  176. package/dist/cjs/version-wrapper.js +1 -1
  177. package/dist/cjs/version.json +1 -1
  178. package/dist/es2019/plugins/analytics/types/enums.js +1 -0
  179. package/dist/es2019/utils/document.js +20 -1
  180. package/dist/es2019/version-wrapper.js +1 -1
  181. package/dist/es2019/version.json +1 -1
  182. package/dist/esm/commands/index.js +2 -2
  183. package/dist/esm/create-editor/ErrorBoundary.js +2 -2
  184. package/dist/esm/create-editor/ReactEditorView.js +2 -2
  185. package/dist/esm/create-editor/create-plugins-list.js +2 -2
  186. package/dist/esm/editor.js +2 -2
  187. package/dist/esm/labs/CollapsedEditor/index.js +2 -1
  188. package/dist/esm/labs/next/internal/hooks/use-editor/index.js +2 -2
  189. package/dist/esm/plugins/alignment/pm-plugins/main.js +2 -2
  190. package/dist/esm/plugins/analytics/plugin.js +2 -2
  191. package/dist/esm/plugins/analytics/types/enums.js +1 -0
  192. package/dist/esm/plugins/analytics/utils.js +2 -2
  193. package/dist/esm/plugins/annotation/pm-plugins/plugin-factory.js +2 -2
  194. package/dist/esm/plugins/annotation/pm-plugins/reducer.js +2 -2
  195. package/dist/esm/plugins/base/index.js +2 -2
  196. package/dist/esm/plugins/base/pm-plugins/context-identifier.js +2 -2
  197. package/dist/esm/plugins/base/pm-plugins/frozen-editor.js +2 -2
  198. package/dist/esm/plugins/block-type/pm-plugins/main.js +2 -2
  199. package/dist/esm/plugins/breakout/index.js +2 -2
  200. package/dist/esm/plugins/card/index.js +2 -2
  201. package/dist/esm/plugins/card/nodeviews/embedCard.js +2 -2
  202. package/dist/esm/plugins/card/pm-plugins/doc.js +2 -2
  203. package/dist/esm/plugins/card/pm-plugins/reducers.js +2 -2
  204. package/dist/esm/plugins/card/pm-plugins/util/state.js +2 -2
  205. package/dist/esm/plugins/card/toolbar.js +2 -2
  206. package/dist/esm/plugins/card/ui/ResizableEmbedCard.js +2 -2
  207. package/dist/esm/plugins/code-bidi-warning/pm-plugins/plugin-factory.js +2 -2
  208. package/dist/esm/plugins/code-block/ide-ux/paired-character-handling.js +2 -2
  209. package/dist/esm/plugins/code-block/pm-plugins/main-state.js +2 -2
  210. package/dist/esm/plugins/code-block/pm-plugins/main.js +2 -2
  211. package/dist/esm/plugins/collab-edit/participants.js +2 -2
  212. package/dist/esm/plugins/collab-edit/provider/collab-provider.js +2 -2
  213. package/dist/esm/plugins/context-panel/index.js +2 -2
  214. package/dist/esm/plugins/custom-autoformat/index.js +2 -2
  215. package/dist/esm/plugins/custom-autoformat/reducers.js +2 -2
  216. package/dist/esm/plugins/date/pm-plugins/utils.js +2 -2
  217. package/dist/esm/plugins/emoji/commands/insert-emoji.js +2 -2
  218. package/dist/esm/plugins/emoji/index.js +2 -2
  219. package/dist/esm/plugins/expand/commands.js +2 -2
  220. package/dist/esm/plugins/expand/reducer.js +2 -2
  221. package/dist/esm/plugins/expand/ui/ExpandIconButton.js +4 -3
  222. package/dist/esm/plugins/extension/actions.js +2 -2
  223. package/dist/esm/plugins/extension/commands.js +2 -2
  224. package/dist/esm/plugins/extension/context-panel.js +2 -2
  225. package/dist/esm/plugins/extension/plugin-factory.js +2 -2
  226. package/dist/esm/plugins/extension/pm-plugins/unique-id.js +4 -3
  227. package/dist/esm/plugins/extension/reducer.js +2 -2
  228. package/dist/esm/plugins/extension/ui/Extension/Lozenge.js +4 -3
  229. package/dist/esm/plugins/feature-flags-context/feature-flags-from-props.js +2 -2
  230. package/dist/esm/plugins/feature-flags-context/index.js +2 -2
  231. package/dist/esm/plugins/feedback-dialog/index.js +2 -2
  232. package/dist/esm/plugins/find-replace/plugin.js +2 -2
  233. package/dist/esm/plugins/find-replace/reducer.js +2 -2
  234. package/dist/esm/plugins/find-replace/ui/FindReplaceTooltipButton.js +2 -2
  235. package/dist/esm/plugins/floating-toolbar/index.js +2 -2
  236. package/dist/esm/plugins/floating-toolbar/pm-plugins/toolbar-data/reducer.js +2 -2
  237. package/dist/esm/plugins/floating-toolbar/ui/Button.js +4 -3
  238. package/dist/esm/plugins/floating-toolbar/ui/Select.js +2 -2
  239. package/dist/esm/plugins/help-dialog/index.js +2 -2
  240. package/dist/esm/plugins/hyperlink/Toolbar.js +2 -2
  241. package/dist/esm/plugins/hyperlink/commands.js +2 -2
  242. package/dist/esm/plugins/hyperlink/pm-plugins/main.js +2 -2
  243. package/dist/esm/plugins/image-upload/pm-plugins/main.js +2 -2
  244. package/dist/esm/plugins/insert-block/ui/ToolbarInsertBlock/create-items.js +2 -2
  245. package/dist/esm/plugins/insert-block/ui/ToolbarInsertBlock/index.js +2 -2
  246. package/dist/esm/plugins/layout/actions.js +2 -2
  247. package/dist/esm/plugins/layout/pm-plugins/main.js +2 -2
  248. package/dist/esm/plugins/list/commands/indent-list.js +2 -2
  249. package/dist/esm/plugins/list/commands/index.js +2 -2
  250. package/dist/esm/plugins/list/commands/outdent-list.js +2 -2
  251. package/dist/esm/plugins/list/pm-plugins/main.js +2 -2
  252. package/dist/esm/plugins/macro/actions.js +2 -2
  253. package/dist/esm/plugins/macro/index.js +2 -2
  254. package/dist/esm/plugins/media/commands/helpers.js +2 -2
  255. package/dist/esm/plugins/media/commands/linking.js +2 -2
  256. package/dist/esm/plugins/media/commands/media-editor.js +2 -2
  257. package/dist/esm/plugins/media/nodeviews/mediaGroup.js +2 -2
  258. package/dist/esm/plugins/media/nodeviews/mediaSingle.js +2 -2
  259. package/dist/esm/plugins/media/pm-plugins/alt-text/commands.js +2 -2
  260. package/dist/esm/plugins/media/pm-plugins/alt-text/reducer.js +2 -2
  261. package/dist/esm/plugins/media/pm-plugins/linking/index.js +2 -2
  262. package/dist/esm/plugins/media/pm-plugins/linking/reducer.js +2 -2
  263. package/dist/esm/plugins/media/pm-plugins/main.js +2 -2
  264. package/dist/esm/plugins/media/pm-plugins/media-editor-plugin-factory.js +2 -2
  265. package/dist/esm/plugins/media/toolbar/alt-text.js +2 -2
  266. package/dist/esm/plugins/media/toolbar/index.js +2 -2
  267. package/dist/esm/plugins/media/toolbar/linking.js +2 -2
  268. package/dist/esm/plugins/media/ui/MediaPicker/BrowserWrapper.js +2 -2
  269. package/dist/esm/plugins/media/ui/MediaPicker/DropzoneWrapper.js +2 -2
  270. package/dist/esm/plugins/media/utils/media-single.js +2 -2
  271. package/dist/esm/plugins/mentions/analytics.js +2 -2
  272. package/dist/esm/plugins/mentions/pm-plugins/main.js +2 -2
  273. package/dist/esm/plugins/mentions/type-ahead/index.js +2 -2
  274. package/dist/esm/plugins/mobile-dimensions/reducer.js +2 -2
  275. package/dist/esm/plugins/panel/actions.js +2 -2
  276. package/dist/esm/plugins/panel/toolbar.js +2 -2
  277. package/dist/esm/plugins/panel/utils.js +2 -2
  278. package/dist/esm/plugins/paste/handlers.js +2 -2
  279. package/dist/esm/plugins/paste/pm-plugins/analytics.js +2 -2
  280. package/dist/esm/plugins/quick-insert/assets/index.js +2 -1
  281. package/dist/esm/plugins/quick-insert/index.js +2 -2
  282. package/dist/esm/plugins/selection/plugin-factory.js +2 -2
  283. package/dist/esm/plugins/selection/reducer.js +2 -2
  284. package/dist/esm/plugins/status/actions.js +2 -2
  285. package/dist/esm/plugins/status/analytics.js +2 -2
  286. package/dist/esm/plugins/status/plugin.js +2 -2
  287. package/dist/esm/plugins/table/commands/misc.js +2 -2
  288. package/dist/esm/plugins/table/commands/toggle.js +2 -2
  289. package/dist/esm/plugins/table/commands-with-analytics.js +2 -2
  290. package/dist/esm/plugins/table/create-plugin-config.js +2 -2
  291. package/dist/esm/plugins/table/handlers.js +2 -2
  292. package/dist/esm/plugins/table/nodeviews/TableComponent.js +2 -2
  293. package/dist/esm/plugins/table/pm-plugins/main.js +2 -2
  294. package/dist/esm/plugins/table/pm-plugins/plugin-factory.js +2 -2
  295. package/dist/esm/plugins/table/pm-plugins/sticky-headers/plugin-state.js +2 -2
  296. package/dist/esm/plugins/table/pm-plugins/table-local-id.js +2 -2
  297. package/dist/esm/plugins/table/pm-plugins/table-resizing/plugin-factory.js +2 -2
  298. package/dist/esm/plugins/table/pm-plugins/table-resizing/reducer.js +2 -2
  299. package/dist/esm/plugins/table/pm-plugins/table-resizing/utils/resize-logic.js +2 -2
  300. package/dist/esm/plugins/table/pm-plugins/table-resizing/utils/resize-state.js +2 -2
  301. package/dist/esm/plugins/table/pm-plugins/table-resizing/utils/scale-table.js +2 -2
  302. package/dist/esm/plugins/table/reducer.js +2 -2
  303. package/dist/esm/plugins/table/toolbar.js +2 -2
  304. package/dist/esm/plugins/table/transforms/column-width.js +2 -2
  305. package/dist/esm/plugins/table/transforms/delete-columns.js +2 -2
  306. package/dist/esm/plugins/table/transforms/delete-rows.js +2 -2
  307. package/dist/esm/plugins/table/transforms/fix-tables.js +2 -2
  308. package/dist/esm/plugins/table/transforms/merge.js +2 -2
  309. package/dist/esm/plugins/table/transforms/split.js +2 -2
  310. package/dist/esm/plugins/table/types.js +2 -2
  311. package/dist/esm/plugins/table/ui/FloatingContextualMenu/ContextualMenu.js +2 -2
  312. package/dist/esm/plugins/table/ui/FloatingDeleteButton/getPopUpOptions.js +2 -2
  313. package/dist/esm/plugins/table/ui/FloatingDeleteButton/index.js +2 -2
  314. package/dist/esm/plugins/table/ui/FloatingInsertButton/getPopupOptions.js +2 -2
  315. package/dist/esm/plugins/table/ui/LayoutButton/index.js +2 -2
  316. package/dist/esm/plugins/table/utils/row-controls.js +2 -2
  317. package/dist/esm/plugins/tasks-and-decisions/nodeviews/taskItem.js +2 -2
  318. package/dist/esm/plugins/tasks-and-decisions/pm-plugins/keymaps.js +2 -2
  319. package/dist/esm/plugins/tasks-and-decisions/pm-plugins/main.js +4 -3
  320. package/dist/esm/plugins/tasks-and-decisions/ui/Task/index.js +2 -1
  321. package/dist/esm/plugins/tasks-and-decisions/ui/Task/task-item-with-providers.js +2 -1
  322. package/dist/esm/plugins/text-color/pm-plugins/main.js +2 -2
  323. package/dist/esm/plugins/text-color/ui/ToolbarTextColor/index.js +2 -2
  324. package/dist/esm/plugins/type-ahead/pm-plugins/reducer.js +2 -2
  325. package/dist/esm/plugins/type-ahead/stats-modifier.js +3 -2
  326. package/dist/esm/plugins/undo-redo/undo-redo-input-source.js +2 -2
  327. package/dist/esm/plugins/view-update-subscription/index.js +3 -2
  328. package/dist/esm/plugins/width/index.js +2 -2
  329. package/dist/esm/test-utils.js +2 -2
  330. package/dist/esm/ui/ColorPalette/Palettes/panelBackgroundPalette.js +2 -2
  331. package/dist/esm/ui/ConfigPanel/Fields/Boolean.js +4 -2
  332. package/dist/esm/ui/ConfigPanel/Fields/CheckboxGroup.js +2 -1
  333. package/dist/esm/ui/ConfigPanel/Fields/ColorPicker.js +2 -2
  334. package/dist/esm/ui/ConfigPanel/Fields/DateRange.js +2 -2
  335. package/dist/esm/ui/ConfigPanel/Fields/Fieldset.js +2 -2
  336. package/dist/esm/ui/ConfigPanel/Fields/RadioGroup.js +2 -2
  337. package/dist/esm/ui/ConfigPanel/Fields/String.js +2 -1
  338. package/dist/esm/ui/ConfigPanel/Fields/UserSelect.js +2 -1
  339. package/dist/esm/ui/ConfigPanel/FormContent.js +2 -2
  340. package/dist/esm/ui/ContextPanel/index.js +2 -2
  341. package/dist/esm/ui/ElementBrowser/components/CategoryList.js +7 -4
  342. package/dist/esm/ui/ElementBrowser/components/ElementList/ElementList.js +5 -3
  343. package/dist/esm/ui/ElementBrowser/hooks/use-select-and-focus-on-arrow-navigation.js +2 -2
  344. package/dist/esm/ui/LinkSearch/withActivityProvider.js +2 -1
  345. package/dist/esm/ui/ToolbarButton/index.js +2 -2
  346. package/dist/esm/ui/ToolbarFeedback/index.js +2 -2
  347. package/dist/esm/ui/WithPluginState/index.js +2 -2
  348. package/dist/esm/utils/document.js +19 -1
  349. package/dist/esm/utils/filter/privacy-filter.js +2 -2
  350. package/dist/esm/utils/input-rules.js +2 -2
  351. package/dist/esm/utils/performance/plugin-performance-report.js +2 -2
  352. package/dist/esm/utils/performance/simple-measure-to-entries.js +3 -2
  353. package/dist/esm/utils/pick-by.js +2 -2
  354. package/dist/esm/utils/rich-media-utils.js +2 -2
  355. package/dist/esm/utils/selection.js +2 -2
  356. package/dist/esm/version-wrapper.js +1 -1
  357. package/dist/esm/version.json +1 -1
  358. package/dist/types/plugins/analytics/types/enums.d.ts +1 -0
  359. package/dist/types/plugins/analytics/types/general-events.d.ts +2 -1
  360. package/package.json +2 -2
@@ -7,6 +7,7 @@ import _inherits from "@babel/runtime/helpers/inherits";
7
7
  import _possibleConstructorReturn from "@babel/runtime/helpers/possibleConstructorReturn";
8
8
  import _getPrototypeOf from "@babel/runtime/helpers/getPrototypeOf";
9
9
  import _defineProperty from "@babel/runtime/helpers/defineProperty";
10
+ var _excluded = ["providerFactory"];
10
11
 
11
12
  function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
12
13
 
@@ -34,7 +35,7 @@ export default function withActivityProvider(WrappedComponent) {
34
35
  _defineProperty(_assertThisInitialized(_this), "renderNode", function (providers) {
35
36
  var _ref = _this.props,
36
37
  providerFactory = _ref.providerFactory,
37
- props = _objectWithoutProperties(_ref, ["providerFactory"]);
38
+ props = _objectWithoutProperties(_ref, _excluded);
38
39
 
39
40
  var activityProvider = providers.activityProvider;
40
41
  return /*#__PURE__*/React.createElement(WrappedComponent, _extends({
@@ -3,9 +3,9 @@ import _taggedTemplateLiteral from "@babel/runtime/helpers/taggedTemplateLiteral
3
3
 
4
4
  var _templateObject;
5
5
 
6
- function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; }
6
+ function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
7
7
 
8
- function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
8
+ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
9
9
 
10
10
  import React, { useCallback } from 'react';
11
11
  import Tooltip from '@atlaskit/tooltip';
@@ -8,9 +8,9 @@ import _possibleConstructorReturn from "@babel/runtime/helpers/possibleConstruct
8
8
  import _getPrototypeOf from "@babel/runtime/helpers/getPrototypeOf";
9
9
  import _defineProperty from "@babel/runtime/helpers/defineProperty";
10
10
 
11
- function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; }
11
+ function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
12
12
 
13
- function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
13
+ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
14
14
 
15
15
  function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
16
16
 
@@ -6,9 +6,9 @@ import _possibleConstructorReturn from "@babel/runtime/helpers/possibleConstruct
6
6
  import _getPrototypeOf from "@babel/runtime/helpers/getPrototypeOf";
7
7
  import _defineProperty from "@babel/runtime/helpers/defineProperty";
8
8
 
9
- function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; }
9
+ function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
10
10
 
11
- function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
11
+ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
12
12
 
13
13
  function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
14
14
 
@@ -1,5 +1,6 @@
1
1
  import _toConsumableArray from "@babel/runtime/helpers/toConsumableArray";
2
2
  import { Node } from 'prosemirror-model';
3
+ import { transformTextLinkCodeMarks } from '@atlaskit/adf-utils';
3
4
  import { sanitizeNodeForPrivacy } from '../utils/filter/privacy-filter';
4
5
  import { validateADFEntity, findAndTrackUnsupportedContentNodes } from '@atlaskit/editor-common';
5
6
  import { getBreakoutMode } from './node-width';
@@ -166,9 +167,26 @@ export function processRawValue(schema, value, providerFactory, sanitizePrivateC
166
167
 
167
168
  if (contentTransformer) {
168
169
  return Node.fromJSON(schema, node);
170
+ } // See: HOT-97965 https://product-fabric.atlassian.net/browse/ED-14400
171
+ // We declared in code mark spec that links and marks should not co-exist on
172
+ // text nodes. This util strips code marks from bad text nodes and preserves links.
173
+ // Otherwise, prosemirror will try to repair the invalid document by stripping links
174
+ // and preserving code marks during content changes.
175
+
176
+
177
+ var _transformTextLinkCod = transformTextLinkCodeMarks(node),
178
+ transformedAdf = _transformTextLinkCod.transformedAdf,
179
+ isTransformed = _transformTextLinkCod.isTransformed;
180
+
181
+ if (isTransformed && dispatchAnalyticsEvent) {
182
+ dispatchAnalyticsEvent({
183
+ action: ACTION.TEXT_LINK_MARK_TRANSFORMED,
184
+ actionSubject: ACTION_SUBJECT.EDITOR,
185
+ eventType: EVENT_TYPE.OPERATIONAL
186
+ });
169
187
  }
170
188
 
171
- var entity = validateADFEntity(schema, node, dispatchAnalyticsEvent);
189
+ var entity = validateADFEntity(schema, transformedAdf || node, dispatchAnalyticsEvent);
172
190
  var newEntity = maySanitizePrivateContent(entity, providerFactory, sanitizePrivateContent);
173
191
  var parsedDoc = Node.fromJSON(schema, newEntity); // throws an error if the document is invalid
174
192
 
@@ -1,8 +1,8 @@
1
1
  import _defineProperty from "@babel/runtime/helpers/defineProperty";
2
2
 
3
- function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; }
3
+ function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
4
4
 
5
- function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
5
+ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
6
6
 
7
7
  import { traverse } from '@atlaskit/adf-utils';
8
8
  import { isResolvingMentionProvider } from '@atlaskit/mention/resource';
@@ -1,8 +1,8 @@
1
1
  import _defineProperty from "@babel/runtime/helpers/defineProperty";
2
2
 
3
- function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; }
3
+ function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
4
4
 
5
- function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
5
+ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
6
6
 
7
7
  import { canJoin, findWrapping } from 'prosemirror-transform';
8
8
  import { closeHistory } from 'prosemirror-history';
@@ -3,9 +3,9 @@ import _classCallCheck from "@babel/runtime/helpers/classCallCheck";
3
3
  import _createClass from "@babel/runtime/helpers/createClass";
4
4
  import _defineProperty from "@babel/runtime/helpers/defineProperty";
5
5
 
6
- function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; }
6
+ function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
7
7
 
8
- function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
8
+ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
9
9
 
10
10
  import { outlier } from './outlier';
11
11
  import { EVENT_NAME_STATE_APPLY, EVENT_NAME_UPDATE_STATE, EVENT_NAME_ON_CHANGE, EVENT_NAME_VIEW_STATE_UPDATED } from './track-transactions';
@@ -1,4 +1,5 @@
1
1
  import _toConsumableArray from "@babel/runtime/helpers/toConsumableArray";
2
+ import _createClass from "@babel/runtime/helpers/createClass";
2
3
  import _classCallCheck from "@babel/runtime/helpers/classCallCheck";
3
4
  import _defineProperty from "@babel/runtime/helpers/defineProperty";
4
5
  import { EVENT_NAME_DISPATCH_TRANSACTION, EVENT_NAME_STATE_APPLY, EVENT_NAME_UPDATE_STATE, EVENT_NAME_VIEW_STATE_UPDATED, EVENT_NAME_ON_CHANGE } from './track-transactions';
@@ -15,7 +16,7 @@ var EVENT_NAMES = [EVENT_NAME_STATE_APPLY, EVENT_NAME_UPDATE_STATE, EVENT_NAME_V
15
16
  * which occur during dispatchTransactions are synchronous.
16
17
  */
17
18
 
18
- export var SimpleMeasurementLogger = function SimpleMeasurementLogger() {
19
+ export var SimpleMeasurementLogger = /*#__PURE__*/_createClass(function SimpleMeasurementLogger() {
19
20
  var _this = this;
20
21
 
21
22
  _classCallCheck(this, SimpleMeasurementLogger);
@@ -104,4 +105,4 @@ export var SimpleMeasurementLogger = function SimpleMeasurementLogger() {
104
105
  _this.currentBatch = [];
105
106
  }
106
107
  });
107
- };
108
+ });
@@ -1,8 +1,8 @@
1
1
  import _defineProperty from "@babel/runtime/helpers/defineProperty";
2
2
 
3
- function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; }
3
+ function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
4
4
 
5
- function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
5
+ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
6
6
 
7
7
  var pickBy = function pickBy(test, object) {
8
8
  return Object.keys(object).reduce(function (obj, key) {
@@ -1,8 +1,8 @@
1
1
  import _defineProperty from "@babel/runtime/helpers/defineProperty";
2
2
 
3
- function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; }
3
+ function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
4
4
 
5
- function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
5
+ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
6
6
 
7
7
  import { wrappedLayouts, shouldAddDefaultWrappedWidth, calcPxFromColumns } from '@atlaskit/editor-common';
8
8
  import { findParentNodeOfTypeClosestToPos } from 'prosemirror-utils';
@@ -1,8 +1,8 @@
1
1
  import _defineProperty from "@babel/runtime/helpers/defineProperty";
2
2
 
3
- function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; }
3
+ function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
4
4
 
5
- function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
5
+ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
6
6
 
7
7
  import { CellSelection } from '@atlaskit/editor-tables/cell-selection';
8
8
  import { NodeSelection, TextSelection, AllSelection } from 'prosemirror-state';
@@ -1,5 +1,5 @@
1
1
  export var name = "@atlaskit/editor-core";
2
- export var version = "153.1.3";
2
+ export var version = "153.1.4";
3
3
  export var nextMajorVersion = function nextMajorVersion() {
4
4
  return [Number(version.split('.')[0]) + 1, 0, 0].join('.');
5
5
  };
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-core",
3
- "version": "153.1.3",
3
+ "version": "153.1.4",
4
4
  "sideEffects": false
5
5
  }
@@ -75,6 +75,7 @@ export declare enum ACTION {
75
75
  SYNCHRONY_DISCONNECTED = "synchronyDisconnected",
76
76
  SYNCHRONY_ENTITY_ERROR = "synchronyEntityError",
77
77
  SYNCHRONY_ERROR = "synchronyError",
78
+ TEXT_LINK_MARK_TRANSFORMED = "textLinkMarkTransformed",
78
79
  TOGGLE_EXPAND = "toggleExpand",
79
80
  TRANSACTION_DISPATCHED = "transactionDispatched",
80
81
  TYPING_FINISHED = "typingFinished",
@@ -154,5 +154,6 @@ declare type RichMediaLayoutAEP = TrackAEP<ACTION.SELECTED, ACTION_SUBJECT.MEDIA
154
154
  declare type CodeBlockLanguageSelectedAEP = TrackAEP<ACTION.LANGUAGE_SELECTED, ACTION_SUBJECT.CODE_BLOCK, undefined, {
155
155
  language: string;
156
156
  }, undefined>;
157
- export declare type GeneralEventPayload<T = void> = AnnotateButtonAEP | AnnotationAEP | BrowserFreezePayload | ButtonFeedbackAEP | ButtonHelpAEP | ColorPickerAEP | DispatchedTransactionAEP | EditorPerfAEP | EditorRenderedAEP<T> | EditorStartAEP | EditorStopAEP | EditorTTIAEP | ExpandToggleAEP | FeedbackAEP | FullWidthModeAEP | HelpQuickInsertAEP | InputPerfSamlingAEP | PickerEmojiAEP | PickerImageAEP | ReactNodeViewRenderedAEP | RichMediaLayoutAEP | SelectionAEP | SlowInputAEP | UploadExternalFailedAEP | WithPluginStateCalledAEP | CodeBlockLanguageSelectedAEP | EditorContentRetrievalPerformedAEP | UfoSessionCompletePayloadAEP | InvalidProsemirrorDocumentErrorAEP | DocumentProcessingErrorAEP;
157
+ declare type TextLinkCodeMarkTransformedAEP = OperationalAEP<ACTION.TEXT_LINK_MARK_TRANSFORMED, ACTION_SUBJECT.EDITOR, undefined, undefined, undefined>;
158
+ export declare type GeneralEventPayload<T = void> = AnnotateButtonAEP | AnnotationAEP | BrowserFreezePayload | ButtonFeedbackAEP | ButtonHelpAEP | ColorPickerAEP | DispatchedTransactionAEP | EditorPerfAEP | EditorRenderedAEP<T> | EditorStartAEP | EditorStopAEP | EditorTTIAEP | ExpandToggleAEP | FeedbackAEP | FullWidthModeAEP | HelpQuickInsertAEP | InputPerfSamlingAEP | PickerEmojiAEP | PickerImageAEP | ReactNodeViewRenderedAEP | RichMediaLayoutAEP | SelectionAEP | SlowInputAEP | UploadExternalFailedAEP | WithPluginStateCalledAEP | CodeBlockLanguageSelectedAEP | EditorContentRetrievalPerformedAEP | UfoSessionCompletePayloadAEP | TextLinkCodeMarkTransformedAEP | InvalidProsemirrorDocumentErrorAEP | DocumentProcessingErrorAEP;
158
159
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-core",
3
- "version": "153.1.3",
3
+ "version": "153.1.4",
4
4
  "description": "A package contains Atlassian editor core functionality",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -138,7 +138,7 @@
138
138
  },
139
139
  "devDependencies": {
140
140
  "@atlaskit/atlassian-navigation": "^2.0.0",
141
- "@atlaskit/breadcrumbs": "11.5.0",
141
+ "@atlaskit/breadcrumbs": "11.5.1",
142
142
  "@atlaskit/code": "^14.3.0",
143
143
  "@atlaskit/collab-provider": "7.1.3",
144
144
  "@atlaskit/docs": "*",