@atlaskit/editor-plugin-mentions 8.2.19 → 8.2.21
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/pm-plugins/main.js +1 -1
- package/dist/cjs/ui/ToolbarMention/index.js +2 -2
- package/dist/es2019/pm-plugins/main.js +1 -1
- package/dist/es2019/ui/ToolbarMention/index.js +1 -1
- package/dist/esm/pm-plugins/main.js +1 -1
- package/dist/esm/ui/ToolbarMention/index.js +1 -1
- package/package.json +10 -10
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-mentions
|
|
2
2
|
|
|
3
|
+
## 8.2.21
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
|
|
9
|
+
## 8.2.20
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [`90abe9b926a6f`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/90abe9b926a6f) -
|
|
14
|
+
Icon entrypoint migration
|
|
15
|
+
- Updated dependencies
|
|
16
|
+
|
|
3
17
|
## 8.2.19
|
|
4
18
|
|
|
5
19
|
### Patch Changes
|
|
@@ -25,7 +25,7 @@ var ACTIONS = exports.ACTIONS = {
|
|
|
25
25
|
SET_PROVIDER: 'SET_PROVIDER'
|
|
26
26
|
};
|
|
27
27
|
var PACKAGE_NAME = "@atlaskit/editor-plugin-mentions";
|
|
28
|
-
var PACKAGE_VERSION = "
|
|
28
|
+
var PACKAGE_VERSION = "8.2.20";
|
|
29
29
|
var setProvider = function setProvider(provider) {
|
|
30
30
|
return function (state, dispatch) {
|
|
31
31
|
if (dispatch) {
|
|
@@ -16,7 +16,7 @@ var _react = _interopRequireWildcard(require("react"));
|
|
|
16
16
|
var _reactIntlNext = require("react-intl-next");
|
|
17
17
|
var _messages = require("@atlaskit/editor-common/messages");
|
|
18
18
|
var _uiMenu = require("@atlaskit/editor-common/ui-menu");
|
|
19
|
-
var
|
|
19
|
+
var _mention = _interopRequireDefault(require("@atlaskit/icon/core/mention"));
|
|
20
20
|
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != _typeof(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
|
|
21
21
|
function _callSuper(t, o, e) { return o = (0, _getPrototypeOf2.default)(o), (0, _possibleConstructorReturn2.default)(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], (0, _getPrototypeOf2.default)(t).constructor) : o.apply(t, e)); }
|
|
22
22
|
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
@@ -51,7 +51,7 @@ var ToolbarMention = /*#__PURE__*/function (_PureComponent) {
|
|
|
51
51
|
onClick: this.handleInsertMention,
|
|
52
52
|
disabled: this.props.isDisabled,
|
|
53
53
|
title: mentionStringTranslated + '@',
|
|
54
|
-
iconBefore: /*#__PURE__*/_react.default.createElement(
|
|
54
|
+
iconBefore: /*#__PURE__*/_react.default.createElement(_mention.default, {
|
|
55
55
|
label: mentionStringTranslated
|
|
56
56
|
})
|
|
57
57
|
});
|
|
@@ -14,7 +14,7 @@ export const ACTIONS = {
|
|
|
14
14
|
SET_PROVIDER: 'SET_PROVIDER'
|
|
15
15
|
};
|
|
16
16
|
const PACKAGE_NAME = "@atlaskit/editor-plugin-mentions";
|
|
17
|
-
const PACKAGE_VERSION = "
|
|
17
|
+
const PACKAGE_VERSION = "8.2.20";
|
|
18
18
|
const setProvider = provider => (state, dispatch) => {
|
|
19
19
|
if (dispatch) {
|
|
20
20
|
dispatch(state.tr.setMeta(mentionPluginKey, {
|
|
@@ -3,7 +3,7 @@ import React, { PureComponent } from 'react';
|
|
|
3
3
|
import { injectIntl } from 'react-intl-next';
|
|
4
4
|
import { mentionMessages as messages } from '@atlaskit/editor-common/messages';
|
|
5
5
|
import { TOOLBAR_BUTTON, ToolbarButton } from '@atlaskit/editor-common/ui-menu';
|
|
6
|
-
import MentionIcon from '@atlaskit/icon/core/
|
|
6
|
+
import MentionIcon from '@atlaskit/icon/core/mention';
|
|
7
7
|
// Ignored via go/ees005
|
|
8
8
|
// eslint-disable-next-line @repo/internal/react/no-class-components
|
|
9
9
|
class ToolbarMention extends PureComponent {
|
|
@@ -17,7 +17,7 @@ export var ACTIONS = {
|
|
|
17
17
|
SET_PROVIDER: 'SET_PROVIDER'
|
|
18
18
|
};
|
|
19
19
|
var PACKAGE_NAME = "@atlaskit/editor-plugin-mentions";
|
|
20
|
-
var PACKAGE_VERSION = "
|
|
20
|
+
var PACKAGE_VERSION = "8.2.20";
|
|
21
21
|
var setProvider = function setProvider(provider) {
|
|
22
22
|
return function (state, dispatch) {
|
|
23
23
|
if (dispatch) {
|
|
@@ -10,7 +10,7 @@ import React, { PureComponent } from 'react';
|
|
|
10
10
|
import { injectIntl } from 'react-intl-next';
|
|
11
11
|
import { mentionMessages as messages } from '@atlaskit/editor-common/messages';
|
|
12
12
|
import { TOOLBAR_BUTTON, ToolbarButton } from '@atlaskit/editor-common/ui-menu';
|
|
13
|
-
import MentionIcon from '@atlaskit/icon/core/
|
|
13
|
+
import MentionIcon from '@atlaskit/icon/core/mention';
|
|
14
14
|
// Ignored via go/ees005
|
|
15
15
|
// eslint-disable-next-line @repo/internal/react/no-class-components
|
|
16
16
|
var ToolbarMention = /*#__PURE__*/function (_PureComponent) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-mentions",
|
|
3
|
-
"version": "8.2.
|
|
3
|
+
"version": "8.2.21",
|
|
4
4
|
"description": "Mentions plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -29,25 +29,25 @@
|
|
|
29
29
|
],
|
|
30
30
|
"atlaskit:src": "src/index.ts",
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@atlaskit/adf-schema": "^51.5.
|
|
33
|
-
"@atlaskit/css": "^0.
|
|
32
|
+
"@atlaskit/adf-schema": "^51.5.0",
|
|
33
|
+
"@atlaskit/css": "^0.18.0",
|
|
34
34
|
"@atlaskit/editor-plugin-analytics": "^6.2.0",
|
|
35
35
|
"@atlaskit/editor-plugin-base": "^7.2.0",
|
|
36
36
|
"@atlaskit/editor-plugin-context-identifier": "^6.0.0",
|
|
37
37
|
"@atlaskit/editor-plugin-selection": "^6.1.0",
|
|
38
38
|
"@atlaskit/editor-plugin-type-ahead": "^6.5.0",
|
|
39
|
-
"@atlaskit/editor-prosemirror": "7.
|
|
40
|
-
"@atlaskit/icon": "^29.
|
|
39
|
+
"@atlaskit/editor-prosemirror": "^7.2.0",
|
|
40
|
+
"@atlaskit/icon": "^29.2.0",
|
|
41
41
|
"@atlaskit/insm": "^0.2.0",
|
|
42
42
|
"@atlaskit/link": "^3.2.0",
|
|
43
43
|
"@atlaskit/mention": "^24.4.0",
|
|
44
44
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
45
45
|
"@atlaskit/popper": "^7.1.0",
|
|
46
46
|
"@atlaskit/portal": "^5.1.0",
|
|
47
|
-
"@atlaskit/profilecard": "^24.
|
|
47
|
+
"@atlaskit/profilecard": "^24.25.0",
|
|
48
48
|
"@atlaskit/theme": "^21.0.0",
|
|
49
|
-
"@atlaskit/tmp-editor-statsig": "^15.
|
|
50
|
-
"@atlaskit/tokens": "^8.
|
|
49
|
+
"@atlaskit/tmp-editor-statsig": "^15.12.0",
|
|
50
|
+
"@atlaskit/tokens": "^8.6.0",
|
|
51
51
|
"@babel/runtime": "^7.0.0",
|
|
52
52
|
"@compiled/react": "^0.18.6",
|
|
53
53
|
"bind-event-listener": "^3.0.0",
|
|
@@ -55,13 +55,13 @@
|
|
|
55
55
|
"uuid": "^3.1.0"
|
|
56
56
|
},
|
|
57
57
|
"peerDependencies": {
|
|
58
|
-
"@atlaskit/editor-common": "^110.
|
|
58
|
+
"@atlaskit/editor-common": "^110.45.0",
|
|
59
59
|
"react": "^18.2.0",
|
|
60
60
|
"react-dom": "^18.2.0",
|
|
61
61
|
"react-intl-next": "npm:react-intl@^5.18.1"
|
|
62
62
|
},
|
|
63
63
|
"devDependencies": {
|
|
64
|
-
"@testing-library/react": "^
|
|
64
|
+
"@testing-library/react": "^16.3.0",
|
|
65
65
|
"wait-for-expect": "^1.2.0"
|
|
66
66
|
},
|
|
67
67
|
"techstack": {
|