@atlaskit/editor-plugin-expand 1.7.1 → 1.7.3
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/CHANGELOG.md +265 -251
- package/LICENSE.md +6 -8
- package/dist/cjs/legacyExpand/ui/ExpandIconButton.js +3 -1
- package/dist/cjs/singlePlayerExpand/ui/ExpandButton.js +3 -1
- package/dist/es2019/legacyExpand/ui/ExpandIconButton.js +3 -1
- package/dist/es2019/singlePlayerExpand/ui/ExpandButton.js +3 -1
- package/dist/esm/legacyExpand/ui/ExpandIconButton.js +3 -1
- package/dist/esm/singlePlayerExpand/ui/ExpandButton.js +3 -1
- package/dist/types/index.d.ts +1 -1
- package/dist/types/singlePlayerExpand/commands.d.ts +1 -1
- package/dist/types-ts4.5/index.d.ts +1 -1
- package/dist/types-ts4.5/singlePlayerExpand/commands.d.ts +1 -1
- package/package.json +6 -8
- package/report.api.md +29 -30
package/CHANGELOG.md
CHANGED
|
@@ -1,583 +1,597 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-expand
|
|
2
2
|
|
|
3
|
+
## 1.7.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
|
|
9
|
+
## 1.7.2
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [#102478](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/102478)
|
|
14
|
+
[`3378951608b0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/3378951608b0) -
|
|
15
|
+
[ED-23332] Update adf-schema package to 36.10.1
|
|
16
|
+
- Updated dependencies
|
|
17
|
+
|
|
3
18
|
## 1.7.1
|
|
4
19
|
|
|
5
20
|
### Patch Changes
|
|
6
21
|
|
|
7
|
-
-
|
|
8
|
-
|
|
9
|
-
|
|
22
|
+
- [#101524](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/101524)
|
|
23
|
+
[`4821570088e6`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/4821570088e6) -
|
|
24
|
+
ED-23362 Bump ADF schema to version 36.8.1 and add support for adf validation and transformation
|
|
10
25
|
|
|
11
26
|
## 1.7.0
|
|
12
27
|
|
|
13
28
|
### Minor Changes
|
|
14
29
|
|
|
15
|
-
-
|
|
16
|
-
|
|
17
|
-
|
|
30
|
+
- [#99579](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/99579)
|
|
31
|
+
[`f222af5687e9`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/f222af5687e9) -
|
|
32
|
+
Bump adf-schema to 36.3.0 and adf-schema-json to 1.14.0
|
|
18
33
|
|
|
19
34
|
### Patch Changes
|
|
20
35
|
|
|
21
|
-
-
|
|
36
|
+
- Updated dependencies
|
|
22
37
|
|
|
23
38
|
## 1.6.12
|
|
24
39
|
|
|
25
40
|
### Patch Changes
|
|
26
41
|
|
|
27
|
-
-
|
|
42
|
+
- Updated dependencies
|
|
28
43
|
|
|
29
44
|
## 1.6.11
|
|
30
45
|
|
|
31
46
|
### Patch Changes
|
|
32
47
|
|
|
33
|
-
-
|
|
34
|
-
|
|
35
|
-
|
|
48
|
+
- [#98080](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/98080)
|
|
49
|
+
[`23c03580e38c`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/23c03580e38c) -
|
|
50
|
+
[ux] [ED-23247] Allow floating toolbar copy buttons in live pages view mode.
|
|
36
51
|
|
|
37
52
|
## 1.6.10
|
|
38
53
|
|
|
39
54
|
### Patch Changes
|
|
40
55
|
|
|
41
|
-
-
|
|
42
|
-
|
|
43
|
-
|
|
56
|
+
- [#97599](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/97599)
|
|
57
|
+
[`32c3130b08fe`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/32c3130b08fe) -
|
|
58
|
+
[ED-22282] Bump adf-schema to 36.1.0
|
|
44
59
|
|
|
45
60
|
## 1.6.9
|
|
46
61
|
|
|
47
62
|
### Patch Changes
|
|
48
63
|
|
|
49
|
-
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
64
|
+
- [#97592](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/97592)
|
|
65
|
+
[`97342ab324ba`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/97342ab324ba) -
|
|
66
|
+
[ux] [ED-23114] Add functionality for undo and redo behaviour using ProseMirror while inside the
|
|
67
|
+
title of an expand. Previously, this was being handled by the browser default behaviour.
|
|
53
68
|
|
|
54
69
|
## 1.6.8
|
|
55
70
|
|
|
56
71
|
### Patch Changes
|
|
57
72
|
|
|
58
|
-
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
73
|
+
- [#97116](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/97116)
|
|
74
|
+
[`7f699439f92f`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/7f699439f92f) -
|
|
75
|
+
[ED-22282] Clean up `allow-extended-nested-expand` feature flag.
|
|
76
|
+
- [#97698](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/97698)
|
|
77
|
+
[`1c7b378c0d3b`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/1c7b378c0d3b) -
|
|
78
|
+
[HOT-108999] We had an incident where the cursor jumps back a character in table headers for any
|
|
79
|
+
language triggering composition on an empty line.This was fixed in a patch bump of
|
|
80
|
+
prosemirror-view. https://github.com/ProseMirror/prosemirror-view/compare/1.33.4...1.33.5
|
|
66
81
|
|
|
67
82
|
## 1.6.7
|
|
68
83
|
|
|
69
84
|
### Patch Changes
|
|
70
85
|
|
|
71
|
-
-
|
|
86
|
+
- Updated dependencies
|
|
72
87
|
|
|
73
88
|
## 1.6.6
|
|
74
89
|
|
|
75
90
|
### Patch Changes
|
|
76
91
|
|
|
77
|
-
-
|
|
78
|
-
|
|
79
|
-
|
|
92
|
+
- [#96237](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/96237)
|
|
93
|
+
[`0401e7b5a88e`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/0401e7b5a88e) -
|
|
94
|
+
[ED-23102] Bump ADF schema to version 35.12.2
|
|
80
95
|
|
|
81
96
|
## 1.6.5
|
|
82
97
|
|
|
83
98
|
### Patch Changes
|
|
84
99
|
|
|
85
|
-
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
-
|
|
100
|
+
- [#95610](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/95610)
|
|
101
|
+
[`1520db696653`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/1520db696653) -
|
|
102
|
+
[ED-23108] Follow up to refactor the logic in the single player expands update function. Single
|
|
103
|
+
player expands are only used when `platform.editor.single-player-expand` FF AND live page are both
|
|
104
|
+
enabled.
|
|
105
|
+
- Updated dependencies
|
|
91
106
|
|
|
92
107
|
## 1.6.4
|
|
93
108
|
|
|
94
109
|
### Patch Changes
|
|
95
110
|
|
|
96
|
-
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
enabled.
|
|
111
|
+
- [#94988](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/94988)
|
|
112
|
+
[`8e5daa7c846d`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8e5daa7c846d) -
|
|
113
|
+
[ux] [ED-22983] disable editing in singlePlayer expand nodes when editorDisabled state is true.
|
|
114
|
+
these changes are only applied when the
|
|
115
|
+
platform.editor.live-view.disable-editing-in-view-mode_fi1rx FF is on, and the singlePlayer expand
|
|
116
|
+
is used when live view is enabled and the platform.editor.single-player-expand FF is enabled.
|
|
103
117
|
|
|
104
118
|
## 1.6.3
|
|
105
119
|
|
|
106
120
|
### Patch Changes
|
|
107
121
|
|
|
108
|
-
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
122
|
+
- [#95226](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/95226)
|
|
123
|
+
[`35450b170a19`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/35450b170a19) -
|
|
124
|
+
[ux] [ED-23152] Expands no longer change state (open/closed) when the page width is toggled by a
|
|
125
|
+
user (live pages/ single player expands)
|
|
126
|
+
- [#94901](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/94901)
|
|
127
|
+
[`da964fcdc828`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/da964fcdc828) -
|
|
128
|
+
[ED-23097] Bump ADF schema to version 35.12.1
|
|
129
|
+
- [#94398](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/94398)
|
|
130
|
+
[`4df808e35fda`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/4df808e35fda) -
|
|
131
|
+
[ux] [ED-23108] Solve bug where single player expands would lose their expanded state when adding
|
|
132
|
+
breakout marks. Single player expands are only used when `platform.editor.single-player-expand` FF
|
|
133
|
+
AND live page are both enabled.
|
|
120
134
|
|
|
121
135
|
## 1.6.2
|
|
122
136
|
|
|
123
137
|
### Patch Changes
|
|
124
138
|
|
|
125
|
-
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
139
|
+
- [#93962](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/93962)
|
|
140
|
+
[`797e12a40048`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/797e12a40048) -
|
|
141
|
+
[ED-23107] fix functionality for moving down from the title of an expand with the arrow key down -
|
|
142
|
+
you can be anywhere inside the single player expand title and move down now. the single player
|
|
143
|
+
expand is only used when live view is enabled and the platform.editor.single-player-expand FF is
|
|
144
|
+
enabled.
|
|
131
145
|
|
|
132
146
|
## 1.6.1
|
|
133
147
|
|
|
134
148
|
### Patch Changes
|
|
135
149
|
|
|
136
|
-
-
|
|
137
|
-
|
|
138
|
-
|
|
150
|
+
- [#93689](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/93689)
|
|
151
|
+
[`5ba5d2b4a9ac`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/5ba5d2b4a9ac) -
|
|
152
|
+
Updating adf-schema version to 35.10.0
|
|
139
153
|
|
|
140
154
|
## 1.6.0
|
|
141
155
|
|
|
142
156
|
### Minor Changes
|
|
143
157
|
|
|
144
|
-
-
|
|
145
|
-
|
|
146
|
-
|
|
158
|
+
- [#91934](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/91934)
|
|
159
|
+
[`b76a78c6a199`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/b76a78c6a199) -
|
|
160
|
+
bumped editor-prosemirror version to 4.0.0
|
|
147
161
|
|
|
148
162
|
### Patch Changes
|
|
149
163
|
|
|
150
|
-
-
|
|
164
|
+
- Updated dependencies
|
|
151
165
|
|
|
152
166
|
## 1.5.2
|
|
153
167
|
|
|
154
168
|
### Patch Changes
|
|
155
169
|
|
|
156
|
-
-
|
|
157
|
-
|
|
158
|
-
|
|
170
|
+
- [#91461](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/91461)
|
|
171
|
+
[`1b353cb06cc8`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/1b353cb06cc8) -
|
|
172
|
+
[ED-23042] Disable editing in code blocks and expand nodes when editorDisabled state is true
|
|
159
173
|
|
|
160
174
|
## 1.5.1
|
|
161
175
|
|
|
162
176
|
### Patch Changes
|
|
163
177
|
|
|
164
|
-
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
-
|
|
178
|
+
- [#92426](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/92426)
|
|
179
|
+
[`32c76c7c225c`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/32c76c7c225c) -
|
|
180
|
+
Bump adf-schema to 35.9.2 to support table alignment options
|
|
181
|
+
- Updated dependencies
|
|
168
182
|
|
|
169
183
|
## 1.5.0
|
|
170
184
|
|
|
171
185
|
### Minor Changes
|
|
172
186
|
|
|
173
|
-
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
187
|
+
- [#92831](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/92831)
|
|
188
|
+
[`c8652f78a9ce`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/c8652f78a9ce) -
|
|
189
|
+
[ED-22991] add functionality for moving left and moving right with the single player expands. the
|
|
190
|
+
single player expand is only used when live view is enabled and the
|
|
191
|
+
platform.editor.single-player-expand FF is enabled.
|
|
178
192
|
|
|
179
193
|
### Patch Changes
|
|
180
194
|
|
|
181
|
-
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
195
|
+
- [#92956](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/92956)
|
|
196
|
+
[`33ba4a1b556d`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/33ba4a1b556d) -
|
|
197
|
+
[ux] [ED-23085] Fix contenteditable being not set to false when expand closed for single player
|
|
198
|
+
expand. This single player expand is only used when live view is enabled and the
|
|
199
|
+
platform.editor.single-player-expand FF is enabled.
|
|
186
200
|
|
|
187
201
|
## 1.4.3
|
|
188
202
|
|
|
189
203
|
### Patch Changes
|
|
190
204
|
|
|
191
|
-
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
205
|
+
- [#92468](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/92468)
|
|
206
|
+
[`515df766c29c`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/515df766c29c) -
|
|
207
|
+
[ux] [ED-23066] Re-render expand toggle icon when the class name is updated so that the
|
|
208
|
+
aria-expanded attribute gets updated to match.
|
|
195
209
|
|
|
196
210
|
## 1.4.2
|
|
197
211
|
|
|
198
212
|
### Patch Changes
|
|
199
213
|
|
|
200
|
-
-
|
|
201
|
-
|
|
202
|
-
|
|
214
|
+
- [#91886](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/91886)
|
|
215
|
+
[`5c0443e007d9`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/5c0443e007d9) -
|
|
216
|
+
[ux] Fix bug where selection marker shows when focussing on the expand title with the keyboard.
|
|
203
217
|
|
|
204
218
|
## 1.4.1
|
|
205
219
|
|
|
206
220
|
### Patch Changes
|
|
207
221
|
|
|
208
|
-
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
222
|
+
- [#90897](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/90897)
|
|
223
|
+
[`6a1d609df65e`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/6a1d609df65e) -
|
|
224
|
+
[ux] [ED-22841] Implement new state management for the single player expand and handle the
|
|
225
|
+
expanding behaviour based on this. Single player expand will only be used if
|
|
226
|
+
`platform.editor.single-player-expand` is true and livePage is enabled.
|
|
213
227
|
|
|
214
228
|
## 1.4.0
|
|
215
229
|
|
|
216
230
|
### Minor Changes
|
|
217
231
|
|
|
218
|
-
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
232
|
+
- [#90925](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/90925)
|
|
233
|
+
[`431c0d17e3e3`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/431c0d17e3e3) -
|
|
234
|
+
[ux] Improve the selection marker by hiding it when in an expand and improving styling by making
|
|
235
|
+
it more subtle.
|
|
222
236
|
|
|
223
237
|
## 1.3.5
|
|
224
238
|
|
|
225
239
|
### Patch Changes
|
|
226
240
|
|
|
227
|
-
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
-
|
|
241
|
+
- [#91106](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/91106)
|
|
242
|
+
[`b6ffa30186b9`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/b6ffa30186b9) -
|
|
243
|
+
Bump ADF-schema package to version 35.0.0
|
|
244
|
+
- Updated dependencies
|
|
231
245
|
|
|
232
246
|
## 1.3.4
|
|
233
247
|
|
|
234
248
|
### Patch Changes
|
|
235
249
|
|
|
236
|
-
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
-
|
|
250
|
+
- [#91146](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/91146)
|
|
251
|
+
[`c982f92adfee`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/c982f92adfee) -
|
|
252
|
+
[ux] Revert changes from ED-22666 as expand is not editable when not selected initially
|
|
253
|
+
- Updated dependencies
|
|
240
254
|
|
|
241
255
|
## 1.3.3
|
|
242
256
|
|
|
243
257
|
### Patch Changes
|
|
244
258
|
|
|
245
|
-
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
259
|
+
- [#90914](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/90914)
|
|
260
|
+
[`a4a9d317e5b8`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/a4a9d317e5b8) -
|
|
261
|
+
[ux] [ED-23013] Fix bug in single player expand where backspace in the title would delete entire
|
|
262
|
+
expand even if the title had content.
|
|
249
263
|
|
|
250
264
|
## 1.3.2
|
|
251
265
|
|
|
252
266
|
### Patch Changes
|
|
253
267
|
|
|
254
|
-
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
268
|
+
- [#89345](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/89345)
|
|
269
|
+
[`80a9a5da9ce4`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/80a9a5da9ce4) -
|
|
270
|
+
[ED-22840] Build the base functionality of the new single player expand which will be used for
|
|
271
|
+
live view pages. Single player expand will only be used if `platform.editor.single-player-expand`
|
|
272
|
+
is true and livePage is enabled.
|
|
259
273
|
|
|
260
274
|
## 1.3.1
|
|
261
275
|
|
|
262
276
|
### Patch Changes
|
|
263
277
|
|
|
264
|
-
-
|
|
265
|
-
|
|
266
|
-
|
|
278
|
+
- [#89499](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/89499)
|
|
279
|
+
[`1a3ac47ce689`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/1a3ac47ce689) -
|
|
280
|
+
ED-22666 Disable editing when editor in view mode or edtable is false
|
|
267
281
|
|
|
268
282
|
## 1.3.0
|
|
269
283
|
|
|
270
284
|
### Minor Changes
|
|
271
285
|
|
|
272
|
-
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
286
|
+
- [#87870](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/87870)
|
|
287
|
+
[`76711a3e7edd`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/76711a3e7edd) -
|
|
288
|
+
[ED-22839] Refactor expand plugin to use either legacy (current) expand or single player expand
|
|
289
|
+
(coming soon). Single player expand will only be used if `platform.editor.single-player-expand` is
|
|
290
|
+
true and livePage is enabled.
|
|
277
291
|
|
|
278
292
|
## 1.2.6
|
|
279
293
|
|
|
280
294
|
### Patch Changes
|
|
281
295
|
|
|
282
|
-
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
-
|
|
296
|
+
- [#88038](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/88038)
|
|
297
|
+
[`19ac4de34153`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/19ac4de34153) -
|
|
298
|
+
update 'w3c-keyname' dependency to 2.1.8
|
|
299
|
+
- Updated dependencies
|
|
286
300
|
|
|
287
301
|
## 1.2.5
|
|
288
302
|
|
|
289
303
|
### Patch Changes
|
|
290
304
|
|
|
291
|
-
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
305
|
+
- [#86724](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/86724)
|
|
306
|
+
[`718a9aa2424d`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/718a9aa2424d) -
|
|
307
|
+
[ED-22607] Remove references to maxFrames for multi bodied extensions and bump adf-schema from
|
|
308
|
+
35.7.0 to 35.8.0
|
|
295
309
|
|
|
296
310
|
## 1.2.4
|
|
297
311
|
|
|
298
312
|
### Patch Changes
|
|
299
313
|
|
|
300
|
-
-
|
|
301
|
-
|
|
302
|
-
|
|
314
|
+
- [#81777](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/81777)
|
|
315
|
+
[`c6d7a5378751`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/c6d7a5378751) -
|
|
316
|
+
Bump adf-schema to 35.7.0
|
|
303
317
|
|
|
304
318
|
## 1.2.3
|
|
305
319
|
|
|
306
320
|
### Patch Changes
|
|
307
321
|
|
|
308
|
-
-
|
|
309
|
-
|
|
310
|
-
|
|
322
|
+
- [#83116](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/83116)
|
|
323
|
+
[`8d4e99057fe0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8d4e99057fe0) -
|
|
324
|
+
Upgrade Typescript from `4.9.5` to `5.4.2`
|
|
311
325
|
|
|
312
326
|
## 1.2.2
|
|
313
327
|
|
|
314
328
|
### Patch Changes
|
|
315
329
|
|
|
316
|
-
-
|
|
317
|
-
|
|
318
|
-
|
|
330
|
+
- [#80679](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/80679)
|
|
331
|
+
[`104eb9443b7e`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/104eb9443b7e) -
|
|
332
|
+
ED-22553 Updating adf-schema version to 35.6.0
|
|
319
333
|
|
|
320
334
|
## 1.2.1
|
|
321
335
|
|
|
322
336
|
### Patch Changes
|
|
323
337
|
|
|
324
|
-
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
-
|
|
338
|
+
- [#78224](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/78224)
|
|
339
|
+
[`6b4c9dd4ad34`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/6b4c9dd4ad34) -
|
|
340
|
+
ED-22219: adf-schema updated to 35.5.2
|
|
341
|
+
- Updated dependencies
|
|
328
342
|
|
|
329
343
|
## 1.2.0
|
|
330
344
|
|
|
331
345
|
### Minor Changes
|
|
332
346
|
|
|
333
|
-
-
|
|
334
|
-
|
|
335
|
-
|
|
347
|
+
- [#76115](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/76115)
|
|
348
|
+
[`3e3eb7cf04e1`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/3e3eb7cf04e1) -
|
|
349
|
+
ED-21718 Transform slice to remove nestedExpand from slice before pasting
|
|
336
350
|
|
|
337
351
|
### Patch Changes
|
|
338
352
|
|
|
339
|
-
-
|
|
353
|
+
- Updated dependencies
|
|
340
354
|
|
|
341
355
|
## 1.1.0
|
|
342
356
|
|
|
343
357
|
### Minor Changes
|
|
344
358
|
|
|
345
|
-
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
359
|
+
- [#75042](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/75042)
|
|
360
|
+
[`ce823f018248`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/ce823f018248) -
|
|
361
|
+
[ux] ED-21987 Diverge expands in live pages so that they are not multiplayer, and are closed by
|
|
362
|
+
default.
|
|
349
363
|
|
|
350
364
|
### Patch Changes
|
|
351
365
|
|
|
352
|
-
-
|
|
366
|
+
- Updated dependencies
|
|
353
367
|
|
|
354
368
|
## 1.0.1
|
|
355
369
|
|
|
356
370
|
### Patch Changes
|
|
357
371
|
|
|
358
|
-
-
|
|
372
|
+
- Updated dependencies
|
|
359
373
|
|
|
360
374
|
## 1.0.0
|
|
361
375
|
|
|
362
376
|
### Major Changes
|
|
363
377
|
|
|
364
|
-
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
378
|
+
- [#72386](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/72386)
|
|
379
|
+
[`0c52b0be40c1`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/0c52b0be40c1) -
|
|
380
|
+
This changeset exists to bump all editor plugins that currently don't have a major version. This
|
|
381
|
+
is to address an issue with Jira plugin consumption.
|
|
368
382
|
|
|
369
383
|
### Patch Changes
|
|
370
384
|
|
|
371
|
-
-
|
|
385
|
+
- Updated dependencies
|
|
372
386
|
|
|
373
387
|
## 0.4.8
|
|
374
388
|
|
|
375
389
|
### Patch Changes
|
|
376
390
|
|
|
377
|
-
-
|
|
378
|
-
|
|
379
|
-
|
|
391
|
+
- [#68572](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/68572)
|
|
392
|
+
[`15d407fe5143`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/15d407fe5143) -
|
|
393
|
+
Upgrading @atlaskit/editor-prosemirror dependency
|
|
380
394
|
|
|
381
395
|
## 0.4.7
|
|
382
396
|
|
|
383
397
|
### Patch Changes
|
|
384
398
|
|
|
385
|
-
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
399
|
+
- [#71186](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/71186)
|
|
400
|
+
[`d76c62a2d98a`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/d76c62a2d98a) -
|
|
401
|
+
[ux] ED-22029 Use extendedNestedExpand node when 'platform.editor.allow-extended-nested-panel' FF
|
|
402
|
+
is enabled
|
|
389
403
|
|
|
390
404
|
## 0.4.6
|
|
391
405
|
|
|
392
406
|
### Patch Changes
|
|
393
407
|
|
|
394
|
-
-
|
|
395
|
-
|
|
396
|
-
|
|
408
|
+
- [#70152](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/70152)
|
|
409
|
+
[`53ed3673df28`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/53ed3673df28) -
|
|
410
|
+
Updating adf-schema version to 35.5.1
|
|
397
411
|
|
|
398
412
|
## 0.4.5
|
|
399
413
|
|
|
400
414
|
### Patch Changes
|
|
401
415
|
|
|
402
|
-
-
|
|
416
|
+
- Updated dependencies
|
|
403
417
|
|
|
404
418
|
## 0.4.4
|
|
405
419
|
|
|
406
420
|
### Patch Changes
|
|
407
421
|
|
|
408
|
-
-
|
|
409
|
-
|
|
410
|
-
|
|
422
|
+
- [#67238](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/67238)
|
|
423
|
+
[`40533849b2ec`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/40533849b2ec) -
|
|
424
|
+
[ED-21835] Change EditorAPI type to always union with undefined
|
|
411
425
|
|
|
412
426
|
## 0.4.3
|
|
413
427
|
|
|
414
428
|
### Patch Changes
|
|
415
429
|
|
|
416
|
-
-
|
|
430
|
+
- Updated dependencies
|
|
417
431
|
|
|
418
432
|
## 0.4.2
|
|
419
433
|
|
|
420
434
|
### Patch Changes
|
|
421
435
|
|
|
422
|
-
-
|
|
423
|
-
|
|
424
|
-
|
|
436
|
+
- [#65802](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/65802)
|
|
437
|
+
[`438ead060875`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/438ead060875) -
|
|
438
|
+
Ensure all editor plugins are marked as singletons
|
|
425
439
|
|
|
426
440
|
## 0.4.1
|
|
427
441
|
|
|
428
442
|
### Patch Changes
|
|
429
443
|
|
|
430
|
-
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
-
|
|
444
|
+
- [#65031](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/65031)
|
|
445
|
+
[`a00094111b5a`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/a00094111b5a) -
|
|
446
|
+
ED-21609 Update adf-schema to 35.3.0
|
|
447
|
+
- Updated dependencies
|
|
434
448
|
|
|
435
449
|
## 0.4.0
|
|
436
450
|
|
|
437
451
|
### Minor Changes
|
|
438
452
|
|
|
439
|
-
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
453
|
+
- [#64335](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/64335)
|
|
454
|
+
[`efc8826c907f`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/efc8826c907f) -
|
|
455
|
+
[ux] [ED-16509] Restart numbered list inserting nodes via QUICK INSERT, nodes including : panels,
|
|
456
|
+
expands, decisions, tables, layout, quotes, actions, dividers, headings. Changes are being guarded
|
|
457
|
+
behind feature flag platform.editor.ordered-list-inserting-nodes_bh0vo
|
|
444
458
|
|
|
445
459
|
### Patch Changes
|
|
446
460
|
|
|
447
|
-
-
|
|
461
|
+
- Updated dependencies
|
|
448
462
|
|
|
449
463
|
## 0.3.0
|
|
450
464
|
|
|
451
465
|
### Minor Changes
|
|
452
466
|
|
|
453
|
-
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
467
|
+
- [#62737](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/62737)
|
|
468
|
+
[`2a6280e4e570`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/2a6280e4e570) -
|
|
469
|
+
Add new configuration option to expand plugin (`allowInteractiveExpand`) to configure the plugin.
|
|
470
|
+
Previously the consumer would have to set the `interactiveExpand` feature flag in the expand
|
|
471
|
+
plugin to configure this behaviour. It is also now set by default.
|
|
458
472
|
|
|
459
473
|
## 0.2.1
|
|
460
474
|
|
|
461
475
|
### Patch Changes
|
|
462
476
|
|
|
463
|
-
-
|
|
464
|
-
|
|
465
|
-
|
|
477
|
+
- [#62165](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/62165)
|
|
478
|
+
[`b44ac0968d79`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/b44ac0968d79) -
|
|
479
|
+
[ED-21562] Bump @atlaskit/adf-schema to 35.2.0 for border mark update
|
|
466
480
|
|
|
467
481
|
## 0.2.0
|
|
468
482
|
|
|
469
483
|
### Minor Changes
|
|
470
484
|
|
|
471
|
-
-
|
|
472
|
-
|
|
473
|
-
|
|
485
|
+
- [#61501](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/61501)
|
|
486
|
+
[`943c6cbeb965`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/943c6cbeb965) -
|
|
487
|
+
Aria-expanded attribute for Expand/Collapse button.
|
|
474
488
|
|
|
475
489
|
## 0.1.12
|
|
476
490
|
|
|
477
491
|
### Patch Changes
|
|
478
492
|
|
|
479
|
-
-
|
|
493
|
+
- Updated dependencies
|
|
480
494
|
|
|
481
495
|
## 0.1.11
|
|
482
496
|
|
|
483
497
|
### Patch Changes
|
|
484
498
|
|
|
485
|
-
-
|
|
486
|
-
|
|
487
|
-
|
|
499
|
+
- [#60808](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/60808)
|
|
500
|
+
[`f509a21be124`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/f509a21be124) -
|
|
501
|
+
ED-21506: @atlaskit/adf-schema upgraded to 35.1.1 to support renderer for MBE
|
|
488
502
|
|
|
489
503
|
## 0.1.10
|
|
490
504
|
|
|
491
505
|
### Patch Changes
|
|
492
506
|
|
|
493
|
-
-
|
|
494
|
-
|
|
495
|
-
|
|
507
|
+
- [#58246](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/58246)
|
|
508
|
+
[`a381b2599716`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/a381b2599716) -
|
|
509
|
+
ED-21371 Update adf-schema to 35.1.0
|
|
496
510
|
|
|
497
511
|
## 0.1.9
|
|
498
512
|
|
|
499
513
|
### Patch Changes
|
|
500
514
|
|
|
501
|
-
-
|
|
515
|
+
- Updated dependencies
|
|
502
516
|
|
|
503
517
|
## 0.1.8
|
|
504
518
|
|
|
505
519
|
### Patch Changes
|
|
506
520
|
|
|
507
|
-
-
|
|
508
|
-
|
|
509
|
-
|
|
521
|
+
- [#59147](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/59147)
|
|
522
|
+
[`f12e489f23b0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/f12e489f23b0) -
|
|
523
|
+
Re-build and deploy packages to NPM to resolve React/Compiled not found error (HOT-106483).
|
|
510
524
|
|
|
511
525
|
## 0.1.7
|
|
512
526
|
|
|
513
527
|
### Patch Changes
|
|
514
528
|
|
|
515
|
-
-
|
|
516
|
-
|
|
517
|
-
|
|
529
|
+
- [#58763](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/58763)
|
|
530
|
+
[`0fdbd64522bf`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/0fdbd64522bf) -
|
|
531
|
+
update ADF schema
|
|
518
532
|
|
|
519
533
|
## 0.1.6
|
|
520
534
|
|
|
521
535
|
### Patch Changes
|
|
522
536
|
|
|
523
|
-
-
|
|
524
|
-
|
|
525
|
-
|
|
537
|
+
- [#56790](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/56790)
|
|
538
|
+
[`ff577a7969d4`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ff577a7969d4) -
|
|
539
|
+
ED-21266: Updated @atlaskit/adf-schema to 34.0.1
|
|
526
540
|
|
|
527
541
|
## 0.1.5
|
|
528
542
|
|
|
529
543
|
### Patch Changes
|
|
530
544
|
|
|
531
|
-
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
545
|
+
- [#43646](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/43646)
|
|
546
|
+
[`d43f8e9402f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d43f8e9402f) - Make
|
|
547
|
+
feature flags plugin optional in all plugins including:
|
|
548
|
+
|
|
549
|
+
- analytics
|
|
550
|
+
- base
|
|
551
|
+
- card
|
|
552
|
+
- code-block
|
|
553
|
+
- expand
|
|
554
|
+
- extension
|
|
555
|
+
- floating-toolbar
|
|
556
|
+
- hyperlink
|
|
557
|
+
- insert-block
|
|
558
|
+
- layout
|
|
559
|
+
- layout
|
|
560
|
+
- list
|
|
561
|
+
- media
|
|
562
|
+
- paste
|
|
563
|
+
- rule
|
|
564
|
+
- table
|
|
565
|
+
- tasks-and-decisions
|
|
566
|
+
|
|
567
|
+
We already treat it as optional in the plugins, so this is just ensuring that the plugin is not
|
|
568
|
+
mandatory to be added to the preset.
|
|
555
569
|
|
|
556
570
|
## 0.1.4
|
|
557
571
|
|
|
558
572
|
### Patch Changes
|
|
559
573
|
|
|
560
|
-
-
|
|
561
|
-
|
|
562
|
-
|
|
574
|
+
- [#43417](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/43417)
|
|
575
|
+
[`3f3c17f0273`](https://bitbucket.org/atlassian/atlassian-frontend/commits/3f3c17f0273) - ED-20971
|
|
576
|
+
Upgrade adf-schema package to ^34.0.0
|
|
563
577
|
|
|
564
578
|
## 0.1.3
|
|
565
579
|
|
|
566
580
|
### Patch Changes
|
|
567
581
|
|
|
568
|
-
-
|
|
582
|
+
- Updated dependencies
|
|
569
583
|
|
|
570
584
|
## 0.1.2
|
|
571
585
|
|
|
572
586
|
### Patch Changes
|
|
573
587
|
|
|
574
|
-
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
-
|
|
588
|
+
- [#43379](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/43379)
|
|
589
|
+
[`482c025520d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/482c025520d) - ED-20763
|
|
590
|
+
Upgrade ADF schema version to 33.2.3 for MBE nodes.
|
|
591
|
+
- Updated dependencies
|
|
578
592
|
|
|
579
593
|
## 0.1.1
|
|
580
594
|
|
|
581
595
|
### Patch Changes
|
|
582
596
|
|
|
583
|
-
-
|
|
597
|
+
- 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.
|
|
@@ -69,7 +69,9 @@ var CustomButton = exports.CustomButton = function CustomButton(props) {
|
|
|
69
69
|
}, rest);
|
|
70
70
|
}, [props]);
|
|
71
71
|
return (0, _react2.jsx)(_customThemeButton.default, {
|
|
72
|
-
appearance: "subtle"
|
|
72
|
+
appearance: "subtle"
|
|
73
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
|
|
74
|
+
,
|
|
73
75
|
className: _styles.expandClassNames.iconContainer,
|
|
74
76
|
iconBefore: (0, _react2.jsx)(_chevronRight.default, {
|
|
75
77
|
label: ''
|
|
@@ -48,7 +48,9 @@ var ExpandButtonInner = exports.ExpandButtonInner = function ExpandButtonInner(p
|
|
|
48
48
|
}, rest);
|
|
49
49
|
}, [props]);
|
|
50
50
|
return (0, _react2.jsx)(_customThemeButton.default, {
|
|
51
|
-
appearance: "subtle"
|
|
51
|
+
appearance: "subtle"
|
|
52
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
|
|
53
|
+
,
|
|
52
54
|
className: _styles.expandClassNames.iconContainer,
|
|
53
55
|
iconBefore: (0, _react2.jsx)(_chevronRight.default, {
|
|
54
56
|
label: ''
|
|
@@ -48,7 +48,9 @@ export const CustomButton = props => {
|
|
|
48
48
|
};
|
|
49
49
|
}, [props]);
|
|
50
50
|
return jsx(Button, {
|
|
51
|
-
appearance: "subtle"
|
|
51
|
+
appearance: "subtle"
|
|
52
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
|
|
53
|
+
,
|
|
52
54
|
className: expandClassNames.iconContainer,
|
|
53
55
|
iconBefore: jsx(ChevronRightIcon, {
|
|
54
56
|
label: ''
|
|
@@ -36,7 +36,9 @@ export const ExpandButtonInner = props => {
|
|
|
36
36
|
};
|
|
37
37
|
}, [props]);
|
|
38
38
|
return jsx(Button, {
|
|
39
|
-
appearance: "subtle"
|
|
39
|
+
appearance: "subtle"
|
|
40
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
|
|
41
|
+
,
|
|
40
42
|
className: expandClassNames.iconContainer,
|
|
41
43
|
iconBefore: jsx(ChevronRightIcon, {
|
|
42
44
|
label: ''
|
|
@@ -60,7 +60,9 @@ export var CustomButton = function CustomButton(props) {
|
|
|
60
60
|
}, rest);
|
|
61
61
|
}, [props]);
|
|
62
62
|
return jsx(Button, {
|
|
63
|
-
appearance: "subtle"
|
|
63
|
+
appearance: "subtle"
|
|
64
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
|
|
65
|
+
,
|
|
64
66
|
className: expandClassNames.iconContainer,
|
|
65
67
|
iconBefore: jsx(ChevronRightIcon, {
|
|
66
68
|
label: ''
|
|
@@ -38,7 +38,9 @@ export var ExpandButtonInner = function ExpandButtonInner(props) {
|
|
|
38
38
|
}, rest);
|
|
39
39
|
}, [props]);
|
|
40
40
|
return jsx(Button, {
|
|
41
|
-
appearance: "subtle"
|
|
41
|
+
appearance: "subtle"
|
|
42
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
|
|
43
|
+
,
|
|
42
44
|
className: expandClassNames.iconContainer,
|
|
43
45
|
iconBefore: jsx(ChevronRightIcon, {
|
|
44
46
|
label: ''
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export type { ExpandPlugin, ExpandPluginState, ExpandPluginOptions
|
|
1
|
+
export type { ExpandPlugin, ExpandPluginState, ExpandPluginOptions } from './types';
|
|
2
2
|
export { expandPlugin } from './plugin';
|
|
@@ -12,7 +12,7 @@ export declare const toggleExpandExpanded: ({ editorAnalyticsAPI, pos, node, }:
|
|
|
12
12
|
pos: number;
|
|
13
13
|
node: PMNode;
|
|
14
14
|
}) => Command;
|
|
15
|
-
export declare const updateExpandTitle: ({ title, nodeType, pos
|
|
15
|
+
export declare const updateExpandTitle: ({ title, nodeType, pos }: {
|
|
16
16
|
title: string;
|
|
17
17
|
pos: number;
|
|
18
18
|
nodeType: NodeType;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export type { ExpandPlugin, ExpandPluginState, ExpandPluginOptions
|
|
1
|
+
export type { ExpandPlugin, ExpandPluginState, ExpandPluginOptions } from './types';
|
|
2
2
|
export { expandPlugin } from './plugin';
|
|
@@ -12,7 +12,7 @@ export declare const toggleExpandExpanded: ({ editorAnalyticsAPI, pos, node, }:
|
|
|
12
12
|
pos: number;
|
|
13
13
|
node: PMNode;
|
|
14
14
|
}) => Command;
|
|
15
|
-
export declare const updateExpandTitle: ({ title, nodeType, pos
|
|
15
|
+
export declare const updateExpandTitle: ({ title, nodeType, pos }: {
|
|
16
16
|
title: string;
|
|
17
17
|
pos: number;
|
|
18
18
|
nodeType: NodeType;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-expand",
|
|
3
|
-
"version": "1.7.
|
|
3
|
+
"version": "1.7.3",
|
|
4
4
|
"description": "Expand plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -33,18 +33,18 @@
|
|
|
33
33
|
".": "./src/index.ts"
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@atlaskit/adf-schema": "^36.
|
|
37
|
-
"@atlaskit/button": "^17.
|
|
38
|
-
"@atlaskit/editor-common": "^
|
|
36
|
+
"@atlaskit/adf-schema": "^36.10.7",
|
|
37
|
+
"@atlaskit/button": "^17.17.0",
|
|
38
|
+
"@atlaskit/editor-common": "^82.0.0",
|
|
39
39
|
"@atlaskit/editor-plugin-analytics": "^1.2.0",
|
|
40
40
|
"@atlaskit/editor-plugin-decorations": "^1.1.0",
|
|
41
41
|
"@atlaskit/editor-plugin-editor-disabled": "^1.1.0",
|
|
42
42
|
"@atlaskit/editor-plugin-selection": "^1.2.0",
|
|
43
43
|
"@atlaskit/editor-plugin-selection-marker": "^1.3.0",
|
|
44
44
|
"@atlaskit/editor-prosemirror": "4.0.1",
|
|
45
|
-
"@atlaskit/editor-shared-styles": "^2.
|
|
45
|
+
"@atlaskit/editor-shared-styles": "^2.12.0",
|
|
46
46
|
"@atlaskit/editor-tables": "^2.7.0",
|
|
47
|
-
"@atlaskit/icon": "^22.
|
|
47
|
+
"@atlaskit/icon": "^22.3.0",
|
|
48
48
|
"@atlaskit/platform-feature-flags": "^0.2.0",
|
|
49
49
|
"@atlaskit/tooltip": "^18.4.0",
|
|
50
50
|
"@babel/runtime": "^7.0.0",
|
|
@@ -64,7 +64,6 @@
|
|
|
64
64
|
"@atlaskit/editor-plugin-table": "^7.16.0",
|
|
65
65
|
"@atlaskit/editor-plugin-type-ahead": "^1.2.0",
|
|
66
66
|
"@atlaskit/editor-plugin-width": "^1.1.0",
|
|
67
|
-
"@atlassian/atlassian-frontend-prettier-config-1.0.0": "npm:@atlassian/atlassian-frontend-prettier-config@1.0.0",
|
|
68
67
|
"@testing-library/react": "^12.1.5",
|
|
69
68
|
"react-test-renderer": "^16.8.0",
|
|
70
69
|
"typescript": "~5.4.2"
|
|
@@ -102,7 +101,6 @@
|
|
|
102
101
|
]
|
|
103
102
|
}
|
|
104
103
|
},
|
|
105
|
-
"prettier": "@atlassian/atlassian-frontend-prettier-config-1.0.0",
|
|
106
104
|
"platform-feature-flags": {
|
|
107
105
|
"platform.editor.live-pages-expand-divergence": {
|
|
108
106
|
"type": "boolean"
|
package/report.api.md
CHANGED
|
@@ -2,7 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
## API Report File for "@atlaskit/editor-plugin-expand"
|
|
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
|
|
@@ -28,19 +29,19 @@ import type { SelectionPlugin } from '@atlaskit/editor-plugin-selection';
|
|
|
28
29
|
|
|
29
30
|
// @public (undocumented)
|
|
30
31
|
export type ExpandPlugin = NextEditorPlugin<
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
32
|
+
'expand',
|
|
33
|
+
{
|
|
34
|
+
pluginConfiguration: ExpandPluginOptions_2 | undefined;
|
|
35
|
+
dependencies: [
|
|
36
|
+
OptionalPlugin<FeatureFlagsPlugin>,
|
|
37
|
+
DecorationsPlugin,
|
|
38
|
+
SelectionPlugin,
|
|
39
|
+
OptionalPlugin<AnalyticsPlugin>,
|
|
40
|
+
];
|
|
41
|
+
actions: {
|
|
42
|
+
insertExpand: ReturnType<typeof insertExpand>;
|
|
43
|
+
};
|
|
44
|
+
}
|
|
44
45
|
>;
|
|
45
46
|
|
|
46
47
|
// @public (undocumented)
|
|
@@ -48,30 +49,28 @@ export const expandPlugin: ExpandPlugin;
|
|
|
48
49
|
|
|
49
50
|
// @public (undocumented)
|
|
50
51
|
export interface ExpandPluginOptions extends LongPressSelectionPluginOptions {
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
52
|
+
// (undocumented)
|
|
53
|
+
allowInsertion?: boolean;
|
|
54
|
+
// (undocumented)
|
|
55
|
+
appearance?: EditorAppearance;
|
|
55
56
|
}
|
|
56
57
|
|
|
57
58
|
// @public (undocumented)
|
|
58
59
|
interface ExpandPluginOptions_2 extends LongPressSelectionPluginOptions {
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
60
|
+
// (undocumented)
|
|
61
|
+
allowInsertion?: boolean;
|
|
62
|
+
// (undocumented)
|
|
63
|
+
appearance?: EditorAppearance;
|
|
63
64
|
}
|
|
64
65
|
|
|
65
66
|
// @public (undocumented)
|
|
66
67
|
export interface ExpandPluginState {
|
|
67
|
-
|
|
68
|
-
|
|
68
|
+
// (undocumented)
|
|
69
|
+
expandRef?: HTMLDivElement | null;
|
|
69
70
|
}
|
|
70
71
|
|
|
71
72
|
// @public (undocumented)
|
|
72
|
-
const insertExpand: (
|
|
73
|
-
editorAnalyticsAPI: EditorAnalyticsAPI | undefined,
|
|
74
|
-
) => Command;
|
|
73
|
+
const insertExpand: (editorAnalyticsAPI: EditorAnalyticsAPI | undefined) => Command;
|
|
75
74
|
|
|
76
75
|
// (No @packageDocumentation comment for this package)
|
|
77
76
|
```
|
|
@@ -84,9 +83,9 @@ const insertExpand: (
|
|
|
84
83
|
|
|
85
84
|
```json
|
|
86
85
|
{
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
86
|
+
"react": "^16.8.0",
|
|
87
|
+
"react-dom": "^16.8.0",
|
|
88
|
+
"react-intl-next": "npm:react-intl@^5.18.1"
|
|
90
89
|
}
|
|
91
90
|
```
|
|
92
91
|
|