@atlaskit/editor-plugin-type-ahead 1.2.3 → 1.2.5

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,10 +1,10 @@
1
1
  module.exports = {
2
- rules: {
3
- '@typescript-eslint/no-duplicate-imports': 'error',
4
- '@typescript-eslint/no-explicit-any': 'error',
5
- '@atlaskit/design-system/ensure-design-token-usage/preview': [
6
- 'error',
7
- { domains: ['spacing'], shouldEnforceFallbacks: false },
8
- ],
9
- },
2
+ rules: {
3
+ '@typescript-eslint/no-duplicate-imports': 'error',
4
+ '@typescript-eslint/no-explicit-any': 'error',
5
+ '@atlaskit/design-system/ensure-design-token-usage/preview': [
6
+ 'error',
7
+ { domains: ['spacing'], shouldEnforceFallbacks: false },
8
+ ],
9
+ },
10
10
  };
package/CHANGELOG.md CHANGED
@@ -1,502 +1,517 @@
1
1
  # @atlaskit/editor-plugin-type-ahead
2
2
 
3
+ ## 1.2.5
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 1.2.4
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.3
4
19
 
5
20
  ### Patch Changes
6
21
 
7
- - [#99848](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/99848)
8
- [`add0947043d4`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/add0947043d4) -
9
- ECA11Y-18: Remove inappropriate aria-labels from Typeahead dropdown
22
+ - [#99848](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/99848)
23
+ [`add0947043d4`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/add0947043d4) -
24
+ ECA11Y-18: Remove inappropriate aria-labels from Typeahead dropdown
10
25
 
11
26
  ## 1.2.2
12
27
 
13
28
  ### Patch Changes
14
29
 
15
- - [#101524](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/101524)
16
- [`4821570088e6`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/4821570088e6) -
17
- ED-23362 Bump ADF schema to version 36.8.1 and add support for adf validation and transformation
30
+ - [#101524](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/101524)
31
+ [`4821570088e6`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/4821570088e6) -
32
+ ED-23362 Bump ADF schema to version 36.8.1 and add support for adf validation and transformation
18
33
 
19
34
  ## 1.2.1
20
35
 
21
36
  ### Patch Changes
22
37
 
23
- - [#99635](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/99635)
24
- [`647b9c0a5da8`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/647b9c0a5da8) -
25
- [ED-23193] Fix typeahead analytics that were not firing to now use EditorAPI to fire events.
26
- - Updated dependencies
38
+ - [#99635](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/99635)
39
+ [`647b9c0a5da8`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/647b9c0a5da8) -
40
+ [ED-23193] Fix typeahead analytics that were not firing to now use EditorAPI to fire events.
41
+ - Updated dependencies
27
42
 
28
43
  ## 1.2.0
29
44
 
30
45
  ### Minor Changes
31
46
 
32
- - [#99579](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/99579)
33
- [`f222af5687e9`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/f222af5687e9) -
34
- Bump adf-schema to 36.3.0 and adf-schema-json to 1.14.0
47
+ - [#99579](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/99579)
48
+ [`f222af5687e9`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/f222af5687e9) -
49
+ Bump adf-schema to 36.3.0 and adf-schema-json to 1.14.0
35
50
 
36
51
  ### Patch Changes
37
52
 
38
- - Updated dependencies
53
+ - Updated dependencies
39
54
 
40
55
  ## 1.1.9
41
56
 
42
57
  ### Patch Changes
43
58
 
44
- - Updated dependencies
59
+ - Updated dependencies
45
60
 
46
61
  ## 1.1.8
47
62
 
48
63
  ### Patch Changes
49
64
 
50
- - [#97599](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/97599)
51
- [`32c3130b08fe`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/32c3130b08fe) -
52
- [ED-22282] Bump adf-schema to 36.1.0
65
+ - [#97599](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/97599)
66
+ [`32c3130b08fe`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/32c3130b08fe) -
67
+ [ED-22282] Bump adf-schema to 36.1.0
53
68
 
54
69
  ## 1.1.7
55
70
 
56
71
  ### Patch Changes
57
72
 
58
- - [#98137](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/98137)
59
- [`b1ddc8df2070`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/b1ddc8df2070) -
60
- [ED-23195] Refactor React components to use useRef inside functional components
61
- - Updated dependencies
73
+ - [#98137](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/98137)
74
+ [`b1ddc8df2070`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/b1ddc8df2070) -
75
+ [ED-23195] Refactor React components to use useRef inside functional components
76
+ - Updated dependencies
62
77
 
63
78
  ## 1.1.6
64
79
 
65
80
  ### Patch Changes
66
81
 
67
- - [#97698](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/97698)
68
- [`1c7b378c0d3b`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/1c7b378c0d3b) -
69
- [HOT-108999] We had an incident where the cursor jumps back a character in table headers for any
70
- language triggering composition on an empty line.This was fixed in a patch bump of
71
- prosemirror-view. https://github.com/ProseMirror/prosemirror-view/compare/1.33.4...1.33.5
82
+ - [#97698](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/97698)
83
+ [`1c7b378c0d3b`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/1c7b378c0d3b) -
84
+ [HOT-108999] We had an incident where the cursor jumps back a character in table headers for any
85
+ language triggering composition on an empty line.This was fixed in a patch bump of
86
+ prosemirror-view. https://github.com/ProseMirror/prosemirror-view/compare/1.33.4...1.33.5
72
87
 
73
88
  ## 1.1.5
74
89
 
75
90
  ### Patch Changes
76
91
 
77
- - Updated dependencies
92
+ - Updated dependencies
78
93
 
79
94
  ## 1.1.4
80
95
 
81
96
  ### Patch Changes
82
97
 
83
- - [#96237](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/96237)
84
- [`0401e7b5a88e`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/0401e7b5a88e) -
85
- [ED-23102] Bump ADF schema to version 35.12.2
98
+ - [#96237](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/96237)
99
+ [`0401e7b5a88e`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/0401e7b5a88e) -
100
+ [ED-23102] Bump ADF schema to version 35.12.2
86
101
 
87
102
  ## 1.1.3
88
103
 
89
104
  ### Patch Changes
90
105
 
91
- - [#94901](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/94901)
92
- [`da964fcdc828`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/da964fcdc828) -
93
- [ED-23097] Bump ADF schema to version 35.12.1
106
+ - [#94901](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/94901)
107
+ [`da964fcdc828`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/da964fcdc828) -
108
+ [ED-23097] Bump ADF schema to version 35.12.1
94
109
 
95
110
  ## 1.1.2
96
111
 
97
112
  ### Patch Changes
98
113
 
99
- - [#94717](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/94717)
100
- [`40f38eb0a512`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/40f38eb0a512) -
101
- Cleaning up feature flag for inserting nodes in ordered list.
114
+ - [#94717](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/94717)
115
+ [`40f38eb0a512`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/40f38eb0a512) -
116
+ Cleaning up feature flag for inserting nodes in ordered list.
102
117
 
103
- Fix bugs for incorrect ordered list order with action & improve selection behaviour on insert
118
+ Fix bugs for incorrect ordered list order with action & improve selection behaviour on insert
104
119
 
105
- - Updated dependencies
120
+ - Updated dependencies
106
121
 
107
122
  ## 1.1.1
108
123
 
109
124
  ### Patch Changes
110
125
 
111
- - [#93689](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/93689)
112
- [`5ba5d2b4a9ac`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/5ba5d2b4a9ac) -
113
- Updating adf-schema version to 35.10.0
126
+ - [#93689](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/93689)
127
+ [`5ba5d2b4a9ac`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/5ba5d2b4a9ac) -
128
+ Updating adf-schema version to 35.10.0
114
129
 
115
130
  ## 1.1.0
116
131
 
117
132
  ### Minor Changes
118
133
 
119
- - [#91934](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/91934)
120
- [`b76a78c6a199`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/b76a78c6a199) -
121
- bumped editor-prosemirror version to 4.0.0
134
+ - [#91934](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/91934)
135
+ [`b76a78c6a199`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/b76a78c6a199) -
136
+ bumped editor-prosemirror version to 4.0.0
122
137
 
123
138
  ### Patch Changes
124
139
 
125
- - Updated dependencies
140
+ - Updated dependencies
126
141
 
127
142
  ## 1.0.11
128
143
 
129
144
  ### Patch Changes
130
145
 
131
- - [#92426](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/92426)
132
- [`32c76c7c225c`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/32c76c7c225c) -
133
- Bump adf-schema to 35.9.2 to support table alignment options
146
+ - [#92426](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/92426)
147
+ [`32c76c7c225c`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/32c76c7c225c) -
148
+ Bump adf-schema to 35.9.2 to support table alignment options
134
149
 
135
150
  ## 1.0.10
136
151
 
137
152
  ### Patch Changes
138
153
 
139
- - [#91106](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/91106)
140
- [`b6ffa30186b9`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/b6ffa30186b9) -
141
- Bump ADF-schema package to version 35.0.0
142
- - Updated dependencies
154
+ - [#91106](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/91106)
155
+ [`b6ffa30186b9`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/b6ffa30186b9) -
156
+ Bump ADF-schema package to version 35.0.0
157
+ - Updated dependencies
143
158
 
144
159
  ## 1.0.9
145
160
 
146
161
  ### Patch Changes
147
162
 
148
- - [#88038](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/88038)
149
- [`19ac4de34153`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/19ac4de34153) -
150
- update 'w3c-keyname' dependency to 2.1.8
163
+ - [#88038](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/88038)
164
+ [`19ac4de34153`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/19ac4de34153) -
165
+ update 'w3c-keyname' dependency to 2.1.8
151
166
 
152
167
  ## 1.0.8
153
168
 
154
169
  ### Patch Changes
155
170
 
156
- - [#86724](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/86724)
157
- [`718a9aa2424d`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/718a9aa2424d) -
158
- [ED-22607] Remove references to maxFrames for multi bodied extensions and bump adf-schema from
159
- 35.7.0 to 35.8.0
171
+ - [#86724](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/86724)
172
+ [`718a9aa2424d`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/718a9aa2424d) -
173
+ [ED-22607] Remove references to maxFrames for multi bodied extensions and bump adf-schema from
174
+ 35.7.0 to 35.8.0
160
175
 
161
176
  ## 1.0.7
162
177
 
163
178
  ### Patch Changes
164
179
 
165
- - [#81777](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/81777)
166
- [`c6d7a5378751`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/c6d7a5378751) -
167
- Bump adf-schema to 35.7.0
180
+ - [#81777](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/81777)
181
+ [`c6d7a5378751`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/c6d7a5378751) -
182
+ Bump adf-schema to 35.7.0
168
183
 
169
184
  ## 1.0.6
170
185
 
171
186
  ### Patch Changes
172
187
 
173
- - [#83116](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/83116)
174
- [`8d4e99057fe0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8d4e99057fe0) -
175
- Upgrade Typescript from `4.9.5` to `5.4.2`
188
+ - [#83116](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/83116)
189
+ [`8d4e99057fe0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8d4e99057fe0) -
190
+ Upgrade Typescript from `4.9.5` to `5.4.2`
176
191
 
177
192
  ## 1.0.5
178
193
 
179
194
  ### Patch Changes
180
195
 
181
- - [#80679](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/80679)
182
- [`104eb9443b7e`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/104eb9443b7e) -
183
- ED-22553 Updating adf-schema version to 35.6.0
196
+ - [#80679](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/80679)
197
+ [`104eb9443b7e`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/104eb9443b7e) -
198
+ ED-22553 Updating adf-schema version to 35.6.0
184
199
 
185
200
  ## 1.0.4
186
201
 
187
202
  ### Patch Changes
188
203
 
189
- - [#78224](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/78224)
190
- [`6b4c9dd4ad34`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/6b4c9dd4ad34) -
191
- ED-22219: adf-schema updated to 35.5.2
192
- - Updated dependencies
204
+ - [#78224](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/78224)
205
+ [`6b4c9dd4ad34`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/6b4c9dd4ad34) -
206
+ ED-22219: adf-schema updated to 35.5.2
207
+ - Updated dependencies
193
208
 
194
209
  ## 1.0.3
195
210
 
196
211
  ### Patch Changes
197
212
 
198
- - [#75482](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/75482)
199
- [`18b5a6fb910a`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/18b5a6fb910a) - #
200
- MAJOR CHANGE to `@atlaskit/prosemirror-input-rules` package.
213
+ - [#75482](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/75482)
214
+ [`18b5a6fb910a`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/18b5a6fb910a) - #
215
+ MAJOR CHANGE to `@atlaskit/prosemirror-input-rules` package.
201
216
 
202
- ## WHY?
217
+ ## WHY?
203
218
 
204
- Removing editor-common dependencies from prosemirror-input-rules package.
219
+ Removing editor-common dependencies from prosemirror-input-rules package.
205
220
 
206
- This makes it easier for editor updates because it simplifies our dependency graph.
221
+ This makes it easier for editor updates because it simplifies our dependency graph.
207
222
 
208
- ## WHAT and HOW?
223
+ ## WHAT and HOW?
209
224
 
210
- These are no longer available via `@atlaskit/prosemirror-input-rules` but are available from
211
- `@atlaskit/editor-common/types`:
225
+ These are no longer available via `@atlaskit/prosemirror-input-rules` but are available from
226
+ `@atlaskit/editor-common/types`:
212
227
 
213
- - InputRuleWrapper
214
- - InputRuleHandler
215
- - OnHandlerApply
216
- - createRule
228
+ - InputRuleWrapper
229
+ - InputRuleHandler
230
+ - OnHandlerApply
231
+ - createRule
217
232
 
218
- These have changed from a `SafePlugin` to a `SafePluginSpec`. In order to update your code you
219
- need to instantiate a `SafePlugin` (ie. `new SafePlugin(createPlugin( ... ))`).
233
+ These have changed from a `SafePlugin` to a `SafePluginSpec`. In order to update your code you
234
+ need to instantiate a `SafePlugin` (ie. `new SafePlugin(createPlugin( ... ))`).
220
235
 
221
- `SafePlugin` exists in `@atlaskit/editor-common/safe-plugin`.
236
+ `SafePlugin` exists in `@atlaskit/editor-common/safe-plugin`.
222
237
 
223
- - createPlugin
224
- - createInputRulePlugin
238
+ - createPlugin
239
+ - createInputRulePlugin
225
240
 
226
- - Updated dependencies
241
+ - Updated dependencies
227
242
 
228
243
  ## 1.0.2
229
244
 
230
245
  ### Patch Changes
231
246
 
232
- - [#73177](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/73177)
233
- [`22452599ed8f`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/22452599ed8f) -
234
- Move styling for certain packages to tokens.
247
+ - [#73177](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/73177)
248
+ [`22452599ed8f`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/22452599ed8f) -
249
+ Move styling for certain packages to tokens.
235
250
 
236
251
  ## 1.0.1
237
252
 
238
253
  ### Patch Changes
239
254
 
240
- - Updated dependencies
255
+ - Updated dependencies
241
256
 
242
257
  ## 1.0.0
243
258
 
244
259
  ### Major Changes
245
260
 
246
- - [#72386](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/72386)
247
- [`0c52b0be40c1`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/0c52b0be40c1) -
248
- This changeset exists to bump all editor plugins that currently don't have a major version. This
249
- is to address an issue with Jira plugin consumption.
261
+ - [#72386](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/72386)
262
+ [`0c52b0be40c1`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/0c52b0be40c1) -
263
+ This changeset exists to bump all editor plugins that currently don't have a major version. This
264
+ is to address an issue with Jira plugin consumption.
250
265
 
251
266
  ### Patch Changes
252
267
 
253
- - Updated dependencies
268
+ - Updated dependencies
254
269
 
255
270
  ## 0.9.6
256
271
 
257
272
  ### Patch Changes
258
273
 
259
- - [#68572](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/68572)
260
- [`15d407fe5143`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/15d407fe5143) -
261
- Upgrading @atlaskit/editor-prosemirror dependency
274
+ - [#68572](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/68572)
275
+ [`15d407fe5143`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/15d407fe5143) -
276
+ Upgrading @atlaskit/editor-prosemirror dependency
262
277
 
263
278
  ## 0.9.5
264
279
 
265
280
  ### Patch Changes
266
281
 
267
- - [#71136](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/71136)
268
- [`c803fea1e6a4`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/c803fea1e6a4) -
269
- Move all plugin translations to editor-common
270
- - Updated dependencies
282
+ - [#71136](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/71136)
283
+ [`c803fea1e6a4`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/c803fea1e6a4) -
284
+ Move all plugin translations to editor-common
285
+ - Updated dependencies
271
286
 
272
287
  ## 0.9.4
273
288
 
274
289
  ### Patch Changes
275
290
 
276
- - [#70152](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/70152)
277
- [`53ed3673df28`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/53ed3673df28) -
278
- Updating adf-schema version to 35.5.1
291
+ - [#70152](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/70152)
292
+ [`53ed3673df28`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/53ed3673df28) -
293
+ Updating adf-schema version to 35.5.1
279
294
 
280
295
  ## 0.9.3
281
296
 
282
297
  ### Patch Changes
283
298
 
284
- - Updated dependencies
299
+ - Updated dependencies
285
300
 
286
301
  ## 0.9.2
287
302
 
288
303
  ### Patch Changes
289
304
 
290
- - [#67189](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/67189)
291
- [`93cbf53ca0e0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/93cbf53ca0e0) -
292
- Removing instances of WithPluginState from mentions and type-ahead plugins.
305
+ - [#67189](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/67189)
306
+ [`93cbf53ca0e0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/93cbf53ca0e0) -
307
+ Removing instances of WithPluginState from mentions and type-ahead plugins.
293
308
 
294
309
  ## 0.9.1
295
310
 
296
311
  ### Patch Changes
297
312
 
298
- - [#65031](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/65031)
299
- [`a00094111b5a`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/a00094111b5a) -
300
- ED-21609 Update adf-schema to 35.3.0
301
- - Updated dependencies
313
+ - [#65031](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/65031)
314
+ [`a00094111b5a`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/a00094111b5a) -
315
+ ED-21609 Update adf-schema to 35.3.0
316
+ - Updated dependencies
302
317
 
303
318
  ## 0.9.0
304
319
 
305
320
  ### Minor Changes
306
321
 
307
- - [#64335](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/64335)
308
- [`efc8826c907f`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/efc8826c907f) -
309
- [ux] [ED-16509] Restart numbered list inserting nodes via QUICK INSERT, nodes including :
310
- panels, expands, decisions, tables, layout, quotes, actions, dividers, headings. Changes are
311
- being guarded behind feature flag platform.editor.ordered-list-inserting-nodes_bh0vo
322
+ - [#64335](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/64335)
323
+ [`efc8826c907f`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/efc8826c907f) -
324
+ [ux] [ED-16509] Restart numbered list inserting nodes via QUICK INSERT, nodes including : panels,
325
+ expands, decisions, tables, layout, quotes, actions, dividers, headings. Changes are being guarded
326
+ behind feature flag platform.editor.ordered-list-inserting-nodes_bh0vo
312
327
 
313
328
  ### Patch Changes
314
329
 
315
- - Updated dependencies
330
+ - Updated dependencies
316
331
 
317
332
  ## 0.8.6
318
333
 
319
334
  ### Patch Changes
320
335
 
321
- - [#62165](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/62165)
322
- [`b44ac0968d79`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/b44ac0968d79) -
323
- [ED-21562] Bump @atlaskit/adf-schema to 35.2.0 for border mark update
336
+ - [#62165](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/62165)
337
+ [`b44ac0968d79`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/b44ac0968d79) -
338
+ [ED-21562] Bump @atlaskit/adf-schema to 35.2.0 for border mark update
324
339
 
325
340
  ## 0.8.5
326
341
 
327
342
  ### Patch Changes
328
343
 
329
- - [#61655](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/61655)
330
- [`6fec14da1838`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/6fec14da1838) -
331
- ED-21403 Fixed accessiblity issue with TypeAheadItems read by VoiceOver
344
+ - [#61655](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/61655)
345
+ [`6fec14da1838`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/6fec14da1838) -
346
+ ED-21403 Fixed accessiblity issue with TypeAheadItems read by VoiceOver
332
347
 
333
348
  ## 0.8.4
334
349
 
335
350
  ### Patch Changes
336
351
 
337
- - [#61465](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/61465)
338
- [`fc0f13b8bc95`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/fc0f13b8bc95) -
339
- Prefix `componentWillMount`, `componentWillUnmount` and `componentWillReceiveProps` with
340
- `UNSAFE_` in the `AssistiveText` component
352
+ - [#61465](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/61465)
353
+ [`fc0f13b8bc95`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/fc0f13b8bc95) -
354
+ Prefix `componentWillMount`, `componentWillUnmount` and `componentWillReceiveProps` with `UNSAFE_`
355
+ in the `AssistiveText` component
341
356
 
342
357
  ## 0.8.3
343
358
 
344
359
  ### Patch Changes
345
360
 
346
- - [#60808](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/60808)
347
- [`f509a21be124`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/f509a21be124) -
348
- ED-21506: @atlaskit/adf-schema upgraded to 35.1.1 to support renderer for MBE
361
+ - [#60808](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/60808)
362
+ [`f509a21be124`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/f509a21be124) -
363
+ ED-21506: @atlaskit/adf-schema upgraded to 35.1.1 to support renderer for MBE
349
364
 
350
365
  ## 0.8.2
351
366
 
352
367
  ### Patch Changes
353
368
 
354
- - [#58246](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/58246)
355
- [`a381b2599716`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/a381b2599716) -
356
- ED-21371 Update adf-schema to 35.1.0
369
+ - [#58246](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/58246)
370
+ [`a381b2599716`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/a381b2599716) -
371
+ ED-21371 Update adf-schema to 35.1.0
357
372
 
358
373
  ## 0.8.1
359
374
 
360
375
  ### Patch Changes
361
376
 
362
- - Updated dependencies
377
+ - Updated dependencies
363
378
 
364
379
  ## 0.8.0
365
380
 
366
381
  ### Minor Changes
367
382
 
368
- - [#59258](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/59258)
369
- [`8776707df7cd`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8776707df7cd) -
370
- ECA11Y-48 Updated assistive text
383
+ - [#59258](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/59258)
384
+ [`8776707df7cd`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8776707df7cd) -
385
+ ECA11Y-48 Updated assistive text
371
386
 
372
387
  ## 0.7.8
373
388
 
374
389
  ### Patch Changes
375
390
 
376
- - [#59147](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/59147)
377
- [`f12e489f23b0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/f12e489f23b0) -
378
- Re-build and deploy packages to NPM to resolve React/Compiled not found error (HOT-106483).
391
+ - [#59147](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/59147)
392
+ [`f12e489f23b0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/f12e489f23b0) -
393
+ Re-build and deploy packages to NPM to resolve React/Compiled not found error (HOT-106483).
379
394
 
380
395
  ## 0.7.7
381
396
 
382
397
  ### Patch Changes
383
398
 
384
- - [#58763](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/58763)
385
- [`0fdbd64522bf`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/0fdbd64522bf) -
386
- update ADF schema
399
+ - [#58763](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/58763)
400
+ [`0fdbd64522bf`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/0fdbd64522bf) -
401
+ update ADF schema
387
402
 
388
403
  ## 0.7.6
389
404
 
390
405
  ### Patch Changes
391
406
 
392
- - [#56790](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/56790)
393
- [`ff577a7969d4`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ff577a7969d4) -
394
- ED-21266: Updated @atlaskit/adf-schema to 34.0.1
407
+ - [#56790](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/56790)
408
+ [`ff577a7969d4`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ff577a7969d4) -
409
+ ED-21266: Updated @atlaskit/adf-schema to 34.0.1
395
410
 
396
411
  ## 0.7.5
397
412
 
398
413
  ### Patch Changes
399
414
 
400
- - [#43417](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/43417)
401
- [`3f3c17f0273`](https://bitbucket.org/atlassian/atlassian-frontend/commits/3f3c17f0273) -
402
- ED-20971 Upgrade adf-schema package to ^34.0.0
415
+ - [#43417](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/43417)
416
+ [`3f3c17f0273`](https://bitbucket.org/atlassian/atlassian-frontend/commits/3f3c17f0273) - ED-20971
417
+ Upgrade adf-schema package to ^34.0.0
403
418
 
404
419
  ## 0.7.4
405
420
 
406
421
  ### Patch Changes
407
422
 
408
- - [#43379](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/43379)
409
- [`482c025520d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/482c025520d) -
410
- ED-20763 Upgrade ADF schema version to 33.2.3 for MBE nodes.
411
- - Updated dependencies
423
+ - [#43379](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/43379)
424
+ [`482c025520d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/482c025520d) - ED-20763
425
+ Upgrade ADF schema version to 33.2.3 for MBE nodes.
426
+ - Updated dependencies
412
427
 
413
428
  ## 0.7.3
414
429
 
415
430
  ### Patch Changes
416
431
 
417
- - [#42995](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/42995)
418
- [`a527682dee6`](https://bitbucket.org/atlassian/atlassian-frontend/commits/a527682dee6) - add in
419
- missing dependencies for imported types
432
+ - [#42995](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/42995)
433
+ [`a527682dee6`](https://bitbucket.org/atlassian/atlassian-frontend/commits/a527682dee6) - add in
434
+ missing dependencies for imported types
420
435
 
421
436
  ## 0.7.2
422
437
 
423
438
  ### Patch Changes
424
439
 
425
- - Updated dependencies
440
+ - Updated dependencies
426
441
 
427
442
  ## 0.7.1
428
443
 
429
444
  ### Patch Changes
430
445
 
431
- - [#41802](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/41802)
432
- [`d20ecc5a9db`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d20ecc5a9db) - Apply
433
- improved linting to type-ahead plugin.
446
+ - [#41802](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/41802)
447
+ [`d20ecc5a9db`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d20ecc5a9db) - Apply
448
+ improved linting to type-ahead plugin.
434
449
 
435
450
  ## 0.7.0
436
451
 
437
452
  ### Minor Changes
438
453
 
439
- - [#41047](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/41047)
440
- [`8f0b00d165f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8f0b00d165f) -
441
- [ED-20003] Extract TypeAhead from editor-core to its own package
442
- @atlaskit/editor-plugin-type-ahead
454
+ - [#41047](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/41047)
455
+ [`8f0b00d165f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8f0b00d165f) -
456
+ [ED-20003] Extract TypeAhead from editor-core to its own package
457
+ @atlaskit/editor-plugin-type-ahead
443
458
 
444
459
  ## 0.6.0
445
460
 
446
461
  ### Minor Changes
447
462
 
448
- - [#41459](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/41459)
449
- [`9874d0f70b0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9874d0f70b0) -
450
- [ED-20003] TypeAhead extraction: Replace the mobile view-subscription with proper API
463
+ - [#41459](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/41459)
464
+ [`9874d0f70b0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9874d0f70b0) -
465
+ [ED-20003] TypeAhead extraction: Replace the mobile view-subscription with proper API
451
466
 
452
467
  ## 0.5.0
453
468
 
454
469
  ### Minor Changes
455
470
 
456
- - [#41143](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/41143)
457
- [`7d6dfe2befa`](https://bitbucket.org/atlassian/atlassian-frontend/commits/7d6dfe2befa) -
458
- [ED-20003] Replace TyepAhead API for Editor Plugin Injection API
471
+ - [#41143](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/41143)
472
+ [`7d6dfe2befa`](https://bitbucket.org/atlassian/atlassian-frontend/commits/7d6dfe2befa) -
473
+ [ED-20003] Replace TyepAhead API for Editor Plugin Injection API
459
474
 
460
475
  ## 0.4.0
461
476
 
462
477
  ### Minor Changes
463
478
 
464
- - [#40955](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/40955)
465
- [`30dc2b1e6c9`](https://bitbucket.org/atlassian/atlassian-frontend/commits/30dc2b1e6c9) -
466
- [ED-19746] Decoupling mentions plugin from Editor-core libraries
479
+ - [#40955](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/40955)
480
+ [`30dc2b1e6c9`](https://bitbucket.org/atlassian/atlassian-frontend/commits/30dc2b1e6c9) -
481
+ [ED-19746] Decoupling mentions plugin from Editor-core libraries
467
482
 
468
483
  ## 0.3.2
469
484
 
470
485
  ### Patch Changes
471
486
 
472
- - Updated dependencies
487
+ - Updated dependencies
473
488
 
474
489
  ## 0.3.1
475
490
 
476
491
  ### Patch Changes
477
492
 
478
- - Updated dependencies
493
+ - Updated dependencies
479
494
 
480
495
  ## 0.3.0
481
496
 
482
497
  ### Minor Changes
483
498
 
484
- - [#39575](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/39575)
485
- [`ef0c2a89c72`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ef0c2a89c72) - Add
486
- isTypeAheadOpen action to type-ahead plugin. Decouple placeholder plugin from editor-core.
499
+ - [#39575](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/39575)
500
+ [`ef0c2a89c72`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ef0c2a89c72) - Add
501
+ isTypeAheadOpen action to type-ahead plugin. Decouple placeholder plugin from editor-core.
487
502
 
488
503
  ## 0.2.0
489
504
 
490
505
  ### Minor Changes
491
506
 
492
- - [#39325](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/39325)
493
- [`ad3c5c21079`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ad3c5c21079) -
494
- Updating all plugins with minor version to correct issue with semver.
507
+ - [#39325](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/39325)
508
+ [`ad3c5c21079`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ad3c5c21079) - Updating
509
+ all plugins with minor version to correct issue with semver.
495
510
 
496
511
  ## 0.1.1
497
512
 
498
513
  ### Patch Changes
499
514
 
500
- - [#39177](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/39177)
501
- [`24e27147cbd`](https://bitbucket.org/atlassian/atlassian-frontend/commits/24e27147cbd) - Added
502
- atlaskit docs to all existing plugins.
515
+ - [#39177](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/39177)
516
+ [`24e27147cbd`](https://bitbucket.org/atlassian/atlassian-frontend/commits/24e27147cbd) - Added
517
+ atlaskit docs to all existing plugins.
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.
@@ -365,10 +365,10 @@ var InputQuery = exports.InputQuery = /*#__PURE__*/_react.default.memo(function
365
365
  var intl = (0, _reactIntlNext.useIntl)();
366
366
 
367
367
  /**
368
- When we migrated to emotion from styled component, we started getting this error.
369
- jsx-a11y/interactive-supports-focus
370
- Task added in https://product-fabric.atlassian.net/wiki/spaces/E/pages/3182068181/Potential+improvements#Moderate-changes.
371
- */
368
+ When we migrated to emotion from styled component, we started getting this error.
369
+ jsx-a11y/interactive-supports-focus
370
+ Task added in https://product-fabric.atlassian.net/wiki/spaces/E/pages/3182068181/Potential+improvements#Moderate-changes.
371
+ */
372
372
  return (0, _react2.jsx)(_react.Fragment, null, triggerQueryPrefix, (0, _react2.jsx)("span", {
373
373
  css: querySpanStyles,
374
374
  contentEditable: true,
@@ -36,10 +36,10 @@ var itemIcon = exports.itemIcon = (0, _react2.css)({
36
36
  height: "var(--ds-space-500, 40px)"
37
37
  }
38
38
  });
39
- var itemBody = (0, _react2.css)(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n display: flex;\n flex-direction: row;\n flex-wrap: nowrap;\n justify-content: space-between;\n"])));
40
- var itemText = (0, _react2.css)(_templateObject2 || (_templateObject2 = (0, _taggedTemplateLiteral2.default)(["\n white-space: initial;\n color: ", ";\n .item-title {\n line-height: 1.4;\n }\n .item-description {\n font-size: ", ";\n color: ", ";\n margin-top: ", ";\n }\n"])), "var(--ds-text, ".concat(_colors.N800, ")"), (0, _editorSharedStyles.relativeFontSizeToBase16)(12), "var(--ds-text-subtlest, ".concat(_colors.N200, ")"), "var(--ds-space-050, 4px)");
41
- var itemAfter = (0, _react2.css)(_templateObject3 || (_templateObject3 = (0, _taggedTemplateLiteral2.default)(["\n flex: 0 0 auto;\n"])));
42
- var customRenderItemDivStyle = (0, _react2.css)(_templateObject4 || (_templateObject4 = (0, _taggedTemplateLiteral2.default)(["\n overflow: hidden;\n &:focus {\n box-shadow: inset 2px 0px 0px ", ";\n background-color: ", ";\n outline: none;\n }\n"])), "var(--ds-border-focused, ".concat(_colors.B400, ")"), "var(--ds-background-neutral-subtle-hovered, ".concat(_colors.N30, ")"));
39
+ var itemBody = (0, _react2.css)(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n\tdisplay: flex;\n\tflex-direction: row;\n\tflex-wrap: nowrap;\n\tjustify-content: space-between;\n"])));
40
+ var itemText = (0, _react2.css)(_templateObject2 || (_templateObject2 = (0, _taggedTemplateLiteral2.default)(["\n\twhite-space: initial;\n\tcolor: ", ";\n\t.item-title {\n\t\tline-height: 1.4;\n\t}\n\t.item-description {\n\t\tfont-size: ", ";\n\t\tcolor: ", ";\n\t\tmargin-top: ", ";\n\t}\n"])), "var(--ds-text, ".concat(_colors.N800, ")"), (0, _editorSharedStyles.relativeFontSizeToBase16)(12), "var(--ds-text-subtlest, ".concat(_colors.N200, ")"), "var(--ds-space-050, 4px)");
41
+ var itemAfter = (0, _react2.css)(_templateObject3 || (_templateObject3 = (0, _taggedTemplateLiteral2.default)(["\n\tflex: 0 0 auto;\n"])));
42
+ var customRenderItemDivStyle = (0, _react2.css)(_templateObject4 || (_templateObject4 = (0, _taggedTemplateLiteral2.default)(["\n\toverflow: hidden;\n\t&:focus {\n\t\tbox-shadow: inset 2px 0px 0px ", ";\n\t\tbackground-color: ", ";\n\t\toutline: none;\n\t}\n"])), "var(--ds-border-focused, ".concat(_colors.B400, ")"), "var(--ds-background-neutral-subtle-hovered, ".concat(_colors.N30, ")"));
43
43
 
44
44
  /**
45
45
  * This CSS emulates the desired behaviour with :focus-visible for firefox.
@@ -60,7 +60,7 @@ var selectionFrame = {
60
60
  outline: 'none'
61
61
  }
62
62
  };
63
- var selectedStyle = (0, _react2.css)(_templateObject5 || (_templateObject5 = (0, _taggedTemplateLiteral2.default)(["\n background-color: ", ";\n box-shadow: inset 2px 0px 0px ", ";\n"])), "var(--ds-background-neutral-subtle-hovered, ".concat(_colors.N30, ")"), "var(--ds-border-focused, ".concat(_colors.B400, ")"));
63
+ var selectedStyle = (0, _react2.css)(_templateObject5 || (_templateObject5 = (0, _taggedTemplateLiteral2.default)(["\n\tbackground-color: ", ";\n\tbox-shadow: inset 2px 0px 0px ", ";\n"])), "var(--ds-background-neutral-subtle-hovered, ".concat(_colors.N30, ")"), "var(--ds-border-focused, ".concat(_colors.B400, ")"));
64
64
  var FallbackIcon = /*#__PURE__*/_react.default.memo(function (_ref) {
65
65
  var label = _ref.label;
66
66
  return (0, _react2.jsx)(_quickInsert.IconFallback, null);
@@ -85,7 +85,9 @@ var CustomItemComponentWrapper = /*#__PURE__*/_react.default.memo(function (prop
85
85
  "aria-setsize": itemsLength,
86
86
  "aria-posinset": itemIndex,
87
87
  tabIndex: 0,
88
- css: listItemClasses,
88
+ css: listItemClasses
89
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
90
+ ,
89
91
  className: "ak-typeahead-item ".concat(isSelected ? 'typeahead-selected-item' : '')
90
92
  //CSS classes added for test cases purpose
91
93
  ,
@@ -217,7 +217,9 @@ var TypeAheadPopup = exports.TypeAheadPopup = /*#__PURE__*/_react.default.memo(f
217
217
  ariaLabel: null
218
218
  }, (0, _react2.jsx)("div", {
219
219
  css: typeAheadContent,
220
- tabIndex: 0,
220
+ tabIndex: 0
221
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
222
+ ,
221
223
  className: _constants.TYPE_AHEAD_POPUP_CONTENT_CLASS,
222
224
  ref: ref
223
225
  }, (0, _react2.jsx)(Highlight, {
@@ -357,10 +357,10 @@ export const InputQuery = /*#__PURE__*/React.memo(({
357
357
  const intl = useIntl();
358
358
 
359
359
  /**
360
- When we migrated to emotion from styled component, we started getting this error.
361
- jsx-a11y/interactive-supports-focus
362
- Task added in https://product-fabric.atlassian.net/wiki/spaces/E/pages/3182068181/Potential+improvements#Moderate-changes.
363
- */
360
+ When we migrated to emotion from styled component, we started getting this error.
361
+ jsx-a11y/interactive-supports-focus
362
+ Task added in https://product-fabric.atlassian.net/wiki/spaces/E/pages/3182068181/Potential+improvements#Moderate-changes.
363
+ */
364
364
  return jsx(Fragment, null, triggerQueryPrefix, jsx("span", {
365
365
  css: querySpanStyles,
366
366
  contentEditable: true,
@@ -26,33 +26,33 @@ export const itemIcon = css({
26
26
  }
27
27
  });
28
28
  const itemBody = css`
29
- display: flex;
30
- flex-direction: row;
31
- flex-wrap: nowrap;
32
- justify-content: space-between;
29
+ display: flex;
30
+ flex-direction: row;
31
+ flex-wrap: nowrap;
32
+ justify-content: space-between;
33
33
  `;
34
34
  const itemText = css`
35
- white-space: initial;
36
- color: ${`var(--ds-text, ${N800})`};
37
- .item-title {
38
- line-height: 1.4;
39
- }
40
- .item-description {
41
- font-size: ${relativeFontSizeToBase16(12)};
42
- color: ${`var(--ds-text-subtlest, ${N200})`};
43
- margin-top: ${"var(--ds-space-050, 4px)"};
44
- }
35
+ white-space: initial;
36
+ color: ${`var(--ds-text, ${N800})`};
37
+ .item-title {
38
+ line-height: 1.4;
39
+ }
40
+ .item-description {
41
+ font-size: ${relativeFontSizeToBase16(12)};
42
+ color: ${`var(--ds-text-subtlest, ${N200})`};
43
+ margin-top: ${"var(--ds-space-050, 4px)"};
44
+ }
45
45
  `;
46
46
  const itemAfter = css`
47
- flex: 0 0 auto;
47
+ flex: 0 0 auto;
48
48
  `;
49
49
  const customRenderItemDivStyle = css`
50
- overflow: hidden;
51
- &:focus {
52
- box-shadow: inset 2px 0px 0px ${`var(--ds-border-focused, ${B400})`};
53
- background-color: ${`var(--ds-background-neutral-subtle-hovered, ${N30})`};
54
- outline: none;
55
- }
50
+ overflow: hidden;
51
+ &:focus {
52
+ box-shadow: inset 2px 0px 0px ${`var(--ds-border-focused, ${B400})`};
53
+ background-color: ${`var(--ds-background-neutral-subtle-hovered, ${N30})`};
54
+ outline: none;
55
+ }
56
56
  `;
57
57
 
58
58
  /**
@@ -75,8 +75,8 @@ const selectionFrame = {
75
75
  }
76
76
  };
77
77
  const selectedStyle = css`
78
- background-color: ${`var(--ds-background-neutral-subtle-hovered, ${N30})`};
79
- box-shadow: inset 2px 0px 0px ${`var(--ds-border-focused, ${B400})`};
78
+ background-color: ${`var(--ds-background-neutral-subtle-hovered, ${N30})`};
79
+ box-shadow: inset 2px 0px 0px ${`var(--ds-border-focused, ${B400})`};
80
80
  `;
81
81
  const FallbackIcon = /*#__PURE__*/React.memo(({
82
82
  label
@@ -105,7 +105,9 @@ const CustomItemComponentWrapper = /*#__PURE__*/React.memo(props => {
105
105
  "aria-setsize": itemsLength,
106
106
  "aria-posinset": itemIndex,
107
107
  tabIndex: 0,
108
- css: listItemClasses,
108
+ css: listItemClasses
109
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
110
+ ,
109
111
  className: `ak-typeahead-item ${isSelected ? 'typeahead-selected-item' : ''}`
110
112
  //CSS classes added for test cases purpose
111
113
  ,
@@ -211,7 +211,9 @@ export const TypeAheadPopup = /*#__PURE__*/React.memo(props => {
211
211
  ariaLabel: null
212
212
  }, jsx("div", {
213
213
  css: typeAheadContent,
214
- tabIndex: 0,
214
+ tabIndex: 0
215
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
216
+ ,
215
217
  className: TYPE_AHEAD_POPUP_CONTENT_CLASS,
216
218
  ref: ref
217
219
  }, jsx(Highlight, {
@@ -354,10 +354,10 @@ export var InputQuery = /*#__PURE__*/React.memo(function (_ref) {
354
354
  var intl = useIntl();
355
355
 
356
356
  /**
357
- When we migrated to emotion from styled component, we started getting this error.
358
- jsx-a11y/interactive-supports-focus
359
- Task added in https://product-fabric.atlassian.net/wiki/spaces/E/pages/3182068181/Potential+improvements#Moderate-changes.
360
- */
357
+ When we migrated to emotion from styled component, we started getting this error.
358
+ jsx-a11y/interactive-supports-focus
359
+ Task added in https://product-fabric.atlassian.net/wiki/spaces/E/pages/3182068181/Potential+improvements#Moderate-changes.
360
+ */
361
361
  return jsx(Fragment, null, triggerQueryPrefix, jsx("span", {
362
362
  css: querySpanStyles,
363
363
  contentEditable: true,
@@ -27,10 +27,10 @@ export var itemIcon = css({
27
27
  height: "var(--ds-space-500, 40px)"
28
28
  }
29
29
  });
30
- var itemBody = css(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: row;\n flex-wrap: nowrap;\n justify-content: space-between;\n"])));
31
- var itemText = css(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n white-space: initial;\n color: ", ";\n .item-title {\n line-height: 1.4;\n }\n .item-description {\n font-size: ", ";\n color: ", ";\n margin-top: ", ";\n }\n"])), "var(--ds-text, ".concat(N800, ")"), relativeFontSizeToBase16(12), "var(--ds-text-subtlest, ".concat(N200, ")"), "var(--ds-space-050, 4px)");
32
- var itemAfter = css(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral(["\n flex: 0 0 auto;\n"])));
33
- var customRenderItemDivStyle = css(_templateObject4 || (_templateObject4 = _taggedTemplateLiteral(["\n overflow: hidden;\n &:focus {\n box-shadow: inset 2px 0px 0px ", ";\n background-color: ", ";\n outline: none;\n }\n"])), "var(--ds-border-focused, ".concat(B400, ")"), "var(--ds-background-neutral-subtle-hovered, ".concat(N30, ")"));
30
+ var itemBody = css(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n\tdisplay: flex;\n\tflex-direction: row;\n\tflex-wrap: nowrap;\n\tjustify-content: space-between;\n"])));
31
+ var itemText = css(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n\twhite-space: initial;\n\tcolor: ", ";\n\t.item-title {\n\t\tline-height: 1.4;\n\t}\n\t.item-description {\n\t\tfont-size: ", ";\n\t\tcolor: ", ";\n\t\tmargin-top: ", ";\n\t}\n"])), "var(--ds-text, ".concat(N800, ")"), relativeFontSizeToBase16(12), "var(--ds-text-subtlest, ".concat(N200, ")"), "var(--ds-space-050, 4px)");
32
+ var itemAfter = css(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral(["\n\tflex: 0 0 auto;\n"])));
33
+ var customRenderItemDivStyle = css(_templateObject4 || (_templateObject4 = _taggedTemplateLiteral(["\n\toverflow: hidden;\n\t&:focus {\n\t\tbox-shadow: inset 2px 0px 0px ", ";\n\t\tbackground-color: ", ";\n\t\toutline: none;\n\t}\n"])), "var(--ds-border-focused, ".concat(B400, ")"), "var(--ds-background-neutral-subtle-hovered, ".concat(N30, ")"));
34
34
 
35
35
  /**
36
36
  * This CSS emulates the desired behaviour with :focus-visible for firefox.
@@ -51,7 +51,7 @@ var selectionFrame = {
51
51
  outline: 'none'
52
52
  }
53
53
  };
54
- var selectedStyle = css(_templateObject5 || (_templateObject5 = _taggedTemplateLiteral(["\n background-color: ", ";\n box-shadow: inset 2px 0px 0px ", ";\n"])), "var(--ds-background-neutral-subtle-hovered, ".concat(N30, ")"), "var(--ds-border-focused, ".concat(B400, ")"));
54
+ var selectedStyle = css(_templateObject5 || (_templateObject5 = _taggedTemplateLiteral(["\n\tbackground-color: ", ";\n\tbox-shadow: inset 2px 0px 0px ", ";\n"])), "var(--ds-background-neutral-subtle-hovered, ".concat(N30, ")"), "var(--ds-border-focused, ".concat(B400, ")"));
55
55
  var FallbackIcon = /*#__PURE__*/React.memo(function (_ref) {
56
56
  var label = _ref.label;
57
57
  return jsx(IconFallback, null);
@@ -76,7 +76,9 @@ var CustomItemComponentWrapper = /*#__PURE__*/React.memo(function (props) {
76
76
  "aria-setsize": itemsLength,
77
77
  "aria-posinset": itemIndex,
78
78
  tabIndex: 0,
79
- css: listItemClasses,
79
+ css: listItemClasses
80
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
81
+ ,
80
82
  className: "ak-typeahead-item ".concat(isSelected ? 'typeahead-selected-item' : '')
81
83
  //CSS classes added for test cases purpose
82
84
  ,
@@ -206,7 +206,9 @@ export var TypeAheadPopup = /*#__PURE__*/React.memo(function (props) {
206
206
  ariaLabel: null
207
207
  }, jsx("div", {
208
208
  css: typeAheadContent,
209
- tabIndex: 0,
209
+ tabIndex: 0
210
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
211
+ ,
210
212
  className: TYPE_AHEAD_POPUP_CONTENT_CLASS,
211
213
  ref: ref
212
214
  }, jsx(Highlight, {
@@ -8,5 +8,5 @@ type FactoryReturn = {
8
8
  createDecorations: CreateTypeAheadDecorations;
9
9
  removeDecorations: RemoveTypeAheadDecorations;
10
10
  };
11
- export declare const factoryDecorations: ({ intl, popupMountRef, }: FactoryProps) => FactoryReturn;
11
+ export declare const factoryDecorations: ({ intl, popupMountRef }: FactoryProps) => FactoryReturn;
12
12
  export {};
@@ -7,5 +7,5 @@ interface ContentComponentProps {
7
7
  editorView: EditorView;
8
8
  popupMountRef: PopupMountPointReference;
9
9
  }
10
- export declare function ContentComponent({ api, editorView, popupMountRef, }: ContentComponentProps): JSX.Element | null;
10
+ export declare function ContentComponent({ api, editorView, popupMountRef }: ContentComponentProps): JSX.Element | null;
11
11
  export {};
@@ -8,5 +8,5 @@ type FactoryReturn = {
8
8
  createDecorations: CreateTypeAheadDecorations;
9
9
  removeDecorations: RemoveTypeAheadDecorations;
10
10
  };
11
- export declare const factoryDecorations: ({ intl, popupMountRef, }: FactoryProps) => FactoryReturn;
11
+ export declare const factoryDecorations: ({ intl, popupMountRef }: FactoryProps) => FactoryReturn;
12
12
  export {};
@@ -7,5 +7,5 @@ interface ContentComponentProps {
7
7
  editorView: EditorView;
8
8
  popupMountRef: PopupMountPointReference;
9
9
  }
10
- export declare function ContentComponent({ api, editorView, popupMountRef, }: ContentComponentProps): JSX.Element | null;
10
+ export declare function ContentComponent({ api, editorView, popupMountRef }: ContentComponentProps): JSX.Element | null;
11
11
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-type-ahead",
3
- "version": "1.2.3",
3
+ "version": "1.2.5",
4
4
  "description": "Type-ahead plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -32,11 +32,11 @@
32
32
  ".": "./src/index.ts"
33
33
  },
34
34
  "dependencies": {
35
- "@atlaskit/adf-schema": "^36.8.0",
36
- "@atlaskit/editor-common": "^80.4.0",
35
+ "@atlaskit/adf-schema": "^36.10.7",
36
+ "@atlaskit/editor-common": "^82.0.0",
37
37
  "@atlaskit/editor-plugin-analytics": "^1.2.0",
38
38
  "@atlaskit/editor-prosemirror": "4.0.1",
39
- "@atlaskit/editor-shared-styles": "^2.11.0",
39
+ "@atlaskit/editor-shared-styles": "^2.12.0",
40
40
  "@atlaskit/menu": "^2.3.0",
41
41
  "@atlaskit/prosemirror-input-rules": "^3.1.0",
42
42
  "@atlaskit/theme": "^12.8.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
  "@types/react-virtualized": "^9.18.12",
64
63
  "react-dom": "^16.8.0",
@@ -83,6 +82,5 @@
83
82
  "emotion"
84
83
  ]
85
84
  }
86
- },
87
- "prettier": "@atlassian/atlassian-frontend-prettier-config-1.0.0"
85
+ }
88
86
  }
package/report.api.md CHANGED
@@ -2,7 +2,8 @@
2
2
 
3
3
  ## API Report File for "@atlaskit/editor-plugin-type-ahead"
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
@@ -30,59 +31,57 @@ import type { TypeAheadStats } from '@atlaskit/editor-common/types';
30
31
 
31
32
  // @public (undocumented)
32
33
  type CloseTypeAheadProps = {
33
- insertCurrentQueryAsRawText: boolean;
34
- attachCommand?: Command;
34
+ insertCurrentQueryAsRawText: boolean;
35
+ attachCommand?: Command;
35
36
  };
36
37
 
37
38
  // @public (undocumented)
38
39
  type InsertTypeAheadItemProps = {
39
- triggerHandler: TypeAheadHandler;
40
- contentItem: TypeAheadItem;
41
- query: string;
42
- sourceListItem: TypeAheadItem[];
43
- mode?: SelectItemMode;
40
+ triggerHandler: TypeAheadHandler;
41
+ contentItem: TypeAheadItem;
42
+ query: string;
43
+ sourceListItem: TypeAheadItem[];
44
+ mode?: SelectItemMode;
44
45
  };
45
46
 
46
47
  // @public (undocumented)
47
48
  type OpenTypeAheadProps = {
48
- triggerHandler: TypeAheadHandler;
49
- inputMethod: TypeAheadInputMethod;
50
- query?: string;
49
+ triggerHandler: TypeAheadHandler;
50
+ inputMethod: TypeAheadInputMethod;
51
+ query?: string;
51
52
  };
52
53
 
53
54
  export { TypeAheadHandler };
54
55
 
55
56
  // @public (undocumented)
56
57
  export type TypeAheadInputMethod =
57
- | INPUT_METHOD.INSERT_MENU
58
- | INPUT_METHOD.KEYBOARD
59
- | INPUT_METHOD.QUICK_INSERT
60
- | INPUT_METHOD.TOOLBAR;
58
+ | INPUT_METHOD.INSERT_MENU
59
+ | INPUT_METHOD.KEYBOARD
60
+ | INPUT_METHOD.QUICK_INSERT
61
+ | INPUT_METHOD.TOOLBAR;
61
62
 
62
63
  // @public
63
64
  export type TypeAheadPlugin = NextEditorPlugin<
64
- 'typeAhead',
65
- {
66
- pluginConfiguration: TypeAheadPluginOptions | undefined;
67
- dependencies: [OptionalPlugin<AnalyticsPlugin>];
68
- sharedState: {
69
- query: string;
70
- isOpen: boolean;
71
- isAllowed: boolean;
72
- currentHandler?: TypeAheadHandler;
73
- };
74
- actions: {
75
- isOpen: (editorState: EditorState) => boolean;
76
- isAllowed: (editorState: EditorState) => boolean;
77
- insert: (props: InsertTypeAheadItemProps) => boolean;
78
- findHandlerByTrigger: (trigger: string) => TypeAheadHandler | null;
79
- open: (props: OpenTypeAheadProps) => boolean;
80
- close: (props: CloseTypeAheadProps) => boolean;
81
- openAtTransaction: (
82
- props: OpenTypeAheadProps,
83
- ) => (tr: Transaction) => boolean;
84
- };
85
- }
65
+ 'typeAhead',
66
+ {
67
+ pluginConfiguration: TypeAheadPluginOptions | undefined;
68
+ dependencies: [OptionalPlugin<AnalyticsPlugin>];
69
+ sharedState: {
70
+ query: string;
71
+ isOpen: boolean;
72
+ isAllowed: boolean;
73
+ currentHandler?: TypeAheadHandler;
74
+ };
75
+ actions: {
76
+ isOpen: (editorState: EditorState) => boolean;
77
+ isAllowed: (editorState: EditorState) => boolean;
78
+ insert: (props: InsertTypeAheadItemProps) => boolean;
79
+ findHandlerByTrigger: (trigger: string) => TypeAheadHandler | null;
80
+ open: (props: OpenTypeAheadProps) => boolean;
81
+ close: (props: CloseTypeAheadProps) => boolean;
82
+ openAtTransaction: (props: OpenTypeAheadProps) => (tr: Transaction) => boolean;
83
+ };
84
+ }
86
85
  >;
87
86
 
88
87
  // @public
@@ -90,26 +89,26 @@ export const typeAheadPlugin: TypeAheadPlugin;
90
89
 
91
90
  // @public (undocumented)
92
91
  export type TypeAheadPluginOptions = {
93
- isMobile?: boolean;
92
+ isMobile?: boolean;
94
93
  };
95
94
 
96
95
  // @public (undocumented)
97
96
  export type TypeAheadPluginState = {
98
- decorationSet: DecorationSet;
99
- decorationElement: HTMLElement | null;
100
- typeAheadHandlers: Array<TypeAheadHandler>;
101
- query: string;
102
- items: Array<TypeAheadItem>;
103
- triggerHandler?: TypeAheadHandler;
104
- selectedIndex: number;
105
- stats: TypeAheadStatsSerializable | null;
106
- inputMethod: TypeAheadInputMethod | null;
97
+ decorationSet: DecorationSet;
98
+ decorationElement: HTMLElement | null;
99
+ typeAheadHandlers: Array<TypeAheadHandler>;
100
+ query: string;
101
+ items: Array<TypeAheadItem>;
102
+ triggerHandler?: TypeAheadHandler;
103
+ selectedIndex: number;
104
+ stats: TypeAheadStatsSerializable | null;
105
+ inputMethod: TypeAheadInputMethod | null;
107
106
  };
108
107
 
109
108
  // @public (undocumented)
110
109
  interface TypeAheadStatsSerializable extends TypeAheadStats {
111
- // (undocumented)
112
- serialize: () => TypeAheadStats;
110
+ // (undocumented)
111
+ serialize: () => TypeAheadStats;
113
112
  }
114
113
 
115
114
  // (No @packageDocumentation comment for this package)
@@ -123,9 +122,9 @@ interface TypeAheadStatsSerializable extends TypeAheadStats {
123
122
 
124
123
  ```json
125
124
  {
126
- "react": "^16.8.0",
127
- "react-dom": "^16.8.0",
128
- "react-intl-next": "npm:react-intl@^5.18.1"
125
+ "react": "^16.8.0",
126
+ "react-dom": "^16.8.0",
127
+ "react-intl-next": "npm:react-intl@^5.18.1"
129
128
  }
130
129
  ```
131
130