@atlaskit/editor-plugin-tasks-and-decisions 1.1.2 → 1.2.0
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/CHANGELOG.md +165 -79
- package/dist/types/nodeviews/decisionItem.d.ts +3 -2
- package/dist/types/nodeviews/taskItem.d.ts +3 -2
- package/dist/types/pm-plugins/main.d.ts +3 -2
- package/dist/types-ts4.5/nodeviews/decisionItem.d.ts +3 -2
- package/dist/types-ts4.5/nodeviews/taskItem.d.ts +3 -2
- package/dist/types-ts4.5/pm-plugins/main.d.ts +3 -2
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,273 +1,359 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-tasks-and-decisions
|
|
2
2
|
|
|
3
|
+
## 1.2.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#95168](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/95168)
|
|
8
|
+
[`2091e194a817`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/2091e194a817) -
|
|
9
|
+
Introduced new PortalProviderAPI behind a FF
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- Updated dependencies
|
|
14
|
+
|
|
15
|
+
## 1.1.3
|
|
16
|
+
|
|
17
|
+
### Patch Changes
|
|
18
|
+
|
|
19
|
+
- [#96237](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/96237)
|
|
20
|
+
[`0401e7b5a88e`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/0401e7b5a88e) -
|
|
21
|
+
[ED-23102] Bump ADF schema to version 35.12.2
|
|
22
|
+
|
|
3
23
|
## 1.1.2
|
|
4
24
|
|
|
5
25
|
### Patch Changes
|
|
6
26
|
|
|
7
|
-
-
|
|
27
|
+
- [#94901](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/94901)
|
|
28
|
+
[`da964fcdc828`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/da964fcdc828) -
|
|
29
|
+
[ED-23097] Bump ADF schema to version 35.12.1
|
|
8
30
|
|
|
9
31
|
## 1.1.1
|
|
10
32
|
|
|
11
33
|
### Patch Changes
|
|
12
34
|
|
|
13
|
-
-
|
|
35
|
+
- [#93689](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/93689)
|
|
36
|
+
[`5ba5d2b4a9ac`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/5ba5d2b4a9ac) -
|
|
37
|
+
Updating adf-schema version to 35.10.0
|
|
14
38
|
|
|
15
39
|
## 1.1.0
|
|
16
40
|
|
|
17
41
|
### Minor Changes
|
|
18
42
|
|
|
19
|
-
-
|
|
43
|
+
- [#91934](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/91934)
|
|
44
|
+
[`b76a78c6a199`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/b76a78c6a199) -
|
|
45
|
+
bumped editor-prosemirror version to 4.0.0
|
|
20
46
|
|
|
21
47
|
### Patch Changes
|
|
22
48
|
|
|
23
|
-
-
|
|
49
|
+
- Updated dependencies
|
|
24
50
|
|
|
25
51
|
## 1.0.9
|
|
26
52
|
|
|
27
53
|
### Patch Changes
|
|
28
54
|
|
|
29
|
-
-
|
|
55
|
+
- [#92426](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/92426)
|
|
56
|
+
[`32c76c7c225c`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/32c76c7c225c) -
|
|
57
|
+
Bump adf-schema to 35.9.2 to support table alignment options
|
|
30
58
|
|
|
31
59
|
## 1.0.8
|
|
32
60
|
|
|
33
61
|
### Patch Changes
|
|
34
62
|
|
|
35
|
-
-
|
|
36
|
-
-
|
|
63
|
+
- [#91106](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/91106)
|
|
64
|
+
[`b6ffa30186b9`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/b6ffa30186b9) -
|
|
65
|
+
Bump ADF-schema package to version 35.0.0
|
|
66
|
+
- Updated dependencies
|
|
37
67
|
|
|
38
68
|
## 1.0.7
|
|
39
69
|
|
|
40
70
|
### Patch Changes
|
|
41
71
|
|
|
42
|
-
-
|
|
72
|
+
- [#86724](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/86724)
|
|
73
|
+
[`718a9aa2424d`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/718a9aa2424d) -
|
|
74
|
+
[ED-22607] Remove references to maxFrames for multi bodied extensions and bump adf-schema from
|
|
75
|
+
35.7.0 to 35.8.0
|
|
43
76
|
|
|
44
77
|
## 1.0.6
|
|
45
78
|
|
|
46
79
|
### Patch Changes
|
|
47
80
|
|
|
48
|
-
-
|
|
81
|
+
- [#81777](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/81777)
|
|
82
|
+
[`c6d7a5378751`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/c6d7a5378751) -
|
|
83
|
+
Bump adf-schema to 35.7.0
|
|
49
84
|
|
|
50
85
|
## 1.0.5
|
|
51
86
|
|
|
52
87
|
### Patch Changes
|
|
53
88
|
|
|
54
|
-
-
|
|
89
|
+
- [#83116](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/83116)
|
|
90
|
+
[`8d4e99057fe0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8d4e99057fe0) -
|
|
91
|
+
Upgrade Typescript from `4.9.5` to `5.4.2`
|
|
55
92
|
|
|
56
93
|
## 1.0.4
|
|
57
94
|
|
|
58
95
|
### Patch Changes
|
|
59
96
|
|
|
60
|
-
-
|
|
97
|
+
- [#80679](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/80679)
|
|
98
|
+
[`104eb9443b7e`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/104eb9443b7e) -
|
|
99
|
+
ED-22553 Updating adf-schema version to 35.6.0
|
|
61
100
|
|
|
62
101
|
## 1.0.3
|
|
63
102
|
|
|
64
103
|
### Patch Changes
|
|
65
104
|
|
|
66
|
-
-
|
|
67
|
-
-
|
|
105
|
+
- [#78224](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/78224)
|
|
106
|
+
[`6b4c9dd4ad34`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/6b4c9dd4ad34) -
|
|
107
|
+
ED-22219: adf-schema updated to 35.5.2
|
|
108
|
+
- Updated dependencies
|
|
68
109
|
|
|
69
110
|
## 1.0.2
|
|
70
111
|
|
|
71
112
|
### Patch Changes
|
|
72
113
|
|
|
73
|
-
-
|
|
114
|
+
- [#75482](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/75482)
|
|
115
|
+
[`18b5a6fb910a`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/18b5a6fb910a) - #
|
|
116
|
+
MAJOR CHANGE to `@atlaskit/prosemirror-input-rules` package.
|
|
74
117
|
|
|
75
|
-
|
|
118
|
+
## WHY?
|
|
76
119
|
|
|
77
|
-
|
|
120
|
+
Removing editor-common dependencies from prosemirror-input-rules package.
|
|
78
121
|
|
|
79
|
-
|
|
122
|
+
This makes it easier for editor updates because it simplifies our dependency graph.
|
|
80
123
|
|
|
81
|
-
|
|
124
|
+
## WHAT and HOW?
|
|
82
125
|
|
|
83
|
-
|
|
126
|
+
These are no longer available via `@atlaskit/prosemirror-input-rules` but are available from
|
|
127
|
+
`@atlaskit/editor-common/types`:
|
|
84
128
|
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
129
|
+
- InputRuleWrapper
|
|
130
|
+
- InputRuleHandler
|
|
131
|
+
- OnHandlerApply
|
|
132
|
+
- createRule
|
|
89
133
|
|
|
90
|
-
|
|
134
|
+
These have changed from a `SafePlugin` to a `SafePluginSpec`. In order to update your code you
|
|
135
|
+
need to instantiate a `SafePlugin` (ie. `new SafePlugin(createPlugin( ... ))`).
|
|
91
136
|
|
|
92
|
-
|
|
137
|
+
`SafePlugin` exists in `@atlaskit/editor-common/safe-plugin`.
|
|
93
138
|
|
|
94
|
-
|
|
95
|
-
|
|
139
|
+
- createPlugin
|
|
140
|
+
- createInputRulePlugin
|
|
96
141
|
|
|
97
|
-
-
|
|
142
|
+
- Updated dependencies
|
|
98
143
|
|
|
99
144
|
## 1.0.1
|
|
100
145
|
|
|
101
146
|
### Patch Changes
|
|
102
147
|
|
|
103
|
-
-
|
|
148
|
+
- Updated dependencies
|
|
104
149
|
|
|
105
150
|
## 1.0.0
|
|
106
151
|
|
|
107
152
|
### Major Changes
|
|
108
153
|
|
|
109
|
-
-
|
|
154
|
+
- [#72386](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/72386)
|
|
155
|
+
[`0c52b0be40c1`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/0c52b0be40c1) -
|
|
156
|
+
This changeset exists to bump all editor plugins that currently don't have a major version. This
|
|
157
|
+
is to address an issue with Jira plugin consumption.
|
|
110
158
|
|
|
111
159
|
### Patch Changes
|
|
112
160
|
|
|
113
|
-
-
|
|
161
|
+
- Updated dependencies
|
|
114
162
|
|
|
115
163
|
## 0.3.3
|
|
116
164
|
|
|
117
165
|
### Patch Changes
|
|
118
166
|
|
|
119
|
-
-
|
|
167
|
+
- [#68572](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/68572)
|
|
168
|
+
[`15d407fe5143`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/15d407fe5143) -
|
|
169
|
+
Upgrading @atlaskit/editor-prosemirror dependency
|
|
120
170
|
|
|
121
171
|
## 0.3.2
|
|
122
172
|
|
|
123
173
|
### Patch Changes
|
|
124
174
|
|
|
125
|
-
-
|
|
175
|
+
- [#70152](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/70152)
|
|
176
|
+
[`53ed3673df28`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/53ed3673df28) -
|
|
177
|
+
Updating adf-schema version to 35.5.1
|
|
126
178
|
|
|
127
179
|
## 0.3.1
|
|
128
180
|
|
|
129
181
|
### Patch Changes
|
|
130
182
|
|
|
131
|
-
-
|
|
132
|
-
-
|
|
183
|
+
- [#68640](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/68640)
|
|
184
|
+
[`6a3ea210641a`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/6a3ea210641a) -
|
|
185
|
+
Create new context identifier plugin which contains the provider.
|
|
186
|
+
- Updated dependencies
|
|
133
187
|
|
|
134
188
|
## 0.3.0
|
|
135
189
|
|
|
136
190
|
### Minor Changes
|
|
137
191
|
|
|
138
|
-
-
|
|
192
|
+
- [#68790](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/68790)
|
|
193
|
+
[`c6d8affc52d1`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/c6d8affc52d1) -
|
|
194
|
+
Support maybeAdd plugins in usePreset. Add typing support for universal preset.
|
|
139
195
|
|
|
140
|
-
|
|
196
|
+
Now when using the editor API with the universal preset
|
|
141
197
|
|
|
142
198
|
### Patch Changes
|
|
143
199
|
|
|
144
|
-
-
|
|
145
|
-
-
|
|
200
|
+
- [#69144](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/69144)
|
|
201
|
+
[`10e7328aea8c`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/10e7328aea8c) -
|
|
202
|
+
[ux] ED-21844 Add fix for enter keybind behaviour for nested actions inside list and relevant
|
|
203
|
+
testcases
|
|
204
|
+
- Updated dependencies
|
|
146
205
|
|
|
147
206
|
## 0.2.16
|
|
148
207
|
|
|
149
208
|
### Patch Changes
|
|
150
209
|
|
|
151
|
-
-
|
|
210
|
+
- Updated dependencies
|
|
152
211
|
|
|
153
212
|
## 0.2.15
|
|
154
213
|
|
|
155
214
|
### Patch Changes
|
|
156
215
|
|
|
157
|
-
-
|
|
158
|
-
-
|
|
216
|
+
- [#66823](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/66823)
|
|
217
|
+
[`a190e988a6b1`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/a190e988a6b1) -
|
|
218
|
+
[ux] ED-21614: Correctly create action list inside a listItem using keyboard shortcut '[] '
|
|
219
|
+
- Updated dependencies
|
|
159
220
|
|
|
160
221
|
## 0.2.14
|
|
161
222
|
|
|
162
223
|
### Patch Changes
|
|
163
224
|
|
|
164
|
-
-
|
|
225
|
+
- [#65802](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/65802)
|
|
226
|
+
[`438ead060875`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/438ead060875) -
|
|
227
|
+
Ensure all editor plugins are marked as singletons
|
|
165
228
|
|
|
166
229
|
## 0.2.13
|
|
167
230
|
|
|
168
231
|
### Patch Changes
|
|
169
232
|
|
|
170
|
-
-
|
|
171
|
-
-
|
|
233
|
+
- [#65031](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/65031)
|
|
234
|
+
[`a00094111b5a`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/a00094111b5a) -
|
|
235
|
+
ED-21609 Update adf-schema to 35.3.0
|
|
236
|
+
- Updated dependencies
|
|
172
237
|
|
|
173
238
|
## 0.2.12
|
|
174
239
|
|
|
175
240
|
### Patch Changes
|
|
176
241
|
|
|
177
|
-
-
|
|
242
|
+
- Updated dependencies
|
|
178
243
|
|
|
179
244
|
## 0.2.11
|
|
180
245
|
|
|
181
246
|
### Patch Changes
|
|
182
247
|
|
|
183
|
-
-
|
|
248
|
+
- [#63286](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/63286)
|
|
249
|
+
[`8391b2f13d16`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8391b2f13d16) -
|
|
250
|
+
ED-21644 Add action item outside blockquote on trying to insert action in a list inside quote
|
|
184
251
|
|
|
185
252
|
## 0.2.10
|
|
186
253
|
|
|
187
254
|
### Patch Changes
|
|
188
255
|
|
|
189
|
-
-
|
|
256
|
+
- [#62165](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/62165)
|
|
257
|
+
[`b44ac0968d79`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/b44ac0968d79) -
|
|
258
|
+
[ED-21562] Bump @atlaskit/adf-schema to 35.2.0 for border mark update
|
|
190
259
|
|
|
191
260
|
## 0.2.9
|
|
192
261
|
|
|
193
262
|
### Patch Changes
|
|
194
263
|
|
|
195
|
-
-
|
|
264
|
+
- [#60808](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/60808)
|
|
265
|
+
[`f509a21be124`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/f509a21be124) -
|
|
266
|
+
ED-21506: @atlaskit/adf-schema upgraded to 35.1.1 to support renderer for MBE
|
|
196
267
|
|
|
197
268
|
## 0.2.8
|
|
198
269
|
|
|
199
270
|
### Patch Changes
|
|
200
271
|
|
|
201
|
-
-
|
|
272
|
+
- [#58246](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/58246)
|
|
273
|
+
[`a381b2599716`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/a381b2599716) -
|
|
274
|
+
ED-21371 Update adf-schema to 35.1.0
|
|
202
275
|
|
|
203
276
|
## 0.2.7
|
|
204
277
|
|
|
205
278
|
### Patch Changes
|
|
206
279
|
|
|
207
|
-
-
|
|
280
|
+
- Updated dependencies
|
|
208
281
|
|
|
209
282
|
## 0.2.6
|
|
210
283
|
|
|
211
284
|
### Patch Changes
|
|
212
285
|
|
|
213
|
-
-
|
|
286
|
+
- Updated dependencies
|
|
214
287
|
|
|
215
288
|
## 0.2.5
|
|
216
289
|
|
|
217
290
|
### Patch Changes
|
|
218
291
|
|
|
219
|
-
-
|
|
292
|
+
- [#59147](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/59147)
|
|
293
|
+
[`f12e489f23b0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/f12e489f23b0) -
|
|
294
|
+
Re-build and deploy packages to NPM to resolve React/Compiled not found error (HOT-106483).
|
|
220
295
|
|
|
221
296
|
## 0.2.4
|
|
222
297
|
|
|
223
298
|
### Patch Changes
|
|
224
299
|
|
|
225
|
-
-
|
|
300
|
+
- [#58763](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/58763)
|
|
301
|
+
[`0fdbd64522bf`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/0fdbd64522bf) -
|
|
302
|
+
update ADF schema
|
|
226
303
|
|
|
227
304
|
## 0.2.3
|
|
228
305
|
|
|
229
306
|
### Patch Changes
|
|
230
307
|
|
|
231
|
-
-
|
|
308
|
+
- [#56790](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/56790)
|
|
309
|
+
[`ff577a7969d4`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ff577a7969d4) -
|
|
310
|
+
ED-21266: Updated @atlaskit/adf-schema to 34.0.1
|
|
232
311
|
|
|
233
312
|
## 0.2.2
|
|
234
313
|
|
|
235
314
|
### Patch Changes
|
|
236
315
|
|
|
237
|
-
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
316
|
+
- [#43646](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/43646)
|
|
317
|
+
[`d43f8e9402f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d43f8e9402f) - Make
|
|
318
|
+
feature flags plugin optional in all plugins including:
|
|
319
|
+
|
|
320
|
+
- analytics
|
|
321
|
+
- base
|
|
322
|
+
- card
|
|
323
|
+
- code-block
|
|
324
|
+
- expand
|
|
325
|
+
- extension
|
|
326
|
+
- floating-toolbar
|
|
327
|
+
- hyperlink
|
|
328
|
+
- insert-block
|
|
329
|
+
- layout
|
|
330
|
+
- layout
|
|
331
|
+
- list
|
|
332
|
+
- media
|
|
333
|
+
- paste
|
|
334
|
+
- rule
|
|
335
|
+
- table
|
|
336
|
+
- tasks-and-decisions
|
|
337
|
+
|
|
338
|
+
We already treat it as optional in the plugins, so this is just ensuring that the plugin is not
|
|
339
|
+
mandatory to be added to the preset.
|
|
258
340
|
|
|
259
341
|
## 0.2.1
|
|
260
342
|
|
|
261
343
|
### Patch Changes
|
|
262
344
|
|
|
263
|
-
-
|
|
345
|
+
- [#43417](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/43417)
|
|
346
|
+
[`3f3c17f0273`](https://bitbucket.org/atlassian/atlassian-frontend/commits/3f3c17f0273) -
|
|
347
|
+
ED-20971 Upgrade adf-schema package to ^34.0.0
|
|
264
348
|
|
|
265
349
|
## 0.2.0
|
|
266
350
|
|
|
267
351
|
### Minor Changes
|
|
268
352
|
|
|
269
|
-
-
|
|
353
|
+
- [#43405](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/43405)
|
|
354
|
+
[`150827259db`](https://bitbucket.org/atlassian/atlassian-frontend/commits/150827259db) -
|
|
355
|
+
Extracting tasks and decisions code from editor-core to new plugin package.
|
|
270
356
|
|
|
271
357
|
### Patch Changes
|
|
272
358
|
|
|
273
|
-
-
|
|
359
|
+
- Updated dependencies
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import type { EventDispatcher } from '@atlaskit/editor-common/event-dispatcher';
|
|
2
|
-
import type {
|
|
2
|
+
import type { LegacyPortalProviderAPI } from '@atlaskit/editor-common/portal-provider';
|
|
3
|
+
import { type PortalProviderAPI } from '@atlaskit/editor-common/src/portal';
|
|
3
4
|
import type { ExtractInjectionAPI } from '@atlaskit/editor-common/types';
|
|
4
5
|
import type { Node as PMNode } from '@atlaskit/editor-prosemirror/model';
|
|
5
6
|
import type { EditorView, NodeView } from '@atlaskit/editor-prosemirror/view';
|
|
6
7
|
import type { TasksAndDecisionsPlugin } from '../types';
|
|
7
8
|
type getPosHandler = getPosHandlerNode | boolean;
|
|
8
9
|
type getPosHandlerNode = () => number | undefined;
|
|
9
|
-
export declare const decisionItemNodeView: (portalProviderAPI: PortalProviderAPI, eventDispatcher: EventDispatcher, api: ExtractInjectionAPI<TasksAndDecisionsPlugin> | undefined) => (node: PMNode, view: EditorView, getPos: getPosHandler) => NodeView;
|
|
10
|
+
export declare const decisionItemNodeView: (portalProviderAPI: LegacyPortalProviderAPI | PortalProviderAPI, eventDispatcher: EventDispatcher, api: ExtractInjectionAPI<TasksAndDecisionsPlugin> | undefined) => (node: PMNode, view: EditorView, getPos: getPosHandler) => NodeView;
|
|
10
11
|
export {};
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type { EventDispatcher } from '@atlaskit/editor-common/event-dispatcher';
|
|
2
|
-
import type {
|
|
2
|
+
import type { LegacyPortalProviderAPI } from '@atlaskit/editor-common/portal-provider';
|
|
3
3
|
import type { ProviderFactory } from '@atlaskit/editor-common/provider-factory';
|
|
4
|
+
import { type PortalProviderAPI } from '@atlaskit/editor-common/src/portal';
|
|
4
5
|
import type { ExtractInjectionAPI } from '@atlaskit/editor-common/types';
|
|
5
6
|
import type { Node as PMNode } from '@atlaskit/editor-prosemirror/model';
|
|
6
7
|
import type { EditorView, NodeView } from '@atlaskit/editor-prosemirror/view';
|
|
@@ -10,5 +11,5 @@ type getPosHandlerNode = () => number | undefined;
|
|
|
10
11
|
export interface Props {
|
|
11
12
|
providerFactory: ProviderFactory;
|
|
12
13
|
}
|
|
13
|
-
export declare function taskItemNodeViewFactory(portalProviderAPI: PortalProviderAPI, eventDispatcher: EventDispatcher, providerFactory: ProviderFactory, api: ExtractInjectionAPI<TasksAndDecisionsPlugin> | undefined): (node: PMNode, view: EditorView, getPos: getPosHandler) => NodeView;
|
|
14
|
+
export declare function taskItemNodeViewFactory(portalProviderAPI: LegacyPortalProviderAPI | PortalProviderAPI, eventDispatcher: EventDispatcher, providerFactory: ProviderFactory, api: ExtractInjectionAPI<TasksAndDecisionsPlugin> | undefined): (node: PMNode, view: EditorView, getPos: getPosHandler) => NodeView;
|
|
14
15
|
export {};
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import type { Dispatch, EventDispatcher } from '@atlaskit/editor-common/event-dispatcher';
|
|
2
|
-
import type {
|
|
2
|
+
import type { LegacyPortalProviderAPI } from '@atlaskit/editor-common/portal-provider';
|
|
3
3
|
import type { ProviderFactory } from '@atlaskit/editor-common/provider-factory';
|
|
4
4
|
import { SafePlugin } from '@atlaskit/editor-common/safe-plugin';
|
|
5
|
+
import { type PortalProviderAPI } from '@atlaskit/editor-common/src/portal';
|
|
5
6
|
import type { ExtractInjectionAPI } from '@atlaskit/editor-common/types';
|
|
6
7
|
import type { TasksAndDecisionsPlugin } from '../types';
|
|
7
|
-
export declare function createPlugin(portalProviderAPI: PortalProviderAPI, eventDispatcher: EventDispatcher, providerFactory: ProviderFactory, dispatch: Dispatch, api: ExtractInjectionAPI<TasksAndDecisionsPlugin> | undefined, useLongPressSelection?: boolean): SafePlugin<any>;
|
|
8
|
+
export declare function createPlugin(portalProviderAPI: LegacyPortalProviderAPI | PortalProviderAPI, eventDispatcher: EventDispatcher, providerFactory: ProviderFactory, dispatch: Dispatch, api: ExtractInjectionAPI<TasksAndDecisionsPlugin> | undefined, useLongPressSelection?: boolean): SafePlugin<any>;
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import type { EventDispatcher } from '@atlaskit/editor-common/event-dispatcher';
|
|
2
|
-
import type {
|
|
2
|
+
import type { LegacyPortalProviderAPI } from '@atlaskit/editor-common/portal-provider';
|
|
3
|
+
import { type PortalProviderAPI } from '@atlaskit/editor-common/src/portal';
|
|
3
4
|
import type { ExtractInjectionAPI } from '@atlaskit/editor-common/types';
|
|
4
5
|
import type { Node as PMNode } from '@atlaskit/editor-prosemirror/model';
|
|
5
6
|
import type { EditorView, NodeView } from '@atlaskit/editor-prosemirror/view';
|
|
6
7
|
import type { TasksAndDecisionsPlugin } from '../types';
|
|
7
8
|
type getPosHandler = getPosHandlerNode | boolean;
|
|
8
9
|
type getPosHandlerNode = () => number | undefined;
|
|
9
|
-
export declare const decisionItemNodeView: (portalProviderAPI: PortalProviderAPI, eventDispatcher: EventDispatcher, api: ExtractInjectionAPI<TasksAndDecisionsPlugin> | undefined) => (node: PMNode, view: EditorView, getPos: getPosHandler) => NodeView;
|
|
10
|
+
export declare const decisionItemNodeView: (portalProviderAPI: LegacyPortalProviderAPI | PortalProviderAPI, eventDispatcher: EventDispatcher, api: ExtractInjectionAPI<TasksAndDecisionsPlugin> | undefined) => (node: PMNode, view: EditorView, getPos: getPosHandler) => NodeView;
|
|
10
11
|
export {};
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type { EventDispatcher } from '@atlaskit/editor-common/event-dispatcher';
|
|
2
|
-
import type {
|
|
2
|
+
import type { LegacyPortalProviderAPI } from '@atlaskit/editor-common/portal-provider';
|
|
3
3
|
import type { ProviderFactory } from '@atlaskit/editor-common/provider-factory';
|
|
4
|
+
import { type PortalProviderAPI } from '@atlaskit/editor-common/src/portal';
|
|
4
5
|
import type { ExtractInjectionAPI } from '@atlaskit/editor-common/types';
|
|
5
6
|
import type { Node as PMNode } from '@atlaskit/editor-prosemirror/model';
|
|
6
7
|
import type { EditorView, NodeView } from '@atlaskit/editor-prosemirror/view';
|
|
@@ -10,5 +11,5 @@ type getPosHandlerNode = () => number | undefined;
|
|
|
10
11
|
export interface Props {
|
|
11
12
|
providerFactory: ProviderFactory;
|
|
12
13
|
}
|
|
13
|
-
export declare function taskItemNodeViewFactory(portalProviderAPI: PortalProviderAPI, eventDispatcher: EventDispatcher, providerFactory: ProviderFactory, api: ExtractInjectionAPI<TasksAndDecisionsPlugin> | undefined): (node: PMNode, view: EditorView, getPos: getPosHandler) => NodeView;
|
|
14
|
+
export declare function taskItemNodeViewFactory(portalProviderAPI: LegacyPortalProviderAPI | PortalProviderAPI, eventDispatcher: EventDispatcher, providerFactory: ProviderFactory, api: ExtractInjectionAPI<TasksAndDecisionsPlugin> | undefined): (node: PMNode, view: EditorView, getPos: getPosHandler) => NodeView;
|
|
14
15
|
export {};
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import type { Dispatch, EventDispatcher } from '@atlaskit/editor-common/event-dispatcher';
|
|
2
|
-
import type {
|
|
2
|
+
import type { LegacyPortalProviderAPI } from '@atlaskit/editor-common/portal-provider';
|
|
3
3
|
import type { ProviderFactory } from '@atlaskit/editor-common/provider-factory';
|
|
4
4
|
import { SafePlugin } from '@atlaskit/editor-common/safe-plugin';
|
|
5
|
+
import { type PortalProviderAPI } from '@atlaskit/editor-common/src/portal';
|
|
5
6
|
import type { ExtractInjectionAPI } from '@atlaskit/editor-common/types';
|
|
6
7
|
import type { TasksAndDecisionsPlugin } from '../types';
|
|
7
|
-
export declare function createPlugin(portalProviderAPI: PortalProviderAPI, eventDispatcher: EventDispatcher, providerFactory: ProviderFactory, dispatch: Dispatch, api: ExtractInjectionAPI<TasksAndDecisionsPlugin> | undefined, useLongPressSelection?: boolean): SafePlugin<any>;
|
|
8
|
+
export declare function createPlugin(portalProviderAPI: LegacyPortalProviderAPI | PortalProviderAPI, eventDispatcher: EventDispatcher, providerFactory: ProviderFactory, dispatch: Dispatch, api: ExtractInjectionAPI<TasksAndDecisionsPlugin> | undefined, useLongPressSelection?: boolean): SafePlugin<any>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-tasks-and-decisions",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.2.0",
|
|
4
4
|
"description": "Tasks and decisions plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -33,17 +33,17 @@
|
|
|
33
33
|
".": "./src/index.ts"
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@atlaskit/adf-schema": "^35.12.
|
|
36
|
+
"@atlaskit/adf-schema": "^35.12.2",
|
|
37
37
|
"@atlaskit/analytics-namespaced-context": "^6.9.0",
|
|
38
38
|
"@atlaskit/analytics-next": "^9.3.0",
|
|
39
|
-
"@atlaskit/editor-common": "^
|
|
39
|
+
"@atlaskit/editor-common": "^79.0.0",
|
|
40
40
|
"@atlaskit/editor-plugin-analytics": "^1.1.0",
|
|
41
41
|
"@atlaskit/editor-plugin-context-identifier": "^1.1.0",
|
|
42
42
|
"@atlaskit/editor-plugin-type-ahead": "^1.1.0",
|
|
43
43
|
"@atlaskit/editor-prosemirror": "4.0.0",
|
|
44
44
|
"@atlaskit/icon": "^22.1.0",
|
|
45
45
|
"@atlaskit/prosemirror-input-rules": "^3.1.0",
|
|
46
|
-
"@atlaskit/task-decision": "^17.
|
|
46
|
+
"@atlaskit/task-decision": "^17.10.0",
|
|
47
47
|
"@babel/runtime": "^7.0.0",
|
|
48
48
|
"@emotion/react": "^11.7.1"
|
|
49
49
|
},
|