@atlaskit/editor-plugin-base 1.3.1 → 1.4.0

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