@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.
Files changed (69) hide show
  1. package/CHANGELOG.md +653 -645
  2. package/__perf__/code-block-syntax-highlighting.tsx +4 -1
  3. package/__perf__/source-code-examples/100-line-example.tsx +52 -40
  4. package/codemods/13.0.0-remove-unnecessary-code-props.tsx +61 -75
  5. package/codemods/13.0.0-rename-imports.tsx +214 -251
  6. package/codemods/14.0.0-lite-mode.tsx +5 -9
  7. package/codemods/__tests__/13.0.0-remove-unnecessary-code-props.tsx +43 -43
  8. package/codemods/__tests__/13.0.0-rename-imports.tsx +143 -143
  9. package/codemods/__tests__/14.0.0-lite-mode/14.0.0-lite-mode.tsx +35 -35
  10. package/codemods/__tests__/14.0.0-lite-mode/remove-language.tsx +21 -21
  11. package/codemods/__tests__/14.0.0-lite-mode/text-to-child.tsx +35 -35
  12. package/codemods/migrations/14.0.0-lite-mode/remove-language.tsx +1 -6
  13. package/codemods/migrations/14.0.0-lite-mode/text-to-child.tsx +53 -61
  14. package/codemods/utils/helpers.tsx +161 -201
  15. package/dist/cjs/bidi-warning/ui/styled.js +7 -0
  16. package/dist/cjs/code-block.js +8 -1
  17. package/dist/cjs/code.js +5 -0
  18. package/dist/cjs/internal/theme/styles.js +3 -2
  19. package/dist/cjs/syntax-highlighter/types.js +1 -0
  20. package/dist/es2019/bidi-warning/ui/styled.js +7 -0
  21. package/dist/es2019/code-block.js +8 -1
  22. package/dist/es2019/code.js +6 -0
  23. package/dist/es2019/internal/theme/styles.js +4 -1
  24. package/dist/es2019/syntax-highlighter/types.js +3 -0
  25. package/dist/esm/bidi-warning/ui/styled.js +7 -0
  26. package/dist/esm/code-block.js +8 -1
  27. package/dist/esm/code.js +6 -0
  28. package/dist/esm/internal/theme/styles.js +4 -1
  29. package/dist/esm/syntax-highlighter/types.js +3 -0
  30. package/dist/types/bidi-warning/ui/index.d.ts +1 -1
  31. package/dist/types/bidi-warning/ui/styled.d.ts +4 -1
  32. package/dist/types/code.d.ts +3 -0
  33. package/dist/types/extract-react-types/code-block.d.ts +16 -16
  34. package/dist/types/internal/hooks/use-highlight.d.ts +1 -1
  35. package/dist/types/internal/utils/get-normalized-language.d.ts +1 -1
  36. package/dist/types/syntax-highlighter/async.d.ts +1 -1
  37. package/dist/types/syntax-highlighter/lib/highlight.d.ts +1 -1
  38. package/dist/types/syntax-highlighter/lib/process/create-line-element.d.ts +1 -1
  39. package/dist/types/syntax-highlighter/lib/process/create-line.d.ts +1 -1
  40. package/dist/types/syntax-highlighter/lib/process/flatten-code-tree.d.ts +1 -1
  41. package/dist/types/syntax-highlighter/lib/process/get-code-tree.d.ts +1 -1
  42. package/dist/types/syntax-highlighter/lib/process/get-inline-line-number.d.ts +1 -1
  43. package/dist/types/syntax-highlighter/lib/process/index.d.ts +1 -1
  44. package/dist/types/syntax-highlighter/lib/react-renderer/create-children.d.ts +2 -2
  45. package/dist/types/syntax-highlighter/lib/react-renderer/create-element.d.ts +2 -2
  46. package/dist/types/syntax-highlighter/lib/react-renderer/index.d.ts +1 -1
  47. package/dist/types/syntax-highlighter/types.d.ts +2 -2
  48. package/dist/types/types.d.ts +1 -1
  49. package/dist/types-ts4.5/bidi-warning/ui/index.d.ts +1 -1
  50. package/dist/types-ts4.5/bidi-warning/ui/styled.d.ts +4 -1
  51. package/dist/types-ts4.5/code.d.ts +3 -0
  52. package/dist/types-ts4.5/extract-react-types/code-block.d.ts +16 -16
  53. package/dist/types-ts4.5/internal/hooks/use-highlight.d.ts +1 -1
  54. package/dist/types-ts4.5/internal/utils/get-normalized-language.d.ts +1 -1
  55. package/dist/types-ts4.5/syntax-highlighter/async.d.ts +1 -1
  56. package/dist/types-ts4.5/syntax-highlighter/lib/highlight.d.ts +1 -1
  57. package/dist/types-ts4.5/syntax-highlighter/lib/process/create-line-element.d.ts +1 -1
  58. package/dist/types-ts4.5/syntax-highlighter/lib/process/create-line.d.ts +1 -1
  59. package/dist/types-ts4.5/syntax-highlighter/lib/process/flatten-code-tree.d.ts +1 -1
  60. package/dist/types-ts4.5/syntax-highlighter/lib/process/get-code-tree.d.ts +1 -1
  61. package/dist/types-ts4.5/syntax-highlighter/lib/process/get-inline-line-number.d.ts +1 -1
  62. package/dist/types-ts4.5/syntax-highlighter/lib/process/index.d.ts +1 -1
  63. package/dist/types-ts4.5/syntax-highlighter/lib/react-renderer/create-children.d.ts +2 -2
  64. package/dist/types-ts4.5/syntax-highlighter/lib/react-renderer/create-element.d.ts +2 -2
  65. package/dist/types-ts4.5/syntax-highlighter/lib/react-renderer/index.d.ts +1 -1
  66. package/dist/types-ts4.5/syntax-highlighter/types.d.ts +2 -2
  67. package/dist/types-ts4.5/types.d.ts +1 -1
  68. package/package.json +108 -110
  69. 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
