@atlaskit/editor-plugin-base 1.3.1 → 1.4.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/.eslintrc.js +12 -12
- package/CHANGELOG.md +255 -244
- package/LICENSE.md +6 -8
- package/dist/cjs/plugin.js +1 -3
- package/dist/es2019/plugin.js +2 -4
- package/dist/esm/plugin.js +2 -4
- package/dist/types/index.d.ts +1 -1
- package/dist/types/plugin.d.ts +1 -4
- package/dist/types-ts4.5/index.d.ts +1 -1
- package/package.json +2 -12
- package/report.api.md +27 -26
- package/tsconfig.app.json +43 -46
- package/tsconfig.dev.json +46 -46
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,472 +1,483 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-base
|
|
2
2
|
|
|
3
|
+
## 1.4.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#105253](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/105253)
|
|
8
|
+
[`a5f3cd26fbd6`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/a5f3cd26fbd6) -
|
|
9
|
+
Clean up platform.editor.enable-localid-for-paragraph-in-stage-0_cby7g FF
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- Updated dependencies
|
|
14
|
+
|
|
3
15
|
## 1.3.1
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
|
6
18
|
|
|
7
|
-
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
-
|
|
19
|
+
- [#102478](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/102478)
|
|
20
|
+
[`3378951608b0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/3378951608b0) -
|
|
21
|
+
[ED-23332] Update adf-schema package to 36.10.1
|
|
22
|
+
- Updated dependencies
|
|
11
23
|
|
|
12
24
|
## 1.3.0
|
|
13
25
|
|
|
14
26
|
### Minor Changes
|
|
15
27
|
|
|
16
|
-
-
|
|
17
|
-
|
|
18
|
-
|
|
28
|
+
- [#102243](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/102243)
|
|
29
|
+
[`cfc95dac3d82`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/cfc95dac3d82) -
|
|
30
|
+
Use new paragraph and heading NodeSpecs
|
|
19
31
|
|
|
20
32
|
## 1.2.1
|
|
21
33
|
|
|
22
34
|
### Patch Changes
|
|
23
35
|
|
|
24
|
-
-
|
|
25
|
-
|
|
26
|
-
|
|
36
|
+
- [#101524](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/101524)
|
|
37
|
+
[`4821570088e6`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/4821570088e6) -
|
|
38
|
+
ED-23362 Bump ADF schema to version 36.8.1 and add support for adf validation and transformation
|
|
27
39
|
|
|
28
40
|
## 1.2.0
|
|
29
41
|
|
|
30
42
|
### Minor Changes
|
|
31
43
|
|
|
32
|
-
-
|
|
33
|
-
|
|
34
|
-
|
|
44
|
+
- [#99579](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/99579)
|
|
45
|
+
[`f222af5687e9`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/f222af5687e9) -
|
|
46
|
+
Bump adf-schema to 36.3.0 and adf-schema-json to 1.14.0
|
|
35
47
|
|
|
36
48
|
### Patch Changes
|
|
37
49
|
|
|
38
|
-
-
|
|
50
|
+
- Updated dependencies
|
|
39
51
|
|
|
40
52
|
## 1.1.7
|
|
41
53
|
|
|
42
54
|
### Patch Changes
|
|
43
55
|
|
|
44
|
-
-
|
|
56
|
+
- Updated dependencies
|
|
45
57
|
|
|
46
58
|
## 1.1.6
|
|
47
59
|
|
|
48
60
|
### Patch Changes
|
|
49
61
|
|
|
50
|
-
-
|
|
51
|
-
|
|
52
|
-
|
|
62
|
+
- [#97599](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/97599)
|
|
63
|
+
[`32c3130b08fe`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/32c3130b08fe) -
|
|
64
|
+
[ED-22282] Bump adf-schema to 36.1.0
|
|
53
65
|
|
|
54
66
|
## 1.1.5
|
|
55
67
|
|
|
56
68
|
### Patch Changes
|
|
57
69
|
|
|
58
|
-
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
70
|
+
- [#97698](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/97698)
|
|
71
|
+
[`1c7b378c0d3b`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/1c7b378c0d3b) -
|
|
72
|
+
[HOT-108999] We had an incident where the cursor jumps back a character in table headers for any
|
|
73
|
+
language triggering composition on an empty line.This was fixed in a patch bump of
|
|
74
|
+
prosemirror-view. https://github.com/ProseMirror/prosemirror-view/compare/1.33.4...1.33.5
|
|
63
75
|
|
|
64
76
|
## 1.1.4
|
|
65
77
|
|
|
66
78
|
### Patch Changes
|
|
67
79
|
|
|
68
|
-
-
|
|
80
|
+
- Updated dependencies
|
|
69
81
|
|
|
70
82
|
## 1.1.3
|
|
71
83
|
|
|
72
84
|
### Patch Changes
|
|
73
85
|
|
|
74
|
-
-
|
|
75
|
-
|
|
76
|
-
|
|
86
|
+
- [#96237](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/96237)
|
|
87
|
+
[`0401e7b5a88e`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/0401e7b5a88e) -
|
|
88
|
+
[ED-23102] Bump ADF schema to version 35.12.2
|
|
77
89
|
|
|
78
90
|
## 1.1.2
|
|
79
91
|
|
|
80
92
|
### Patch Changes
|
|
81
93
|
|
|
82
|
-
-
|
|
83
|
-
|
|
84
|
-
|
|
94
|
+
- [#94901](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/94901)
|
|
95
|
+
[`da964fcdc828`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/da964fcdc828) -
|
|
96
|
+
[ED-23097] Bump ADF schema to version 35.12.1
|
|
85
97
|
|
|
86
98
|
## 1.1.1
|
|
87
99
|
|
|
88
100
|
### Patch Changes
|
|
89
101
|
|
|
90
|
-
-
|
|
91
|
-
|
|
92
|
-
|
|
102
|
+
- [#93689](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/93689)
|
|
103
|
+
[`5ba5d2b4a9ac`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/5ba5d2b4a9ac) -
|
|
104
|
+
Updating adf-schema version to 35.10.0
|
|
93
105
|
|
|
94
106
|
## 1.1.0
|
|
95
107
|
|
|
96
108
|
### Minor Changes
|
|
97
109
|
|
|
98
|
-
-
|
|
99
|
-
|
|
100
|
-
|
|
110
|
+
- [#91934](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/91934)
|
|
111
|
+
[`b76a78c6a199`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/b76a78c6a199) -
|
|
112
|
+
bumped editor-prosemirror version to 4.0.0
|
|
101
113
|
|
|
102
114
|
### Patch Changes
|
|
103
115
|
|
|
104
|
-
-
|
|
116
|
+
- Updated dependencies
|
|
105
117
|
|
|
106
118
|
## 1.0.7
|
|
107
119
|
|
|
108
120
|
### Patch Changes
|
|
109
121
|
|
|
110
|
-
-
|
|
111
|
-
|
|
112
|
-
|
|
122
|
+
- [#92426](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/92426)
|
|
123
|
+
[`32c76c7c225c`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/32c76c7c225c) -
|
|
124
|
+
Bump adf-schema to 35.9.2 to support table alignment options
|
|
113
125
|
|
|
114
126
|
## 1.0.6
|
|
115
127
|
|
|
116
128
|
### Patch Changes
|
|
117
129
|
|
|
118
|
-
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
-
|
|
130
|
+
- [#91106](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/91106)
|
|
131
|
+
[`b6ffa30186b9`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/b6ffa30186b9) -
|
|
132
|
+
Bump ADF-schema package to version 35.0.0
|
|
133
|
+
- Updated dependencies
|
|
122
134
|
|
|
123
135
|
## 1.0.5
|
|
124
136
|
|
|
125
137
|
### Patch Changes
|
|
126
138
|
|
|
127
|
-
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
139
|
+
- [#86724](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/86724)
|
|
140
|
+
[`718a9aa2424d`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/718a9aa2424d) -
|
|
141
|
+
[ED-22607] Remove references to maxFrames for multi bodied extensions and bump adf-schema from
|
|
142
|
+
35.7.0 to 35.8.0
|
|
131
143
|
|
|
132
144
|
## 1.0.4
|
|
133
145
|
|
|
134
146
|
### Patch Changes
|
|
135
147
|
|
|
136
|
-
-
|
|
137
|
-
|
|
138
|
-
|
|
148
|
+
- [#81777](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/81777)
|
|
149
|
+
[`c6d7a5378751`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/c6d7a5378751) -
|
|
150
|
+
Bump adf-schema to 35.7.0
|
|
139
151
|
|
|
140
152
|
## 1.0.3
|
|
141
153
|
|
|
142
154
|
### Patch Changes
|
|
143
155
|
|
|
144
|
-
-
|
|
145
|
-
|
|
146
|
-
|
|
156
|
+
- [#80679](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/80679)
|
|
157
|
+
[`104eb9443b7e`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/104eb9443b7e) -
|
|
158
|
+
ED-22553 Updating adf-schema version to 35.6.0
|
|
147
159
|
|
|
148
160
|
## 1.0.2
|
|
149
161
|
|
|
150
162
|
### Patch Changes
|
|
151
163
|
|
|
152
|
-
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
-
|
|
164
|
+
- [#78224](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/78224)
|
|
165
|
+
[`6b4c9dd4ad34`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/6b4c9dd4ad34) -
|
|
166
|
+
ED-22219: adf-schema updated to 35.5.2
|
|
167
|
+
- Updated dependencies
|
|
156
168
|
|
|
157
169
|
## 1.0.1
|
|
158
170
|
|
|
159
171
|
### Patch Changes
|
|
160
172
|
|
|
161
|
-
-
|
|
173
|
+
- Updated dependencies
|
|
162
174
|
|
|
163
175
|
## 1.0.0
|
|
164
176
|
|
|
165
177
|
### Major Changes
|
|
166
178
|
|
|
167
|
-
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
179
|
+
- [#72386](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/72386)
|
|
180
|
+
[`0c52b0be40c1`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/0c52b0be40c1) -
|
|
181
|
+
This changeset exists to bump all editor plugins that currently don't have a major version. This
|
|
182
|
+
is to address an issue with Jira plugin consumption.
|
|
171
183
|
|
|
172
184
|
### Patch Changes
|
|
173
185
|
|
|
174
|
-
-
|
|
186
|
+
- Updated dependencies
|
|
175
187
|
|
|
176
188
|
## 0.3.7
|
|
177
189
|
|
|
178
190
|
### Patch Changes
|
|
179
191
|
|
|
180
|
-
-
|
|
181
|
-
|
|
182
|
-
|
|
192
|
+
- [#68572](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/68572)
|
|
193
|
+
[`15d407fe5143`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/15d407fe5143) -
|
|
194
|
+
Upgrading @atlaskit/editor-prosemirror dependency
|
|
183
195
|
|
|
184
196
|
## 0.3.6
|
|
185
197
|
|
|
186
198
|
### Patch Changes
|
|
187
199
|
|
|
188
|
-
-
|
|
189
|
-
|
|
190
|
-
|
|
200
|
+
- [#70152](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/70152)
|
|
201
|
+
[`53ed3673df28`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/53ed3673df28) -
|
|
202
|
+
Updating adf-schema version to 35.5.1
|
|
191
203
|
|
|
192
204
|
## 0.3.5
|
|
193
205
|
|
|
194
206
|
### Patch Changes
|
|
195
207
|
|
|
196
|
-
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
-
|
|
208
|
+
- [#68640](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/68640)
|
|
209
|
+
[`6a3ea210641a`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/6a3ea210641a) -
|
|
210
|
+
Create new context identifier plugin which contains the provider.
|
|
211
|
+
- Updated dependencies
|
|
200
212
|
|
|
201
213
|
## 0.3.4
|
|
202
214
|
|
|
203
215
|
### Patch Changes
|
|
204
216
|
|
|
205
|
-
-
|
|
206
|
-
|
|
207
|
-
|
|
217
|
+
- [#67690](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/67690)
|
|
218
|
+
[`2f7dc1629e1c`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/2f7dc1629e1c) -
|
|
219
|
+
Cleanup feature flag for scrolling optimisation.
|
|
208
220
|
|
|
209
221
|
## 0.3.3
|
|
210
222
|
|
|
211
223
|
### Patch Changes
|
|
212
224
|
|
|
213
|
-
-
|
|
225
|
+
- Updated dependencies
|
|
214
226
|
|
|
215
227
|
## 0.3.2
|
|
216
228
|
|
|
217
229
|
### Patch Changes
|
|
218
230
|
|
|
219
|
-
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
-
|
|
231
|
+
- [#63346](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/63346)
|
|
232
|
+
[`7ab6b24559c0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/7ab6b24559c0) -
|
|
233
|
+
Minor performance optimisation for scroll gutter.
|
|
234
|
+
- [#65031](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/65031)
|
|
235
|
+
[`a00094111b5a`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/a00094111b5a) -
|
|
236
|
+
ED-21609 Update adf-schema to 35.3.0
|
|
237
|
+
- Updated dependencies
|
|
226
238
|
|
|
227
239
|
## 0.3.1
|
|
228
240
|
|
|
229
241
|
### Patch Changes
|
|
230
242
|
|
|
231
|
-
-
|
|
232
|
-
|
|
233
|
-
|
|
243
|
+
- [#64064](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/64064)
|
|
244
|
+
[`77394053290a`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/77394053290a) -
|
|
245
|
+
Comment change to trigger builds
|
|
234
246
|
|
|
235
247
|
## 0.3.0
|
|
236
248
|
|
|
237
249
|
### Minor Changes
|
|
238
250
|
|
|
239
|
-
-
|
|
240
|
-
|
|
241
|
-
|
|
251
|
+
- [#63522](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/63522)
|
|
252
|
+
[`906d43c5bb6d`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/906d43c5bb6d) -
|
|
253
|
+
Remove hack for chrome 88 selection bug
|
|
242
254
|
|
|
243
255
|
## 0.2.13
|
|
244
256
|
|
|
245
257
|
### Patch Changes
|
|
246
258
|
|
|
247
|
-
-
|
|
248
|
-
|
|
249
|
-
|
|
259
|
+
- [#62165](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/62165)
|
|
260
|
+
[`b44ac0968d79`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/b44ac0968d79) -
|
|
261
|
+
[ED-21562] Bump @atlaskit/adf-schema to 35.2.0 for border mark update
|
|
250
262
|
|
|
251
263
|
## 0.2.12
|
|
252
264
|
|
|
253
265
|
### Patch Changes
|
|
254
266
|
|
|
255
|
-
-
|
|
256
|
-
|
|
257
|
-
|
|
267
|
+
- [#60228](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/60228)
|
|
268
|
+
[`63507f58b595`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/63507f58b595) -
|
|
269
|
+
Fix browserFreeze events collecting/reporting
|
|
258
270
|
|
|
259
271
|
## 0.2.11
|
|
260
272
|
|
|
261
273
|
### Patch Changes
|
|
262
274
|
|
|
263
|
-
-
|
|
264
|
-
|
|
265
|
-
|
|
275
|
+
- [#60808](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/60808)
|
|
276
|
+
[`f509a21be124`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/f509a21be124) -
|
|
277
|
+
ED-21506: @atlaskit/adf-schema upgraded to 35.1.1 to support renderer for MBE
|
|
266
278
|
|
|
267
279
|
## 0.2.10
|
|
268
280
|
|
|
269
281
|
### Patch Changes
|
|
270
282
|
|
|
271
|
-
-
|
|
272
|
-
|
|
273
|
-
|
|
283
|
+
- [#58246](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/58246)
|
|
284
|
+
[`a381b2599716`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/a381b2599716) -
|
|
285
|
+
ED-21371 Update adf-schema to 35.1.0
|
|
274
286
|
|
|
275
287
|
## 0.2.9
|
|
276
288
|
|
|
277
289
|
### Patch Changes
|
|
278
290
|
|
|
279
|
-
-
|
|
280
|
-
|
|
281
|
-
|
|
291
|
+
- [#59147](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/59147)
|
|
292
|
+
[`f12e489f23b0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/f12e489f23b0) -
|
|
293
|
+
Re-build and deploy packages to NPM to resolve React/Compiled not found error (HOT-106483).
|
|
282
294
|
|
|
283
295
|
## 0.2.8
|
|
284
296
|
|
|
285
297
|
### Patch Changes
|
|
286
298
|
|
|
287
|
-
-
|
|
288
|
-
|
|
289
|
-
|
|
299
|
+
- [#58763](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/58763)
|
|
300
|
+
[`0fdbd64522bf`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/0fdbd64522bf) -
|
|
301
|
+
update ADF schema
|
|
290
302
|
|
|
291
303
|
## 0.2.7
|
|
292
304
|
|
|
293
305
|
### Patch Changes
|
|
294
306
|
|
|
295
|
-
-
|
|
296
|
-
|
|
297
|
-
|
|
307
|
+
- [#56790](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/56790)
|
|
308
|
+
[`ff577a7969d4`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ff577a7969d4) -
|
|
309
|
+
ED-21266: Updated @atlaskit/adf-schema to 34.0.1
|
|
298
310
|
|
|
299
311
|
## 0.2.6
|
|
300
312
|
|
|
301
313
|
### Patch Changes
|
|
302
314
|
|
|
303
|
-
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
315
|
+
- [#43646](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/43646)
|
|
316
|
+
[`d43f8e9402f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d43f8e9402f) - Make
|
|
317
|
+
feature flags plugin optional in all plugins including:
|
|
318
|
+
|
|
319
|
+
- analytics
|
|
320
|
+
- base
|
|
321
|
+
- card
|
|
322
|
+
- code-block
|
|
323
|
+
- expand
|
|
324
|
+
- extension
|
|
325
|
+
- floating-toolbar
|
|
326
|
+
- hyperlink
|
|
327
|
+
- insert-block
|
|
328
|
+
- layout
|
|
329
|
+
- layout
|
|
330
|
+
- list
|
|
331
|
+
- media
|
|
332
|
+
- paste
|
|
333
|
+
- rule
|
|
334
|
+
- table
|
|
335
|
+
- tasks-and-decisions
|
|
336
|
+
|
|
337
|
+
We already treat it as optional in the plugins, so this is just ensuring that the plugin is not
|
|
338
|
+
mandatory to be added to the preset.
|
|
327
339
|
|
|
328
340
|
## 0.2.5
|
|
329
341
|
|
|
330
342
|
### Patch Changes
|
|
331
343
|
|
|
332
|
-
-
|
|
333
|
-
|
|
334
|
-
|
|
344
|
+
- [#43417](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/43417)
|
|
345
|
+
[`3f3c17f0273`](https://bitbucket.org/atlassian/atlassian-frontend/commits/3f3c17f0273) - ED-20971
|
|
346
|
+
Upgrade adf-schema package to ^34.0.0
|
|
335
347
|
|
|
336
348
|
## 0.2.4
|
|
337
349
|
|
|
338
350
|
### Patch Changes
|
|
339
351
|
|
|
340
|
-
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
-
|
|
352
|
+
- [#43379](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/43379)
|
|
353
|
+
[`482c025520d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/482c025520d) - ED-20763
|
|
354
|
+
Upgrade ADF schema version to 33.2.3 for MBE nodes.
|
|
355
|
+
- Updated dependencies
|
|
344
356
|
|
|
345
357
|
## 0.2.3
|
|
346
358
|
|
|
347
359
|
### Patch Changes
|
|
348
360
|
|
|
349
|
-
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
361
|
+
- [#41047](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/41047)
|
|
362
|
+
[`8f0b00d165f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8f0b00d165f) -
|
|
363
|
+
[ED-20003] Extract TypeAhead from editor-core to its own package
|
|
364
|
+
@atlaskit/editor-plugin-type-ahead
|
|
353
365
|
|
|
354
366
|
## 0.2.2
|
|
355
367
|
|
|
356
368
|
### Patch Changes
|
|
357
369
|
|
|
358
|
-
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
-
|
|
370
|
+
- [#40750](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/40750)
|
|
371
|
+
[`fc19a7b9edd`](https://bitbucket.org/atlassian/atlassian-frontend/commits/fc19a7b9edd) -
|
|
372
|
+
[ED-19875] Extraction of Editor Core's Selection Plugin into independent package
|
|
373
|
+
'@atlaskit/editor-plugin-selection'.
|
|
374
|
+
- Updated dependencies
|
|
363
375
|
|
|
364
376
|
## 0.2.1
|
|
365
377
|
|
|
366
378
|
### Patch Changes
|
|
367
379
|
|
|
368
|
-
-
|
|
369
|
-
|
|
370
|
-
|
|
380
|
+
- [#39749](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/39749)
|
|
381
|
+
[`e6b69f455c3`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e6b69f455c3) - Connect
|
|
382
|
+
yarn changeset to packages, upgrade adf-schema
|
|
371
383
|
|
|
372
384
|
## 0.2.0
|
|
373
385
|
|
|
374
386
|
### Minor Changes
|
|
375
387
|
|
|
376
|
-
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
appropriately.
|
|
388
|
+
- [#40718](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/40718)
|
|
389
|
+
[`c1d4b48bdd9`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c1d4b48bdd9) - WHAT:
|
|
390
|
+
This change removes plugin exports from editor-core that were used only for the mobile bridge.
|
|
391
|
+
|
|
392
|
+
This includes:
|
|
393
|
+
|
|
394
|
+
- All plugin keys
|
|
395
|
+
- Plugin commands
|
|
396
|
+
- Plugin types
|
|
397
|
+
|
|
398
|
+
The full list is:
|
|
399
|
+
|
|
400
|
+
- EditorFeatureFlags (available via '@atlaskit/editor-common/types' as `FeatureFlags`)
|
|
401
|
+
- EmojiResource (available via '@atlaskit/emoji/resource' as `EmojiResource`)
|
|
402
|
+
- mediaPlugin
|
|
403
|
+
- insertMediaSingleNode
|
|
404
|
+
- CustomMediaPicker
|
|
405
|
+
- mediaPluginKey
|
|
406
|
+
- textColorPluginKey
|
|
407
|
+
- TextColorPluginState
|
|
408
|
+
- changeColor
|
|
409
|
+
- CodeBlockPlugin
|
|
410
|
+
- PanelPlugin
|
|
411
|
+
- subscribeToToolbarAndPickerUpdates
|
|
412
|
+
- subscribeTypeAheadUpdates
|
|
413
|
+
- TextFormattingInputMethodToolbar
|
|
414
|
+
- TextFormattingInputMethodBasic
|
|
415
|
+
- createTable
|
|
416
|
+
- insertTaskDecisionCommand
|
|
417
|
+
- TaskDecisionInputMethod
|
|
418
|
+
- EventDispatcher
|
|
419
|
+
- statusPluginKey
|
|
420
|
+
- StatusState
|
|
421
|
+
- StatusType
|
|
422
|
+
- DatePluginState
|
|
423
|
+
- insertDate
|
|
424
|
+
- openDatePicker
|
|
425
|
+
- deleteDate
|
|
426
|
+
- dateToDateType
|
|
427
|
+
- datePluginKey
|
|
428
|
+
- commitStatusPicker
|
|
429
|
+
- setStatusPickerAt
|
|
430
|
+
- updateStatus
|
|
431
|
+
- updateStatusWithAnalytics
|
|
432
|
+
- removeStatus
|
|
433
|
+
- typeAheadPluginKey
|
|
434
|
+
- TypeAheadPluginState
|
|
435
|
+
- setKeyboardHeight
|
|
436
|
+
- setMobilePaddingTop
|
|
437
|
+
- setIsExpanded
|
|
438
|
+
- dedupe (available via '@atlaskit/editor-common/utils' as `dedupe`)
|
|
439
|
+
- GapCursorSelection (available via '@atlaskit/editor-common/selection' as `GapCursorSelection`)
|
|
440
|
+
- GapCursorSide (available via '@atlaskit/editor-common/selection' as `Side`)
|
|
441
|
+
- HistoryPluginState
|
|
442
|
+
- MentionPluginState
|
|
443
|
+
- InsertBlockInputMethodToolbar
|
|
444
|
+
- selectionPluginKey
|
|
445
|
+
- SelectionData
|
|
446
|
+
- SelectionDataState
|
|
447
|
+
- insertExpand
|
|
448
|
+
- createTypeAheadTools
|
|
449
|
+
- AbstractMentionResource (available via '@atlaskit/mention/resource' as
|
|
450
|
+
`AbstractMentionResource`)
|
|
451
|
+
- PresenceResource (available via '@atlaskit/mention/resource' as `PresenceResource`)
|
|
452
|
+
- ReactEditorView
|
|
453
|
+
- BaseReactEditorView
|
|
454
|
+
- getDefaultPresetOptionsFromEditorProps
|
|
455
|
+
- lightModeStatusColorPalette
|
|
456
|
+
- darkModeStatusColorPalette
|
|
457
|
+
- PaletteColor
|
|
458
|
+
- DEFAULT_BORDER_COLOR
|
|
459
|
+
|
|
460
|
+
WHY: We have been extracting plugins out of `editor-core` and as we move them out we need to
|
|
461
|
+
remove these exports as the new architecture does not support plugin keys or commands.
|
|
462
|
+
|
|
463
|
+
This major bump will remove all remaining commands and keys in one go - some of these features
|
|
464
|
+
will be accessible in a safe manner in the future via the `ComposableEditor` and the appropriate
|
|
465
|
+
plugins.
|
|
466
|
+
|
|
467
|
+
HOW: Should be no consumers using these methods currently (only mobile bridge which has been
|
|
468
|
+
updated).
|
|
469
|
+
|
|
470
|
+
If there are any issues please reach out to the #help-editor for information on how to update
|
|
471
|
+
appropriately.
|
|
461
472
|
|
|
462
473
|
## 0.1.0
|
|
463
474
|
|
|
464
475
|
### Minor Changes
|
|
465
476
|
|
|
466
|
-
-
|
|
467
|
-
|
|
468
|
-
|
|
477
|
+
- [#40580](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/40580)
|
|
478
|
+
[`f8e7203eec6`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f8e7203eec6) - ED-19618
|
|
479
|
+
Extract base plugin from editor-core
|
|
469
480
|
|
|
470
481
|
### Patch Changes
|
|
471
482
|
|
|
472
|
-
-
|
|
483
|
+
- Updated dependencies
|
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.
|
package/dist/cjs/plugin.js
CHANGED
|
@@ -11,7 +11,6 @@ var _adfSchema = require("@atlaskit/adf-schema");
|
|
|
11
11
|
var _keymaps = require("@atlaskit/editor-common/keymaps");
|
|
12
12
|
var _commands = require("@atlaskit/editor-prosemirror/commands");
|
|
13
13
|
var _history = require("@atlaskit/editor-prosemirror/history");
|
|
14
|
-
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
15
14
|
var _commands2 = require("./commands");
|
|
16
15
|
var _disableSpellChecking = _interopRequireDefault(require("./pm-plugins/disable-spell-checking"));
|
|
17
16
|
var _filterSteps = _interopRequireDefault(require("./pm-plugins/filter-steps"));
|
|
@@ -111,13 +110,12 @@ var basePlugin = function basePlugin(_ref) {
|
|
|
111
110
|
return plugins;
|
|
112
111
|
},
|
|
113
112
|
nodes: function nodes() {
|
|
114
|
-
var paragraphNode = (0, _platformFeatureFlags.getBooleanFF)('platform.editor.enable-localid-for-paragraph-in-stage-0_cby7g') ? _adfSchema.paragraphStage0 : _adfSchema.paragraph;
|
|
115
113
|
return [{
|
|
116
114
|
name: 'doc',
|
|
117
115
|
node: _adfSchema.doc
|
|
118
116
|
}, {
|
|
119
117
|
name: 'paragraph',
|
|
120
|
-
node:
|
|
118
|
+
node: _adfSchema.paragraph
|
|
121
119
|
}, {
|
|
122
120
|
name: 'text',
|
|
123
121
|
node: _adfSchema.text
|
package/dist/es2019/plugin.js
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import { doc, paragraph,
|
|
1
|
+
import { doc, paragraph, text } from '@atlaskit/adf-schema';
|
|
2
2
|
import { keymap } from '@atlaskit/editor-common/keymaps';
|
|
3
3
|
import { baseKeymap } from '@atlaskit/editor-prosemirror/commands';
|
|
4
4
|
import { history } from '@atlaskit/editor-prosemirror/history';
|
|
5
|
-
import { getBooleanFF } from '@atlaskit/platform-feature-flags';
|
|
6
5
|
import { setKeyboardHeight } from './commands';
|
|
7
6
|
import disableSpellcheckingPlugin from './pm-plugins/disable-spell-checking';
|
|
8
7
|
import filterStepsPlugin from './pm-plugins/filter-steps';
|
|
@@ -86,13 +85,12 @@ const basePlugin = ({
|
|
|
86
85
|
return plugins;
|
|
87
86
|
},
|
|
88
87
|
nodes() {
|
|
89
|
-
const paragraphNode = getBooleanFF('platform.editor.enable-localid-for-paragraph-in-stage-0_cby7g') ? paragraphStage0 : paragraph;
|
|
90
88
|
return [{
|
|
91
89
|
name: 'doc',
|
|
92
90
|
node: doc
|
|
93
91
|
}, {
|
|
94
92
|
name: 'paragraph',
|
|
95
|
-
node:
|
|
93
|
+
node: paragraph
|
|
96
94
|
}, {
|
|
97
95
|
name: 'text',
|
|
98
96
|
node: text
|
package/dist/esm/plugin.js
CHANGED
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
2
2
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
3
3
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
4
|
-
import { doc, paragraph,
|
|
4
|
+
import { doc, paragraph, text } from '@atlaskit/adf-schema';
|
|
5
5
|
import { keymap } from '@atlaskit/editor-common/keymaps';
|
|
6
6
|
import { baseKeymap } from '@atlaskit/editor-prosemirror/commands';
|
|
7
7
|
import { history } from '@atlaskit/editor-prosemirror/history';
|
|
8
|
-
import { getBooleanFF } from '@atlaskit/platform-feature-flags';
|
|
9
8
|
import { setKeyboardHeight } from './commands';
|
|
10
9
|
import disableSpellcheckingPlugin from './pm-plugins/disable-spell-checking';
|
|
11
10
|
import filterStepsPlugin from './pm-plugins/filter-steps';
|
|
@@ -101,13 +100,12 @@ var basePlugin = function basePlugin(_ref) {
|
|
|
101
100
|
return plugins;
|
|
102
101
|
},
|
|
103
102
|
nodes: function nodes() {
|
|
104
|
-
var paragraphNode = getBooleanFF('platform.editor.enable-localid-for-paragraph-in-stage-0_cby7g') ? paragraphStage0 : paragraph;
|
|
105
103
|
return [{
|
|
106
104
|
name: 'doc',
|
|
107
105
|
node: doc
|
|
108
106
|
}, {
|
|
109
107
|
name: 'paragraph',
|
|
110
|
-
node:
|
|
108
|
+
node: paragraph
|
|
111
109
|
}, {
|
|
112
110
|
name: 'text',
|
|
113
111
|
node: text
|
package/dist/types/index.d.ts
CHANGED
|
@@ -2,4 +2,4 @@ import basePlugin from './plugin';
|
|
|
2
2
|
import type { BasePlugin, BasePluginOptions, BasePluginState } from './plugin';
|
|
3
3
|
import type { ScrollGutterPluginOptions } from './pm-plugins/scroll-gutter';
|
|
4
4
|
export { basePlugin };
|
|
5
|
-
export type { BasePlugin, BasePluginState, BasePluginOptions, ScrollGutterPluginOptions
|
|
5
|
+
export type { BasePlugin, BasePluginState, BasePluginOptions, ScrollGutterPluginOptions };
|
package/dist/types/plugin.d.ts
CHANGED
|
@@ -16,10 +16,7 @@ export type BasePluginState = {
|
|
|
16
16
|
};
|
|
17
17
|
export type BasePlugin = NextEditorPlugin<'base', {
|
|
18
18
|
pluginConfiguration: BasePluginOptions | undefined;
|
|
19
|
-
dependencies: [
|
|
20
|
-
OptionalPlugin<FeatureFlagsPlugin>,
|
|
21
|
-
OptionalPlugin<ContextIdentifierPlugin>
|
|
22
|
-
];
|
|
19
|
+
dependencies: [OptionalPlugin<FeatureFlagsPlugin>, OptionalPlugin<ContextIdentifierPlugin>];
|
|
23
20
|
sharedState: BasePluginState;
|
|
24
21
|
actions: {
|
|
25
22
|
setKeyboardHeight: typeof setKeyboardHeight;
|
|
@@ -2,4 +2,4 @@ import basePlugin from './plugin';
|
|
|
2
2
|
import type { BasePlugin, BasePluginOptions, BasePluginState } from './plugin';
|
|
3
3
|
import type { ScrollGutterPluginOptions } from './pm-plugins/scroll-gutter';
|
|
4
4
|
export { basePlugin };
|
|
5
|
-
export type { BasePlugin, BasePluginState, BasePluginOptions, ScrollGutterPluginOptions
|
|
5
|
+
export type { BasePlugin, BasePluginState, BasePluginOptions, ScrollGutterPluginOptions };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-base",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.4.0",
|
|
4
4
|
"description": "Base plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -33,16 +33,12 @@
|
|
|
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-context-identifier": "^1.1.0",
|
|
38
38
|
"@atlaskit/editor-plugin-feature-flags": "^1.1.0",
|
|
39
39
|
"@atlaskit/editor-prosemirror": "4.0.1",
|
|
40
|
-
"@atlaskit/platform-feature-flags": "^0.2.5",
|
|
41
40
|
"@babel/runtime": "^7.0.0"
|
|
42
41
|
},
|
|
43
|
-
"devDependencies": {
|
|
44
|
-
"@atlassian/atlassian-frontend-prettier-config-1.0.0": "npm:@atlassian/atlassian-frontend-prettier-config@1.0.0"
|
|
45
|
-
},
|
|
46
42
|
"techstack": {
|
|
47
43
|
"@atlassian/frontend": {
|
|
48
44
|
"import-structure": [
|
|
@@ -73,12 +69,6 @@
|
|
|
73
69
|
]
|
|
74
70
|
}
|
|
75
71
|
},
|
|
76
|
-
"platform-feature-flags": {
|
|
77
|
-
"platform.editor.enable-localid-for-paragraph-in-stage-0_cby7g": {
|
|
78
|
-
"type": "boolean"
|
|
79
|
-
}
|
|
80
|
-
},
|
|
81
|
-
"prettier": "@atlassian/atlassian-frontend-prettier-config-1.0.0",
|
|
82
72
|
"stricter": {
|
|
83
73
|
"no-unused-dependencies": {
|
|
84
74
|
"checkDevDependencies": true
|
package/report.api.md
CHANGED
|
@@ -2,7 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
## API Report File for "@atlaskit/editor-plugin-base"
|
|
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,15 +27,15 @@ import type { OptionalPlugin } from '@atlaskit/editor-common/types';
|
|
|
26
27
|
|
|
27
28
|
// @public (undocumented)
|
|
28
29
|
export type BasePlugin = NextEditorPlugin<
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
30
|
+
'base',
|
|
31
|
+
{
|
|
32
|
+
pluginConfiguration: BasePluginOptions | undefined;
|
|
33
|
+
dependencies: [OptionalPlugin<FeatureFlagsPlugin>];
|
|
34
|
+
sharedState: BasePluginState;
|
|
35
|
+
actions: {
|
|
36
|
+
setKeyboardHeight: typeof setKeyboardHeight;
|
|
37
|
+
};
|
|
38
|
+
}
|
|
38
39
|
>;
|
|
39
40
|
|
|
40
41
|
// @public (undocumented)
|
|
@@ -42,30 +43,30 @@ export const basePlugin: BasePlugin;
|
|
|
42
43
|
|
|
43
44
|
// @public (undocumented)
|
|
44
45
|
export interface BasePluginOptions {
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
46
|
+
// (undocumented)
|
|
47
|
+
allowInlineCursorTarget?: boolean;
|
|
48
|
+
// (undocumented)
|
|
49
|
+
allowScrollGutter?: ScrollGutterPluginOptions;
|
|
50
|
+
// (undocumented)
|
|
51
|
+
browserFreezeTracking?: BrowserFreezetracking;
|
|
52
|
+
// (undocumented)
|
|
53
|
+
inputTracking?: InputTracking;
|
|
54
|
+
// (undocumented)
|
|
55
|
+
ufo?: boolean;
|
|
55
56
|
}
|
|
56
57
|
|
|
57
58
|
// @public (undocumented)
|
|
58
59
|
export type BasePluginState = {
|
|
59
|
-
|
|
60
|
-
|
|
60
|
+
contextIdentifier: ContextIdentifierProvider | undefined;
|
|
61
|
+
keyboardHeight: number | undefined;
|
|
61
62
|
};
|
|
62
63
|
|
|
63
64
|
// @public (undocumented)
|
|
64
65
|
export type ScrollGutterPluginOptions = {
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
66
|
+
getScrollElement?: (view: EditorView) => HTMLElement | null;
|
|
67
|
+
allowCustomScrollHandler?: boolean;
|
|
68
|
+
persistScrollGutter?: boolean;
|
|
69
|
+
gutterSize?: number;
|
|
69
70
|
};
|
|
70
71
|
|
|
71
72
|
// @public (undocumented)
|
package/tsconfig.app.json
CHANGED
|
@@ -1,48 +1,45 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
"path": "../../platform/feature-flags/tsconfig.app.json"
|
|
46
|
-
}
|
|
47
|
-
]
|
|
2
|
+
"extends": "../../../tsconfig.base.json",
|
|
3
|
+
"include": ["./src/**/*.ts", "./src/**/*.tsx"],
|
|
4
|
+
"exclude": [
|
|
5
|
+
"**/docs/**/*",
|
|
6
|
+
"**/__tests__/**/*",
|
|
7
|
+
"**/vr-tests/**/*",
|
|
8
|
+
"**/__perf__/**/*",
|
|
9
|
+
"**/*.test.*",
|
|
10
|
+
"**/test.*",
|
|
11
|
+
"**/test-*",
|
|
12
|
+
"**/examples.ts",
|
|
13
|
+
"**/examples.tsx",
|
|
14
|
+
"**/examples/*.ts",
|
|
15
|
+
"**/examples/*.tsx",
|
|
16
|
+
"**/examples/**/*.ts",
|
|
17
|
+
"**/examples/**/*.tsx",
|
|
18
|
+
"**/storybook/**/*",
|
|
19
|
+
"**/constellation/**/*",
|
|
20
|
+
".storybook/*",
|
|
21
|
+
"./__fixtures__/**/*",
|
|
22
|
+
"./__generated__/**/*",
|
|
23
|
+
"./mocks/**/*",
|
|
24
|
+
"./__mocks__/**/*",
|
|
25
|
+
"**/mock.*",
|
|
26
|
+
"**/codemods/**/*.ts",
|
|
27
|
+
"**/codemods/**/*.tsx"
|
|
28
|
+
],
|
|
29
|
+
"compilerOptions": {
|
|
30
|
+
"baseUrl": "",
|
|
31
|
+
"composite": true,
|
|
32
|
+
"outDir": "../../../tsDist/@atlaskit__editor-plugin-base/app"
|
|
33
|
+
},
|
|
34
|
+
"references": [
|
|
35
|
+
{
|
|
36
|
+
"path": "../editor-common/tsconfig.app.json"
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"path": "../editor-plugin-context-identifier/tsconfig.app.json"
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
"path": "../editor-plugin-feature-flags/tsconfig.app.json"
|
|
43
|
+
}
|
|
44
|
+
]
|
|
48
45
|
}
|
package/tsconfig.dev.json
CHANGED
|
@@ -1,48 +1,48 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
2
|
+
"extends": "../../../tsconfig.base.json",
|
|
3
|
+
"include": [
|
|
4
|
+
"**/docs/**/*",
|
|
5
|
+
"**/__tests__/**/*",
|
|
6
|
+
"**/vr-tests/**/*",
|
|
7
|
+
"**/__perf__/**/*",
|
|
8
|
+
"**/*.test.*",
|
|
9
|
+
"**/test.*",
|
|
10
|
+
"**/test-*",
|
|
11
|
+
"**/examples.ts",
|
|
12
|
+
"**/examples.tsx",
|
|
13
|
+
"**/examples/*.ts",
|
|
14
|
+
"**/examples/*.tsx",
|
|
15
|
+
"**/examples/**/*.ts",
|
|
16
|
+
"**/examples/**/*.tsx",
|
|
17
|
+
"**/storybook/**/*",
|
|
18
|
+
"**/constellation/**/*",
|
|
19
|
+
".storybook/*",
|
|
20
|
+
"./__fixtures__/**/*",
|
|
21
|
+
"./__generated__/**/*",
|
|
22
|
+
"./mocks/**/*",
|
|
23
|
+
"./__mocks__/**/*",
|
|
24
|
+
"**/mock.*",
|
|
25
|
+
"**/codemods/**/*.ts",
|
|
26
|
+
"**/codemods/**/*.tsx"
|
|
27
|
+
],
|
|
28
|
+
"exclude": ["./dist/**/*", "./build/**/*", "./node_modules/**/*"],
|
|
29
|
+
"compilerOptions": {
|
|
30
|
+
"baseUrl": "",
|
|
31
|
+
"composite": true,
|
|
32
|
+
"outDir": "../../../tsDist/@atlaskit__editor-plugin-base/dev"
|
|
33
|
+
},
|
|
34
|
+
"references": [
|
|
35
|
+
{
|
|
36
|
+
"path": "tsconfig.app.json"
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"path": "../../../build/website/docs/tsconfig.app.json"
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
"path": "../editor-common/tsconfig.app.json"
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"path": "../../design-system/tokens/tsconfig.app.json"
|
|
46
|
+
}
|
|
47
|
+
]
|
|
48
48
|
}
|