@atlaskit/flag 14.4.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.
Files changed (60) hide show
  1. package/CHANGELOG.md +1244 -0
  2. package/LICENSE +13 -0
  3. package/README.md +13 -0
  4. package/__perf__/autodismiss.tsx +18 -0
  5. package/__perf__/default.tsx +18 -0
  6. package/__perf__/withFlagGroup.tsx +20 -0
  7. package/auto-dismiss-flag/package.json +7 -0
  8. package/constants/package.json +7 -0
  9. package/dist/cjs/auto-dismiss-flag.js +89 -0
  10. package/dist/cjs/constants.js +8 -0
  11. package/dist/cjs/expander.js +41 -0
  12. package/dist/cjs/flag-actions.js +64 -0
  13. package/dist/cjs/flag-group.js +107 -0
  14. package/dist/cjs/flag-provider.js +119 -0
  15. package/dist/cjs/flag.js +219 -0
  16. package/dist/cjs/index.js +51 -0
  17. package/dist/cjs/theme.js +160 -0
  18. package/dist/cjs/types.js +10 -0
  19. package/dist/cjs/version.json +5 -0
  20. package/dist/es2019/auto-dismiss-flag.js +67 -0
  21. package/dist/es2019/constants.js +1 -0
  22. package/dist/es2019/expander.js +33 -0
  23. package/dist/es2019/flag-actions.js +73 -0
  24. package/dist/es2019/flag-group.js +130 -0
  25. package/dist/es2019/flag-provider.js +68 -0
  26. package/dist/es2019/flag.js +245 -0
  27. package/dist/es2019/index.js +4 -0
  28. package/dist/es2019/theme.js +119 -0
  29. package/dist/es2019/types.js +2 -0
  30. package/dist/es2019/version.json +5 -0
  31. package/dist/esm/auto-dismiss-flag.js +67 -0
  32. package/dist/esm/constants.js +1 -0
  33. package/dist/esm/expander.js +29 -0
  34. package/dist/esm/flag-actions.js +50 -0
  35. package/dist/esm/flag-group.js +85 -0
  36. package/dist/esm/flag-provider.js +92 -0
  37. package/dist/esm/flag.js +195 -0
  38. package/dist/esm/index.js +4 -0
  39. package/dist/esm/theme.js +129 -0
  40. package/dist/esm/types.js +2 -0
  41. package/dist/esm/version.json +5 -0
  42. package/dist/types/auto-dismiss-flag.d.ts +4 -0
  43. package/dist/types/constants.d.ts +2 -0
  44. package/dist/types/expander.d.ts +9 -0
  45. package/dist/types/flag-actions.d.ts +14 -0
  46. package/dist/types/flag-group.d.ts +27 -0
  47. package/dist/types/flag-provider.d.ts +26 -0
  48. package/dist/types/flag.d.ts +3 -0
  49. package/dist/types/index.d.ts +6 -0
  50. package/dist/types/theme.d.ts +9 -0
  51. package/dist/types/types.d.ts +79 -0
  52. package/expander/package.json +7 -0
  53. package/extract-react-types/show-flag-args.tsx +5 -0
  54. package/flag/package.json +7 -0
  55. package/flag-actions/package.json +7 -0
  56. package/flag-group/package.json +7 -0
  57. package/flag-provider/package.json +7 -0
  58. package/package.json +80 -0
  59. package/theme/package.json +7 -0
  60. package/types/package.json +7 -0
