@atlaskit/editor-plugin-status 1.2.2 → 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 +4 -4
- package/CHANGELOG.md +131 -125
- package/LICENSE.md +6 -8
- package/dist/cjs/nodeviews/status.js +6 -2
- package/dist/cjs/ui/statusPicker.js +2 -2
- package/dist/es2019/nodeviews/status.js +6 -2
- package/dist/es2019/ui/statusPicker.js +2 -2
- package/dist/esm/nodeviews/status.js +6 -2
- package/dist/esm/ui/statusPicker.js +2 -2
- package/dist/types/index.d.ts +1 -1
- package/dist/types-ts4.5/index.d.ts +1 -1
- package/package.json +4 -6
- package/report.api.md +33 -37
package/.eslintrc.js
CHANGED
package/CHANGELOG.md
CHANGED
|
@@ -1,344 +1,350 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-status
|
|
2
2
|
|
|
3
|
+
## 1.2.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
|
|
3
9
|
## 1.2.2
|
|
4
10
|
|
|
5
11
|
### Patch Changes
|
|
6
12
|
|
|
7
|
-
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
-
|
|
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
|
|
11
17
|
|
|
12
18
|
## 1.2.1
|
|
13
19
|
|
|
14
20
|
### Patch Changes
|
|
15
21
|
|
|
16
|
-
-
|
|
17
|
-
|
|
18
|
-
|
|
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
|
|
19
25
|
|
|
20
26
|
## 1.2.0
|
|
21
27
|
|
|
22
28
|
### Minor Changes
|
|
23
29
|
|
|
24
|
-
-
|
|
25
|
-
|
|
26
|
-
|
|
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
|
|
27
33
|
|
|
28
34
|
### Patch Changes
|
|
29
35
|
|
|
30
|
-
-
|
|
36
|
+
- Updated dependencies
|
|
31
37
|
|
|
32
38
|
## 1.1.7
|
|
33
39
|
|
|
34
40
|
### Patch Changes
|
|
35
41
|
|
|
36
|
-
-
|
|
42
|
+
- Updated dependencies
|
|
37
43
|
|
|
38
44
|
## 1.1.6
|
|
39
45
|
|
|
40
46
|
### Patch Changes
|
|
41
47
|
|
|
42
|
-
-
|
|
43
|
-
|
|
44
|
-
|
|
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
|
|
45
51
|
|
|
46
52
|
## 1.1.5
|
|
47
53
|
|
|
48
54
|
### Patch Changes
|
|
49
55
|
|
|
50
|
-
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
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
|
|
55
61
|
|
|
56
62
|
## 1.1.4
|
|
57
63
|
|
|
58
64
|
### Patch Changes
|
|
59
65
|
|
|
60
|
-
-
|
|
66
|
+
- Updated dependencies
|
|
61
67
|
|
|
62
68
|
## 1.1.3
|
|
63
69
|
|
|
64
70
|
### Patch Changes
|
|
65
71
|
|
|
66
|
-
-
|
|
67
|
-
|
|
68
|
-
|
|
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
|
|
69
75
|
|
|
70
76
|
## 1.1.2
|
|
71
77
|
|
|
72
78
|
### Patch Changes
|
|
73
79
|
|
|
74
|
-
-
|
|
75
|
-
|
|
76
|
-
|
|
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
|
|
77
83
|
|
|
78
84
|
## 1.1.1
|
|
79
85
|
|
|
80
86
|
### Patch Changes
|
|
81
87
|
|
|
82
|
-
-
|
|
83
|
-
|
|
84
|
-
|
|
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
|
|
85
91
|
|
|
86
92
|
## 1.1.0
|
|
87
93
|
|
|
88
94
|
### Minor Changes
|
|
89
95
|
|
|
90
|
-
-
|
|
91
|
-
|
|
92
|
-
|
|
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
|
|
93
99
|
|
|
94
100
|
### Patch Changes
|
|
95
101
|
|
|
96
|
-
-
|
|
102
|
+
- Updated dependencies
|
|
97
103
|
|
|
98
104
|
## 1.0.9
|
|
99
105
|
|
|
100
106
|
### Patch Changes
|
|
101
107
|
|
|
102
|
-
-
|
|
103
|
-
|
|
104
|
-
|
|
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
|
|
105
111
|
|
|
106
112
|
## 1.0.8
|
|
107
113
|
|
|
108
114
|
### Patch Changes
|
|
109
115
|
|
|
110
|
-
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
-
|
|
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
|
|
114
120
|
|
|
115
121
|
## 1.0.7
|
|
116
122
|
|
|
117
123
|
### Patch Changes
|
|
118
124
|
|
|
119
|
-
-
|
|
120
|
-
|
|
121
|
-
|
|
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
|
|
122
128
|
|
|
123
129
|
## 1.0.6
|
|
124
130
|
|
|
125
131
|
### Patch Changes
|
|
126
132
|
|
|
127
|
-
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
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
|
|
131
137
|
|
|
132
138
|
## 1.0.5
|
|
133
139
|
|
|
134
140
|
### Patch Changes
|
|
135
141
|
|
|
136
|
-
-
|
|
137
|
-
|
|
138
|
-
|
|
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
|
|
139
145
|
|
|
140
146
|
## 1.0.4
|
|
141
147
|
|
|
142
148
|
### Patch Changes
|
|
143
149
|
|
|
144
|
-
-
|
|
145
|
-
|
|
146
|
-
|
|
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`
|
|
147
153
|
|
|
148
154
|
## 1.0.3
|
|
149
155
|
|
|
150
156
|
### Patch Changes
|
|
151
157
|
|
|
152
|
-
-
|
|
153
|
-
|
|
154
|
-
|
|
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
|
|
155
161
|
|
|
156
162
|
## 1.0.2
|
|
157
163
|
|
|
158
164
|
### Patch Changes
|
|
159
165
|
|
|
160
|
-
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
-
|
|
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
|
|
164
170
|
|
|
165
171
|
## 1.0.1
|
|
166
172
|
|
|
167
173
|
### Patch Changes
|
|
168
174
|
|
|
169
|
-
-
|
|
175
|
+
- Updated dependencies
|
|
170
176
|
|
|
171
177
|
## 1.0.0
|
|
172
178
|
|
|
173
179
|
### Major Changes
|
|
174
180
|
|
|
175
|
-
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
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.
|
|
179
185
|
|
|
180
186
|
### Patch Changes
|
|
181
187
|
|
|
182
|
-
-
|
|
188
|
+
- Updated dependencies
|
|
183
189
|
|
|
184
190
|
## 0.3.2
|
|
185
191
|
|
|
186
192
|
### Patch Changes
|
|
187
193
|
|
|
188
|
-
-
|
|
189
|
-
|
|
190
|
-
|
|
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
|
|
191
197
|
|
|
192
198
|
## 0.3.1
|
|
193
199
|
|
|
194
200
|
### Patch Changes
|
|
195
201
|
|
|
196
|
-
-
|
|
197
|
-
|
|
198
|
-
|
|
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
|
|
199
205
|
|
|
200
206
|
## 0.3.0
|
|
201
207
|
|
|
202
208
|
### Minor Changes
|
|
203
209
|
|
|
204
|
-
-
|
|
205
|
-
|
|
206
|
-
|
|
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.
|
|
207
213
|
|
|
208
|
-
|
|
214
|
+
Now when using the editor API with the universal preset
|
|
209
215
|
|
|
210
216
|
### Patch Changes
|
|
211
217
|
|
|
212
|
-
-
|
|
218
|
+
- Updated dependencies
|
|
213
219
|
|
|
214
220
|
## 0.2.14
|
|
215
221
|
|
|
216
222
|
### Patch Changes
|
|
217
223
|
|
|
218
|
-
-
|
|
224
|
+
- Updated dependencies
|
|
219
225
|
|
|
220
226
|
## 0.2.13
|
|
221
227
|
|
|
222
228
|
### Patch Changes
|
|
223
229
|
|
|
224
|
-
-
|
|
225
|
-
|
|
226
|
-
|
|
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
|
|
227
233
|
|
|
228
234
|
## 0.2.12
|
|
229
235
|
|
|
230
236
|
### Patch Changes
|
|
231
237
|
|
|
232
|
-
-
|
|
233
|
-
|
|
234
|
-
|
|
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
|
|
235
241
|
|
|
236
242
|
## 0.2.11
|
|
237
243
|
|
|
238
244
|
### Patch Changes
|
|
239
245
|
|
|
240
|
-
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
-
|
|
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
|
|
244
250
|
|
|
245
251
|
## 0.2.10
|
|
246
252
|
|
|
247
253
|
### Patch Changes
|
|
248
254
|
|
|
249
|
-
-
|
|
250
|
-
|
|
251
|
-
|
|
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
|
|
252
258
|
|
|
253
259
|
## 0.2.9
|
|
254
260
|
|
|
255
261
|
### Patch Changes
|
|
256
262
|
|
|
257
|
-
-
|
|
258
|
-
|
|
259
|
-
|
|
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
|
|
260
266
|
|
|
261
267
|
## 0.2.8
|
|
262
268
|
|
|
263
269
|
### Patch Changes
|
|
264
270
|
|
|
265
|
-
-
|
|
266
|
-
|
|
267
|
-
|
|
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
|
|
268
274
|
|
|
269
275
|
## 0.2.7
|
|
270
276
|
|
|
271
277
|
### Patch Changes
|
|
272
278
|
|
|
273
|
-
-
|
|
279
|
+
- Updated dependencies
|
|
274
280
|
|
|
275
281
|
## 0.2.6
|
|
276
282
|
|
|
277
283
|
### Patch Changes
|
|
278
284
|
|
|
279
|
-
-
|
|
280
|
-
|
|
281
|
-
|
|
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).
|
|
282
288
|
|
|
283
289
|
## 0.2.5
|
|
284
290
|
|
|
285
291
|
### Patch Changes
|
|
286
292
|
|
|
287
|
-
-
|
|
288
|
-
|
|
289
|
-
|
|
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
|
|
290
296
|
|
|
291
297
|
## 0.2.4
|
|
292
298
|
|
|
293
299
|
### Patch Changes
|
|
294
300
|
|
|
295
|
-
-
|
|
296
|
-
|
|
297
|
-
|
|
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
|
|
298
304
|
|
|
299
305
|
## 0.2.3
|
|
300
306
|
|
|
301
307
|
### Patch Changes
|
|
302
308
|
|
|
303
|
-
-
|
|
304
|
-
|
|
305
|
-
|
|
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
|
|
306
312
|
|
|
307
313
|
## 0.2.2
|
|
308
314
|
|
|
309
315
|
### Patch Changes
|
|
310
316
|
|
|
311
|
-
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
-
|
|
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
|
|
315
321
|
|
|
316
322
|
## 0.2.1
|
|
317
323
|
|
|
318
324
|
### Patch Changes
|
|
319
325
|
|
|
320
|
-
-
|
|
321
|
-
|
|
322
|
-
|
|
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
|
|
323
329
|
|
|
324
330
|
## 0.2.0
|
|
325
331
|
|
|
326
332
|
### Minor Changes
|
|
327
333
|
|
|
328
|
-
-
|
|
329
|
-
|
|
330
|
-
|
|
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
|
|
331
337
|
|
|
332
338
|
## 0.1.2
|
|
333
339
|
|
|
334
340
|
### Patch Changes
|
|
335
341
|
|
|
336
|
-
-
|
|
342
|
+
- Updated dependencies
|
|
337
343
|
|
|
338
344
|
## 0.1.1
|
|
339
345
|
|
|
340
346
|
### Patch Changes
|
|
341
347
|
|
|
342
|
-
-
|
|
343
|
-
|
|
344
|
-
|
|
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
|
-
|
|
5
|
-
You may obtain a copy of the License at
|
|
3
|
+
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in
|
|
4
|
+
compliance with the License. You may obtain a copy of the License at
|
|
6
5
|
|
|
7
6
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
8
7
|
|
|
9
|
-
Unless required by applicable law or agreed to in writing, software
|
|
10
|
-
distributed
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
limitations under the License.
|
|
8
|
+
Unless required by applicable law or agreed to in writing, software distributed under the License is
|
|
9
|
+
distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
10
|
+
implied. See the License for the specific language governing permissions and limitations under the
|
|
11
|
+
License.
|
|
@@ -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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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();
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export { statusPlugin } from './plugin';
|
|
2
2
|
export type { StatusPlugin } from './plugin';
|
|
3
|
-
export type { StatusState, StatusType, StatusPluginOptions, ClosingPayload
|
|
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
|
|
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.
|
|
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",
|
|
@@ -35,10 +35,10 @@
|
|
|
35
35
|
"dependencies": {
|
|
36
36
|
"@atlaskit/adf-schema": "^36.10.7",
|
|
37
37
|
"@atlaskit/analytics-next": "^9.3.0",
|
|
38
|
-
"@atlaskit/editor-common": "^
|
|
38
|
+
"@atlaskit/editor-common": "^82.0.0",
|
|
39
39
|
"@atlaskit/editor-plugin-analytics": "^1.2.0",
|
|
40
40
|
"@atlaskit/editor-prosemirror": "4.0.1",
|
|
41
|
-
"@atlaskit/editor-shared-styles": "^2.
|
|
41
|
+
"@atlaskit/editor-shared-styles": "^2.12.0",
|
|
42
42
|
"@atlaskit/status": "^1.4.0",
|
|
43
43
|
"@atlaskit/theme": "^12.8.0",
|
|
44
44
|
"@atlaskit/tokens": "^1.49.0",
|
|
@@ -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
|
|
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
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
30
|
+
// (undocumented)
|
|
31
|
+
ArrowLeft = 'arrowLeft',
|
|
32
|
+
// (undocumented)
|
|
33
|
+
ArrowRight = 'arrowRight',
|
|
33
34
|
}
|
|
34
35
|
|
|
35
36
|
// @public (undocumented)
|
|
36
37
|
type ClosingPayload = {
|
|
37
|
-
|
|
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
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
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
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
68
|
+
// (undocumented)
|
|
69
|
+
allowZeroWidthSpaceAfter?: boolean;
|
|
70
|
+
// (undocumented)
|
|
71
|
+
menuDisabled: boolean;
|
|
73
72
|
}
|
|
74
73
|
|
|
75
74
|
// @public (undocumented)
|
|
76
75
|
export type StatusState = {
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
76
|
+
isNew: boolean;
|
|
77
|
+
showStatusPickerAt: null | number;
|
|
78
|
+
focusStatusInput?: boolean;
|
|
80
79
|
};
|
|
81
80
|
|
|
82
81
|
// @public (undocumented)
|
|
83
82
|
export type StatusType = {
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
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
|
-
|
|
107
|
-
|
|
102
|
+
"react": "^16.8.0",
|
|
103
|
+
"react-intl-next": "npm:react-intl@^5.18.1"
|
|
108
104
|
}
|
|
109
105
|
```
|
|
110
106
|
|