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