@atlaskit/editor-core 188.4.0 → 188.5.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 (856) hide show
  1. package/CHANGELOG.md +17 -0
  2. package/dist/cjs/labs/next/presets/default.js +2 -2
  3. package/dist/cjs/labs/next/presets/universal.js +3 -7
  4. package/dist/cjs/plugins/date/actions.js +14 -8
  5. package/dist/cjs/plugins/date/index.js +5 -179
  6. package/dist/cjs/plugins/date/plugin.js +191 -0
  7. package/dist/cjs/plugins/date/pm-plugins/main.js +5 -5
  8. package/dist/cjs/plugins/date/ui/DatePicker/date-picker-input.js +14 -14
  9. package/dist/cjs/plugins/date/ui/DatePicker/index.js +4 -5
  10. package/dist/cjs/plugins/expand/index.js +0 -2
  11. package/dist/cjs/plugins/expand/nodeviews/index.js +37 -13
  12. package/dist/cjs/plugins/index.js +2 -9
  13. package/dist/cjs/plugins/insert-block/ui/ToolbarInsertBlock/index.js +36 -35
  14. package/dist/cjs/ui/Addon/click-area-helper.js +9 -11
  15. package/dist/cjs/ui/ContentStyles/index.js +14 -14
  16. package/dist/cjs/utils/selection.js +12 -14
  17. package/dist/cjs/version-wrapper.js +1 -1
  18. package/dist/es2019/labs/next/presets/default.js +1 -1
  19. package/dist/es2019/labs/next/presets/universal.js +3 -7
  20. package/dist/es2019/plugins/date/actions.js +24 -17
  21. package/dist/es2019/plugins/date/index.js +1 -173
  22. package/dist/es2019/plugins/date/plugin.js +177 -0
  23. package/dist/es2019/plugins/date/pm-plugins/main.js +1 -1
  24. package/dist/es2019/plugins/date/ui/DatePicker/date-picker-input.js +3 -2
  25. package/dist/es2019/plugins/date/ui/DatePicker/index.js +2 -2
  26. package/dist/es2019/plugins/expand/index.js +0 -2
  27. package/dist/es2019/plugins/expand/nodeviews/index.js +37 -13
  28. package/dist/es2019/plugins/index.js +1 -2
  29. package/dist/es2019/plugins/insert-block/ui/ToolbarInsertBlock/index.js +3 -3
  30. package/dist/es2019/ui/Addon/click-area-helper.js +4 -6
  31. package/dist/es2019/ui/ContentStyles/index.js +2 -2
  32. package/dist/es2019/utils/selection.js +2 -17
  33. package/dist/es2019/version-wrapper.js +1 -1
  34. package/dist/esm/labs/next/presets/default.js +1 -1
  35. package/dist/esm/labs/next/presets/universal.js +3 -7
  36. package/dist/esm/plugins/date/actions.js +14 -8
  37. package/dist/esm/plugins/date/index.js +1 -175
  38. package/dist/esm/plugins/date/plugin.js +179 -0
  39. package/dist/esm/plugins/date/pm-plugins/main.js +1 -1
  40. package/dist/esm/plugins/date/ui/DatePicker/date-picker-input.js +3 -2
  41. package/dist/esm/plugins/date/ui/DatePicker/index.js +2 -2
  42. package/dist/esm/plugins/expand/index.js +0 -2
  43. package/dist/esm/plugins/expand/nodeviews/index.js +37 -13
  44. package/dist/esm/plugins/index.js +1 -2
  45. package/dist/esm/plugins/insert-block/ui/ToolbarInsertBlock/index.js +30 -29
  46. package/dist/esm/ui/Addon/click-area-helper.js +4 -6
  47. package/dist/esm/ui/ContentStyles/index.js +2 -2
  48. package/dist/esm/utils/selection.js +2 -13
  49. package/dist/esm/version-wrapper.js +1 -1
  50. package/dist/types/labs/next/presets/default.d.ts +22 -8
  51. package/dist/types/plugins/date/actions.d.ts +42 -6
  52. package/dist/types/plugins/date/index.d.ts +2 -14
  53. package/dist/types/plugins/date/plugin.d.ts +3 -0
  54. package/dist/types/plugins/date/pm-plugins/main.d.ts +2 -2
  55. package/dist/types/plugins/date/types.d.ts +18 -0
  56. package/dist/types/plugins/date/ui/DatePicker/date-picker-input.d.ts +3 -4
  57. package/dist/types/plugins/date/ui/DatePicker/index.d.ts +1 -1
  58. package/dist/types/plugins/date/utils/internal.d.ts +2 -2
  59. package/dist/types/plugins/expand/index.d.ts +1 -1
  60. package/dist/types/plugins/expand/nodeviews/index.d.ts +3 -2
  61. package/dist/types/plugins/index.d.ts +1 -2
  62. package/dist/types/plugins/insert-block/types.d.ts +2 -2
  63. package/dist/types/plugins/insert-block/ui/ToolbarInsertBlock/types.d.ts +1 -2
  64. package/dist/types/plugins/layout/actions.d.ts +1 -1
  65. package/dist/types/plugins/status/actions.d.ts +1 -1
  66. package/dist/types/plugins/tasks-and-decisions/commands.d.ts +1 -1
  67. package/dist/types/plugins/view-update-subscription/subscribe/toolbarAndPickerUpdates.d.ts +2 -2
  68. package/dist/types/types/editor-props.d.ts +1 -1
  69. package/dist/types/ui/Appearance/FullPage/StyledComponents.d.ts +1 -1
  70. package/dist/types/ui/ConfigPanel/ConfigPanel.d.ts +1 -1
  71. package/dist/types/ui/ContentStyles/index.d.ts +2 -2
  72. package/dist/types/utils/selection.d.ts +1 -4
  73. package/package.json +8 -3
  74. package/dist/cjs/plugins/selection/actions.js +0 -11
  75. package/dist/cjs/plugins/selection/commands.js +0 -257
  76. package/dist/cjs/plugins/selection/gap-cursor/actions.js +0 -272
  77. package/dist/cjs/plugins/selection/gap-cursor/direction.js +0 -23
  78. package/dist/cjs/plugins/selection/gap-cursor/selection.js +0 -30
  79. package/dist/cjs/plugins/selection/gap-cursor/styles.js +0 -17
  80. package/dist/cjs/plugins/selection/gap-cursor/utils/is-ignored.js +0 -12
  81. package/dist/cjs/plugins/selection/gap-cursor/utils/is-valid-target-node.js +0 -12
  82. package/dist/cjs/plugins/selection/gap-cursor/utils/place-gap-cursor.js +0 -103
  83. package/dist/cjs/plugins/selection/gap-cursor/utils.js +0 -137
  84. package/dist/cjs/plugins/selection/gap-cursor-selection.js +0 -37
  85. package/dist/cjs/plugins/selection/index.js +0 -65
  86. package/dist/cjs/plugins/selection/plugin-factory.js +0 -49
  87. package/dist/cjs/plugins/selection/pm-plugins/events/create-selection-between.js +0 -92
  88. package/dist/cjs/plugins/selection/pm-plugins/events/keydown.js +0 -115
  89. package/dist/cjs/plugins/selection/pm-plugins/gap-cursor-keymap.js +0 -46
  90. package/dist/cjs/plugins/selection/pm-plugins/gap-cursor-main.js +0 -160
  91. package/dist/cjs/plugins/selection/pm-plugins/gap-cursor-plugin-key.js +0 -8
  92. package/dist/cjs/plugins/selection/pm-plugins/keymap.js +0 -16
  93. package/dist/cjs/plugins/selection/pm-plugins/selection-main.js +0 -104
  94. package/dist/cjs/plugins/selection/reducer.js +0 -26
  95. package/dist/cjs/plugins/selection/types.js +0 -20
  96. package/dist/cjs/plugins/selection/utils.js +0 -280
  97. package/dist/cjs/selection-api/api.js +0 -27
  98. package/dist/es2019/plugins/selection/actions.js +0 -5
  99. package/dist/es2019/plugins/selection/commands.js +0 -250
  100. package/dist/es2019/plugins/selection/gap-cursor/actions.js +0 -270
  101. package/dist/es2019/plugins/selection/gap-cursor/direction.js +0 -15
  102. package/dist/es2019/plugins/selection/gap-cursor/selection.js +0 -1
  103. package/dist/es2019/plugins/selection/gap-cursor/styles.js +0 -145
  104. package/dist/es2019/plugins/selection/gap-cursor/utils/is-ignored.js +0 -1
  105. package/dist/es2019/plugins/selection/gap-cursor/utils/is-valid-target-node.js +0 -1
  106. package/dist/es2019/plugins/selection/gap-cursor/utils/place-gap-cursor.js +0 -94
  107. package/dist/es2019/plugins/selection/gap-cursor/utils.js +0 -124
  108. package/dist/es2019/plugins/selection/gap-cursor-selection.js +0 -2
  109. package/dist/es2019/plugins/selection/index.js +0 -51
  110. package/dist/es2019/plugins/selection/plugin-factory.js +0 -43
  111. package/dist/es2019/plugins/selection/pm-plugins/events/create-selection-between.js +0 -89
  112. package/dist/es2019/plugins/selection/pm-plugins/events/keydown.js +0 -112
  113. package/dist/es2019/plugins/selection/pm-plugins/gap-cursor-keymap.js +0 -40
  114. package/dist/es2019/plugins/selection/pm-plugins/gap-cursor-main.js +0 -158
  115. package/dist/es2019/plugins/selection/pm-plugins/gap-cursor-plugin-key.js +0 -2
  116. package/dist/es2019/plugins/selection/pm-plugins/keymap.js +0 -10
  117. package/dist/es2019/plugins/selection/pm-plugins/selection-main.js +0 -97
  118. package/dist/es2019/plugins/selection/reducer.js +0 -18
  119. package/dist/es2019/plugins/selection/types.js +0 -9
  120. package/dist/es2019/plugins/selection/utils.js +0 -233
  121. package/dist/es2019/selection-api/api.js +0 -20
  122. package/dist/esm/plugins/selection/actions.js +0 -5
  123. package/dist/esm/plugins/selection/commands.js +0 -251
  124. package/dist/esm/plugins/selection/gap-cursor/actions.js +0 -266
  125. package/dist/esm/plugins/selection/gap-cursor/direction.js +0 -15
  126. package/dist/esm/plugins/selection/gap-cursor/selection.js +0 -1
  127. package/dist/esm/plugins/selection/gap-cursor/styles.js +0 -10
  128. package/dist/esm/plugins/selection/gap-cursor/utils/is-ignored.js +0 -1
  129. package/dist/esm/plugins/selection/gap-cursor/utils/is-valid-target-node.js +0 -1
  130. package/dist/esm/plugins/selection/gap-cursor/utils/place-gap-cursor.js +0 -97
  131. package/dist/esm/plugins/selection/gap-cursor/utils.js +0 -128
  132. package/dist/esm/plugins/selection/gap-cursor-selection.js +0 -2
  133. package/dist/esm/plugins/selection/index.js +0 -58
  134. package/dist/esm/plugins/selection/plugin-factory.js +0 -43
  135. package/dist/esm/plugins/selection/pm-plugins/events/create-selection-between.js +0 -86
  136. package/dist/esm/plugins/selection/pm-plugins/events/keydown.js +0 -110
  137. package/dist/esm/plugins/selection/pm-plugins/gap-cursor-keymap.js +0 -40
  138. package/dist/esm/plugins/selection/pm-plugins/gap-cursor-main.js +0 -154
  139. package/dist/esm/plugins/selection/pm-plugins/gap-cursor-plugin-key.js +0 -2
  140. package/dist/esm/plugins/selection/pm-plugins/keymap.js +0 -10
  141. package/dist/esm/plugins/selection/pm-plugins/selection-main.js +0 -98
  142. package/dist/esm/plugins/selection/reducer.js +0 -19
  143. package/dist/esm/plugins/selection/types.js +0 -9
  144. package/dist/esm/plugins/selection/utils.js +0 -241
  145. package/dist/esm/selection-api/api.js +0 -21
  146. package/dist/types/plugins/date/styles.d.ts +0 -1
  147. package/dist/types/plugins/selection/actions.d.ts +0 -17
  148. package/dist/types/plugins/selection/commands.d.ts +0 -10
  149. package/dist/types/plugins/selection/gap-cursor/actions.d.ts +0 -25
  150. package/dist/types/plugins/selection/gap-cursor/direction.d.ts +0 -10
  151. package/dist/types/plugins/selection/gap-cursor/selection.d.ts +0 -1
  152. package/dist/types/plugins/selection/gap-cursor/styles.d.ts +0 -2
  153. package/dist/types/plugins/selection/gap-cursor/utils/is-ignored.d.ts +0 -1
  154. package/dist/types/plugins/selection/gap-cursor/utils/is-valid-target-node.d.ts +0 -1
  155. package/dist/types/plugins/selection/gap-cursor/utils/place-gap-cursor.d.ts +0 -2
  156. package/dist/types/plugins/selection/gap-cursor/utils.d.ts +0 -8
  157. package/dist/types/plugins/selection/gap-cursor-selection.d.ts +0 -2
  158. package/dist/types/plugins/selection/index.d.ts +0 -13
  159. package/dist/types/plugins/selection/plugin-factory.d.ts +0 -2
  160. package/dist/types/plugins/selection/pm-plugins/events/create-selection-between.d.ts +0 -4
  161. package/dist/types/plugins/selection/pm-plugins/events/keydown.d.ts +0 -2
  162. package/dist/types/plugins/selection/pm-plugins/gap-cursor-keymap.d.ts +0 -2
  163. package/dist/types/plugins/selection/pm-plugins/gap-cursor-main.d.ts +0 -6
  164. package/dist/types/plugins/selection/pm-plugins/gap-cursor-plugin-key.d.ts +0 -2
  165. package/dist/types/plugins/selection/pm-plugins/keymap.d.ts +0 -3
  166. package/dist/types/plugins/selection/pm-plugins/selection-main.d.ts +0 -7
  167. package/dist/types/plugins/selection/reducer.d.ts +0 -3
  168. package/dist/types/plugins/selection/types.d.ts +0 -12
  169. package/dist/types/plugins/selection/utils.d.ts +0 -58
  170. package/dist/types/selection-api/api.d.ts +0 -11
  171. package/dist/types-ts4.5/actions/index.d.ts +0 -49
  172. package/dist/types-ts4.5/commands/index.d.ts +0 -1
  173. package/dist/types-ts4.5/composable-editor/editor-internal.d.ts +0 -34
  174. package/dist/types-ts4.5/composable-editor/editor.d.ts +0 -9
  175. package/dist/types-ts4.5/composable-editor/hooks/useEditorMeasuresConstructor.d.ts +0 -17
  176. package/dist/types-ts4.5/composable-editor/hooks/useMeasureEditorMountTime.d.ts +0 -13
  177. package/dist/types-ts4.5/composable-editor/hooks/useProviderFactory.d.ts +0 -14
  178. package/dist/types-ts4.5/composable-editor/utils/editorMeasureTTICallback.d.ts +0 -5
  179. package/dist/types-ts4.5/composable-editor/utils/getBaseFontSize.d.ts +0 -6
  180. package/dist/types-ts4.5/composable-editor/utils/getProvidersFromEditorProps.d.ts +0 -9
  181. package/dist/types-ts4.5/composable-editor/utils/handleProviders.d.ts +0 -12
  182. package/dist/types-ts4.5/composable-editor/utils/sendDurationAnalytics.d.ts +0 -15
  183. package/dist/types-ts4.5/composable-editor/utils/trackEditorActions.d.ts +0 -29
  184. package/dist/types-ts4.5/composable-editor.d.ts +0 -1
  185. package/dist/types-ts4.5/create-editor/ErrorBoundary.d.ts +0 -44
  186. package/dist/types-ts4.5/create-editor/ReactEditorView.d.ts +0 -8
  187. package/dist/types-ts4.5/create-editor/ReactEditorViewContext.d.ts +0 -2
  188. package/dist/types-ts4.5/create-editor/ReactEditorViewInternal.d.ts +0 -119
  189. package/dist/types-ts4.5/create-editor/ReactEditorViewNext.d.ts +0 -8
  190. package/dist/types-ts4.5/create-editor/WithEditorView.d.ts +0 -6
  191. package/dist/types-ts4.5/create-editor/consts.d.ts +0 -3
  192. package/dist/types-ts4.5/create-editor/create-editor.d.ts +0 -18
  193. package/dist/types-ts4.5/create-editor/create-plugins-list.d.ts +0 -16
  194. package/dist/types-ts4.5/create-editor/create-preset.d.ts +0 -3
  195. package/dist/types-ts4.5/create-editor/create-schema.d.ts +0 -6
  196. package/dist/types-ts4.5/create-editor/feature-flags-from-props.d.ts +0 -7
  197. package/dist/types-ts4.5/create-editor/get-plugins.d.ts +0 -44
  198. package/dist/types-ts4.5/create-editor/get-ui-component.d.ts +0 -3
  199. package/dist/types-ts4.5/create-editor/index.d.ts +0 -3
  200. package/dist/types-ts4.5/create-editor/messages.d.ts +0 -7
  201. package/dist/types-ts4.5/create-editor/preset-utils.d.ts +0 -2
  202. package/dist/types-ts4.5/create-editor/sort-by-order.d.ts +0 -14
  203. package/dist/types-ts4.5/editor.d.ts +0 -10
  204. package/dist/types-ts4.5/element-browser.d.ts +0 -1
  205. package/dist/types-ts4.5/event-dispatcher/index.d.ts +0 -2
  206. package/dist/types-ts4.5/extensibility.d.ts +0 -15
  207. package/dist/types-ts4.5/extensions.d.ts +0 -1
  208. package/dist/types-ts4.5/i18n/cs.d.ts +0 -140
  209. package/dist/types-ts4.5/i18n/da.d.ts +0 -139
  210. package/dist/types-ts4.5/i18n/de.d.ts +0 -139
  211. package/dist/types-ts4.5/i18n/en.d.ts +0 -141
  212. package/dist/types-ts4.5/i18n/en_GB.d.ts +0 -141
  213. package/dist/types-ts4.5/i18n/en_ZZ.d.ts +0 -141
  214. package/dist/types-ts4.5/i18n/es.d.ts +0 -139
  215. package/dist/types-ts4.5/i18n/et.d.ts +0 -168
  216. package/dist/types-ts4.5/i18n/fi.d.ts +0 -139
  217. package/dist/types-ts4.5/i18n/fr.d.ts +0 -139
  218. package/dist/types-ts4.5/i18n/hu.d.ts +0 -139
  219. package/dist/types-ts4.5/i18n/index.d.ts +0 -35
  220. package/dist/types-ts4.5/i18n/is.d.ts +0 -153
  221. package/dist/types-ts4.5/i18n/it.d.ts +0 -139
  222. package/dist/types-ts4.5/i18n/ja.d.ts +0 -139
  223. package/dist/types-ts4.5/i18n/ko.d.ts +0 -139
  224. package/dist/types-ts4.5/i18n/languages.d.ts +0 -38
  225. package/dist/types-ts4.5/i18n/nb.d.ts +0 -139
  226. package/dist/types-ts4.5/i18n/nl.d.ts +0 -139
  227. package/dist/types-ts4.5/i18n/pl.d.ts +0 -139
  228. package/dist/types-ts4.5/i18n/pt_BR.d.ts +0 -139
  229. package/dist/types-ts4.5/i18n/pt_PT.d.ts +0 -180
  230. package/dist/types-ts4.5/i18n/ro.d.ts +0 -153
  231. package/dist/types-ts4.5/i18n/ru.d.ts +0 -139
  232. package/dist/types-ts4.5/i18n/sk.d.ts +0 -168
  233. package/dist/types-ts4.5/i18n/sv.d.ts +0 -139
  234. package/dist/types-ts4.5/i18n/th.d.ts +0 -139
  235. package/dist/types-ts4.5/i18n/tr.d.ts +0 -139
  236. package/dist/types-ts4.5/i18n/uk.d.ts +0 -139
  237. package/dist/types-ts4.5/i18n/vi.d.ts +0 -139
  238. package/dist/types-ts4.5/i18n/zh.d.ts +0 -139
  239. package/dist/types-ts4.5/i18n/zh_TW.d.ts +0 -139
  240. package/dist/types-ts4.5/index.d.ts +0 -46
  241. package/dist/types-ts4.5/keymaps/index.d.ts +0 -2
  242. package/dist/types-ts4.5/labs/CollapsedEditor/index.d.ts +0 -26
  243. package/dist/types-ts4.5/labs/EditorWithActions/index.d.ts +0 -26
  244. package/dist/types-ts4.5/labs/next/presets/default.d.ts +0 -1144
  245. package/dist/types-ts4.5/labs/next/presets/types.d.ts +0 -6
  246. package/dist/types-ts4.5/labs/next/presets/universal.d.ts +0 -21
  247. package/dist/types-ts4.5/labs/next/presets/useUniversalPreset.d.ts +0 -7
  248. package/dist/types-ts4.5/labs-next.d.ts +0 -1
  249. package/dist/types-ts4.5/messages.d.ts +0 -8
  250. package/dist/types-ts4.5/nodeviews/context-adapter.d.ts +0 -2
  251. package/dist/types-ts4.5/nodeviews/getInlineNodeViewProducer.styles.d.ts +0 -1
  252. package/dist/types-ts4.5/nodeviews/getPerformanceOptions.d.ts +0 -2
  253. package/dist/types-ts4.5/nodeviews/index.d.ts +0 -1
  254. package/dist/types-ts4.5/nodeviews/types.d.ts +0 -12
  255. package/dist/types-ts4.5/plugins/alignment/commands/index.d.ts +0 -4
  256. package/dist/types-ts4.5/plugins/alignment/index.d.ts +0 -5
  257. package/dist/types-ts4.5/plugins/alignment/pm-plugins/keymap.d.ts +0 -2
  258. package/dist/types-ts4.5/plugins/alignment/pm-plugins/main.d.ts +0 -8
  259. package/dist/types-ts4.5/plugins/alignment/pm-plugins/types.d.ts +0 -5
  260. package/dist/types-ts4.5/plugins/alignment/ui/ToolbarAlignment/icon-map.d.ts +0 -6
  261. package/dist/types-ts4.5/plugins/alignment/ui/ToolbarAlignment/index.d.ts +0 -33
  262. package/dist/types-ts4.5/plugins/alignment/ui/ToolbarAlignment/messages.d.ts +0 -22
  263. package/dist/types-ts4.5/plugins/alignment/ui/ToolbarAlignment/styles.d.ts +0 -3
  264. package/dist/types-ts4.5/plugins/alignment/utils/index.d.ts +0 -3
  265. package/dist/types-ts4.5/plugins/analytics/consts.d.ts +0 -3
  266. package/dist/types-ts4.5/plugins/analytics/index.d.ts +0 -8
  267. package/dist/types-ts4.5/plugins/analytics/plugin-key.d.ts +0 -8
  268. package/dist/types-ts4.5/plugins/analytics/plugin.d.ts +0 -29
  269. package/dist/types-ts4.5/plugins/analytics/types/dispatch-analytics-event.d.ts +0 -1
  270. package/dist/types-ts4.5/plugins/analytics/types/enums.d.ts +0 -1
  271. package/dist/types-ts4.5/plugins/analytics/types/events.d.ts +0 -1
  272. package/dist/types-ts4.5/plugins/analytics/types/experimental-events.d.ts +0 -1
  273. package/dist/types-ts4.5/plugins/analytics/types/extension-events.d.ts +0 -2
  274. package/dist/types-ts4.5/plugins/analytics/types/general-events.d.ts +0 -2
  275. package/dist/types-ts4.5/plugins/analytics/types/index.d.ts +0 -9
  276. package/dist/types-ts4.5/plugins/analytics/types/inline-comment-events.d.ts +0 -2
  277. package/dist/types-ts4.5/plugins/analytics/types/link-tool-bar-events.d.ts +0 -1
  278. package/dist/types-ts4.5/plugins/analytics/types/media-events.d.ts +0 -1
  279. package/dist/types-ts4.5/plugins/analytics/types/node-events.d.ts +0 -2
  280. package/dist/types-ts4.5/plugins/analytics/types/selection-events.d.ts +0 -1
  281. package/dist/types-ts4.5/plugins/analytics/types/smart-links.d.ts +0 -2
  282. package/dist/types-ts4.5/plugins/analytics/types/toolbar-button.d.ts +0 -2
  283. package/dist/types-ts4.5/plugins/analytics/utils.d.ts +0 -22
  284. package/dist/types-ts4.5/plugins/annotation/commands/index.d.ts +0 -16
  285. package/dist/types-ts4.5/plugins/annotation/commands/transform.d.ts +0 -11
  286. package/dist/types-ts4.5/plugins/annotation/index.d.ts +0 -12
  287. package/dist/types-ts4.5/plugins/annotation/nodeviews/index.d.ts +0 -11
  288. package/dist/types-ts4.5/plugins/annotation/pm-plugins/inline-comment.d.ts +0 -3
  289. package/dist/types-ts4.5/plugins/annotation/pm-plugins/keymap.d.ts +0 -2
  290. package/dist/types-ts4.5/plugins/annotation/pm-plugins/plugin-factory.d.ts +0 -2
  291. package/dist/types-ts4.5/plugins/annotation/pm-plugins/reducer.d.ts +0 -3
  292. package/dist/types-ts4.5/plugins/annotation/pm-plugins/types.d.ts +0 -78
  293. package/dist/types-ts4.5/plugins/annotation/toolbar.d.ts +0 -4
  294. package/dist/types-ts4.5/plugins/annotation/types.d.ts +0 -86
  295. package/dist/types-ts4.5/plugins/annotation/ui/AnnotationViewWrapper.d.ts +0 -10
  296. package/dist/types-ts4.5/plugins/annotation/ui/InlineCommentView.d.ts +0 -11
  297. package/dist/types-ts4.5/plugins/annotation/update-provider.d.ts +0 -8
  298. package/dist/types-ts4.5/plugins/annotation/utils.d.ts +0 -40
  299. package/dist/types-ts4.5/plugins/avatar-group/index.d.ts +0 -14
  300. package/dist/types-ts4.5/plugins/avatar-group/messages.d.ts +0 -7
  301. package/dist/types-ts4.5/plugins/avatar-group/ui/AvatarGroupPluginWrapper.d.ts +0 -15
  302. package/dist/types-ts4.5/plugins/before-primaryToolbar/index.d.ts +0 -8
  303. package/dist/types-ts4.5/plugins/before-primaryToolbar/ui/BeforePrimaryToolbarWrapper.d.ts +0 -5
  304. package/dist/types-ts4.5/plugins/better-type-history/index.d.ts +0 -13
  305. package/dist/types-ts4.5/plugins/better-type-history/pm-plugins/main.d.ts +0 -3
  306. package/dist/types-ts4.5/plugins/better-type-history/pm-plugins/plugin-key.d.ts +0 -2
  307. package/dist/types-ts4.5/plugins/breakout/commands/remove-breakout.d.ts +0 -2
  308. package/dist/types-ts4.5/plugins/breakout/commands/set-breakout-mode.d.ts +0 -3
  309. package/dist/types-ts4.5/plugins/breakout/constants.d.ts +0 -4
  310. package/dist/types-ts4.5/plugins/breakout/index.d.ts +0 -14
  311. package/dist/types-ts4.5/plugins/breakout/plugin-key.d.ts +0 -5
  312. package/dist/types-ts4.5/plugins/breakout/types.d.ts +0 -4
  313. package/dist/types-ts4.5/plugins/breakout/ui/LayoutButton.d.ts +0 -17
  314. package/dist/types-ts4.5/plugins/breakout/utils/find-breakout-node.d.ts +0 -9
  315. package/dist/types-ts4.5/plugins/breakout/utils/get-breakout-mode.d.ts +0 -7
  316. package/dist/types-ts4.5/plugins/breakout/utils/is-breakout-mark-allowed.d.ts +0 -9
  317. package/dist/types-ts4.5/plugins/breakout/utils/is-supported-node.d.ts +0 -6
  318. package/dist/types-ts4.5/plugins/clear-marks-on-change-to-empty-document/index.d.ts +0 -7
  319. package/dist/types-ts4.5/plugins/code-bidi-warning/index.d.ts +0 -8
  320. package/dist/types-ts4.5/plugins/code-bidi-warning/plugin-key.d.ts +0 -2
  321. package/dist/types-ts4.5/plugins/code-bidi-warning/pm-plugins/main.d.ts +0 -5
  322. package/dist/types-ts4.5/plugins/code-bidi-warning/pm-plugins/plugin-factory.d.ts +0 -8
  323. package/dist/types-ts4.5/plugins/code-bidi-warning/pm-plugins/reducer.d.ts +0 -3
  324. package/dist/types-ts4.5/plugins/code-bidi-warning/pm-plugins/types.d.ts +0 -6
  325. package/dist/types-ts4.5/plugins/code-block/actions.d.ts +0 -18
  326. package/dist/types-ts4.5/plugins/code-block/ide-ux/bracket-handling.d.ts +0 -12
  327. package/dist/types-ts4.5/plugins/code-block/ide-ux/commands.d.ts +0 -6
  328. package/dist/types-ts4.5/plugins/code-block/ide-ux/line-handling.d.ts +0 -25
  329. package/dist/types-ts4.5/plugins/code-block/ide-ux/paired-character-handling.d.ts +0 -2
  330. package/dist/types-ts4.5/plugins/code-block/ide-ux/quote-handling.d.ts +0 -12
  331. package/dist/types-ts4.5/plugins/code-block/index.d.ts +0 -19
  332. package/dist/types-ts4.5/plugins/code-block/language-list.d.ts +0 -1641
  333. package/dist/types-ts4.5/plugins/code-block/nodeviews/code-block.d.ts +0 -21
  334. package/dist/types-ts4.5/plugins/code-block/plugin-key.d.ts +0 -2
  335. package/dist/types-ts4.5/plugins/code-block/pm-plugins/actions.d.ts +0 -4
  336. package/dist/types-ts4.5/plugins/code-block/pm-plugins/codeBlockCopySelectionPlugin.d.ts +0 -14
  337. package/dist/types-ts4.5/plugins/code-block/pm-plugins/ide-ux.d.ts +0 -5
  338. package/dist/types-ts4.5/plugins/code-block/pm-plugins/input-rule.d.ts +0 -3
  339. package/dist/types-ts4.5/plugins/code-block/pm-plugins/keymaps.d.ts +0 -4
  340. package/dist/types-ts4.5/plugins/code-block/pm-plugins/main-state.d.ts +0 -8
  341. package/dist/types-ts4.5/plugins/code-block/pm-plugins/main.d.ts +0 -10
  342. package/dist/types-ts4.5/plugins/code-block/refresh-browser-selection.d.ts +0 -5
  343. package/dist/types-ts4.5/plugins/code-block/styles.d.ts +0 -2
  344. package/dist/types-ts4.5/plugins/code-block/toolbar.d.ts +0 -14
  345. package/dist/types-ts4.5/plugins/code-block/transform-to-code-block.d.ts +0 -3
  346. package/dist/types-ts4.5/plugins/code-block/types.d.ts +0 -7
  347. package/dist/types-ts4.5/plugins/code-block/ui/class-names.d.ts +0 -8
  348. package/dist/types-ts4.5/plugins/code-block/utils.d.ts +0 -6
  349. package/dist/types-ts4.5/plugins/collab-edit/actions.d.ts +0 -11
  350. package/dist/types-ts4.5/plugins/collab-edit/analytics.d.ts +0 -6
  351. package/dist/types-ts4.5/plugins/collab-edit/events/handlers.d.ts +0 -24
  352. package/dist/types-ts4.5/plugins/collab-edit/events/initialize.d.ts +0 -16
  353. package/dist/types-ts4.5/plugins/collab-edit/events/send-transaction.d.ts +0 -11
  354. package/dist/types-ts4.5/plugins/collab-edit/get-participants-count.d.ts +0 -2
  355. package/dist/types-ts4.5/plugins/collab-edit/index.d.ts +0 -14
  356. package/dist/types-ts4.5/plugins/collab-edit/native-collab-provider-plugin.d.ts +0 -7
  357. package/dist/types-ts4.5/plugins/collab-edit/participants.d.ts +0 -18
  358. package/dist/types-ts4.5/plugins/collab-edit/plugin-key.d.ts +0 -3
  359. package/dist/types-ts4.5/plugins/collab-edit/plugin-state.d.ts +0 -24
  360. package/dist/types-ts4.5/plugins/collab-edit/plugin.d.ts +0 -11
  361. package/dist/types-ts4.5/plugins/collab-edit/styles.d.ts +0 -1
  362. package/dist/types-ts4.5/plugins/collab-edit/types.d.ts +0 -8
  363. package/dist/types-ts4.5/plugins/collab-edit/ui/avatars-with-plugin-state.d.ts +0 -23
  364. package/dist/types-ts4.5/plugins/collab-edit/ui/avatars.d.ts +0 -12
  365. package/dist/types-ts4.5/plugins/collab-edit/ui/colored-avatar-item.d.ts +0 -7
  366. package/dist/types-ts4.5/plugins/collab-edit/ui/index.d.ts +0 -2
  367. package/dist/types-ts4.5/plugins/collab-edit/ui/invite-to-edit.d.ts +0 -10
  368. package/dist/types-ts4.5/plugins/collab-edit/ui/styles.d.ts +0 -3
  369. package/dist/types-ts4.5/plugins/collab-edit/ui/to-avatar.d.ts +0 -4
  370. package/dist/types-ts4.5/plugins/collab-edit/utils.d.ts +0 -18
  371. package/dist/types-ts4.5/plugins/custom-autoformat/doc.d.ts +0 -6
  372. package/dist/types-ts4.5/plugins/custom-autoformat/index.d.ts +0 -6
  373. package/dist/types-ts4.5/plugins/custom-autoformat/input-rules.d.ts +0 -9
  374. package/dist/types-ts4.5/plugins/custom-autoformat/reducers.d.ts +0 -4
  375. package/dist/types-ts4.5/plugins/custom-autoformat/types.d.ts +0 -31
  376. package/dist/types-ts4.5/plugins/custom-autoformat/utils.d.ts +0 -6
  377. package/dist/types-ts4.5/plugins/data-consumer/index.d.ts +0 -3
  378. package/dist/types-ts4.5/plugins/date/actions.d.ts +0 -17
  379. package/dist/types-ts4.5/plugins/date/index.d.ts +0 -17
  380. package/dist/types-ts4.5/plugins/date/nodeviews/date.d.ts +0 -3
  381. package/dist/types-ts4.5/plugins/date/nodeviews/messages.d.ts +0 -7
  382. package/dist/types-ts4.5/plugins/date/pm-plugins/keymap.d.ts +0 -3
  383. package/dist/types-ts4.5/plugins/date/pm-plugins/main.d.ts +0 -6
  384. package/dist/types-ts4.5/plugins/date/pm-plugins/plugin-key.d.ts +0 -3
  385. package/dist/types-ts4.5/plugins/date/pm-plugins/types.d.ts +0 -12
  386. package/dist/types-ts4.5/plugins/date/pm-plugins/utils.d.ts +0 -5
  387. package/dist/types-ts4.5/plugins/date/types.d.ts +0 -10
  388. package/dist/types-ts4.5/plugins/date/ui/DatePicker/date-picker-input.d.ts +0 -25
  389. package/dist/types-ts4.5/plugins/date/ui/DatePicker/index.d.ts +0 -36
  390. package/dist/types-ts4.5/plugins/date/utils/formatParse.d.ts +0 -27
  391. package/dist/types-ts4.5/plugins/date/utils/internal.d.ts +0 -33
  392. package/dist/types-ts4.5/plugins/expand/commands.d.ts +0 -12
  393. package/dist/types-ts4.5/plugins/expand/index.d.ts +0 -24
  394. package/dist/types-ts4.5/plugins/expand/nodeviews/index.d.ts +0 -54
  395. package/dist/types-ts4.5/plugins/expand/pm-plugins/keymap.d.ts +0 -4
  396. package/dist/types-ts4.5/plugins/expand/pm-plugins/main.d.ts +0 -8
  397. package/dist/types-ts4.5/plugins/expand/pm-plugins/plugin-factory.d.ts +0 -3
  398. package/dist/types-ts4.5/plugins/expand/reducer.d.ts +0 -3
  399. package/dist/types-ts4.5/plugins/expand/toolbar.d.ts +0 -3
  400. package/dist/types-ts4.5/plugins/expand/types.d.ts +0 -9
  401. package/dist/types-ts4.5/plugins/expand/ui/ExpandIconButton.d.ts +0 -43
  402. package/dist/types-ts4.5/plugins/expand/ui/class-names.d.ts +0 -11
  403. package/dist/types-ts4.5/plugins/expand/ui/styles.d.ts +0 -2
  404. package/dist/types-ts4.5/plugins/expand/utils.d.ts +0 -1
  405. package/dist/types-ts4.5/plugins/extension/actions.d.ts +0 -17
  406. package/dist/types-ts4.5/plugins/extension/commands.d.ts +0 -12
  407. package/dist/types-ts4.5/plugins/extension/context-panel.d.ts +0 -8
  408. package/dist/types-ts4.5/plugins/extension/extension-api.d.ts +0 -10
  409. package/dist/types-ts4.5/plugins/extension/index.d.ts +0 -3
  410. package/dist/types-ts4.5/plugins/extension/nodeviews/extension.d.ts +0 -32
  411. package/dist/types-ts4.5/plugins/extension/plugin-factory.d.ts +0 -4
  412. package/dist/types-ts4.5/plugins/extension/plugin-key.d.ts +0 -3
  413. package/dist/types-ts4.5/plugins/extension/pm-plugins/keymap.d.ts +0 -3
  414. package/dist/types-ts4.5/plugins/extension/pm-plugins/main.d.ts +0 -27
  415. package/dist/types-ts4.5/plugins/extension/pm-plugins/unique-id.d.ts +0 -3
  416. package/dist/types-ts4.5/plugins/extension/pm-plugins/utils.d.ts +0 -3
  417. package/dist/types-ts4.5/plugins/extension/reducer.d.ts +0 -2
  418. package/dist/types-ts4.5/plugins/extension/toolbar.d.ts +0 -42
  419. package/dist/types-ts4.5/plugins/extension/types.d.ts +0 -22
  420. package/dist/types-ts4.5/plugins/extension/ui/Extension/Extension/index.d.ts +0 -109
  421. package/dist/types-ts4.5/plugins/extension/ui/Extension/Extension/styles.d.ts +0 -6
  422. package/dist/types-ts4.5/plugins/extension/ui/Extension/ExtensionComponent.d.ts +0 -51
  423. package/dist/types-ts4.5/plugins/extension/ui/Extension/ExtensionNodeWrapper.d.ts +0 -7
  424. package/dist/types-ts4.5/plugins/extension/ui/Extension/InlineExtension/index.d.ts +0 -12
  425. package/dist/types-ts4.5/plugins/extension/ui/Extension/InlineExtension/styles.d.ts +0 -2
  426. package/dist/types-ts4.5/plugins/extension/ui/Extension/Lozenge.d.ts +0 -14
  427. package/dist/types-ts4.5/plugins/extension/ui/Extension/index.d.ts +0 -28
  428. package/dist/types-ts4.5/plugins/extension/ui/Extension/styles.d.ts +0 -8
  429. package/dist/types-ts4.5/plugins/extension/ui/SaveIndicator/SaveIndicator.d.ts +0 -4
  430. package/dist/types-ts4.5/plugins/extension/ui/SaveIndicator/messages.d.ts +0 -7
  431. package/dist/types-ts4.5/plugins/extension/ui/SaveIndicator/types.d.ts +0 -11
  432. package/dist/types-ts4.5/plugins/extension/ui/styles.d.ts +0 -1
  433. package/dist/types-ts4.5/plugins/extension/utils.d.ts +0 -10
  434. package/dist/types-ts4.5/plugins/fake-text-cursor/cursor.d.ts +0 -30
  435. package/dist/types-ts4.5/plugins/fake-text-cursor/index.d.ts +0 -7
  436. package/dist/types-ts4.5/plugins/fake-text-cursor/styles.d.ts +0 -1
  437. package/dist/types-ts4.5/plugins/feedback-dialog/getBrowserInfo.d.ts +0 -6
  438. package/dist/types-ts4.5/plugins/feedback-dialog/getDeviceInfo.d.ts +0 -6
  439. package/dist/types-ts4.5/plugins/feedback-dialog/index.d.ts +0 -7
  440. package/dist/types-ts4.5/plugins/feedback-dialog/loadJiraCollectorDialogScript.d.ts +0 -8
  441. package/dist/types-ts4.5/plugins/find-replace/FindReplaceToolbarButtonWithState.d.ts +0 -17
  442. package/dist/types-ts4.5/plugins/find-replace/actions.d.ts +0 -64
  443. package/dist/types-ts4.5/plugins/find-replace/commands-with-analytics.d.ts +0 -27
  444. package/dist/types-ts4.5/plugins/find-replace/commands.d.ts +0 -12
  445. package/dist/types-ts4.5/plugins/find-replace/index.d.ts +0 -13
  446. package/dist/types-ts4.5/plugins/find-replace/keymap.d.ts +0 -3
  447. package/dist/types-ts4.5/plugins/find-replace/plugin.d.ts +0 -6
  448. package/dist/types-ts4.5/plugins/find-replace/reducer.d.ts +0 -4
  449. package/dist/types-ts4.5/plugins/find-replace/styles.d.ts +0 -3
  450. package/dist/types-ts4.5/plugins/find-replace/types.d.ts +0 -44
  451. package/dist/types-ts4.5/plugins/find-replace/ui/Find.d.ts +0 -71
  452. package/dist/types-ts4.5/plugins/find-replace/ui/FindReplace.d.ts +0 -43
  453. package/dist/types-ts4.5/plugins/find-replace/ui/FindReplaceToolbarButton.d.ts +0 -21
  454. package/dist/types-ts4.5/plugins/find-replace/ui/FindReplaceTooltipButton.d.ts +0 -18
  455. package/dist/types-ts4.5/plugins/find-replace/ui/Replace.d.ts +0 -26
  456. package/dist/types-ts4.5/plugins/find-replace/ui/styles.d.ts +0 -5
  457. package/dist/types-ts4.5/plugins/find-replace/utils/batch-decorations.d.ts +0 -36
  458. package/dist/types-ts4.5/plugins/find-replace/utils/index.d.ts +0 -49
  459. package/dist/types-ts4.5/plugins/fragment/index.d.ts +0 -3
  460. package/dist/types-ts4.5/plugins/fragment/plugin-key.d.ts +0 -2
  461. package/dist/types-ts4.5/plugins/fragment/pm-plugins/fragment-consistency.d.ts +0 -15
  462. package/dist/types-ts4.5/plugins/history/actions.d.ts +0 -8
  463. package/dist/types-ts4.5/plugins/history/index.d.ts +0 -13
  464. package/dist/types-ts4.5/plugins/history/pm-history-types.d.ts +0 -17
  465. package/dist/types-ts4.5/plugins/history/reducer.d.ts +0 -4
  466. package/dist/types-ts4.5/plugins/history/types.d.ts +0 -4
  467. package/dist/types-ts4.5/plugins/history/utils.d.ts +0 -4
  468. package/dist/types-ts4.5/plugins/indentation/commands/index.d.ts +0 -8
  469. package/dist/types-ts4.5/plugins/indentation/commands/utils.d.ts +0 -36
  470. package/dist/types-ts4.5/plugins/indentation/index.d.ts +0 -3
  471. package/dist/types-ts4.5/plugins/indentation/messages.d.ts +0 -12
  472. package/dist/types-ts4.5/plugins/indentation/pm-plugins/keymap.d.ts +0 -3
  473. package/dist/types-ts4.5/plugins/index.d.ts +0 -44
  474. package/dist/types-ts4.5/plugins/insert-block/index.d.ts +0 -16
  475. package/dist/types-ts4.5/plugins/insert-block/types.d.ts +0 -33
  476. package/dist/types-ts4.5/plugins/insert-block/ui/ToolbarInsertBlock/block-insert-element-browser.d.ts +0 -28
  477. package/dist/types-ts4.5/plugins/insert-block/ui/ToolbarInsertBlock/block-insert-menu-legacy.d.ts +0 -18
  478. package/dist/types-ts4.5/plugins/insert-block/ui/ToolbarInsertBlock/block-insert-menu.d.ts +0 -30
  479. package/dist/types-ts4.5/plugins/insert-block/ui/ToolbarInsertBlock/create-items.d.ts +0 -44
  480. package/dist/types-ts4.5/plugins/insert-block/ui/ToolbarInsertBlock/dropdown-button.d.ts +0 -16
  481. package/dist/types-ts4.5/plugins/insert-block/ui/ToolbarInsertBlock/index.d.ts +0 -46
  482. package/dist/types-ts4.5/plugins/insert-block/ui/ToolbarInsertBlock/item.d.ts +0 -34
  483. package/dist/types-ts4.5/plugins/insert-block/ui/ToolbarInsertBlock/messages.d.ts +0 -1
  484. package/dist/types-ts4.5/plugins/insert-block/ui/ToolbarInsertBlock/shallow-equals.d.ts +0 -1
  485. package/dist/types-ts4.5/plugins/insert-block/ui/ToolbarInsertBlock/sort-items.d.ts +0 -2
  486. package/dist/types-ts4.5/plugins/insert-block/ui/ToolbarInsertBlock/styles.d.ts +0 -1
  487. package/dist/types-ts4.5/plugins/insert-block/ui/ToolbarInsertBlock/types.d.ts +0 -61
  488. package/dist/types-ts4.5/plugins/jira-issue/index.d.ts +0 -5
  489. package/dist/types-ts4.5/plugins/jira-issue/nodeviews/jira-issue.d.ts +0 -7
  490. package/dist/types-ts4.5/plugins/layout/actions.d.ts +0 -22
  491. package/dist/types-ts4.5/plugins/layout/index.d.ts +0 -15
  492. package/dist/types-ts4.5/plugins/layout/pm-plugins/main.d.ts +0 -6
  493. package/dist/types-ts4.5/plugins/layout/pm-plugins/plugin-key.d.ts +0 -3
  494. package/dist/types-ts4.5/plugins/layout/pm-plugins/types.d.ts +0 -14
  495. package/dist/types-ts4.5/plugins/layout/styles.d.ts +0 -4
  496. package/dist/types-ts4.5/plugins/layout/toolbar-messages.d.ts +0 -32
  497. package/dist/types-ts4.5/plugins/layout/toolbar.d.ts +0 -6
  498. package/dist/types-ts4.5/plugins/layout/types.d.ts +0 -13
  499. package/dist/types-ts4.5/plugins/layout/utils.d.ts +0 -1
  500. package/dist/types-ts4.5/plugins/macro/actions.d.ts +0 -8
  501. package/dist/types-ts4.5/plugins/macro/index.d.ts +0 -11
  502. package/dist/types-ts4.5/plugins/macro/plugin-key.d.ts +0 -3
  503. package/dist/types-ts4.5/plugins/macro/types.d.ts +0 -4
  504. package/dist/types-ts4.5/plugins/max-content-size/index.d.ts +0 -13
  505. package/dist/types-ts4.5/plugins/mentions/analytics.d.ts +0 -13
  506. package/dist/types-ts4.5/plugins/mentions/index.d.ts +0 -22
  507. package/dist/types-ts4.5/plugins/mentions/messages.d.ts +0 -22
  508. package/dist/types-ts4.5/plugins/mentions/nodeviews/mention.d.ts +0 -9
  509. package/dist/types-ts4.5/plugins/mentions/pm-plugins/key.d.ts +0 -3
  510. package/dist/types-ts4.5/plugins/mentions/pm-plugins/main.d.ts +0 -6
  511. package/dist/types-ts4.5/plugins/mentions/pm-plugins/utils.d.ts +0 -4
  512. package/dist/types-ts4.5/plugins/mentions/type-ahead/index.d.ts +0 -17
  513. package/dist/types-ts4.5/plugins/mentions/types.d.ts +0 -24
  514. package/dist/types-ts4.5/plugins/mentions/ui/InviteItem/index.d.ts +0 -22
  515. package/dist/types-ts4.5/plugins/mentions/ui/InviteItem/styles.d.ts +0 -8
  516. package/dist/types-ts4.5/plugins/mentions/ui/Mention/index.d.ts +0 -19
  517. package/dist/types-ts4.5/plugins/mentions/ui/ToolbarMention/index.d.ts +0 -13
  518. package/dist/types-ts4.5/plugins/mentions/utils.d.ts +0 -8
  519. package/dist/types-ts4.5/plugins/mobile-dimensions/actions.d.ts +0 -18
  520. package/dist/types-ts4.5/plugins/mobile-dimensions/commands.d.ts +0 -3
  521. package/dist/types-ts4.5/plugins/mobile-dimensions/index.d.ts +0 -3
  522. package/dist/types-ts4.5/plugins/mobile-dimensions/plugin-factory.d.ts +0 -5
  523. package/dist/types-ts4.5/plugins/mobile-dimensions/reducer.d.ts +0 -3
  524. package/dist/types-ts4.5/plugins/mobile-dimensions/types.d.ts +0 -8
  525. package/dist/types-ts4.5/plugins/mobile-dimensions/utils.d.ts +0 -2
  526. package/dist/types-ts4.5/plugins/mobile-selection/content-in-selection.d.ts +0 -5
  527. package/dist/types-ts4.5/plugins/mobile-selection/index.d.ts +0 -2
  528. package/dist/types-ts4.5/plugins/mobile-selection/mobile-selection-plugin.d.ts +0 -7
  529. package/dist/types-ts4.5/plugins/mobile-selection/types.d.ts +0 -32
  530. package/dist/types-ts4.5/plugins/panel/actions.d.ts +0 -12
  531. package/dist/types-ts4.5/plugins/panel/index.d.ts +0 -17
  532. package/dist/types-ts4.5/plugins/panel/message.d.ts +0 -37
  533. package/dist/types-ts4.5/plugins/panel/nodeviews/panel.d.ts +0 -36
  534. package/dist/types-ts4.5/plugins/panel/pm-plugins/keymaps.d.ts +0 -3
  535. package/dist/types-ts4.5/plugins/panel/pm-plugins/main.d.ts +0 -11
  536. package/dist/types-ts4.5/plugins/panel/styles.d.ts +0 -2
  537. package/dist/types-ts4.5/plugins/panel/toolbar.d.ts +0 -14
  538. package/dist/types-ts4.5/plugins/panel/types.d.ts +0 -21
  539. package/dist/types-ts4.5/plugins/panel/utils.d.ts +0 -5
  540. package/dist/types-ts4.5/plugins/paste/actions.d.ts +0 -15
  541. package/dist/types-ts4.5/plugins/paste/commands.d.ts +0 -30
  542. package/dist/types-ts4.5/plugins/paste/edge-cases/index.d.ts +0 -7
  543. package/dist/types-ts4.5/plugins/paste/edge-cases/lists.d.ts +0 -18
  544. package/dist/types-ts4.5/plugins/paste/handlers.d.ts +0 -54
  545. package/dist/types-ts4.5/plugins/paste/index.d.ts +0 -25
  546. package/dist/types-ts4.5/plugins/paste/plugins/media.d.ts +0 -12
  547. package/dist/types-ts4.5/plugins/paste/pm-plugins/analytics.d.ts +0 -45
  548. package/dist/types-ts4.5/plugins/paste/pm-plugins/clipboard-text-serializer.d.ts +0 -13
  549. package/dist/types-ts4.5/plugins/paste/pm-plugins/main.d.ts +0 -10
  550. package/dist/types-ts4.5/plugins/paste/pm-plugins/plugin-factory.d.ts +0 -3
  551. package/dist/types-ts4.5/plugins/paste/reducer.d.ts +0 -3
  552. package/dist/types-ts4.5/plugins/paste/types.d.ts +0 -6
  553. package/dist/types-ts4.5/plugins/paste/util/index.d.ts +0 -21
  554. package/dist/types-ts4.5/plugins/paste/util/tinyMCE.d.ts +0 -32
  555. package/dist/types-ts4.5/plugins/placeholder-text/actions.d.ts +0 -4
  556. package/dist/types-ts4.5/plugins/placeholder-text/index.d.ts +0 -22
  557. package/dist/types-ts4.5/plugins/placeholder-text/placeholder-text-nodeview.d.ts +0 -17
  558. package/dist/types-ts4.5/plugins/placeholder-text/plugin-key.d.ts +0 -3
  559. package/dist/types-ts4.5/plugins/placeholder-text/selection-utils.d.ts +0 -2
  560. package/dist/types-ts4.5/plugins/placeholder-text/styles.d.ts +0 -1
  561. package/dist/types-ts4.5/plugins/placeholder-text/types.d.ts +0 -7
  562. package/dist/types-ts4.5/plugins/placeholder-text/ui/PlaceholderFloatingToolbar/index.d.ts +0 -25
  563. package/dist/types-ts4.5/plugins/rank.d.ts +0 -6
  564. package/dist/types-ts4.5/plugins/save-on-enter/index.d.ts +0 -10
  565. package/dist/types-ts4.5/plugins/scroll-into-view/index.d.ts +0 -14
  566. package/dist/types-ts4.5/plugins/selection/actions.d.ts +0 -17
  567. package/dist/types-ts4.5/plugins/selection/commands.d.ts +0 -10
  568. package/dist/types-ts4.5/plugins/selection/gap-cursor/actions.d.ts +0 -25
  569. package/dist/types-ts4.5/plugins/selection/gap-cursor/direction.d.ts +0 -10
  570. package/dist/types-ts4.5/plugins/selection/gap-cursor/selection.d.ts +0 -1
  571. package/dist/types-ts4.5/plugins/selection/gap-cursor/styles.d.ts +0 -2
  572. package/dist/types-ts4.5/plugins/selection/gap-cursor/utils/is-ignored.d.ts +0 -1
  573. package/dist/types-ts4.5/plugins/selection/gap-cursor/utils/is-valid-target-node.d.ts +0 -1
  574. package/dist/types-ts4.5/plugins/selection/gap-cursor/utils/place-gap-cursor.d.ts +0 -2
  575. package/dist/types-ts4.5/plugins/selection/gap-cursor/utils.d.ts +0 -8
  576. package/dist/types-ts4.5/plugins/selection/gap-cursor-selection.d.ts +0 -2
  577. package/dist/types-ts4.5/plugins/selection/index.d.ts +0 -13
  578. package/dist/types-ts4.5/plugins/selection/plugin-factory.d.ts +0 -2
  579. package/dist/types-ts4.5/plugins/selection/pm-plugins/events/create-selection-between.d.ts +0 -4
  580. package/dist/types-ts4.5/plugins/selection/pm-plugins/events/keydown.d.ts +0 -2
  581. package/dist/types-ts4.5/plugins/selection/pm-plugins/gap-cursor-keymap.d.ts +0 -2
  582. package/dist/types-ts4.5/plugins/selection/pm-plugins/gap-cursor-main.d.ts +0 -6
  583. package/dist/types-ts4.5/plugins/selection/pm-plugins/gap-cursor-plugin-key.d.ts +0 -2
  584. package/dist/types-ts4.5/plugins/selection/pm-plugins/keymap.d.ts +0 -3
  585. package/dist/types-ts4.5/plugins/selection/pm-plugins/selection-main.d.ts +0 -7
  586. package/dist/types-ts4.5/plugins/selection/reducer.d.ts +0 -3
  587. package/dist/types-ts4.5/plugins/selection/types.d.ts +0 -12
  588. package/dist/types-ts4.5/plugins/selection/utils.d.ts +0 -58
  589. package/dist/types-ts4.5/plugins/status/actions.d.ts +0 -14
  590. package/dist/types-ts4.5/plugins/status/analytics.d.ts +0 -4
  591. package/dist/types-ts4.5/plugins/status/index.d.ts +0 -6
  592. package/dist/types-ts4.5/plugins/status/keymap.d.ts +0 -3
  593. package/dist/types-ts4.5/plugins/status/nodeviews/messages.d.ts +0 -17
  594. package/dist/types-ts4.5/plugins/status/nodeviews/status.d.ts +0 -24
  595. package/dist/types-ts4.5/plugins/status/plugin-key.d.ts +0 -4
  596. package/dist/types-ts4.5/plugins/status/plugin.d.ts +0 -7
  597. package/dist/types-ts4.5/plugins/status/styles.d.ts +0 -1
  598. package/dist/types-ts4.5/plugins/status/types.d.ts +0 -18
  599. package/dist/types-ts4.5/plugins/status/ui/statusPicker.d.ts +0 -62
  600. package/dist/types-ts4.5/plugins/status/utils.d.ts +0 -5
  601. package/dist/types-ts4.5/plugins/submit-editor/index.d.ts +0 -16
  602. package/dist/types-ts4.5/plugins/tasks-and-decisions/commands.d.ts +0 -16
  603. package/dist/types-ts4.5/plugins/tasks-and-decisions/index.d.ts +0 -6
  604. package/dist/types-ts4.5/plugins/tasks-and-decisions/nodeviews/decisionItem.d.ts +0 -5
  605. package/dist/types-ts4.5/plugins/tasks-and-decisions/nodeviews/taskItem.d.ts +0 -9
  606. package/dist/types-ts4.5/plugins/tasks-and-decisions/pm-plugins/commands.d.ts +0 -15
  607. package/dist/types-ts4.5/plugins/tasks-and-decisions/pm-plugins/helpers.d.ts +0 -76
  608. package/dist/types-ts4.5/plugins/tasks-and-decisions/pm-plugins/input-rules.d.ts +0 -5
  609. package/dist/types-ts4.5/plugins/tasks-and-decisions/pm-plugins/keymaps.d.ts +0 -8
  610. package/dist/types-ts4.5/plugins/tasks-and-decisions/pm-plugins/main.d.ts +0 -5
  611. package/dist/types-ts4.5/plugins/tasks-and-decisions/pm-plugins/plugin-key.d.ts +0 -2
  612. package/dist/types-ts4.5/plugins/tasks-and-decisions/pm-plugins/types.d.ts +0 -8
  613. package/dist/types-ts4.5/plugins/tasks-and-decisions/styles.d.ts +0 -1
  614. package/dist/types-ts4.5/plugins/tasks-and-decisions/types.d.ts +0 -26
  615. package/dist/types-ts4.5/plugins/tasks-and-decisions/ui/Decision/index.d.ts +0 -14
  616. package/dist/types-ts4.5/plugins/tasks-and-decisions/ui/Task/index.d.ts +0 -27
  617. package/dist/types-ts4.5/plugins/tasks-and-decisions/ui/Task/task-item-with-providers.d.ts +0 -28
  618. package/dist/types-ts4.5/plugins/tasks-and-decisions/ui/ToolbarDecision/index.d.ts +0 -20
  619. package/dist/types-ts4.5/plugins/tasks-and-decisions/ui/ToolbarTask/index.d.ts +0 -20
  620. package/dist/types-ts4.5/plugins/tasks-and-decisions/utils.d.ts +0 -5
  621. package/dist/types-ts4.5/plugins/text-color/commands/change-color.d.ts +0 -3
  622. package/dist/types-ts4.5/plugins/text-color/commands/remove-color.d.ts +0 -2
  623. package/dist/types-ts4.5/plugins/text-color/commands/toggle-color.d.ts +0 -2
  624. package/dist/types-ts4.5/plugins/text-color/index.d.ts +0 -7
  625. package/dist/types-ts4.5/plugins/text-color/pm-plugins/main.d.ts +0 -25
  626. package/dist/types-ts4.5/plugins/text-color/types.d.ts +0 -12
  627. package/dist/types-ts4.5/plugins/text-color/ui/ToolbarTextColor/icon.d.ts +0 -2
  628. package/dist/types-ts4.5/plugins/text-color/ui/ToolbarTextColor/index.d.ts +0 -53
  629. package/dist/types-ts4.5/plugins/text-color/ui/ToolbarTextColor/styles.d.ts +0 -3
  630. package/dist/types-ts4.5/plugins/text-color/utils/color.d.ts +0 -6
  631. package/dist/types-ts4.5/plugins/text-color/utils/disabled.d.ts +0 -2
  632. package/dist/types-ts4.5/plugins/toolbar-lists-indentation/index.d.ts +0 -19
  633. package/dist/types-ts4.5/plugins/toolbar-lists-indentation/pm-plugins/indentation-buttons.d.ts +0 -17
  634. package/dist/types-ts4.5/plugins/toolbar-lists-indentation/types.d.ts +0 -20
  635. package/dist/types-ts4.5/plugins/toolbar-lists-indentation/ui/Toolbar.d.ts +0 -4
  636. package/dist/types-ts4.5/plugins/toolbar-lists-indentation/ui/ToolbarDropdown.d.ts +0 -9
  637. package/dist/types-ts4.5/plugins/toolbar-lists-indentation/ui/index.d.ts +0 -24
  638. package/dist/types-ts4.5/plugins/toolbar-lists-indentation/ui/onItemActivated.d.ts +0 -8
  639. package/dist/types-ts4.5/plugins/type-ahead/api.d.ts +0 -61
  640. package/dist/types-ts4.5/plugins/type-ahead/commands/insert-type-ahead-item.d.ts +0 -12
  641. package/dist/types-ts4.5/plugins/type-ahead/commands/update-list-items.d.ts +0 -3
  642. package/dist/types-ts4.5/plugins/type-ahead/commands/update-query.d.ts +0 -2
  643. package/dist/types-ts4.5/plugins/type-ahead/commands/update-selected-index.d.ts +0 -2
  644. package/dist/types-ts4.5/plugins/type-ahead/constants.d.ts +0 -8
  645. package/dist/types-ts4.5/plugins/type-ahead/index.d.ts +0 -15
  646. package/dist/types-ts4.5/plugins/type-ahead/insert-utils.d.ts +0 -18
  647. package/dist/types-ts4.5/plugins/type-ahead/messages.d.ts +0 -72
  648. package/dist/types-ts4.5/plugins/type-ahead/pm-plugins/actions.d.ts +0 -9
  649. package/dist/types-ts4.5/plugins/type-ahead/pm-plugins/decorations.d.ts +0 -14
  650. package/dist/types-ts4.5/plugins/type-ahead/pm-plugins/input-rules.d.ts +0 -6
  651. package/dist/types-ts4.5/plugins/type-ahead/pm-plugins/insert-item-plugin.d.ts +0 -2
  652. package/dist/types-ts4.5/plugins/type-ahead/pm-plugins/key.d.ts +0 -3
  653. package/dist/types-ts4.5/plugins/type-ahead/pm-plugins/main.d.ts +0 -14
  654. package/dist/types-ts4.5/plugins/type-ahead/pm-plugins/reducer.d.ts +0 -10
  655. package/dist/types-ts4.5/plugins/type-ahead/pm-plugins/utils.d.ts +0 -4
  656. package/dist/types-ts4.5/plugins/type-ahead/stats-modifier.d.ts +0 -20
  657. package/dist/types-ts4.5/plugins/type-ahead/transforms/close-type-ahead.d.ts +0 -2
  658. package/dist/types-ts4.5/plugins/type-ahead/transforms/open-typeahead-at-cursor.d.ts +0 -11
  659. package/dist/types-ts4.5/plugins/type-ahead/transforms/set-selection-before-query.d.ts +0 -2
  660. package/dist/types-ts4.5/plugins/type-ahead/types.d.ts +0 -64
  661. package/dist/types-ts4.5/plugins/type-ahead/ui/AssistiveText.d.ts +0 -33
  662. package/dist/types-ts4.5/plugins/type-ahead/ui/InputQuery.d.ts +0 -26
  663. package/dist/types-ts4.5/plugins/type-ahead/ui/TypeAheadList.d.ts +0 -25
  664. package/dist/types-ts4.5/plugins/type-ahead/ui/TypeAheadListItem.d.ts +0 -18
  665. package/dist/types-ts4.5/plugins/type-ahead/ui/TypeAheadPopup.d.ts +0 -29
  666. package/dist/types-ts4.5/plugins/type-ahead/ui/WrapperTypeAhead.d.ts +0 -20
  667. package/dist/types-ts4.5/plugins/type-ahead/ui/hooks/use-item-insert.d.ts +0 -7
  668. package/dist/types-ts4.5/plugins/type-ahead/ui/hooks/use-load-items.d.ts +0 -3
  669. package/dist/types-ts4.5/plugins/type-ahead/ui/hooks/use-on-force-select.d.ts +0 -11
  670. package/dist/types-ts4.5/plugins/type-ahead/utils.d.ts +0 -27
  671. package/dist/types-ts4.5/plugins/undo-redo/attach-input-meta.d.ts +0 -5
  672. package/dist/types-ts4.5/plugins/undo-redo/commands.d.ts +0 -4
  673. package/dist/types-ts4.5/plugins/undo-redo/enums.d.ts +0 -4
  674. package/dist/types-ts4.5/plugins/undo-redo/index.d.ts +0 -3
  675. package/dist/types-ts4.5/plugins/undo-redo/pm-plugins/keymaps.d.ts +0 -2
  676. package/dist/types-ts4.5/plugins/undo-redo/pm-plugins/main.d.ts +0 -2
  677. package/dist/types-ts4.5/plugins/undo-redo/pm-plugins/plugin-key.d.ts +0 -2
  678. package/dist/types-ts4.5/plugins/undo-redo/types.d.ts +0 -7
  679. package/dist/types-ts4.5/plugins/undo-redo/ui/ToolbarUndoRedo/index.d.ts +0 -24
  680. package/dist/types-ts4.5/plugins/view-update-subscription/index.d.ts +0 -19
  681. package/dist/types-ts4.5/plugins/view-update-subscription/subscribe/toolbarAndPickerUpdates.d.ts +0 -12
  682. package/dist/types-ts4.5/plugins/view-update-subscription/subscribe/type-ahead-updates.d.ts +0 -9
  683. package/dist/types-ts4.5/preset-default.d.ts +0 -1
  684. package/dist/types-ts4.5/preset-universal.d.ts +0 -1
  685. package/dist/types-ts4.5/presets/context.d.ts +0 -15
  686. package/dist/types-ts4.5/selection-api/api.d.ts +0 -11
  687. package/dist/types-ts4.5/stories/examples.d.ts +0 -9
  688. package/dist/types-ts4.5/test-utils.d.ts +0 -40
  689. package/dist/types-ts4.5/types/browser.d.ts +0 -1
  690. package/dist/types-ts4.5/types/command.d.ts +0 -5
  691. package/dist/types-ts4.5/types/dom-at-pos.d.ts +0 -4
  692. package/dist/types-ts4.5/types/editor-appearance-component.d.ts +0 -50
  693. package/dist/types-ts4.5/types/editor-appearance.d.ts +0 -1
  694. package/dist/types-ts4.5/types/editor-config.d.ts +0 -25
  695. package/dist/types-ts4.5/types/editor-instance.d.ts +0 -19
  696. package/dist/types-ts4.5/types/editor-onchange.d.ts +0 -4
  697. package/dist/types-ts4.5/types/editor-plugin.d.ts +0 -1
  698. package/dist/types-ts4.5/types/editor-props.d.ts +0 -262
  699. package/dist/types-ts4.5/types/editor-react-context.d.ts +0 -1
  700. package/dist/types-ts4.5/types/empty-state-handler.d.ts +0 -1
  701. package/dist/types-ts4.5/types/extension-config.d.ts +0 -5
  702. package/dist/types-ts4.5/types/feature-flags.d.ts +0 -1
  703. package/dist/types-ts4.5/types/i18n.d.ts +0 -5
  704. package/dist/types-ts4.5/types/index.d.ts +0 -18
  705. package/dist/types-ts4.5/types/performance-tracking.d.ts +0 -1
  706. package/dist/types-ts4.5/types/pm-config.d.ts +0 -1
  707. package/dist/types-ts4.5/types/pm-plugin-list.d.ts +0 -9
  708. package/dist/types-ts4.5/types/pm-plugin.d.ts +0 -1
  709. package/dist/types-ts4.5/types/ui-components.d.ts +0 -1
  710. package/dist/types-ts4.5/ui/Addon/ClickAreaBlock/index.d.ts +0 -10
  711. package/dist/types-ts4.5/ui/Addon/ClickAreaInline/index.d.ts +0 -8
  712. package/dist/types-ts4.5/ui/Addon/ClickAreaMobile/index.d.ts +0 -31
  713. package/dist/types-ts4.5/ui/Addon/Dropdown/index.d.ts +0 -14
  714. package/dist/types-ts4.5/ui/Addon/Dropdown/styles.d.ts +0 -1
  715. package/dist/types-ts4.5/ui/Addon/DropdownItem/index.d.ts +0 -5
  716. package/dist/types-ts4.5/ui/Addon/DropdownItem/styles.d.ts +0 -1
  717. package/dist/types-ts4.5/ui/Addon/click-area-helper.d.ts +0 -13
  718. package/dist/types-ts4.5/ui/Addon/index.d.ts +0 -6
  719. package/dist/types-ts4.5/ui/Addon/types.d.ts +0 -17
  720. package/dist/types-ts4.5/ui/Alignment/AlignmentButton/index.d.ts +0 -17
  721. package/dist/types-ts4.5/ui/Alignment/index.d.ts +0 -12
  722. package/dist/types-ts4.5/ui/Alignment/styles.d.ts +0 -1
  723. package/dist/types-ts4.5/ui/Appearance/Chromeless.d.ts +0 -11
  724. package/dist/types-ts4.5/ui/Appearance/Comment/Comment.d.ts +0 -7
  725. package/dist/types-ts4.5/ui/Appearance/Comment/Toolbar.d.ts +0 -9
  726. package/dist/types-ts4.5/ui/Appearance/Comment/index.d.ts +0 -1
  727. package/dist/types-ts4.5/ui/Appearance/FullPage/FullPage.d.ts +0 -3
  728. package/dist/types-ts4.5/ui/Appearance/FullPage/FullPageContentArea.d.ts +0 -39
  729. package/dist/types-ts4.5/ui/Appearance/FullPage/FullPageToolbar.d.ts +0 -38
  730. package/dist/types-ts4.5/ui/Appearance/FullPage/MainToolbar.d.ts +0 -7
  731. package/dist/types-ts4.5/ui/Appearance/FullPage/StyledComponents.d.ts +0 -19
  732. package/dist/types-ts4.5/ui/Appearance/FullPage/index.d.ts +0 -1
  733. package/dist/types-ts4.5/ui/Appearance/Mobile.d.ts +0 -3
  734. package/dist/types-ts4.5/ui/AppearanceComponents/Mobile.d.ts +0 -14
  735. package/dist/types-ts4.5/ui/ChromeCollapsed/index.d.ts +0 -11
  736. package/dist/types-ts4.5/ui/ChromeCollapsed/messages.d.ts +0 -7
  737. package/dist/types-ts4.5/ui/ChromeCollapsed/styles.d.ts +0 -1
  738. package/dist/types-ts4.5/ui/CollapsedEditor/index.d.ts +0 -19
  739. package/dist/types-ts4.5/ui/ColorPalette/Palettes/cellBackgroundColorPalette.d.ts +0 -2
  740. package/dist/types-ts4.5/ui/ColorPalette/Palettes/common.d.ts +0 -1
  741. package/dist/types-ts4.5/ui/ColorPalette/Palettes/index.d.ts +0 -2
  742. package/dist/types-ts4.5/ui/ColorPalette/Palettes/paletteMessages.d.ts +0 -2
  743. package/dist/types-ts4.5/ui/ColorPalette/Palettes/panelBackgroundPalette.d.ts +0 -1
  744. package/dist/types-ts4.5/ui/ColorPalette/Palettes/statusColorPalette.d.ts +0 -1
  745. package/dist/types-ts4.5/ui/ColorPalette/Palettes/textColorPalette.d.ts +0 -1
  746. package/dist/types-ts4.5/ui/ColorPalette/Palettes/type.d.ts +0 -1
  747. package/dist/types-ts4.5/ui/ColorPalette/index.d.ts +0 -3
  748. package/dist/types-ts4.5/ui/ConfigPanel/ConfigPanel.d.ts +0 -22
  749. package/dist/types-ts4.5/ui/ConfigPanel/ConfigPanelFieldsLoader.d.ts +0 -20
  750. package/dist/types-ts4.5/ui/ConfigPanel/ConfigPanelLoader.d.ts +0 -5
  751. package/dist/types-ts4.5/ui/ConfigPanel/ErrorMessage/ErrorImage.d.ts +0 -4
  752. package/dist/types-ts4.5/ui/ConfigPanel/ErrorMessage/index.d.ts +0 -10
  753. package/dist/types-ts4.5/ui/ConfigPanel/FieldMessages.d.ts +0 -12
  754. package/dist/types-ts4.5/ui/ConfigPanel/Fields/Boolean.d.ts +0 -8
  755. package/dist/types-ts4.5/ui/ConfigPanel/Fields/CheckboxGroup.d.ts +0 -8
  756. package/dist/types-ts4.5/ui/ConfigPanel/Fields/ColorPicker.d.ts +0 -21
  757. package/dist/types-ts4.5/ui/ConfigPanel/Fields/CustomSelect.d.ts +0 -24
  758. package/dist/types-ts4.5/ui/ConfigPanel/Fields/Date.d.ts +0 -20
  759. package/dist/types-ts4.5/ui/ConfigPanel/Fields/DateRange.d.ts +0 -20
  760. package/dist/types-ts4.5/ui/ConfigPanel/Fields/Enum.d.ts +0 -10
  761. package/dist/types-ts4.5/ui/ConfigPanel/Fields/Expand.d.ts +0 -18
  762. package/dist/types-ts4.5/ui/ConfigPanel/Fields/Fieldset.d.ts +0 -20
  763. package/dist/types-ts4.5/ui/ConfigPanel/Fields/Number.d.ts +0 -10
  764. package/dist/types-ts4.5/ui/ConfigPanel/Fields/RadioGroup.d.ts +0 -8
  765. package/dist/types-ts4.5/ui/ConfigPanel/Fields/Select.d.ts +0 -11
  766. package/dist/types-ts4.5/ui/ConfigPanel/Fields/SelectItem.d.ts +0 -5
  767. package/dist/types-ts4.5/ui/ConfigPanel/Fields/String.d.ts +0 -10
  768. package/dist/types-ts4.5/ui/ConfigPanel/Fields/TabGroup.d.ts +0 -15
  769. package/dist/types-ts4.5/ui/ConfigPanel/Fields/UnhandledType.d.ts +0 -6
  770. package/dist/types-ts4.5/ui/ConfigPanel/Fields/UserSelect.d.ts +0 -10
  771. package/dist/types-ts4.5/ui/ConfigPanel/Fields/common/RequiredIndicator.d.ts +0 -1
  772. package/dist/types-ts4.5/ui/ConfigPanel/FormContent.d.ts +0 -4
  773. package/dist/types-ts4.5/ui/ConfigPanel/FormErrorBoundary.d.ts +0 -16
  774. package/dist/types-ts4.5/ui/ConfigPanel/Header.d.ts +0 -21
  775. package/dist/types-ts4.5/ui/ConfigPanel/LoadingState.d.ts +0 -4
  776. package/dist/types-ts4.5/ui/ConfigPanel/NestedForms/RemovableField.d.ts +0 -19
  777. package/dist/types-ts4.5/ui/ConfigPanel/index.d.ts +0 -2
  778. package/dist/types-ts4.5/ui/ConfigPanel/messages.d.ts +0 -87
  779. package/dist/types-ts4.5/ui/ConfigPanel/transformers.d.ts +0 -9
  780. package/dist/types-ts4.5/ui/ConfigPanel/types.d.ts +0 -40
  781. package/dist/types-ts4.5/ui/ConfigPanel/utils.d.ts +0 -13
  782. package/dist/types-ts4.5/ui/ContentStyles/index.d.ts +0 -14
  783. package/dist/types-ts4.5/ui/ContentStyles/media.d.ts +0 -1
  784. package/dist/types-ts4.5/ui/ContextPanel/index.d.ts +0 -41
  785. package/dist/types-ts4.5/ui/EditorContext/index.d.ts +0 -18
  786. package/dist/types-ts4.5/ui/ElementBrowser/InsertMenu.d.ts +0 -4
  787. package/dist/types-ts4.5/ui/ElementBrowser/types.d.ts +0 -22
  788. package/dist/types-ts4.5/ui/ErrorBoundary/index.d.ts +0 -26
  789. package/dist/types-ts4.5/ui/FloatingToolbar/index.d.ts +0 -28
  790. package/dist/types-ts4.5/ui/FloatingToolbar/styles.d.ts +0 -1
  791. package/dist/types-ts4.5/ui/FloatingToolbar/utils.d.ts +0 -13
  792. package/dist/types-ts4.5/ui/MediaAndEmbedsToolbar/toolbar-messages.d.ts +0 -12
  793. package/dist/types-ts4.5/ui/PluginSlot/index.d.ts +0 -39
  794. package/dist/types-ts4.5/ui/PluginSlot/mount-plugin-hooks.d.ts +0 -10
  795. package/dist/types-ts4.5/ui/Toolbar/Toolbar.d.ts +0 -3
  796. package/dist/types-ts4.5/ui/Toolbar/ToolbarInner.d.ts +0 -8
  797. package/dist/types-ts4.5/ui/Toolbar/ToolbarWithSizeDetector.d.ts +0 -4
  798. package/dist/types-ts4.5/ui/Toolbar/hooks.d.ts +0 -4
  799. package/dist/types-ts4.5/ui/Toolbar/index.d.ts +0 -4
  800. package/dist/types-ts4.5/ui/Toolbar/toolbar-size.d.ts +0 -4
  801. package/dist/types-ts4.5/ui/Toolbar/toolbar-types.d.ts +0 -34
  802. package/dist/types-ts4.5/ui/Toolbar/types.d.ts +0 -2
  803. package/dist/types-ts4.5/ui/ToolbarButton/index.d.ts +0 -4
  804. package/dist/types-ts4.5/ui/ToolbarFeedback/index.d.ts +0 -27
  805. package/dist/types-ts4.5/ui/ToolbarFeedback/styles.d.ts +0 -6
  806. package/dist/types-ts4.5/ui/ToolbarHelp/index.d.ts +0 -11
  807. package/dist/types-ts4.5/ui/ToolbarHelp/messages.d.ts +0 -7
  808. package/dist/types-ts4.5/ui/WithEditorActions/index.d.ts +0 -18
  809. package/dist/types-ts4.5/ui/WithFlash/index.d.ts +0 -11
  810. package/dist/types-ts4.5/ui/WithHelpTrigger/index.d.ts +0 -13
  811. package/dist/types-ts4.5/ui/WithPluginState/index.d.ts +0 -3
  812. package/dist/types-ts4.5/ui/styles.d.ts +0 -2
  813. package/dist/types-ts4.5/ui/with-outer-listeners.d.ts +0 -2
  814. package/dist/types-ts4.5/use-preset.d.ts +0 -46
  815. package/dist/types-ts4.5/utils/action.d.ts +0 -9
  816. package/dist/types-ts4.5/utils/array.d.ts +0 -1
  817. package/dist/types-ts4.5/utils/clipboard.d.ts +0 -1
  818. package/dist/types-ts4.5/utils/commands.d.ts +0 -14
  819. package/dist/types-ts4.5/utils/deprecation-warnings.d.ts +0 -8
  820. package/dist/types-ts4.5/utils/document-logger.d.ts +0 -6
  821. package/dist/types-ts4.5/utils/document.d.ts +0 -27
  822. package/dist/types-ts4.5/utils/dom.d.ts +0 -2
  823. package/dist/types-ts4.5/utils/editorDeprecationWarnings.d.ts +0 -2
  824. package/dist/types-ts4.5/utils/extensions.d.ts +0 -6
  825. package/dist/types-ts4.5/utils/getAttrsWithChangesRecorder.d.ts +0 -23
  826. package/dist/types-ts4.5/utils/index.d.ts +0 -65
  827. package/dist/types-ts4.5/utils/is-full-page.d.ts +0 -2
  828. package/dist/types-ts4.5/utils/is-text-input.d.ts +0 -2
  829. package/dist/types-ts4.5/utils/node-width.d.ts +0 -7
  830. package/dist/types-ts4.5/utils/nodes-by-localIds.d.ts +0 -8
  831. package/dist/types-ts4.5/utils/nodes.d.ts +0 -1
  832. package/dist/types-ts4.5/utils/performance/components/RenderTracking.d.ts +0 -13
  833. package/dist/types-ts4.5/utils/performance/instrumented-plugin.d.ts +0 -16
  834. package/dist/types-ts4.5/utils/performance/measure-enum.d.ts +0 -8
  835. package/dist/types-ts4.5/utils/performance/outlier.d.ts +0 -1
  836. package/dist/types-ts4.5/utils/performance/percentile.d.ts +0 -1
  837. package/dist/types-ts4.5/utils/performance/plugin-performance-observer.d.ts +0 -22
  838. package/dist/types-ts4.5/utils/performance/plugin-performance-report.d.ts +0 -48
  839. package/dist/types-ts4.5/utils/performance/safer-transactions.d.ts +0 -9
  840. package/dist/types-ts4.5/utils/performance/simple-measure-to-entries.d.ts +0 -28
  841. package/dist/types-ts4.5/utils/performance/track-transactions.d.ts +0 -30
  842. package/dist/types-ts4.5/utils/pick-by.d.ts +0 -2
  843. package/dist/types-ts4.5/utils/plugin-state-factory.d.ts +0 -2
  844. package/dist/types-ts4.5/utils/prepare-extension-provider.d.ts +0 -5
  845. package/dist/types-ts4.5/utils/prepare-quick-insert-provider.d.ts +0 -16
  846. package/dist/types-ts4.5/utils/react-hooks/use-abortable-effect/index.d.ts +0 -16
  847. package/dist/types-ts4.5/utils/react-hooks/use-state-from-promise/index.d.ts +0 -18
  848. package/dist/types-ts4.5/utils/selection.d.ts +0 -8
  849. package/dist/types-ts4.5/utils/slice.d.ts +0 -2
  850. package/dist/types-ts4.5/utils/step.d.ts +0 -1
  851. package/dist/types-ts4.5/version-wrapper.d.ts +0 -3
  852. package/tmp/api-report-tmp.d.ts +0 -791
  853. /package/dist/cjs/{plugins/date/styles.js → ui/ContentStyles/date.js} +0 -0
  854. /package/dist/es2019/{plugins/date/styles.js → ui/ContentStyles/date.js} +0 -0
  855. /package/dist/esm/{plugins/date/styles.js → ui/ContentStyles/date.js} +0 -0
  856. /package/dist/{types-ts4.5/plugins/date/styles.d.ts → types/ui/ContentStyles/date.d.ts} +0 -0
