@atlaskit/editor-plugin-mentions 8.2.10 → 8.2.11

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,12 @@
1
1
  # @atlaskit/editor-plugin-mentions
2
2
 
3
+ ## 8.2.11
4
+
5
+ ### Patch Changes
6
+
7
+ - [`3d5a2ca32c070`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/3d5a2ca32c070) -
8
+ adding source as attribute to analytics event
9
+
3
10
  ## 8.2.10
4
11
 
5
12
  ### 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 = "0.0.0-development";
28
+ var PACKAGE_VERSION = "8.2.10";
29
29
  var setProvider = function setProvider(provider) {
30
30
  return function (state, dispatch) {
31
31
  if (dispatch) {
@@ -8,6 +8,7 @@ var _analytics = require("@atlaskit/editor-common/analytics");
8
8
  var _resource = require("@atlaskit/mention/resource");
9
9
  var _utils = require("./utils");
10
10
  var componentName = 'mention';
11
+ var source = 'mentionInEditor';
11
12
  var emptyQueryResponse = {
12
13
  queryLength: 0,
13
14
  spaceInQuery: false
@@ -67,7 +68,8 @@ var buildTypeAheadInviteItemViewedPayload = exports.buildTypeAheadInviteItemView
67
68
  objectId: objectId,
68
69
  childObjectId: childObjectId,
69
70
  userRole: userRole,
70
- sessionId: sessionId
71
+ sessionId: sessionId,
72
+ source: source
71
73
  }
72
74
  };
73
75
  };
@@ -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 = "0.0.0-development";
17
+ const PACKAGE_VERSION = "8.2.10";
18
18
  const setProvider = provider => (state, dispatch) => {
19
19
  if (dispatch) {
20
20
  dispatch(state.tr.setMeta(mentionPluginKey, {
@@ -2,6 +2,7 @@ import { ACTION, ACTION_SUBJECT, EVENT_TYPE } from '@atlaskit/editor-common/anal
2
2
  import { isSpecialMention } from '@atlaskit/mention/resource';
3
3
  import { isTeamType } from './utils';
4
4
  const componentName = 'mention';
5
+ const source = 'mentionInEditor';
5
6
  const emptyQueryResponse = {
6
7
  queryLength: 0,
7
8
  spaceInQuery: false
@@ -59,7 +60,8 @@ export const buildTypeAheadInviteItemViewedPayload = (sessionId, contextIdentifi
59
60
  objectId,
60
61
  childObjectId,
61
62
  userRole,
62
- sessionId
63
+ sessionId,
64
+ source
63
65
  }
64
66
  };
65
67
  };
@@ -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 = "0.0.0-development";
20
+ var PACKAGE_VERSION = "8.2.10";
21
21
  var setProvider = function setProvider(provider) {
22
22
  return function (state, dispatch) {
23
23
  if (dispatch) {
@@ -2,6 +2,7 @@ import { ACTION, ACTION_SUBJECT, EVENT_TYPE } from '@atlaskit/editor-common/anal
2
2
  import { isSpecialMention } from '@atlaskit/mention/resource';
3
3
  import { isTeamType } from './utils';
4
4
  var componentName = 'mention';
5
+ var source = 'mentionInEditor';
5
6
  var emptyQueryResponse = {
6
7
  queryLength: 0,
7
8
  spaceInQuery: false
@@ -61,7 +62,8 @@ export var buildTypeAheadInviteItemViewedPayload = function buildTypeAheadInvite
61
62
  objectId: objectId,
62
63
  childObjectId: childObjectId,
63
64
  userRole: userRole,
64
- sessionId: sessionId
65
+ sessionId: sessionId,
66
+ source: source
65
67
  }
66
68
  };
67
69
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-mentions",
3
- "version": "8.2.10",
3
+ "version": "8.2.11",
4
4
  "description": "Mentions plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",