@atlaskit/badge 16.1.1 → 16.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +642 -623
- package/__perf__/withMax.tsx +5 -5
- package/__perf__/withoutMax.tsx +1 -1
- package/codemods/15.0.0-lite-mode.tsx +5 -9
- package/codemods/__tests__/15.0.0-lite-mode.test.tsx +14 -14
- package/codemods/__tests__/move-object-appearance-to-style.test.tsx +35 -35
- package/codemods/internal/move-object-appearance-to-style.tsx +53 -77
- package/dist/cjs/badge.js +2 -1
- package/dist/es2019/badge.js +2 -1
- package/dist/esm/badge.js +2 -1
- package/package.json +87 -89
- package/report.api.md +14 -13
package/CHANGELOG.md
CHANGED
|
@@ -1,1352 +1,1371 @@
|
|
|
1
1
|
# @atlaskit/badge
|
|
2
2
|
|
|
3
|
+
## 16.2.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#111696](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/111696)
|
|
8
|
+
[`20c2d58f6f8a9`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/20c2d58f6f8a9) -
|
|
9
|
+
Explicitly set jsxRuntime to classic via pragma comments in order to avoid issues where jsxRuntime
|
|
10
|
+
is implicitly set to automatic.
|
|
11
|
+
- [#111623](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/111623)
|
|
12
|
+
[`0392b6e4d865a`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/0392b6e4d865a) -
|
|
13
|
+
Sets `flex-shrink: 0` on Badge to avoid it spanning multiple lines when in flex containers that
|
|
14
|
+
aren't wide enough.
|
|
15
|
+
|
|
16
|
+
### Patch Changes
|
|
17
|
+
|
|
18
|
+
- Updated dependencies
|
|
19
|
+
|
|
20
|
+
## 16.1.2
|
|
21
|
+
|
|
22
|
+
### Patch Changes
|
|
23
|
+
|
|
24
|
+
- Updated dependencies
|
|
25
|
+
|
|
3
26
|
## 16.1.1
|
|
4
27
|
|
|
5
28
|
### Patch Changes
|
|
6
29
|
|
|
7
|
-
-
|
|
30
|
+
- Updated dependencies
|
|
8
31
|
|
|
9
32
|
## 16.1.0
|
|
10
33
|
|
|
11
34
|
### Minor Changes
|
|
12
35
|
|
|
13
|
-
-
|
|
14
|
-
|
|
15
|
-
|
|
36
|
+
- [#94806](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/94806)
|
|
37
|
+
[`6f40240a7290`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/6f40240a7290) -
|
|
38
|
+
Removed feature flag from previous release, keeping the newer changes.
|
|
16
39
|
|
|
17
40
|
## 16.0.0
|
|
18
41
|
|
|
19
42
|
### Major Changes
|
|
20
43
|
|
|
21
|
-
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
44
|
+
- [#88033](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/88033)
|
|
45
|
+
[`8c3fac87dcc9`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8c3fac87dcc9) -
|
|
46
|
+
Badge now sets specific font size, line height, font style, and font family properties under the
|
|
47
|
+
hood. If you previously had Badge wrapped with elements like `<em>` or `<strong>` that specify
|
|
48
|
+
font style or font weight properties, there will be a visual difference as these styles are
|
|
49
|
+
overriden within Badge. Avoid wrapping Badge in elements that modify text properties.
|
|
27
50
|
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
51
|
+
If you need to preserve these styles, wrap the children of Badge instead, for example:
|
|
52
|
+
`<Badge><em>1</em></Badge>`. Please note however this is not fully supported and will not work
|
|
53
|
+
with the `max` prop.
|
|
31
54
|
|
|
32
55
|
## 15.3.0
|
|
33
56
|
|
|
34
57
|
### Minor Changes
|
|
35
58
|
|
|
36
|
-
-
|
|
37
|
-
|
|
38
|
-
|
|
59
|
+
- [#87252](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/87252)
|
|
60
|
+
[`eef585934a84`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/eef585934a84) -
|
|
61
|
+
Add support for React 18 in non-strict mode.
|
|
39
62
|
|
|
40
63
|
### Patch Changes
|
|
41
64
|
|
|
42
|
-
-
|
|
65
|
+
- Updated dependencies
|
|
43
66
|
|
|
44
67
|
## 15.2.7
|
|
45
68
|
|
|
46
69
|
### Patch Changes
|
|
47
70
|
|
|
48
|
-
-
|
|
49
|
-
|
|
50
|
-
|
|
71
|
+
- [#83116](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/83116)
|
|
72
|
+
[`8d4e99057fe0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8d4e99057fe0) -
|
|
73
|
+
Upgrade Typescript from `4.9.5` to `5.4.2`
|
|
51
74
|
|
|
52
75
|
## 15.2.6
|
|
53
76
|
|
|
54
77
|
### Patch Changes
|
|
55
78
|
|
|
56
|
-
-
|
|
79
|
+
- Updated dependencies
|
|
57
80
|
|
|
58
81
|
## 15.2.5
|
|
59
82
|
|
|
60
83
|
### Patch Changes
|
|
61
84
|
|
|
62
|
-
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
85
|
+
- [#81805](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/81805)
|
|
86
|
+
[`36d7e564977a`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/36d7e564977a) -
|
|
87
|
+
Explicitly coerce value in `getSafeValue` utility function to improve compatibility with
|
|
88
|
+
TypeScript 5
|
|
66
89
|
|
|
67
90
|
## 15.2.4
|
|
68
91
|
|
|
69
92
|
### Patch Changes
|
|
70
93
|
|
|
71
|
-
-
|
|
94
|
+
- Updated dependencies
|
|
72
95
|
|
|
73
96
|
## 15.2.3
|
|
74
97
|
|
|
75
98
|
### Patch Changes
|
|
76
99
|
|
|
77
|
-
-
|
|
100
|
+
- Updated dependencies
|
|
78
101
|
|
|
79
102
|
## 15.2.2
|
|
80
103
|
|
|
81
104
|
### Patch Changes
|
|
82
105
|
|
|
83
|
-
-
|
|
106
|
+
- Updated dependencies
|
|
84
107
|
|
|
85
108
|
## 15.2.1
|
|
86
109
|
|
|
87
110
|
### Patch Changes
|
|
88
111
|
|
|
89
|
-
-
|
|
90
|
-
|
|
91
|
-
|
|
112
|
+
- [#60167](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/60167)
|
|
113
|
+
[`ae0930df4bfa`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/ae0930df4bfa) -
|
|
114
|
+
Renamed supportReact18 to runReact18
|
|
92
115
|
|
|
93
116
|
## 15.2.0
|
|
94
117
|
|
|
95
118
|
### Minor Changes
|
|
96
119
|
|
|
97
|
-
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
item.
|
|
120
|
+
- [#57070](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/57070)
|
|
121
|
+
[`42ba4ac39529`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/42ba4ac39529) -
|
|
122
|
+
Badge now uses height: min-content so it doesn't stretch when directly used as a flex / grid item.
|
|
101
123
|
|
|
102
124
|
## 15.1.16
|
|
103
125
|
|
|
104
126
|
### Patch Changes
|
|
105
127
|
|
|
106
|
-
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
128
|
+
- [#41725](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/41725)
|
|
129
|
+
[`8d838ab41ed`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8d838ab41ed) - Removed
|
|
130
|
+
all remaining legacy theming logic from Badge, IconObject, Lozenge and SectionMessage. This only
|
|
131
|
+
affects the examples and some tests in each component. No internal component logic contained
|
|
132
|
+
legacy theming.
|
|
111
133
|
|
|
112
134
|
## 15.1.15
|
|
113
135
|
|
|
114
136
|
### Patch Changes
|
|
115
137
|
|
|
116
|
-
-
|
|
138
|
+
- Updated dependencies
|
|
117
139
|
|
|
118
140
|
## 15.1.14
|
|
119
141
|
|
|
120
142
|
### Patch Changes
|
|
121
143
|
|
|
122
|
-
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
-
|
|
126
|
-
|
|
127
|
-
|
|
144
|
+
- [#37533](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/37533)
|
|
145
|
+
[`1ed303de3e8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/1ed303de3e8) - Updated
|
|
146
|
+
dependencies
|
|
147
|
+
- [#37419](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/37419)
|
|
148
|
+
[`95401cac781`](https://bitbucket.org/atlassian/atlassian-frontend/commits/95401cac781) - Internal
|
|
149
|
+
change to component composition. There is no expected change.
|
|
128
150
|
|
|
129
151
|
## 15.1.13
|
|
130
152
|
|
|
131
153
|
### Patch Changes
|
|
132
154
|
|
|
133
|
-
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
155
|
+
- [#36754](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/36754)
|
|
156
|
+
[`4ae083a7e66`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4ae083a7e66) - Use
|
|
157
|
+
`@af/accessibility-testing` for default jest-axe config and jest-axe import in accessibility
|
|
158
|
+
testing.
|
|
137
159
|
|
|
138
160
|
## 15.1.12
|
|
139
161
|
|
|
140
162
|
### Patch Changes
|
|
141
163
|
|
|
142
|
-
-
|
|
143
|
-
|
|
144
|
-
|
|
164
|
+
- [#36412](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/36412)
|
|
165
|
+
[`7e4085cd951`](https://bitbucket.org/atlassian/atlassian-frontend/commits/7e4085cd951) - Allow
|
|
166
|
+
caret version range in @atlaskit/primitives dependency.
|
|
145
167
|
|
|
146
168
|
## 15.1.11
|
|
147
169
|
|
|
148
170
|
### Patch Changes
|
|
149
171
|
|
|
150
|
-
-
|
|
172
|
+
- Updated dependencies
|
|
151
173
|
|
|
152
174
|
## 15.1.10
|
|
153
175
|
|
|
154
176
|
### Patch Changes
|
|
155
177
|
|
|
156
|
-
-
|
|
178
|
+
- Updated dependencies
|
|
157
179
|
|
|
158
180
|
## 15.1.9
|
|
159
181
|
|
|
160
182
|
### Patch Changes
|
|
161
183
|
|
|
162
|
-
-
|
|
184
|
+
- Updated dependencies
|
|
163
185
|
|
|
164
186
|
## 15.1.8
|
|
165
187
|
|
|
166
188
|
### Patch Changes
|
|
167
189
|
|
|
168
|
-
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
-
|
|
190
|
+
- [#35712](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/35712)
|
|
191
|
+
[`5af07899f5b`](https://bitbucket.org/atlassian/atlassian-frontend/commits/5af07899f5b) - Loosens
|
|
192
|
+
types to better reflect `xcss` API.
|
|
193
|
+
- Updated dependencies
|
|
172
194
|
|
|
173
195
|
## 15.1.7
|
|
174
196
|
|
|
175
197
|
### Patch Changes
|
|
176
198
|
|
|
177
|
-
-
|
|
199
|
+
- Updated dependencies
|
|
178
200
|
|
|
179
201
|
## 15.1.6
|
|
180
202
|
|
|
181
203
|
### Patch Changes
|
|
182
204
|
|
|
183
|
-
-
|
|
184
|
-
|
|
185
|
-
|
|
205
|
+
- [#35337](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/35337)
|
|
206
|
+
[`529814693a1`](https://bitbucket.org/atlassian/atlassian-frontend/commits/529814693a1) - Pin
|
|
207
|
+
version of @atlaskit/primitives so it resolves to correct version
|
|
186
208
|
|
|
187
209
|
## 15.1.5
|
|
188
210
|
|
|
189
211
|
### Patch Changes
|
|
190
212
|
|
|
191
|
-
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
-
|
|
213
|
+
- [#33833](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33833)
|
|
214
|
+
[`b8b41649492`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b8b41649492) - Update
|
|
215
|
+
how certain background colors are referenced by name. Internal changes only.
|
|
216
|
+
- Updated dependencies
|
|
195
217
|
|
|
196
218
|
## 15.1.4
|
|
197
219
|
|
|
198
220
|
### Patch Changes
|
|
199
221
|
|
|
200
|
-
-
|
|
201
|
-
|
|
202
|
-
|
|
222
|
+
- [#34922](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/34922)
|
|
223
|
+
[`779727e307a`](https://bitbucket.org/atlassian/atlassian-frontend/commits/779727e307a) - Internal
|
|
224
|
+
change only. Replace all instances of Box with stable @atlaskit/primitives version.
|
|
203
225
|
|
|
204
226
|
## 15.1.3
|
|
205
227
|
|
|
206
228
|
### Patch Changes
|
|
207
229
|
|
|
208
|
-
-
|
|
209
|
-
|
|
210
|
-
|
|
230
|
+
- [#34124](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/34124)
|
|
231
|
+
[`77766ad157d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/77766ad157d) - Enrol
|
|
232
|
+
packages to push-model consumption in Jira.
|
|
211
233
|
|
|
212
234
|
## 15.1.2
|
|
213
235
|
|
|
214
236
|
### Patch Changes
|
|
215
237
|
|
|
216
|
-
-
|
|
217
|
-
|
|
218
|
-
|
|
238
|
+
- [#33793](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33793)
|
|
239
|
+
[`9d00501a414`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9d00501a414) - Ensure
|
|
240
|
+
legacy types are published for TS 4.5-4.8
|
|
219
241
|
|
|
220
242
|
## 15.1.1
|
|
221
243
|
|
|
222
244
|
### Patch Changes
|
|
223
245
|
|
|
224
|
-
-
|
|
225
|
-
|
|
226
|
-
|
|
246
|
+
- [#33649](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33649)
|
|
247
|
+
[`41fae2c6f68`](https://bitbucket.org/atlassian/atlassian-frontend/commits/41fae2c6f68) - Upgrade
|
|
248
|
+
Typescript from `4.5.5` to `4.9.5`
|
|
227
249
|
|
|
228
250
|
## 15.1.0
|
|
229
251
|
|
|
230
252
|
### Minor Changes
|
|
231
253
|
|
|
232
|
-
-
|
|
233
|
-
|
|
234
|
-
|
|
254
|
+
- [#33258](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33258)
|
|
255
|
+
[`56507598609`](https://bitbucket.org/atlassian/atlassian-frontend/commits/56507598609) - Skip
|
|
256
|
+
minor dependency bump
|
|
235
257
|
|
|
236
258
|
### Patch Changes
|
|
237
259
|
|
|
238
|
-
-
|
|
260
|
+
- Updated dependencies
|
|
239
261
|
|
|
240
262
|
## 15.0.23
|
|
241
263
|
|
|
242
264
|
### Patch Changes
|
|
243
265
|
|
|
244
|
-
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
-
|
|
266
|
+
- [#27891](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/27891)
|
|
267
|
+
[`a7f643a0ee7`](https://bitbucket.org/atlassian/atlassian-frontend/commits/a7f643a0ee7) - Updated
|
|
268
|
+
badge line-height to use design system values, removed block padding. There are no visual or
|
|
269
|
+
behaviour changes.
|
|
270
|
+
- [`eadbf13d8c0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/eadbf13d8c0) - Updated
|
|
271
|
+
usages of `Text`, `Box`, `Stack`, and `Inline` primitives to reflect their updated APIs. There are
|
|
272
|
+
no visual or behaviour changes.
|
|
273
|
+
- Updated dependencies
|
|
252
274
|
|
|
253
275
|
## 15.0.22
|
|
254
276
|
|
|
255
277
|
### Patch Changes
|
|
256
278
|
|
|
257
|
-
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
-
|
|
261
|
-
|
|
262
|
-
-
|
|
279
|
+
- [#25860](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/25860)
|
|
280
|
+
[`936d6bccf4f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/936d6bccf4f) - Update
|
|
281
|
+
to emotion v11. No expected behaviour change.
|
|
282
|
+
- [`e35fc41dc33`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e35fc41dc33) - Internal
|
|
283
|
+
change to use updated primtive spacing prop values. No expected behaviour change.
|
|
284
|
+
- Updated dependencies
|
|
263
285
|
|
|
264
286
|
## 15.0.21
|
|
265
287
|
|
|
266
288
|
### Patch Changes
|
|
267
289
|
|
|
268
|
-
-
|
|
269
|
-
|
|
270
|
-
|
|
290
|
+
- [#26488](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/26488)
|
|
291
|
+
[`bc989043572`](https://bitbucket.org/atlassian/atlassian-frontend/commits/bc989043572) - Internal
|
|
292
|
+
changes to apply spacing tokens. This should be a no-op change.
|
|
271
293
|
|
|
272
294
|
## 15.0.20
|
|
273
295
|
|
|
274
296
|
### Patch Changes
|
|
275
297
|
|
|
276
|
-
-
|
|
277
|
-
|
|
278
|
-
|
|
298
|
+
- [#24874](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24874)
|
|
299
|
+
[`8cc2f888c83`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8cc2f888c83) - Upgrade
|
|
300
|
+
Typescript from `4.3.5` to `4.5.5`
|
|
279
301
|
|
|
280
302
|
## 15.0.19
|
|
281
303
|
|
|
282
304
|
### Patch Changes
|
|
283
305
|
|
|
284
|
-
-
|
|
285
|
-
|
|
286
|
-
|
|
306
|
+
- [#24991](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24991)
|
|
307
|
+
[`342ab3bc77e`](https://bitbucket.org/atlassian/atlassian-frontend/commits/342ab3bc77e) - Update
|
|
308
|
+
ds-explorations dependency to support previous patch
|
|
287
309
|
|
|
288
310
|
## 15.0.18
|
|
289
311
|
|
|
290
312
|
### Patch Changes
|
|
291
313
|
|
|
292
|
-
-
|
|
293
|
-
|
|
294
|
-
|
|
314
|
+
- [#24929](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24929)
|
|
315
|
+
[`57adb9bb931`](https://bitbucket.org/atlassian/atlassian-frontend/commits/57adb9bb931) - Fixes an
|
|
316
|
+
issue with '@atlaskit/badge' text color for certain appearances.
|
|
295
317
|
|
|
296
318
|
## 15.0.17
|
|
297
319
|
|
|
298
320
|
### Patch Changes
|
|
299
321
|
|
|
300
|
-
-
|
|
301
|
-
|
|
302
|
-
|
|
322
|
+
- [#24916](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24916)
|
|
323
|
+
[`fe54d8f1aec`](https://bitbucket.org/atlassian/atlassian-frontend/commits/fe54d8f1aec) - Update
|
|
324
|
+
ds-explorations dependency. No change in behaviour.
|
|
303
325
|
|
|
304
326
|
## 15.0.16
|
|
305
327
|
|
|
306
328
|
### Patch Changes
|
|
307
329
|
|
|
308
|
-
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
-
|
|
312
|
-
|
|
313
|
-
-
|
|
330
|
+
- [#24004](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24004)
|
|
331
|
+
[`06fd023cd85`](https://bitbucket.org/atlassian/atlassian-frontend/commits/06fd023cd85) - Minor
|
|
332
|
+
internal change to how text is displayed. No change to consumers.
|
|
333
|
+
- [`52809e4839b`](https://bitbucket.org/atlassian/atlassian-frontend/commits/52809e4839b) - Allow
|
|
334
|
+
makers to disable max value formatting in the Badge component
|
|
335
|
+
- Updated dependencies
|
|
314
336
|
|
|
315
337
|
## 15.0.15
|
|
316
338
|
|
|
317
339
|
### Patch Changes
|
|
318
340
|
|
|
319
|
-
-
|
|
320
|
-
|
|
321
|
-
|
|
341
|
+
- [#24492](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24492)
|
|
342
|
+
[`8d4228767b0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8d4228767b0) - Upgrade
|
|
343
|
+
Typescript from `4.2.4` to `4.3.5`.
|
|
322
344
|
|
|
323
345
|
## 15.0.14
|
|
324
346
|
|
|
325
347
|
### Patch Changes
|
|
326
348
|
|
|
327
|
-
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
- Updated dependencies
|
|
349
|
+
- [#23381](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/23381)
|
|
350
|
+
[`899199caabb`](https://bitbucket.org/atlassian/atlassian-frontend/commits/899199caabb) - Internal
|
|
351
|
+
changes to the way styles are applied. There should be no noticeable changes to consumers.
|
|
352
|
+
- [`8067cc918d9`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8067cc918d9) - Update
|
|
353
|
+
implementation to match changes made to Text primitive
|
|
354
|
+
- [`ea36ea17c4e`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ea36ea17c4e) - Text now
|
|
355
|
+
supports text-align and it's used for Badge to retain existing visuals
|
|
356
|
+
- Updated dependencies
|
|
336
357
|
|
|
337
358
|
## 15.0.13
|
|
338
359
|
|
|
339
360
|
### Patch Changes
|
|
340
361
|
|
|
341
|
-
-
|
|
362
|
+
- Updated dependencies
|
|
342
363
|
|
|
343
364
|
## 15.0.12
|
|
344
365
|
|
|
345
366
|
### Patch Changes
|
|
346
367
|
|
|
347
|
-
-
|
|
348
|
-
|
|
349
|
-
|
|
368
|
+
- [#20650](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/20650)
|
|
369
|
+
[`cb2392f6d33`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cb2392f6d33) - Upgrade
|
|
370
|
+
to TypeScript 4.2.4
|
|
350
371
|
|
|
351
372
|
## 15.0.11
|
|
352
373
|
|
|
353
374
|
### Patch Changes
|
|
354
375
|
|
|
355
|
-
-
|
|
376
|
+
- Updated dependencies
|
|
356
377
|
|
|
357
378
|
## 15.0.10
|
|
358
379
|
|
|
359
380
|
### Patch Changes
|
|
360
381
|
|
|
361
|
-
-
|
|
382
|
+
- Updated dependencies
|
|
362
383
|
|
|
363
384
|
## 15.0.9
|
|
364
385
|
|
|
365
386
|
### Patch Changes
|
|
366
387
|
|
|
367
|
-
-
|
|
388
|
+
- Updated dependencies
|
|
368
389
|
|
|
369
390
|
## 15.0.8
|
|
370
391
|
|
|
371
392
|
### Patch Changes
|
|
372
393
|
|
|
373
|
-
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
-
|
|
394
|
+
- [#16752](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/16752)
|
|
395
|
+
[`19d72473dfb`](https://bitbucket.org/atlassian/atlassian-frontend/commits/19d72473dfb) - Updates
|
|
396
|
+
usage of deprecated token names so they're aligned with the latest naming conventions. No UI or
|
|
397
|
+
visual changes
|
|
398
|
+
- Updated dependencies
|
|
378
399
|
|
|
379
400
|
## 15.0.7
|
|
380
401
|
|
|
381
402
|
### Patch Changes
|
|
382
403
|
|
|
383
|
-
-
|
|
404
|
+
- Updated dependencies
|
|
384
405
|
|
|
385
406
|
## 15.0.6
|
|
386
407
|
|
|
387
408
|
### Patch Changes
|
|
388
409
|
|
|
389
|
-
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
-
|
|
410
|
+
- [#15998](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/15998)
|
|
411
|
+
[`f460cc7c411`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f460cc7c411) - Builds
|
|
412
|
+
for this package now pass through a tokens babel plugin, removing runtime invocations of the
|
|
413
|
+
tokens() function and improving bundle size.
|
|
414
|
+
- Updated dependencies
|
|
394
415
|
|
|
395
416
|
## 15.0.5
|
|
396
417
|
|
|
397
418
|
### Patch Changes
|
|
398
419
|
|
|
399
|
-
-
|
|
420
|
+
- Updated dependencies
|
|
400
421
|
|
|
401
422
|
## 15.0.4
|
|
402
423
|
|
|
403
424
|
### Patch Changes
|
|
404
425
|
|
|
405
|
-
-
|
|
426
|
+
- Updated dependencies
|
|
406
427
|
|
|
407
428
|
## 15.0.3
|
|
408
429
|
|
|
409
430
|
### Patch Changes
|
|
410
431
|
|
|
411
|
-
-
|
|
432
|
+
- Updated dependencies
|
|
412
433
|
|
|
413
434
|
## 15.0.2
|
|
414
435
|
|
|
415
436
|
### Patch Changes
|
|
416
437
|
|
|
417
|
-
-
|
|
438
|
+
- Updated dependencies
|
|
418
439
|
|
|
419
440
|
## 15.0.1
|
|
420
441
|
|
|
421
442
|
### Patch Changes
|
|
422
443
|
|
|
423
|
-
-
|
|
444
|
+
- Updated dependencies
|
|
424
445
|
|
|
425
446
|
## 15.0.0
|
|
426
447
|
|
|
427
448
|
### Major Changes
|
|
428
449
|
|
|
429
|
-
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
- General performance improvements.
|
|
434
|
-
|
|
435
|
-
- We are now exporting a new `style` prop which you can use to pass a custom `backgroundColor`
|
|
436
|
-
and `color`.
|
|
450
|
+
- [#12837](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/12837)
|
|
451
|
+
[`942dd25df09`](https://bitbucket.org/atlassian/atlassian-frontend/commits/942dd25df09) - In this
|
|
452
|
+
version we made **Badge** dramatically faster and lighter.
|
|
437
453
|
|
|
438
|
-
|
|
439
|
-
be used in cases where you want to represent a number. If the value is `number`, we will use
|
|
440
|
-
existing formatting based on the `max` prop, otherwise the value will get rendered as it is.
|
|
454
|
+
- General performance improvements.
|
|
441
455
|
|
|
442
|
-
|
|
443
|
-
|
|
456
|
+
- We are now exporting a new `style` prop which you can use to pass a custom `backgroundColor` and
|
|
457
|
+
`color`.
|
|
444
458
|
|
|
445
|
-
|
|
459
|
+
- You can now pass `ReactNode` instead of `string` as children; however, **Badge** should only be
|
|
460
|
+
used in cases where you want to represent a number. If the value is `number`, we will use
|
|
461
|
+
existing formatting based on the `max` prop, otherwise the value will get rendered as it is.
|
|
446
462
|
|
|
447
|
-
|
|
448
|
-
|
|
463
|
+
- [**BREAKING**] We have removed the deprecated `theme` prop. Please use a combination of
|
|
464
|
+
`appearance` and `style` prop for custom theming.
|
|
449
465
|
|
|
450
|
-
|
|
466
|
+
**Before**:
|
|
451
467
|
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
themeProps: ThemeProps,
|
|
455
|
-
): ThemeTokens {
|
|
456
|
-
const defaultTokens = getTokens(themeProps);
|
|
468
|
+
```tsx
|
|
469
|
+
import Badge from '@atlaskit/badge';
|
|
457
470
|
|
|
458
|
-
|
|
459
|
-
return {
|
|
460
|
-
...defaultTokens,
|
|
461
|
-
textColor: 'grey',
|
|
462
|
-
};
|
|
463
|
-
}
|
|
471
|
+
type GetThemeTokensFn<ThemeTokens, ThemeProps> = (props: ThemeProps) => ThemeTokens;
|
|
464
472
|
|
|
465
|
-
|
|
466
|
-
|
|
473
|
+
function themeGetterFunction<ThemeTokens, ThemeProps>(
|
|
474
|
+
getTokens: GetThemeTokensFn<ThemeTokens, ThemeProps>,
|
|
475
|
+
themeProps: ThemeProps,
|
|
476
|
+
): ThemeTokens {
|
|
477
|
+
const defaultTokens = getTokens(themeProps);
|
|
467
478
|
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
479
|
+
if (themeProps.appearance === 'removed') {
|
|
480
|
+
return {
|
|
481
|
+
...defaultTokens,
|
|
482
|
+
textColor: 'grey',
|
|
483
|
+
};
|
|
484
|
+
}
|
|
472
485
|
|
|
473
|
-
|
|
486
|
+
return defaultTokens;
|
|
487
|
+
}
|
|
474
488
|
|
|
475
|
-
|
|
476
|
-
|
|
489
|
+
<Badge appearance="removed" theme={themeGetterFunction}>
|
|
490
|
+
{10}
|
|
491
|
+
</Badge>;
|
|
492
|
+
```
|
|
477
493
|
|
|
478
|
-
|
|
479
|
-
if (appearance === 'removed') {
|
|
480
|
-
return {
|
|
481
|
-
color: 'grey',
|
|
482
|
-
};
|
|
483
|
-
}
|
|
494
|
+
**After**:
|
|
484
495
|
|
|
485
|
-
|
|
486
|
-
|
|
496
|
+
```tsx
|
|
497
|
+
import Badge, { BadgeProps } from '@atlaskit/badge';
|
|
487
498
|
|
|
488
|
-
|
|
499
|
+
function getStyle(appearance: BadgeProps['appearance']) {
|
|
500
|
+
if (appearance === 'removed') {
|
|
501
|
+
return {
|
|
502
|
+
color: 'grey',
|
|
503
|
+
};
|
|
504
|
+
}
|
|
489
505
|
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
</Badge>;
|
|
493
|
-
```
|
|
506
|
+
return undefined;
|
|
507
|
+
}
|
|
494
508
|
|
|
495
|
-
|
|
496
|
-
of `style` and `ReactNode` type `children` prop for customization.
|
|
509
|
+
const appearance = 'removed';
|
|
497
510
|
|
|
498
|
-
|
|
511
|
+
<Badge appearance={appearance} style={getStyle(appearance)}>
|
|
512
|
+
{10}
|
|
513
|
+
</Badge>;
|
|
514
|
+
```
|
|
499
515
|
|
|
500
|
-
|
|
501
|
-
|
|
516
|
+
- [**BREAKING**] We have removed `Container` and `Format` components. Please use a combination of
|
|
517
|
+
`style` and `ReactNode` type `children` prop for customization.
|
|
502
518
|
|
|
503
|
-
|
|
504
|
-
<em>
|
|
505
|
-
<Format>{10}</Format>
|
|
506
|
-
</em>
|
|
507
|
-
</Container>;
|
|
508
|
-
```
|
|
519
|
+
**Before**:
|
|
509
520
|
|
|
510
|
-
|
|
521
|
+
```tsx
|
|
522
|
+
import { Container, Format } from '@atlaskit/badge';
|
|
511
523
|
|
|
512
|
-
|
|
513
|
-
|
|
524
|
+
<Container backgroundColor="red" textColor="blue">
|
|
525
|
+
<em>
|
|
526
|
+
<Format>{10}</Format>
|
|
527
|
+
</em>
|
|
528
|
+
</Container>;
|
|
529
|
+
```
|
|
514
530
|
|
|
515
|
-
|
|
516
|
-
<em>
|
|
517
|
-
{10}
|
|
518
|
-
</em>
|
|
519
|
-
</Badge>
|
|
531
|
+
**After**:
|
|
520
532
|
|
|
521
|
-
|
|
533
|
+
```tsx
|
|
534
|
+
import Badge from '@atlaskit/badge';
|
|
522
535
|
|
|
536
|
+
<Badge style={{ backgroundColor: 'red', color: 'blue' }}>
|
|
523
537
|
<em>
|
|
524
|
-
|
|
525
|
-
{10}
|
|
526
|
-
</Badge>
|
|
538
|
+
{10}
|
|
527
539
|
</em>
|
|
528
|
-
|
|
540
|
+
</Badge>
|
|
541
|
+
|
|
542
|
+
// or if you are passing `max` prop so that formatting logic should work
|
|
543
|
+
|
|
544
|
+
<em>
|
|
545
|
+
<Badge style={{ backgroundColor: 'red', color: 'blue' }} max={5}>
|
|
546
|
+
{10}
|
|
547
|
+
</Badge>
|
|
548
|
+
</em>
|
|
549
|
+
```
|
|
529
550
|
|
|
530
|
-
|
|
531
|
-
|
|
551
|
+
- [**BREAKING**] We have removed the support of `appearance` prop object value. Please use `style`
|
|
552
|
+
prop for customization.
|
|
532
553
|
|
|
533
|
-
|
|
554
|
+
**Before**:
|
|
534
555
|
|
|
535
|
-
|
|
536
|
-
|
|
556
|
+
```tsx
|
|
557
|
+
import Badge from '@atlaskit/badge';
|
|
537
558
|
|
|
538
|
-
|
|
539
|
-
|
|
559
|
+
<Badge appearance={{ backgroundColor: 'red', textColor: 'blue' }}>{10}</Badge>;
|
|
560
|
+
```
|
|
540
561
|
|
|
541
|
-
|
|
562
|
+
**After**:
|
|
542
563
|
|
|
543
|
-
|
|
544
|
-
|
|
564
|
+
```tsx
|
|
565
|
+
import Badge from '@atlaskit/badge';
|
|
545
566
|
|
|
546
|
-
|
|
547
|
-
|
|
567
|
+
<Badge style={{ backgroundColor: 'red', color: 'blue' }}>{10}</Badge>;
|
|
568
|
+
```
|
|
548
569
|
|
|
549
|
-
|
|
570
|
+
**Running the codemod cli**
|
|
550
571
|
|
|
551
|
-
|
|
572
|
+
To run the codemod: **You first need to have the latest version installed**
|
|
552
573
|
|
|
553
|
-
|
|
574
|
+
```bash
|
|
554
575
|
|
|
555
|
-
|
|
576
|
+
yarn upgrade @atlaskit/badge@^15.0.0
|
|
556
577
|
|
|
557
|
-
|
|
578
|
+
```
|
|
558
579
|
|
|
559
|
-
|
|
580
|
+
Once upgraded, use `@atlaskit/codemod-cli` via `npx`:
|
|
560
581
|
|
|
561
|
-
|
|
582
|
+
```bash
|
|
562
583
|
|
|
563
|
-
|
|
584
|
+
npx @atlaskit/codemod-cli --parser babel --extensions ts,tsx,js [relativePath]
|
|
564
585
|
|
|
565
|
-
|
|
586
|
+
```
|
|
566
587
|
|
|
567
|
-
|
|
568
|
-
|
|
588
|
+
The CLI will show a list of components and versions so select `@atlaskit/badge@^15.0.0` and you
|
|
589
|
+
will automatically be upgraded.
|
|
569
590
|
|
|
570
|
-
|
|
591
|
+
What will be changed:
|
|
571
592
|
|
|
572
|
-
|
|
573
|
-
|
|
593
|
+
- It will move `backgroundColor` and `textColor` from `appearance` prop (if object is passed as
|
|
594
|
+
`appearance` prop value) to `style` prop.
|
|
574
595
|
|
|
575
|
-
|
|
596
|
+
Run `npx @atlaskit/codemod-cli -h` for more details on usage.
|
|
576
597
|
|
|
577
|
-
|
|
598
|
+
For Atlassians,
|
|
578
599
|
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
details on the codemod CLI.
|
|
600
|
+
refer to the [documentation](https://hello.atlassian.net/wiki/spaces/AF/pages/2627171992/Codemods)
|
|
601
|
+
for more details on the codemod CLI.
|
|
582
602
|
|
|
583
603
|
### Minor Changes
|
|
584
604
|
|
|
585
|
-
-
|
|
586
|
-
|
|
605
|
+
- [`0ced21f8470`](https://bitbucket.org/atlassian/atlassian-frontend/commits/0ced21f8470) - [ux]
|
|
606
|
+
Colors are now sourced through tokens.
|
|
587
607
|
|
|
588
608
|
### Patch Changes
|
|
589
609
|
|
|
590
|
-
-
|
|
610
|
+
- Updated dependencies
|
|
591
611
|
|
|
592
612
|
## 14.3.2
|
|
593
613
|
|
|
594
614
|
### Patch Changes
|
|
595
615
|
|
|
596
|
-
-
|
|
597
|
-
|
|
598
|
-
|
|
616
|
+
- [#12880](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/12880)
|
|
617
|
+
[`378d1cef00f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/378d1cef00f) - Bump
|
|
618
|
+
`@atlaskit/theme` to version `^11.3.0`.
|
|
599
619
|
|
|
600
620
|
## 14.3.1
|
|
601
621
|
|
|
602
622
|
### Patch Changes
|
|
603
623
|
|
|
604
|
-
-
|
|
605
|
-
|
|
606
|
-
|
|
624
|
+
- [#12328](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/12328)
|
|
625
|
+
[`9c98e8227f6`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9c98e8227f6) - Internal
|
|
626
|
+
refactor for style declarations.
|
|
607
627
|
|
|
608
628
|
## 14.3.0
|
|
609
629
|
|
|
610
630
|
### Minor Changes
|
|
611
631
|
|
|
612
|
-
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
632
|
+
- [#11649](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/11649)
|
|
633
|
+
[`ed3b6be05af`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ed3b6be05af) - - Expose
|
|
634
|
+
2 new entry points: badge and types
|
|
635
|
+
- Internal refactoring
|
|
616
636
|
|
|
617
637
|
### Patch Changes
|
|
618
638
|
|
|
619
|
-
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
-
|
|
623
|
-
|
|
639
|
+
- [`75b394efe89`](https://bitbucket.org/atlassian/atlassian-frontend/commits/75b394efe89) - Added
|
|
640
|
+
the design-system tech stacks to the package.json and fixed linting errors, also disabled some
|
|
641
|
+
linting rules to prevent breaking changes
|
|
642
|
+
- [`e3205bce20d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e3205bce20d) - Internal
|
|
643
|
+
change (migrated from styled-components to emotion)
|
|
624
644
|
|
|
625
645
|
## 14.2.1
|
|
626
646
|
|
|
627
647
|
### Patch Changes
|
|
628
648
|
|
|
629
|
-
-
|
|
630
|
-
|
|
631
|
-
|
|
649
|
+
- [#12167](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/12167)
|
|
650
|
+
[`d6f7ff383cf`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d6f7ff383cf) - Updates
|
|
651
|
+
to development dependency `storybook-addon-performance`
|
|
632
652
|
|
|
633
653
|
## 14.2.0
|
|
634
654
|
|
|
635
655
|
### Minor Changes
|
|
636
656
|
|
|
637
|
-
-
|
|
638
|
-
|
|
639
|
-
|
|
657
|
+
- [#12170](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/12170)
|
|
658
|
+
[`f6b951a51f2`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f6b951a51f2) - Removes
|
|
659
|
+
usage of styled-components in favour of standardising on emotion
|
|
640
660
|
|
|
641
661
|
## 14.1.1
|
|
642
662
|
|
|
643
663
|
### Patch Changes
|
|
644
664
|
|
|
645
|
-
-
|
|
646
|
-
|
|
647
|
-
|
|
665
|
+
- [#11113](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/11113)
|
|
666
|
+
[`b71c7c1e132`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b71c7c1e132) - Added
|
|
667
|
+
the `design-system` tech stacks to the `package.json`
|
|
648
668
|
|
|
649
669
|
## 14.1.0
|
|
650
670
|
|
|
651
671
|
### Minor Changes
|
|
652
672
|
|
|
653
|
-
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
673
|
+
- [#7170](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/7170)
|
|
674
|
+
[`4f9e6e2db5`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4f9e6e2db5) - These
|
|
675
|
+
packages now have defined entry points -- this means that you cannot access internal files in the
|
|
676
|
+
packages that are not meant to be public. Sub-components in these packages have been explicitly
|
|
677
|
+
defined, aiding tree-shaking and reducing bundle size.
|
|
658
678
|
|
|
659
679
|
## 14.0.7
|
|
660
680
|
|
|
661
681
|
### Patch Changes
|
|
662
682
|
|
|
663
|
-
-
|
|
664
|
-
|
|
665
|
-
|
|
683
|
+
- [#5857](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/5857)
|
|
684
|
+
[`d3265f19be`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d3265f19be) - Transpile
|
|
685
|
+
packages using babel rather than tsc
|
|
666
686
|
|
|
667
687
|
## 14.0.6
|
|
668
688
|
|
|
669
689
|
### Patch Changes
|
|
670
690
|
|
|
671
|
-
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
691
|
+
- [#5497](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/5497)
|
|
692
|
+
[`5f58283e1f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/5f58283e1f) - Export
|
|
693
|
+
types using Typescript's new "export type" syntax to satisfy Typescript's --isolatedModules
|
|
694
|
+
compiler option. This requires version 3.8 of Typescript, read more about how we handle Typescript
|
|
695
|
+
versions here: https://atlaskit.atlassian.com/get-started Also add `typescript` to
|
|
696
|
+
`devDependencies` to denote version that the package was built with.
|
|
677
697
|
|
|
678
698
|
## 14.0.5
|
|
679
699
|
|
|
680
700
|
### Patch Changes
|
|
681
701
|
|
|
682
|
-
-
|
|
702
|
+
- Updated dependencies
|
|
683
703
|
|
|
684
704
|
## 14.0.4
|
|
685
705
|
|
|
686
706
|
### Patch Changes
|
|
687
707
|
|
|
688
|
-
-
|
|
689
|
-
|
|
690
|
-
|
|
708
|
+
- [#4707](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/4707)
|
|
709
|
+
[`6360c46009`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6360c46009) - Reenable
|
|
710
|
+
integration tests for Edge browser
|
|
691
711
|
|
|
692
712
|
## 14.0.3
|
|
693
713
|
|
|
694
714
|
### Patch Changes
|
|
695
715
|
|
|
696
|
-
-
|
|
697
|
-
|
|
698
|
-
|
|
716
|
+
- [#3885](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3885)
|
|
717
|
+
[`6c525a8229`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6c525a8229) - Upgraded
|
|
718
|
+
to TypeScript 3.9.6 and tslib to 2.0.0
|
|
699
719
|
|
|
700
|
-
|
|
701
|
-
|
|
720
|
+
Since tslib is a dependency for all our packages we recommend that products also follow this tslib
|
|
721
|
+
upgrade to prevent duplicates of tslib being bundled.
|
|
702
722
|
|
|
703
723
|
## 14.0.2
|
|
704
724
|
|
|
705
725
|
### Patch Changes
|
|
706
726
|
|
|
707
|
-
-
|
|
708
|
-
|
|
709
|
-
|
|
727
|
+
- [#3293](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3293)
|
|
728
|
+
[`954cc87b62`](https://bitbucket.org/atlassian/atlassian-frontend/commits/954cc87b62) - The readme
|
|
729
|
+
and package information has been updated to point to the new design system website.
|
|
710
730
|
|
|
711
731
|
## 14.0.1
|
|
712
732
|
|
|
713
733
|
### Patch Changes
|
|
714
734
|
|
|
715
|
-
-
|
|
716
|
-
|
|
717
|
-
|
|
735
|
+
- [#3428](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3428)
|
|
736
|
+
[`db053b24d8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/db053b24d8) - Update all
|
|
737
|
+
the theme imports to be tree-shakable
|
|
718
738
|
|
|
719
739
|
## 14.0.0
|
|
720
740
|
|
|
721
741
|
### Major Changes
|
|
722
742
|
|
|
723
|
-
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
743
|
+
- [#3335](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3335)
|
|
744
|
+
[`87f4720f27`](https://bitbucket.org/atlassian/atlassian-frontend/commits/87f4720f27) - Officially
|
|
745
|
+
dropping IE11 support, from this version onwards there are no warranties of the package working in
|
|
746
|
+
IE11. For more information see:
|
|
747
|
+
https://community.developer.atlassian.com/t/atlaskit-to-drop-support-for-internet-explorer-11-from-1st-july-2020/39534
|
|
728
748
|
|
|
729
749
|
### Patch Changes
|
|
730
750
|
|
|
731
|
-
-
|
|
751
|
+
- Updated dependencies
|
|
732
752
|
|
|
733
753
|
## 13.1.10
|
|
734
754
|
|
|
735
755
|
### Patch Changes
|
|
736
756
|
|
|
737
|
-
-
|
|
738
|
-
|
|
739
|
-
|
|
757
|
+
- [#2866](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/2866)
|
|
758
|
+
[`54a9514fcf`](https://bitbucket.org/atlassian/atlassian-frontend/commits/54a9514fcf) - Build and
|
|
759
|
+
supporting files will no longer be published to npm
|
|
740
760
|
|
|
741
761
|
## 13.1.9
|
|
742
762
|
|
|
743
763
|
### Patch Changes
|
|
744
764
|
|
|
745
|
-
-
|
|
765
|
+
- Updated dependencies
|
|
746
766
|
|
|
747
767
|
## 13.1.8
|
|
748
768
|
|
|
749
769
|
### Patch Changes
|
|
750
770
|
|
|
751
|
-
-
|
|
771
|
+
- [patch][093fdc91b1](https://bitbucket.org/atlassian/atlassian-frontend/commits/093fdc91b1):
|
|
752
772
|
|
|
753
|
-
|
|
754
|
-
|
|
773
|
+
Change imports to comply with Atlassian conventions- Updated dependencies
|
|
774
|
+
[fd41d77c29](https://bitbucket.org/atlassian/atlassian-frontend/commits/fd41d77c29):
|
|
755
775
|
|
|
756
|
-
|
|
776
|
+
- @atlaskit/webdriver-runner@0.3.4
|
|
757
777
|
|
|
758
778
|
## 13.1.7
|
|
759
779
|
|
|
760
780
|
### Patch Changes
|
|
761
781
|
|
|
762
|
-
-
|
|
763
|
-
|
|
764
|
-
-
|
|
765
|
-
|
|
766
|
-
-
|
|
767
|
-
|
|
768
|
-
-
|
|
769
|
-
|
|
770
|
-
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
782
|
+
- Updated dependencies
|
|
783
|
+
[66dcced7a0](https://bitbucket.org/atlassian/atlassian-frontend/commits/66dcced7a0):
|
|
784
|
+
- Updated dependencies
|
|
785
|
+
[64fb94fb1e](https://bitbucket.org/atlassian/atlassian-frontend/commits/64fb94fb1e):
|
|
786
|
+
- Updated dependencies
|
|
787
|
+
[eea5e9bd8c](https://bitbucket.org/atlassian/atlassian-frontend/commits/eea5e9bd8c):
|
|
788
|
+
- Updated dependencies
|
|
789
|
+
[109c1a2c0a](https://bitbucket.org/atlassian/atlassian-frontend/commits/109c1a2c0a):
|
|
790
|
+
- Updated dependencies
|
|
791
|
+
[c57bb32f6d](https://bitbucket.org/atlassian/atlassian-frontend/commits/c57bb32f6d):
|
|
792
|
+
- @atlaskit/docs@8.4.0
|
|
793
|
+
- @atlaskit/webdriver-runner@0.3.0
|
|
774
794
|
|
|
775
795
|
## 13.1.6
|
|
776
796
|
|
|
777
797
|
### Patch Changes
|
|
778
798
|
|
|
779
|
-
-
|
|
780
|
-
|
|
781
|
-
|
|
799
|
+
- Updated dependencies
|
|
800
|
+
[e3f01787dd](https://bitbucket.org/atlassian/atlassian-frontend/commits/e3f01787dd):
|
|
801
|
+
- @atlaskit/webdriver-runner@0.2.0
|
|
782
802
|
|
|
783
803
|
## 13.1.5
|
|
784
804
|
|
|
785
805
|
### Patch Changes
|
|
786
806
|
|
|
787
|
-
-
|
|
807
|
+
- [patch][6548261c9a](https://bitbucket.org/atlassian/atlassian-frontend/commits/6548261c9a):
|
|
788
808
|
|
|
789
|
-
|
|
790
|
-
|
|
809
|
+
Remove namespace imports from React, ReactDom, and PropTypes- Updated dependencies
|
|
810
|
+
[6548261c9a](https://bitbucket.org/atlassian/atlassian-frontend/commits/6548261c9a):
|
|
791
811
|
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
812
|
+
- @atlaskit/docs@8.3.2
|
|
813
|
+
- @atlaskit/visual-regression@0.1.9
|
|
814
|
+
- @atlaskit/theme@9.5.1
|
|
795
815
|
|
|
796
816
|
## 13.1.4
|
|
797
817
|
|
|
798
818
|
### Patch Changes
|
|
799
819
|
|
|
800
|
-
-
|
|
820
|
+
- [patch][4a223473c5](https://bitbucket.org/atlassian/atlassian-frontend/commits/4a223473c5):
|
|
801
821
|
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
822
|
+
Removes babel/runtime from dependencies. Users should see a smaller bundlesize as a result-
|
|
823
|
+
Updated dependencies
|
|
824
|
+
[82747f2922](https://bitbucket.org/atlassian/atlassian-frontend/commits/82747f2922):
|
|
805
825
|
|
|
806
|
-
|
|
826
|
+
- @atlaskit/theme@9.5.0
|
|
807
827
|
|
|
808
828
|
## 13.1.3
|
|
809
829
|
|
|
810
830
|
### Patch Changes
|
|
811
831
|
|
|
812
|
-
-
|
|
832
|
+
- [patch][557a8e2451](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/557a8e2451):
|
|
813
833
|
|
|
814
|
-
|
|
834
|
+
Rebuilds package to fix typescript typing error.
|
|
815
835
|
|
|
816
836
|
## 13.1.2
|
|
817
837
|
|
|
818
838
|
### Patch Changes
|
|
819
839
|
|
|
820
|
-
-
|
|
840
|
+
- [patch][35d2229b2a](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/35d2229b2a):
|
|
821
841
|
|
|
822
|
-
|
|
842
|
+
Adding missing license to packages and update to Copyright 2019 Atlassian Pty Ltd.
|
|
823
843
|
|
|
824
844
|
## 13.1.1
|
|
825
845
|
|
|
826
846
|
### Patch Changes
|
|
827
847
|
|
|
828
|
-
-
|
|
848
|
+
- [patch][a2d0043716](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/a2d0043716):
|
|
829
849
|
|
|
830
|
-
|
|
850
|
+
Updated version of analytics-next to fix potential incompatibilities with TS 3.6
|
|
831
851
|
|
|
832
852
|
## 13.1.0
|
|
833
853
|
|
|
834
854
|
### Minor Changes
|
|
835
855
|
|
|
836
|
-
-
|
|
856
|
+
- [minor][a97f1c5b5e](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/a97f1c5b5e):
|
|
837
857
|
|
|
838
|
-
|
|
839
|
-
|
|
858
|
+
Adding an optional prop `testId` that will set the attribute value `data-testid`. It will help
|
|
859
|
+
products to write better integration and end to end tests.
|
|
840
860
|
|
|
841
861
|
## 13.0.0
|
|
842
862
|
|
|
843
863
|
### Major Changes
|
|
844
864
|
|
|
845
|
-
-
|
|
865
|
+
- [major][6410edd029](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/6410edd029):
|
|
846
866
|
|
|
847
|
-
|
|
848
|
-
|
|
867
|
+
Deprecated props, `value` and `onValueUpdated` have been removed from the Badge component. Please
|
|
868
|
+
use the children prop instead.
|
|
849
869
|
|
|
850
870
|
## 12.1.0
|
|
851
871
|
|
|
852
872
|
### Minor Changes
|
|
853
873
|
|
|
854
|
-
-
|
|
874
|
+
- [minor][c6efb2f5b6](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/c6efb2f5b6):
|
|
855
875
|
|
|
856
|
-
|
|
876
|
+
Prefix the legacy lifecycle methods with UNSAFE\_\* to avoid warning in React 16.9+
|
|
857
877
|
|
|
858
|
-
|
|
859
|
-
|
|
878
|
+
More information about the deprecation of lifecycles methods can be found here:
|
|
879
|
+
https://reactjs.org/blog/2018/03/29/react-v-16-3.html#component-lifecycle-changes
|
|
860
880
|
|
|
861
881
|
## 12.0.8
|
|
862
882
|
|
|
863
883
|
### Patch Changes
|
|
864
884
|
|
|
865
|
-
-
|
|
885
|
+
- [patch][097b696613](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/097b696613):
|
|
866
886
|
|
|
867
|
-
|
|
868
|
-
|
|
887
|
+
Components now depend on TS 3.6 internally, in order to fix an issue with TS resolving
|
|
888
|
+
non-relative imports as relative imports
|
|
869
889
|
|
|
870
890
|
## 12.0.7
|
|
871
891
|
|
|
872
892
|
### Patch Changes
|
|
873
893
|
|
|
874
|
-
-
|
|
894
|
+
- [patch][ecca4d1dbb](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/ecca4d1dbb):
|
|
875
895
|
|
|
876
|
-
|
|
896
|
+
Upgraded Typescript to 3.3.x
|
|
877
897
|
|
|
878
898
|
## 12.0.6
|
|
879
899
|
|
|
880
900
|
### Patch Changes
|
|
881
901
|
|
|
882
|
-
-
|
|
902
|
+
- [patch][708028db86](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/708028db86):
|
|
883
903
|
|
|
884
|
-
|
|
904
|
+
Change all the imports to theme in Core to use multi entry points
|
|
885
905
|
|
|
886
906
|
## 12.0.5
|
|
887
907
|
|
|
888
908
|
### Patch Changes
|
|
889
909
|
|
|
890
|
-
-
|
|
910
|
+
- [patch][de35ce8c67](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/de35ce8c67):
|
|
891
911
|
|
|
892
|
-
|
|
912
|
+
Updates component maintainers
|
|
893
913
|
|
|
894
914
|
## 12.0.4
|
|
895
915
|
|
|
896
916
|
### Patch Changes
|
|
897
917
|
|
|
898
|
-
-
|
|
918
|
+
- [patch][bbff8a7d87](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/bbff8a7d87):
|
|
899
919
|
|
|
900
|
-
|
|
920
|
+
Fixes bug, missing version.json file
|
|
901
921
|
|
|
902
922
|
## 12.0.3
|
|
903
923
|
|
|
904
924
|
### Patch Changes
|
|
905
925
|
|
|
906
|
-
-
|
|
926
|
+
- [patch][18dfac7332](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/18dfac7332):
|
|
907
927
|
|
|
908
|
-
|
|
928
|
+
In this PR, we are:
|
|
909
929
|
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
|
|
930
|
+
- Re-introducing dist build folders
|
|
931
|
+
- Adding back cjs
|
|
932
|
+
- Replacing es5 by cjs and es2015 by esm
|
|
933
|
+
- Creating folders at the root for entry-points
|
|
934
|
+
- Removing the generation of the entry-points at the root Please see this
|
|
935
|
+
[ticket](https://product-fabric.atlassian.net/browse/BUILDTOOLS-118) or this
|
|
936
|
+
[page](https://hello.atlassian.net/wiki/spaces/FED/pages/452325500/Finishing+Atlaskit+multiple+entry+points)
|
|
937
|
+
for further details
|
|
918
938
|
|
|
919
939
|
## 12.0.2
|
|
920
940
|
|
|
921
941
|
### Patch Changes
|
|
922
942
|
|
|
923
|
-
-
|
|
943
|
+
- [patch][d0db01b410](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/d0db01b410):
|
|
924
944
|
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
|
|
945
|
+
TypeScript users of withAnalyticsEvents and withAnalyticsContext are now required to provide props
|
|
946
|
+
as a generic type. This is so that TypeScript can correctly calculate the props and defaultProps
|
|
947
|
+
of the returned component.
|
|
928
948
|
|
|
929
|
-
|
|
949
|
+
Before:
|
|
930
950
|
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
|
|
951
|
+
```typescript
|
|
952
|
+
withAnalyticsEvents()(Button) as ComponentClass<Props>;
|
|
953
|
+
```
|
|
934
954
|
|
|
935
|
-
|
|
955
|
+
After:
|
|
936
956
|
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
|
|
957
|
+
```typescript
|
|
958
|
+
withAnalyticsEvents<Props>()(Button);
|
|
959
|
+
```
|
|
940
960
|
|
|
941
961
|
## 12.0.1
|
|
942
962
|
|
|
943
963
|
### Patch Changes
|
|
944
964
|
|
|
945
|
-
-
|
|
965
|
+
- [patch][29a1f158c1](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/29a1f158c1):
|
|
946
966
|
|
|
947
|
-
|
|
967
|
+
Use default react import in typescript files.
|
|
948
968
|
|
|
949
969
|
## 12.0.0
|
|
950
970
|
|
|
951
|
-
-
|
|
971
|
+
- [major][7c17b35107](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/7c17b35107):
|
|
952
972
|
|
|
953
|
-
|
|
954
|
-
|
|
973
|
+
- Updates react and react-dom peer dependencies to react@^16.8.0 and react-dom@^16.8.0. To use
|
|
974
|
+
this package, please ensure you use at least this version of react and react-dom.
|
|
955
975
|
|
|
956
976
|
## 11.0.3
|
|
957
977
|
|
|
958
|
-
-
|
|
978
|
+
- [patch][50e8c82ec4](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/50e8c82ec4):
|
|
959
979
|
|
|
960
|
-
|
|
980
|
+
- index.ts is now ignored when published to npm to avoid ambiguity between ts and js files
|
|
961
981
|
|
|
962
982
|
## 11.0.2
|
|
963
983
|
|
|
964
|
-
-
|
|
984
|
+
- [patch][0a4ccaafae](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/0a4ccaafae):
|
|
965
985
|
|
|
966
|
-
|
|
986
|
+
- Bump tslib
|
|
967
987
|
|
|
968
988
|
## 11.0.1
|
|
969
989
|
|
|
970
|
-
-
|
|
971
|
-
|
|
972
|
-
|
|
973
|
-
|
|
990
|
+
- Updated dependencies
|
|
991
|
+
[9c0b4744be](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/9c0b4744be):
|
|
992
|
+
- @atlaskit/docs@7.0.3
|
|
993
|
+
- @atlaskit/theme@8.1.7
|
|
974
994
|
|
|
975
995
|
## 11.0.0
|
|
976
996
|
|
|
977
|
-
-
|
|
997
|
+
- [major][c95557e3ff](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/c95557e3ff):
|
|
978
998
|
|
|
979
|
-
|
|
980
|
-
|
|
981
|
-
|
|
982
|
-
|
|
999
|
+
- Drops flow support.
|
|
1000
|
+
- Badge has been internally converted to TypeScript.
|
|
1001
|
+
- Typescript consumers will get static type safety.
|
|
1002
|
+
- No API or behavioural changes.
|
|
983
1003
|
|
|
984
1004
|
## 10.0.1
|
|
985
1005
|
|
|
986
|
-
-
|
|
1006
|
+
- [patch][98e11001ff](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/98e11001ff):
|
|
987
1007
|
|
|
988
|
-
|
|
1008
|
+
- Removes duplicate babel-runtime dependency
|
|
989
1009
|
|
|
990
1010
|
## 10.0.0
|
|
991
1011
|
|
|
992
|
-
-
|
|
1012
|
+
- [major][76299208e6](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/76299208e6):
|
|
993
1013
|
|
|
994
|
-
|
|
1014
|
+
- Drop ES5 from all the flow modules
|
|
995
1015
|
|
|
996
|
-
|
|
1016
|
+
### Dropping CJS support in all @atlaskit packages
|
|
997
1017
|
|
|
998
|
-
|
|
999
|
-
|
|
1000
|
-
|
|
1018
|
+
As a breaking change, all @atlaskit packages will be dropping cjs distributions and will only
|
|
1019
|
+
distribute esm. This means all distributed code will be transpiled, but will still contain
|
|
1020
|
+
`import` and `export` declarations.
|
|
1001
1021
|
|
|
1002
|
-
|
|
1003
|
-
e.g:
|
|
1022
|
+
The major reason for doing this is to allow us to support multiple entry points in packages, e.g:
|
|
1004
1023
|
|
|
1005
|
-
|
|
1006
|
-
|
|
1007
|
-
|
|
1024
|
+
```js
|
|
1025
|
+
import colors from `@atlaskit/theme/colors`;
|
|
1026
|
+
```
|
|
1008
1027
|
|
|
1009
|
-
|
|
1028
|
+
Previously this was sort of possible for consumers by doing something like:
|
|
1010
1029
|
|
|
1011
|
-
|
|
1012
|
-
|
|
1013
|
-
|
|
1030
|
+
```js
|
|
1031
|
+
import colors from `@atlaskit/theme/dist/esm/colors`;
|
|
1032
|
+
```
|
|
1014
1033
|
|
|
1015
|
-
|
|
1016
|
-
|
|
1017
|
-
|
|
1018
|
-
|
|
1019
|
-
|
|
1034
|
+
This has a couple of issues. 1, it treats the file system as API making internal refactors harder,
|
|
1035
|
+
we have to worry about how consumers might be using things that aren't _actually_ supposed to be
|
|
1036
|
+
used. 2. We are unable to do this _internally_ in @atlaskit packages. This leads to lots of
|
|
1037
|
+
packages bundling all of theme, just to use a single color, especially in situations where tree
|
|
1038
|
+
shaking fails.
|
|
1020
1039
|
|
|
1021
|
-
|
|
1022
|
-
|
|
1023
|
-
|
|
1040
|
+
To support being able to use multiple entrypoints internally, we unfortunately cannot have
|
|
1041
|
+
multiple distributions as they would need to have very different imports from of their own
|
|
1042
|
+
internal dependencies.
|
|
1024
1043
|
|
|
1025
|
-
|
|
1026
|
-
|
|
1044
|
+
ES Modules are widely supported by all modern bundlers and can be worked around in node
|
|
1045
|
+
environments.
|
|
1027
1046
|
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
|
|
1047
|
+
We may choose to revisit this solution in the future if we find any unintended condequences, but
|
|
1048
|
+
we see this as a pretty sane path forward which should lead to some major bundle size decreases,
|
|
1049
|
+
saner API's and simpler package architecture.
|
|
1031
1050
|
|
|
1032
|
-
|
|
1033
|
-
|
|
1034
|
-
|
|
1051
|
+
Please reach out to #fabric-build (if in Atlassian) or create an issue in
|
|
1052
|
+
[Design System Support](https://ecosystem.atlassian.net/secure/CreateIssue.jspa?pid=24670) (for
|
|
1053
|
+
external) if you have any questions or queries about this.
|
|
1035
1054
|
|
|
1036
1055
|
## 9.2.2
|
|
1037
1056
|
|
|
1038
|
-
-
|
|
1039
|
-
|
|
1040
|
-
|
|
1057
|
+
- Updated dependencies [58b84fa](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/58b84fa):
|
|
1058
|
+
- @atlaskit/theme@7.0.1
|
|
1059
|
+
- @atlaskit/docs@6.0.0
|
|
1041
1060
|
|
|
1042
1061
|
## 9.2.1
|
|
1043
1062
|
|
|
1044
|
-
-
|
|
1063
|
+
- [patch][d13242d](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/d13242d):
|
|
1045
1064
|
|
|
1046
|
-
|
|
1047
|
-
|
|
1065
|
+
- Change API to experimental theming API to namespace component themes into separate contexts and
|
|
1066
|
+
make theming simpler. Update all dependant components.
|
|
1048
1067
|
|
|
1049
1068
|
## 9.2.0
|
|
1050
1069
|
|
|
1051
|
-
-
|
|
1052
|
-
|
|
1070
|
+
- [minor] Allow badge to accept strings, so custom number formats can be easily passed in
|
|
1071
|
+
[cc0a1de](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/cc0a1de)
|
|
1053
1072
|
|
|
1054
1073
|
## 9.1.5
|
|
1055
1074
|
|
|
1056
|
-
-
|
|
1057
|
-
|
|
1075
|
+
- [patch] Adds missing implicit @babel/runtime dependency
|
|
1076
|
+
[b71751b](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/b71751b)
|
|
1058
1077
|
|
|
1059
1078
|
## 9.1.4
|
|
1060
1079
|
|
|
1061
|
-
-
|
|
1062
|
-
|
|
1080
|
+
- [patch] Adds sideEffects: false to allow proper tree shaking
|
|
1081
|
+
[b5d6d04](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/b5d6d04)
|
|
1063
1082
|
|
|
1064
1083
|
## 9.1.2
|
|
1065
1084
|
|
|
1066
|
-
-
|
|
1067
|
-
|
|
1085
|
+
- [patch] Fix broken type export
|
|
1086
|
+
[a203203](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/a203203)
|
|
1068
1087
|
|
|
1069
1088
|
## 9.1.1
|
|
1070
1089
|
|
|
1071
|
-
-
|
|
1072
|
-
|
|
1090
|
+
- [patch] Remove export from \* to fix the cjs export
|
|
1091
|
+
[b12f7e6](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/b12f7e6)
|
|
1073
1092
|
|
|
1074
1093
|
## 9.1.0
|
|
1075
1094
|
|
|
1076
|
-
-
|
|
1077
|
-
|
|
1078
|
-
-
|
|
1079
|
-
|
|
1080
|
-
|
|
1081
|
-
|
|
1095
|
+
- [minor] Update badge to the new theming API. Rework experimental theming API.
|
|
1096
|
+
[df22ad8](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/df22ad8)
|
|
1097
|
+
- [patch] Updated dependencies
|
|
1098
|
+
[df22ad8](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/df22ad8)
|
|
1099
|
+
- @atlaskit/theme@6.0.0
|
|
1100
|
+
- @atlaskit/docs@5.0.6
|
|
1082
1101
|
|
|
1083
1102
|
## 9.0.4
|
|
1084
1103
|
|
|
1085
|
-
-
|
|
1086
|
-
|
|
1087
|
-
|
|
1088
|
-
-
|
|
1089
|
-
|
|
1090
|
-
|
|
1104
|
+
- [patch] update the dependency of react-dom to 16.4.2 due to vulnerability in previous versions
|
|
1105
|
+
read https://reactjs.org/blog/2018/08/01/react-v-16-4-2.html for details
|
|
1106
|
+
[a4bd557](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/a4bd557)
|
|
1107
|
+
- [none] Updated dependencies
|
|
1108
|
+
[a4bd557](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/a4bd557)
|
|
1109
|
+
- @atlaskit/theme@5.1.3
|
|
1091
1110
|
|
|
1092
1111
|
## 9.0.3
|
|
1093
1112
|
|
|
1094
|
-
-
|
|
1095
|
-
|
|
1096
|
-
|
|
1097
|
-
|
|
1113
|
+
- [patch] Updated dependencies
|
|
1114
|
+
[acd86a1](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/acd86a1)
|
|
1115
|
+
- @atlaskit/theme@5.1.2
|
|
1116
|
+
- @atlaskit/docs@5.0.2
|
|
1098
1117
|
|
|
1099
1118
|
## 9.0.2
|
|
1100
1119
|
|
|
1101
|
-
-
|
|
1102
|
-
|
|
1103
|
-
-
|
|
1104
|
-
|
|
1105
|
-
|
|
1120
|
+
- [patch] Add a SSR test for every package, add react-dom and build-utils in devDependencies
|
|
1121
|
+
[7e331b5](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/7e331b5)
|
|
1122
|
+
- [none] Updated dependencies
|
|
1123
|
+
[7e331b5](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/7e331b5)
|
|
1124
|
+
- @atlaskit/theme@5.1.1
|
|
1106
1125
|
|
|
1107
1126
|
## 9.0.1
|
|
1108
1127
|
|
|
1109
|
-
-
|
|
1110
|
-
|
|
1111
|
-
-
|
|
1112
|
-
|
|
1113
|
-
|
|
1128
|
+
- [patch] Move analytics tests and replace elements to core
|
|
1129
|
+
[49d4ab4](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/49d4ab4)
|
|
1130
|
+
- [none] Updated dependencies
|
|
1131
|
+
[49d4ab4](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/49d4ab4)
|
|
1132
|
+
- @atlaskit/docs@5.0.1
|
|
1114
1133
|
|
|
1115
1134
|
## 9.0.0
|
|
1116
1135
|
|
|
1117
|
-
-
|
|
1118
|
-
|
|
1119
|
-
-
|
|
1120
|
-
|
|
1121
|
-
|
|
1122
|
-
|
|
1123
|
-
-
|
|
1124
|
-
|
|
1125
|
-
|
|
1126
|
-
|
|
1136
|
+
- [major] Updates to React ^16.4.0
|
|
1137
|
+
[7edb866](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/7edb866)
|
|
1138
|
+
- [major] Updated dependencies
|
|
1139
|
+
[563a7eb](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/563a7eb)
|
|
1140
|
+
- @atlaskit/theme@5.0.0
|
|
1141
|
+
- @atlaskit/docs@5.0.0
|
|
1142
|
+
- [major] Updated dependencies
|
|
1143
|
+
[7edb866](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/7edb866)
|
|
1144
|
+
- @atlaskit/theme@5.0.0
|
|
1145
|
+
- @atlaskit/docs@5.0.0
|
|
1127
1146
|
|
|
1128
1147
|
## 8.1.0
|
|
1129
1148
|
|
|
1130
|
-
-
|
|
1131
|
-
|
|
1149
|
+
- [minor] Create a Container and Format export so that you can compose custom badges together.
|
|
1150
|
+
[ac1b819](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/ac1b819)
|
|
1132
1151
|
|
|
1133
1152
|
## 8.0.3
|
|
1134
1153
|
|
|
1135
|
-
-
|
|
1136
|
-
|
|
1137
|
-
-
|
|
1138
|
-
|
|
1139
|
-
|
|
1140
|
-
|
|
1154
|
+
- [patch] Update changelogs to remove duplicate
|
|
1155
|
+
[cc58e17](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/cc58e17)
|
|
1156
|
+
- [none] Updated dependencies
|
|
1157
|
+
[cc58e17](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/cc58e17)
|
|
1158
|
+
- @atlaskit/theme@4.0.3
|
|
1159
|
+
- @atlaskit/docs@4.1.1
|
|
1141
1160
|
|
|
1142
1161
|
## 8.0.2
|
|
1143
1162
|
|
|
1144
|
-
-
|
|
1145
|
-
|
|
1146
|
-
|
|
1147
|
-
|
|
1163
|
+
- [none] Updated dependencies
|
|
1164
|
+
[9d20f54](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/9d20f54)
|
|
1165
|
+
- @atlaskit/docs@4.1.0
|
|
1166
|
+
- @atlaskit/theme@4.0.2
|
|
1148
1167
|
|
|
1149
1168
|
## 8.0.1
|
|
1150
1169
|
|
|
1151
|
-
-
|
|
1152
|
-
-
|
|
1153
|
-
|
|
1154
|
-
|
|
1155
|
-
|
|
1170
|
+
- [patch] Update readme's [223cd67](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/223cd67)
|
|
1171
|
+
- [patch] Updated dependencies
|
|
1172
|
+
[223cd67](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/223cd67)
|
|
1173
|
+
- @atlaskit/theme@4.0.1
|
|
1174
|
+
- @atlaskit/docs@4.0.1
|
|
1156
1175
|
|
|
1157
1176
|
## 8.0.0
|
|
1158
1177
|
|
|
1159
|
-
-
|
|
1160
|
-
|
|
1161
|
-
-
|
|
1162
|
-
|
|
1163
|
-
|
|
1164
|
-
|
|
1178
|
+
- [major] makes styled-components a peer dependency and upgrades version range from 1.4.6 - 3 to
|
|
1179
|
+
^3.2.6 [1e80619](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/1e80619)
|
|
1180
|
+
- [patch] Updated dependencies
|
|
1181
|
+
[1e80619](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/1e80619)
|
|
1182
|
+
- @atlaskit/theme@4.0.0
|
|
1183
|
+
- @atlaskit/docs@4.0.0
|
|
1165
1184
|
|
|
1166
1185
|
## 7.1.3
|
|
1167
1186
|
|
|
1168
|
-
-
|
|
1169
|
-
|
|
1187
|
+
- [patch] Update color pairing for Badge
|
|
1188
|
+
[168773b](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/168773b)
|
|
1170
1189
|
|
|
1171
1190
|
## 7.1.2
|
|
1172
1191
|
|
|
1173
|
-
-
|
|
1174
|
-
|
|
1175
|
-
|
|
1176
|
-
|
|
1192
|
+
- [patch] Updated dependencies
|
|
1193
|
+
[d662caa](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/d662caa)
|
|
1194
|
+
- @atlaskit/theme@3.2.2
|
|
1195
|
+
- @atlaskit/docs@3.0.4
|
|
1177
1196
|
|
|
1178
1197
|
## 7.1.0
|
|
1179
1198
|
|
|
1180
|
-
-
|
|
1181
|
-
|
|
1182
|
-
|
|
1199
|
+
- [minor] Added ability to specify an object as the badge appearance. Added an Appearance export to
|
|
1200
|
+
theme so that we can use strings and objects for appearance theming."
|
|
1201
|
+
[6e89615](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/6e89615)
|
|
1183
1202
|
|
|
1184
1203
|
## 7.0.0
|
|
1185
1204
|
|
|
1186
|
-
-
|
|
1187
|
-
|
|
1205
|
+
- [major] Bump to React 16.3.
|
|
1206
|
+
[4251858](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/4251858)
|
|
1188
1207
|
|
|
1189
1208
|
## 6.3.1
|
|
1190
1209
|
|
|
1191
|
-
-
|
|
1192
|
-
|
|
1210
|
+
- [patch] Re-releasing due to potentially broken babel release
|
|
1211
|
+
[9ed0bba](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/9ed0bba)
|
|
1193
1212
|
|
|
1194
1213
|
## 6.3.0
|
|
1195
1214
|
|
|
1196
|
-
-
|
|
1197
|
-
|
|
1215
|
+
- [minor] Update styled-components dependency to support versions 1.4.6 - 3
|
|
1216
|
+
[ceccf30](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/ceccf30)
|
|
1198
1217
|
|
|
1199
1218
|
## 6.2.2
|
|
1200
1219
|
|
|
1201
|
-
-
|
|
1202
|
-
|
|
1220
|
+
- [patch] updated the repository url to https://bitbucket.org/atlassian/atlaskit-mk-2
|
|
1221
|
+
[1e57e5a](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/1e57e5a)
|
|
1203
1222
|
|
|
1204
1223
|
## 6.2.1
|
|
1205
1224
|
|
|
1206
|
-
-
|
|
1207
|
-
|
|
1225
|
+
- [patch] Packages Flow types for elements components
|
|
1226
|
+
[3111e74](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/3111e74)
|
|
1208
1227
|
|
|
1209
1228
|
## 6.2.0
|
|
1210
1229
|
|
|
1211
|
-
-
|
|
1212
|
-
|
|
1230
|
+
- [minor] Add React 16 support.
|
|
1231
|
+
[12ea6e4](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/12ea6e4)
|
|
1213
1232
|
|
|
1214
1233
|
## 6.1.0 (2017-08-24)
|
|
1215
1234
|
|
|
1216
|
-
-
|
|
1217
|
-
|
|
1218
|
-
-
|
|
1219
|
-
|
|
1235
|
+
- feature; remove util-shared-styles as a dependency
|
|
1236
|
+
([52a0a63](https://bitbucket.org/atlassian/atlaskit/commits/52a0a63))
|
|
1237
|
+
- feature; adjust dark mode colors to spec 1.2, add primaryInveted appearance
|
|
1238
|
+
([9c79e7b](https://bitbucket.org/atlassian/atlaskit/commits/9c79e7b))
|
|
1220
1239
|
|
|
1221
1240
|
## 6.0.0 (2017-08-11)
|
|
1222
1241
|
|
|
1223
|
-
-
|
|
1224
|
-
|
|
1225
|
-
-
|
|
1226
|
-
|
|
1227
|
-
-
|
|
1228
|
-
|
|
1229
|
-
-
|
|
1230
|
-
|
|
1242
|
+
- bug fix; fix the theme-dependency
|
|
1243
|
+
([db90333](https://bitbucket.org/atlassian/atlaskit/commits/db90333))
|
|
1244
|
+
- bug fix; reimplement appearance prop validation for badges
|
|
1245
|
+
([25dabe3](https://bitbucket.org/atlassian/atlaskit/commits/25dabe3))
|
|
1246
|
+
- breaking; affects internal styled-components implementation
|
|
1247
|
+
([d14522a](https://bitbucket.org/atlassian/atlaskit/commits/d14522a))
|
|
1248
|
+
- breaking; implement dark mode theme
|
|
1249
|
+
([d14522a](https://bitbucket.org/atlassian/atlaskit/commits/d14522a))
|
|
1231
1250
|
|
|
1232
1251
|
## 5.0.0 (2017-08-11)
|
|
1233
1252
|
|
|
1234
|
-
-
|
|
1235
|
-
|
|
1236
|
-
-
|
|
1237
|
-
|
|
1238
|
-
-
|
|
1239
|
-
|
|
1253
|
+
- bug fix; reimplement appearance prop validation for badges
|
|
1254
|
+
([25dabe3](https://bitbucket.org/atlassian/atlaskit/commits/25dabe3))
|
|
1255
|
+
- breaking; affects internal styled-components implementation
|
|
1256
|
+
([d14522a](https://bitbucket.org/atlassian/atlaskit/commits/d14522a))
|
|
1257
|
+
- breaking; implement dark mode theme
|
|
1258
|
+
([d14522a](https://bitbucket.org/atlassian/atlaskit/commits/d14522a))
|
|
1240
1259
|
|
|
1241
1260
|
## 4.5.2 (2017-07-27)
|
|
1242
1261
|
|
|
1243
|
-
-
|
|
1244
|
-
|
|
1262
|
+
- fix; rename jsnext:main to jsnext:experimental:main temporarily
|
|
1263
|
+
([c7508e0](https://bitbucket.org/atlassian/atlaskit/commits/c7508e0))
|
|
1245
1264
|
|
|
1246
1265
|
## 4.5.1 (2017-07-25)
|
|
1247
1266
|
|
|
1248
|
-
-
|
|
1249
|
-
|
|
1267
|
+
- fix; use class transform in loose mode in babel to improve load performance in apps
|
|
1268
|
+
([fde719a](https://bitbucket.org/atlassian/atlaskit/commits/fde719a))
|
|
1250
1269
|
|
|
1251
1270
|
## 4.2.0 (2017-07-17)
|
|
1252
1271
|
|
|
1253
|
-
-
|
|
1254
|
-
|
|
1272
|
+
- fix; rerelease, failed prepublish scripts
|
|
1273
|
+
([5fd82f8](https://bitbucket.org/atlassian/atlaskit/commits/5fd82f8))
|
|
1255
1274
|
|
|
1256
1275
|
## 4.2.0 (2017-07-17)
|
|
1257
1276
|
|
|
1258
|
-
-
|
|
1259
|
-
|
|
1277
|
+
- feature; added ES module builds to dist and add jsnext:main to most ADG packages
|
|
1278
|
+
([ea76507](https://bitbucket.org/atlassian/atlaskit/commits/ea76507))
|
|
1260
1279
|
|
|
1261
1280
|
## 4.1.0 (2017-07-06)
|
|
1262
1281
|
|
|
1263
|
-
-
|
|
1264
|
-
|
|
1282
|
+
- feature; reducing the contrast of white on blue for global nav
|
|
1283
|
+
([ff89e2b](https://bitbucket.org/atlassian/atlaskit/commits/ff89e2b))
|
|
1265
1284
|
|
|
1266
1285
|
## 4.0.5 (2017-05-26)
|
|
1267
1286
|
|
|
1268
|
-
-
|
|
1269
|
-
|
|
1287
|
+
- fix; add prop-types as a dependency to avoid React 15.x warnings
|
|
1288
|
+
([92598eb](https://bitbucket.org/atlassian/atlaskit/commits/92598eb))
|
|
1270
1289
|
|
|
1271
1290
|
## 4.0.3 (2017-05-10)
|
|
1272
1291
|
|
|
1273
|
-
-
|
|
1274
|
-
|
|
1275
|
-
-
|
|
1292
|
+
- fix; testing releasing more than 5 packages at a time
|
|
1293
|
+
([e69b832](https://bitbucket.org/atlassian/atlaskit/commits/e69b832))
|
|
1294
|
+
- fix; update dependencies ([0c92fef](https://bitbucket.org/atlassian/atlaskit/commits/0c92fef))
|
|
1276
1295
|
|
|
1277
1296
|
## 4.0.2 (2017-04-27)
|
|
1278
1297
|
|
|
1279
|
-
-
|
|
1280
|
-
|
|
1298
|
+
- fix; update legal copy to be more clear. Not all modules include ADG license.
|
|
1299
|
+
([f3a945e](https://bitbucket.org/atlassian/atlaskit/commits/f3a945e))
|
|
1281
1300
|
|
|
1282
1301
|
## 4.0.1 (2017-04-26)
|
|
1283
1302
|
|
|
1284
|
-
-
|
|
1285
|
-
|
|
1303
|
+
- fix; update legal copy and fix broken links for component README on npm. New contribution and
|
|
1304
|
+
([0b3e454](https://bitbucket.org/atlassian/atlaskit/commits/0b3e454))
|
|
1286
1305
|
|
|
1287
1306
|
## 4.0.0 (2017-04-12)
|
|
1288
1307
|
|
|
1289
|
-
-
|
|
1290
|
-
|
|
1291
|
-
-
|
|
1292
|
-
-
|
|
1308
|
+
- null align component with new conventions
|
|
1309
|
+
([726dc9b](https://bitbucket.org/atlassian/atlaskit/commits/726dc9b))
|
|
1310
|
+
- breaking; removed TypeScript
|
|
1311
|
+
- ISSUES CLOSED: AK-2084
|
|
1293
1312
|
|
|
1294
1313
|
## 3.0.2 (2017-04-11)
|
|
1295
1314
|
|
|
1296
|
-
-
|
|
1297
|
-
|
|
1315
|
+
- fix; update badge stories to fix proptype bug
|
|
1316
|
+
([0fa922f](https://bitbucket.org/atlassian/atlaskit/commits/0fa922f))
|
|
1298
1317
|
|
|
1299
1318
|
## 3.0.1 (2017-04-10)
|
|
1300
1319
|
|
|
1301
|
-
-
|
|
1302
|
-
|
|
1320
|
+
- fix; simplify the Badge component, fixes tests and docs
|
|
1321
|
+
([07946a1](https://bitbucket.org/atlassian/atlaskit/commits/07946a1))
|
|
1303
1322
|
|
|
1304
1323
|
## 3.0.0 (2017-03-29)
|
|
1305
1324
|
|
|
1306
|
-
-
|
|
1307
|
-
|
|
1308
|
-
-
|
|
1309
|
-
-
|
|
1325
|
+
- feature; update badge to use new guidelines, and readme story
|
|
1326
|
+
([fe7bd5a](https://bitbucket.org/atlassian/atlaskit/commits/fe7bd5a))
|
|
1327
|
+
- breaking; remove APPEARANCE_ENUM and THEME_ENUM from exports
|
|
1328
|
+
- ISSUES CLOSED: AK-1534
|
|
1310
1329
|
|
|
1311
1330
|
## 2.0.0 (2017-03-27)
|
|
1312
1331
|
|
|
1313
|
-
-
|
|
1314
|
-
|
|
1315
|
-
-
|
|
1316
|
-
-
|
|
1332
|
+
- null refactor the badge component to use styled-components
|
|
1333
|
+
([70aa262](https://bitbucket.org/atlassian/atlaskit/commits/70aa262))
|
|
1334
|
+
- breaking; badges now require peerDep styled-components
|
|
1335
|
+
- ISSUES CLOSED: AK-1943
|
|
1317
1336
|
|
|
1318
1337
|
## 1.2.3 (2017-03-23)
|
|
1319
1338
|
|
|
1320
|
-
-
|
|
1321
|
-
|
|
1322
|
-
-
|
|
1323
|
-
|
|
1324
|
-
-
|
|
1325
|
-
-
|
|
1339
|
+
- fix; Empty commit to release the component
|
|
1340
|
+
([49c08ee](https://bitbucket.org/atlassian/atlaskit/commits/49c08ee))
|
|
1341
|
+
- null refactor the badge component to use styled-components
|
|
1342
|
+
([a5c8722](https://bitbucket.org/atlassian/atlaskit/commits/a5c8722))
|
|
1343
|
+
- breaking; badges now require peerDep styled-components
|
|
1344
|
+
- ISSUES CLOSED: AK-1943
|
|
1326
1345
|
|
|
1327
1346
|
## 1.2.1 (2017-03-21)
|
|
1328
1347
|
|
|
1329
|
-
-
|
|
1330
|
-
|
|
1348
|
+
- fix; maintainers for all the packages were added
|
|
1349
|
+
([261d00a](https://bitbucket.org/atlassian/atlaskit/commits/261d00a))
|
|
1331
1350
|
|
|
1332
1351
|
## 1.1.0 (2017-03-15)
|
|
1333
1352
|
|
|
1334
|
-
-
|
|
1335
|
-
|
|
1336
|
-
-
|
|
1337
|
-
|
|
1353
|
+
- feature; added application links to media-card and restructured
|
|
1354
|
+
([618650e](https://bitbucket.org/atlassian/atlaskit/commits/618650e))
|
|
1355
|
+
- feature; added typescript definition file to badges
|
|
1356
|
+
([a067336](https://bitbucket.org/atlassian/atlaskit/commits/a067336))
|
|
1338
1357
|
|
|
1339
1358
|
## 1.0.3 (2017-02-16)
|
|
1340
1359
|
|
|
1341
|
-
-
|
|
1342
|
-
|
|
1360
|
+
- fix; refactor stories to use // rather than http://
|
|
1361
|
+
([a0826cf](https://bitbucket.org/atlassian/atlaskit/commits/a0826cf))
|
|
1343
1362
|
|
|
1344
1363
|
## 1.0.2 (2017-02-10)
|
|
1345
1364
|
|
|
1346
|
-
-
|
|
1347
|
-
|
|
1365
|
+
- fix; Dummy commit to release components to registry
|
|
1366
|
+
([5bac43b](https://bitbucket.org/atlassian/atlaskit/commits/5bac43b))
|
|
1348
1367
|
|
|
1349
1368
|
## 1.0.1 (2017-02-06)
|
|
1350
1369
|
|
|
1351
|
-
-
|
|
1352
|
-
|
|
1370
|
+
- fix; Bumps dependencies to used scoped packages
|
|
1371
|
+
([f41dbfc](https://bitbucket.org/atlassian/atlaskit/commits/f41dbfc))
|