@@ -1,272 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.shouldSkipGapCursor = exports.setSelectionTopLevelBlocks = exports.setGapCursorAtPos = exports.setCursorForTopLevelBlocks = exports.hasGapCursorPlugin = exports.deleteNode = exports.arrow = void 0;
7
- var _state = require("@atlaskit/editor-prosemirror/state");
8
- var _utils = require("@atlaskit/editor-prosemirror/utils");
9
- var _direction = require("./direction");
10
- var _selection = require("./selection");
11
- var _utils2 = require("./utils");
12
- var _isValidTargetNode = require("./utils/is-valid-target-node");
13
- var _selection2 = require("@atlaskit/editor-common/selection");
14
- var _gapCursorPluginKey = require("../pm-plugins/gap-cursor-plugin-key");
15
- var _utils3 = require("@atlaskit/editor-common/utils");
16
- var shouldSkipGapCursor = exports.shouldSkipGapCursor = function shouldSkipGapCursor(direction, state, $pos) {
17
- var _$pos$nodeBefore;
18
- var doc = state.doc,
19
- schema = state.schema;
20
- switch (direction) {
21
- case _direction.Direction.UP:
22
- if ((0, _selection2.atTheBeginningOfDoc)(state)) {
23
- return false;
24
- }
25
- return (0, _utils3.isPositionNearTableRow)($pos, schema, 'before') || (0, _utils2.isTextBlockNearPos)(doc, schema, $pos, -1) || (0, _utils3.isNodeBeforeMediaNode)($pos, state);
26
- case _direction.Direction.DOWN:
27
- return (0, _selection2.atTheEndOfDoc)(state) || (0, _utils2.isTextBlockNearPos)(doc, schema, $pos, 1) || (0, _utils3.isPositionNearTableRow)($pos, schema, 'after') || ((_$pos$nodeBefore = $pos.nodeBefore) === null || _$pos$nodeBefore === void 0 ? void 0 : _$pos$nodeBefore.type.name) === 'text' && !$pos.nodeAfter // end of a paragraph
28
- ;
29
-
30
- default:
31
- return false;
32
- }
33
- };
34
-
35
- // These cases should be handled using the handleMediaGapCursor function
36
- function shouldHandleMediaGapCursor(dir, state) {
37
- var _selection$$from$node;
38
- var selection = state.selection;
39
- var upArrowFromGapCursorIntoMedia = selection instanceof _selection.GapCursorSelection && dir === _direction.Direction.UP && selection.$from.nodeBefore && (0, _utils3.isMediaNode)(selection.$from.nodeBefore);
40
- var downArrowFromGapCursorIntoMediaGroup = selection instanceof _selection.GapCursorSelection && dir === _direction.Direction.DOWN && ((_selection$$from$node = selection.$from.nodeAfter) === null || _selection$$from$node === void 0 ? void 0 : _selection$$from$node.type.name) === 'mediaGroup';
41
- return upArrowFromGapCursorIntoMedia || downArrowFromGapCursorIntoMediaGroup;
42
- }
43
-
44
- // Handle media gap cursor for up/down arrow into media nodes
45
- // Should check this case by using shouldHandleMediaGapCursor first
46
- function handleMediaGapCursor(dir, state) {
47
- var selection = state.selection,
48
- tr = state.tr;
49
- var $pos = (0, _direction.isBackward)(dir) ? selection.$from : selection.$to;
50
- if (dir === _direction.Direction.UP && selection.$from.nodeBefore && (0, _utils3.isMediaNode)(selection.$from.nodeBefore)) {
51
- var _tr$doc$nodeAt;
52
- var nodeBeforePos = (0, _utils.findPositionOfNodeBefore)(tr.selection);
53
- if (nodeBeforePos && selection.side === 'right' && ((_tr$doc$nodeAt = tr.doc.nodeAt(nodeBeforePos)) === null || _tr$doc$nodeAt === void 0 ? void 0 : _tr$doc$nodeAt.type.name) === 'mediaSingle') {
54
- tr.setSelection(new _state.NodeSelection(tr.doc.resolve(nodeBeforePos))).scrollIntoView();
55
- } else if (nodeBeforePos || nodeBeforePos === 0) {
56
- tr.setSelection(new _selection.GapCursorSelection(tr.doc.resolve(nodeBeforePos), _selection.Side.LEFT)).scrollIntoView();
57
- }
58
- }
59
- if (dir === _direction.Direction.DOWN && selection.$from.nodeAfter) {
60
- var nodeAfterPos = selection.side === 'right' ? $pos.pos : $pos.pos + selection.$from.nodeAfter.nodeSize;
61
- if (nodeAfterPos) {
62
- tr.setSelection(new _selection.GapCursorSelection(tr.doc.resolve(nodeAfterPos), _selection.Side.LEFT)).scrollIntoView();
63
- }
64
- }
65
- return tr;
66
- }
67
- var arrow = exports.arrow = function arrow(dir, endOfTextblock) {
68
- return function (state, dispatch, view) {
69
- var doc = state.doc,
70
- selection = state.selection,
71
- tr = state.tr;
72
- var $pos = (0, _direction.isBackward)(dir) ? selection.$from : selection.$to;
73
- var mustMove = selection.empty;
74
-
75
- // start from text selection
76
- if (selection instanceof _state.TextSelection) {
77
- // if cursor is in the middle of a text node, do nothing
78
- if (!endOfTextblock || !endOfTextblock(dir.toString())) {
79
- return false;
80
- }
81
-
82
- // UP/DOWN jumps to the nearest texblock skipping gapcursor whenever possible
83
- if (shouldSkipGapCursor(dir, state, $pos)) {
84
- return false;
85
- }
86
-
87
- // otherwise resolve previous/next position
88
- $pos = doc.resolve((0, _direction.isBackward)(dir) ? $pos.before() : $pos.after());
89
- mustMove = false;
90
- }
91
- if (selection instanceof _state.NodeSelection) {
92
- if (selection.node.isInline) {
93
- return false;
94
- }
95
- if (dir === _direction.Direction.UP && !(0, _selection2.atTheBeginningOfDoc)(state) && !(0, _utils3.isNodeBeforeMediaNode)($pos, state) || dir === _direction.Direction.DOWN) {
96
- // We dont add gap cursor on node selections going up and down
97
- // Except we do if we're going up for a block node which is the
98
- // first node in the document OR the node before is a media node
99
- return false;
100
- }
101
- }
102
-
103
- // Handle media gap cursor for up/down arrow into media nodes
104
- if (shouldHandleMediaGapCursor(dir, state)) {
105
- var updatedTr = handleMediaGapCursor(dir, state);
106
- if (dispatch) {
107
- dispatch(updatedTr);
108
- }
109
- return true;
110
- }
111
-
112
- // when jumping between block nodes at the same depth, we need to reverse cursor without changing ProseMirror position
113
- if (selection instanceof _selection.GapCursorSelection &&
114
- // next node allow gap cursor position
115
- (0, _isValidTargetNode.isValidTargetNode)((0, _direction.isBackward)(dir) ? $pos.nodeBefore : $pos.nodeAfter) && (
116
- // gap cursor changes block node
117
- (0, _direction.isBackward)(dir) && selection.side === _selection.Side.LEFT || (0, _direction.isForward)(dir) && selection.side === _selection.Side.RIGHT)) {
118
- // reverse cursor position
119
- if (dispatch) {
120
- dispatch(tr.setSelection(new _selection.GapCursorSelection($pos, selection.side === _selection.Side.RIGHT ? _selection.Side.LEFT : _selection.Side.RIGHT)).scrollIntoView());
121
- }
122
- return true;
123
- }
124
- if (view) {
125
- var domAtPos = view.domAtPos.bind(view);
126
- var target = (0, _utils.findDomRefAtPos)($pos.pos, domAtPos);
127
- if (target && target.textContent === _utils3.ZERO_WIDTH_SPACE) {
128
- return false;
129
- }
130
- }
131
- var nextSelection = _selection.GapCursorSelection.findFrom($pos, (0, _direction.isBackward)(dir) ? -1 : 1, mustMove);
132
- if (!nextSelection) {
133
- return false;
134
- }
135
- if (!(0, _isValidTargetNode.isValidTargetNode)((0, _direction.isForward)(dir) ? nextSelection.$from.nodeBefore : nextSelection.$from.nodeAfter)) {
136
- // reverse cursor position
137
- if (dispatch) {
138
- dispatch(tr.setSelection(new _selection.GapCursorSelection(nextSelection.$from, (0, _direction.isForward)(dir) ? _selection.Side.LEFT : _selection.Side.RIGHT)).scrollIntoView());
139
- }
140
- return true;
141
- }
142
- if (dispatch) {
143
- dispatch(tr.setSelection(nextSelection).scrollIntoView());
144
- }
145
- return true;
146
- };
147
- };
148
- var deleteNode = exports.deleteNode = function deleteNode(dir) {
149
- return function (state, dispatch) {
150
- if (state.selection instanceof _selection.GapCursorSelection) {
151
- var _state$selection = state.selection,
152
- $from = _state$selection.$from,
153
- $anchor = _state$selection.$anchor;
154
- var tr = state.tr;
155
- if ((0, _direction.isBackward)(dir)) {
156
- if (state.selection.side === 'left') {
157
- tr.setSelection(new _selection.GapCursorSelection($anchor, _selection.Side.RIGHT));
158
- if (dispatch) {
159
- dispatch(tr);
160
- }
161
- return true;
162
- }
163
- tr = (0, _utils.removeNodeBefore)(state.tr);
164
- } else if ($from.nodeAfter) {
165
- tr = tr.delete($from.pos, $from.pos + $from.nodeAfter.nodeSize);
166
- }
167
- if (dispatch) {
168
- dispatch(tr.setSelection(_state.Selection.near(tr.doc.resolve(tr.mapping.map(state.selection.$from.pos)))).scrollIntoView());
169
- }
170
- return true;
171
- }
172
- return false;
173
- };
174
- };
175
- var setGapCursorAtPos = exports.setGapCursorAtPos = function setGapCursorAtPos(position) {
176
- var side = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : _selection.Side.LEFT;
177
- return function (state, dispatch) {
178
- // @see ED-6231
179
- if (position > state.doc.content.size) {
180
- return false;
181
- }
182
- var $pos = state.doc.resolve(position);
183
- if (_selection.GapCursorSelection.valid($pos)) {
184
- if (dispatch) {
185
- dispatch(state.tr.setSelection(new _selection.GapCursorSelection($pos, side)));
186
- }
187
- return true;
188
- }
189
- return false;
190
- };
191
- };
192
-
193
- // This function captures clicks outside of the ProseMirror contentEditable area
194
- // see also description of "handleClick" in gap-cursor pm-plugin
195
- var captureCursorCoords = function captureCursorCoords(event, editorRef, posAtCoords, tr) {
196
- var rect = editorRef.getBoundingClientRect();
197
-
198
- // capture clicks before the first block element
199
- if (event.clientY < rect.top) {
200
- return {
201
- position: 0,
202
- side: _selection.Side.LEFT
203
- };
204
- }
205
- if (rect.left > 0) {
206
- // calculate start position of a node that is vertically at the same level
207
- var _coords = posAtCoords({
208
- left: rect.left,
209
- top: event.clientY
210
- });
211
- if (_coords && _coords.inside > -1) {
212
- var $from = tr.doc.resolve(_coords.inside);
213
- var start = $from.before(1);
214
- var side = event.clientX < rect.left ? _selection.Side.LEFT : _selection.Side.RIGHT;
215
- var position;
216
- if (side === _selection.Side.LEFT) {
217
- position = start;
218
- } else {
219
- var node = tr.doc.nodeAt(start);
220
- if (node) {
221
- position = start + node.nodeSize;
222
- }
223
- }
224
- return {
225
- position: position,
226
- side: side
227
- };
228
- }
229
- }
230
- return null;
231
- };
232
- var setSelectionTopLevelBlocks = exports.setSelectionTopLevelBlocks = function setSelectionTopLevelBlocks(tr, event, editorRef, posAtCoords, editorFocused) {
233
- var cursorCoords = captureCursorCoords(event, editorRef, posAtCoords, tr);
234
- if (!cursorCoords) {
235
- return;
236
- }
237
- var $pos = cursorCoords.position !== undefined ? tr.doc.resolve(cursorCoords.position) : null;
238
- if ($pos === null) {
239
- return;
240
- }
241
- var isGapCursorAllowed = cursorCoords.side === _selection.Side.LEFT ? (0, _isValidTargetNode.isValidTargetNode)($pos.nodeAfter) : (0, _isValidTargetNode.isValidTargetNode)($pos.nodeBefore);
242
- if (isGapCursorAllowed && _selection.GapCursorSelection.valid($pos)) {
243
- // this forces PM to re-render the decoration node if we change the side of the gap cursor, it doesn't do it by default
244
- if (tr.selection instanceof _selection.GapCursorSelection) {
245
- tr.setSelection(_state.Selection.near($pos));
246
- } else {
247
- tr.setSelection(new _selection.GapCursorSelection($pos, cursorCoords.side));
248
- }
249
- }
250
- // try to set text selection if the editor isnt focused
251
- // if the editor is focused, we are most likely dragging a selection outside.
252
- else if (editorFocused === false) {
253
- var selectionTemp = _state.Selection.findFrom($pos, cursorCoords.side === _selection.Side.LEFT ? 1 : -1, true);
254
- if (selectionTemp) {
255
- tr.setSelection(selectionTemp);
256
- }
257
- }
258
- };
259
- var setCursorForTopLevelBlocks = exports.setCursorForTopLevelBlocks = function setCursorForTopLevelBlocks(event, editorRef, posAtCoords, editorFocused) {
260
- return function (state, dispatch) {
261
- var tr = state.tr;
262
- setSelectionTopLevelBlocks(tr, event, editorRef, posAtCoords, editorFocused);
263
- if (tr.selectionSet && dispatch) {
264
- dispatch(tr);
265
- return true;
266
- }
267
- return false;
268
- };
269
- };
270
- var hasGapCursorPlugin = exports.hasGapCursorPlugin = function hasGapCursorPlugin(state) {
271
- return Boolean(_gapCursorPluginKey.gapCursorPluginKey.get(state));
272
- };
@@ -1,23 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.Direction = void 0;
7
- exports.isBackward = isBackward;
8
- exports.isForward = isForward;
9
- var Direction = exports.Direction = /*#__PURE__*/function (Direction) {
10
- Direction["UP"] = "up";
11
- Direction["RIGHT"] = "right";
12
- Direction["DOWN"] = "down";
13
- Direction["LEFT"] = "left";
14
- Direction["BACKWARD"] = "backward";
15
- Direction["FORWARD"] = "forward";
16
- return Direction;
17
- }({});
18
- function isBackward(dir) {
19
- return [Direction.UP, Direction.LEFT, Direction.BACKWARD].indexOf(dir) !== -1;
20
- }
21
- function isForward(dir) {
22
- return [Direction.RIGHT, Direction.DOWN, Direction.FORWARD].indexOf(dir) !== -1;
23
- }
@@ -1,30 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- Object.defineProperty(exports, "GapBookmark", {
7
- enumerable: true,
8
- get: function get() {
9
- return _selection.GapBookmark;
10
- }
11
- });
12
- Object.defineProperty(exports, "GapCursorSelection", {
13
- enumerable: true,
14
- get: function get() {
15
- return _selection.GapCursorSelection;
16
- }
17
- });
18
- Object.defineProperty(exports, "JSON_ID", {
19
- enumerable: true,
20
- get: function get() {
21
- return _selection.JSON_ID;
22
- }
23
- });
24
- Object.defineProperty(exports, "Side", {
25
- enumerable: true,
26
- get: function get() {
27
- return _selection.Side;
28
- }
29
- });
30
- var _selection = require("@atlaskit/editor-common/selection");
@@ -1,17 +0,0 @@
1
- "use strict";
2
-
3
- var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
- Object.defineProperty(exports, "__esModule", {
5
- value: true
6
- });
7
- exports.hideCaretModifier = exports.gapCursorStyles = void 0;
8
- var _taggedTemplateLiteral2 = _interopRequireDefault(require("@babel/runtime/helpers/taggedTemplateLiteral"));
9
- var _react = require("@emotion/react");
10
- var _templateObject, _templateObject2;
11
- var gapCursorBlink = (0, _react.keyframes)(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n from, to {\n opacity: 0;\n }\n 50% {\n opacity: 1;\n }\n"])));
12
- var hideCaretModifier = exports.hideCaretModifier = 'ProseMirror-hide-gapcursor';
13
- var gapCursor = '.ProseMirror-gapcursor';
14
- var prosemirrorwidget = '.ProseMirror-widget';
15
- var wrapLeft = '[layout="wrap-left"]';
16
- var wrapRight = '[layout="wrap-right"]';
17
- var gapCursorStyles = exports.gapCursorStyles = (0, _react.css)(_templateObject2 || (_templateObject2 = (0, _taggedTemplateLiteral2.default)(["\n /* =============== GAP CURSOR ================== */\n .ProseMirror {\n &.", " {\n caret-color: transparent;\n }\n\n ", " {\n display: none;\n pointer-events: none;\n position: relative;\n\n & span {\n caret-color: transparent;\n position: absolute;\n height: 100%;\n width: 100%;\n display: block;\n }\n\n & span::after {\n animation: 1s ", " step-end infinite;\n border-left: 1px solid;\n content: '';\n display: block;\n position: absolute;\n top: 0;\n height: 100%;\n }\n &.-left span::after {\n left: -3px;\n }\n &.-right span::after {\n right: -3px;\n }\n & span[layout='full-width'],\n & span[layout='wide'],\n & span[layout='fixed-width'] {\n margin-left: 50%;\n transform: translateX(-50%);\n }\n &", " {\n float: right;\n }\n\n /* fix vertical alignment of gap cursor */\n &:first-of-type + ul,\n &:first-of-type + span + ul,\n &:first-of-type + ol,\n &:first-of-type + span + ol,\n &:first-of-type + pre,\n &:first-of-type + span + pre,\n &:first-of-type + blockquote,\n &:first-of-type + span + blockquote {\n margin-top: 0;\n }\n }\n &.ProseMirror-focused ", " {\n display: block;\n border-color: transparent;\n }\n }\n\n /* This hack below is for two images aligned side by side */\n ", "", " + span + ", ",\n ", "", " + span + ", ",\n ", " + ", " + ", ",\n ", " + ", " + span + ", ",\n ", " + ", " + ", ",\n ", " + ", " + span + ", ",\n ", " + ", " + ", ",\n ", " + ", " + span ", ",\n ", " + ", " + ", ",\n ", " + ", " + span + ", ",\n ", " + ", " {\n clear: none;\n }\n\n ", " + ", " + ", " > div,\n ", " + ", " + span + ", " > div,\n ", " + ", " + ", " > div,\n ", " + ", " + span + ", " > div,\n ", " + ", " + ", " > div,\n ", " + ", " + span + ", " > div,\n ", " + ", " + ", " > div,\n ", " + ", " + span + ", " > div {\n margin-right: 0;\n margin-left: 0;\n margin-bottom: 0;\n }\n\n ", " + ", ",\n ", " + ", " {\n float: left;\n }\n\n ", " + ", " + span + ", "::after,\n ", " + ", " + span + ", "::after,\n ", " + ", " + ", "::after,\n ", " + ", " + span + ", "::after,\n ", " + ", " + ", "::after,\n ", " + ", " + span + ", "::after {\n visibility: hidden;\n display: block;\n font-size: 0;\n content: ' ';\n clear: both;\n height: 0;\n }\n\n ", " + ", " + ", " + *,\n ", " + ", " + ", " + span + *,\n ", " + ", " + ", " + *,\n ", " + ", " + ", " + span + *,\n ", " + ", " + span + ", " + *,\n ", " + ", " + span + ", " + *,\n ", " + ", " + span + ", " + *,\n ", " + ", " + span + ", " + *,\n ", " + ", " + ", " + * > *,\n ", " + ", " + ", " + span + * > *,\n ", " + ", " + ", " + * > *,\n ", " + ", " + ", " + span + * > *,\n ", " + ", " + span + ", " + * > *,\n ", " + ", " + span + ", " + * > *,\n ", " + ", " + span + ", " + * > *,\n ", " + ", " + span + ", " + * > *,\n ", " + ", " + *,\n ", " + ", " + span + * {\n margin-top: 0;\n }\n"])), hideCaretModifier, gapCursor, gapCursorBlink, wrapRight, gapCursor, gapCursor, wrapLeft, wrapLeft, gapCursor, wrapRight, wrapRight, gapCursor, wrapLeft, wrapRight, gapCursor, wrapLeft, wrapRight, gapCursor, wrapRight, wrapLeft, gapCursor, wrapRight, wrapLeft, wrapLeft, gapCursor, wrapRight, wrapLeft, gapCursor, wrapRight, wrapRight, gapCursor, wrapLeft, wrapRight, gapCursor, wrapLeft, wrapLeft, gapCursor, wrapLeft, gapCursor, wrapRight, wrapLeft, gapCursor, wrapRight, wrapRight, gapCursor, wrapLeft, wrapRight, gapCursor, wrapLeft, gapCursor, wrapRight, wrapLeft, gapCursor, wrapRight, wrapLeft, gapCursor, wrapLeft, wrapRight, gapCursor, wrapLeft, wrapRight, wrapLeft, gapCursor, wrapRight, gapCursor, gapCursor, wrapLeft, wrapRight, gapCursor, wrapRight, wrapLeft, wrapLeft, gapCursor, wrapRight, wrapLeft, gapCursor, wrapRight, wrapRight, gapCursor, wrapLeft, wrapRight, gapCursor, wrapLeft, wrapLeft, gapCursor, wrapRight, wrapLeft, gapCursor, wrapRight, wrapRight, gapCursor, wrapLeft, wrapRight, gapCursor, wrapLeft, wrapLeft, gapCursor, wrapRight, wrapRight, gapCursor, wrapLeft, gapCursor, wrapLeft, wrapRight, gapCursor, wrapRight, wrapLeft, wrapLeft, gapCursor, wrapRight, wrapLeft, gapCursor, wrapRight, wrapRight, gapCursor, wrapLeft, wrapRight, gapCursor, wrapLeft, wrapLeft, gapCursor, wrapRight, wrapRight, gapCursor, wrapLeft, gapCursor, wrapLeft, wrapRight, gapCursor, wrapRight, wrapLeft, prosemirrorwidget, gapCursor, prosemirrorwidget, gapCursor);
@@ -1,12 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- Object.defineProperty(exports, "isIgnored", {
7
- enumerable: true,
8
- get: function get() {
9
- return _selection.isIgnored;
10
- }
11
- });
12
- var _selection = require("@atlaskit/editor-common/selection");
@@ -1,12 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- Object.defineProperty(exports, "isValidTargetNode", {
7
- enumerable: true,
8
- get: function get() {
9
- return _selection.isValidTargetNode;
10
- }
11
- });
12
- var _selection = require("@atlaskit/editor-common/selection");
@@ -1,103 +0,0 @@
1
- "use strict";
2
-
3
- var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
- Object.defineProperty(exports, "__esModule", {
5
- value: true
6
- });
7
- exports.toDOM = void 0;
8
- var _toArray2 = _interopRequireDefault(require("@babel/runtime/helpers/toArray"));
9
- var _utils = require("../utils");
10
- var _selection = require("@atlaskit/editor-common/selection");
11
- /**
12
- * We have a couple of nodes that require us to compute style
13
- * on different elements, ideally all nodes should be able to
14
- * compute the appropriate styles based on their wrapper.
15
- */
16
- var nestedCases = {
17
- 'tableView-content-wrap': 'table',
18
- 'mediaSingleView-content-wrap': '.rich-media-item',
19
- 'bodiedExtensionView-content-wrap': '.extension-container',
20
- 'embedCardView-content-wrap': '.rich-media-item',
21
- 'datasourceView-content-wrap': '.datasourceView-content-inner-wrap'
22
- };
23
- var computeNestedStyle = function computeNestedStyle(dom) {
24
- var foundKey = Object.keys(nestedCases).find(function (className) {
25
- return dom.classList.contains(className);
26
- });
27
- var nestedSelector = foundKey && nestedCases[foundKey];
28
- if (nestedSelector) {
29
- var nestedElement = dom.querySelector(nestedSelector);
30
- if (nestedElement) {
31
- return window.getComputedStyle(nestedElement);
32
- }
33
- }
34
- };
35
- var measureHeight = function measureHeight(style) {
36
- return measureValue(style, ['height', 'padding-top', 'padding-bottom', 'border-top-width', 'border-bottom-width']);
37
- };
38
- var measureWidth = function measureWidth(style) {
39
- return measureValue(style, ['width', 'padding-left', 'padding-right', 'border-left-width', 'border-right-width']);
40
- };
41
- var measureValue = function measureValue(style, measureValues) {
42
- var _measureValues = (0, _toArray2.default)(measureValues),
43
- base = _measureValues[0],
44
- contentBoxValues = _measureValues.slice(1);
45
- var measures = [style.getPropertyValue(base)];
46
- var boxSizing = style.getPropertyValue('box-sizing');
47
- if (boxSizing === 'content-box') {
48
- contentBoxValues.forEach(function (value) {
49
- measures.push(style.getPropertyValue(value));
50
- });
51
- }
52
- var result = 0;
53
- for (var i = 0; i < measures.length; i++) {
54
- result += parseFloat(measures[i]);
55
- }
56
- return result;
57
- };
58
- var mutateElementStyle = function mutateElementStyle(element, style, side) {
59
- element.style.transform = style.getPropertyValue('transform');
60
- if ((0, _utils.isLeftCursor)(side)) {
61
- element.style.width = style.getPropertyValue('width');
62
- element.style.marginLeft = style.getPropertyValue('margin-left');
63
- } else {
64
- var marginRight = parseFloat(style.getPropertyValue('margin-right'));
65
- if (marginRight > 0) {
66
- element.style.marginLeft = "-".concat(Math.abs(marginRight), "px");
67
- } else {
68
- element.style.paddingRight = "".concat(Math.abs(marginRight), "px");
69
- }
70
- }
71
- };
72
- var toDOM = exports.toDOM = function toDOM(view, getPos) {
73
- var selection = view.state.selection;
74
- var $from = selection.$from,
75
- side = selection.side;
76
- var isRightCursor = side === _selection.Side.RIGHT;
77
- var node = isRightCursor ? $from.nodeBefore : $from.nodeAfter;
78
- var nodeStart = getPos();
79
- // @ts-ignore - [unblock prosemirror bump] nodeStart can be undefined
80
- var dom = view.nodeDOM(nodeStart);
81
- var element = document.createElement('span');
82
- element.className = "ProseMirror-gapcursor ".concat(isRightCursor ? '-right' : '-left');
83
- element.appendChild(document.createElement('span'));
84
- if (dom instanceof HTMLElement && element.firstChild) {
85
- var style = computeNestedStyle(dom) || window.getComputedStyle(dom);
86
- var gapCursor = element.firstChild;
87
- gapCursor.style.height = "".concat(measureHeight(style), "px");
88
- var layoutMode = node && (0, _utils.getLayoutModeFromTargetNode)(node);
89
-
90
- // TODO remove this table specific piece. need to figure out margin collapsing logic
91
- if (nodeStart !== 0 || layoutMode || (node === null || node === void 0 ? void 0 : node.type.name) === 'table') {
92
- gapCursor.style.marginTop = style.getPropertyValue('margin-top');
93
- }
94
- if (layoutMode) {
95
- gapCursor.setAttribute('layout', layoutMode);
96
- var breakoutModeStyle = (0, _utils.getComputedStyleForLayoutMode)(dom, node, style);
97
- gapCursor.style.width = "".concat(measureWidth(breakoutModeStyle), "px");
98
- } else {
99
- mutateElementStyle(gapCursor, style, selection.side);
100
- }
101
- }
102
- return element;
103
- };
@@ -1,137 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.getComputedStyleForLayoutMode = void 0;
7
- exports.getLayoutModeFromTargetNode = getLayoutModeFromTargetNode;
8
- exports.getMediaNearPos = getMediaNearPos;
9
- exports.isTextBlockNearPos = exports.isLeftCursor = exports.isIgnoredClick = void 0;
10
- var _styles = require("@atlaskit/editor-common/styles");
11
- var _selection = require("./selection");
12
- var _mediaSingle = require("@atlaskit/editor-common/media-single");
13
- var isLeftCursor = exports.isLeftCursor = function isLeftCursor(side) {
14
- return side === _selection.Side.LEFT;
15
- };
16
- function getMediaNearPos(doc, $pos, schema) {
17
- var dir = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : -1;
18
- var $currentPos = $pos;
19
- var currentNode = null;
20
- var _schema$nodes = schema.nodes,
21
- mediaSingle = _schema$nodes.mediaSingle,
22
- media = _schema$nodes.media,
23
- mediaGroup = _schema$nodes.mediaGroup;
24
- do {
25
- $currentPos = doc.resolve(dir === -1 ? $currentPos.before() : $currentPos.after());
26
- if (!$currentPos) {
27
- return null;
28
- }
29
- currentNode = (dir === -1 ? $currentPos.nodeBefore : $currentPos.nodeAfter) || $currentPos.parent;
30
- if (!currentNode || currentNode.type === schema.nodes.doc) {
31
- return null;
32
- }
33
- if (currentNode.type === mediaSingle || currentNode.type === media || currentNode.type === mediaGroup) {
34
- return currentNode;
35
- }
36
- } while ($currentPos.depth > 0);
37
- return null;
38
- }
39
- var isTextBlockNearPos = exports.isTextBlockNearPos = function isTextBlockNearPos(doc, schema, $pos, dir) {
40
- var $currentPos = $pos;
41
- var currentNode = dir === -1 ? $currentPos.nodeBefore : $currentPos.nodeAfter;
42
-
43
- // If next node is a text or a text block bail out early.
44
- if (currentNode && (currentNode.isTextblock || currentNode.isText)) {
45
- return true;
46
- }
47
- while ($currentPos.depth > 0) {
48
- $currentPos = doc.resolve(dir === -1 ? $currentPos.before() : $currentPos.after());
49
- if (!$currentPos) {
50
- return false;
51
- }
52
- currentNode = (dir === -1 ? $currentPos.nodeBefore : $currentPos.nodeAfter) || $currentPos.parent;
53
- if (!currentNode || currentNode.type === schema.nodes.doc) {
54
- return false;
55
- }
56
- if (currentNode.isTextblock) {
57
- return true;
58
- }
59
- }
60
- var childNode = currentNode;
61
- while (childNode && childNode.firstChild) {
62
- childNode = childNode.firstChild;
63
- if (childNode && (childNode.isTextblock || childNode.isText)) {
64
- return true;
65
- }
66
- }
67
- return false;
68
- };
69
- function getLayoutModeFromTargetNode(node) {
70
- var layout;
71
- if (node.attrs.layout) {
72
- layout = node.attrs.layout;
73
- }
74
- if (node.marks && node.marks.length) {
75
- layout = (node.marks.find(function (mark) {
76
- return mark.type.name === 'breakout';
77
- }) || {
78
- attrs: {
79
- mode: ''
80
- }
81
- }).attrs.mode;
82
- }
83
- if (node.type.name === 'table' && node.attrs.width) {
84
- layout = 'fixed-width';
85
- }
86
- if (['wide', 'full-width', 'fixed-width'].indexOf(layout) === -1) {
87
- return '';
88
- }
89
- return layout;
90
- }
91
- var isIgnoredClick = exports.isIgnoredClick = function isIgnoredClick(elem) {
92
- if (elem.nodeName === 'BUTTON' || elem.closest('button')) {
93
- return true;
94
- }
95
-
96
- // check if we're clicking an image caption placeholder
97
- if (elem.closest("[data-id=\"".concat(_mediaSingle.CAPTION_PLACEHOLDER_ID, "\"]"))) {
98
- return true;
99
- }
100
-
101
- // check if target node has a parent table node
102
- var tableWrap;
103
- var node = elem;
104
- while (node) {
105
- if (node.className && (node.getAttribute('class') || '').indexOf(_styles.TableSharedCssClassName.TABLE_CONTAINER) > -1) {
106
- tableWrap = node;
107
- break;
108
- }
109
- node = node.parentNode;
110
- }
111
- if (tableWrap) {
112
- var rowControls = tableWrap.querySelector(".".concat(_styles.TableSharedCssClassName.TABLE_ROW_CONTROLS_WRAPPER));
113
- var isColumnControlsDecoration = elem && elem.classList && elem.classList.contains(_styles.TableSharedCssClassName.TABLE_COLUMN_CONTROLS_DECORATIONS);
114
- return rowControls && rowControls.contains(elem) || isColumnControlsDecoration;
115
- }
116
-
117
- // Check if unsupported node selection
118
- // (without this, selection requires double clicking in FF due to posAtCoords differences)
119
- if (elem.closest(".".concat(_styles.UnsupportedSharedCssClassName.BLOCK_CONTAINER))) {
120
- return true;
121
- }
122
- return false;
123
- };
124
-
125
- /*
126
- Calculates custom style for breakout mode
127
- Mainly to handle table width to include the numbered column width as well
128
- */
129
- var getComputedStyleForLayoutMode = exports.getComputedStyleForLayoutMode = function getComputedStyleForLayoutMode(dom, node, style) {
130
- if (node && node.type.name === 'table') {
131
- var tableContainer = dom.querySelector('.pm-table-container');
132
- if (tableContainer) {
133
- return window.getComputedStyle(tableContainer);
134
- }
135
- }
136
- return style;
137
- };
@@ -1,37 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- Object.defineProperty(exports, "GapCursorSelection", {
7
- enumerable: true,
8
- get: function get() {
9
- return _selection.GapCursorSelection;
10
- }
11
- });
12
- Object.defineProperty(exports, "Side", {
13
- enumerable: true,
14
- get: function get() {
15
- return _selection.Side;
16
- }
17
- });
18
- Object.defineProperty(exports, "hasGapCursorPlugin", {
19
- enumerable: true,
20
- get: function get() {
21
- return _actions.hasGapCursorPlugin;
22
- }
23
- });
24
- Object.defineProperty(exports, "setCursorForTopLevelBlocks", {
25
- enumerable: true,
26
- get: function get() {
27
- return _actions.setCursorForTopLevelBlocks;
28
- }
29
- });
30
- Object.defineProperty(exports, "setSelectionTopLevelBlocks", {
31
- enumerable: true,
32
- get: function get() {
33
- return _actions.setSelectionTopLevelBlocks;
34
- }
35
- });
36
- var _selection = require("@atlaskit/editor-common/selection");
37
- var _actions = require("./gap-cursor/actions");