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