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