@atlaskit/editor-plugin-panel 1.2.3 → 1.2.5
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 +16 -16
- package/CHANGELOG.md +188 -172
- package/LICENSE.md +6 -8
- package/dist/cjs/plugin.js +2 -1
- package/dist/es2019/plugin.js +2 -1
- package/dist/esm/plugin.js +2 -1
- package/dist/types/plugin.d.ts +1 -4
- package/dist/types/types.d.ts +2 -1
- package/dist/types-ts4.5/types.d.ts +2 -1
- package/package.json +85 -107
- package/report.api.md +18 -22
package/.eslintrc.js
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
module.exports = {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
2
|
+
rules: {
|
|
3
|
+
'@typescript-eslint/no-duplicate-imports': 'error',
|
|
4
|
+
'@typescript-eslint/no-explicit-any': 'error',
|
|
5
|
+
'@typescript-eslint/ban-types': [
|
|
6
|
+
'error',
|
|
7
|
+
{
|
|
8
|
+
types: {
|
|
9
|
+
'React.FC':
|
|
10
|
+
'Please use types directly on props instead, and explicitly define children if required',
|
|
11
|
+
'React.FunctionalComponent':
|
|
12
|
+
'Please use types directly on props instead, and explicitly define children if required',
|
|
13
|
+
},
|
|
14
|
+
extendDefaults: false,
|
|
15
|
+
},
|
|
16
|
+
],
|
|
17
|
+
},
|
|
18
18
|
};
|
package/CHANGELOG.md
CHANGED
|
@@ -1,456 +1,472 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-panel
|
|
2
2
|
|
|
3
|
+
## 1.2.5
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#110390](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/110390)
|
|
8
|
+
[`bead123202369`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/bead123202369) -
|
|
9
|
+
[ux] [ED-23642] Reordering the typeahead so that date, status, code block & info panel are above
|
|
10
|
+
the fold (in the top 5 results)
|
|
11
|
+
- Updated dependencies
|
|
12
|
+
|
|
13
|
+
## 1.2.4
|
|
14
|
+
|
|
15
|
+
### Patch Changes
|
|
16
|
+
|
|
17
|
+
- Updated dependencies
|
|
18
|
+
|
|
3
19
|
## 1.2.3
|
|
4
20
|
|
|
5
21
|
### Patch Changes
|
|
6
22
|
|
|
7
|
-
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
-
|
|
23
|
+
- [#102478](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/102478)
|
|
24
|
+
[`3378951608b0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/3378951608b0) -
|
|
25
|
+
[ED-23332] Update adf-schema package to 36.10.1
|
|
26
|
+
- Updated dependencies
|
|
11
27
|
|
|
12
28
|
## 1.2.2
|
|
13
29
|
|
|
14
30
|
### Patch Changes
|
|
15
31
|
|
|
16
|
-
-
|
|
17
|
-
|
|
18
|
-
|
|
32
|
+
- [#101524](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/101524)
|
|
33
|
+
[`4821570088e6`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/4821570088e6) -
|
|
34
|
+
ED-23362 Bump ADF schema to version 36.8.1 and add support for adf validation and transformation
|
|
19
35
|
|
|
20
36
|
## 1.2.1
|
|
21
37
|
|
|
22
38
|
### Patch Changes
|
|
23
39
|
|
|
24
|
-
-
|
|
25
|
-
|
|
26
|
-
|
|
40
|
+
- [#99825](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/99825)
|
|
41
|
+
[`f48158a56833`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/f48158a56833) -
|
|
42
|
+
ECA11Y-195 Add missing aria-label for panels group in the floating toolbar
|
|
27
43
|
|
|
28
44
|
## 1.2.0
|
|
29
45
|
|
|
30
46
|
### Minor Changes
|
|
31
47
|
|
|
32
|
-
-
|
|
33
|
-
|
|
34
|
-
|
|
48
|
+
- [#99579](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/99579)
|
|
49
|
+
[`f222af5687e9`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/f222af5687e9) -
|
|
50
|
+
Bump adf-schema to 36.3.0 and adf-schema-json to 1.14.0
|
|
35
51
|
|
|
36
52
|
### Patch Changes
|
|
37
53
|
|
|
38
|
-
-
|
|
54
|
+
- Updated dependencies
|
|
39
55
|
|
|
40
56
|
## 1.1.11
|
|
41
57
|
|
|
42
58
|
### Patch Changes
|
|
43
59
|
|
|
44
|
-
-
|
|
60
|
+
- Updated dependencies
|
|
45
61
|
|
|
46
62
|
## 1.1.10
|
|
47
63
|
|
|
48
64
|
### Patch Changes
|
|
49
65
|
|
|
50
|
-
-
|
|
51
|
-
|
|
52
|
-
|
|
66
|
+
- [#98080](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/98080)
|
|
67
|
+
[`23c03580e38c`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/23c03580e38c) -
|
|
68
|
+
[ux] [ED-23247] Allow floating toolbar copy buttons in live pages view mode.
|
|
53
69
|
|
|
54
70
|
## 1.1.9
|
|
55
71
|
|
|
56
72
|
### Patch Changes
|
|
57
73
|
|
|
58
|
-
-
|
|
59
|
-
|
|
60
|
-
|
|
74
|
+
- [#97599](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/97599)
|
|
75
|
+
[`32c3130b08fe`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/32c3130b08fe) -
|
|
76
|
+
[ED-22282] Bump adf-schema to 36.1.0
|
|
61
77
|
|
|
62
78
|
## 1.1.8
|
|
63
79
|
|
|
64
80
|
### Patch Changes
|
|
65
81
|
|
|
66
|
-
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
82
|
+
- [#97698](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/97698)
|
|
83
|
+
[`1c7b378c0d3b`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/1c7b378c0d3b) -
|
|
84
|
+
[HOT-108999] We had an incident where the cursor jumps back a character in table headers for any
|
|
85
|
+
language triggering composition on an empty line.This was fixed in a patch bump of
|
|
86
|
+
prosemirror-view. https://github.com/ProseMirror/prosemirror-view/compare/1.33.4...1.33.5
|
|
71
87
|
|
|
72
88
|
## 1.1.7
|
|
73
89
|
|
|
74
90
|
### Patch Changes
|
|
75
91
|
|
|
76
|
-
-
|
|
92
|
+
- Updated dependencies
|
|
77
93
|
|
|
78
94
|
## 1.1.6
|
|
79
95
|
|
|
80
96
|
### Patch Changes
|
|
81
97
|
|
|
82
|
-
-
|
|
83
|
-
|
|
84
|
-
|
|
98
|
+
- [#96237](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/96237)
|
|
99
|
+
[`0401e7b5a88e`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/0401e7b5a88e) -
|
|
100
|
+
[ED-23102] Bump ADF schema to version 35.12.2
|
|
85
101
|
|
|
86
102
|
## 1.1.5
|
|
87
103
|
|
|
88
104
|
### Patch Changes
|
|
89
105
|
|
|
90
|
-
-
|
|
106
|
+
- Updated dependencies
|
|
91
107
|
|
|
92
108
|
## 1.1.4
|
|
93
109
|
|
|
94
110
|
### Patch Changes
|
|
95
111
|
|
|
96
|
-
-
|
|
97
|
-
|
|
98
|
-
|
|
112
|
+
- [#94901](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/94901)
|
|
113
|
+
[`da964fcdc828`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/da964fcdc828) -
|
|
114
|
+
[ED-23097] Bump ADF schema to version 35.12.1
|
|
99
115
|
|
|
100
116
|
## 1.1.3
|
|
101
117
|
|
|
102
118
|
### Patch Changes
|
|
103
119
|
|
|
104
|
-
-
|
|
105
|
-
|
|
106
|
-
|
|
120
|
+
- [#94717](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/94717)
|
|
121
|
+
[`40f38eb0a512`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/40f38eb0a512) -
|
|
122
|
+
Cleaning up feature flag for inserting nodes in ordered list.
|
|
107
123
|
|
|
108
|
-
|
|
124
|
+
Fix bugs for incorrect ordered list order with action & improve selection behaviour on insert
|
|
109
125
|
|
|
110
|
-
-
|
|
126
|
+
- Updated dependencies
|
|
111
127
|
|
|
112
128
|
## 1.1.2
|
|
113
129
|
|
|
114
130
|
### Patch Changes
|
|
115
131
|
|
|
116
|
-
-
|
|
117
|
-
|
|
118
|
-
|
|
132
|
+
- [#93748](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/93748)
|
|
133
|
+
[`16e695c28843`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/16e695c28843) -
|
|
134
|
+
ED-22891: Fixed selection weirdness when panel has no icon
|
|
119
135
|
|
|
120
136
|
## 1.1.1
|
|
121
137
|
|
|
122
138
|
### Patch Changes
|
|
123
139
|
|
|
124
|
-
-
|
|
125
|
-
|
|
126
|
-
|
|
140
|
+
- [#93689](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/93689)
|
|
141
|
+
[`5ba5d2b4a9ac`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/5ba5d2b4a9ac) -
|
|
142
|
+
Updating adf-schema version to 35.10.0
|
|
127
143
|
|
|
128
144
|
## 1.1.0
|
|
129
145
|
|
|
130
146
|
### Minor Changes
|
|
131
147
|
|
|
132
|
-
-
|
|
133
|
-
|
|
134
|
-
|
|
148
|
+
- [#91934](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/91934)
|
|
149
|
+
[`b76a78c6a199`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/b76a78c6a199) -
|
|
150
|
+
bumped editor-prosemirror version to 4.0.0
|
|
135
151
|
|
|
136
152
|
### Patch Changes
|
|
137
153
|
|
|
138
|
-
-
|
|
154
|
+
- Updated dependencies
|
|
139
155
|
|
|
140
156
|
## 1.0.11
|
|
141
157
|
|
|
142
158
|
### Patch Changes
|
|
143
159
|
|
|
144
|
-
-
|
|
145
|
-
|
|
146
|
-
|
|
160
|
+
- [#92426](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/92426)
|
|
161
|
+
[`32c76c7c225c`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/32c76c7c225c) -
|
|
162
|
+
Bump adf-schema to 35.9.2 to support table alignment options
|
|
147
163
|
|
|
148
164
|
## 1.0.10
|
|
149
165
|
|
|
150
166
|
### Patch Changes
|
|
151
167
|
|
|
152
|
-
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
-
|
|
168
|
+
- [#91106](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/91106)
|
|
169
|
+
[`b6ffa30186b9`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/b6ffa30186b9) -
|
|
170
|
+
Bump ADF-schema package to version 35.0.0
|
|
171
|
+
- Updated dependencies
|
|
156
172
|
|
|
157
173
|
## 1.0.9
|
|
158
174
|
|
|
159
175
|
### Patch Changes
|
|
160
176
|
|
|
161
|
-
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
177
|
+
- [#86724](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/86724)
|
|
178
|
+
[`718a9aa2424d`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/718a9aa2424d) -
|
|
179
|
+
[ED-22607] Remove references to maxFrames for multi bodied extensions and bump adf-schema from
|
|
180
|
+
35.7.0 to 35.8.0
|
|
165
181
|
|
|
166
182
|
## 1.0.8
|
|
167
183
|
|
|
168
184
|
### Patch Changes
|
|
169
185
|
|
|
170
|
-
-
|
|
171
|
-
|
|
172
|
-
|
|
186
|
+
- [#81777](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/81777)
|
|
187
|
+
[`c6d7a5378751`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/c6d7a5378751) -
|
|
188
|
+
Bump adf-schema to 35.7.0
|
|
173
189
|
|
|
174
190
|
## 1.0.7
|
|
175
191
|
|
|
176
192
|
### Patch Changes
|
|
177
193
|
|
|
178
|
-
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
-
|
|
194
|
+
- [#83116](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/83116)
|
|
195
|
+
[`8d4e99057fe0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8d4e99057fe0) -
|
|
196
|
+
Upgrade Typescript from `4.9.5` to `5.4.2`
|
|
197
|
+
- Updated dependencies
|
|
182
198
|
|
|
183
199
|
## 1.0.6
|
|
184
200
|
|
|
185
201
|
### Patch Changes
|
|
186
202
|
|
|
187
|
-
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
-
|
|
203
|
+
- [#81827](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/81827)
|
|
204
|
+
[`7ed7ae4b5cb8`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/7ed7ae4b5cb8) -
|
|
205
|
+
migrated to react18 compatiable types
|
|
206
|
+
- Updated dependencies
|
|
191
207
|
|
|
192
208
|
## 1.0.5
|
|
193
209
|
|
|
194
210
|
### Patch Changes
|
|
195
211
|
|
|
196
|
-
-
|
|
197
|
-
|
|
198
|
-
|
|
212
|
+
- [#80679](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/80679)
|
|
213
|
+
[`104eb9443b7e`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/104eb9443b7e) -
|
|
214
|
+
ED-22553 Updating adf-schema version to 35.6.0
|
|
199
215
|
|
|
200
216
|
## 1.0.4
|
|
201
217
|
|
|
202
218
|
### Patch Changes
|
|
203
219
|
|
|
204
|
-
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
-
|
|
220
|
+
- [#78224](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/78224)
|
|
221
|
+
[`6b4c9dd4ad34`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/6b4c9dd4ad34) -
|
|
222
|
+
ED-22219: adf-schema updated to 35.5.2
|
|
223
|
+
- Updated dependencies
|
|
208
224
|
|
|
209
225
|
## 1.0.3
|
|
210
226
|
|
|
211
227
|
### Patch Changes
|
|
212
228
|
|
|
213
|
-
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
-
|
|
229
|
+
- [#75775](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/75775)
|
|
230
|
+
[`d0cee3285a1a`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/d0cee3285a1a) -
|
|
231
|
+
ED-22287: Adding 16px right padding to panel for all elements. Also using 12px for the no-icon
|
|
232
|
+
usecase.
|
|
233
|
+
- Updated dependencies
|
|
218
234
|
|
|
219
235
|
## 1.0.2
|
|
220
236
|
|
|
221
237
|
### Patch Changes
|
|
222
238
|
|
|
223
|
-
-
|
|
224
|
-
|
|
225
|
-
|
|
239
|
+
- [#70470](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/70470)
|
|
240
|
+
[`7d1629af0072`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/7d1629af0072) -
|
|
241
|
+
ED-21607 Fix issue with cutting nodes leading to panel deletion
|
|
226
242
|
|
|
227
243
|
## 1.0.1
|
|
228
244
|
|
|
229
245
|
### Patch Changes
|
|
230
246
|
|
|
231
|
-
-
|
|
247
|
+
- Updated dependencies
|
|
232
248
|
|
|
233
249
|
## 1.0.0
|
|
234
250
|
|
|
235
251
|
### Major Changes
|
|
236
252
|
|
|
237
|
-
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
253
|
+
- [#72386](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/72386)
|
|
254
|
+
[`0c52b0be40c1`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/0c52b0be40c1) -
|
|
255
|
+
This changeset exists to bump all editor plugins that currently don't have a major version. This
|
|
256
|
+
is to address an issue with Jira plugin consumption.
|
|
241
257
|
|
|
242
258
|
### Patch Changes
|
|
243
259
|
|
|
244
|
-
-
|
|
260
|
+
- Updated dependencies
|
|
245
261
|
|
|
246
262
|
## 0.3.2
|
|
247
263
|
|
|
248
264
|
### Patch Changes
|
|
249
265
|
|
|
250
|
-
-
|
|
251
|
-
|
|
252
|
-
|
|
266
|
+
- [#68572](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/68572)
|
|
267
|
+
[`15d407fe5143`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/15d407fe5143) -
|
|
268
|
+
Upgrading @atlaskit/editor-prosemirror dependency
|
|
253
269
|
|
|
254
270
|
## 0.3.1
|
|
255
271
|
|
|
256
272
|
### Patch Changes
|
|
257
273
|
|
|
258
|
-
-
|
|
259
|
-
|
|
260
|
-
|
|
274
|
+
- [#70152](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/70152)
|
|
275
|
+
[`53ed3673df28`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/53ed3673df28) -
|
|
276
|
+
Updating adf-schema version to 35.5.1
|
|
261
277
|
|
|
262
278
|
## 0.3.0
|
|
263
279
|
|
|
264
280
|
### Minor Changes
|
|
265
281
|
|
|
266
|
-
-
|
|
267
|
-
|
|
268
|
-
|
|
282
|
+
- [#68790](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/68790)
|
|
283
|
+
[`c6d8affc52d1`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/c6d8affc52d1) -
|
|
284
|
+
Support maybeAdd plugins in usePreset. Add typing support for universal preset.
|
|
269
285
|
|
|
270
|
-
|
|
286
|
+
Now when using the editor API with the universal preset
|
|
271
287
|
|
|
272
288
|
### Patch Changes
|
|
273
289
|
|
|
274
|
-
-
|
|
290
|
+
- Updated dependencies
|
|
275
291
|
|
|
276
292
|
## 0.2.7
|
|
277
293
|
|
|
278
294
|
### Patch Changes
|
|
279
295
|
|
|
280
|
-
-
|
|
281
|
-
|
|
282
|
-
|
|
296
|
+
- [#67948](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/67948)
|
|
297
|
+
[`28fcdf6793a4`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/28fcdf6793a4) -
|
|
298
|
+
Expand/collapse for panel and table color pickers
|
|
283
299
|
|
|
284
300
|
## 0.2.6
|
|
285
301
|
|
|
286
302
|
### Patch Changes
|
|
287
303
|
|
|
288
|
-
-
|
|
304
|
+
- Updated dependencies
|
|
289
305
|
|
|
290
306
|
## 0.2.5
|
|
291
307
|
|
|
292
308
|
### Patch Changes
|
|
293
309
|
|
|
294
|
-
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
-
|
|
310
|
+
- [#66826](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/66826)
|
|
311
|
+
[`5e9f6778a15a`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/5e9f6778a15a) -
|
|
312
|
+
[ux] resolved a bug where the cursor mispalced after pasting the media into the panel
|
|
313
|
+
- Updated dependencies
|
|
298
314
|
|
|
299
315
|
## 0.2.4
|
|
300
316
|
|
|
301
317
|
### Patch Changes
|
|
302
318
|
|
|
303
|
-
-
|
|
304
|
-
|
|
305
|
-
|
|
319
|
+
- [#67238](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/67238)
|
|
320
|
+
[`40533849b2ec`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/40533849b2ec) -
|
|
321
|
+
[ED-21835] Change EditorAPI type to always union with undefined
|
|
306
322
|
|
|
307
323
|
## 0.2.3
|
|
308
324
|
|
|
309
325
|
### Patch Changes
|
|
310
326
|
|
|
311
|
-
-
|
|
312
|
-
|
|
313
|
-
|
|
327
|
+
- [#65603](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/65603)
|
|
328
|
+
[`ac8d4b09e18e`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/ac8d4b09e18e) -
|
|
329
|
+
ED-21609 Node nesting: Use the new nodespec for list and panel when respective FF's are enabled
|
|
314
330
|
|
|
315
331
|
## 0.2.2
|
|
316
332
|
|
|
317
333
|
### Patch Changes
|
|
318
334
|
|
|
319
|
-
-
|
|
320
|
-
|
|
321
|
-
|
|
335
|
+
- [#65802](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/65802)
|
|
336
|
+
[`438ead060875`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/438ead060875) -
|
|
337
|
+
Ensure all editor plugins are marked as singletons
|
|
322
338
|
|
|
323
339
|
## 0.2.1
|
|
324
340
|
|
|
325
341
|
### Patch Changes
|
|
326
342
|
|
|
327
|
-
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
-
|
|
343
|
+
- [#65031](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/65031)
|
|
344
|
+
[`a00094111b5a`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/a00094111b5a) -
|
|
345
|
+
ED-21609 Update adf-schema to 35.3.0
|
|
346
|
+
- Updated dependencies
|
|
331
347
|
|
|
332
348
|
## 0.2.0
|
|
333
349
|
|
|
334
350
|
### Minor Changes
|
|
335
351
|
|
|
336
|
-
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
352
|
+
- [#64335](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/64335)
|
|
353
|
+
[`efc8826c907f`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/efc8826c907f) -
|
|
354
|
+
[ux] [ED-16509] Restart numbered list inserting nodes via QUICK INSERT, nodes including : panels,
|
|
355
|
+
expands, decisions, tables, layout, quotes, actions, dividers, headings. Changes are being guarded
|
|
356
|
+
behind feature flag platform.editor.ordered-list-inserting-nodes_bh0vo
|
|
341
357
|
|
|
342
358
|
### Patch Changes
|
|
343
359
|
|
|
344
|
-
-
|
|
360
|
+
- Updated dependencies
|
|
345
361
|
|
|
346
362
|
## 0.1.14
|
|
347
363
|
|
|
348
364
|
### Patch Changes
|
|
349
365
|
|
|
350
|
-
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
-
|
|
366
|
+
- [#63930](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/63930)
|
|
367
|
+
[`ab09a2d6f8f4`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/ab09a2d6f8f4) -
|
|
368
|
+
ED-21649 Fixed issue with media content getting lost on backspace
|
|
369
|
+
- Updated dependencies
|
|
354
370
|
|
|
355
371
|
## 0.1.13
|
|
356
372
|
|
|
357
373
|
### Patch Changes
|
|
358
374
|
|
|
359
|
-
-
|
|
360
|
-
|
|
361
|
-
|
|
375
|
+
- [#62165](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/62165)
|
|
376
|
+
[`b44ac0968d79`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/b44ac0968d79) -
|
|
377
|
+
[ED-21562] Bump @atlaskit/adf-schema to 35.2.0 for border mark update
|
|
362
378
|
|
|
363
379
|
## 0.1.12
|
|
364
380
|
|
|
365
381
|
### Patch Changes
|
|
366
382
|
|
|
367
|
-
-
|
|
368
|
-
|
|
369
|
-
|
|
383
|
+
- [#61697](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/61697)
|
|
384
|
+
[`1a46191a332f`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/1a46191a332f) -
|
|
385
|
+
ED-20963 Fixed issue with panel keymap - unable to delete ordered list within a quote
|
|
370
386
|
|
|
371
387
|
## 0.1.11
|
|
372
388
|
|
|
373
389
|
### Patch Changes
|
|
374
390
|
|
|
375
|
-
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
-
|
|
391
|
+
- [#60802](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/60802)
|
|
392
|
+
[`3ef8131264ff`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/3ef8131264ff) -
|
|
393
|
+
ED-20963 Allow normal backspace behaviour for lists inside quote
|
|
394
|
+
- Updated dependencies
|
|
379
395
|
|
|
380
396
|
## 0.1.10
|
|
381
397
|
|
|
382
398
|
### Patch Changes
|
|
383
399
|
|
|
384
|
-
-
|
|
385
|
-
|
|
386
|
-
|
|
400
|
+
- [#60808](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/60808)
|
|
401
|
+
[`f509a21be124`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/f509a21be124) -
|
|
402
|
+
ED-21506: @atlaskit/adf-schema upgraded to 35.1.1 to support renderer for MBE
|
|
387
403
|
|
|
388
404
|
## 0.1.9
|
|
389
405
|
|
|
390
406
|
### Patch Changes
|
|
391
407
|
|
|
392
|
-
-
|
|
393
|
-
|
|
394
|
-
|
|
408
|
+
- [#58246](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/58246)
|
|
409
|
+
[`a381b2599716`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/a381b2599716) -
|
|
410
|
+
ED-21371 Update adf-schema to 35.1.0
|
|
395
411
|
|
|
396
412
|
## 0.1.8
|
|
397
413
|
|
|
398
414
|
### Patch Changes
|
|
399
415
|
|
|
400
|
-
-
|
|
416
|
+
- Updated dependencies
|
|
401
417
|
|
|
402
418
|
## 0.1.7
|
|
403
419
|
|
|
404
420
|
### Patch Changes
|
|
405
421
|
|
|
406
|
-
-
|
|
407
|
-
|
|
408
|
-
|
|
422
|
+
- [#59147](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/59147)
|
|
423
|
+
[`f12e489f23b0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/f12e489f23b0) -
|
|
424
|
+
Re-build and deploy packages to NPM to resolve React/Compiled not found error (HOT-106483).
|
|
409
425
|
|
|
410
426
|
## 0.1.6
|
|
411
427
|
|
|
412
428
|
### Patch Changes
|
|
413
429
|
|
|
414
|
-
-
|
|
415
|
-
|
|
416
|
-
|
|
430
|
+
- [#58763](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/58763)
|
|
431
|
+
[`0fdbd64522bf`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/0fdbd64522bf) -
|
|
432
|
+
update ADF schema
|
|
417
433
|
|
|
418
434
|
## 0.1.5
|
|
419
435
|
|
|
420
436
|
### Patch Changes
|
|
421
437
|
|
|
422
|
-
-
|
|
423
|
-
|
|
424
|
-
|
|
438
|
+
- [#56790](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/56790)
|
|
439
|
+
[`ff577a7969d4`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ff577a7969d4) -
|
|
440
|
+
ED-21266: Updated @atlaskit/adf-schema to 34.0.1
|
|
425
441
|
|
|
426
442
|
## 0.1.4
|
|
427
443
|
|
|
428
444
|
### Patch Changes
|
|
429
445
|
|
|
430
|
-
-
|
|
431
|
-
|
|
432
|
-
|
|
446
|
+
- [#43417](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/43417)
|
|
447
|
+
[`3f3c17f0273`](https://bitbucket.org/atlassian/atlassian-frontend/commits/3f3c17f0273) - ED-20971
|
|
448
|
+
Upgrade adf-schema package to ^34.0.0
|
|
433
449
|
|
|
434
450
|
## 0.1.3
|
|
435
451
|
|
|
436
452
|
### Patch Changes
|
|
437
453
|
|
|
438
|
-
-
|
|
454
|
+
- Updated dependencies
|
|
439
455
|
|
|
440
456
|
## 0.1.2
|
|
441
457
|
|
|
442
458
|
### Patch Changes
|
|
443
459
|
|
|
444
|
-
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
-
|
|
460
|
+
- [#43379](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/43379)
|
|
461
|
+
[`482c025520d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/482c025520d) - ED-20763
|
|
462
|
+
Upgrade ADF schema version to 33.2.3 for MBE nodes.
|
|
463
|
+
- Updated dependencies
|
|
448
464
|
|
|
449
465
|
## 0.1.1
|
|
450
466
|
|
|
451
467
|
### Patch Changes
|
|
452
468
|
|
|
453
|
-
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
-
|
|
469
|
+
- [#42995](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/42995)
|
|
470
|
+
[`a527682dee6`](https://bitbucket.org/atlassian/atlassian-frontend/commits/a527682dee6) - add in
|
|
471
|
+
missing dependencies for imported types
|
|
472
|
+
- Updated dependencies
|
package/LICENSE.md
CHANGED
|
@@ -1,13 +1,11 @@
|
|
|
1
1
|
Copyright 2023 Atlassian Pty Ltd
|
|
2
2
|
|
|
3
|
-
Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
|
-
|
|
5
|
-
You may obtain a copy of the License at
|
|
3
|
+
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in
|
|
4
|
+
compliance with the License. You may obtain a copy of the License at
|
|
6
5
|
|
|
7
6
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
8
7
|
|
|
9
|
-
Unless required by applicable law or agreed to in writing, software
|
|
10
|
-
distributed
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
limitations under the License.
|
|
8
|
+
Unless required by applicable law or agreed to in writing, software distributed under the License is
|
|
9
|
+
distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
10
|
+
implied. See the License for the specific language governing permissions and limitations under the
|
|
11
|
+
License.
|
package/dist/cjs/plugin.js
CHANGED
|
@@ -52,13 +52,14 @@ var panelPlugin = function panelPlugin(_ref) {
|
|
|
52
52
|
},
|
|
53
53
|
pluginsOptions: {
|
|
54
54
|
quickInsert: function quickInsert(_ref3) {
|
|
55
|
+
var _options$getEditorFea;
|
|
55
56
|
var formatMessage = _ref3.formatMessage;
|
|
56
57
|
var quickInsertOptions = [{
|
|
57
58
|
id: 'infopanel',
|
|
58
59
|
title: formatMessage(_messages.blockTypeMessages.infoPanel),
|
|
59
60
|
keywords: ['panel'],
|
|
60
61
|
description: formatMessage(_messages.blockTypeMessages.infoPanelDescription),
|
|
61
|
-
priority: 800,
|
|
62
|
+
priority: (_options$getEditorFea = options.getEditorFeatureFlags) !== null && _options$getEditorFea !== void 0 && _options$getEditorFea.call(options).platformEditorTypeaheadImprovedRelevancy ? 200 : 800,
|
|
62
63
|
icon: function icon() {
|
|
63
64
|
return /*#__PURE__*/_react.default.createElement(_quickInsert.IconPanel, null);
|
|
64
65
|
},
|
package/dist/es2019/plugin.js
CHANGED
|
@@ -43,12 +43,13 @@ const panelPlugin = ({
|
|
|
43
43
|
quickInsert: ({
|
|
44
44
|
formatMessage
|
|
45
45
|
}) => {
|
|
46
|
+
var _options$getEditorFea;
|
|
46
47
|
let quickInsertOptions = [{
|
|
47
48
|
id: 'infopanel',
|
|
48
49
|
title: formatMessage(blockTypeMessages.infoPanel),
|
|
49
50
|
keywords: ['panel'],
|
|
50
51
|
description: formatMessage(blockTypeMessages.infoPanelDescription),
|
|
51
|
-
priority: 800,
|
|
52
|
+
priority: (_options$getEditorFea = options.getEditorFeatureFlags) !== null && _options$getEditorFea !== void 0 && _options$getEditorFea.call(options).platformEditorTypeaheadImprovedRelevancy ? 200 : 800,
|
|
52
53
|
icon: () => /*#__PURE__*/React.createElement(IconPanel, null),
|
|
53
54
|
action(insert, state) {
|
|
54
55
|
return createPanelAction({
|
package/dist/esm/plugin.js
CHANGED
|
@@ -45,13 +45,14 @@ var panelPlugin = function panelPlugin(_ref) {
|
|
|
45
45
|
},
|
|
46
46
|
pluginsOptions: {
|
|
47
47
|
quickInsert: function quickInsert(_ref3) {
|
|
48
|
+
var _options$getEditorFea;
|
|
48
49
|
var formatMessage = _ref3.formatMessage;
|
|
49
50
|
var quickInsertOptions = [{
|
|
50
51
|
id: 'infopanel',
|
|
51
52
|
title: formatMessage(blockTypeMessages.infoPanel),
|
|
52
53
|
keywords: ['panel'],
|
|
53
54
|
description: formatMessage(blockTypeMessages.infoPanelDescription),
|
|
54
|
-
priority: 800,
|
|
55
|
+
priority: (_options$getEditorFea = options.getEditorFeatureFlags) !== null && _options$getEditorFea !== void 0 && _options$getEditorFea.call(options).platformEditorTypeaheadImprovedRelevancy ? 200 : 800,
|
|
55
56
|
icon: function icon() {
|
|
56
57
|
return /*#__PURE__*/React.createElement(IconPanel, null);
|
|
57
58
|
},
|
package/dist/types/plugin.d.ts
CHANGED
|
@@ -5,10 +5,7 @@ import type { decorationsPlugin } from '@atlaskit/editor-plugin-decorations';
|
|
|
5
5
|
import type { PanelPluginOptions } from './types';
|
|
6
6
|
export type PanelPlugin = NextEditorPlugin<'panel', {
|
|
7
7
|
pluginConfiguration: PanelPluginOptions | undefined;
|
|
8
|
-
dependencies: [
|
|
9
|
-
typeof decorationsPlugin,
|
|
10
|
-
OptionalPlugin<typeof analyticsPlugin>
|
|
11
|
-
];
|
|
8
|
+
dependencies: [typeof decorationsPlugin, OptionalPlugin<typeof analyticsPlugin>];
|
|
12
9
|
actions: {
|
|
13
10
|
insertPanel: (inputMethod: INPUT_METHOD) => Command;
|
|
14
11
|
};
|
package/dist/types/types.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { LongPressSelectionPluginOptions } from '@atlaskit/editor-common/types';
|
|
1
|
+
import type { GetEditorFeatureFlags, LongPressSelectionPluginOptions } from '@atlaskit/editor-common/types';
|
|
2
2
|
import { PluginKey } from '@atlaskit/editor-prosemirror/state';
|
|
3
3
|
export declare const pluginKey: PluginKey<any>;
|
|
4
4
|
export interface PanelPluginOptions extends LongPressSelectionPluginOptions, PanelPluginConfig {
|
|
@@ -6,6 +6,7 @@ export interface PanelPluginOptions extends LongPressSelectionPluginOptions, Pan
|
|
|
6
6
|
export interface PanelPluginConfig {
|
|
7
7
|
allowCustomPanel?: boolean;
|
|
8
8
|
allowCustomPanelEdit?: boolean;
|
|
9
|
+
getEditorFeatureFlags?: GetEditorFeatureFlags;
|
|
9
10
|
}
|
|
10
11
|
export type DomPanelAtrrs = {
|
|
11
12
|
class: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { LongPressSelectionPluginOptions } from '@atlaskit/editor-common/types';
|
|
1
|
+
import type { GetEditorFeatureFlags, LongPressSelectionPluginOptions } from '@atlaskit/editor-common/types';
|
|
2
2
|
import { PluginKey } from '@atlaskit/editor-prosemirror/state';
|
|
3
3
|
export declare const pluginKey: PluginKey<any>;
|
|
4
4
|
export interface PanelPluginOptions extends LongPressSelectionPluginOptions, PanelPluginConfig {
|
|
@@ -6,6 +6,7 @@ export interface PanelPluginOptions extends LongPressSelectionPluginOptions, Pan
|
|
|
6
6
|
export interface PanelPluginConfig {
|
|
7
7
|
allowCustomPanel?: boolean;
|
|
8
8
|
allowCustomPanelEdit?: boolean;
|
|
9
|
+
getEditorFeatureFlags?: GetEditorFeatureFlags;
|
|
9
10
|
}
|
|
10
11
|
export type DomPanelAtrrs = {
|
|
11
12
|
class: string;
|
package/package.json
CHANGED
|
@@ -1,108 +1,86 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
"emotion"
|
|
88
|
-
],
|
|
89
|
-
"imports": [
|
|
90
|
-
"import-no-extraneous-disable-for-examples-and-docs"
|
|
91
|
-
]
|
|
92
|
-
}
|
|
93
|
-
},
|
|
94
|
-
"prettier": "@atlassian/atlassian-frontend-prettier-config-1.0.0",
|
|
95
|
-
"platform-feature-flags": {
|
|
96
|
-
"platform.editor.allow-extended-panel": {
|
|
97
|
-
"type": "boolean"
|
|
98
|
-
},
|
|
99
|
-
"platform.editor.allow-custom-cut-for-panel": {
|
|
100
|
-
"type": "boolean"
|
|
101
|
-
}
|
|
102
|
-
},
|
|
103
|
-
"stricter": {
|
|
104
|
-
"no-unused-dependencies": {
|
|
105
|
-
"checkDevDependencies": true
|
|
106
|
-
}
|
|
107
|
-
}
|
|
108
|
-
}
|
|
2
|
+
"name": "@atlaskit/editor-plugin-panel",
|
|
3
|
+
"version": "1.2.5",
|
|
4
|
+
"description": "Panel plugin for @atlaskit/editor-core.",
|
|
5
|
+
"author": "Atlassian Pty Ltd",
|
|
6
|
+
"license": "Apache-2.0",
|
|
7
|
+
"publishConfig": {
|
|
8
|
+
"registry": "https://registry.npmjs.org/"
|
|
9
|
+
},
|
|
10
|
+
"atlassian": {
|
|
11
|
+
"team": "Editor: Jenga",
|
|
12
|
+
"singleton": true,
|
|
13
|
+
"inPublicMirror": false,
|
|
14
|
+
"releaseModel": "continuous",
|
|
15
|
+
"runReact18": false
|
|
16
|
+
},
|
|
17
|
+
"repository": "https://bitbucket.org/atlassian/atlassian-frontend-mirror",
|
|
18
|
+
"main": "dist/cjs/index.js",
|
|
19
|
+
"module": "dist/esm/index.js",
|
|
20
|
+
"module:es2019": "dist/es2019/index.js",
|
|
21
|
+
"types": "dist/types/index.d.ts",
|
|
22
|
+
"typesVersions": {
|
|
23
|
+
">=4.5 <4.9": {
|
|
24
|
+
"*": ["dist/types-ts4.5/*", "dist/types-ts4.5/index.d.ts"]
|
|
25
|
+
}
|
|
26
|
+
},
|
|
27
|
+
"sideEffects": false,
|
|
28
|
+
"atlaskit:src": "src/index.ts",
|
|
29
|
+
"af:exports": {
|
|
30
|
+
".": "./src/index.ts"
|
|
31
|
+
},
|
|
32
|
+
"dependencies": {
|
|
33
|
+
"@atlaskit/adf-schema": "^36.10.7",
|
|
34
|
+
"@atlaskit/editor-common": "^82.6.0",
|
|
35
|
+
"@atlaskit/editor-palette": "1.6.0",
|
|
36
|
+
"@atlaskit/editor-plugin-analytics": "^1.2.0",
|
|
37
|
+
"@atlaskit/editor-plugin-decorations": "^1.1.0",
|
|
38
|
+
"@atlaskit/editor-prosemirror": "4.0.1",
|
|
39
|
+
"@atlaskit/editor-shared-styles": "^2.12.0",
|
|
40
|
+
"@atlaskit/emoji": "^67.6.0",
|
|
41
|
+
"@atlaskit/icon": "^22.3.0",
|
|
42
|
+
"@atlaskit/platform-feature-flags": "^0.2.0",
|
|
43
|
+
"@atlaskit/theme": "^12.9.0",
|
|
44
|
+
"@babel/runtime": "^7.0.0"
|
|
45
|
+
},
|
|
46
|
+
"peerDependencies": {
|
|
47
|
+
"react": "^16.8.0",
|
|
48
|
+
"react-dom": "^16.8.0",
|
|
49
|
+
"react-intl-next": "npm:react-intl@^5.18.1"
|
|
50
|
+
},
|
|
51
|
+
"devDependencies": {
|
|
52
|
+
"@atlaskit/editor-plugin-feature-flags": "^1.1.0",
|
|
53
|
+
"@atlaskit/util-data-test": "^17.9.0",
|
|
54
|
+
"react-dom": "^16.8.0",
|
|
55
|
+
"typescript": "~5.4.2"
|
|
56
|
+
},
|
|
57
|
+
"techstack": {
|
|
58
|
+
"@atlassian/frontend": {
|
|
59
|
+
"import-structure": ["atlassian-conventions"],
|
|
60
|
+
"circular-dependencies": ["file-and-folder-level"]
|
|
61
|
+
},
|
|
62
|
+
"@repo/internal": {
|
|
63
|
+
"dom-events": "use-bind-event-listener",
|
|
64
|
+
"analytics": ["analytics-next"],
|
|
65
|
+
"design-tokens": ["color"],
|
|
66
|
+
"theming": ["react-context"],
|
|
67
|
+
"ui-components": ["lite-mode"],
|
|
68
|
+
"deprecation": "no-deprecated-imports",
|
|
69
|
+
"styling": ["emotion", "emotion"],
|
|
70
|
+
"imports": ["import-no-extraneous-disable-for-examples-and-docs"]
|
|
71
|
+
}
|
|
72
|
+
},
|
|
73
|
+
"platform-feature-flags": {
|
|
74
|
+
"platform.editor.allow-extended-panel": {
|
|
75
|
+
"type": "boolean"
|
|
76
|
+
},
|
|
77
|
+
"platform.editor.allow-custom-cut-for-panel": {
|
|
78
|
+
"type": "boolean"
|
|
79
|
+
}
|
|
80
|
+
},
|
|
81
|
+
"stricter": {
|
|
82
|
+
"no-unused-dependencies": {
|
|
83
|
+
"checkDevDependencies": true
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
}
|
package/report.api.md
CHANGED
|
@@ -2,7 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
## API Report File for "@atlaskit/editor-plugin-panel"
|
|
4
4
|
|
|
5
|
-
> Do not edit this file. This report is auto-generated using
|
|
5
|
+
> Do not edit this file. This report is auto-generated using
|
|
6
|
+
> [API Extractor](https://api-extractor.com/).
|
|
6
7
|
> [Learn more about API reports](https://hello.atlassian.net/wiki/spaces/UR/pages/1825484529/Package+API+Reports)
|
|
7
8
|
|
|
8
9
|
### Table of contents
|
|
@@ -25,17 +26,14 @@ import type { OptionalPlugin } from '@atlaskit/editor-common/types';
|
|
|
25
26
|
|
|
26
27
|
// @public (undocumented)
|
|
27
28
|
export type PanelPlugin = NextEditorPlugin<
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
insertPanel: (inputMethod: INPUT_METHOD) => Command;
|
|
37
|
-
};
|
|
38
|
-
}
|
|
29
|
+
'panel',
|
|
30
|
+
{
|
|
31
|
+
pluginConfiguration: PanelPluginOptions | undefined;
|
|
32
|
+
dependencies: [typeof decorationsPlugin, OptionalPlugin<typeof analyticsPlugin>];
|
|
33
|
+
actions: {
|
|
34
|
+
insertPanel: (inputMethod: INPUT_METHOD) => Command;
|
|
35
|
+
};
|
|
36
|
+
}
|
|
39
37
|
>;
|
|
40
38
|
|
|
41
39
|
// @public (undocumented)
|
|
@@ -43,16 +41,14 @@ export const panelPlugin: PanelPlugin;
|
|
|
43
41
|
|
|
44
42
|
// @public (undocumented)
|
|
45
43
|
export interface PanelPluginConfig {
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
44
|
+
// (undocumented)
|
|
45
|
+
allowCustomPanel?: boolean;
|
|
46
|
+
// (undocumented)
|
|
47
|
+
allowCustomPanelEdit?: boolean;
|
|
50
48
|
}
|
|
51
49
|
|
|
52
50
|
// @public (undocumented)
|
|
53
|
-
interface PanelPluginOptions
|
|
54
|
-
extends LongPressSelectionPluginOptions,
|
|
55
|
-
PanelPluginConfig {}
|
|
51
|
+
interface PanelPluginOptions extends LongPressSelectionPluginOptions, PanelPluginConfig {}
|
|
56
52
|
|
|
57
53
|
// (No @packageDocumentation comment for this package)
|
|
58
54
|
```
|
|
@@ -65,9 +61,9 @@ interface PanelPluginOptions
|
|
|
65
61
|
|
|
66
62
|
```json
|
|
67
63
|
{
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
64
|
+
"react": "^16.8.0",
|
|
65
|
+
"react-dom": "^16.8.0",
|
|
66
|
+
"react-intl-next": "npm:react-intl@^5.18.1"
|
|
71
67
|
}
|
|
72
68
|
```
|
|
73
69
|
|