@atlaskit/code 15.1.1 → 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 +660 -392
- package/package.json +10 -8
package/CHANGELOG.md
CHANGED
|
@@ -1,678 +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
|
+
|
|
15
|
+
## 15.1.2
|
|
16
|
+
|
|
17
|
+
### Patch Changes
|
|
18
|
+
|
|
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
|
|
22
|
+
|
|
3
23
|
## 15.1.1
|
|
4
24
|
|
|
5
25
|
### Patch Changes
|
|
6
26
|
|
|
7
|
-
-
|
|
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`
|
|
8
30
|
|
|
9
31
|
## 15.1.0
|
|
10
32
|
|
|
11
33
|
### Minor Changes
|
|
12
34
|
|
|
13
|
-
-
|
|
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
|
|
14
38
|
|
|
15
39
|
## 15.0.0
|
|
16
40
|
|
|
17
41
|
### Major Changes
|
|
18
42
|
|
|
19
|
-
-
|
|
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.
|
|
20
47
|
|
|
21
48
|
## 14.6.9
|
|
22
49
|
|
|
23
50
|
### Patch Changes
|
|
24
51
|
|
|
25
|
-
-
|
|
52
|
+
- Updated dependencies
|
|
26
53
|
|
|
27
54
|
## 14.6.8
|
|
28
55
|
|
|
29
56
|
### Patch Changes
|
|
30
57
|
|
|
31
|
-
-
|
|
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
|
|
32
61
|
|
|
33
62
|
## 14.6.7
|
|
34
63
|
|
|
35
64
|
### Patch Changes
|
|
36
65
|
|
|
37
|
-
-
|
|
38
|
-
-
|
|
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
|
|
39
70
|
|
|
40
71
|
## 14.6.6
|
|
41
72
|
|
|
42
73
|
### Patch Changes
|
|
43
74
|
|
|
44
|
-
-
|
|
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.
|
|
45
79
|
|
|
46
80
|
## 14.6.5
|
|
47
81
|
|
|
48
82
|
### Patch Changes
|
|
49
83
|
|
|
50
|
-
-
|
|
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.
|
|
51
87
|
|
|
52
88
|
## 14.6.4
|
|
53
89
|
|
|
54
90
|
### Patch Changes
|
|
55
91
|
|
|
56
|
-
-
|
|
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.
|
|
57
97
|
|
|
58
98
|
## 14.6.3
|
|
59
99
|
|
|
60
100
|
### Patch Changes
|
|
61
101
|
|
|
62
|
-
-
|
|
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.
|
|
63
106
|
|
|
64
107
|
## 14.6.2
|
|
65
108
|
|
|
66
109
|
### Patch Changes
|
|
67
110
|
|
|
68
|
-
-
|
|
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
|
|
69
114
|
|
|
70
115
|
## 14.6.1
|
|
71
116
|
|
|
72
117
|
### Patch Changes
|
|
73
118
|
|
|
74
|
-
-
|
|
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`
|
|
75
122
|
|
|
76
123
|
## 14.6.0
|
|
77
124
|
|
|
78
125
|
### Minor Changes
|
|
79
126
|
|
|
80
|
-
-
|
|
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
|
|
81
130
|
|
|
82
131
|
### Patch Changes
|
|
83
132
|
|
|
84
|
-
-
|
|
133
|
+
- Updated dependencies
|
|
85
134
|
|
|
86
135
|
## 14.5.4
|
|
87
136
|
|
|
88
137
|
### Patch Changes
|
|
89
138
|
|
|
90
|
-
-
|
|
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
|
|
91
142
|
|
|
92
143
|
## 14.5.3
|
|
93
144
|
|
|
94
145
|
### Patch Changes
|
|
95
146
|
|
|
96
|
-
-
|
|
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.
|
|
97
151
|
|
|
98
152
|
## 14.5.2
|
|
99
153
|
|
|
100
154
|
### Patch Changes
|
|
101
155
|
|
|
102
|
-
-
|
|
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`.
|
|
103
160
|
|
|
104
161
|
## 14.5.1
|
|
105
162
|
|
|
106
163
|
### Patch Changes
|
|
107
164
|
|
|
108
|
-
-
|
|
109
|
-
-
|
|
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
|
|
110
169
|
|
|
111
170
|
## 14.5.0
|
|
112
171
|
|
|
113
172
|
### Minor Changes
|
|
114
173
|
|
|
115
|
-
-
|
|
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.
|
|
116
180
|
|
|
117
|
-
|
|
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.
|
|
118
183
|
|
|
119
|
-
|
|
184
|
+
- Fixes a frustrating bug where copying code from `CodeBlock` would also copy line numbers —
|
|
185
|
+
this no longer occurs!
|
|
120
186
|
|
|
121
|
-
|
|
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.
|
|
122
192
|
|
|
123
|
-
|
|
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.
|
|
124
197
|
|
|
125
198
|
### Patch Changes
|
|
126
199
|
|
|
127
|
-
-
|
|
200
|
+
- Updated dependencies
|
|
128
201
|
|
|
129
202
|
## 14.4.8
|
|
130
203
|
|
|
131
204
|
### Patch Changes
|
|
132
205
|
|
|
133
|
-
-
|
|
206
|
+
- Updated dependencies
|
|
134
207
|
|
|
135
208
|
## 14.4.7
|
|
136
209
|
|
|
137
210
|
### Patch Changes
|
|
138
211
|
|
|
139
|
-
-
|
|
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.
|
|
140
215
|
|
|
141
216
|
## 14.4.6
|
|
142
217
|
|
|
143
218
|
### Patch Changes
|
|
144
219
|
|
|
145
|
-
-
|
|
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.
|
|
146
223
|
|
|
147
224
|
## 14.4.5
|
|
148
225
|
|
|
149
226
|
### Patch Changes
|
|
150
227
|
|
|
151
|
-
-
|
|
228
|
+
- Updated dependencies
|
|
152
229
|
|
|
153
230
|
## 14.4.4
|
|
154
231
|
|
|
155
232
|
### Patch Changes
|
|
156
233
|
|
|
157
|
-
-
|
|
234
|
+
- Updated dependencies
|
|
158
235
|
|
|
159
236
|
## 14.4.3
|
|
160
237
|
|
|
161
238
|
### Patch Changes
|
|
162
239
|
|
|
163
|
-
-
|
|
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
|
|
164
244
|
|
|
165
245
|
## 14.4.2
|
|
166
246
|
|
|
167
247
|
### Patch Changes
|
|
168
248
|
|
|
169
|
-
-
|
|
249
|
+
- Updated dependencies
|
|
170
250
|
|
|
171
251
|
## 14.4.1
|
|
172
252
|
|
|
173
253
|
### Patch Changes
|
|
174
254
|
|
|
175
|
-
-
|
|
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.
|
|
176
258
|
|
|
177
259
|
## 14.4.0
|
|
178
260
|
|
|
179
261
|
### Minor Changes
|
|
180
262
|
|
|
181
|
-
-
|
|
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.
|
|
182
266
|
|
|
183
267
|
### Patch Changes
|
|
184
268
|
|
|
185
|
-
-
|
|
269
|
+
- Updated dependencies
|
|
186
270
|
|
|
187
271
|
## 14.3.10
|
|
188
272
|
|
|
189
273
|
### Patch Changes
|
|
190
274
|
|
|
191
|
-
-
|
|
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`
|
|
192
278
|
|
|
193
279
|
## 14.3.9
|
|
194
280
|
|
|
195
281
|
### Patch Changes
|
|
196
282
|
|
|
197
|
-
-
|
|
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`.
|
|
198
286
|
|
|
199
287
|
## 14.3.8
|
|
200
288
|
|
|
201
289
|
### Patch Changes
|
|
202
290
|
|
|
203
|
-
-
|
|
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.
|
|
204
294
|
|
|
205
295
|
## 14.3.7
|
|
206
296
|
|
|
207
297
|
### Patch Changes
|
|
208
298
|
|
|
209
|
-
-
|
|
299
|
+
- Updated dependencies
|
|
210
300
|
|
|
211
301
|
## 14.3.6
|
|
212
302
|
|
|
213
303
|
### Patch Changes
|
|
214
304
|
|
|
215
|
-
-
|
|
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
|
|
216
308
|
|
|
217
309
|
## 14.3.5
|
|
218
310
|
|
|
219
311
|
### Patch Changes
|
|
220
312
|
|
|
221
|
-
-
|
|
222
|
-
-
|
|
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
|
|
223
318
|
|
|
224
319
|
## 14.3.4
|
|
225
320
|
|
|
226
321
|
### Patch Changes
|
|
227
322
|
|
|
228
|
-
-
|
|
323
|
+
- Updated dependencies
|
|
229
324
|
|
|
230
325
|
## 14.3.3
|
|
231
326
|
|
|
232
327
|
### Patch Changes
|
|
233
328
|
|
|
234
|
-
-
|
|
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`.
|
|
235
332
|
|
|
236
|
-
|
|
237
|
-
|
|
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.
|
|
238
336
|
|
|
239
|
-
-
|
|
337
|
+
- Updated dependencies
|
|
240
338
|
|
|
241
339
|
## 14.3.2
|
|
242
340
|
|
|
243
341
|
### Patch Changes
|
|
244
342
|
|
|
245
|
-
-
|
|
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
|
|
246
346
|
|
|
247
347
|
## 14.3.1
|
|
248
348
|
|
|
249
349
|
### Patch Changes
|
|
250
350
|
|
|
251
|
-
-
|
|
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
|
|
252
354
|
|
|
253
355
|
## 14.3.0
|
|
254
356
|
|
|
255
357
|
### Minor Changes
|
|
256
358
|
|
|
257
|
-
-
|
|
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
|
|
258
364
|
|
|
259
365
|
## 14.2.0
|
|
260
366
|
|
|
261
367
|
### Minor Changes
|
|
262
368
|
|
|
263
|
-
-
|
|
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
|
|
264
372
|
|
|
265
373
|
## 14.1.5
|
|
266
374
|
|
|
267
375
|
### Patch Changes
|
|
268
376
|
|
|
269
|
-
-
|
|
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
|
|
270
380
|
|
|
271
381
|
## 14.1.4
|
|
272
382
|
|
|
273
383
|
### Patch Changes
|
|
274
384
|
|
|
275
|
-
-
|
|
385
|
+
- Updated dependencies
|
|
276
386
|
|
|
277
387
|
## 14.1.3
|
|
278
388
|
|
|
279
389
|
### Patch Changes
|
|
280
390
|
|
|
281
|
-
-
|
|
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`.
|
|
282
394
|
|
|
283
395
|
## 14.1.2
|
|
284
396
|
|
|
285
397
|
### Patch Changes
|
|
286
398
|
|
|
287
|
-
-
|
|
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.
|
|
288
403
|
|
|
289
404
|
## 14.1.1
|
|
290
405
|
|
|
291
406
|
### Patch Changes
|
|
292
407
|
|
|
293
|
-
-
|
|
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.
|
|
294
411
|
|
|
295
412
|
## 14.1.0
|
|
296
413
|
|
|
297
414
|
### Minor Changes
|
|
298
415
|
|
|
299
|
-
-
|
|
300
|
-
|
|
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.
|
|
301
420
|
|
|
302
421
|
## 14.0.1
|
|
303
422
|
|
|
304
423
|
### Patch Changes
|
|
305
424
|
|
|
306
|
-
-
|
|
307
|
-
-
|
|
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
|
|
308
430
|
|
|
309
431
|
## 14.0.0
|
|
310
432
|
|
|
311
433
|
### Major Changes
|
|
312
434
|
|
|
313
|
-
-
|
|
435
|
+
- [#10230](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/10230)
|
|
436
|
+
[`e8f66c36dd7`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e8f66c36dd7) -
|
|
437
|
+
**BREAKING CHANGES**
|
|
314
438
|
|
|
315
|
-
|
|
439
|
+
This version includes several breaking changes to improve performance of the `@atlaskit/code`
|
|
440
|
+
package.
|
|
316
441
|
|
|
317
|
-
|
|
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.
|
|
318
445
|
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
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
|
+
```
|
|
325
452
|
|
|
326
|
-
|
|
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:
|
|
327
455
|
|
|
328
|
-
|
|
329
|
-
|
|
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
|
|
330
459
|
|
|
331
|
-
|
|
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.
|
|
332
463
|
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
464
|
+
```js
|
|
465
|
+
import { Code } from '@atlaskit/code';
|
|
466
|
+
// --> to
|
|
467
|
+
import Code from '@atlaskit/code/inline';
|
|
337
468
|
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
469
|
+
import { CodeBlock } from '@atlaskit/code';
|
|
470
|
+
// --> to
|
|
471
|
+
import CodeBlock from '@atlaskit/code/block';
|
|
341
472
|
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
473
|
+
// note this will still work
|
|
474
|
+
import { Code, CodeBlock } from '@atlaskit/code';
|
|
475
|
+
```
|
|
345
476
|
|
|
346
|
-
|
|
477
|
+
Finally, `CodeBlock` has had type improvements, and internal optimisations to facilitate faster
|
|
478
|
+
rendering and updates.
|
|
347
479
|
|
|
348
|
-
-
|
|
480
|
+
- [`7e091c1d415`](https://bitbucket.org/atlassian/atlassian-frontend/commits/7e091c1d415) -
|
|
481
|
+
BREAKING CHANGE:
|
|
349
482
|
|
|
350
|
-
|
|
483
|
+
The `codeStyle` prop has now been removed on the `Code` component.
|
|
351
484
|
|
|
352
|
-
|
|
485
|
+
For reference, previously this type of usage would effect the styling of any numbers in the code
|
|
486
|
+
text.
|
|
353
487
|
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
488
|
+
```js
|
|
489
|
+
<Code codeStyle={{ number: 'red' }} text={someCode} />
|
|
490
|
+
```
|
|
357
491
|
|
|
358
|
-
|
|
492
|
+
Due to internal changes the above usage is no longer possible.
|
|
359
493
|
|
|
360
|
-
|
|
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.
|
|
361
497
|
|
|
362
498
|
### Minor Changes
|
|
363
499
|
|
|
364
|
-
-
|
|
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.
|
|
365
503
|
|
|
366
504
|
### Patch Changes
|
|
367
505
|
|
|
368
|
-
-
|
|
369
|
-
|
|
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
|
|
370
509
|
|
|
371
510
|
## 13.2.3
|
|
372
511
|
|
|
373
512
|
### Patch Changes
|
|
374
513
|
|
|
375
|
-
-
|
|
376
|
-
-
|
|
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
|
|
377
518
|
|
|
378
519
|
## 13.2.2
|
|
379
520
|
|
|
380
521
|
### Patch Changes
|
|
381
522
|
|
|
382
|
-
-
|
|
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
|
|
383
527
|
|
|
384
528
|
## 13.2.1
|
|
385
529
|
|
|
386
530
|
### Patch Changes
|
|
387
531
|
|
|
388
|
-
-
|
|
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
|
|
389
535
|
|
|
390
536
|
## 13.2.0
|
|
391
537
|
|
|
392
538
|
### Minor Changes
|
|
393
539
|
|
|
394
|
-
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
-
|
|
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.
|
|
418
579
|
|
|
419
580
|
## 13.1.1
|
|
420
581
|
|
|
421
582
|
### Patch Changes
|
|
422
583
|
|
|
423
|
-
-
|
|
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
|
|
424
587
|
|
|
425
588
|
## 13.1.0
|
|
426
589
|
|
|
427
590
|
### Minor Changes
|
|
428
591
|
|
|
429
|
-
-
|
|
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.
|
|
430
597
|
|
|
431
598
|
## 13.0.3
|
|
432
599
|
|
|
433
600
|
### Patch Changes
|
|
434
601
|
|
|
435
|
-
-
|
|
436
|
-
|
|
437
|
-
|
|
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.
|
|
438
608
|
|
|
439
609
|
## 13.0.2
|
|
440
610
|
|
|
441
611
|
### Patch Changes
|
|
442
612
|
|
|
443
|
-
-
|
|
613
|
+
- Updated dependencies
|
|
444
614
|
|
|
445
615
|
## 13.0.1
|
|
446
616
|
|
|
447
617
|
### Patch Changes
|
|
448
618
|
|
|
449
|
-
-
|
|
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
|
|
450
622
|
|
|
451
623
|
## 13.0.0
|
|
452
624
|
|
|
453
625
|
### Major Changes
|
|
454
626
|
|
|
455
|
-
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
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.
|
|
462
640
|
|
|
463
641
|
### Patch Changes
|
|
464
642
|
|
|
465
|
-
-
|
|
643
|
+
- [`336f870e37`](https://bitbucket.org/atlassian/atlassian-frontend/commits/336f870e37) - fix
|
|
644
|
+
exception errors of syntax highlighter for several languages
|
|
466
645
|
|
|
467
646
|
## 12.0.3
|
|
468
647
|
|
|
469
648
|
### Patch Changes
|
|
470
649
|
|
|
471
|
-
-
|
|
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
|
|
472
653
|
|
|
473
|
-
|
|
474
|
-
|
|
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.
|
|
475
656
|
|
|
476
657
|
## 12.0.2
|
|
477
658
|
|
|
478
659
|
### Patch Changes
|
|
479
660
|
|
|
480
|
-
-
|
|
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.
|
|
481
664
|
|
|
482
665
|
## 12.0.1
|
|
483
666
|
|
|
484
667
|
### Patch Changes
|
|
485
668
|
|
|
486
|
-
-
|
|
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
|
|
487
672
|
|
|
488
673
|
## 12.0.0
|
|
489
674
|
|
|
490
675
|
### Major Changes
|
|
491
676
|
|
|
492
|
-
-
|
|
493
|
-
|
|
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
|
|
494
682
|
|
|
495
683
|
### Patch Changes
|
|
496
684
|
|
|
497
|
-
-
|
|
685
|
+
- Updated dependencies
|
|
498
686
|
|
|
499
687
|
## 11.1.6
|
|
500
688
|
|
|
501
689
|
### Patch Changes
|
|
502
690
|
|
|
503
|
-
-
|
|
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
|
|
504
694
|
|
|
505
695
|
## 11.1.5
|
|
506
696
|
|
|
507
697
|
### Patch Changes
|
|
508
698
|
|
|
509
|
-
-
|
|
699
|
+
- [patch][f7f2068a76](https://bitbucket.org/atlassian/atlassian-frontend/commits/f7f2068a76):
|
|
510
700
|
|
|
511
|
-
|
|
701
|
+
Change imports to comply with Atlassian conventions
|
|
512
702
|
|
|
513
703
|
## 11.1.4
|
|
514
704
|
|
|
515
705
|
### Patch Changes
|
|
516
706
|
|
|
517
|
-
-
|
|
707
|
+
- [patch][5f5b93071f](https://bitbucket.org/atlassian/atlassian-frontend/commits/5f5b93071f):
|
|
518
708
|
|
|
519
|
-
|
|
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):
|
|
520
712
|
|
|
521
|
-
-
|
|
522
|
-
|
|
523
|
-
|
|
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
|
|
524
717
|
|
|
525
718
|
## 11.1.3
|
|
526
719
|
|
|
527
720
|
### Patch Changes
|
|
528
721
|
|
|
529
|
-
-
|
|
722
|
+
- [patch][6548261c9a](https://bitbucket.org/atlassian/atlassian-frontend/commits/6548261c9a):
|
|
530
723
|
|
|
531
|
-
|
|
724
|
+
Remove namespace imports from React, ReactDom, and PropTypes- Updated dependencies
|
|
725
|
+
[6548261c9a](https://bitbucket.org/atlassian/atlassian-frontend/commits/6548261c9a):
|
|
532
726
|
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
727
|
+
- @atlaskit/docs@8.3.2
|
|
728
|
+
- @atlaskit/visual-regression@0.1.9
|
|
729
|
+
- @atlaskit/theme@9.5.1
|
|
536
730
|
|
|
537
731
|
## 11.1.2
|
|
538
732
|
|
|
539
733
|
### Patch Changes
|
|
540
734
|
|
|
541
|
-
-
|
|
735
|
+
- [patch][b52f2be5d9](https://bitbucket.org/atlassian/atlassian-frontend/commits/b52f2be5d9):
|
|
542
736
|
|
|
543
|
-
|
|
737
|
+
ThemedCode and ThemeCodeBlock props are now correctly typed- Updated dependencies
|
|
738
|
+
[d2b8166208](https://bitbucket.org/atlassian/atlassian-frontend/commits/d2b8166208):
|
|
544
739
|
|
|
545
|
-
|
|
740
|
+
- @atlaskit/docs@8.3.0
|
|
546
741
|
|
|
547
742
|
## 11.1.1
|
|
548
743
|
|
|
549
744
|
### Patch Changes
|
|
550
745
|
|
|
551
|
-
-
|
|
746
|
+
- [patch][4a223473c5](https://bitbucket.org/atlassian/atlassian-frontend/commits/4a223473c5):
|
|
552
747
|
|
|
553
|
-
|
|
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):
|
|
554
751
|
|
|
555
|
-
|
|
752
|
+
- @atlaskit/theme@9.5.0
|
|
556
753
|
|
|
557
754
|
## 11.1.0
|
|
558
755
|
|
|
559
756
|
### Minor Changes
|
|
560
757
|
|
|
561
|
-
-
|
|
758
|
+
- [minor][9648afc5be](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/9648afc5be):
|
|
562
759
|
|
|
563
|
-
|
|
564
|
-
|
|
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!
|
|
565
762
|
|
|
566
|
-
|
|
763
|
+
The `highlight` prop can be used as follows:
|
|
567
764
|
|
|
568
|
-
|
|
569
|
-
`highlight="
|
|
570
|
-
|
|
571
|
-
`highlight="1-5"`
|
|
572
|
-
- To highlight sequential and multiple single lines:
|
|
573
|
-
`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"`
|
|
574
768
|
|
|
575
|
-
|
|
769
|
+
**`AkCodeBlock` component**
|
|
576
770
|
|
|
577
|
-
|
|
771
|
+
Use the `highlight` prop.
|
|
578
772
|
|
|
579
|
-
|
|
580
|
-
|
|
773
|
+
```js
|
|
774
|
+
import { AkCodeBlock } from '@atlaskit/code';
|
|
581
775
|
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
776
|
+
<AkCodeBlock
|
|
777
|
+
highlight="1-2"
|
|
778
|
+
text={`
|
|
779
|
+
<div>
|
|
780
|
+
hello there
|
|
781
|
+
<span>buds</span>
|
|
782
|
+
</div>
|
|
783
|
+
`}
|
|
784
|
+
/>;
|
|
785
|
+
```
|
|
592
786
|
|
|
593
|
-
|
|
787
|
+
**`Example` component**
|
|
594
788
|
|
|
595
|
-
|
|
789
|
+
Use the `highlight` prop.
|
|
596
790
|
|
|
597
|
-
|
|
598
|
-
|
|
791
|
+
```js
|
|
792
|
+
import { Example } from '@atlaskit/docs';
|
|
599
793
|
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
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
|
+
```
|
|
608
802
|
|
|
609
|
-
|
|
803
|
+
**`code` template literal**
|
|
610
804
|
|
|
611
|
-
|
|
612
|
-
|
|
805
|
+
Add `highlight=` to the top of your code snippet. It takes the same values as the `highlight`
|
|
806
|
+
prop.
|
|
613
807
|
|
|
614
|
-
|
|
615
|
-
|
|
808
|
+
```js
|
|
809
|
+
import { code } from '@atlaskit/docs';
|
|
616
810
|
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
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
|
+
```
|
|
627
821
|
|
|
628
822
|
## 11.0.14
|
|
629
823
|
|
|
630
824
|
### Patch Changes
|
|
631
825
|
|
|
632
|
-
-
|
|
826
|
+
- [patch][35d2229b2a](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/35d2229b2a):
|
|
633
827
|
|
|
634
|
-
|
|
828
|
+
Adding missing license to packages and update to Copyright 2019 Atlassian Pty Ltd.
|
|
635
829
|
|
|
636
830
|
## 11.0.13
|
|
637
831
|
|
|
638
832
|
### Patch Changes
|
|
639
833
|
|
|
640
|
-
-
|
|
834
|
+
- [patch][a2d0043716](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/a2d0043716):
|
|
641
835
|
|
|
642
|
-
|
|
836
|
+
Updated version of analytics-next to fix potential incompatibilities with TS 3.6
|
|
643
837
|
|
|
644
838
|
## 11.0.12
|
|
645
839
|
|
|
646
840
|
### Patch Changes
|
|
647
841
|
|
|
648
|
-
-
|
|
842
|
+
- [patch][65ada7f318](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/65ada7f318):
|
|
649
843
|
|
|
650
|
-
|
|
844
|
+
**FABDODGEM-12 Editor Cashmere Release**
|
|
651
845
|
|
|
652
|
-
|
|
846
|
+
- [Internal post](http://go.atlassian.com/cashmere-release)
|
|
653
847
|
|
|
654
|
-
|
|
848
|
+
**Affected editor components:**
|
|
655
849
|
|
|
656
|
-
|
|
850
|
+
tables, media, mobile, text color, emoji, copy/paste, analytics
|
|
657
851
|
|
|
658
|
-
|
|
852
|
+
**Performance**
|
|
659
853
|
|
|
660
|
-
|
|
661
|
-
|
|
854
|
+
- Async import for code blocks and task items on renderer
|
|
855
|
+
- https://product-fabric.atlassian.net/browse/ED-7155
|
|
662
856
|
|
|
663
|
-
|
|
857
|
+
**Table**
|
|
664
858
|
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
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
|
|
669
863
|
|
|
670
|
-
|
|
864
|
+
**Text color**
|
|
671
865
|
|
|
672
|
-
|
|
673
|
-
|
|
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
|
|
674
868
|
|
|
675
|
-
**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
|
|
676
871
|
|
|
677
872
|
**Copy and Paste**
|
|
678
873
|
|
|
@@ -687,17 +882,17 @@
|
|
|
687
882
|
|
|
688
883
|
**Media**
|
|
689
884
|
|
|
690
|
-
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
-
|
|
698
|
-
|
|
699
|
-
-
|
|
700
|
-
|
|
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
|
|
701
896
|
|
|
702
897
|
**Notable Bug Fixes**
|
|
703
898
|
|
|
@@ -712,377 +907,450 @@
|
|
|
712
907
|
- Fixed bug where custom emojis are not been showed on the editor
|
|
713
908
|
- https://product-fabric.atlassian.net/browse/ED-7726
|
|
714
909
|
|
|
715
|
-
-
|
|
910
|
+
- [patch][1715ad2bd5](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/1715ad2bd5):
|
|
716
911
|
|
|
717
|
-
|
|
912
|
+
ED-7731: add support for GraphQL syntax highlighting
|
|
718
913
|
|
|
719
914
|
## 11.0.11
|
|
720
915
|
|
|
721
916
|
### Patch Changes
|
|
722
917
|
|
|
723
|
-
-
|
|
918
|
+
- [patch][097b696613](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/097b696613):
|
|
724
919
|
|
|
725
|
-
|
|
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
|
|
726
922
|
|
|
727
923
|
## 11.0.10
|
|
728
924
|
|
|
729
925
|
### Patch Changes
|
|
730
926
|
|
|
731
|
-
-
|
|
927
|
+
- [patch][ecca4d1dbb](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/ecca4d1dbb):
|
|
732
928
|
|
|
733
|
-
|
|
929
|
+
Upgraded Typescript to 3.3.x
|
|
734
930
|
|
|
735
931
|
## 11.0.9
|
|
736
932
|
|
|
737
933
|
### Patch Changes
|
|
738
934
|
|
|
739
|
-
-
|
|
935
|
+
- [patch][708028db86](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/708028db86):
|
|
740
936
|
|
|
741
|
-
|
|
937
|
+
Change all the imports to theme in Core to use multi entry points
|
|
742
938
|
|
|
743
939
|
## 11.0.8
|
|
744
940
|
|
|
745
941
|
### Patch Changes
|
|
746
942
|
|
|
747
|
-
-
|
|
943
|
+
- [patch][abee1a5f4f](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/abee1a5f4f):
|
|
748
944
|
|
|
749
|
-
|
|
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.
|
|
750
947
|
|
|
751
948
|
## 11.0.7
|
|
752
949
|
|
|
753
950
|
### Patch Changes
|
|
754
951
|
|
|
755
|
-
-
|
|
952
|
+
- [patch][de35ce8c67](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/de35ce8c67):
|
|
756
953
|
|
|
757
|
-
|
|
954
|
+
Updates component maintainers
|
|
758
955
|
|
|
759
956
|
## 11.0.6
|
|
760
957
|
|
|
761
958
|
### Patch Changes
|
|
762
959
|
|
|
763
|
-
-
|
|
960
|
+
- [patch][bbff8a7d87](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/bbff8a7d87):
|
|
764
961
|
|
|
765
|
-
|
|
962
|
+
Fixes bug, missing version.json file
|
|
766
963
|
|
|
767
964
|
## 11.0.5
|
|
768
965
|
|
|
769
966
|
### Patch Changes
|
|
770
967
|
|
|
771
|
-
-
|
|
968
|
+
- [patch][18dfac7332](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/18dfac7332):
|
|
772
969
|
|
|
773
|
-
|
|
970
|
+
In this PR, we are:
|
|
774
971
|
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
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
|
|
781
980
|
|
|
782
981
|
## 11.0.4
|
|
783
982
|
|
|
784
983
|
### Patch Changes
|
|
785
984
|
|
|
786
|
-
-
|
|
985
|
+
- [patch][29a1f158c1](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/29a1f158c1):
|
|
787
986
|
|
|
788
|
-
|
|
987
|
+
Use default react import in typescript files.
|
|
789
988
|
|
|
790
989
|
## 11.0.3
|
|
791
990
|
|
|
792
991
|
### Patch Changes
|
|
793
992
|
|
|
794
|
-
-
|
|
993
|
+
- [patch][4615439434](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/4615439434):
|
|
795
994
|
|
|
796
|
-
|
|
995
|
+
index.ts will now be ignored when publishing to npm
|
|
797
996
|
|
|
798
997
|
## 11.0.2
|
|
799
998
|
|
|
800
999
|
### Patch Changes
|
|
801
1000
|
|
|
802
|
-
-
|
|
1001
|
+
- [patch][93bcf314c6](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/93bcf314c6):
|
|
803
1002
|
|
|
804
|
-
|
|
1003
|
+
Added missing tslib dep
|
|
805
1004
|
|
|
806
1005
|
## 11.0.1
|
|
807
1006
|
|
|
808
|
-
-
|
|
1007
|
+
- [patch][b0ef06c685](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/b0ef06c685):
|
|
809
1008
|
|
|
810
|
-
|
|
1009
|
+
- This is just a safety release in case anything strange happened in in the previous one. See
|
|
1010
|
+
Pull Request #5942 for details
|
|
811
1011
|
|
|
812
1012
|
## 11.0.0
|
|
813
1013
|
|
|
814
|
-
-
|
|
1014
|
+
- [major][97bfe81ec8](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/97bfe81ec8):
|
|
815
1015
|
|
|
816
|
-
|
|
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.
|
|
817
1018
|
|
|
818
1019
|
## 10.0.0
|
|
819
1020
|
|
|
820
|
-
-
|
|
1021
|
+
- [major][7c17b35107](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/7c17b35107):
|
|
821
1022
|
|
|
822
|
-
|
|
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.
|
|
823
1025
|
|
|
824
1026
|
## 9.0.1
|
|
825
1027
|
|
|
826
|
-
-
|
|
827
|
-
|
|
828
|
-
|
|
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
|
|
829
1032
|
|
|
830
1033
|
## 9.0.0
|
|
831
1034
|
|
|
832
|
-
-
|
|
1035
|
+
- [major][76299208e6](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/76299208e6):
|
|
833
1036
|
|
|
834
|
-
|
|
1037
|
+
- Drop ES5 from all the flow modules
|
|
835
1038
|
|
|
836
|
-
|
|
1039
|
+
### Dropping CJS support in all @atlaskit packages
|
|
837
1040
|
|
|
838
|
-
|
|
839
|
-
|
|
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.
|
|
840
1044
|
|
|
841
|
-
|
|
1045
|
+
The major reason for doing this is to allow us to support multiple entry points in packages,
|
|
1046
|
+
e.g:
|
|
842
1047
|
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
|
|
1048
|
+
```js
|
|
1049
|
+
import colors from `@atlaskit/theme/colors`;
|
|
1050
|
+
```
|
|
846
1051
|
|
|
847
|
-
|
|
1052
|
+
Previously this was sort of possible for consumers by doing something like:
|
|
848
1053
|
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
|
|
1054
|
+
```js
|
|
1055
|
+
import colors from `@atlaskit/theme/dist/esm/colors`;
|
|
1056
|
+
```
|
|
852
1057
|
|
|
853
|
-
|
|
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.
|
|
854
1063
|
|
|
855
|
-
|
|
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.
|
|
856
1067
|
|
|
857
|
-
|
|
1068
|
+
ES Modules are widely supported by all modern bundlers and can be worked around in node
|
|
1069
|
+
environments.
|
|
858
1070
|
|
|
859
|
-
|
|
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.
|
|
860
1074
|
|
|
861
|
-
|
|
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.
|
|
862
1078
|
|
|
863
1079
|
## 8.2.3
|
|
864
1080
|
|
|
865
|
-
-
|
|
1081
|
+
- [patch][d49e9bbb13](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/d49e9bbb13):
|
|
866
1082
|
|
|
867
|
-
|
|
1083
|
+
- Expose the props on website
|
|
868
1084
|
|
|
869
1085
|
## 8.2.2
|
|
870
1086
|
|
|
871
|
-
-
|
|
872
|
-
|
|
873
|
-
|
|
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
|
|
874
1090
|
|
|
875
1091
|
## 8.2.1
|
|
876
1092
|
|
|
877
|
-
-
|
|
878
|
-
|
|
879
|
-
|
|
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
|
|
880
1096
|
|
|
881
1097
|
## 8.2.0
|
|
882
1098
|
|
|
883
|
-
-
|
|
1099
|
+
- [minor][10fe416](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/10fe416):
|
|
884
1100
|
|
|
885
|
-
|
|
1101
|
+
- Props Language should be required and surfacing more props for code
|
|
886
1102
|
|
|
887
1103
|
## 8.1.1
|
|
888
1104
|
|
|
889
|
-
-
|
|
1105
|
+
- [patch][84e8015](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/84e8015):
|
|
890
1106
|
|
|
891
|
-
|
|
1107
|
+
- Bump react-syntax-highlighter to 10.0.1
|
|
892
1108
|
|
|
893
1109
|
## 8.1.0
|
|
894
1110
|
|
|
895
|
-
-
|
|
1111
|
+
- [minor][26027dd](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/26027dd):
|
|
896
1112
|
|
|
897
|
-
|
|
1113
|
+
- Upgrade react syntax highlighter to version that ships its own async loaded languages and
|
|
1114
|
+
supports SSR
|
|
898
1115
|
|
|
899
1116
|
## 8.0.12
|
|
900
1117
|
|
|
901
|
-
-
|
|
1118
|
+
- [patch] Inline code should wrap
|
|
1119
|
+
[f1d9a54](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/f1d9a54)
|
|
902
1120
|
|
|
903
1121
|
## 8.0.11
|
|
904
1122
|
|
|
905
|
-
-
|
|
1123
|
+
- [patch] Fix webpack 3 support for page & code
|
|
1124
|
+
[03af95e](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/03af95e)
|
|
906
1125
|
|
|
907
1126
|
## 8.0.10
|
|
908
1127
|
|
|
909
|
-
-
|
|
1128
|
+
- [patch] Update babel config to transpile out dynamic imports for commonjs
|
|
1129
|
+
[2dae295](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/2dae295)
|
|
910
1130
|
|
|
911
1131
|
## 8.0.9
|
|
912
1132
|
|
|
913
|
-
-
|
|
1133
|
+
- [patch] Adds missing implicit @babel/runtime dependency
|
|
1134
|
+
[b71751b](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/b71751b)
|
|
914
1135
|
|
|
915
1136
|
## 8.0.8
|
|
916
1137
|
|
|
917
|
-
-
|
|
1138
|
+
- [patch] Add some padding to the code without line numbers
|
|
1139
|
+
[67cd63d](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/67cd63d)
|
|
918
1140
|
|
|
919
1141
|
## 8.0.7
|
|
920
1142
|
|
|
921
|
-
-
|
|
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)
|
|
922
1145
|
|
|
923
1146
|
## 8.0.6
|
|
924
1147
|
|
|
925
|
-
-
|
|
1148
|
+
- [patch] Async load highlighter languages
|
|
1149
|
+
[9102fa2](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/9102fa2)
|
|
926
1150
|
|
|
927
1151
|
## 8.0.5
|
|
928
1152
|
|
|
929
|
-
-
|
|
1153
|
+
- [patch] Upgrade react-syntax-highlighter again and use async loaded prism
|
|
1154
|
+
[260d66a](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/260d66a)
|
|
930
1155
|
|
|
931
1156
|
## 8.0.4
|
|
932
1157
|
|
|
933
|
-
-
|
|
1158
|
+
- [patch] Upgraded react-syntax-highlighter to 8.0.2
|
|
1159
|
+
[7cc7000](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/7cc7000)
|
|
934
1160
|
|
|
935
1161
|
## 8.0.3
|
|
936
1162
|
|
|
937
|
-
-
|
|
1163
|
+
- [patch] Adds sideEffects: false to allow proper tree shaking
|
|
1164
|
+
[b5d6d04](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/b5d6d04)
|
|
938
1165
|
|
|
939
1166
|
## 8.0.1
|
|
940
1167
|
|
|
941
|
-
-
|
|
942
|
-
|
|
943
|
-
|
|
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
|
|
944
1172
|
|
|
945
1173
|
## 8.0.0
|
|
946
1174
|
|
|
947
|
-
-
|
|
948
|
-
|
|
949
|
-
|
|
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
|
|
950
1180
|
|
|
951
1181
|
## 7.0.3
|
|
952
1182
|
|
|
953
|
-
-
|
|
954
|
-
|
|
955
|
-
|
|
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
|
|
956
1189
|
|
|
957
1190
|
## 7.0.2
|
|
958
1191
|
|
|
959
|
-
-
|
|
960
|
-
|
|
961
|
-
|
|
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
|
|
962
1196
|
|
|
963
1197
|
## 7.0.1
|
|
964
1198
|
|
|
965
|
-
-
|
|
966
|
-
|
|
967
|
-
|
|
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
|
|
968
1204
|
|
|
969
1205
|
## 7.0.0
|
|
970
1206
|
|
|
971
|
-
-
|
|
972
|
-
|
|
973
|
-
|
|
974
|
-
|
|
975
|
-
-
|
|
976
|
-
|
|
977
|
-
|
|
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
|
|
978
1217
|
|
|
979
1218
|
## 6.0.1
|
|
980
1219
|
|
|
981
|
-
-
|
|
982
|
-
|
|
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)
|
|
983
1224
|
|
|
984
1225
|
## 6.0.0
|
|
985
1226
|
|
|
986
|
-
-
|
|
987
|
-
|
|
988
|
-
|
|
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
|
|
989
1233
|
|
|
990
1234
|
## 5.0.4
|
|
991
1235
|
|
|
992
|
-
-
|
|
993
|
-
|
|
994
|
-
|
|
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
|
|
995
1241
|
|
|
996
1242
|
## 5.0.3
|
|
997
1243
|
|
|
998
|
-
-
|
|
999
|
-
|
|
1000
|
-
|
|
1001
|
-
|
|
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
|
|
1002
1250
|
|
|
1003
1251
|
## 5.0.2
|
|
1004
1252
|
|
|
1005
|
-
-
|
|
1006
|
-
|
|
1007
|
-
|
|
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
|
|
1008
1257
|
|
|
1009
1258
|
## 5.0.1
|
|
1010
1259
|
|
|
1011
|
-
-
|
|
1012
|
-
-
|
|
1013
|
-
|
|
1014
|
-
|
|
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
|
|
1015
1265
|
|
|
1016
1266
|
## 5.0.0
|
|
1017
1267
|
|
|
1018
|
-
-
|
|
1019
|
-
|
|
1020
|
-
|
|
1021
|
-
|
|
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
|
|
1022
1274
|
|
|
1023
1275
|
## 4.0.4
|
|
1024
1276
|
|
|
1025
|
-
-
|
|
1026
|
-
|
|
1027
|
-
|
|
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
|
|
1028
1281
|
|
|
1029
1282
|
## 4.0.3
|
|
1030
1283
|
|
|
1031
|
-
-
|
|
1032
|
-
|
|
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)
|
|
1033
1288
|
|
|
1034
1289
|
## 4.0.1
|
|
1035
1290
|
|
|
1036
|
-
-
|
|
1291
|
+
- [patch] Get rid of outdent dependency
|
|
1292
|
+
[6a2c1d9](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/6a2c1d9)
|
|
1037
1293
|
|
|
1038
1294
|
## 4.0.0
|
|
1039
1295
|
|
|
1040
|
-
-
|
|
1296
|
+
- [major] Bump to React 16.3.
|
|
1297
|
+
[4251858](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/4251858)
|
|
1041
1298
|
|
|
1042
1299
|
## 3.1.2
|
|
1043
1300
|
|
|
1044
|
-
-
|
|
1301
|
+
- [patch] Plain text should not be rendered as markdown
|
|
1302
|
+
[fe307dc](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/fe307dc)
|
|
1045
1303
|
|
|
1046
1304
|
## 3.1.1
|
|
1047
1305
|
|
|
1048
|
-
-
|
|
1306
|
+
- [patch] Re-releasing due to potentially broken babel release
|
|
1307
|
+
[9ed0bba](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/9ed0bba)
|
|
1049
1308
|
|
|
1050
1309
|
## 3.1.0
|
|
1051
1310
|
|
|
1052
|
-
-
|
|
1311
|
+
- [minor] Update styled-components dependency to support versions 1.4.6 - 3
|
|
1312
|
+
[ceccf30](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/ceccf30)
|
|
1053
1313
|
|
|
1054
1314
|
## 3.0.6
|
|
1055
1315
|
|
|
1056
|
-
-
|
|
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)
|
|
1057
1318
|
|
|
1058
1319
|
## 3.0.5
|
|
1059
1320
|
|
|
1060
|
-
-
|
|
1321
|
+
- [patch] Packages Flow types for elements components
|
|
1322
|
+
[3111e74](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/3111e74)
|
|
1061
1323
|
|
|
1062
1324
|
## 3.0.4
|
|
1063
1325
|
|
|
1064
|
-
-
|
|
1326
|
+
- [patch] Minor manual bump for packages desync'd from npm
|
|
1327
|
+
[e988c58](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/e988c58)
|
|
1065
1328
|
|
|
1066
1329
|
## 3.0.3
|
|
1067
1330
|
|
|
1068
|
-
-
|
|
1331
|
+
- Manual bump to resolve desync with npm package version.
|
|
1069
1332
|
|
|
1070
1333
|
## 3.0.2
|
|
1071
1334
|
|
|
1072
|
-
-
|
|
1335
|
+
- [patch] Enabling syntax highlighter language auto-detect
|
|
1336
|
+
[4831bd2](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/4831bd2)
|
|
1073
1337
|
|
|
1074
1338
|
## 3.0.1
|
|
1075
1339
|
|
|
1076
|
-
-
|
|
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)
|
|
1077
1342
|
|
|
1078
1343
|
## 3.0.0
|
|
1079
1344
|
|
|
1080
|
-
-
|
|
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)
|
|
1081
1347
|
|
|
1082
1348
|
## 2.2.1
|
|
1083
1349
|
|
|
1084
|
-
-
|
|
1350
|
+
- [patch] Remove styled-components as a peerDependency from @atlaskit/code.
|
|
1351
|
+
[047032b](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/047032b)
|
|
1085
1352
|
|
|
1086
1353
|
## 2.2.0
|
|
1087
1354
|
|
|
1088
|
-
-
|
|
1355
|
+
- [minor] Add React 16 support.
|
|
1356
|
+
[12ea6e4](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/12ea6e4)
|