@atlaskit/editor-tables 2.7.1 → 2.7.2
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 +278 -110
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,430 +1,598 @@
|
|
|
1
1
|
# @atlaskit/editor-tables
|
|
2
2
|
|
|
3
|
+
## 2.7.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#97698](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/97698)
|
|
8
|
+
[`1c7b378c0d3b`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/1c7b378c0d3b) -
|
|
9
|
+
[HOT-108999] We had an incident where the cursor jumps back a character in table headers for any
|
|
10
|
+
language triggering composition on an empty line.This was fixed in a patch bump of
|
|
11
|
+
prosemirror-view. https://github.com/ProseMirror/prosemirror-view/compare/1.33.4...1.33.5
|
|
12
|
+
|
|
3
13
|
## 2.7.1
|
|
4
14
|
|
|
5
15
|
### Patch Changes
|
|
6
16
|
|
|
7
|
-
-
|
|
17
|
+
- [#92007](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/92007)
|
|
18
|
+
[`85525725cb0d`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/85525725cb0d) -
|
|
19
|
+
Migrated to the new button component
|
|
8
20
|
|
|
9
21
|
## 2.7.0
|
|
10
22
|
|
|
11
23
|
### Minor Changes
|
|
12
24
|
|
|
13
|
-
-
|
|
25
|
+
- [#91934](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/91934)
|
|
26
|
+
[`b76a78c6a199`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/b76a78c6a199) -
|
|
27
|
+
bumped editor-prosemirror version to 4.0.0
|
|
14
28
|
|
|
15
29
|
## 2.6.3
|
|
16
30
|
|
|
17
31
|
### Patch Changes
|
|
18
32
|
|
|
19
|
-
-
|
|
33
|
+
- [#86368](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/86368)
|
|
34
|
+
[`8499e6f0fef4`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8499e6f0fef4) -
|
|
35
|
+
Remove custom-table-width feature flag
|
|
20
36
|
|
|
21
37
|
## 2.6.2
|
|
22
38
|
|
|
23
39
|
### Patch Changes
|
|
24
40
|
|
|
25
|
-
-
|
|
41
|
+
- [#88717](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/88717)
|
|
42
|
+
[`d92770eae702`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/d92770eae702) -
|
|
43
|
+
Adding internal eslint opt outs for a new rule
|
|
44
|
+
`@atlaskit/design-system/no-direct-use-of-web-platform-drag-and-drop`.
|
|
26
45
|
|
|
27
46
|
## 2.6.1
|
|
28
47
|
|
|
29
48
|
### Patch Changes
|
|
30
49
|
|
|
31
|
-
-
|
|
50
|
+
- [#86621](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/86621)
|
|
51
|
+
[`819e262c9b0b`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/819e262c9b0b) -
|
|
52
|
+
remove table-shift-click-selection-backward feature flag
|
|
32
53
|
|
|
33
54
|
## 2.6.0
|
|
34
55
|
|
|
35
56
|
### Minor Changes
|
|
36
57
|
|
|
37
|
-
-
|
|
58
|
+
- [#83612](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/83612)
|
|
59
|
+
[`25b32cbfbb7e`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/25b32cbfbb7e) -
|
|
60
|
+
[ux] Added new clone row/column behaviour to tables drag N drop. When the user holds the alt
|
|
61
|
+
modifier during the operation the row/column will be duplicated rather then moved.
|
|
38
62
|
|
|
39
63
|
## 2.5.8
|
|
40
64
|
|
|
41
65
|
### Patch Changes
|
|
42
66
|
|
|
43
|
-
-
|
|
67
|
+
- [#80612](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/80612)
|
|
68
|
+
[`b3a6ffbe9e15`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/b3a6ffbe9e15) -
|
|
69
|
+
[ux] Fix Firefox table drag handle shift click selection
|
|
44
70
|
|
|
45
71
|
## 2.5.7
|
|
46
72
|
|
|
47
73
|
### Patch Changes
|
|
48
74
|
|
|
49
|
-
-
|
|
75
|
+
- [#77796](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/77796)
|
|
76
|
+
[`eab996d08513`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/eab996d08513) -
|
|
77
|
+
Add new statsig experiement for preserve table width, add support for passing through width to
|
|
78
|
+
create table. Allow tables to be inserted at full width
|
|
50
79
|
|
|
51
80
|
## 2.5.6
|
|
52
81
|
|
|
53
82
|
### Patch Changes
|
|
54
83
|
|
|
55
|
-
-
|
|
84
|
+
- [#77516](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/77516)
|
|
85
|
+
[`d6e79c5637c7`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/d6e79c5637c7) -
|
|
86
|
+
[ux] fix expand current selection by shift click
|
|
56
87
|
|
|
57
88
|
## 2.5.5
|
|
58
89
|
|
|
59
90
|
### Patch Changes
|
|
60
91
|
|
|
61
|
-
-
|
|
92
|
+
- [#72037](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/72037)
|
|
93
|
+
[`e59f0b7a9115`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/e59f0b7a9115) -
|
|
94
|
+
[ux] add flexiable to make merged cells detection allow to detect edge merged cells
|
|
62
95
|
|
|
63
96
|
## 2.5.4
|
|
64
97
|
|
|
65
98
|
### Patch Changes
|
|
66
99
|
|
|
67
|
-
-
|
|
100
|
+
- [#68572](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/68572)
|
|
101
|
+
[`15d407fe5143`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/15d407fe5143) -
|
|
102
|
+
Upgrading @atlaskit/editor-prosemirror dependency
|
|
68
103
|
|
|
69
104
|
## 2.5.3
|
|
70
105
|
|
|
71
106
|
### Patch Changes
|
|
72
107
|
|
|
73
|
-
-
|
|
108
|
+
- [#70718](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/70718)
|
|
109
|
+
[`e5d2832002bb`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/e5d2832002bb) -
|
|
110
|
+
Patched a bug in the table paste logic which was throwing an error during the selection phase of
|
|
111
|
+
the paste event when the pasted data contained a table row ending with a merged cell. The error
|
|
112
|
+
from the selection is causing the table data to be injected as plain text inline.
|
|
74
113
|
|
|
75
114
|
## 2.5.2
|
|
76
115
|
|
|
77
116
|
### Patch Changes
|
|
78
117
|
|
|
79
|
-
-
|
|
118
|
+
- [#69650](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/69650)
|
|
119
|
+
[`91a5b96796cb`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/91a5b96796cb) -
|
|
120
|
+
Migrate @atlaskit/editor-tables to use declarative entry points
|
|
80
121
|
|
|
81
122
|
## 2.5.1
|
|
82
123
|
|
|
83
124
|
### Patch Changes
|
|
84
125
|
|
|
85
|
-
-
|
|
126
|
+
- [#69625](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/69625)
|
|
127
|
+
[`67d7971c6ddf`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/67d7971c6ddf) -
|
|
128
|
+
[ux] Tables DnD now supports dragging multiple rows/columns in a single drag using multi-select
|
|
86
129
|
|
|
87
130
|
## 2.5.0
|
|
88
131
|
|
|
89
132
|
### Minor Changes
|
|
90
133
|
|
|
91
|
-
-
|
|
134
|
+
- [#69232](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/69232)
|
|
135
|
+
[`93c8f231aa82`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/93c8f231aa82) -
|
|
136
|
+
Optimized the table move column logic to perform individual insert/deletes per row
|
|
92
137
|
|
|
93
138
|
## 2.4.0
|
|
94
139
|
|
|
95
140
|
### Minor Changes
|
|
96
141
|
|
|
97
|
-
-
|
|
142
|
+
- [#67400](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/67400)
|
|
143
|
+
[`191436e36f93`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/191436e36f93) -
|
|
144
|
+
Optimised the table move row logic to perform insert/delete steps rather than an entire table
|
|
145
|
+
replacement
|
|
98
146
|
|
|
99
147
|
## 2.3.18
|
|
100
148
|
|
|
101
149
|
### Patch Changes
|
|
102
150
|
|
|
103
|
-
-
|
|
151
|
+
- [#60278](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/60278)
|
|
152
|
+
[`bc2785a02329`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/bc2785a02329) -
|
|
153
|
+
Selection of multiple rows / column should remain when clicking the drag handle
|
|
104
154
|
|
|
105
155
|
## 2.3.17
|
|
106
156
|
|
|
107
157
|
### Patch Changes
|
|
108
158
|
|
|
109
|
-
-
|
|
159
|
+
- [#59009](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/59009)
|
|
160
|
+
[`f7e9d874ff37`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/f7e9d874ff37) -
|
|
161
|
+
Fix table expand selection when `platform.editor.table-shift-click-selection-backward` FF is
|
|
162
|
+
enabled
|
|
110
163
|
|
|
111
164
|
## 2.3.16
|
|
112
165
|
|
|
113
166
|
### Patch Changes
|
|
114
167
|
|
|
115
|
-
-
|
|
168
|
+
- [#58433](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/58433)
|
|
169
|
+
[`4d8e164d7760`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/4d8e164d7760) -
|
|
170
|
+
fix shift + click to expand column / row selection bug when
|
|
171
|
+
`platform.editor.table.drag-and-drop` is enabled
|
|
116
172
|
|
|
117
173
|
## 2.3.15
|
|
118
174
|
|
|
119
175
|
### Patch Changes
|
|
120
176
|
|
|
121
|
-
-
|
|
177
|
+
- [#43255](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/43255)
|
|
178
|
+
[`6c1b3270538`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6c1b3270538) - Remove
|
|
179
|
+
setSelection from move commands as it's unnecessary
|
|
122
180
|
|
|
123
181
|
## 2.3.14
|
|
124
182
|
|
|
125
183
|
### Patch Changes
|
|
126
184
|
|
|
127
|
-
-
|
|
185
|
+
- [#42754](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/42754)
|
|
186
|
+
[`b2396966987`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b2396966987) - use
|
|
187
|
+
'as' type assertion rather than angle brackets
|
|
128
188
|
|
|
129
189
|
## 2.3.13
|
|
130
190
|
|
|
131
191
|
### Patch Changes
|
|
132
192
|
|
|
133
|
-
-
|
|
193
|
+
- [#42109](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/42109)
|
|
194
|
+
[`d25ae495fed`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d25ae495fed) - [ux]
|
|
195
|
+
Adds a fix to keep selection on a dropped row or column.
|
|
134
196
|
|
|
135
197
|
## 2.3.12
|
|
136
198
|
|
|
137
199
|
### Patch Changes
|
|
138
200
|
|
|
139
|
-
-
|
|
201
|
+
- [#41991](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/41991)
|
|
202
|
+
[`28a7171e7e3`](https://bitbucket.org/atlassian/atlassian-frontend/commits/28a7171e7e3) - [ux]
|
|
203
|
+
add shift click select backward feature to expand selection
|
|
140
204
|
|
|
141
205
|
## 2.3.11
|
|
142
206
|
|
|
143
207
|
### Patch Changes
|
|
144
208
|
|
|
145
|
-
-
|
|
209
|
+
- [#39749](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/39749)
|
|
210
|
+
[`e6b69f455c3`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e6b69f455c3) -
|
|
211
|
+
Connect yarn changeset to packages, upgrade adf-schema
|
|
146
212
|
|
|
147
213
|
## 2.3.10
|
|
148
214
|
|
|
149
215
|
### Patch Changes
|
|
150
216
|
|
|
151
|
-
-
|
|
217
|
+
- [#39984](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/39984)
|
|
218
|
+
[`37c62369dae`](https://bitbucket.org/atlassian/atlassian-frontend/commits/37c62369dae) -
|
|
219
|
+
NO-ISSUE Import doc builder types from editor-common
|
|
152
220
|
|
|
153
221
|
## 2.3.9
|
|
154
222
|
|
|
155
223
|
### Patch Changes
|
|
156
224
|
|
|
157
|
-
-
|
|
225
|
+
- [#39381](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/39381)
|
|
226
|
+
[`35242fb367a`](https://bitbucket.org/atlassian/atlassian-frontend/commits/35242fb367a) - Add
|
|
227
|
+
custom-table-width feature flag and add width to table node when inserted
|
|
158
228
|
|
|
159
229
|
## 2.3.8
|
|
160
230
|
|
|
161
231
|
### Patch Changes
|
|
162
232
|
|
|
163
|
-
-
|
|
233
|
+
- Updated dependencies
|
|
164
234
|
|
|
165
235
|
## 2.3.7
|
|
166
236
|
|
|
167
237
|
### Patch Changes
|
|
168
238
|
|
|
169
|
-
-
|
|
239
|
+
- [#37785](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/37785)
|
|
240
|
+
[`4e6f1bf8511`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4e6f1bf8511) -
|
|
241
|
+
[ED-19233] Import prosemirror libraries from internal facade package
|
|
170
242
|
|
|
171
243
|
## 2.3.6
|
|
172
244
|
|
|
173
245
|
### Patch Changes
|
|
174
246
|
|
|
175
|
-
-
|
|
247
|
+
- [#36241](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/36241)
|
|
248
|
+
[`5f5ba16de66`](https://bitbucket.org/atlassian/atlassian-frontend/commits/5f5ba16de66) -
|
|
249
|
+
[ED-13910] Fix prosemirror types
|
|
176
250
|
|
|
177
251
|
## 2.3.5
|
|
178
252
|
|
|
179
253
|
### Patch Changes
|
|
180
254
|
|
|
181
|
-
-
|
|
255
|
+
- [#35782](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/35782)
|
|
256
|
+
[`73b5128036b`](https://bitbucket.org/atlassian/atlassian-frontend/commits/73b5128036b) -
|
|
257
|
+
[ED-17082] Mark package as a singleton one
|
|
182
258
|
|
|
183
259
|
## 2.3.4
|
|
184
260
|
|
|
185
261
|
### Patch Changes
|
|
186
262
|
|
|
187
|
-
-
|
|
263
|
+
- [#35533](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/35533)
|
|
264
|
+
[`fa1f53e0ae7`](https://bitbucket.org/atlassian/atlassian-frontend/commits/fa1f53e0ae7) -
|
|
265
|
+
[ED-18167] Remove dependency of editor-tables on adf schema library to avoid a circular
|
|
266
|
+
dependency
|
|
188
267
|
|
|
189
268
|
## 2.3.3
|
|
190
269
|
|
|
191
270
|
### Patch Changes
|
|
192
271
|
|
|
193
|
-
-
|
|
272
|
+
- [#33793](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33793)
|
|
273
|
+
[`9d00501a414`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9d00501a414) - Ensure
|
|
274
|
+
legacy types are published for TS 4.5-4.8
|
|
194
275
|
|
|
195
276
|
## 2.3.2
|
|
196
277
|
|
|
197
278
|
### Patch Changes
|
|
198
279
|
|
|
199
|
-
-
|
|
280
|
+
- [#33771](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33771)
|
|
281
|
+
[`a142ba1aa28`](https://bitbucket.org/atlassian/atlassian-frontend/commits/a142ba1aa28) -
|
|
282
|
+
[ED17172] Bump prosemirror-model to 1.16.0 and prosemirror-view to 1.23.7 and removed
|
|
283
|
+
work-arounds for fixed issues
|
|
200
284
|
|
|
201
285
|
## 2.3.1
|
|
202
286
|
|
|
203
287
|
### Patch Changes
|
|
204
288
|
|
|
205
|
-
-
|
|
289
|
+
- [#33649](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33649)
|
|
290
|
+
[`41fae2c6f68`](https://bitbucket.org/atlassian/atlassian-frontend/commits/41fae2c6f68) -
|
|
291
|
+
Upgrade Typescript from `4.5.5` to `4.9.5`
|
|
206
292
|
|
|
207
293
|
## 2.3.0
|
|
208
294
|
|
|
209
295
|
### Minor Changes
|
|
210
296
|
|
|
211
|
-
-
|
|
297
|
+
- [#33258](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33258)
|
|
298
|
+
[`56507598609`](https://bitbucket.org/atlassian/atlassian-frontend/commits/56507598609) - Skip
|
|
299
|
+
minor dependency bump
|
|
212
300
|
|
|
213
301
|
## 2.2.6
|
|
214
302
|
|
|
215
303
|
### Patch Changes
|
|
216
304
|
|
|
217
|
-
-
|
|
305
|
+
- [#33004](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33004)
|
|
306
|
+
[`0ffb55018c9`](https://bitbucket.org/atlassian/atlassian-frontend/commits/0ffb55018c9) - Revert
|
|
307
|
+
"[ED-17172] Bumped prosemirror-view from 1.23.2 to 1.23.7 and removed work-around for fixed
|
|
308
|
+
issues"
|
|
218
309
|
|
|
219
310
|
## 2.2.5
|
|
220
311
|
|
|
221
312
|
### Patch Changes
|
|
222
313
|
|
|
223
|
-
-
|
|
314
|
+
- [#32424](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/32424)
|
|
315
|
+
[`2e01c9c74b5`](https://bitbucket.org/atlassian/atlassian-frontend/commits/2e01c9c74b5) - DUMMY
|
|
316
|
+
remove before merging to master; dupe adf-schema via adf-utils
|
|
224
317
|
|
|
225
318
|
## 2.2.4
|
|
226
319
|
|
|
227
320
|
### Patch Changes
|
|
228
321
|
|
|
229
|
-
-
|
|
230
|
-
|
|
231
|
-
|
|
322
|
+
- [#28932](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/28932)
|
|
323
|
+
[`4080eb013ef`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4080eb013ef) - [ux]
|
|
324
|
+
Fix bug where pasting inside a table did not respect the table's headers. Pasted cells are
|
|
325
|
+
formatted based on the table they are being pasted into.
|
|
326
|
+
- [`4f6a895f1d5`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4f6a895f1d5) - Set
|
|
327
|
+
selectable property for selectable nodes
|
|
328
|
+
- [`4f6a895f1d5`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4f6a895f1d5) - Fix
|
|
329
|
+
arrow shift selection coming from outside of the table
|
|
232
330
|
|
|
233
331
|
## 2.2.3
|
|
234
332
|
|
|
235
333
|
### Patch Changes
|
|
236
334
|
|
|
237
|
-
-
|
|
335
|
+
- [#28090](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/28090)
|
|
336
|
+
[`dbef481f7df`](https://bitbucket.org/atlassian/atlassian-frontend/commits/dbef481f7df) - [ux]
|
|
337
|
+
ED-15724: fix the merged row(2nd row or later) cannot been recongnized as row selection and
|
|
338
|
+
cannot be deleted.
|
|
238
339
|
|
|
239
340
|
## 2.2.2
|
|
240
341
|
|
|
241
342
|
### Patch Changes
|
|
242
343
|
|
|
243
|
-
-
|
|
244
|
-
|
|
344
|
+
- [#26712](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/26712)
|
|
345
|
+
[`47f1f76cb80`](https://bitbucket.org/atlassian/atlassian-frontend/commits/47f1f76cb80) - Add
|
|
346
|
+
selectTableClosestToPos function
|
|
347
|
+
- [`755d7bf5c2a`](https://bitbucket.org/atlassian/atlassian-frontend/commits/755d7bf5c2a) - [ux]
|
|
348
|
+
ED-12527 Prevents editor-tables handleMouseDown() from creating a cell selection when right
|
|
349
|
+
clicking in a table cell.
|
|
245
350
|
|
|
246
351
|
## 2.2.1
|
|
247
352
|
|
|
248
353
|
### Patch Changes
|
|
249
354
|
|
|
250
|
-
-
|
|
355
|
+
- [#27511](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/27511)
|
|
356
|
+
[`403e0d2d291`](https://bitbucket.org/atlassian/atlassian-frontend/commits/403e0d2d291) -
|
|
357
|
+
ED-16246 fix prevent @types/prosemirror-commands @types/prosemirror-keymap updating to
|
|
358
|
+
incompatible version.
|
|
251
359
|
|
|
252
360
|
## 2.2.0
|
|
253
361
|
|
|
254
362
|
### Minor Changes
|
|
255
363
|
|
|
256
|
-
-
|
|
364
|
+
- [#24710](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24710)
|
|
365
|
+
[`d8acf7254db`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d8acf7254db) -
|
|
366
|
+
ED-8567 added tracking for fixTables()
|
|
257
367
|
|
|
258
368
|
## 2.1.6
|
|
259
369
|
|
|
260
370
|
### Patch Changes
|
|
261
371
|
|
|
262
|
-
-
|
|
372
|
+
- [#24607](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24607)
|
|
373
|
+
[`95f007063cf`](https://bitbucket.org/atlassian/atlassian-frontend/commits/95f007063cf) -
|
|
374
|
+
Decoupling paste plugin and table plugin, copied `replaceSelectedTable` and
|
|
375
|
+
`getSelectedTableInfo` utils to editor-tables utils package and analytics dependency shifted to
|
|
376
|
+
paste plugin.
|
|
263
377
|
|
|
264
378
|
## 2.1.5
|
|
265
379
|
|
|
266
380
|
### Patch Changes
|
|
267
381
|
|
|
268
|
-
-
|
|
382
|
+
- [#23381](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/23381)
|
|
383
|
+
[`e6f25536fe3`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e6f25536fe3) -
|
|
384
|
+
[ux][ed-15168] Fixes a bug where a width-less column was created when pasting table cells into a
|
|
385
|
+
table that had columns with set widths.
|
|
269
386
|
|
|
270
387
|
## 2.1.4
|
|
271
388
|
|
|
272
389
|
### Patch Changes
|
|
273
390
|
|
|
274
|
-
-
|
|
391
|
+
- [#20033](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/20033)
|
|
392
|
+
[`b29ce16dad8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b29ce16dad8) -
|
|
393
|
+
[ED-14606] Move bitbucket schema, confluence schema, jira schema, and default schema from
|
|
394
|
+
@atlaskit/adf-schema to their own entry points. These new entry points are as follows
|
|
275
395
|
|
|
276
|
-
|
|
396
|
+
@atlaskit/adf-schema/schema-bitbucket for:
|
|
277
397
|
|
|
278
|
-
|
|
398
|
+
- bitbucketSchema
|
|
279
399
|
|
|
280
|
-
|
|
400
|
+
@atlaskit/adf-schema/schema-confluence for:
|
|
281
401
|
|
|
282
|
-
|
|
283
|
-
|
|
402
|
+
- confluenceSchema
|
|
403
|
+
- confluenceSchemaWithMediaSingle
|
|
284
404
|
|
|
285
|
-
|
|
405
|
+
@atlaskit/adf-schema/schema-jira for:
|
|
286
406
|
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
407
|
+
- default as createJIRASchema
|
|
408
|
+
- isSchemaWithLists
|
|
409
|
+
- isSchemaWithMentions
|
|
410
|
+
- isSchemaWithEmojis
|
|
411
|
+
- isSchemaWithLinks
|
|
412
|
+
- isSchemaWithAdvancedTextFormattingMarks
|
|
413
|
+
- isSchemaWithCodeBlock
|
|
414
|
+
- isSchemaWithBlockQuotes
|
|
415
|
+
- isSchemaWithMedia
|
|
416
|
+
- isSchemaWithSubSupMark
|
|
417
|
+
- isSchemaWithTextColor
|
|
418
|
+
- isSchemaWithTables
|
|
299
419
|
|
|
300
|
-
|
|
420
|
+
@atlaskit/adf-schema/schema-default for:
|
|
301
421
|
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
422
|
+
- defaultSchema
|
|
423
|
+
- getSchemaBasedOnStage
|
|
424
|
+
- defaultSchemaConfig
|
|
305
425
|
|
|
306
|
-
|
|
426
|
+
This change also includes codemods in @atlaskit/adf-schema to update these entry points. It also
|
|
427
|
+
introduces a new util function "changeImportEntryPoint" to @atlaskit/codemod-utils to handle
|
|
428
|
+
this scenario.
|
|
307
429
|
|
|
308
430
|
## 2.1.3
|
|
309
431
|
|
|
310
432
|
### Patch Changes
|
|
311
433
|
|
|
312
|
-
-
|
|
434
|
+
- [#19618](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/19618)
|
|
435
|
+
[`cbfbaab61bb`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cbfbaab61bb) -
|
|
436
|
+
[ux][ed-14300] Remove column width from table cells being pasted into another table as it should
|
|
437
|
+
take the formatting of the destination table.
|
|
313
438
|
|
|
314
439
|
## 2.1.2
|
|
315
440
|
|
|
316
441
|
### Patch Changes
|
|
317
442
|
|
|
318
|
-
-
|
|
443
|
+
- [#18526](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/18526)
|
|
444
|
+
[`4e6fbaf5898`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4e6fbaf5898) -
|
|
445
|
+
ED-14117 Change EditorState.apply type to receive readonly transaction
|
|
319
446
|
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
447
|
+
Transactions should not be mutated after being dispatched as it can lead to unexpected
|
|
448
|
+
behaviour. This change patches the relevant types declared in prosemirror-state as a
|
|
449
|
+
compile-time safeguard.
|
|
323
450
|
|
|
324
451
|
## 2.1.1
|
|
325
452
|
|
|
326
453
|
### Patch Changes
|
|
327
454
|
|
|
328
|
-
-
|
|
455
|
+
- [#16752](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/16752)
|
|
456
|
+
[`19d72473dfb`](https://bitbucket.org/atlassian/atlassian-frontend/commits/19d72473dfb) -
|
|
457
|
+
ED-13025 Bump prosemirror-view 1.23.1 -> 1.23.2
|
|
329
458
|
|
|
330
459
|
## 2.1.0
|
|
331
460
|
|
|
332
461
|
### Minor Changes
|
|
333
462
|
|
|
334
|
-
-
|
|
463
|
+
- [#15998](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/15998)
|
|
464
|
+
[`b230f366971`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b230f366971) -
|
|
465
|
+
[ED-14008] Bump prosemirror-view from 1.20.2 to 1.23.1
|
|
335
466
|
|
|
336
467
|
### Patch Changes
|
|
337
468
|
|
|
338
|
-
-
|
|
469
|
+
- [`c6feed82071`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c6feed82071) -
|
|
470
|
+
ED-11632: Bump prosemirror packages;
|
|
339
471
|
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
472
|
+
- prosmirror-commands 1.1.4 -> 1.1.11,
|
|
473
|
+
- prosemirror-model 1.11.0 -> 1.14.3,
|
|
474
|
+
- prosemirror-state 1.3.3 -> 1.3.4,
|
|
475
|
+
- prosemirror-transform 1.2.8 -> 1.3.2,
|
|
476
|
+
- prosemirror-view 1.15.4 + 1.18.8 -> 1.20.2.
|
|
345
477
|
|
|
346
478
|
## 2.0.1
|
|
347
479
|
|
|
348
480
|
### Patch Changes
|
|
349
481
|
|
|
350
|
-
-
|
|
482
|
+
- [#13302](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/13302)
|
|
483
|
+
[`96c6146eef1`](https://bitbucket.org/atlassian/atlassian-frontend/commits/96c6146eef1) -
|
|
484
|
+
ED-13187: localId optional & empty values filtered
|
|
351
485
|
|
|
352
486
|
## 2.0.0
|
|
353
487
|
|
|
354
488
|
### Major Changes
|
|
355
489
|
|
|
356
|
-
-
|
|
490
|
+
- [#9847](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/9847)
|
|
491
|
+
[`71318e96b5d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/71318e96b5d) -
|
|
492
|
+
NO-ISSUE Force bump editor-tables
|
|
357
493
|
|
|
358
494
|
## 1.1.5
|
|
359
495
|
|
|
360
496
|
### Patch Changes
|
|
361
497
|
|
|
362
|
-
-
|
|
363
|
-
|
|
498
|
+
- [#9510](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/9510)
|
|
499
|
+
[`5089bd2544d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/5089bd2544d) -
|
|
500
|
+
ED-11919: generate localId for tables
|
|
501
|
+
- [`58b170725be`](https://bitbucket.org/atlassian/atlassian-frontend/commits/58b170725be) -
|
|
502
|
+
Renamed @atlaskit/editor-test-helpers/schema-builder to
|
|
503
|
+
@atlaskit/editor-test-helpers/doc-builder
|
|
364
504
|
|
|
365
505
|
## 1.1.4
|
|
366
506
|
|
|
367
507
|
### Patch Changes
|
|
368
508
|
|
|
369
|
-
-
|
|
370
|
-
|
|
509
|
+
- [#9083](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/9083)
|
|
510
|
+
[`d2e70ebaaa9`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d2e70ebaaa9) -
|
|
511
|
+
NO-ISSUE: updated editor tests to use 'doc: DocBuilder' instead of 'doc: any'
|
|
512
|
+
- [`fe1c96a3d28`](https://bitbucket.org/atlassian/atlassian-frontend/commits/fe1c96a3d28) - added
|
|
513
|
+
DocBuilder type to @atlaskit/editor-test-helpers, replaced duplicate definitions and
|
|
514
|
+
DocumentType
|
|
371
515
|
|
|
372
516
|
## 1.1.3
|
|
373
517
|
|
|
374
518
|
### Patch Changes
|
|
375
519
|
|
|
376
|
-
-
|
|
520
|
+
- [#5857](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/5857)
|
|
521
|
+
[`d3265f19be`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d3265f19be) -
|
|
522
|
+
Transpile packages using babel rather than tsc
|
|
377
523
|
|
|
378
524
|
## 1.1.2
|
|
379
525
|
|
|
380
526
|
### Patch Changes
|
|
381
527
|
|
|
382
|
-
-
|
|
528
|
+
- [#5860](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/5860)
|
|
529
|
+
[`703752d487`](https://bitbucket.org/atlassian/atlassian-frontend/commits/703752d487) - ED-10647
|
|
530
|
+
Remove caret from prosemirror-model, prosemirror-keymap, prosemirror-state,
|
|
531
|
+
prosemirror-transform to lock them down to an explicit version
|
|
383
532
|
|
|
384
533
|
## 1.1.1
|
|
385
534
|
|
|
386
535
|
### Patch Changes
|
|
387
536
|
|
|
388
|
-
-
|
|
389
|
-
|
|
537
|
+
- [#5516](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/5516)
|
|
538
|
+
[`e4abda244e`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e4abda244e) - ED-9912:
|
|
539
|
+
replace prosemirror-tables with editor-tables
|
|
540
|
+
- [`d39fa49905`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d39fa49905) -
|
|
541
|
+
ED-10420: remove utils copied from prosemirror-utils
|
|
390
542
|
|
|
391
543
|
## 1.1.0
|
|
392
544
|
|
|
393
545
|
### Minor Changes
|
|
394
546
|
|
|
395
|
-
-
|
|
396
|
-
|
|
547
|
+
- [#4749](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/4749)
|
|
548
|
+
[`111eac563c`](https://bitbucket.org/atlassian/atlassian-frontend/commits/111eac563c) - ED-9915:
|
|
549
|
+
added table utils from prosemirror-utils
|
|
550
|
+
- [`9a39500244`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9a39500244) - Bump
|
|
551
|
+
ProseMirror packages
|
|
397
552
|
|
|
398
|
-
|
|
553
|
+
Read more: https://product-fabric.atlassian.net/wiki/spaces/E/pages/1671956531/2020-08
|
|
399
554
|
|
|
400
555
|
### Patch Changes
|
|
401
556
|
|
|
402
|
-
-
|
|
403
|
-
-
|
|
404
|
-
-
|
|
405
|
-
-
|
|
406
|
-
-
|
|
407
|
-
-
|
|
557
|
+
- [`2d4bbe5e2e`](https://bitbucket.org/atlassian/atlassian-frontend/commits/2d4bbe5e2e) -
|
|
558
|
+
[ED-10503] Fix prosemirror-view version at 1.15.4 without carret
|
|
559
|
+
- [`9bf037e4e6`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9bf037e4e6) -
|
|
560
|
+
ED-10252: tests for moveColumn
|
|
561
|
+
- [`b5e04ea3f6`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b5e04ea3f6) -
|
|
562
|
+
ED-10052: added the original MIT license to the package's source code
|
|
563
|
+
- [`93be5de4de`](https://bitbucket.org/atlassian/atlassian-frontend/commits/93be5de4de) - Move
|
|
564
|
+
table_moveRow tests from prosemirror-utils to editor-tables
|
|
565
|
+
- [`aa65a361a1`](https://bitbucket.org/atlassian/atlassian-frontend/commits/aa65a361a1) - Added
|
|
566
|
+
some util functions
|
|
567
|
+
- Updated dependencies
|
|
408
568
|
|
|
409
569
|
## 1.0.2
|
|
410
570
|
|
|
411
571
|
### Patch Changes
|
|
412
572
|
|
|
413
|
-
-
|
|
414
|
-
|
|
415
|
-
-
|
|
573
|
+
- [#4424](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/4424)
|
|
574
|
+
[`e485167c47`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e485167c47) -
|
|
575
|
+
ED-10018: bump prosemirror-tables to fix copy-pasting merged rows
|
|
576
|
+
- [`7325aff6d3`](https://bitbucket.org/atlassian/atlassian-frontend/commits/7325aff6d3) - ED-9626:
|
|
577
|
+
added unit tests for CellSelection and tableEditing plugin to editor-tables
|
|
578
|
+
- Updated dependencies
|
|
416
579
|
|
|
417
580
|
## 1.0.1
|
|
418
581
|
|
|
419
582
|
### Patch Changes
|
|
420
583
|
|
|
421
|
-
-
|
|
584
|
+
- [#3885](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3885)
|
|
585
|
+
[`6c525a8229`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6c525a8229) - Upgraded
|
|
586
|
+
to TypeScript 3.9.6 and tslib to 2.0.0
|
|
422
587
|
|
|
423
|
-
|
|
424
|
-
|
|
588
|
+
Since tslib is a dependency for all our packages we recommend that products also follow this
|
|
589
|
+
tslib upgrade to prevent duplicates of tslib being bundled.
|
|
425
590
|
|
|
426
591
|
## 1.0.0
|
|
427
592
|
|
|
428
593
|
### Major Changes
|
|
429
594
|
|
|
430
|
-
-
|
|
595
|
+
- [#3428](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3428)
|
|
596
|
+
[`b00bfbe3f3`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b00bfbe3f3) - ED-9627
|
|
597
|
+
Added new @atlaskit/editor-tables package to include common editor tables related code. Included
|
|
598
|
+
TableMap class from prosemirror-tables package with it.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-tables",
|
|
3
|
-
"version": "2.7.
|
|
3
|
+
"version": "2.7.2",
|
|
4
4
|
"description": "A package that contains common classes and utility functions for editor tables",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"releaseModel": "continuous"
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@atlaskit/editor-prosemirror": "4.0.
|
|
31
|
+
"@atlaskit/editor-prosemirror": "4.0.1",
|
|
32
32
|
"@babel/runtime": "^7.0.0"
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {
|