@atlaskit/editor-core 188.9.0 → 188.9.2

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 (207) hide show
  1. package/CHANGELOG.md +7 -0
  2. package/dist/cjs/labs/next/presets/default.js +2 -2
  3. package/dist/cjs/plugins/index.js +0 -7
  4. package/dist/cjs/plugins/insert-block/index.js +4 -6
  5. package/dist/cjs/plugins/tasks-and-decisions/index.js +4 -3
  6. package/dist/cjs/plugins/tasks-and-decisions/nodeviews/decisionItem.js +26 -6
  7. package/dist/cjs/plugins/tasks-and-decisions/nodeviews/taskItem.js +45 -13
  8. package/dist/cjs/plugins/tasks-and-decisions/pm-plugins/main.js +15 -7
  9. package/dist/cjs/version-wrapper.js +1 -1
  10. package/dist/es2019/labs/next/presets/default.js +1 -1
  11. package/dist/es2019/plugins/index.js +0 -1
  12. package/dist/es2019/plugins/insert-block/index.js +4 -6
  13. package/dist/es2019/plugins/tasks-and-decisions/index.js +4 -3
  14. package/dist/es2019/plugins/tasks-and-decisions/nodeviews/decisionItem.js +26 -6
  15. package/dist/es2019/plugins/tasks-and-decisions/nodeviews/taskItem.js +43 -10
  16. package/dist/es2019/plugins/tasks-and-decisions/pm-plugins/main.js +13 -6
  17. package/dist/es2019/version-wrapper.js +1 -1
  18. package/dist/esm/labs/next/presets/default.js +1 -1
  19. package/dist/esm/plugins/index.js +0 -1
  20. package/dist/esm/plugins/insert-block/index.js +4 -6
  21. package/dist/esm/plugins/tasks-and-decisions/index.js +4 -3
  22. package/dist/esm/plugins/tasks-and-decisions/nodeviews/decisionItem.js +26 -6
  23. package/dist/esm/plugins/tasks-and-decisions/nodeviews/taskItem.js +45 -12
  24. package/dist/esm/plugins/tasks-and-decisions/pm-plugins/main.js +14 -7
  25. package/dist/esm/version-wrapper.js +1 -1
  26. package/dist/types/labs/next/presets/default.d.ts +43 -43
  27. package/dist/types/plugins/index.d.ts +0 -1
  28. package/dist/types/plugins/insert-block/types.d.ts +2 -0
  29. package/dist/types/plugins/tasks-and-decisions/index.d.ts +2 -5
  30. package/dist/types/plugins/tasks-and-decisions/nodeviews/decisionItem.d.ts +9 -4
  31. package/dist/types/plugins/tasks-and-decisions/nodeviews/taskItem.d.ts +9 -4
  32. package/dist/types/plugins/tasks-and-decisions/pm-plugins/main.d.ts +4 -2
  33. package/dist/types/plugins/tasks-and-decisions/types.d.ts +6 -1
  34. package/dist/types-ts4.5/labs/next/presets/default.d.ts +43 -43
  35. package/dist/types-ts4.5/plugins/index.d.ts +0 -1
  36. package/dist/types-ts4.5/plugins/insert-block/types.d.ts +2 -0
  37. package/dist/types-ts4.5/plugins/tasks-and-decisions/index.d.ts +2 -5
  38. package/dist/types-ts4.5/plugins/tasks-and-decisions/nodeviews/decisionItem.d.ts +9 -4
  39. package/dist/types-ts4.5/plugins/tasks-and-decisions/nodeviews/taskItem.d.ts +9 -4
  40. package/dist/types-ts4.5/plugins/tasks-and-decisions/pm-plugins/main.d.ts +4 -2
  41. package/dist/types-ts4.5/plugins/tasks-and-decisions/types.d.ts +8 -1
  42. package/package.json +3 -5
  43. package/dist/cjs/plugins/type-ahead/api.js +0 -215
  44. package/dist/cjs/plugins/type-ahead/commands/insert-type-ahead-item.js +0 -205
  45. package/dist/cjs/plugins/type-ahead/commands/update-list-items.js +0 -23
  46. package/dist/cjs/plugins/type-ahead/commands/update-query.js +0 -27
  47. package/dist/cjs/plugins/type-ahead/commands/update-selected-index.js +0 -27
  48. package/dist/cjs/plugins/type-ahead/constants.js +0 -15
  49. package/dist/cjs/plugins/type-ahead/index.js +0 -14
  50. package/dist/cjs/plugins/type-ahead/insert-utils.js +0 -107
  51. package/dist/cjs/plugins/type-ahead/messages.js +0 -79
  52. package/dist/cjs/plugins/type-ahead/plugin.js +0 -382
  53. package/dist/cjs/plugins/type-ahead/pm-plugins/actions.js +0 -16
  54. package/dist/cjs/plugins/type-ahead/pm-plugins/decorations.js +0 -148
  55. package/dist/cjs/plugins/type-ahead/pm-plugins/input-rules.js +0 -36
  56. package/dist/cjs/plugins/type-ahead/pm-plugins/insert-item-plugin.js +0 -22
  57. package/dist/cjs/plugins/type-ahead/pm-plugins/key.js +0 -8
  58. package/dist/cjs/plugins/type-ahead/pm-plugins/main.js +0 -110
  59. package/dist/cjs/plugins/type-ahead/pm-plugins/reducer.js +0 -158
  60. package/dist/cjs/plugins/type-ahead/pm-plugins/utils.js +0 -18
  61. package/dist/cjs/plugins/type-ahead/stats-modifier.js +0 -42
  62. package/dist/cjs/plugins/type-ahead/transforms/close-type-ahead.js +0 -13
  63. package/dist/cjs/plugins/type-ahead/transforms/open-typeahead-at-cursor.js +0 -75
  64. package/dist/cjs/plugins/type-ahead/transforms/set-selection-before-query.js +0 -18
  65. package/dist/cjs/plugins/type-ahead/types.js +0 -5
  66. package/dist/cjs/plugins/type-ahead/ui/AssistiveText.js +0 -120
  67. package/dist/cjs/plugins/type-ahead/ui/InputQuery.js +0 -400
  68. package/dist/cjs/plugins/type-ahead/ui/TypeAheadList.js +0 -285
  69. package/dist/cjs/plugins/type-ahead/ui/TypeAheadListItem.js +0 -179
  70. package/dist/cjs/plugins/type-ahead/ui/TypeAheadPopup.js +0 -230
  71. package/dist/cjs/plugins/type-ahead/ui/WrapperTypeAhead.js +0 -127
  72. package/dist/cjs/plugins/type-ahead/ui/hooks/use-item-insert.js +0 -109
  73. package/dist/cjs/plugins/type-ahead/ui/hooks/use-load-items.js +0 -50
  74. package/dist/cjs/plugins/type-ahead/ui/hooks/use-on-force-select.js +0 -41
  75. package/dist/cjs/plugins/type-ahead/utils.js +0 -130
  76. package/dist/es2019/plugins/type-ahead/api.js +0 -205
  77. package/dist/es2019/plugins/type-ahead/commands/insert-type-ahead-item.js +0 -204
  78. package/dist/es2019/plugins/type-ahead/commands/update-list-items.js +0 -17
  79. package/dist/es2019/plugins/type-ahead/commands/update-query.js +0 -21
  80. package/dist/es2019/plugins/type-ahead/commands/update-selected-index.js +0 -21
  81. package/dist/es2019/plugins/type-ahead/constants.js +0 -9
  82. package/dist/es2019/plugins/type-ahead/index.js +0 -3
  83. package/dist/es2019/plugins/type-ahead/insert-utils.js +0 -106
  84. package/dist/es2019/plugins/type-ahead/messages.js +0 -73
  85. package/dist/es2019/plugins/type-ahead/plugin.js +0 -381
  86. package/dist/es2019/plugins/type-ahead/pm-plugins/actions.js +0 -10
  87. package/dist/es2019/plugins/type-ahead/pm-plugins/decorations.js +0 -148
  88. package/dist/es2019/plugins/type-ahead/pm-plugins/input-rules.js +0 -29
  89. package/dist/es2019/plugins/type-ahead/pm-plugins/insert-item-plugin.js +0 -16
  90. package/dist/es2019/plugins/type-ahead/pm-plugins/key.js +0 -2
  91. package/dist/es2019/plugins/type-ahead/pm-plugins/main.js +0 -106
  92. package/dist/es2019/plugins/type-ahead/pm-plugins/reducer.js +0 -160
  93. package/dist/es2019/plugins/type-ahead/pm-plugins/utils.js +0 -12
  94. package/dist/es2019/plugins/type-ahead/stats-modifier.js +0 -33
  95. package/dist/es2019/plugins/type-ahead/transforms/close-type-ahead.js +0 -7
  96. package/dist/es2019/plugins/type-ahead/transforms/open-typeahead-at-cursor.js +0 -71
  97. package/dist/es2019/plugins/type-ahead/transforms/set-selection-before-query.js +0 -10
  98. package/dist/es2019/plugins/type-ahead/types.js +0 -1
  99. package/dist/es2019/plugins/type-ahead/ui/AssistiveText.js +0 -88
  100. package/dist/es2019/plugins/type-ahead/ui/InputQuery.js +0 -393
  101. package/dist/es2019/plugins/type-ahead/ui/TypeAheadList.js +0 -273
  102. package/dist/es2019/plugins/type-ahead/ui/TypeAheadListItem.js +0 -214
  103. package/dist/es2019/plugins/type-ahead/ui/TypeAheadPopup.js +0 -233
  104. package/dist/es2019/plugins/type-ahead/ui/WrapperTypeAhead.js +0 -109
  105. package/dist/es2019/plugins/type-ahead/ui/hooks/use-item-insert.js +0 -112
  106. package/dist/es2019/plugins/type-ahead/ui/hooks/use-load-items.js +0 -41
  107. package/dist/es2019/plugins/type-ahead/ui/hooks/use-on-force-select.js +0 -38
  108. package/dist/es2019/plugins/type-ahead/utils.js +0 -126
  109. package/dist/esm/plugins/type-ahead/api.js +0 -209
  110. package/dist/esm/plugins/type-ahead/commands/insert-type-ahead-item.js +0 -198
  111. package/dist/esm/plugins/type-ahead/commands/update-list-items.js +0 -17
  112. package/dist/esm/plugins/type-ahead/commands/update-query.js +0 -21
  113. package/dist/esm/plugins/type-ahead/commands/update-selected-index.js +0 -21
  114. package/dist/esm/plugins/type-ahead/constants.js +0 -9
  115. package/dist/esm/plugins/type-ahead/index.js +0 -3
  116. package/dist/esm/plugins/type-ahead/insert-utils.js +0 -101
  117. package/dist/esm/plugins/type-ahead/messages.js +0 -73
  118. package/dist/esm/plugins/type-ahead/plugin.js +0 -374
  119. package/dist/esm/plugins/type-ahead/pm-plugins/actions.js +0 -10
  120. package/dist/esm/plugins/type-ahead/pm-plugins/decorations.js +0 -141
  121. package/dist/esm/plugins/type-ahead/pm-plugins/input-rules.js +0 -29
  122. package/dist/esm/plugins/type-ahead/pm-plugins/insert-item-plugin.js +0 -16
  123. package/dist/esm/plugins/type-ahead/pm-plugins/key.js +0 -2
  124. package/dist/esm/plugins/type-ahead/pm-plugins/main.js +0 -104
  125. package/dist/esm/plugins/type-ahead/pm-plugins/reducer.js +0 -151
  126. package/dist/esm/plugins/type-ahead/pm-plugins/utils.js +0 -12
  127. package/dist/esm/plugins/type-ahead/stats-modifier.js +0 -35
  128. package/dist/esm/plugins/type-ahead/transforms/close-type-ahead.js +0 -7
  129. package/dist/esm/plugins/type-ahead/transforms/open-typeahead-at-cursor.js +0 -69
  130. package/dist/esm/plugins/type-ahead/transforms/set-selection-before-query.js +0 -12
  131. package/dist/esm/plugins/type-ahead/types.js +0 -1
  132. package/dist/esm/plugins/type-ahead/ui/AssistiveText.js +0 -115
  133. package/dist/esm/plugins/type-ahead/ui/InputQuery.js +0 -390
  134. package/dist/esm/plugins/type-ahead/ui/TypeAheadList.js +0 -276
  135. package/dist/esm/plugins/type-ahead/ui/TypeAheadListItem.js +0 -169
  136. package/dist/esm/plugins/type-ahead/ui/TypeAheadPopup.js +0 -220
  137. package/dist/esm/plugins/type-ahead/ui/WrapperTypeAhead.js +0 -117
  138. package/dist/esm/plugins/type-ahead/ui/hooks/use-item-insert.js +0 -103
  139. package/dist/esm/plugins/type-ahead/ui/hooks/use-load-items.js +0 -43
  140. package/dist/esm/plugins/type-ahead/ui/hooks/use-on-force-select.js +0 -35
  141. package/dist/esm/plugins/type-ahead/utils.js +0 -124
  142. package/dist/types/plugins/type-ahead/api.d.ts +0 -61
  143. package/dist/types/plugins/type-ahead/commands/insert-type-ahead-item.d.ts +0 -12
  144. package/dist/types/plugins/type-ahead/commands/update-list-items.d.ts +0 -3
  145. package/dist/types/plugins/type-ahead/commands/update-query.d.ts +0 -2
  146. package/dist/types/plugins/type-ahead/commands/update-selected-index.d.ts +0 -2
  147. package/dist/types/plugins/type-ahead/constants.d.ts +0 -8
  148. package/dist/types/plugins/type-ahead/index.d.ts +0 -4
  149. package/dist/types/plugins/type-ahead/insert-utils.d.ts +0 -18
  150. package/dist/types/plugins/type-ahead/messages.d.ts +0 -72
  151. package/dist/types/plugins/type-ahead/plugin.d.ts +0 -10
  152. package/dist/types/plugins/type-ahead/pm-plugins/actions.d.ts +0 -9
  153. package/dist/types/plugins/type-ahead/pm-plugins/decorations.d.ts +0 -14
  154. package/dist/types/plugins/type-ahead/pm-plugins/input-rules.d.ts +0 -6
  155. package/dist/types/plugins/type-ahead/pm-plugins/insert-item-plugin.d.ts +0 -2
  156. package/dist/types/plugins/type-ahead/pm-plugins/key.d.ts +0 -3
  157. package/dist/types/plugins/type-ahead/pm-plugins/main.d.ts +0 -14
  158. package/dist/types/plugins/type-ahead/pm-plugins/reducer.d.ts +0 -10
  159. package/dist/types/plugins/type-ahead/pm-plugins/utils.d.ts +0 -4
  160. package/dist/types/plugins/type-ahead/stats-modifier.d.ts +0 -20
  161. package/dist/types/plugins/type-ahead/transforms/close-type-ahead.d.ts +0 -2
  162. package/dist/types/plugins/type-ahead/transforms/open-typeahead-at-cursor.d.ts +0 -11
  163. package/dist/types/plugins/type-ahead/transforms/set-selection-before-query.d.ts +0 -2
  164. package/dist/types/plugins/type-ahead/types.d.ts +0 -109
  165. package/dist/types/plugins/type-ahead/ui/AssistiveText.d.ts +0 -33
  166. package/dist/types/plugins/type-ahead/ui/InputQuery.d.ts +0 -26
  167. package/dist/types/plugins/type-ahead/ui/TypeAheadList.d.ts +0 -25
  168. package/dist/types/plugins/type-ahead/ui/TypeAheadListItem.d.ts +0 -18
  169. package/dist/types/plugins/type-ahead/ui/TypeAheadPopup.d.ts +0 -29
  170. package/dist/types/plugins/type-ahead/ui/WrapperTypeAhead.d.ts +0 -20
  171. package/dist/types/plugins/type-ahead/ui/hooks/use-item-insert.d.ts +0 -3
  172. package/dist/types/plugins/type-ahead/ui/hooks/use-load-items.d.ts +0 -3
  173. package/dist/types/plugins/type-ahead/ui/hooks/use-on-force-select.d.ts +0 -11
  174. package/dist/types/plugins/type-ahead/utils.d.ts +0 -27
  175. package/dist/types-ts4.5/plugins/type-ahead/api.d.ts +0 -61
  176. package/dist/types-ts4.5/plugins/type-ahead/commands/insert-type-ahead-item.d.ts +0 -12
  177. package/dist/types-ts4.5/plugins/type-ahead/commands/update-list-items.d.ts +0 -3
  178. package/dist/types-ts4.5/plugins/type-ahead/commands/update-query.d.ts +0 -2
  179. package/dist/types-ts4.5/plugins/type-ahead/commands/update-selected-index.d.ts +0 -2
  180. package/dist/types-ts4.5/plugins/type-ahead/constants.d.ts +0 -8
  181. package/dist/types-ts4.5/plugins/type-ahead/index.d.ts +0 -4
  182. package/dist/types-ts4.5/plugins/type-ahead/insert-utils.d.ts +0 -18
  183. package/dist/types-ts4.5/plugins/type-ahead/messages.d.ts +0 -72
  184. package/dist/types-ts4.5/plugins/type-ahead/plugin.d.ts +0 -10
  185. package/dist/types-ts4.5/plugins/type-ahead/pm-plugins/actions.d.ts +0 -9
  186. package/dist/types-ts4.5/plugins/type-ahead/pm-plugins/decorations.d.ts +0 -14
  187. package/dist/types-ts4.5/plugins/type-ahead/pm-plugins/input-rules.d.ts +0 -6
  188. package/dist/types-ts4.5/plugins/type-ahead/pm-plugins/insert-item-plugin.d.ts +0 -2
  189. package/dist/types-ts4.5/plugins/type-ahead/pm-plugins/key.d.ts +0 -3
  190. package/dist/types-ts4.5/plugins/type-ahead/pm-plugins/main.d.ts +0 -14
  191. package/dist/types-ts4.5/plugins/type-ahead/pm-plugins/reducer.d.ts +0 -10
  192. package/dist/types-ts4.5/plugins/type-ahead/pm-plugins/utils.d.ts +0 -4
  193. package/dist/types-ts4.5/plugins/type-ahead/stats-modifier.d.ts +0 -20
  194. package/dist/types-ts4.5/plugins/type-ahead/transforms/close-type-ahead.d.ts +0 -2
  195. package/dist/types-ts4.5/plugins/type-ahead/transforms/open-typeahead-at-cursor.d.ts +0 -11
  196. package/dist/types-ts4.5/plugins/type-ahead/transforms/set-selection-before-query.d.ts +0 -2
  197. package/dist/types-ts4.5/plugins/type-ahead/types.d.ts +0 -111
  198. package/dist/types-ts4.5/plugins/type-ahead/ui/AssistiveText.d.ts +0 -33
  199. package/dist/types-ts4.5/plugins/type-ahead/ui/InputQuery.d.ts +0 -26
  200. package/dist/types-ts4.5/plugins/type-ahead/ui/TypeAheadList.d.ts +0 -25
  201. package/dist/types-ts4.5/plugins/type-ahead/ui/TypeAheadListItem.d.ts +0 -18
  202. package/dist/types-ts4.5/plugins/type-ahead/ui/TypeAheadPopup.d.ts +0 -29
  203. package/dist/types-ts4.5/plugins/type-ahead/ui/WrapperTypeAhead.d.ts +0 -20
  204. package/dist/types-ts4.5/plugins/type-ahead/ui/hooks/use-item-insert.d.ts +0 -7
  205. package/dist/types-ts4.5/plugins/type-ahead/ui/hooks/use-load-items.d.ts +0 -3
  206. package/dist/types-ts4.5/plugins/type-ahead/ui/hooks/use-on-force-select.d.ts +0 -11
  207. package/dist/types-ts4.5/plugins/type-ahead/utils.d.ts +0 -27
