@atlaskit/editor-plugin-layout 20.0.7 → 22.0.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,24 @@
1
1
  # @atlaskit/editor-plugin-layout
2
2
 
3
+ ## 22.0.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [`5c5d7a5bbff74`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/5c5d7a5bbff74) -
8
+ Cleanup `feature_gate` `platform_editor_element_browser_analytic`. Insert analytics permanently
9
+ report the caller's actual input method rather than always attributing the insertion to
10
+ `quickInsert`.
11
+
12
+ ### Patch Changes
13
+
14
+ - Updated dependencies
15
+
16
+ ## 21.0.0
17
+
18
+ ### Patch Changes
19
+
20
+ - Updated dependencies
21
+
3
22
  ## 20.0.7
4
23
 
5
24
  ### Patch Changes
@@ -185,7 +185,7 @@ var insertLayoutColumnsWithAnalytics = exports.insertLayoutColumnsWithAnalytics
185
185
  actionSubject: _analytics.ACTION_SUBJECT.DOCUMENT,
186
186
  actionSubjectId: _analytics.ACTION_SUBJECT_ID.LAYOUT,
187
187
  attributes: {
188
- inputMethod: (0, _fg.fg)('platform_editor_element_browser_analytic') ? inputMethod : _analytics.INPUT_METHOD.QUICK_INSERT,
188
+ inputMethod: inputMethod,
189
189
  columnCount: (0, _fg.fg)('platform_editor_column_count_analytics') ? 2 : undefined
190
190
  },
191
191
  eventType: _analytics.EVENT_TYPE.TRACK
@@ -165,7 +165,7 @@ export const insertLayoutColumnsWithAnalytics = editorAnalyticsAPI => inputMetho
165
165
  actionSubject: ACTION_SUBJECT.DOCUMENT,
166
166
  actionSubjectId: ACTION_SUBJECT_ID.LAYOUT,
167
167
  attributes: {
168
- inputMethod: fg('platform_editor_element_browser_analytic') ? inputMethod : INPUT_METHOD.QUICK_INSERT,
168
+ inputMethod,
169
169
  columnCount: fg('platform_editor_column_count_analytics') ? 2 : undefined
170
170
  },
171
171
  eventType: EVENT_TYPE.TRACK
@@ -175,7 +175,7 @@ export var insertLayoutColumnsWithAnalytics = function insertLayoutColumnsWithAn
175
175
  actionSubject: ACTION_SUBJECT.DOCUMENT,
176
176
  actionSubjectId: ACTION_SUBJECT_ID.LAYOUT,
177
177
  attributes: {
178
- inputMethod: fg('platform_editor_element_browser_analytic') ? inputMethod : INPUT_METHOD.QUICK_INSERT,
178
+ inputMethod: inputMethod,
179
179
  columnCount: fg('platform_editor_column_count_analytics') ? 2 : undefined
180
180
  },
181
181
  eventType: EVENT_TYPE.TRACK
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-layout",
3
- "version": "20.0.7",
3
+ "version": "22.0.0",
4
4
  "description": "Layout plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -23,41 +23,38 @@
23
23
  "dependencies": {
24
24
  "@atlaskit/adf-schema": "^57.6.0",
25
25
  "@atlaskit/css": "^1.1.0",
26
- "@atlaskit/editor-plugin-analytics": "^19.0.0",
27
- "@atlaskit/editor-plugin-block-controls": "^20.1.0",
28
- "@atlaskit/editor-plugin-block-menu": "^18.0.0",
29
- "@atlaskit/editor-plugin-decorations": "^19.0.0",
30
- "@atlaskit/editor-plugin-editor-disabled": "^19.0.0",
31
- "@atlaskit/editor-plugin-guideline": "^19.0.0",
32
- "@atlaskit/editor-plugin-interaction": "^33.0.0",
33
- "@atlaskit/editor-plugin-selection": "^19.0.0",
34
- "@atlaskit/editor-plugin-toolbar": "^16.0.0",
35
- "@atlaskit/editor-plugin-ui-control-registry": "^13.1.0",
36
- "@atlaskit/editor-plugin-user-intent": "^17.0.0",
37
- "@atlaskit/editor-plugin-width": "^20.0.0",
26
+ "@atlaskit/editor-plugin-analytics": "^21.0.0",
27
+ "@atlaskit/editor-plugin-block-controls": "^22.0.0",
28
+ "@atlaskit/editor-plugin-block-menu": "^20.0.0",
29
+ "@atlaskit/editor-plugin-decorations": "^21.0.0",
30
+ "@atlaskit/editor-plugin-editor-disabled": "^21.0.0",
31
+ "@atlaskit/editor-plugin-guideline": "^21.0.0",
32
+ "@atlaskit/editor-plugin-interaction": "^35.0.0",
33
+ "@atlaskit/editor-plugin-selection": "^21.0.0",
34
+ "@atlaskit/editor-plugin-toolbar": "^18.0.0",
35
+ "@atlaskit/editor-plugin-ui-control-registry": "^15.0.0",
36
+ "@atlaskit/editor-plugin-user-intent": "^19.0.0",
37
+ "@atlaskit/editor-plugin-width": "^22.0.0",
38
38
  "@atlaskit/editor-prosemirror": "^9.0.0",
39
39
  "@atlaskit/editor-shared-styles": "^4.3.0",
40
40
  "@atlaskit/editor-toolbar": "^2.7.0",
41
41
  "@atlaskit/editor-ui-control-model": "^2.10.0",
42
- "@atlaskit/icon": "^37.7.0",
42
+ "@atlaskit/icon": "^38.0.0",
43
43
  "@atlaskit/icon-lab": "^7.9.0",
44
44
  "@atlaskit/platform-feature-experiments": "^0.3.0",
45
45
  "@atlaskit/platform-feature-flags": "^2.2.0",
46
- "@atlaskit/tmp-editor-statsig": "^204.0.0",
47
- "@atlaskit/tokens": "^19.0.0",
46
+ "@atlaskit/tmp-editor-statsig": "^205.0.0",
47
+ "@atlaskit/tokens": "^20.0.0",
48
48
  "@babel/runtime": "^7.0.0",
49
49
  "@emotion/react": "^11.7.1",
50
50
  "bind-event-listener": "^3.0.0"
51
51
  },
52
52
  "peerDependencies": {
53
- "@atlaskit/editor-common": "^123.8.0",
53
+ "@atlaskit/editor-common": "^125.0.0",
54
54
  "react": "^18.2.0 || ^19.2.0",
55
55
  "react-intl": "^5.25.1 || ^6.0.0 || ^7.0.0"
56
56
  },
57
57
  "platform-feature-flags": {
58
- "platform_editor_element_browser_analytic": {
59
- "type": "boolean"
60
- },
61
58
  "platform_editor_column_count_analytics": {
62
59
  "type": "boolean"
63
60
  },