@atlaskit/editor-core 189.1.13 → 189.1.15

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 (173) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/dist/cjs/i18n/cs.js +0 -1
  3. package/dist/cjs/i18n/da.js +0 -1
  4. package/dist/cjs/i18n/de.js +0 -1
  5. package/dist/cjs/i18n/en.js +0 -1
  6. package/dist/cjs/i18n/en_GB.js +0 -1
  7. package/dist/cjs/i18n/en_ZZ.js +0 -1
  8. package/dist/cjs/i18n/es.js +0 -1
  9. package/dist/cjs/i18n/fi.js +0 -1
  10. package/dist/cjs/i18n/fr.js +0 -1
  11. package/dist/cjs/i18n/hu.js +0 -1
  12. package/dist/cjs/i18n/it.js +0 -1
  13. package/dist/cjs/i18n/ja.js +0 -1
  14. package/dist/cjs/i18n/ko.js +0 -1
  15. package/dist/cjs/i18n/nb.js +0 -1
  16. package/dist/cjs/i18n/nl.js +0 -1
  17. package/dist/cjs/i18n/pl.js +0 -1
  18. package/dist/cjs/i18n/pt_BR.js +0 -1
  19. package/dist/cjs/i18n/ru.js +0 -1
  20. package/dist/cjs/i18n/sv.js +0 -1
  21. package/dist/cjs/i18n/th.js +0 -1
  22. package/dist/cjs/i18n/tr.js +0 -1
  23. package/dist/cjs/i18n/uk.js +0 -1
  24. package/dist/cjs/i18n/vi.js +0 -1
  25. package/dist/cjs/i18n/zh.js +0 -1
  26. package/dist/cjs/i18n/zh_TW.js +0 -1
  27. package/dist/cjs/plugins/panel/actions.js +11 -11
  28. package/dist/cjs/plugins/panel/index.js +4 -4
  29. package/dist/cjs/plugins/panel/nodeviews/panel.js +5 -5
  30. package/dist/cjs/plugins/panel/pm-plugins/keymaps.js +7 -7
  31. package/dist/cjs/plugins/panel/pm-plugins/main.js +2 -2
  32. package/dist/cjs/plugins/panel/toolbar.js +16 -16
  33. package/dist/cjs/plugins/panel/utils.js +1 -1
  34. package/dist/cjs/ui/ContentStyles/index.js +7 -7
  35. package/dist/cjs/version-wrapper.js +1 -1
  36. package/dist/es2019/i18n/cs.js +0 -1
  37. package/dist/es2019/i18n/da.js +0 -1
  38. package/dist/es2019/i18n/de.js +0 -1
  39. package/dist/es2019/i18n/en.js +0 -1
  40. package/dist/es2019/i18n/en_GB.js +0 -1
  41. package/dist/es2019/i18n/en_ZZ.js +0 -1
  42. package/dist/es2019/i18n/es.js +0 -1
  43. package/dist/es2019/i18n/fi.js +0 -1
  44. package/dist/es2019/i18n/fr.js +0 -1
  45. package/dist/es2019/i18n/hu.js +0 -1
  46. package/dist/es2019/i18n/it.js +0 -1
  47. package/dist/es2019/i18n/ja.js +0 -1
  48. package/dist/es2019/i18n/ko.js +0 -1
  49. package/dist/es2019/i18n/nb.js +0 -1
  50. package/dist/es2019/i18n/nl.js +0 -1
  51. package/dist/es2019/i18n/pl.js +0 -1
  52. package/dist/es2019/i18n/pt_BR.js +0 -1
  53. package/dist/es2019/i18n/ru.js +0 -1
  54. package/dist/es2019/i18n/sv.js +0 -1
  55. package/dist/es2019/i18n/th.js +0 -1
  56. package/dist/es2019/i18n/tr.js +0 -1
  57. package/dist/es2019/i18n/uk.js +0 -1
  58. package/dist/es2019/i18n/vi.js +0 -1
  59. package/dist/es2019/i18n/zh.js +0 -1
  60. package/dist/es2019/i18n/zh_TW.js +0 -1
  61. package/dist/es2019/plugins/panel/actions.js +5 -5
  62. package/dist/es2019/plugins/panel/index.js +6 -6
  63. package/dist/es2019/plugins/panel/nodeviews/panel.js +5 -5
  64. package/dist/es2019/plugins/panel/pm-plugins/keymaps.js +2 -2
  65. package/dist/es2019/plugins/panel/pm-plugins/main.js +2 -2
  66. package/dist/es2019/plugins/panel/toolbar.js +12 -13
  67. package/dist/es2019/plugins/panel/utils.js +1 -1
  68. package/dist/es2019/ui/ContentStyles/index.js +1 -1
  69. package/dist/es2019/version-wrapper.js +1 -1
  70. package/dist/esm/i18n/cs.js +0 -1
  71. package/dist/esm/i18n/da.js +0 -1
  72. package/dist/esm/i18n/de.js +0 -1
  73. package/dist/esm/i18n/en.js +0 -1
  74. package/dist/esm/i18n/en_GB.js +0 -1
  75. package/dist/esm/i18n/en_ZZ.js +0 -1
  76. package/dist/esm/i18n/es.js +0 -1
  77. package/dist/esm/i18n/fi.js +0 -1
  78. package/dist/esm/i18n/fr.js +0 -1
  79. package/dist/esm/i18n/hu.js +0 -1
  80. package/dist/esm/i18n/it.js +0 -1
  81. package/dist/esm/i18n/ja.js +0 -1
  82. package/dist/esm/i18n/ko.js +0 -1
  83. package/dist/esm/i18n/nb.js +0 -1
  84. package/dist/esm/i18n/nl.js +0 -1
  85. package/dist/esm/i18n/pl.js +0 -1
  86. package/dist/esm/i18n/pt_BR.js +0 -1
  87. package/dist/esm/i18n/ru.js +0 -1
  88. package/dist/esm/i18n/sv.js +0 -1
  89. package/dist/esm/i18n/th.js +0 -1
  90. package/dist/esm/i18n/tr.js +0 -1
  91. package/dist/esm/i18n/uk.js +0 -1
  92. package/dist/esm/i18n/vi.js +0 -1
  93. package/dist/esm/i18n/zh.js +0 -1
  94. package/dist/esm/i18n/zh_TW.js +0 -1
  95. package/dist/esm/plugins/panel/actions.js +5 -5
  96. package/dist/esm/plugins/panel/index.js +6 -6
  97. package/dist/esm/plugins/panel/nodeviews/panel.js +5 -5
  98. package/dist/esm/plugins/panel/pm-plugins/keymaps.js +2 -2
  99. package/dist/esm/plugins/panel/pm-plugins/main.js +2 -2
  100. package/dist/esm/plugins/panel/toolbar.js +12 -13
  101. package/dist/esm/plugins/panel/utils.js +1 -1
  102. package/dist/esm/ui/ContentStyles/index.js +1 -1
  103. package/dist/esm/version-wrapper.js +1 -1
  104. package/dist/types/i18n/cs.d.ts +0 -1
  105. package/dist/types/i18n/da.d.ts +0 -1
  106. package/dist/types/i18n/de.d.ts +0 -1
  107. package/dist/types/i18n/en.d.ts +0 -1
  108. package/dist/types/i18n/en_GB.d.ts +0 -1
  109. package/dist/types/i18n/en_ZZ.d.ts +0 -1
  110. package/dist/types/i18n/es.d.ts +0 -1
  111. package/dist/types/i18n/fi.d.ts +0 -1
  112. package/dist/types/i18n/fr.d.ts +0 -1
  113. package/dist/types/i18n/hu.d.ts +0 -1
  114. package/dist/types/i18n/it.d.ts +0 -1
  115. package/dist/types/i18n/ja.d.ts +0 -1
  116. package/dist/types/i18n/ko.d.ts +0 -1
  117. package/dist/types/i18n/nb.d.ts +0 -1
  118. package/dist/types/i18n/nl.d.ts +0 -1
  119. package/dist/types/i18n/pl.d.ts +0 -1
  120. package/dist/types/i18n/pt_BR.d.ts +0 -1
  121. package/dist/types/i18n/ru.d.ts +0 -1
  122. package/dist/types/i18n/sv.d.ts +0 -1
  123. package/dist/types/i18n/th.d.ts +0 -1
  124. package/dist/types/i18n/tr.d.ts +0 -1
  125. package/dist/types/i18n/uk.d.ts +0 -1
  126. package/dist/types/i18n/vi.d.ts +0 -1
  127. package/dist/types/i18n/zh.d.ts +0 -1
  128. package/dist/types/i18n/zh_TW.d.ts +0 -1
  129. package/dist/types/plugins/panel/actions.d.ts +2 -2
  130. package/dist/types/plugins/panel/index.d.ts +3 -3
  131. package/dist/types/plugins/panel/nodeviews/panel.d.ts +3 -3
  132. package/dist/types/plugins/panel/pm-plugins/main.d.ts +2 -2
  133. package/dist/types/plugins/panel/toolbar.d.ts +6 -7
  134. package/dist/types/plugins/panel/types.d.ts +1 -1
  135. package/dist/types/plugins/panel/utils.d.ts +1 -1
  136. package/dist/{types-ts4.5/plugins/panel/styles.d.ts → types/ui/ContentStyles/panel.d.ts} +1 -1
  137. package/dist/types-ts4.5/i18n/cs.d.ts +0 -1
  138. package/dist/types-ts4.5/i18n/da.d.ts +0 -1
  139. package/dist/types-ts4.5/i18n/de.d.ts +0 -1
  140. package/dist/types-ts4.5/i18n/en.d.ts +0 -1
  141. package/dist/types-ts4.5/i18n/en_GB.d.ts +0 -1
  142. package/dist/types-ts4.5/i18n/en_ZZ.d.ts +0 -1
  143. package/dist/types-ts4.5/i18n/es.d.ts +0 -1
  144. package/dist/types-ts4.5/i18n/fi.d.ts +0 -1
  145. package/dist/types-ts4.5/i18n/fr.d.ts +0 -1
  146. package/dist/types-ts4.5/i18n/hu.d.ts +0 -1
  147. package/dist/types-ts4.5/i18n/it.d.ts +0 -1
  148. package/dist/types-ts4.5/i18n/ja.d.ts +0 -1
  149. package/dist/types-ts4.5/i18n/ko.d.ts +0 -1
  150. package/dist/types-ts4.5/i18n/nb.d.ts +0 -1
  151. package/dist/types-ts4.5/i18n/nl.d.ts +0 -1
  152. package/dist/types-ts4.5/i18n/pl.d.ts +0 -1
  153. package/dist/types-ts4.5/i18n/pt_BR.d.ts +0 -1
  154. package/dist/types-ts4.5/i18n/ru.d.ts +0 -1
  155. package/dist/types-ts4.5/i18n/sv.d.ts +0 -1
  156. package/dist/types-ts4.5/i18n/th.d.ts +0 -1
  157. package/dist/types-ts4.5/i18n/tr.d.ts +0 -1
  158. package/dist/types-ts4.5/i18n/uk.d.ts +0 -1
  159. package/dist/types-ts4.5/i18n/vi.d.ts +0 -1
  160. package/dist/types-ts4.5/i18n/zh.d.ts +0 -1
  161. package/dist/types-ts4.5/i18n/zh_TW.d.ts +0 -1
  162. package/dist/types-ts4.5/plugins/panel/actions.d.ts +2 -2
  163. package/dist/types-ts4.5/plugins/panel/index.d.ts +3 -3
  164. package/dist/types-ts4.5/plugins/panel/nodeviews/panel.d.ts +3 -3
  165. package/dist/types-ts4.5/plugins/panel/pm-plugins/main.d.ts +2 -2
  166. package/dist/types-ts4.5/plugins/panel/toolbar.d.ts +6 -7
  167. package/dist/types-ts4.5/plugins/panel/types.d.ts +1 -1
  168. package/dist/types-ts4.5/plugins/panel/utils.d.ts +1 -1
  169. package/dist/{types/plugins/panel/styles.d.ts → types-ts4.5/ui/ContentStyles/panel.d.ts} +1 -1
  170. package/package.json +2 -2
  171. /package/dist/cjs/{plugins/panel/styles.js → ui/ContentStyles/panel.js} +0 -0
  172. /package/dist/es2019/{plugins/panel/styles.js → ui/ContentStyles/panel.js} +0 -0
  173. /package/dist/esm/{plugins/panel/styles.js → ui/ContentStyles/panel.js} +0 -0