@@ -10,7 +10,7 @@ import type { TextFormattingOptions, HyperlinkPluginOptions, QuickInsertPluginOp
10
10
  import type { CodeBlockOptions } from '../../../plugins/code-block/types';
11
11
  import type { SelectionPluginOptions } from '@atlaskit/editor-common/selection';
12
12
  import type { CardOptions } from '@atlaskit/editor-common/card';
13
- import type { TypeAheadPluginOptions } from '../../../plugins/type-ahead';
13
+ import type { TypeAheadPluginOptions } from '@atlaskit/editor-plugin-type-ahead';
14
14
  import { EditorPresetBuilder } from '@atlaskit/editor-common/preset';
15
15
  export type DefaultPresetPluginOptions = {
16
16
  paste: PastePluginOptions;
@@ -370,7 +370,7 @@ export declare function createDefaultPreset(options: EditorPresetProps & Default
370
370
  sharedState: import("@atlaskit/editor-plugin-composition").CompositionState;
371
371
  }, undefined>,
372
372
  import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"typeAhead", {
373
- pluginConfiguration: import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined;
373
+ pluginConfiguration: TypeAheadPluginOptions | undefined;
374
374
  dependencies: [
375
375
  import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
376
376
  pluginConfiguration: import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions;
@@ -391,21 +391,21 @@ export declare function createDefaultPreset(options: EditorPresetProps & Default
391
391
  query: string;
392
392
  isOpen: boolean;
393
393
  isAllowed: boolean;
394
- currentHandler?: import("@atlaskit/editor-common/types").TypeAheadHandler | undefined;
394
+ currentHandler?: import("@atlaskit/editor-plugin-type-ahead").TypeAheadHandler | undefined;
395
395
  };
396
396
  actions: {
397
397
  isOpen: (editorState: import("prosemirror-state").EditorState) => boolean;
398
398
  isAllowed: (editorState: import("prosemirror-state").EditorState) => boolean;
399
399
  insert: (props: {
400
- triggerHandler: import("@atlaskit/editor-common/types").TypeAheadHandler;
400
+ triggerHandler: import("@atlaskit/editor-plugin-type-ahead").TypeAheadHandler;
401
401
  contentItem: import("@atlaskit/editor-common/types").TypeAheadItem;
402
402
  query: string;
403
403
  sourceListItem: import("@atlaskit/editor-common/types").TypeAheadItem[];
404
404
  mode?: import("@atlaskit/editor-common/type-ahead").SelectItemMode | undefined;
405
405
  }) => boolean;
406
- findHandlerByTrigger: (trigger: string) => import("@atlaskit/editor-common/types").TypeAheadHandler | null;
406
+ findHandlerByTrigger: (trigger: string) => import("@atlaskit/editor-plugin-type-ahead").TypeAheadHandler | null;
407
407
  open: (props: {
408
- triggerHandler: import("@atlaskit/editor-common/types").TypeAheadHandler;
408
+ triggerHandler: import("@atlaskit/editor-plugin-type-ahead").TypeAheadHandler;
409
409
  inputMethod: import("@atlaskit/editor-plugin-type-ahead").TypeAheadInputMethod;
410
410
  query?: string | undefined;
411
411
  }) => boolean;
@@ -414,12 +414,12 @@ export declare function createDefaultPreset(options: EditorPresetProps & Default
414
414
  attachCommand?: import("@atlaskit/editor-common/types").Command | undefined;
415
415
  }) => boolean;
416
416
  openAtTransaction: (props: {
417
- triggerHandler: import("@atlaskit/editor-common/types").TypeAheadHandler;
417
+ triggerHandler: import("@atlaskit/editor-plugin-type-ahead").TypeAheadHandler;
418
418
  inputMethod: import("@atlaskit/editor-plugin-type-ahead").TypeAheadInputMethod;
419
419
  query?: string | undefined;
420
420
  }) => (tr: import("prosemirror-state").Transaction) => boolean;
421
421
  };
422
- }, import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined>
422
+ }, TypeAheadPluginOptions | undefined>
423
423
  ];
