@atlaskit/editor-plugin-mentions 4.1.0 → 4.1.2
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 +15 -0
- package/dist/cjs/nodeviews/mentionNodeSpec.js +1 -1
- package/dist/cjs/pm-plugins/main.js +1 -1
- package/dist/es2019/nodeviews/mentionNodeSpec.js +1 -1
- package/dist/es2019/pm-plugins/main.js +1 -1
- package/dist/esm/nodeviews/mentionNodeSpec.js +1 -1
- package/dist/esm/pm-plugins/main.js +1 -1
- package/package.json +3 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,20 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-mentions
|
|
2
2
|
|
|
3
|
+
## 4.1.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#122140](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/122140)
|
|
8
|
+
[`3f7b2bc0c6ef0`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/3f7b2bc0c6ef0) -
|
|
9
|
+
Add missing dependencies to the package.json file
|
|
10
|
+
- Updated dependencies
|
|
11
|
+
|
|
12
|
+
## 4.1.1
|
|
13
|
+
|
|
14
|
+
### Patch Changes
|
|
15
|
+
|
|
16
|
+
- Updated dependencies
|
|
17
|
+
|
|
3
18
|
## 4.1.0
|
|
4
19
|
|
|
5
20
|
### Minor Changes
|
|
@@ -21,7 +21,7 @@ var isSSR = Boolean(process.env.REACT_SSR);
|
|
|
21
21
|
* @returns
|
|
22
22
|
*/
|
|
23
23
|
var mentionNodeSpec = exports.mentionNodeSpec = function mentionNodeSpec() {
|
|
24
|
-
if (isSSR || (0, _experiments.editorExperiment)(
|
|
24
|
+
if (isSSR || (0, _experiments.editorExperiment)('platform_editor_inline_node_virtualization', 'off')) {
|
|
25
25
|
return _adfSchema.mention;
|
|
26
26
|
}
|
|
27
27
|
return _objectSpread(_objectSpread({}, _adfSchema.mention), {}, {
|
|
@@ -24,7 +24,7 @@ var ACTIONS = exports.ACTIONS = {
|
|
|
24
24
|
SET_PROVIDER: 'SET_PROVIDER'
|
|
25
25
|
};
|
|
26
26
|
var PACKAGE_NAME = "@atlaskit/editor-plugin-mentions";
|
|
27
|
-
var PACKAGE_VERSION = "4.1.
|
|
27
|
+
var PACKAGE_VERSION = "4.1.2";
|
|
28
28
|
var setProvider = function setProvider(provider) {
|
|
29
29
|
return function (state, dispatch) {
|
|
30
30
|
if (dispatch) {
|
|
@@ -11,7 +11,7 @@ const isSSR = Boolean(process.env.REACT_SSR);
|
|
|
11
11
|
* @returns
|
|
12
12
|
*/
|
|
13
13
|
export const mentionNodeSpec = () => {
|
|
14
|
-
if (isSSR || editorExperiment(
|
|
14
|
+
if (isSSR || editorExperiment('platform_editor_inline_node_virtualization', 'off')) {
|
|
15
15
|
return mention;
|
|
16
16
|
}
|
|
17
17
|
return {
|
|
@@ -13,7 +13,7 @@ export const ACTIONS = {
|
|
|
13
13
|
SET_PROVIDER: 'SET_PROVIDER'
|
|
14
14
|
};
|
|
15
15
|
const PACKAGE_NAME = "@atlaskit/editor-plugin-mentions";
|
|
16
|
-
const PACKAGE_VERSION = "4.1.
|
|
16
|
+
const PACKAGE_VERSION = "4.1.2";
|
|
17
17
|
const setProvider = provider => (state, dispatch) => {
|
|
18
18
|
if (dispatch) {
|
|
19
19
|
dispatch(state.tr.setMeta(mentionPluginKey, {
|
|
@@ -14,7 +14,7 @@ var isSSR = Boolean(process.env.REACT_SSR);
|
|
|
14
14
|
* @returns
|
|
15
15
|
*/
|
|
16
16
|
export var mentionNodeSpec = function mentionNodeSpec() {
|
|
17
|
-
if (isSSR || editorExperiment(
|
|
17
|
+
if (isSSR || editorExperiment('platform_editor_inline_node_virtualization', 'off')) {
|
|
18
18
|
return mention;
|
|
19
19
|
}
|
|
20
20
|
return _objectSpread(_objectSpread({}, mention), {}, {
|
|
@@ -16,7 +16,7 @@ export var ACTIONS = {
|
|
|
16
16
|
SET_PROVIDER: 'SET_PROVIDER'
|
|
17
17
|
};
|
|
18
18
|
var PACKAGE_NAME = "@atlaskit/editor-plugin-mentions";
|
|
19
|
-
var PACKAGE_VERSION = "4.1.
|
|
19
|
+
var PACKAGE_VERSION = "4.1.2";
|
|
20
20
|
var setProvider = function setProvider(provider) {
|
|
21
21
|
return function (state, dispatch) {
|
|
22
22
|
if (dispatch) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-mentions",
|
|
3
|
-
"version": "4.1.
|
|
3
|
+
"version": "4.1.2",
|
|
4
4
|
"description": "Mentions plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
"dependencies": {
|
|
36
36
|
"@atlaskit/adf-schema": "^47.6.0",
|
|
37
37
|
"@atlaskit/css": "^0.10.0",
|
|
38
|
-
"@atlaskit/editor-common": "^
|
|
38
|
+
"@atlaskit/editor-common": "^101.1.0",
|
|
39
39
|
"@atlaskit/editor-plugin-analytics": "^2.1.0",
|
|
40
40
|
"@atlaskit/editor-plugin-base": "^2.3.0",
|
|
41
41
|
"@atlaskit/editor-plugin-context-identifier": "^2.0.0",
|
|
@@ -45,6 +45,7 @@
|
|
|
45
45
|
"@atlaskit/mention": "^24.1.0",
|
|
46
46
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
47
47
|
"@atlaskit/theme": "^17.0.0",
|
|
48
|
+
"@atlaskit/tmp-editor-statsig": "^3.4.0",
|
|
48
49
|
"@atlaskit/tokens": "^4.3.0",
|
|
49
50
|
"@babel/runtime": "^7.0.0",
|
|
50
51
|
"@compiled/react": "^0.18.2",
|