@atlaskit/editor-plugin-expand 1.6.4 → 1.6.6
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
CHANGED
|
@@ -1,366 +1,513 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-expand
|
|
2
2
|
|
|
3
|
+
## 1.6.6
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#96237](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/96237)
|
|
8
|
+
[`0401e7b5a88e`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/0401e7b5a88e) -
|
|
9
|
+
[ED-23102] Bump ADF schema to version 35.12.2
|
|
10
|
+
|
|
11
|
+
## 1.6.5
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- [#95610](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/95610)
|
|
16
|
+
[`1520db696653`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/1520db696653) -
|
|
17
|
+
[ED-23108] Follow up to refactor the logic in the single player expands update function. Single
|
|
18
|
+
player expands are only used when `platform.editor.single-player-expand` FF AND live page are
|
|
19
|
+
both enabled.
|
|
20
|
+
- Updated dependencies
|
|
21
|
+
|
|
3
22
|
## 1.6.4
|
|
4
23
|
|
|
5
24
|
### Patch Changes
|
|
6
25
|
|
|
7
|
-
-
|
|
26
|
+
- [#94988](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/94988)
|
|
27
|
+
[`8e5daa7c846d`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8e5daa7c846d) -
|
|
28
|
+
[ux] [ED-22983] disable editing in singlePlayer expand nodes when editorDisabled state is true.
|
|
29
|
+
these changes are only applied when the
|
|
30
|
+
platform.editor.live-view.disable-editing-in-view-mode_fi1rx FF is on, and the singlePlayer
|
|
31
|
+
expand is used when live view is enabled and the platform.editor.single-player-expand FF is
|
|
32
|
+
enabled.
|
|
8
33
|
|
|
9
34
|
## 1.6.3
|
|
10
35
|
|
|
11
36
|
### Patch Changes
|
|
12
37
|
|
|
13
|
-
-
|
|
14
|
-
|
|
15
|
-
|
|
38
|
+
- [#95226](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/95226)
|
|
39
|
+
[`35450b170a19`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/35450b170a19) -
|
|
40
|
+
[ux] [ED-23152] Expands no longer change state (open/closed) when the page width is toggled by a
|
|
41
|
+
user (live pages/ single player expands)
|
|
42
|
+
- [#94901](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/94901)
|
|
43
|
+
[`da964fcdc828`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/da964fcdc828) -
|
|
44
|
+
[ED-23097] Bump ADF schema to version 35.12.1
|
|
45
|
+
- [#94398](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/94398)
|
|
46
|
+
[`4df808e35fda`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/4df808e35fda) -
|
|
47
|
+
[ux] [ED-23108] Solve bug where single player expands would lose their expanded state when
|
|
48
|
+
adding breakout marks. Single player expands are only used when
|
|
49
|
+
`platform.editor.single-player-expand` FF AND live page are both enabled.
|
|
16
50
|
|
|
17
51
|
## 1.6.2
|
|
18
52
|
|
|
19
53
|
### Patch Changes
|
|
20
54
|
|
|
21
|
-
-
|
|
55
|
+
- [#93962](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/93962)
|
|
56
|
+
[`797e12a40048`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/797e12a40048) -
|
|
57
|
+
[ED-23107] fix functionality for moving down from the title of an expand with the arrow key
|
|
58
|
+
down - you can be anywhere inside the single player expand title and move down now. the single
|
|
59
|
+
player expand is only used when live view is enabled and the
|
|
60
|
+
platform.editor.single-player-expand FF is enabled.
|
|
22
61
|
|
|
23
62
|
## 1.6.1
|
|
24
63
|
|
|
25
64
|
### Patch Changes
|
|
26
65
|
|
|
27
|
-
-
|
|
66
|
+
- [#93689](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/93689)
|
|
67
|
+
[`5ba5d2b4a9ac`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/5ba5d2b4a9ac) -
|
|
68
|
+
Updating adf-schema version to 35.10.0
|
|
28
69
|
|
|
29
70
|
## 1.6.0
|
|
30
71
|
|
|
31
72
|
### Minor Changes
|
|
32
73
|
|
|
33
|
-
-
|
|
74
|
+
- [#91934](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/91934)
|
|
75
|
+
[`b76a78c6a199`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/b76a78c6a199) -
|
|
76
|
+
bumped editor-prosemirror version to 4.0.0
|
|
34
77
|
|
|
35
78
|
### Patch Changes
|
|
36
79
|
|
|
37
|
-
-
|
|
80
|
+
- Updated dependencies
|
|
38
81
|
|
|
39
82
|
## 1.5.2
|
|
40
83
|
|
|
41
84
|
### Patch Changes
|
|
42
85
|
|
|
43
|
-
-
|
|
86
|
+
- [#91461](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/91461)
|
|
87
|
+
[`1b353cb06cc8`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/1b353cb06cc8) -
|
|
88
|
+
[ED-23042] Disable editing in code blocks and expand nodes when editorDisabled state is true
|
|
44
89
|
|
|
45
90
|
## 1.5.1
|
|
46
91
|
|
|
47
92
|
### Patch Changes
|
|
48
93
|
|
|
49
|
-
-
|
|
50
|
-
-
|
|
94
|
+
- [#92426](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/92426)
|
|
95
|
+
[`32c76c7c225c`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/32c76c7c225c) -
|
|
96
|
+
Bump adf-schema to 35.9.2 to support table alignment options
|
|
97
|
+
- Updated dependencies
|
|
51
98
|
|
|
52
99
|
## 1.5.0
|
|
53
100
|
|
|
54
101
|
### Minor Changes
|
|
55
102
|
|
|
56
|
-
-
|
|
103
|
+
- [#92831](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/92831)
|
|
104
|
+
[`c8652f78a9ce`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/c8652f78a9ce) -
|
|
105
|
+
[ED-22991] add functionality for moving left and moving right with the single player expands.
|
|
106
|
+
the single player expand is only used when live view is enabled and the
|
|
107
|
+
platform.editor.single-player-expand FF is enabled.
|
|
57
108
|
|
|
58
109
|
### Patch Changes
|
|
59
110
|
|
|
60
|
-
-
|
|
111
|
+
- [#92956](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/92956)
|
|
112
|
+
[`33ba4a1b556d`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/33ba4a1b556d) -
|
|
113
|
+
[ux] [ED-23085] Fix contenteditable being not set to false when expand closed for single player
|
|
114
|
+
expand. This single player expand is only used when live view is enabled and the
|
|
115
|
+
platform.editor.single-player-expand FF is enabled.
|
|
61
116
|
|
|
62
117
|
## 1.4.3
|
|
63
118
|
|
|
64
119
|
### Patch Changes
|
|
65
120
|
|
|
66
|
-
-
|
|
121
|
+
- [#92468](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/92468)
|
|
122
|
+
[`515df766c29c`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/515df766c29c) -
|
|
123
|
+
[ux] [ED-23066] Re-render expand toggle icon when the class name is updated so that the
|
|
124
|
+
aria-expanded attribute gets updated to match.
|
|
67
125
|
|
|
68
126
|
## 1.4.2
|
|
69
127
|
|
|
70
128
|
### Patch Changes
|
|
71
129
|
|
|
72
|
-
-
|
|
130
|
+
- [#91886](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/91886)
|
|
131
|
+
[`5c0443e007d9`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/5c0443e007d9) -
|
|
132
|
+
[ux] Fix bug where selection marker shows when focussing on the expand title with the keyboard.
|
|
73
133
|
|
|
74
134
|
## 1.4.1
|
|
75
135
|
|
|
76
136
|
### Patch Changes
|
|
77
137
|
|
|
78
|
-
-
|
|
138
|
+
- [#90897](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/90897)
|
|
139
|
+
[`6a1d609df65e`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/6a1d609df65e) -
|
|
140
|
+
[ux] [ED-22841] Implement new state management for the single player expand and handle the
|
|
141
|
+
expanding behaviour based on this. Single player expand will only be used if
|
|
142
|
+
`platform.editor.single-player-expand` is true and livePage is enabled.
|
|
79
143
|
|
|
80
144
|
## 1.4.0
|
|
81
145
|
|
|
82
146
|
### Minor Changes
|
|
83
147
|
|
|
84
|
-
-
|
|
148
|
+
- [#90925](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/90925)
|
|
149
|
+
[`431c0d17e3e3`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/431c0d17e3e3) -
|
|
150
|
+
[ux] Improve the selection marker by hiding it when in an expand and improving styling by making
|
|
151
|
+
it more subtle.
|
|
85
152
|
|
|
86
153
|
## 1.3.5
|
|
87
154
|
|
|
88
155
|
### Patch Changes
|
|
89
156
|
|
|
90
|
-
-
|
|
91
|
-
-
|
|
157
|
+
- [#91106](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/91106)
|
|
158
|
+
[`b6ffa30186b9`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/b6ffa30186b9) -
|
|
159
|
+
Bump ADF-schema package to version 35.0.0
|
|
160
|
+
- Updated dependencies
|
|
92
161
|
|
|
93
162
|
## 1.3.4
|
|
94
163
|
|
|
95
164
|
### Patch Changes
|
|
96
165
|
|
|
97
|
-
-
|
|
98
|
-
-
|
|
166
|
+
- [#91146](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/91146)
|
|
167
|
+
[`c982f92adfee`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/c982f92adfee) -
|
|
168
|
+
[ux] Revert changes from ED-22666 as expand is not editable when not selected initially
|
|
169
|
+
- Updated dependencies
|
|
99
170
|
|
|
100
171
|
## 1.3.3
|
|
101
172
|
|
|
102
173
|
### Patch Changes
|
|
103
174
|
|
|
104
|
-
-
|
|
175
|
+
- [#90914](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/90914)
|
|
176
|
+
[`a4a9d317e5b8`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/a4a9d317e5b8) -
|
|
177
|
+
[ux] [ED-23013] Fix bug in single player expand where backspace in the title would delete entire
|
|
178
|
+
expand even if the title had content.
|
|
105
179
|
|
|
106
180
|
## 1.3.2
|
|
107
181
|
|
|
108
182
|
### Patch Changes
|
|
109
183
|
|
|
110
|
-
-
|
|
184
|
+
- [#89345](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/89345)
|
|
185
|
+
[`80a9a5da9ce4`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/80a9a5da9ce4) -
|
|
186
|
+
[ED-22840] Build the base functionality of the new single player expand which will be used for
|
|
187
|
+
live view pages. Single player expand will only be used if
|
|
188
|
+
`platform.editor.single-player-expand` is true and livePage is enabled.
|
|
111
189
|
|
|
112
190
|
## 1.3.1
|
|
113
191
|
|
|
114
192
|
### Patch Changes
|
|
115
193
|
|
|
116
|
-
-
|
|
194
|
+
- [#89499](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/89499)
|
|
195
|
+
[`1a3ac47ce689`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/1a3ac47ce689) -
|
|
196
|
+
ED-22666 Disable editing when editor in view mode or edtable is false
|
|
117
197
|
|
|
118
198
|
## 1.3.0
|
|
119
199
|
|
|
120
200
|
### Minor Changes
|
|
121
201
|
|
|
122
|
-
-
|
|
202
|
+
- [#87870](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/87870)
|
|
203
|
+
[`76711a3e7edd`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/76711a3e7edd) -
|
|
204
|
+
[ED-22839] Refactor expand plugin to use either legacy (current) expand or single player expand
|
|
205
|
+
(coming soon). Single player expand will only be used if `platform.editor.single-player-expand`
|
|
206
|
+
is true and livePage is enabled.
|
|
123
207
|
|
|
124
208
|
## 1.2.6
|
|
125
209
|
|
|
126
210
|
### Patch Changes
|
|
127
211
|
|
|
128
|
-
-
|
|
129
|
-
-
|
|
212
|
+
- [#88038](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/88038)
|
|
213
|
+
[`19ac4de34153`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/19ac4de34153) -
|
|
214
|
+
update 'w3c-keyname' dependency to 2.1.8
|
|
215
|
+
- Updated dependencies
|
|
130
216
|
|
|
131
217
|
## 1.2.5
|
|
132
218
|
|
|
133
219
|
### Patch Changes
|
|
134
220
|
|
|
135
|
-
-
|
|
221
|
+
- [#86724](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/86724)
|
|
222
|
+
[`718a9aa2424d`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/718a9aa2424d) -
|
|
223
|
+
[ED-22607] Remove references to maxFrames for multi bodied extensions and bump adf-schema from
|
|
224
|
+
35.7.0 to 35.8.0
|
|
136
225
|
|
|
137
226
|
## 1.2.4
|
|
138
227
|
|
|
139
228
|
### Patch Changes
|
|
140
229
|
|
|
141
|
-
-
|
|
230
|
+
- [#81777](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/81777)
|
|
231
|
+
[`c6d7a5378751`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/c6d7a5378751) -
|
|
232
|
+
Bump adf-schema to 35.7.0
|
|
142
233
|
|
|
143
234
|
## 1.2.3
|
|
144
235
|
|
|
145
236
|
### Patch Changes
|
|
146
237
|
|
|
147
|
-
-
|
|
238
|
+
- [#83116](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/83116)
|
|
239
|
+
[`8d4e99057fe0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8d4e99057fe0) -
|
|
240
|
+
Upgrade Typescript from `4.9.5` to `5.4.2`
|
|
148
241
|
|
|
149
242
|
## 1.2.2
|
|
150
243
|
|
|
151
244
|
### Patch Changes
|
|
152
245
|
|
|
153
|
-
-
|
|
246
|
+
- [#80679](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/80679)
|
|
247
|
+
[`104eb9443b7e`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/104eb9443b7e) -
|
|
248
|
+
ED-22553 Updating adf-schema version to 35.6.0
|
|
154
249
|
|
|
155
250
|
## 1.2.1
|
|
156
251
|
|
|
157
252
|
### Patch Changes
|
|
158
253
|
|
|
159
|
-
-
|
|
160
|
-
-
|
|
254
|
+
- [#78224](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/78224)
|
|
255
|
+
[`6b4c9dd4ad34`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/6b4c9dd4ad34) -
|
|
256
|
+
ED-22219: adf-schema updated to 35.5.2
|
|
257
|
+
- Updated dependencies
|
|
161
258
|
|
|
162
259
|
## 1.2.0
|
|
163
260
|
|
|
164
261
|
### Minor Changes
|
|
165
262
|
|
|
166
|
-
-
|
|
263
|
+
- [#76115](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/76115)
|
|
264
|
+
[`3e3eb7cf04e1`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/3e3eb7cf04e1) -
|
|
265
|
+
ED-21718 Transform slice to remove nestedExpand from slice before pasting
|
|
167
266
|
|
|
168
267
|
### Patch Changes
|
|
169
268
|
|
|
170
|
-
-
|
|
269
|
+
- Updated dependencies
|
|
171
270
|
|
|
172
271
|
## 1.1.0
|
|
173
272
|
|
|
174
273
|
### Minor Changes
|
|
175
274
|
|
|
176
|
-
-
|
|
275
|
+
- [#75042](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/75042)
|
|
276
|
+
[`ce823f018248`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/ce823f018248) -
|
|
277
|
+
[ux] ED-21987 Diverge expands in live pages so that they are not multiplayer, and are closed by
|
|
278
|
+
default.
|
|
177
279
|
|
|
178
280
|
### Patch Changes
|
|
179
281
|
|
|
180
|
-
-
|
|
282
|
+
- Updated dependencies
|
|
181
283
|
|
|
182
284
|
## 1.0.1
|
|
183
285
|
|
|
184
286
|
### Patch Changes
|
|
185
287
|
|
|
186
|
-
-
|
|
288
|
+
- Updated dependencies
|
|
187
289
|
|
|
188
290
|
## 1.0.0
|
|
189
291
|
|
|
190
292
|
### Major Changes
|
|
191
293
|
|
|
192
|
-
-
|
|
294
|
+
- [#72386](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/72386)
|
|
295
|
+
[`0c52b0be40c1`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/0c52b0be40c1) -
|
|
296
|
+
This changeset exists to bump all editor plugins that currently don't have a major version. This
|
|
297
|
+
is to address an issue with Jira plugin consumption.
|
|
193
298
|
|
|
194
299
|
### Patch Changes
|
|
195
300
|
|
|
196
|
-
-
|
|
301
|
+
- Updated dependencies
|
|
197
302
|
|
|
198
303
|
## 0.4.8
|
|
199
304
|
|
|
200
305
|
### Patch Changes
|
|
201
306
|
|
|
202
|
-
-
|
|
307
|
+
- [#68572](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/68572)
|
|
308
|
+
[`15d407fe5143`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/15d407fe5143) -
|
|
309
|
+
Upgrading @atlaskit/editor-prosemirror dependency
|
|
203
310
|
|
|
204
311
|
## 0.4.7
|
|
205
312
|
|
|
206
313
|
### Patch Changes
|
|
207
314
|
|
|
208
|
-
-
|
|
315
|
+
- [#71186](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/71186)
|
|
316
|
+
[`d76c62a2d98a`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/d76c62a2d98a) -
|
|
317
|
+
[ux] ED-22029 Use extendedNestedExpand node when 'platform.editor.allow-extended-nested-panel'
|
|
318
|
+
FF is enabled
|
|
209
319
|
|
|
210
320
|
## 0.4.6
|
|
211
321
|
|
|
212
322
|
### Patch Changes
|
|
213
323
|
|
|
214
|
-
-
|
|
324
|
+
- [#70152](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/70152)
|
|
325
|
+
[`53ed3673df28`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/53ed3673df28) -
|
|
326
|
+
Updating adf-schema version to 35.5.1
|
|
215
327
|
|
|
216
328
|
## 0.4.5
|
|
217
329
|
|
|
218
330
|
### Patch Changes
|
|
219
331
|
|
|
220
|
-
-
|
|
332
|
+
- Updated dependencies
|
|
221
333
|
|
|
222
334
|
## 0.4.4
|
|
223
335
|
|
|
224
336
|
### Patch Changes
|
|
225
337
|
|
|
226
|
-
-
|
|
338
|
+
- [#67238](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/67238)
|
|
339
|
+
[`40533849b2ec`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/40533849b2ec) -
|
|
340
|
+
[ED-21835] Change EditorAPI type to always union with undefined
|
|
227
341
|
|
|
228
342
|
## 0.4.3
|
|
229
343
|
|
|
230
344
|
### Patch Changes
|
|
231
345
|
|
|
232
|
-
-
|
|
346
|
+
- Updated dependencies
|
|
233
347
|
|
|
234
348
|
## 0.4.2
|
|
235
349
|
|
|
236
350
|
### Patch Changes
|
|
237
351
|
|
|
238
|
-
-
|
|
352
|
+
- [#65802](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/65802)
|
|
353
|
+
[`438ead060875`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/438ead060875) -
|
|
354
|
+
Ensure all editor plugins are marked as singletons
|
|
239
355
|
|
|
240
356
|
## 0.4.1
|
|
241
357
|
|
|
242
358
|
### Patch Changes
|
|
243
359
|
|
|
244
|
-
-
|
|
245
|
-
-
|
|
360
|
+
- [#65031](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/65031)
|
|
361
|
+
[`a00094111b5a`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/a00094111b5a) -
|
|
362
|
+
ED-21609 Update adf-schema to 35.3.0
|
|
363
|
+
- Updated dependencies
|
|
246
364
|
|
|
247
365
|
## 0.4.0
|
|
248
366
|
|
|
249
367
|
### Minor Changes
|
|
250
368
|
|
|
251
|
-
-
|
|
369
|
+
- [#64335](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/64335)
|
|
370
|
+
[`efc8826c907f`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/efc8826c907f) -
|
|
371
|
+
[ux] [ED-16509] Restart numbered list inserting nodes via QUICK INSERT, nodes including :
|
|
372
|
+
panels, expands, decisions, tables, layout, quotes, actions, dividers, headings. Changes are
|
|
373
|
+
being guarded behind feature flag platform.editor.ordered-list-inserting-nodes_bh0vo
|
|
252
374
|
|
|
253
375
|
### Patch Changes
|
|
254
376
|
|
|
255
|
-
-
|
|
377
|
+
- Updated dependencies
|
|
256
378
|
|
|
257
379
|
## 0.3.0
|
|
258
380
|
|
|
259
381
|
### Minor Changes
|
|
260
382
|
|
|
261
|
-
-
|
|
383
|
+
- [#62737](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/62737)
|
|
384
|
+
[`2a6280e4e570`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/2a6280e4e570) -
|
|
385
|
+
Add new configuration option to expand plugin (`allowInteractiveExpand`) to configure the
|
|
386
|
+
plugin. Previously the consumer would have to set the `interactiveExpand` feature flag in the
|
|
387
|
+
expand plugin to configure this behaviour. It is also now set by default.
|
|
262
388
|
|
|
263
389
|
## 0.2.1
|
|
264
390
|
|
|
265
391
|
### Patch Changes
|
|
266
392
|
|
|
267
|
-
-
|
|
393
|
+
- [#62165](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/62165)
|
|
394
|
+
[`b44ac0968d79`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/b44ac0968d79) -
|
|
395
|
+
[ED-21562] Bump @atlaskit/adf-schema to 35.2.0 for border mark update
|
|
268
396
|
|
|
269
397
|
## 0.2.0
|
|
270
398
|
|
|
271
399
|
### Minor Changes
|
|
272
400
|
|
|
273
|
-
-
|
|
401
|
+
- [#61501](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/61501)
|
|
402
|
+
[`943c6cbeb965`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/943c6cbeb965) -
|
|
403
|
+
Aria-expanded attribute for Expand/Collapse button.
|
|
274
404
|
|
|
275
405
|
## 0.1.12
|
|
276
406
|
|
|
277
407
|
### Patch Changes
|
|
278
408
|
|
|
279
|
-
-
|
|
409
|
+
- Updated dependencies
|
|
280
410
|
|
|
281
411
|
## 0.1.11
|
|
282
412
|
|
|
283
413
|
### Patch Changes
|
|
284
414
|
|
|
285
|
-
-
|
|
415
|
+
- [#60808](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/60808)
|
|
416
|
+
[`f509a21be124`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/f509a21be124) -
|
|
417
|
+
ED-21506: @atlaskit/adf-schema upgraded to 35.1.1 to support renderer for MBE
|
|
286
418
|
|
|
287
419
|
## 0.1.10
|
|
288
420
|
|
|
289
421
|
### Patch Changes
|
|
290
422
|
|
|
291
|
-
-
|
|
423
|
+
- [#58246](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/58246)
|
|
424
|
+
[`a381b2599716`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/a381b2599716) -
|
|
425
|
+
ED-21371 Update adf-schema to 35.1.0
|
|
292
426
|
|
|
293
427
|
## 0.1.9
|
|
294
428
|
|
|
295
429
|
### Patch Changes
|
|
296
430
|
|
|
297
|
-
-
|
|
431
|
+
- Updated dependencies
|
|
298
432
|
|
|
299
433
|
## 0.1.8
|
|
300
434
|
|
|
301
435
|
### Patch Changes
|
|
302
436
|
|
|
303
|
-
-
|
|
437
|
+
- [#59147](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/59147)
|
|
438
|
+
[`f12e489f23b0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/f12e489f23b0) -
|
|
439
|
+
Re-build and deploy packages to NPM to resolve React/Compiled not found error (HOT-106483).
|
|
304
440
|
|
|
305
441
|
## 0.1.7
|
|
306
442
|
|
|
307
443
|
### Patch Changes
|
|
308
444
|
|
|
309
|
-
-
|
|
445
|
+
- [#58763](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/58763)
|
|
446
|
+
[`0fdbd64522bf`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/0fdbd64522bf) -
|
|
447
|
+
update ADF schema
|
|
310
448
|
|
|
311
449
|
## 0.1.6
|
|
312
450
|
|
|
313
451
|
### Patch Changes
|
|
314
452
|
|
|
315
|
-
-
|
|
453
|
+
- [#56790](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/56790)
|
|
454
|
+
[`ff577a7969d4`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ff577a7969d4) -
|
|
455
|
+
ED-21266: Updated @atlaskit/adf-schema to 34.0.1
|
|
316
456
|
|
|
317
457
|
## 0.1.5
|
|
318
458
|
|
|
319
459
|
### Patch Changes
|
|
320
460
|
|
|
321
|
-
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
461
|
+
- [#43646](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/43646)
|
|
462
|
+
[`d43f8e9402f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d43f8e9402f) - Make
|
|
463
|
+
feature flags plugin optional in all plugins including:
|
|
464
|
+
|
|
465
|
+
- analytics
|
|
466
|
+
- base
|
|
467
|
+
- card
|
|
468
|
+
- code-block
|
|
469
|
+
- expand
|
|
470
|
+
- extension
|
|
471
|
+
- floating-toolbar
|
|
472
|
+
- hyperlink
|
|
473
|
+
- insert-block
|
|
474
|
+
- layout
|
|
475
|
+
- layout
|
|
476
|
+
- list
|
|
477
|
+
- media
|
|
478
|
+
- paste
|
|
479
|
+
- rule
|
|
480
|
+
- table
|
|
481
|
+
- tasks-and-decisions
|
|
482
|
+
|
|
483
|
+
We already treat it as optional in the plugins, so this is just ensuring that the plugin is not
|
|
484
|
+
mandatory to be added to the preset.
|
|
342
485
|
|
|
343
486
|
## 0.1.4
|
|
344
487
|
|
|
345
488
|
### Patch Changes
|
|
346
489
|
|
|
347
|
-
-
|
|
490
|
+
- [#43417](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/43417)
|
|
491
|
+
[`3f3c17f0273`](https://bitbucket.org/atlassian/atlassian-frontend/commits/3f3c17f0273) -
|
|
492
|
+
ED-20971 Upgrade adf-schema package to ^34.0.0
|
|
348
493
|
|
|
349
494
|
## 0.1.3
|
|
350
495
|
|
|
351
496
|
### Patch Changes
|
|
352
497
|
|
|
353
|
-
-
|
|
498
|
+
- Updated dependencies
|
|
354
499
|
|
|
355
500
|
## 0.1.2
|
|
356
501
|
|
|
357
502
|
### Patch Changes
|
|
358
503
|
|
|
359
|
-
-
|
|
360
|
-
-
|
|
504
|
+
- [#43379](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/43379)
|
|
505
|
+
[`482c025520d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/482c025520d) -
|
|
506
|
+
ED-20763 Upgrade ADF schema version to 33.2.3 for MBE nodes.
|
|
507
|
+
- Updated dependencies
|
|
361
508
|
|
|
362
509
|
## 0.1.1
|
|
363
510
|
|
|
364
511
|
### Patch Changes
|
|
365
512
|
|
|
366
|
-
-
|
|
513
|
+
- Updated dependencies
|
|
@@ -420,28 +420,22 @@ var ExpandNodeView = exports.ExpandNodeView = /*#__PURE__*/function () {
|
|
|
420
420
|
}
|
|
421
421
|
});
|
|
422
422
|
|
|
423
|
-
// This
|
|
424
|
-
//
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
423
|
+
// This checks if the node has been replaced with a different version
|
|
424
|
+
// and updates the state of the new node to match the old one
|
|
425
|
+
// Eg. typing in a node changes it to a new node so it must be updated
|
|
426
|
+
// in the expandedState weak map
|
|
427
|
+
if (this.node !== node) {
|
|
428
|
+
var wasExpanded = _expand.expandedState.get(this.node);
|
|
429
|
+
if (wasExpanded) {
|
|
430
|
+
_expand.expandedState.set(node, wasExpanded);
|
|
429
431
|
}
|
|
430
|
-
this.updateExpandToggleIcon(node);
|
|
431
|
-
} else if (this.node !== node) {
|
|
432
|
-
// This checks if the node has been replaced with a different version
|
|
433
|
-
// and updates the state of the new node to match the old one
|
|
434
|
-
var previousExpandedState = _expand.expandedState.get(this.node);
|
|
435
|
-
if (previousExpandedState === undefined) {
|
|
436
|
-
previousExpandedState = true;
|
|
437
|
-
}
|
|
438
|
-
_expand.expandedState.set(node, previousExpandedState);
|
|
439
432
|
}
|
|
440
433
|
if (this.content) {
|
|
441
434
|
// Disallow interaction/selection inside when collapsed.
|
|
442
435
|
this.content.setAttribute('contenteditable', this.getContentEditable(node) ? 'true' : 'false');
|
|
443
436
|
}
|
|
444
437
|
this.node = node;
|
|
438
|
+
this.updateExpandToggleIcon(this.node);
|
|
445
439
|
return true;
|
|
446
440
|
}
|
|
447
441
|
return false;
|
|
@@ -413,28 +413,22 @@ export class ExpandNodeView {
|
|
|
413
413
|
}
|
|
414
414
|
});
|
|
415
415
|
|
|
416
|
-
// This
|
|
417
|
-
//
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
416
|
+
// This checks if the node has been replaced with a different version
|
|
417
|
+
// and updates the state of the new node to match the old one
|
|
418
|
+
// Eg. typing in a node changes it to a new node so it must be updated
|
|
419
|
+
// in the expandedState weak map
|
|
420
|
+
if (this.node !== node) {
|
|
421
|
+
const wasExpanded = expandedState.get(this.node);
|
|
422
|
+
if (wasExpanded) {
|
|
423
|
+
expandedState.set(node, wasExpanded);
|
|
422
424
|
}
|
|
423
|
-
this.updateExpandToggleIcon(node);
|
|
424
|
-
} else if (this.node !== node) {
|
|
425
|
-
// This checks if the node has been replaced with a different version
|
|
426
|
-
// and updates the state of the new node to match the old one
|
|
427
|
-
let previousExpandedState = expandedState.get(this.node);
|
|
428
|
-
if (previousExpandedState === undefined) {
|
|
429
|
-
previousExpandedState = true;
|
|
430
|
-
}
|
|
431
|
-
expandedState.set(node, previousExpandedState);
|
|
432
425
|
}
|
|
433
426
|
if (this.content) {
|
|
434
427
|
// Disallow interaction/selection inside when collapsed.
|
|
435
428
|
this.content.setAttribute('contenteditable', this.getContentEditable(node) ? 'true' : 'false');
|
|
436
429
|
}
|
|
437
430
|
this.node = node;
|
|
431
|
+
this.updateExpandToggleIcon(this.node);
|
|
438
432
|
return true;
|
|
439
433
|
}
|
|
440
434
|
return false;
|
|
@@ -412,28 +412,22 @@ export var ExpandNodeView = /*#__PURE__*/function () {
|
|
|
412
412
|
}
|
|
413
413
|
});
|
|
414
414
|
|
|
415
|
-
// This
|
|
416
|
-
//
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
415
|
+
// This checks if the node has been replaced with a different version
|
|
416
|
+
// and updates the state of the new node to match the old one
|
|
417
|
+
// Eg. typing in a node changes it to a new node so it must be updated
|
|
418
|
+
// in the expandedState weak map
|
|
419
|
+
if (this.node !== node) {
|
|
420
|
+
var wasExpanded = expandedState.get(this.node);
|
|
421
|
+
if (wasExpanded) {
|
|
422
|
+
expandedState.set(node, wasExpanded);
|
|
421
423
|
}
|
|
422
|
-
this.updateExpandToggleIcon(node);
|
|
423
|
-
} else if (this.node !== node) {
|
|
424
|
-
// This checks if the node has been replaced with a different version
|
|
425
|
-
// and updates the state of the new node to match the old one
|
|
426
|
-
var previousExpandedState = expandedState.get(this.node);
|
|
427
|
-
if (previousExpandedState === undefined) {
|
|
428
|
-
previousExpandedState = true;
|
|
429
|
-
}
|
|
430
|
-
expandedState.set(node, previousExpandedState);
|
|
431
424
|
}
|
|
432
425
|
if (this.content) {
|
|
433
426
|
// Disallow interaction/selection inside when collapsed.
|
|
434
427
|
this.content.setAttribute('contenteditable', this.getContentEditable(node) ? 'true' : 'false');
|
|
435
428
|
}
|
|
436
429
|
this.node = node;
|
|
430
|
+
this.updateExpandToggleIcon(this.node);
|
|
437
431
|
return true;
|
|
438
432
|
}
|
|
439
433
|
return false;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-expand",
|
|
3
|
-
"version": "1.6.
|
|
3
|
+
"version": "1.6.6",
|
|
4
4
|
"description": "Expand plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -33,9 +33,9 @@
|
|
|
33
33
|
".": "./src/index.ts"
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@atlaskit/adf-schema": "^35.12.
|
|
36
|
+
"@atlaskit/adf-schema": "^35.12.2",
|
|
37
37
|
"@atlaskit/button": "^17.14.0",
|
|
38
|
-
"@atlaskit/editor-common": "^78.
|
|
38
|
+
"@atlaskit/editor-common": "^78.37.0",
|
|
39
39
|
"@atlaskit/editor-plugin-analytics": "^1.1.0",
|
|
40
40
|
"@atlaskit/editor-plugin-decorations": "^1.1.0",
|
|
41
41
|
"@atlaskit/editor-plugin-editor-disabled": "^1.1.0",
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
"@atlaskit/editor-tables": "^2.7.0",
|
|
47
47
|
"@atlaskit/icon": "^22.1.0",
|
|
48
48
|
"@atlaskit/platform-feature-flags": "^0.2.0",
|
|
49
|
-
"@atlaskit/tooltip": "^18.
|
|
49
|
+
"@atlaskit/tooltip": "^18.3.0",
|
|
50
50
|
"@babel/runtime": "^7.0.0",
|
|
51
51
|
"@emotion/react": "^11.7.1",
|
|
52
52
|
"w3c-keyname": "^2.1.8"
|