424
424
  }, PlaceholderPluginOptions | undefined>,
425
425
  import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"typeAhead", {
@@ -444,22 +444,22 @@ export declare function createDefaultPreset(options: EditorPresetProps & Default
444
444
  query: string;
445
445
  isOpen: boolean;
446
446
  isAllowed: boolean;
447
- currentHandler?: import("@atlaskit/editor-common/types").TypeAheadHandler | undefined;
447
+ currentHandler?: import("@atlaskit/editor-plugin-type-ahead").TypeAheadHandler | undefined;
448
448
  };
449
449
  actions: {
450
450
  isOpen: (editorState: import("prosemirror-state").EditorState) => boolean;
451
451
  isAllowed: (editorState: import("prosemirror-state").EditorState) => boolean;
452
452
  insert: (props: {
453
- triggerHandler: import("@atlaskit/editor-common/types").TypeAheadHandler;
453
+ triggerHandler: import("@atlaskit/editor-plugin-type-ahead").TypeAheadHandler;
454
454
  contentItem: import("@atlaskit/editor-common/types").TypeAheadItem;
455
455
  query: string;
456
456
  sourceListItem: import("@atlaskit/editor-common/types").TypeAheadItem[];
457
457
  mode?: import("@atlaskit/editor-common/type-ahead").SelectItemMode | undefined;
458
458
  }) => boolean;
459
- findHandlerByTrigger: (trigger: string) => import("@atlaskit/editor-common/types").TypeAheadHandler | null;
459
+ findHandlerByTrigger: (trigger: string) => import("@atlaskit/editor-plugin-type-ahead").TypeAheadHandler | null;
460
460
  open: (props: {
461
- triggerHandler: import("@atlaskit/editor-common/types").TypeAheadHandler;
462
- inputMethod: import("../../../plugins/type-ahead").TypeAheadInputMethod;
461
+ triggerHandler: import("@atlaskit/editor-plugin-type-ahead").TypeAheadHandler;
462
+ inputMethod: import("@atlaskit/editor-plugin-type-ahead").TypeAheadInputMethod;
463
463
  query?: string | undefined;
464
464
  }) => boolean;
465
465
  close: (props: {
@@ -467,8 +467,8 @@ export declare function createDefaultPreset(options: EditorPresetProps & Default
467
467
  attachCommand?: import("@atlaskit/editor-common/types").Command | undefined;
468
468
  }) => boolean;
469
469
  openAtTransaction: (props: {
470
- triggerHandler: import("@atlaskit/editor-common/types").TypeAheadHandler;
471
- inputMethod: import("../../../plugins/type-ahead").TypeAheadInputMethod;
470
+ triggerHandler: import("@atlaskit/editor-plugin-type-ahead").TypeAheadHandler;
471
+ inputMethod: import("@atlaskit/editor-plugin-type-ahead").TypeAheadInputMethod;
472
472
  query?: string | undefined;
473
473
  }) => (tr: import("prosemirror-state").Transaction) => boolean;
474
474
  };
@@ -477,7 +477,7 @@ export declare function createDefaultPreset(options: EditorPresetProps & Default
477
477
  pluginConfiguration: QuickInsertPluginOptions | undefined;
478
478
  dependencies: [
479
479
  import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"typeAhead", {
480
- pluginConfiguration: import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined;
480
+ pluginConfiguration: TypeAheadPluginOptions | undefined;
481
481
  dependencies: [
482
482
  import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
483
483
  pluginConfiguration: import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions;
@@ -498,21 +498,21 @@ export declare function createDefaultPreset(options: EditorPresetProps & Default
498
498
  query: string;
499
499
  isOpen: boolean;
500
500
  isAllowed: boolean;
501
- currentHandler?: import("@atlaskit/editor-common/types").TypeAheadHandler | undefined;
501
+ currentHandler?: import("@atlaskit/editor-plugin-type-ahead").TypeAheadHandler | undefined;
502
502
  };
503
503
  actions: {
504
504
  isOpen: (editorState: import("prosemirror-state").EditorState) => boolean;
505
505
  isAllowed: (editorState: import("prosemirror-state").EditorState) => boolean;
506
506
  insert: (props: {
507
- triggerHandler: import("@atlaskit/editor-common/types").TypeAheadHandler;
507
+ triggerHandler: import("@atlaskit/editor-plugin-type-ahead").TypeAheadHandler;
508
508
  contentItem: import("@atlaskit/editor-common/types").TypeAheadItem;
509
509
  query: string;
510
510
  sourceListItem: import("@atlaskit/editor-common/types").TypeAheadItem[];
511
511
  mode?: import("@atlaskit/editor-common/type-ahead").SelectItemMode | undefined;
512
512
  }) => boolean;
513
- findHandlerByTrigger: (trigger: string) => import("@atlaskit/editor-common/types").TypeAheadHandler | null;
513
+ findHandlerByTrigger: (trigger: string) => import("@atlaskit/editor-plugin-type-ahead").TypeAheadHandler | null;
514
514
  open: (props: {
515
- triggerHandler: import("@atlaskit/editor-common/types").TypeAheadHandler;
515
+ triggerHandler: import("@atlaskit/editor-plugin-type-ahead").TypeAheadHandler;
516
516
  inputMethod: import("@atlaskit/editor-plugin-type-ahead").TypeAheadInputMethod;
517
517
  query?: string | undefined;
518
518
  }) => boolean;
@@ -521,12 +521,12 @@ export declare function createDefaultPreset(options: EditorPresetProps & Default
521
521
  attachCommand?: import("@atlaskit/editor-common/types").Command | undefined;
522
522
  }) => boolean;
523
523
  openAtTransaction: (props: {
524
- triggerHandler: import("@atlaskit/editor-common/types").TypeAheadHandler;
524
+ triggerHandler: import("@atlaskit/editor-plugin-type-ahead").TypeAheadHandler;
525
525
  inputMethod: import("@atlaskit/editor-plugin-type-ahead").TypeAheadInputMethod;
526
526
  query?: string | undefined;
527
527
  }) => (tr: import("prosemirror-state").Transaction) => boolean;
528
528
  };
529
- }, import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined>
529
+ }, TypeAheadPluginOptions | undefined>
530
530
  ];
531
531
  sharedState: import("@atlaskit/editor-plugin-quick-insert").QuickInsertSharedState | null;
532
532
  actions: {
@@ -941,7 +941,7 @@ export declare function useDefaultPreset(props: EditorPresetProps & DefaultPrese
941
941
  sharedState: import("@atlaskit/editor-plugin-composition").CompositionState;
942
942
  }, undefined>,
943
943
  import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"typeAhead", {
944
- pluginConfiguration: import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined;
944
+ pluginConfiguration: TypeAheadPluginOptions | undefined;
945
945
  dependencies: [
946
946
  import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
947
947
  pluginConfiguration: import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions;
@@ -962,21 +962,21 @@ export declare function useDefaultPreset(props: EditorPresetProps & DefaultPrese
962
962
  query: string;
963
963
  isOpen: boolean;
964
964
  isAllowed: boolean;
965
- currentHandler?: import("@atlaskit/editor-common/types").TypeAheadHandler | undefined;
965
+ currentHandler?: import("@atlaskit/editor-plugin-type-ahead").TypeAheadHandler | undefined;
966
966
  };
967
967
  actions: {
968
968
  isOpen: (editorState: import("prosemirror-state").EditorState) => boolean;
969
969
  isAllowed: (editorState: import("prosemirror-state").EditorState) => boolean;
970
970
  insert: (props: {
971
- triggerHandler: import("@atlaskit/editor-common/types").TypeAheadHandler;
971
+ triggerHandler: import("@atlaskit/editor-plugin-type-ahead").TypeAheadHandler;
972
972
  contentItem: import("@atlaskit/editor-common/types").TypeAheadItem;
973
973
  query: string;
974
974
  sourceListItem: import("@atlaskit/editor-common/types").TypeAheadItem[];
975
975
  mode?: import("@atlaskit/editor-common/type-ahead").SelectItemMode | undefined;
976
976
  }) => boolean;
977
- findHandlerByTrigger: (trigger: string) => import("@atlaskit/editor-common/types").TypeAheadHandler | null;
977
+ findHandlerByTrigger: (trigger: string) => import("@atlaskit/editor-plugin-type-ahead").TypeAheadHandler | null;
978
978
  open: (props: {
979
- triggerHandler: import("@atlaskit/editor-common/types").TypeAheadHandler;
979
+ triggerHandler: import("@atlaskit/editor-plugin-type-ahead").TypeAheadHandler;
980
980
  inputMethod: import("@atlaskit/editor-plugin-type-ahead").TypeAheadInputMethod;
981
981
  query?: string | undefined;
982
982
  }) => boolean;
@@ -985,12 +985,12 @@ export declare function useDefaultPreset(props: EditorPresetProps & DefaultPrese
985
985
  attachCommand?: import("@atlaskit/editor-common/types").Command | undefined;
986
986
  }) => boolean;
987
987
  openAtTransaction: (props: {
988
- triggerHandler: import("@atlaskit/editor-common/types").TypeAheadHandler;
988
+ triggerHandler: import("@atlaskit/editor-plugin-type-ahead").TypeAheadHandler;
989
989
  inputMethod: import("@atlaskit/editor-plugin-type-ahead").TypeAheadInputMethod;
990
990
  query?: string | undefined;
991
991
  }) => (tr: import("prosemirror-state").Transaction) => boolean;
992
992
  };
993
- }, import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined>
993
+ }, TypeAheadPluginOptions | undefined>
994
994
  ];
995
995
  }, PlaceholderPluginOptions | undefined>,
