@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 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,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
- - [#102243](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/102243)
8
- [`cfc95dac3d82`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/cfc95dac3d82) -
9
- Use new paragraph and heading NodeSpecs
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
- - [#101524](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/101524)
16
- [`4821570088e6`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/4821570088e6) -
17
- ED-23362 Bump ADF schema to version 36.8.1 and add support for adf validation and transformation
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
- - [#99579](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/99579)
24
- [`f222af5687e9`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/f222af5687e9) -
25
- Bump adf-schema to 36.3.0 and adf-schema-json to 1.14.0
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
- - Updated dependencies
50
+ - Updated dependencies
30
51
 
31
52
  ## 1.1.7
32
53
 
33
54
  ### Patch Changes
34
55
 
35
- - Updated dependencies
56
+ - Updated dependencies
36
57
 
37
58
  ## 1.1.6
38
59
 
39
60
  ### Patch Changes
40
61
 
41
- - [#97599](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/97599)
42
- [`32c3130b08fe`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/32c3130b08fe) -
43
- [ED-22282] Bump adf-schema to 36.1.0
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
- - [#97698](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/97698)
50
- [`1c7b378c0d3b`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/1c7b378c0d3b) -
51
- [HOT-108999] We had an incident where the cursor jumps back a character in table headers for any
52
- language triggering composition on an empty line.This was fixed in a patch bump of
53
- prosemirror-view. https://github.com/ProseMirror/prosemirror-view/compare/1.33.4...1.33.5
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
- - Updated dependencies
80
+ - Updated dependencies
60
81
 
61
82
  ## 1.1.3
62
83
 
63
84
  ### Patch Changes
64
85
 
65
- - [#96237](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/96237)
66
- [`0401e7b5a88e`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/0401e7b5a88e) -
67
- [ED-23102] Bump ADF schema to version 35.12.2
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
- - [#94901](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/94901)
74
- [`da964fcdc828`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/da964fcdc828) -
75
- [ED-23097] Bump ADF schema to version 35.12.1
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
- - [#93689](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/93689)
82
- [`5ba5d2b4a9ac`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/5ba5d2b4a9ac) -
83
- Updating adf-schema version to 35.10.0
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
- - [#91934](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/91934)
90
- [`b76a78c6a199`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/b76a78c6a199) -
91
- bumped editor-prosemirror version to 4.0.0
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
- - Updated dependencies
116
+ - Updated dependencies
96
117
 
97
118
  ## 1.0.7
98
119
 
99
120
  ### Patch Changes
100
121
 
101
- - [#92426](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/92426)
102
- [`32c76c7c225c`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/32c76c7c225c) -
103
- Bump adf-schema to 35.9.2 to support table alignment options
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
- - [#91106](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/91106)
110
- [`b6ffa30186b9`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/b6ffa30186b9) -
111
- Bump ADF-schema package to version 35.0.0
112
- - Updated dependencies
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
- - [#86724](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/86724)
119
- [`718a9aa2424d`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/718a9aa2424d) -
120
- [ED-22607] Remove references to maxFrames for multi bodied extensions and bump adf-schema from
121
- 35.7.0 to 35.8.0
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
- - [#81777](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/81777)
128
- [`c6d7a5378751`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/c6d7a5378751) -
129
- Bump adf-schema to 35.7.0
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
- - [#80679](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/80679)
136
- [`104eb9443b7e`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/104eb9443b7e) -
137
- ED-22553 Updating adf-schema version to 35.6.0
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
- - [#78224](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/78224)
144
- [`6b4c9dd4ad34`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/6b4c9dd4ad34) -
145
- ED-22219: adf-schema updated to 35.5.2
146
- - Updated dependencies
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
- - Updated dependencies
173
+ - Updated dependencies
153
174
 
154
175
  ## 1.0.0
155
176
 
156
177
  ### Major Changes
157
178
 
158
- - [#72386](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/72386)
159
- [`0c52b0be40c1`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/0c52b0be40c1) -
160
- This changeset exists to bump all editor plugins that currently don't have a major version. This
161
- is to address an issue with Jira plugin consumption.
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
- - Updated dependencies
186
+ - Updated dependencies
166
187
 
167
188
  ## 0.3.7
168
189
 
169
190
  ### Patch Changes
170
191
 
171
- - [#68572](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/68572)
172
- [`15d407fe5143`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/15d407fe5143) -
173
- Upgrading @atlaskit/editor-prosemirror dependency
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
- - [#70152](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/70152)
180
- [`53ed3673df28`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/53ed3673df28) -
181
- Updating adf-schema version to 35.5.1
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
- - [#68640](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/68640)
188
- [`6a3ea210641a`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/6a3ea210641a) -
189
- Create new context identifier plugin which contains the provider.
190
- - Updated dependencies
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
- - [#67690](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/67690)
197
- [`2f7dc1629e1c`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/2f7dc1629e1c) -
198
- Cleanup feature flag for scrolling optimisation.
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
- - Updated dependencies
225
+ - Updated dependencies
205
226
 
206
227
  ## 0.3.2
207
228
 
208
229
  ### Patch Changes
209
230
 
210
- - [#63346](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/63346)
211
- [`7ab6b24559c0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/7ab6b24559c0) -
212
- Minor performance optimisation for scroll gutter.
213
- - [#65031](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/65031)
214
- [`a00094111b5a`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/a00094111b5a) -
215
- ED-21609 Update adf-schema to 35.3.0
216
- - Updated dependencies
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
- - [#64064](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/64064)
223
- [`77394053290a`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/77394053290a) -
224
- Comment change to trigger builds
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
- - [#63522](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/63522)
231
- [`906d43c5bb6d`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/906d43c5bb6d) -
232
- Remove hack for chrome 88 selection bug
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
- - [#62165](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/62165)
239
- [`b44ac0968d79`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/b44ac0968d79) -
240
- [ED-21562] Bump @atlaskit/adf-schema to 35.2.0 for border mark update
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
- - [#60228](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/60228)
247
- [`63507f58b595`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/63507f58b595) -
248
- Fix browserFreeze events collecting/reporting
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
- - [#60808](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/60808)
255
- [`f509a21be124`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/f509a21be124) -
256
- ED-21506: @atlaskit/adf-schema upgraded to 35.1.1 to support renderer for MBE
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
- - [#58246](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/58246)
263
- [`a381b2599716`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/a381b2599716) -
264
- ED-21371 Update adf-schema to 35.1.0
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
- - [#59147](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/59147)
271
- [`f12e489f23b0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/f12e489f23b0) -
272
- Re-build and deploy packages to NPM to resolve React/Compiled not found error (HOT-106483).
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
- - [#58763](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/58763)
279
- [`0fdbd64522bf`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/0fdbd64522bf) -
280
- update ADF schema
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
- - [#56790](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/56790)
287
- [`ff577a7969d4`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ff577a7969d4) -
288
- ED-21266: Updated @atlaskit/adf-schema to 34.0.1
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
- - [#43646](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/43646)
295
- [`d43f8e9402f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d43f8e9402f) - Make
296
- feature flags plugin optional in all plugins including:
297
-
298
- - analytics
299
- - base
300
- - card
301
- - code-block
302
- - expand
303
- - extension
304
- - floating-toolbar
305
- - hyperlink
306
- - insert-block
307
- - layout
308
- - layout
309
- - list
310
- - media
311
- - paste
312
- - rule
313
- - table
314
- - tasks-and-decisions
315
-
316
- We already treat it as optional in the plugins, so this is just ensuring that the plugin is not
317
- mandatory to be added to the preset.
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
- - [#43417](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/43417)
324
- [`3f3c17f0273`](https://bitbucket.org/atlassian/atlassian-frontend/commits/3f3c17f0273) -
325
- ED-20971 Upgrade adf-schema package to ^34.0.0
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
- - [#43379](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/43379)
332
- [`482c025520d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/482c025520d) -
333
- ED-20763 Upgrade ADF schema version to 33.2.3 for MBE nodes.
334
- - Updated dependencies
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
- - [#41047](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/41047)
341
- [`8f0b00d165f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8f0b00d165f) -
342
- [ED-20003] Extract TypeAhead from editor-core to its own package
343
- @atlaskit/editor-plugin-type-ahead
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
- - [#40750](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/40750)
350
- [`fc19a7b9edd`](https://bitbucket.org/atlassian/atlassian-frontend/commits/fc19a7b9edd) -
351
- [ED-19875] Extraction of Editor Core's Selection Plugin into independent package
352
- '@atlaskit/editor-plugin-selection'.
353
- - Updated dependencies
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
- - [#39749](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/39749)
360
- [`e6b69f455c3`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e6b69f455c3) -
361
- Connect yarn changeset to packages, upgrade adf-schema
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
- - [#40718](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/40718)
368
- [`c1d4b48bdd9`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c1d4b48bdd9) - WHAT:
369
- This change removes plugin exports from editor-core that were used only for the mobile bridge.
370
-
371
- This includes:
372
-
373
- - All plugin keys
374
- - Plugin commands
375
- - Plugin types
376
-
377
- The full list is:
378
-
379
- - EditorFeatureFlags (available via '@atlaskit/editor-common/types' as `FeatureFlags`)
380
- - EmojiResource (available via '@atlaskit/emoji/resource' as `EmojiResource`)
381
- - mediaPlugin
382
- - insertMediaSingleNode
383
- - CustomMediaPicker
384
- - mediaPluginKey
385
- - textColorPluginKey
386
- - TextColorPluginState
387
- - changeColor
388
- - CodeBlockPlugin
389
- - PanelPlugin
390
- - subscribeToToolbarAndPickerUpdates
391
- - subscribeTypeAheadUpdates
392
- - TextFormattingInputMethodToolbar
393
- - TextFormattingInputMethodBasic
394
- - createTable
395
- - insertTaskDecisionCommand
396
- - TaskDecisionInputMethod
397
- - EventDispatcher
398
- - statusPluginKey
399
- - StatusState
400
- - StatusType
401
- - DatePluginState
402
- - insertDate
403
- - openDatePicker
404
- - deleteDate
405
- - dateToDateType
406
- - datePluginKey
407
- - commitStatusPicker
408
- - setStatusPickerAt
409
- - updateStatus
410
- - updateStatusWithAnalytics
411
- - removeStatus
412
- - typeAheadPluginKey
413
- - TypeAheadPluginState
414
- - setKeyboardHeight
415
- - setMobilePaddingTop
416
- - setIsExpanded
417
- - dedupe (available via '@atlaskit/editor-common/utils' as `dedupe`)
418
- - GapCursorSelection (available via '@atlaskit/editor-common/selection' as
419
- `GapCursorSelection`)
420
- - GapCursorSide (available via '@atlaskit/editor-common/selection' as `Side`)
421
- - HistoryPluginState
422
- - MentionPluginState
423
- - InsertBlockInputMethodToolbar
424
- - selectionPluginKey
425
- - SelectionData
426
- - SelectionDataState
427
- - insertExpand
428
- - createTypeAheadTools
429
- - AbstractMentionResource (available via '@atlaskit/mention/resource' as
430
- `AbstractMentionResource`)
431
- - PresenceResource (available via '@atlaskit/mention/resource' as `PresenceResource`)
432
- - ReactEditorView
433
- - BaseReactEditorView
434
- - getDefaultPresetOptionsFromEditorProps
435
- - lightModeStatusColorPalette
436
- - darkModeStatusColorPalette
437
- - PaletteColor
438
- - DEFAULT_BORDER_COLOR
439
-
440
- WHY: We have been extracting plugins out of `editor-core` and as we move them out we need to
441
- remove these exports as the new architecture does not support plugin keys or commands.
442
-
443
- This major bump will remove all remaining commands and keys in one go - some of these features
444
- will be accessible in a safe manner in the future via the `ComposableEditor` and the appropriate
445
- plugins.
446
-
447
- HOW: Should be no consumers using these methods currently (only mobile bridge which has been
448
- updated).
449
-
450
- If there are any issues please reach out to the #help-editor for information on how to update
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
- - [#40580](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/40580)
458
- [`f8e7203eec6`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f8e7203eec6) -
459
- ED-19618 Extract base plugin from editor-core
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
- - Updated dependencies
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
- 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.
@@ -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: paragraphNode
118
+ node: _adfSchema.paragraph
121
119
  }, {
122
120
  name: 'text',
123
121
  node: _adfSchema.text
@@ -1,8 +1,7 @@
1
- import { doc, paragraph, paragraphStage0, text } from '@atlaskit/adf-schema';
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: paragraphNode
93
+ node: paragraph
96
94
  }, {
97
95
  name: 'text',
98
96
  node: text
@@ -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, paragraphStage0, text } from '@atlaskit/adf-schema';
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: paragraphNode
108
+ node: paragraph
111
109
  }, {
112
110
  name: 'text',
113
111
  node: text
@@ -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.0",
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.8.0",
36
- "@atlaskit/editor-common": "^80.4.0",
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 [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,45 @@
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
+ ]
48
45
  }
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
  }