@atlaskit/analytics-namespaced-context 6.9.2 → 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 (34) hide show
  1. package/CHANGELOG.md +186 -75
  2. package/afm-jira/tsconfig.json +25 -0
  3. package/dist/cjs/AVPAnalyticsContext.js +10 -0
  4. package/dist/cjs/index.js +14 -1
  5. package/dist/es2019/AVPAnalyticsContext.js +3 -0
  6. package/dist/es2019/index.js +2 -1
  7. package/dist/esm/AVPAnalyticsContext.js +3 -0
  8. package/dist/esm/index.js +2 -1
  9. package/dist/types/AIMateAnalyticsContext.d.ts +2 -2
  10. package/dist/types/AVPAnalyticsContext.d.ts +4 -0
  11. package/dist/types/AtlasAnalyticsContext.d.ts +2 -2
  12. package/dist/types/FabricEditorAnalyticsContext.d.ts +2 -2
  13. package/dist/types/FabricElementsAnalyticsContext.d.ts +2 -2
  14. package/dist/types/LinkingPlatformAnalyticsContext.d.ts +2 -2
  15. package/dist/types/NavigationAnalyticsContext.d.ts +2 -2
  16. package/dist/types/NotificationsAnalyticsContext.d.ts +2 -2
  17. package/dist/types/PeopleTeamsAnalyticsContext.d.ts +2 -2
  18. package/dist/types/PostOfficeAnalyticsContext.d.ts +2 -2
  19. package/dist/types/RecentWorkAnalyticsContext.d.ts +2 -2
  20. package/dist/types/index.d.ts +7 -6
  21. package/dist/types-ts4.5/AIMateAnalyticsContext.d.ts +2 -2
  22. package/dist/types-ts4.5/AVPAnalyticsContext.d.ts +4 -0
  23. package/dist/types-ts4.5/AtlasAnalyticsContext.d.ts +2 -2
  24. package/dist/types-ts4.5/FabricEditorAnalyticsContext.d.ts +2 -2
  25. package/dist/types-ts4.5/FabricElementsAnalyticsContext.d.ts +2 -2
  26. package/dist/types-ts4.5/LinkingPlatformAnalyticsContext.d.ts +2 -2
  27. package/dist/types-ts4.5/NavigationAnalyticsContext.d.ts +2 -2
  28. package/dist/types-ts4.5/NotificationsAnalyticsContext.d.ts +2 -2
  29. package/dist/types-ts4.5/PeopleTeamsAnalyticsContext.d.ts +2 -2
  30. package/dist/types-ts4.5/PostOfficeAnalyticsContext.d.ts +2 -2
  31. package/dist/types-ts4.5/RecentWorkAnalyticsContext.d.ts +2 -2
  32. package/dist/types-ts4.5/index.d.ts +7 -6
  33. package/package.json +3 -5
  34. package/report.api.md +22 -21
package/CHANGELOG.md CHANGED
@@ -1,58 +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
+
3
11
  ## 6.9.2
4
12
 
5
13
  ### Patch Changes
6
14
 
