@atlaskit/editor-plugin-status 1.2.2 → 1.2.4

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
- '@typescript-eslint/no-duplicate-imports': 'error',
4
- '@typescript-eslint/no-explicit-any': 'error',
5
- },
2
+ rules: {
3
+ '@typescript-eslint/no-duplicate-imports': 'error',
4
+ '@typescript-eslint/no-explicit-any': 'error',
5
+ },
6
6
  };
package/CHANGELOG.md CHANGED
@@ -1,344 +1,360 @@
1
1
  # @atlaskit/editor-plugin-status
2
2
 
3
+ ## 1.2.4
4
+
5
+ ### Patch Changes
6
+
7
+ - [#110390](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/110390)
8
+ [`bead123202369`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/bead123202369) -
9
+ [ux] [ED-23642] Reordering the typeahead so that date, status, code block & info panel are above
10
+ the fold (in the top 5 results)
11
+ - Updated dependencies
12
+
13
+ ## 1.2.3
14
+
15
+ ### Patch Changes
16
+
17
+ - Updated dependencies
18
+
3
19
  ## 1.2.2
4
20
 
5
21
  ### Patch Changes
6
22
 
7
- - [#102478](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/102478)
8
- [`3378951608b0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/3378951608b0) -
9
- [ED-23332] Update adf-schema package to 36.10.1
10
- - Updated dependencies
23
+ - [#102478](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/102478)
24
+ [`3378951608b0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/3378951608b0) -
25
+ [ED-23332] Update adf-schema package to 36.10.1
26
+ - Updated dependencies
11
27
 
12
28
  ## 1.2.1
13
29
 
14
30
  ### Patch Changes
15
31
 
16
- - [#101524](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/101524)
17
- [`4821570088e6`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/4821570088e6) -
18
- ED-23362 Bump ADF schema to version 36.8.1 and add support for adf validation and transformation
32
+ - [#101524](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/101524)
33
+ [`4821570088e6`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/4821570088e6) -
34
+ ED-23362 Bump ADF schema to version 36.8.1 and add support for adf validation and transformation
19
35
 
20
36
  ## 1.2.0
21
37
 
22
38
  ### Minor Changes
23
39
 
24
- - [#99579](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/99579)
25
- [`f222af5687e9`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/f222af5687e9) -
26
- Bump adf-schema to 36.3.0 and adf-schema-json to 1.14.0
40
+ - [#99579](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/99579)
41
+ [`f222af5687e9`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/f222af5687e9) -
42
+ Bump adf-schema to 36.3.0 and adf-schema-json to 1.14.0
27
43
 
28
44
  ### Patch Changes
29
45
 
30
- - Updated dependencies
46
+ - Updated dependencies
31
47
 
32
48
  ## 1.1.7
33
49
 
34
50
  ### Patch Changes
35
51
 
36
- - Updated dependencies
52
+ - Updated dependencies
37
53
 
38
54
  ## 1.1.6
39
55
 
40
56
  ### Patch Changes
41
57
 
42
- - [#97599](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/97599)
43
- [`32c3130b08fe`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/32c3130b08fe) -
44
- [ED-22282] Bump adf-schema to 36.1.0
58
+ - [#97599](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/97599)
59
+ [`32c3130b08fe`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/32c3130b08fe) -
60
+ [ED-22282] Bump adf-schema to 36.1.0
45
61
 
46
62
  ## 1.1.5
47
63
 
48
64
  ### Patch Changes
49
65
 
50
- - [#97698](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/97698)
51
- [`1c7b378c0d3b`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/1c7b378c0d3b) -
52
- [HOT-108999] We had an incident where the cursor jumps back a character in table headers for any
53
- language triggering composition on an empty line.This was fixed in a patch bump of
54
- prosemirror-view. https://github.com/ProseMirror/prosemirror-view/compare/1.33.4...1.33.5
66
+ - [#97698](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/97698)
67
+ [`1c7b378c0d3b`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/1c7b378c0d3b) -
68
+ [HOT-108999] We had an incident where the cursor jumps back a character in table headers for any
69
+ language triggering composition on an empty line.This was fixed in a patch bump of
70
+ prosemirror-view. https://github.com/ProseMirror/prosemirror-view/compare/1.33.4...1.33.5
55
71
 
56
72
  ## 1.1.4
57
73
 
58
74
  ### Patch Changes
59
75
 
60
- - Updated dependencies
76
+ - Updated dependencies
61
77
 
62
78
  ## 1.1.3
63
79
 
64
80
  ### Patch Changes
65
81
 
66
- - [#96237](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/96237)
67
- [`0401e7b5a88e`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/0401e7b5a88e) -
68
- [ED-23102] Bump ADF schema to version 35.12.2
82
+ - [#96237](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/96237)
83
+ [`0401e7b5a88e`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/0401e7b5a88e) -
84
+ [ED-23102] Bump ADF schema to version 35.12.2
69
85
 
70
86
  ## 1.1.2
71
87
 
72
88
  ### Patch Changes
73
89
 
74
- - [#94901](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/94901)
75
- [`da964fcdc828`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/da964fcdc828) -
76
- [ED-23097] Bump ADF schema to version 35.12.1
90
+ - [#94901](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/94901)
91
+ [`da964fcdc828`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/da964fcdc828) -
92
+ [ED-23097] Bump ADF schema to version 35.12.1
77
93
 
78
94
  ## 1.1.1
79
95
 
80
96
  ### Patch Changes
81
97
 
82
- - [#93689](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/93689)
83
- [`5ba5d2b4a9ac`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/5ba5d2b4a9ac) -
84
- Updating adf-schema version to 35.10.0
98
+ - [#93689](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/93689)
99
+ [`5ba5d2b4a9ac`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/5ba5d2b4a9ac) -
100
+ Updating adf-schema version to 35.10.0
85
101
 
86
102
  ## 1.1.0
87
103
 
88
104
  ### Minor Changes
89
105
 
90
- - [#91934](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/91934)
91
- [`b76a78c6a199`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/b76a78c6a199) -
92
- bumped editor-prosemirror version to 4.0.0
106
+ - [#91934](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/91934)
107
+ [`b76a78c6a199`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/b76a78c6a199) -
108
+ bumped editor-prosemirror version to 4.0.0
93
109
 
94
110
  ### Patch Changes
95
111
 
96
- - Updated dependencies
112
+ - Updated dependencies
97
113
 
98
114
  ## 1.0.9
99
115
 
100
116
  ### Patch Changes
101
117
 
102
- - [#92426](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/92426)
103
- [`32c76c7c225c`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/32c76c7c225c) -
104
- Bump adf-schema to 35.9.2 to support table alignment options
118
+ - [#92426](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/92426)
119
+ [`32c76c7c225c`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/32c76c7c225c) -
120
+ Bump adf-schema to 35.9.2 to support table alignment options
105
121
 
106
122
  ## 1.0.8
107
123
 
108
124
  ### Patch Changes
109
125
 
110
- - [#91106](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/91106)
111
- [`b6ffa30186b9`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/b6ffa30186b9) -
112
- Bump ADF-schema package to version 35.0.0
113
- - Updated dependencies
126
+ - [#91106](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/91106)
127
+ [`b6ffa30186b9`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/b6ffa30186b9) -
128
+ Bump ADF-schema package to version 35.0.0
129
+ - Updated dependencies
114
130
 
115
131
  ## 1.0.7
116
132
 
117
133
  ### Patch Changes
118
134
 
119
- - [#89995](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/89995)
120
- [`997eaf79583d`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/997eaf79583d) -
121
- Disable status popup when Editor not in editable mode
135
+ - [#89995](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/89995)
136
+ [`997eaf79583d`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/997eaf79583d) -
137
+ Disable status popup when Editor not in editable mode
122
138
 
123
139
  ## 1.0.6
124
140
 
125
141
  ### Patch Changes
126
142
 
127
- - [#86724](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/86724)
128
- [`718a9aa2424d`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/718a9aa2424d) -
129
- [ED-22607] Remove references to maxFrames for multi bodied extensions and bump adf-schema from
130
- 35.7.0 to 35.8.0
143
+ - [#86724](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/86724)
144
+ [`718a9aa2424d`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/718a9aa2424d) -
145
+ [ED-22607] Remove references to maxFrames for multi bodied extensions and bump adf-schema from
146
+ 35.7.0 to 35.8.0
131
147
 
132
148
  ## 1.0.5
133
149
 
134
150
  ### Patch Changes
135
151
 
136
- - [#81777](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/81777)
137
- [`c6d7a5378751`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/c6d7a5378751) -
138
- Bump adf-schema to 35.7.0
152
+ - [#81777](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/81777)
153
+ [`c6d7a5378751`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/c6d7a5378751) -
154
+ Bump adf-schema to 35.7.0
139
155
 
140
156
  ## 1.0.4
141
157
 
142
158
  ### Patch Changes
143
159
 
144
- - [#83116](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/83116)
145
- [`8d4e99057fe0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8d4e99057fe0) -
146
- Upgrade Typescript from `4.9.5` to `5.4.2`
160
+ - [#83116](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/83116)
161
+ [`8d4e99057fe0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8d4e99057fe0) -
162
+ Upgrade Typescript from `4.9.5` to `5.4.2`
147
163
 
148
164
  ## 1.0.3
149
165
 
150
166
  ### Patch Changes
151
167
 
152
- - [#80679](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/80679)
153
- [`104eb9443b7e`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/104eb9443b7e) -
154
- ED-22553 Updating adf-schema version to 35.6.0
168
+ - [#80679](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/80679)
169
+ [`104eb9443b7e`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/104eb9443b7e) -
170
+ ED-22553 Updating adf-schema version to 35.6.0
155
171
 
156
172
  ## 1.0.2
157
173
 
158
174
  ### Patch Changes
159
175
 
160
- - [#78224](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/78224)
161
- [`6b4c9dd4ad34`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/6b4c9dd4ad34) -
162
- ED-22219: adf-schema updated to 35.5.2
163
- - Updated dependencies
176
+ - [#78224](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/78224)
177
+ [`6b4c9dd4ad34`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/6b4c9dd4ad34) -
178
+ ED-22219: adf-schema updated to 35.5.2
179
+ - Updated dependencies
164
180
 
165
181
  ## 1.0.1
166
182
 
167
183
  ### Patch Changes
168
184
 
169
- - Updated dependencies
185
+ - Updated dependencies
170
186
 
171
187
  ## 1.0.0
172
188
 
173
189
  ### Major Changes
174
190
 
175
- - [#72386](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/72386)
176
- [`0c52b0be40c1`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/0c52b0be40c1) -
177
- This changeset exists to bump all editor plugins that currently don't have a major version. This
178
- is to address an issue with Jira plugin consumption.
191
+ - [#72386](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/72386)
192
+ [`0c52b0be40c1`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/0c52b0be40c1) -
193
+ This changeset exists to bump all editor plugins that currently don't have a major version. This
194
+ is to address an issue with Jira plugin consumption.
179
195
 
180
196
  ### Patch Changes
181
197
 
182
- - Updated dependencies
198
+ - Updated dependencies
183
199
 
184
200
  ## 0.3.2
185
201
 
186
202
  ### Patch Changes
187
203
 
188
- - [#68572](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/68572)
189
- [`15d407fe5143`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/15d407fe5143) -
190
- Upgrading @atlaskit/editor-prosemirror dependency
204
+ - [#68572](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/68572)
205
+ [`15d407fe5143`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/15d407fe5143) -
206
+ Upgrading @atlaskit/editor-prosemirror dependency
191
207
 
192
208
  ## 0.3.1
193
209
 
194
210
  ### Patch Changes
195
211
 
196
- - [#70152](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/70152)
197
- [`53ed3673df28`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/53ed3673df28) -
198
- Updating adf-schema version to 35.5.1
212
+ - [#70152](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/70152)
213
+ [`53ed3673df28`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/53ed3673df28) -
214
+ Updating adf-schema version to 35.5.1
199
215
 
200
216
  ## 0.3.0
201
217
 
202
218
  ### Minor Changes
203
219
 
204
- - [#68790](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/68790)
205
- [`c6d8affc52d1`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/c6d8affc52d1) -
206
- Support maybeAdd plugins in usePreset. Add typing support for universal preset.
220
+ - [#68790](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/68790)
221
+ [`c6d8affc52d1`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/c6d8affc52d1) -
222
+ Support maybeAdd plugins in usePreset. Add typing support for universal preset.
207
223
 
208
- Now when using the editor API with the universal preset
224
+ Now when using the editor API with the universal preset
209
225
 
210
226
  ### Patch Changes
211
227
 
212
- - Updated dependencies
228
+ - Updated dependencies
213
229
 
214
230
  ## 0.2.14
215
231
 
216
232
  ### Patch Changes
217
233
 
218
- - Updated dependencies
234
+ - Updated dependencies
219
235
 
220
236
  ## 0.2.13
221
237
 
222
238
  ### Patch Changes
223
239
 
224
- - [#67814](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/67814)
225
- [`b9ae9606c2e0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/b9ae9606c2e0) -
226
- Migrate status and alignment plugins to use useSharedPluginState rather than WithPluginState
240
+ - [#67814](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/67814)
241
+ [`b9ae9606c2e0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/b9ae9606c2e0) -
242
+ Migrate status and alignment plugins to use useSharedPluginState rather than WithPluginState
227
243
 
228
244
  ## 0.2.12
229
245
 
230
246
  ### Patch Changes
231
247
 
232
- - [#65802](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/65802)
233
- [`438ead060875`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/438ead060875) -
234
- Ensure all editor plugins are marked as singletons
248
+ - [#65802](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/65802)
249
+ [`438ead060875`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/438ead060875) -
250
+ Ensure all editor plugins are marked as singletons
235
251
 
236
252
  ## 0.2.11
237
253
 
238
254
  ### Patch Changes
239
255
 
240
- - [#65031](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/65031)
241
- [`a00094111b5a`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/a00094111b5a) -
242
- ED-21609 Update adf-schema to 35.3.0
243
- - Updated dependencies
256
+ - [#65031](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/65031)
257
+ [`a00094111b5a`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/a00094111b5a) -
258
+ ED-21609 Update adf-schema to 35.3.0
259
+ - Updated dependencies
244
260
 
245
261
  ## 0.2.10
246
262
 
247
263
  ### Patch Changes
248
264
 
249
- - [#62165](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/62165)
250
- [`b44ac0968d79`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/b44ac0968d79) -
251
- [ED-21562] Bump @atlaskit/adf-schema to 35.2.0 for border mark update
265
+ - [#62165](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/62165)
266
+ [`b44ac0968d79`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/b44ac0968d79) -
267
+ [ED-21562] Bump @atlaskit/adf-schema to 35.2.0 for border mark update
252
268
 
253
269
  ## 0.2.9
254
270
 
255
271
  ### Patch Changes
256
272
 
257
- - [#60808](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/60808)
258
- [`f509a21be124`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/f509a21be124) -
259
- ED-21506: @atlaskit/adf-schema upgraded to 35.1.1 to support renderer for MBE
273
+ - [#60808](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/60808)
274
+ [`f509a21be124`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/f509a21be124) -
275
+ ED-21506: @atlaskit/adf-schema upgraded to 35.1.1 to support renderer for MBE
260
276
 
261
277
  ## 0.2.8
262
278
 
263
279
  ### Patch Changes
264
280
 
265
- - [#58246](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/58246)
266
- [`a381b2599716`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/a381b2599716) -
267
- ED-21371 Update adf-schema to 35.1.0
281
+ - [#58246](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/58246)
282
+ [`a381b2599716`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/a381b2599716) -
283
+ ED-21371 Update adf-schema to 35.1.0
268
284
 
269
285
  ## 0.2.7
270
286
 
271
287
  ### Patch Changes
272
288
 
273
- - Updated dependencies
289
+ - Updated dependencies
274
290
 
275
291
  ## 0.2.6
276
292
 
277
293
  ### Patch Changes
278
294
 
279
- - [#59147](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/59147)
280
- [`f12e489f23b0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/f12e489f23b0) -
281
- Re-build and deploy packages to NPM to resolve React/Compiled not found error (HOT-106483).
295
+ - [#59147](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/59147)
296
+ [`f12e489f23b0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/f12e489f23b0) -
297
+ Re-build and deploy packages to NPM to resolve React/Compiled not found error (HOT-106483).
282
298
 
283
299
  ## 0.2.5
284
300
 
285
301
  ### Patch Changes
286
302
 
287
- - [#58763](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/58763)
288
- [`0fdbd64522bf`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/0fdbd64522bf) -
289
- update ADF schema
303
+ - [#58763](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/58763)
304
+ [`0fdbd64522bf`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/0fdbd64522bf) -
305
+ update ADF schema
290
306
 
291
307
  ## 0.2.4
292
308
 
293
309
  ### Patch Changes
294
310
 
295
- - [#56790](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/56790)
296
- [`ff577a7969d4`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ff577a7969d4) -
297
- ED-21266: Updated @atlaskit/adf-schema to 34.0.1
311
+ - [#56790](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/56790)
312
+ [`ff577a7969d4`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ff577a7969d4) -
313
+ ED-21266: Updated @atlaskit/adf-schema to 34.0.1
298
314
 
299
315
  ## 0.2.3
300
316
 
301
317
  ### Patch Changes
302
318
 
303
- - [#43417](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/43417)
304
- [`3f3c17f0273`](https://bitbucket.org/atlassian/atlassian-frontend/commits/3f3c17f0273) -
305
- ED-20971 Upgrade adf-schema package to ^34.0.0
319
+ - [#43417](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/43417)
320
+ [`3f3c17f0273`](https://bitbucket.org/atlassian/atlassian-frontend/commits/3f3c17f0273) - ED-20971
321
+ Upgrade adf-schema package to ^34.0.0
306
322
 
307
323
  ## 0.2.2
308
324
 
309
325
  ### Patch Changes
310
326
 
311
- - [#43379](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/43379)
312
- [`482c025520d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/482c025520d) -
313
- ED-20763 Upgrade ADF schema version to 33.2.3 for MBE nodes.
314
- - Updated dependencies
327
+ - [#43379](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/43379)
328
+ [`482c025520d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/482c025520d) - ED-20763
329
+ Upgrade ADF schema version to 33.2.3 for MBE nodes.
330
+ - Updated dependencies
315
331
 
316
332
  ## 0.2.1
317
333
 
318
334
  ### Patch Changes
319
335
 
320
- - [#42564](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/42564)
321
- [`7139d6b0a64`](https://bitbucket.org/atlassian/atlassian-frontend/commits/7139d6b0a64) -
322
- ED-20512 Fixed issue with adding status node inside a codeblock
336
+ - [#42564](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/42564)
337
+ [`7139d6b0a64`](https://bitbucket.org/atlassian/atlassian-frontend/commits/7139d6b0a64) - ED-20512
338
+ Fixed issue with adding status node inside a codeblock
323
339
 
324
340
  ## 0.2.0
325
341
 
326
342
  ### Minor Changes
327
343
 
328
- - [#42325](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/42325)
329
- [`58f1fd91d09`](https://bitbucket.org/atlassian/atlassian-frontend/commits/58f1fd91d09) -
330
- ED-20512 Set Focus on status input field when tab is pressed
344
+ - [#42325](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/42325)
345
+ [`58f1fd91d09`](https://bitbucket.org/atlassian/atlassian-frontend/commits/58f1fd91d09) - ED-20512
346
+ Set Focus on status input field when tab is pressed
331
347
 
332
348
  ## 0.1.2
333
349
 
334
350
  ### Patch Changes
335
351
 
336
- - Updated dependencies
352
+ - Updated dependencies
337
353
 
338
354
  ## 0.1.1
339
355
 
340
356
  ### Patch Changes
341
357
 
342
- - [#41593](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/41593)
343
- [`39329b628c8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/39329b628c8) -
344
- NO-ISSUE Added editor-plugin-analytics as a dependency.
358
+ - [#41593](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/41593)
359
+ [`39329b628c8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/39329b628c8) - NO-ISSUE
360
+ Added editor-plugin-analytics as a dependency.
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.
@@ -37,7 +37,9 @@ var StatusContainerView = function StatusContainerView(props) {
37
37
  }, (0, _react2.jsx)(_element.Status, {
38
38
  text: statusText,
39
39
  color: color,
40
- localId: localId,
40
+ localId: localId
41
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
42
+ ,
41
43
  style: style,
42
44
  onClick: handleClick
43
45
  }));
@@ -53,7 +55,9 @@ var StatusNodeView = exports.StatusNodeView = function StatusNodeView(props) {
53
55
  return (0, _react2.jsx)(IntlStatusContainerView, {
54
56
  view: view,
55
57
  text: text,
56
- color: color,
58
+ color: color
59
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
60
+ ,
57
61
  style: style,
58
62
  localId: localId
59
63
  });
@@ -79,12 +79,13 @@ var decorateWithPluginOptions = function decorateWithPluginOptions(plugin, optio
79
79
  }
80
80
  plugin.pluginsOptions = {
81
81
  quickInsert: function quickInsert(_ref3) {
82
+ var _options$getEditorFea;
82
83
  var formatMessage = _ref3.formatMessage;
83
84
  return [{
84
85
  id: 'status',
85
86
  title: formatMessage(_messages.toolbarInsertBlockMessages.status),
86
87
  description: formatMessage(_messages.toolbarInsertBlockMessages.statusDescription),
87
- priority: 700,
88
+ priority: options !== null && options !== void 0 && (_options$getEditorFea = options.getEditorFeatureFlags) !== null && _options$getEditorFea !== void 0 && _options$getEditorFea.call(options).platformEditorTypeaheadImprovedRelevancy ? 300 : 700,
88
89
  keywords: ['lozenge'],
89
90
  icon: function icon() {
90
91
  return /*#__PURE__*/_react.default.createElement(_quickInsert.IconStatus, null);
@@ -40,12 +40,14 @@ var closingMethods = exports.closingMethods = /*#__PURE__*/function (closingMeth
40
40
  var pickerContainerStyles = (0, _react2.css)({
41
41
  background: "var(--ds-surface-overlay, ".concat(_colors.N0, ")"),
42
42
  padding: "var(--ds-space-100, 8px)".concat(" 0"),
43
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
43
44
  borderRadius: "".concat((0, _constants.borderRadius)(), "px"),
44
45
  boxShadow: "var(--ds-shadow-overlay, 0 0 1px rgba(9, 30, 66, 0.31), 0 4px 8px -2px rgba(9, 30, 66, 0.25))",
46
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
45
47
  ':focus': {
46
48
  outline: 'none'
47
49
  },
48
- // eslint-disable-next-line @atlaskit/design-system/no-nested-styles
50
+ // eslint-disable-next-line @atlaskit/design-system/no-nested-styles, @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
49
51
  input: {
50
52
  textTransform: 'uppercase'
51
53
  }
@@ -87,8 +89,8 @@ var StatusPickerWithoutAnalytcs = exports.StatusPickerWithoutAnalytcs = /*#__PUR
87
89
  event.preventDefault();
88
90
  }
89
91
  /* After the user presses shift + tab the color-palette component updates tab index for the first color to be 0.
90
- To correctly set focus to the input field instead of the first color button we need to set focus manually
91
- */
92
+ To correctly set focus to the input field instead of the first color button we need to set focus manually
93
+ */
92
94
  if (isButtonFocussed) {
93
95
  inputField === null || inputField === void 0 || inputField.focus();
94
96
  event.preventDefault();
@@ -33,7 +33,9 @@ const StatusContainerView = props => {
33
33
  }, jsx(Status, {
34
34
  text: statusText,
35
35
  color: color,
36
- localId: localId,
36
+ localId: localId
37
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
38
+ ,
37
39
  style: style,
38
40
  onClick: handleClick
39
41
  }));
@@ -52,7 +54,9 @@ export const StatusNodeView = props => {
52
54
  return jsx(IntlStatusContainerView, {
53
55
  view: view,
54
56
  text: text,
55
- color: color,
57
+ color: color
58
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
59
+ ,
56
60
  style: style,
57
61
  localId: localId
58
62
  });
@@ -73,28 +73,31 @@ const decorateWithPluginOptions = (plugin, options, api) => {
73
73
  plugin.pluginsOptions = {
74
74
  quickInsert: ({
75
75
  formatMessage
76
- }) => [{
77
- id: 'status',
78
- title: formatMessage(messages.status),
79
- description: formatMessage(messages.statusDescription),
80
- priority: 700,
81
- keywords: ['lozenge'],
82
- icon: () => /*#__PURE__*/React.createElement(IconStatus, null),
83
- action(insert, state) {
84
- var _api$analytics2;
85
- const tr = createStatus(state);
86
- api === null || api === void 0 ? void 0 : (_api$analytics2 = api.analytics) === null || _api$analytics2 === void 0 ? void 0 : _api$analytics2.actions.attachAnalyticsEvent({
87
- action: ACTION.INSERTED,
88
- actionSubject: ACTION_SUBJECT.DOCUMENT,
89
- actionSubjectId: ACTION_SUBJECT_ID.STATUS,
90
- attributes: {
91
- inputMethod: INPUT_METHOD.QUICK_INSERT
92
- },
93
- eventType: EVENT_TYPE.TRACK
94
- })(tr);
95
- return tr;
96
- }
97
- }]
76
+ }) => {
77
+ var _options$getEditorFea;
78
+ return [{
79
+ id: 'status',
80
+ title: formatMessage(messages.status),
81
+ description: formatMessage(messages.statusDescription),
82
+ priority: options !== null && options !== void 0 && (_options$getEditorFea = options.getEditorFeatureFlags) !== null && _options$getEditorFea !== void 0 && _options$getEditorFea.call(options).platformEditorTypeaheadImprovedRelevancy ? 300 : 700,
83
+ keywords: ['lozenge'],
84
+ icon: () => /*#__PURE__*/React.createElement(IconStatus, null),
85
+ action(insert, state) {
86
+ var _api$analytics2;
87
+ const tr = createStatus(state);
88
+ api === null || api === void 0 ? void 0 : (_api$analytics2 = api.analytics) === null || _api$analytics2 === void 0 ? void 0 : _api$analytics2.actions.attachAnalyticsEvent({
89
+ action: ACTION.INSERTED,
90
+ actionSubject: ACTION_SUBJECT.DOCUMENT,
91
+ actionSubjectId: ACTION_SUBJECT_ID.STATUS,
92
+ attributes: {
93
+ inputMethod: INPUT_METHOD.QUICK_INSERT
94
+ },
95
+ eventType: EVENT_TYPE.TRACK
96
+ })(tr);
97
+ return tr;
98
+ }
99
+ }];
100
+ }
98
101
  };
99
102
  return plugin;
100
103
  };
@@ -27,12 +27,14 @@ export let closingMethods = /*#__PURE__*/function (closingMethods) {
27
27
  const pickerContainerStyles = css({
28
28
  background: `var(--ds-surface-overlay, ${N0})`,
29
29
  padding: `${"var(--ds-space-100, 8px)"} 0`,
30
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
30
31
  borderRadius: `${borderRadius()}px`,
31
32
  boxShadow: "var(--ds-shadow-overlay, 0 0 1px rgba(9, 30, 66, 0.31), 0 4px 8px -2px rgba(9, 30, 66, 0.25))",
33
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
32
34
  ':focus': {
33
35
  outline: 'none'
34
36
  },
35
- // eslint-disable-next-line @atlaskit/design-system/no-nested-styles
37
+ // eslint-disable-next-line @atlaskit/design-system/no-nested-styles, @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
36
38
  input: {
37
39
  textTransform: 'uppercase'
38
40
  }
@@ -70,8 +72,8 @@ export class StatusPickerWithoutAnalytcs extends React.Component {
70
72
  event.preventDefault();
71
73
  }
72
74
  /* After the user presses shift + tab the color-palette component updates tab index for the first color to be 0.
73
- To correctly set focus to the input field instead of the first color button we need to set focus manually
74
- */
75
+ To correctly set focus to the input field instead of the first color button we need to set focus manually
76
+ */
75
77
  if (isButtonFocussed) {
76
78
  inputField === null || inputField === void 0 ? void 0 : inputField.focus();
77
79
  event.preventDefault();
@@ -29,7 +29,9 @@ var StatusContainerView = function StatusContainerView(props) {
29
29
  }, jsx(Status, {
30
30
  text: statusText,
31
31
  color: color,
32
- localId: localId,
32
+ localId: localId
33
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
34
+ ,
33
35
  style: style,
34
36
  onClick: handleClick
35
37
  }));
@@ -45,7 +47,9 @@ export var StatusNodeView = function StatusNodeView(props) {
45
47
  return jsx(IntlStatusContainerView, {
46
48
  view: view,
47
49
  text: text,
48
- color: color,
50
+ color: color
51
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
52
+ ,
49
53
  style: style,
50
54
  localId: localId
51
55
  });
@@ -72,12 +72,13 @@ var decorateWithPluginOptions = function decorateWithPluginOptions(plugin, optio
72
72
  }
73
73
  plugin.pluginsOptions = {
74
74
  quickInsert: function quickInsert(_ref3) {
75
+ var _options$getEditorFea;
75
76
  var formatMessage = _ref3.formatMessage;
76
77
  return [{
77
78
  id: 'status',
78
79
  title: formatMessage(messages.status),
79
80
  description: formatMessage(messages.statusDescription),
80
- priority: 700,
81
+ priority: options !== null && options !== void 0 && (_options$getEditorFea = options.getEditorFeatureFlags) !== null && _options$getEditorFea !== void 0 && _options$getEditorFea.call(options).platformEditorTypeaheadImprovedRelevancy ? 300 : 700,
81
82
  keywords: ['lozenge'],
82
83
  icon: function icon() {
83
84
  return /*#__PURE__*/React.createElement(IconStatus, null);
@@ -35,12 +35,14 @@ export var closingMethods = /*#__PURE__*/function (closingMethods) {
35
35
  var pickerContainerStyles = css({
36
36
  background: "var(--ds-surface-overlay, ".concat(N0, ")"),
37
37
  padding: "var(--ds-space-100, 8px)".concat(" 0"),
38
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
38
39
  borderRadius: "".concat(borderRadius(), "px"),
39
40
  boxShadow: "var(--ds-shadow-overlay, 0 0 1px rgba(9, 30, 66, 0.31), 0 4px 8px -2px rgba(9, 30, 66, 0.25))",
41
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
40
42
  ':focus': {
41
43
  outline: 'none'
42
44
  },
43
- // eslint-disable-next-line @atlaskit/design-system/no-nested-styles
45
+ // eslint-disable-next-line @atlaskit/design-system/no-nested-styles, @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
44
46
  input: {
45
47
  textTransform: 'uppercase'
46
48
  }
@@ -82,8 +84,8 @@ export var StatusPickerWithoutAnalytcs = /*#__PURE__*/function (_React$Component
82
84
  event.preventDefault();
83
85
  }
84
86
  /* After the user presses shift + tab the color-palette component updates tab index for the first color to be 0.
85
- To correctly set focus to the input field instead of the first color button we need to set focus manually
86
- */
87
+ To correctly set focus to the input field instead of the first color button we need to set focus manually
88
+ */
87
89
  if (isButtonFocussed) {
88
90
  inputField === null || inputField === void 0 || inputField.focus();
89
91
  event.preventDefault();
@@ -1,4 +1,4 @@
1
1
  export { statusPlugin } from './plugin';
2
2
  export type { StatusPlugin } from './plugin';
3
- export type { StatusState, StatusType, StatusPluginOptions, ClosingPayload, } from './types';
3
+ export type { StatusState, StatusType, StatusPluginOptions, ClosingPayload } from './types';
4
4
  export type { UpdateStatus } from './actions';
@@ -1,3 +1,4 @@
1
+ import type { GetEditorFeatureFlags } from '@atlaskit/editor-common/types';
1
2
  import type { Color as ColorType } from '@atlaskit/status/element';
2
3
  import type { closingMethods } from './ui/statusPicker';
3
4
  export type StatusType = {
@@ -13,6 +14,7 @@ export type StatusState = {
13
14
  export interface StatusPluginOptions {
14
15
  menuDisabled: boolean;
15
16
  allowZeroWidthSpaceAfter?: boolean;
17
+ getEditorFeatureFlags?: GetEditorFeatureFlags;
16
18
  }
17
19
  export type ClosingPayload = {
18
20
  closingMethod: closingMethods;
@@ -1,4 +1,4 @@
1
1
  export { statusPlugin } from './plugin';
2
2
  export type { StatusPlugin } from './plugin';
3
- export type { StatusState, StatusType, StatusPluginOptions, ClosingPayload, } from './types';
3
+ export type { StatusState, StatusType, StatusPluginOptions, ClosingPayload } from './types';
4
4
  export type { UpdateStatus } from './actions';
@@ -1,3 +1,4 @@
1
+ import type { GetEditorFeatureFlags } from '@atlaskit/editor-common/types';
1
2
  import type { Color as ColorType } from '@atlaskit/status/element';
2
3
  import type { closingMethods } from './ui/statusPicker';
3
4
  export type StatusType = {
@@ -13,6 +14,7 @@ export type StatusState = {
13
14
  export interface StatusPluginOptions {
14
15
  menuDisabled: boolean;
15
16
  allowZeroWidthSpaceAfter?: boolean;
17
+ getEditorFeatureFlags?: GetEditorFeatureFlags;
16
18
  }
17
19
  export type ClosingPayload = {
18
20
  closingMethod: closingMethods;
package/package.json CHANGED
@@ -1,96 +1,74 @@
1
1
  {
2
- "name": "@atlaskit/editor-plugin-status",
3
- "version": "1.2.2",
4
- "description": "Status plugin for @atlaskit/editor-core",
5
- "author": "Atlassian Pty Ltd",
6
- "license": "Apache-2.0",
7
- "publishConfig": {
8
- "registry": "https://registry.npmjs.org/"
9
- },
10
- "atlassian": {
11
- "team": "Editor: Scarlet",
12
- "singleton": true,
13
- "inPublicMirror": false,
14
- "releaseModel": "continuous",
15
- "runReact18": false
16
- },
17
- "repository": "https://bitbucket.org/atlassian/atlassian-frontend-mirror",
18
- "main": "dist/cjs/index.js",
19
- "module": "dist/esm/index.js",
20
- "module:es2019": "dist/es2019/index.js",
21
- "types": "dist/types/index.d.ts",
22
- "typesVersions": {
23
- ">=4.5 <4.9": {
24
- "*": [
25
- "dist/types-ts4.5/*",
26
- "dist/types-ts4.5/index.d.ts"
27
- ]
28
- }
29
- },
30
- "sideEffects": false,
31
- "atlaskit:src": "src/index.ts",
32
- "af:exports": {
33
- ".": "./src/index.ts"
34
- },
35
- "dependencies": {
36
- "@atlaskit/adf-schema": "^36.10.7",
37
- "@atlaskit/analytics-next": "^9.3.0",
38
- "@atlaskit/editor-common": "^81.0.0",
39
- "@atlaskit/editor-plugin-analytics": "^1.2.0",
40
- "@atlaskit/editor-prosemirror": "4.0.1",
41
- "@atlaskit/editor-shared-styles": "^2.11.0",
42
- "@atlaskit/status": "^1.4.0",
43
- "@atlaskit/theme": "^12.8.0",
44
- "@atlaskit/tokens": "^1.49.0",
45
- "@babel/runtime": "^7.0.0",
46
- "@emotion/react": "^11.7.1"
47
- },
48
- "peerDependencies": {
49
- "react": "^16.8.0",
50
- "react-intl-next": "npm:react-intl@^5.18.1"
51
- },
52
- "devDependencies": {
53
- "@af/visual-regression": "*",
54
- "@atlaskit/ssr": "*",
55
- "@atlaskit/visual-regression": "*",
56
- "@atlassian/atlassian-frontend-prettier-config-1.0.0": "npm:@atlassian/atlassian-frontend-prettier-config@1.0.0",
57
- "@testing-library/react": "^12.1.5",
58
- "raf-stub": "^2.0.1",
59
- "react-dom": "^16.8.0",
60
- "typescript": "~5.4.2"
61
- },
62
- "techstack": {
63
- "@atlassian/frontend": {
64
- "import-structure": [
65
- "atlassian-conventions"
66
- ],
67
- "circular-dependencies": [
68
- "file-and-folder-level"
69
- ]
70
- },
71
- "@repo/internal": {
72
- "dom-events": "use-bind-event-listener",
73
- "analytics": [
74
- "analytics-next"
75
- ],
76
- "design-tokens": [
77
- "color"
78
- ],
79
- "theming": [
80
- "react-context"
81
- ],
82
- "ui-components": [
83
- "lite-mode"
84
- ],
85
- "deprecation": "no-deprecated-imports",
86
- "styling": [
87
- "emotion",
88
- "emotion"
89
- ],
90
- "imports": [
91
- "import-no-extraneous-disable-for-examples-and-docs"
92
- ]
93
- }
94
- },
95
- "prettier": "@atlassian/atlassian-frontend-prettier-config-1.0.0"
96
- }
2
+ "name": "@atlaskit/editor-plugin-status",
3
+ "version": "1.2.4",
4
+ "description": "Status plugin for @atlaskit/editor-core",
5
+ "author": "Atlassian Pty Ltd",
6
+ "license": "Apache-2.0",
7
+ "publishConfig": {
8
+ "registry": "https://registry.npmjs.org/"
9
+ },
10
+ "atlassian": {
11
+ "team": "Editor: Scarlet",
12
+ "singleton": true,
13
+ "inPublicMirror": false,
14
+ "releaseModel": "continuous",
15
+ "runReact18": false
16
+ },
17
+ "repository": "https://bitbucket.org/atlassian/atlassian-frontend-mirror",
18
+ "main": "dist/cjs/index.js",
19
+ "module": "dist/esm/index.js",
20
+ "module:es2019": "dist/es2019/index.js",
21
+ "types": "dist/types/index.d.ts",
22
+ "typesVersions": {
23
+ ">=4.5 <4.9": {
24
+ "*": ["dist/types-ts4.5/*", "dist/types-ts4.5/index.d.ts"]
25
+ }
26
+ },
27
+ "sideEffects": false,
28
+ "atlaskit:src": "src/index.ts",
29
+ "af:exports": {
30
+ ".": "./src/index.ts"
31
+ },
32
+ "dependencies": {
33
+ "@atlaskit/adf-schema": "^36.10.7",
34
+ "@atlaskit/analytics-next": "^9.3.0",
35
+ "@atlaskit/editor-common": "^82.6.0",
36
+ "@atlaskit/editor-plugin-analytics": "^1.2.0",
37
+ "@atlaskit/editor-prosemirror": "4.0.1",
38
+ "@atlaskit/editor-shared-styles": "^2.12.0",
39
+ "@atlaskit/status": "^1.4.0",
40
+ "@atlaskit/theme": "^12.9.0",
41
+ "@atlaskit/tokens": "^1.50.0",
42
+ "@babel/runtime": "^7.0.0",
43
+ "@emotion/react": "^11.7.1"
44
+ },
45
+ "peerDependencies": {
46
+ "react": "^16.8.0",
47
+ "react-intl-next": "npm:react-intl@^5.18.1"
48
+ },
49
+ "devDependencies": {
50
+ "@af/visual-regression": "*",
51
+ "@atlaskit/ssr": "*",
52
+ "@atlaskit/visual-regression": "*",
53
+ "@testing-library/react": "^12.1.5",
54
+ "raf-stub": "^2.0.1",
55
+ "react-dom": "^16.8.0",
56
+ "typescript": "~5.4.2"
57
+ },
58
+ "techstack": {
59
+ "@atlassian/frontend": {
60
+ "import-structure": ["atlassian-conventions"],
61
+ "circular-dependencies": ["file-and-folder-level"]
62
+ },
63
+ "@repo/internal": {
64
+ "dom-events": "use-bind-event-listener",
65
+ "analytics": ["analytics-next"],
66
+ "design-tokens": ["color"],
67
+ "theming": ["react-context"],
68
+ "ui-components": ["lite-mode"],
69
+ "deprecation": "no-deprecated-imports",
70
+ "styling": ["emotion", "emotion"],
71
+ "imports": ["import-no-extraneous-disable-for-examples-and-docs"]
72
+ }
73
+ }
74
+ }
package/report.api.md CHANGED
@@ -2,7 +2,8 @@
2
2
 
3
3
  ## API Report File for "@atlaskit/editor-plugin-status"
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
@@ -26,39 +27,37 @@ import type { TOOLBAR_MENU_TYPE } from '@atlaskit/editor-common/types';
26
27
 
27
28
  // @public (undocumented)
28
29
  enum closingMethods {
29
- // (undocumented)
30
- ArrowLeft = 'arrowLeft',
31
- // (undocumented)
32
- ArrowRight = 'arrowRight',
30
+ // (undocumented)
31
+ ArrowLeft = 'arrowLeft',
32
+ // (undocumented)
33
+ ArrowRight = 'arrowRight',
33
34
  }
34
35
 
35
36
  // @public (undocumented)
36
37
  type ClosingPayload = {
37
- closingMethod: closingMethods;
38
+ closingMethod: closingMethods;
38
39
  };
39
40
 
40
41
  // @public (undocumented)
41
- const commitStatusPicker: (
42
- closingPayload?: ClosingPayload,
43
- ) => (editorView: EditorView) => void;
42
+ const commitStatusPicker: (closingPayload?: ClosingPayload) => (editorView: EditorView) => void;
44
43
 
45
44
  // @public (undocumented)
46
45
  const removeStatus: (showStatusPickerAt: number) => EditorCommand;
47
46
 
48
47
  // @public (undocumented)
49
48
  export type StatusPlugin = NextEditorPlugin<
50
- 'status',
51
- {
52
- dependencies: [OptionalPlugin<AnalyticsPlugin>];
53
- pluginConfiguration: StatusPluginOptions | undefined;
54
- actions: {
55
- commitStatusPicker: typeof commitStatusPicker;
56
- updateStatus: UpdateStatus;
57
- };
58
- commands: {
59
- removeStatus: typeof removeStatus;
60
- };
61
- }
49
+ 'status',
50
+ {
51
+ dependencies: [OptionalPlugin<AnalyticsPlugin>];
52
+ pluginConfiguration: StatusPluginOptions | undefined;
53
+ actions: {
54
+ commitStatusPicker: typeof commitStatusPicker;
55
+ updateStatus: UpdateStatus;
56
+ };
57
+ commands: {
58
+ removeStatus: typeof removeStatus;
59
+ };
60
+ }
62
61
  >;
63
62
 
64
63
  // @public (undocumented)
@@ -66,31 +65,28 @@ export const statusPlugin: StatusPlugin;
66
65
 
67
66
  // @public (undocumented)
68
67
  interface StatusPluginOptions {
69
- // (undocumented)
70
- allowZeroWidthSpaceAfter?: boolean;
71
- // (undocumented)
72
- menuDisabled: boolean;
68
+ // (undocumented)
69
+ allowZeroWidthSpaceAfter?: boolean;
70
+ // (undocumented)
71
+ menuDisabled: boolean;
73
72
  }
74
73
 
75
74
  // @public (undocumented)
76
75
  export type StatusState = {
77
- isNew: boolean;
78
- showStatusPickerAt: null | number;
79
- focusStatusInput?: boolean;
76
+ isNew: boolean;
77
+ showStatusPickerAt: null | number;
78
+ focusStatusInput?: boolean;
80
79
  };
81
80
 
82
81
  // @public (undocumented)
83
82
  export type StatusType = {
84
- color: Color;
85
- text: string;
86
- localId?: string;
83
+ color: Color;
84
+ text: string;
85
+ localId?: string;
87
86
  };
88
87
 
89
88
  // @public (undocumented)
90
- type UpdateStatus = (
91
- inputMethod: TOOLBAR_MENU_TYPE,
92
- status?: StatusType,
93
- ) => Command;
89
+ type UpdateStatus = (inputMethod: TOOLBAR_MENU_TYPE, status?: StatusType) => Command;
94
90
 
95
91
  // (No @packageDocumentation comment for this package)
96
92
  ```
@@ -103,8 +99,8 @@ type UpdateStatus = (
103
99
 
104
100
  ```json
105
101
  {
106
- "react": "^16.8.0",
107
- "react-intl-next": "npm:react-intl@^5.18.1"
102
+ "react": "^16.8.0",
103
+ "react-intl-next": "npm:react-intl@^5.18.1"
108
104
  }
109
105
  ```
110
106