@@ -62,7 +62,6 @@ declare const _default: {
62
62
  'fabric.editor.single': string;
63
63
  'fabric.editor.success': string;
64
64
  'fabric.editor.taskPlaceholder': string;
65
- 'fabric.editor.textColor': string;
66
65
  'fabric.editor.threeColumns': string;
67
66
  'fabric.editor.threeColumnsWithSidebars': string;
68
67
  'fabric.editor.twoColumns': string;
@@ -62,7 +62,6 @@ declare const _default: {
62
62
  'fabric.editor.single': string;
63
63
  'fabric.editor.success': string;
64
64
  'fabric.editor.taskPlaceholder': string;
65
- 'fabric.editor.textColor': string;
66
65
  'fabric.editor.threeColumns': string;
67
66
  'fabric.editor.threeColumnsWithSidebars': string;
68
67
  'fabric.editor.twoColumns': string;
@@ -62,7 +62,6 @@ declare const _default: {
62
62
  'fabric.editor.single': string;
63
63
  'fabric.editor.success': string;
64
64
  'fabric.editor.taskPlaceholder': string;
65
- 'fabric.editor.textColor': string;
66
65
  'fabric.editor.threeColumns': string;
67
66
  'fabric.editor.threeColumnsWithSidebars': string;
68
67
  'fabric.editor.twoColumns': string;
@@ -62,7 +62,6 @@ declare const _default: {
62
62
  'fabric.editor.single': string;
63
63
  'fabric.editor.success': string;
64
64
  'fabric.editor.taskPlaceholder': string;
65
- 'fabric.editor.textColor': string;
66
65
  'fabric.editor.threeColumns': string;
67
66
  'fabric.editor.threeColumnsWithSidebars': string;
68
67
  'fabric.editor.twoColumns': string;
@@ -62,7 +62,6 @@ declare const _default: {
62
62
  'fabric.editor.single': string;
63
63
  'fabric.editor.success': string;
64
64
  'fabric.editor.taskPlaceholder': string;
65
- 'fabric.editor.textColor': string;
66
65
  'fabric.editor.threeColumns': string;
67
66
  'fabric.editor.threeColumnsWithSidebars': string;
68
67
  'fabric.editor.twoColumns': string;
@@ -62,7 +62,6 @@ declare const _default: {
62
62
  'fabric.editor.single': string;
63
63
  'fabric.editor.success': string;
64
64
  'fabric.editor.taskPlaceholder': string;
65
- 'fabric.editor.textColor': string;
66
65
  'fabric.editor.threeColumns': string;
67
66
  'fabric.editor.threeColumnsWithSidebars': string;
68
67
  'fabric.editor.twoColumns': string;
@@ -62,7 +62,6 @@ declare const _default: {
62
62
  'fabric.editor.single': string;
63
63
  'fabric.editor.success': string;
64
64
  'fabric.editor.taskPlaceholder': string;
65
- 'fabric.editor.textColor': string;
66
65
  'fabric.editor.threeColumns': string;
67
66
  'fabric.editor.threeColumnsWithSidebars': string;
68
67
  'fabric.editor.twoColumns': string;
@@ -62,7 +62,6 @@ declare const _default: {
62
62
  'fabric.editor.single': string;
63
63
  'fabric.editor.success': string;
64
64
  'fabric.editor.taskPlaceholder': string;
65
- 'fabric.editor.textColor': string;
66
65
  'fabric.editor.threeColumns': string;
67
66
  'fabric.editor.threeColumnsWithSidebars': string;
68
67
  'fabric.editor.twoColumns': string;
@@ -62,7 +62,6 @@ declare const _default: {
62
62
  'fabric.editor.single': string;
63
63
  'fabric.editor.success': string;
64
64
  'fabric.editor.taskPlaceholder': string;
65
- 'fabric.editor.textColor': string;
66
65
  'fabric.editor.threeColumns': string;
67
66
  'fabric.editor.threeColumnsWithSidebars': string;
68
67
  'fabric.editor.twoColumns': string;
@@ -62,7 +62,6 @@ declare const _default: {
62
62
  'fabric.editor.single': string;
63
63
  'fabric.editor.success': string;
64
64
  'fabric.editor.taskPlaceholder': string;
65
- 'fabric.editor.textColor': string;
66
65
  'fabric.editor.threeColumns': string;
67
66
  'fabric.editor.threeColumnsWithSidebars': string;
68
67
  'fabric.editor.twoColumns': string;
@@ -1,7 +1,7 @@
1
1
  import { PanelType } from '@atlaskit/adf-schema';
2
- import type { Command } from '../../types';
3
2
  import { INPUT_METHOD } from '@atlaskit/editor-common/analytics';
4
3
  import type { EditorAnalyticsAPI } from '@atlaskit/editor-common/analytics';
4
+ import type { Command } from '@atlaskit/editor-common/types';
5
5
  import type { PanelOptions } from './pm-plugins/main';
6
6
  export type DomAtPos = (pos: number) => {
7
7
  node: HTMLElement;
@@ -9,4 +9,4 @@ export type DomAtPos = (pos: number) => {
9
9
  };
10
10
  export declare const removePanel: (editorAnalyticsAPI: EditorAnalyticsAPI | undefined) => Command;
11
11
  export declare const changePanelType: (editorAnalyticsAPI: EditorAnalyticsAPI | undefined) => (panelType: PanelType, panelOptions?: PanelOptions, allowCustomPanel?: boolean) => Command;
12
- export declare function insertPanelWithAnalytics(inputMethod: INPUT_METHOD, analyticsAPI?: EditorAnalyticsAPI): import("@atlaskit/editor-common/types").Command;
12
+ export declare function insertPanelWithAnalytics(inputMethod: INPUT_METHOD, analyticsAPI?: EditorAnalyticsAPI): Command;
@@ -1,8 +1,8 @@
1
- import type { Command, NextEditorPlugin, OptionalPlugin } from '@atlaskit/editor-common/types';
2
1
  import { INPUT_METHOD } from '@atlaskit/editor-common/analytics';
3
- import type { PanelPluginOptions } from './types';
4
- import type { decorationsPlugin } from '@atlaskit/editor-plugin-decorations';
2
+ import type { Command, NextEditorPlugin, OptionalPlugin } from '@atlaskit/editor-common/types';
5
3
  import type { analyticsPlugin } from '@atlaskit/editor-plugin-analytics';
4
+ import type { decorationsPlugin } from '@atlaskit/editor-plugin-decorations';
5
+ import type { PanelPluginOptions } from './types';
6
6
  export type PanelPlugin = NextEditorPlugin<'panel', {
7
7
  pluginConfiguration: PanelPluginOptions | undefined;
8
8
  dependencies: [
@@ -1,10 +1,10 @@
1
1
  import React from 'react';
2
- import type { Node } from '@atlaskit/editor-prosemirror/model';
3
- import type { EditorView } from '@atlaskit/editor-prosemirror/view';
4
2
  import type { PanelAttributes } from '@atlaskit/adf-schema';
5
3
  import { PanelType } from '@atlaskit/adf-schema';
6
- import type { getPosHandlerNode, getPosHandler } from '../../../nodeviews/';
7
4
  import type { ProviderFactory } from '@atlaskit/editor-common/provider-factory';
5
+ import type { getPosHandler, getPosHandlerNode } from '@atlaskit/editor-common/types';
6
+ import type { Node } from '@atlaskit/editor-prosemirror/model';
7
+ import type { EditorView } from '@atlaskit/editor-prosemirror/view';
8
8
  import type { PanelPluginOptions } from '../types';
9
9
  export declare const panelIcons: {
10
10
  [key in PanelType]: React.ComponentType<{
@@ -1,7 +1,7 @@
1
- import { SafePlugin } from '@atlaskit/editor-common/safe-plugin';
1
+ import type { Dispatch } from '@atlaskit/editor-common/event-dispatcher';
2
2
  import type { ProviderFactory } from '@atlaskit/editor-common/provider-factory';
3
+ import { SafePlugin } from '@atlaskit/editor-common/safe-plugin';
3
4
  import type { PanelPluginOptions } from '../types';
4
- import type { Dispatch } from '../../../event-dispatcher';
5
5
  export type PanelOptions = {
6
6
  color?: string;
7
7
  emoji?: string;
@@ -1,13 +1,12 @@
1
- import type { FloatingToolbarConfig, FloatingToolbarItem, ExtractInjectionAPI } from '@atlaskit/editor-common/types';
2
- import type { EmojiInfo, PanelPluginOptions } from './types';
3
1
  import type { IntlShape } from 'react-intl-next';
4
- import type { HoverDecorationHandler } from '@atlaskit/editor-plugin-decorations';
5
- import type { EditorState } from '@atlaskit/editor-prosemirror/state';
6
- import type { NodeType } from '@atlaskit/editor-prosemirror/model';
7
- import type { Command } from '../../types';
8
- import type { ProviderFactory } from '@atlaskit/editor-common/provider-factory';
9
2
  import { PanelType } from '@atlaskit/adf-schema';
10
3
  import type { EditorAnalyticsAPI } from '@atlaskit/editor-common/analytics';
4
+ import type { ProviderFactory } from '@atlaskit/editor-common/provider-factory';
5
+ import type { Command, ExtractInjectionAPI, FloatingToolbarConfig, FloatingToolbarItem } from '@atlaskit/editor-common/types';
6
+ import type { HoverDecorationHandler } from '@atlaskit/editor-plugin-decorations';
7
+ import type { NodeType } from '@atlaskit/editor-prosemirror/model';
8
+ import type { EditorState } from '@atlaskit/editor-prosemirror/state';
9
+ import type { EmojiInfo, PanelPluginOptions } from './types';
11
10
  import type { PanelPlugin } from './index';
12
11
  export declare const panelIconMap: {
13
12
  [key in Exclude<PanelType, PanelType.CUSTOM>]: EmojiInfo;
@@ -1,5 +1,5 @@
1
- import { PluginKey } from '@atlaskit/editor-prosemirror/state';
2
1
  import type { LongPressSelectionPluginOptions } from '@atlaskit/editor-common/types';
2
+ import { PluginKey } from '@atlaskit/editor-prosemirror/state';
3
3
  export declare const pluginKey: PluginKey<any>;
4
4
  export interface PanelPluginOptions extends LongPressSelectionPluginOptions, PanelPluginConfig {
5
5
  }
@@ -1,5 +1,5 @@
1
+ import type { PanelAttributes } from '@atlaskit/adf-schema';
1
2
  import type { DOMOutputSpec } from '@atlaskit/editor-prosemirror/model';
2
3
  import type { EditorState, Selection } from '@atlaskit/editor-prosemirror/state';
3
- import type { PanelAttributes } from '@atlaskit/adf-schema';
4
4
  export declare const findPanel: (state: EditorState, selection?: Selection | null) => import("prosemirror-utils/dist/types").FindResult;
5
5
  export declare const panelAttrsToDom: (attrs: PanelAttributes, allowCustomPanel: boolean) => DOMOutputSpec;
@@ -1,2 +1,2 @@
1
- import { ThemeProps } from '@atlaskit/theme/types';
1
+ import type { ThemeProps } from '@atlaskit/theme/types';
2
2
  export declare const panelStyles: (props: ThemeProps) => import("@emotion/react").SerializedStyles;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-core",
3
- "version": "189.1.13",
3
+ "version": "189.1.15",
4
4
  "description": "A package contains Atlassian editor core functionality",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -162,7 +162,7 @@
162
162
  "@af/editor-libra": "*",
163
163
  "@af/integration-testing": "*",
164
164
  "@af/visual-regression": "*",
165
- "@atlaskit/collab-provider": "9.15.3",
165
+ "@atlaskit/collab-provider": "9.15.4",
166
166
  "@atlaskit/dropdown-menu": "^12.1.0",
167
167
  "@atlaskit/editor-extension-dropbox": "^0.4.0",
168
168
  "@atlaskit/flag": "^15.2.0",