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