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