@atlaskit/editor-plugin-base 1.3.0 → 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 +260 -240
- 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 +3 -13
- 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,463 +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
|
+
|
|
15
|
+
## 1.3.1
|
|
16
|
+
|
|
17
|
+
### Patch Changes
|
|
18
|
+
|
|
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
|
|
23
|
+
|
|
3
24
|
## 1.3.0
|
|
4
25
|
|
|
5
26
|
### Minor Changes
|
|
6
27
|
|
|
7
|
-
-
|
|
8
|
-
|
|
9
|
-
|
|
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
|
|
10
31
|
|
|
11
32
|
## 1.2.1
|
|
12
33
|
|
|
13
34
|
### Patch Changes
|
|
14
35
|
|
|
15
|
-
-
|
|
16
|
-
|
|
17
|
-
|
|
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
|
|
18
39
|
|
|
19
40
|
## 1.2.0
|
|
20
41
|
|
|
21
42
|
### Minor Changes
|
|
22
43
|
|
|
23
|
-
-
|
|
24
|
-
|
|
25
|
-
|
|
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
|
|
26
47
|
|
|
27
48
|
### Patch Changes
|
|
28
49
|
|
|
29
|
-
-
|
|
50
|
+
- Updated dependencies
|
|
30
51
|
|
|
31
52
|
## 1.1.7
|
|
32
53
|
|
|
33
54
|
### Patch Changes
|
|
34
55
|
|
|
35
|
-
-
|
|
56
|
+
- Updated dependencies
|
|
36
57
|
|
|
37
58
|
## 1.1.6
|
|
38
59
|
|
|
39
60
|
### Patch Changes
|
|
40
61
|
|
|
41
|
-
-
|
|
42
|
-
|
|
43
|
-
|
|
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
|
|
44
65
|
|
|
45
66
|
## 1.1.5
|
|
46
67
|
|
|
47
68
|
### Patch Changes
|
|
48
69
|
|
|
49
|
-
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
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
|
|
54
75
|
|
|
55
76
|
## 1.1.4
|
|
56
77
|
|
|
57
78
|
### Patch Changes
|
|
58
79
|
|
|
59
|
-
-
|
|
80
|
+
- Updated dependencies
|
|
60
81
|
|
|
61
82
|
## 1.1.3
|
|
62
83
|
|
|
63
84
|
### Patch Changes
|
|
64
85
|
|
|
65
|
-
-
|
|
66
|
-
|
|
67
|
-
|
|
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
|
|
68
89
|
|
|
69
90
|
## 1.1.2
|
|
70
91
|
|
|
71
92
|
### Patch Changes
|
|
72
93
|
|
|
73
|
-
-
|
|
74
|
-
|
|
75
|
-
|
|
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
|
|
76
97
|
|
|
77
98
|
## 1.1.1
|
|
78
99
|
|
|
79
100
|
### Patch Changes
|
|
80
101
|
|
|
81
|
-
-
|
|
82
|
-
|
|
83
|
-
|
|
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
|
|
84
105
|
|
|
85
106
|
## 1.1.0
|
|
86
107
|
|
|
87
108
|
### Minor Changes
|
|
88
109
|
|
|
89
|
-
-
|
|
90
|
-
|
|
91
|
-
|
|
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
|
|
92
113
|
|
|
93
114
|
### Patch Changes
|
|
94
115
|
|
|
95
|
-
-
|
|
116
|
+
- Updated dependencies
|
|
96
117
|
|
|
97
118
|
## 1.0.7
|
|
98
119
|
|
|
99
120
|
### Patch Changes
|
|
100
121
|
|
|
101
|
-
-
|
|
102
|
-
|
|
103
|
-
|
|
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
|
|
104
125
|
|
|
105
126
|
## 1.0.6
|
|
106
127
|
|
|
107
128
|
### Patch Changes
|
|
108
129
|
|
|
109
|
-
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
-
|
|
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
|
|
113
134
|
|
|
114
135
|
## 1.0.5
|
|
115
136
|
|
|
116
137
|
### Patch Changes
|
|
117
138
|
|
|
118
|
-
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
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
|
|
122
143
|
|
|
123
144
|
## 1.0.4
|
|
124
145
|
|
|
125
146
|
### Patch Changes
|
|
126
147
|
|
|
127
|
-
-
|
|
128
|
-
|
|
129
|
-
|
|
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
|
|
130
151
|
|
|
131
152
|
## 1.0.3
|
|
132
153
|
|
|
133
154
|
### Patch Changes
|
|
134
155
|
|
|
135
|
-
-
|
|
136
|
-
|
|
137
|
-
|
|
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
|
|
138
159
|
|
|
139
160
|
## 1.0.2
|
|
140
161
|
|
|
141
162
|
### Patch Changes
|
|
142
163
|
|
|
143
|
-
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
-
|
|
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
|
|
147
168
|
|
|
148
169
|
## 1.0.1
|
|
149
170
|
|
|
150
171
|
### Patch Changes
|
|
151
172
|
|
|
152
|
-
-
|
|
173
|
+
- Updated dependencies
|
|
153
174
|
|
|
154
175
|
## 1.0.0
|
|
155
176
|
|
|
156
177
|
### Major Changes
|
|
157
178
|
|
|
158
|
-
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
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.
|
|
162
183
|
|
|
163
184
|
### Patch Changes
|
|
164
185
|
|
|
165
|
-
-
|
|
186
|
+
- Updated dependencies
|
|
166
187
|
|
|
167
188
|
## 0.3.7
|
|
168
189
|
|
|
169
190
|
### Patch Changes
|
|
170
191
|
|
|
171
|
-
-
|
|
172
|
-
|
|
173
|
-
|
|
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
|
|
174
195
|
|
|
175
196
|
## 0.3.6
|
|
176
197
|
|
|
177
198
|
### Patch Changes
|
|
178
199
|
|
|
179
|
-
-
|
|
180
|
-
|
|
181
|
-
|
|
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
|
|
182
203
|
|
|
183
204
|
## 0.3.5
|
|
184
205
|
|
|
185
206
|
### Patch Changes
|
|
186
207
|
|
|
187
|
-
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
-
|
|
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
|
|
191
212
|
|
|
192
213
|
## 0.3.4
|
|
193
214
|
|
|
194
215
|
### Patch Changes
|
|
195
216
|
|
|
196
|
-
-
|
|
197
|
-
|
|
198
|
-
|
|
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.
|
|
199
220
|
|
|
200
221
|
## 0.3.3
|
|
201
222
|
|
|
202
223
|
### Patch Changes
|
|
203
224
|
|
|
204
|
-
-
|
|
225
|
+
- Updated dependencies
|
|
205
226
|
|
|
206
227
|
## 0.3.2
|
|
207
228
|
|
|
208
229
|
### Patch Changes
|
|
209
230
|
|
|
210
|
-
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
-
|
|
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
|
|
217
238
|
|
|
218
239
|
## 0.3.1
|
|
219
240
|
|
|
220
241
|
### Patch Changes
|
|
221
242
|
|
|
222
|
-
-
|
|
223
|
-
|
|
224
|
-
|
|
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
|
|
225
246
|
|
|
226
247
|
## 0.3.0
|
|
227
248
|
|
|
228
249
|
### Minor Changes
|
|
229
250
|
|
|
230
|
-
-
|
|
231
|
-
|
|
232
|
-
|
|
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
|
|
233
254
|
|
|
234
255
|
## 0.2.13
|
|
235
256
|
|
|
236
257
|
### Patch Changes
|
|
237
258
|
|
|
238
|
-
-
|
|
239
|
-
|
|
240
|
-
|
|
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
|
|
241
262
|
|
|
242
263
|
## 0.2.12
|
|
243
264
|
|
|
244
265
|
### Patch Changes
|
|
245
266
|
|
|
246
|
-
-
|
|
247
|
-
|
|
248
|
-
|
|
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
|
|
249
270
|
|
|
250
271
|
## 0.2.11
|
|
251
272
|
|
|
252
273
|
### Patch Changes
|
|
253
274
|
|
|
254
|
-
-
|
|
255
|
-
|
|
256
|
-
|
|
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
|
|
257
278
|
|
|
258
279
|
## 0.2.10
|
|
259
280
|
|
|
260
281
|
### Patch Changes
|
|
261
282
|
|
|
262
|
-
-
|
|
263
|
-
|
|
264
|
-
|
|
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
|
|
265
286
|
|
|
266
287
|
## 0.2.9
|
|
267
288
|
|
|
268
289
|
### Patch Changes
|
|
269
290
|
|
|
270
|
-
-
|
|
271
|
-
|
|
272
|
-
|
|
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).
|
|
273
294
|
|
|
274
295
|
## 0.2.8
|
|
275
296
|
|
|
276
297
|
### Patch Changes
|
|
277
298
|
|
|
278
|
-
-
|
|
279
|
-
|
|
280
|
-
|
|
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
|
|
281
302
|
|
|
282
303
|
## 0.2.7
|
|
283
304
|
|
|
284
305
|
### Patch Changes
|
|
285
306
|
|
|
286
|
-
-
|
|
287
|
-
|
|
288
|
-
|
|
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
|
|
289
310
|
|
|
290
311
|
## 0.2.6
|
|
291
312
|
|
|
292
313
|
### Patch Changes
|
|
293
314
|
|
|
294
|
-
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
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.
|
|
318
339
|
|
|
319
340
|
## 0.2.5
|
|
320
341
|
|
|
321
342
|
### Patch Changes
|
|
322
343
|
|
|
323
|
-
-
|
|
324
|
-
|
|
325
|
-
|
|
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
|
|
326
347
|
|
|
327
348
|
## 0.2.4
|
|
328
349
|
|
|
329
350
|
### Patch Changes
|
|
330
351
|
|
|
331
|
-
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
-
|
|
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
|
|
335
356
|
|
|
336
357
|
## 0.2.3
|
|
337
358
|
|
|
338
359
|
### Patch Changes
|
|
339
360
|
|
|
340
|
-
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
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
|
|
344
365
|
|
|
345
366
|
## 0.2.2
|
|
346
367
|
|
|
347
368
|
### Patch Changes
|
|
348
369
|
|
|
349
|
-
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
-
|
|
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
|
|
354
375
|
|
|
355
376
|
## 0.2.1
|
|
356
377
|
|
|
357
378
|
### Patch Changes
|
|
358
379
|
|
|
359
|
-
-
|
|
360
|
-
|
|
361
|
-
|
|
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
|
|
362
383
|
|
|
363
384
|
## 0.2.0
|
|
364
385
|
|
|
365
386
|
### Minor Changes
|
|
366
387
|
|
|
367
|
-
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
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
|
-
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.
|
|
452
472
|
|
|
453
473
|
## 0.1.0
|
|
454
474
|
|
|
455
475
|
### Minor Changes
|
|
456
476
|
|
|
457
|
-
-
|
|
458
|
-
|
|
459
|
-
|
|
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
|
|
460
480
|
|
|
461
481
|
### Patch Changes
|
|
462
482
|
|
|
463
|
-
-
|
|
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",
|
|
@@ -32,17 +32,13 @@
|
|
|
32
32
|
".": "./src/index.ts"
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@atlaskit/adf-schema": "^36.
|
|
36
|
-
"@atlaskit/editor-common": "^
|
|
35
|
+
"@atlaskit/adf-schema": "^36.10.7",
|
|
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
|
}
|