@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 +4 -4
- package/CHANGELOG.md +136 -121
- 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 +6 -8
- package/report.api.md +33 -37
package/.eslintrc.js
CHANGED
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
|
-
-
|
|
8
|
-
|
|
9
|
-
|
|
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
|
-
-
|
|
16
|
-
|
|
17
|
-
|
|
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
|
-
-
|
|
36
|
+
- Updated dependencies
|
|
22
37
|
|
|
23
38
|
## 1.1.7
|
|
24
39
|
|
|
25
40
|
### Patch Changes
|
|
26
41
|
|
|
27
|
-
-
|
|
42
|
+
- Updated dependencies
|
|
28
43
|
|
|
29
44
|
## 1.1.6
|
|
30
45
|
|
|
31
46
|
### Patch Changes
|
|
32
47
|
|
|
33
|
-
-
|
|
34
|
-
|
|
35
|
-
|
|
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
|
-
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
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
|
-
-
|
|
66
|
+
- Updated dependencies
|
|
52
67
|
|
|
53
68
|
## 1.1.3
|
|
54
69
|
|
|
55
70
|
### Patch Changes
|
|
56
71
|
|
|
57
|
-
-
|
|
58
|
-
|
|
59
|
-
|
|
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
|
-
-
|
|
66
|
-
|
|
67
|
-
|
|
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
|
-
-
|
|
74
|
-
|
|
75
|
-
|
|
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
|
-
-
|
|
82
|
-
|
|
83
|
-
|
|
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
|
-
-
|
|
102
|
+
- Updated dependencies
|
|
88
103
|
|
|
89
104
|
## 1.0.9
|
|
90
105
|
|
|
91
106
|
### Patch Changes
|
|
92
107
|
|
|
93
|
-
-
|
|
94
|
-
|
|
95
|
-
|
|
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
|
-
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
-
|
|
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
|
-
-
|
|
111
|
-
|
|
112
|
-
|
|
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
|
-
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
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
|
-
-
|
|
128
|
-
|
|
129
|
-
|
|
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
|
-
-
|
|
136
|
-
|
|
137
|
-
|
|
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
|
-
-
|
|
144
|
-
|
|
145
|
-
|
|
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
|
-
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
-
|
|
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
|
-
-
|
|
175
|
+
- Updated dependencies
|
|
161
176
|
|
|
162
177
|
## 1.0.0
|
|
163
178
|
|
|
164
179
|
### Major Changes
|
|
165
180
|
|
|
166
|
-
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
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
|
-
-
|
|
188
|
+
- Updated dependencies
|
|
174
189
|
|
|
175
190
|
## 0.3.2
|
|
176
191
|
|
|
177
192
|
### Patch Changes
|
|
178
193
|
|
|
179
|
-
-
|
|
180
|
-
|
|
181
|
-
|
|
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
|
-
-
|
|
188
|
-
|
|
189
|
-
|
|
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
|
-
-
|
|
196
|
-
|
|
197
|
-
|
|
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
|
-
|
|
214
|
+
Now when using the editor API with the universal preset
|
|
200
215
|
|
|
201
216
|
### Patch Changes
|
|
202
217
|
|
|
203
|
-
-
|
|
218
|
+
- Updated dependencies
|
|
204
219
|
|
|
205
220
|
## 0.2.14
|
|
206
221
|
|
|
207
222
|
### Patch Changes
|
|
208
223
|
|
|
209
|
-
-
|
|
224
|
+
- Updated dependencies
|
|
210
225
|
|
|
211
226
|
## 0.2.13
|
|
212
227
|
|
|
213
228
|
### Patch Changes
|
|
214
229
|
|
|
215
|
-
-
|
|
216
|
-
|
|
217
|
-
|
|
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
|
-
-
|
|
224
|
-
|
|
225
|
-
|
|
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
|
-
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
-
|
|
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
|
-
-
|
|
241
|
-
|
|
242
|
-
|
|
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
|
-
-
|
|
249
|
-
|
|
250
|
-
|
|
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
|
-
-
|
|
257
|
-
|
|
258
|
-
|
|
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
|
-
-
|
|
279
|
+
- Updated dependencies
|
|
265
280
|
|
|
266
281
|
## 0.2.6
|
|
267
282
|
|
|
268
283
|
### Patch Changes
|
|
269
284
|
|
|
270
|
-
-
|
|
271
|
-
|
|
272
|
-
|
|
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
|
-
-
|
|
279
|
-
|
|
280
|
-
|
|
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
|
-
-
|
|
287
|
-
|
|
288
|
-
|
|
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
|
-
-
|
|
295
|
-
|
|
296
|
-
|
|
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
|
-
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
-
|
|
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
|
-
-
|
|
312
|
-
|
|
313
|
-
|
|
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
|
-
-
|
|
320
|
-
|
|
321
|
-
|
|
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
|
-
-
|
|
342
|
+
- Updated dependencies
|
|
328
343
|
|
|
329
344
|
## 0.1.1
|
|
330
345
|
|
|
331
346
|
### Patch Changes
|
|
332
347
|
|
|
333
|
-
-
|
|
334
|
-
|
|
335
|
-
|
|
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",
|
|
@@ -33,15 +33,15 @@
|
|
|
33
33
|
".": "./src/index.ts"
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@atlaskit/adf-schema": "^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
|
-
"@atlaskit/tokens": "^1.
|
|
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
|
|
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
|
|