@atlaskit/editor-plugin-insert-block 8.2.6 → 8.2.8
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 +14 -0
- package/dist/cjs/ui/toolbar-components/EmojiButton.js +2 -2
- package/dist/cjs/ui/toolbar-components/InsertButton.js +2 -3
- package/dist/cjs/ui/toolbar-components/MentionButton.js +2 -3
- package/dist/cjs/ui/toolbar-components/TableButton.js +2 -3
- package/dist/cjs/ui/toolbar-components/TaskListButton.js +2 -3
- package/dist/es2019/ui/toolbar-components/EmojiButton.js +2 -2
- package/dist/es2019/ui/toolbar-components/InsertButton.js +2 -3
- package/dist/es2019/ui/toolbar-components/MentionButton.js +2 -3
- package/dist/es2019/ui/toolbar-components/TableButton.js +2 -3
- package/dist/es2019/ui/toolbar-components/TaskListButton.js +2 -3
- package/dist/esm/ui/toolbar-components/EmojiButton.js +2 -2
- package/dist/esm/ui/toolbar-components/InsertButton.js +2 -3
- package/dist/esm/ui/toolbar-components/MentionButton.js +2 -3
- package/dist/esm/ui/toolbar-components/TableButton.js +2 -3
- package/dist/esm/ui/toolbar-components/TaskListButton.js +2 -3
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-insert-block
|
|
2
2
|
|
|
3
|
+
## 8.2.8
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`653c0c803b286`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/653c0c803b286) -
|
|
8
|
+
EDITOR-4620 Clean up platform_editor_toolbar_aifc_patch_6
|
|
9
|
+
- Updated dependencies
|
|
10
|
+
|
|
11
|
+
## 8.2.7
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- Updated dependencies
|
|
16
|
+
|
|
3
17
|
## 8.2.6
|
|
4
18
|
|
|
5
19
|
### Patch Changes
|
|
@@ -60,10 +60,10 @@ var EmojiButton = exports.EmojiButton = function EmojiButton(_ref) {
|
|
|
60
60
|
popupsBoundariesElement: popupsBoundariesElement,
|
|
61
61
|
popupsScrollableElement: popupsScrollableElement
|
|
62
62
|
}), /*#__PURE__*/_react.default.createElement(_editorToolbar.ToolbarTooltip, {
|
|
63
|
-
content:
|
|
63
|
+
content: /*#__PURE__*/_react.default.createElement(_keymaps.ToolTipContent, {
|
|
64
64
|
description: formatMessage(_messages.toolbarInsertBlockMessages.emoji),
|
|
65
65
|
keymap: _keymaps.insertEmoji
|
|
66
|
-
})
|
|
66
|
+
})
|
|
67
67
|
}, /*#__PURE__*/_react.default.createElement(_editorToolbar.ToolbarButton, {
|
|
68
68
|
iconBefore: /*#__PURE__*/_react.default.createElement(_editorToolbar.EmojiIcon, {
|
|
69
69
|
label: formatMessage(_messages.toolbarInsertBlockMessages.emoji),
|
|
@@ -18,7 +18,6 @@ var _useSharedPluginStateSelector = require("@atlaskit/editor-common/use-shared-
|
|
|
18
18
|
var _editorSharedStyles = require("@atlaskit/editor-shared-styles");
|
|
19
19
|
var _editorToolbar = require("@atlaskit/editor-toolbar");
|
|
20
20
|
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
21
|
-
var _expValEquals = require("@atlaskit/tmp-editor-statsig/exp-val-equals");
|
|
22
21
|
var _InsertMenu = _interopRequireWildcard(require("../ElementBrowser/InsertMenu"));
|
|
23
22
|
var _filterDropdownItems = require("./hooks/filterDropdownItems");
|
|
24
23
|
var _useEmojiPickerPopup = require("./hooks/useEmojiPickerPopup");
|
|
@@ -237,10 +236,10 @@ var InsertButton = exports.InsertButton = function InsertButton(_ref) {
|
|
|
237
236
|
popupsBoundariesElement: popupsBoundariesElement,
|
|
238
237
|
popupsScrollableElement: popupsScrollableElement
|
|
239
238
|
}), /*#__PURE__*/_react.default.createElement(_editorToolbar.ToolbarTooltip, {
|
|
240
|
-
content:
|
|
239
|
+
content: /*#__PURE__*/_react.default.createElement(_keymaps.ToolTipContent, {
|
|
241
240
|
description: formatMessage(_messages.toolbarInsertBlockMessages.insertMenu),
|
|
242
241
|
keymap: _keymaps.insertElements
|
|
243
|
-
})
|
|
242
|
+
})
|
|
244
243
|
}, /*#__PURE__*/_react.default.createElement(_editorToolbar.ToolbarButton, {
|
|
245
244
|
iconBefore: /*#__PURE__*/_react.default.createElement(_editorToolbar.AddIcon, {
|
|
246
245
|
size: "small",
|
|
@@ -12,7 +12,6 @@ var _hooks = require("@atlaskit/editor-common/hooks");
|
|
|
12
12
|
var _keymaps = require("@atlaskit/editor-common/keymaps");
|
|
13
13
|
var _messages = require("@atlaskit/editor-common/messages");
|
|
14
14
|
var _editorToolbar = require("@atlaskit/editor-toolbar");
|
|
15
|
-
var _expValEquals = require("@atlaskit/tmp-editor-statsig/exp-val-equals");
|
|
16
15
|
var MentionButton = exports.MentionButton = function MentionButton(_ref) {
|
|
17
16
|
var api = _ref.api;
|
|
18
17
|
var _useIntl = (0, _reactIntlNext.useIntl)(),
|
|
@@ -36,10 +35,10 @@ var MentionButton = exports.MentionButton = function MentionButton(_ref) {
|
|
|
36
35
|
api === null || api === void 0 || (_api$mention = api.mention) === null || _api$mention === void 0 || (_api$mention = _api$mention.actions) === null || _api$mention === void 0 || _api$mention.openTypeAhead(_analytics.INPUT_METHOD.TOOLBAR);
|
|
37
36
|
};
|
|
38
37
|
return /*#__PURE__*/_react.default.createElement(_editorToolbar.ToolbarTooltip, {
|
|
39
|
-
content:
|
|
38
|
+
content: /*#__PURE__*/_react.default.createElement(_keymaps.ToolTipContent, {
|
|
40
39
|
description: formatMessage(_messages.toolbarInsertBlockMessages.mention),
|
|
41
40
|
keymap: _keymaps.insertMention
|
|
42
|
-
})
|
|
41
|
+
})
|
|
43
42
|
}, /*#__PURE__*/_react.default.createElement(_editorToolbar.ToolbarButton, {
|
|
44
43
|
iconBefore: /*#__PURE__*/_react.default.createElement(_editorToolbar.MentionIcon, {
|
|
45
44
|
label: formatMessage(_messages.toolbarInsertBlockMessages.mention),
|
|
@@ -12,7 +12,6 @@ var _keymaps = require("@atlaskit/editor-common/keymaps");
|
|
|
12
12
|
var _messages = require("@atlaskit/editor-common/messages");
|
|
13
13
|
var _toolbar = require("@atlaskit/editor-common/toolbar");
|
|
14
14
|
var _editorToolbar = require("@atlaskit/editor-toolbar");
|
|
15
|
-
var _expValEquals = require("@atlaskit/tmp-editor-statsig/exp-val-equals");
|
|
16
15
|
var TableButton = exports.TableButton = function TableButton(_ref) {
|
|
17
16
|
var api = _ref.api;
|
|
18
17
|
var _useIntl = (0, _reactIntlNext.useIntl)(),
|
|
@@ -42,10 +41,10 @@ var TableButton = exports.TableButton = function TableButton(_ref) {
|
|
|
42
41
|
}
|
|
43
42
|
};
|
|
44
43
|
return /*#__PURE__*/_react.default.createElement(_editorToolbar.ToolbarTooltip, {
|
|
45
|
-
content:
|
|
44
|
+
content: /*#__PURE__*/_react.default.createElement(_keymaps.ToolTipContent, {
|
|
46
45
|
description: formatMessage(_messages.toolbarInsertBlockMessages.table),
|
|
47
46
|
keymap: _keymaps.toggleTable
|
|
48
|
-
})
|
|
47
|
+
})
|
|
49
48
|
}, /*#__PURE__*/_react.default.createElement(_editorToolbar.ToolbarButton, {
|
|
50
49
|
iconBefore: /*#__PURE__*/_react.default.createElement(_editorToolbar.TableIcon, {
|
|
51
50
|
label: formatMessage(_messages.toolbarInsertBlockMessages.table),
|
|
@@ -12,7 +12,6 @@ var _keymaps = require("@atlaskit/editor-common/keymaps");
|
|
|
12
12
|
var _messages = require("@atlaskit/editor-common/messages");
|
|
13
13
|
var _toolbar = require("@atlaskit/editor-common/toolbar");
|
|
14
14
|
var _editorToolbar = require("@atlaskit/editor-toolbar");
|
|
15
|
-
var _expValEquals = require("@atlaskit/tmp-editor-statsig/exp-val-equals");
|
|
16
15
|
var TaskListButton = exports.TaskListButton = function TaskListButton(_ref) {
|
|
17
16
|
var api = _ref.api;
|
|
18
17
|
var _useIntl = (0, _reactIntlNext.useIntl)(),
|
|
@@ -31,10 +30,10 @@ var TaskListButton = exports.TaskListButton = function TaskListButton(_ref) {
|
|
|
31
30
|
}
|
|
32
31
|
};
|
|
33
32
|
return /*#__PURE__*/_react.default.createElement(_editorToolbar.ToolbarTooltip, {
|
|
34
|
-
content:
|
|
33
|
+
content: /*#__PURE__*/_react.default.createElement(_keymaps.ToolTipContent, {
|
|
35
34
|
description: formatMessage(_messages.toolbarInsertBlockMessages.action),
|
|
36
35
|
keymap: _keymaps.insertTaskList
|
|
37
|
-
})
|
|
36
|
+
})
|
|
38
37
|
}, /*#__PURE__*/_react.default.createElement(_editorToolbar.ToolbarButton, {
|
|
39
38
|
iconBefore: /*#__PURE__*/_react.default.createElement(_editorToolbar.TaskIcon, {
|
|
40
39
|
label: formatMessage(_messages.toolbarInsertBlockMessages.action),
|
|
@@ -56,10 +56,10 @@ export const EmojiButton = ({
|
|
|
56
56
|
popupsBoundariesElement: popupsBoundariesElement,
|
|
57
57
|
popupsScrollableElement: popupsScrollableElement
|
|
58
58
|
}), /*#__PURE__*/React.createElement(ToolbarTooltip, {
|
|
59
|
-
content:
|
|
59
|
+
content: /*#__PURE__*/React.createElement(ToolTipContent, {
|
|
60
60
|
description: formatMessage(messages.emoji),
|
|
61
61
|
keymap: insertEmoji
|
|
62
|
-
})
|
|
62
|
+
})
|
|
63
63
|
}, /*#__PURE__*/React.createElement(ToolbarButton, {
|
|
64
64
|
iconBefore: /*#__PURE__*/React.createElement(EmojiIcon, {
|
|
65
65
|
label: formatMessage(messages.emoji),
|
|
@@ -9,7 +9,6 @@ import { useSharedPluginStateSelector } from '@atlaskit/editor-common/use-shared
|
|
|
9
9
|
import { akEditorMenuZIndex } from '@atlaskit/editor-shared-styles';
|
|
10
10
|
import { ToolbarButton, ToolbarTooltip, AddIcon, useToolbarUI } from '@atlaskit/editor-toolbar';
|
|
11
11
|
import { fg } from '@atlaskit/platform-feature-flags';
|
|
12
|
-
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
13
12
|
import InsertMenu, { DEFAULT_HEIGHT } from '../ElementBrowser/InsertMenu';
|
|
14
13
|
import { LINK_BUTTON_KEY } from './hooks/filterDropdownItems';
|
|
15
14
|
import { useEmojiPickerPopup } from './hooks/useEmojiPickerPopup';
|
|
@@ -230,10 +229,10 @@ export const InsertButton = ({
|
|
|
230
229
|
popupsBoundariesElement: popupsBoundariesElement,
|
|
231
230
|
popupsScrollableElement: popupsScrollableElement
|
|
232
231
|
}), /*#__PURE__*/React.createElement(ToolbarTooltip, {
|
|
233
|
-
content:
|
|
232
|
+
content: /*#__PURE__*/React.createElement(ToolTipContent, {
|
|
234
233
|
description: formatMessage(messages.insertMenu),
|
|
235
234
|
keymap: insertElements
|
|
236
|
-
})
|
|
235
|
+
})
|
|
237
236
|
}, /*#__PURE__*/React.createElement(ToolbarButton, {
|
|
238
237
|
iconBefore: /*#__PURE__*/React.createElement(AddIcon, {
|
|
239
238
|
size: "small",
|
|
@@ -5,7 +5,6 @@ import { useSharedPluginStateWithSelector } from '@atlaskit/editor-common/hooks'
|
|
|
5
5
|
import { ToolTipContent, insertMention } from '@atlaskit/editor-common/keymaps';
|
|
6
6
|
import { toolbarInsertBlockMessages as messages } from '@atlaskit/editor-common/messages';
|
|
7
7
|
import { ToolbarButton, ToolbarTooltip, MentionIcon } from '@atlaskit/editor-toolbar';
|
|
8
|
-
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
9
8
|
export const MentionButton = ({
|
|
10
9
|
api
|
|
11
10
|
}) => {
|
|
@@ -32,10 +31,10 @@ export const MentionButton = ({
|
|
|
32
31
|
api === null || api === void 0 ? void 0 : (_api$mention = api.mention) === null || _api$mention === void 0 ? void 0 : (_api$mention$actions = _api$mention.actions) === null || _api$mention$actions === void 0 ? void 0 : _api$mention$actions.openTypeAhead(INPUT_METHOD.TOOLBAR);
|
|
33
32
|
};
|
|
34
33
|
return /*#__PURE__*/React.createElement(ToolbarTooltip, {
|
|
35
|
-
content:
|
|
34
|
+
content: /*#__PURE__*/React.createElement(ToolTipContent, {
|
|
36
35
|
description: formatMessage(messages.mention),
|
|
37
36
|
keymap: insertMention
|
|
38
|
-
})
|
|
37
|
+
})
|
|
39
38
|
}, /*#__PURE__*/React.createElement(ToolbarButton, {
|
|
40
39
|
iconBefore: /*#__PURE__*/React.createElement(MentionIcon, {
|
|
41
40
|
label: formatMessage(messages.mention),
|
|
@@ -5,7 +5,6 @@ import { ToolTipContent, getAriaKeyshortcuts, toggleTable } from '@atlaskit/edit
|
|
|
5
5
|
import { toolbarInsertBlockMessages as messages } from '@atlaskit/editor-common/messages';
|
|
6
6
|
import { useEditorToolbar } from '@atlaskit/editor-common/toolbar';
|
|
7
7
|
import { ToolbarButton, ToolbarTooltip, TableIcon } from '@atlaskit/editor-toolbar';
|
|
8
|
-
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
9
8
|
export const TableButton = ({
|
|
10
9
|
api
|
|
11
10
|
}) => {
|
|
@@ -40,10 +39,10 @@ export const TableButton = ({
|
|
|
40
39
|
}
|
|
41
40
|
};
|
|
42
41
|
return /*#__PURE__*/React.createElement(ToolbarTooltip, {
|
|
43
|
-
content:
|
|
42
|
+
content: /*#__PURE__*/React.createElement(ToolTipContent, {
|
|
44
43
|
description: formatMessage(messages.table),
|
|
45
44
|
keymap: toggleTable
|
|
46
|
-
})
|
|
45
|
+
})
|
|
47
46
|
}, /*#__PURE__*/React.createElement(ToolbarButton, {
|
|
48
47
|
iconBefore: /*#__PURE__*/React.createElement(TableIcon, {
|
|
49
48
|
label: formatMessage(messages.table),
|
|
@@ -5,7 +5,6 @@ import { ToolTipContent, insertTaskList } from '@atlaskit/editor-common/keymaps'
|
|
|
5
5
|
import { toolbarInsertBlockMessages as messages } from '@atlaskit/editor-common/messages';
|
|
6
6
|
import { useEditorToolbar } from '@atlaskit/editor-common/toolbar';
|
|
7
7
|
import { ToolbarButton, ToolbarTooltip, TaskIcon } from '@atlaskit/editor-toolbar';
|
|
8
|
-
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
9
8
|
export const TaskListButton = ({
|
|
10
9
|
api
|
|
11
10
|
}) => {
|
|
@@ -29,10 +28,10 @@ export const TaskListButton = ({
|
|
|
29
28
|
}
|
|
30
29
|
};
|
|
31
30
|
return /*#__PURE__*/React.createElement(ToolbarTooltip, {
|
|
32
|
-
content:
|
|
31
|
+
content: /*#__PURE__*/React.createElement(ToolTipContent, {
|
|
33
32
|
description: formatMessage(messages.action),
|
|
34
33
|
keymap: insertTaskList
|
|
35
|
-
})
|
|
34
|
+
})
|
|
36
35
|
}, /*#__PURE__*/React.createElement(ToolbarButton, {
|
|
37
36
|
iconBefore: /*#__PURE__*/React.createElement(TaskIcon, {
|
|
38
37
|
label: formatMessage(messages.action),
|
|
@@ -52,10 +52,10 @@ export var EmojiButton = function EmojiButton(_ref) {
|
|
|
52
52
|
popupsBoundariesElement: popupsBoundariesElement,
|
|
53
53
|
popupsScrollableElement: popupsScrollableElement
|
|
54
54
|
}), /*#__PURE__*/React.createElement(ToolbarTooltip, {
|
|
55
|
-
content:
|
|
55
|
+
content: /*#__PURE__*/React.createElement(ToolTipContent, {
|
|
56
56
|
description: formatMessage(messages.emoji),
|
|
57
57
|
keymap: insertEmoji
|
|
58
|
-
})
|
|
58
|
+
})
|
|
59
59
|
}, /*#__PURE__*/React.createElement(ToolbarButton, {
|
|
60
60
|
iconBefore: /*#__PURE__*/React.createElement(EmojiIcon, {
|
|
61
61
|
label: formatMessage(messages.emoji),
|
|
@@ -10,7 +10,6 @@ import { useSharedPluginStateSelector } from '@atlaskit/editor-common/use-shared
|
|
|
10
10
|
import { akEditorMenuZIndex } from '@atlaskit/editor-shared-styles';
|
|
11
11
|
import { ToolbarButton, ToolbarTooltip, AddIcon, useToolbarUI } from '@atlaskit/editor-toolbar';
|
|
12
12
|
import { fg } from '@atlaskit/platform-feature-flags';
|
|
13
|
-
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
14
13
|
import InsertMenu, { DEFAULT_HEIGHT } from '../ElementBrowser/InsertMenu';
|
|
15
14
|
import { LINK_BUTTON_KEY } from './hooks/filterDropdownItems';
|
|
16
15
|
import { useEmojiPickerPopup } from './hooks/useEmojiPickerPopup';
|
|
@@ -229,10 +228,10 @@ export var InsertButton = function InsertButton(_ref) {
|
|
|
229
228
|
popupsBoundariesElement: popupsBoundariesElement,
|
|
230
229
|
popupsScrollableElement: popupsScrollableElement
|
|
231
230
|
}), /*#__PURE__*/React.createElement(ToolbarTooltip, {
|
|
232
|
-
content:
|
|
231
|
+
content: /*#__PURE__*/React.createElement(ToolTipContent, {
|
|
233
232
|
description: formatMessage(messages.insertMenu),
|
|
234
233
|
keymap: insertElements
|
|
235
|
-
})
|
|
234
|
+
})
|
|
236
235
|
}, /*#__PURE__*/React.createElement(ToolbarButton, {
|
|
237
236
|
iconBefore: /*#__PURE__*/React.createElement(AddIcon, {
|
|
238
237
|
size: "small",
|
|
@@ -5,7 +5,6 @@ import { useSharedPluginStateWithSelector } from '@atlaskit/editor-common/hooks'
|
|
|
5
5
|
import { ToolTipContent, insertMention } from '@atlaskit/editor-common/keymaps';
|
|
6
6
|
import { toolbarInsertBlockMessages as messages } from '@atlaskit/editor-common/messages';
|
|
7
7
|
import { ToolbarButton, ToolbarTooltip, MentionIcon } from '@atlaskit/editor-toolbar';
|
|
8
|
-
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
9
8
|
export var MentionButton = function MentionButton(_ref) {
|
|
10
9
|
var api = _ref.api;
|
|
11
10
|
var _useIntl = useIntl(),
|
|
@@ -29,10 +28,10 @@ export var MentionButton = function MentionButton(_ref) {
|
|
|
29
28
|
api === null || api === void 0 || (_api$mention = api.mention) === null || _api$mention === void 0 || (_api$mention = _api$mention.actions) === null || _api$mention === void 0 || _api$mention.openTypeAhead(INPUT_METHOD.TOOLBAR);
|
|
30
29
|
};
|
|
31
30
|
return /*#__PURE__*/React.createElement(ToolbarTooltip, {
|
|
32
|
-
content:
|
|
31
|
+
content: /*#__PURE__*/React.createElement(ToolTipContent, {
|
|
33
32
|
description: formatMessage(messages.mention),
|
|
34
33
|
keymap: insertMention
|
|
35
|
-
})
|
|
34
|
+
})
|
|
36
35
|
}, /*#__PURE__*/React.createElement(ToolbarButton, {
|
|
37
36
|
iconBefore: /*#__PURE__*/React.createElement(MentionIcon, {
|
|
38
37
|
label: formatMessage(messages.mention),
|
|
@@ -5,7 +5,6 @@ import { ToolTipContent, getAriaKeyshortcuts, toggleTable } from '@atlaskit/edit
|
|
|
5
5
|
import { toolbarInsertBlockMessages as messages } from '@atlaskit/editor-common/messages';
|
|
6
6
|
import { useEditorToolbar } from '@atlaskit/editor-common/toolbar';
|
|
7
7
|
import { ToolbarButton, ToolbarTooltip, TableIcon } from '@atlaskit/editor-toolbar';
|
|
8
|
-
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
9
8
|
export var TableButton = function TableButton(_ref) {
|
|
10
9
|
var api = _ref.api;
|
|
11
10
|
var _useIntl = useIntl(),
|
|
@@ -35,10 +34,10 @@ export var TableButton = function TableButton(_ref) {
|
|
|
35
34
|
}
|
|
36
35
|
};
|
|
37
36
|
return /*#__PURE__*/React.createElement(ToolbarTooltip, {
|
|
38
|
-
content:
|
|
37
|
+
content: /*#__PURE__*/React.createElement(ToolTipContent, {
|
|
39
38
|
description: formatMessage(messages.table),
|
|
40
39
|
keymap: toggleTable
|
|
41
|
-
})
|
|
40
|
+
})
|
|
42
41
|
}, /*#__PURE__*/React.createElement(ToolbarButton, {
|
|
43
42
|
iconBefore: /*#__PURE__*/React.createElement(TableIcon, {
|
|
44
43
|
label: formatMessage(messages.table),
|
|
@@ -5,7 +5,6 @@ import { ToolTipContent, insertTaskList } from '@atlaskit/editor-common/keymaps'
|
|
|
5
5
|
import { toolbarInsertBlockMessages as messages } from '@atlaskit/editor-common/messages';
|
|
6
6
|
import { useEditorToolbar } from '@atlaskit/editor-common/toolbar';
|
|
7
7
|
import { ToolbarButton, ToolbarTooltip, TaskIcon } from '@atlaskit/editor-toolbar';
|
|
8
|
-
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
9
8
|
export var TaskListButton = function TaskListButton(_ref) {
|
|
10
9
|
var api = _ref.api;
|
|
11
10
|
var _useIntl = useIntl(),
|
|
@@ -24,10 +23,10 @@ export var TaskListButton = function TaskListButton(_ref) {
|
|
|
24
23
|
}
|
|
25
24
|
};
|
|
26
25
|
return /*#__PURE__*/React.createElement(ToolbarTooltip, {
|
|
27
|
-
content:
|
|
26
|
+
content: /*#__PURE__*/React.createElement(ToolTipContent, {
|
|
28
27
|
description: formatMessage(messages.action),
|
|
29
28
|
keymap: insertTaskList
|
|
30
|
-
})
|
|
29
|
+
})
|
|
31
30
|
}, /*#__PURE__*/React.createElement(ToolbarButton, {
|
|
32
31
|
iconBefore: /*#__PURE__*/React.createElement(TaskIcon, {
|
|
33
32
|
label: formatMessage(messages.action),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-insert-block",
|
|
3
|
-
"version": "8.2.
|
|
3
|
+
"version": "8.2.8",
|
|
4
4
|
"description": "Insert block plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
"@atlaskit/editor-plugin-quick-insert": "^7.1.0",
|
|
52
52
|
"@atlaskit/editor-plugin-rule": "^7.0.0",
|
|
53
53
|
"@atlaskit/editor-plugin-status": "^8.1.0",
|
|
54
|
-
"@atlaskit/editor-plugin-table": "^17.
|
|
54
|
+
"@atlaskit/editor-plugin-table": "^17.1.0",
|
|
55
55
|
"@atlaskit/editor-plugin-tasks-and-decisions": "^10.1.0",
|
|
56
56
|
"@atlaskit/editor-plugin-toolbar": "^4.1.0",
|
|
57
57
|
"@atlaskit/editor-plugin-type-ahead": "^7.0.0",
|
|
@@ -61,10 +61,10 @@
|
|
|
61
61
|
"@atlaskit/editor-toolbar-model": "^0.3.0",
|
|
62
62
|
"@atlaskit/emoji": "^69.10.0",
|
|
63
63
|
"@atlaskit/icon": "^30.0.0",
|
|
64
|
-
"@atlaskit/icon-lab": "^5.
|
|
64
|
+
"@atlaskit/icon-lab": "^5.15.0",
|
|
65
65
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
66
66
|
"@atlaskit/theme": "^21.0.0",
|
|
67
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
67
|
+
"@atlaskit/tmp-editor-statsig": "^17.1.0",
|
|
68
68
|
"@atlaskit/tokens": "^10.1.0",
|
|
69
69
|
"@babel/runtime": "^7.0.0",
|
|
70
70
|
"@emotion/react": "^11.7.1",
|