@atlaskit/editor-slack-transformer 3.4.0 → 3.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md
CHANGED
|
@@ -1,224 +1,316 @@
|
|
|
1
1
|
# @atlaskit/editor-slack-transformer
|
|
2
2
|
|
|
3
|
+
## 3.5.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#98129](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/98129)
|
|
8
|
+
[`78612a7edba4`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/78612a7edba4) -
|
|
9
|
+
[ux] [ED-23101] Updated Editor JSON, Slack, Confluence and Email transformers to support the new
|
|
10
|
+
`backgroundColor` mark
|
|
11
|
+
|
|
12
|
+
## 3.4.1
|
|
13
|
+
|
|
14
|
+
### Patch Changes
|
|
15
|
+
|
|
16
|
+
- [#97698](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/97698)
|
|
17
|
+
[`1c7b378c0d3b`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/1c7b378c0d3b) -
|
|
18
|
+
[HOT-108999] We had an incident where the cursor jumps back a character in table headers for any
|
|
19
|
+
language triggering composition on an empty line.This was fixed in a patch bump of
|
|
20
|
+
prosemirror-view. https://github.com/ProseMirror/prosemirror-view/compare/1.33.4...1.33.5
|
|
21
|
+
|
|
3
22
|
## 3.4.0
|
|
4
23
|
|
|
5
24
|
### Minor Changes
|
|
6
25
|
|
|
7
|
-
-
|
|
26
|
+
- [#91934](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/91934)
|
|
27
|
+
[`b76a78c6a199`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/b76a78c6a199) -
|
|
28
|
+
bumped editor-prosemirror version to 4.0.0
|
|
8
29
|
|
|
9
30
|
## 3.3.5
|
|
10
31
|
|
|
11
32
|
### Patch Changes
|
|
12
33
|
|
|
13
|
-
-
|
|
34
|
+
- [#83116](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/83116)
|
|
35
|
+
[`8d4e99057fe0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8d4e99057fe0) -
|
|
36
|
+
Upgrade Typescript from `4.9.5` to `5.4.2`
|
|
14
37
|
|
|
15
38
|
## 3.3.4
|
|
16
39
|
|
|
17
40
|
### Patch Changes
|
|
18
41
|
|
|
19
|
-
-
|
|
42
|
+
- [#75947](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/75947)
|
|
43
|
+
[`43549c3789b1`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/43549c3789b1) -
|
|
44
|
+
Migrate @atlaskit/editor-core to use declarative entry points
|
|
20
45
|
|
|
21
46
|
## 3.3.3
|
|
22
47
|
|
|
23
48
|
### Patch Changes
|
|
24
49
|
|
|
25
|
-
-
|
|
50
|
+
- [#77984](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/77984)
|
|
51
|
+
[`eb7139b3ec21`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/eb7139b3ec21) -
|
|
52
|
+
Replace hardcoded values with spacing tokens
|
|
26
53
|
|
|
27
54
|
## 3.3.2
|
|
28
55
|
|
|
29
56
|
### Patch Changes
|
|
30
57
|
|
|
31
|
-
-
|
|
58
|
+
- [#68572](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/68572)
|
|
59
|
+
[`15d407fe5143`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/15d407fe5143) -
|
|
60
|
+
Upgrading @atlaskit/editor-prosemirror dependency
|
|
32
61
|
|
|
33
62
|
## 3.3.1
|
|
34
63
|
|
|
35
64
|
### Patch Changes
|
|
36
65
|
|
|
37
|
-
-
|
|
66
|
+
- [#70084](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/70084)
|
|
67
|
+
[`4d651eb93ab5`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/4d651eb93ab5) -
|
|
68
|
+
Add editor-plugin-annotation pr and create shared utils for it in editor-test-helpers
|
|
38
69
|
|
|
39
70
|
## 3.3.0
|
|
40
71
|
|
|
41
72
|
### Minor Changes
|
|
42
73
|
|
|
43
|
-
-
|
|
74
|
+
- [#70008](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/70008)
|
|
75
|
+
[`0aa6be50ddd3`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/0aa6be50ddd3) -
|
|
76
|
+
Added support for inline image
|
|
44
77
|
|
|
45
78
|
## 3.2.9
|
|
46
79
|
|
|
47
80
|
### Patch Changes
|
|
48
81
|
|
|
49
|
-
-
|
|
82
|
+
- [#42761](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/42761)
|
|
83
|
+
[`5d1881c7ed0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/5d1881c7ed0) - Adds
|
|
84
|
+
@ak/tokens as a dependency
|
|
50
85
|
|
|
51
86
|
## 3.2.8
|
|
52
87
|
|
|
53
88
|
### Patch Changes
|
|
54
89
|
|
|
55
|
-
-
|
|
90
|
+
- [#39320](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/39320)
|
|
91
|
+
[`ec4867e1376`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ec4867e1376) -
|
|
92
|
+
Removed captions flag and replaced with a new media prop `allowCaptions`. `allowCaptions` is set
|
|
93
|
+
to `false` by default and products will need to opt in to be able to use captions from now on.
|
|
56
94
|
|
|
57
95
|
## 3.2.7
|
|
58
96
|
|
|
59
97
|
### Patch Changes
|
|
60
98
|
|
|
61
|
-
-
|
|
99
|
+
- [#38162](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/38162)
|
|
100
|
+
[`fd6bb9c9184`](https://bitbucket.org/atlassian/atlassian-frontend/commits/fd6bb9c9184) - Delete
|
|
101
|
+
version.json
|
|
62
102
|
|
|
63
103
|
## 3.2.6
|
|
64
104
|
|
|
65
105
|
### Patch Changes
|
|
66
106
|
|
|
67
|
-
-
|
|
107
|
+
- Updated dependencies
|
|
68
108
|
|
|
69
109
|
## 3.2.5
|
|
70
110
|
|
|
71
111
|
### Patch Changes
|
|
72
112
|
|
|
73
|
-
-
|
|
113
|
+
- [#37785](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/37785)
|
|
114
|
+
[`4e6f1bf8511`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4e6f1bf8511) -
|
|
115
|
+
[ED-19233] Import prosemirror libraries from internal facade package
|
|
74
116
|
|
|
75
117
|
## 3.2.4
|
|
76
118
|
|
|
77
119
|
### Patch Changes
|
|
78
120
|
|
|
79
|
-
-
|
|
121
|
+
- [#34443](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/34443)
|
|
122
|
+
[`61cb5313358`](https://bitbucket.org/atlassian/atlassian-frontend/commits/61cb5313358) -
|
|
123
|
+
Removing unused dependencies and dev dependencies
|
|
80
124
|
|
|
81
125
|
## 3.2.3
|
|
82
126
|
|
|
83
127
|
### Patch Changes
|
|
84
128
|
|
|
85
|
-
-
|
|
129
|
+
- [#33793](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33793)
|
|
130
|
+
[`9d00501a414`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9d00501a414) - Ensure
|
|
131
|
+
legacy types are published for TS 4.5-4.8
|
|
86
132
|
|
|
87
133
|
## 3.2.2
|
|
88
134
|
|
|
89
135
|
### Patch Changes
|
|
90
136
|
|
|
91
|
-
-
|
|
137
|
+
- [#33771](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33771)
|
|
138
|
+
[`a142ba1aa28`](https://bitbucket.org/atlassian/atlassian-frontend/commits/a142ba1aa28) -
|
|
139
|
+
[ED17172] Bump prosemirror-model to 1.16.0 and prosemirror-view to 1.23.7 and removed
|
|
140
|
+
work-arounds for fixed issues
|
|
92
141
|
|
|
93
142
|
## 3.2.1
|
|
94
143
|
|
|
95
144
|
### Patch Changes
|
|
96
145
|
|
|
97
|
-
-
|
|
146
|
+
- [#33649](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33649)
|
|
147
|
+
[`41fae2c6f68`](https://bitbucket.org/atlassian/atlassian-frontend/commits/41fae2c6f68) -
|
|
148
|
+
Upgrade Typescript from `4.5.5` to `4.9.5`
|
|
98
149
|
|
|
99
150
|
## 3.2.0
|
|
100
151
|
|
|
101
152
|
### Minor Changes
|
|
102
153
|
|
|
103
|
-
-
|
|
154
|
+
- [#33258](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33258)
|
|
155
|
+
[`56507598609`](https://bitbucket.org/atlassian/atlassian-frontend/commits/56507598609) - Skip
|
|
156
|
+
minor dependency bump
|
|
104
157
|
|
|
105
158
|
## 3.1.7
|
|
106
159
|
|
|
107
160
|
### Patch Changes
|
|
108
161
|
|
|
109
|
-
-
|
|
162
|
+
- [#33004](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33004)
|
|
163
|
+
[`0ffb55018c9`](https://bitbucket.org/atlassian/atlassian-frontend/commits/0ffb55018c9) - Revert
|
|
164
|
+
"[ED-17172] Bumped prosemirror-view from 1.23.2 to 1.23.7 and removed work-around for fixed
|
|
165
|
+
issues"
|
|
110
166
|
|
|
111
167
|
## 3.1.6
|
|
112
168
|
|
|
113
169
|
### Patch Changes
|
|
114
170
|
|
|
115
|
-
-
|
|
171
|
+
- [#32424](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/32424)
|
|
172
|
+
[`2e01c9c74b5`](https://bitbucket.org/atlassian/atlassian-frontend/commits/2e01c9c74b5) - DUMMY
|
|
173
|
+
remove before merging to master; dupe adf-schema via adf-utils
|
|
116
174
|
|
|
117
175
|
## 3.1.5
|
|
118
176
|
|
|
119
177
|
### Patch Changes
|
|
120
178
|
|
|
121
|
-
-
|
|
179
|
+
- [#24874](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24874)
|
|
180
|
+
[`8cc2f888c83`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8cc2f888c83) -
|
|
181
|
+
Upgrade Typescript from `4.3.5` to `4.5.5`
|
|
122
182
|
|
|
123
183
|
## 3.1.4
|
|
124
184
|
|
|
125
185
|
### Patch Changes
|
|
126
186
|
|
|
127
|
-
-
|
|
187
|
+
- [#24492](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24492)
|
|
188
|
+
[`8d4228767b0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8d4228767b0) -
|
|
189
|
+
Upgrade Typescript from `4.2.4` to `4.3.5`.
|
|
128
190
|
|
|
129
191
|
## 3.1.3
|
|
130
192
|
|
|
131
193
|
### Patch Changes
|
|
132
194
|
|
|
133
|
-
-
|
|
195
|
+
- [#21570](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/21570)
|
|
196
|
+
[`4db684dafa6`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4db684dafa6) -
|
|
197
|
+
ED-13895 update editor slack transformer to emotion
|
|
134
198
|
|
|
135
199
|
## 3.1.2
|
|
136
200
|
|
|
137
201
|
### Patch Changes
|
|
138
202
|
|
|
139
|
-
-
|
|
203
|
+
- [#20650](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/20650)
|
|
204
|
+
[`cb2392f6d33`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cb2392f6d33) -
|
|
205
|
+
Upgrade to TypeScript 4.2.4
|
|
140
206
|
|
|
141
207
|
## 3.1.1
|
|
142
208
|
|
|
143
209
|
### Patch Changes
|
|
144
210
|
|
|
145
|
-
-
|
|
211
|
+
- [#16752](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/16752)
|
|
212
|
+
[`19d72473dfb`](https://bitbucket.org/atlassian/atlassian-frontend/commits/19d72473dfb) -
|
|
213
|
+
ED-13025 Bump prosemirror-view 1.23.1 -> 1.23.2
|
|
146
214
|
|
|
147
215
|
## 3.1.0
|
|
148
216
|
|
|
149
217
|
### Minor Changes
|
|
150
218
|
|
|
151
|
-
-
|
|
219
|
+
- [#17424](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/17424)
|
|
220
|
+
[`95c8a998ef1`](https://bitbucket.org/atlassian/atlassian-frontend/commits/95c8a998ef1) - Inline
|
|
221
|
+
cards with url type attributes are sent as links. Adding a new row after embedded card
|
|
152
222
|
|
|
153
223
|
## 3.0.0
|
|
154
224
|
|
|
155
225
|
### Major Changes
|
|
156
226
|
|
|
157
|
-
-
|
|
227
|
+
- [#15998](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/15998)
|
|
228
|
+
[`8f0577e0eb1`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8f0577e0eb1) - [ux]
|
|
229
|
+
Promoted captions to full schema and better support of wikimarkup, email and slack renderer
|
|
158
230
|
|
|
159
231
|
### Minor Changes
|
|
160
232
|
|
|
161
|
-
-
|
|
233
|
+
- [`b230f366971`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b230f366971) -
|
|
234
|
+
[ED-14008] Bump prosemirror-view from 1.20.2 to 1.23.1
|
|
162
235
|
|
|
163
236
|
### Patch Changes
|
|
164
237
|
|
|
165
|
-
-
|
|
238
|
+
- [`c6feed82071`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c6feed82071) -
|
|
239
|
+
ED-11632: Bump prosemirror packages;
|
|
166
240
|
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
241
|
+
- prosmirror-commands 1.1.4 -> 1.1.11,
|
|
242
|
+
- prosemirror-model 1.11.0 -> 1.14.3,
|
|
243
|
+
- prosemirror-state 1.3.3 -> 1.3.4,
|
|
244
|
+
- prosemirror-transform 1.2.8 -> 1.3.2,
|
|
245
|
+
- prosemirror-view 1.15.4 + 1.18.8 -> 1.20.2.
|
|
172
246
|
|
|
173
247
|
## 2.0.0
|
|
174
248
|
|
|
175
249
|
### Major Changes
|
|
176
250
|
|
|
177
|
-
-
|
|
251
|
+
- [#14777](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/14777)
|
|
252
|
+
[`ad7872a08ed`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ad7872a08ed) - Add
|
|
253
|
+
media inline component to wikimarkup, slack markdown, email renderer transformers
|
|
178
254
|
|
|
179
255
|
## 1.0.6
|
|
180
256
|
|
|
181
257
|
### Patch Changes
|
|
182
258
|
|
|
183
|
-
-
|
|
259
|
+
- [#14969](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/14969)
|
|
260
|
+
[`4855cb64aab`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4855cb64aab) - Fixed
|
|
261
|
+
typo in the embedded node name
|
|
184
262
|
|
|
185
263
|
## 1.0.5
|
|
186
264
|
|
|
187
265
|
### Patch Changes
|
|
188
266
|
|
|
189
|
-
-
|
|
267
|
+
- [#12300](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/12300)
|
|
268
|
+
[`5eb1f5c3eb6`](https://bitbucket.org/atlassian/atlassian-frontend/commits/5eb1f5c3eb6) - Moved
|
|
269
|
+
@atlaskit/editor-common to devDependencies. Extracted Transformer interface from it.
|
|
190
270
|
|
|
191
271
|
## 1.0.4
|
|
192
272
|
|
|
193
273
|
### Patch Changes
|
|
194
274
|
|
|
195
|
-
-
|
|
275
|
+
- Updated dependencies
|
|
196
276
|
|
|
197
277
|
## 1.0.3
|
|
198
278
|
|
|
199
279
|
### Patch Changes
|
|
200
280
|
|
|
201
|
-
-
|
|
202
|
-
|
|
281
|
+
- [#12237](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/12237)
|
|
282
|
+
[`b7d23a07930`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b7d23a07930) -
|
|
283
|
+
Added/updated unsupported nodes/marks stubs. Added support for decisions, layouts, status,
|
|
284
|
+
panel. Emojis return text (an emoji itself) instead of a short name.
|
|
203
285
|
|
|
204
286
|
## 1.0.2
|
|
205
287
|
|
|
206
288
|
### Patch Changes
|
|
207
289
|
|
|
208
|
-
-
|
|
290
|
+
- [#11502](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/11502)
|
|
291
|
+
[`a17337cd389`](https://bitbucket.org/atlassian/atlassian-frontend/commits/a17337cd389) - Added
|
|
292
|
+
stubs for unsupported nodes in Slack markdown such as table, panel, inline card, task, decision
|
|
293
|
+
as ["node type" attached]
|
|
209
294
|
|
|
210
295
|
## 1.0.1
|
|
211
296
|
|
|
212
297
|
### Patch Changes
|
|
213
298
|
|
|
214
|
-
-
|
|
215
|
-
|
|
216
|
-
|
|
299
|
+
- [#11387](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/11387)
|
|
300
|
+
[`93a63117404`](https://bitbucket.org/atlassian/atlassian-frontend/commits/93a63117404) -
|
|
301
|
+
Replaced a [media attached] link (when some file is attached) just with a text [media attached].
|
|
302
|
+
Added a rule node (serialized to an empty line) and a text color mark (serialized to a pure
|
|
303
|
+
text). Slack doesn’t have syntax for it. Added a missed description in package.json. Removed
|
|
304
|
+
unused devDependencies.
|
|
217
305
|
|
|
218
306
|
## 1.0.0
|
|
219
307
|
|
|
220
308
|
### Major Changes
|
|
221
309
|
|
|
222
|
-
-
|
|
223
|
-
|
|
224
|
-
|
|
310
|
+
- [#11002](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/11002)
|
|
311
|
+
[`944b9d04d22`](https://bitbucket.org/atlassian/atlassian-frontend/commits/944b9d04d22) - [ux]
|
|
312
|
+
TI-210 Implemented a converter to support ADF to Slack markdown transformation. Supported bold,
|
|
313
|
+
italic and strikethrough text, links, quotes, inline code blocks, code blocks, emojis. Mentions
|
|
314
|
+
are serialised as @id. There’s no specific list syntax in app-published text, but we can mimic
|
|
315
|
+
list (bullet, numbered) formatting. Also there’s no specific syntax for headers, images/files
|
|
316
|
+
(will be converted to [image attached] or [media attached] as a link).
|
package/dist/cjs/serializer.js
CHANGED
package/dist/esm/serializer.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-slack-transformer",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.5.0",
|
|
4
4
|
"description": "Editor Slack transformer",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
"runReact18": false
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@atlaskit/editor-prosemirror": "4.0.
|
|
35
|
+
"@atlaskit/editor-prosemirror": "4.0.1",
|
|
36
36
|
"@babel/runtime": "^7.0.0"
|
|
37
37
|
},
|
|
38
38
|
"peerDependencies": {
|
|
@@ -40,11 +40,11 @@
|
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
42
42
|
"@atlaskit/activity": "^1.0.1",
|
|
43
|
-
"@atlaskit/editor-core": "^193.
|
|
44
|
-
"@atlaskit/editor-test-helpers": "^18.
|
|
43
|
+
"@atlaskit/editor-core": "^193.14.0",
|
|
44
|
+
"@atlaskit/editor-test-helpers": "^18.22.0",
|
|
45
45
|
"@atlaskit/emoji": "^67.6.0",
|
|
46
46
|
"@atlaskit/theme": "^12.7.0",
|
|
47
|
-
"@atlaskit/tokens": "^1.
|
|
47
|
+
"@atlaskit/tokens": "^1.45.0",
|
|
48
48
|
"@atlaskit/util-data-test": "^17.9.0",
|
|
49
49
|
"@atlassian/atlassian-frontend-prettier-config-1.0.1": "npm:@atlassian/atlassian-frontend-prettier-config@1.0.1",
|
|
50
50
|
"@emotion/react": "^11.7.1",
|