@atlaskit/editor-plugin-mentions 8.2.10 → 8.2.12

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,20 @@
1
1
  # @atlaskit/editor-plugin-mentions
2
2
 
3
+ ## 8.2.12
4
+
5
+ ### Patch Changes
6
+
7
+ - [`a05464ea42678`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/a05464ea42678) -
8
+ EDITOR-2791 bump adf-schema
9
+ - Updated dependencies
10
+
11
+ ## 8.2.11
12
+
13
+ ### Patch Changes
14
+
15
+ - [`3d5a2ca32c070`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/3d5a2ca32c070) -
16
+ adding source as attribute to analytics event
17
+
3
18
  ## 8.2.10
4
19
 
5
20
  ### 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.11";
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.11";
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.11";
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.12",
4
4
  "description": "Mentions plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -29,7 +29,7 @@
29
29
  ],
30
30
  "atlaskit:src": "src/index.ts",
31
31
  "dependencies": {
32
- "@atlaskit/adf-schema": "^51.3.2",
32
+ "@atlaskit/adf-schema": "^51.4.0",
33
33
  "@atlaskit/css": "^0.15.0",
34
34
  "@atlaskit/editor-plugin-analytics": "^6.2.0",
35
35
  "@atlaskit/editor-plugin-base": "^7.2.0",
@@ -55,7 +55,7 @@
55
55
  "uuid": "^3.1.0"
56
56
  },
57
57
  "peerDependencies": {
58
- "@atlaskit/editor-common": "^110.29.0",
58
+ "@atlaskit/editor-common": "^110.32.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"