@atlaskit/editor-slack-transformer 3.5.0 → 3.7.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,316 +1,332 @@
1
1
  # @atlaskit/editor-slack-transformer
2
2
 
3
+ ## 3.7.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#130284](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/130284)
8
+ [`0d9df059ffdf5`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/0d9df059ffdf5) -
9
+ Explicitly log not supported nodes in slack transformer for expand and nestedExpand
10
+
11
+ ## 3.6.0
12
+
13
+ ### Minor Changes
14
+
15
+ - [#124209](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/124209)
16
+ [`8aa1792f12ed3`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8aa1792f12ed3) -
17
+ bump @atlaskit/editor-prosemirror to 5.0.0, bump @atlaskit/adf-schema to 40.1.0
18
+
3
19
  ## 3.5.0
4
20
 
5
21
  ### Minor Changes
6
22
 
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
23
+ - [#98129](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/98129)
24
+ [`78612a7edba4`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/78612a7edba4) -
25
+ [ux] [ED-23101] Updated Editor JSON, Slack, Confluence and Email transformers to support the new
26
+ `backgroundColor` mark
11
27
 
12
28
  ## 3.4.1
13
29
 
14
30
  ### Patch Changes
15
31
 
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
32
+ - [#97698](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/97698)
33
+ [`1c7b378c0d3b`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/1c7b378c0d3b) -
34
+ [HOT-108999] We had an incident where the cursor jumps back a character in table headers for any
35
+ language triggering composition on an empty line.This was fixed in a patch bump of
36
+ prosemirror-view. https://github.com/ProseMirror/prosemirror-view/compare/1.33.4...1.33.5
21
37
 
22
38
  ## 3.4.0
23
39
 
24
40
  ### Minor Changes
25
41
 
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
42
+ - [#91934](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/91934)
43
+ [`b76a78c6a199`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/b76a78c6a199) -
44
+ bumped editor-prosemirror version to 4.0.0
29
45
 
30
46
  ## 3.3.5
31
47
 
32
48
  ### Patch Changes
33
49
 
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`
50
+ - [#83116](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/83116)
51
+ [`8d4e99057fe0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8d4e99057fe0) -
52
+ Upgrade Typescript from `4.9.5` to `5.4.2`
37
53
 
38
54
  ## 3.3.4
39
55
 
40
56
  ### Patch Changes
41
57
 
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
58
+ - [#75947](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/75947)
59
+ [`43549c3789b1`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/43549c3789b1) -
60
+ Migrate @atlaskit/editor-core to use declarative entry points
45
61
 
46
62
  ## 3.3.3
47
63
 
48
64
  ### Patch Changes
49
65
 
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
66
+ - [#77984](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/77984)
67
+ [`eb7139b3ec21`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/eb7139b3ec21) -
68
+ Replace hardcoded values with spacing tokens
53
69
 
54
70
  ## 3.3.2
55
71
 
56
72
  ### Patch Changes
57
73
 
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
74
+ - [#68572](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/68572)
75
+ [`15d407fe5143`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/15d407fe5143) -
76
+ Upgrading @atlaskit/editor-prosemirror dependency
61
77
 
62
78
  ## 3.3.1
63
79
 
64
80
  ### Patch Changes
65
81
 
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
82
+ - [#70084](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/70084)
83
+ [`4d651eb93ab5`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/4d651eb93ab5) -
84
+ Add editor-plugin-annotation pr and create shared utils for it in editor-test-helpers
69
85
 
70
86
  ## 3.3.0
71
87
 
72
88
  ### Minor Changes
73
89
 
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
90
+ - [#70008](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/70008)
91
+ [`0aa6be50ddd3`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/0aa6be50ddd3) -
92
+ Added support for inline image
77
93
 
78
94
  ## 3.2.9
79
95
 
80
96
  ### Patch Changes
81
97
 
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
98
+ - [#42761](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/42761)
99
+ [`5d1881c7ed0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/5d1881c7ed0) - Adds
100
+ @ak/tokens as a dependency
85
101
 
86
102
  ## 3.2.8
87
103
 
88
104
  ### Patch Changes
89
105
 
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.
106
+ - [#39320](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/39320)
107
+ [`ec4867e1376`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ec4867e1376) - Removed
108
+ captions flag and replaced with a new media prop `allowCaptions`. `allowCaptions` is set to
109
+ `false` by default and products will need to opt in to be able to use captions from now on.
94
110
 
95
111
  ## 3.2.7
96
112
 
97
113
  ### Patch Changes
98
114
 
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
115
+ - [#38162](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/38162)
116
+ [`fd6bb9c9184`](https://bitbucket.org/atlassian/atlassian-frontend/commits/fd6bb9c9184) - Delete
117
+ version.json
102
118
 
103
119
  ## 3.2.6
104
120
 
105
121
  ### Patch Changes
106
122
 
107
- - Updated dependencies
123
+ - Updated dependencies
108
124
 
109
125
  ## 3.2.5
110
126
 
111
127
  ### Patch Changes
112
128
 
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
129
+ - [#37785](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/37785)
130
+ [`4e6f1bf8511`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4e6f1bf8511) -
131
+ [ED-19233] Import prosemirror libraries from internal facade package
116
132
 
117
133
  ## 3.2.4
118
134
 
119
135
  ### Patch Changes
120
136
 
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
137
+ - [#34443](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/34443)
138
+ [`61cb5313358`](https://bitbucket.org/atlassian/atlassian-frontend/commits/61cb5313358) - Removing
139
+ unused dependencies and dev dependencies
124
140
 
125
141
  ## 3.2.3
126
142
 
127
143
  ### Patch Changes
128
144
 
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
145
+ - [#33793](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33793)
146
+ [`9d00501a414`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9d00501a414) - Ensure
147
+ legacy types are published for TS 4.5-4.8
132
148
 
133
149
  ## 3.2.2
134
150
 
135
151
  ### Patch Changes
136
152
 
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
153
+ - [#33771](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33771)
154
+ [`a142ba1aa28`](https://bitbucket.org/atlassian/atlassian-frontend/commits/a142ba1aa28) -
155
+ [ED17172] Bump prosemirror-model to 1.16.0 and prosemirror-view to 1.23.7 and removed work-arounds
156
+ for fixed issues
141
157
 
142
158
  ## 3.2.1
143
159
 
144
160
  ### Patch Changes
145
161
 
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`
162
+ - [#33649](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33649)
163
+ [`41fae2c6f68`](https://bitbucket.org/atlassian/atlassian-frontend/commits/41fae2c6f68) - Upgrade
164
+ Typescript from `4.5.5` to `4.9.5`
149
165
 
150
166
  ## 3.2.0
151
167
 
152
168
  ### Minor Changes
153
169
 
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
170
+ - [#33258](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33258)
171
+ [`56507598609`](https://bitbucket.org/atlassian/atlassian-frontend/commits/56507598609) - Skip
172
+ minor dependency bump
157
173
 
158
174
  ## 3.1.7
159
175
 
160
176
  ### Patch Changes
161
177
 
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"
178
+ - [#33004](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33004)
179
+ [`0ffb55018c9`](https://bitbucket.org/atlassian/atlassian-frontend/commits/0ffb55018c9) - Revert
180
+ "[ED-17172] Bumped prosemirror-view from 1.23.2 to 1.23.7 and removed work-around for fixed
181
+ issues"
166
182
 
167
183
  ## 3.1.6
168
184
 
169
185
  ### Patch Changes
170
186
 
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
187
+ - [#32424](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/32424)
188
+ [`2e01c9c74b5`](https://bitbucket.org/atlassian/atlassian-frontend/commits/2e01c9c74b5) - DUMMY
189
+ remove before merging to master; dupe adf-schema via adf-utils
174
190
 
175
191
  ## 3.1.5
176
192
 
177
193
  ### Patch Changes
178
194
 
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`
195
+ - [#24874](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24874)
196
+ [`8cc2f888c83`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8cc2f888c83) - Upgrade
197
+ Typescript from `4.3.5` to `4.5.5`
182
198
 
183
199
  ## 3.1.4
184
200
 
185
201
  ### Patch Changes
186
202
 
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`.
203
+ - [#24492](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24492)
204
+ [`8d4228767b0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8d4228767b0) - Upgrade
205
+ Typescript from `4.2.4` to `4.3.5`.
190
206
 
191
207
  ## 3.1.3
192
208
 
193
209
  ### Patch Changes
194
210
 
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
211
+ - [#21570](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/21570)
212
+ [`4db684dafa6`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4db684dafa6) - ED-13895
213
+ update editor slack transformer to emotion
198
214
 
199
215
  ## 3.1.2
200
216
 
201
217
  ### Patch Changes
202
218
 
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
219
+ - [#20650](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/20650)
220
+ [`cb2392f6d33`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cb2392f6d33) - Upgrade
221
+ to TypeScript 4.2.4
206
222
 
207
223
  ## 3.1.1
208
224
 
209
225
  ### Patch Changes
210
226
 
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
227
+ - [#16752](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/16752)
228
+ [`19d72473dfb`](https://bitbucket.org/atlassian/atlassian-frontend/commits/19d72473dfb) - ED-13025
229
+ Bump prosemirror-view 1.23.1 -> 1.23.2
214
230
 
215
231
  ## 3.1.0
216
232
 
217
233
  ### Minor Changes
218
234
 
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
235
+ - [#17424](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/17424)
236
+ [`95c8a998ef1`](https://bitbucket.org/atlassian/atlassian-frontend/commits/95c8a998ef1) - Inline
237
+ cards with url type attributes are sent as links. Adding a new row after embedded card
222
238
 
223
239
  ## 3.0.0
224
240
 
225
241
  ### Major Changes
226
242
 
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
243
+ - [#15998](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/15998)
244
+ [`8f0577e0eb1`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8f0577e0eb1) - [ux]
245
+ Promoted captions to full schema and better support of wikimarkup, email and slack renderer
230
246
 
231
247
  ### Minor Changes
232
248
 
233
- - [`b230f366971`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b230f366971) -
234
- [ED-14008] Bump prosemirror-view from 1.20.2 to 1.23.1
249
+ - [`b230f366971`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b230f366971) -
250
+ [ED-14008] Bump prosemirror-view from 1.20.2 to 1.23.1
235
251
 
236
252
  ### Patch Changes
237
253
 
238
- - [`c6feed82071`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c6feed82071) -
239
- ED-11632: Bump prosemirror packages;
254
+ - [`c6feed82071`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c6feed82071) -
255
+ ED-11632: Bump prosemirror packages;
240
256
 
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.
257
+ - prosmirror-commands 1.1.4 -> 1.1.11,
258
+ - prosemirror-model 1.11.0 -> 1.14.3,
259
+ - prosemirror-state 1.3.3 -> 1.3.4,
260
+ - prosemirror-transform 1.2.8 -> 1.3.2,
261
+ - prosemirror-view 1.15.4 + 1.18.8 -> 1.20.2.
246
262
 
247
263
  ## 2.0.0
248
264
 
249
265
  ### Major Changes
250
266
 
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
267
+ - [#14777](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/14777)
268
+ [`ad7872a08ed`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ad7872a08ed) - Add
269
+ media inline component to wikimarkup, slack markdown, email renderer transformers
254
270
 
255
271
  ## 1.0.6
256
272
 
257
273
  ### Patch Changes
258
274
 
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
275
+ - [#14969](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/14969)
276
+ [`4855cb64aab`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4855cb64aab) - Fixed
277
+ typo in the embedded node name
262
278
 
263
279
  ## 1.0.5
264
280
 
265
281
  ### Patch Changes
266
282
 
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.
283
+ - [#12300](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/12300)
284
+ [`5eb1f5c3eb6`](https://bitbucket.org/atlassian/atlassian-frontend/commits/5eb1f5c3eb6) - Moved
285
+ @atlaskit/editor-common to devDependencies. Extracted Transformer interface from it.
270
286
 
271
287
  ## 1.0.4
272
288
 
273
289
  ### Patch Changes
274
290
 
275
- - Updated dependencies
291
+ - Updated dependencies
276
292
 
277
293
  ## 1.0.3
278
294
 
279
295
  ### Patch Changes
280
296
 
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.
297
+ - [#12237](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/12237)
298
+ [`b7d23a07930`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b7d23a07930) -
299
+ Added/updated unsupported nodes/marks stubs. Added support for decisions, layouts, status, panel.
300
+ Emojis return text (an emoji itself) instead of a short name.
285
301
 
286
302
  ## 1.0.2
287
303
 
288
304
  ### Patch Changes
289
305
 
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]
306
+ - [#11502](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/11502)
307
+ [`a17337cd389`](https://bitbucket.org/atlassian/atlassian-frontend/commits/a17337cd389) - Added
308
+ stubs for unsupported nodes in Slack markdown such as table, panel, inline card, task, decision as
309
+ ["node type" attached]
294
310
 
295
311
  ## 1.0.1
296
312
 
297
313
  ### Patch Changes
298
314
 
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.
315
+ - [#11387](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/11387)
316
+ [`93a63117404`](https://bitbucket.org/atlassian/atlassian-frontend/commits/93a63117404) - Replaced
317
+ a [media attached] link (when some file is attached) just with a text [media attached]. Added a
318
+ rule node (serialized to an empty line) and a text color mark (serialized to a pure text). Slack
319
+ doesn’t have syntax for it. Added a missed description in package.json. Removed unused
320
+ devDependencies.
305
321
 
306
322
  ## 1.0.0
307
323
 
308
324
  ### Major Changes
309
325
 
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).
326
+ - [#11002](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/11002)
327
+ [`944b9d04d22`](https://bitbucket.org/atlassian/atlassian-frontend/commits/944b9d04d22) - [ux]
328
+ TI-210 Implemented a converter to support ADF to Slack markdown transformation. Supported bold,
329
+ italic and strikethrough text, links, quotes, inline code blocks, code blocks, emojis. Mentions
330
+ are serialised as @id. There’s no specific list syntax in app-published text, but we can mimic
331
+ list (bullet, numbered) formatting. Also there’s no specific syntax for headers, images/files
332
+ (will be converted to [image attached] or [media attached] as a link).
package/LICENSE.md CHANGED
@@ -1,13 +1,11 @@
1
1
  Copyright 2020 Atlassian Pty Ltd
2
2
 
3
- Licensed under the Apache License, Version 2.0 (the "License");
4
- you may not use this file except in compliance with the License.
5
- You may obtain a copy of the License at
3
+ Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in
4
+ compliance with the License. You may obtain a copy of the License at
6
5
 
7
6
  http://www.apache.org/licenses/LICENSE-2.0
8
7
 
9
- Unless required by applicable law or agreed to in writing, software
10
- distributed under the License is distributed on an "AS IS" BASIS,
11
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
- See the License for the specific language governing permissions and
13
- limitations under the License.
8
+ Unless required by applicable law or agreed to in writing, software distributed under the License is
9
+ distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
10
+ implied. See the License for the specific language governing permissions and limitations under the
11
+ License.
@@ -102,8 +102,13 @@ var unsupportedNodes = {
102
102
  state.write('[task list]');
103
103
  state.closeBlock(node);
104
104
  },
105
- nestedExpand: function nestedExpand(state) {
105
+ expand: function expand(state, node) {
106
+ state.write('[expand]');
107
+ state.closeBlock(node);
108
+ },
109
+ nestedExpand: function nestedExpand(state, node) {
106
110
  state.write('[nested expand]');
111
+ state.closeBlock(node);
107
112
  },
108
113
  confluenceUnsupportedBlock: function confluenceUnsupportedBlock(state) {
109
114
  state.write('');
@@ -65,8 +65,13 @@ const unsupportedNodes = {
65
65
  state.write('[task list]');
66
66
  state.closeBlock(node);
67
67
  },
68
- nestedExpand(state) {
68
+ expand(state, node) {
69
+ state.write('[expand]');
70
+ state.closeBlock(node);
71
+ },
72
+ nestedExpand(state, node) {
69
73
  state.write('[nested expand]');
74
+ state.closeBlock(node);
70
75
  },
71
76
  confluenceUnsupportedBlock(state) {
72
77
  state.write('');
@@ -96,8 +96,13 @@ var unsupportedNodes = {
96
96
  state.write('[task list]');
97
97
  state.closeBlock(node);
98
98
  },
99
- nestedExpand: function nestedExpand(state) {
99
+ expand: function expand(state, node) {
100
+ state.write('[expand]');
101
+ state.closeBlock(node);
102
+ },
103
+ nestedExpand: function nestedExpand(state, node) {
100
104
  state.write('[nested expand]');
105
+ state.closeBlock(node);
101
106
  },
102
107
  confluenceUnsupportedBlock: function confluenceUnsupportedBlock(state) {
103
108
  state.write('');
@@ -1,4 +1,4 @@
1
- import { Node as PMNode } from '@atlaskit/editor-prosemirror/model';
1
+ import { type Node as PMNode } from '@atlaskit/editor-prosemirror/model';
2
2
  interface Transformer<T> {
3
3
  encode(node: PMNode): T;
4
4
  parse(content: T): PMNode;
@@ -21,7 +21,8 @@ export declare const nodes: {
21
21
  extension(state: MarkdownSerializerState, node: PMNode): void;
22
22
  bodiedExtension(state: MarkdownSerializerState, node: PMNode): void;
23
23
  taskList(state: MarkdownSerializerState, node: PMNode): void;
24
- nestedExpand(state: MarkdownSerializerState): void;
24
+ expand(state: MarkdownSerializerState, node: PMNode): void;
25
+ nestedExpand(state: MarkdownSerializerState, node: PMNode): void;
25
26
  confluenceUnsupportedBlock(state: MarkdownSerializerState): void;
26
27
  confluenceUnsupportedInline(state: MarkdownSerializerState): void;
27
28
  unsupportedInline(state: MarkdownSerializerState): void;
@@ -1,4 +1,4 @@
1
- import { Node as PMNode } from '@atlaskit/editor-prosemirror/model';
1
+ import { type Node as PMNode } from '@atlaskit/editor-prosemirror/model';
2
2
  interface Transformer<T> {
3
3
  encode(node: PMNode): T;
4
4
  parse(content: T): PMNode;
@@ -21,7 +21,8 @@ export declare const nodes: {
21
21
  extension(state: MarkdownSerializerState, node: PMNode): void;
22
22
  bodiedExtension(state: MarkdownSerializerState, node: PMNode): void;
23
23
  taskList(state: MarkdownSerializerState, node: PMNode): void;
24
- nestedExpand(state: MarkdownSerializerState): void;
24
+ expand(state: MarkdownSerializerState, node: PMNode): void;
25
+ nestedExpand(state: MarkdownSerializerState, node: PMNode): void;
25
26
  confluenceUnsupportedBlock(state: MarkdownSerializerState): void;
26
27
  confluenceUnsupportedInline(state: MarkdownSerializerState): void;
27
28
  unsupportedInline(state: MarkdownSerializerState): void;
@@ -1,10 +1,15 @@
1
- /** @jsx jsx */
1
+ /**
2
+ * @jsxRuntime classic
3
+ * @jsx jsx
4
+ */
2
5
  import React, { useState } from 'react';
6
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
3
7
  import { jsx } from '@emotion/react';
4
8
 
5
9
  import type { EditorView } from '@atlaskit/editor-prosemirror/view';
6
10
 
7
11
  import type { ActivityProvider } from '@atlaskit/activity';
12
+ // eslint-disable-next-line no-restricted-imports -- Legacy package outside of AFM lacks entry points
8
13
  import { MockActivityResource } from '@atlaskit/activity/dist/es5/support';
9
14
  import type { MentionProvider } from '@atlaskit/editor-core';
10
15
  import { MentionResource } from '@atlaskit/editor-core';
@@ -17,105 +22,95 @@ import { SlackTransformer } from '../src';
17
22
 
18
23
  import { content } from './styles';
19
24
 
20
- const rejectedPromise = Promise.reject(
21
- new Error('Simulated provider rejection'),
22
- );
25
+ const rejectedPromise = Promise.reject(new Error('Simulated provider rejection'));
23
26
  const pendingPromise = new Promise<any>(() => {});
24
27
 
25
28
  const providers = {
26
- mentionProvider: {
27
- resolved: Promise.resolve(mentionResourceProvider),
28
- 'resolved 2': Promise.resolve(
29
- new MentionResource({
30
- url: 'https://pf-mentions-service.staging.atlassian.io/mentions/f7ebe2c0-0309-4687-b913-41d422f2110b',
31
- containerId: 'b0d035bd-9b98-4386-863b-07286c34dc14',
32
- productId: 'hipchat',
33
- }),
34
- ),
35
- pending: pendingPromise,
36
- rejected: rejectedPromise,
37
- undefined: undefined,
38
- },
39
- emojiProvider: {
40
- resolved: getEmojiResource({ uploadSupported: true }),
41
- pending: pendingPromise,
42
- rejected: rejectedPromise,
43
- undefined: undefined,
44
- },
45
- activityProvider: {
46
- resolved: new MockActivityResource(),
47
- pending: pendingPromise,
48
- rejected: rejectedPromise,
49
- undefined: undefined,
50
- },
29
+ mentionProvider: {
30
+ resolved: Promise.resolve(mentionResourceProvider),
31
+ 'resolved 2': Promise.resolve(
32
+ new MentionResource({
33
+ url: 'https://pf-mentions-service.staging.atlassian.io/mentions/f7ebe2c0-0309-4687-b913-41d422f2110b',
34
+ containerId: 'b0d035bd-9b98-4386-863b-07286c34dc14',
35
+ productId: 'hipchat',
36
+ }),
37
+ ),
38
+ pending: pendingPromise,
39
+ rejected: rejectedPromise,
40
+ undefined: undefined,
41
+ },
42
+ emojiProvider: {
43
+ resolved: getEmojiResource({ uploadSupported: true }),
44
+ pending: pendingPromise,
45
+ rejected: rejectedPromise,
46
+ undefined: undefined,
47
+ },
48
+ activityProvider: {
49
+ resolved: new MockActivityResource(),
50
+ pending: pendingPromise,
51
+ rejected: rejectedPromise,
52
+ undefined: undefined,
53
+ },
51
54
  };
52
55
  rejectedPromise.catch(() => {});
53
56
 
54
57
  export interface State {
55
- reloadEditor: boolean;
56
- editorEnabled: boolean;
57
- mentionProvider: 'resolved' | 'pending' | 'rejected' | 'undefined';
58
- emojiProvider: 'resolved' | 'pending' | 'rejected' | 'undefined';
59
- activityProvider: 'resolved' | 'pending' | 'rejected' | 'undefined';
60
- document?: string;
58
+ reloadEditor: boolean;
59
+ editorEnabled: boolean;
60
+ mentionProvider: 'resolved' | 'pending' | 'rejected' | 'undefined';
61
+ emojiProvider: 'resolved' | 'pending' | 'rejected' | 'undefined';
62
+ activityProvider: 'resolved' | 'pending' | 'rejected' | 'undefined';
63
+ document?: string;
61
64
  }
62
65
 
63
66
  export type Props = {
64
- renderEditor: (props: {
65
- disabled: boolean;
66
- mentionProvider?: Promise<MentionProvider>;
67
- emojiProvider?: Promise<EmojiProvider>;
68
- activityProvider?: Promise<ActivityProvider> | MockActivityResource;
69
- onChange: (view: EditorView) => void;
70
- }) => React.ReactChild;
67
+ renderEditor: (props: {
68
+ disabled: boolean;
69
+ mentionProvider?: Promise<MentionProvider>;
70
+ emojiProvider?: Promise<EmojiProvider>;
71
+ activityProvider?: Promise<ActivityProvider> | MockActivityResource;
72
+ onChange: (view: EditorView) => void;
73
+ }) => React.ReactChild;
71
74
  };
72
75
 
73
76
  export default function ToolsDrawer({ renderEditor }: Props) {
74
- const [
75
- {
76
- mentionProvider,
77
- emojiProvider,
78
- activityProvider,
79
- document,
80
- reloadEditor,
81
- editorEnabled,
82
- },
83
- setState,
84
- ] = useState<State>({
85
- reloadEditor: false,
86
- editorEnabled: true,
87
- mentionProvider: 'resolved',
88
- emojiProvider: 'resolved',
89
- activityProvider: 'resolved',
90
- document: '',
91
- });
77
+ const [
78
+ { mentionProvider, emojiProvider, activityProvider, document, reloadEditor, editorEnabled },
79
+ setState,
80
+ ] = useState<State>({
81
+ reloadEditor: false,
82
+ editorEnabled: true,
83
+ mentionProvider: 'resolved',
84
+ emojiProvider: 'resolved',
85
+ activityProvider: 'resolved',
86
+ document: '',
87
+ });
92
88
 
93
- const handleChange = (editorView: EditorView) => {
94
- const { doc } = editorView.state;
95
- const document = new SlackTransformer().encode(doc);
89
+ const handleChange = (editorView: EditorView) => {
90
+ const { doc } = editorView.state;
91
+ const document = new SlackTransformer().encode(doc);
96
92
 
97
- setState((prevState) => ({
98
- ...prevState,
99
- document,
100
- }));
101
- };
93
+ setState((prevState) => ({
94
+ ...prevState,
95
+ document,
96
+ }));
97
+ };
102
98
 
103
- return (
104
- <div css={content}>
105
- <div style={{ padding: `${token('space.075', '6px')} 0` }}>
106
- ️️️Slack Editor
107
- </div>
108
- {reloadEditor
109
- ? ''
110
- : renderEditor({
111
- disabled: !editorEnabled,
112
- mentionProvider: providers.mentionProvider[mentionProvider],
113
- emojiProvider: providers.emojiProvider[emojiProvider],
114
- activityProvider: providers.activityProvider[activityProvider],
115
- onChange: handleChange,
116
- })}
117
- <legend>Markdown output:</legend>
118
- <pre>{document}</pre>
119
- </div>
120
- );
99
+ return (
100
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/design-system/consistent-css-prop-usage -- Ignored via go/DSP-18766
101
+ <div css={content}>
102
+ <div style={{ padding: `${token('space.075', '6px')} 0` }}>️️️Slack Editor</div>
103
+ {reloadEditor
104
+ ? ''
105
+ : renderEditor({
106
+ disabled: !editorEnabled,
107
+ mentionProvider: providers.mentionProvider[mentionProvider],
108
+ emojiProvider: providers.emojiProvider[emojiProvider],
109
+ activityProvider: providers.activityProvider[activityProvider],
110
+ onChange: handleChange,
111
+ })}
112
+ <legend>Markdown output:</legend>
113
+ <pre>{document}</pre>
114
+ </div>
115
+ );
121
116
  }
@@ -1,25 +1,32 @@
1
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
1
2
  import { css } from '@emotion/react';
2
3
  import { token } from '@atlaskit/tokens';
3
4
  import { N800 } from '@atlaskit/theme/colors';
4
5
 
6
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
5
7
  export const content = css({
6
- '& div.toolsDrawer': {
7
- padding: `${token('space.100', '8px')} ${token('space.200', '16px')}`,
8
- background: token('color.background.neutral.bold', N800),
9
- '& label': {
10
- display: 'flex',
11
- color: token('color.text.inverse', 'white'),
12
- alignSelf: 'center',
13
- paddingRight: token('space.100', '8px'),
14
- },
15
- '& button': {
16
- margin: `${token('space.050', '4px')} 0`,
17
- },
18
- },
19
- '& legend': {
20
- margin: `${token('space.100', '8px')} 0`,
21
- },
22
- '& input': {
23
- fontSize: '13px',
24
- },
8
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
9
+ '& div.toolsDrawer': {
10
+ padding: `${token('space.100', '8px')} ${token('space.200', '16px')}`,
11
+ background: token('color.background.neutral.bold', N800),
12
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
13
+ '& label': {
14
+ display: 'flex',
15
+ color: token('color.text.inverse', 'white'),
16
+ alignSelf: 'center',
17
+ paddingRight: token('space.100', '8px'),
18
+ },
19
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
20
+ '& button': {
21
+ margin: `${token('space.050', '4px')} 0`,
22
+ },
23
+ },
24
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
25
+ '& legend': {
26
+ margin: `${token('space.100', '8px')} 0`,
27
+ },
28
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
29
+ '& input': {
30
+ fontSize: '13px',
31
+ },
25
32
  });
package/package.json CHANGED
@@ -1,57 +1,55 @@
1
1
  {
2
- "name": "@atlaskit/editor-slack-transformer",
3
- "version": "3.5.0",
4
- "description": "Editor Slack transformer",
5
- "publishConfig": {
6
- "registry": "https://registry.npmjs.org/"
7
- },
8
- "repository": "https://bitbucket.org/atlassian/atlassian-frontend-mirror",
9
- "author": "Atlassian Pty Ltd",
10
- "license": "Apache-2.0",
11
- "main": "dist/cjs/index.js",
12
- "module": "dist/esm/index.js",
13
- "module:es2019": "dist/es2019/index.js",
14
- "types": "dist/types/index.d.ts",
15
- "typesVersions": {
16
- ">=4.5 <4.9": {
17
- "*": [
18
- "dist/types-ts4.5/*",
19
- "dist/types-ts4.5/index.d.ts"
20
- ]
21
- }
22
- },
23
- "sideEffects": false,
24
- "atlaskit:src": "src/index.ts",
25
- "atlassian": {
26
- "team": "Editor: ADF",
27
- "inPublicMirror": true,
28
- "releaseModel": "continuous",
29
- "website": {
30
- "name": "Editor Slack Transformer"
31
- },
32
- "runReact18": false
33
- },
34
- "dependencies": {
35
- "@atlaskit/editor-prosemirror": "4.0.1",
36
- "@babel/runtime": "^7.0.0"
37
- },
38
- "peerDependencies": {
39
- "react": "^16.8.0"
40
- },
41
- "devDependencies": {
42
- "@atlaskit/activity": "^1.0.1",
43
- "@atlaskit/editor-core": "^193.14.0",
44
- "@atlaskit/editor-test-helpers": "^18.22.0",
45
- "@atlaskit/emoji": "^67.6.0",
46
- "@atlaskit/theme": "^12.7.0",
47
- "@atlaskit/tokens": "^1.45.0",
48
- "@atlaskit/util-data-test": "^17.9.0",
49
- "@atlassian/atlassian-frontend-prettier-config-1.0.1": "npm:@atlassian/atlassian-frontend-prettier-config@1.0.1",
50
- "@emotion/react": "^11.7.1",
51
- "typescript": "~5.4.2"
52
- },
53
- "prettier": "@atlassian/atlassian-frontend-prettier-config-1.0.1",
54
- "af:exports": {
55
- ".": "./src/index.ts"
56
- }
57
- }
2
+ "name": "@atlaskit/editor-slack-transformer",
3
+ "version": "3.7.0",
4
+ "description": "Editor Slack transformer",
5
+ "publishConfig": {
6
+ "registry": "https://registry.npmjs.org/"
7
+ },
8
+ "repository": "https://bitbucket.org/atlassian/atlassian-frontend-mirror",
9
+ "author": "Atlassian Pty Ltd",
10
+ "license": "Apache-2.0",
11
+ "main": "dist/cjs/index.js",
12
+ "module": "dist/esm/index.js",
13
+ "module:es2019": "dist/es2019/index.js",
14
+ "types": "dist/types/index.d.ts",
15
+ "typesVersions": {
16
+ ">=4.5 <4.9": {
17
+ "*": [
18
+ "dist/types-ts4.5/*",
19
+ "dist/types-ts4.5/index.d.ts"
20
+ ]
21
+ }
22
+ },
23
+ "sideEffects": false,
24
+ "atlaskit:src": "src/index.ts",
25
+ "atlassian": {
26
+ "team": "Editor: ADF",
27
+ "inPublicMirror": true,
28
+ "releaseModel": "continuous",
29
+ "website": {
30
+ "name": "Editor Slack Transformer"
31
+ },
32
+ "runReact18": false
33
+ },
34
+ "dependencies": {
35
+ "@atlaskit/editor-prosemirror": "5.0.1",
36
+ "@babel/runtime": "^7.0.0"
37
+ },
38
+ "peerDependencies": {
39
+ "react": "^16.8.0"
40
+ },
41
+ "devDependencies": {
42
+ "@atlaskit/activity": "^1.0.1",
43
+ "@atlaskit/editor-core": "^195.4.0",
44
+ "@atlaskit/editor-test-helpers": "^18.30.0",
45
+ "@atlaskit/emoji": "^67.7.0",
46
+ "@atlaskit/theme": "^13.0.0",
47
+ "@atlaskit/tokens": "^1.58.0",
48
+ "@atlaskit/util-data-test": "^17.9.0",
49
+ "@emotion/react": "^11.7.1",
50
+ "typescript": "~5.4.2"
51
+ },
52
+ "af:exports": {
53
+ ".": "./src/index.ts"
54
+ }
55
+ }
package/report.api.md CHANGED
@@ -2,7 +2,8 @@
2
2
 
3
3
  ## API Report File for "@atlaskit/editor-slack-transformer"
4
4
 
5
- > Do not edit this file. This report is auto-generated using [API Extractor](https://api-extractor.com/).
5
+ > Do not edit this file. This report is auto-generated using
6
+ > [API Extractor](https://api-extractor.com/).
6
7
  > [Learn more about API reports](https://hello.atlassian.net/wiki/spaces/UR/pages/1825484529/Package+API+Reports)
7
8
 
8
9
  ### Table of contents
@@ -19,18 +20,18 @@ import { Node as Node_2 } from '@atlaskit/editor-prosemirror/model';
19
20
 
20
21
  // @public (undocumented)
21
22
  export class SlackTransformer implements Transformer_2<string> {
22
- // (undocumented)
23
- encode(node: Node_2): string;
24
- // (undocumented)
25
- parse(_slackMarkdown: string): Node_2;
23
+ // (undocumented)
24
+ encode(node: Node_2): string;
25
+ // (undocumented)
26
+ parse(_slackMarkdown: string): Node_2;
26
27
  }
27
28
 
28
29
  // @public (undocumented)
29
30
  interface Transformer_2<T> {
30
- // (undocumented)
31
- encode(node: Node_2): T;
32
- // (undocumented)
33
- parse(content: T): Node_2;
31
+ // (undocumented)
32
+ encode(node: Node_2): T;
33
+ // (undocumented)
34
+ parse(content: T): Node_2;
34
35
  }
35
36
 
36
37
  // (No @packageDocumentation comment for this package)
@@ -44,7 +45,7 @@ interface Transformer_2<T> {
44
45
 
45
46
  ```json
46
47
  {
47
- "react": "^16.8.0"
48
+ "react": "^16.8.0"
48
49
  }
49
50
  ```
50
51