@atlaskit/editor-tables 2.7.0 → 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 +283 -109
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,424 +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
|
+
|
|
13
|
+
## 2.7.1
|
|
14
|
+
|
|
15
|
+
### Patch Changes
|
|
16
|
+
|
|
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
|
|
20
|
+
|
|
3
21
|
## 2.7.0
|
|
4
22
|
|
|
5
23
|
### Minor Changes
|
|
6
24
|
|
|
7
|
-
-
|
|
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
|
|
8
28
|
|
|
9
29
|
## 2.6.3
|
|
10
30
|
|
|
11
31
|
### Patch Changes
|
|
12
32
|
|
|
13
|
-
-
|
|
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
|
|
14
36
|
|
|
15
37
|
## 2.6.2
|
|
16
38
|
|
|
17
39
|
### Patch Changes
|
|
18
40
|
|
|
19
|
-
-
|
|
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`.
|
|
20
45
|
|
|
21
46
|
## 2.6.1
|
|
22
47
|
|
|
23
48
|
### Patch Changes
|
|
24
49
|
|
|
25
|
-
-
|
|
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
|
|
26
53
|
|
|
27
54
|
## 2.6.0
|
|
28
55
|
|
|
29
56
|
### Minor Changes
|
|
30
57
|
|
|
31
|
-
-
|
|
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.
|
|
32
62
|
|
|
33
63
|
## 2.5.8
|
|
34
64
|
|
|
35
65
|
### Patch Changes
|
|
36
66
|
|
|
37
|
-
-
|
|
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
|
|
38
70
|
|
|
39
71
|
## 2.5.7
|
|
40
72
|
|
|
41
73
|
### Patch Changes
|
|
42
74
|
|
|
43
|
-
-
|
|
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
|
|
44
79
|
|
|
45
80
|
## 2.5.6
|
|
46
81
|
|
|
47
82
|
### Patch Changes
|
|
48
83
|
|
|
49
|
-
-
|
|
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
|
|
50
87
|
|
|
51
88
|
## 2.5.5
|
|
52
89
|
|
|
53
90
|
### Patch Changes
|
|
54
91
|
|
|
55
|
-
-
|
|
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
|
|
56
95
|
|
|
57
96
|
## 2.5.4
|
|
58
97
|
|
|
59
98
|
### Patch Changes
|
|
60
99
|
|
|
61
|
-
-
|
|
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
|
|
62
103
|
|
|
63
104
|
## 2.5.3
|
|
64
105
|
|
|
65
106
|
### Patch Changes
|
|
66
107
|
|
|
67
|
-
-
|
|
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.
|
|
68
113
|
|
|
69
114
|
## 2.5.2
|
|
70
115
|
|
|
71
116
|
### Patch Changes
|
|
72
117
|
|
|
73
|
-
-
|
|
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
|
|
74
121
|
|
|
75
122
|
## 2.5.1
|
|
76
123
|
|
|
77
124
|
### Patch Changes
|
|
78
125
|
|
|
79
|
-
-
|
|
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
|
|
80
129
|
|
|
81
130
|
## 2.5.0
|
|
82
131
|
|
|
83
132
|
### Minor Changes
|
|
84
133
|
|
|
85
|
-
-
|
|
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
|
|
86
137
|
|
|
87
138
|
## 2.4.0
|
|
88
139
|
|
|
89
140
|
### Minor Changes
|
|
90
141
|
|
|
91
|
-
-
|
|
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
|
|
92
146
|
|
|
93
147
|
## 2.3.18
|
|
94
148
|
|
|
95
149
|
### Patch Changes
|
|
96
150
|
|
|
97
|
-
-
|
|
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
|
|
98
154
|
|
|
99
155
|
## 2.3.17
|
|
100
156
|
|
|
101
157
|
### Patch Changes
|
|
102
158
|
|
|
103
|
-
-
|
|
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
|
|
104
163
|
|
|
105
164
|
## 2.3.16
|
|
106
165
|
|
|
107
166
|
### Patch Changes
|
|
108
167
|
|
|
109
|
-
-
|
|
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
|
|
110
172
|
|
|
111
173
|
## 2.3.15
|
|
112
174
|
|
|
113
175
|
### Patch Changes
|
|
114
176
|
|
|
115
|
-
-
|
|
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
|
|
116
180
|
|
|
117
181
|
## 2.3.14
|
|
118
182
|
|
|
119
183
|
### Patch Changes
|
|
120
184
|
|
|
121
|
-
-
|
|
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
|
|
122
188
|
|
|
123
189
|
## 2.3.13
|
|
124
190
|
|
|
125
191
|
### Patch Changes
|
|
126
192
|
|
|
127
|
-
-
|
|
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.
|
|
128
196
|
|
|
129
197
|
## 2.3.12
|
|
130
198
|
|
|
131
199
|
### Patch Changes
|
|
132
200
|
|
|
133
|
-
-
|
|
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
|
|
134
204
|
|
|
135
205
|
## 2.3.11
|
|
136
206
|
|
|
137
207
|
### Patch Changes
|
|
138
208
|
|
|
139
|
-
-
|
|
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
|
|
140
212
|
|
|
141
213
|
## 2.3.10
|
|
142
214
|
|
|
143
215
|
### Patch Changes
|
|
144
216
|
|
|
145
|
-
-
|
|
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
|
|
146
220
|
|
|
147
221
|
## 2.3.9
|
|
148
222
|
|
|
149
223
|
### Patch Changes
|
|
150
224
|
|
|
151
|
-
-
|
|
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
|
|
152
228
|
|
|
153
229
|
## 2.3.8
|
|
154
230
|
|
|
155
231
|
### Patch Changes
|
|
156
232
|
|
|
157
|
-
-
|
|
233
|
+
- Updated dependencies
|
|
158
234
|
|
|
159
235
|
## 2.3.7
|
|
160
236
|
|
|
161
237
|
### Patch Changes
|
|
162
238
|
|
|
163
|
-
-
|
|
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
|
|
164
242
|
|
|
165
243
|
## 2.3.6
|
|
166
244
|
|
|
167
245
|
### Patch Changes
|
|
168
246
|
|
|
169
|
-
-
|
|
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
|
|
170
250
|
|
|
171
251
|
## 2.3.5
|
|
172
252
|
|
|
173
253
|
### Patch Changes
|
|
174
254
|
|
|
175
|
-
-
|
|
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
|
|
176
258
|
|
|
177
259
|
## 2.3.4
|
|
178
260
|
|
|
179
261
|
### Patch Changes
|
|
180
262
|
|
|
181
|
-
-
|
|
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
|
|
182
267
|
|
|
183
268
|
## 2.3.3
|
|
184
269
|
|
|
185
270
|
### Patch Changes
|
|
186
271
|
|
|
187
|
-
-
|
|
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
|
|
188
275
|
|
|
189
276
|
## 2.3.2
|
|
190
277
|
|
|
191
278
|
### Patch Changes
|
|
192
279
|
|
|
193
|
-
-
|
|
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
|
|
194
284
|
|
|
195
285
|
## 2.3.1
|
|
196
286
|
|
|
197
287
|
### Patch Changes
|
|
198
288
|
|
|
199
|
-
-
|
|
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`
|
|
200
292
|
|
|
201
293
|
## 2.3.0
|
|
202
294
|
|
|
203
295
|
### Minor Changes
|
|
204
296
|
|
|
205
|
-
-
|
|
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
|
|
206
300
|
|
|
207
301
|
## 2.2.6
|
|
208
302
|
|
|
209
303
|
### Patch Changes
|
|
210
304
|
|
|
211
|
-
-
|
|
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"
|
|
212
309
|
|
|
213
310
|
## 2.2.5
|
|
214
311
|
|
|
215
312
|
### Patch Changes
|
|
216
313
|
|
|
217
|
-
-
|
|
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
|
|
218
317
|
|
|
219
318
|
## 2.2.4
|
|
220
319
|
|
|
221
320
|
### Patch Changes
|
|
222
321
|
|
|
223
|
-
-
|
|
224
|
-
|
|
225
|
-
|
|
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
|
|
226
330
|
|
|
227
331
|
## 2.2.3
|
|
228
332
|
|
|
229
333
|
### Patch Changes
|
|
230
334
|
|
|
231
|
-
-
|
|
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.
|
|
232
339
|
|
|
233
340
|
## 2.2.2
|
|
234
341
|
|
|
235
342
|
### Patch Changes
|
|
236
343
|
|
|
237
|
-
-
|
|
238
|
-
|
|
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.
|
|
239
350
|
|
|
240
351
|
## 2.2.1
|
|
241
352
|
|
|
242
353
|
### Patch Changes
|
|
243
354
|
|
|
244
|
-
-
|
|
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.
|
|
245
359
|
|
|
246
360
|
## 2.2.0
|
|
247
361
|
|
|
248
362
|
### Minor Changes
|
|
249
363
|
|
|
250
|
-
-
|
|
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()
|
|
251
367
|
|
|
252
368
|
## 2.1.6
|
|
253
369
|
|
|
254
370
|
### Patch Changes
|
|
255
371
|
|
|
256
|
-
-
|
|
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.
|
|
257
377
|
|
|
258
378
|
## 2.1.5
|
|
259
379
|
|
|
260
380
|
### Patch Changes
|
|
261
381
|
|
|
262
|
-
-
|
|
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.
|
|
263
386
|
|
|
264
387
|
## 2.1.4
|
|
265
388
|
|
|
266
389
|
### Patch Changes
|
|
267
390
|
|
|
268
|
-
-
|
|
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
|
|
269
395
|
|
|
270
|
-
|
|
396
|
+
@atlaskit/adf-schema/schema-bitbucket for:
|
|
271
397
|
|
|
272
|
-
|
|
398
|
+
- bitbucketSchema
|
|
273
399
|
|
|
274
|
-
|
|
400
|
+
@atlaskit/adf-schema/schema-confluence for:
|
|
275
401
|
|
|
276
|
-
|
|
277
|
-
|
|
402
|
+
- confluenceSchema
|
|
403
|
+
- confluenceSchemaWithMediaSingle
|
|
278
404
|
|
|
279
|
-
|
|
405
|
+
@atlaskit/adf-schema/schema-jira for:
|
|
280
406
|
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
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
|
|
293
419
|
|
|
294
|
-
|
|
420
|
+
@atlaskit/adf-schema/schema-default for:
|
|
295
421
|
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
422
|
+
- defaultSchema
|
|
423
|
+
- getSchemaBasedOnStage
|
|
424
|
+
- defaultSchemaConfig
|
|
299
425
|
|
|
300
|
-
|
|
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.
|
|
301
429
|
|
|
302
430
|
## 2.1.3
|
|
303
431
|
|
|
304
432
|
### Patch Changes
|
|
305
433
|
|
|
306
|
-
-
|
|
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.
|
|
307
438
|
|
|
308
439
|
## 2.1.2
|
|
309
440
|
|
|
310
441
|
### Patch Changes
|
|
311
442
|
|
|
312
|
-
-
|
|
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
|
|
313
446
|
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
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.
|
|
317
450
|
|
|
318
451
|
## 2.1.1
|
|
319
452
|
|
|
320
453
|
### Patch Changes
|
|
321
454
|
|
|
322
|
-
-
|
|
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
|
|
323
458
|
|
|
324
459
|
## 2.1.0
|
|
325
460
|
|
|
326
461
|
### Minor Changes
|
|
327
462
|
|
|
328
|
-
-
|
|
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
|
|
329
466
|
|
|
330
467
|
### Patch Changes
|
|
331
468
|
|
|
332
|
-
-
|
|
469
|
+
- [`c6feed82071`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c6feed82071) -
|
|
470
|
+
ED-11632: Bump prosemirror packages;
|
|
333
471
|
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
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.
|
|
339
477
|
|
|
340
478
|
## 2.0.1
|
|
341
479
|
|
|
342
480
|
### Patch Changes
|
|
343
481
|
|
|
344
|
-
-
|
|
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
|
|
345
485
|
|
|
346
486
|
## 2.0.0
|
|
347
487
|
|
|
348
488
|
### Major Changes
|
|
349
489
|
|
|
350
|
-
-
|
|
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
|
|
351
493
|
|
|
352
494
|
## 1.1.5
|
|
353
495
|
|
|
354
496
|
### Patch Changes
|
|
355
497
|
|
|
356
|
-
-
|
|
357
|
-
|
|
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
|
|
358
504
|
|
|
359
505
|
## 1.1.4
|
|
360
506
|
|
|
361
507
|
### Patch Changes
|
|
362
508
|
|
|
363
|
-
-
|
|
364
|
-
|
|
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
|
|
365
515
|
|
|
366
516
|
## 1.1.3
|
|
367
517
|
|
|
368
518
|
### Patch Changes
|
|
369
519
|
|
|
370
|
-
-
|
|
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
|
|
371
523
|
|
|
372
524
|
## 1.1.2
|
|
373
525
|
|
|
374
526
|
### Patch Changes
|
|
375
527
|
|
|
376
|
-
-
|
|
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
|
|
377
532
|
|
|
378
533
|
## 1.1.1
|
|
379
534
|
|
|
380
535
|
### Patch Changes
|
|
381
536
|
|
|
382
|
-
-
|
|
383
|
-
|
|
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
|
|
384
542
|
|
|
385
543
|
## 1.1.0
|
|
386
544
|
|
|
387
545
|
### Minor Changes
|
|
388
546
|
|
|
389
|
-
-
|
|
390
|
-
|
|
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
|
|
391
552
|
|
|
392
|
-
|
|
553
|
+
Read more: https://product-fabric.atlassian.net/wiki/spaces/E/pages/1671956531/2020-08
|
|
393
554
|
|
|
394
555
|
### Patch Changes
|
|
395
556
|
|
|
396
|
-
-
|
|
397
|
-
-
|
|
398
|
-
-
|
|
399
|
-
-
|
|
400
|
-
-
|
|
401
|
-
-
|
|
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
|
|
402
568
|
|
|
403
569
|
## 1.0.2
|
|
404
570
|
|
|
405
571
|
### Patch Changes
|
|
406
572
|
|
|
407
|
-
-
|
|
408
|
-
|
|
409
|
-
-
|
|
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
|
|
410
579
|
|
|
411
580
|
## 1.0.1
|
|
412
581
|
|
|
413
582
|
### Patch Changes
|
|
414
583
|
|
|
415
|
-
-
|
|
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
|
|
416
587
|
|
|
417
|
-
|
|
418
|
-
|
|
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.
|
|
419
590
|
|
|
420
591
|
## 1.0.0
|
|
421
592
|
|
|
422
593
|
### Major Changes
|
|
423
594
|
|
|
424
|
-
-
|
|
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": {
|