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