@atlaskit/analytics-namespaced-context 6.9.1 → 6.10.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.
Files changed (41) hide show
  1. package/AtlasAnalyticsContext/package.json +1 -1
  2. package/CHANGELOG.md +191 -74
  3. package/LinkingPlatformAnalyticsContext/package.json +1 -1
  4. package/MediaAnalyticsContext/package.json +1 -1
  5. package/NavigationAnalyticsContext/package.json +1 -1
  6. package/PeopleTeamsAnalyticsContext/package.json +1 -1
  7. package/PostOfficeAnalyticsContext/package.json +1 -1
  8. package/RecentWorkAnalyticsContext/package.json +1 -1
  9. package/afm-jira/tsconfig.json +25 -0
  10. package/dist/cjs/AVPAnalyticsContext.js +10 -0
  11. package/dist/cjs/index.js +14 -1
  12. package/dist/es2019/AVPAnalyticsContext.js +3 -0
  13. package/dist/es2019/index.js +2 -1
  14. package/dist/esm/AVPAnalyticsContext.js +3 -0
  15. package/dist/esm/index.js +2 -1
  16. package/dist/types/AIMateAnalyticsContext.d.ts +2 -2
  17. package/dist/types/AVPAnalyticsContext.d.ts +4 -0
  18. package/dist/types/AtlasAnalyticsContext.d.ts +2 -2
  19. package/dist/types/FabricEditorAnalyticsContext.d.ts +2 -2
  20. package/dist/types/FabricElementsAnalyticsContext.d.ts +2 -2
  21. package/dist/types/LinkingPlatformAnalyticsContext.d.ts +2 -2
  22. package/dist/types/NavigationAnalyticsContext.d.ts +2 -2
  23. package/dist/types/NotificationsAnalyticsContext.d.ts +2 -2
  24. package/dist/types/PeopleTeamsAnalyticsContext.d.ts +2 -2
  25. package/dist/types/PostOfficeAnalyticsContext.d.ts +2 -2
  26. package/dist/types/RecentWorkAnalyticsContext.d.ts +2 -2
  27. package/dist/types/index.d.ts +7 -6
  28. package/dist/types-ts4.5/AIMateAnalyticsContext.d.ts +2 -2
  29. package/dist/types-ts4.5/AVPAnalyticsContext.d.ts +4 -0
  30. package/dist/types-ts4.5/AtlasAnalyticsContext.d.ts +2 -2
  31. package/dist/types-ts4.5/FabricEditorAnalyticsContext.d.ts +2 -2
  32. package/dist/types-ts4.5/FabricElementsAnalyticsContext.d.ts +2 -2
  33. package/dist/types-ts4.5/LinkingPlatformAnalyticsContext.d.ts +2 -2
  34. package/dist/types-ts4.5/NavigationAnalyticsContext.d.ts +2 -2
  35. package/dist/types-ts4.5/NotificationsAnalyticsContext.d.ts +2 -2
  36. package/dist/types-ts4.5/PeopleTeamsAnalyticsContext.d.ts +2 -2
  37. package/dist/types-ts4.5/PostOfficeAnalyticsContext.d.ts +2 -2
  38. package/dist/types-ts4.5/RecentWorkAnalyticsContext.d.ts +2 -2
  39. package/dist/types-ts4.5/index.d.ts +7 -6
  40. package/package.json +5 -7
  41. package/report.api.md +22 -21
@@ -5,7 +5,7 @@
5
5
  "module:es2019": "../dist/es2019/AtlasAnalyticsContext.js",
6
6
  "types": "../dist/types/AtlasAnalyticsContext.d.ts",
