@atlaskit/editor-plugin-mentions 2.11.3 → 2.13.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 CHANGED
@@ -1,5 +1,32 @@
1
1
  # @atlaskit/editor-plugin-mentions
2
2
 
3
+ ## 2.13.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#103277](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/103277)
8
+ [`38e621ec55cd4`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/38e621ec55cd4) -
9
+ Changed signature of optional prop (inviteXProductUser) with 1 more param. This is regarding
10
+ CCEDITIONS-4746 (x-product-user-invite experiment). Project poster link -
11
+ https://hello.atlassian.net/wiki/spaces/CV1/pages/3685626022/Project+poster+-+Cross+Product+User+Search+Invites
12
+
13
+ ### Patch Changes
14
+
15
+ - Updated dependencies
16
+
17
+ ## 2.12.0
18
+
19
+ ### Minor Changes
20
+
21
+ - [#101931](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/101931)
22
+ [`8a09e2cba1485`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8a09e2cba1485) -
23
+ Changed signature of optional prop (inviteXProductUser) with 1 more param. This is regarding
24
+ CCEDITIONS-4746 (x-product-user-invite experiment). Project poster link -
25
+
26
+ ### Patch Changes
27
+
28
+ - Updated dependencies
29
+
3
30
  ## 2.11.3
4
31
 
5
32
  ### Patch Changes
@@ -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 = "2.11.3";
27
+ var PACKAGE_VERSION = "2.13.0";
28
28
  var setProvider = function setProvider(provider) {
29
29
  return function (state, dispatch) {
30
30
  if (dispatch) {
@@ -365,7 +365,7 @@ var createTypeAheadConfig = exports.createTypeAheadConfig = function createTypeA
365
365
  return insert(buildNodesForTeamMention(schema, item.mention, mentionProvider, sanitizePrivateContent));
366
366
  }
367
367
  if (isXProductUser && mentionProvider && mentionProvider.inviteXProductUser) {
368
- mentionProvider.inviteXProductUser(id);
368
+ mentionProvider.inviteXProductUser(id, name);
369
369
  }
370
370
 
371
371
  // Don't insert into document if document data is sanitized.
@@ -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 = "2.11.3";
16
+ const PACKAGE_VERSION = "2.13.0";
17
17
  const setProvider = provider => (state, dispatch) => {
18
18
  if (dispatch) {
19
19
  dispatch(state.tr.setMeta(mentionPluginKey, {
@@ -349,7 +349,7 @@ export const createTypeAheadConfig = ({
349
349
  return insert(buildNodesForTeamMention(schema, item.mention, mentionProvider, sanitizePrivateContent));
350
350
  }
351
351
  if (isXProductUser && mentionProvider && mentionProvider.inviteXProductUser) {
352
- mentionProvider.inviteXProductUser(id);
352
+ mentionProvider.inviteXProductUser(id, name);
353
353
  }
354
354
 
355
355
  // Don't insert into document if document data is sanitized.
@@ -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 = "2.11.3";
19
+ var PACKAGE_VERSION = "2.13.0";
20
20
  var setProvider = function setProvider(provider) {
21
21
  return function (state, dispatch) {
22
22
  if (dispatch) {
@@ -353,7 +353,7 @@ export var createTypeAheadConfig = function createTypeAheadConfig(_ref6) {
353
353
  return insert(buildNodesForTeamMention(schema, item.mention, mentionProvider, sanitizePrivateContent));
354
354
  }
355
355
  if (isXProductUser && mentionProvider && mentionProvider.inviteXProductUser) {
356
- mentionProvider.inviteXProductUser(id);
356
+ mentionProvider.inviteXProductUser(id, name);
357
357
  }
358
358
 
359
359
  // Don't insert into document if document data is sanitized.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-mentions",
3
- "version": "2.11.3",
3
+ "version": "2.13.0",
4
4
  "description": "Mentions plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -32,17 +32,17 @@
32
32
  },
33
33
  "dependencies": {
34
34
  "@atlaskit/adf-schema": "^46.1.0",
35
- "@atlaskit/editor-common": "^99.1.0",
35
+ "@atlaskit/editor-common": "^99.3.0",
36
36
  "@atlaskit/editor-plugin-analytics": "^1.10.0",
37
37
  "@atlaskit/editor-plugin-base": "^2.1.0",
38
38
  "@atlaskit/editor-plugin-context-identifier": "^1.3.0",
39
39
  "@atlaskit/editor-plugin-type-ahead": "^1.11.0",
40
40
  "@atlaskit/editor-prosemirror": "6.2.1",
41
- "@atlaskit/icon": "^23.3.0",
42
- "@atlaskit/mention": "^23.7.0",
41
+ "@atlaskit/icon": "^23.4.0",
42
+ "@atlaskit/mention": "^23.9.0",
43
43
  "@atlaskit/platform-feature-flags": "^0.3.0",
44
44
  "@atlaskit/theme": "^14.0.0",
45
- "@atlaskit/tokens": "^3.0.0",
45
+ "@atlaskit/tokens": "^3.1.0",
46
46
  "@babel/runtime": "^7.0.0",
47
47
  "@emotion/react": "^11.7.1",
48
48
  "uuid": "^3.1.0"