@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
@@ -1,15 +1,15 @@
1
1
  import React from 'react';
2
2
  import { panel, PanelType } from '@atlaskit/adf-schema';
3
- import { createPlugin } from './pm-plugins/main';
4
- import { getToolbarConfig } from './toolbar';
5
- import keymap from './pm-plugins/keymaps';
6
- import { ACTION, ACTION_SUBJECT, ACTION_SUBJECT_ID, INPUT_METHOD, EVENT_TYPE } from '@atlaskit/editor-common/analytics';
7
- import { IconPanel, IconPanelNote, IconPanelSuccess, IconPanelWarning, IconPanelError } from '@atlaskit/editor-common/quick-insert';
8
- import { createWrapSelectionTransaction } from '@atlaskit/editor-common/utils';
3
+ import { ACTION, ACTION_SUBJECT, ACTION_SUBJECT_ID, EVENT_TYPE, INPUT_METHOD } from '@atlaskit/editor-common/analytics';
9
4
  import { blockTypeMessages } from '@atlaskit/editor-common/messages';
5
+ import { IconPanel, IconPanelError, IconPanelNote, IconPanelSuccess, IconPanelWarning } from '@atlaskit/editor-common/quick-insert';
10
6
  import { IconCustomPanel } from '@atlaskit/editor-common/quick-insert';
7
+ import { createWrapSelectionTransaction } from '@atlaskit/editor-common/utils';
11
8
  import { T50 } from '@atlaskit/theme/colors';
12
9
  import { insertPanelWithAnalytics } from './actions';
