@atlaskit/analytics-namespaced-context 6.7.3 → 6.8.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 +33 -21
- package/PostOfficeAnalyticsContext/package.json +14 -0
- package/afm-cc/tsconfig.json +25 -0
- package/dist/cjs/AtlasAnalyticsContext.js +2 -4
- package/dist/cjs/FabricEditorAnalyticsContext.js +3 -6
- package/dist/cjs/FabricElementsAnalyticsContext.js +2 -4
- package/dist/cjs/LinkingPlatformAnalyticsContext.js +2 -4
- package/dist/cjs/MediaAnalyticsContext.js +2 -3
- package/dist/cjs/NavigationAnalyticsContext.js +2 -4
- package/dist/cjs/NotificationsAnalyticsContext.js +2 -4
- package/dist/cjs/PeopleTeamsAnalyticsContext.js +2 -4
- package/dist/cjs/PostOfficeAnalyticsContext.js +10 -0
- package/dist/cjs/RecentWorkAnalyticsContext.js +2 -4
- package/dist/cjs/helper/createNamespaceContext.js +1 -2
- package/dist/cjs/index.js +14 -1
- package/dist/es2019/PostOfficeAnalyticsContext.js +3 -0
- package/dist/es2019/index.js +2 -1
- package/dist/esm/PostOfficeAnalyticsContext.js +3 -0
- package/dist/esm/index.js +2 -1
- package/dist/types/PostOfficeAnalyticsContext.d.ts +4 -0
- package/dist/types/index.d.ts +1 -0
- package/dist/types-ts4.5/PostOfficeAnalyticsContext.d.ts +4 -0
- package/dist/types-ts4.5/index.d.ts +1 -0
- package/package.json +6 -2
- package/tmp/api-report-tmp.d.ts +0 -94
package/CHANGELOG.md
CHANGED
|
@@ -1,28 +1,40 @@
|
|
|
1
1
|
# @atlaskit/analytics-namespaced-context
|
|
2
2
|
|
|
3
|
+
## 6.8.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#65162](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/65162) [`8374b2b32c18`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8374b2b32c18) - Add PostOffice analytics listener and namespaced context
|
|
8
|
+
|
|
9
|
+
## 6.7.4
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [#41325](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/41325) [`5ecc6e21ca8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/5ecc6e21ca8) - Enrol @atlaskit/analytics-namespaced-context to push model in JFE.
|
|
14
|
+
|
|
3
15
|
## 6.7.3
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
|
6
18
|
|
|
7
|
-
- [`fd6bb9c9184`](https://bitbucket.org/atlassian/atlassian-frontend/commits/fd6bb9c9184) - Delete version.json
|
|
19
|
+
- [#38162](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/38162) [`fd6bb9c9184`](https://bitbucket.org/atlassian/atlassian-frontend/commits/fd6bb9c9184) - Delete version.json
|
|
8
20
|
|
|
9
21
|
## 6.7.2
|
|
10
22
|
|
|
11
23
|
### Patch Changes
|
|
12
24
|
|
|
13
|
-
- [`9d00501a414`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9d00501a414) - Ensure legacy types are published for TS 4.5-4.8
|
|
25
|
+
- [#33793](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33793) [`9d00501a414`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9d00501a414) - Ensure legacy types are published for TS 4.5-4.8
|
|
14
26
|
|
|
15
27
|
## 6.7.1
|
|
16
28
|
|
|
17
29
|
### Patch Changes
|
|
18
30
|
|
|
19
|
-
- [`41fae2c6f68`](https://bitbucket.org/atlassian/atlassian-frontend/commits/41fae2c6f68) - Upgrade Typescript from `4.5.5` to `4.9.5`
|
|
31
|
+
- [#33649](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33649) [`41fae2c6f68`](https://bitbucket.org/atlassian/atlassian-frontend/commits/41fae2c6f68) - Upgrade Typescript from `4.5.5` to `4.9.5`
|
|
20
32
|
|
|
21
33
|
## 6.7.0
|
|
22
34
|
|
|
23
35
|
### Minor Changes
|
|
24
36
|
|
|
25
|
-
- [`56507598609`](https://bitbucket.org/atlassian/atlassian-frontend/commits/56507598609) - Skip minor dependency bump
|
|
37
|
+
- [#33258](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33258) [`56507598609`](https://bitbucket.org/atlassian/atlassian-frontend/commits/56507598609) - Skip minor dependency bump
|
|
26
38
|
|
|
27
39
|
### Patch Changes
|
|
28
40
|
|
|
@@ -38,73 +50,73 @@
|
|
|
38
50
|
|
|
39
51
|
### Minor Changes
|
|
40
52
|
|
|
41
|
-
- [`f07e3c52271`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f07e3c52271) - Added linkingPlatform namespaced context
|
|
53
|
+
- [#28780](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/28780) [`f07e3c52271`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f07e3c52271) - Added linkingPlatform namespaced context
|
|
42
54
|
|
|
43
55
|
## 6.5.2
|
|
44
56
|
|
|
45
57
|
### Patch Changes
|
|
46
58
|
|
|
47
|
-
- [`8cc2f888c83`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8cc2f888c83) - Upgrade Typescript from `4.3.5` to `4.5.5`
|
|
59
|
+
- [#24874](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24874) [`8cc2f888c83`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8cc2f888c83) - Upgrade Typescript from `4.3.5` to `4.5.5`
|
|
48
60
|
|
|
49
61
|
## 6.5.1
|
|
50
62
|
|
|
51
63
|
### Patch Changes
|
|
52
64
|
|
|
53
|
-
- [`8d4228767b0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8d4228767b0) - Upgrade Typescript from `4.2.4` to `4.3.5`.
|
|
65
|
+
- [#24492](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24492) [`8d4228767b0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8d4228767b0) - Upgrade Typescript from `4.2.4` to `4.3.5`.
|
|
54
66
|
|
|
55
67
|
## 6.5.0
|
|
56
68
|
|
|
57
69
|
### Minor Changes
|
|
58
70
|
|
|
59
|
-
- [`b6c9baebdf9`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b6c9baebdf9) - Add Atlas analytics listener
|
|
71
|
+
- [#22842](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/22842) [`b6c9baebdf9`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b6c9baebdf9) - Add Atlas analytics listener
|
|
60
72
|
|
|
61
73
|
## 6.4.1
|
|
62
74
|
|
|
63
75
|
### Patch Changes
|
|
64
76
|
|
|
65
|
-
- [`cb2392f6d33`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cb2392f6d33) - Upgrade to TypeScript 4.2.4
|
|
77
|
+
- [#20650](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/20650) [`cb2392f6d33`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cb2392f6d33) - Upgrade to TypeScript 4.2.4
|
|
66
78
|
|
|
67
79
|
## 6.4.0
|
|
68
80
|
|
|
69
81
|
### Minor Changes
|
|
70
82
|
|
|
71
|
-
- [`a21e53776ff`](https://bitbucket.org/atlassian/atlassian-frontend/commits/a21e53776ff) - Added a recentWork channel
|
|
83
|
+
- [#18423](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/18423) [`a21e53776ff`](https://bitbucket.org/atlassian/atlassian-frontend/commits/a21e53776ff) - Added a recentWork channel
|
|
72
84
|
|
|
73
85
|
## 6.3.0
|
|
74
86
|
|
|
75
87
|
### Minor Changes
|
|
76
88
|
|
|
77
|
-
- [`450a8582760`](https://bitbucket.org/atlassian/atlassian-frontend/commits/450a8582760) - Added editor re-render analytics event.
|
|
89
|
+
- [#12837](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/12837) [`450a8582760`](https://bitbucket.org/atlassian/atlassian-frontend/commits/450a8582760) - Added editor re-render analytics event.
|
|
78
90
|
|
|
79
91
|
## 6.2.0
|
|
80
92
|
|
|
81
93
|
### Minor Changes
|
|
82
94
|
|
|
83
|
-
- [`4c05694bca8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4c05694bca8) - Changed componentName to renderer in AnalyticsContext.
|
|
95
|
+
- [#10569](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/10569) [`4c05694bca8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4c05694bca8) - Changed componentName to renderer in AnalyticsContext.
|
|
84
96
|
|
|
85
97
|
## 6.1.0
|
|
86
98
|
|
|
87
99
|
### Minor Changes
|
|
88
100
|
|
|
89
|
-
- [`1ecfe397c00`](https://bitbucket.org/atlassian/atlassian-frontend/commits/1ecfe397c00) - Added a notification channel
|
|
101
|
+
- [#9555](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/9555) [`1ecfe397c00`](https://bitbucket.org/atlassian/atlassian-frontend/commits/1ecfe397c00) - Added a notification channel
|
|
90
102
|
|
|
91
103
|
## 6.0.0
|
|
92
104
|
|
|
93
105
|
### Major Changes
|
|
94
106
|
|
|
95
|
-
- [`4f1d3a6b22a`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4f1d3a6b22a) - Refactored Media Analytics Namespaced Context (now delivered by our HOC in media-common)
|
|
107
|
+
- [#8644](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/8644) [`4f1d3a6b22a`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4f1d3a6b22a) - Refactored Media Analytics Namespaced Context (now delivered by our HOC in media-common)
|
|
96
108
|
|
|
97
109
|
## 5.1.4
|
|
98
110
|
|
|
99
111
|
### Patch Changes
|
|
100
112
|
|
|
101
|
-
- [`d3265f19be`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d3265f19be) - Transpile packages using babel rather than tsc
|
|
113
|
+
- [#5857](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/5857) [`d3265f19be`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d3265f19be) - Transpile packages using babel rather than tsc
|
|
102
114
|
|
|
103
115
|
## 5.1.3
|
|
104
116
|
|
|
105
117
|
### Patch Changes
|
|
106
118
|
|
|
107
|
-
- [`5f58283e1f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/5f58283e1f) - Export types using Typescript's new "export type" syntax to satisfy Typescript's --isolatedModules compiler option.
|
|
119
|
+
- [#5497](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/5497) [`5f58283e1f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/5f58283e1f) - Export types using Typescript's new "export type" syntax to satisfy Typescript's --isolatedModules compiler option.
|
|
108
120
|
This requires version 3.8 of Typescript, read more about how we handle Typescript versions here: https://atlaskit.atlassian.com/get-started
|
|
109
121
|
Also add `typescript` to `devDependencies` to denote version that the package was built with.
|
|
110
122
|
|
|
@@ -118,7 +130,7 @@
|
|
|
118
130
|
|
|
119
131
|
### Patch Changes
|
|
120
132
|
|
|
121
|
-
- [`6c525a8229`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6c525a8229) - Upgraded to TypeScript 3.9.6 and tslib to 2.0.0
|
|
133
|
+
- [#3885](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3885) [`6c525a8229`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6c525a8229) - Upgraded to TypeScript 3.9.6 and tslib to 2.0.0
|
|
122
134
|
|
|
123
135
|
Since tslib is a dependency for all our packages we recommend that products also follow this tslib upgrade
|
|
124
136
|
to prevent duplicates of tslib being bundled.
|
|
@@ -127,7 +139,7 @@
|
|
|
127
139
|
|
|
128
140
|
### Minor Changes
|
|
129
141
|
|
|
130
|
-
- [`6faafb144c`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6faafb144c) - Introduce MediaFeatureFlags. Refactor components to use.
|
|
142
|
+
- [#3823](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3823) [`6faafb144c`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6faafb144c) - Introduce MediaFeatureFlags. Refactor components to use.
|
|
131
143
|
|
|
132
144
|
### Patch Changes
|
|
133
145
|
|
|
@@ -137,13 +149,13 @@
|
|
|
137
149
|
|
|
138
150
|
### Patch Changes
|
|
139
151
|
|
|
140
|
-
- [`89df1041d5`](https://bitbucket.org/atlassian/atlassian-frontend/commits/89df1041d5) - Attach Media Card Feature Flags to Analytics Events
|
|
152
|
+
- [#3428](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3428) [`89df1041d5`](https://bitbucket.org/atlassian/atlassian-frontend/commits/89df1041d5) - Attach Media Card Feature Flags to Analytics Events
|
|
141
153
|
|
|
142
154
|
## 5.0.0
|
|
143
155
|
|
|
144
156
|
### Major Changes
|
|
145
157
|
|
|
146
|
-
- [`87f4720f27`](https://bitbucket.org/atlassian/atlassian-frontend/commits/87f4720f27) - Officially dropping IE11 support, from this version onwards there are no warranties of the package working in IE11.
|
|
158
|
+
- [#3335](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3335) [`87f4720f27`](https://bitbucket.org/atlassian/atlassian-frontend/commits/87f4720f27) - Officially dropping IE11 support, from this version onwards there are no warranties of the package working in IE11.
|
|
147
159
|
For more information see: https://community.developer.atlassian.com/t/atlaskit-to-drop-support-for-internet-explorer-11-from-1st-july-2020/39534
|
|
148
160
|
|
|
149
161
|
### Patch Changes
|
|
@@ -154,7 +166,7 @@
|
|
|
154
166
|
|
|
155
167
|
### Minor Changes
|
|
156
168
|
|
|
157
|
-
- [`f895125071`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f895125071) - Add new analytics channel "peopleTeams"
|
|
169
|
+
- [#2831](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/2831) [`f895125071`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f895125071) - Add new analytics channel "peopleTeams"
|
|
158
170
|
|
|
159
171
|
## 4.2.0
|
|
160
172
|
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@atlaskit/analytics-namespaced-context/PostOfficeAnalyticsContext",
|
|
3
|
+
"main": "../dist/cjs/PostOfficeAnalyticsContext.js",
|
|
4
|
+
"module": "../dist/esm/PostOfficeAnalyticsContext.js",
|
|
5
|
+
"module:es2019": "../dist/es2019/PostOfficeAnalyticsContext.js",
|
|
6
|
+
"types": "../dist/types/PostOfficeAnalyticsContext.d.ts",
|
|
7
|
+
"typesVersions": {
|
|
8
|
+
">=4.5 <4.9": {
|
|
9
|
+
"*": [
|
|
10
|
+
"../dist/types-ts4.5/PostOfficeAnalyticsContext.d.ts"
|
|
11
|
+
]
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
{
|
|
2
|
+
"extends": "../../../../tsconfig.entry-points.confluence.json",
|
|
3
|
+
"compilerOptions": {
|
|
4
|
+
"declaration": true,
|
|
5
|
+
"target": "es5",
|
|
6
|
+
"composite": true,
|
|
7
|
+
"outDir": "../dist",
|
|
8
|
+
"rootDir": "../",
|
|
9
|
+
"baseUrl": "../"
|
|
10
|
+
},
|
|
11
|
+
"include": [
|
|
12
|
+
"../src/**/*.ts",
|
|
13
|
+
"../src/**/*.tsx"
|
|
14
|
+
],
|
|
15
|
+
"exclude": [
|
|
16
|
+
"../src/**/__tests__/*",
|
|
17
|
+
"../src/**/*.test.*",
|
|
18
|
+
"../src/**/test.*"
|
|
19
|
+
],
|
|
20
|
+
"references": [
|
|
21
|
+
{
|
|
22
|
+
"path": "../../analytics-next/afm-cc/tsconfig.json"
|
|
23
|
+
}
|
|
24
|
+
]
|
|
25
|
+
}
|
|
@@ -6,7 +6,5 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
});
|
|
7
7
|
exports.AtlasAnalyticsContext = exports.ATLAS_CONTEXT = void 0;
|
|
8
8
|
var _createNamespaceContext = _interopRequireDefault(require("./helper/createNamespaceContext"));
|
|
9
|
-
var ATLAS_CONTEXT = 'atlasCtx';
|
|
10
|
-
exports.
|
|
11
|
-
var AtlasAnalyticsContext = (0, _createNamespaceContext.default)(ATLAS_CONTEXT, 'AtlasAnalyticsContext');
|
|
12
|
-
exports.AtlasAnalyticsContext = AtlasAnalyticsContext;
|
|
9
|
+
var ATLAS_CONTEXT = exports.ATLAS_CONTEXT = 'atlasCtx';
|
|
10
|
+
var AtlasAnalyticsContext = exports.AtlasAnalyticsContext = (0, _createNamespaceContext.default)(ATLAS_CONTEXT, 'AtlasAnalyticsContext');
|
|
@@ -6,9 +6,8 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
});
|
|
7
7
|
exports.FabricEditorAnalyticsContext = exports.EDITOR_CONTEXT = exports.EDITOR_APPEARANCE_CONTEXT = void 0;
|
|
8
8
|
var _createNamespaceContext = _interopRequireDefault(require("./helper/createNamespaceContext"));
|
|
9
|
-
var EDITOR_CONTEXT = 'fabricEditorCtx';
|
|
10
|
-
exports.
|
|
11
|
-
var EDITOR_APPEARANCE_CONTEXT = /*#__PURE__*/function (EDITOR_APPEARANCE_CONTEXT) {
|
|
9
|
+
var EDITOR_CONTEXT = exports.EDITOR_CONTEXT = 'fabricEditorCtx';
|
|
10
|
+
var EDITOR_APPEARANCE_CONTEXT = exports.EDITOR_APPEARANCE_CONTEXT = /*#__PURE__*/function (EDITOR_APPEARANCE_CONTEXT) {
|
|
12
11
|
EDITOR_APPEARANCE_CONTEXT["FIXED_WIDTH"] = "fixedWidth";
|
|
13
12
|
EDITOR_APPEARANCE_CONTEXT["FULL_WIDTH"] = "fullWidth";
|
|
14
13
|
EDITOR_APPEARANCE_CONTEXT["COMMENT"] = "comment";
|
|
@@ -16,6 +15,4 @@ var EDITOR_APPEARANCE_CONTEXT = /*#__PURE__*/function (EDITOR_APPEARANCE_CONTEXT
|
|
|
16
15
|
EDITOR_APPEARANCE_CONTEXT["MOBILE"] = "mobile";
|
|
17
16
|
return EDITOR_APPEARANCE_CONTEXT;
|
|
18
17
|
}({});
|
|
19
|
-
exports.
|
|
20
|
-
var FabricEditorAnalyticsContext = (0, _createNamespaceContext.default)(EDITOR_CONTEXT, 'FabricEditorAnalyticsContext');
|
|
21
|
-
exports.FabricEditorAnalyticsContext = FabricEditorAnalyticsContext;
|
|
18
|
+
var FabricEditorAnalyticsContext = exports.FabricEditorAnalyticsContext = (0, _createNamespaceContext.default)(EDITOR_CONTEXT, 'FabricEditorAnalyticsContext');
|
|
@@ -6,7 +6,5 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
});
|
|
7
7
|
exports.FabricElementsAnalyticsContext = exports.ELEMENTS_CONTEXT = void 0;
|
|
8
8
|
var _createNamespaceContext = _interopRequireDefault(require("./helper/createNamespaceContext"));
|
|
9
|
-
var ELEMENTS_CONTEXT = 'fabricElementsCtx';
|
|
10
|
-
exports.
|
|
11
|
-
var FabricElementsAnalyticsContext = (0, _createNamespaceContext.default)(ELEMENTS_CONTEXT, 'FabricElementsAnalyticsContext');
|
|
12
|
-
exports.FabricElementsAnalyticsContext = FabricElementsAnalyticsContext;
|
|
9
|
+
var ELEMENTS_CONTEXT = exports.ELEMENTS_CONTEXT = 'fabricElementsCtx';
|
|
10
|
+
var FabricElementsAnalyticsContext = exports.FabricElementsAnalyticsContext = (0, _createNamespaceContext.default)(ELEMENTS_CONTEXT, 'FabricElementsAnalyticsContext');
|
|
@@ -6,7 +6,5 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
});
|
|
7
7
|
exports.LinkingPlatformAnalyticsContext = exports.LINKING_PLATFORM_CONTEXT = void 0;
|
|
8
8
|
var _createNamespaceContext = _interopRequireDefault(require("./helper/createNamespaceContext"));
|
|
9
|
-
var LINKING_PLATFORM_CONTEXT = 'linkingPlatformCtx';
|
|
10
|
-
exports.
|
|
11
|
-
var LinkingPlatformAnalyticsContext = (0, _createNamespaceContext.default)(LINKING_PLATFORM_CONTEXT, 'LinkingPlatformAnalyticsContext');
|
|
12
|
-
exports.LinkingPlatformAnalyticsContext = LinkingPlatformAnalyticsContext;
|
|
9
|
+
var LINKING_PLATFORM_CONTEXT = exports.LINKING_PLATFORM_CONTEXT = 'linkingPlatformCtx';
|
|
10
|
+
var LinkingPlatformAnalyticsContext = exports.LinkingPlatformAnalyticsContext = (0, _createNamespaceContext.default)(LINKING_PLATFORM_CONTEXT, 'LinkingPlatformAnalyticsContext');
|
|
@@ -5,10 +5,9 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.MEDIA_CONTEXT = void 0;
|
|
7
7
|
// Media uses a namespaced analytics context under the following key MEDIA_CONTEXT.
|
|
8
|
-
var MEDIA_CONTEXT = 'mediaCtx';
|
|
8
|
+
var MEDIA_CONTEXT = exports.MEDIA_CONTEXT = 'mediaCtx';
|
|
9
9
|
|
|
10
10
|
// However we don't export any JSX component to create that namespaced analytics context.
|
|
11
11
|
// In media components, analytics context is being created by this component:
|
|
12
12
|
|
|
13
|
-
// @see packages/media/media-common/src/analytics/withMediaAnalyticsContext.tsx
|
|
14
|
-
exports.MEDIA_CONTEXT = MEDIA_CONTEXT;
|
|
13
|
+
// @see packages/media/media-common/src/analytics/withMediaAnalyticsContext.tsx
|
|
@@ -6,7 +6,5 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
});
|
|
7
7
|
exports.NavigationAnalyticsContext = exports.NAVIGATION_CONTEXT = void 0;
|
|
8
8
|
var _createNamespaceContext = _interopRequireDefault(require("./helper/createNamespaceContext"));
|
|
9
|
-
var NAVIGATION_CONTEXT = 'navigationCtx';
|
|
10
|
-
exports.
|
|
11
|
-
var NavigationAnalyticsContext = (0, _createNamespaceContext.default)(NAVIGATION_CONTEXT, 'NavigationAnalyticsContext');
|
|
12
|
-
exports.NavigationAnalyticsContext = NavigationAnalyticsContext;
|
|
9
|
+
var NAVIGATION_CONTEXT = exports.NAVIGATION_CONTEXT = 'navigationCtx';
|
|
10
|
+
var NavigationAnalyticsContext = exports.NavigationAnalyticsContext = (0, _createNamespaceContext.default)(NAVIGATION_CONTEXT, 'NavigationAnalyticsContext');
|
|
@@ -6,7 +6,5 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
});
|
|
7
7
|
exports.NotificationsAnalyticsContext = exports.NOTIFICATIONS_CONTEXT = void 0;
|
|
8
8
|
var _createNamespaceContext = _interopRequireDefault(require("./helper/createNamespaceContext"));
|
|
9
|
-
var NOTIFICATIONS_CONTEXT = 'NotificationsCtx';
|
|
10
|
-
exports.
|
|
11
|
-
var NotificationsAnalyticsContext = (0, _createNamespaceContext.default)(NOTIFICATIONS_CONTEXT, 'NotificationsAnalyticsContext');
|
|
12
|
-
exports.NotificationsAnalyticsContext = NotificationsAnalyticsContext;
|
|
9
|
+
var NOTIFICATIONS_CONTEXT = exports.NOTIFICATIONS_CONTEXT = 'NotificationsCtx';
|
|
10
|
+
var NotificationsAnalyticsContext = exports.NotificationsAnalyticsContext = (0, _createNamespaceContext.default)(NOTIFICATIONS_CONTEXT, 'NotificationsAnalyticsContext');
|
|
@@ -6,7 +6,5 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
});
|
|
7
7
|
exports.PeopleTeamsAnalyticsContext = exports.PEOPLE_TEAMS_CONTEXT = void 0;
|
|
8
8
|
var _createNamespaceContext = _interopRequireDefault(require("./helper/createNamespaceContext"));
|
|
9
|
-
var PEOPLE_TEAMS_CONTEXT = 'peopleTeamsCtx';
|
|
10
|
-
exports.
|
|
11
|
-
var PeopleTeamsAnalyticsContext = (0, _createNamespaceContext.default)(PEOPLE_TEAMS_CONTEXT, 'PeopleTeamsAnalyticsContext');
|
|
12
|
-
exports.PeopleTeamsAnalyticsContext = PeopleTeamsAnalyticsContext;
|
|
9
|
+
var PEOPLE_TEAMS_CONTEXT = exports.PEOPLE_TEAMS_CONTEXT = 'peopleTeamsCtx';
|
|
10
|
+
var PeopleTeamsAnalyticsContext = exports.PeopleTeamsAnalyticsContext = (0, _createNamespaceContext.default)(PEOPLE_TEAMS_CONTEXT, 'PeopleTeamsAnalyticsContext');
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
+
Object.defineProperty(exports, "__esModule", {
|
|
5
|
+
value: true
|
|
6
|
+
});
|
|
7
|
+
exports.PostOfficeAnalyticsContext = exports.POST_OFFICE_CONTEXT = void 0;
|
|
8
|
+
var _createNamespaceContext = _interopRequireDefault(require("./helper/createNamespaceContext"));
|
|
9
|
+
var POST_OFFICE_CONTEXT = exports.POST_OFFICE_CONTEXT = 'postOfficeCtx';
|
|
10
|
+
var PostOfficeAnalyticsContext = exports.PostOfficeAnalyticsContext = (0, _createNamespaceContext.default)(POST_OFFICE_CONTEXT, 'PostOfficeAnalyticsContext');
|
|
@@ -6,7 +6,5 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
});
|
|
7
7
|
exports.RecentWorkAnalyticsContext = exports.RECENT_WORK_CONTEXT = void 0;
|
|
8
8
|
var _createNamespaceContext = _interopRequireDefault(require("./helper/createNamespaceContext"));
|
|
9
|
-
var RECENT_WORK_CONTEXT = 'RecentWorkCtx';
|
|
10
|
-
exports.
|
|
11
|
-
var RecentWorkAnalyticsContext = (0, _createNamespaceContext.default)(RECENT_WORK_CONTEXT, 'RecentWorkAnalyticsContext');
|
|
12
|
-
exports.RecentWorkAnalyticsContext = RecentWorkAnalyticsContext;
|
|
9
|
+
var RECENT_WORK_CONTEXT = exports.RECENT_WORK_CONTEXT = 'RecentWorkCtx';
|
|
10
|
+
var RecentWorkAnalyticsContext = exports.RecentWorkAnalyticsContext = (0, _createNamespaceContext.default)(RECENT_WORK_CONTEXT, 'RecentWorkAnalyticsContext');
|
|
@@ -19,5 +19,4 @@ var createNamespaceContext = function createNamespaceContext(namespace) {
|
|
|
19
19
|
Component.displayName = displayName;
|
|
20
20
|
return Component;
|
|
21
21
|
};
|
|
22
|
-
var _default = createNamespaceContext;
|
|
23
|
-
exports.default = _default;
|
|
22
|
+
var _default = exports.default = createNamespaceContext;
|
package/dist/cjs/index.js
CHANGED
|
@@ -93,12 +93,24 @@ Object.defineProperty(exports, "PEOPLE_TEAMS_CONTEXT", {
|
|
|
93
93
|
return _PeopleTeamsAnalyticsContext.PEOPLE_TEAMS_CONTEXT;
|
|
94
94
|
}
|
|
95
95
|
});
|
|
96
|
+
Object.defineProperty(exports, "POST_OFFICE_CONTEXT", {
|
|
97
|
+
enumerable: true,
|
|
98
|
+
get: function get() {
|
|
99
|
+
return _PostOfficeAnalyticsContext.POST_OFFICE_CONTEXT;
|
|
100
|
+
}
|
|
101
|
+
});
|
|
96
102
|
Object.defineProperty(exports, "PeopleTeamsAnalyticsContext", {
|
|
97
103
|
enumerable: true,
|
|
98
104
|
get: function get() {
|
|
99
105
|
return _PeopleTeamsAnalyticsContext.PeopleTeamsAnalyticsContext;
|
|
100
106
|
}
|
|
101
107
|
});
|
|
108
|
+
Object.defineProperty(exports, "PostOfficeAnalyticsContext", {
|
|
109
|
+
enumerable: true,
|
|
110
|
+
get: function get() {
|
|
111
|
+
return _PostOfficeAnalyticsContext.PostOfficeAnalyticsContext;
|
|
112
|
+
}
|
|
113
|
+
});
|
|
102
114
|
Object.defineProperty(exports, "RECENT_WORK_CONTEXT", {
|
|
103
115
|
enumerable: true,
|
|
104
116
|
get: function get() {
|
|
@@ -119,4 +131,5 @@ var _PeopleTeamsAnalyticsContext = require("./PeopleTeamsAnalyticsContext");
|
|
|
119
131
|
var _NotificationsAnalyticsContext = require("./NotificationsAnalyticsContext");
|
|
120
132
|
var _RecentWorkAnalyticsContext = require("./RecentWorkAnalyticsContext");
|
|
121
133
|
var _AtlasAnalyticsContext = require("./AtlasAnalyticsContext");
|
|
122
|
-
var _LinkingPlatformAnalyticsContext = require("./LinkingPlatformAnalyticsContext");
|
|
134
|
+
var _LinkingPlatformAnalyticsContext = require("./LinkingPlatformAnalyticsContext");
|
|
135
|
+
var _PostOfficeAnalyticsContext = require("./PostOfficeAnalyticsContext");
|
package/dist/es2019/index.js
CHANGED
|
@@ -6,4 +6,5 @@ export { PEOPLE_TEAMS_CONTEXT, PeopleTeamsAnalyticsContext } from './PeopleTeams
|
|
|
6
6
|
export { NOTIFICATIONS_CONTEXT, NotificationsAnalyticsContext } from './NotificationsAnalyticsContext';
|
|
7
7
|
export { RECENT_WORK_CONTEXT, RecentWorkAnalyticsContext } from './RecentWorkAnalyticsContext';
|
|
8
8
|
export { ATLAS_CONTEXT, AtlasAnalyticsContext } from './AtlasAnalyticsContext';
|
|
9
|
-
export { LINKING_PLATFORM_CONTEXT, LinkingPlatformAnalyticsContext } from './LinkingPlatformAnalyticsContext';
|
|
9
|
+
export { LINKING_PLATFORM_CONTEXT, LinkingPlatformAnalyticsContext } from './LinkingPlatformAnalyticsContext';
|
|
10
|
+
export { POST_OFFICE_CONTEXT, PostOfficeAnalyticsContext } from './PostOfficeAnalyticsContext';
|
package/dist/esm/index.js
CHANGED
|
@@ -6,4 +6,5 @@ export { PEOPLE_TEAMS_CONTEXT, PeopleTeamsAnalyticsContext } from './PeopleTeams
|
|
|
6
6
|
export { NOTIFICATIONS_CONTEXT, NotificationsAnalyticsContext } from './NotificationsAnalyticsContext';
|
|
7
7
|
export { RECENT_WORK_CONTEXT, RecentWorkAnalyticsContext } from './RecentWorkAnalyticsContext';
|
|
8
8
|
export { ATLAS_CONTEXT, AtlasAnalyticsContext } from './AtlasAnalyticsContext';
|
|
9
|
-
export { LINKING_PLATFORM_CONTEXT, LinkingPlatformAnalyticsContext } from './LinkingPlatformAnalyticsContext';
|
|
9
|
+
export { LINKING_PLATFORM_CONTEXT, LinkingPlatformAnalyticsContext } from './LinkingPlatformAnalyticsContext';
|
|
10
|
+
export { POST_OFFICE_CONTEXT, PostOfficeAnalyticsContext } from './PostOfficeAnalyticsContext';
|
package/dist/types/index.d.ts
CHANGED
|
@@ -7,3 +7,4 @@ export { NOTIFICATIONS_CONTEXT, NotificationsAnalyticsContext, } from './Notific
|
|
|
7
7
|
export { RECENT_WORK_CONTEXT, RecentWorkAnalyticsContext, } from './RecentWorkAnalyticsContext';
|
|
8
8
|
export { ATLAS_CONTEXT, AtlasAnalyticsContext } from './AtlasAnalyticsContext';
|
|
9
9
|
export { LINKING_PLATFORM_CONTEXT, LinkingPlatformAnalyticsContext, } from './LinkingPlatformAnalyticsContext';
|
|
10
|
+
export { POST_OFFICE_CONTEXT, PostOfficeAnalyticsContext, } from './PostOfficeAnalyticsContext';
|
|
@@ -7,3 +7,4 @@ export { NOTIFICATIONS_CONTEXT, NotificationsAnalyticsContext, } from './Notific
|
|
|
7
7
|
export { RECENT_WORK_CONTEXT, RecentWorkAnalyticsContext, } from './RecentWorkAnalyticsContext';
|
|
8
8
|
export { ATLAS_CONTEXT, AtlasAnalyticsContext } from './AtlasAnalyticsContext';
|
|
9
9
|
export { LINKING_PLATFORM_CONTEXT, LinkingPlatformAnalyticsContext, } from './LinkingPlatformAnalyticsContext';
|
|
10
|
+
export { POST_OFFICE_CONTEXT, PostOfficeAnalyticsContext, } from './PostOfficeAnalyticsContext';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/analytics-namespaced-context",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.8.0",
|
|
4
4
|
"description": "Provides a namespace for AnalyticsContext data (@atlaskit/analytics-next)",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -28,11 +28,15 @@
|
|
|
28
28
|
"./RecentWorkAnalyticsContext": "./src/RecentWorkAnalyticsContext.tsx",
|
|
29
29
|
"./AtlasAnalyticsContext": "./src/AtlasAnalyticsContext.tsx",
|
|
30
30
|
"./LinkingPlatformAnalyticsContext": "./src/LinkingPlatformAnalyticsContext.tsx",
|
|
31
|
+
"./PostOfficeAnalyticsContext": "./src/PostOfficeAnalyticsContext.tsx",
|
|
31
32
|
".": "./src/index.ts"
|
|
32
33
|
},
|
|
33
34
|
"atlassian": {
|
|
34
35
|
"team": "UIP Frontend Observability",
|
|
35
|
-
"releaseModel": "continuous"
|
|
36
|
+
"releaseModel": "continuous",
|
|
37
|
+
"productPushConsumption": [
|
|
38
|
+
"jira"
|
|
39
|
+
]
|
|
36
40
|
},
|
|
37
41
|
"config": {
|
|
38
42
|
"access": "public"
|
package/tmp/api-report-tmp.d.ts
DELETED
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
## API Report File for "@atlaskit/analytics-namespaced-context"
|
|
2
|
-
|
|
3
|
-
> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
|
|
4
|
-
|
|
5
|
-
```ts
|
|
6
|
-
|
|
7
|
-
import { ReactNode } from 'react';
|
|
8
|
-
import { StatelessComponent } from 'react';
|
|
9
|
-
|
|
10
|
-
// @public (undocumented)
|
|
11
|
-
export const ATLAS_CONTEXT = "atlasCtx";
|
|
12
|
-
|
|
13
|
-
// @public (undocumented)
|
|
14
|
-
export const AtlasAnalyticsContext: StatelessComponent<Props>;
|
|
15
|
-
|
|
16
|
-
// @public (undocumented)
|
|
17
|
-
export enum EDITOR_APPEARANCE_CONTEXT {
|
|
18
|
-
// (undocumented)
|
|
19
|
-
CHROMELESS = "chromeless",
|
|
20
|
-
// (undocumented)
|
|
21
|
-
COMMENT = "comment",
|
|
22
|
-
// (undocumented)
|
|
23
|
-
FIXED_WIDTH = "fixedWidth",
|
|
24
|
-
// (undocumented)
|
|
25
|
-
FULL_WIDTH = "fullWidth",
|
|
26
|
-
// (undocumented)
|
|
27
|
-
MOBILE = "mobile"
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
// @public (undocumented)
|
|
31
|
-
export const EDITOR_CONTEXT = "fabricEditorCtx";
|
|
32
|
-
|
|
33
|
-
// @public (undocumented)
|
|
34
|
-
export const ELEMENTS_CONTEXT = "fabricElementsCtx";
|
|
35
|
-
|
|
36
|
-
// @public (undocumented)
|
|
37
|
-
export const FabricEditorAnalyticsContext: StatelessComponent<FabricEditorAnalyticsContextProps>;
|
|
38
|
-
|
|
39
|
-
// @public (undocumented)
|
|
40
|
-
type FabricEditorAnalyticsContextProps = Props & {
|
|
41
|
-
data: {
|
|
42
|
-
appearance: EDITOR_APPEARANCE_CONTEXT | undefined;
|
|
43
|
-
packageName: string;
|
|
44
|
-
packageVersion: string;
|
|
45
|
-
componentName: 'editorCore' | 'renderer';
|
|
46
|
-
editorSessionId: string;
|
|
47
|
-
};
|
|
48
|
-
};
|
|
49
|
-
|
|
50
|
-
// @public (undocumented)
|
|
51
|
-
export const FabricElementsAnalyticsContext: StatelessComponent<Props>;
|
|
52
|
-
|
|
53
|
-
// @public (undocumented)
|
|
54
|
-
export const LINKING_PLATFORM_CONTEXT = "linkingPlatformCtx";
|
|
55
|
-
|
|
56
|
-
// @public (undocumented)
|
|
57
|
-
export const LinkingPlatformAnalyticsContext: StatelessComponent<Props>;
|
|
58
|
-
|
|
59
|
-
// @public (undocumented)
|
|
60
|
-
export const MEDIA_CONTEXT = "mediaCtx";
|
|
61
|
-
|
|
62
|
-
// @public (undocumented)
|
|
63
|
-
export const NAVIGATION_CONTEXT = "navigationCtx";
|
|
64
|
-
|
|
65
|
-
// @public (undocumented)
|
|
66
|
-
export const NavigationAnalyticsContext: StatelessComponent<Props>;
|
|
67
|
-
|
|
68
|
-
// @public (undocumented)
|
|
69
|
-
export const NOTIFICATIONS_CONTEXT = "NotificationsCtx";
|
|
70
|
-
|
|
71
|
-
// @public (undocumented)
|
|
72
|
-
export const NotificationsAnalyticsContext: StatelessComponent<Props>;
|
|
73
|
-
|
|
74
|
-
// @public (undocumented)
|
|
75
|
-
export const PEOPLE_TEAMS_CONTEXT = "peopleTeamsCtx";
|
|
76
|
-
|
|
77
|
-
// @public (undocumented)
|
|
78
|
-
export const PeopleTeamsAnalyticsContext: StatelessComponent<Props>;
|
|
79
|
-
|
|
80
|
-
// @public (undocumented)
|
|
81
|
-
type Props = {
|
|
82
|
-
children?: ReactNode;
|
|
83
|
-
data: {};
|
|
84
|
-
};
|
|
85
|
-
|
|
86
|
-
// @public (undocumented)
|
|
87
|
-
export const RECENT_WORK_CONTEXT = "RecentWorkCtx";
|
|
88
|
-
|
|
89
|
-
// @public (undocumented)
|
|
90
|
-
export const RecentWorkAnalyticsContext: StatelessComponent<Props>;
|
|
91
|
-
|
|
92
|
-
// (No @packageDocumentation comment for this package)
|
|
93
|
-
|
|
94
|
-
```
|