@atlaskit/editor-plugin-mentions 4.1.7 → 4.2.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,18 @@
1
1
  # @atlaskit/editor-plugin-mentions
2
2
 
3
+ ## 4.2.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#133497](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/133497)
8
+ [`dccd8bcdef0a3`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/dccd8bcdef0a3) -
9
+ [ED-23460] Adding the objectId, containerId and childObjectId to the mention typeahead inserted
10
+ events
11
+
12
+ ### Patch Changes
13
+
14
+ - Updated dependencies
15
+
3
16
  ## 4.1.7
4
17
 
5
18
  ### 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 = "4.1.7";
27
+ var PACKAGE_VERSION = "4.2.0";
28
28
  var setProvider = function setProvider(provider) {
29
29
  return function (state, dispatch) {
30
30
  if (dispatch) {
@@ -115,6 +115,9 @@ var buildTypeAheadInsertedPayload = exports.buildTypeAheadInsertedPayload = func
115
115
  action: isClicked(insertType) ? _analytics.ACTION.CLICKED : _analytics.ACTION.PRESSED,
116
116
  actionSubject: _analytics.ACTION_SUBJECT.MENTION_TYPEAHEAD,
117
117
  eventType: _analytics.EVENT_TYPE.UI,
118
+ containerId: containerId,
119
+ objectId: objectId,
120
+ childObjectId: childObjectId,
118
121
  attributes: {
119
122
  sessionId: sessionId,
120
123
  duration: duration,
@@ -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.7";
16
+ const PACKAGE_VERSION = "4.2.0";
17
17
  const setProvider = provider => (state, dispatch) => {
18
18
  if (dispatch) {
19
19
  dispatch(state.tr.setMeta(mentionPluginKey, {
@@ -110,6 +110,9 @@ export const buildTypeAheadInsertedPayload = (duration, upKeyCount, downKeyCount
110
110
  action: isClicked(insertType) ? ACTION.CLICKED : ACTION.PRESSED,
111
111
  actionSubject: ACTION_SUBJECT.MENTION_TYPEAHEAD,
112
112
  eventType: EVENT_TYPE.UI,
113
+ containerId,
114
+ objectId,
115
+ childObjectId,
113
116
  attributes: {
114
117
  sessionId,
115
118
  duration,
@@ -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.7";
19
+ var PACKAGE_VERSION = "4.2.0";
20
20
  var setProvider = function setProvider(provider) {
21
21
  return function (state, dispatch) {
22
22
  if (dispatch) {
@@ -109,6 +109,9 @@ export var buildTypeAheadInsertedPayload = function buildTypeAheadInsertedPayloa
109
109
  action: isClicked(insertType) ? ACTION.CLICKED : ACTION.PRESSED,
110
110
  actionSubject: ACTION_SUBJECT.MENTION_TYPEAHEAD,
111
111
  eventType: EVENT_TYPE.UI,
112
+ containerId: containerId,
113
+ objectId: objectId,
114
+ childObjectId: childObjectId,
112
115
  attributes: {
113
116
  sessionId: sessionId,
114
117
  duration: duration,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-mentions",
3
- "version": "4.1.7",
3
+ "version": "4.2.0",
4
4
  "description": "Mentions plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -35,17 +35,17 @@
35
35
  "dependencies": {
36
36
  "@atlaskit/adf-schema": "^47.6.0",
37
37
  "@atlaskit/css": "^0.10.0",
38
- "@atlaskit/editor-common": "^102.12.0",
38
+ "@atlaskit/editor-common": "^102.15.0",
39
39
  "@atlaskit/editor-plugin-analytics": "^2.2.0",
40
40
  "@atlaskit/editor-plugin-base": "^2.3.0",
41
41
  "@atlaskit/editor-plugin-context-identifier": "^2.0.0",
42
- "@atlaskit/editor-plugin-type-ahead": "^2.1.0",
42
+ "@atlaskit/editor-plugin-type-ahead": "^2.2.0",
43
43
  "@atlaskit/editor-prosemirror": "7.0.0",
44
- "@atlaskit/icon": "^25.0.0",
44
+ "@atlaskit/icon": "^25.3.0",
45
45
  "@atlaskit/mention": "^24.1.0",
46
46
  "@atlaskit/platform-feature-flags": "^1.1.0",
47
47
  "@atlaskit/theme": "^18.0.0",
48
- "@atlaskit/tmp-editor-statsig": "^4.1.0",
48
+ "@atlaskit/tmp-editor-statsig": "^4.5.0",
49
49
  "@atlaskit/tokens": "^4.5.0",
50
50
  "@babel/runtime": "^7.0.0",
51
51
  "@compiled/react": "^0.18.3",