package/CHANGELOG.md ADDED
@@ -0,0 +1,1244 @@
1
+ # @atlaskit/flag
2
+
3
+ ## 14.4.1
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 14.4.0
10
+
11
+ ### Minor Changes
12
+
13
+ - [`230e1862182`](https://bitbucket.org/atlassian/atlassian-frontend/commits/230e1862182) - Fix a11y eslint error in Flag component
14
+
15
+ ### Patch Changes
16
+
17
+ - Updated dependencies
18
+
19
+ ## 14.3.4
20
+
21
+ ### Patch Changes
22
+
23
+ - [`378d1cef00f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/378d1cef00f) - Bump `@atlaskit/theme` to version `^11.3.0`.
24
+
25
+ ## 14.3.3
26
+
27
+ ### Patch Changes
28
+
29
+ - [`bc7669cb402`](https://bitbucket.org/atlassian/atlassian-frontend/commits/bc7669cb402) - [ux] Fixed flag labels to be more accurately describe their elements.
30
+
31
+ ## 14.3.2
32
+
33
+ ### Patch Changes
34
+
35
+ - [`d6f7ff383cf`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d6f7ff383cf) - Updates to development dependency `storybook-addon-performance`
36
+
37
+ ## 14.3.1
38
+
39
+ ### Patch Changes
40
+
41
+ - [`1964787a3ce`](https://bitbucket.org/atlassian/atlassian-frontend/commits/1964787a3ce) - [ux] fixes issue where flags wrapped in another component would fail to autodismiss after 8 seconds in FlagGroup
42
+ - Updated dependencies
43
+
44
+ ## 14.3.0
45
+
46
+ ### Minor Changes
47
+
48
+ - [`c139588c86d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c139588c86d) - Remove aria-expanded attribute from Flag close buttons
49
+
50
+ ## 14.2.4
51
+
52
+ ### Patch Changes
53
+
54
+ - Updated dependencies
55
+
56
+ ## 14.2.3
57
+
58
+ ### Patch Changes
59
+
60
+ - [`57f551bad1f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/57f551bad1f) - Flag group children types now can have falsy children.
61
+
62
+ ## 14.2.2
63
+
64
+ ### Patch Changes
65
+
66
+ - [`79c23df6340`](https://bitbucket.org/atlassian/atlassian-frontend/commits/79c23df6340) - Use injected package name and version for analytics instead of version.json.
67
+ - [`b11ea3f327e`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b11ea3f327e) - [ux] Fix text not being able to be selected.
68
+ - Updated dependencies
69
+
70
+ ## 14.2.1
71
+
72
+ ### Patch Changes
73
+
74
+ - [`952019cfd39`](https://bitbucket.org/atlassian/atlassian-frontend/commits/952019cfd39) - Removed extraneous/unnecessary dependencies for design system components.
75
+
76
+ ## 14.2.0
77
+
78
+ ### Minor Changes
79
+
80
+ - [`6a9e722703e`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6a9e722703e) - You can now place an `onDismissed` prop on a Flag. This was removed as part of a major version upgrade and was previously a "private prop". It has been added back as there is a need for a Flag to know when it is being dimissed.
81
+
82
+ ## 14.1.0
83
+
84
+ ### Minor Changes
85
+
86
+ - [`f92b240fc3`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f92b240fc3) - Add an optional id attribute to FlagGroup via props
87
+
88
+ ## 14.0.8
89
+
90
+ ### Patch Changes
91
+
92
+ - [`d3265f19be`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d3265f19be) - Transpile packages using babel rather than tsc
93
+
94
+ ## 14.0.7
95
+
96
+ ### Patch Changes
97
+
98
+ - [`5f58283e1f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/5f58283e1f) - Export types using Typescript's new "export type" syntax to satisfy Typescript's --isolatedModules compiler option.
99
+ This requires version 3.8 of Typescript, read more about how we handle Typescript versions here: https://atlaskit.atlassian.com/get-started
100
+ Also add `typescript` to `devDependencies` to denote version that the package was built with.
101
+
102
+ ## 14.0.6
103
+
104
+ ### Patch Changes
105
+
106
+ - Updated dependencies
107
+
108
+ ## 14.0.5
109
+
110
+ ### Patch Changes
111
+
112
+ - [`83e32fa998`](https://bitbucket.org/atlassian/atlassian-frontend/commits/83e32fa998) - Now uses `useAnalyticsEventHandler` in @atlaskit/analytics-next rather than its own version of the hook
113
+ - [`93b04d1161`](https://bitbucket.org/atlassian/atlassian-frontend/commits/93b04d1161) - Fixed focus ring cut off issue on flag
114
+ - Updated dependencies
115
+
116
+ ## 14.0.4
117
+
118
+ ### Patch Changes
119
+
120
+ - [`6360c46009`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6360c46009) - Reenable integration tests for Edge browser
121
+
122
+ ## 14.0.3
123
+
124
+ ### Patch Changes
125
+
126
+ - [`c740579074`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c740579074) - The h2 for Flag Groups no longer causes scrollbars to be triggered when a flag displays.
127
+
128
+ ## 14.0.2
129
+
130
+ ### Patch Changes
131
+
132
+ - [`6c525a8229`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6c525a8229) - Upgraded to TypeScript 3.9.6 and tslib to 2.0.0
133
+
134
+ Since tslib is a dependency for all our packages we recommend that products also follow this tslib upgrade
135
+ to prevent duplicates of tslib being bundled.
136
+
137
+ ## 14.0.1
138
+
139
+ ### Patch Changes
140
+
141
+ - [`954cc87b62`](https://bitbucket.org/atlassian/atlassian-frontend/commits/954cc87b62) - The readme and package information has been updated to point to the new design system website.
142
+
143
+ ## 14.0.0
144
+
145
+ ### Major Changes
146
+
147
+ - [`807cd28fc0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/807cd28fc0) - In this version we made flag dramatically faster, lighter and easier to use 🤩
148
+
149
+ ### Changes
150
+
151
+ In `13.0.0` we bring significant performance improvements as well as improving the experience of using flag.
152
+
153
+ - Flag no longer has a `peerDependency` on `styled-components@3`. Internally flag is now using `@emotion/core` for styling
154
+ - Change Flag and FlagGroup to use our standardized and performant `@atlaskit/motion` instead of `react-transition-group`. Along with this change exit animations are now 2x quicker than the entering animation as per the standardized animation practices in `motion`.
155
+ - Add a `FlagProvider` wrapper for single page applications that allows you to show flags in a flag group imperatively by calling a function, `showFlags` that is stored in the context. Check the docs for more details
156
+ - Removed the private props `isDismissAllowed` and `onDismissed` from `FlagProps`, in favour of accessing them from context that FlagGroup creates.
157
+ - Made types more specific, `onDismissed` on `FlagGroup` is now defined as `(id: number | string, analyticsEvent: UIAnalyticsEvent) => void`
158
+
159
+ ### Patch Changes
160
+
161
+ - [`db053b24d8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/db053b24d8) - Update all the theme imports to be tree-shakable
162
+
163
+ ## 13.0.0
164
+
165
+ ### Major Changes
166
+
167
+ - [`87f4720f27`](https://bitbucket.org/atlassian/atlassian-frontend/commits/87f4720f27) - Officially dropping IE11 support, from this version onwards there are no warranties of the package working in IE11.
168
+ For more information see: https://community.developer.atlassian.com/t/atlaskit-to-drop-support-for-internet-explorer-11-from-1st-july-2020/39534
169
+
170
+ ### Patch Changes
171
+
172
+ - Updated dependencies
173
+
174
+ ## 12.4.5
175
+
176
+ ### Patch Changes
177
+
178
+ - [`eec3c9944e`](https://bitbucket.org/atlassian/atlassian-frontend/commits/eec3c9944e) - Export FlagProps type
179
+
180
+ ## 12.4.4
181
+
182
+ ### Patch Changes
183
+
184
+ - [`54a9514fcf`](https://bitbucket.org/atlassian/atlassian-frontend/commits/54a9514fcf) - Build and supporting files will no longer be published to npm
185
+
186
+ ## 12.4.3
187
+
188
+ ### Patch Changes
189
+
190
+ - [`4560b65a4f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4560b65a4f) - upgrade react-transition-group to latest
191
+
192
+ ## 12.4.2
193
+
194
+ ### Patch Changes
195
+
196
+ - [`98f462e2aa`](https://bitbucket.org/atlassian/atlassian-frontend/commits/98f462e2aa) - Bumping use the latest version of @atlaskit/spinner
197
+ - Updated dependencies
198
+
199
+ ## 12.4.1
200
+
201
+ ### Patch Changes
202
+
203
+ - Updated dependencies
204
+
205
+ ## 12.4.0
206
+
207
+ ### Minor Changes
208
+
209
+ - [`958b2bf6f8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/958b2bf6f8) - FIX: Screen reader text won't be rendered when there is no flag
210
+ FIX: FlagGroup screen reader text defaults to `h2` tag now. Was previously h1.
211
+ NEW: Customize screen reader text and the tag that renders the text
212
+
213
+ ### Patch Changes
214
+
215
+ - Updated dependencies
216
+
217
+ ## 12.3.11
218
+
219
+ ### Patch Changes
220
+
221
+ - [patch][bf7a09790f](https://bitbucket.org/atlassian/atlassian-frontend/commits/bf7a09790f):
222
+
223
+ Change imports to comply with Atlassian conventions- Updated dependencies [6b8e60827e](https://bitbucket.org/atlassian/atlassian-frontend/commits/6b8e60827e):
224
+
225
+ - Updated dependencies [449ef134b3](https://bitbucket.org/atlassian/atlassian-frontend/commits/449ef134b3):
226
+ - Updated dependencies [57c0487a02](https://bitbucket.org/atlassian/atlassian-frontend/commits/57c0487a02):
227
+ - Updated dependencies [fd41d77c29](https://bitbucket.org/atlassian/atlassian-frontend/commits/fd41d77c29):
228
+ - @atlaskit/button@13.3.11
229
+ - @atlaskit/icon@20.1.1
230
+ - @atlaskit/webdriver-runner@0.3.4
231
+
232
+ ## 12.3.10
233
+
234
+ ### Patch Changes
235
+
236
+ - Updated dependencies [66dcced7a0](https://bitbucket.org/atlassian/atlassian-frontend/commits/66dcced7a0):
237
+ - Updated dependencies [fd5292fd5a](https://bitbucket.org/atlassian/atlassian-frontend/commits/fd5292fd5a):
238
+ - Updated dependencies [64fb94fb1e](https://bitbucket.org/atlassian/atlassian-frontend/commits/64fb94fb1e):
239
+ - Updated dependencies [fd5292fd5a](https://bitbucket.org/atlassian/atlassian-frontend/commits/fd5292fd5a):
240
+ - Updated dependencies [eea5e9bd8c](https://bitbucket.org/atlassian/atlassian-frontend/commits/eea5e9bd8c):
241
+ - Updated dependencies [fd5292fd5a](https://bitbucket.org/atlassian/atlassian-frontend/commits/fd5292fd5a):
242
+ - Updated dependencies [109c1a2c0a](https://bitbucket.org/atlassian/atlassian-frontend/commits/109c1a2c0a):
243
+ - Updated dependencies [c57bb32f6d](https://bitbucket.org/atlassian/atlassian-frontend/commits/c57bb32f6d):
244
+ - @atlaskit/docs@8.4.0
245
+ - @atlaskit/icon@20.1.0
246
+ - @atlaskit/webdriver-runner@0.3.0
247
+ - @atlaskit/field-radio-group@7.0.2
248
+ - @atlaskit/button@13.3.9
249
+ - @atlaskit/spinner@12.1.6
250
+
251
+ ## 12.3.9
252
+
253
+ ### Patch Changes
254
+
255
+ - Updated dependencies [e3f01787dd](https://bitbucket.org/atlassian/atlassian-frontend/commits/e3f01787dd):
256
+ - @atlaskit/webdriver-runner@0.2.0
257
+ - @atlaskit/button@13.3.8
258
+ - @atlaskit/spinner@12.1.5
259
+
260
+ ## 12.3.8
261
+
262
+ ### Patch Changes
263
+
264
+ - [patch][5ecbbaadb3](https://bitbucket.org/atlassian/atlassian-frontend/commits/5ecbbaadb3):
265
+
266
+ Fixes flag icon being slightly off center.- Updated dependencies [0603860c07](https://bitbucket.org/atlassian/atlassian-frontend/commits/0603860c07):
267
+
268
+ - @atlaskit/icon@20.0.2
269
+
270
+ ## 12.3.7
271
+
272
+ ### Patch Changes
273
+
274
+ - [patch][6548261c9a](https://bitbucket.org/atlassian/atlassian-frontend/commits/6548261c9a):
275
+
276
+ Remove namespace imports from React, ReactDom, and PropTypes- Updated dependencies [6548261c9a](https://bitbucket.org/atlassian/atlassian-frontend/commits/6548261c9a):
277
+
278
+ - @atlaskit/docs@8.3.2
279
+ - @atlaskit/visual-regression@0.1.9
280
+ - @atlaskit/analytics-next@6.3.5
281
+ - @atlaskit/button@13.3.7
282
+ - @atlaskit/field-radio-group@7.0.1
283
+ - @atlaskit/icon@20.0.1
284
+ - @atlaskit/portal@3.1.6
285
+ - @atlaskit/spinner@12.1.4
286
+ - @atlaskit/theme@9.5.1
287
+
288
+ ## 12.3.6
289
+
290
+ ### Patch Changes
291
+
292
+ - Updated dependencies [c0102a3ea2](https://bitbucket.org/atlassian/atlassian-frontend/commits/c0102a3ea2):
293
+ - @atlaskit/field-radio-group@7.0.0
294
+ - @atlaskit/icon@20.0.0
295
+ - @atlaskit/docs@8.3.1
296
+ - @atlaskit/button@13.3.6
297
+ - @atlaskit/portal@3.1.5
298
+
299
+ ## 12.3.5
300
+
301
+ ### Patch Changes
302
+
303
+ - [patch][4a223473c5](https://bitbucket.org/atlassian/atlassian-frontend/commits/4a223473c5):
304
+
305
+ Removes babel/runtime from dependencies. Users should see a smaller bundlesize as a result- Updated dependencies [28f8f0e089](https://bitbucket.org/atlassian/atlassian-frontend/commits/28f8f0e089):
306
+
307
+ - Updated dependencies [82747f2922](https://bitbucket.org/atlassian/atlassian-frontend/commits/82747f2922):
308
+ - Updated dependencies [4a223473c5](https://bitbucket.org/atlassian/atlassian-frontend/commits/4a223473c5):
309
+ - @atlaskit/icon@19.1.0
310
+ - @atlaskit/theme@9.5.0
311
+ - @atlaskit/button@13.3.5
312
+ - @atlaskit/portal@3.1.4
313
+ - @atlaskit/spinner@12.1.3
314
+
315
+ ## 12.3.4
316
+
317
+ ### Patch Changes
318
+
319
+ - [patch][d222c2b987](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/d222c2b987):
320
+
321
+ Theme has been converted to Typescript. Typescript consumers will now get static type safety. Flow types are no longer provided.
322
+
323
+ ### Breaking
324
+
325
+ ** getTokens props changes **
326
+ When defining the value function passed into a ThemeProvider, the getTokens parameter cannot be called without props; if no props are provided an empty object `{}` must be passed in:
327
+
328
+ ```javascript
329
+ <CustomTheme.Provider
330
+ value={t => ({ ...t(), backgroundColor: '#333'})}
331
+ >
332
+ ```
333
+
334
+ becomes:
335
+
336
+ ```javascript
337
+ <CustomTheme.Provider
338
+ value={t => ({ ...t({}), backgroundColor: '#333'})}
339
+ >
340
+ ```
341
+
342
+ ** Color palette changes **
343
+ Color palettes have been moved into their own file.
344
+ Users will need to update imports from this:
345
+
346
+ ```javascript
347
+ import { colors } from '@atlaskit/theme';
348
+
349
+ colors.colorPalette('8');
350
+ ```
351
+
352
+ to this:
353
+
354
+ ```javascript
355
+ import { colorPalette } from '@atlaskit/theme';
356
+
357
+ colorPalette.colorPalette('8');
358
+ ```
359
+
360
+ or for multi entry-point users:
361
+
362
+ ```javascript
363
+ import * as colors from '@atlaskit/theme/colors';
364
+
365
+ colors.colorPalette('8');
366
+ ```
367
+
368
+ to this:
369
+
370
+ ```javascript
371
+ import * as colorPalettes from '@atlaskit/theme/color-palette';
372
+
373
+ colorPalettes.colorPalette('8');
374
+ ```
375
+
376
+ ## 12.3.3
377
+
378
+ ### Patch Changes
379
+
380
+ - [patch][f86839ca4e](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/f86839ca4e):
381
+
382
+ @atlaskit/portal had an issue in IE11 and this is fixed in 3.1.2
383
+
384
+ ## 12.3.2
385
+
386
+ ### Patch Changes
387
+
388
+ - [patch][35d2229b2a](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/35d2229b2a):
389
+
390
+ Adding missing license to packages and update to Copyright 2019 Atlassian Pty Ltd.
391
+
392
+ ## 12.3.1
393
+
394
+ ### Patch Changes
395
+
396
+ - [patch][a2d0043716](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/a2d0043716):
397
+
398
+ Updated version of analytics-next to fix potential incompatibilities with TS 3.6
399
+
400
+ ## 12.3.0
401
+
402
+ ### Minor Changes
403
+
404
+ - [minor][33d2e11038](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/33d2e11038):
405
+
406
+ Adding an optional prop `testId` that will set the attribute value `data-testid`. It will help products to write better integration and end to end tests.
407
+
408
+ ## 12.2.2
409
+
410
+ ### Patch Changes
411
+
412
+ - [patch][2b158873d1](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/2b158873d1):
413
+
414
+ Add linting rule to prevent unsafe usage of setTimeout within React components.
415
+
416
+ ## 12.2.1
417
+
418
+ ### Patch Changes
419
+
420
+ - [patch][67a3a1ee02](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/67a3a1ee02):
421
+
422
+ Converts prop types to interfaces
423
+
424
+ ## 12.2.0
425
+
426
+ ### Minor Changes
427
+
428
+ - [minor][c6efb2f5b6](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/c6efb2f5b6):
429
+
430
+ Prefix the legacy lifecycle methods with UNSAFE\_\* to avoid warning in React 16.9+
431
+
432
+ More information about the deprecation of lifecycles methods can be found here:
433
+ https://reactjs.org/blog/2018/03/29/react-v-16-3.html#component-lifecycle-changes
434
+
435
+ ## 12.1.0
436
+
437
+ ### Minor Changes
438
+
439
+ - [minor][3e0267e5dd](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/3e0267e5dd):
440
+
441
+ FlagGroup is centered on mobile
442
+
443
+ ## 12.0.20
444
+
445
+ ### Patch Changes
446
+
447
+ - [patch][097b696613](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/097b696613):
448
+
449
+ Components now depend on TS 3.6 internally, in order to fix an issue with TS resolving non-relative imports as relative imports
450
+
451
+ ## 12.0.19
452
+
453
+ ### Patch Changes
454
+
455
+ - [patch][ecca4d1dbb](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/ecca4d1dbb):
456
+
457
+ Upgraded Typescript to 3.3.x
458
+
459
+ ## 12.0.18
460
+
461
+ ### Patch Changes
462
+
463
+ - [patch][708028db86](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/708028db86):
464
+
465
+ Change all the imports to theme in Core to use multi entry points
466
+
467
+ ## 12.0.17
468
+
469
+ ### Patch Changes
470
+
471
+ - [patch][de35ce8c67](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/de35ce8c67):
472
+
473
+ Updates component maintainers
474
+
475
+ ## 12.0.16
476
+
477
+ ### Patch Changes
478
+
479
+ - [patch][926b43142b](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/926b43142b):
480
+
481
+ Analytics-next has been converted to Typescript. Typescript consumers will now get static type safety. Flow types are no longer provided. No behavioural changes.
482
+
483
+ **Breaking changes**
484
+
485
+ - `withAnalyticsForSumTypeProps` alias has been removed, please use `withAnalyticsEvents`
486
+ - `AnalyticsContextWrappedComp` alias has been removed, please use `withAnalyticsContext`
487
+
488
+ **Breaking changes to TypeScript annotations**
489
+
490
+ - `withAnalyticsEvents` now infers proptypes automatically, consumers no longer need to provide props as a generic type.
491
+ - `withAnalyticsContext` now infers proptypes automatically, consumers no longer need to provide props as a generic type.
492
+ - Type `WithAnalyticsEventProps` has been renamed to `WithAnalyticsEventsProps` to match source code
493
+ - Type `CreateUIAnalyticsEventSignature` has been renamed to `CreateUIAnalyticsEvent` to match source code
494
+ - Type `UIAnalyticsEventHandlerSignature` has been renamed to `UIAnalyticsEventHandler` to match source code
495
+ - Type `AnalyticsEventsPayload` has been renamed to `AnalyticsEventPayload`
496
+ - Type `ObjectType` has been removed, please use `Record<string, any>` or `[key: string]: any`
497
+ - Type `UIAnalyticsEventInterface` has been removed, please use `UIAnalyticsEvent`
498
+ - Type `AnalyticsEventInterface` has been removed, please use `AnalyticsEvent`
499
+ - Type `CreateAndFireEventFunction` removed and should now be inferred by TypeScript
500
+ - Type `AnalyticsEventUpdater` removed and should now be inferred by TypeScript
501
+
502
+ ## 12.0.15
503
+
504
+ ### Patch Changes
505
+
506
+ - [patch][688f2957ca](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/688f2957ca):
507
+
508
+ Fixes various TypeScript errors which were previously failing silently
509
+
510
+ ## 12.0.14
511
+
512
+ ### Patch Changes
513
+
514
+ - [patch][9f8ab1084b](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/9f8ab1084b):
515
+
516
+ Consume analytics-next ts type definitions as an ambient declaration.
517
+
518
+ ## 12.0.13
519
+
520
+ ### Patch Changes
521
+
522
+ - [patch][bbff8a7d87](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/bbff8a7d87):
523
+
524
+ Fixes bug, missing version.json file
525
+
526
+ ## 12.0.12
527
+
528
+ ### Patch Changes
529
+
530
+ - [patch][18dfac7332](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/18dfac7332):
531
+
532
+ In this PR, we are:
533
+
534
+ - Re-introducing dist build folders
535
+ - Adding back cjs
536
+ - Replacing es5 by cjs and es2015 by esm
537
+ - Creating folders at the root for entry-points
538
+ - Removing the generation of the entry-points at the root
539
+ Please see this [ticket](https://product-fabric.atlassian.net/browse/BUILDTOOLS-118) or this [page](https://hello.atlassian.net/wiki/spaces/FED/pages/452325500/Finishing+Atlaskit+multiple+entry+points) for further details
540
+
541
+ ## 12.0.11
542
+
543
+ ### Patch Changes
544
+
545
+ - [patch][d0db01b410](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/d0db01b410):
546
+
547
+ TypeScript users of withAnalyticsEvents and withAnalyticsContext are now required to provide props as a generic type. This is so that TypeScript can correctly calculate the props and defaultProps of the returned component.
548
+
549
+ Before:
550
+
551
+ ```typescript
552
+ withAnalyticsEvents()(Button) as ComponentClass<Props>;
553
+ ```
554
+
555
+ After:
556
+
557
+ ```typescript
558
+ withAnalyticsEvents<Props>()(Button);
559
+ ```
560
+
561
+ ## 12.0.10
562
+
563
+ - Updated dependencies [06326ef3f7](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/06326ef3f7):
564
+ - @atlaskit/docs@8.1.3
565
+ - @atlaskit/button@13.0.9
566
+ - @atlaskit/field-radio-group@6.0.4
567
+ - @atlaskit/portal@3.0.7
568
+ - @atlaskit/icon@19.0.0
569
+
570
+ ## 12.0.9
571
+
572
+ ### Patch Changes
573
+
574
+ - [patch][76b4718f7d](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/76b4718f7d):
575
+
576
+ Fixing mounting and unmounting animations
577
+
578
+ ## 12.0.8
579
+
580
+ ### Patch Changes
581
+
582
+ - [patch][4615439434](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/4615439434):
583
+
584
+ index.ts will now be ignored when publishing to npm
585
+
586
+ ## 12.0.7
587
+
588
+ ### Patch Changes
589
+
590
+ - [patch][93bcf314c6](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/93bcf314c6):
591
+
592
+ Added missing tslib dep
593
+
594
+ ## 12.0.6
595
+
596
+ ### Patch Changes
597
+
598
+ - [patch][9c80ef7539](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/9c80ef7539):
599
+
600
+ The update to node 10 reveals that unknown type is breaking the extract react types. I had to replace unknown type by any
601
+
602
+ ## 12.0.5
603
+
604
+ ### Patch Changes
605
+
606
+ - [patch][ff649e1001](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/ff649e1001):
607
+
608
+ Widens type of title prop from string to ReactNode. This gives flexibility to pass i18n components as flag titles.
609
+
610
+ ## 12.0.4
611
+
612
+ - Updated dependencies [cfc3c8adb3](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/cfc3c8adb3):
613
+ - @atlaskit/docs@8.1.2
614
+ - @atlaskit/button@13.0.8
615
+ - @atlaskit/field-radio-group@6.0.2
616
+ - @atlaskit/portal@3.0.3
617
+ - @atlaskit/icon@18.0.0
618
+
619
+ ## 12.0.3
620
+
621
+ - [patch][b0ef06c685](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/b0ef06c685):
622
+
623
+ - This is just a safety release in case anything strange happened in in the previous one. See Pull Request #5942 for details
624
+
625
+ ## 12.0.2
626
+
627
+ - Updated dependencies [215688984e](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/215688984e):
628
+ - Updated dependencies [dacfb81ca1](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/dacfb81ca1):
629
+ - @atlaskit/button@13.0.4
630
+ - @atlaskit/spinner@12.0.0
631
+ - @atlaskit/portal@3.0.0
632
+
633
+ ## 12.0.1
634
+
635
+ - [patch][cdba81d4f2](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/cdba81d4f2):
636
+
637
+ - export the correct types so typescript usage works correctly
638
+
639
+ ## 12.0.0
640
+
641
+ - [major][238b65171f](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/238b65171f):
642
+
643
+ - @atlaskit/flag has been converted to Typescript. Typescript consumers will now get static type safety. Flow types are no longer provided. No API or behavioural changes.
644
+
645
+ ## 11.0.1
646
+
647
+ - [patch][dccab11ef4](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/dccab11ef4):
648
+
649
+ - Fixed incorrect flag appearing after dismiss a previous one
650
+
651
+ ## 11.0.0
652
+
653
+ - [major][7c17b35107](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/7c17b35107):
654
+
655
+ - Updates react and react-dom peer dependencies to react@^16.8.0 and react-dom@^16.8.0. To use this package, please ensure you use at least this version of react and react-dom.
656
+
657
+ ## 10.0.7
658
+
659
+ - Updated dependencies [5b6b4d6a0f](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/5b6b4d6a0f):
660
+ - @atlaskit/portal@1.0.0
661
+
662
+ ## 10.0.6
663
+
664
+ - Updated dependencies [9c0b4744be](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/9c0b4744be):
665
+ - @atlaskit/docs@7.0.3
666
+ - @atlaskit/button@12.0.3
667
+ - @atlaskit/field-radio-group@5.0.3
668
+ - @atlaskit/icon@16.0.9
669
+ - @atlaskit/spinner@10.0.7
670
+ - @atlaskit/theme@8.1.7
671
+
672
+ ## 10.0.5
673
+
674
+ - Updated dependencies [1e826b2966](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/1e826b2966):
675
+ - @atlaskit/docs@7.0.2
676
+ - @atlaskit/analytics-next@4.0.3
677
+ - @atlaskit/field-radio-group@5.0.2
678
+ - @atlaskit/icon@16.0.8
679
+ - @atlaskit/portal@0.3.1
680
+ - @atlaskit/spinner@10.0.5
681
+ - @atlaskit/theme@8.1.6
682
+ - @atlaskit/button@12.0.0
683
+
684
+ ## 10.0.4
685
+
686
+ - [patch][23672bbd2d](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/23672bbd2d):
687
+
688
+ - Improvement: Align the flag actions with title and text for normal appearance flags
689
+
690
+ ## 10.0.3
691
+
692
+ - Updated dependencies [ce4e1b4780](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/ce4e1b4780):
693
+ - @atlaskit/portal@0.3.0
694
+
695
+ ## 10.0.2
696
+
697
+ - [patch][98e11001ff](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/98e11001ff):
698
+
699
+ - Removes duplicate babel-runtime dependency
700
+
701
+ ## 10.0.1
702
+
703
+ - Updated dependencies [9d5cc39394](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/9d5cc39394):
704
+ - @atlaskit/docs@7.0.1
705
+ - @atlaskit/analytics-next@4.0.1
706
+ - @atlaskit/field-radio-group@5.0.1
707
+ - @atlaskit/icon@16.0.5
708
+ - @atlaskit/portal@0.2.1
709
+ - @atlaskit/spinner@10.0.1
710
+ - @atlaskit/theme@8.0.1
711
+ - @atlaskit/button@11.0.0
712
+
713
+ ## 10.0.0
714
+
715
+ - [major][76299208e6](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/76299208e6):
716
+
717
+ - Drop ES5 from all the flow modules
718
+
719
+ ### Dropping CJS support in all @atlaskit packages
720
+
721
+ As a breaking change, all @atlaskit packages will be dropping cjs distributions and will only distribute esm. This means all distributed code will be transpiled, but will still contain `import` and
722
+ `export` declarations.
723
+
724
+ The major reason for doing this is to allow us to support multiple entry points in packages, e.g:
725
+
726
+ ```js
727
+ import colors from `@atlaskit/theme/colors`;
728
+ ```
729
+
730
+ Previously this was sort of possible for consumers by doing something like:
731
+
732
+ ```js
733
+ import colors from `@atlaskit/theme/dist/esm/colors`;
734
+ ```
735
+
736
+ This has a couple of issues. 1, it treats the file system as API making internal refactors harder, we have to worry about how consumers might be using things that aren't _actually_ supposed to be used. 2. We are unable to do this _internally_ in @atlaskit packages. This leads to lots of packages bundling all of theme, just to use a single color, especially in situations where tree shaking fails.
737
+
738
+ To support being able to use multiple entrypoints internally, we unfortunately cannot have multiple distributions as they would need to have very different imports from of their own internal dependencies.
739
+
740
+ ES Modules are widely supported by all modern bundlers and can be worked around in node environments.
741
+
742
+ We may choose to revisit this solution in the future if we find any unintended condequences, but we see this as a pretty sane path forward which should lead to some major bundle size decreases, saner API's and simpler package architecture.
743
+
744
+ Please reach out to #fabric-build (if in Atlassian) or create an issue in [Design System Support](https://ecosystem.atlassian.net/secure/CreateIssue.jspa?pid=24670) (for external) if you have any questions or queries about this.
745
+
746
+ ## 9.1.10
747
+
748
+ - Updated dependencies [27cacd44ab](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/27cacd44ab):
749
+ - @atlaskit/portal@0.1.0
750
+
751
+ ## 9.1.9
752
+
753
+ - Updated dependencies [d7ef59d432](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/d7ef59d432):
754
+ - @atlaskit/docs@6.0.1
755
+ - @atlaskit/button@10.1.2
756
+ - @atlaskit/field-radio-group@4.0.15
757
+ - @atlaskit/portal@0.0.18
758
+ - @atlaskit/icon@16.0.0
759
+
760
+ ## 9.1.8
761
+
762
+ - Updated dependencies [58b84fa](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/58b84fa):
763
+ - @atlaskit/analytics-next@3.1.2
764
+ - @atlaskit/button@10.1.1
765
+ - @atlaskit/field-radio-group@4.0.14
766
+ - @atlaskit/icon@15.0.2
767
+ - @atlaskit/portal@0.0.17
768
+ - @atlaskit/spinner@9.0.13
769
+ - @atlaskit/theme@7.0.1
770
+ - @atlaskit/docs@6.0.0
771
+
772
+ ## 9.1.7
773
+
774
+ - Updated dependencies [d13242d](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/d13242d):
775
+ - @atlaskit/docs@5.2.3
776
+ - @atlaskit/button@10.0.4
777
+ - @atlaskit/field-radio-group@4.0.13
778
+ - @atlaskit/icon@15.0.1
779
+ - @atlaskit/spinner@9.0.12
780
+ - @atlaskit/theme@7.0.0
781
+
782
+ ## 9.1.6
783
+
784
+ - Updated dependencies [ab9b69c](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/ab9b69c):
785
+ - @atlaskit/docs@5.2.2
786
+ - @atlaskit/button@10.0.1
787
+ - @atlaskit/field-radio-group@4.0.12
788
+ - @atlaskit/portal@0.0.16
789
+ - @atlaskit/icon@15.0.0
790
+
791
+ ## 9.1.5
792
+
793
+ - Updated dependencies [6998f11](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/6998f11):
794
+ - @atlaskit/docs@5.2.1
795
+ - @atlaskit/analytics-next@3.1.1
796
+ - @atlaskit/field-radio-group@4.0.11
797
+ - @atlaskit/icon@14.6.1
798
+ - @atlaskit/portal@0.0.15
799
+ - @atlaskit/spinner@9.0.11
800
+ - @atlaskit/theme@6.2.1
801
+ - @atlaskit/button@10.0.0
802
+
803
+ ## 9.1.4
804
+
805
+ - Updated dependencies [1fb2c2a](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/1fb2c2a):
806
+ - @atlaskit/portal@0.0.14
807
+
808
+ ## 9.1.3
809
+
810
+ - Updated dependencies [3f5a4dd](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/3f5a4dd):
811
+ - @atlaskit/portal@0.0.13
812
+
813
+ ## 9.1.2
814
+
815
+ - [patch] Updated dependencies [aaab348](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/aaab348)
816
+ - @atlaskit/portal@0.0.12
817
+
818
+ ## 9.1.1
819
+
820
+ - [patch] Adds missing implicit @babel/runtime dependency [b71751b](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/b71751b)
821
+
822
+ ## 9.1.0
823
+
824
+ - [minor] Now the flag actions accept href and target [65af057](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/65af057)
825
+ - [patch] Updated the flag actions to accept the href and target as props [43ac1ec](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/43ac1ec)
826
+
827
+ ## 9.0.13
828
+
829
+ - [patch] Updated the flag to use atlaskit button [d2084ad](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/d2084ad)
830
+
831
+ ## 9.0.12
832
+
833
+ - [patch] Updated the flag actions use gridSize and fontSize properly [3e7da11](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/3e7da11)
834
+
835
+ ## 9.0.11
836
+
837
+ - [patch] Updated dependencies [65c6514](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/65c6514)
838
+ - @atlaskit/docs@5.0.8
839
+ - @atlaskit/button@9.0.13
840
+ - @atlaskit/field-radio-group@4.0.8
841
+ - @atlaskit/portal@0.0.10
842
+ - @atlaskit/icon@14.0.0
843
+
844
+ ## 9.0.10
845
+
846
+ - [patch] Updated dependencies [d5a043a](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/d5a043a)
847
+ - @atlaskit/icon@13.8.1
848
+ - @atlaskit/portal@0.0.9
849
+
850
+ ## 9.0.9
851
+
852
+ - [patch] Updated dependencies [d9d2f0d](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/d9d2f0d)
853
+ - [none] Updated dependencies [89be4f1](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/89be4f1)
854
+ - @atlaskit/portal@0.0.8
855
+ - @atlaskit/layer-manager@5.0.11
856
+
857
+ ## 9.0.8
858
+
859
+ - [patch] Adds sideEffects: false to allow proper tree shaking [b5d6d04](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/b5d6d04)
860
+
861
+ ## 9.0.6
862
+
863
+ - [patch] Updated flags to use atlaskit portal instead of Layer manger [b9e6757](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/b9e6757)
864
+ - [none] Updated dependencies [b9e6757](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/b9e6757)
865
+
866
+ ## 9.0.5
867
+
868
+ - [patch] Updated dependencies [df22ad8](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/df22ad8)
869
+ - @atlaskit/theme@6.0.0
870
+ - @atlaskit/spinner@9.0.6
871
+ - @atlaskit/layer-manager@5.0.6
872
+ - @atlaskit/icon@13.2.5
873
+ - @atlaskit/field-radio-group@4.0.5
874
+ - @atlaskit/button@9.0.6
875
+ - @atlaskit/docs@5.0.6
876
+
877
+ ## 9.0.4
878
+
879
+ - [patch] update the dependency of react-dom to 16.4.2 due to vulnerability in previous versions read https://reactjs.org/blog/2018/08/01/react-v-16-4-2.html for details [a4bd557](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/a4bd557)
880
+ - [none] Updated dependencies [a4bd557](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/a4bd557)
881
+ - @atlaskit/analytics-next@3.0.4
882
+ - @atlaskit/button@9.0.5
883
+ - @atlaskit/theme@5.1.3
884
+ - @atlaskit/spinner@9.0.5
885
+ - @atlaskit/field-radio-group@4.0.4
886
+ - @atlaskit/layer-manager@5.0.5
887
+ - @atlaskit/icon@13.2.4
888
+
889
+ ## 9.0.3
890
+
891
+ - [patch] Updated dependencies [acd86a1](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/acd86a1)
892
+ - @atlaskit/layer-manager@5.0.4
893
+ - @atlaskit/icon@13.2.2
894
+ - @atlaskit/field-radio-group@4.0.3
895
+ - @atlaskit/button@9.0.4
896
+ - @atlaskit/theme@5.1.2
897
+ - @atlaskit/spinner@9.0.4
898
+ - @atlaskit/analytics-next@3.0.3
899
+ - @atlaskit/docs@5.0.2
900
+
901
+ ## 9.0.2
902
+
903
+ - [patch] Add a SSR test for every package, add react-dom and build-utils in devDependencies [7e331b5](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/7e331b5)
904
+ - [none] Updated dependencies [7e331b5](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/7e331b5)
905
+ - @atlaskit/analytics-next@3.0.2
906
+ - @atlaskit/button@9.0.3
907
+ - @atlaskit/theme@5.1.1
908
+ - @atlaskit/spinner@9.0.3
909
+ - @atlaskit/field-radio-group@4.0.2
910
+ - @atlaskit/layer-manager@5.0.3
911
+ - @atlaskit/icon@13.2.1
912
+
913
+ ## 9.0.1
914
+
915
+ - [patch] Move analytics tests and replace elements to core [49d4ab4](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/49d4ab4)
916
+ - [none] Updated dependencies [49d4ab4](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/49d4ab4)
917
+ - @atlaskit/analytics-next@3.0.1
918
+ - @atlaskit/button@9.0.2
919
+ - @atlaskit/spinner@9.0.2
920
+ - @atlaskit/docs@5.0.1
921
+ - @atlaskit/field-radio-group@4.0.1
922
+
923
+ ## 9.0.0
924
+
925
+ - [major] Provides analytics for common component interations. See the [Instrumented Components](https://atlaskit.atlassian.com/packages/core/analytics-next) section for more details. If you are using enzyme for testing you will have to use [our forked version of the library](https://atlaskit.atlassian.com/docs/guides/testing#we-use-a-forked-version-of-enzyme). [563a7eb](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/563a7eb)
926
+ - [major] Updates to React ^16.4.0 [7edb866](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/7edb866)
927
+ - [major] Updated dependencies [563a7eb](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/563a7eb)
928
+ - @atlaskit/analytics-next@3.0.0
929
+ - @atlaskit/button@9.0.0
930
+ - @atlaskit/theme@5.0.0
931
+ - @atlaskit/spinner@9.0.0
932
+ - @atlaskit/docs@5.0.0
933
+ - @atlaskit/field-radio-group@4.0.0
934
+ - @atlaskit/layer-manager@5.0.0
935
+ - @atlaskit/icon@13.0.0
936
+ - [major] Updated dependencies [7edb866](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/7edb866)
937
+ - @atlaskit/analytics-next@3.0.0
938
+ - @atlaskit/button@9.0.0
939
+ - @atlaskit/theme@5.0.0
940
+ - @atlaskit/spinner@9.0.0
941
+ - @atlaskit/docs@5.0.0
942
+ - @atlaskit/field-radio-group@4.0.0
943
+ - @atlaskit/layer-manager@5.0.0
944
+ - @atlaskit/icon@13.0.0
945
+
946
+ ## 8.2.0
947
+
948
+ - [minor] Reduce autodismiss flag duration from 15 seconds to 8 seconds [5f6ec84](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/5f6ec84)
949
+
950
+ ## 8.1.5
951
+
952
+ - [patch] Remove or update \$FlowFixMe [e8ad98a](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/e8ad98a)
953
+ - [none] Updated dependencies [e8ad98a](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/e8ad98a)
954
+ - @atlaskit/button@8.2.4
955
+ - @atlaskit/field-radio-group@3.1.3
956
+ - @atlaskit/icon@12.6.1
957
+
958
+ ## 8.1.4
959
+
960
+ - [patch] Button should be a dev dependency [50ca31b](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/50ca31b)
961
+ - [none] Updated dependencies [50ca31b](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/50ca31b)
962
+
963
+ ## 8.1.3
964
+
965
+ - [patch] Updated dependencies [cdba8b3](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/cdba8b3)
966
+ - @atlaskit/spinner@8.0.0
967
+ - @atlaskit/button@8.2.3
968
+
969
+ ## 8.1.2
970
+
971
+ - [patch] Fix \$FlowFixMe and release packages [25d0b2d](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/25d0b2d)
972
+ - [none] Updated dependencies [25d0b2d](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/25d0b2d)
973
+ - @atlaskit/button@8.2.2
974
+ - @atlaskit/spinner@7.1.1
975
+ - @atlaskit/field-radio-group@3.1.2
976
+ - @atlaskit/icon@12.3.1
977
+
978
+ ## 8.1.1
979
+
980
+ - [patch] Clean Changelogs - remove duplicates and empty entries [e7756cd](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/e7756cd)
981
+ - [none] Updated dependencies [e7756cd](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/e7756cd)
982
+ - @atlaskit/button@8.1.2
983
+ - @atlaskit/theme@4.0.4
984
+ - @atlaskit/spinner@7.0.2
985
+ - @atlaskit/field-radio-group@3.0.4
986
+ - @atlaskit/layer-manager@4.2.1
987
+ - @atlaskit/icon@12.1.2
988
+
989
+ ## 8.1.0
990
+
991
+ - [patch] Updated dependencies [9d20f54](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/9d20f54)
992
+ - @atlaskit/spinner@7.0.0
993
+ - @atlaskit/layer-manager@4.1.0
994
+ - @atlaskit/icon@12.1.0
995
+ - @atlaskit/field-radio-group@3.0.2
996
+ - @atlaskit/docs@4.1.0
997
+ - @atlaskit/theme@4.0.2
998
+ - @atlaskit/button@8.1.0
999
+
1000
+ ## 8.0.1
1001
+
1002
+ - [patch] Update readme's [223cd67](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/223cd67)
1003
+ - [patch] Updated dependencies [223cd67](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/223cd67)
1004
+ - @atlaskit/layer-manager@4.0.1
1005
+ - @atlaskit/icon@12.0.1
1006
+ - @atlaskit/field-radio-group@3.0.1
1007
+ - @atlaskit/button@8.0.1
1008
+ - @atlaskit/theme@4.0.1
1009
+ - @atlaskit/spinner@6.0.1
1010
+ - @atlaskit/docs@4.0.1
1011
+
1012
+ ## 8.0.0
1013
+
1014
+ - [major] makes styled-components a peer dependency and upgrades version range from 1.4.6 - 3 to ^3.2.6 [1e80619](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/1e80619)
1015
+ - [patch] Updated dependencies [1e80619](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/1e80619)
1016
+ - @atlaskit/layer-manager@4.0.0
1017
+ - @atlaskit/icon@12.0.0
1018
+ - @atlaskit/field-radio-group@3.0.0
1019
+ - @atlaskit/button@8.0.0
1020
+ - @atlaskit/theme@4.0.0
1021
+ - @atlaskit/spinner@6.0.0
1022
+ - @atlaskit/docs@4.0.0
1023
+
1024
+ ## 7.0.3
1025
+
1026
+ - [patch] Updated dependencies [d662caa](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/d662caa)
1027
+ - @atlaskit/icon@11.3.0
1028
+ - @atlaskit/layer-manager@3.0.4
1029
+ - @atlaskit/field-radio-group@2.0.3
1030
+ - @atlaskit/button@7.2.5
1031
+ - @atlaskit/theme@3.2.2
1032
+ - @atlaskit/spinner@5.0.2
1033
+ - @atlaskit/docs@3.0.4
1034
+
1035
+ ## 7.0.0
1036
+
1037
+ - [major] Bump to React 16.3. [4251858](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/4251858)
1038
+
1039
+ ## 6.5.3
1040
+
1041
+ - [patch] Export the AppearanceTypes type [d38fc10](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/d38fc10)
1042
+
1043
+ ## 6.5.2
1044
+
1045
+ - [patch] Makes packages Flow types compatible with version 0.67 [25daac0](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/25daac0)
1046
+
1047
+ ## 6.5.1
1048
+
1049
+ - [patch] Re-releasing due to potentially broken babel release [9ed0bba](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/9ed0bba)
1050
+
1051
+ ## 6.5.0
1052
+
1053
+ - [minor] Update styled-components dependency to support versions 1.4.6 - 3 [ceccf30](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/ceccf30)
1054
+
1055
+ ## 6.4.6
1056
+
1057
+ - [patch] adds aria-expanded value to expander button in flag [7de4577](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/7de4577)
1058
+
1059
+ ## 6.4.5
1060
+
1061
+ - [patch] updates Flag to closer match ADG spec [5392b60](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/5392b60)
1062
+
1063
+ ## 6.4.4
1064
+
1065
+ - [patch] updated the repository url to https://bitbucket.org/atlassian/atlaskit-mk-2 [1e57e5a](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/1e57e5a)
1066
+
1067
+ ## 6.4.2
1068
+
1069
+ - [patch] Remove babel-plugin-react-flow-props-to-prop-types [06c1f08](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/06c1f08)
1070
+
1071
+ ## 6.4.1
1072
+
1073
+ - [patch] Packages Flow types for elements components [3111e74](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/3111e74)
1074
+
1075
+ ## 6.4.0
1076
+
1077
+ - [minor] Update buttonIcon size depending if CrossIcon or ChevronIcon [16bf4e5](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/16bf4e5)
1078
+
1079
+ ## 6.3.0
1080
+
1081
+ - [minor] Update the expand button to medium size [05d8bd5](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/05d8bd5)
1082
+
1083
+ ## 6.2.2
1084
+
1085
+ - [patch] Migrate Navigation from Ak repo to ak mk 2 repo, Fixed flow typing inconsistencies in ak mk 2 [bdeef5b](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/bdeef5b)
1086
+
1087
+ ## 6.2.1
1088
+
1089
+ - [patch] Resolved low hanging flow errors in field-base field-text comment icon item and website, \$ [007de27](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/007de27)
1090
+
1091
+ ## 6.2.0
1092
+
1093
+ - [minor] Add React 16 support. [12ea6e4](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/12ea6e4)
1094
+
1095
+ ## 6.1.9
1096
+
1097
+ - [patch] migrated flag to mk2 [630489e](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/630489e)
1098
+
1099
+ ## 6.1.8 (2017-11-22)
1100
+
1101
+ - bug fix; long messages in Flags start to wrap, not overflow content. ([b69c45f](https://bitbucket.org/atlassian/atlaskit/commits/b69c45f))
1102
+
1103
+ ## 6.1.7 (2017-11-15)
1104
+
1105
+ - bug fix; fix flags within page components appearing behind navigation (issues closed: ak-1823) ([08e397e](https://bitbucket.org/atlassian/atlaskit/commits/08e397e))
1106
+
1107
+ ## 6.1.6 (2017-11-13)
1108
+
1109
+ - bug fix; update flag's react-transition-group dependency from v1 to v2 (issues closed: ak-3755) ([32f3af3](https://bitbucket.org/atlassian/atlaskit/commits/32f3af3))
1110
+
1111
+ ## 6.1.5 (2017-11-02)
1112
+
1113
+ - bug fix; added missing dependencies (issues closed: ak-3782) ([4dbc3ef](https://bitbucket.org/atlassian/atlaskit/commits/4dbc3ef))
1114
+
1115
+ ## 6.1.4 (2017-10-26)
1116
+
1117
+ - bug fix; fix to rebuild stories ([793b2a7](https://bitbucket.org/atlassian/atlaskit/commits/793b2a7))
1118
+
1119
+ ## 6.1.3 (2017-10-22)
1120
+
1121
+ - bug fix; update styled component dependency and react peerDep ([39f3286](https://bitbucket.org/atlassian/atlaskit/commits/39f3286))
1122
+
1123
+ ## 6.1.2 (2017-10-15)
1124
+
1125
+ - bug fix; update dependencies for react 16 compatibility ([fc47c94](https://bitbucket.org/atlassian/atlaskit/commits/fc47c94))
1126
+
1127
+ ## 6.1.1 (2017-10-12)
1128
+
1129
+ - bug fix; bumps version of Page (issues closed: ak-3680) ([8713649](https://bitbucket.org/atlassian/atlaskit/commits/8713649))
1130
+
1131
+ ## 6.1.0 (2017-08-17)
1132
+
1133
+ - feature; adding new AutoDismissFlag component (issues closed: ak-2974 ak-1503) ([9aa91c0](https://bitbucket.org/atlassian/atlaskit/commits/9aa91c0))
1134
+
1135
+ ## 6.0.0 (2017-08-16)
1136
+
1137
+ - breaking; The Flag.id prop has been changed from optional to required. ([91f8dc4](https://bitbucket.org/atlassian/atlaskit/commits/91f8dc4))
1138
+ - breaking; FlagGroup no longer illegally reads Flag.props.key ([91f8dc4](https://bitbucket.org/atlassian/atlaskit/commits/91f8dc4))
1139
+
1140
+ ## 5.0.1 (2017-08-15)
1141
+
1142
+ - bug fix; flag transitions between appearances smoothly, hides expand icon if not needed (issues closed: ak-2973 ak-3155) ([0766202](https://bitbucket.org/atlassian/atlaskit/commits/0766202))
1143
+
1144
+ ## 5.0.0 (2017-08-11)
1145
+
1146
+ - bug fix; fix the theme-dependency ([db90333](https://bitbucket.org/atlassian/atlaskit/commits/db90333))
1147
+ - breaking; affects internal styled-components implementation ([d14522a](https://bitbucket.org/atlassian/atlaskit/commits/d14522a))
1148
+ - breaking; implement dark mode theme ([d14522a](https://bitbucket.org/atlassian/atlaskit/commits/d14522a))
1149
+
1150
+ ## 4.0.0 (2017-08-11)
1151
+
1152
+ - breaking; affects internal styled-components implementation ([d14522a](https://bitbucket.org/atlassian/atlaskit/commits/d14522a))
1153
+ - breaking; implement dark mode theme ([d14522a](https://bitbucket.org/atlassian/atlaskit/commits/d14522a))
1154
+
1155
+ ## 3.4.4 (2017-08-04)
1156
+
1157
+ - bug fix; moves babel-plugin-react-flow-props-to-prop-types to a devDependency ([6378b88](https://bitbucket.org/atlassian/atlaskit/commits/6378b88))
1158
+
1159
+ ## 3.4.3 (2017-07-27)
1160
+
1161
+ - fix; rename jsnext:main to jsnext:experimental:main temporarily ([c7508e0](https://bitbucket.org/atlassian/atlaskit/commits/c7508e0))
1162
+
1163
+ ## 3.4.2 (2017-07-25)
1164
+
1165
+ - fix; use class transform in loose mode in babel to improve load performance in apps ([fde719a](https://bitbucket.org/atlassian/atlaskit/commits/fde719a))
1166
+
1167
+ ## 3.1.0 (2017-07-17)
1168
+
1169
+ - fix; rerelease, failed prepublish scripts ([5fd82f8](https://bitbucket.org/atlassian/atlaskit/commits/5fd82f8))
1170
+
1171
+ ## 3.1.0 (2017-07-17)
1172
+
1173
+ - fix; replace incorrect component description in Flag storybook ([2c42255](https://bitbucket.org/atlassian/atlaskit/commits/2c42255))
1174
+ - feature; added ES module builds to dist and add jsnext:main to most ADG packages ([ea76507](https://bitbucket.org/atlassian/atlaskit/commits/ea76507))
1175
+
1176
+ ## 3.0.0 (2017-07-06)
1177
+
1178
+ - fix; add TransitionGroup to FlagGroup to handle lifecycle animations ([6dbb237](https://bitbucket.org/atlassian/atlaskit/commits/6dbb237))
1179
+ - breaking; Removed shouldDismiss prop from Flag. Just set a FlagGroup's children declaratively and animation will be handled automatically with TransitionGroup (you don't need to wait until the flag has animated out before updating your state).
1180
+ - ISSUES CLOSED: AK-2558
1181
+
1182
+ ## 2.2.1 (2017-06-19)
1183
+
1184
+ - fix; bump Flag icon dependency to 7.x ([35bb4fa](https://bitbucket.org/atlassian/atlaskit/commits/35bb4fa))
1185
+
1186
+ ## 2.2.0 (2017-06-05)
1187
+
1188
+ - fix; add prop-types as a dependency to avoid React 15.x warnings ([92598eb](https://bitbucket.org/atlassian/atlaskit/commits/92598eb))
1189
+ - feature; added new optional bold flags, controlled by the Flag.appearance prop ([b78dca7](https://bitbucket.org/atlassian/atlaskit/commits/b78dca7))
1190
+
1191
+ ## 2.1.2 (2017-05-12)
1192
+
1193
+ - fix; flag dismiss button focus style and spacing now correct ([c0130be](https://bitbucket.org/atlassian/atlaskit/commits/c0130be))
1194
+
1195
+ ## 2.1.1 (2017-05-11)
1196
+
1197
+ - fix; bump modal-dialog dep, and change to a devDep ([d16f887](https://bitbucket.org/atlassian/atlaskit/commits/d16f887))
1198
+
1199
+ ## 2.1.0 (2017-05-06)
1200
+
1201
+ - feature; allow flags to be dismissed programatically via shouldDismiss prop ([445dcb4](https://bitbucket.org/atlassian/atlaskit/commits/445dcb4))
1202
+
1203
+ ## 2.0.4 (2017-05-02)
1204
+
1205
+ - fix; change to dependency on util-shared-styles to correct version ([a052c60](https://bitbucket.org/atlassian/atlaskit/commits/a052c60))
1206
+
1207
+ ## 2.0.3 (2017-04-27)
1208
+
1209
+ - fix; update legal copy to be more clear. Not all modules include ADG license. ([f3a945e](https://bitbucket.org/atlassian/atlaskit/commits/f3a945e))
1210
+
1211
+ ## 2.0.2 (2017-04-26)
1212
+
1213
+ - fix; update legal copy and fix broken links for component README on npm. New contribution and ([0b3e454](https://bitbucket.org/atlassian/atlaskit/commits/0b3e454))
1214
+
1215
+ ## 2.0.1 (2017-04-13)
1216
+
1217
+ - fix; update flag stories to use new readme component ([1c56c84](https://bitbucket.org/atlassian/atlaskit/commits/1c56c84))
1218
+
1219
+ ## 2.0.0 (2017-04-04)
1220
+
1221
+ - refactor the flag component to use styled-components ([615208f](https://bitbucket.org/atlassian/atlaskit/commits/615208f))
1222
+ - breaking; added peerDependency "styled-components”, removed dependency “classnames”
1223
+ - ISSUES CLOSED: AK-2028
1224
+
1225
+ ## 1.0.9 (2017-03-23)
1226
+
1227
+ - fix; Empty commit to release the component ([49c08ee](https://bitbucket.org/atlassian/atlaskit/commits/49c08ee))
1228
+
1229
+ ## 1.0.6 (2017-03-21)
1230
+
1231
+ - fix; accept JSX in description prop ([c986abf](https://bitbucket.org/atlassian/atlaskit/commits/c986abf))
1232
+ - fix; maintainers for all the packages were added ([261d00a](https://bitbucket.org/atlassian/atlaskit/commits/261d00a))
1233
+
1234
+ ## 1.0.5 (2017-02-27)
1235
+
1236
+ - fix; update flag's icon dependency to latest ([e60c12a](https://bitbucket.org/atlassian/atlaskit/commits/e60c12a))
1237
+
1238
+ ## 1.0.4 (2017-02-20)
1239
+
1240
+ - fix; use correctly scoped package names in npm docs ([91dbd2f](https://bitbucket.org/atlassian/atlaskit/commits/91dbd2f))
1241
+
1242
+ ## 1.0.3 (2017-02-10)
1243
+
1244
+ - fix; Dummy commit to release components to registry ([5bac43b](https://bitbucket.org/atlassian/atlaskit/commits/5bac43b))