@atlaskit/editor-plugin-expand 1.7.2 → 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 +260 -255
- 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 +4 -6
- package/report.api.md +29 -30
package/CHANGELOG.md
CHANGED
|
@@ -1,592 +1,597 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-expand
|
|
2
2
|
|
|
3
|
+
## 1.7.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
|
|
3
9
|
## 1.7.2
|
|
4
10
|
|
|
5
11
|
### Patch Changes
|
|
6
12
|
|
|
7
|
-
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
-
|
|
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
|
|
11
17
|
|
|
12
18
|
## 1.7.1
|
|
13
19
|
|
|
14
20
|
### Patch Changes
|
|
15
21
|
|
|
16
|
-
-
|
|
17
|
-
|
|
18
|
-
|
|
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
|
|
19
25
|
|
|
20
26
|
## 1.7.0
|
|
21
27
|
|
|
22
28
|
### Minor Changes
|
|
23
29
|
|
|
24
|
-
-
|
|
25
|
-
|
|
26
|
-
|
|
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
|
|
27
33
|
|
|
28
34
|
### Patch Changes
|
|
29
35
|
|
|
30
|
-
-
|
|
36
|
+
- Updated dependencies
|
|
31
37
|
|
|
32
38
|
## 1.6.12
|
|
33
39
|
|
|
34
40
|
### Patch Changes
|
|
35
41
|
|
|
36
|
-
-
|
|
42
|
+
- Updated dependencies
|
|
37
43
|
|
|
38
44
|
## 1.6.11
|
|
39
45
|
|
|
40
46
|
### Patch Changes
|
|
41
47
|
|
|
42
|
-
-
|
|
43
|
-
|
|
44
|
-
|
|
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.
|
|
45
51
|
|
|
46
52
|
## 1.6.10
|
|
47
53
|
|
|
48
54
|
### Patch Changes
|
|
49
55
|
|
|
50
|
-
-
|
|
51
|
-
|
|
52
|
-
|
|
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
|
|
53
59
|
|
|
54
60
|
## 1.6.9
|
|
55
61
|
|
|
56
62
|
### Patch Changes
|
|
57
63
|
|
|
58
|
-
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
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.
|
|
62
68
|
|
|
63
69
|
## 1.6.8
|
|
64
70
|
|
|
65
71
|
### Patch Changes
|
|
66
72
|
|
|
67
|
-
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
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
|
|
75
81
|
|
|
76
82
|
## 1.6.7
|
|
77
83
|
|
|
78
84
|
### Patch Changes
|
|
79
85
|
|
|
80
|
-
-
|
|
86
|
+
- Updated dependencies
|
|
81
87
|
|
|
82
88
|
## 1.6.6
|
|
83
89
|
|
|
84
90
|
### Patch Changes
|
|
85
91
|
|
|
86
|
-
-
|
|
87
|
-
|
|
88
|
-
|
|
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
|
|
89
95
|
|
|
90
96
|
## 1.6.5
|
|
91
97
|
|
|
92
98
|
### Patch Changes
|
|
93
99
|
|
|
94
|
-
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
-
|
|
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
|
|
100
106
|
|
|
101
107
|
## 1.6.4
|
|
102
108
|
|
|
103
109
|
### Patch Changes
|
|
104
110
|
|
|
105
|
-
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
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.
|
|
112
117
|
|
|
113
118
|
## 1.6.3
|
|
114
119
|
|
|
115
120
|
### Patch Changes
|
|
116
121
|
|
|
117
|
-
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
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.
|
|
129
134
|
|
|
130
135
|
## 1.6.2
|
|
131
136
|
|
|
132
137
|
### Patch Changes
|
|
133
138
|
|
|
134
|
-
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
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.
|
|
140
145
|
|
|
141
146
|
## 1.6.1
|
|
142
147
|
|
|
143
148
|
### Patch Changes
|
|
144
149
|
|
|
145
|
-
-
|
|
146
|
-
|
|
147
|
-
|
|
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
|
|
148
153
|
|
|
149
154
|
## 1.6.0
|
|
150
155
|
|
|
151
156
|
### Minor Changes
|
|
152
157
|
|
|
153
|
-
-
|
|
154
|
-
|
|
155
|
-
|
|
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
|
|
156
161
|
|
|
157
162
|
### Patch Changes
|
|
158
163
|
|
|
159
|
-
-
|
|
164
|
+
- Updated dependencies
|
|
160
165
|
|
|
161
166
|
## 1.5.2
|
|
162
167
|
|
|
163
168
|
### Patch Changes
|
|
164
169
|
|
|
165
|
-
-
|
|
166
|
-
|
|
167
|
-
|
|
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
|
|
168
173
|
|
|
169
174
|
## 1.5.1
|
|
170
175
|
|
|
171
176
|
### Patch Changes
|
|
172
177
|
|
|
173
|
-
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
-
|
|
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
|
|
177
182
|
|
|
178
183
|
## 1.5.0
|
|
179
184
|
|
|
180
185
|
### Minor Changes
|
|
181
186
|
|
|
182
|
-
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
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.
|
|
187
192
|
|
|
188
193
|
### Patch Changes
|
|
189
194
|
|
|
190
|
-
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
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.
|
|
195
200
|
|
|
196
201
|
## 1.4.3
|
|
197
202
|
|
|
198
203
|
### Patch Changes
|
|
199
204
|
|
|
200
|
-
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
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.
|
|
204
209
|
|
|
205
210
|
## 1.4.2
|
|
206
211
|
|
|
207
212
|
### Patch Changes
|
|
208
213
|
|
|
209
|
-
-
|
|
210
|
-
|
|
211
|
-
|
|
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.
|
|
212
217
|
|
|
213
218
|
## 1.4.1
|
|
214
219
|
|
|
215
220
|
### Patch Changes
|
|
216
221
|
|
|
217
|
-
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
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.
|
|
222
227
|
|
|
223
228
|
## 1.4.0
|
|
224
229
|
|
|
225
230
|
### Minor Changes
|
|
226
231
|
|
|
227
|
-
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
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.
|
|
231
236
|
|
|
232
237
|
## 1.3.5
|
|
233
238
|
|
|
234
239
|
### Patch Changes
|
|
235
240
|
|
|
236
|
-
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
-
|
|
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
|
|
240
245
|
|
|
241
246
|
## 1.3.4
|
|
242
247
|
|
|
243
248
|
### Patch Changes
|
|
244
249
|
|
|
245
|
-
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
-
|
|
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
|
|
249
254
|
|
|
250
255
|
## 1.3.3
|
|
251
256
|
|
|
252
257
|
### Patch Changes
|
|
253
258
|
|
|
254
|
-
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
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.
|
|
258
263
|
|
|
259
264
|
## 1.3.2
|
|
260
265
|
|
|
261
266
|
### Patch Changes
|
|
262
267
|
|
|
263
|
-
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
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.
|
|
268
273
|
|
|
269
274
|
## 1.3.1
|
|
270
275
|
|
|
271
276
|
### Patch Changes
|
|
272
277
|
|
|
273
|
-
-
|
|
274
|
-
|
|
275
|
-
|
|
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
|
|
276
281
|
|
|
277
282
|
## 1.3.0
|
|
278
283
|
|
|
279
284
|
### Minor Changes
|
|
280
285
|
|
|
281
|
-
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
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.
|
|
286
291
|
|
|
287
292
|
## 1.2.6
|
|
288
293
|
|
|
289
294
|
### Patch Changes
|
|
290
295
|
|
|
291
|
-
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
-
|
|
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
|
|
295
300
|
|
|
296
301
|
## 1.2.5
|
|
297
302
|
|
|
298
303
|
### Patch Changes
|
|
299
304
|
|
|
300
|
-
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
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
|
|
304
309
|
|
|
305
310
|
## 1.2.4
|
|
306
311
|
|
|
307
312
|
### Patch Changes
|
|
308
313
|
|
|
309
|
-
-
|
|
310
|
-
|
|
311
|
-
|
|
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
|
|
312
317
|
|
|
313
318
|
## 1.2.3
|
|
314
319
|
|
|
315
320
|
### Patch Changes
|
|
316
321
|
|
|
317
|
-
-
|
|
318
|
-
|
|
319
|
-
|
|
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`
|
|
320
325
|
|
|
321
326
|
## 1.2.2
|
|
322
327
|
|
|
323
328
|
### Patch Changes
|
|
324
329
|
|
|
325
|
-
-
|
|
326
|
-
|
|
327
|
-
|
|
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
|
|
328
333
|
|
|
329
334
|
## 1.2.1
|
|
330
335
|
|
|
331
336
|
### Patch Changes
|
|
332
337
|
|
|
333
|
-
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
-
|
|
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
|
|
337
342
|
|
|
338
343
|
## 1.2.0
|
|
339
344
|
|
|
340
345
|
### Minor Changes
|
|
341
346
|
|
|
342
|
-
-
|
|
343
|
-
|
|
344
|
-
|
|
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
|
|
345
350
|
|
|
346
351
|
### Patch Changes
|
|
347
352
|
|
|
348
|
-
-
|
|
353
|
+
- Updated dependencies
|
|
349
354
|
|
|
350
355
|
## 1.1.0
|
|
351
356
|
|
|
352
357
|
### Minor Changes
|
|
353
358
|
|
|
354
|
-
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
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.
|
|
358
363
|
|
|
359
364
|
### Patch Changes
|
|
360
365
|
|
|
361
|
-
-
|
|
366
|
+
- Updated dependencies
|
|
362
367
|
|
|
363
368
|
## 1.0.1
|
|
364
369
|
|
|
365
370
|
### Patch Changes
|
|
366
371
|
|
|
367
|
-
-
|
|
372
|
+
- Updated dependencies
|
|
368
373
|
|
|
369
374
|
## 1.0.0
|
|
370
375
|
|
|
371
376
|
### Major Changes
|
|
372
377
|
|
|
373
|
-
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
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.
|
|
377
382
|
|
|
378
383
|
### Patch Changes
|
|
379
384
|
|
|
380
|
-
-
|
|
385
|
+
- Updated dependencies
|
|
381
386
|
|
|
382
387
|
## 0.4.8
|
|
383
388
|
|
|
384
389
|
### Patch Changes
|
|
385
390
|
|
|
386
|
-
-
|
|
387
|
-
|
|
388
|
-
|
|
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
|
|
389
394
|
|
|
390
395
|
## 0.4.7
|
|
391
396
|
|
|
392
397
|
### Patch Changes
|
|
393
398
|
|
|
394
|
-
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
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
|
|
398
403
|
|
|
399
404
|
## 0.4.6
|
|
400
405
|
|
|
401
406
|
### Patch Changes
|
|
402
407
|
|
|
403
|
-
-
|
|
404
|
-
|
|
405
|
-
|
|
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
|
|
406
411
|
|
|
407
412
|
## 0.4.5
|
|
408
413
|
|
|
409
414
|
### Patch Changes
|
|
410
415
|
|
|
411
|
-
-
|
|
416
|
+
- Updated dependencies
|
|
412
417
|
|
|
413
418
|
## 0.4.4
|
|
414
419
|
|
|
415
420
|
### Patch Changes
|
|
416
421
|
|
|
417
|
-
-
|
|
418
|
-
|
|
419
|
-
|
|
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
|
|
420
425
|
|
|
421
426
|
## 0.4.3
|
|
422
427
|
|
|
423
428
|
### Patch Changes
|
|
424
429
|
|
|
425
|
-
-
|
|
430
|
+
- Updated dependencies
|
|
426
431
|
|
|
427
432
|
## 0.4.2
|
|
428
433
|
|
|
429
434
|
### Patch Changes
|
|
430
435
|
|
|
431
|
-
-
|
|
432
|
-
|
|
433
|
-
|
|
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
|
|
434
439
|
|
|
435
440
|
## 0.4.1
|
|
436
441
|
|
|
437
442
|
### Patch Changes
|
|
438
443
|
|
|
439
|
-
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
-
|
|
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
|
|
443
448
|
|
|
444
449
|
## 0.4.0
|
|
445
450
|
|
|
446
451
|
### Minor Changes
|
|
447
452
|
|
|
448
|
-
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
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
|
|
453
458
|
|
|
454
459
|
### Patch Changes
|
|
455
460
|
|
|
456
|
-
-
|
|
461
|
+
- Updated dependencies
|
|
457
462
|
|
|
458
463
|
## 0.3.0
|
|
459
464
|
|
|
460
465
|
### Minor Changes
|
|
461
466
|
|
|
462
|
-
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
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.
|
|
467
472
|
|
|
468
473
|
## 0.2.1
|
|
469
474
|
|
|
470
475
|
### Patch Changes
|
|
471
476
|
|
|
472
|
-
-
|
|
473
|
-
|
|
474
|
-
|
|
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
|
|
475
480
|
|
|
476
481
|
## 0.2.0
|
|
477
482
|
|
|
478
483
|
### Minor Changes
|
|
479
484
|
|
|
480
|
-
-
|
|
481
|
-
|
|
482
|
-
|
|
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.
|
|
483
488
|
|
|
484
489
|
## 0.1.12
|
|
485
490
|
|
|
486
491
|
### Patch Changes
|
|
487
492
|
|
|
488
|
-
-
|
|
493
|
+
- Updated dependencies
|
|
489
494
|
|
|
490
495
|
## 0.1.11
|
|
491
496
|
|
|
492
497
|
### Patch Changes
|
|
493
498
|
|
|
494
|
-
-
|
|
495
|
-
|
|
496
|
-
|
|
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
|
|
497
502
|
|
|
498
503
|
## 0.1.10
|
|
499
504
|
|
|
500
505
|
### Patch Changes
|
|
501
506
|
|
|
502
|
-
-
|
|
503
|
-
|
|
504
|
-
|
|
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
|
|
505
510
|
|
|
506
511
|
## 0.1.9
|
|
507
512
|
|
|
508
513
|
### Patch Changes
|
|
509
514
|
|
|
510
|
-
-
|
|
515
|
+
- Updated dependencies
|
|
511
516
|
|
|
512
517
|
## 0.1.8
|
|
513
518
|
|
|
514
519
|
### Patch Changes
|
|
515
520
|
|
|
516
|
-
-
|
|
517
|
-
|
|
518
|
-
|
|
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).
|
|
519
524
|
|
|
520
525
|
## 0.1.7
|
|
521
526
|
|
|
522
527
|
### Patch Changes
|
|
523
528
|
|
|
524
|
-
-
|
|
525
|
-
|
|
526
|
-
|
|
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
|
|
527
532
|
|
|
528
533
|
## 0.1.6
|
|
529
534
|
|
|
530
535
|
### Patch Changes
|
|
531
536
|
|
|
532
|
-
-
|
|
533
|
-
|
|
534
|
-
|
|
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
|
|
535
540
|
|
|
536
541
|
## 0.1.5
|
|
537
542
|
|
|
538
543
|
### Patch Changes
|
|
539
544
|
|
|
540
|
-
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
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.
|
|
564
569
|
|
|
565
570
|
## 0.1.4
|
|
566
571
|
|
|
567
572
|
### Patch Changes
|
|
568
573
|
|
|
569
|
-
-
|
|
570
|
-
|
|
571
|
-
|
|
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
|
|
572
577
|
|
|
573
578
|
## 0.1.3
|
|
574
579
|
|
|
575
580
|
### Patch Changes
|
|
576
581
|
|
|
577
|
-
-
|
|
582
|
+
- Updated dependencies
|
|
578
583
|
|
|
579
584
|
## 0.1.2
|
|
580
585
|
|
|
581
586
|
### Patch Changes
|
|
582
587
|
|
|
583
|
-
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
-
|
|
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
|
|
587
592
|
|
|
588
593
|
## 0.1.1
|
|
589
594
|
|
|
590
595
|
### Patch Changes
|
|
591
596
|
|
|
592
|
-
-
|
|
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",
|
|
@@ -34,15 +34,15 @@
|
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
36
|
"@atlaskit/adf-schema": "^36.10.7",
|
|
37
|
-
"@atlaskit/button": "^17.
|
|
38
|
-
"@atlaskit/editor-common": "^
|
|
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
47
|
"@atlaskit/icon": "^22.3.0",
|
|
48
48
|
"@atlaskit/platform-feature-flags": "^0.2.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
|
|