- - [#98206](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/98206)
8
- [`71a555d49484`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/71a555d49484) -
9
- Add support for React 18.
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
- - Updated dependencies
30
+ - Updated dependencies
14
31
 
15
32
  ## 15.1.2
16
33
 
17
34
  ### Patch Changes
18
35
 
19
- - [#83188](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/83188)
20
- [`cd5d06cd3329`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/cd5d06cd3329) -
21
- Minor adjustments to improve compatibility with React 18
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
- - [#83116](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/83116)
28
- [`8d4e99057fe0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8d4e99057fe0) -
29
- Upgrade Typescript from `4.9.5` to `5.4.2`
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
- - [#42903](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/42903)
36
- [`96e3a0ee5b7`](https://bitbucket.org/atlassian/atlassian-frontend/commits/96e3a0ee5b7) - [ux]
37
- Add support for Dockerfile, HCL, NGINX and Protobuf languages
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
- - [#41498](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/41498)
44
- [`73adf14896c`](https://bitbucket.org/atlassian/atlassian-frontend/commits/73adf14896c) - Remove
45
- usage of legacy theming from the Code component and refactor where necessary to accomodate the
46
- updated API.
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
- - Updated dependencies
69
+ - Updated dependencies
53
70
 
54
71
  ## 14.6.8
55
72
 
56
73
  ### Patch Changes
57
74
 
58
- - [#40914](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/40914)
59
- [`ffa68309c76`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ffa68309c76) - update
60
- children variable to have type definition
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
- - [#38162](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/38162)
67
- [`fd6bb9c9184`](https://bitbucket.org/atlassian/atlassian-frontend/commits/fd6bb9c9184) - Delete
68
- version.json
69
- - Updated dependencies
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
- - [#36754](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/36754)
76
- [`4ae083a7e66`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4ae083a7e66) - Use
77
- `@af/accessibility-testing` for default jest-axe config and jest-axe import in accessibility
78
- testing.
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
- - [#34360](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/34360)
85
- [`59b808d6a46`](https://bitbucket.org/atlassian/atlassian-frontend/commits/59b808d6a46) - [ux]
86
- Improves the accessibility of the bidirectional character warnings.
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
- - [#33652](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33652)
93
- [`e7ea6832ad2`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e7ea6832ad2) - Bans
94
- the use of React.FC/React.FunctionComponent type in ADS components as part of the React 18
95
- migration work. The change is internal only and should not introduce any changes for the
96
- component consumers.
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
- - [#34051](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/34051)
103
- [`49b08bfdf5f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/49b08bfdf5f) -
104
- Migrated use of `gridSize` to space tokens where possible. There is no expected visual or
105
- behaviour change.
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
- - [#33793](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33793)
112
- [`9d00501a414`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9d00501a414) - Ensure
113
- legacy types are published for TS 4.5-4.8
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
- - [#33649](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33649)
120
- [`41fae2c6f68`](https://bitbucket.org/atlassian/atlassian-frontend/commits/41fae2c6f68) -
121
- Upgrade Typescript from `4.5.5` to `4.9.5`
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
- - [#33258](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33258)
128
- [`56507598609`](https://bitbucket.org/atlassian/atlassian-frontend/commits/56507598609) - Skip
129
- minor dependency bump
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
- - Updated dependencies
149
+ - Updated dependencies
134
150
 
135
151
  ## 14.5.4
136
152
 
137
153
  ### Patch Changes
138
154
 
139
- - [#32424](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/32424)
140
- [`2e01c9c74b5`](https://bitbucket.org/atlassian/atlassian-frontend/commits/2e01c9c74b5) - DUMMY
141
- remove before merging to master; dupe adf-schema via adf-utils
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
- - [#31638](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/31638)
148
- [`74750bef5c4`](https://bitbucket.org/atlassian/atlassian-frontend/commits/74750bef5c4) - Fixes
149
- some bugs with the long line wrapping and syntax-highlighting changes that were released in
150
- v14.5.0.
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
- - [#31378](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/31378)
157
- [`3ca97be0c06`](https://bitbucket.org/atlassian/atlassian-frontend/commits/3ca97be0c06) -
158
- Internal change only. Replace usages of Inline/Stack with stable version from
159
- `@atlaskit/primitives`.
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
- - [#31206](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/31206)
166
- [`261420360ec`](https://bitbucket.org/atlassian/atlassian-frontend/commits/261420360ec) -
167
- Upgrades component types to support React 18.
168
- - Updated dependencies
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
- - [#30248](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/30248)
175
- [`f5ca132a05e`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f5ca132a05e) - [ux]
176
- CodeBlock has had some significant under-the-hood changes in this version. While technically it
177
- is a minor update as all API changes are additive and backwards-compatible, this is a heads up
178
- that there are some small visual changes that may require visual regression snapshots to be
179
- updated.
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
- - Adds a new `shouldWrapLongLines` prop that allows you to wrap long lines of code over
182
- multiple lines, instead of always forcing the container to scroll horizontally.
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
- - Fixes a frustrating bug where copying code from `CodeBlock` would also copy line numbers —
185
- this no longer occurs!
198
+ - Fixes a frustrating bug where copying code from `CodeBlock` would also copy line numbers — this
199
+ no longer occurs!
186
200
 
187
- - Replaces the dependency of `react-syntax-highlighter` with our own implementation that is
188
- more maintainable and performant. This also lead to a bump in an underlying dependency
189
- `prismjs` which added new syntax highlighting features for some languages. This may cause
190
- some blocks of code to look slightly different, potentially impacting VR tests — some
191
- changes are expected! Reach out to #help-design-system if you have any questions.
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
- - Improves the presentation and security of `CodeBlock`'s with bidirectional characters to
194
- present the source code exactly how it was written. The bidirectional characters themselves
195
- are still highlighted in the same way as before with a warning and a tooltip. This may also
196
- impact VR tests, but is expected.
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
- - Updated dependencies
214
+ - Updated dependencies
201
215
 
202
216
  ## 14.4.8
203
217
 
204
218
  ### Patch Changes
205
219
 
206
- - Updated dependencies
220
+ - Updated dependencies
207
221
 
208
222
  ## 14.4.7
209
223
 
210
224
  ### Patch Changes
211
225
 
212
- - [#29390](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/29390)
213
- [`18aeca8c199`](https://bitbucket.org/atlassian/atlassian-frontend/commits/18aeca8c199) -
214
- Internal change to update token references. There is no expected behaviour or visual change.
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
- - [#28064](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/28064)
221
- [`b0f6dd0bc35`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b0f6dd0bc35) -
222
- Updated to use typography tokens. There is no expected behaviour or visual change.
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
- - Updated dependencies
242
+ - Updated dependencies
229
243
 
230
244
  ## 14.4.4
231
245
 
232
246
  ### Patch Changes
233
247
 
234
- - Updated dependencies
248
+ - Updated dependencies
235
249
 
236
250
  ## 14.4.3
237
251
 
238
252
  ### Patch Changes
239
253
 
240
- - [#26712](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/26712)
241
- [`f1765efdca6`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f1765efdca6) - [ux]
242
- Fix bug that caused misalignment of Code Block content which contain a mixture of spaces and
243
- tabs
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
- - Updated dependencies
262
+ - Updated dependencies
250
263
 
251
264
  ## 14.4.1
252
265
 
253
266
  ### Patch Changes
254
267
 
255
- - [#26488](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/26488)
256
- [`bc989043572`](https://bitbucket.org/atlassian/atlassian-frontend/commits/bc989043572) -
257
- Internal changes to apply spacing tokens. This should be a no-op change.
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
- - [#24710](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24710)
264
- [`d6bf753bb43`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d6bf753bb43) -
265
- Updates `@emotion/core` to `@emotion/react`; v10 to v11. There is no expected behavior change.
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
- - Updated dependencies
282
+ - Updated dependencies
270
283
 
271
284
  ## 14.3.10
272
285
 
273
286
  ### Patch Changes
274
287
 
275
- - [#24874](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24874)
276
- [`8cc2f888c83`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8cc2f888c83) -
277
- Upgrade Typescript from `4.3.5` to `4.5.5`
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
- - [#24492](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24492)
284
- [`8d4228767b0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8d4228767b0) -
285
- Upgrade Typescript from `4.2.4` to `4.3.5`.
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
- - [#23381](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/23381)
292
- [`8202e37941b`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8202e37941b) -
293
- Internal code change turning on new linting rules.
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
- - Updated dependencies
312
+ - Updated dependencies
300
313
 
301
314
  ## 14.3.6
302
315
 
303
316
  ### Patch Changes
304
317
 
305
- - [#20650](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/20650)
306
- [`cb2392f6d33`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cb2392f6d33) -
307
- Upgrade to TypeScript 4.2.4
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
- - [#20033](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/20033)
314
- [`46824ff1acd`](https://bitbucket.org/atlassian/atlassian-frontend/commits/46824ff1acd) - [ux]
315
- `<CodeBlock />`s with no content no longer vertically collapse, and maintain their intended
316
- minimum height
317
- - Updated dependencies
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
- - Updated dependencies
336
+ - Updated dependencies
324
337
 
325
338
  ## 14.3.3
326
339
 
327
340
  ### Patch Changes
328
341
 
329
- - [#19019](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/19019)
330
- [`a1a89347baa`](https://bitbucket.org/atlassian/atlassian-frontend/commits/a1a89347baa) - [ux]
331
- Instrumented `@atlaskit/code` with the new theming package, `@atlaskit/tokens`.
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
- New tokens will be visible only in applications configured to use the new Tokens API (currently
334
- in alpha). These changes are intended to be interoperable with the legacy theme implementation.
335
- Legacy dark mode users should expect no visual or breaking changes.
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
- - Updated dependencies
350
+ - Updated dependencies
338
351
 
339
352
  ## 14.3.2
340
353
 
341
354
  ### Patch Changes
342
355
 
343
- - [#18356](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/18356)
344
- [`b5226ba2c15`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b5226ba2c15) -
345
- Replace `bolt` with `yarn` for rendered example changeset commands
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
- - [#16531](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/16531)
352
- [`7a34eeea327`](https://bitbucket.org/atlassian/atlassian-frontend/commits/7a34eeea327) - Bump
353
- prismjs due to vulnerability
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
- - [#16168](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/16168)
360
- [`db3477abb18`](https://bitbucket.org/atlassian/atlassian-frontend/commits/db3477abb18) - [ux]
361
- ED-13938 disabled code-bidi warning tooltip for mobile, reworked TextWrapper to fix bidi
362
- mitigation, and fixed issue where bidi warnings were not presented when renderer used with an
363
- annotation provider with draftMode set to true
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
- - [#16006](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/16006)
370
- [`c80c71b537d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c80c71b537d) - [ux]
371
- ED-13860 add bidi warning decorations to code components
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
- - [#15694](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/15694)
378
- [`b85e7ce12cd`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b85e7ce12cd) -
379
- Internal upgrade of memoize-one to 6.0.0
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
- - Updated dependencies
398
+ - Updated dependencies
386
399
 
387
400
  ## 14.1.3
388
401
 
389
402
  ### Patch Changes
390
403
 
391
- - [#12880](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/12880)
392
- [`378d1cef00f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/378d1cef00f) - Bump
393
- `@atlaskit/theme` to version `^11.3.0`.
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
- - [#12810](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/12810)
400
- [`d827fec15b2`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d827fec15b2) - Fixes
401
- a regression in ^14.0.0 that meant the function `getCodeStyles` didn't work correctly with
402
- interpolations using the `styled-components` theming.
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
- - [#12168](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/12168)
409
- [`cd488f9d370`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cd488f9d370) - Bumps
410
- prismjs to address a security vulnerability in the underlying lib.
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
- - [#11113](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/11113)
417
- [`aef12f51c46`](https://bitbucket.org/atlassian/atlassian-frontend/commits/aef12f51c46) - Add an
418
- entry point for constants to expose SUPPORTED_LANGUAGES and export the type of
419
- SUPPORTED_LANGUAGES. Splunk SPl has also been added as a supported language.
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
- - [#10569](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/10569)
426
- [`596f1eb2fca`](https://bitbucket.org/atlassian/atlassian-frontend/commits/596f1eb2fca) - [ux]
427
- Line height property remvoved from inline code. This was a bug as the line height was being
428
- under calculated relative to the code's font size. It now inherits correctly.
429
- - Updated dependencies
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
- - [#10230](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/10230)
436
- [`e8f66c36dd7`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e8f66c36dd7) -
437
- **BREAKING CHANGES**
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
- This version includes several breaking changes to improve performance of the `@atlaskit/code`
440
- package.
452
+ This version includes several breaking changes to improve performance of the `@atlaskit/code`
453
+ package.
441
454
 
442
- `<Code />` no longer supports syntax highlighting, greatly simplifying the component.
443
- Additionally, the `text` prop has been removed in favour of using `children` directly. This
444
- allows users to provide complex nodes (not just plain text) to Code.
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
- ```jsx
447
- // previous
448
- <Code text="const x = 10;" language="js" />
449
- // now with language no longer supported
450
- <Code>const x = 10;</Code>
451
- ```
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
- Component theming is no longer supported in `<Code />` or `<CodeBlock />`; this change does not
454
- effect global theming. As an escape hatch, two CSS variables are exposed:
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
- - `--ds--code--line-number-bg-color`: which controls the background color of the line numbers
457
- if set
458
- - `--ds--code--bg-color`: which controls the background color of the block body if set
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
- Components can now be imported individually using individual entrypoints. Using these
461
- entrypoints will reduce the overall bundle size of this package if you do not need both
462
- components.
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
- ```js
465
- import { Code } from '@atlaskit/code';
466
- // --> to
467
- import Code from '@atlaskit/code/inline';
476
+ ```js
477
+ import { Code } from '@atlaskit/code';
478
+ // --> to
479
+ import Code from '@atlaskit/code/inline';
468
480
 
469
- import { CodeBlock } from '@atlaskit/code';
470
- // --> to
471
- import CodeBlock from '@atlaskit/code/block';
481
+ import { CodeBlock } from '@atlaskit/code';
482
+ // --> to
483
+ import CodeBlock from '@atlaskit/code/block';
472
484
 
473
- // note this will still work
474
- import { Code, CodeBlock } from '@atlaskit/code';
475
- ```
485
+ // note this will still work
486
+ import { Code, CodeBlock } from '@atlaskit/code';
487
+ ```
476
488
 
477
- Finally, `CodeBlock` has had type improvements, and internal optimisations to facilitate faster
478
- rendering and updates.
489
+ Finally, `CodeBlock` has had type improvements, and internal optimisations to facilitate faster
490
+ rendering and updates.
479
491
 
480
- - [`7e091c1d415`](https://bitbucket.org/atlassian/atlassian-frontend/commits/7e091c1d415) -
481
- BREAKING CHANGE:
492
+ - [`7e091c1d415`](https://bitbucket.org/atlassian/atlassian-frontend/commits/7e091c1d415) - BREAKING
493
+ CHANGE:
482
494
 
483
- The `codeStyle` prop has now been removed on the `Code` component.
495
+ The `codeStyle` prop has now been removed on the `Code` component.
484
496
 
485
- For reference, previously this type of usage would effect the styling of any numbers in the code
486
- text.
497
+ For reference, previously this type of usage would effect the styling of any numbers in the code
498
+ text.
487
499
 
488
- ```js
489
- <Code codeStyle={{ number: 'red' }} text={someCode} />
490
- ```
500
+ ```js
501
+ <Code codeStyle={{ number: 'red' }} text={someCode} />
502
+ ```
491
503
 
492
- Due to internal changes the above usage is no longer possible.
504
+ Due to internal changes the above usage is no longer possible.
493
505
 
494
- This release also includes internal changes to the syntax highlighting element to use class
495
- names instead of inline styles for syntax highlighting. This results in a substantial
496
- performance gain.
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
- - [`07e012bfc5b`](https://bitbucket.org/atlassian/atlassian-frontend/commits/07e012bfc5b) -
501
- Updates to internal package structure, exposing additional entrypoints. Types also tightened for
502
- language support to better match underlying component.
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
- - [`b46ca884bc8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b46ca884bc8) - Add a
507
- codemod to remove usages of the `language` prop and convert the `text` prop to be a child.
508
- - Updated dependencies
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
- - [#9756](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/9756)
515
- [`900819ca759`](https://bitbucket.org/atlassian/atlassian-frontend/commits/900819ca759) - Update
516
- to VR test suite, to make diffs easier to reason about.
517
- - Updated dependencies
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
- - [#9510](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/9510)
524
- [`c9da1eecd2a`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c9da1eecd2a) -
525
- Internal changes moving class components to functional components, added updated types for
526
- react-syntax-highlighter
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
- - [#8057](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/8057)
533
- [`413cc46d307`](https://bitbucket.org/atlassian/atlassian-frontend/commits/413cc46d307) - [ux]
534
- Added colors for missing syntax keywords
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
- - [#7762](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/7762)
541
- [`3c7be954dbd`](https://bitbucket.org/atlassian/atlassian-frontend/commits/3c7be954dbd) - [ux]
542
- Line highlighting now meets WCAG 2.1 guidelines. Colors that were failing contrast have been
543
- updated and there is now a new visual cue consisting of a left border to the highlighted lines.
544
- - [`23ef692842a`](https://bitbucket.org/atlassian/atlassian-frontend/commits/23ef692842a) - [ux]
545
- `Code` and `CodeBlock` now use react-syntax-highlighter@^15 to highlight code. As part of this
546
- change the fontSize for the line numbers and the code body have been normalised. This will be a
547
- breaking visual change for all consumers. No action is required other than a callout that this
548
- will affect any existing visual regression tests.
549
-
550
- Users can now use the `themeOverride` prop to customise the application of the default theme.
551
- This is an escape hatch which will likley be removed in a future major version.
552
-
553
- This change also includes:
554
-
555
- - A bugfix for lineHeight that meant linenumbers and code body were not vertically aligned
556
- correctly.
557
- - A bugfix for the SSR'd components not rendering consistently before hydration
558
- - Improved semantic lines, which can now be properly consumed by screen readers.
559
- - The `Code` and `CodeBlock` now expose additional options in their `theme` prop. These are
560
- `codeFontSize` and `codeLineHeight` which allow customisation of the component's rendered
561
- font size.
562
-
563
- - [`7c2f2056ef7`](https://bitbucket.org/atlassian/atlassian-frontend/commits/7c2f2056ef7) - [ux]
564
- Added code syntax highlighting for the following languages: AppleScript, Clojure, Delphi, Diff,
565
- FoxPro, Object Pascal, QML, Standard ML, Visual Basic, JSX and TSX
566
-
567
- ### Patch Changes
568
-
569
- - [`72d19d3f308`](https://bitbucket.org/atlassian/atlassian-frontend/commits/72d19d3f308) -
570
- Internal changes relating to types, and tests. Includes a small bugfix to the way Code component
571
- had styles applied and adds testId as a prop to both Code and CodeBlock.
572
- - [`84c4d95e2e0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/84c4d95e2e0) - [ux]
573
- Line numbers now have correct spacing in Firefox and Safari.
574
- - [`a4bcf21a972`](https://bitbucket.org/atlassian/atlassian-frontend/commits/a4bcf21a972) - [ux]
575
- Syntax highlighting now uses accessibile colors that meet WCAG 2.0 Level AA guidelines for color
576
- contrast
577
- - [`b5873e7bf01`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b5873e7bf01) - [ux]
578
- Fixed highlighted line left border alignment.
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
- - [#5857](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/5857)
585
- [`d3265f19be`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d3265f19be) -
586
- Transpile packages using babel rather than tsc
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
- - [#5516](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/5516)
593
- [`17162a77f2`](https://bitbucket.org/atlassian/atlassian-frontend/commits/17162a77f2) - types of
594
- Supported Languages for @atlaskit/code is maintained by the package itself. Useful for when one
595
- references Supported Languages, wanting to know what types of languages are supported by
596
- @atlaskit/code.
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
- - [#5497](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/5497)
603
- [`5f58283e1f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/5f58283e1f) - Export
604
- types using Typescript's new "export type" syntax to satisfy Typescript's --isolatedModules
605
- compiler option. This requires version 3.8 of Typescript, read more about how we handle
606
- Typescript versions here: https://atlaskit.atlassian.com/get-started Also add `typescript` to
607
- `devDependencies` to denote version that the package was built with.
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
- - Updated dependencies
624
+ - Updated dependencies
614
625
 
615
626
  ## 13.0.1
616
627
 
617
628
  ### Patch Changes
618
629
 
619
- - [#4346](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/4346)
620
- [`ade5203287`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ade5203287) - Fix
621
- codemod utilities being exposed through the codemod cli
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
- - [#4424](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/4424)
628
- [`37f8133702`](https://bitbucket.org/atlassian/atlassian-frontend/commits/37f8133702) - - Rename
629
- `AkCode` and `AkCodeBlock` exports to `Code` and `CodeBlock` respectively.
630
- - Remove unnecessary props (`lineNumberContainerStyle`, `showLineNumbers` and `highlight`)
631
- from `Code`.
632
- - Add codemods for above changes. Codemods can be found inside [codemods](./codemods)
633
- directory. Please use
634
- [@atlaskit/codemod-cli](https://www.npmjs.com/package/@atlaskit/codemod-cli) for running the
635
- codemods according to version of your package. Check its documentation
636
- [here](https://www.npmjs.com/package/@atlaskit/codemod-cli).
637
- - Split exported `Theme` type into `CodeTheme` and `CodeBlockTheme`.
638
- - Remove `lineNumberColor` and `lineNumberBgColor` type from `CodeTheme`. They are available
639
- only in `CodeBlockTheme` now.
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
- - [`336f870e37`](https://bitbucket.org/atlassian/atlassian-frontend/commits/336f870e37) - fix
644
- exception errors of syntax highlighter for several languages
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
- - [#3885](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3885)
651
- [`6c525a8229`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6c525a8229) - Upgraded
652
- to TypeScript 3.9.6 and tslib to 2.0.0
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
- Since tslib is a dependency for all our packages we recommend that products also follow this
655
- tslib upgrade to prevent duplicates of tslib being bundled.
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
- - [#3293](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3293)
662
- [`954cc87b62`](https://bitbucket.org/atlassian/atlassian-frontend/commits/954cc87b62) - The
663
- readme and package information has been updated to point to the new design system website.
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
- - [#3428](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3428)
670
- [`db053b24d8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/db053b24d8) - Update
671
- all the theme imports to be tree-shakable
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
- - [#3335](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3335)
678
- [`87f4720f27`](https://bitbucket.org/atlassian/atlassian-frontend/commits/87f4720f27) -
679
- Officially dropping IE11 support, from this version onwards there are no warranties of the
680
- package working in IE11. For more information see:
681
- https://community.developer.atlassian.com/t/atlaskit-to-drop-support-for-internet-explorer-11-from-1st-july-2020/39534
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
- - Updated dependencies
695
+ - Updated dependencies
686
696
 
687
697
  ## 11.1.6
688
698
 
689
699
  ### Patch Changes
690
700
 
691
- - [#2866](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/2866)
692
- [`54a9514fcf`](https://bitbucket.org/atlassian/atlassian-frontend/commits/54a9514fcf) - Build
693
- and supporting files will no longer be published to npm
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
- - [patch][f7f2068a76](https://bitbucket.org/atlassian/atlassian-frontend/commits/f7f2068a76):
709
+ - [patch][f7f2068a76](https://bitbucket.org/atlassian/atlassian-frontend/commits/f7f2068a76):
700
710
 
701
- Change imports to comply with Atlassian conventions
711
+ Change imports to comply with Atlassian conventions
702
712
 
703
713
  ## 11.1.4
704
714
 
705
715
  ### Patch Changes
706
716
 
707
- - [patch][5f5b93071f](https://bitbucket.org/atlassian/atlassian-frontend/commits/5f5b93071f):
717
+ - [patch][5f5b93071f](https://bitbucket.org/atlassian/atlassian-frontend/commits/5f5b93071f):
708
718
 
709
- Code highlighting now works as expected when highlighting single to double digit lines.- Updated
710
- dependencies
711
- [dae900bf82](https://bitbucket.org/atlassian/atlassian-frontend/commits/dae900bf82):
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
- - 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
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
- - [patch][6548261c9a](https://bitbucket.org/atlassian/atlassian-frontend/commits/6548261c9a):
731
+ - [patch][6548261c9a](https://bitbucket.org/atlassian/atlassian-frontend/commits/6548261c9a):
723
732
 
724
- Remove namespace imports from React, ReactDom, and PropTypes- Updated dependencies
725
- [6548261c9a](https://bitbucket.org/atlassian/atlassian-frontend/commits/6548261c9a):
733
+ Remove namespace imports from React, ReactDom, and PropTypes- Updated dependencies
734
+ [6548261c9a](https://bitbucket.org/atlassian/atlassian-frontend/commits/6548261c9a):
726
735
 
727
- - @atlaskit/docs@8.3.2
728
- - @atlaskit/visual-regression@0.1.9
729
- - @atlaskit/theme@9.5.1
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
- - [patch][b52f2be5d9](https://bitbucket.org/atlassian/atlassian-frontend/commits/b52f2be5d9):
744
+ - [patch][b52f2be5d9](https://bitbucket.org/atlassian/atlassian-frontend/commits/b52f2be5d9):
736
745
 
737
- ThemedCode and ThemeCodeBlock props are now correctly typed- Updated dependencies
738
- [d2b8166208](https://bitbucket.org/atlassian/atlassian-frontend/commits/d2b8166208):
746
+ ThemedCode and ThemeCodeBlock props are now correctly typed- Updated dependencies
747
+ [d2b8166208](https://bitbucket.org/atlassian/atlassian-frontend/commits/d2b8166208):
739
748
 
740
- - @atlaskit/docs@8.3.0
749
+ - @atlaskit/docs@8.3.0
741
750
 
742
751
  ## 11.1.1
743
752
 
744
753
  ### Patch Changes
745
754
 
746
- - [patch][4a223473c5](https://bitbucket.org/atlassian/atlassian-frontend/commits/4a223473c5):
755
+ - [patch][4a223473c5](https://bitbucket.org/atlassian/atlassian-frontend/commits/4a223473c5):
747
756
 
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):
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
- - @atlaskit/theme@9.5.0
761
+ - @atlaskit/theme@9.5.0
753
762
 
754
763
  ## 11.1.0
755
764
 
756
765
  ### Minor Changes
757
766
 
758
- - [minor][9648afc5be](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/9648afc5be):
767
+ - [minor][9648afc5be](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/9648afc5be):
759
768
 
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!
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
- The `highlight` prop can be used as follows:
772
+ The `highlight` prop can be used as follows:
764
773
 
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"`
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
- **`AkCodeBlock` component**
778
+ **`AkCodeBlock` component**
770
779
 
771
- Use the `highlight` prop.
780
+ Use the `highlight` prop.
772
781
 
773
- ```js
774
- import { AkCodeBlock } from '@atlaskit/code';
782
+ ```js
783
+ import { AkCodeBlock } from '@atlaskit/code';
775
784
 
776
- <AkCodeBlock
777
- highlight="1-2"
778
- text={`
779
- <div>
780
- hello there
781
- <span>buds</span>
782
- </div>
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
- **`Example` component**
796
+ **`Example` component**
788
797
 
789
- Use the `highlight` prop.
798
+ Use the `highlight` prop.
790
799
 
791
- ```js
792
- import { Example } from '@atlaskit/docs';
800
+ ```js
801
+ import { Example } from '@atlaskit/docs';
793
802
 
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
- ```
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
- **`code` template literal**
812
+ **`code` template literal**
804
813
 
805
- Add `highlight=` to the top of your code snippet. It takes the same values as the `highlight`
806
- prop.
814
+ Add `highlight=` to the top of your code snippet. It takes the same values as the `highlight`
815
+ prop.
807
816
 
808
- ```js
809
- import { code } from '@atlaskit/docs';
817
+ ```js
818
+ import { code } from '@atlaskit/docs';
810
819
 
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
- ```
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
- - [patch][35d2229b2a](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/35d2229b2a):
835
+ - [patch][35d2229b2a](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/35d2229b2a):
827
836
 
828
- Adding missing license to packages and update to Copyright 2019 Atlassian Pty Ltd.
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
- - [patch][a2d0043716](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/a2d0043716):
843
+ - [patch][a2d0043716](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/a2d0043716):
835
844
 
836
- Updated version of analytics-next to fix potential incompatibilities with TS 3.6
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
- - [patch][65ada7f318](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/65ada7f318):
851
+ - [patch][65ada7f318](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/65ada7f318):
843
852
 
844
- **FABDODGEM-12 Editor Cashmere Release**
853
+ **FABDODGEM-12 Editor Cashmere Release**
845
854
 
846
- - [Internal post](http://go.atlassian.com/cashmere-release)
855
+ - [Internal post](http://go.atlassian.com/cashmere-release)
847
856
 
848
- **Affected editor components:**
857
+ **Affected editor components:**
849
858
 
850
- tables, media, mobile, text color, emoji, copy/paste, analytics
859
+ tables, media, mobile, text color, emoji, copy/paste, analytics
851
860
 
852
- **Performance**
861
+ **Performance**
853
862
 
854
- - Async import for code blocks and task items on renderer
855
- - https://product-fabric.atlassian.net/browse/ED-7155
863
+ - Async import for code blocks and task items on renderer
864
+ - https://product-fabric.atlassian.net/browse/ED-7155
856
865
 
857
- **Table**
866
+ **Table**
858
867
 
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
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
- **Text color**
873
+ **Text color**
865
874
 
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
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
- - 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
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
- - [patch][1715ad2bd5](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/1715ad2bd5):
919
+ - [patch][1715ad2bd5](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/1715ad2bd5):
911
920
 
912
- ED-7731: add support for GraphQL syntax highlighting
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
- - [patch][097b696613](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/097b696613):
927
+ - [patch][097b696613](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/097b696613):
919
928
 
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
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
- - [patch][ecca4d1dbb](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/ecca4d1dbb):
936
+ - [patch][ecca4d1dbb](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/ecca4d1dbb):
928
937
 
929
- Upgraded Typescript to 3.3.x
938
+ Upgraded Typescript to 3.3.x
930
939
 
931
940
  ## 11.0.9
932
941
 
933
942
  ### Patch Changes
934
943
 
935
- - [patch][708028db86](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/708028db86):
944
+ - [patch][708028db86](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/708028db86):
936
945
 
937
- Change all the imports to theme in Core to use multi entry points
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
- - [patch][abee1a5f4f](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/abee1a5f4f):
952
+ - [patch][abee1a5f4f](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/abee1a5f4f):
944
953
 
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.
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
- - [patch][de35ce8c67](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/de35ce8c67):
961
+ - [patch][de35ce8c67](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/de35ce8c67):
953
962
 
954
- Updates component maintainers
963
+ Updates component maintainers
955
964
 
956
965
  ## 11.0.6
957
966
 
958
967
  ### Patch Changes
959
968
 
960
- - [patch][bbff8a7d87](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/bbff8a7d87):
969
+ - [patch][bbff8a7d87](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/bbff8a7d87):
961
970
 
962
- Fixes bug, missing version.json file
971
+ Fixes bug, missing version.json file
963
972
 
964
973
  ## 11.0.5
965
974
 
966
975
  ### Patch Changes
967
976
 
968
- - [patch][18dfac7332](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/18dfac7332):
977
+ - [patch][18dfac7332](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/18dfac7332):
969
978
 
970
- In this PR, we are:
979
+ In this PR, we are:
971
980
 
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
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
- - [patch][29a1f158c1](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/29a1f158c1):
994
+ - [patch][29a1f158c1](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/29a1f158c1):
986
995
 
987
- Use default react import in typescript files.
996
+ Use default react import in typescript files.
988
997
 
989
998
  ## 11.0.3
990
999
 
991
1000
  ### Patch Changes
992
1001
 
993
- - [patch][4615439434](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/4615439434):
1002
+ - [patch][4615439434](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/4615439434):
994
1003
 
995
- index.ts will now be ignored when publishing to npm
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
- - [patch][93bcf314c6](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/93bcf314c6):
1010
+ - [patch][93bcf314c6](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/93bcf314c6):
1002
1011
 
1003
- Added missing tslib dep
1012
+ Added missing tslib dep
1004
1013
 
1005
1014
  ## 11.0.1
1006
1015
 
1007
- - [patch][b0ef06c685](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/b0ef06c685):
1016
+ - [patch][b0ef06c685](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/b0ef06c685):
1008
1017
 
1009
- - This is just a safety release in case anything strange happened in in the previous one. See
1010
- Pull Request #5942 for details
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
- - [major][97bfe81ec8](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/97bfe81ec8):
1023
+ - [major][97bfe81ec8](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/97bfe81ec8):
1015
1024
 
1016
- - @atlaskit/code has been converted to Typescript. Typescript consumers will now get static
1017
- type safety. Flow types are no longer provided. No API or behavioural changes.
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
- - [major][7c17b35107](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/7c17b35107):
1030
+ - [major][7c17b35107](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/7c17b35107):
1022
1031
 
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.
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
- - 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
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
- - [major][76299208e6](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/76299208e6):
1044
+ - [major][76299208e6](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/76299208e6):
1036
1045
 
1037
- - Drop ES5 from all the flow modules
1046
+ - Drop ES5 from all the flow modules
1038
1047
 
1039
- ### Dropping CJS support in all @atlaskit packages
1048
+ ### Dropping CJS support in all @atlaskit packages
1040
1049
 
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.
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
- The major reason for doing this is to allow us to support multiple entry points in packages,
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
- ```js
1049
- import colors from `@atlaskit/theme/colors`;
1050
- ```
1056
+ ```js
1057
+ import colors from `@atlaskit/theme/colors`;
1058
+ ```
1051
1059
 
1052
- Previously this was sort of possible for consumers by doing something like:
1060
+ Previously this was sort of possible for consumers by doing something like:
1053
1061
 
1054
- ```js
1055
- import colors from `@atlaskit/theme/dist/esm/colors`;
1056
- ```
1062
+ ```js
1063
+ import colors from `@atlaskit/theme/dist/esm/colors`;
1064
+ ```
1057
1065
 
1058
- This has a couple of issues. 1, it treats the file system as API making internal refactors
1059
- harder, we have to worry about how consumers might be using things that aren't _actually_
1060
- supposed to be used. 2. We are unable to do this _internally_ in @atlaskit packages. This leads
1061
- to lots of packages bundling all of theme, just to use a single color, especially in situations
1062
- where tree shaking fails.
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
- To support being able to use multiple entrypoints internally, we unfortunately cannot have
1065
- multiple distributions as they would need to have very different imports from of their own
1066
- internal dependencies.
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
- ES Modules are widely supported by all modern bundlers and can be worked around in node
1069
- environments.
1076
+ ES Modules are widely supported by all modern bundlers and can be worked around in node
1077
+ environments.
1070
1078
 
1071
- We may choose to revisit this solution in the future if we find any unintended condequences, but
1072
- we see this as a pretty sane path forward which should lead to some major bundle size decreases,
1073
- saner API's and simpler package architecture.
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
- Please reach out to #fabric-build (if in Atlassian) or create an issue in
1076
- [Design System Support](https://ecosystem.atlassian.net/secure/CreateIssue.jspa?pid=24670) (for
1077
- external) if you have any questions or queries about this.
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
- - [patch][d49e9bbb13](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/d49e9bbb13):
1089
+ - [patch][d49e9bbb13](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/d49e9bbb13):
1082
1090
 
1083
- - Expose the props on website
1091
+ - Expose the props on website
1084
1092
 
1085
1093
  ## 8.2.2
1086
1094
 
1087
- - Updated dependencies [58b84fa](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/58b84fa):
1088
- - @atlaskit/theme@7.0.1
1089
- - @atlaskit/docs@6.0.0
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
- - Updated dependencies [d13242d](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/d13242d):
1094
- - @atlaskit/docs@5.2.3
1095
- - @atlaskit/theme@7.0.0
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
- - [minor][10fe416](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/10fe416):
1107
+ - [minor][10fe416](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/10fe416):
1100
1108
 
1101
- - Props Language should be required and surfacing more props for code
1109
+ - Props Language should be required and surfacing more props for code
1102
1110
 
1103
1111
  ## 8.1.1
1104
1112
 
1105
- - [patch][84e8015](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/84e8015):
1113
+ - [patch][84e8015](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/84e8015):
1106
1114
 
1107
- - Bump react-syntax-highlighter to 10.0.1
1115
+ - Bump react-syntax-highlighter to 10.0.1
1108
1116
 
1109
1117
  ## 8.1.0
1110
1118
 
1111
- - [minor][26027dd](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/26027dd):
1119
+ - [minor][26027dd](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/26027dd):
1112
1120
 
1113
- - Upgrade react syntax highlighter to version that ships its own async loaded languages and
1114
- supports SSR
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
- - [patch] Inline code should wrap
1119
- [f1d9a54](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/f1d9a54)
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
- - [patch] Fix webpack 3 support for page & code
1124
- [03af95e](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/03af95e)
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
- - [patch] Update babel config to transpile out dynamic imports for commonjs
1129
- [2dae295](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/2dae295)
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
- - [patch] Adds missing implicit @babel/runtime dependency
1134
- [b71751b](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/b71751b)
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
- - [patch] Add some padding to the code without line numbers
1139
- [67cd63d](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/67cd63d)
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
- - [patch] Added yaml to supported languages for code and added styling for the key token.
1144
- [95f9236](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/95f9236)
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
- - [patch] Async load highlighter languages
1149
- [9102fa2](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/9102fa2)
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
- - [patch] Upgrade react-syntax-highlighter again and use async loaded prism
1154
- [260d66a](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/260d66a)
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
- - [patch] Upgraded react-syntax-highlighter to 8.0.2
1159
- [7cc7000](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/7cc7000)
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
- - [patch] Adds sideEffects: false to allow proper tree shaking
1164
- [b5d6d04](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/b5d6d04)
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
- - [patch] Updated dependencies
1169
- [df22ad8](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/df22ad8)
1170
- - @atlaskit/theme@6.0.0
1171
- - @atlaskit/docs@5.0.6
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
- - [major] ED-4989: replace hjs with prism
1176
- [f9c0cdb](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/f9c0cdb)
1177
- - [none] Updated dependencies
1178
- [f9c0cdb](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/f9c0cdb)
1179
- - @atlaskit/docs@5.0.5
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
- - [patch] update the dependency of react-dom to 16.4.2 due to vulnerability in previous versions
1184
- read https://reactjs.org/blog/2018/08/01/react-v-16-4-2.html for details
1185
- [a4bd557](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/a4bd557)
1186
- - [none] Updated dependencies
1187
- [a4bd557](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/a4bd557)
1188
- - @atlaskit/theme@5.1.3
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
- - [patch] Updated dependencies
1193
- [acd86a1](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/acd86a1)
1194
- - @atlaskit/theme@5.1.2
1195
- - @atlaskit/docs@5.0.2
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
- - [patch] Add a SSR test for every package, add react-dom and build-utils in devDependencies
1200
- [7e331b5](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/7e331b5)
1201
- - [none] Updated dependencies
1202
- [7e331b5](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/7e331b5)
1203
- - @atlaskit/theme@5.1.1
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
- - [major] Updates to React ^16.4.0
1208
- [7edb866](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/7edb866)
1209
- - [major] Updated dependencies
1210
- [563a7eb](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/563a7eb)
1211
- - @atlaskit/theme@5.0.0
1212
- - @atlaskit/docs@5.0.0
1213
- - [major] Updated dependencies
1214
- [7edb866](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/7edb866)
1215
- - @atlaskit/theme@5.0.0
1216
- - @atlaskit/docs@5.0.0
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
- - [patch] Add default theme prop to prevent Code throwing errors when no theme provider is given
1221
- [07334bc](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/07334bc)
1222
- - [none] Updated dependencies
1223
- [07334bc](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/07334bc)
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
- - [major] Significantly reduce the bundle-size of @atlaskit/code by only supporting a subset of
1228
- languages. Also introduces support for theming the content via @atlaskit/theme. AK-4536
1229
- [eee2d45](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/eee2d45)
1230
- - [none] Updated dependencies
1231
- [eee2d45](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/eee2d45)
1232
- - @atlaskit/docs@4.2.1
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
- - [patch] Clean Changelogs - remove duplicates and empty entries
1237
- [e7756cd](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/e7756cd)
1238
- - [none] Updated dependencies
1239
- [e7756cd](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/e7756cd)
1240
- - @atlaskit/theme@4.0.4
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
- - [patch] Update changelogs to remove duplicate
1245
- [cc58e17](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/cc58e17)
1246
- - [none] Updated dependencies
1247
- [cc58e17](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/cc58e17)
1248
- - @atlaskit/theme@4.0.3
1249
- - @atlaskit/docs@4.1.1
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
- - [none] Updated dependencies
1254
- [9d20f54](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/9d20f54)
1255
- - @atlaskit/docs@4.1.0
1256
- - @atlaskit/theme@4.0.2
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
- - [patch] Update readme's [223cd67](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/223cd67)
1261
- - [patch] Updated dependencies
1262
- [223cd67](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/223cd67)
1263
- - @atlaskit/theme@4.0.1
1264
- - @atlaskit/docs@4.0.1
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
- - [major] makes styled-components a peer dependency and upgrades version range from 1.4.6 - 3 to
1269
- ^3.2.6 [1e80619](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/1e80619)
1270
- - [patch] Updated dependencies
1271
- [1e80619](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/1e80619)
1272
- - @atlaskit/theme@4.0.0
1273
- - @atlaskit/docs@4.0.0
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
- - [patch] Updated dependencies
1278
- [d662caa](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/d662caa)
1279
- - @atlaskit/theme@3.2.2
1280
- - @atlaskit/docs@3.0.4
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
- - [patch] Align font sizes for inline code, mentions and dates
1285
- [d2ef1af](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/d2ef1af)
1286
- - [none] Updated dependencies
1287
- [d2ef1af](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/d2ef1af)
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
- - [patch] Get rid of outdent dependency
1292
- [6a2c1d9](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/6a2c1d9)
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
- - [major] Bump to React 16.3.
1297
- [4251858](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/4251858)
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
- - [patch] Plain text should not be rendered as markdown
1302
- [fe307dc](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/fe307dc)
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
- - [patch] Re-releasing due to potentially broken babel release
1307
- [9ed0bba](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/9ed0bba)
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
- - [minor] Update styled-components dependency to support versions 1.4.6 - 3
1312
- [ceccf30](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/ceccf30)
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
- - [patch] updated the repository url to https://bitbucket.org/atlassian/atlaskit-mk-2
1317
- [1e57e5a](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/1e57e5a)
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
- - [patch] Packages Flow types for elements components
1322
- [3111e74](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/3111e74)
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
- - [patch] Minor manual bump for packages desync'd from npm
1327
- [e988c58](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/e988c58)
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
- - Manual bump to resolve desync with npm package version.
1339
+ - Manual bump to resolve desync with npm package version.
1332
1340
 
1333
1341
  ## 3.0.2
1334
1342
 
1335
- - [patch] Enabling syntax highlighter language auto-detect
1336
- [4831bd2](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/4831bd2)
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
- - [patch] Resolved low hanging flow errors in field-base field-text comment icon item and website,
1341
- \$ [007de27](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/007de27)
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
- - [major] Moved to elements repo converted to flow typing, stripped out typescript types
1346
- [235e392](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/235e392)
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
- - [patch] Remove styled-components as a peerDependency from @atlaskit/code.
1351
- [047032b](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/047032b)
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
- - [minor] Add React 16 support.
1356
- [12ea6e4](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/12ea6e4)
1363
+ - [minor] Add React 16 support.
1364
+ [12ea6e4](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/12ea6e4)