@atlaskit/editor-plugin-mentions 1.5.0 → 1.5.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/.eslintrc.js +4 -4
- package/CHANGELOG.md +163 -157
- package/LICENSE.md +6 -8
- package/package.json +3 -5
- package/report.api.md +27 -26
package/.eslintrc.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
module.exports = {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
2
|
+
rules: {
|
|
3
|
+
'@atlaskit/design-system/consistent-css-prop-usage': 'warn',
|
|
4
|
+
'@repo/internal/react/no-class-components': 'warn',
|
|
5
|
+
},
|
|
6
6
|
};
|
package/CHANGELOG.md
CHANGED
|
@@ -1,424 +1,430 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-mentions
|
|
2
2
|
|
|
3
|
+
## 1.5.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
|
|
3
9
|
## 1.5.0
|
|
4
10
|
|
|
5
11
|
### Minor Changes
|
|
6
12
|
|
|
7
|
-
-
|
|
8
|
-
|
|
9
|
-
|
|
13
|
+
- [#103169](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/103169)
|
|
14
|
+
[`e9d45fc94064`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/e9d45fc94064) -
|
|
15
|
+
[ux] [ED-23248] -
|
|
10
16
|
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
17
|
+
**@atlaskit/editor-core**: Added optional profilecardProvider to Mention plugin in universal
|
|
18
|
+
composable editor **@atlaskit/editor-plugin-mentions**: Made mentions render with profile cards on
|
|
19
|
+
click if the feature flag: `platform.editor.mentions-in-editor-popup-on-click` is turned on
|
|
14
20
|
|
|
15
21
|
## 1.4.1
|
|
16
22
|
|
|
17
23
|
### Patch Changes
|
|
18
24
|
|
|
19
|
-
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
-
|
|
25
|
+
- [#102478](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/102478)
|
|
26
|
+
[`3378951608b0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/3378951608b0) -
|
|
27
|
+
[ED-23332] Update adf-schema package to 36.10.1
|
|
28
|
+
- Updated dependencies
|
|
23
29
|
|
|
24
30
|
## 1.4.0
|
|
25
31
|
|
|
26
32
|
### Minor Changes
|
|
27
33
|
|
|
28
|
-
-
|
|
29
|
-
|
|
30
|
-
|
|
34
|
+
- [#103099](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/103099)
|
|
35
|
+
[`ab382e121799`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/ab382e121799) -
|
|
36
|
+
[ux] [ED-23248] -
|
|
31
37
|
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
38
|
+
**@atlaskit/editor-core**: REVERT: Added optional profilecardProvider to Mention plugin in
|
|
39
|
+
universal composable editor **@atlaskit/editor-plugin-mentions**: REVERT: Made mentions render
|
|
40
|
+
with profile cards on click if the feature flag:
|
|
41
|
+
`platform.editor.mentions-in-editor-popup-on-click` is turned on
|
|
36
42
|
|
|
37
43
|
## 1.3.0
|
|
38
44
|
|
|
39
45
|
### Minor Changes
|
|
40
46
|
|
|
41
|
-
-
|
|
42
|
-
|
|
43
|
-
|
|
47
|
+
- [#98647](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/98647)
|
|
48
|
+
[`19eb20751225`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/19eb20751225) -
|
|
49
|
+
[ux] [ED-23248] -
|
|
44
50
|
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
51
|
+
**@atlaskit/editor-core**: Added optional profilecardProvider to Mention plugin in universal
|
|
52
|
+
composable editor **@atlaskit/editor-plugin-mentions**: Made mentions render with profile cards on
|
|
53
|
+
click if the feature flag: `platform.editor.mentions-in-editor-popup-on-click` is turned on
|
|
48
54
|
|
|
49
55
|
## 1.2.1
|
|
50
56
|
|
|
51
57
|
### Patch Changes
|
|
52
58
|
|
|
53
|
-
-
|
|
54
|
-
|
|
55
|
-
|
|
59
|
+
- [#101524](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/101524)
|
|
60
|
+
[`4821570088e6`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/4821570088e6) -
|
|
61
|
+
ED-23362 Bump ADF schema to version 36.8.1 and add support for adf validation and transformation
|
|
56
62
|
|
|
57
63
|
## 1.2.0
|
|
58
64
|
|
|
59
65
|
### Minor Changes
|
|
60
66
|
|
|
61
|
-
-
|
|
62
|
-
|
|
63
|
-
|
|
67
|
+
- [#99579](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/99579)
|
|
68
|
+
[`f222af5687e9`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/f222af5687e9) -
|
|
69
|
+
Bump adf-schema to 36.3.0 and adf-schema-json to 1.14.0
|
|
64
70
|
|
|
65
71
|
### Patch Changes
|
|
66
72
|
|
|
67
|
-
-
|
|
73
|
+
- Updated dependencies
|
|
68
74
|
|
|
69
75
|
## 1.1.8
|
|
70
76
|
|
|
71
77
|
### Patch Changes
|
|
72
78
|
|
|
73
|
-
-
|
|
79
|
+
- Updated dependencies
|
|
74
80
|
|
|
75
81
|
## 1.1.7
|
|
76
82
|
|
|
77
83
|
### Patch Changes
|
|
78
84
|
|
|
79
|
-
-
|
|
80
|
-
|
|
81
|
-
|
|
85
|
+
- [#98103](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/98103)
|
|
86
|
+
[`14c055a65f67`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/14c055a65f67) -
|
|
87
|
+
removed invite from mention experiment check
|
|
82
88
|
|
|
83
89
|
## 1.1.6
|
|
84
90
|
|
|
85
91
|
### Patch Changes
|
|
86
92
|
|
|
87
|
-
-
|
|
88
|
-
|
|
89
|
-
|
|
93
|
+
- [#97599](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/97599)
|
|
94
|
+
[`32c3130b08fe`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/32c3130b08fe) -
|
|
95
|
+
[ED-22282] Bump adf-schema to 36.1.0
|
|
90
96
|
|
|
91
97
|
## 1.1.5
|
|
92
98
|
|
|
93
99
|
### Patch Changes
|
|
94
100
|
|
|
95
|
-
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
101
|
+
- [#97698](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/97698)
|
|
102
|
+
[`1c7b378c0d3b`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/1c7b378c0d3b) -
|
|
103
|
+
[HOT-108999] We had an incident where the cursor jumps back a character in table headers for any
|
|
104
|
+
language triggering composition on an empty line.This was fixed in a patch bump of
|
|
105
|
+
prosemirror-view. https://github.com/ProseMirror/prosemirror-view/compare/1.33.4...1.33.5
|
|
100
106
|
|
|
101
107
|
## 1.1.4
|
|
102
108
|
|
|
103
109
|
### Patch Changes
|
|
104
110
|
|
|
105
|
-
-
|
|
111
|
+
- Updated dependencies
|
|
106
112
|
|
|
107
113
|
## 1.1.3
|
|
108
114
|
|
|
109
115
|
### Patch Changes
|
|
110
116
|
|
|
111
|
-
-
|
|
112
|
-
|
|
113
|
-
|
|
117
|
+
- [#96237](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/96237)
|
|
118
|
+
[`0401e7b5a88e`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/0401e7b5a88e) -
|
|
119
|
+
[ED-23102] Bump ADF schema to version 35.12.2
|
|
114
120
|
|
|
115
121
|
## 1.1.2
|
|
116
122
|
|
|
117
123
|
### Patch Changes
|
|
118
124
|
|
|
119
|
-
-
|
|
120
|
-
|
|
121
|
-
|
|
125
|
+
- [#94901](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/94901)
|
|
126
|
+
[`da964fcdc828`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/da964fcdc828) -
|
|
127
|
+
[ED-23097] Bump ADF schema to version 35.12.1
|
|
122
128
|
|
|
123
129
|
## 1.1.1
|
|
124
130
|
|
|
125
131
|
### Patch Changes
|
|
126
132
|
|
|
127
|
-
-
|
|
128
|
-
|
|
129
|
-
|
|
133
|
+
- [#93689](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/93689)
|
|
134
|
+
[`5ba5d2b4a9ac`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/5ba5d2b4a9ac) -
|
|
135
|
+
Updating adf-schema version to 35.10.0
|
|
130
136
|
|
|
131
137
|
## 1.1.0
|
|
132
138
|
|
|
133
139
|
### Minor Changes
|
|
134
140
|
|
|
135
|
-
-
|
|
136
|
-
|
|
137
|
-
|
|
141
|
+
- [#91934](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/91934)
|
|
142
|
+
[`b76a78c6a199`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/b76a78c6a199) -
|
|
143
|
+
bumped editor-prosemirror version to 4.0.0
|
|
138
144
|
|
|
139
145
|
### Patch Changes
|
|
140
146
|
|
|
141
|
-
-
|
|
147
|
+
- Updated dependencies
|
|
142
148
|
|
|
143
149
|
## 1.0.10
|
|
144
150
|
|
|
145
151
|
### Patch Changes
|
|
146
152
|
|
|
147
|
-
-
|
|
148
|
-
|
|
149
|
-
|
|
153
|
+
- [#92426](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/92426)
|
|
154
|
+
[`32c76c7c225c`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/32c76c7c225c) -
|
|
155
|
+
Bump adf-schema to 35.9.2 to support table alignment options
|
|
150
156
|
|
|
151
157
|
## 1.0.9
|
|
152
158
|
|
|
153
159
|
### Patch Changes
|
|
154
160
|
|
|
155
|
-
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
-
|
|
161
|
+
- [#91106](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/91106)
|
|
162
|
+
[`b6ffa30186b9`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/b6ffa30186b9) -
|
|
163
|
+
Bump ADF-schema package to version 35.0.0
|
|
164
|
+
- Updated dependencies
|
|
159
165
|
|
|
160
166
|
## 1.0.8
|
|
161
167
|
|
|
162
168
|
### Patch Changes
|
|
163
169
|
|
|
164
|
-
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
170
|
+
- [#86724](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/86724)
|
|
171
|
+
[`718a9aa2424d`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/718a9aa2424d) -
|
|
172
|
+
[ED-22607] Remove references to maxFrames for multi bodied extensions and bump adf-schema from
|
|
173
|
+
35.7.0 to 35.8.0
|
|
168
174
|
|
|
169
175
|
## 1.0.7
|
|
170
176
|
|
|
171
177
|
### Patch Changes
|
|
172
178
|
|
|
173
|
-
-
|
|
174
|
-
|
|
175
|
-
|
|
179
|
+
- [#81777](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/81777)
|
|
180
|
+
[`c6d7a5378751`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/c6d7a5378751) -
|
|
181
|
+
Bump adf-schema to 35.7.0
|
|
176
182
|
|
|
177
183
|
## 1.0.6
|
|
178
184
|
|
|
179
185
|
### Patch Changes
|
|
180
186
|
|
|
181
|
-
-
|
|
182
|
-
|
|
183
|
-
|
|
187
|
+
- [#83116](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/83116)
|
|
188
|
+
[`8d4e99057fe0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8d4e99057fe0) -
|
|
189
|
+
Upgrade Typescript from `4.9.5` to `5.4.2`
|
|
184
190
|
|
|
185
191
|
## 1.0.5
|
|
186
192
|
|
|
187
193
|
### Patch Changes
|
|
188
194
|
|
|
189
|
-
-
|
|
190
|
-
|
|
191
|
-
|
|
195
|
+
- [#81852](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/81852)
|
|
196
|
+
[`0641eef91f65`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/0641eef91f65) -
|
|
197
|
+
React 18 types for editor-plugin-mentions
|
|
192
198
|
|
|
193
199
|
## 1.0.4
|
|
194
200
|
|
|
195
201
|
### Patch Changes
|
|
196
202
|
|
|
197
|
-
-
|
|
198
|
-
|
|
199
|
-
|
|
203
|
+
- [#80679](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/80679)
|
|
204
|
+
[`104eb9443b7e`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/104eb9443b7e) -
|
|
205
|
+
ED-22553 Updating adf-schema version to 35.6.0
|
|
200
206
|
|
|
201
207
|
## 1.0.3
|
|
202
208
|
|
|
203
209
|
### Patch Changes
|
|
204
210
|
|
|
205
|
-
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
-
|
|
211
|
+
- [#78224](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/78224)
|
|
212
|
+
[`6b4c9dd4ad34`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/6b4c9dd4ad34) -
|
|
213
|
+
ED-22219: adf-schema updated to 35.5.2
|
|
214
|
+
- Updated dependencies
|
|
209
215
|
|
|
210
216
|
## 1.0.2
|
|
211
217
|
|
|
212
218
|
### Patch Changes
|
|
213
219
|
|
|
214
|
-
-
|
|
220
|
+
- Updated dependencies
|
|
215
221
|
|
|
216
222
|
## 1.0.1
|
|
217
223
|
|
|
218
224
|
### Patch Changes
|
|
219
225
|
|
|
220
|
-
-
|
|
226
|
+
- Updated dependencies
|
|
221
227
|
|
|
222
228
|
## 1.0.0
|
|
223
229
|
|
|
224
230
|
### Major Changes
|
|
225
231
|
|
|
226
|
-
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
232
|
+
- [#72386](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/72386)
|
|
233
|
+
[`0c52b0be40c1`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/0c52b0be40c1) -
|
|
234
|
+
This changeset exists to bump all editor plugins that currently don't have a major version. This
|
|
235
|
+
is to address an issue with Jira plugin consumption.
|
|
230
236
|
|
|
231
237
|
### Patch Changes
|
|
232
238
|
|
|
233
|
-
-
|
|
239
|
+
- Updated dependencies
|
|
234
240
|
|
|
235
241
|
## 0.2.3
|
|
236
242
|
|
|
237
243
|
### Patch Changes
|
|
238
244
|
|
|
239
|
-
-
|
|
240
|
-
|
|
241
|
-
|
|
245
|
+
- [#68572](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/68572)
|
|
246
|
+
[`15d407fe5143`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/15d407fe5143) -
|
|
247
|
+
Upgrading @atlaskit/editor-prosemirror dependency
|
|
242
248
|
|
|
243
249
|
## 0.2.2
|
|
244
250
|
|
|
245
251
|
### Patch Changes
|
|
246
252
|
|
|
247
|
-
-
|
|
248
|
-
|
|
249
|
-
|
|
253
|
+
- [#70152](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/70152)
|
|
254
|
+
[`53ed3673df28`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/53ed3673df28) -
|
|
255
|
+
Updating adf-schema version to 35.5.1
|
|
250
256
|
|
|
251
257
|
## 0.2.1
|
|
252
258
|
|
|
253
259
|
### Patch Changes
|
|
254
260
|
|
|
255
|
-
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
-
|
|
261
|
+
- [#68640](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/68640)
|
|
262
|
+
[`6a3ea210641a`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/6a3ea210641a) -
|
|
263
|
+
Create new context identifier plugin which contains the provider.
|
|
264
|
+
- Updated dependencies
|
|
259
265
|
|
|
260
266
|
## 0.2.0
|
|
261
267
|
|
|
262
268
|
### Minor Changes
|
|
263
269
|
|
|
264
|
-
-
|
|
265
|
-
|
|
266
|
-
|
|
270
|
+
- [#68790](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/68790)
|
|
271
|
+
[`c6d8affc52d1`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/c6d8affc52d1) -
|
|
272
|
+
Support maybeAdd plugins in usePreset. Add typing support for universal preset.
|
|
267
273
|
|
|
268
|
-
|
|
274
|
+
Now when using the editor API with the universal preset
|
|
269
275
|
|
|
270
276
|
### Patch Changes
|
|
271
277
|
|
|
272
|
-
-
|
|
278
|
+
- Updated dependencies
|
|
273
279
|
|
|
274
280
|
## 0.1.20
|
|
275
281
|
|
|
276
282
|
### Patch Changes
|
|
277
283
|
|
|
278
|
-
-
|
|
284
|
+
- Updated dependencies
|
|
279
285
|
|
|
280
286
|
## 0.1.19
|
|
281
287
|
|
|
282
288
|
### Patch Changes
|
|
283
289
|
|
|
284
|
-
-
|
|
285
|
-
|
|
286
|
-
|
|
290
|
+
- [#67238](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/67238)
|
|
291
|
+
[`40533849b2ec`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/40533849b2ec) -
|
|
292
|
+
[ED-21835] Change EditorAPI type to always union with undefined
|
|
287
293
|
|
|
288
294
|
## 0.1.18
|
|
289
295
|
|
|
290
296
|
### Patch Changes
|
|
291
297
|
|
|
292
|
-
-
|
|
293
|
-
|
|
294
|
-
|
|
298
|
+
- [#67189](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/67189)
|
|
299
|
+
[`93cbf53ca0e0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/93cbf53ca0e0) -
|
|
300
|
+
Removing instances of WithPluginState from mentions and type-ahead plugins.
|
|
295
301
|
|
|
296
302
|
## 0.1.17
|
|
297
303
|
|
|
298
304
|
### Patch Changes
|
|
299
305
|
|
|
300
|
-
-
|
|
301
|
-
|
|
302
|
-
|
|
306
|
+
- [#65802](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/65802)
|
|
307
|
+
[`438ead060875`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/438ead060875) -
|
|
308
|
+
Ensure all editor plugins are marked as singletons
|
|
303
309
|
|
|
304
310
|
## 0.1.16
|
|
305
311
|
|
|
306
312
|
### Patch Changes
|
|
307
313
|
|
|
308
|
-
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
-
|
|
314
|
+
- [#65031](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/65031)
|
|
315
|
+
[`a00094111b5a`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/a00094111b5a) -
|
|
316
|
+
ED-21609 Update adf-schema to 35.3.0
|
|
317
|
+
- Updated dependencies
|
|
312
318
|
|
|
313
319
|
## 0.1.15
|
|
314
320
|
|
|
315
321
|
### Patch Changes
|
|
316
322
|
|
|
317
|
-
-
|
|
323
|
+
- Updated dependencies
|
|
318
324
|
|
|
319
325
|
## 0.1.14
|
|
320
326
|
|
|
321
327
|
### Patch Changes
|
|
322
328
|
|
|
323
|
-
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
-
|
|
329
|
+
- [#64538](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/64538)
|
|
330
|
+
[`264115ce5ec4`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/264115ce5ec4) -
|
|
331
|
+
DTR-2096: Add taskListId and taskItemId to mention typeAhead clicked and pressed analytic events,
|
|
332
|
+
when inserted within actions or tasks
|
|
333
|
+
- Updated dependencies
|
|
328
334
|
|
|
329
335
|
## 0.1.13
|
|
330
336
|
|
|
331
337
|
### Patch Changes
|
|
332
338
|
|
|
333
|
-
-
|
|
334
|
-
|
|
335
|
-
|
|
339
|
+
- [#62165](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/62165)
|
|
340
|
+
[`b44ac0968d79`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/b44ac0968d79) -
|
|
341
|
+
[ED-21562] Bump @atlaskit/adf-schema to 35.2.0 for border mark update
|
|
336
342
|
|
|
337
343
|
## 0.1.12
|
|
338
344
|
|
|
339
345
|
### Patch Changes
|
|
340
346
|
|
|
341
|
-
-
|
|
342
|
-
|
|
343
|
-
|
|
347
|
+
- [#60808](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/60808)
|
|
348
|
+
[`f509a21be124`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/f509a21be124) -
|
|
349
|
+
ED-21506: @atlaskit/adf-schema upgraded to 35.1.1 to support renderer for MBE
|
|
344
350
|
|
|
345
351
|
## 0.1.11
|
|
346
352
|
|
|
347
353
|
### Patch Changes
|
|
348
354
|
|
|
349
|
-
-
|
|
350
|
-
|
|
351
|
-
|
|
355
|
+
- [#58246](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/58246)
|
|
356
|
+
[`a381b2599716`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/a381b2599716) -
|
|
357
|
+
ED-21371 Update adf-schema to 35.1.0
|
|
352
358
|
|
|
353
359
|
## 0.1.10
|
|
354
360
|
|
|
355
361
|
### Patch Changes
|
|
356
362
|
|
|
357
|
-
-
|
|
363
|
+
- Updated dependencies
|
|
358
364
|
|
|
359
365
|
## 0.1.9
|
|
360
366
|
|
|
361
367
|
### Patch Changes
|
|
362
368
|
|
|
363
|
-
-
|
|
369
|
+
- Updated dependencies
|
|
364
370
|
|
|
365
371
|
## 0.1.8
|
|
366
372
|
|
|
367
373
|
### Patch Changes
|
|
368
374
|
|
|
369
|
-
-
|
|
370
|
-
|
|
371
|
-
|
|
375
|
+
- [#59147](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/59147)
|
|
376
|
+
[`f12e489f23b0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/f12e489f23b0) -
|
|
377
|
+
Re-build and deploy packages to NPM to resolve React/Compiled not found error (HOT-106483).
|
|
372
378
|
|
|
373
379
|
## 0.1.7
|
|
374
380
|
|
|
375
381
|
### Patch Changes
|
|
376
382
|
|
|
377
|
-
-
|
|
378
|
-
|
|
379
|
-
|
|
383
|
+
- [#58763](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/58763)
|
|
384
|
+
[`0fdbd64522bf`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/0fdbd64522bf) -
|
|
385
|
+
update ADF schema
|
|
380
386
|
|
|
381
387
|
## 0.1.6
|
|
382
388
|
|
|
383
389
|
### Patch Changes
|
|
384
390
|
|
|
385
|
-
-
|
|
386
|
-
|
|
387
|
-
|
|
391
|
+
- [#56790](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/56790)
|
|
392
|
+
[`ff577a7969d4`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ff577a7969d4) -
|
|
393
|
+
ED-21266: Updated @atlaskit/adf-schema to 34.0.1
|
|
388
394
|
|
|
389
395
|
## 0.1.5
|
|
390
396
|
|
|
391
397
|
### Patch Changes
|
|
392
398
|
|
|
393
|
-
-
|
|
394
|
-
|
|
395
|
-
|
|
399
|
+
- [#43417](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/43417)
|
|
400
|
+
[`3f3c17f0273`](https://bitbucket.org/atlassian/atlassian-frontend/commits/3f3c17f0273) - ED-20971
|
|
401
|
+
Upgrade adf-schema package to ^34.0.0
|
|
396
402
|
|
|
397
403
|
## 0.1.4
|
|
398
404
|
|
|
399
405
|
### Patch Changes
|
|
400
406
|
|
|
401
|
-
-
|
|
407
|
+
- Updated dependencies
|
|
402
408
|
|
|
403
409
|
## 0.1.3
|
|
404
410
|
|
|
405
411
|
### Patch Changes
|
|
406
412
|
|
|
407
|
-
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
-
|
|
413
|
+
- [#43379](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/43379)
|
|
414
|
+
[`482c025520d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/482c025520d) - ED-20763
|
|
415
|
+
Upgrade ADF schema version to 33.2.3 for MBE nodes.
|
|
416
|
+
- Updated dependencies
|
|
411
417
|
|
|
412
418
|
## 0.1.2
|
|
413
419
|
|
|
414
420
|
### Patch Changes
|
|
415
421
|
|
|
416
|
-
-
|
|
417
|
-
|
|
418
|
-
|
|
422
|
+
- [#42451](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/42451)
|
|
423
|
+
[`36764ad64a9`](https://bitbucket.org/atlassian/atlassian-frontend/commits/36764ad64a9) -
|
|
424
|
+
[ECA11Y-87] Mentioned name is not communicated to the users of screen reader
|
|
419
425
|
|
|
420
426
|
## 0.1.1
|
|
421
427
|
|
|
422
428
|
### Patch Changes
|
|
423
429
|
|
|
424
|
-
-
|
|
430
|
+
- 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.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-mentions",
|
|
3
|
-
"version": "1.5.
|
|
3
|
+
"version": "1.5.1",
|
|
4
4
|
"description": "Mentions plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -35,13 +35,13 @@
|
|
|
35
35
|
"dependencies": {
|
|
36
36
|
"@atlaskit/adf-schema": "^36.10.7",
|
|
37
37
|
"@atlaskit/analytics-gas-types": "^5.1.0",
|
|
38
|
-
"@atlaskit/editor-common": "^
|
|
38
|
+
"@atlaskit/editor-common": "^82.0.0",
|
|
39
39
|
"@atlaskit/editor-plugin-analytics": "^1.2.0",
|
|
40
40
|
"@atlaskit/editor-plugin-context-identifier": "^1.1.0",
|
|
41
41
|
"@atlaskit/editor-plugin-type-ahead": "^1.2.0",
|
|
42
42
|
"@atlaskit/editor-prosemirror": "4.0.1",
|
|
43
43
|
"@atlaskit/icon": "^22.3.0",
|
|
44
|
-
"@atlaskit/mention": "^23.
|
|
44
|
+
"@atlaskit/mention": "^23.1.0",
|
|
45
45
|
"@atlaskit/platform-feature-flags": "^0.2.5",
|
|
46
46
|
"@atlaskit/theme": "^12.8.0",
|
|
47
47
|
"@atlaskit/tokens": "^1.49.0",
|
|
@@ -58,7 +58,6 @@
|
|
|
58
58
|
"@af/visual-regression": "*",
|
|
59
59
|
"@atlaskit/ssr": "*",
|
|
60
60
|
"@atlaskit/visual-regression": "*",
|
|
61
|
-
"@atlassian/atlassian-frontend-prettier-config-1.0.0": "npm:@atlassian/atlassian-frontend-prettier-config@1.0.0",
|
|
62
61
|
"@testing-library/react": "^12.1.5",
|
|
63
62
|
"react-dom": "^16.8.0",
|
|
64
63
|
"typescript": "~5.4.2",
|
|
@@ -105,7 +104,6 @@
|
|
|
105
104
|
"@atlassian/tangerine/project-structure"
|
|
106
105
|
]
|
|
107
106
|
},
|
|
108
|
-
"prettier": "@atlassian/atlassian-frontend-prettier-config-1.0.0",
|
|
109
107
|
"platform-feature-flags": {
|
|
110
108
|
"platform.editor.mentions-in-editor-popup-on-click": {
|
|
111
109
|
"type": "boolean"
|
package/report.api.md
CHANGED
|
@@ -2,7 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
## API Report File for "@atlaskit/editor-plugin-mentions"
|
|
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
|
|
@@ -29,44 +30,44 @@ import type { TypeAheadPlugin } from '@atlaskit/editor-plugin-type-ahead';
|
|
|
29
30
|
|
|
30
31
|
// @public (undocumented)
|
|
31
32
|
export interface MentionPluginConfig {
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
33
|
+
// (undocumented)
|
|
34
|
+
HighlightComponent?: React.ComponentType;
|
|
35
|
+
// (undocumented)
|
|
36
|
+
insertDisplayName?: boolean;
|
|
36
37
|
}
|
|
37
38
|
|
|
38
39
|
// @public (undocumented)
|
|
39
40
|
interface MentionPluginOptions extends MentionPluginConfig {
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
41
|
+
// (undocumented)
|
|
42
|
+
allowZeroWidthSpaceAfter?: boolean;
|
|
43
|
+
// (undocumented)
|
|
44
|
+
sanitizePrivateContent?: boolean;
|
|
44
45
|
}
|
|
45
46
|
|
|
46
47
|
// @public (undocumented)
|
|
47
48
|
type MentionPluginState = {
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
49
|
+
mentionProvider?: MentionProvider;
|
|
50
|
+
contextIdentifierProvider?: ContextIdentifierProvider;
|
|
51
|
+
mentions?: Array<MentionDescription>;
|
|
52
|
+
canInsertMention?: boolean;
|
|
52
53
|
};
|
|
53
54
|
|
|
54
55
|
// @public (undocumented)
|
|
55
56
|
type MentionSharedState = MentionPluginState & {
|
|
56
|
-
|
|
57
|
+
typeAheadHandler: TypeAheadHandler;
|
|
57
58
|
};
|
|
58
59
|
|
|
59
60
|
// @public (undocumented)
|
|
60
61
|
export type MentionsPlugin = NextEditorPlugin<
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
62
|
+
'mention',
|
|
63
|
+
{
|
|
64
|
+
pluginConfiguration: MentionPluginOptions | undefined;
|
|
65
|
+
dependencies: [OptionalPlugin<AnalyticsPlugin>, TypeAheadPlugin];
|
|
66
|
+
sharedState: MentionSharedState | undefined;
|
|
67
|
+
actions: {
|
|
68
|
+
openTypeAhead: (inputMethod: TypeAheadInputMethod) => boolean;
|
|
69
|
+
};
|
|
70
|
+
}
|
|
70
71
|
>;
|
|
71
72
|
|
|
72
73
|
// @public (undocumented)
|
|
@@ -83,9 +84,9 @@ export const mentionsPlugin: MentionsPlugin;
|
|
|
83
84
|
|
|
84
85
|
```json
|
|
85
86
|
{
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
87
|
+
"react": "^16.8.0",
|
|
88
|
+
"react-dom": "^16.8.0",
|
|
89
|
+
"react-intl-next": "npm:react-intl@^5.18.1"
|
|
89
90
|
}
|
|
90
91
|
```
|
|
91
92
|
|