10
+ import keymap from './pm-plugins/keymaps';
11
+ import { createPlugin } from './pm-plugins/main';
12
+ import { getToolbarConfig } from './toolbar';
13
13
  var panelPlugin = function panelPlugin(_ref) {
14
14
  var _ref$config = _ref.config,
15
15
  options = _ref$config === void 0 ? {} : _ref$config,
@@ -2,14 +2,14 @@ import _classCallCheck from "@babel/runtime/helpers/classCallCheck";
2
2
  import _createClass from "@babel/runtime/helpers/createClass";
3
3
  import React from 'react';
4
4
  import ReactDOM from 'react-dom';
5
- import { DOMSerializer } from '@atlaskit/editor-prosemirror/model';
6
- import TipIcon from '@atlaskit/icon/glyph/editor/hint';
7
5
  import { PanelType } from '@atlaskit/adf-schema';
8
- import { PanelSharedCssClassName } from '@atlaskit/editor-common/panel';
9
6
  import { Emoji } from '@atlaskit/editor-common/emoji';
10
- import { panelAttrsToDom } from '../utils';
7
+ import { PanelErrorIcon, PanelInfoIcon, PanelNoteIcon, PanelSuccessIcon, PanelWarningIcon } from '@atlaskit/editor-common/icons';
8
+ import { PanelSharedCssClassName } from '@atlaskit/editor-common/panel';
9
+ import { DOMSerializer } from '@atlaskit/editor-prosemirror/model';
11
10
  import { akEditorCustomIconSize } from '@atlaskit/editor-shared-styles/consts';
12
- import { PanelInfoIcon, PanelSuccessIcon, PanelNoteIcon, PanelWarningIcon, PanelErrorIcon } from '@atlaskit/editor-common/icons';
11
+ import TipIcon from '@atlaskit/icon/glyph/editor/hint';
12
+ import { panelAttrsToDom } from '../utils';
13
13
  export var panelIcons = {
14
14
  info: PanelInfoIcon,
15
15
  success: PanelSuccessIcon,
@@ -1,6 +1,6 @@
1
+ import { isEmptyNode } from '@atlaskit/editor-common/utils';
1
2
  import { keymap } from '@atlaskit/editor-prosemirror/keymap';
2
- import { setTextSelection, findParentNodeOfType, hasParentNodeOfType } from '@atlaskit/editor-prosemirror/utils';
3
- import { isEmptyNode } from '../../../utils';
3
+ import { findParentNodeOfType, hasParentNodeOfType, setTextSelection } from '@atlaskit/editor-prosemirror/utils';
4
4
  function findParentNode(selection, nodeType) {
5
5
  var parentPosition = findParentNodeOfType(nodeType)(selection);
6
6
  if (parentPosition) {
@@ -1,8 +1,8 @@
1
- import { SafePlugin } from '@atlaskit/editor-common/safe-plugin';
2
1
  import { PanelSharedCssClassName } from '@atlaskit/editor-common/panel';
2
+ import { SafePlugin } from '@atlaskit/editor-common/safe-plugin';
3
+ import { createSelectionClickHandler } from '@atlaskit/editor-common/selection';
3
4
  import { getPanelNodeView } from '../nodeviews/panel';
4
5
  import { pluginKey } from '../types';
5
- import { createSelectionClickHandler } from '@atlaskit/editor-common/selection';
6
6
  export var createPlugin = function createPlugin(dispatch, providerFactory, pluginOptions) {
7
7
  var _pluginOptions$useLon = pluginOptions.useLongPressSelection,
8
8
  useLongPressSelection = _pluginOptions$useLon === void 0 ? false : _pluginOptions$useLon;
@@ -2,24 +2,23 @@ import _defineProperty from "@babel/runtime/helpers/defineProperty";
2
2
  var _panelIconMap;
3
3
  function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
4
4
  function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
5
- import SuccessIcon from '@atlaskit/icon/glyph/editor/success';
5
+ import { PanelType } from '@atlaskit/adf-schema';
6
+ import { ACTION, ACTION_SUBJECT, ACTION_SUBJECT_ID, EVENT_TYPE } from '@atlaskit/editor-common/analytics';
7
+ import { withAnalytics } from '@atlaskit/editor-common/editor-analytics';
8
+ import commonMessages from '@atlaskit/editor-common/messages';
9
+ import { getPanelTypeBackgroundNoTokens } from '@atlaskit/editor-common/panel';
10
+ import { DEFAULT_BORDER_COLOR, panelBackgroundPalette } from '@atlaskit/editor-common/ui-color';
11
+ import { findDomRefAtPos } from '@atlaskit/editor-prosemirror/utils';
12
+ import ErrorIcon from '@atlaskit/icon/glyph/editor/error';
6
13
  import InfoIcon from '@atlaskit/icon/glyph/editor/info';
7
14
  import NoteIcon from '@atlaskit/icon/glyph/editor/note';
8
15
  import RemoveIcon from '@atlaskit/icon/glyph/editor/remove';
9
- import WarningIcon from '@atlaskit/icon/glyph/editor/warning';
10
- import ErrorIcon from '@atlaskit/icon/glyph/editor/error';
11
16
  import RemoveEmojiIcon from '@atlaskit/icon/glyph/editor/remove-emoji';
12
- import commonMessages from '../../messages';
13
- import { removePanel, changePanelType } from './actions';
14
- import { panelBackgroundPalette } from '@atlaskit/editor-common/ui-color';
15
- import { getPanelTypeBackgroundNoTokens } from '@atlaskit/editor-common/panel';
16
- import { findPanel } from './utils';
17
- import { findDomRefAtPos } from '@atlaskit/editor-prosemirror/utils';
18
- import { DEFAULT_BORDER_COLOR } from '@atlaskit/editor-common/ui-color';
19
- import { PanelType } from '@atlaskit/adf-schema';
20
- import { ACTION, ACTION_SUBJECT, EVENT_TYPE, ACTION_SUBJECT_ID } from '@atlaskit/editor-common/analytics';
21
- import { withAnalytics } from '@atlaskit/editor-common/editor-analytics';
17
+ import SuccessIcon from '@atlaskit/icon/glyph/editor/success';
18
+ import WarningIcon from '@atlaskit/icon/glyph/editor/warning';
19
+ import { changePanelType, removePanel } from './actions';
22
20
  import { messages } from './message';
21
+ import { findPanel } from './utils';
23
22
  export var panelIconMap = (_panelIconMap = {}, _defineProperty(_panelIconMap, PanelType.INFO, {
24
23
  shortName: ':info:',
25
24
  id: 'atlassian-info'
@@ -1,10 +1,10 @@
1
1
  import _defineProperty from "@babel/runtime/helpers/defineProperty";
2
2
  function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
3
3
  function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
4
- import { findSelectedNodeOfType, findParentNodeOfType } from '@atlaskit/editor-prosemirror/utils';
5
4
  import { PanelType } from '@atlaskit/adf-schema';
6
5
  import { PanelSharedCssClassName } from '@atlaskit/editor-common/panel';
7
6
  import { hexToEditorBackgroundPaletteColor } from '@atlaskit/editor-palette';
7
+ import { findParentNodeOfType, findSelectedNodeOfType } from '@atlaskit/editor-prosemirror/utils';
8
8
  export var findPanel = function findPanel(state, selection) {
9
9
  var panel = state.schema.nodes.panel;
10
10
  return findSelectedNodeOfType(panel)(selection || state.selection) || findParentNodeOfType(panel)(selection || state.selection);
@@ -13,7 +13,7 @@ import { textHighlightStyle } from '@atlaskit/editor-plugin-paste-options-toolba
13
13
  import { codeBlockStyles } from '../../plugins/code-block/styles';
14
14
  import { mediaStyles } from './media';
15
15
  import { layoutStyles } from './layout';
16
- import { panelStyles } from '../../plugins/panel/styles';
16
+ import { panelStyles } from './panel';
17
17
  import { placeholderTextStyles } from '@atlaskit/editor-plugin-placeholder-text/styles';
18
18
  import { extensionStyles } from '../../plugins/extension/ui/styles';
19
19
  import { expandStyles } from '../../plugins/expand/ui/styles';
@@ -1,5 +1,5 @@
1
1
  export var name = "@atlaskit/editor-core";
2
- export var version = "189.1.13";
2
+ export var version = "189.1.15";
3
3
  export var nextMajorVersion = function nextMajorVersion() {
4
4
  return [Number(version.split('.')[0]) + 1, 0, 0].join('.');
5
5
  };
@@ -63,7 +63,6 @@ declare const _default: {
63
63
  'fabric.editor.single': string;
64
64
  'fabric.editor.success': string;
65
65
  'fabric.editor.taskPlaceholder': string;
66
- 'fabric.editor.textColor': string;
67
66
  'fabric.editor.threeColumns': string;
68
67
  'fabric.editor.threeColumnsWithSidebars': string;
69
68
  '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;
@@ -64,7 +64,6 @@ declare const _default: {
64
64
  'fabric.editor.single': string;
65
65
  'fabric.editor.success': string;
66
66
  'fabric.editor.taskPlaceholder': string;
67
- 'fabric.editor.textColor': string;
68
67
  'fabric.editor.threeColumns': string;
69
68
  'fabric.editor.threeColumnsWithSidebars': string;
70
69
  'fabric.editor.twoColumns': string;
@@ -64,7 +64,6 @@ declare const _default: {
64
64
  'fabric.editor.single': string;
65
65
  'fabric.editor.success': string;
66
66
  'fabric.editor.taskPlaceholder': string;
67
- 'fabric.editor.textColor': string;
68
67
  'fabric.editor.threeColumns': string;
69
68
  'fabric.editor.threeColumnsWithSidebars': string;
70
69
  'fabric.editor.twoColumns': string;
@@ -64,7 +64,6 @@ declare const _default: {
64
64
  'fabric.editor.single': string;
65
65
  'fabric.editor.success': string;
66
66
  'fabric.editor.taskPlaceholder': string;
67
- 'fabric.editor.textColor': string;
68
67
  'fabric.editor.threeColumns': string;
69
68
  'fabric.editor.threeColumnsWithSidebars': string;
70
69
  '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;
@@ -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;
@@ -63,7 +63,6 @@ declare const _default: {
63
63
  'fabric.editor.single': string;
64
64
  'fabric.editor.success': string;
65
65
  'fabric.editor.taskPlaceholder': string;
66
- 'fabric.editor.textColor': string;
67
66
  'fabric.editor.threeColumns': string;
68
67
  'fabric.editor.threeColumnsWithSidebars': string;
69
68
  '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;
@@ -64,7 +64,6 @@ declare const _default: {
64
64
  'fabric.editor.single': string;
65
65
  'fabric.editor.success': string;
66
66
  'fabric.editor.taskPlaceholder': string;
67
- 'fabric.editor.textColor': string;
68
67
  'fabric.editor.threeColumns': string;
69
68
  'fabric.editor.threeColumnsWithSidebars': string;
70
69
  'fabric.editor.twoColumns': string;
@@ -64,7 +64,6 @@ declare const _default: {
64
64
  'fabric.editor.single': string;
65
65
  'fabric.editor.success': string;
66
66
  'fabric.editor.taskPlaceholder': string;
67
- 'fabric.editor.textColor': string;
68
67
  'fabric.editor.threeColumns': string;
69
68
  'fabric.editor.threeColumnsWithSidebars': string;
70
69
  'fabric.editor.twoColumns': string;
@@ -64,7 +64,6 @@ declare const _default: {
64
64
  'fabric.editor.single': string;
65
65
  'fabric.editor.success': string;
66
66
  'fabric.editor.taskPlaceholder': string;
67
- 'fabric.editor.textColor': string;
68
67
  'fabric.editor.threeColumns': string;
69
68
  'fabric.editor.threeColumnsWithSidebars': string;
70
69
  '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;