@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 CHANGED
@@ -1,6 +1,6 @@
1
1
  module.exports = {
2
- rules: {
3
- '@atlaskit/design-system/consistent-css-prop-usage': 'warn',
4
- '@repo/internal/react/no-class-components': 'warn',
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
- - [#103169](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/103169)
8
- [`e9d45fc94064`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/e9d45fc94064) -
9
- [ux] [ED-23248] -
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
- **@atlaskit/editor-core**: Added optional profilecardProvider to Mention plugin in universal
12
- composable editor **@atlaskit/editor-plugin-mentions**: Made mentions render with profile cards
13
- on click if the feature flag: `platform.editor.mentions-in-editor-popup-on-click` is turned on
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
- - [#102478](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/102478)
20
- [`3378951608b0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/3378951608b0) -
21
- [ED-23332] Update adf-schema package to 36.10.1
22
- - Updated dependencies
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
- - [#103099](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/103099)
29
- [`ab382e121799`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/ab382e121799) -
30
- [ux] [ED-23248] -
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
- **@atlaskit/editor-core**: REVERT: Added optional profilecardProvider to Mention plugin in
33
- universal composable editor **@atlaskit/editor-plugin-mentions**: REVERT: Made mentions render
34
- with profile cards on click if the feature flag:
35
- `platform.editor.mentions-in-editor-popup-on-click` is turned on
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
- - [#98647](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/98647)
42
- [`19eb20751225`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/19eb20751225) -
43
- [ux] [ED-23248] -
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
- **@atlaskit/editor-core**: Added optional profilecardProvider to Mention plugin in universal
46
- composable editor **@atlaskit/editor-plugin-mentions**: Made mentions render with profile cards
47
- on click if the feature flag: `platform.editor.mentions-in-editor-popup-on-click` is turned on
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
- - [#101524](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/101524)
54
- [`4821570088e6`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/4821570088e6) -
55
- ED-23362 Bump ADF schema to version 36.8.1 and add support for adf validation and transformation
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
- - [#99579](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/99579)
62
- [`f222af5687e9`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/f222af5687e9) -
63
- Bump adf-schema to 36.3.0 and adf-schema-json to 1.14.0
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
- - Updated dependencies
73
+ - Updated dependencies
68
74
 
69
75
  ## 1.1.8
70
76
 
71
77
  ### Patch Changes
72
78
 
73
- - Updated dependencies
79
+ - Updated dependencies
74
80
 
75
81
  ## 1.1.7
76
82
 
77
83
  ### Patch Changes
78
84
 
79
- - [#98103](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/98103)
80
- [`14c055a65f67`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/14c055a65f67) -
81
- removed invite from mention experiment check
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
- - [#97599](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/97599)
88
- [`32c3130b08fe`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/32c3130b08fe) -
89
- [ED-22282] Bump adf-schema to 36.1.0
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
- - [#97698](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/97698)
96
- [`1c7b378c0d3b`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/1c7b378c0d3b) -
97
- [HOT-108999] We had an incident where the cursor jumps back a character in table headers for any
98
- language triggering composition on an empty line.This was fixed in a patch bump of
99
- prosemirror-view. https://github.com/ProseMirror/prosemirror-view/compare/1.33.4...1.33.5
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
- - Updated dependencies
111
+ - Updated dependencies
106
112
 
107
113
  ## 1.1.3
108
114
 
109
115
  ### Patch Changes
110
116
 
111
- - [#96237](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/96237)
112
- [`0401e7b5a88e`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/0401e7b5a88e) -
113
- [ED-23102] Bump ADF schema to version 35.12.2
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
- - [#94901](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/94901)
120
- [`da964fcdc828`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/da964fcdc828) -
121
- [ED-23097] Bump ADF schema to version 35.12.1
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
- - [#93689](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/93689)
128
- [`5ba5d2b4a9ac`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/5ba5d2b4a9ac) -
129
- Updating adf-schema version to 35.10.0
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
- - [#91934](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/91934)
136
- [`b76a78c6a199`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/b76a78c6a199) -
137
- bumped editor-prosemirror version to 4.0.0
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
- - Updated dependencies
147
+ - Updated dependencies
142
148
 
143
149
  ## 1.0.10
144
150
 
145
151
  ### Patch Changes
146
152
 
147
- - [#92426](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/92426)
148
- [`32c76c7c225c`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/32c76c7c225c) -
149
- Bump adf-schema to 35.9.2 to support table alignment options
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
- - [#91106](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/91106)
156
- [`b6ffa30186b9`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/b6ffa30186b9) -
157
- Bump ADF-schema package to version 35.0.0
158
- - Updated dependencies
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
- - [#86724](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/86724)
165
- [`718a9aa2424d`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/718a9aa2424d) -
166
- [ED-22607] Remove references to maxFrames for multi bodied extensions and bump adf-schema from
167
- 35.7.0 to 35.8.0
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
- - [#81777](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/81777)
174
- [`c6d7a5378751`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/c6d7a5378751) -
175
- Bump adf-schema to 35.7.0
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
- - [#83116](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/83116)
182
- [`8d4e99057fe0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8d4e99057fe0) -
183
- Upgrade Typescript from `4.9.5` to `5.4.2`
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
- - [#81852](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/81852)
190
- [`0641eef91f65`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/0641eef91f65) -
191
- React 18 types for editor-plugin-mentions
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
- - [#80679](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/80679)
198
- [`104eb9443b7e`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/104eb9443b7e) -
199
- ED-22553 Updating adf-schema version to 35.6.0
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
- - [#78224](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/78224)
206
- [`6b4c9dd4ad34`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/6b4c9dd4ad34) -
207
- ED-22219: adf-schema updated to 35.5.2
208
- - Updated dependencies
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
- - Updated dependencies
220
+ - Updated dependencies
215
221
 
216
222
  ## 1.0.1
217
223
 
218
224
  ### Patch Changes
219
225
 
220
- - Updated dependencies
226
+ - Updated dependencies
221
227
 
222
228
  ## 1.0.0
223
229
 
224
230
  ### Major Changes
225
231
 
226
- - [#72386](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/72386)
227
- [`0c52b0be40c1`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/0c52b0be40c1) -
228
- This changeset exists to bump all editor plugins that currently don't have a major version. This
229
- is to address an issue with Jira plugin consumption.
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
- - Updated dependencies
239
+ - Updated dependencies
234
240
 
235
241
  ## 0.2.3
236
242
 
237
243
  ### Patch Changes
238
244
 
239
- - [#68572](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/68572)
240
- [`15d407fe5143`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/15d407fe5143) -
241
- Upgrading @atlaskit/editor-prosemirror dependency
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
- - [#70152](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/70152)
248
- [`53ed3673df28`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/53ed3673df28) -
249
- Updating adf-schema version to 35.5.1
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
- - [#68640](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/68640)
256
- [`6a3ea210641a`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/6a3ea210641a) -
257
- Create new context identifier plugin which contains the provider.
258
- - Updated dependencies
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
- - [#68790](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/68790)
265
- [`c6d8affc52d1`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/c6d8affc52d1) -
266
- Support maybeAdd plugins in usePreset. Add typing support for universal preset.
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
- Now when using the editor API with the universal preset
274
+ Now when using the editor API with the universal preset
269
275
 
270
276
  ### Patch Changes
271
277
 
272
- - Updated dependencies
278
+ - Updated dependencies
273
279
 
274
280
  ## 0.1.20
275
281
 
276
282
  ### Patch Changes
277
283
 
278
- - Updated dependencies
284
+ - Updated dependencies
279
285
 
280
286
  ## 0.1.19
281
287
 
282
288
  ### Patch Changes
283
289
 
284
- - [#67238](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/67238)
285
- [`40533849b2ec`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/40533849b2ec) -
286
- [ED-21835] Change EditorAPI type to always union with undefined
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
- - [#67189](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/67189)
293
- [`93cbf53ca0e0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/93cbf53ca0e0) -
294
- Removing instances of WithPluginState from mentions and type-ahead plugins.
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
- - [#65802](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/65802)
301
- [`438ead060875`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/438ead060875) -
302
- Ensure all editor plugins are marked as singletons
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
- - [#65031](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/65031)
309
- [`a00094111b5a`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/a00094111b5a) -
310
- ED-21609 Update adf-schema to 35.3.0
311
- - Updated dependencies
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
- - Updated dependencies
323
+ - Updated dependencies
318
324
 
319
325
  ## 0.1.14
320
326
 
321
327
  ### Patch Changes
322
328
 
323
- - [#64538](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/64538)
324
- [`264115ce5ec4`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/264115ce5ec4) -
325
- DTR-2096: Add taskListId and taskItemId to mention typeAhead clicked and pressed analytic
326
- events, when inserted within actions or tasks
327
- - Updated dependencies
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
- - [#62165](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/62165)
334
- [`b44ac0968d79`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/b44ac0968d79) -
335
- [ED-21562] Bump @atlaskit/adf-schema to 35.2.0 for border mark update
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
- - [#60808](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/60808)
342
- [`f509a21be124`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/f509a21be124) -
343
- ED-21506: @atlaskit/adf-schema upgraded to 35.1.1 to support renderer for MBE
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
- - [#58246](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/58246)
350
- [`a381b2599716`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/a381b2599716) -
351
- ED-21371 Update adf-schema to 35.1.0
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
- - Updated dependencies
363
+ - Updated dependencies
358
364
 
359
365
  ## 0.1.9
360
366
 
361
367
  ### Patch Changes
362
368
 
363
- - Updated dependencies
369
+ - Updated dependencies
364
370
 
365
371
  ## 0.1.8
366
372
 
367
373
  ### Patch Changes
368
374
 
369
- - [#59147](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/59147)
370
- [`f12e489f23b0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/f12e489f23b0) -
371
- Re-build and deploy packages to NPM to resolve React/Compiled not found error (HOT-106483).
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
- - [#58763](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/58763)
378
- [`0fdbd64522bf`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/0fdbd64522bf) -
379
- update ADF schema
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
- - [#56790](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/56790)
386
- [`ff577a7969d4`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ff577a7969d4) -
387
- ED-21266: Updated @atlaskit/adf-schema to 34.0.1
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
- - [#43417](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/43417)
394
- [`3f3c17f0273`](https://bitbucket.org/atlassian/atlassian-frontend/commits/3f3c17f0273) -
395
- ED-20971 Upgrade adf-schema package to ^34.0.0
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
- - Updated dependencies
407
+ - Updated dependencies
402
408
 
403
409
  ## 0.1.3
404
410
 
405
411
  ### Patch Changes
406
412
 
407
- - [#43379](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/43379)
408
- [`482c025520d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/482c025520d) -
409
- ED-20763 Upgrade ADF schema version to 33.2.3 for MBE nodes.
410
- - Updated dependencies
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
- - [#42451](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/42451)
417
- [`36764ad64a9`](https://bitbucket.org/atlassian/atlassian-frontend/commits/36764ad64a9) -
418
- [ECA11Y-87] Mentioned name is not communicated to the users of screen reader
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
- - Updated dependencies
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
- you may not use this file except in compliance with the License.
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 under the License is distributed on an "AS IS" BASIS,
11
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
- See the License for the specific language governing permissions and
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.0",
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": "^81.1.0",
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.0.0",
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 [API Extractor](https://api-extractor.com/).
5
+ > Do not edit this file. This report is auto-generated using
6
+ > [API Extractor](https://api-extractor.com/).
6
7
  > [Learn more about API reports](https://hello.atlassian.net/wiki/spaces/UR/pages/1825484529/Package+API+Reports)
7
8
 
8
9
  ### Table of contents
@@ -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
- // (undocumented)
33
- HighlightComponent?: React.ComponentType;
34
- // (undocumented)
35
- insertDisplayName?: boolean;
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
- // (undocumented)
41
- allowZeroWidthSpaceAfter?: boolean;
42
- // (undocumented)
43
- sanitizePrivateContent?: boolean;
41
+ // (undocumented)
42
+ allowZeroWidthSpaceAfter?: boolean;
43
+ // (undocumented)
44
+ sanitizePrivateContent?: boolean;
44
45
  }
45
46
 
46
47
  // @public (undocumented)
47
48
  type MentionPluginState = {
48
- mentionProvider?: MentionProvider;
49
- contextIdentifierProvider?: ContextIdentifierProvider;
50
- mentions?: Array<MentionDescription>;
51
- canInsertMention?: boolean;
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
- typeAheadHandler: TypeAheadHandler;
57
+ typeAheadHandler: TypeAheadHandler;
57
58
  };
58
59
 
59
60
  // @public (undocumented)
60
61
  export type MentionsPlugin = NextEditorPlugin<
61
- 'mention',
62
- {
63
- pluginConfiguration: MentionPluginOptions | undefined;
64
- dependencies: [OptionalPlugin<AnalyticsPlugin>, TypeAheadPlugin];
65
- sharedState: MentionSharedState | undefined;
66
- actions: {
67
- openTypeAhead: (inputMethod: TypeAheadInputMethod) => boolean;
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
- "react": "^16.8.0",
87
- "react-dom": "^16.8.0",
88
- "react-intl-next": "npm:react-intl@^5.18.1"
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