@atlaskit/editor-common 110.29.2 → 110.30.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,16 @@
|
|
|
1
1
|
# @atlaskit/editor-common
|
|
2
2
|
|
|
3
|
+
## 110.30.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [`42bd907443147`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/42bd907443147) -
|
|
8
|
+
NO-ISSUE Ensures INP metrics and other analytics account for max appearance
|
|
9
|
+
|
|
10
|
+
### Patch Changes
|
|
11
|
+
|
|
12
|
+
- Updated dependencies
|
|
13
|
+
|
|
3
14
|
## 110.29.2
|
|
4
15
|
|
|
5
16
|
### Patch Changes
|
|
@@ -22,6 +22,8 @@ var getAnalyticsAppearance = exports.getAnalyticsAppearance = function getAnalyt
|
|
|
22
22
|
return _FabricEditorAnalyticsContext.EDITOR_APPEARANCE_CONTEXT.CHROMELESS;
|
|
23
23
|
case 'mobile':
|
|
24
24
|
return _FabricEditorAnalyticsContext.EDITOR_APPEARANCE_CONTEXT.MOBILE;
|
|
25
|
+
case 'max':
|
|
26
|
+
return _FabricEditorAnalyticsContext.EDITOR_APPEARANCE_CONTEXT.MAX;
|
|
25
27
|
}
|
|
26
28
|
};
|
|
27
29
|
var getAnalyticsEditorAppearance = exports.getAnalyticsEditorAppearance = function getAnalyticsEditorAppearance(editorAppearance) {
|
|
@@ -14,6 +14,8 @@ export const getAnalyticsAppearance = appearance => {
|
|
|
14
14
|
return EDITOR_APPEARANCE_CONTEXT.CHROMELESS;
|
|
15
15
|
case 'mobile':
|
|
16
16
|
return EDITOR_APPEARANCE_CONTEXT.MOBILE;
|
|
17
|
+
case 'max':
|
|
18
|
+
return EDITOR_APPEARANCE_CONTEXT.MAX;
|
|
17
19
|
}
|
|
18
20
|
};
|
|
19
21
|
export const getAnalyticsEditorAppearance = editorAppearance => editorAppearance ? `editor_${getAnalyticsAppearance(editorAppearance)}` : '_unknown';
|
|
@@ -14,6 +14,8 @@ export var getAnalyticsAppearance = function getAnalyticsAppearance(appearance)
|
|
|
14
14
|
return EDITOR_APPEARANCE_CONTEXT.CHROMELESS;
|
|
15
15
|
case 'mobile':
|
|
16
16
|
return EDITOR_APPEARANCE_CONTEXT.MOBILE;
|
|
17
|
+
case 'max':
|
|
18
|
+
return EDITOR_APPEARANCE_CONTEXT.MAX;
|
|
17
19
|
}
|
|
18
20
|
};
|
|
19
21
|
export var getAnalyticsEditorAppearance = function getAnalyticsEditorAppearance(editorAppearance) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-common",
|
|
3
|
-
"version": "110.
|
|
3
|
+
"version": "110.30.0",
|
|
4
4
|
"description": "A package that contains common classes and components for editor and renderer",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"@atlaskit/adf-utils": "^19.26.0",
|
|
35
35
|
"@atlaskit/afm-i18n-platform-editor-editor-common": "2.10.0",
|
|
36
36
|
"@atlaskit/analytics-listeners": "^9.1.0",
|
|
37
|
-
"@atlaskit/analytics-namespaced-context": "^7.
|
|
37
|
+
"@atlaskit/analytics-namespaced-context": "^7.2.0",
|
|
38
38
|
"@atlaskit/analytics-next": "^11.1.0",
|
|
39
39
|
"@atlaskit/atlassian-context": "^0.6.0",
|
|
40
40
|
"@atlaskit/button": "^23.6.0",
|