@atlaskit/editor-core 187.41.7 → 187.42.0
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.
- package/CHANGELOG.md +17 -0
- package/dist/cjs/labs/next/presets/default.js +2 -2
- package/dist/cjs/plugins/code-block/index.js +1 -1
- package/dist/cjs/plugins/help-dialog/ui/index.js +1 -1
- package/dist/cjs/plugins/index.js +0 -7
- package/dist/cjs/plugins/insert-block/index.js +11 -11
- package/dist/cjs/plugins/insert-block/ui/ToolbarInsertBlock/create-items.js +1 -1
- package/dist/cjs/plugins/panel/index.js +1 -1
- package/dist/cjs/ui/ContentStyles/index.js +1 -1
- package/dist/cjs/version-wrapper.js +1 -1
- package/dist/es2019/index.js +0 -6
- package/dist/es2019/labs/next/presets/default.js +1 -1
- package/dist/es2019/plugins/code-block/index.js +1 -1
- package/dist/es2019/plugins/help-dialog/ui/index.js +1 -1
- package/dist/es2019/plugins/index.js +0 -1
- package/dist/es2019/plugins/insert-block/index.js +1 -1
- package/dist/es2019/plugins/insert-block/ui/ToolbarInsertBlock/create-items.js +1 -1
- package/dist/es2019/plugins/panel/index.js +1 -1
- package/dist/es2019/ui/ContentStyles/index.js +1 -1
- package/dist/es2019/version-wrapper.js +1 -1
- package/dist/esm/index.js +0 -6
- package/dist/esm/labs/next/presets/default.js +1 -1
- package/dist/esm/plugins/code-block/index.js +1 -1
- package/dist/esm/plugins/help-dialog/ui/index.js +1 -1
- package/dist/esm/plugins/index.js +0 -1
- package/dist/esm/plugins/insert-block/index.js +1 -1
- package/dist/esm/plugins/insert-block/ui/ToolbarInsertBlock/create-items.js +1 -1
- package/dist/esm/plugins/panel/index.js +1 -1
- package/dist/esm/ui/ContentStyles/index.js +1 -1
- package/dist/esm/version-wrapper.js +1 -1
- package/dist/types/index.d.ts +0 -7
- package/dist/types/labs/next/presets/default.d.ts +1 -1
- package/dist/types/plugins/index.d.ts +0 -1
- package/dist/types/plugins/insert-block/types.d.ts +2 -2
- package/dist/types/plugins/insert-block/ui/ToolbarInsertBlock/create-items.d.ts +1 -1
- package/dist/types/plugins/insert-block/ui/ToolbarInsertBlock/types.d.ts +1 -1
- package/dist/types/types/editor-props.d.ts +1 -1
- package/dist/types/ui/Appearance/FullPage/StyledComponents.d.ts +1 -1
- package/dist/types/ui/ColorPickerButton/index.d.ts +1 -1
- package/dist/types/ui/ContentStyles/index.d.ts +2 -2
- package/dist/types-ts4.5/index.d.ts +0 -7
- package/dist/types-ts4.5/labs/next/presets/default.d.ts +1 -1
- package/dist/types-ts4.5/plugins/index.d.ts +0 -1
- package/dist/types-ts4.5/plugins/insert-block/types.d.ts +2 -2
- package/dist/types-ts4.5/plugins/insert-block/ui/ToolbarInsertBlock/create-items.d.ts +1 -1
- package/dist/types-ts4.5/plugins/insert-block/ui/ToolbarInsertBlock/types.d.ts +1 -1
- package/dist/types-ts4.5/types/editor-props.d.ts +1 -1
- package/dist/types-ts4.5/ui/Appearance/FullPage/StyledComponents.d.ts +1 -1
- package/dist/types-ts4.5/ui/ColorPickerButton/index.d.ts +1 -1
- package/dist/types-ts4.5/ui/ContentStyles/index.d.ts +2 -2
- package/package.json +7 -4
- package/report.api.md +1 -62
- package/tmp/api-report-tmp.d.ts +1 -51
- package/dist/cjs/plugins/block-type/commands/block-type.js +0 -202
- package/dist/cjs/plugins/block-type/commands/delete-and-move-cursor.js +0 -56
- package/dist/cjs/plugins/block-type/commands/delete-block-content.js +0 -45
- package/dist/cjs/plugins/block-type/commands/index.js +0 -68
- package/dist/cjs/plugins/block-type/consts.js +0 -15
- package/dist/cjs/plugins/block-type/index.js +0 -215
- package/dist/cjs/plugins/block-type/messages.js +0 -160
- package/dist/cjs/plugins/block-type/pm-plugins/input-rule.js +0 -104
- package/dist/cjs/plugins/block-type/pm-plugins/keymap.js +0 -34
- package/dist/cjs/plugins/block-type/pm-plugins/main.js +0 -151
- package/dist/cjs/plugins/block-type/styles.js +0 -15
- package/dist/cjs/plugins/block-type/types.js +0 -115
- package/dist/cjs/plugins/block-type/ui/ToolbarBlockType/blocktype-button.js +0 -54
- package/dist/cjs/plugins/block-type/ui/ToolbarBlockType/index.js +0 -193
- package/dist/cjs/plugins/block-type/ui/ToolbarBlockType/styled.js +0 -34
- package/dist/cjs/plugins/block-type/ui/ToolbarBlockType/toolbar-messages.js +0 -15
- package/dist/cjs/plugins/block-type/utils.js +0 -87
- package/dist/es2019/plugins/block-type/commands/block-type.js +0 -191
- package/dist/es2019/plugins/block-type/commands/delete-and-move-cursor.js +0 -54
- package/dist/es2019/plugins/block-type/commands/delete-block-content.js +0 -42
- package/dist/es2019/plugins/block-type/commands/index.js +0 -3
- package/dist/es2019/plugins/block-type/consts.js +0 -8
- package/dist/es2019/plugins/block-type/index.js +0 -201
- package/dist/es2019/plugins/block-type/messages.js +0 -153
- package/dist/es2019/plugins/block-type/pm-plugins/input-rule.js +0 -93
- package/dist/es2019/plugins/block-type/pm-plugins/keymap.js +0 -25
- package/dist/es2019/plugins/block-type/pm-plugins/main.js +0 -137
- package/dist/es2019/plugins/block-type/styles.js +0 -8
- package/dist/es2019/plugins/block-type/types.js +0 -93
- package/dist/es2019/plugins/block-type/ui/ToolbarBlockType/blocktype-button.js +0 -44
- package/dist/es2019/plugins/block-type/ui/ToolbarBlockType/index.js +0 -170
- package/dist/es2019/plugins/block-type/ui/ToolbarBlockType/styled.js +0 -49
- package/dist/es2019/plugins/block-type/ui/ToolbarBlockType/toolbar-messages.js +0 -8
- package/dist/es2019/plugins/block-type/utils.js +0 -76
- package/dist/esm/plugins/block-type/commands/block-type.js +0 -187
- package/dist/esm/plugins/block-type/commands/delete-and-move-cursor.js +0 -49
- package/dist/esm/plugins/block-type/commands/delete-block-content.js +0 -39
- package/dist/esm/plugins/block-type/commands/index.js +0 -3
- package/dist/esm/plugins/block-type/consts.js +0 -8
- package/dist/esm/plugins/block-type/index.js +0 -202
- package/dist/esm/plugins/block-type/messages.js +0 -153
- package/dist/esm/plugins/block-type/pm-plugins/input-rule.js +0 -96
- package/dist/esm/plugins/block-type/pm-plugins/keymap.js +0 -25
- package/dist/esm/plugins/block-type/pm-plugins/main.js +0 -142
- package/dist/esm/plugins/block-type/styles.js +0 -7
- package/dist/esm/plugins/block-type/types.js +0 -93
- package/dist/esm/plugins/block-type/ui/ToolbarBlockType/blocktype-button.js +0 -44
- package/dist/esm/plugins/block-type/ui/ToolbarBlockType/index.js +0 -186
- package/dist/esm/plugins/block-type/ui/ToolbarBlockType/styled.js +0 -20
- package/dist/esm/plugins/block-type/ui/ToolbarBlockType/toolbar-messages.js +0 -8
- package/dist/esm/plugins/block-type/utils.js +0 -77
- package/dist/types/plugins/block-type/commands/block-type.d.ts +0 -19
- package/dist/types/plugins/block-type/commands/delete-and-move-cursor.d.ts +0 -12
- package/dist/types/plugins/block-type/commands/delete-block-content.d.ts +0 -10
- package/dist/types/plugins/block-type/commands/index.d.ts +0 -4
- package/dist/types/plugins/block-type/consts.d.ts +0 -1
- package/dist/types/plugins/block-type/index.d.ts +0 -18
- package/dist/types/plugins/block-type/messages.d.ts +0 -152
- package/dist/types/plugins/block-type/pm-plugins/input-rule.d.ts +0 -6
- package/dist/types/plugins/block-type/pm-plugins/keymap.d.ts +0 -5
- package/dist/types/plugins/block-type/pm-plugins/main.d.ts +0 -17
- package/dist/types/plugins/block-type/styles.d.ts +0 -2
- package/dist/types/plugins/block-type/types.d.ts +0 -40
- package/dist/types/plugins/block-type/ui/ToolbarBlockType/blocktype-button.d.ts +0 -22
- package/dist/types/plugins/block-type/ui/ToolbarBlockType/index.d.ts +0 -29
- package/dist/types/plugins/block-type/ui/ToolbarBlockType/styled.d.ts +0 -8
- package/dist/types/plugins/block-type/ui/ToolbarBlockType/toolbar-messages.d.ts +0 -7
- package/dist/types/plugins/block-type/utils.d.ts +0 -16
- package/dist/types-ts4.5/plugins/block-type/commands/block-type.d.ts +0 -19
- package/dist/types-ts4.5/plugins/block-type/commands/delete-and-move-cursor.d.ts +0 -12
- package/dist/types-ts4.5/plugins/block-type/commands/delete-block-content.d.ts +0 -10
- package/dist/types-ts4.5/plugins/block-type/commands/index.d.ts +0 -4
- package/dist/types-ts4.5/plugins/block-type/consts.d.ts +0 -1
- package/dist/types-ts4.5/plugins/block-type/index.d.ts +0 -20
- package/dist/types-ts4.5/plugins/block-type/messages.d.ts +0 -152
- package/dist/types-ts4.5/plugins/block-type/pm-plugins/input-rule.d.ts +0 -6
- package/dist/types-ts4.5/plugins/block-type/pm-plugins/keymap.d.ts +0 -5
- package/dist/types-ts4.5/plugins/block-type/pm-plugins/main.d.ts +0 -17
- package/dist/types-ts4.5/plugins/block-type/styles.d.ts +0 -2
- package/dist/types-ts4.5/plugins/block-type/types.d.ts +0 -40
- package/dist/types-ts4.5/plugins/block-type/ui/ToolbarBlockType/blocktype-button.d.ts +0 -22
- package/dist/types-ts4.5/plugins/block-type/ui/ToolbarBlockType/index.d.ts +0 -29
- package/dist/types-ts4.5/plugins/block-type/ui/ToolbarBlockType/styled.d.ts +0 -8
- package/dist/types-ts4.5/plugins/block-type/ui/ToolbarBlockType/toolbar-messages.d.ts +0 -7
- package/dist/types-ts4.5/plugins/block-type/utils.d.ts +0 -16
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,22 @@
|
|
|
1
1
|
# @atlaskit/editor-core
|
|
2
2
|
|
|
3
|
+
## 187.42.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [`8441acc0e0c`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8441acc0e0c) - Extract block-type plugin into @atlaskit/editor-plugin-block-type
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- Updated dependencies
|
|
12
|
+
|
|
13
|
+
## 187.41.8
|
|
14
|
+
|
|
15
|
+
### Patch Changes
|
|
16
|
+
|
|
17
|
+
- [`890ab8d6307`](https://bitbucket.org/atlassian/atlassian-frontend/commits/890ab8d6307) - NO-ISSUE Move doc builder types to editor-common to break circular dependencies
|
|
18
|
+
- Updated dependencies
|
|
19
|
+
|
|
3
20
|
## 187.41.7
|
|
4
21
|
|
|
5
22
|
### Patch Changes
|
|
@@ -7,7 +7,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
7
7
|
exports.createDefaultPreset = createDefaultPreset;
|
|
8
8
|
exports.useDefaultPreset = useDefaultPreset;
|
|
9
9
|
var _paste = _interopRequireDefault(require("../../../plugins/paste"));
|
|
10
|
-
var
|
|
10
|
+
var _editorPluginBlockType = require("@atlaskit/editor-plugin-block-type");
|
|
11
11
|
var _clearMarksOnChangeToEmptyDocument = _interopRequireDefault(require("../../../plugins/clear-marks-on-change-to-empty-document"));
|
|
12
12
|
var _editorPluginHyperlink = require("@atlaskit/editor-plugin-hyperlink");
|
|
13
13
|
var _editorPluginTextFormatting = require("@atlaskit/editor-plugin-text-formatting");
|
|
@@ -69,7 +69,7 @@ function createDefaultPreset(options) {
|
|
|
69
69
|
return builder.add(p);
|
|
70
70
|
}
|
|
71
71
|
return builder;
|
|
72
|
-
}).add([
|
|
72
|
+
}).add([_editorPluginBlockType.blockTypePlugin, options.blockType]).add(_clearMarksOnChangeToEmptyDocument.default).maybeAdd(_annotation.default, function (p, builder) {
|
|
73
73
|
if (options.annotationProviders) {
|
|
74
74
|
return builder.add([p, options.annotationProviders]);
|
|
75
75
|
}
|
|
@@ -15,7 +15,7 @@ var _ideUx = _interopRequireDefault(require("./pm-plugins/ide-ux"));
|
|
|
15
15
|
var _codeBlockCopySelectionPlugin = require("./pm-plugins/codeBlockCopySelectionPlugin");
|
|
16
16
|
var _analytics = require("@atlaskit/editor-common/analytics");
|
|
17
17
|
var _quickInsert = require("@atlaskit/editor-common/quick-insert");
|
|
18
|
-
var _messages = require("
|
|
18
|
+
var _messages = require("@atlaskit/editor-plugin-block-type/messages");
|
|
19
19
|
var _refreshBrowserSelection = _interopRequireDefault(require("./refresh-browser-selection"));
|
|
20
20
|
var _actions = require("./actions");
|
|
21
21
|
var _inputRule = require("./pm-plugins/input-rule");
|
|
@@ -19,7 +19,7 @@ var _keymaps = require("@atlaskit/editor-common/keymaps");
|
|
|
19
19
|
var _ToolbarButton = _interopRequireDefault(require("../../../ui/ToolbarButton"));
|
|
20
20
|
var _messages = require("@atlaskit/editor-common/messages");
|
|
21
21
|
var _messages2 = require("../../insert-block/ui/ToolbarInsertBlock/messages");
|
|
22
|
-
var _messages3 = require("
|
|
22
|
+
var _messages3 = require("@atlaskit/editor-plugin-block-type/messages");
|
|
23
23
|
var _messages4 = require("../../undo-redo/messages");
|
|
24
24
|
var _messages5 = require("../../../ui/Alignment/messages");
|
|
25
25
|
var _commands = require("../commands");
|
|
@@ -47,12 +47,6 @@ Object.defineProperty(exports, "betterTypeHistoryPlugin", {
|
|
|
47
47
|
return _betterTypeHistory.default;
|
|
48
48
|
}
|
|
49
49
|
});
|
|
50
|
-
Object.defineProperty(exports, "blockTypePlugin", {
|
|
51
|
-
enumerable: true,
|
|
52
|
-
get: function get() {
|
|
53
|
-
return _blockType.default;
|
|
54
|
-
}
|
|
55
|
-
});
|
|
56
50
|
Object.defineProperty(exports, "borderPlugin", {
|
|
57
51
|
enumerable: true,
|
|
58
52
|
get: function get() {
|
|
@@ -336,7 +330,6 @@ Object.defineProperty(exports, "viewUpdateSubscriptionPlugin", {
|
|
|
336
330
|
}
|
|
337
331
|
});
|
|
338
332
|
var _base = require("./base");
|
|
339
|
-
var _blockType = _interopRequireDefault(require("./block-type"));
|
|
340
333
|
var _betterTypeHistory = _interopRequireDefault(require("./better-type-history"));
|
|
341
334
|
var _clearMarksOnChangeToEmptyDocument = _interopRequireDefault(require("./clear-marks-on-change-to-empty-document"));
|
|
342
335
|
var _codeBlock = _interopRequireDefault(require("./code-block"));
|
|
@@ -14,20 +14,20 @@ var _macro = require("../macro");
|
|
|
14
14
|
var _WithPluginState = _interopRequireDefault(require("../../ui/WithPluginState"));
|
|
15
15
|
var _ToolbarInsertBlock = _interopRequireDefault(require("./ui/ToolbarInsertBlock"));
|
|
16
16
|
var _key = require("../type-ahead/pm-plugins/key");
|
|
17
|
-
var
|
|
17
|
+
var _consts = require("@atlaskit/editor-plugin-block-type/consts");
|
|
18
18
|
var _analytics = require("../analytics");
|
|
19
19
|
var _pluginKey2 = require("../placeholder-text/plugin-key");
|
|
20
20
|
var _pluginKey3 = require("../macro/plugin-key");
|
|
21
|
-
var
|
|
21
|
+
var _types = require("../../ui/Toolbar/types");
|
|
22
22
|
var _hooks = require("@atlaskit/editor-common/hooks");
|
|
23
23
|
var toolbarSizeToButtons = function toolbarSizeToButtons(toolbarSize) {
|
|
24
24
|
switch (toolbarSize) {
|
|
25
|
-
case
|
|
26
|
-
case
|
|
27
|
-
case
|
|
28
|
-
case
|
|
25
|
+
case _types.ToolbarSize.XXL:
|
|
26
|
+
case _types.ToolbarSize.XL:
|
|
27
|
+
case _types.ToolbarSize.L:
|
|
28
|
+
case _types.ToolbarSize.M:
|
|
29
29
|
return 7;
|
|
30
|
-
case
|
|
30
|
+
case _types.ToolbarSize.S:
|
|
31
31
|
return 2;
|
|
32
32
|
default:
|
|
33
33
|
return 0;
|
|
@@ -39,13 +39,13 @@ var toolbarSizeToButtons = function toolbarSizeToButtons(toolbarSize) {
|
|
|
39
39
|
*/
|
|
40
40
|
function handleInsertBlockType(insertCodeBlock, insertPanel, insertBlockQuote) {
|
|
41
41
|
return function (name) {
|
|
42
|
-
if (name ===
|
|
42
|
+
if (name === _consts.CODE_BLOCK.name && insertCodeBlock) {
|
|
43
43
|
return insertCodeBlock(_analytics.INPUT_METHOD.TOOLBAR);
|
|
44
44
|
}
|
|
45
|
-
if (name ===
|
|
45
|
+
if (name === _consts.PANEL.name && insertPanel) {
|
|
46
46
|
return insertPanel(_analytics.INPUT_METHOD.TOOLBAR);
|
|
47
47
|
}
|
|
48
|
-
if (name ===
|
|
48
|
+
if (name === _consts.BLOCK_QUOTE.name && insertBlockQuote) {
|
|
49
49
|
return insertBlockQuote(_analytics.INPUT_METHOD.TOOLBAR);
|
|
50
50
|
}
|
|
51
51
|
return function () {
|
|
@@ -190,7 +190,7 @@ function ToolbarInsertBlockWithInjectionApi(_ref4) {
|
|
|
190
190
|
dispatchAnalyticsEvent: dispatchAnalyticsEvent,
|
|
191
191
|
replacePlusMenuWithElementBrowser: options.replacePlusMenuWithElementBrowser,
|
|
192
192
|
showElementBrowserLink: options.showElementBrowserLink,
|
|
193
|
-
showSeparator: !isLastItem && toolbarSize <=
|
|
193
|
+
showSeparator: !isLastItem && toolbarSize <= _types.ToolbarSize.S,
|
|
194
194
|
featureFlags: featureFlags
|
|
195
195
|
});
|
|
196
196
|
}
|
|
@@ -11,7 +11,7 @@ var _react = _interopRequireDefault(require("react"));
|
|
|
11
11
|
var _memoize = _interopRequireDefault(require("lodash/memoize"));
|
|
12
12
|
var _memoizeOne = _interopRequireDefault(require("memoize-one"));
|
|
13
13
|
var _messages = require("./messages");
|
|
14
|
-
var _messages2 = require("
|
|
14
|
+
var _messages2 = require("@atlaskit/editor-plugin-block-type/messages");
|
|
15
15
|
var _keymaps = require("../../../../keymaps");
|
|
16
16
|
var _sortItems = require("./sort-items");
|
|
17
17
|
var _item = require("./item");
|
|
@@ -13,7 +13,7 @@ var _keymaps = _interopRequireDefault(require("./pm-plugins/keymaps"));
|
|
|
13
13
|
var _analytics = require("../analytics");
|
|
14
14
|
var _quickInsert = require("@atlaskit/editor-common/quick-insert");
|
|
15
15
|
var _utils = require("@atlaskit/editor-common/utils");
|
|
16
|
-
var _messages = require("
|
|
16
|
+
var _messages = require("@atlaskit/editor-plugin-block-type/messages");
|
|
17
17
|
var _colors = require("@atlaskit/theme/colors");
|
|
18
18
|
var _actions = require("./actions");
|
|
19
19
|
var panelPlugin = function panelPlugin(_ref) {
|
|
@@ -15,7 +15,7 @@ var _mention = require("@atlaskit/editor-common/mention");
|
|
|
15
15
|
var _styles2 = require("../../plugins/collab-edit/styles");
|
|
16
16
|
var _styles3 = require("../../plugins/selection/gap-cursor/styles");
|
|
17
17
|
var _commonStyles = require("@atlaskit/editor-plugin-table/ui/common-styles");
|
|
18
|
-
var _styles4 = require("
|
|
18
|
+
var _styles4 = require("@atlaskit/editor-plugin-block-type/styles");
|
|
19
19
|
var _styles5 = require("../../plugins/code-block/styles");
|
|
20
20
|
var _styles6 = require("../../plugins/media/styles");
|
|
21
21
|
var _styles7 = require("../../plugins/layout/styles");
|
|
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.version = exports.nextMajorVersion = exports.name = void 0;
|
|
7
7
|
var name = "@atlaskit/editor-core";
|
|
8
8
|
exports.name = name;
|
|
9
|
-
var version = "187.
|
|
9
|
+
var version = "187.42.0";
|
|
10
10
|
exports.version = version;
|
|
11
11
|
var nextMajorVersion = function nextMajorVersion() {
|
|
12
12
|
return [Number(version.split('.')[0]) + 1, 0, 0].join('.');
|
package/dist/es2019/index.js
CHANGED
|
@@ -18,12 +18,6 @@ export { AnnotationUpdateEmitter } from './plugins/annotation';
|
|
|
18
18
|
export { stateKey as mediaPluginKey } from './plugins/media/pm-plugins/main';
|
|
19
19
|
export { textColorPluginKey } from './plugins/text-color';
|
|
20
20
|
export { changeColor } from './plugins/text-color/commands/change-color';
|
|
21
|
-
|
|
22
|
-
/**
|
|
23
|
-
* @private
|
|
24
|
-
* @deprecated DO NOT USE, temporary solution while decoupling plugins from editor-core
|
|
25
|
-
*/
|
|
26
|
-
|
|
27
21
|
/**
|
|
28
22
|
* @private
|
|
29
23
|
* @deprecated DO NOT USE, temporary solution while decoupling plugins from editor-core
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// #region Imports
|
|
2
2
|
|
|
3
3
|
import pastePlugin from '../../../plugins/paste';
|
|
4
|
-
import blockTypePlugin from '
|
|
4
|
+
import { blockTypePlugin } from '@atlaskit/editor-plugin-block-type';
|
|
5
5
|
import clearMarksOnChangeToEmptyDocumentPlugin from '../../../plugins/clear-marks-on-change-to-empty-document';
|
|
6
6
|
import { hyperlinkPlugin } from '@atlaskit/editor-plugin-hyperlink';
|
|
7
7
|
import { textFormattingPlugin } from '@atlaskit/editor-plugin-text-formatting';
|
|
@@ -7,7 +7,7 @@ import ideUX from './pm-plugins/ide-ux';
|
|
|
7
7
|
import { codeBlockCopySelectionPlugin } from './pm-plugins/codeBlockCopySelectionPlugin';
|
|
8
8
|
import { ACTION, ACTION_SUBJECT, ACTION_SUBJECT_ID, INPUT_METHOD, EVENT_TYPE } from '@atlaskit/editor-common/analytics';
|
|
9
9
|
import { IconCode } from '@atlaskit/editor-common/quick-insert';
|
|
10
|
-
import { messages } from '
|
|
10
|
+
import { messages } from '@atlaskit/editor-plugin-block-type/messages';
|
|
11
11
|
import refreshBrowserSelectionOnChange from './refresh-browser-selection';
|
|
12
12
|
import { createInsertCodeBlockTransaction, insertCodeBlockWithAnalytics } from './actions';
|
|
13
13
|
import { createCodeBlockInputRule } from './pm-plugins/input-rule';
|
|
@@ -11,7 +11,7 @@ import { navToFloatingToolbar, navToEditorToolbar, toggleBold, toggleItalic, tog
|
|
|
11
11
|
import ToolbarButton from '../../../ui/ToolbarButton';
|
|
12
12
|
import { toolbarMessages, listMessages } from '@atlaskit/editor-common/messages';
|
|
13
13
|
import { messages as insertBlockMessages } from '../../insert-block/ui/ToolbarInsertBlock/messages';
|
|
14
|
-
import { messages as blockTypeMessages } from '
|
|
14
|
+
import { messages as blockTypeMessages } from '@atlaskit/editor-plugin-block-type/messages';
|
|
15
15
|
import { messages as undoRedoMessages } from '../../undo-redo/messages';
|
|
16
16
|
import { alignmentMessages } from '../../../ui/Alignment/messages';
|
|
17
17
|
import { closeHelpCommand } from '../commands';
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
export { basePlugin } from './base';
|
|
2
|
-
export { default as blockTypePlugin } from './block-type';
|
|
3
2
|
export { default as betterTypeHistoryPlugin } from './better-type-history';
|
|
4
3
|
export { default as clearMarksOnChangeToEmptyDocumentPlugin } from './clear-marks-on-change-to-empty-document';
|
|
5
4
|
export { default as codeBlockPlugin } from './code-block';
|
|
@@ -7,7 +7,7 @@ import { insertMacroFromMacroBrowser } from '../macro';
|
|
|
7
7
|
import WithPluginState from '../../ui/WithPluginState';
|
|
8
8
|
import ToolbarInsertBlock from './ui/ToolbarInsertBlock';
|
|
9
9
|
import { pluginKey as typeAheadPluginKey } from '../type-ahead/pm-plugins/key';
|
|
10
|
-
import { BLOCK_QUOTE, CODE_BLOCK, PANEL } from '
|
|
10
|
+
import { BLOCK_QUOTE, CODE_BLOCK, PANEL } from '@atlaskit/editor-plugin-block-type/consts';
|
|
11
11
|
import { INPUT_METHOD } from '../analytics';
|
|
12
12
|
import { pluginKey as placeholderTextStateKey } from '../placeholder-text/plugin-key';
|
|
13
13
|
import { pluginKey as macroStateKey } from '../macro/plugin-key';
|
|
@@ -2,7 +2,7 @@ import React from 'react';
|
|
|
2
2
|
import memoize from 'lodash/memoize';
|
|
3
3
|
import memoizeOne from 'memoize-one';
|
|
4
4
|
import { messages } from './messages';
|
|
5
|
-
import { messages as blockTypeMessages } from '
|
|
5
|
+
import { messages as blockTypeMessages } from '@atlaskit/editor-plugin-block-type/messages';
|
|
6
6
|
import { ToolTipContent } from '../../../../keymaps';
|
|
7
7
|
import { sortItems } from './sort-items';
|
|
8
8
|
import { action, link, media, mention, emoji, table, layout, codeblock, panel, blockquote, decision, horizontalrule, expand, date, placeholder, status, more, imageUpload } from './item';
|
|
@@ -6,7 +6,7 @@ import keymap from './pm-plugins/keymaps';
|
|
|
6
6
|
import { addAnalytics, ACTION, ACTION_SUBJECT, ACTION_SUBJECT_ID, INPUT_METHOD, EVENT_TYPE } from '../analytics';
|
|
7
7
|
import { IconPanel, IconPanelNote, IconPanelSuccess, IconPanelWarning, IconPanelError } from '@atlaskit/editor-common/quick-insert';
|
|
8
8
|
import { createWrapSelectionTransaction } from '@atlaskit/editor-common/utils';
|
|
9
|
-
import { messages } from '
|
|
9
|
+
import { messages } from '@atlaskit/editor-plugin-block-type/messages';
|
|
10
10
|
import { IconCustomPanel } from '@atlaskit/editor-common/quick-insert';
|
|
11
11
|
import { T50 } from '@atlaskit/theme/colors';
|
|
12
12
|
import { insertPanelWithAnalytics } from './actions';
|
|
@@ -7,7 +7,7 @@ import { MentionSharedCssClassName } from '@atlaskit/editor-common/mention';
|
|
|
7
7
|
import { telepointerStyle } from '../../plugins/collab-edit/styles';
|
|
8
8
|
import { gapCursorStyles } from '../../plugins/selection/gap-cursor/styles';
|
|
9
9
|
import { tableStyles } from '@atlaskit/editor-plugin-table/ui/common-styles';
|
|
10
|
-
import { blocktypeStyles } from '
|
|
10
|
+
import { blocktypeStyles } from '@atlaskit/editor-plugin-block-type/styles';
|
|
11
11
|
import { codeBlockStyles } from '../../plugins/code-block/styles';
|
|
12
12
|
import { mediaStyles } from '../../plugins/media/styles';
|
|
13
13
|
import { layoutStyles } from '../../plugins/layout/styles';
|
package/dist/esm/index.js
CHANGED
|
@@ -18,12 +18,6 @@ export { AnnotationUpdateEmitter } from './plugins/annotation';
|
|
|
18
18
|
export { stateKey as mediaPluginKey } from './plugins/media/pm-plugins/main';
|
|
19
19
|
export { textColorPluginKey } from './plugins/text-color';
|
|
20
20
|
export { changeColor } from './plugins/text-color/commands/change-color';
|
|
21
|
-
|
|
22
|
-
/**
|
|
23
|
-
* @private
|
|
24
|
-
* @deprecated DO NOT USE, temporary solution while decoupling plugins from editor-core
|
|
25
|
-
*/
|
|
26
|
-
|
|
27
21
|
/**
|
|
28
22
|
* @private
|
|
29
23
|
* @deprecated DO NOT USE, temporary solution while decoupling plugins from editor-core
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// #region Imports
|
|
2
2
|
|
|
3
3
|
import pastePlugin from '../../../plugins/paste';
|
|
4
|
-
import blockTypePlugin from '
|
|
4
|
+
import { blockTypePlugin } from '@atlaskit/editor-plugin-block-type';
|
|
5
5
|
import clearMarksOnChangeToEmptyDocumentPlugin from '../../../plugins/clear-marks-on-change-to-empty-document';
|
|
6
6
|
import { hyperlinkPlugin } from '@atlaskit/editor-plugin-hyperlink';
|
|
7
7
|
import { textFormattingPlugin } from '@atlaskit/editor-plugin-text-formatting';
|
|
@@ -10,7 +10,7 @@ import ideUX from './pm-plugins/ide-ux';
|
|
|
10
10
|
import { codeBlockCopySelectionPlugin } from './pm-plugins/codeBlockCopySelectionPlugin';
|
|
11
11
|
import { ACTION, ACTION_SUBJECT, ACTION_SUBJECT_ID, INPUT_METHOD, EVENT_TYPE } from '@atlaskit/editor-common/analytics';
|
|
12
12
|
import { IconCode } from '@atlaskit/editor-common/quick-insert';
|
|
13
|
-
import { messages } from '
|
|
13
|
+
import { messages } from '@atlaskit/editor-plugin-block-type/messages';
|
|
14
14
|
import refreshBrowserSelectionOnChange from './refresh-browser-selection';
|
|
15
15
|
import { createInsertCodeBlockTransaction, insertCodeBlockWithAnalytics } from './actions';
|
|
16
16
|
import { createCodeBlockInputRule } from './pm-plugins/input-rule';
|
|
@@ -12,7 +12,7 @@ import { navToFloatingToolbar, navToEditorToolbar, toggleBold, toggleItalic, tog
|
|
|
12
12
|
import ToolbarButton from '../../../ui/ToolbarButton';
|
|
13
13
|
import { toolbarMessages, listMessages } from '@atlaskit/editor-common/messages';
|
|
14
14
|
import { messages as insertBlockMessages } from '../../insert-block/ui/ToolbarInsertBlock/messages';
|
|
15
|
-
import { messages as blockTypeMessages } from '
|
|
15
|
+
import { messages as blockTypeMessages } from '@atlaskit/editor-plugin-block-type/messages';
|
|
16
16
|
import { messages as undoRedoMessages } from '../../undo-redo/messages';
|
|
17
17
|
import { alignmentMessages } from '../../../ui/Alignment/messages';
|
|
18
18
|
import { closeHelpCommand } from '../commands';
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
export { basePlugin } from './base';
|
|
2
|
-
export { default as blockTypePlugin } from './block-type';
|
|
3
2
|
export { default as betterTypeHistoryPlugin } from './better-type-history';
|
|
4
3
|
export { default as clearMarksOnChangeToEmptyDocumentPlugin } from './clear-marks-on-change-to-empty-document';
|
|
5
4
|
export { default as codeBlockPlugin } from './code-block';
|
|
@@ -7,7 +7,7 @@ import { insertMacroFromMacroBrowser } from '../macro';
|
|
|
7
7
|
import WithPluginState from '../../ui/WithPluginState';
|
|
8
8
|
import ToolbarInsertBlock from './ui/ToolbarInsertBlock';
|
|
9
9
|
import { pluginKey as typeAheadPluginKey } from '../type-ahead/pm-plugins/key';
|
|
10
|
-
import { BLOCK_QUOTE, CODE_BLOCK, PANEL } from '
|
|
10
|
+
import { BLOCK_QUOTE, CODE_BLOCK, PANEL } from '@atlaskit/editor-plugin-block-type/consts';
|
|
11
11
|
import { INPUT_METHOD } from '../analytics';
|
|
12
12
|
import { pluginKey as placeholderTextStateKey } from '../placeholder-text/plugin-key';
|
|
13
13
|
import { pluginKey as macroStateKey } from '../macro/plugin-key';
|
|
@@ -6,7 +6,7 @@ import React from 'react';
|
|
|
6
6
|
import memoize from 'lodash/memoize';
|
|
7
7
|
import memoizeOne from 'memoize-one';
|
|
8
8
|
import { messages } from './messages';
|
|
9
|
-
import { messages as blockTypeMessages } from '
|
|
9
|
+
import { messages as blockTypeMessages } from '@atlaskit/editor-plugin-block-type/messages';
|
|
10
10
|
import { ToolTipContent } from '../../../../keymaps';
|
|
11
11
|
import { sortItems } from './sort-items';
|
|
12
12
|
import { action, link, media, mention, emoji, table, layout, codeblock, panel, blockquote, decision, horizontalrule, expand, date, placeholder, status, more, imageUpload } from './item';
|
|
@@ -6,7 +6,7 @@ import keymap from './pm-plugins/keymaps';
|
|
|
6
6
|
import { addAnalytics, ACTION, ACTION_SUBJECT, ACTION_SUBJECT_ID, INPUT_METHOD, EVENT_TYPE } from '../analytics';
|
|
7
7
|
import { IconPanel, IconPanelNote, IconPanelSuccess, IconPanelWarning, IconPanelError } from '@atlaskit/editor-common/quick-insert';
|
|
8
8
|
import { createWrapSelectionTransaction } from '@atlaskit/editor-common/utils';
|
|
9
|
-
import { messages } from '
|
|
9
|
+
import { messages } from '@atlaskit/editor-plugin-block-type/messages';
|
|
10
10
|
import { IconCustomPanel } from '@atlaskit/editor-common/quick-insert';
|
|
11
11
|
import { T50 } from '@atlaskit/theme/colors';
|
|
12
12
|
import { insertPanelWithAnalytics } from './actions';
|
|
@@ -9,7 +9,7 @@ import { MentionSharedCssClassName } from '@atlaskit/editor-common/mention';
|
|
|
9
9
|
import { telepointerStyle } from '../../plugins/collab-edit/styles';
|
|
10
10
|
import { gapCursorStyles } from '../../plugins/selection/gap-cursor/styles';
|
|
11
11
|
import { tableStyles } from '@atlaskit/editor-plugin-table/ui/common-styles';
|
|
12
|
-
import { blocktypeStyles } from '
|
|
12
|
+
import { blocktypeStyles } from '@atlaskit/editor-plugin-block-type/styles';
|
|
13
13
|
import { codeBlockStyles } from '../../plugins/code-block/styles';
|
|
14
14
|
import { mediaStyles } from '../../plugins/media/styles';
|
|
15
15
|
import { layoutStyles } from '../../plugins/layout/styles';
|
package/dist/types/index.d.ts
CHANGED
|
@@ -22,12 +22,6 @@ export { stateKey as mediaPluginKey } from './plugins/media/pm-plugins/main';
|
|
|
22
22
|
export { textColorPluginKey } from './plugins/text-color';
|
|
23
23
|
export type { TextColorPluginState } from './plugins/text-color';
|
|
24
24
|
export { changeColor } from './plugins/text-color/commands/change-color';
|
|
25
|
-
export type { BlockTypeState } from './plugins/block-type/pm-plugins/main';
|
|
26
|
-
/**
|
|
27
|
-
* @private
|
|
28
|
-
* @deprecated DO NOT USE, temporary solution while decoupling plugins from editor-core
|
|
29
|
-
*/
|
|
30
|
-
export type { BlockTypePlugin } from './plugins/block-type';
|
|
31
25
|
/**
|
|
32
26
|
* @private
|
|
33
27
|
* @deprecated DO NOT USE, temporary solution while decoupling plugins from editor-core
|
|
@@ -41,7 +35,6 @@ export type { PanelPlugin } from './plugins/panel';
|
|
|
41
35
|
export { subscribeToToolbarAndPickerUpdates } from './plugins/view-update-subscription/subscribe/toolbarAndPickerUpdates';
|
|
42
36
|
export { subscribeTypeAheadUpdates } from './plugins/view-update-subscription/subscribe/type-ahead-updates';
|
|
43
37
|
export type { InputMethodToolbar as TextFormattingInputMethodToolbar, InputMethodBasic as TextFormattingInputMethodBasic, } from '@atlaskit/editor-common/types';
|
|
44
|
-
export type { InputMethod as BlockTypeInputMethod } from './plugins/block-type/commands';
|
|
45
38
|
export { createTable } from '@atlaskit/editor-plugin-table/commands';
|
|
46
39
|
export { insertTaskDecisionCommand } from './plugins/tasks-and-decisions/commands';
|
|
47
40
|
export type { TaskDecisionInputMethod } from './plugins/tasks-and-decisions/types';
|
|
@@ -3,7 +3,7 @@ import type { PastePluginOptions } from '../../../plugins/paste';
|
|
|
3
3
|
import type { BasePluginOptions } from '../../../plugins/base';
|
|
4
4
|
import type { EditorProps } from '../../../types/editor-props';
|
|
5
5
|
import type { EditorPresetProps } from './types';
|
|
6
|
-
import type { BlockTypePluginOptions } from '
|
|
6
|
+
import type { BlockTypePluginOptions } from '@atlaskit/editor-plugin-block-type';
|
|
7
7
|
import type { PlaceholderPluginOptions } from '@atlaskit/editor-plugin-placeholder';
|
|
8
8
|
import type { AnnotationProviders } from '../../../plugins/annotation';
|
|
9
9
|
import type { TextFormattingOptions, HyperlinkPluginOptions, QuickInsertPluginOptions } from '@atlaskit/editor-common/types';
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
export { basePlugin } from './base';
|
|
2
|
-
export { default as blockTypePlugin } from './block-type';
|
|
3
2
|
export { default as betterTypeHistoryPlugin } from './better-type-history';
|
|
4
3
|
export { default as clearMarksOnChangeToEmptyDocumentPlugin } from './clear-marks-on-change-to-empty-document';
|
|
5
4
|
export { default as codeBlockPlugin } from './code-block';
|
|
@@ -8,7 +8,7 @@ import type { FeatureFlagsPlugin } from '@atlaskit/editor-plugin-feature-flags';
|
|
|
8
8
|
import type { analyticsPlugin } from '@atlaskit/editor-plugin-analytics';
|
|
9
9
|
import type mentionsPlugin from '../mentions';
|
|
10
10
|
import type quickInsertPlugin from '../quick-insert';
|
|
11
|
-
import type
|
|
11
|
+
import type { BlockTypePlugin } from '@atlaskit/editor-plugin-block-type';
|
|
12
12
|
import type codeBlockPlugin from '../code-block';
|
|
13
13
|
import type panelPlugin from '../panel';
|
|
14
14
|
import type { RulePlugin } from '@atlaskit/editor-plugin-rule';
|
|
@@ -17,7 +17,7 @@ export type InsertBlockPluginDependencies = [
|
|
|
17
17
|
OptionalPlugin<typeof tablesPlugin>,
|
|
18
18
|
OptionalPlugin<typeof hyperlinkPlugin>,
|
|
19
19
|
OptionalPlugin<typeof datePlugin>,
|
|
20
|
-
OptionalPlugin<
|
|
20
|
+
OptionalPlugin<BlockTypePlugin>,
|
|
21
21
|
OptionalPlugin<typeof analyticsPlugin>,
|
|
22
22
|
OptionalPlugin<ImageUploadPlugin>,
|
|
23
23
|
OptionalPlugin<typeof mentionsPlugin>,
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import type { WrappedComponentProps } from 'react-intl-next';
|
|
3
3
|
import type { Schema } from '@atlaskit/editor-prosemirror/model';
|
|
4
4
|
import type { EmojiProvider } from '@atlaskit/emoji/resource';
|
|
5
|
-
import type { BlockType } from '
|
|
5
|
+
import type { BlockType } from '@atlaskit/editor-plugin-block-type';
|
|
6
6
|
import type { MenuItem } from '@atlaskit/editor-common/ui-menu';
|
|
7
7
|
import type { MacroProvider } from '../../../macro';
|
|
8
8
|
export interface CreateItemsConfig {
|
|
@@ -2,7 +2,7 @@ import type { INPUT_METHOD, DispatchAnalyticsEvent } from '@atlaskit/editor-comm
|
|
|
2
2
|
import type { EditorView } from '@atlaskit/editor-prosemirror/view';
|
|
3
3
|
import type { EditorActionsOptions as EditorActions, FeatureFlags, ImageUploadPluginReferenceEvent, Command, PluginInjectionAPIWithDependencies } from '@atlaskit/editor-common/types';
|
|
4
4
|
import type { EmojiProvider } from '@atlaskit/emoji';
|
|
5
|
-
import type { BlockType } from '
|
|
5
|
+
import type { BlockType } from '@atlaskit/editor-plugin-block-type';
|
|
6
6
|
import type { MacroProvider } from '@atlaskit/editor-common/provider-factory';
|
|
7
7
|
import type { MenuItem } from '@atlaskit/editor-common/ui-menu';
|
|
8
8
|
import type { Node as PMNode } from '@atlaskit/editor-prosemirror/model';
|
|
@@ -13,7 +13,7 @@ import type { MentionProvider } from '@atlaskit/mention/resource';
|
|
|
13
13
|
import type { TaskDecisionProvider } from '@atlaskit/task-decision';
|
|
14
14
|
import type EditorActions from '../actions';
|
|
15
15
|
import type { AnnotationProviders } from '../plugins/annotation/types';
|
|
16
|
-
import type { BlockTypePluginOptions } from '
|
|
16
|
+
import type { BlockTypePluginOptions } from '@atlaskit/editor-plugin-block-type';
|
|
17
17
|
import type { CodeBlockOptions } from '../plugins/code-block/types';
|
|
18
18
|
import type { CollabEditOptions } from '@atlaskit/editor-common/collab';
|
|
19
19
|
import type { DatePluginConfig } from '../plugins/date/types';
|
|
@@ -3,7 +3,7 @@ export declare const fullPageEditorWrapper: import("@emotion/react").SerializedS
|
|
|
3
3
|
export declare const ScrollContainer: import("react").ForwardRefExoticComponent<Pick<{
|
|
4
4
|
theme?: any;
|
|
5
5
|
featureFlags?: import("@atlaskit/editor-common/types").FeatureFlags | undefined;
|
|
6
|
-
} & import("react").HTMLProps<HTMLDivElement>, "headers" | "method" | "cite" | "data" | "form" | "label" | "slot" | "span" | "style" | "summary" | "title" | "pattern" | "default" | "key" | "dir" | "color" | "content" | "height" | "translate" | "width" | "type" | "defaultValue" | "onError" | "onChange" | "open" | "onFocus" | "onBlur" | "onKeyDown" | "placeholder" | "value" | "autoFocus" | "name" | "action" | "disabled" | "children" | "media" | "property" | "aria-hidden" | "size" | "
|
|
6
|
+
} & import("react").HTMLProps<HTMLDivElement>, "headers" | "method" | "cite" | "data" | "form" | "label" | "slot" | "span" | "style" | "summary" | "title" | "pattern" | "default" | "key" | "dir" | "color" | "content" | "height" | "translate" | "width" | "type" | "defaultValue" | "onError" | "onChange" | "open" | "onFocus" | "onBlur" | "onKeyDown" | "placeholder" | "value" | "autoFocus" | "name" | "action" | "disabled" | "children" | "media" | "property" | "aria-hidden" | "size" | "start" | "accessKey" | "as" | "css" | "list" | "step" | "wrap" | "preload" | "mediaGroup" | "hidden" | "aria-label" | "aria-haspopup" | "aria-keyshortcuts" | "className" | "defaultChecked" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "contentEditable" | "contextMenu" | "draggable" | "id" | "lang" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-invalid" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocusCapture" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onErrorCapture" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "multiple" | "accept" | "acceptCharset" | "allowFullScreen" | "allowTransparency" | "alt" | "async" | "autoComplete" | "autoPlay" | "capture" | "cellPadding" | "cellSpacing" | "charSet" | "challenge" | "checked" | "classID" | "cols" | "colSpan" | "controls" | "coords" | "crossOrigin" | "dateTime" | "defer" | "download" | "encType" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "frameBorder" | "high" | "href" | "hrefLang" | "htmlFor" | "httpEquiv" | "integrity" | "keyParams" | "keyType" | "kind" | "loop" | "low" | "manifest" | "marginHeight" | "marginWidth" | "max" | "maxLength" | "min" | "minLength" | "muted" | "nonce" | "noValidate" | "optimum" | "playsInline" | "poster" | "readOnly" | "rel" | "required" | "reversed" | "rows" | "rowSpan" | "sandbox" | "scope" | "scoped" | "scrolling" | "seamless" | "selected" | "shape" | "sizes" | "src" | "srcDoc" | "srcLang" | "srcSet" | "target" | "useMap" | "wmode" | keyof {
|
|
7
7
|
theme?: any;
|
|
8
8
|
featureFlags?: import("@atlaskit/editor-common/types").FeatureFlags | undefined;
|
|
9
9
|
}> & import("react").RefAttributes<HTMLDivElement>>;
|
|
@@ -24,5 +24,5 @@ type Props = WithAnalyticsEventsProps & {
|
|
|
24
24
|
*/
|
|
25
25
|
skipFocusButtonAfterPick?: boolean;
|
|
26
26
|
};
|
|
27
|
-
declare const _default: React.ForwardRefExoticComponent<Pick<Omit<Props, keyof WithAnalyticsEventsProps> & React.RefAttributes<any> & import("@atlaskit/analytics-next").WithContextProps, "title" | "key" | "onChange" | "size" | "
|
|
27
|
+
declare const _default: React.ForwardRefExoticComponent<Pick<Omit<Props, keyof WithAnalyticsEventsProps> & React.RefAttributes<any> & import("@atlaskit/analytics-next").WithContextProps, "title" | "key" | "onChange" | "size" | "currentColor" | "cols" | "analyticsContext" | "alignX" | "colorPalette" | "placement" | "mountPoint" | "setDisableParentScroll" | "hexToPaletteColor" | "paletteColorTooltipMessages" | "skipFocusButtonAfterPick"> & React.RefAttributes<any>>;
|
|
28
28
|
export default _default;
|