@atlaskit/editor-plugin-status 1.2.1 → 1.2.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/.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,335 +1,350 @@
1
1
  # @atlaskit/editor-plugin-status
2
2
 
3
+ ## 1.2.3
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 1.2.2
10
+
11
+ ### Patch Changes
12
+
13
+ - [#102478](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/102478)
14
+ [`3378951608b0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/3378951608b0) -
15
+ [ED-23332] Update adf-schema package to 36.10.1
16
+ - Updated dependencies
17
+
3
18
  ## 1.2.1
4
19
 
5
20
  ### Patch Changes
6
21
 
7
- - [#101524](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/101524)
8
- [`4821570088e6`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/4821570088e6) -
9
- ED-23362 Bump ADF schema to version 36.8.1 and add support for adf validation and transformation
22
+ - [#101524](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/101524)
23
+ [`4821570088e6`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/4821570088e6) -
24
+ ED-23362 Bump ADF schema to version 36.8.1 and add support for adf validation and transformation
10
25
 
11
26
  ## 1.2.0
12
27
 
13
28
  ### Minor Changes
14
29
 
15
- - [#99579](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/99579)
16
- [`f222af5687e9`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/f222af5687e9) -
17
- Bump adf-schema to 36.3.0 and adf-schema-json to 1.14.0
30
+ - [#99579](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/99579)
31
+ [`f222af5687e9`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/f222af5687e9) -
32
+ Bump adf-schema to 36.3.0 and adf-schema-json to 1.14.0
18
33
 
19
34
  ### Patch Changes
20
35
 
21
- - Updated dependencies
36
+ - Updated dependencies
22
37
 
23
38
  ## 1.1.7
24
39
 
25
40
  ### Patch Changes
26
41
 
27
- - Updated dependencies
42
+ - Updated dependencies
28
43
 
29
44
  ## 1.1.6
30
45
 
31
46
  ### Patch Changes
32
47
 
33
- - [#97599](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/97599)
34
- [`32c3130b08fe`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/32c3130b08fe) -
35
- [ED-22282] Bump adf-schema to 36.1.0
48
+ - [#97599](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/97599)
49
+ [`32c3130b08fe`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/32c3130b08fe) -
50
+ [ED-22282] Bump adf-schema to 36.1.0
36
51
 
37
52
  ## 1.1.5
38
53
 
39
54
  ### Patch Changes
40
55
 
41
- - [#97698](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/97698)
42
- [`1c7b378c0d3b`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/1c7b378c0d3b) -
43
- [HOT-108999] We had an incident where the cursor jumps back a character in table headers for any
44
- language triggering composition on an empty line.This was fixed in a patch bump of
45
- prosemirror-view. https://github.com/ProseMirror/prosemirror-view/compare/1.33.4...1.33.5
56
+ - [#97698](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/97698)
57
+ [`1c7b378c0d3b`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/1c7b378c0d3b) -
58
+ [HOT-108999] We had an incident where the cursor jumps back a character in table headers for any
59
+ language triggering composition on an empty line.This was fixed in a patch bump of
60
+ prosemirror-view. https://github.com/ProseMirror/prosemirror-view/compare/1.33.4...1.33.5
46
61
 
47
62
  ## 1.1.4
48
63
 
49
64
  ### Patch Changes
50
65
 
51
- - Updated dependencies
66
+ - Updated dependencies
52
67
 
53
68
  ## 1.1.3
54
69
 
55
70
  ### Patch Changes
56
71
 
57
- - [#96237](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/96237)
58
- [`0401e7b5a88e`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/0401e7b5a88e) -
59
- [ED-23102] Bump ADF schema to version 35.12.2
72
+ - [#96237](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/96237)
73
+ [`0401e7b5a88e`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/0401e7b5a88e) -
74
+ [ED-23102] Bump ADF schema to version 35.12.2
60
75
 
61
76
  ## 1.1.2
62
77
 
63
78
  ### Patch Changes
64
79
 
65
- - [#94901](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/94901)
66
- [`da964fcdc828`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/da964fcdc828) -
67
- [ED-23097] Bump ADF schema to version 35.12.1
80
+ - [#94901](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/94901)
81
+ [`da964fcdc828`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/da964fcdc828) -
82
+ [ED-23097] Bump ADF schema to version 35.12.1
68
83
 
69
84
  ## 1.1.1
70
85
 
71
86
  ### Patch Changes
72
87
 
73
- - [#93689](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/93689)
74
- [`5ba5d2b4a9ac`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/5ba5d2b4a9ac) -
75
- Updating adf-schema version to 35.10.0
88
+ - [#93689](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/93689)
89
+ [`5ba5d2b4a9ac`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/5ba5d2b4a9ac) -
90
+ Updating adf-schema version to 35.10.0
76
91
 
77
92
  ## 1.1.0
78
93
 
79
94
  ### Minor Changes
80
95
 
81
- - [#91934](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/91934)
82
- [`b76a78c6a199`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/b76a78c6a199) -
83
- bumped editor-prosemirror version to 4.0.0
96
+ - [#91934](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/91934)
97
+ [`b76a78c6a199`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/b76a78c6a199) -
98
+ bumped editor-prosemirror version to 4.0.0
84
99
 
85
100
  ### Patch Changes
86
101
 
87
- - Updated dependencies
102
+ - Updated dependencies
88
103
 
89
104
  ## 1.0.9
90
105
 
91
106
  ### Patch Changes
92
107
 
93
- - [#92426](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/92426)
94
- [`32c76c7c225c`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/32c76c7c225c) -
95
- Bump adf-schema to 35.9.2 to support table alignment options
108
+ - [#92426](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/92426)
109
+ [`32c76c7c225c`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/32c76c7c225c) -
110
+ Bump adf-schema to 35.9.2 to support table alignment options
96
111
 
97
112
  ## 1.0.8
98
113
 
99
114
  ### Patch Changes
100
115
 
101
- - [#91106](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/91106)
102
- [`b6ffa30186b9`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/b6ffa30186b9) -
103
- Bump ADF-schema package to version 35.0.0
104
- - Updated dependencies
116
+ - [#91106](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/91106)
117
+ [`b6ffa30186b9`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/b6ffa30186b9) -
118
+ Bump ADF-schema package to version 35.0.0
119
+ - Updated dependencies
105
120
 
106
121
  ## 1.0.7
107
122
 
108
123
  ### Patch Changes
109
124
 
110
- - [#89995](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/89995)
111
- [`997eaf79583d`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/997eaf79583d) -
112
- Disable status popup when Editor not in editable mode
125
+ - [#89995](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/89995)
126
+ [`997eaf79583d`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/997eaf79583d) -
127
+ Disable status popup when Editor not in editable mode
113
128
 
114
129
  ## 1.0.6
115
130
 
116
131
  ### Patch Changes
117
132
 
118
- - [#86724](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/86724)
119
- [`718a9aa2424d`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/718a9aa2424d) -
120
- [ED-22607] Remove references to maxFrames for multi bodied extensions and bump adf-schema from
121
- 35.7.0 to 35.8.0
133
+ - [#86724](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/86724)
134
+ [`718a9aa2424d`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/718a9aa2424d) -
135
+ [ED-22607] Remove references to maxFrames for multi bodied extensions and bump adf-schema from
136
+ 35.7.0 to 35.8.0
122
137
 
123
138
  ## 1.0.5
124
139
 
125
140
  ### Patch Changes
126
141
 
127
- - [#81777](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/81777)
128
- [`c6d7a5378751`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/c6d7a5378751) -
129
- Bump adf-schema to 35.7.0
142
+ - [#81777](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/81777)
143
+ [`c6d7a5378751`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/c6d7a5378751) -
144
+ Bump adf-schema to 35.7.0
130
145
 
131
146
  ## 1.0.4
132
147
 
133
148
  ### Patch Changes
134
149
 
135
- - [#83116](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/83116)
136
- [`8d4e99057fe0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8d4e99057fe0) -
137
- Upgrade Typescript from `4.9.5` to `5.4.2`
150
+ - [#83116](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/83116)
151
+ [`8d4e99057fe0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8d4e99057fe0) -
152
+ Upgrade Typescript from `4.9.5` to `5.4.2`
138
153
 
139
154
  ## 1.0.3
140
155
 
141
156
  ### Patch Changes
142
157
 
143
- - [#80679](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/80679)
144
- [`104eb9443b7e`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/104eb9443b7e) -
145
- ED-22553 Updating adf-schema version to 35.6.0
158
+ - [#80679](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/80679)
159
+ [`104eb9443b7e`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/104eb9443b7e) -
160
+ ED-22553 Updating adf-schema version to 35.6.0
146
161
 
147
162
  ## 1.0.2
148
163
 
149
164
  ### Patch Changes
150
165
 
151
- - [#78224](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/78224)
152
- [`6b4c9dd4ad34`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/6b4c9dd4ad34) -
153
- ED-22219: adf-schema updated to 35.5.2
154
- - Updated dependencies
166
+ - [#78224](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/78224)
167
+ [`6b4c9dd4ad34`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/6b4c9dd4ad34) -
168
+ ED-22219: adf-schema updated to 35.5.2
169
+ - Updated dependencies
155
170
 
156
171
  ## 1.0.1
157
172
 
158
173
  ### Patch Changes
159
174
 
160
- - Updated dependencies
175
+ - Updated dependencies
161
176
 
162
177
  ## 1.0.0
163
178
 
164
179
  ### Major Changes
165
180
 
166
- - [#72386](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/72386)
167
- [`0c52b0be40c1`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/0c52b0be40c1) -
168
- This changeset exists to bump all editor plugins that currently don't have a major version. This
169
- is to address an issue with Jira plugin consumption.
181
+ - [#72386](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/72386)
182
+ [`0c52b0be40c1`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/0c52b0be40c1) -
183
+ This changeset exists to bump all editor plugins that currently don't have a major version. This
184
+ is to address an issue with Jira plugin consumption.
170
185
 
171
186
  ### Patch Changes
172
187
 
173
- - Updated dependencies
188
+ - Updated dependencies
174
189
 
175
190
  ## 0.3.2
176
191
 
177
192
  ### Patch Changes
178
193
 
179
- - [#68572](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/68572)
180
- [`15d407fe5143`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/15d407fe5143) -
181
- Upgrading @atlaskit/editor-prosemirror dependency
194
+ - [#68572](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/68572)
195
+ [`15d407fe5143`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/15d407fe5143) -
196
+ Upgrading @atlaskit/editor-prosemirror dependency
182
197
 
183
198
  ## 0.3.1
184
199
 
185
200
  ### Patch Changes
186
201
 
187
- - [#70152](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/70152)
188
- [`53ed3673df28`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/53ed3673df28) -
189
- Updating adf-schema version to 35.5.1
202
+ - [#70152](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/70152)
203
+ [`53ed3673df28`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/53ed3673df28) -
204
+ Updating adf-schema version to 35.5.1
190
205
 
191
206
  ## 0.3.0
192
207
 
193
208
  ### Minor Changes
194
209
 
195
- - [#68790](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/68790)
196
- [`c6d8affc52d1`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/c6d8affc52d1) -
197
- Support maybeAdd plugins in usePreset. Add typing support for universal preset.
210
+ - [#68790](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/68790)
211
+ [`c6d8affc52d1`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/c6d8affc52d1) -
212
+ Support maybeAdd plugins in usePreset. Add typing support for universal preset.
198
213
 
199
- Now when using the editor API with the universal preset
214
+ Now when using the editor API with the universal preset
200
215
 
201
216
  ### Patch Changes
202
217
 
203
- - Updated dependencies
218
+ - Updated dependencies
204
219
 
205
220
  ## 0.2.14
206
221
 
207
222
  ### Patch Changes
208
223
 
209
- - Updated dependencies
224
+ - Updated dependencies
210
225
 
211
226
  ## 0.2.13
212
227
 
213
228
  ### Patch Changes
214
229
 
215
- - [#67814](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/67814)
216
- [`b9ae9606c2e0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/b9ae9606c2e0) -
217
- Migrate status and alignment plugins to use useSharedPluginState rather than WithPluginState
230
+ - [#67814](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/67814)
231
+ [`b9ae9606c2e0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/b9ae9606c2e0) -
232
+ Migrate status and alignment plugins to use useSharedPluginState rather than WithPluginState
218
233
 
219
234
  ## 0.2.12
220
235
 
221
236
  ### Patch Changes
222
237
 
223
- - [#65802](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/65802)
224
- [`438ead060875`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/438ead060875) -
225
- Ensure all editor plugins are marked as singletons
238
+ - [#65802](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/65802)
239
+ [`438ead060875`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/438ead060875) -
240
+ Ensure all editor plugins are marked as singletons
226
241
 
227
242
  ## 0.2.11
228
243
 
229
244
  ### Patch Changes
230
245
 
231
- - [#65031](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/65031)
232
- [`a00094111b5a`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/a00094111b5a) -
233
- ED-21609 Update adf-schema to 35.3.0
234
- - Updated dependencies
246
+ - [#65031](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/65031)
247
+ [`a00094111b5a`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/a00094111b5a) -
248
+ ED-21609 Update adf-schema to 35.3.0
249
+ - Updated dependencies
235
250
 
236
251
  ## 0.2.10
237
252
 
238
253
  ### Patch Changes
239
254
 
240
- - [#62165](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/62165)
241
- [`b44ac0968d79`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/b44ac0968d79) -
242
- [ED-21562] Bump @atlaskit/adf-schema to 35.2.0 for border mark update
255
+ - [#62165](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/62165)
256
+ [`b44ac0968d79`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/b44ac0968d79) -
257
+ [ED-21562] Bump @atlaskit/adf-schema to 35.2.0 for border mark update
243
258
 
244
259
  ## 0.2.9
245
260
 
246
261
  ### Patch Changes
247
262
 
248
- - [#60808](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/60808)
249
- [`f509a21be124`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/f509a21be124) -
250
- ED-21506: @atlaskit/adf-schema upgraded to 35.1.1 to support renderer for MBE
263
+ - [#60808](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/60808)
264
+ [`f509a21be124`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/f509a21be124) -
265
+ ED-21506: @atlaskit/adf-schema upgraded to 35.1.1 to support renderer for MBE
251
266
 
252
267
  ## 0.2.8
253
268
 
254
269
  ### Patch Changes
255
270
 
256
- - [#58246](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/58246)
257
- [`a381b2599716`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/a381b2599716) -
258
- ED-21371 Update adf-schema to 35.1.0
271
+ - [#58246](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/58246)
272
+ [`a381b2599716`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/a381b2599716) -
273
+ ED-21371 Update adf-schema to 35.1.0
259
274
 
260
275
  ## 0.2.7
261
276
 
262
277
  ### Patch Changes
263
278
 
264
- - Updated dependencies
279
+ - Updated dependencies
265
280
 
266
281
  ## 0.2.6
267
282
 
268
283
  ### Patch Changes
269
284
 
270
- - [#59147](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/59147)
271
- [`f12e489f23b0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/f12e489f23b0) -
272
- Re-build and deploy packages to NPM to resolve React/Compiled not found error (HOT-106483).
285
+ - [#59147](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/59147)
286
+ [`f12e489f23b0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/f12e489f23b0) -
287
+ Re-build and deploy packages to NPM to resolve React/Compiled not found error (HOT-106483).
273
288
 
274
289
  ## 0.2.5
275
290
 
276
291
  ### Patch Changes
277
292
 
278
- - [#58763](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/58763)
279
- [`0fdbd64522bf`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/0fdbd64522bf) -
280
- update ADF schema
293
+ - [#58763](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/58763)
294
+ [`0fdbd64522bf`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/0fdbd64522bf) -
295
+ update ADF schema
281
296
 
282
297
  ## 0.2.4
283
298
 
284
299
  ### Patch Changes
285
300
 
286
- - [#56790](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/56790)
287
- [`ff577a7969d4`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ff577a7969d4) -
288
- ED-21266: Updated @atlaskit/adf-schema to 34.0.1
301
+ - [#56790](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/56790)
302
+ [`ff577a7969d4`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ff577a7969d4) -
303
+ ED-21266: Updated @atlaskit/adf-schema to 34.0.1
289
304
 
290
305
  ## 0.2.3
291
306
 
292
307
  ### Patch Changes
293
308
 
294
- - [#43417](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/43417)
295
- [`3f3c17f0273`](https://bitbucket.org/atlassian/atlassian-frontend/commits/3f3c17f0273) -
296
- ED-20971 Upgrade adf-schema package to ^34.0.0
309
+ - [#43417](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/43417)
310
+ [`3f3c17f0273`](https://bitbucket.org/atlassian/atlassian-frontend/commits/3f3c17f0273) - ED-20971
311
+ Upgrade adf-schema package to ^34.0.0
297
312
 
298
313
  ## 0.2.2
299
314
 
300
315
  ### Patch Changes
301
316
 
302
- - [#43379](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/43379)
303
- [`482c025520d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/482c025520d) -
304
- ED-20763 Upgrade ADF schema version to 33.2.3 for MBE nodes.
305
- - Updated dependencies
317
+ - [#43379](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/43379)
318
+ [`482c025520d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/482c025520d) - ED-20763
319
+ Upgrade ADF schema version to 33.2.3 for MBE nodes.
320
+ - Updated dependencies
306
321
 
307
322
  ## 0.2.1
308
323
 
309
324
  ### Patch Changes
310
325
 
311
- - [#42564](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/42564)
312
- [`7139d6b0a64`](https://bitbucket.org/atlassian/atlassian-frontend/commits/7139d6b0a64) -
313
- ED-20512 Fixed issue with adding status node inside a codeblock
326
+ - [#42564](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/42564)
327
+ [`7139d6b0a64`](https://bitbucket.org/atlassian/atlassian-frontend/commits/7139d6b0a64) - ED-20512
328
+ Fixed issue with adding status node inside a codeblock
314
329
 
315
330
  ## 0.2.0
316
331
 
317
332
  ### Minor Changes
318
333
 
319
- - [#42325](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/42325)
320
- [`58f1fd91d09`](https://bitbucket.org/atlassian/atlassian-frontend/commits/58f1fd91d09) -
321
- ED-20512 Set Focus on status input field when tab is pressed
334
+ - [#42325](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/42325)
335
+ [`58f1fd91d09`](https://bitbucket.org/atlassian/atlassian-frontend/commits/58f1fd91d09) - ED-20512
336
+ Set Focus on status input field when tab is pressed
322
337
 
323
338
  ## 0.1.2
324
339
 
325
340
  ### Patch Changes
326
341
 
327
- - Updated dependencies
342
+ - Updated dependencies
328
343
 
329
344
  ## 0.1.1
330
345
 
331
346
  ### Patch Changes
332
347
 
333
- - [#41593](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/41593)
334
- [`39329b628c8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/39329b628c8) -
335
- NO-ISSUE Added editor-plugin-analytics as a dependency.
348
+ - [#41593](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/41593)
349
+ [`39329b628c8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/39329b628c8) - NO-ISSUE
350
+ 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
  });
@@ -87,8 +87,8 @@ var StatusPickerWithoutAnalytcs = exports.StatusPickerWithoutAnalytcs = /*#__PUR
87
87
  event.preventDefault();
88
88
  }
89
89
  /* 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
- */
90
+ To correctly set focus to the input field instead of the first color button we need to set focus manually
91
+ */
92
92
  if (isButtonFocussed) {
93
93
  inputField === null || inputField === void 0 || inputField.focus();
94
94
  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
  });
@@ -70,8 +70,8 @@ export class StatusPickerWithoutAnalytcs extends React.Component {
70
70
  event.preventDefault();
71
71
  }
72
72
  /* 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
- */
73
+ To correctly set focus to the input field instead of the first color button we need to set focus manually
74
+ */
75
75
  if (isButtonFocussed) {
76
76
  inputField === null || inputField === void 0 ? void 0 : inputField.focus();
77
77
  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
  });
@@ -82,8 +82,8 @@ export var StatusPickerWithoutAnalytcs = /*#__PURE__*/function (_React$Component
82
82
  event.preventDefault();
83
83
  }
84
84
  /* 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
- */
85
+ To correctly set focus to the input field instead of the first color button we need to set focus manually
86
+ */
87
87
  if (isButtonFocussed) {
88
88
  inputField === null || inputField === void 0 || inputField.focus();
89
89
  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,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';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-status",
3
- "version": "1.2.1",
3
+ "version": "1.2.3",
4
4
  "description": "Status plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -33,15 +33,15 @@
33
33
  ".": "./src/index.ts"
34
34
  },
35
35
  "dependencies": {
36
- "@atlaskit/adf-schema": "^36.8.0",
36
+ "@atlaskit/adf-schema": "^36.10.7",
37
37
  "@atlaskit/analytics-next": "^9.3.0",
38
- "@atlaskit/editor-common": "^80.4.0",
38
+ "@atlaskit/editor-common": "^82.0.0",
39
39
  "@atlaskit/editor-plugin-analytics": "^1.2.0",
40
40
  "@atlaskit/editor-prosemirror": "4.0.1",
41
- "@atlaskit/editor-shared-styles": "^2.11.0",
41
+ "@atlaskit/editor-shared-styles": "^2.12.0",
42
42
  "@atlaskit/status": "^1.4.0",
43
43
  "@atlaskit/theme": "^12.8.0",
44
- "@atlaskit/tokens": "^1.48.0",
44
+ "@atlaskit/tokens": "^1.49.0",
45
45
  "@babel/runtime": "^7.0.0",
46
46
  "@emotion/react": "^11.7.1"
47
47
  },
@@ -53,7 +53,6 @@
53
53
  "@af/visual-regression": "*",
54
54
  "@atlaskit/ssr": "*",
55
55
  "@atlaskit/visual-regression": "*",
56
- "@atlassian/atlassian-frontend-prettier-config-1.0.0": "npm:@atlassian/atlassian-frontend-prettier-config@1.0.0",
57
56
  "@testing-library/react": "^12.1.5",
58
57
  "raf-stub": "^2.0.1",
59
58
  "react-dom": "^16.8.0",
@@ -91,6 +90,5 @@
91
90
  "import-no-extraneous-disable-for-examples-and-docs"
92
91
  ]
93
92
  }
94
- },
95
- "prettier": "@atlassian/atlassian-frontend-prettier-config-1.0.0"
93
+ }
96
94
  }
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