@atlaskit/code 15.1.2 → 15.2.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 +655 -393
- package/package.json +10 -8
package/CHANGELOG.md
CHANGED
|
@@ -1,684 +1,873 @@
|
|
|
1
1
|
# @atlaskit/code
|
|
2
2
|
|
|
3
|
+
## 15.2.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#98206](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/98206)
|
|
8
|
+
[`71a555d49484`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/71a555d49484) -
|
|
9
|
+
Add support for React 18.
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- Updated dependencies
|
|
14
|
+
|
|
3
15
|
## 15.1.2
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
|
6
18
|
|
|
7
|
-
-
|
|
19
|
+
- [#83188](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/83188)
|
|
20
|
+
[`cd5d06cd3329`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/cd5d06cd3329) -
|
|
21
|
+
Minor adjustments to improve compatibility with React 18
|
|
8
22
|
|
|
9
23
|
## 15.1.1
|
|
10
24
|
|
|
11
25
|
### Patch Changes
|
|
12
26
|
|
|
13
|
-
-
|
|
27
|
+
- [#83116](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/83116)
|
|
28
|
+
[`8d4e99057fe0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8d4e99057fe0) -
|
|
29
|
+
Upgrade Typescript from `4.9.5` to `5.4.2`
|
|
14
30
|
|
|
15
31
|
## 15.1.0
|
|
16
32
|
|
|
17
33
|
### Minor Changes
|
|
18
34
|
|
|
19
|
-
-
|
|
35
|
+
- [#42903](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/42903)
|
|
36
|
+
[`96e3a0ee5b7`](https://bitbucket.org/atlassian/atlassian-frontend/commits/96e3a0ee5b7) - [ux]
|
|
37
|
+
Add support for Dockerfile, HCL, NGINX and Protobuf languages
|
|
20
38
|
|
|
21
39
|
## 15.0.0
|
|
22
40
|
|
|
23
41
|
### Major Changes
|
|
24
42
|
|
|
25
|
-
-
|
|
43
|
+
- [#41498](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/41498)
|
|
44
|
+
[`73adf14896c`](https://bitbucket.org/atlassian/atlassian-frontend/commits/73adf14896c) - Remove
|
|
45
|
+
usage of legacy theming from the Code component and refactor where necessary to accomodate the
|
|
46
|
+
updated API.
|
|
26
47
|
|
|
27
48
|
## 14.6.9
|
|
28
49
|
|
|
29
50
|
### Patch Changes
|
|
30
51
|
|
|
31
|
-
-
|
|
52
|
+
- Updated dependencies
|
|
32
53
|
|
|
33
54
|
## 14.6.8
|
|
34
55
|
|
|
35
56
|
### Patch Changes
|
|
36
57
|
|
|
37
|
-
-
|
|
58
|
+
- [#40914](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/40914)
|
|
59
|
+
[`ffa68309c76`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ffa68309c76) - update
|
|
60
|
+
children variable to have type definition
|
|
38
61
|
|
|
39
62
|
## 14.6.7
|
|
40
63
|
|
|
41
64
|
### Patch Changes
|
|
42
65
|
|
|
43
|
-
-
|
|
44
|
-
-
|
|
66
|
+
- [#38162](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/38162)
|
|
67
|
+
[`fd6bb9c9184`](https://bitbucket.org/atlassian/atlassian-frontend/commits/fd6bb9c9184) - Delete
|
|
68
|
+
version.json
|
|
69
|
+
- Updated dependencies
|
|
45
70
|
|
|
46
71
|
## 14.6.6
|
|
47
72
|
|
|
48
73
|
### Patch Changes
|
|
49
74
|
|
|
50
|
-
-
|
|
75
|
+
- [#36754](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/36754)
|
|
76
|
+
[`4ae083a7e66`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4ae083a7e66) - Use
|
|
77
|
+
`@af/accessibility-testing` for default jest-axe config and jest-axe import in accessibility
|
|
78
|
+
testing.
|
|
51
79
|
|
|
52
80
|
## 14.6.5
|
|
53
81
|
|
|
54
82
|
### Patch Changes
|
|
55
83
|
|
|
56
|
-
-
|
|
84
|
+
- [#34360](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/34360)
|
|
85
|
+
[`59b808d6a46`](https://bitbucket.org/atlassian/atlassian-frontend/commits/59b808d6a46) - [ux]
|
|
86
|
+
Improves the accessibility of the bidirectional character warnings.
|
|
57
87
|
|
|
58
88
|
## 14.6.4
|
|
59
89
|
|
|
60
90
|
### Patch Changes
|
|
61
91
|
|
|
62
|
-
-
|
|
92
|
+
- [#33652](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33652)
|
|
93
|
+
[`e7ea6832ad2`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e7ea6832ad2) - Bans
|
|
94
|
+
the use of React.FC/React.FunctionComponent type in ADS components as part of the React 18
|
|
95
|
+
migration work. The change is internal only and should not introduce any changes for the
|
|
96
|
+
component consumers.
|
|
63
97
|
|
|
64
98
|
## 14.6.3
|
|
65
99
|
|
|
66
100
|
### Patch Changes
|
|
67
101
|
|
|
68
|
-
-
|
|
102
|
+
- [#34051](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/34051)
|
|
103
|
+
[`49b08bfdf5f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/49b08bfdf5f) -
|
|
104
|
+
Migrated use of `gridSize` to space tokens where possible. There is no expected visual or
|
|
105
|
+
behaviour change.
|
|
69
106
|
|
|
70
107
|
## 14.6.2
|
|
71
108
|
|
|
72
109
|
### Patch Changes
|
|
73
110
|
|
|
74
|
-
-
|
|
111
|
+
- [#33793](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33793)
|
|
112
|
+
[`9d00501a414`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9d00501a414) - Ensure
|
|
113
|
+
legacy types are published for TS 4.5-4.8
|
|
75
114
|
|
|
76
115
|
## 14.6.1
|
|
77
116
|
|
|
78
117
|
### Patch Changes
|
|
79
118
|
|
|
80
|
-
-
|
|
119
|
+
- [#33649](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33649)
|
|
120
|
+
[`41fae2c6f68`](https://bitbucket.org/atlassian/atlassian-frontend/commits/41fae2c6f68) -
|
|
121
|
+
Upgrade Typescript from `4.5.5` to `4.9.5`
|
|
81
122
|
|
|
82
123
|
## 14.6.0
|
|
83
124
|
|
|
84
125
|
### Minor Changes
|
|
85
126
|
|
|
86
|
-
-
|
|
127
|
+
- [#33258](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33258)
|
|
128
|
+
[`56507598609`](https://bitbucket.org/atlassian/atlassian-frontend/commits/56507598609) - Skip
|
|
129
|
+
minor dependency bump
|
|
87
130
|
|
|
88
131
|
### Patch Changes
|
|
89
132
|
|
|
90
|
-
-
|
|
133
|
+
- Updated dependencies
|
|
91
134
|
|
|
92
135
|
## 14.5.4
|
|
93
136
|
|
|
94
137
|
### Patch Changes
|
|
95
138
|
|
|
96
|
-
-
|
|
139
|
+
- [#32424](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/32424)
|
|
140
|
+
[`2e01c9c74b5`](https://bitbucket.org/atlassian/atlassian-frontend/commits/2e01c9c74b5) - DUMMY
|
|
141
|
+
remove before merging to master; dupe adf-schema via adf-utils
|
|
97
142
|
|
|
98
143
|
## 14.5.3
|
|
99
144
|
|
|
100
145
|
### Patch Changes
|
|
101
146
|
|
|
102
|
-
-
|
|
147
|
+
- [#31638](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/31638)
|
|
148
|
+
[`74750bef5c4`](https://bitbucket.org/atlassian/atlassian-frontend/commits/74750bef5c4) - Fixes
|
|
149
|
+
some bugs with the long line wrapping and syntax-highlighting changes that were released in
|
|
150
|
+
v14.5.0.
|
|
103
151
|
|
|
104
152
|
## 14.5.2
|
|
105
153
|
|
|
106
154
|
### Patch Changes
|
|
107
155
|
|
|
108
|
-
-
|
|
156
|
+
- [#31378](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/31378)
|
|
157
|
+
[`3ca97be0c06`](https://bitbucket.org/atlassian/atlassian-frontend/commits/3ca97be0c06) -
|
|
158
|
+
Internal change only. Replace usages of Inline/Stack with stable version from
|
|
159
|
+
`@atlaskit/primitives`.
|
|
109
160
|
|
|
110
161
|
## 14.5.1
|
|
111
162
|
|
|
112
163
|
### Patch Changes
|
|
113
164
|
|
|
114
|
-
-
|
|
115
|
-
-
|
|
165
|
+
- [#31206](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/31206)
|
|
166
|
+
[`261420360ec`](https://bitbucket.org/atlassian/atlassian-frontend/commits/261420360ec) -
|
|
167
|
+
Upgrades component types to support React 18.
|
|
168
|
+
- Updated dependencies
|
|
116
169
|
|
|
117
170
|
## 14.5.0
|
|
118
171
|
|
|
119
172
|
### Minor Changes
|
|
120
173
|
|
|
121
|
-
-
|
|
174
|
+
- [#30248](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/30248)
|
|
175
|
+
[`f5ca132a05e`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f5ca132a05e) - [ux]
|
|
176
|
+
CodeBlock has had some significant under-the-hood changes in this version. While technically it
|
|
177
|
+
is a minor update as all API changes are additive and backwards-compatible, this is a heads up
|
|
178
|
+
that there are some small visual changes that may require visual regression snapshots to be
|
|
179
|
+
updated.
|
|
122
180
|
|
|
123
|
-
|
|
181
|
+
- Adds a new `shouldWrapLongLines` prop that allows you to wrap long lines of code over
|
|
182
|
+
multiple lines, instead of always forcing the container to scroll horizontally.
|
|
124
183
|
|
|
125
|
-
|
|
184
|
+
- Fixes a frustrating bug where copying code from `CodeBlock` would also copy line numbers —
|
|
185
|
+
this no longer occurs!
|
|
126
186
|
|
|
127
|
-
|
|
187
|
+
- Replaces the dependency of `react-syntax-highlighter` with our own implementation that is
|
|
188
|
+
more maintainable and performant. This also lead to a bump in an underlying dependency
|
|
189
|
+
`prismjs` which added new syntax highlighting features for some languages. This may cause
|
|
190
|
+
some blocks of code to look slightly different, potentially impacting VR tests — some
|
|
191
|
+
changes are expected! Reach out to #help-design-system if you have any questions.
|
|
128
192
|
|
|
129
|
-
|
|
193
|
+
- Improves the presentation and security of `CodeBlock`'s with bidirectional characters to
|
|
194
|
+
present the source code exactly how it was written. The bidirectional characters themselves
|
|
195
|
+
are still highlighted in the same way as before with a warning and a tooltip. This may also
|
|
196
|
+
impact VR tests, but is expected.
|
|
130
197
|
|
|
131
198
|
### Patch Changes
|
|
132
199
|
|
|
133
|
-
-
|
|
200
|
+
- Updated dependencies
|
|
134
201
|
|
|
135
202
|
## 14.4.8
|
|
136
203
|
|
|
137
204
|
### Patch Changes
|
|
138
205
|
|
|
139
|
-
-
|
|
206
|
+
- Updated dependencies
|
|
140
207
|
|
|
141
208
|
## 14.4.7
|
|
142
209
|
|
|
143
210
|
### Patch Changes
|
|
144
211
|
|
|
145
|
-
-
|
|
212
|
+
- [#29390](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/29390)
|
|
213
|
+
[`18aeca8c199`](https://bitbucket.org/atlassian/atlassian-frontend/commits/18aeca8c199) -
|
|
214
|
+
Internal change to update token references. There is no expected behaviour or visual change.
|
|
146
215
|
|
|
147
216
|
## 14.4.6
|
|
148
217
|
|
|
149
218
|
### Patch Changes
|
|
150
219
|
|
|
151
|
-
-
|
|
220
|
+
- [#28064](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/28064)
|
|
221
|
+
[`b0f6dd0bc35`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b0f6dd0bc35) -
|
|
222
|
+
Updated to use typography tokens. There is no expected behaviour or visual change.
|
|
152
223
|
|
|
153
224
|
## 14.4.5
|
|
154
225
|
|
|
155
226
|
### Patch Changes
|
|
156
227
|
|
|
157
|
-
-
|
|
228
|
+
- Updated dependencies
|
|
158
229
|
|
|
159
230
|
## 14.4.4
|
|
160
231
|
|
|
161
232
|
### Patch Changes
|
|
162
233
|
|
|
163
|
-
-
|
|
234
|
+
- Updated dependencies
|
|
164
235
|
|
|
165
236
|
## 14.4.3
|
|
166
237
|
|
|
167
238
|
### Patch Changes
|
|
168
239
|
|
|
169
|
-
-
|
|
240
|
+
- [#26712](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/26712)
|
|
241
|
+
[`f1765efdca6`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f1765efdca6) - [ux]
|
|
242
|
+
Fix bug that caused misalignment of Code Block content which contain a mixture of spaces and
|
|
243
|
+
tabs
|
|
170
244
|
|
|
171
245
|
## 14.4.2
|
|
172
246
|
|
|
173
247
|
### Patch Changes
|
|
174
248
|
|
|
175
|
-
-
|
|
249
|
+
- Updated dependencies
|
|
176
250
|
|
|
177
251
|
## 14.4.1
|
|
178
252
|
|
|
179
253
|
### Patch Changes
|
|
180
254
|
|
|
181
|
-
-
|
|
255
|
+
- [#26488](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/26488)
|
|
256
|
+
[`bc989043572`](https://bitbucket.org/atlassian/atlassian-frontend/commits/bc989043572) -
|
|
257
|
+
Internal changes to apply spacing tokens. This should be a no-op change.
|
|
182
258
|
|
|
183
259
|
## 14.4.0
|
|
184
260
|
|
|
185
261
|
### Minor Changes
|
|
186
262
|
|
|
187
|
-
-
|
|
263
|
+
- [#24710](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24710)
|
|
264
|
+
[`d6bf753bb43`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d6bf753bb43) -
|
|
265
|
+
Updates `@emotion/core` to `@emotion/react`; v10 to v11. There is no expected behavior change.
|
|
188
266
|
|
|
189
267
|
### Patch Changes
|
|
190
268
|
|
|
191
|
-
-
|
|
269
|
+
- Updated dependencies
|
|
192
270
|
|
|
193
271
|
## 14.3.10
|
|
194
272
|
|
|
195
273
|
### Patch Changes
|
|
196
274
|
|
|
197
|
-
-
|
|
275
|
+
- [#24874](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24874)
|
|
276
|
+
[`8cc2f888c83`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8cc2f888c83) -
|
|
277
|
+
Upgrade Typescript from `4.3.5` to `4.5.5`
|
|
198
278
|
|
|
199
279
|
## 14.3.9
|
|
200
280
|
|
|
201
281
|
### Patch Changes
|
|
202
282
|
|
|
203
|
-
-
|
|
283
|
+
- [#24492](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24492)
|
|
284
|
+
[`8d4228767b0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8d4228767b0) -
|
|
285
|
+
Upgrade Typescript from `4.2.4` to `4.3.5`.
|
|
204
286
|
|
|
205
287
|
## 14.3.8
|
|
206
288
|
|
|
207
289
|
### Patch Changes
|
|
208
290
|
|
|
209
|
-
-
|
|
291
|
+
- [#23381](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/23381)
|
|
292
|
+
[`8202e37941b`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8202e37941b) -
|
|
293
|
+
Internal code change turning on new linting rules.
|
|
210
294
|
|
|
211
295
|
## 14.3.7
|
|
212
296
|
|
|
213
297
|
### Patch Changes
|
|
214
298
|
|
|
215
|
-
-
|
|
299
|
+
- Updated dependencies
|
|
216
300
|
|
|
217
301
|
## 14.3.6
|
|
218
302
|
|
|
219
303
|
### Patch Changes
|
|
220
304
|
|
|
221
|
-
-
|
|
305
|
+
- [#20650](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/20650)
|
|
306
|
+
[`cb2392f6d33`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cb2392f6d33) -
|
|
307
|
+
Upgrade to TypeScript 4.2.4
|
|
222
308
|
|
|
223
309
|
## 14.3.5
|
|
224
310
|
|
|
225
311
|
### Patch Changes
|
|
226
312
|
|
|
227
|
-
-
|
|
228
|
-
-
|
|
313
|
+
- [#20033](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/20033)
|
|
314
|
+
[`46824ff1acd`](https://bitbucket.org/atlassian/atlassian-frontend/commits/46824ff1acd) - [ux]
|
|
315
|
+
`<CodeBlock />`s with no content no longer vertically collapse, and maintain their intended
|
|
316
|
+
minimum height
|
|
317
|
+
- Updated dependencies
|
|
229
318
|
|
|
230
319
|
## 14.3.4
|
|
231
320
|
|
|
232
321
|
### Patch Changes
|
|
233
322
|
|
|
234
|
-
-
|
|
323
|
+
- Updated dependencies
|
|
235
324
|
|
|
236
325
|
## 14.3.3
|
|
237
326
|
|
|
238
327
|
### Patch Changes
|
|
239
328
|
|
|
240
|
-
-
|
|
329
|
+
- [#19019](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/19019)
|
|
330
|
+
[`a1a89347baa`](https://bitbucket.org/atlassian/atlassian-frontend/commits/a1a89347baa) - [ux]
|
|
331
|
+
Instrumented `@atlaskit/code` with the new theming package, `@atlaskit/tokens`.
|
|
241
332
|
|
|
242
|
-
|
|
243
|
-
|
|
333
|
+
New tokens will be visible only in applications configured to use the new Tokens API (currently
|
|
334
|
+
in alpha). These changes are intended to be interoperable with the legacy theme implementation.
|
|
335
|
+
Legacy dark mode users should expect no visual or breaking changes.
|
|
244
336
|
|
|
245
|
-
-
|
|
337
|
+
- Updated dependencies
|
|
246
338
|
|
|
247
339
|
## 14.3.2
|
|
248
340
|
|
|
249
341
|
### Patch Changes
|
|
250
342
|
|
|
251
|
-
-
|
|
343
|
+
- [#18356](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/18356)
|
|
344
|
+
[`b5226ba2c15`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b5226ba2c15) -
|
|
345
|
+
Replace `bolt` with `yarn` for rendered example changeset commands
|
|
252
346
|
|
|
253
347
|
## 14.3.1
|
|
254
348
|
|
|
255
349
|
### Patch Changes
|
|
256
350
|
|
|
257
|
-
-
|
|
351
|
+
- [#16531](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/16531)
|
|
352
|
+
[`7a34eeea327`](https://bitbucket.org/atlassian/atlassian-frontend/commits/7a34eeea327) - Bump
|
|
353
|
+
prismjs due to vulnerability
|
|
258
354
|
|
|
259
355
|
## 14.3.0
|
|
260
356
|
|
|
261
357
|
### Minor Changes
|
|
262
358
|
|
|
263
|
-
-
|
|
359
|
+
- [#16168](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/16168)
|
|
360
|
+
[`db3477abb18`](https://bitbucket.org/atlassian/atlassian-frontend/commits/db3477abb18) - [ux]
|
|
361
|
+
ED-13938 disabled code-bidi warning tooltip for mobile, reworked TextWrapper to fix bidi
|
|
362
|
+
mitigation, and fixed issue where bidi warnings were not presented when renderer used with an
|
|
363
|
+
annotation provider with draftMode set to true
|
|
264
364
|
|
|
265
365
|
## 14.2.0
|
|
266
366
|
|
|
267
367
|
### Minor Changes
|
|
268
368
|
|
|
269
|
-
-
|
|
369
|
+
- [#16006](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/16006)
|
|
370
|
+
[`c80c71b537d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c80c71b537d) - [ux]
|
|
371
|
+
ED-13860 add bidi warning decorations to code components
|
|
270
372
|
|
|
271
373
|
## 14.1.5
|
|
272
374
|
|
|
273
375
|
### Patch Changes
|
|
274
376
|
|
|
275
|
-
-
|
|
377
|
+
- [#15694](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/15694)
|
|
378
|
+
[`b85e7ce12cd`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b85e7ce12cd) -
|
|
379
|
+
Internal upgrade of memoize-one to 6.0.0
|
|
276
380
|
|
|
277
381
|
## 14.1.4
|
|
278
382
|
|
|
279
383
|
### Patch Changes
|
|
280
384
|
|
|
281
|
-
-
|
|
385
|
+
- Updated dependencies
|
|
282
386
|
|
|
283
387
|
## 14.1.3
|
|
284
388
|
|
|
285
389
|
### Patch Changes
|
|
286
390
|
|
|
287
|
-
-
|
|
391
|
+
- [#12880](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/12880)
|
|
392
|
+
[`378d1cef00f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/378d1cef00f) - Bump
|
|
393
|
+
`@atlaskit/theme` to version `^11.3.0`.
|
|
288
394
|
|
|
289
395
|
## 14.1.2
|
|
290
396
|
|
|
291
397
|
### Patch Changes
|
|
292
398
|
|
|
293
|
-
-
|
|
399
|
+
- [#12810](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/12810)
|
|
400
|
+
[`d827fec15b2`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d827fec15b2) - Fixes
|
|
401
|
+
a regression in ^14.0.0 that meant the function `getCodeStyles` didn't work correctly with
|
|
402
|
+
interpolations using the `styled-components` theming.
|
|
294
403
|
|
|
295
404
|
## 14.1.1
|
|
296
405
|
|
|
297
406
|
### Patch Changes
|
|
298
407
|
|
|
299
|
-
-
|
|
408
|
+
- [#12168](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/12168)
|
|
409
|
+
[`cd488f9d370`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cd488f9d370) - Bumps
|
|
410
|
+
prismjs to address a security vulnerability in the underlying lib.
|
|
300
411
|
|
|
301
412
|
## 14.1.0
|
|
302
413
|
|
|
303
414
|
### Minor Changes
|
|
304
415
|
|
|
305
|
-
-
|
|
306
|
-
|
|
416
|
+
- [#11113](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/11113)
|
|
417
|
+
[`aef12f51c46`](https://bitbucket.org/atlassian/atlassian-frontend/commits/aef12f51c46) - Add an
|
|
418
|
+
entry point for constants to expose SUPPORTED_LANGUAGES and export the type of
|
|
419
|
+
SUPPORTED_LANGUAGES. Splunk SPl has also been added as a supported language.
|
|
307
420
|
|
|
308
421
|
## 14.0.1
|
|
309
422
|
|
|
310
423
|
### Patch Changes
|
|
311
424
|
|
|
312
|
-
-
|
|
313
|
-
-
|
|
425
|
+
- [#10569](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/10569)
|
|
426
|
+
[`596f1eb2fca`](https://bitbucket.org/atlassian/atlassian-frontend/commits/596f1eb2fca) - [ux]
|
|
427
|
+
Line height property remvoved from inline code. This was a bug as the line height was being
|
|
428
|
+
under calculated relative to the code's font size. It now inherits correctly.
|
|
429
|
+
- Updated dependencies
|
|
314
430
|
|
|
315
431
|
## 14.0.0
|
|
316
432
|
|
|
317
433
|
### Major Changes
|
|
318
434
|
|
|
319
|
-
-
|
|
435
|
+
- [#10230](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/10230)
|
|
436
|
+
[`e8f66c36dd7`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e8f66c36dd7) -
|
|
437
|
+
**BREAKING CHANGES**
|
|
320
438
|
|
|
321
|
-
|
|
439
|
+
This version includes several breaking changes to improve performance of the `@atlaskit/code`
|
|
440
|
+
package.
|
|
322
441
|
|
|
323
|
-
|
|
442
|
+
`<Code />` no longer supports syntax highlighting, greatly simplifying the component.
|
|
443
|
+
Additionally, the `text` prop has been removed in favour of using `children` directly. This
|
|
444
|
+
allows users to provide complex nodes (not just plain text) to Code.
|
|
324
445
|
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
446
|
+
```jsx
|
|
447
|
+
// previous
|
|
448
|
+
<Code text="const x = 10;" language="js" />
|
|
449
|
+
// now with language no longer supported
|
|
450
|
+
<Code>const x = 10;</Code>
|
|
451
|
+
```
|
|
331
452
|
|
|
332
|
-
|
|
453
|
+
Component theming is no longer supported in `<Code />` or `<CodeBlock />`; this change does not
|
|
454
|
+
effect global theming. As an escape hatch, two CSS variables are exposed:
|
|
333
455
|
|
|
334
|
-
|
|
335
|
-
|
|
456
|
+
- `--ds--code--line-number-bg-color`: which controls the background color of the line numbers
|
|
457
|
+
if set
|
|
458
|
+
- `--ds--code--bg-color`: which controls the background color of the block body if set
|
|
336
459
|
|
|
337
|
-
|
|
460
|
+
Components can now be imported individually using individual entrypoints. Using these
|
|
461
|
+
entrypoints will reduce the overall bundle size of this package if you do not need both
|
|
462
|
+
components.
|
|
338
463
|
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
464
|
+
```js
|
|
465
|
+
import { Code } from '@atlaskit/code';
|
|
466
|
+
// --> to
|
|
467
|
+
import Code from '@atlaskit/code/inline';
|
|
343
468
|
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
469
|
+
import { CodeBlock } from '@atlaskit/code';
|
|
470
|
+
// --> to
|
|
471
|
+
import CodeBlock from '@atlaskit/code/block';
|
|
347
472
|
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
473
|
+
// note this will still work
|
|
474
|
+
import { Code, CodeBlock } from '@atlaskit/code';
|
|
475
|
+
```
|
|
351
476
|
|
|
352
|
-
|
|
477
|
+
Finally, `CodeBlock` has had type improvements, and internal optimisations to facilitate faster
|
|
478
|
+
rendering and updates.
|
|
353
479
|
|
|
354
|
-
-
|
|
480
|
+
- [`7e091c1d415`](https://bitbucket.org/atlassian/atlassian-frontend/commits/7e091c1d415) -
|
|
481
|
+
BREAKING CHANGE:
|
|
355
482
|
|
|
356
|
-
|
|
483
|
+
The `codeStyle` prop has now been removed on the `Code` component.
|
|
357
484
|
|
|
358
|
-
|
|
485
|
+
For reference, previously this type of usage would effect the styling of any numbers in the code
|
|
486
|
+
text.
|
|
359
487
|
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
488
|
+
```js
|
|
489
|
+
<Code codeStyle={{ number: 'red' }} text={someCode} />
|
|
490
|
+
```
|
|
363
491
|
|
|
364
|
-
|
|
492
|
+
Due to internal changes the above usage is no longer possible.
|
|
365
493
|
|
|
366
|
-
|
|
494
|
+
This release also includes internal changes to the syntax highlighting element to use class
|
|
495
|
+
names instead of inline styles for syntax highlighting. This results in a substantial
|
|
496
|
+
performance gain.
|
|
367
497
|
|
|
368
498
|
### Minor Changes
|
|
369
499
|
|
|
370
|
-
-
|
|
500
|
+
- [`07e012bfc5b`](https://bitbucket.org/atlassian/atlassian-frontend/commits/07e012bfc5b) -
|
|
501
|
+
Updates to internal package structure, exposing additional entrypoints. Types also tightened for
|
|
502
|
+
language support to better match underlying component.
|
|
371
503
|
|
|
372
504
|
### Patch Changes
|
|
373
505
|
|
|
374
|
-
-
|
|
375
|
-
|
|
506
|
+
- [`b46ca884bc8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b46ca884bc8) - Add a
|
|
507
|
+
codemod to remove usages of the `language` prop and convert the `text` prop to be a child.
|
|
508
|
+
- Updated dependencies
|
|
376
509
|
|
|
377
510
|
## 13.2.3
|
|
378
511
|
|
|
379
512
|
### Patch Changes
|
|
380
513
|
|
|
381
|
-
-
|
|
382
|
-
-
|
|
514
|
+
- [#9756](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/9756)
|
|
515
|
+
[`900819ca759`](https://bitbucket.org/atlassian/atlassian-frontend/commits/900819ca759) - Update
|
|
516
|
+
to VR test suite, to make diffs easier to reason about.
|
|
517
|
+
- Updated dependencies
|
|
383
518
|
|
|
384
519
|
## 13.2.2
|
|
385
520
|
|
|
386
521
|
### Patch Changes
|
|
387
522
|
|
|
388
|
-
-
|
|
523
|
+
- [#9510](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/9510)
|
|
524
|
+
[`c9da1eecd2a`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c9da1eecd2a) -
|
|
525
|
+
Internal changes moving class components to functional components, added updated types for
|
|
526
|
+
react-syntax-highlighter
|
|
389
527
|
|
|
390
528
|
## 13.2.1
|
|
391
529
|
|
|
392
530
|
### Patch Changes
|
|
393
531
|
|
|
394
|
-
-
|
|
532
|
+
- [#8057](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/8057)
|
|
533
|
+
[`413cc46d307`](https://bitbucket.org/atlassian/atlassian-frontend/commits/413cc46d307) - [ux]
|
|
534
|
+
Added colors for missing syntax keywords
|
|
395
535
|
|
|
396
536
|
## 13.2.0
|
|
397
537
|
|
|
398
538
|
### Minor Changes
|
|
399
539
|
|
|
400
|
-
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
-
|
|
540
|
+
- [#7762](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/7762)
|
|
541
|
+
[`3c7be954dbd`](https://bitbucket.org/atlassian/atlassian-frontend/commits/3c7be954dbd) - [ux]
|
|
542
|
+
Line highlighting now meets WCAG 2.1 guidelines. Colors that were failing contrast have been
|
|
543
|
+
updated and there is now a new visual cue consisting of a left border to the highlighted lines.
|
|
544
|
+
- [`23ef692842a`](https://bitbucket.org/atlassian/atlassian-frontend/commits/23ef692842a) - [ux]
|
|
545
|
+
`Code` and `CodeBlock` now use react-syntax-highlighter@^15 to highlight code. As part of this
|
|
546
|
+
change the fontSize for the line numbers and the code body have been normalised. This will be a
|
|
547
|
+
breaking visual change for all consumers. No action is required other than a callout that this
|
|
548
|
+
will affect any existing visual regression tests.
|
|
549
|
+
|
|
550
|
+
Users can now use the `themeOverride` prop to customise the application of the default theme.
|
|
551
|
+
This is an escape hatch which will likley be removed in a future major version.
|
|
552
|
+
|
|
553
|
+
This change also includes:
|
|
554
|
+
|
|
555
|
+
- A bugfix for lineHeight that meant linenumbers and code body were not vertically aligned
|
|
556
|
+
correctly.
|
|
557
|
+
- A bugfix for the SSR'd components not rendering consistently before hydration
|
|
558
|
+
- Improved semantic lines, which can now be properly consumed by screen readers.
|
|
559
|
+
- The `Code` and `CodeBlock` now expose additional options in their `theme` prop. These are
|
|
560
|
+
`codeFontSize` and `codeLineHeight` which allow customisation of the component's rendered
|
|
561
|
+
font size.
|
|
562
|
+
|
|
563
|
+
- [`7c2f2056ef7`](https://bitbucket.org/atlassian/atlassian-frontend/commits/7c2f2056ef7) - [ux]
|
|
564
|
+
Added code syntax highlighting for the following languages: AppleScript, Clojure, Delphi, Diff,
|
|
565
|
+
FoxPro, Object Pascal, QML, Standard ML, Visual Basic, JSX and TSX
|
|
566
|
+
|
|
567
|
+
### Patch Changes
|
|
568
|
+
|
|
569
|
+
- [`72d19d3f308`](https://bitbucket.org/atlassian/atlassian-frontend/commits/72d19d3f308) -
|
|
570
|
+
Internal changes relating to types, and tests. Includes a small bugfix to the way Code component
|
|
571
|
+
had styles applied and adds testId as a prop to both Code and CodeBlock.
|
|
572
|
+
- [`84c4d95e2e0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/84c4d95e2e0) - [ux]
|
|
573
|
+
Line numbers now have correct spacing in Firefox and Safari.
|
|
574
|
+
- [`a4bcf21a972`](https://bitbucket.org/atlassian/atlassian-frontend/commits/a4bcf21a972) - [ux]
|
|
575
|
+
Syntax highlighting now uses accessibile colors that meet WCAG 2.0 Level AA guidelines for color
|
|
576
|
+
contrast
|
|
577
|
+
- [`b5873e7bf01`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b5873e7bf01) - [ux]
|
|
578
|
+
Fixed highlighted line left border alignment.
|
|
424
579
|
|
|
425
580
|
## 13.1.1
|
|
426
581
|
|
|
427
582
|
### Patch Changes
|
|
428
583
|
|
|
429
|
-
-
|
|
584
|
+
- [#5857](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/5857)
|
|
585
|
+
[`d3265f19be`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d3265f19be) -
|
|
586
|
+
Transpile packages using babel rather than tsc
|
|
430
587
|
|
|
431
588
|
## 13.1.0
|
|
432
589
|
|
|
433
590
|
### Minor Changes
|
|
434
591
|
|
|
435
|
-
-
|
|
592
|
+
- [#5516](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/5516)
|
|
593
|
+
[`17162a77f2`](https://bitbucket.org/atlassian/atlassian-frontend/commits/17162a77f2) - types of
|
|
594
|
+
Supported Languages for @atlaskit/code is maintained by the package itself. Useful for when one
|
|
595
|
+
references Supported Languages, wanting to know what types of languages are supported by
|
|
596
|
+
@atlaskit/code.
|
|
436
597
|
|
|
437
598
|
## 13.0.3
|
|
438
599
|
|
|
439
600
|
### Patch Changes
|
|
440
601
|
|
|
441
|
-
-
|
|
442
|
-
|
|
443
|
-
|
|
602
|
+
- [#5497](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/5497)
|
|
603
|
+
[`5f58283e1f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/5f58283e1f) - Export
|
|
604
|
+
types using Typescript's new "export type" syntax to satisfy Typescript's --isolatedModules
|
|
605
|
+
compiler option. This requires version 3.8 of Typescript, read more about how we handle
|
|
606
|
+
Typescript versions here: https://atlaskit.atlassian.com/get-started Also add `typescript` to
|
|
607
|
+
`devDependencies` to denote version that the package was built with.
|
|
444
608
|
|
|
445
609
|
## 13.0.2
|
|
446
610
|
|
|
447
611
|
### Patch Changes
|
|
448
612
|
|
|
449
|
-
-
|
|
613
|
+
- Updated dependencies
|
|
450
614
|
|
|
451
615
|
## 13.0.1
|
|
452
616
|
|
|
453
617
|
### Patch Changes
|
|
454
618
|
|
|
455
|
-
-
|
|
619
|
+
- [#4346](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/4346)
|
|
620
|
+
[`ade5203287`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ade5203287) - Fix
|
|
621
|
+
codemod utilities being exposed through the codemod cli
|
|
456
622
|
|
|
457
623
|
## 13.0.0
|
|
458
624
|
|
|
459
625
|
### Major Changes
|
|
460
626
|
|
|
461
|
-
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
627
|
+
- [#4424](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/4424)
|
|
628
|
+
[`37f8133702`](https://bitbucket.org/atlassian/atlassian-frontend/commits/37f8133702) - - Rename
|
|
629
|
+
`AkCode` and `AkCodeBlock` exports to `Code` and `CodeBlock` respectively.
|
|
630
|
+
- Remove unnecessary props (`lineNumberContainerStyle`, `showLineNumbers` and `highlight`)
|
|
631
|
+
from `Code`.
|
|
632
|
+
- Add codemods for above changes. Codemods can be found inside [codemods](./codemods)
|
|
633
|
+
directory. Please use
|
|
634
|
+
[@atlaskit/codemod-cli](https://www.npmjs.com/package/@atlaskit/codemod-cli) for running the
|
|
635
|
+
codemods according to version of your package. Check its documentation
|
|
636
|
+
[here](https://www.npmjs.com/package/@atlaskit/codemod-cli).
|
|
637
|
+
- Split exported `Theme` type into `CodeTheme` and `CodeBlockTheme`.
|
|
638
|
+
- Remove `lineNumberColor` and `lineNumberBgColor` type from `CodeTheme`. They are available
|
|
639
|
+
only in `CodeBlockTheme` now.
|
|
468
640
|
|
|
469
641
|
### Patch Changes
|
|
470
642
|
|
|
471
|
-
-
|
|
643
|
+
- [`336f870e37`](https://bitbucket.org/atlassian/atlassian-frontend/commits/336f870e37) - fix
|
|
644
|
+
exception errors of syntax highlighter for several languages
|
|
472
645
|
|
|
473
646
|
## 12.0.3
|
|
474
647
|
|
|
475
648
|
### Patch Changes
|
|
476
649
|
|
|
477
|
-
-
|
|
650
|
+
- [#3885](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3885)
|
|
651
|
+
[`6c525a8229`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6c525a8229) - Upgraded
|
|
652
|
+
to TypeScript 3.9.6 and tslib to 2.0.0
|
|
478
653
|
|
|
479
|
-
|
|
480
|
-
|
|
654
|
+
Since tslib is a dependency for all our packages we recommend that products also follow this
|
|
655
|
+
tslib upgrade to prevent duplicates of tslib being bundled.
|
|
481
656
|
|
|
482
657
|
## 12.0.2
|
|
483
658
|
|
|
484
659
|
### Patch Changes
|
|
485
660
|
|
|
486
|
-
-
|
|
661
|
+
- [#3293](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3293)
|
|
662
|
+
[`954cc87b62`](https://bitbucket.org/atlassian/atlassian-frontend/commits/954cc87b62) - The
|
|
663
|
+
readme and package information has been updated to point to the new design system website.
|
|
487
664
|
|
|
488
665
|
## 12.0.1
|
|
489
666
|
|
|
490
667
|
### Patch Changes
|
|
491
668
|
|
|
492
|
-
-
|
|
669
|
+
- [#3428](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3428)
|
|
670
|
+
[`db053b24d8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/db053b24d8) - Update
|
|
671
|
+
all the theme imports to be tree-shakable
|
|
493
672
|
|
|
494
673
|
## 12.0.0
|
|
495
674
|
|
|
496
675
|
### Major Changes
|
|
497
676
|
|
|
498
|
-
-
|
|
499
|
-
|
|
677
|
+
- [#3335](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3335)
|
|
678
|
+
[`87f4720f27`](https://bitbucket.org/atlassian/atlassian-frontend/commits/87f4720f27) -
|
|
679
|
+
Officially dropping IE11 support, from this version onwards there are no warranties of the
|
|
680
|
+
package working in IE11. For more information see:
|
|
681
|
+
https://community.developer.atlassian.com/t/atlaskit-to-drop-support-for-internet-explorer-11-from-1st-july-2020/39534
|
|
500
682
|
|
|
501
683
|
### Patch Changes
|
|
502
684
|
|
|
503
|
-
-
|
|
685
|
+
- Updated dependencies
|
|
504
686
|
|
|
505
687
|
## 11.1.6
|
|
506
688
|
|
|
507
689
|
### Patch Changes
|
|
508
690
|
|
|
509
|
-
-
|
|
691
|
+
- [#2866](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/2866)
|
|
692
|
+
[`54a9514fcf`](https://bitbucket.org/atlassian/atlassian-frontend/commits/54a9514fcf) - Build
|
|
693
|
+
and supporting files will no longer be published to npm
|
|
510
694
|
|
|
511
695
|
## 11.1.5
|
|
512
696
|
|
|
513
697
|
### Patch Changes
|
|
514
698
|
|
|
515
|
-
-
|
|
699
|
+
- [patch][f7f2068a76](https://bitbucket.org/atlassian/atlassian-frontend/commits/f7f2068a76):
|
|
516
700
|
|
|
517
|
-
|
|
701
|
+
Change imports to comply with Atlassian conventions
|
|
518
702
|
|
|
519
703
|
## 11.1.4
|
|
520
704
|
|
|
521
705
|
### Patch Changes
|
|
522
706
|
|
|
523
|
-
-
|
|
707
|
+
- [patch][5f5b93071f](https://bitbucket.org/atlassian/atlassian-frontend/commits/5f5b93071f):
|
|
524
708
|
|
|
525
|
-
|
|
709
|
+
Code highlighting now works as expected when highlighting single to double digit lines.- Updated
|
|
710
|
+
dependencies
|
|
711
|
+
[dae900bf82](https://bitbucket.org/atlassian/atlassian-frontend/commits/dae900bf82):
|
|
526
712
|
|
|
527
|
-
-
|
|
528
|
-
|
|
529
|
-
|
|
713
|
+
- Updated dependencies
|
|
714
|
+
[8c9e4f1ec6](https://bitbucket.org/atlassian/atlassian-frontend/commits/8c9e4f1ec6):
|
|
715
|
+
- @atlaskit/build-utils@2.6.4
|
|
716
|
+
- @atlaskit/docs@8.5.0
|
|
530
717
|
|
|
531
718
|
## 11.1.3
|
|
532
719
|
|
|
533
720
|
### Patch Changes
|
|
534
721
|
|
|
535
|
-
-
|
|
722
|
+
- [patch][6548261c9a](https://bitbucket.org/atlassian/atlassian-frontend/commits/6548261c9a):
|
|
536
723
|
|
|
537
|
-
|
|
724
|
+
Remove namespace imports from React, ReactDom, and PropTypes- Updated dependencies
|
|
725
|
+
[6548261c9a](https://bitbucket.org/atlassian/atlassian-frontend/commits/6548261c9a):
|
|
538
726
|
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
727
|
+
- @atlaskit/docs@8.3.2
|
|
728
|
+
- @atlaskit/visual-regression@0.1.9
|
|
729
|
+
- @atlaskit/theme@9.5.1
|
|
542
730
|
|
|
543
731
|
## 11.1.2
|
|
544
732
|
|
|
545
733
|
### Patch Changes
|
|
546
734
|
|
|
547
|
-
-
|
|
735
|
+
- [patch][b52f2be5d9](https://bitbucket.org/atlassian/atlassian-frontend/commits/b52f2be5d9):
|
|
548
736
|
|
|
549
|
-
|
|
737
|
+
ThemedCode and ThemeCodeBlock props are now correctly typed- Updated dependencies
|
|
738
|
+
[d2b8166208](https://bitbucket.org/atlassian/atlassian-frontend/commits/d2b8166208):
|
|
550
739
|
|
|
551
|
-
|
|
740
|
+
- @atlaskit/docs@8.3.0
|
|
552
741
|
|
|
553
742
|
## 11.1.1
|
|
554
743
|
|
|
555
744
|
### Patch Changes
|
|
556
745
|
|
|
557
|
-
-
|
|
746
|
+
- [patch][4a223473c5](https://bitbucket.org/atlassian/atlassian-frontend/commits/4a223473c5):
|
|
558
747
|
|
|
559
|
-
|
|
748
|
+
Removes babel/runtime from dependencies. Users should see a smaller bundlesize as a result-
|
|
749
|
+
Updated dependencies
|
|
750
|
+
[82747f2922](https://bitbucket.org/atlassian/atlassian-frontend/commits/82747f2922):
|
|
560
751
|
|
|
561
|
-
|
|
752
|
+
- @atlaskit/theme@9.5.0
|
|
562
753
|
|
|
563
754
|
## 11.1.0
|
|
564
755
|
|
|
565
756
|
### Minor Changes
|
|
566
757
|
|
|
567
|
-
-
|
|
758
|
+
- [minor][9648afc5be](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/9648afc5be):
|
|
568
759
|
|
|
569
|
-
|
|
570
|
-
|
|
760
|
+
Adds `highlight` prop to `AkCodeBlock`, `Example`, and the `code` template literal. Use this to
|
|
761
|
+
emphasize which lines of code you would like people to look at!
|
|
571
762
|
|
|
572
|
-
|
|
763
|
+
The `highlight` prop can be used as follows:
|
|
573
764
|
|
|
574
|
-
|
|
575
|
-
`highlight="
|
|
576
|
-
|
|
577
|
-
`highlight="1-5"`
|
|
578
|
-
- To highlight sequential and multiple single lines:
|
|
579
|
-
`highlight="1-5,7,10,15-20"`
|
|
765
|
+
- To highlight one line: `highlight="3"`
|
|
766
|
+
- To highlight sequential lines: `highlight="1-5"`
|
|
767
|
+
- To highlight sequential and multiple single lines: `highlight="1-5,7,10,15-20"`
|
|
580
768
|
|
|
581
|
-
|
|
769
|
+
**`AkCodeBlock` component**
|
|
582
770
|
|
|
583
|
-
|
|
771
|
+
Use the `highlight` prop.
|
|
584
772
|
|
|
585
|
-
|
|
586
|
-
|
|
773
|
+
```js
|
|
774
|
+
import { AkCodeBlock } from '@atlaskit/code';
|
|
587
775
|
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
776
|
+
<AkCodeBlock
|
|
777
|
+
highlight="1-2"
|
|
778
|
+
text={`
|
|
779
|
+
<div>
|
|
780
|
+
hello there
|
|
781
|
+
<span>buds</span>
|
|
782
|
+
</div>
|
|
783
|
+
`}
|
|
784
|
+
/>;
|
|
785
|
+
```
|
|
598
786
|
|
|
599
|
-
|
|
787
|
+
**`Example` component**
|
|
600
788
|
|
|
601
|
-
|
|
789
|
+
Use the `highlight` prop.
|
|
602
790
|
|
|
603
|
-
|
|
604
|
-
|
|
791
|
+
```js
|
|
792
|
+
import { Example } from '@atlaskit/docs';
|
|
605
793
|
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
794
|
+
<Example
|
|
795
|
+
packageName="@atlaskit/code"
|
|
796
|
+
Component={require('../examples/00-inline-code-basic').default}
|
|
797
|
+
title="Basic"
|
|
798
|
+
highlight="19,24,30,36"
|
|
799
|
+
source={require('!!raw-loader!../examples/00-inline-code-basic')}
|
|
800
|
+
/>;
|
|
801
|
+
```
|
|
614
802
|
|
|
615
|
-
|
|
803
|
+
**`code` template literal**
|
|
616
804
|
|
|
617
|
-
|
|
618
|
-
|
|
805
|
+
Add `highlight=` to the top of your code snippet. It takes the same values as the `highlight`
|
|
806
|
+
prop.
|
|
619
807
|
|
|
620
|
-
|
|
621
|
-
|
|
808
|
+
```js
|
|
809
|
+
import { code } from '@atlaskit/docs';
|
|
622
810
|
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
811
|
+
code`highlight=5-7
|
|
812
|
+
import React from 'react';
|
|
813
|
+
|
|
814
|
+
() => (
|
|
815
|
+
<div>
|
|
816
|
+
hello there
|
|
817
|
+
<span>buds</span>
|
|
818
|
+
</div>
|
|
819
|
+
)`;
|
|
820
|
+
```
|
|
633
821
|
|
|
634
822
|
## 11.0.14
|
|
635
823
|
|
|
636
824
|
### Patch Changes
|
|
637
825
|
|
|
638
|
-
-
|
|
826
|
+
- [patch][35d2229b2a](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/35d2229b2a):
|
|
639
827
|
|
|
640
|
-
|
|
828
|
+
Adding missing license to packages and update to Copyright 2019 Atlassian Pty Ltd.
|
|
641
829
|
|
|
642
830
|
## 11.0.13
|
|
643
831
|
|
|
644
832
|
### Patch Changes
|
|
645
833
|
|
|
646
|
-
-
|
|
834
|
+
- [patch][a2d0043716](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/a2d0043716):
|
|
647
835
|
|
|
648
|
-
|
|
836
|
+
Updated version of analytics-next to fix potential incompatibilities with TS 3.6
|
|
649
837
|
|
|
650
838
|
## 11.0.12
|
|
651
839
|
|
|
652
840
|
### Patch Changes
|
|
653
841
|
|
|
654
|
-
-
|
|
842
|
+
- [patch][65ada7f318](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/65ada7f318):
|
|
655
843
|
|
|
656
|
-
|
|
844
|
+
**FABDODGEM-12 Editor Cashmere Release**
|
|
657
845
|
|
|
658
|
-
|
|
846
|
+
- [Internal post](http://go.atlassian.com/cashmere-release)
|
|
659
847
|
|
|
660
|
-
|
|
848
|
+
**Affected editor components:**
|
|
661
849
|
|
|
662
|
-
|
|
850
|
+
tables, media, mobile, text color, emoji, copy/paste, analytics
|
|
663
851
|
|
|
664
|
-
|
|
852
|
+
**Performance**
|
|
665
853
|
|
|
666
|
-
|
|
667
|
-
|
|
854
|
+
- Async import for code blocks and task items on renderer
|
|
855
|
+
- https://product-fabric.atlassian.net/browse/ED-7155
|
|
668
856
|
|
|
669
|
-
|
|
857
|
+
**Table**
|
|
670
858
|
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
859
|
+
- Add support to sort tables that contains smart links
|
|
860
|
+
- https://product-fabric.atlassian.net/browse/ED-7449
|
|
861
|
+
- Scale table when changing to full width mode
|
|
862
|
+
- https://product-fabric.atlassian.net/browse/ED-7724
|
|
675
863
|
|
|
676
|
-
|
|
864
|
+
**Text color**
|
|
677
865
|
|
|
678
|
-
|
|
679
|
-
|
|
866
|
+
- Update text color toolbar with right color when text is inside a list, panel, etc.
|
|
867
|
+
- https://product-fabric.atlassian.net/browse/FM-1752
|
|
680
868
|
|
|
681
|
-
**Mobile** - Implement undo/redo interface on Hybrid Editor -
|
|
869
|
+
**Mobile** - Implement undo/redo interface on Hybrid Editor -
|
|
870
|
+
https://product-fabric.atlassian.net/browse/FM-2393
|
|
682
871
|
|
|
683
872
|
**Copy and Paste**
|
|
684
873
|
|
|
@@ -693,17 +882,17 @@
|
|
|
693
882
|
|
|
694
883
|
**Media**
|
|
695
884
|
|
|
696
|
-
-
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
-
|
|
704
|
-
|
|
705
|
-
-
|
|
706
|
-
|
|
885
|
+
- Add analytics events and error reporting [NEW BIG FEATURE]
|
|
886
|
+
- https://product-fabric.atlassian.net/browse/MS-2275
|
|
887
|
+
- https://product-fabric.atlassian.net/browse/MS-2329
|
|
888
|
+
- https://product-fabric.atlassian.net/browse/MS-2330
|
|
889
|
+
- https://product-fabric.atlassian.net/browse/MS-2331
|
|
890
|
+
- https://product-fabric.atlassian.net/browse/MS-2332
|
|
891
|
+
- https://product-fabric.atlassian.net/browse/MS-2390
|
|
892
|
+
- Fixed issue where we can’t insert same file from MediaPicker twice
|
|
893
|
+
- https://product-fabric.atlassian.net/browse/MS-2080
|
|
894
|
+
- Disable upload of external files to media
|
|
895
|
+
- https://product-fabric.atlassian.net/browse/MS-2372
|
|
707
896
|
|
|
708
897
|
**Notable Bug Fixes**
|
|
709
898
|
|
|
@@ -718,377 +907,450 @@
|
|
|
718
907
|
- Fixed bug where custom emojis are not been showed on the editor
|
|
719
908
|
- https://product-fabric.atlassian.net/browse/ED-7726
|
|
720
909
|
|
|
721
|
-
-
|
|
910
|
+
- [patch][1715ad2bd5](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/1715ad2bd5):
|
|
722
911
|
|
|
723
|
-
|
|
912
|
+
ED-7731: add support for GraphQL syntax highlighting
|
|
724
913
|
|
|
725
914
|
## 11.0.11
|
|
726
915
|
|
|
727
916
|
### Patch Changes
|
|
728
917
|
|
|
729
|
-
-
|
|
918
|
+
- [patch][097b696613](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/097b696613):
|
|
730
919
|
|
|
731
|
-
|
|
920
|
+
Components now depend on TS 3.6 internally, in order to fix an issue with TS resolving
|
|
921
|
+
non-relative imports as relative imports
|
|
732
922
|
|
|
733
923
|
## 11.0.10
|
|
734
924
|
|
|
735
925
|
### Patch Changes
|
|
736
926
|
|
|
737
|
-
-
|
|
927
|
+
- [patch][ecca4d1dbb](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/ecca4d1dbb):
|
|
738
928
|
|
|
739
|
-
|
|
929
|
+
Upgraded Typescript to 3.3.x
|
|
740
930
|
|
|
741
931
|
## 11.0.9
|
|
742
932
|
|
|
743
933
|
### Patch Changes
|
|
744
934
|
|
|
745
|
-
-
|
|
935
|
+
- [patch][708028db86](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/708028db86):
|
|
746
936
|
|
|
747
|
-
|
|
937
|
+
Change all the imports to theme in Core to use multi entry points
|
|
748
938
|
|
|
749
939
|
## 11.0.8
|
|
750
940
|
|
|
751
941
|
### Patch Changes
|
|
752
942
|
|
|
753
|
-
-
|
|
943
|
+
- [patch][abee1a5f4f](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/abee1a5f4f):
|
|
754
944
|
|
|
755
|
-
|
|
945
|
+
Bumping internal dependency (memoize-one) to latest version (5.1.0). memoize-one@5.1.0 has full
|
|
946
|
+
typescript support so it is recommended that typescript consumers use it also.
|
|
756
947
|
|
|
757
948
|
## 11.0.7
|
|
758
949
|
|
|
759
950
|
### Patch Changes
|
|
760
951
|
|
|
761
|
-
-
|
|
952
|
+
- [patch][de35ce8c67](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/de35ce8c67):
|
|
762
953
|
|
|
763
|
-
|
|
954
|
+
Updates component maintainers
|
|
764
955
|
|
|
765
956
|
## 11.0.6
|
|
766
957
|
|
|
767
958
|
### Patch Changes
|
|
768
959
|
|
|
769
|
-
-
|
|
960
|
+
- [patch][bbff8a7d87](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/bbff8a7d87):
|
|
770
961
|
|
|
771
|
-
|
|
962
|
+
Fixes bug, missing version.json file
|
|
772
963
|
|
|
773
964
|
## 11.0.5
|
|
774
965
|
|
|
775
966
|
### Patch Changes
|
|
776
967
|
|
|
777
|
-
-
|
|
968
|
+
- [patch][18dfac7332](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/18dfac7332):
|
|
778
969
|
|
|
779
|
-
|
|
970
|
+
In this PR, we are:
|
|
780
971
|
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
972
|
+
- Re-introducing dist build folders
|
|
973
|
+
- Adding back cjs
|
|
974
|
+
- Replacing es5 by cjs and es2015 by esm
|
|
975
|
+
- Creating folders at the root for entry-points
|
|
976
|
+
- Removing the generation of the entry-points at the root Please see this
|
|
977
|
+
[ticket](https://product-fabric.atlassian.net/browse/BUILDTOOLS-118) or this
|
|
978
|
+
[page](https://hello.atlassian.net/wiki/spaces/FED/pages/452325500/Finishing+Atlaskit+multiple+entry+points)
|
|
979
|
+
for further details
|
|
787
980
|
|
|
788
981
|
## 11.0.4
|
|
789
982
|
|
|
790
983
|
### Patch Changes
|
|
791
984
|
|
|
792
|
-
-
|
|
985
|
+
- [patch][29a1f158c1](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/29a1f158c1):
|
|
793
986
|
|
|
794
|
-
|
|
987
|
+
Use default react import in typescript files.
|
|
795
988
|
|
|
796
989
|
## 11.0.3
|
|
797
990
|
|
|
798
991
|
### Patch Changes
|
|
799
992
|
|
|
800
|
-
-
|
|
993
|
+
- [patch][4615439434](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/4615439434):
|
|
801
994
|
|
|
802
|
-
|
|
995
|
+
index.ts will now be ignored when publishing to npm
|
|
803
996
|
|
|
804
997
|
## 11.0.2
|
|
805
998
|
|
|
806
999
|
### Patch Changes
|
|
807
1000
|
|
|
808
|
-
-
|
|
1001
|
+
- [patch][93bcf314c6](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/93bcf314c6):
|
|
809
1002
|
|
|
810
|
-
|
|
1003
|
+
Added missing tslib dep
|
|
811
1004
|
|
|
812
1005
|
## 11.0.1
|
|
813
1006
|
|
|
814
|
-
-
|
|
1007
|
+
- [patch][b0ef06c685](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/b0ef06c685):
|
|
815
1008
|
|
|
816
|
-
|
|
1009
|
+
- This is just a safety release in case anything strange happened in in the previous one. See
|
|
1010
|
+
Pull Request #5942 for details
|
|
817
1011
|
|
|
818
1012
|
## 11.0.0
|
|
819
1013
|
|
|
820
|
-
-
|
|
1014
|
+
- [major][97bfe81ec8](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/97bfe81ec8):
|
|
821
1015
|
|
|
822
|
-
|
|
1016
|
+
- @atlaskit/code has been converted to Typescript. Typescript consumers will now get static
|
|
1017
|
+
type safety. Flow types are no longer provided. No API or behavioural changes.
|
|
823
1018
|
|
|
824
1019
|
## 10.0.0
|
|
825
1020
|
|
|
826
|
-
-
|
|
1021
|
+
- [major][7c17b35107](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/7c17b35107):
|
|
827
1022
|
|
|
828
|
-
|
|
1023
|
+
- Updates react and react-dom peer dependencies to react@^16.8.0 and react-dom@^16.8.0. To use
|
|
1024
|
+
this package, please ensure you use at least this version of react and react-dom.
|
|
829
1025
|
|
|
830
1026
|
## 9.0.1
|
|
831
1027
|
|
|
832
|
-
-
|
|
833
|
-
|
|
834
|
-
|
|
1028
|
+
- Updated dependencies
|
|
1029
|
+
[9c0b4744be](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/9c0b4744be):
|
|
1030
|
+
- @atlaskit/docs@7.0.3
|
|
1031
|
+
- @atlaskit/theme@8.1.7
|
|
835
1032
|
|
|
836
1033
|
## 9.0.0
|
|
837
1034
|
|
|
838
|
-
-
|
|
1035
|
+
- [major][76299208e6](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/76299208e6):
|
|
839
1036
|
|
|
840
|
-
|
|
1037
|
+
- Drop ES5 from all the flow modules
|
|
841
1038
|
|
|
842
|
-
|
|
1039
|
+
### Dropping CJS support in all @atlaskit packages
|
|
843
1040
|
|
|
844
|
-
|
|
845
|
-
|
|
1041
|
+
As a breaking change, all @atlaskit packages will be dropping cjs distributions and will only
|
|
1042
|
+
distribute esm. This means all distributed code will be transpiled, but will still contain
|
|
1043
|
+
`import` and `export` declarations.
|
|
846
1044
|
|
|
847
|
-
|
|
1045
|
+
The major reason for doing this is to allow us to support multiple entry points in packages,
|
|
1046
|
+
e.g:
|
|
848
1047
|
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
|
|
1048
|
+
```js
|
|
1049
|
+
import colors from `@atlaskit/theme/colors`;
|
|
1050
|
+
```
|
|
852
1051
|
|
|
853
|
-
|
|
1052
|
+
Previously this was sort of possible for consumers by doing something like:
|
|
854
1053
|
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
|
|
1054
|
+
```js
|
|
1055
|
+
import colors from `@atlaskit/theme/dist/esm/colors`;
|
|
1056
|
+
```
|
|
858
1057
|
|
|
859
|
-
|
|
1058
|
+
This has a couple of issues. 1, it treats the file system as API making internal refactors
|
|
1059
|
+
harder, we have to worry about how consumers might be using things that aren't _actually_
|
|
1060
|
+
supposed to be used. 2. We are unable to do this _internally_ in @atlaskit packages. This leads
|
|
1061
|
+
to lots of packages bundling all of theme, just to use a single color, especially in situations
|
|
1062
|
+
where tree shaking fails.
|
|
860
1063
|
|
|
861
|
-
|
|
1064
|
+
To support being able to use multiple entrypoints internally, we unfortunately cannot have
|
|
1065
|
+
multiple distributions as they would need to have very different imports from of their own
|
|
1066
|
+
internal dependencies.
|
|
862
1067
|
|
|
863
|
-
|
|
1068
|
+
ES Modules are widely supported by all modern bundlers and can be worked around in node
|
|
1069
|
+
environments.
|
|
864
1070
|
|
|
865
|
-
|
|
1071
|
+
We may choose to revisit this solution in the future if we find any unintended condequences, but
|
|
1072
|
+
we see this as a pretty sane path forward which should lead to some major bundle size decreases,
|
|
1073
|
+
saner API's and simpler package architecture.
|
|
866
1074
|
|
|
867
|
-
|
|
1075
|
+
Please reach out to #fabric-build (if in Atlassian) or create an issue in
|
|
1076
|
+
[Design System Support](https://ecosystem.atlassian.net/secure/CreateIssue.jspa?pid=24670) (for
|
|
1077
|
+
external) if you have any questions or queries about this.
|
|
868
1078
|
|
|
869
1079
|
## 8.2.3
|
|
870
1080
|
|
|
871
|
-
-
|
|
1081
|
+
- [patch][d49e9bbb13](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/d49e9bbb13):
|
|
872
1082
|
|
|
873
|
-
|
|
1083
|
+
- Expose the props on website
|
|
874
1084
|
|
|
875
1085
|
## 8.2.2
|
|
876
1086
|
|
|
877
|
-
-
|
|
878
|
-
|
|
879
|
-
|
|
1087
|
+
- Updated dependencies [58b84fa](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/58b84fa):
|
|
1088
|
+
- @atlaskit/theme@7.0.1
|
|
1089
|
+
- @atlaskit/docs@6.0.0
|
|
880
1090
|
|
|
881
1091
|
## 8.2.1
|
|
882
1092
|
|
|
883
|
-
-
|
|
884
|
-
|
|
885
|
-
|
|
1093
|
+
- Updated dependencies [d13242d](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/d13242d):
|
|
1094
|
+
- @atlaskit/docs@5.2.3
|
|
1095
|
+
- @atlaskit/theme@7.0.0
|
|
886
1096
|
|
|
887
1097
|
## 8.2.0
|
|
888
1098
|
|
|
889
|
-
-
|
|
1099
|
+
- [minor][10fe416](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/10fe416):
|
|
890
1100
|
|
|
891
|
-
|
|
1101
|
+
- Props Language should be required and surfacing more props for code
|
|
892
1102
|
|
|
893
1103
|
## 8.1.1
|
|
894
1104
|
|
|
895
|
-
-
|
|
1105
|
+
- [patch][84e8015](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/84e8015):
|
|
896
1106
|
|
|
897
|
-
|
|
1107
|
+
- Bump react-syntax-highlighter to 10.0.1
|
|
898
1108
|
|
|
899
1109
|
## 8.1.0
|
|
900
1110
|
|
|
901
|
-
-
|
|
1111
|
+
- [minor][26027dd](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/26027dd):
|
|
902
1112
|
|
|
903
|
-
|
|
1113
|
+
- Upgrade react syntax highlighter to version that ships its own async loaded languages and
|
|
1114
|
+
supports SSR
|
|
904
1115
|
|
|
905
1116
|
## 8.0.12
|
|
906
1117
|
|
|
907
|
-
-
|
|
1118
|
+
- [patch] Inline code should wrap
|
|
1119
|
+
[f1d9a54](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/f1d9a54)
|
|
908
1120
|
|
|
909
1121
|
## 8.0.11
|
|
910
1122
|
|
|
911
|
-
-
|
|
1123
|
+
- [patch] Fix webpack 3 support for page & code
|
|
1124
|
+
[03af95e](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/03af95e)
|
|
912
1125
|
|
|
913
1126
|
## 8.0.10
|
|
914
1127
|
|
|
915
|
-
-
|
|
1128
|
+
- [patch] Update babel config to transpile out dynamic imports for commonjs
|
|
1129
|
+
[2dae295](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/2dae295)
|
|
916
1130
|
|
|
917
1131
|
## 8.0.9
|
|
918
1132
|
|
|
919
|
-
-
|
|
1133
|
+
- [patch] Adds missing implicit @babel/runtime dependency
|
|
1134
|
+
[b71751b](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/b71751b)
|
|
920
1135
|
|
|
921
1136
|
## 8.0.8
|
|
922
1137
|
|
|
923
|
-
-
|
|
1138
|
+
- [patch] Add some padding to the code without line numbers
|
|
1139
|
+
[67cd63d](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/67cd63d)
|
|
924
1140
|
|
|
925
1141
|
## 8.0.7
|
|
926
1142
|
|
|
927
|
-
-
|
|
1143
|
+
- [patch] Added yaml to supported languages for code and added styling for the key token.
|
|
1144
|
+
[95f9236](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/95f9236)
|
|
928
1145
|
|
|
929
1146
|
## 8.0.6
|
|
930
1147
|
|
|
931
|
-
-
|
|
1148
|
+
- [patch] Async load highlighter languages
|
|
1149
|
+
[9102fa2](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/9102fa2)
|
|
932
1150
|
|
|
933
1151
|
## 8.0.5
|
|
934
1152
|
|
|
935
|
-
-
|
|
1153
|
+
- [patch] Upgrade react-syntax-highlighter again and use async loaded prism
|
|
1154
|
+
[260d66a](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/260d66a)
|
|
936
1155
|
|
|
937
1156
|
## 8.0.4
|
|
938
1157
|
|
|
939
|
-
-
|
|
1158
|
+
- [patch] Upgraded react-syntax-highlighter to 8.0.2
|
|
1159
|
+
[7cc7000](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/7cc7000)
|
|
940
1160
|
|
|
941
1161
|
## 8.0.3
|
|
942
1162
|
|
|
943
|
-
-
|
|
1163
|
+
- [patch] Adds sideEffects: false to allow proper tree shaking
|
|
1164
|
+
[b5d6d04](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/b5d6d04)
|
|
944
1165
|
|
|
945
1166
|
## 8.0.1
|
|
946
1167
|
|
|
947
|
-
-
|
|
948
|
-
|
|
949
|
-
|
|
1168
|
+
- [patch] Updated dependencies
|
|
1169
|
+
[df22ad8](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/df22ad8)
|
|
1170
|
+
- @atlaskit/theme@6.0.0
|
|
1171
|
+
- @atlaskit/docs@5.0.6
|
|
950
1172
|
|
|
951
1173
|
## 8.0.0
|
|
952
1174
|
|
|
953
|
-
-
|
|
954
|
-
|
|
955
|
-
|
|
1175
|
+
- [major] ED-4989: replace hjs with prism
|
|
1176
|
+
[f9c0cdb](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/f9c0cdb)
|
|
1177
|
+
- [none] Updated dependencies
|
|
1178
|
+
[f9c0cdb](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/f9c0cdb)
|
|
1179
|
+
- @atlaskit/docs@5.0.5
|
|
956
1180
|
|
|
957
1181
|
## 7.0.3
|
|
958
1182
|
|
|
959
|
-
-
|
|
960
|
-
|
|
961
|
-
|
|
1183
|
+
- [patch] update the dependency of react-dom to 16.4.2 due to vulnerability in previous versions
|
|
1184
|
+
read https://reactjs.org/blog/2018/08/01/react-v-16-4-2.html for details
|
|
1185
|
+
[a4bd557](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/a4bd557)
|
|
1186
|
+
- [none] Updated dependencies
|
|
1187
|
+
[a4bd557](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/a4bd557)
|
|
1188
|
+
- @atlaskit/theme@5.1.3
|
|
962
1189
|
|
|
963
1190
|
## 7.0.2
|
|
964
1191
|
|
|
965
|
-
-
|
|
966
|
-
|
|
967
|
-
|
|
1192
|
+
- [patch] Updated dependencies
|
|
1193
|
+
[acd86a1](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/acd86a1)
|
|
1194
|
+
- @atlaskit/theme@5.1.2
|
|
1195
|
+
- @atlaskit/docs@5.0.2
|
|
968
1196
|
|
|
969
1197
|
## 7.0.1
|
|
970
1198
|
|
|
971
|
-
-
|
|
972
|
-
|
|
973
|
-
|
|
1199
|
+
- [patch] Add a SSR test for every package, add react-dom and build-utils in devDependencies
|
|
1200
|
+
[7e331b5](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/7e331b5)
|
|
1201
|
+
- [none] Updated dependencies
|
|
1202
|
+
[7e331b5](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/7e331b5)
|
|
1203
|
+
- @atlaskit/theme@5.1.1
|
|
974
1204
|
|
|
975
1205
|
## 7.0.0
|
|
976
1206
|
|
|
977
|
-
-
|
|
978
|
-
|
|
979
|
-
|
|
980
|
-
|
|
981
|
-
-
|
|
982
|
-
|
|
983
|
-
|
|
1207
|
+
- [major] Updates to React ^16.4.0
|
|
1208
|
+
[7edb866](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/7edb866)
|
|
1209
|
+
- [major] Updated dependencies
|
|
1210
|
+
[563a7eb](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/563a7eb)
|
|
1211
|
+
- @atlaskit/theme@5.0.0
|
|
1212
|
+
- @atlaskit/docs@5.0.0
|
|
1213
|
+
- [major] Updated dependencies
|
|
1214
|
+
[7edb866](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/7edb866)
|
|
1215
|
+
- @atlaskit/theme@5.0.0
|
|
1216
|
+
- @atlaskit/docs@5.0.0
|
|
984
1217
|
|
|
985
1218
|
## 6.0.1
|
|
986
1219
|
|
|
987
|
-
-
|
|
988
|
-
|
|
1220
|
+
- [patch] Add default theme prop to prevent Code throwing errors when no theme provider is given
|
|
1221
|
+
[07334bc](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/07334bc)
|
|
1222
|
+
- [none] Updated dependencies
|
|
1223
|
+
[07334bc](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/07334bc)
|
|
989
1224
|
|
|
990
1225
|
## 6.0.0
|
|
991
1226
|
|
|
992
|
-
-
|
|
993
|
-
|
|
994
|
-
|
|
1227
|
+
- [major] Significantly reduce the bundle-size of @atlaskit/code by only supporting a subset of
|
|
1228
|
+
languages. Also introduces support for theming the content via @atlaskit/theme. AK-4536
|
|
1229
|
+
[eee2d45](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/eee2d45)
|
|
1230
|
+
- [none] Updated dependencies
|
|
1231
|
+
[eee2d45](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/eee2d45)
|
|
1232
|
+
- @atlaskit/docs@4.2.1
|
|
995
1233
|
|
|
996
1234
|
## 5.0.4
|
|
997
1235
|
|
|
998
|
-
-
|
|
999
|
-
|
|
1000
|
-
|
|
1236
|
+
- [patch] Clean Changelogs - remove duplicates and empty entries
|
|
1237
|
+
[e7756cd](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/e7756cd)
|
|
1238
|
+
- [none] Updated dependencies
|
|
1239
|
+
[e7756cd](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/e7756cd)
|
|
1240
|
+
- @atlaskit/theme@4.0.4
|
|
1001
1241
|
|
|
1002
1242
|
## 5.0.3
|
|
1003
1243
|
|
|
1004
|
-
-
|
|
1005
|
-
|
|
1006
|
-
|
|
1007
|
-
|
|
1244
|
+
- [patch] Update changelogs to remove duplicate
|
|
1245
|
+
[cc58e17](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/cc58e17)
|
|
1246
|
+
- [none] Updated dependencies
|
|
1247
|
+
[cc58e17](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/cc58e17)
|
|
1248
|
+
- @atlaskit/theme@4.0.3
|
|
1249
|
+
- @atlaskit/docs@4.1.1
|
|
1008
1250
|
|
|
1009
1251
|
## 5.0.2
|
|
1010
1252
|
|
|
1011
|
-
-
|
|
1012
|
-
|
|
1013
|
-
|
|
1253
|
+
- [none] Updated dependencies
|
|
1254
|
+
[9d20f54](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/9d20f54)
|
|
1255
|
+
- @atlaskit/docs@4.1.0
|
|
1256
|
+
- @atlaskit/theme@4.0.2
|
|
1014
1257
|
|
|
1015
1258
|
## 5.0.1
|
|
1016
1259
|
|
|
1017
|
-
-
|
|
1018
|
-
-
|
|
1019
|
-
|
|
1020
|
-
|
|
1260
|
+
- [patch] Update readme's [223cd67](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/223cd67)
|
|
1261
|
+
- [patch] Updated dependencies
|
|
1262
|
+
[223cd67](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/223cd67)
|
|
1263
|
+
- @atlaskit/theme@4.0.1
|
|
1264
|
+
- @atlaskit/docs@4.0.1
|
|
1021
1265
|
|
|
1022
1266
|
## 5.0.0
|
|
1023
1267
|
|
|
1024
|
-
-
|
|
1025
|
-
|
|
1026
|
-
|
|
1027
|
-
|
|
1268
|
+
- [major] makes styled-components a peer dependency and upgrades version range from 1.4.6 - 3 to
|
|
1269
|
+
^3.2.6 [1e80619](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/1e80619)
|
|
1270
|
+
- [patch] Updated dependencies
|
|
1271
|
+
[1e80619](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/1e80619)
|
|
1272
|
+
- @atlaskit/theme@4.0.0
|
|
1273
|
+
- @atlaskit/docs@4.0.0
|
|
1028
1274
|
|
|
1029
1275
|
## 4.0.4
|
|
1030
1276
|
|
|
1031
|
-
-
|
|
1032
|
-
|
|
1033
|
-
|
|
1277
|
+
- [patch] Updated dependencies
|
|
1278
|
+
[d662caa](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/d662caa)
|
|
1279
|
+
- @atlaskit/theme@3.2.2
|
|
1280
|
+
- @atlaskit/docs@3.0.4
|
|
1034
1281
|
|
|
1035
1282
|
## 4.0.3
|
|
1036
1283
|
|
|
1037
|
-
-
|
|
1038
|
-
|
|
1284
|
+
- [patch] Align font sizes for inline code, mentions and dates
|
|
1285
|
+
[d2ef1af](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/d2ef1af)
|
|
1286
|
+
- [none] Updated dependencies
|
|
1287
|
+
[d2ef1af](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/d2ef1af)
|
|
1039
1288
|
|
|
1040
1289
|
## 4.0.1
|
|
1041
1290
|
|
|
1042
|
-
-
|
|
1291
|
+
- [patch] Get rid of outdent dependency
|
|
1292
|
+
[6a2c1d9](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/6a2c1d9)
|
|
1043
1293
|
|
|
1044
1294
|
## 4.0.0
|
|
1045
1295
|
|
|
1046
|
-
-
|
|
1296
|
+
- [major] Bump to React 16.3.
|
|
1297
|
+
[4251858](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/4251858)
|
|
1047
1298
|
|
|
1048
1299
|
## 3.1.2
|
|
1049
1300
|
|
|
1050
|
-
-
|
|
1301
|
+
- [patch] Plain text should not be rendered as markdown
|
|
1302
|
+
[fe307dc](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/fe307dc)
|
|
1051
1303
|
|
|
1052
1304
|
## 3.1.1
|
|
1053
1305
|
|
|
1054
|
-
-
|
|
1306
|
+
- [patch] Re-releasing due to potentially broken babel release
|
|
1307
|
+
[9ed0bba](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/9ed0bba)
|
|
1055
1308
|
|
|
1056
1309
|
## 3.1.0
|
|
1057
1310
|
|
|
1058
|
-
-
|
|
1311
|
+
- [minor] Update styled-components dependency to support versions 1.4.6 - 3
|
|
1312
|
+
[ceccf30](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/ceccf30)
|
|
1059
1313
|
|
|
1060
1314
|
## 3.0.6
|
|
1061
1315
|
|
|
1062
|
-
-
|
|
1316
|
+
- [patch] updated the repository url to https://bitbucket.org/atlassian/atlaskit-mk-2
|
|
1317
|
+
[1e57e5a](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/1e57e5a)
|
|
1063
1318
|
|
|
1064
1319
|
## 3.0.5
|
|
1065
1320
|
|
|
1066
|
-
-
|
|
1321
|
+
- [patch] Packages Flow types for elements components
|
|
1322
|
+
[3111e74](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/3111e74)
|
|
1067
1323
|
|
|
1068
1324
|
## 3.0.4
|
|
1069
1325
|
|
|
1070
|
-
-
|
|
1326
|
+
- [patch] Minor manual bump for packages desync'd from npm
|
|
1327
|
+
[e988c58](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/e988c58)
|
|
1071
1328
|
|
|
1072
1329
|
## 3.0.3
|
|
1073
1330
|
|
|
1074
|
-
-
|
|
1331
|
+
- Manual bump to resolve desync with npm package version.
|
|
1075
1332
|
|
|
1076
1333
|
## 3.0.2
|
|
1077
1334
|
|
|
1078
|
-
-
|
|
1335
|
+
- [patch] Enabling syntax highlighter language auto-detect
|
|
1336
|
+
[4831bd2](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/4831bd2)
|
|
1079
1337
|
|
|
1080
1338
|
## 3.0.1
|
|
1081
1339
|
|
|
1082
|
-
-
|
|
1340
|
+
- [patch] Resolved low hanging flow errors in field-base field-text comment icon item and website,
|
|
1341
|
+
\$ [007de27](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/007de27)
|
|
1083
1342
|
|
|
1084
1343
|
## 3.0.0
|
|
1085
1344
|
|
|
1086
|
-
-
|
|
1345
|
+
- [major] Moved to elements repo converted to flow typing, stripped out typescript types
|
|
1346
|
+
[235e392](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/235e392)
|
|
1087
1347
|
|
|
1088
1348
|
## 2.2.1
|
|
1089
1349
|
|
|
1090
|
-
-
|
|
1350
|
+
- [patch] Remove styled-components as a peerDependency from @atlaskit/code.
|
|
1351
|
+
[047032b](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/047032b)
|
|
1091
1352
|
|
|
1092
1353
|
## 2.2.0
|
|
1093
1354
|
|
|
1094
|
-
-
|
|
1355
|
+
- [minor] Add React 16 support.
|
|
1356
|
+
[12ea6e4](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/12ea6e4)
|