7
- - [#83116](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/83116) [`8d4e99057fe0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8d4e99057fe0) - Upgrade Typescript from `4.9.5` to `5.4.2`
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`
8
18
 
9
19
  ## 6.9.1
10
20
 
11
21
  ### Patch Changes
12
22
 
13
- - [#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`
14
26
 
15
27
  ## 6.9.0
16
28
 
17
29
  ### Minor Changes
18
30
 
19
- - [#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
20
34
 
21
35
  ## 6.8.0
22
36
 
23
37
  ### Minor Changes
24
38
 
25
- - [#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
26
42
 
27
43
  ## 6.7.4
28
44
 
29
45
  ### Patch Changes
30
46
 
31
- - [#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.
32
50
 
33
51
  ## 6.7.3
34
52
 
35
53
  ### Patch Changes
36
54
 
37
- - [#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
38
58
 
39
59
  ## 6.7.2
40
60
 
41
61
  ### Patch Changes
42
62
 
43
- - [#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
44
66
 
45
67
  ## 6.7.1
46
68
 
47
69
  ### Patch Changes
48
70
 
49
- - [#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`
50
74
 
51
75
  ## 6.7.0
52
76
 
53
77
  ### Minor Changes
54
78
 
55
- - [#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
56
82
 
57
83
  ### Patch Changes
58
84
 
@@ -68,75 +94,100 @@
68
94
 
69
95
  ### Minor Changes
70
96
 
71
- - [#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
72
100
 
73
101
  ## 6.5.2
74
102
 
75
103
  ### Patch Changes
76
104
 
77
- - [#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`
78
108
 
79
109
  ## 6.5.1
80
110
 
81
111
  ### Patch Changes
82
112
 
83
- - [#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`.
84
116
 
85
117
  ## 6.5.0
86
118
 
87
119
  ### Minor Changes
88
120
 
89
- - [#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
90
124
 
91
125
  ## 6.4.1
92
126
 
93
127
  ### Patch Changes
94
128
 
95
- - [#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
96
132
 
97
133
  ## 6.4.0
98
134
 
99
135
  ### Minor Changes
100
136
 
101
- - [#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
102
140
 
103
141
  ## 6.3.0
104
142
 
105
143
  ### Minor Changes
106
144
 
107
- - [#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.
108
148
 
109
149
  ## 6.2.0
110
150
 
111
151
  ### Minor Changes
112
152
 
113
- - [#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.
114
156
 
115
157
  ## 6.1.0
116
158
 
117
159
  ### Minor Changes
118
160
 
119
- - [#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
120
164
 
121
165
  ## 6.0.0
122
166
 
123
167
  ### Major Changes
124
168
 
125
- - [#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)
126
172
 
127
173
  ## 5.1.4
128
174
 
129
175
  ### Patch Changes
130
176
 
131
- - [#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
132
180
 
133
181
  ## 5.1.3
134
182
 
135
183
  ### Patch Changes
136
184
 
137
- - [#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.
138
- This requires version 3.8 of Typescript, read more about how we handle Typescript versions here: https://atlaskit.atlassian.com/get-started
139
- 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.
140
191
 
141
192
  ## 5.1.2
142
193
 
@@ -148,16 +199,20 @@
148
199
 
149
200
  ### Patch Changes
150
201
 
151
- - [#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
152
205
 
153
- Since tslib is a dependency for all our packages we recommend that products also follow this tslib upgrade
154
- 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.
155
208
 
156
209
  ## 5.1.0
157
210
 
158
211
  ### Minor Changes
159
212
 
160
- - [#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.
161
216
 
162
217
  ### Patch Changes
163
218
 
@@ -167,14 +222,19 @@
167
222
 
168
223
  ### Patch Changes
169
224
 
170
- - [#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
171
228
 
172
229
  ## 5.0.0
173
230
 
174
231
  ### Major Changes
175
232
 
176
- - [#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.
177
- 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
178
238
 
179
239
  ### Patch Changes
180
240
 
@@ -184,7 +244,9 @@
184
244
 
185
245
  ### Minor Changes
186
246
 
187
- - [#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"
188
250
 
189
251
  ## 4.2.0
190
252
 
@@ -192,15 +254,21 @@
192
254
 
193
255
  - [minor][69b678b38c](https://bitbucket.org/atlassian/atlassian-frontend/commits/69b678b38c):
194
256
 
195
- 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
196
259
 
197
260
  ### Patch Changes
198
261
 
199
- - Updated dependencies [168b5f90e5](https://bitbucket.org/atlassian/atlassian-frontend/commits/168b5f90e5):
200
- - Updated dependencies [11ff95c0f0](https://bitbucket.org/atlassian/atlassian-frontend/commits/11ff95c0f0):
201
- - Updated dependencies [ae426d5e97](https://bitbucket.org/atlassian/atlassian-frontend/commits/ae426d5e97):
202
- - Updated dependencies [109004a98e](https://bitbucket.org/atlassian/atlassian-frontend/commits/109004a98e):
203
- - 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):
204
272
  - @atlaskit/docs@8.5.1
205
273
  - @atlaskit/analytics-listeners@6.3.0
206
274
  - @atlaskit/analytics-next@6.3.6
@@ -211,7 +279,8 @@
211
279
 
212
280
  - [patch][6548261c9a](https://bitbucket.org/atlassian/atlassian-frontend/commits/6548261c9a):
213
281
 
214
- 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):
215
284
 
216
285
  - @atlaskit/docs@8.3.2
217
286
  - @atlaskit/analytics-next@6.3.5
@@ -227,7 +296,8 @@
227
296
 
228
297
  **BREAKING CHANGES**
229
298
 
230
- - **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.
231
301
  - https://product-fabric.atlassian.net/browse/MS-2038
232
302
  - **Tasks & Decisions:** Removed containerAri for task-decisions components.
233
303
  - https://product-fabric.atlassian.net/browse/ED-7631
@@ -312,7 +382,8 @@ Bumped dependencies.
312
382
 
313
383
  - [patch][097b696613](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/097b696613):
314
384
 
315
- 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
316
387
 
317
388
  ## 4.1.6
318
389
 
@@ -328,7 +399,8 @@ Bumped dependencies.
328
399
 
329
400
  - [patch][926b43142b](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/926b43142b):
330
401
 
331
- 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.
332
404
 
333
405
  **Breaking changes**
334
406
 
@@ -337,11 +409,16 @@ Bumped dependencies.
337
409
 
338
410
  **Breaking changes to TypeScript annotations**
339
411
 
340
- - `withAnalyticsEvents` now infers proptypes automatically, consumers no longer need to provide props as a generic type.
341
- - `withAnalyticsContext` now infers proptypes automatically, consumers no longer need to provide props as a generic type.
342
- - Type `WithAnalyticsEventProps` has been renamed to `WithAnalyticsEventsProps` to match source code
343
- - Type `CreateUIAnalyticsEventSignature` has been renamed to `CreateUIAnalyticsEvent` to match source code
344
- - 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
345
422
  - Type `AnalyticsEventsPayload` has been renamed to `AnalyticsEventPayload`
346
423
  - Type `ObjectType` has been removed, please use `Record<string, any>` or `[key: string]: any`
347
424
  - Type `UIAnalyticsEventInterface` has been removed, please use `UIAnalyticsEvent`
@@ -377,8 +454,10 @@ Bumped dependencies.
377
454
  - Adding back cjs
378
455
  - Replacing es5 by cjs and es2015 by esm
379
456
  - Creating folders at the root for entry-points
380
- - Removing the generation of the entry-points at the root
381
- 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
382
461
 
383
462
  ## 4.1.1
384
463
 
@@ -386,7 +465,9 @@ Bumped dependencies.
386
465
 
387
466
  - [patch][d0db01b410](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/d0db01b410):
388
467
 
389
- 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.
390
471
 
391
472
  Before:
392
473
 
@@ -410,7 +491,8 @@ Bumped dependencies.
410
491
 
411
492
  - [major][7c17b35107](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/7c17b35107):
412
493
 
413
- - 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.
414
496
 
415
497
  ## 3.0.3
416
498
 
@@ -422,7 +504,8 @@ Bumped dependencies.
422
504
 
423
505
  - [patch][3f28e6443c](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/3f28e6443c):
424
506
 
425
- - @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.
426
509
 
427
510
  ## 3.0.1
428
511
 
@@ -438,7 +521,8 @@ Bumped dependencies.
438
521
 
439
522
  ## 2.2.1
440
523
 
441
- - 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):
442
526
  - @atlaskit/analytics-listeners@4.2.1
443
527
  - @atlaskit/docs@7.0.0
444
528
  - @atlaskit/analytics-next@4.0.0
@@ -458,42 +542,59 @@ Bumped dependencies.
458
542
 
459
543
  ## 2.1.4
460
544
 
461
- - [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)
462
551
 
463
552
  ## 2.1.3
464
553
 
465
- - [patch] fixed imports, docs and made GasPayload package attributes optional [6be5eed](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/6be5eed)
466
- - [patch] use createAndFire function from analytics-next [095f356](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/095f356)
467
- - [patch] Fixed TS errors and code improvements [b290312](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/b290312)
468
- - [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)
469
562
 
470
563
  ## 2.1.2
471
564
 
472
- - [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)
473
567
  - @atlaskit/analytics-listeners@4.0.0
474
568
 
475
569
  ## 2.1.1
476
570
 
477
- - [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)
478
573
  - @atlaskit/analytics-listeners@3.3.1
479
574
 
480
575
  ## 2.1.0
481
576
 
482
- - [minor] Add NavigationContext component that provides context to events fired on the navigation channel [89225ce](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/89225ce)
483
- - [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)
484
581
  - @atlaskit/analytics-listeners@3.2.0
485
- - [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)
486
584
  - @atlaskit/analytics-listeners@3.2.0
487
585
 
488
586
  ## 2.0.3
489
587
 
490
- - [patch] Fix es5 exports of some of the newer modules [3f0cd7d](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/3f0cd7d)
491
- - [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)
492
592
  - @atlaskit/analytics-gas-types@3.1.3
493
593
 
494
594
  ## 2.0.2
495
595
 
496
- - [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)
497
598
  - @atlaskit/button@9.0.4
498
599
  - @atlaskit/analytics-next@3.0.3
499
600
  - @atlaskit/docs@5.0.2
@@ -501,17 +602,21 @@ Bumped dependencies.
501
602
 
502
603
  ## 2.0.1
503
604
 
504
- - [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)
505
607
 
506
608
  ## 2.0.0
507
609
 
508
- - [major] Updates to React ^16.4.0 [7edb866](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/7edb866)
509
- - [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)
510
614
  - @atlaskit/analytics-next@3.0.0
511
615
  - @atlaskit/button@9.0.0
512
616
  - @atlaskit/docs@5.0.0
513
617
  - @atlaskit/analytics-gas-types@3.0.0
514
- - [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)
515
620
  - @atlaskit/analytics-next@3.0.0
516
621
  - @atlaskit/button@9.0.0
517
622
  - @atlaskit/docs@5.0.0
@@ -519,19 +624,25 @@ Bumped dependencies.
519
624
 
520
625
  ## 1.0.3
521
626
 
522
- - [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)
523
- - [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)
524
631
  - @atlaskit/analytics-gas-types@2.1.4
525
632
 
526
633
  ## 1.0.2
527
634
 
528
- - [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)
529
637
 
530
- * [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)
531
640
  - @atlaskit/docs@4.2.2
532
- * [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)
533
643
  - @atlaskit/docs@4.2.2
534
644
 
535
645
  ## 1.0.1
536
646
 
537
- - [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)
@@ -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.2",
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,14 +42,13 @@
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
54
  "typescript": "~5.4.2"
@@ -57,6 +56,5 @@
57
56
  "keywords": [
58
57
  "fabric",
59
58
  "ui"
60
- ],
61
- "prettier": "@atlassian/atlassian-frontend-prettier-config-1.0.1"
59
+ ]
62
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