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