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