@atlaskit/editor-plugin-list 3.3.3 → 3.3.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.eslintrc.js +12 -12
- package/CHANGELOG.md +288 -287
- package/LICENSE.md +6 -8
- package/dist/types/actions/merge-lists.d.ts +1 -1
- package/dist/types/pm-plugins/input-rules/create-list-input-rule.d.ts +1 -1
- package/dist/types/types.d.ts +1 -4
- package/dist/types-ts4.5/actions/merge-lists.d.ts +1 -1
- package/dist/types-ts4.5/pm-plugins/input-rules/create-list-input-rule.d.ts +1 -1
- package/package.json +2 -4
- package/report.api.md +32 -37
package/.eslintrc.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
module.exports = {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
2
|
+
rules: {
|
|
3
|
+
'@typescript-eslint/no-duplicate-imports': 'error',
|
|
4
|
+
'@typescript-eslint/no-explicit-any': 'error',
|
|
5
|
+
},
|
|
6
|
+
overrides: [
|
|
7
|
+
{
|
|
8
|
+
files: ['**/__tests__/**/*.{js,ts,tsx}', '**/examples/**/*.{js,ts,tsx}'],
|
|
9
|
+
rules: {
|
|
10
|
+
'@typescript-eslint/no-explicit-any': 'off',
|
|
11
|
+
},
|
|
12
|
+
},
|
|
13
|
+
],
|
|
14
14
|
};
|
package/CHANGELOG.md
CHANGED
|
@@ -1,644 +1,645 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-list
|
|
2
2
|
|
|
3
|
+
## 3.3.4
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
|
|
3
9
|
## 3.3.3
|
|
4
10
|
|
|
5
11
|
### Patch Changes
|
|
6
12
|
|
|
7
|
-
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
13
|
+
- [#104728](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/104728)
|
|
14
|
+
[`cbeeba0c2bf3`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/cbeeba0c2bf3) -
|
|
15
|
+
[ux] HOT-109442: turn off processNestedTaskListsInSameLevel() to prevent data loss (but brings
|
|
16
|
+
back ED-21943)
|
|
11
17
|
|
|
12
18
|
## 3.3.2
|
|
13
19
|
|
|
14
20
|
### Patch Changes
|
|
15
21
|
|
|
16
|
-
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
-
|
|
22
|
+
- [#102478](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/102478)
|
|
23
|
+
[`3378951608b0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/3378951608b0) -
|
|
24
|
+
[ED-23332] Update adf-schema package to 36.10.1
|
|
25
|
+
- Updated dependencies
|
|
20
26
|
|
|
21
27
|
## 3.3.1
|
|
22
28
|
|
|
23
29
|
### Patch Changes
|
|
24
30
|
|
|
25
|
-
-
|
|
26
|
-
|
|
27
|
-
|
|
31
|
+
- [#101524](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/101524)
|
|
32
|
+
[`4821570088e6`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/4821570088e6) -
|
|
33
|
+
ED-23362 Bump ADF schema to version 36.8.1 and add support for adf validation and transformation
|
|
28
34
|
|
|
29
35
|
## 3.3.0
|
|
30
36
|
|
|
31
37
|
### Minor Changes
|
|
32
38
|
|
|
33
|
-
-
|
|
34
|
-
|
|
35
|
-
|
|
39
|
+
- [#99579](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/99579)
|
|
40
|
+
[`f222af5687e9`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/f222af5687e9) -
|
|
41
|
+
Bump adf-schema to 36.3.0 and adf-schema-json to 1.14.0
|
|
36
42
|
|
|
37
43
|
### Patch Changes
|
|
38
44
|
|
|
39
|
-
-
|
|
45
|
+
- Updated dependencies
|
|
40
46
|
|
|
41
47
|
## 3.2.7
|
|
42
48
|
|
|
43
49
|
### Patch Changes
|
|
44
50
|
|
|
45
|
-
-
|
|
51
|
+
- Updated dependencies
|
|
46
52
|
|
|
47
53
|
## 3.2.6
|
|
48
54
|
|
|
49
55
|
### Patch Changes
|
|
50
56
|
|
|
51
|
-
-
|
|
52
|
-
|
|
53
|
-
|
|
57
|
+
- [#97599](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/97599)
|
|
58
|
+
[`32c3130b08fe`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/32c3130b08fe) -
|
|
59
|
+
[ED-22282] Bump adf-schema to 36.1.0
|
|
54
60
|
|
|
55
61
|
## 3.2.5
|
|
56
62
|
|
|
57
63
|
### Patch Changes
|
|
58
64
|
|
|
59
|
-
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
65
|
+
- [#97698](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/97698)
|
|
66
|
+
[`1c7b378c0d3b`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/1c7b378c0d3b) -
|
|
67
|
+
[HOT-108999] We had an incident where the cursor jumps back a character in table headers for any
|
|
68
|
+
language triggering composition on an empty line.This was fixed in a patch bump of
|
|
69
|
+
prosemirror-view. https://github.com/ProseMirror/prosemirror-view/compare/1.33.4...1.33.5
|
|
64
70
|
|
|
65
71
|
## 3.2.4
|
|
66
72
|
|
|
67
73
|
### Patch Changes
|
|
68
74
|
|
|
69
|
-
-
|
|
75
|
+
- Updated dependencies
|
|
70
76
|
|
|
71
77
|
## 3.2.3
|
|
72
78
|
|
|
73
79
|
### Patch Changes
|
|
74
80
|
|
|
75
|
-
-
|
|
76
|
-
|
|
77
|
-
|
|
81
|
+
- [#96237](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/96237)
|
|
82
|
+
[`0401e7b5a88e`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/0401e7b5a88e) -
|
|
83
|
+
[ED-23102] Bump ADF schema to version 35.12.2
|
|
78
84
|
|
|
79
85
|
## 3.2.2
|
|
80
86
|
|
|
81
87
|
### Patch Changes
|
|
82
88
|
|
|
83
|
-
-
|
|
84
|
-
|
|
85
|
-
|
|
89
|
+
- [#94901](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/94901)
|
|
90
|
+
[`da964fcdc828`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/da964fcdc828) -
|
|
91
|
+
[ED-23097] Bump ADF schema to version 35.12.1
|
|
86
92
|
|
|
87
93
|
## 3.2.1
|
|
88
94
|
|
|
89
95
|
### Patch Changes
|
|
90
96
|
|
|
91
|
-
-
|
|
92
|
-
|
|
93
|
-
|
|
97
|
+
- [#93689](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/93689)
|
|
98
|
+
[`5ba5d2b4a9ac`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/5ba5d2b4a9ac) -
|
|
99
|
+
Updating adf-schema version to 35.10.0
|
|
94
100
|
|
|
95
101
|
## 3.2.0
|
|
96
102
|
|
|
97
103
|
### Minor Changes
|
|
98
104
|
|
|
99
|
-
-
|
|
100
|
-
|
|
101
|
-
|
|
105
|
+
- [#91934](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/91934)
|
|
106
|
+
[`b76a78c6a199`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/b76a78c6a199) -
|
|
107
|
+
bumped editor-prosemirror version to 4.0.0
|
|
102
108
|
|
|
103
109
|
### Patch Changes
|
|
104
110
|
|
|
105
|
-
-
|
|
111
|
+
- Updated dependencies
|
|
106
112
|
|
|
107
113
|
## 3.1.18
|
|
108
114
|
|
|
109
115
|
### Patch Changes
|
|
110
116
|
|
|
111
|
-
-
|
|
112
|
-
|
|
113
|
-
|
|
117
|
+
- [#92426](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/92426)
|
|
118
|
+
[`32c76c7c225c`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/32c76c7c225c) -
|
|
119
|
+
Bump adf-schema to 35.9.2 to support table alignment options
|
|
114
120
|
|
|
115
121
|
## 3.1.17
|
|
116
122
|
|
|
117
123
|
### Patch Changes
|
|
118
124
|
|
|
119
|
-
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
-
|
|
125
|
+
- [#91106](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/91106)
|
|
126
|
+
[`b6ffa30186b9`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/b6ffa30186b9) -
|
|
127
|
+
Bump ADF-schema package to version 35.0.0
|
|
128
|
+
- Updated dependencies
|
|
123
129
|
|
|
124
130
|
## 3.1.16
|
|
125
131
|
|
|
126
132
|
### Patch Changes
|
|
127
133
|
|
|
128
|
-
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
134
|
+
- [#86724](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/86724)
|
|
135
|
+
[`718a9aa2424d`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/718a9aa2424d) -
|
|
136
|
+
[ED-22607] Remove references to maxFrames for multi bodied extensions and bump adf-schema from
|
|
137
|
+
35.7.0 to 35.8.0
|
|
132
138
|
|
|
133
139
|
## 3.1.15
|
|
134
140
|
|
|
135
141
|
### Patch Changes
|
|
136
142
|
|
|
137
|
-
-
|
|
138
|
-
|
|
139
|
-
|
|
143
|
+
- [#81777](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/81777)
|
|
144
|
+
[`c6d7a5378751`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/c6d7a5378751) -
|
|
145
|
+
Bump adf-schema to 35.7.0
|
|
140
146
|
|
|
141
147
|
## 3.1.14
|
|
142
148
|
|
|
143
149
|
### Patch Changes
|
|
144
150
|
|
|
145
|
-
-
|
|
146
|
-
|
|
147
|
-
|
|
151
|
+
- [#83116](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/83116)
|
|
152
|
+
[`8d4e99057fe0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8d4e99057fe0) -
|
|
153
|
+
Upgrade Typescript from `4.9.5` to `5.4.2`
|
|
148
154
|
|
|
149
155
|
## 3.1.13
|
|
150
156
|
|
|
151
157
|
### Patch Changes
|
|
152
158
|
|
|
153
|
-
-
|
|
154
|
-
|
|
155
|
-
|
|
159
|
+
- [#80679](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/80679)
|
|
160
|
+
[`104eb9443b7e`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/104eb9443b7e) -
|
|
161
|
+
ED-22553 Updating adf-schema version to 35.6.0
|
|
156
162
|
|
|
157
163
|
## 3.1.12
|
|
158
164
|
|
|
159
165
|
### Patch Changes
|
|
160
166
|
|
|
161
|
-
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
-
|
|
167
|
+
- [#78224](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/78224)
|
|
168
|
+
[`6b4c9dd4ad34`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/6b4c9dd4ad34) -
|
|
169
|
+
ED-22219: adf-schema updated to 35.5.2
|
|
170
|
+
- Updated dependencies
|
|
165
171
|
|
|
166
172
|
## 3.1.11
|
|
167
173
|
|
|
168
174
|
### Patch Changes
|
|
169
175
|
|
|
170
|
-
-
|
|
171
|
-
|
|
172
|
-
|
|
176
|
+
- [#75482](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/75482)
|
|
177
|
+
[`18b5a6fb910a`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/18b5a6fb910a) - #
|
|
178
|
+
MAJOR CHANGE to `@atlaskit/prosemirror-input-rules` package.
|
|
173
179
|
|
|
174
|
-
|
|
180
|
+
## WHY?
|
|
175
181
|
|
|
176
|
-
|
|
182
|
+
Removing editor-common dependencies from prosemirror-input-rules package.
|
|
177
183
|
|
|
178
|
-
|
|
184
|
+
This makes it easier for editor updates because it simplifies our dependency graph.
|
|
179
185
|
|
|
180
|
-
|
|
186
|
+
## WHAT and HOW?
|
|
181
187
|
|
|
182
|
-
|
|
183
|
-
|
|
188
|
+
These are no longer available via `@atlaskit/prosemirror-input-rules` but are available from
|
|
189
|
+
`@atlaskit/editor-common/types`:
|
|
184
190
|
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
191
|
+
- InputRuleWrapper
|
|
192
|
+
- InputRuleHandler
|
|
193
|
+
- OnHandlerApply
|
|
194
|
+
- createRule
|
|
189
195
|
|
|
190
|
-
|
|
191
|
-
|
|
196
|
+
These have changed from a `SafePlugin` to a `SafePluginSpec`. In order to update your code you
|
|
197
|
+
need to instantiate a `SafePlugin` (ie. `new SafePlugin(createPlugin( ... ))`).
|
|
192
198
|
|
|
193
|
-
|
|
199
|
+
`SafePlugin` exists in `@atlaskit/editor-common/safe-plugin`.
|
|
194
200
|
|
|
195
|
-
|
|
196
|
-
|
|
201
|
+
- createPlugin
|
|
202
|
+
- createInputRulePlugin
|
|
197
203
|
|
|
198
|
-
-
|
|
204
|
+
- Updated dependencies
|
|
199
205
|
|
|
200
206
|
## 3.1.10
|
|
201
207
|
|
|
202
208
|
### Patch Changes
|
|
203
209
|
|
|
204
|
-
-
|
|
210
|
+
- Updated dependencies
|
|
205
211
|
|
|
206
212
|
## 3.1.9
|
|
207
213
|
|
|
208
214
|
### Patch Changes
|
|
209
215
|
|
|
210
|
-
-
|
|
216
|
+
- Updated dependencies
|
|
211
217
|
|
|
212
218
|
## 3.1.8
|
|
213
219
|
|
|
214
220
|
### Patch Changes
|
|
215
221
|
|
|
216
|
-
-
|
|
217
|
-
|
|
218
|
-
|
|
222
|
+
- [#68572](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/68572)
|
|
223
|
+
[`15d407fe5143`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/15d407fe5143) -
|
|
224
|
+
Upgrading @atlaskit/editor-prosemirror dependency
|
|
219
225
|
|
|
220
226
|
## 3.1.7
|
|
221
227
|
|
|
222
228
|
### Patch Changes
|
|
223
229
|
|
|
224
|
-
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
230
|
+
- [#71503](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/71503)
|
|
231
|
+
[`2e81432d605a`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/2e81432d605a) -
|
|
232
|
+
[ux] ED-21943 Fixed outdent behaviour when multiple lists at same level including TaskList, and
|
|
233
|
+
add relevant testcases.
|
|
228
234
|
|
|
229
235
|
## 3.1.6
|
|
230
236
|
|
|
231
237
|
### Patch Changes
|
|
232
238
|
|
|
233
|
-
-
|
|
234
|
-
|
|
235
|
-
|
|
239
|
+
- [#70152](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/70152)
|
|
240
|
+
[`53ed3673df28`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/53ed3673df28) -
|
|
241
|
+
Updating adf-schema version to 35.5.1
|
|
236
242
|
|
|
237
243
|
## 3.1.5
|
|
238
244
|
|
|
239
245
|
### Patch Changes
|
|
240
246
|
|
|
241
|
-
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
-
|
|
247
|
+
- [#67576](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/67576)
|
|
248
|
+
[`c03238aac8d2`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/c03238aac8d2) -
|
|
249
|
+
Export some plugin types to allow fix the build type
|
|
250
|
+
- Updated dependencies
|
|
245
251
|
|
|
246
252
|
## 3.1.4
|
|
247
253
|
|
|
248
254
|
### Patch Changes
|
|
249
255
|
|
|
250
|
-
-
|
|
251
|
-
|
|
252
|
-
|
|
256
|
+
- [#67238](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/67238)
|
|
257
|
+
[`40533849b2ec`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/40533849b2ec) -
|
|
258
|
+
[ED-21835] Change EditorAPI type to always union with undefined
|
|
253
259
|
|
|
254
260
|
## 3.1.3
|
|
255
261
|
|
|
256
262
|
### Patch Changes
|
|
257
263
|
|
|
258
|
-
-
|
|
259
|
-
|
|
260
|
-
|
|
264
|
+
- [#66804](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/66804)
|
|
265
|
+
[`107c6d15dda7`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/107c6d15dda7) -
|
|
266
|
+
ED-21802 Disable insert inside nested task list through toolbar and keybinding.
|
|
261
267
|
|
|
262
268
|
## 3.1.2
|
|
263
269
|
|
|
264
270
|
### Patch Changes
|
|
265
271
|
|
|
266
|
-
-
|
|
267
|
-
|
|
268
|
-
|
|
272
|
+
- [#65603](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/65603)
|
|
273
|
+
[`ac8d4b09e18e`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/ac8d4b09e18e) -
|
|
274
|
+
ED-21609 Node nesting: Use the new nodespec for list and panel when respective FF's are enabled
|
|
269
275
|
|
|
270
276
|
## 3.1.1
|
|
271
277
|
|
|
272
278
|
### Patch Changes
|
|
273
279
|
|
|
274
|
-
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
-
|
|
280
|
+
- [#65031](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/65031)
|
|
281
|
+
[`a00094111b5a`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/a00094111b5a) -
|
|
282
|
+
ED-21609 Update adf-schema to 35.3.0
|
|
283
|
+
- Updated dependencies
|
|
278
284
|
|
|
279
285
|
## 3.1.0
|
|
280
286
|
|
|
281
287
|
### Minor Changes
|
|
282
288
|
|
|
283
|
-
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
289
|
+
- [#63553](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/63553)
|
|
290
|
+
[`e022e5359b7a`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/e022e5359b7a) -
|
|
291
|
+
[ux] ED-21352: Support more edge cases for ordered list auto-join improvements. These improvements
|
|
292
|
+
are guarded behind platform.editor.ordered-list-auto-join-improvements_mrlv5.
|
|
287
293
|
|
|
288
294
|
### Patch Changes
|
|
289
295
|
|
|
290
|
-
-
|
|
296
|
+
- Updated dependencies
|
|
291
297
|
|
|
292
298
|
## 3.0.1
|
|
293
299
|
|
|
294
300
|
### Patch Changes
|
|
295
301
|
|
|
296
|
-
-
|
|
297
|
-
|
|
298
|
-
|
|
302
|
+
- [#62165](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/62165)
|
|
303
|
+
[`b44ac0968d79`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/b44ac0968d79) -
|
|
304
|
+
[ED-21562] Bump @atlaskit/adf-schema to 35.2.0 for border mark update
|
|
299
305
|
|
|
300
306
|
## 3.0.0
|
|
301
307
|
|
|
302
308
|
### Major Changes
|
|
303
309
|
|
|
304
|
-
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
310
|
+
- [#59319](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/59319)
|
|
311
|
+
[`d2e34e936bf2`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/d2e34e936bf2) -
|
|
312
|
+
[ED-15859] Clean up restartNumberedLists feature flag and set this feature as the default
|
|
313
|
+
behaviour for ordered lists. Currently this feature is only rolled out in Confluence so this
|
|
314
|
+
change will roll it out to all other products which adopt this version.
|
|
309
315
|
|
|
310
316
|
## 2.0.0
|
|
311
317
|
|
|
312
318
|
### Major Changes
|
|
313
319
|
|
|
314
|
-
-
|
|
315
|
-
|
|
316
|
-
|
|
320
|
+
- [#61903](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/61903)
|
|
321
|
+
[`fb2eb9474b05`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/fb2eb9474b05) -
|
|
322
|
+
WHAT? Removing `toggleList` from public exports.
|
|
317
323
|
|
|
318
|
-
|
|
324
|
+
WHY? It is an antipattern to export utilities from a plugin package.
|
|
319
325
|
|
|
320
|
-
|
|
326
|
+
The preferred approach is using the editor API.
|
|
321
327
|
|
|
322
|
-
|
|
323
|
-
|
|
328
|
+
HOW DO I WORKAROUND IT? This can be accessed via the commands of the list plugin using the editor
|
|
329
|
+
API.
|
|
324
330
|
|
|
325
|
-
|
|
331
|
+
Example to toggle bullet list:
|
|
326
332
|
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
);
|
|
331
|
-
```
|
|
333
|
+
```ts
|
|
334
|
+
editorAPI?.core.actions.execute(editorAPI?.list.commands.toggleBulletList(INPUT_METHOD.TOOLBAR));
|
|
335
|
+
```
|
|
332
336
|
|
|
333
|
-
|
|
337
|
+
Example to toggle ordered list:
|
|
334
338
|
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
);
|
|
339
|
-
```
|
|
339
|
+
```ts
|
|
340
|
+
editorAPI?.core.actions.execute(editorAPI?.list.commands.toggleOrderedList(INPUT_METHOD.TOOLBAR));
|
|
341
|
+
```
|
|
340
342
|
|
|
341
343
|
## 1.4.7
|
|
342
344
|
|
|
343
345
|
### Patch Changes
|
|
344
346
|
|
|
345
|
-
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
-
|
|
347
|
+
- [#60973](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/60973)
|
|
348
|
+
[`0d9d4d239318`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/0d9d4d239318) -
|
|
349
|
+
[ux] [ED-21530] Fix bug in list styling where unordered and ordered lists have different left
|
|
350
|
+
padding when restart numbered lists feature flag is enabled
|
|
351
|
+
- Updated dependencies
|
|
350
352
|
|
|
351
353
|
## 1.4.6
|
|
352
354
|
|
|
353
355
|
### Patch Changes
|
|
354
356
|
|
|
355
|
-
-
|
|
356
|
-
|
|
357
|
-
|
|
357
|
+
- [#60808](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/60808)
|
|
358
|
+
[`f509a21be124`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/f509a21be124) -
|
|
359
|
+
ED-21506: @atlaskit/adf-schema upgraded to 35.1.1 to support renderer for MBE
|
|
358
360
|
|
|
359
361
|
## 1.4.5
|
|
360
362
|
|
|
361
363
|
### Patch Changes
|
|
362
364
|
|
|
363
|
-
-
|
|
364
|
-
|
|
365
|
-
|
|
365
|
+
- [#58246](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/58246)
|
|
366
|
+
[`a381b2599716`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/a381b2599716) -
|
|
367
|
+
ED-21371 Update adf-schema to 35.1.0
|
|
366
368
|
|
|
367
369
|
## 1.4.4
|
|
368
370
|
|
|
369
371
|
### Patch Changes
|
|
370
372
|
|
|
371
|
-
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
373
|
+
- [#59963](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/59963)
|
|
374
|
+
[`37ba1559975c`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/37ba1559975c) -
|
|
375
|
+
[ux] [ED-21459] Fix bug in restart numbered lists where additional list spacing for numbers above
|
|
376
|
+
100 is added to both ordered lists and unordered lists, where it should just apply to ordered
|
|
377
|
+
lists.
|
|
376
378
|
|
|
377
379
|
## 1.4.3
|
|
378
380
|
|
|
379
381
|
### Patch Changes
|
|
380
382
|
|
|
381
|
-
-
|
|
383
|
+
- Updated dependencies
|
|
382
384
|
|
|
383
385
|
## 1.4.2
|
|
384
386
|
|
|
385
387
|
### Patch Changes
|
|
386
388
|
|
|
387
|
-
-
|
|
388
|
-
|
|
389
|
-
|
|
389
|
+
- [#59147](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/59147)
|
|
390
|
+
[`f12e489f23b0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/f12e489f23b0) -
|
|
391
|
+
Re-build and deploy packages to NPM to resolve React/Compiled not found error (HOT-106483).
|
|
390
392
|
|
|
391
393
|
## 1.4.1
|
|
392
394
|
|
|
393
395
|
### Patch Changes
|
|
394
396
|
|
|
395
|
-
-
|
|
396
|
-
|
|
397
|
-
|
|
397
|
+
- [#58763](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/58763)
|
|
398
|
+
[`0fdbd64522bf`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/0fdbd64522bf) -
|
|
399
|
+
update ADF schema
|
|
398
400
|
|
|
399
401
|
## 1.4.0
|
|
400
402
|
|
|
401
403
|
### Minor Changes
|
|
402
404
|
|
|
403
|
-
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
405
|
+
- [#56675](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/56675)
|
|
406
|
+
[`772ad8f687be`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/772ad8f687be) -
|
|
407
|
+
[ux] [ED-20249] If `platform.editor.ordered-list-auto-join-improvements_mrlv5`` is enabled only
|
|
408
|
+
auto-join lists together if the order numbers match up.
|
|
407
409
|
|
|
408
|
-
|
|
410
|
+
Eg.
|
|
409
411
|
|
|
410
|
-
|
|
412
|
+
1. A list item
|
|
411
413
|
|
|
412
|
-
|
|
414
|
+
-
|
|
413
415
|
|
|
414
|
-
|
|
416
|
+
50. Another list item
|
|
415
417
|
|
|
416
|
-
|
|
418
|
+
Should NOT auto join to be 1 & 2 in a single list however...
|
|
417
419
|
|
|
418
|
-
|
|
420
|
+
49. A list item
|
|
419
421
|
|
|
420
|
-
|
|
422
|
+
-
|
|
421
423
|
|
|
422
|
-
|
|
424
|
+
50. Another list item
|
|
423
425
|
|
|
424
|
-
|
|
426
|
+
Should join to be 49 & 50 in a single list.
|
|
425
427
|
|
|
426
|
-
|
|
428
|
+
This also only applies when the `restartNumberedLists` feature flag is enabled.
|
|
427
429
|
|
|
428
430
|
## 1.3.7
|
|
429
431
|
|
|
430
432
|
### Patch Changes
|
|
431
433
|
|
|
432
|
-
-
|
|
433
|
-
|
|
434
|
-
|
|
434
|
+
- [#56790](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/56790)
|
|
435
|
+
[`ff577a7969d4`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ff577a7969d4) -
|
|
436
|
+
ED-21266: Updated @atlaskit/adf-schema to 34.0.1
|
|
435
437
|
|
|
436
438
|
## 1.3.6
|
|
437
439
|
|
|
438
440
|
### Patch Changes
|
|
439
441
|
|
|
440
|
-
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
442
|
+
- [#43646](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/43646)
|
|
443
|
+
[`d43f8e9402f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d43f8e9402f) - Make
|
|
444
|
+
feature flags plugin optional in all plugins including:
|
|
445
|
+
|
|
446
|
+
- analytics
|
|
447
|
+
- base
|
|
448
|
+
- card
|
|
449
|
+
- code-block
|
|
450
|
+
- expand
|
|
451
|
+
- extension
|
|
452
|
+
- floating-toolbar
|
|
453
|
+
- hyperlink
|
|
454
|
+
- insert-block
|
|
455
|
+
- layout
|
|
456
|
+
- layout
|
|
457
|
+
- list
|
|
458
|
+
- media
|
|
459
|
+
- paste
|
|
460
|
+
- rule
|
|
461
|
+
- table
|
|
462
|
+
- tasks-and-decisions
|
|
463
|
+
|
|
464
|
+
We already treat it as optional in the plugins, so this is just ensuring that the plugin is not
|
|
465
|
+
mandatory to be added to the preset.
|
|
464
466
|
|
|
465
467
|
## 1.3.5
|
|
466
468
|
|
|
467
469
|
### Patch Changes
|
|
468
470
|
|
|
469
|
-
-
|
|
470
|
-
|
|
471
|
-
|
|
471
|
+
- [#43417](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/43417)
|
|
472
|
+
[`3f3c17f0273`](https://bitbucket.org/atlassian/atlassian-frontend/commits/3f3c17f0273) - ED-20971
|
|
473
|
+
Upgrade adf-schema package to ^34.0.0
|
|
472
474
|
|
|
473
475
|
## 1.3.4
|
|
474
476
|
|
|
475
477
|
### Patch Changes
|
|
476
478
|
|
|
477
|
-
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
-
|
|
479
|
+
- [#43379](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/43379)
|
|
480
|
+
[`482c025520d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/482c025520d) - ED-20763
|
|
481
|
+
Upgrade ADF schema version to 33.2.3 for MBE nodes.
|
|
482
|
+
- Updated dependencies
|
|
481
483
|
|
|
482
484
|
## 1.3.3
|
|
483
485
|
|
|
484
486
|
### Patch Changes
|
|
485
487
|
|
|
486
|
-
-
|
|
488
|
+
- Updated dependencies
|
|
487
489
|
|
|
488
490
|
## 1.3.2
|
|
489
491
|
|
|
490
492
|
### Patch Changes
|
|
491
493
|
|
|
492
|
-
-
|
|
493
|
-
|
|
494
|
-
|
|
494
|
+
- [#39749](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/39749)
|
|
495
|
+
[`e6b69f455c3`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e6b69f455c3) - Connect
|
|
496
|
+
yarn changeset to packages, upgrade adf-schema
|
|
495
497
|
|
|
496
498
|
## 1.3.1
|
|
497
499
|
|
|
498
500
|
### Patch Changes
|
|
499
501
|
|
|
500
|
-
-
|
|
502
|
+
- Updated dependencies
|
|
501
503
|
|
|
502
504
|
## 1.3.0
|
|
503
505
|
|
|
504
506
|
### Minor Changes
|
|
505
507
|
|
|
506
|
-
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
508
|
+
- [#40238](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/40238)
|
|
509
|
+
[`39ff0b0788c`](https://bitbucket.org/atlassian/atlassian-frontend/commits/39ff0b0788c) - [ux]
|
|
510
|
+
[ED-19466] Solve bug where toggling off a bullet list when the list item contained text and a wrap
|
|
511
|
+
(left or right) media node left the media node behind in the list and then joining the paragraph
|
|
512
|
+
back to the list caused a position error.
|
|
511
513
|
|
|
512
|
-
|
|
514
|
+
Also export toggleList function so it can be used in external tests.
|
|
513
515
|
|
|
514
516
|
## 1.2.4
|
|
515
517
|
|
|
516
518
|
### Patch Changes
|
|
517
519
|
|
|
518
|
-
-
|
|
519
|
-
|
|
520
|
-
|
|
520
|
+
- [#39984](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/39984)
|
|
521
|
+
[`37c62369dae`](https://bitbucket.org/atlassian/atlassian-frontend/commits/37c62369dae) - NO-ISSUE
|
|
522
|
+
Import doc builder types from editor-common
|
|
521
523
|
|
|
522
524
|
## 1.2.3
|
|
523
525
|
|
|
524
526
|
### Patch Changes
|
|
525
527
|
|
|
526
|
-
-
|
|
528
|
+
- Updated dependencies
|
|
527
529
|
|
|
528
530
|
## 1.2.2
|
|
529
531
|
|
|
530
532
|
### Patch Changes
|
|
531
533
|
|
|
532
|
-
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
-
|
|
536
|
-
|
|
534
|
+
- [#39481](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/39481)
|
|
535
|
+
[`aeb5c9a01e8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/aeb5c9a01e8) - Delete
|
|
536
|
+
adf-schema from AFE and rely on npm package for adf-schema
|
|
537
|
+
- [`4b4dcfe0bba`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4b4dcfe0bba) - Delete
|
|
538
|
+
adf-schema, use published version
|
|
537
539
|
|
|
538
540
|
## 1.2.1
|
|
539
541
|
|
|
540
542
|
### Patch Changes
|
|
541
543
|
|
|
542
|
-
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
544
|
+
- [#39304](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/39304)
|
|
545
|
+
[`6acf9830b36`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6acf9830b36) - Update
|
|
546
|
+
feature flags plugin (@atlaskit/editor-plugin-feature-flags) to use a named export rather than
|
|
547
|
+
default export to match other plugins.
|
|
546
548
|
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
549
|
+
```ts
|
|
550
|
+
// Before
|
|
551
|
+
import featureFlagsPlugin from '@atlaskit/editor-plugin-feature-flags';
|
|
550
552
|
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
553
|
+
// After
|
|
554
|
+
import { featureFlagsPlugin } from '@atlaskit/editor-plugin-feature-flags';
|
|
555
|
+
```
|
|
554
556
|
|
|
555
|
-
-
|
|
557
|
+
- Updated dependencies
|
|
556
558
|
|
|
557
559
|
## 1.2.0
|
|
558
560
|
|
|
559
561
|
### Minor Changes
|
|
560
562
|
|
|
561
|
-
-
|
|
562
|
-
|
|
563
|
-
|
|
563
|
+
- [#39325](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/39325)
|
|
564
|
+
[`ad3c5c21079`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ad3c5c21079) - Updating
|
|
565
|
+
all plugins with minor version to correct issue with semver.
|
|
564
566
|
|
|
565
567
|
### Patch Changes
|
|
566
568
|
|
|
567
|
-
-
|
|
569
|
+
- Updated dependencies
|
|
568
570
|
|
|
569
571
|
## 1.1.3
|
|
570
572
|
|
|
571
573
|
### Patch Changes
|
|
572
574
|
|
|
573
|
-
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
`NextEditorPlugin`.
|
|
575
|
+
- [#39010](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/39010)
|
|
576
|
+
[`8467bdcdf4f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8467bdcdf4f) - Removing
|
|
577
|
+
`dependencies` prop from PluginInjectionAPI and changing signature of `NextEditorPlugin`.
|
|
577
578
|
|
|
578
|
-
|
|
579
|
+
Previously a `NextEditorPlugin` would be consumed as so:
|
|
579
580
|
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
581
|
+
```ts
|
|
582
|
+
const plugin: NextEditorPlugin< ... > = (config, api) => {
|
|
583
|
+
// Can use api like so:
|
|
584
|
+
api.dependencies.core.actions.execute( ... )
|
|
585
|
+
return { ... }
|
|
586
|
+
}
|
|
587
|
+
```
|
|
587
588
|
|
|
588
|
-
|
|
589
|
-
|
|
589
|
+
Now these have become named parameters like so and the `pluginInjectionAPI` is used without the
|
|
590
|
+
`dependencies` prop:
|
|
590
591
|
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
592
|
+
```ts
|
|
593
|
+
const plugin: NextEditorPlugin< ... > = ({ config, api }) => {
|
|
594
|
+
// Can use api like so:
|
|
595
|
+
api.core.actions.execute( ... )
|
|
596
|
+
return { ... }
|
|
597
|
+
}
|
|
598
|
+
```
|
|
598
599
|
|
|
599
|
-
-
|
|
600
|
+
- Updated dependencies
|
|
600
601
|
|
|
601
602
|
## 1.1.2
|
|
602
603
|
|
|
603
604
|
### Patch Changes
|
|
604
605
|
|
|
605
|
-
-
|
|
606
|
-
|
|
607
|
-
|
|
606
|
+
- [#39133](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/39133)
|
|
607
|
+
[`67971a65d80`](https://bitbucket.org/atlassian/atlassian-frontend/commits/67971a65d80) - use
|
|
608
|
+
fixed version for adf-schema
|
|
608
609
|
|
|
609
610
|
## 1.1.1
|
|
610
611
|
|
|
611
612
|
### Patch Changes
|
|
612
613
|
|
|
613
|
-
-
|
|
614
|
-
|
|
615
|
-
|
|
614
|
+
- [#39177](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/39177)
|
|
615
|
+
[`24e27147cbd`](https://bitbucket.org/atlassian/atlassian-frontend/commits/24e27147cbd) - Added
|
|
616
|
+
atlaskit docs to all existing plugins.
|
|
616
617
|
|
|
617
618
|
## 1.1.0
|
|
618
619
|
|
|
619
620
|
### Minor Changes
|
|
620
621
|
|
|
621
|
-
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
622
|
+
- [#39023](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/39023)
|
|
623
|
+
[`4795a87a349`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4795a87a349) -
|
|
624
|
+
Migrating some actions of `editor-plugin-list` to commands. Adding sharedState for
|
|
625
|
+
`editor-plugin-text-formatting`.
|
|
625
626
|
|
|
626
627
|
## 1.0.0
|
|
627
628
|
|
|
628
629
|
### Major Changes
|
|
629
630
|
|
|
630
|
-
-
|
|
631
|
-
|
|
632
|
-
|
|
631
|
+
- [#38881](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/38881)
|
|
632
|
+
[`8e9c21af71d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8e9c21af71d) -
|
|
633
|
+
Extracting list plugin code from editor-core to @atlaskit/editor-plugin-list.
|
|
633
634
|
|
|
634
635
|
### Patch Changes
|
|
635
636
|
|
|
636
|
-
-
|
|
637
|
+
- Updated dependencies
|
|
637
638
|
|
|
638
639
|
## 0.2.0
|
|
639
640
|
|
|
640
641
|
### Minor Changes
|
|
641
642
|
|
|
642
|
-
-
|
|
643
|
-
|
|
644
|
-
|
|
643
|
+
- [#38491](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/38491)
|
|
644
|
+
[`5d6ec9ac49c`](https://bitbucket.org/atlassian/atlassian-frontend/commits/5d6ec9ac49c) -
|
|
645
|
+
ED-19330 - decouple list plugin from editor-core
|
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.
|
|
@@ -3,5 +3,5 @@ type MergeNextListAtPositionProps = {
|
|
|
3
3
|
listPosition: number;
|
|
4
4
|
tr: Transaction;
|
|
5
5
|
};
|
|
6
|
-
export declare function mergeNextListAtPosition({ tr, listPosition
|
|
6
|
+
export declare function mergeNextListAtPosition({ tr, listPosition }: MergeNextListAtPositionProps): void;
|
|
7
7
|
export {};
|
|
@@ -5,5 +5,5 @@ type Props = {
|
|
|
5
5
|
expression: RegExp;
|
|
6
6
|
editorAnalyticsApi: EditorAnalyticsAPI | undefined;
|
|
7
7
|
};
|
|
8
|
-
export declare function createRuleForListType({ listType, expression, editorAnalyticsApi
|
|
8
|
+
export declare function createRuleForListType({ listType, expression, editorAnalyticsApi }: Props): import("@atlaskit/editor-common/types").InputRuleWrapper;
|
|
9
9
|
export {};
|
package/dist/types/types.d.ts
CHANGED
|
@@ -21,10 +21,7 @@ export interface ListState {
|
|
|
21
21
|
decorationSet: DecorationSet;
|
|
22
22
|
}
|
|
23
23
|
export type ListPlugin = NextEditorPlugin<'list', {
|
|
24
|
-
dependencies: [
|
|
25
|
-
OptionalPlugin<FeatureFlagsPlugin>,
|
|
26
|
-
OptionalPlugin<AnalyticsPlugin>
|
|
27
|
-
];
|
|
24
|
+
dependencies: [OptionalPlugin<FeatureFlagsPlugin>, OptionalPlugin<AnalyticsPlugin>];
|
|
28
25
|
actions: {
|
|
29
26
|
isInsideListItem: IsInsideListItem;
|
|
30
27
|
findRootParentListNode: FindRootParentListNode;
|
|
@@ -3,5 +3,5 @@ type MergeNextListAtPositionProps = {
|
|
|
3
3
|
listPosition: number;
|
|
4
4
|
tr: Transaction;
|
|
5
5
|
};
|
|
6
|
-
export declare function mergeNextListAtPosition({ tr, listPosition
|
|
6
|
+
export declare function mergeNextListAtPosition({ tr, listPosition }: MergeNextListAtPositionProps): void;
|
|
7
7
|
export {};
|
|
@@ -5,5 +5,5 @@ type Props = {
|
|
|
5
5
|
expression: RegExp;
|
|
6
6
|
editorAnalyticsApi: EditorAnalyticsAPI | undefined;
|
|
7
7
|
};
|
|
8
|
-
export declare function createRuleForListType({ listType, expression, editorAnalyticsApi
|
|
8
|
+
export declare function createRuleForListType({ listType, expression, editorAnalyticsApi }: Props): import("@atlaskit/editor-common/types").InputRuleWrapper;
|
|
9
9
|
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-list",
|
|
3
|
-
"version": "3.3.
|
|
3
|
+
"version": "3.3.4",
|
|
4
4
|
"description": "List plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
35
|
"@atlaskit/adf-schema": "^36.10.7",
|
|
36
|
-
"@atlaskit/editor-common": "^
|
|
36
|
+
"@atlaskit/editor-common": "^82.0.0",
|
|
37
37
|
"@atlaskit/editor-plugin-analytics": "^1.2.0",
|
|
38
38
|
"@atlaskit/editor-plugin-feature-flags": "^1.1.0",
|
|
39
39
|
"@atlaskit/editor-prosemirror": "4.0.1",
|
|
@@ -46,7 +46,6 @@
|
|
|
46
46
|
"react-intl-next": "npm:react-intl@^5.18.1"
|
|
47
47
|
},
|
|
48
48
|
"devDependencies": {
|
|
49
|
-
"@atlassian/atlassian-frontend-prettier-config-1.0.0": "npm:@atlassian/atlassian-frontend-prettier-config@1.0.0",
|
|
50
49
|
"typescript": "~5.4.2"
|
|
51
50
|
},
|
|
52
51
|
"techstack": {
|
|
@@ -82,7 +81,6 @@
|
|
|
82
81
|
]
|
|
83
82
|
}
|
|
84
83
|
},
|
|
85
|
-
"prettier": "@atlassian/atlassian-frontend-prettier-config-1.0.0",
|
|
86
84
|
"stricter": {
|
|
87
85
|
"no-unused-dependencies": {
|
|
88
86
|
"checkDevDependencies": true
|
package/report.api.md
CHANGED
|
@@ -2,7 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
## API Report File for "@atlaskit/editor-plugin-list"
|
|
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
|
|
@@ -44,25 +45,22 @@ type IsInsideListItem = (tr: Transaction) => boolean;
|
|
|
44
45
|
|
|
45
46
|
// @public (undocumented)
|
|
46
47
|
export type ListPlugin = NextEditorPlugin<
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
};
|
|
64
|
-
sharedState: ListState | undefined;
|
|
65
|
-
}
|
|
48
|
+
'list',
|
|
49
|
+
{
|
|
50
|
+
pluginConfiguration: ListPluginOptions | undefined;
|
|
51
|
+
dependencies: [OptionalPlugin<FeatureFlagsPlugin>, OptionalPlugin<AnalyticsPlugin>];
|
|
52
|
+
actions: {
|
|
53
|
+
isInsideListItem: IsInsideListItem;
|
|
54
|
+
findRootParentListNode: FindRootParentListNode;
|
|
55
|
+
};
|
|
56
|
+
commands: {
|
|
57
|
+
indentList: IndentList;
|
|
58
|
+
outdentList: OutdentList;
|
|
59
|
+
toggleOrderedList: ToggleOrderedList;
|
|
60
|
+
toggleBulletList: ToggleBulletList;
|
|
61
|
+
};
|
|
62
|
+
sharedState: ListState | undefined;
|
|
63
|
+
}
|
|
66
64
|
>;
|
|
67
65
|
|
|
68
66
|
// @public
|
|
@@ -73,16 +71,16 @@ export type ListPluginOptions = Pick<FeatureFlags, 'restartNumberedLists'>;
|
|
|
73
71
|
|
|
74
72
|
// @public (undocumented)
|
|
75
73
|
export interface ListState {
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
74
|
+
// (undocumented)
|
|
75
|
+
bulletListActive: boolean;
|
|
76
|
+
// (undocumented)
|
|
77
|
+
bulletListDisabled: boolean;
|
|
78
|
+
// (undocumented)
|
|
79
|
+
decorationSet: DecorationSet;
|
|
80
|
+
// (undocumented)
|
|
81
|
+
orderedListActive: boolean;
|
|
82
|
+
// (undocumented)
|
|
83
|
+
orderedListDisabled: boolean;
|
|
86
84
|
}
|
|
87
85
|
|
|
88
86
|
// @public (undocumented)
|
|
@@ -93,11 +91,8 @@ type ToggleBulletList = (inputMethod: InputMethod) => EditorCommand;
|
|
|
93
91
|
|
|
94
92
|
// @public (undocumented)
|
|
95
93
|
export const toggleList: (
|
|
96
|
-
|
|
97
|
-
) => (
|
|
98
|
-
inputMethod: InputMethod_2,
|
|
99
|
-
listType: 'bulletList' | 'orderedList',
|
|
100
|
-
) => EditorCommand;
|
|
94
|
+
editorAnalyticsAPI: EditorAnalyticsAPI | undefined,
|
|
95
|
+
) => (inputMethod: InputMethod_2, listType: 'bulletList' | 'orderedList') => EditorCommand;
|
|
101
96
|
|
|
102
97
|
// @public (undocumented)
|
|
103
98
|
type ToggleOrderedList = (inputMethod: InputMethod) => EditorCommand;
|
|
@@ -113,8 +108,8 @@ type ToggleOrderedList = (inputMethod: InputMethod) => EditorCommand;
|
|
|
113
108
|
|
|
114
109
|
```json
|
|
115
110
|
{
|
|
116
|
-
|
|
117
|
-
|
|
111
|
+
"react": "^16.8.0",
|
|
112
|
+
"react-intl-next": "npm:react-intl@^5.18.1"
|
|
118
113
|
}
|
|
119
114
|
```
|
|
120
115
|
|