996
996
  import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"typeAhead", {
@@ -1015,22 +1015,22 @@ export declare function useDefaultPreset(props: EditorPresetProps & DefaultPrese
1015
1015
  query: string;
1016
1016
  isOpen: boolean;
1017
1017
  isAllowed: boolean;
1018
- currentHandler?: import("@atlaskit/editor-common/types").TypeAheadHandler | undefined;
1018
+ currentHandler?: import("@atlaskit/editor-plugin-type-ahead").TypeAheadHandler | undefined;
1019
1019
  };
1020
1020
  actions: {
1021
1021
  isOpen: (editorState: import("prosemirror-state").EditorState) => boolean;
1022
1022
  isAllowed: (editorState: import("prosemirror-state").EditorState) => boolean;
1023
1023
  insert: (props: {
1024
- triggerHandler: import("@atlaskit/editor-common/types").TypeAheadHandler;
1024
+ triggerHandler: import("@atlaskit/editor-plugin-type-ahead").TypeAheadHandler;
1025
1025
  contentItem: import("@atlaskit/editor-common/types").TypeAheadItem;
1026
1026
  query: string;
1027
1027
  sourceListItem: import("@atlaskit/editor-common/types").TypeAheadItem[];
1028
1028
  mode?: import("@atlaskit/editor-common/type-ahead").SelectItemMode | undefined;
1029
1029
  }) => boolean;
1030
- findHandlerByTrigger: (trigger: string) => import("@atlaskit/editor-common/types").TypeAheadHandler | null;
1030
+ findHandlerByTrigger: (trigger: string) => import("@atlaskit/editor-plugin-type-ahead").TypeAheadHandler | null;
1031
1031
  open: (props: {
1032
- triggerHandler: import("@atlaskit/editor-common/types").TypeAheadHandler;
1033
- inputMethod: import("../../../plugins/type-ahead").TypeAheadInputMethod;
1032
+ triggerHandler: import("@atlaskit/editor-plugin-type-ahead").TypeAheadHandler;
1033
+ inputMethod: import("@atlaskit/editor-plugin-type-ahead").TypeAheadInputMethod;
1034
1034
  query?: string | undefined;
1035
1035
  }) => boolean;
1036
1036
  close: (props: {
@@ -1038,8 +1038,8 @@ export declare function useDefaultPreset(props: EditorPresetProps & DefaultPrese
1038
1038
  attachCommand?: import("@atlaskit/editor-common/types").Command | undefined;
1039
1039
  }) => boolean;
1040
1040
  openAtTransaction: (props: {
1041
- triggerHandler: import("@atlaskit/editor-common/types").TypeAheadHandler;
1042
- inputMethod: import("../../../plugins/type-ahead").TypeAheadInputMethod;
1041
+ triggerHandler: import("@atlaskit/editor-plugin-type-ahead").TypeAheadHandler;
1042
+ inputMethod: import("@atlaskit/editor-plugin-type-ahead").TypeAheadInputMethod;
1043
1043
  query?: string | undefined;
1044
1044
  }) => (tr: import("prosemirror-state").Transaction) => boolean;
1045
1045
  };
@@ -1048,7 +1048,7 @@ export declare function useDefaultPreset(props: EditorPresetProps & DefaultPrese
1048
1048
  pluginConfiguration: QuickInsertPluginOptions | undefined;
1049
1049
  dependencies: [
1050
1050
  import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"typeAhead", {
1051
- pluginConfiguration: import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined;
1051
+ pluginConfiguration: TypeAheadPluginOptions | undefined;
1052
1052
  dependencies: [
1053
1053
  import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
1054
1054
  pluginConfiguration: import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions;
@@ -1069,21 +1069,21 @@ export declare function useDefaultPreset(props: EditorPresetProps & DefaultPrese
1069
1069
  query: string;
1070
1070
  isOpen: boolean;
1071
1071
  isAllowed: boolean;
1072
- currentHandler?: import("@atlaskit/editor-common/types").TypeAheadHandler | undefined;
1072
+ currentHandler?: import("@atlaskit/editor-plugin-type-ahead").TypeAheadHandler | undefined;
1073
1073
  };
1074
1074
  actions: {
1075
1075
  isOpen: (editorState: import("prosemirror-state").EditorState) => boolean;
1076
1076
  isAllowed: (editorState: import("prosemirror-state").EditorState) => boolean;
1077
1077
  insert: (props: {
1078
- triggerHandler: import("@atlaskit/editor-common/types").TypeAheadHandler;
1078
+ triggerHandler: import("@atlaskit/editor-plugin-type-ahead").TypeAheadHandler;
1079
1079
  contentItem: import("@atlaskit/editor-common/types").TypeAheadItem;
1080
1080
  query: string;
1081
1081
  sourceListItem: import("@atlaskit/editor-common/types").TypeAheadItem[];
1082
1082
  mode?: import("@atlaskit/editor-common/type-ahead").SelectItemMode | undefined;
1083
1083
  }) => boolean;
1084
- findHandlerByTrigger: (trigger: string) => import("@atlaskit/editor-common/types").TypeAheadHandler | null;
1084
+ findHandlerByTrigger: (trigger: string) => import("@atlaskit/editor-plugin-type-ahead").TypeAheadHandler | null;
1085
1085
  open: (props: {
1086
- triggerHandler: import("@atlaskit/editor-common/types").TypeAheadHandler;
1086
+ triggerHandler: import("@atlaskit/editor-plugin-type-ahead").TypeAheadHandler;
1087
1087
  inputMethod: import("@atlaskit/editor-plugin-type-ahead").TypeAheadInputMethod;
1088
1088
  query?: string | undefined;
1089
1089
  }) => boolean;
@@ -1092,12 +1092,12 @@ export declare function useDefaultPreset(props: EditorPresetProps & DefaultPrese
1092
1092
  attachCommand?: import("@atlaskit/editor-common/types").Command | undefined;
1093
1093
  }) => boolean;
1094
1094
  openAtTransaction: (props: {
1095
- triggerHandler: import("@atlaskit/editor-common/types").TypeAheadHandler;
1095
+ triggerHandler: import("@atlaskit/editor-plugin-type-ahead").TypeAheadHandler;
1096
1096
  inputMethod: import("@atlaskit/editor-plugin-type-ahead").TypeAheadInputMethod;
1097
1097
  query?: string | undefined;
1098
1098
  }) => (tr: import("prosemirror-state").Transaction) => boolean;
1099
1099
  };
1100
- }, import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined>
1100
+ }, TypeAheadPluginOptions | undefined>
1101
1101
  ];
1102
1102
  sharedState: import("@atlaskit/editor-plugin-quick-insert").QuickInsertSharedState | null;
1103
1103
  actions: {
@@ -18,7 +18,6 @@ export { default as placeholderTextPlugin } from './placeholder-text';
18
18
  export { default as submitEditorPlugin } from './submit-editor';
19
19
  export { default as tasksAndDecisionsPlugin } from './tasks-and-decisions';
20
20
  export { default as textColorPlugin } from './text-color';
21
- export { default as typeAheadPlugin } from './type-ahead';
22
21
  export { default as breakoutPlugin } from './breakout';
23
22
  export { default as alignmentPlugin } from './alignment';
24
23
  export { default as dataConsumerMarkPlugin } from './data-consumer';
@@ -13,10 +13,12 @@ import type codeBlockPlugin from '../code-block';
13
13
  import type panelPlugin from '../panel';
14
14
  import type { RulePlugin } from '@atlaskit/editor-plugin-rule';
15
15
  import type { MediaPlugin } from '@atlaskit/editor-plugin-media';
16
+ import type { TypeAheadPlugin } from '@atlaskit/editor-plugin-type-ahead';
16
17
  import type { MentionPlugin } from '../mentions';
17
18
  import type { StatusPlugin } from '@atlaskit/editor-plugin-status';
18
19
  export type InsertBlockPluginDependencies = [
19
20
  FeatureFlagsPlugin,
21
+ TypeAheadPlugin,
20
22
  OptionalPlugin<typeof tablesPlugin>,
21
23
  OptionalPlugin<typeof hyperlinkPlugin>,
22
24
  OptionalPlugin<DatePlugin>,
@@ -1,6 +1,3 @@
1
- import type { NextEditorPlugin } from '@atlaskit/editor-common/types';
2
- import type { TaskDecisionPluginOptions } from './types';
3
- declare const tasksAndDecisionsPlugin: NextEditorPlugin<'taskDecision', {
4
- pluginConfiguration: TaskDecisionPluginOptions | undefined;
5
- }>;
1
+ import type { TaskAndDecisionsPlugin } from './types';
2
+ declare const tasksAndDecisionsPlugin: TaskAndDecisionsPlugin;
6
3
  export default tasksAndDecisionsPlugin;
@@ -1,5 +1,10 @@
1
- import type { NodeView } from '@atlaskit/editor-prosemirror/view';
2
- import type { EventDispatcher } from '../../../event-dispatcher';
3
- import type { getPosHandler } from '../../../nodeviews';
1
+ import type { Node as PMNode } from '@atlaskit/editor-prosemirror/model';
2
+ import type { EditorView, NodeView } from '@atlaskit/editor-prosemirror/view';
3
+ import type { EventDispatcher } from '@atlaskit/editor-common/event-dispatcher';
4
4
  import type { PortalProviderAPI } from '@atlaskit/editor-common/portal-provider';
5
- export declare const decisionItemNodeView: (portalProviderAPI: PortalProviderAPI, eventDispatcher: EventDispatcher) => (node: any, view: any, getPos: getPosHandler) => NodeView;
5
+ import type { ExtractInjectionAPI } from '@atlaskit/editor-common/types';
6
+ import type { TaskAndDecisionsPlugin } from '../types';
7
+ type getPosHandler = getPosHandlerNode | boolean;
8
+ type getPosHandlerNode = () => number | undefined;
9
+ export declare const decisionItemNodeView: (portalProviderAPI: PortalProviderAPI, eventDispatcher: EventDispatcher, api: ExtractInjectionAPI<TaskAndDecisionsPlugin> | undefined) => (node: PMNode, view: EditorView, getPos: getPosHandler) => NodeView;
10
+ export {};
@@ -1,9 +1,14 @@
1
- import type { NodeView } from '@atlaskit/editor-prosemirror/view';
1
+ import type { Node as PMNode } from '@atlaskit/editor-prosemirror/model';
2
+ import type { EditorView, NodeView } from '@atlaskit/editor-prosemirror/view';
2
3
  import type { ProviderFactory } from '@atlaskit/editor-common/provider-factory';
3
- import type { EventDispatcher } from '../../../event-dispatcher';
4
- import type { getPosHandler } from '../../../nodeviews';
4
+ import type { EventDispatcher } from '@atlaskit/editor-common/event-dispatcher';
5
5
  import type { PortalProviderAPI } from '@atlaskit/editor-common/portal-provider';
6
+ import type { ExtractInjectionAPI } from '@atlaskit/editor-common/types';
7
+ import type { TaskAndDecisionsPlugin } from '../types';
8
+ type getPosHandler = getPosHandlerNode | boolean;
9
+ type getPosHandlerNode = () => number | undefined;
6
10
  export interface Props {
7
11
  providerFactory: ProviderFactory;
8
12
  }
9
- export declare function taskItemNodeViewFactory(portalProviderAPI: PortalProviderAPI, eventDispatcher: EventDispatcher, providerFactory: ProviderFactory): (node: any, view: any, getPos: getPosHandler) => NodeView;
13
+ export declare function taskItemNodeViewFactory(portalProviderAPI: PortalProviderAPI, eventDispatcher: EventDispatcher, providerFactory: ProviderFactory, api: ExtractInjectionAPI<TaskAndDecisionsPlugin> | undefined): (node: PMNode, view: EditorView, getPos: getPosHandler) => NodeView;
14
+ export {};
@@ -1,5 +1,7 @@
1
1
  import { SafePlugin } from '@atlaskit/editor-common/safe-plugin';
2
2
  import type { ProviderFactory } from '@atlaskit/editor-common/provider-factory';
3
- import type { Dispatch, EventDispatcher } from '../../../event-dispatcher';
3
+ import type { ExtractInjectionAPI } from '@atlaskit/editor-common/types';
4
+ import type { TaskAndDecisionsPlugin } from '../types';
5
+ import type { Dispatch, EventDispatcher } from '@atlaskit/editor-common/event-dispatcher';
4
6
  import type { PortalProviderAPI } from '@atlaskit/editor-common/portal-provider';
5
- export declare function createPlugin(portalProviderAPI: PortalProviderAPI, eventDispatcher: EventDispatcher, providerFactory: ProviderFactory, dispatch: Dispatch, useLongPressSelection?: boolean): SafePlugin<any>;
7
+ export declare function createPlugin(portalProviderAPI: PortalProviderAPI, eventDispatcher: EventDispatcher, providerFactory: ProviderFactory, dispatch: Dispatch, api: ExtractInjectionAPI<TaskAndDecisionsPlugin> | undefined, useLongPressSelection?: boolean): SafePlugin<any>;
@@ -2,7 +2,8 @@ import type { DecisionItemDefinition, TaskItemDefinition } from '@atlaskit/adf-s
2
2
  import type { NodeType } from '@atlaskit/editor-prosemirror/model';
3
3
  import type { EditorState, Transaction } from '@atlaskit/editor-prosemirror/state';
4
4
  import type { INPUT_METHOD, USER_CONTEXT } from '@atlaskit/editor-common/analytics';
5
- import type { LongPressSelectionPluginOptions } from '@atlaskit/editor-common/types';
5
+ import type { NextEditorPlugin, OptionalPlugin, LongPressSelectionPluginOptions } from '@atlaskit/editor-common/types';
6
+ import type { TypeAheadPlugin } from '@atlaskit/editor-plugin-type-ahead';
6
7
  export type TaskDecisionListType = 'taskList' | 'decisionList';
7
8
  export type TaskDecisionInputMethod = INPUT_METHOD.TOOLBAR | INPUT_METHOD.INSERT_MENU | INPUT_METHOD.QUICK_INSERT | INPUT_METHOD.FORMATTING | INPUT_METHOD.KEYBOARD;
8
9
  export type ContextData = {
@@ -24,3 +25,9 @@ export interface TaskDecisionPluginOptions extends LongPressSelectionPluginOptio
24
25
  allowNestedTasks?: boolean;
25
26
  consumeTabs?: boolean;
26
27
  }
28
+ export type TaskAndDecisionsPlugin = NextEditorPlugin<'taskDecision', {
29
+ pluginConfiguration: TaskDecisionPluginOptions | undefined;
30
+ dependencies: [
31
+ OptionalPlugin<TypeAheadPlugin>
32
+ ];
33
+ }>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-core",
3
- "version": "188.9.0",
3
+ "version": "188.9.2",
4
4
  "description": "A package contains Atlassian editor core functionality",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -93,7 +93,7 @@
93
93
  "@atlaskit/editor-plugin-status": "^0.1.0",
94
94
  "@atlaskit/editor-plugin-table": "^5.2.0",
95
95
  "@atlaskit/editor-plugin-text-formatting": "^0.4.0",
96
- "@atlaskit/editor-plugin-type-ahead": "^0.6.0",
96
+ "@atlaskit/editor-plugin-type-ahead": "^0.7.0",
97
97
  "@atlaskit/editor-plugin-unsupported-content": "^0.2.0",
98
98
  "@atlaskit/editor-plugin-width": "^0.2.0",
99
99
  "@atlaskit/editor-prosemirror": "1.1.0",
@@ -109,7 +109,6 @@
109
109
  "@atlaskit/media-client": "^24.0.0",
110
110
  "@atlaskit/media-common": "^9.0.0",
111
111
  "@atlaskit/mention": "^22.1.0",
112
- "@atlaskit/menu": "^2.0.0",
113
112
  "@atlaskit/platform-feature-flags": "^0.2.0",
114
113
  "@atlaskit/prosemirror-collab": "^0.2.0",
115
114
  "@atlaskit/prosemirror-input-rules": "^2.4.0",
@@ -131,7 +130,6 @@
131
130
  "@babel/runtime": "^7.0.0",
132
131
  "@emotion/react": "^11.7.1",
133
132
  "@types/react-loadable": "^5.4.1",
134
- "@types/react-virtualized": "^9.18.12",
135
133
  "classnames": "^2.2.5",
136
134
  "date-fns": "^2.17.0",
137
135
  "is-number": "^7.0.0",
@@ -141,7 +139,6 @@
141
139
  "raf-schd": "^4.0.3",
142
140
  "react-loadable": "^5.1.0",
143
141
  "react-transition-group": "^4.4.1",
144
- "react-virtualized": "^9.8.0",
145
142
  "uuid": "^3.1.0",
146
143
  "w3c-keyname": "^2.1.0"
147
144
  },
@@ -168,6 +165,7 @@
168
165
  "@atlaskit/media-core": "^34.1.0",
169
166
  "@atlaskit/media-integration-test-helpers": "^3.0.0",
170
167
  "@atlaskit/media-test-helpers": "^33.0.0",
168
+ "@atlaskit/menu": "^2.0.0",
171
169
  "@atlaskit/modal-dialog": "^12.8.0",
172
170
  "@atlaskit/renderer": "^108.15.0",
173
171
  "@atlaskit/synchrony-test-helpers": "^2.3.0",