@atlaskit/editor-plugin-analytics 1.2.1 → 1.2.3
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 +224 -210
- package/LICENSE.md +6 -8
- package/dist/types/analytics-api/map-attributes.d.ts +1 -1
- package/dist/types/undo-redo-input-source.d.ts +2 -2
- package/dist/types-ts4.5/analytics-api/map-attributes.d.ts +1 -1
- package/dist/types-ts4.5/undo-redo-input-source.d.ts +2 -2
- package/package.json +3 -7
- package/report.api.md +21 -20
package/CHANGELOG.md
CHANGED
|
@@ -1,501 +1,515 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-analytics
|
|
2
2
|
|
|
3
|
+
## 1.2.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
|
|
9
|
+
## 1.2.2
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [#102478](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/102478)
|
|
14
|
+
[`3378951608b0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/3378951608b0) -
|
|
15
|
+
[ED-23332] Update adf-schema package to 36.10.1
|
|
16
|
+
- Updated dependencies
|
|
17
|
+
|
|
3
18
|
## 1.2.1
|
|
4
19
|
|
|
5
20
|
### Patch Changes
|
|
6
21
|
|
|
7
|
-
-
|
|
8
|
-
|
|
9
|
-
|
|
22
|
+
- [#101524](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/101524)
|
|
23
|
+
[`4821570088e6`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/4821570088e6) -
|
|
24
|
+
ED-23362 Bump ADF schema to version 36.8.1 and add support for adf validation and transformation
|
|
10
25
|
|
|
11
26
|
## 1.2.0
|
|
12
27
|
|
|
13
28
|
### Minor Changes
|
|
14
29
|
|
|
15
|
-
-
|
|
16
|
-
|
|
17
|
-
|
|
30
|
+
- [#99579](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/99579)
|
|
31
|
+
[`f222af5687e9`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/f222af5687e9) -
|
|
32
|
+
Bump adf-schema to 36.3.0 and adf-schema-json to 1.14.0
|
|
18
33
|
|
|
19
34
|
### Patch Changes
|
|
20
35
|
|
|
21
|
-
-
|
|
36
|
+
- Updated dependencies
|
|
22
37
|
|
|
23
38
|
## 1.1.7
|
|
24
39
|
|
|
25
40
|
### Patch Changes
|
|
26
41
|
|
|
27
|
-
-
|
|
42
|
+
- Updated dependencies
|
|
28
43
|
|
|
29
44
|
## 1.1.6
|
|
30
45
|
|
|
31
46
|
### Patch Changes
|
|
32
47
|
|
|
33
|
-
-
|
|
34
|
-
|
|
35
|
-
|
|
48
|
+
- [#97599](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/97599)
|
|
49
|
+
[`32c3130b08fe`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/32c3130b08fe) -
|
|
50
|
+
[ED-22282] Bump adf-schema to 36.1.0
|
|
36
51
|
|
|
37
52
|
## 1.1.5
|
|
38
53
|
|
|
39
54
|
### Patch Changes
|
|
40
55
|
|
|
41
|
-
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
56
|
+
- [#97698](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/97698)
|
|
57
|
+
[`1c7b378c0d3b`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/1c7b378c0d3b) -
|
|
58
|
+
[HOT-108999] We had an incident where the cursor jumps back a character in table headers for any
|
|
59
|
+
language triggering composition on an empty line.This was fixed in a patch bump of
|
|
60
|
+
prosemirror-view. https://github.com/ProseMirror/prosemirror-view/compare/1.33.4...1.33.5
|
|
46
61
|
|
|
47
62
|
## 1.1.4
|
|
48
63
|
|
|
49
64
|
### Patch Changes
|
|
50
65
|
|
|
51
|
-
-
|
|
66
|
+
- Updated dependencies
|
|
52
67
|
|
|
53
68
|
## 1.1.3
|
|
54
69
|
|
|
55
70
|
### Patch Changes
|
|
56
71
|
|
|
57
|
-
-
|
|
58
|
-
|
|
59
|
-
|
|
72
|
+
- [#96237](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/96237)
|
|
73
|
+
[`0401e7b5a88e`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/0401e7b5a88e) -
|
|
74
|
+
[ED-23102] Bump ADF schema to version 35.12.2
|
|
60
75
|
|
|
61
76
|
## 1.1.2
|
|
62
77
|
|
|
63
78
|
### Patch Changes
|
|
64
79
|
|
|
65
|
-
-
|
|
66
|
-
|
|
67
|
-
|
|
80
|
+
- [#94901](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/94901)
|
|
81
|
+
[`da964fcdc828`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/da964fcdc828) -
|
|
82
|
+
[ED-23097] Bump ADF schema to version 35.12.1
|
|
68
83
|
|
|
69
84
|
## 1.1.1
|
|
70
85
|
|
|
71
86
|
### Patch Changes
|
|
72
87
|
|
|
73
|
-
-
|
|
74
|
-
|
|
75
|
-
|
|
88
|
+
- [#93689](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/93689)
|
|
89
|
+
[`5ba5d2b4a9ac`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/5ba5d2b4a9ac) -
|
|
90
|
+
Updating adf-schema version to 35.10.0
|
|
76
91
|
|
|
77
92
|
## 1.1.0
|
|
78
93
|
|
|
79
94
|
### Minor Changes
|
|
80
95
|
|
|
81
|
-
-
|
|
82
|
-
|
|
83
|
-
|
|
96
|
+
- [#91934](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/91934)
|
|
97
|
+
[`b76a78c6a199`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/b76a78c6a199) -
|
|
98
|
+
bumped editor-prosemirror version to 4.0.0
|
|
84
99
|
|
|
85
100
|
### Patch Changes
|
|
86
101
|
|
|
87
|
-
-
|
|
102
|
+
- Updated dependencies
|
|
88
103
|
|
|
89
104
|
## 1.0.9
|
|
90
105
|
|
|
91
106
|
### Patch Changes
|
|
92
107
|
|
|
93
|
-
-
|
|
94
|
-
|
|
95
|
-
|
|
108
|
+
- [#92426](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/92426)
|
|
109
|
+
[`32c76c7c225c`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/32c76c7c225c) -
|
|
110
|
+
Bump adf-schema to 35.9.2 to support table alignment options
|
|
96
111
|
|
|
97
112
|
## 1.0.8
|
|
98
113
|
|
|
99
114
|
### Patch Changes
|
|
100
115
|
|
|
101
|
-
-
|
|
102
|
-
|
|
103
|
-
|
|
116
|
+
- [#87119](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/87119)
|
|
117
|
+
[`0cea7cb799c3`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/0cea7cb799c3) -
|
|
118
|
+
[EDF-462] Add analytics for AI Blocks
|
|
104
119
|
|
|
105
120
|
## 1.0.7
|
|
106
121
|
|
|
107
122
|
### Patch Changes
|
|
108
123
|
|
|
109
|
-
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
-
|
|
124
|
+
- [#91106](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/91106)
|
|
125
|
+
[`b6ffa30186b9`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/b6ffa30186b9) -
|
|
126
|
+
Bump ADF-schema package to version 35.0.0
|
|
127
|
+
- Updated dependencies
|
|
113
128
|
|
|
114
129
|
## 1.0.6
|
|
115
130
|
|
|
116
131
|
### Patch Changes
|
|
117
132
|
|
|
118
|
-
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
133
|
+
- [#86724](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/86724)
|
|
134
|
+
[`718a9aa2424d`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/718a9aa2424d) -
|
|
135
|
+
[ED-22607] Remove references to maxFrames for multi bodied extensions and bump adf-schema from
|
|
136
|
+
35.7.0 to 35.8.0
|
|
122
137
|
|
|
123
138
|
## 1.0.5
|
|
124
139
|
|
|
125
140
|
### Patch Changes
|
|
126
141
|
|
|
127
|
-
-
|
|
128
|
-
|
|
129
|
-
|
|
142
|
+
- [#81777](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/81777)
|
|
143
|
+
[`c6d7a5378751`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/c6d7a5378751) -
|
|
144
|
+
Bump adf-schema to 35.7.0
|
|
130
145
|
|
|
131
146
|
## 1.0.4
|
|
132
147
|
|
|
133
148
|
### Patch Changes
|
|
134
149
|
|
|
135
|
-
-
|
|
136
|
-
|
|
137
|
-
|
|
150
|
+
- [#80679](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/80679)
|
|
151
|
+
[`104eb9443b7e`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/104eb9443b7e) -
|
|
152
|
+
ED-22553 Updating adf-schema version to 35.6.0
|
|
138
153
|
|
|
139
154
|
## 1.0.3
|
|
140
155
|
|
|
141
156
|
### Patch Changes
|
|
142
157
|
|
|
143
|
-
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
-
|
|
158
|
+
- [#78224](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/78224)
|
|
159
|
+
[`6b4c9dd4ad34`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/6b4c9dd4ad34) -
|
|
160
|
+
ED-22219: adf-schema updated to 35.5.2
|
|
161
|
+
- Updated dependencies
|
|
147
162
|
|
|
148
163
|
## 1.0.2
|
|
149
164
|
|
|
150
165
|
### Patch Changes
|
|
151
166
|
|
|
152
|
-
-
|
|
167
|
+
- Updated dependencies
|
|
153
168
|
|
|
154
169
|
## 1.0.1
|
|
155
170
|
|
|
156
171
|
### Patch Changes
|
|
157
172
|
|
|
158
|
-
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
-
|
|
173
|
+
- [#72295](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/72295)
|
|
174
|
+
[`eefc8788ab31`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/eefc8788ab31) -
|
|
175
|
+
ED-22046 Add insertedLocation attribute for analytics in node insertion
|
|
176
|
+
- Updated dependencies
|
|
162
177
|
|
|
163
178
|
## 1.0.0
|
|
164
179
|
|
|
165
180
|
### Major Changes
|
|
166
181
|
|
|
167
|
-
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
182
|
+
- [#72386](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/72386)
|
|
183
|
+
[`0c52b0be40c1`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/0c52b0be40c1) -
|
|
184
|
+
This changeset exists to bump all editor plugins that currently don't have a major version. This
|
|
185
|
+
is to address an issue with Jira plugin consumption.
|
|
171
186
|
|
|
172
187
|
## 0.4.7
|
|
173
188
|
|
|
174
189
|
### Patch Changes
|
|
175
190
|
|
|
176
|
-
-
|
|
177
|
-
|
|
178
|
-
|
|
191
|
+
- [#68572](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/68572)
|
|
192
|
+
[`15d407fe5143`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/15d407fe5143) -
|
|
193
|
+
Upgrading @atlaskit/editor-prosemirror dependency
|
|
179
194
|
|
|
180
195
|
## 0.4.6
|
|
181
196
|
|
|
182
197
|
### Patch Changes
|
|
183
198
|
|
|
184
|
-
-
|
|
185
|
-
|
|
186
|
-
|
|
199
|
+
- [#70152](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/70152)
|
|
200
|
+
[`53ed3673df28`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/53ed3673df28) -
|
|
201
|
+
Updating adf-schema version to 35.5.1
|
|
187
202
|
|
|
188
203
|
## 0.4.5
|
|
189
204
|
|
|
190
205
|
### Patch Changes
|
|
191
206
|
|
|
192
|
-
-
|
|
207
|
+
- Updated dependencies
|
|
193
208
|
|
|
194
209
|
## 0.4.4
|
|
195
210
|
|
|
196
211
|
### Patch Changes
|
|
197
212
|
|
|
198
|
-
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
-
|
|
213
|
+
- [#65031](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/65031)
|
|
214
|
+
[`a00094111b5a`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/a00094111b5a) -
|
|
215
|
+
ED-21609 Update adf-schema to 35.3.0
|
|
216
|
+
- Updated dependencies
|
|
202
217
|
|
|
203
218
|
## 0.4.3
|
|
204
219
|
|
|
205
220
|
### Patch Changes
|
|
206
221
|
|
|
207
|
-
-
|
|
208
|
-
|
|
209
|
-
|
|
222
|
+
- [#62165](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/62165)
|
|
223
|
+
[`b44ac0968d79`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/b44ac0968d79) -
|
|
224
|
+
[ED-21562] Bump @atlaskit/adf-schema to 35.2.0 for border mark update
|
|
210
225
|
|
|
211
226
|
## 0.4.2
|
|
212
227
|
|
|
213
228
|
### Patch Changes
|
|
214
229
|
|
|
215
|
-
-
|
|
216
|
-
|
|
217
|
-
|
|
230
|
+
- [#60808](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/60808)
|
|
231
|
+
[`f509a21be124`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/f509a21be124) -
|
|
232
|
+
ED-21506: @atlaskit/adf-schema upgraded to 35.1.1 to support renderer for MBE
|
|
218
233
|
|
|
219
234
|
## 0.4.1
|
|
220
235
|
|
|
221
236
|
### Patch Changes
|
|
222
237
|
|
|
223
|
-
-
|
|
224
|
-
|
|
225
|
-
|
|
238
|
+
- [#58246](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/58246)
|
|
239
|
+
[`a381b2599716`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/a381b2599716) -
|
|
240
|
+
ED-21371 Update adf-schema to 35.1.0
|
|
226
241
|
|
|
227
242
|
## 0.4.0
|
|
228
243
|
|
|
229
244
|
### Minor Changes
|
|
230
245
|
|
|
231
|
-
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
246
|
+
- [#59421](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/59421)
|
|
247
|
+
[`3747754f8ab0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/3747754f8ab0) -
|
|
248
|
+
NO-ISSUE Added the capability to directly trigger an analytics event as an action to the editor
|
|
249
|
+
analytics plugin
|
|
235
250
|
|
|
236
251
|
### Patch Changes
|
|
237
252
|
|
|
238
|
-
-
|
|
253
|
+
- Updated dependencies
|
|
239
254
|
|
|
240
255
|
## 0.3.6
|
|
241
256
|
|
|
242
257
|
### Patch Changes
|
|
243
258
|
|
|
244
|
-
-
|
|
245
|
-
|
|
246
|
-
|
|
259
|
+
- [#59147](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/59147)
|
|
260
|
+
[`f12e489f23b0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/f12e489f23b0) -
|
|
261
|
+
Re-build and deploy packages to NPM to resolve React/Compiled not found error (HOT-106483).
|
|
247
262
|
|
|
248
263
|
## 0.3.5
|
|
249
264
|
|
|
250
265
|
### Patch Changes
|
|
251
266
|
|
|
252
|
-
-
|
|
253
|
-
|
|
254
|
-
|
|
267
|
+
- [#58763](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/58763)
|
|
268
|
+
[`0fdbd64522bf`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/0fdbd64522bf) -
|
|
269
|
+
update ADF schema
|
|
255
270
|
|
|
256
271
|
## 0.3.4
|
|
257
272
|
|
|
258
273
|
### Patch Changes
|
|
259
274
|
|
|
260
|
-
-
|
|
261
|
-
|
|
262
|
-
|
|
275
|
+
- [#56790](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/56790)
|
|
276
|
+
[`ff577a7969d4`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ff577a7969d4) -
|
|
277
|
+
ED-21266: Updated @atlaskit/adf-schema to 34.0.1
|
|
263
278
|
|
|
264
279
|
## 0.3.3
|
|
265
280
|
|
|
266
281
|
### Patch Changes
|
|
267
282
|
|
|
268
|
-
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
283
|
+
- [#43646](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/43646)
|
|
284
|
+
[`d43f8e9402f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d43f8e9402f) - Make
|
|
285
|
+
feature flags plugin optional in all plugins including:
|
|
286
|
+
|
|
287
|
+
- analytics
|
|
288
|
+
- base
|
|
289
|
+
- card
|
|
290
|
+
- code-block
|
|
291
|
+
- expand
|
|
292
|
+
- extension
|
|
293
|
+
- floating-toolbar
|
|
294
|
+
- hyperlink
|
|
295
|
+
- insert-block
|
|
296
|
+
- layout
|
|
297
|
+
- layout
|
|
298
|
+
- list
|
|
299
|
+
- media
|
|
300
|
+
- paste
|
|
301
|
+
- rule
|
|
302
|
+
- table
|
|
303
|
+
- tasks-and-decisions
|
|
304
|
+
|
|
305
|
+
We already treat it as optional in the plugins, so this is just ensuring that the plugin is not
|
|
306
|
+
mandatory to be added to the preset.
|
|
292
307
|
|
|
293
308
|
## 0.3.2
|
|
294
309
|
|
|
295
310
|
### Patch Changes
|
|
296
311
|
|
|
297
|
-
-
|
|
298
|
-
|
|
299
|
-
|
|
312
|
+
- [#43417](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/43417)
|
|
313
|
+
[`3f3c17f0273`](https://bitbucket.org/atlassian/atlassian-frontend/commits/3f3c17f0273) - ED-20971
|
|
314
|
+
Upgrade adf-schema package to ^34.0.0
|
|
300
315
|
|
|
301
316
|
## 0.3.1
|
|
302
317
|
|
|
303
318
|
### Patch Changes
|
|
304
319
|
|
|
305
|
-
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
-
|
|
320
|
+
- [#43379](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/43379)
|
|
321
|
+
[`482c025520d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/482c025520d) - ED-20763
|
|
322
|
+
Upgrade ADF schema version to 33.2.3 for MBE nodes.
|
|
323
|
+
- Updated dependencies
|
|
309
324
|
|
|
310
325
|
## 0.3.0
|
|
311
326
|
|
|
312
327
|
### Minor Changes
|
|
313
328
|
|
|
314
|
-
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
329
|
+
- [#42373](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/42373)
|
|
330
|
+
[`f607a815ffc`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f607a815ffc) -
|
|
331
|
+
Decoupled deprecated analytics plugin imports from remaining plugins except for collab-edit,
|
|
332
|
+
macro, find-replace, extension.
|
|
318
333
|
|
|
319
334
|
## 0.2.6
|
|
320
335
|
|
|
321
336
|
### Patch Changes
|
|
322
337
|
|
|
323
|
-
-
|
|
324
|
-
|
|
325
|
-
|
|
338
|
+
- [#39749](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/39749)
|
|
339
|
+
[`e6b69f455c3`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e6b69f455c3) - Connect
|
|
340
|
+
yarn changeset to packages, upgrade adf-schema
|
|
326
341
|
|
|
327
342
|
## 0.2.5
|
|
328
343
|
|
|
329
344
|
### Patch Changes
|
|
330
345
|
|
|
331
|
-
-
|
|
346
|
+
- Updated dependencies
|
|
332
347
|
|
|
333
348
|
## 0.2.4
|
|
334
349
|
|
|
335
350
|
### Patch Changes
|
|
336
351
|
|
|
337
|
-
-
|
|
338
|
-
|
|
339
|
-
|
|
352
|
+
- [#39984](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/39984)
|
|
353
|
+
[`37c62369dae`](https://bitbucket.org/atlassian/atlassian-frontend/commits/37c62369dae) - NO-ISSUE
|
|
354
|
+
Import doc builder types from editor-common
|
|
340
355
|
|
|
341
356
|
## 0.2.3
|
|
342
357
|
|
|
343
358
|
### Patch Changes
|
|
344
359
|
|
|
345
|
-
-
|
|
360
|
+
- Updated dependencies
|
|
346
361
|
|
|
347
362
|
## 0.2.2
|
|
348
363
|
|
|
349
364
|
### Patch Changes
|
|
350
365
|
|
|
351
|
-
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
-
|
|
355
|
-
|
|
366
|
+
- [#39481](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/39481)
|
|
367
|
+
[`aeb5c9a01e8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/aeb5c9a01e8) - Delete
|
|
368
|
+
adf-schema from AFE and rely on npm package for adf-schema
|
|
369
|
+
- [`4b4dcfe0bba`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4b4dcfe0bba) - Delete
|
|
370
|
+
adf-schema, use published version
|
|
356
371
|
|
|
357
372
|
## 0.2.1
|
|
358
373
|
|
|
359
374
|
### Patch Changes
|
|
360
375
|
|
|
361
|
-
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
376
|
+
- [#39304](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/39304)
|
|
377
|
+
[`6acf9830b36`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6acf9830b36) - Update
|
|
378
|
+
feature flags plugin (@atlaskit/editor-plugin-feature-flags) to use a named export rather than
|
|
379
|
+
default export to match other plugins.
|
|
365
380
|
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
381
|
+
```ts
|
|
382
|
+
// Before
|
|
383
|
+
import featureFlagsPlugin from '@atlaskit/editor-plugin-feature-flags';
|
|
369
384
|
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
385
|
+
// After
|
|
386
|
+
import { featureFlagsPlugin } from '@atlaskit/editor-plugin-feature-flags';
|
|
387
|
+
```
|
|
373
388
|
|
|
374
|
-
-
|
|
389
|
+
- Updated dependencies
|
|
375
390
|
|
|
376
391
|
## 0.2.0
|
|
377
392
|
|
|
378
393
|
### Minor Changes
|
|
379
394
|
|
|
380
|
-
-
|
|
381
|
-
|
|
382
|
-
|
|
395
|
+
- [#39325](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/39325)
|
|
396
|
+
[`ad3c5c21079`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ad3c5c21079) - Updating
|
|
397
|
+
all plugins with minor version to correct issue with semver.
|
|
383
398
|
|
|
384
399
|
### Patch Changes
|
|
385
400
|
|
|
386
|
-
-
|
|
401
|
+
- Updated dependencies
|
|
387
402
|
|
|
388
403
|
## 0.1.7
|
|
389
404
|
|
|
390
405
|
### Patch Changes
|
|
391
406
|
|
|
392
|
-
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
`NextEditorPlugin`.
|
|
407
|
+
- [#39010](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/39010)
|
|
408
|
+
[`8467bdcdf4f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8467bdcdf4f) - Removing
|
|
409
|
+
`dependencies` prop from PluginInjectionAPI and changing signature of `NextEditorPlugin`.
|
|
396
410
|
|
|
397
|
-
|
|
411
|
+
Previously a `NextEditorPlugin` would be consumed as so:
|
|
398
412
|
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
413
|
+
```ts
|
|
414
|
+
const plugin: NextEditorPlugin< ... > = (config, api) => {
|
|
415
|
+
// Can use api like so:
|
|
416
|
+
api.dependencies.core.actions.execute( ... )
|
|
417
|
+
return { ... }
|
|
418
|
+
}
|
|
419
|
+
```
|
|
406
420
|
|
|
407
|
-
|
|
408
|
-
|
|
421
|
+
Now these have become named parameters like so and the `pluginInjectionAPI` is used without the
|
|
422
|
+
`dependencies` prop:
|
|
409
423
|
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
424
|
+
```ts
|
|
425
|
+
const plugin: NextEditorPlugin< ... > = ({ config, api }) => {
|
|
426
|
+
// Can use api like so:
|
|
427
|
+
api.core.actions.execute( ... )
|
|
428
|
+
return { ... }
|
|
429
|
+
}
|
|
430
|
+
```
|
|
417
431
|
|
|
418
|
-
-
|
|
432
|
+
- Updated dependencies
|
|
419
433
|
|
|
420
434
|
## 0.1.6
|
|
421
435
|
|
|
422
436
|
### Patch Changes
|
|
423
437
|
|
|
424
|
-
-
|
|
425
|
-
|
|
426
|
-
|
|
438
|
+
- [#39177](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/39177)
|
|
439
|
+
[`24e27147cbd`](https://bitbucket.org/atlassian/atlassian-frontend/commits/24e27147cbd) - Added
|
|
440
|
+
atlaskit docs to all existing plugins.
|
|
427
441
|
|
|
428
442
|
## 0.1.5
|
|
429
443
|
|
|
430
444
|
### Patch Changes
|
|
431
445
|
|
|
432
|
-
-
|
|
433
|
-
|
|
434
|
-
|
|
446
|
+
- [#38976](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/38976)
|
|
447
|
+
[`33cb07de05f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/33cb07de05f) - change
|
|
448
|
+
adf-schema to fixed versioning
|
|
435
449
|
|
|
436
450
|
## 0.1.4
|
|
437
451
|
|
|
438
452
|
### Patch Changes
|
|
439
453
|
|
|
440
|
-
-
|
|
454
|
+
- Updated dependencies
|
|
441
455
|
|
|
442
456
|
## 0.1.3
|
|
443
457
|
|
|
444
458
|
### Patch Changes
|
|
445
459
|
|
|
446
|
-
-
|
|
460
|
+
- Updated dependencies
|
|
447
461
|
|
|
448
462
|
## 0.1.2
|
|
449
463
|
|
|
450
464
|
### Patch Changes
|
|
451
465
|
|
|
452
|
-
-
|
|
466
|
+
- Updated dependencies
|
|
453
467
|
|
|
454
468
|
## 0.1.1
|
|
455
469
|
|
|
456
470
|
### Patch Changes
|
|
457
471
|
|
|
458
|
-
-
|
|
459
|
-
|
|
460
|
-
|
|
472
|
+
- [#37785](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/37785)
|
|
473
|
+
[`4e6f1bf8511`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4e6f1bf8511) -
|
|
474
|
+
[ED-19233] Import prosemirror libraries from internal facade package
|
|
461
475
|
|
|
462
476
|
## 0.1.0
|
|
463
477
|
|
|
464
478
|
### Minor Changes
|
|
465
479
|
|
|
466
|
-
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
480
|
+
- [#36748](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/36748)
|
|
481
|
+
[`91c4edcea5a`](https://bitbucket.org/atlassian/atlassian-frontend/commits/91c4edcea5a) - The
|
|
482
|
+
analytics plugin (`editor-plugin-analytics`) now creates the `createAnalyticsEvent` if none is
|
|
483
|
+
supplied and shares it with other plugins internally.
|
|
470
484
|
|
|
471
485
|
## 0.0.5
|
|
472
486
|
|
|
473
487
|
### Patch Changes
|
|
474
488
|
|
|
475
|
-
-
|
|
476
|
-
|
|
477
|
-
|
|
489
|
+
- [#36241](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/36241)
|
|
490
|
+
[`5f5ba16de66`](https://bitbucket.org/atlassian/atlassian-frontend/commits/5f5ba16de66) -
|
|
491
|
+
[ED-13910] Fix prosemirror types
|
|
478
492
|
|
|
479
493
|
## 0.0.4
|
|
480
494
|
|
|
481
495
|
### Patch Changes
|
|
482
496
|
|
|
483
|
-
-
|
|
497
|
+
- Updated dependencies
|
|
484
498
|
|
|
485
499
|
## 0.0.3
|
|
486
500
|
|
|
487
501
|
### Patch Changes
|
|
488
502
|
|
|
489
|
-
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
-
|
|
503
|
+
- [#35782](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/35782)
|
|
504
|
+
[`73b5128036b`](https://bitbucket.org/atlassian/atlassian-frontend/commits/73b5128036b) -
|
|
505
|
+
[ED-17082] Mark package as a singleton one
|
|
506
|
+
- Updated dependencies
|
|
493
507
|
|
|
494
508
|
## 0.0.2
|
|
495
509
|
|
|
496
510
|
### Patch Changes
|
|
497
511
|
|
|
498
|
-
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
-
|
|
512
|
+
- [#35005](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/35005)
|
|
513
|
+
[`f07a1e036a9`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f07a1e036a9) -
|
|
514
|
+
Refactoring editor-core to prepare for extracting card plugin.
|
|
515
|
+
- Updated dependencies
|
package/LICENSE.md
CHANGED
|
@@ -1,13 +1,11 @@
|
|
|
1
1
|
Copyright 2023 Atlassian Pty Ltd
|
|
2
2
|
|
|
3
|
-
Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
|
-
|
|
5
|
-
You may obtain a copy of the License at
|
|
3
|
+
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in
|
|
4
|
+
compliance with the License. You may obtain a copy of the License at
|
|
6
5
|
|
|
7
6
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
8
7
|
|
|
9
|
-
Unless required by applicable law or agreed to in writing, software
|
|
10
|
-
distributed
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
limitations under the License.
|
|
8
|
+
Unless required by applicable law or agreed to in writing, software distributed under the License is
|
|
9
|
+
distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
10
|
+
implied. See the License for the specific language governing permissions and limitations under the
|
|
11
|
+
License.
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { AnalyticsEventPayload } from '@atlaskit/editor-common/analytics';
|
|
1
|
+
import { type AnalyticsEventPayload } from '@atlaskit/editor-common/analytics';
|
|
2
2
|
export declare function mapActionSubjectIdToAttributes(payload: AnalyticsEventPayload): AnalyticsEventPayload;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { AnalyticsPayload } from '@atlaskit/adf-schema/steps';
|
|
2
|
-
import { Transaction } from '@atlaskit/editor-prosemirror/state';
|
|
1
|
+
import { type AnalyticsPayload } from '@atlaskit/adf-schema/steps';
|
|
2
|
+
import { type Transaction } from '@atlaskit/editor-prosemirror/state';
|
|
3
3
|
export declare const generateUndoRedoInputSoucePayload: (tr: Readonly<Transaction>) => <T extends AnalyticsPayload>(payload: T) => T;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { AnalyticsEventPayload } from '@atlaskit/editor-common/analytics';
|
|
1
|
+
import { type AnalyticsEventPayload } from '@atlaskit/editor-common/analytics';
|
|
2
2
|
export declare function mapActionSubjectIdToAttributes(payload: AnalyticsEventPayload): AnalyticsEventPayload;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { AnalyticsPayload } from '@atlaskit/adf-schema/steps';
|
|
2
|
-
import { Transaction } from '@atlaskit/editor-prosemirror/state';
|
|
1
|
+
import { type AnalyticsPayload } from '@atlaskit/adf-schema/steps';
|
|
2
|
+
import { type Transaction } from '@atlaskit/editor-prosemirror/state';
|
|
3
3
|
export declare const generateUndoRedoInputSoucePayload: (tr: Readonly<Transaction>) => <T extends AnalyticsPayload>(payload: T) => T;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-analytics",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.3",
|
|
4
4
|
"description": "Analytics plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -32,10 +32,10 @@
|
|
|
32
32
|
".": "./src/index.ts"
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@atlaskit/adf-schema": "^36.
|
|
35
|
+
"@atlaskit/adf-schema": "^36.10.7",
|
|
36
36
|
"@atlaskit/analytics-listeners": "^8.9.0",
|
|
37
37
|
"@atlaskit/analytics-next": "^9.3.0",
|
|
38
|
-
"@atlaskit/editor-common": "^
|
|
38
|
+
"@atlaskit/editor-common": "^82.0.0",
|
|
39
39
|
"@atlaskit/editor-plugin-feature-flags": "^1.1.0",
|
|
40
40
|
"@atlaskit/editor-prosemirror": "4.0.1",
|
|
41
41
|
"@atlaskit/editor-tables": "^2.7.0",
|
|
@@ -44,9 +44,6 @@
|
|
|
44
44
|
"peerDependencies": {
|
|
45
45
|
"react": "^16.8.0"
|
|
46
46
|
},
|
|
47
|
-
"devDependencies": {
|
|
48
|
-
"@atlassian/atlassian-frontend-prettier-config-1.0.0": "npm:@atlassian/atlassian-frontend-prettier-config@1.0.0"
|
|
49
|
-
},
|
|
50
47
|
"techstack": {
|
|
51
48
|
"@atlassian/frontend": {
|
|
52
49
|
"import-structure": [
|
|
@@ -77,7 +74,6 @@
|
|
|
77
74
|
]
|
|
78
75
|
}
|
|
79
76
|
},
|
|
80
|
-
"prettier": "@atlassian/atlassian-frontend-prettier-config-1.0.0",
|
|
81
77
|
"stricter": {
|
|
82
78
|
"no-unused-dependencies": {
|
|
83
79
|
"checkDevDependencies": true
|
package/report.api.md
CHANGED
|
@@ -2,7 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
## API Report File for "@atlaskit/editor-plugin-analytics"
|
|
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,17 +27,17 @@ import type { Transaction } from '@atlaskit/editor-prosemirror/state';
|
|
|
26
27
|
|
|
27
28
|
// @public (undocumented)
|
|
28
29
|
export type AnalyticsPlugin = NextEditorPlugin<
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
30
|
+
'analytics',
|
|
31
|
+
{
|
|
32
|
+
pluginConfiguration: AnalyticsPluginOptions;
|
|
33
|
+
sharedState: {
|
|
34
|
+
createAnalyticsEvent: CreateUIAnalyticsEvent | null;
|
|
35
|
+
attachAnalyticsEvent: CreateAttachPayloadIntoTransaction | null;
|
|
36
|
+
performanceTracking: PerformanceTracking | undefined;
|
|
37
|
+
};
|
|
38
|
+
dependencies: [OptionalPlugin<FeatureFlagsPlugin>];
|
|
39
|
+
actions: EditorAnalyticsAPI;
|
|
40
|
+
}
|
|
40
41
|
>;
|
|
41
42
|
|
|
42
43
|
// @public
|
|
@@ -44,17 +45,17 @@ export const analyticsPlugin: AnalyticsPlugin;
|
|
|
44
45
|
|
|
45
46
|
// @public (undocumented)
|
|
46
47
|
export interface AnalyticsPluginOptions {
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
48
|
+
// (undocumented)
|
|
49
|
+
createAnalyticsEvent?: CreateUIAnalyticsEvent;
|
|
50
|
+
// (undocumented)
|
|
51
|
+
performanceTracking?: PerformanceTracking;
|
|
51
52
|
}
|
|
52
53
|
|
|
53
54
|
// @public (undocumented)
|
|
54
55
|
export type CreateAttachPayloadIntoTransaction = (props: {
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
56
|
+
payload: AnalyticsEventPayload;
|
|
57
|
+
tr: Transaction;
|
|
58
|
+
channel: string;
|
|
58
59
|
}) => void;
|
|
59
60
|
|
|
60
61
|
// (No @packageDocumentation comment for this package)
|
|
@@ -68,7 +69,7 @@ export type CreateAttachPayloadIntoTransaction = (props: {
|
|
|
68
69
|
|
|
69
70
|
```json
|
|
70
71
|
{
|
|
71
|
-
|
|
72
|
+
"react": "^16.8.0"
|
|
72
73
|
}
|
|
73
74
|
```
|
|
74
75
|
|