7
7
  "typesVersions": {
8
- ">=4.5 <4.9": {
8
+ ">=4.5 <5.4": {
9
9
  "*": [
10
10
  "../dist/types-ts4.5/AtlasAnalyticsContext.d.ts"
11
11
  ]
package/CHANGELOG.md CHANGED
@@ -1,52 +1,84 @@
1
1
  # @atlaskit/analytics-namespaced-context
2
2
 
3
+ ## 6.10.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#110672](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/110672)
8
+ [`0bfa2aa17a833`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/0bfa2aa17a833) -
9
+ Add AVP analytics listener and namespaced context
10
+
11
+ ## 6.9.2
12
+
13
+ ### Patch Changes
14
+
15
+ - [#83116](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/83116)
16
+ [`8d4e99057fe0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8d4e99057fe0) -
17
+ Upgrade Typescript from `4.9.5` to `5.4.2`
18
+
3
19
  ## 6.9.1
4
20
 
5
21
  ### Patch Changes
6
22
 
7
- - [#80085](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/80085) [`7febfed958dd`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/7febfed958dd) - Update usage of `React.FC` to explicity include `children`
23
+ - [#80085](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/80085)
24
+ [`7febfed958dd`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/7febfed958dd) -
25
+ Update usage of `React.FC` to explicity include `children`
8
26
 
9
27
  ## 6.9.0
10
28
 
11
29
  ### Minor Changes
12
30
 
13
- - [#66015](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/66015) [`fc1f1eafbc0d`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/fc1f1eafbc0d) - Add AI Mate analytics listener and namespaced context
31
+ - [#66015](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/66015)
32
+ [`fc1f1eafbc0d`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/fc1f1eafbc0d) -
33
+ Add AI Mate analytics listener and namespaced context
14
34
 
15
35
  ## 6.8.0
16
36
 
17
37
  ### Minor Changes
18
38
 
19
- - [#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
39
+ - [#65162](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/65162)
40
+ [`8374b2b32c18`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8374b2b32c18) -
41
+ Add PostOffice analytics listener and namespaced context
20
42
 
21
43
  ## 6.7.4
22
44
 
23
45
  ### Patch Changes
24
46
 
25
- - [#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.
47
+ - [#41325](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/41325)
48
+ [`5ecc6e21ca8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/5ecc6e21ca8) - Enrol
49
+ @atlaskit/analytics-namespaced-context to push model in JFE.
26
50
 
27
51
  ## 6.7.3
28
52
 
29
53
  ### Patch Changes
30
54
 
31
- - [#38162](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/38162) [`fd6bb9c9184`](https://bitbucket.org/atlassian/atlassian-frontend/commits/fd6bb9c9184) - Delete version.json
55
+ - [#38162](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/38162)
56
+ [`fd6bb9c9184`](https://bitbucket.org/atlassian/atlassian-frontend/commits/fd6bb9c9184) - Delete
57
+ version.json
32
58
 
33
59
  ## 6.7.2
34
60
 
35
61
  ### Patch Changes
36
62
 
37
- - [#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
63
+ - [#33793](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33793)
64
+ [`9d00501a414`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9d00501a414) - Ensure
65
+ legacy types are published for TS 4.5-4.8
38
66
 
39
67
  ## 6.7.1
40
68
 
41
69
  ### Patch Changes
42
70
 
43
- - [#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`
71
+ - [#33649](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33649)
72
+ [`41fae2c6f68`](https://bitbucket.org/atlassian/atlassian-frontend/commits/41fae2c6f68) - Upgrade
73
+ Typescript from `4.5.5` to `4.9.5`
44
74
 
45
75
  ## 6.7.0
46
76
 
47
77
  ### Minor Changes
48
78
 
49
- - [#33258](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33258) [`56507598609`](https://bitbucket.org/atlassian/atlassian-frontend/commits/56507598609) - Skip minor dependency bump
79
+ - [#33258](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33258)
80
+ [`56507598609`](https://bitbucket.org/atlassian/atlassian-frontend/commits/56507598609) - Skip
81
+ minor dependency bump
50
82
 
51
83
  ### Patch Changes
52
84
 
@@ -62,75 +94,100 @@
62
94
 
63
95
  ### Minor Changes
64
96
 
65
- - [#28780](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/28780) [`f07e3c52271`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f07e3c52271) - Added linkingPlatform namespaced context
97
+ - [#28780](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/28780)
98
+ [`f07e3c52271`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f07e3c52271) - Added
99
+ linkingPlatform namespaced context
66
100
 
67
101
  ## 6.5.2
68
102
 
69
103
  ### Patch Changes
70
104
 
71
- - [#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`
105
+ - [#24874](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24874)
106
+ [`8cc2f888c83`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8cc2f888c83) - Upgrade
107
+ Typescript from `4.3.5` to `4.5.5`
72
108
 
73
109
  ## 6.5.1
74
110
 
75
111
  ### Patch Changes
76
112
 
77
- - [#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`.
113
+ - [#24492](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24492)
114
+ [`8d4228767b0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8d4228767b0) - Upgrade
115
+ Typescript from `4.2.4` to `4.3.5`.
78
116
 
79
117
  ## 6.5.0
80
118
 
81
119
  ### Minor Changes
82
120
 
83
- - [#22842](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/22842) [`b6c9baebdf9`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b6c9baebdf9) - Add Atlas analytics listener
121
+ - [#22842](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/22842)
122
+ [`b6c9baebdf9`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b6c9baebdf9) - Add
123
+ Atlas analytics listener
84
124
 
85
125
  ## 6.4.1
86
126
 
87
127
  ### Patch Changes
88
128
 
89
- - [#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
129
+ - [#20650](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/20650)
130
+ [`cb2392f6d33`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cb2392f6d33) - Upgrade
131
+ to TypeScript 4.2.4
90
132
 
91
133
  ## 6.4.0
92
134
 
93
135
  ### Minor Changes
94
136
 
95
- - [#18423](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/18423) [`a21e53776ff`](https://bitbucket.org/atlassian/atlassian-frontend/commits/a21e53776ff) - Added a recentWork channel
137
+ - [#18423](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/18423)
138
+ [`a21e53776ff`](https://bitbucket.org/atlassian/atlassian-frontend/commits/a21e53776ff) - Added a
139
+ recentWork channel
96
140
 
97
141
  ## 6.3.0
98
142
 
99
143
  ### Minor Changes
100
144
 
101
- - [#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.
145
+ - [#12837](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/12837)
146
+ [`450a8582760`](https://bitbucket.org/atlassian/atlassian-frontend/commits/450a8582760) - Added
147
+ editor re-render analytics event.
102
148
 
103
149
  ## 6.2.0
104
150
 
105
151
  ### Minor Changes
106
152
 
107
- - [#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.
153
+ - [#10569](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/10569)
154
+ [`4c05694bca8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4c05694bca8) - Changed
155
+ componentName to renderer in AnalyticsContext.
108
156
 
109
157
  ## 6.1.0
110
158
 
111
159
  ### Minor Changes
112
160
 
113
- - [#9555](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/9555) [`1ecfe397c00`](https://bitbucket.org/atlassian/atlassian-frontend/commits/1ecfe397c00) - Added a notification channel
161
+ - [#9555](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/9555)
162
+ [`1ecfe397c00`](https://bitbucket.org/atlassian/atlassian-frontend/commits/1ecfe397c00) - Added a
163
+ notification channel
114
164
 
115
165
  ## 6.0.0
116
166
 
117
167
  ### Major Changes
118
168
 
119
- - [#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)
169
+ - [#8644](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/8644)
170
+ [`4f1d3a6b22a`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4f1d3a6b22a) -
171
+ Refactored Media Analytics Namespaced Context (now delivered by our HOC in media-common)
120
172
 
121
173
  ## 5.1.4
122
174
 
123
175
  ### Patch Changes
124
176
 
125
- - [#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
177
+ - [#5857](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/5857)
178
+ [`d3265f19be`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d3265f19be) - Transpile
179
+ packages using babel rather than tsc
126
180
 
127
181
  ## 5.1.3
128
182
 
129
183
  ### Patch Changes
130
184
 
131
- - [#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.
132
- This requires version 3.8 of Typescript, read more about how we handle Typescript versions here: https://atlaskit.atlassian.com/get-started
133
- Also add `typescript` to `devDependencies` to denote version that the package was built with.
185
+ - [#5497](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/5497)
186
+ [`5f58283e1f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/5f58283e1f) - Export
187
+ types using Typescript's new "export type" syntax to satisfy Typescript's --isolatedModules
188
+ compiler option. This requires version 3.8 of Typescript, read more about how we handle Typescript
189
+ versions here: https://atlaskit.atlassian.com/get-started Also add `typescript` to
190
+ `devDependencies` to denote version that the package was built with.
134
191
 
135
192
  ## 5.1.2
136
193
 
@@ -142,16 +199,20 @@
142
199
 
143
200
  ### Patch Changes
144
201
 
145
- - [#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
202
+ - [#3885](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3885)
203
+ [`6c525a8229`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6c525a8229) - Upgraded
204
+ to TypeScript 3.9.6 and tslib to 2.0.0
146
205
 
147
- Since tslib is a dependency for all our packages we recommend that products also follow this tslib upgrade
148
- to prevent duplicates of tslib being bundled.
206
+ Since tslib is a dependency for all our packages we recommend that products also follow this tslib
207
+ upgrade to prevent duplicates of tslib being bundled.
149
208
 
150
209
  ## 5.1.0
151
210
 
152
211
  ### Minor Changes
153
212
 
154
- - [#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.
213
+ - [#3823](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3823)
214
+ [`6faafb144c`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6faafb144c) - Introduce
215
+ MediaFeatureFlags. Refactor components to use.
155
216
 
156
217
  ### Patch Changes
157
218
 
@@ -161,14 +222,19 @@
161
222
 
162
223
  ### Patch Changes
163
224
 
164
- - [#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
225
+ - [#3428](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3428)
226
+ [`89df1041d5`](https://bitbucket.org/atlassian/atlassian-frontend/commits/89df1041d5) - Attach
227
+ Media Card Feature Flags to Analytics Events
165
228
 
166
229
  ## 5.0.0
167
230
 
168
231
  ### Major Changes
169
232
 
170
- - [#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.
171
- For more information see: https://community.developer.atlassian.com/t/atlaskit-to-drop-support-for-internet-explorer-11-from-1st-july-2020/39534
233
+ - [#3335](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3335)
234
+ [`87f4720f27`](https://bitbucket.org/atlassian/atlassian-frontend/commits/87f4720f27) - Officially
235
+ dropping IE11 support, from this version onwards there are no warranties of the package working in
236
+ IE11. For more information see:
237
+ https://community.developer.atlassian.com/t/atlaskit-to-drop-support-for-internet-explorer-11-from-1st-july-2020/39534
172
238
 
173
239
  ### Patch Changes
174
240
 
@@ -178,7 +244,9 @@
178
244
 
179
245
  ### Minor Changes
180
246
 
181
- - [#2831](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/2831) [`f895125071`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f895125071) - Add new analytics channel "peopleTeams"
247
+ - [#2831](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/2831)
248
+ [`f895125071`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f895125071) - Add new
249
+ analytics channel "peopleTeams"
182
250
 
183
251
  ## 4.2.0
184
252
 
@@ -186,15 +254,21 @@
186
254
 
187
255
  - [minor][69b678b38c](https://bitbucket.org/atlassian/atlassian-frontend/commits/69b678b38c):
188
256
 
189
- Refactor media analytics listener to properly include context data. Add and use new media namespace analytics context in MediaCard
257
+ Refactor media analytics listener to properly include context data. Add and use new media
258
+ namespace analytics context in MediaCard
190
259
 
191
260
  ### Patch Changes
192
261
 
193
- - Updated dependencies [168b5f90e5](https://bitbucket.org/atlassian/atlassian-frontend/commits/168b5f90e5):
194
- - Updated dependencies [11ff95c0f0](https://bitbucket.org/atlassian/atlassian-frontend/commits/11ff95c0f0):
195
- - Updated dependencies [ae426d5e97](https://bitbucket.org/atlassian/atlassian-frontend/commits/ae426d5e97):
196
- - Updated dependencies [109004a98e](https://bitbucket.org/atlassian/atlassian-frontend/commits/109004a98e):
197
- - Updated dependencies [69b678b38c](https://bitbucket.org/atlassian/atlassian-frontend/commits/69b678b38c):
262
+ - Updated dependencies
263
+ [168b5f90e5](https://bitbucket.org/atlassian/atlassian-frontend/commits/168b5f90e5):
264
+ - Updated dependencies
265
+ [11ff95c0f0](https://bitbucket.org/atlassian/atlassian-frontend/commits/11ff95c0f0):
266
+ - Updated dependencies
267
+ [ae426d5e97](https://bitbucket.org/atlassian/atlassian-frontend/commits/ae426d5e97):
268
+ - Updated dependencies
269
+ [109004a98e](https://bitbucket.org/atlassian/atlassian-frontend/commits/109004a98e):
270
+ - Updated dependencies
271
+ [69b678b38c](https://bitbucket.org/atlassian/atlassian-frontend/commits/69b678b38c):
198
272
  - @atlaskit/docs@8.5.1
199
273
  - @atlaskit/analytics-listeners@6.3.0
200
274
  - @atlaskit/analytics-next@6.3.6
@@ -205,7 +279,8 @@
205
279
 
206
280
  - [patch][6548261c9a](https://bitbucket.org/atlassian/atlassian-frontend/commits/6548261c9a):
207
281
 
208
- Remove namespace imports from React, ReactDom, and PropTypes- Updated dependencies [6548261c9a](https://bitbucket.org/atlassian/atlassian-frontend/commits/6548261c9a):
282
+ Remove namespace imports from React, ReactDom, and PropTypes- Updated dependencies
283
+ [6548261c9a](https://bitbucket.org/atlassian/atlassian-frontend/commits/6548261c9a):
209
284
 
210
285
  - @atlaskit/docs@8.3.2
211
286
  - @atlaskit/analytics-next@6.3.5
@@ -221,7 +296,8 @@
221
296
 
222
297
  **BREAKING CHANGES**
223
298
 
224
- - **Media:** Removed deprecated "context" property from media components in favor of "mediaClientConfig". This affects all public media UI components.
299
+ - **Media:** Removed deprecated "context" property from media components in favor of
300
+ "mediaClientConfig". This affects all public media UI components.
225
301
  - https://product-fabric.atlassian.net/browse/MS-2038
226
302
  - **Tasks & Decisions:** Removed containerAri for task-decisions components.
227
303
  - https://product-fabric.atlassian.net/browse/ED-7631
@@ -306,7 +382,8 @@ Bumped dependencies.
306
382
 
307
383
  - [patch][097b696613](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/097b696613):
308
384
 
309
- Components now depend on TS 3.6 internally, in order to fix an issue with TS resolving non-relative imports as relative imports
385
+ Components now depend on TS 3.6 internally, in order to fix an issue with TS resolving
386
+ non-relative imports as relative imports
310
387
 
311
388
  ## 4.1.6
312
389
 
@@ -322,7 +399,8 @@ Bumped dependencies.
322
399
 
323
400
  - [patch][926b43142b](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/926b43142b):
324
401
 
325
- Analytics-next has been converted to Typescript. Typescript consumers will now get static type safety. Flow types are no longer provided. No behavioural changes.
402
+ Analytics-next has been converted to Typescript. Typescript consumers will now get static type
403
+ safety. Flow types are no longer provided. No behavioural changes.
326
404
 
327
405
  **Breaking changes**
328
406
 
@@ -331,11 +409,16 @@ Bumped dependencies.
331
409
 
332
410
  **Breaking changes to TypeScript annotations**
333
411
 
334
- - `withAnalyticsEvents` now infers proptypes automatically, consumers no longer need to provide props as a generic type.
335
- - `withAnalyticsContext` now infers proptypes automatically, consumers no longer need to provide props as a generic type.
336
- - Type `WithAnalyticsEventProps` has been renamed to `WithAnalyticsEventsProps` to match source code
337
- - Type `CreateUIAnalyticsEventSignature` has been renamed to `CreateUIAnalyticsEvent` to match source code
338
- - Type `UIAnalyticsEventHandlerSignature` has been renamed to `UIAnalyticsEventHandler` to match source code
412
+ - `withAnalyticsEvents` now infers proptypes automatically, consumers no longer need to provide
413
+ props as a generic type.
414
+ - `withAnalyticsContext` now infers proptypes automatically, consumers no longer need to provide
415
+ props as a generic type.
416
+ - Type `WithAnalyticsEventProps` has been renamed to `WithAnalyticsEventsProps` to match source
417
+ code
418
+ - Type `CreateUIAnalyticsEventSignature` has been renamed to `CreateUIAnalyticsEvent` to match
419
+ source code
420
+ - Type `UIAnalyticsEventHandlerSignature` has been renamed to `UIAnalyticsEventHandler` to match
421
+ source code
339
422
  - Type `AnalyticsEventsPayload` has been renamed to `AnalyticsEventPayload`
340
423
  - Type `ObjectType` has been removed, please use `Record<string, any>` or `[key: string]: any`
341
424
  - Type `UIAnalyticsEventInterface` has been removed, please use `UIAnalyticsEvent`
@@ -371,8 +454,10 @@ Bumped dependencies.
371
454
  - Adding back cjs
372
455
  - Replacing es5 by cjs and es2015 by esm
373
456
  - Creating folders at the root for entry-points
374
- - Removing the generation of the entry-points at the root
375
- Please see this [ticket](https://product-fabric.atlassian.net/browse/BUILDTOOLS-118) or this [page](https://hello.atlassian.net/wiki/spaces/FED/pages/452325500/Finishing+Atlaskit+multiple+entry+points) for further details
457
+ - Removing the generation of the entry-points at the root Please see this
458
+ [ticket](https://product-fabric.atlassian.net/browse/BUILDTOOLS-118) or this
459
+ [page](https://hello.atlassian.net/wiki/spaces/FED/pages/452325500/Finishing+Atlaskit+multiple+entry+points)
460
+ for further details
376
461
 
377
462
  ## 4.1.1
378
463
 
@@ -380,7 +465,9 @@ Bumped dependencies.
380
465
 
381
466
  - [patch][d0db01b410](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/d0db01b410):
382
467
 
383
- TypeScript users of withAnalyticsEvents and withAnalyticsContext are now required to provide props as a generic type. This is so that TypeScript can correctly calculate the props and defaultProps of the returned component.
468
+ TypeScript users of withAnalyticsEvents and withAnalyticsContext are now required to provide props
469
+ as a generic type. This is so that TypeScript can correctly calculate the props and defaultProps
470
+ of the returned component.
384
471
 
385
472
  Before:
386
473
 
@@ -404,7 +491,8 @@ Bumped dependencies.
404
491
 
405
492
  - [major][7c17b35107](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/7c17b35107):
406
493
 
407
- - Updates react and react-dom peer dependencies to react@^16.8.0 and react-dom@^16.8.0. To use this package, please ensure you use at least this version of react and react-dom.
494
+ - Updates react and react-dom peer dependencies to react@^16.8.0 and react-dom@^16.8.0. To use
495
+ this package, please ensure you use at least this version of react and react-dom.
408
496
 
409
497
  ## 3.0.3
410
498
 
@@ -416,7 +504,8 @@ Bumped dependencies.
416
504
 
417
505
  - [patch][3f28e6443c](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/3f28e6443c):
418
506
 
419
- - @atlaskit/analytics-next-types is deprecated. Now you can use types for @atlaskit/analytics-next supplied from itself.
507
+ - @atlaskit/analytics-next-types is deprecated. Now you can use types for @atlaskit/analytics-next
508
+ supplied from itself.
420
509
 
421
510
  ## 3.0.1
422
511
 
@@ -432,7 +521,8 @@ Bumped dependencies.
432
521
 
433
522
  ## 2.2.1
434
523
 
435
- - Updated dependencies [76299208e6](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/76299208e6):
524
+ - Updated dependencies
525
+ [76299208e6](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/76299208e6):
436
526
  - @atlaskit/analytics-listeners@4.2.1
437
527
  - @atlaskit/docs@7.0.0
438
528
  - @atlaskit/analytics-next@4.0.0
@@ -452,42 +542,59 @@ Bumped dependencies.
452
542
 
453
543
  ## 2.1.4
454
544
 
455
- - [patch] Analytics event's 'source' field from GasPayload type is now optional. In most cases, the 'source' field is expected to be set by the integrator through AnalyticsContext. Thus it's recommended that components do not set it to avoid overriding the one provided by the integrating product. Analytics listeners are handling the case where the 'source' field couldn't be found by setting the default value "unknown" before sending the event through the client. [1c0ea95](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/1c0ea95)
545
+ - [patch] Analytics event's 'source' field from GasPayload type is now optional. In most cases, the
546
+ 'source' field is expected to be set by the integrator through AnalyticsContext. Thus it's
547
+ recommended that components do not set it to avoid overriding the one provided by the integrating
548
+ product. Analytics listeners are handling the case where the 'source' field couldn't be found by
549
+ setting the default value "unknown" before sending the event through the client.
550
+ [1c0ea95](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/1c0ea95)
456
551
 
457
552
  ## 2.1.3
458
553
 
459
- - [patch] fixed imports, docs and made GasPayload package attributes optional [6be5eed](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/6be5eed)
460
- - [patch] use createAndFire function from analytics-next [095f356](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/095f356)
461
- - [patch] Fixed TS errors and code improvements [b290312](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/b290312)
462
- - [patch] enable analytics-next TDs on analytics-listeners and analytics-namespaced-context [e65f377](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/e65f377)
554
+ - [patch] fixed imports, docs and made GasPayload package attributes optional
555
+ [6be5eed](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/6be5eed)
556
+ - [patch] use createAndFire function from analytics-next
557
+ [095f356](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/095f356)
558
+ - [patch] Fixed TS errors and code improvements
559
+ [b290312](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/b290312)
560
+ - [patch] enable analytics-next TDs on analytics-listeners and analytics-namespaced-context
561
+ [e65f377](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/e65f377)
463
562
 
464
563
  ## 2.1.2
465
564
 
466
- - [patch] Updated dependencies [90ba6bd](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/90ba6bd)
565
+ - [patch] Updated dependencies
566
+ [90ba6bd](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/90ba6bd)
467
567
  - @atlaskit/analytics-listeners@4.0.0
468
568
 
469
569
  ## 2.1.1
470
570
 
471
- - [patch] Updated dependencies [dfa100e](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/dfa100e)
571
+ - [patch] Updated dependencies
572
+ [dfa100e](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/dfa100e)
472
573
  - @atlaskit/analytics-listeners@3.3.1
473
574
 
474
575
  ## 2.1.0
475
576
 
476
- - [minor] Add NavigationContext component that provides context to events fired on the navigation channel [89225ce](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/89225ce)
477
- - [patch] Updated dependencies [808b55b](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/808b55b)
577
+ - [minor] Add NavigationContext component that provides context to events fired on the navigation
578
+ channel [89225ce](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/89225ce)
579
+ - [patch] Updated dependencies
580
+ [808b55b](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/808b55b)
478
581
  - @atlaskit/analytics-listeners@3.2.0
479
- - [none] Updated dependencies [89225ce](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/89225ce)
582
+ - [none] Updated dependencies
583
+ [89225ce](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/89225ce)
480
584
  - @atlaskit/analytics-listeners@3.2.0
481
585
 
482
586
  ## 2.0.3
483
587
 
484
- - [patch] Fix es5 exports of some of the newer modules [3f0cd7d](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/3f0cd7d)
485
- - [none] Updated dependencies [3f0cd7d](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/3f0cd7d)
588
+ - [patch] Fix es5 exports of some of the newer modules
589
+ [3f0cd7d](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/3f0cd7d)
590
+ - [none] Updated dependencies
591
+ [3f0cd7d](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/3f0cd7d)
486
592
  - @atlaskit/analytics-gas-types@3.1.3
487
593
 
488
594
  ## 2.0.2
489
595
 
490
- - [patch] Updated dependencies [acd86a1](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/acd86a1)
596
+ - [patch] Updated dependencies
597
+ [acd86a1](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/acd86a1)
491
598
  - @atlaskit/button@9.0.4
492
599
  - @atlaskit/analytics-next@3.0.3
493
600
  - @atlaskit/docs@5.0.2
@@ -495,17 +602,21 @@ Bumped dependencies.
495
602
 
496
603
  ## 2.0.1
497
604
 
498
- - [patch] fixes problem with modules not being exported [80e90ed](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/80e90ed)
605
+ - [patch] fixes problem with modules not being exported
606
+ [80e90ed](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/80e90ed)
499
607
 
500
608
  ## 2.0.0
501
609
 
502
- - [major] Updates to React ^16.4.0 [7edb866](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/7edb866)
503
- - [major] Updated dependencies [563a7eb](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/563a7eb)
610
+ - [major] Updates to React ^16.4.0
611
+ [7edb866](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/7edb866)
612
+ - [major] Updated dependencies
613
+ [563a7eb](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/563a7eb)
504
614
  - @atlaskit/analytics-next@3.0.0
505
615
  - @atlaskit/button@9.0.0
506
616
  - @atlaskit/docs@5.0.0
507
617
  - @atlaskit/analytics-gas-types@3.0.0
508
- - [major] Updated dependencies [7edb866](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/7edb866)
618
+ - [major] Updated dependencies
619
+ [7edb866](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/7edb866)
509
620
  - @atlaskit/analytics-next@3.0.0
510
621
  - @atlaskit/button@9.0.0
511
622
  - @atlaskit/docs@5.0.0
@@ -513,19 +624,25 @@ Bumped dependencies.
513
624
 
514
625
  ## 1.0.3
515
626
 
516
- - [patch] Move the tests under src and club the tests under unit, integration and visual regression [f1a9069](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/f1a9069)
517
- - [none] Updated dependencies [f1a9069](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/f1a9069)
627
+ - [patch] Move the tests under src and club the tests under unit, integration and visual regression
628
+ [f1a9069](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/f1a9069)
629
+ - [none] Updated dependencies
630
+ [f1a9069](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/f1a9069)
518
631
  - @atlaskit/analytics-gas-types@2.1.4
519
632
 
520
633
  ## 1.0.2
521
634
 
522
- - [patch] Add missing dependencies to packages to get the website to build [9c32280](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/9c32280)
635
+ - [patch] Add missing dependencies to packages to get the website to build
636
+ [9c32280](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/9c32280)
523
637
 
524
- * [none] Updated dependencies [99446e3](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/99446e3)
638
+ * [none] Updated dependencies
639
+ [99446e3](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/99446e3)
525
640
  - @atlaskit/docs@4.2.2
526
- * [none] Updated dependencies [9bac948](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/9bac948)
641
+ * [none] Updated dependencies
642
+ [9bac948](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/9bac948)
527
643
  - @atlaskit/docs@4.2.2
528
644
 
529
645
  ## 1.0.1
530
646
 
531
- - [patch] wrapper for analytics-next AnalyticsContext to add a namespace [91e5997](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/91e5997)
647
+ - [patch] wrapper for analytics-next AnalyticsContext to add a namespace
648
+ [91e5997](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/91e5997)
@@ -5,7 +5,7 @@
5
5
  "module:es2019": "../dist/es2019/LinkingPlatformAnalyticsContext.js",
6
6
  "types": "../dist/types/LinkingPlatformAnalyticsContext.d.ts",
7
7
  "typesVersions": {
8
- ">=4.5 <4.9": {
8
+ ">=4.5 <5.4": {
9
9
  "*": [
10
10
  "../dist/types-ts4.5/LinkingPlatformAnalyticsContext.d.ts"
11
11
  ]
@@ -5,7 +5,7 @@
5
5
  "module:es2019": "../dist/es2019/MediaAnalyticsContext.js",
6
6
  "types": "../dist/types/MediaAnalyticsContext.d.ts",
7
7
  "typesVersions": {
8
- ">=4.5 <4.9": {
8
+ ">=4.5 <5.4": {
9
9
  "*": [
10
10
  "../dist/types-ts4.5/MediaAnalyticsContext.d.ts"
11
11
  ]
@@ -5,7 +5,7 @@
5
5
  "module:es2019": "../dist/es2019/NavigationAnalyticsContext.js",
6
6
  "types": "../dist/types/NavigationAnalyticsContext.d.ts",
7
7
  "typesVersions": {
8
- ">=4.5 <4.9": {
8
+ ">=4.5 <5.4": {
9
9
  "*": [
10
10
  "../dist/types-ts4.5/NavigationAnalyticsContext.d.ts"
11
11
  ]
@@ -5,7 +5,7 @@
5
5
  "module:es2019": "../dist/es2019/PeopleTeamsAnalyticsContext.js",
6
6
  "types": "../dist/types/PeopleTeamsAnalyticsContext.d.ts",
7
7
  "typesVersions": {
8
- ">=4.5 <4.9": {
8
+ ">=4.5 <5.4": {
9
9
  "*": [
10
10
  "../dist/types-ts4.5/PeopleTeamsAnalyticsContext.d.ts"
11
11
  ]
@@ -5,7 +5,7 @@
5
5
  "module:es2019": "../dist/es2019/PostOfficeAnalyticsContext.js",
6
6
  "types": "../dist/types/PostOfficeAnalyticsContext.d.ts",
7
7
  "typesVersions": {
8
- ">=4.5 <4.9": {
8
+ ">=4.5 <5.4": {
9
9
  "*": [
10
10
  "../dist/types-ts4.5/PostOfficeAnalyticsContext.d.ts"
11
11
  ]
@@ -5,7 +5,7 @@
5
5
  "module:es2019": "../dist/es2019/RecentWorkAnalyticsContext.js",
6
6
  "types": "../dist/types/RecentWorkAnalyticsContext.d.ts",
7
7
  "typesVersions": {
8
- ">=4.5 <4.9": {
8
+ ">=4.5 <5.4": {
9
9
  "*": [
10
10
  "../dist/types-ts4.5/RecentWorkAnalyticsContext.d.ts"
11
11
  ]
@@ -0,0 +1,25 @@
1
+ {
2
+ "extends": "../../../../tsconfig.products.json",
3
+ "compilerOptions": {
4
+ "declaration": true,
5
+ "target": "es5",
6
+ "outDir": "../../../../../tsDist/@atlaskit__analytics-namespaced-context/app",
7
+ "composite": true,
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-jira/tsconfig.json"
23
+ }
24
+ ]
25
+ }
@@ -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.AVP_CONTEXT = exports.AVPAnalyticsContext = void 0;
8
+ var _createNamespaceContext = _interopRequireDefault(require("./helper/createNamespaceContext"));
9
+ var AVP_CONTEXT = exports.AVP_CONTEXT = 'avpCtx';
10
+ var AVPAnalyticsContext = exports.AVPAnalyticsContext = (0, _createNamespaceContext.default)(AVP_CONTEXT, 'AVPAnalyticsContext');
package/dist/cjs/index.js CHANGED
@@ -21,6 +21,18 @@ Object.defineProperty(exports, "ATLAS_CONTEXT", {
21
21
  return _AtlasAnalyticsContext.ATLAS_CONTEXT;
22
22
  }
23
23
  });
24
+ Object.defineProperty(exports, "AVPAnalyticsContext", {
25
+ enumerable: true,
26
+ get: function get() {
27
+ return _AVPAnalyticsContext.AVPAnalyticsContext;
28
+ }
29
+ });
30
+ Object.defineProperty(exports, "AVP_CONTEXT", {
31
+ enumerable: true,
32
+ get: function get() {
33
+ return _AVPAnalyticsContext.AVP_CONTEXT;
34
+ }
35
+ });
24
36
  Object.defineProperty(exports, "AtlasAnalyticsContext", {
25
37
  enumerable: true,
26
38
  get: function get() {
@@ -145,4 +157,5 @@ var _RecentWorkAnalyticsContext = require("./RecentWorkAnalyticsContext");
145
157
  var _AtlasAnalyticsContext = require("./AtlasAnalyticsContext");
146
158
  var _LinkingPlatformAnalyticsContext = require("./LinkingPlatformAnalyticsContext");
147
159
  var _PostOfficeAnalyticsContext = require("./PostOfficeAnalyticsContext");
148
- var _AIMateAnalyticsContext = require("./AIMateAnalyticsContext");
160
+ var _AIMateAnalyticsContext = require("./AIMateAnalyticsContext");
161
+ var _AVPAnalyticsContext = require("./AVPAnalyticsContext");
@@ -0,0 +1,3 @@
1
+ import createNamespaceContext from './helper/createNamespaceContext';
2
+ export const AVP_CONTEXT = 'avpCtx';
3
+ export const AVPAnalyticsContext = createNamespaceContext(AVP_CONTEXT, 'AVPAnalyticsContext');
@@ -8,4 +8,5 @@ export { RECENT_WORK_CONTEXT, RecentWorkAnalyticsContext } from './RecentWorkAna
8
8
  export { ATLAS_CONTEXT, AtlasAnalyticsContext } from './AtlasAnalyticsContext';
9
9
  export { LINKING_PLATFORM_CONTEXT, LinkingPlatformAnalyticsContext } from './LinkingPlatformAnalyticsContext';
10
10
  export { POST_OFFICE_CONTEXT, PostOfficeAnalyticsContext } from './PostOfficeAnalyticsContext';
11
- export { AI_MATE_CONTEXT, AIMateAnalyticsContext } from './AIMateAnalyticsContext';
11
+ export { AI_MATE_CONTEXT, AIMateAnalyticsContext } from './AIMateAnalyticsContext';
12
+ export { AVP_CONTEXT, AVPAnalyticsContext } from './AVPAnalyticsContext';
@@ -0,0 +1,3 @@
1
+ import createNamespaceContext from './helper/createNamespaceContext';
2
+ export var AVP_CONTEXT = 'avpCtx';
3
+ export var AVPAnalyticsContext = createNamespaceContext(AVP_CONTEXT, 'AVPAnalyticsContext');
package/dist/esm/index.js CHANGED
@@ -8,4 +8,5 @@ export { RECENT_WORK_CONTEXT, RecentWorkAnalyticsContext } from './RecentWorkAna
8
8
  export { ATLAS_CONTEXT, AtlasAnalyticsContext } from './AtlasAnalyticsContext';
9
9
  export { LINKING_PLATFORM_CONTEXT, LinkingPlatformAnalyticsContext } from './LinkingPlatformAnalyticsContext';
10
10
  export { POST_OFFICE_CONTEXT, PostOfficeAnalyticsContext } from './PostOfficeAnalyticsContext';
11
- export { AI_MATE_CONTEXT, AIMateAnalyticsContext } from './AIMateAnalyticsContext';
11
+ export { AI_MATE_CONTEXT, AIMateAnalyticsContext } from './AIMateAnalyticsContext';
12
+ export { AVP_CONTEXT, AVPAnalyticsContext } from './AVPAnalyticsContext';
@@ -1,4 +1,4 @@
1
- import { FunctionComponent } from 'react';
2
- import { Props } from './helper/createNamespaceContext';
1
+ import { type FunctionComponent } from 'react';
2
+ import { type Props } from './helper/createNamespaceContext';
3
3
  export declare const AI_MATE_CONTEXT = "aiMateCtx";
4
4
  export declare const AIMateAnalyticsContext: FunctionComponent<Props>;
@@ -0,0 +1,4 @@
1
+ import { type FunctionComponent } from 'react';
2
+ import { type Props } from './helper/createNamespaceContext';
3
+ export declare const AVP_CONTEXT = "avpCtx";
4
+ export declare const AVPAnalyticsContext: FunctionComponent<Props>;
@@ -1,4 +1,4 @@
1
- import { FunctionComponent } from 'react';
2
- import { Props } from './helper/createNamespaceContext';
1
+ import { type FunctionComponent } from 'react';
2
+ import { type Props } from './helper/createNamespaceContext';
3
3
  export declare const ATLAS_CONTEXT = "atlasCtx";
4
4
  export declare const AtlasAnalyticsContext: FunctionComponent<Props>;
@@ -1,5 +1,5 @@
1
- import { FunctionComponent } from 'react';
2
- import { Props } from './helper/createNamespaceContext';
1
+ import { type FunctionComponent } from 'react';
2
+ import { type Props } from './helper/createNamespaceContext';
3
3
  export declare const EDITOR_CONTEXT = "fabricEditorCtx";
4
4
  export declare enum EDITOR_APPEARANCE_CONTEXT {
5
5
  FIXED_WIDTH = "fixedWidth",
@@ -1,4 +1,4 @@
1
- import { FunctionComponent } from 'react';
2
- import { Props } from './helper/createNamespaceContext';
1
+ import { type FunctionComponent } from 'react';
2
+ import { type Props } from './helper/createNamespaceContext';
3
3
  export declare const ELEMENTS_CONTEXT = "fabricElementsCtx";
4
4
  export declare const FabricElementsAnalyticsContext: FunctionComponent<Props>;
@@ -1,4 +1,4 @@
1
- import { FunctionComponent } from 'react';
2
- import { Props } from './helper/createNamespaceContext';
1
+ import { type FunctionComponent } from 'react';
2
+ import { type Props } from './helper/createNamespaceContext';
3
3
  export declare const LINKING_PLATFORM_CONTEXT = "linkingPlatformCtx";
4
4
  export declare const LinkingPlatformAnalyticsContext: FunctionComponent<Props>;
@@ -1,4 +1,4 @@
1
- import { FunctionComponent } from 'react';
2
- import { Props } from './helper/createNamespaceContext';
1
+ import { type FunctionComponent } from 'react';
2
+ import { type Props } from './helper/createNamespaceContext';
3
3
  export declare const NAVIGATION_CONTEXT = "navigationCtx";
4
4
  export declare const NavigationAnalyticsContext: FunctionComponent<Props>;
@@ -1,4 +1,4 @@
1
- import { FunctionComponent } from 'react';
2
- import { Props } from './helper/createNamespaceContext';
1
+ import { type FunctionComponent } from 'react';
2
+ import { type Props } from './helper/createNamespaceContext';
3
3
  export declare const NOTIFICATIONS_CONTEXT = "NotificationsCtx";
4
4
  export declare const NotificationsAnalyticsContext: FunctionComponent<Props>;
@@ -1,4 +1,4 @@
1
- import { FunctionComponent } from 'react';
2
- import { Props } from './helper/createNamespaceContext';
1
+ import { type FunctionComponent } from 'react';
2
+ import { type Props } from './helper/createNamespaceContext';
3
3
  export declare const PEOPLE_TEAMS_CONTEXT = "peopleTeamsCtx";
4
4
  export declare const PeopleTeamsAnalyticsContext: FunctionComponent<Props>;
@@ -1,4 +1,4 @@
1
- import { FunctionComponent } from 'react';
2
- import { Props } from './helper/createNamespaceContext';
1
+ import { type FunctionComponent } from 'react';
2
+ import { type Props } from './helper/createNamespaceContext';
3
3
  export declare const POST_OFFICE_CONTEXT = "postOfficeCtx";
4
4
  export declare const PostOfficeAnalyticsContext: FunctionComponent<Props>;
@@ -1,4 +1,4 @@
1
- import { FunctionComponent } from 'react';
2
- import { Props } from './helper/createNamespaceContext';
1
+ import { type FunctionComponent } from 'react';
2
+ import { type Props } from './helper/createNamespaceContext';
3
3
  export declare const RECENT_WORK_CONTEXT = "RecentWorkCtx";
4
4
  export declare const RecentWorkAnalyticsContext: FunctionComponent<Props>;
@@ -1,11 +1,12 @@
1
- export { ELEMENTS_CONTEXT, FabricElementsAnalyticsContext, } from './FabricElementsAnalyticsContext';
2
- export { NAVIGATION_CONTEXT, NavigationAnalyticsContext, } from './NavigationAnalyticsContext';
1
+ export { ELEMENTS_CONTEXT, FabricElementsAnalyticsContext } from './FabricElementsAnalyticsContext';
2
+ export { NAVIGATION_CONTEXT, NavigationAnalyticsContext } from './NavigationAnalyticsContext';
3
3
  export { EDITOR_CONTEXT, EDITOR_APPEARANCE_CONTEXT, FabricEditorAnalyticsContext, } from './FabricEditorAnalyticsContext';
4
4
  export { MEDIA_CONTEXT } from './MediaAnalyticsContext';
5
- export { PEOPLE_TEAMS_CONTEXT, PeopleTeamsAnalyticsContext, } from './PeopleTeamsAnalyticsContext';
5
+ export { PEOPLE_TEAMS_CONTEXT, PeopleTeamsAnalyticsContext } from './PeopleTeamsAnalyticsContext';
6
6
  export { NOTIFICATIONS_CONTEXT, NotificationsAnalyticsContext, } from './NotificationsAnalyticsContext';
7
- export { RECENT_WORK_CONTEXT, RecentWorkAnalyticsContext, } from './RecentWorkAnalyticsContext';
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';
11
- export { AI_MATE_CONTEXT, AIMateAnalyticsContext, } from './AIMateAnalyticsContext';
10
+ export { POST_OFFICE_CONTEXT, PostOfficeAnalyticsContext } from './PostOfficeAnalyticsContext';
11
+ export { AI_MATE_CONTEXT, AIMateAnalyticsContext } from './AIMateAnalyticsContext';
12
+ export { AVP_CONTEXT, AVPAnalyticsContext } from './AVPAnalyticsContext';
@@ -1,4 +1,4 @@
1
- import { FunctionComponent } from 'react';
2
- import { Props } from './helper/createNamespaceContext';
1
+ import { type FunctionComponent } from 'react';
2
+ import { type Props } from './helper/createNamespaceContext';
3
3
  export declare const AI_MATE_CONTEXT = "aiMateCtx";
4
4
  export declare const AIMateAnalyticsContext: FunctionComponent<Props>;
@@ -0,0 +1,4 @@
1
+ import { type FunctionComponent } from 'react';
2
+ import { type Props } from './helper/createNamespaceContext';
3
+ export declare const AVP_CONTEXT = "avpCtx";
4
+ export declare const AVPAnalyticsContext: FunctionComponent<Props>;
@@ -1,4 +1,4 @@
1
- import { FunctionComponent } from 'react';
2
- import { Props } from './helper/createNamespaceContext';
1
+ import { type FunctionComponent } from 'react';
2
+ import { type Props } from './helper/createNamespaceContext';
3
3
  export declare const ATLAS_CONTEXT = "atlasCtx";
4
4
  export declare const AtlasAnalyticsContext: FunctionComponent<Props>;
@@ -1,5 +1,5 @@
1
- import { FunctionComponent } from 'react';
2
- import { Props } from './helper/createNamespaceContext';
1
+ import { type FunctionComponent } from 'react';
2
+ import { type Props } from './helper/createNamespaceContext';
3
3
  export declare const EDITOR_CONTEXT = "fabricEditorCtx";
4
4
  export declare enum EDITOR_APPEARANCE_CONTEXT {
5
5
  FIXED_WIDTH = "fixedWidth",
@@ -1,4 +1,4 @@
1
- import { FunctionComponent } from 'react';
2
- import { Props } from './helper/createNamespaceContext';
1
+ import { type FunctionComponent } from 'react';
2
+ import { type Props } from './helper/createNamespaceContext';
3
3
  export declare const ELEMENTS_CONTEXT = "fabricElementsCtx";
4
4
  export declare const FabricElementsAnalyticsContext: FunctionComponent<Props>;
@@ -1,4 +1,4 @@
1
- import { FunctionComponent } from 'react';
2
- import { Props } from './helper/createNamespaceContext';
1
+ import { type FunctionComponent } from 'react';
2
+ import { type Props } from './helper/createNamespaceContext';
3
3
  export declare const LINKING_PLATFORM_CONTEXT = "linkingPlatformCtx";
4
4
  export declare const LinkingPlatformAnalyticsContext: FunctionComponent<Props>;
@@ -1,4 +1,4 @@
1
- import { FunctionComponent } from 'react';
2
- import { Props } from './helper/createNamespaceContext';
1
+ import { type FunctionComponent } from 'react';
2
+ import { type Props } from './helper/createNamespaceContext';
3
3
  export declare const NAVIGATION_CONTEXT = "navigationCtx";
4
4
  export declare const NavigationAnalyticsContext: FunctionComponent<Props>;
@@ -1,4 +1,4 @@
1
- import { FunctionComponent } from 'react';
2
- import { Props } from './helper/createNamespaceContext';
1
+ import { type FunctionComponent } from 'react';
2
+ import { type Props } from './helper/createNamespaceContext';
3
3
  export declare const NOTIFICATIONS_CONTEXT = "NotificationsCtx";
4
4
  export declare const NotificationsAnalyticsContext: FunctionComponent<Props>;
@@ -1,4 +1,4 @@
1
- import { FunctionComponent } from 'react';
2
- import { Props } from './helper/createNamespaceContext';
1
+ import { type FunctionComponent } from 'react';
2
+ import { type Props } from './helper/createNamespaceContext';
3
3
  export declare const PEOPLE_TEAMS_CONTEXT = "peopleTeamsCtx";
4
4
  export declare const PeopleTeamsAnalyticsContext: FunctionComponent<Props>;
@@ -1,4 +1,4 @@
1
- import { FunctionComponent } from 'react';
2
- import { Props } from './helper/createNamespaceContext';
1
+ import { type FunctionComponent } from 'react';
2
+ import { type Props } from './helper/createNamespaceContext';
3
3
  export declare const POST_OFFICE_CONTEXT = "postOfficeCtx";
4
4
  export declare const PostOfficeAnalyticsContext: FunctionComponent<Props>;
@@ -1,4 +1,4 @@
1
- import { FunctionComponent } from 'react';
2
- import { Props } from './helper/createNamespaceContext';
1
+ import { type FunctionComponent } from 'react';
2
+ import { type Props } from './helper/createNamespaceContext';
3
3
  export declare const RECENT_WORK_CONTEXT = "RecentWorkCtx";
4
4
  export declare const RecentWorkAnalyticsContext: FunctionComponent<Props>;
@@ -1,11 +1,12 @@
1
- export { ELEMENTS_CONTEXT, FabricElementsAnalyticsContext, } from './FabricElementsAnalyticsContext';
2
- export { NAVIGATION_CONTEXT, NavigationAnalyticsContext, } from './NavigationAnalyticsContext';
1
+ export { ELEMENTS_CONTEXT, FabricElementsAnalyticsContext } from './FabricElementsAnalyticsContext';
2
+ export { NAVIGATION_CONTEXT, NavigationAnalyticsContext } from './NavigationAnalyticsContext';
3
3
  export { EDITOR_CONTEXT, EDITOR_APPEARANCE_CONTEXT, FabricEditorAnalyticsContext, } from './FabricEditorAnalyticsContext';
4
4
  export { MEDIA_CONTEXT } from './MediaAnalyticsContext';
5
- export { PEOPLE_TEAMS_CONTEXT, PeopleTeamsAnalyticsContext, } from './PeopleTeamsAnalyticsContext';
5
+ export { PEOPLE_TEAMS_CONTEXT, PeopleTeamsAnalyticsContext } from './PeopleTeamsAnalyticsContext';
6
6
  export { NOTIFICATIONS_CONTEXT, NotificationsAnalyticsContext, } from './NotificationsAnalyticsContext';
7
- export { RECENT_WORK_CONTEXT, RecentWorkAnalyticsContext, } from './RecentWorkAnalyticsContext';
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';
11
- export { AI_MATE_CONTEXT, AIMateAnalyticsContext, } from './AIMateAnalyticsContext';
10
+ export { POST_OFFICE_CONTEXT, PostOfficeAnalyticsContext } from './PostOfficeAnalyticsContext';
11
+ export { AI_MATE_CONTEXT, AIMateAnalyticsContext } from './AIMateAnalyticsContext';
12
+ export { AVP_CONTEXT, AVPAnalyticsContext } from './AVPAnalyticsContext';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/analytics-namespaced-context",
3
- "version": "6.9.1",
3
+ "version": "6.10.0",
4
4
  "description": "Provides a namespace for AnalyticsContext data (@atlaskit/analytics-next)",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -42,21 +42,19 @@
42
42
  "access": "public"
43
43
  },
44
44
  "dependencies": {
45
- "@atlaskit/analytics-next": "^9.2.0",
45
+ "@atlaskit/analytics-next": "^9.3.0",
46
46
  "@babel/runtime": "^7.0.0"
47
47
  },
48
48
  "peerDependencies": {
49
49
  "react": "^16.8.0"
50
50
  },
51
51
  "devDependencies": {
52
- "@atlassian/atlassian-frontend-prettier-config-1.0.1": "npm:@atlassian/atlassian-frontend-prettier-config@1.0.1",
53
52
  "@testing-library/react": "^12.1.5",
54
53
  "react": "^16.8.0",
55
- "typescript": "~4.9.5"
54
+ "typescript": "~5.4.2"
56
55
  },
57
56
  "keywords": [
58
57
  "fabric",
59
58
  "ui"
60
- ],
61
- "prettier": "@atlassian/atlassian-frontend-prettier-config-1.0.1"
62
- }
59
+ ]
60
+ }
package/report.api.md CHANGED
@@ -2,7 +2,8 @@
2
2
 
3
3
  ## API Report File for "@atlaskit/analytics-namespaced-context"
4
4
 
5
- > Do not edit this file. This report is auto-generated using [API Extractor](https://api-extractor.com/).
5
+ > Do not edit this file. This report is auto-generated using
6
+ > [API Extractor](https://api-extractor.com/).
6
7
  > [Learn more about API reports](https://hello.atlassian.net/wiki/spaces/UR/pages/1825484529/Package+API+Reports)
7
8
 
8
9
  ### Table of contents
@@ -26,16 +27,16 @@ export const AtlasAnalyticsContext: StatelessComponent<Props>;
26
27
 
27
28
  // @public (undocumented)
28
29
  export enum EDITOR_APPEARANCE_CONTEXT {
29
- // (undocumented)
30
- CHROMELESS = 'chromeless',
31
- // (undocumented)
32
- COMMENT = 'comment',
33
- // (undocumented)
34
- FIXED_WIDTH = 'fixedWidth',
35
- // (undocumented)
36
- FULL_WIDTH = 'fullWidth',
37
- // (undocumented)
38
- MOBILE = 'mobile',
30
+ // (undocumented)
31
+ CHROMELESS = 'chromeless',
32
+ // (undocumented)
33
+ COMMENT = 'comment',
34
+ // (undocumented)
35
+ FIXED_WIDTH = 'fixedWidth',
36
+ // (undocumented)
37
+ FULL_WIDTH = 'fullWidth',
38
+ // (undocumented)
39
+ MOBILE = 'mobile',
39
40
  }
40
41
 
41
42
  // @public (undocumented)
@@ -49,13 +50,13 @@ export const FabricEditorAnalyticsContext: StatelessComponent<FabricEditorAnalyt
49
50
 
50
51
  // @public (undocumented)
51
52
  type FabricEditorAnalyticsContextProps = Props & {
52
- data: {
53
- appearance: EDITOR_APPEARANCE_CONTEXT | undefined;
54
- packageName: string;
55
- packageVersion: string;
56
- componentName: 'editorCore' | 'renderer';
57
- editorSessionId: string;
58
- };
53
+ data: {
54
+ appearance: EDITOR_APPEARANCE_CONTEXT | undefined;
55
+ packageName: string;
56
+ packageVersion: string;
57
+ componentName: 'editorCore' | 'renderer';
58
+ editorSessionId: string;
59
+ };
59
60
  };
60
61
 
61
62
  // @public (undocumented)
@@ -90,8 +91,8 @@ export const PeopleTeamsAnalyticsContext: StatelessComponent<Props>;
90
91
 
91
92
  // @public (undocumented)
92
93
  type Props = {
93
- children?: ReactNode;
94
- data: {};
94
+ children?: ReactNode;
95
+ data: {};
95
96
  };
96
97
 
97
98
  // @public (undocumented)
@@ -111,7 +112,7 @@ export const RecentWorkAnalyticsContext: StatelessComponent<Props>;
111
112
 
112
113
  ```json
113
114
  {
114
- "react": "^16.8.0"
115
+ "react": "^16.8.0"
115
116
  }
116
117
  ```
117
118