@atlaskit/button 16.1.2

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 (113) hide show
  1. package/CHANGELOG.md +1485 -0
  2. package/LICENSE +13 -0
  3. package/README.md +13 -0
  4. package/__perf__/button.tsx +19 -0
  5. package/__perf__/custom.tsx +19 -0
  6. package/__perf__/customised.tsx +11 -0
  7. package/__perf__/default.tsx +5 -0
  8. package/__perf__/loading.tsx +5 -0
  9. package/__perf__/utils/example-runner.tsx +48 -0
  10. package/__perf__/utils/interaction-tasks.tsx +98 -0
  11. package/button-group/package.json +7 -0
  12. package/codemods/15.0.0-lite-mode.ts +49 -0
  13. package/codemods/15.1.1-data-testid.ts +173 -0
  14. package/codemods/__tests__/15.0.0-lite-mode/optimistic.ts +646 -0
  15. package/codemods/__tests__/15.0.0-lite-mode/safe.ts +223 -0
  16. package/codemods/__tests__/15.0.0-lite-mode/shared.ts +257 -0
  17. package/codemods/__tests__/15.1.1-data-testid/rename-data-testid.ts +186 -0
  18. package/codemods/__tests__/_framework.ts +47 -0
  19. package/codemods/helpers/15.0.0-runner.ts +169 -0
  20. package/codemods/helpers/helpers-generic.ts +662 -0
  21. package/codemods/optimistic-15.0.0-lite-mode.ts +279 -0
  22. package/codemods/readme.md +1 -0
  23. package/custom-theme-button/package.json +7 -0
  24. package/dist/cjs/button-group.js +50 -0
  25. package/dist/cjs/button.js +104 -0
  26. package/dist/cjs/custom-theme-button/custom-theme-button-types.js +5 -0
  27. package/dist/cjs/custom-theme-button/custom-theme-button.js +229 -0
  28. package/dist/cjs/custom-theme-button/index.js +23 -0
  29. package/dist/cjs/custom-theme-button/theme.js +108 -0
  30. package/dist/cjs/entry-points/button-group.js +15 -0
  31. package/dist/cjs/entry-points/custom-theme-button.js +25 -0
  32. package/dist/cjs/entry-points/loading-button.js +15 -0
  33. package/dist/cjs/entry-points/standard-button.js +15 -0
  34. package/dist/cjs/entry-points/types.js +5 -0
  35. package/dist/cjs/index.js +51 -0
  36. package/dist/cjs/loading-button.js +34 -0
  37. package/dist/cjs/shared/block-events.js +44 -0
  38. package/dist/cjs/shared/button-base.js +158 -0
  39. package/dist/cjs/shared/colors.js +409 -0
  40. package/dist/cjs/shared/css.js +265 -0
  41. package/dist/cjs/shared/get-is-only-single-icon.js +26 -0
  42. package/dist/cjs/shared/loading-spinner.js +45 -0
  43. package/dist/cjs/types.js +5 -0
  44. package/dist/cjs/version.json +5 -0
  45. package/dist/es2019/button-group.js +36 -0
  46. package/dist/es2019/button.js +69 -0
  47. package/dist/es2019/custom-theme-button/custom-theme-button-types.js +1 -0
  48. package/dist/es2019/custom-theme-button/custom-theme-button.js +164 -0
  49. package/dist/es2019/custom-theme-button/index.js +2 -0
  50. package/dist/es2019/custom-theme-button/theme.js +81 -0
  51. package/dist/es2019/entry-points/button-group.js +1 -0
  52. package/dist/es2019/entry-points/custom-theme-button.js +1 -0
  53. package/dist/es2019/entry-points/loading-button.js +1 -0
  54. package/dist/es2019/entry-points/standard-button.js +1 -0
  55. package/dist/es2019/entry-points/types.js +1 -0
  56. package/dist/es2019/index.js +6 -0
  57. package/dist/es2019/loading-button.js +17 -0
  58. package/dist/es2019/shared/block-events.js +37 -0
  59. package/dist/es2019/shared/button-base.js +127 -0
  60. package/dist/es2019/shared/colors.js +393 -0
  61. package/dist/es2019/shared/css.js +249 -0
  62. package/dist/es2019/shared/get-is-only-single-icon.js +19 -0
  63. package/dist/es2019/shared/loading-spinner.js +33 -0
  64. package/dist/es2019/types.js +1 -0
  65. package/dist/es2019/version.json +5 -0
  66. package/dist/esm/button-group.js +35 -0
  67. package/dist/esm/button.js +79 -0
  68. package/dist/esm/custom-theme-button/custom-theme-button-types.js +1 -0
  69. package/dist/esm/custom-theme-button/custom-theme-button.js +203 -0
  70. package/dist/esm/custom-theme-button/index.js +2 -0
  71. package/dist/esm/custom-theme-button/theme.js +90 -0
  72. package/dist/esm/entry-points/button-group.js +1 -0
  73. package/dist/esm/entry-points/custom-theme-button.js +1 -0
  74. package/dist/esm/entry-points/loading-button.js +1 -0
  75. package/dist/esm/entry-points/standard-button.js +1 -0
  76. package/dist/esm/entry-points/types.js +1 -0
  77. package/dist/esm/index.js +6 -0
  78. package/dist/esm/loading-button.js +19 -0
  79. package/dist/esm/shared/block-events.js +36 -0
  80. package/dist/esm/shared/button-base.js +135 -0
  81. package/dist/esm/shared/colors.js +393 -0
  82. package/dist/esm/shared/css.js +245 -0
  83. package/dist/esm/shared/get-is-only-single-icon.js +19 -0
  84. package/dist/esm/shared/loading-spinner.js +35 -0
  85. package/dist/esm/types.js +1 -0
  86. package/dist/esm/version.json +5 -0
  87. package/dist/types/button-group.d.ts +18 -0
  88. package/dist/types/button.d.ts +8 -0
  89. package/dist/types/custom-theme-button/custom-theme-button-types.d.ts +21 -0
  90. package/dist/types/custom-theme-button/custom-theme-button.d.ts +6 -0
  91. package/dist/types/custom-theme-button/index.d.ts +2 -0
  92. package/dist/types/custom-theme-button/theme.d.ts +21 -0
  93. package/dist/types/entry-points/button-group.d.ts +1 -0
  94. package/dist/types/entry-points/custom-theme-button.d.ts +2 -0
  95. package/dist/types/entry-points/loading-button.d.ts +2 -0
  96. package/dist/types/entry-points/standard-button.d.ts +2 -0
  97. package/dist/types/entry-points/types.d.ts +4 -0
  98. package/dist/types/index.d.ts +8 -0
  99. package/dist/types/loading-button.d.ts +11 -0
  100. package/dist/types/shared/block-events.d.ts +3 -0
  101. package/dist/types/shared/button-base.d.ts +10 -0
  102. package/dist/types/shared/colors.d.ts +31 -0
  103. package/dist/types/shared/css.d.ts +22 -0
  104. package/dist/types/shared/get-is-only-single-icon.d.ts +2 -0
  105. package/dist/types/shared/loading-spinner.d.ts +4 -0
  106. package/dist/types/types.d.ts +51 -0
  107. package/extract-react-types/custom-theme-button-props.tsx +7 -0
  108. package/extract-react-types/loading-button-props.tsx +5 -0
  109. package/extract-react-types/shared-props.tsx +5 -0
  110. package/loading-button/package.json +7 -0
  111. package/package.json +83 -0
  112. package/standard-button/package.json +7 -0
  113. package/types/package.json +7 -0
package/CHANGELOG.md ADDED
@@ -0,0 +1,1485 @@
1
+ # @atlaskit/button
2
+
3
+ ## 16.1.2
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 16.1.1
10
+
11
+ ### Patch Changes
12
+
13
+ - Updated dependencies
14
+
15
+ ## 16.1.0
16
+
17
+ ### Minor Changes
18
+
19
+ - [`e267e790d38`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e267e790d38) - [ux] Colors are now sourced through tokens.
20
+
21
+ ### Patch Changes
22
+
23
+ - [`2d7cc544696`](https://bitbucket.org/atlassian/atlassian-frontend/commits/2d7cc544696) - Updates token usage to match the latest token set
24
+ - Updated dependencies
25
+
26
+ ## 16.0.0
27
+
28
+ ### Major Changes
29
+
30
+ - An accidental release occurred, you can safely upgrade without making any changes as there is no difference between 15.1.8 and 16.0.0.
31
+
32
+ ### Patch Changes
33
+
34
+ - Updated dependencies
35
+
36
+ ## 15.1.8
37
+
38
+ ### Patch Changes
39
+
40
+ - [`378d1cef00f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/378d1cef00f) - Bump `@atlaskit/theme` to version `^11.3.0`.
41
+
42
+ ## 15.1.7
43
+
44
+ ### Patch Changes
45
+
46
+ - [`d6f7ff383cf`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d6f7ff383cf) - Updates to development dependency `storybook-addon-performance`
47
+
48
+ ## 15.1.6
49
+
50
+ ### Patch Changes
51
+
52
+ - [`49961803553`](https://bitbucket.org/atlassian/atlassian-frontend/commits/49961803553) - Now utlises the auto focus hook from `ds-lib`.
53
+ - Updated dependencies
54
+
55
+ ## 15.1.5
56
+
57
+ ### Patch Changes
58
+
59
+ - [`79c23df6340`](https://bitbucket.org/atlassian/atlassian-frontend/commits/79c23df6340) - Use injected package name and version for analytics instead of version.json.
60
+
61
+ ## 15.1.4
62
+
63
+ ### Patch Changes
64
+
65
+ - [`d3265f19be`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d3265f19be) - Transpile packages using babel rather than tsc
66
+
67
+ ## 15.1.3
68
+
69
+ ### Patch Changes
70
+
71
+ - [`9f733e3f59`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9f733e3f59) - Fixes inlined inferred types in @atlaskit/button/loading-button - no material change
72
+
73
+ ## 15.1.2
74
+
75
+ ### Patch Changes
76
+
77
+ - [`d7540c04cd`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d7540c04cd) - Before `15.x` it was possible for you to pass in `data-testid` and for that to be applied. In `15.x` we changed how props are spread so that is no longer possible. Please use the public API prop `testId` to control `data-testid`
78
+
79
+ We have:
80
+
81
+ - Improved the types of button so that if you pass in `data-testid` or `data-has-overlay` you will get a type warning
82
+ - Added a _codemod_ to shift over any usages of `data-testid` to `testId` on any of our buttons (`CustomThemeButton`, `LoadingButton` or `StandardButton`)
83
+
84
+ #### Upgrading with codemod
85
+
86
+ You first need to have the latest button installed before you can run the codemod
87
+
88
+ ```
89
+ yarn upgrade @atlaskit/button@^15.1.1
90
+ ```
91
+
92
+ Then you can use our cli tool to run the codemod
93
+
94
+ ```
95
+ npx @atlaskit/codemod-cli /path/to/target/directory --parser [tsx | flow | babel]
96
+ ```
97
+
98
+ ## 15.1.1
99
+
100
+ ### Patch Changes
101
+
102
+ - [`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.
103
+ This requires version 3.8 of Typescript, read more about how we handle Typescript versions here: https://atlaskit.atlassian.com/get-started
104
+ Also add `typescript` to `devDependencies` to denote version that the package was built with.
105
+
106
+ ## 15.1.0
107
+
108
+ ### Minor Changes
109
+
110
+ - [`1944b0b626`](https://bitbucket.org/atlassian/atlassian-frontend/commits/1944b0b626) - Export BaseOwnProps type to prevent it being referenced via deep import path in declaration files of dependendents
111
+
112
+ ### Patch Changes
113
+
114
+ - Updated dependencies
115
+
116
+ ## 15.0.0
117
+
118
+ ### Major Changes
119
+
120
+ [`f75fedbf16`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f75fedbf16) - In this version we made button dramatically faster and lighter and improved buttons internal spacing 🤩
121
+
122
+ There are now 3 button variants. We highly recommend you only install button through entry points to ensure minimum kbs. Our codemod will automatically shift you over to the entry point format
123
+
124
+ ```js
125
+ // button variants
126
+ import Button from '@atlaskit/button/standard-button';
127
+ import LoadingButton from '@atlaskit/button/loading-button';
128
+ import CustomThemeButton from '@atlaskit/button/custom-theme-button';
129
+
130
+ // other entry points
131
+ import ButtonGroup from '@atlaskit/button/button-group';
132
+ import { CustomThemeButtonProps } from '@atlaskit/button/types';
133
+ ```
134
+
135
+ ### Spacing changes
136
+
137
+ We have made some intentional changes to button spacing:
138
+
139
+ - There is now a smaller gap between button text and icons (`8px` → `4px`). This makes a buttons text and icon feel more connected
140
+ - Icon only buttons are now square, rather than _almost_ being square (`36px` x `32px` → `32px` x `32px`)
141
+
142
+ ### 1 → 3 button variants
143
+
144
+ `<Button/>` as we know and love it today, has been split into three variants so that consumers only pay for the features that they use
145
+
146
+ 1. **Standard button (`<Button/>`)**: The standard button that is as fast as possible which is for most usages
147
+
148
+ - ✅ Supports the existing (discouraged) `GlobalTheme` dark mode pattern
149
+
150
+ 2. **Loading button (`<LoadingButton/>`)**: A small wrapper around `<Button/>` that allows you to show a `@atlaskit/spinner` as an overlay on the button when you set an `isLoading` prop to `true`
151
+
152
+ - ✅ Supports the existing (discouraged) `GlobalTheme` dark mode pattern
153
+
154
+ 3. **Custom theme button (`<CustomThemeButton/>`)**: This is a 1:1 of what `<Button/>` was previously
155
+
156
+ - ✅ Supports the same `isLoading` behavior as `<LoadingButton/>`
157
+ - ✅ Supports our (discouraged) experimental component theming API. This API has been identified as a performance problem
158
+ - ✅ Supports the existing (discouraged) `GlobalTheme` dark mode pattern
159
+
160
+ ### Installing
161
+
162
+ **All of the variants are all available through separate entry points to ensure minimum bundle size**
163
+
164
+ ```js
165
+ import Button from '@atlaskit/button/standard-button';
166
+ import LoadingButton from '@atlaskit/button/loading-button';
167
+ import CustomThemeButton from '@atlaskit/button/custom-theme-button';
168
+ ```
169
+
170
+ You can also import them all from the root entry point if you like! Heads up though, **if your bundler does not support tree shaking then you will not get the minimum possible bundle size**
171
+
172
+ We have a **automated codemod** you can run to perform many upgrade processes for you. It comes in two flavours:
173
+
174
+ - `optimistic-15.0.0-lite-mode.ts`: An "optimistic" codemod that moves your buttons to the correct version based on the props you've provided. If you use the `isLoading` prop, it will change the import to use `loading-button`. If you use `theme` prop, imports to `custom-theme-button` will be used. If you have a ThemeProvider above your buttons in the React tree the optimistic codemod can't tell, and this could lead to regressions. Use this codemod with care!
175
+ - `15.0.0-lite-mode.ts`: If you wrap your application in a ThemeProvider, you can use this "safe" codemod to change all usages of button to the `custom-theme-button`.
176
+
177
+ **Running the codemod cli**
178
+
179
+ To run the codemod: **You first need to have the latest version of button installed before you can run the codemod**
180
+
181
+ `yarn upgrade @atlaskit/button@^15.0.0`
182
+
183
+ Once upgraded, use the Atlaskit codemod-cli;
184
+
185
+ `npx @atlaskit/codemod-cli --parser [PARSER] --extensions [FILE_EXTENSIONS] [TARGET_PATH]`
186
+
187
+ Or run `npx @atlaskit/codemod-cli -h` for more details on usage.
188
+ For Atlassians, refer to [this doc](https://developer.atlassian.com/cloud/framework/atlassian-frontend/codemods/01-atlassian-codemods/) for more details on the codemod CLI.
189
+
190
+ ```js
191
+ import Button, { LoadingButton, CustomThemeButton } from '@atlaskit/button';
192
+ ```
193
+
194
+ ### Change: default export
195
+
196
+ Previously the default export of the button package was a button that supported `theme`
197
+
198
+ ```js
199
+ import Button from '@atlaskit/button';
200
+ ```
201
+
202
+ Now the default export is our 'standard button' which does not support the `theme` prop.
203
+
204
+ Don't worry if you do use the theming API – our codemods will help move your usages to the correct version.
205
+
206
+ ```js
207
+ // before codemod
208
+ import Button from '@atlaskit/button';
209
+
210
+ // after codemod
211
+ import Button from '@atlaskit/button/custom-theme-button';
212
+ ```
213
+
214
+ ### Improved behaviour: disabled buttons
215
+
216
+ Previously disabled buttons had fairly simple behaviour. They would call `event.stopPropagation()` on an inner element in the _bubble_ phase. This would prevent `onClick` handlers from being called, but not other event types.
217
+
218
+ We have invested a lot of effort to make a more robust disabled button experience regardless of element type.
219
+
220
+ #### New disabled button approach
221
+
222
+ A disabled `<button>` is a native HTML concept, but disabled is not a native concept for other element types such as `<a>` and `<span>`.
223
+
224
+ The behavior of a disabled `<button>` is imitated as much as possible regardless of element type.
225
+
226
+ A disabled `<button>` will not fire any user events. We imitate this by:
227
+
228
+ - Applying `pointer-events: none` to all children elements of the button element. This prevents inner elements publishing events.
229
+ - Calling `event.preventDefault()` and `event.stopPropagation()` in the [capture phase](https://javascript.info/bubbling-and-capturing) for the following events: `'mousedown'`,`'mouseup'`, `'keydown'`, `'keyup'`, `'touchstart'`, `'touchend'`, `'pointerdown'`, `'pointerup'`, and `'click`'. This prevents the event performing its default browser behavior and stops the event from proceeding to the bubble phase.
230
+ - Not calling provided bubble and capture event listeners.
231
+
232
+ For a disabled button we also set `tabIndex={-1}`, and if the element has focus, we call `element.blur()`.
233
+
234
+ ### New prop: `overlay` (Standard button only)
235
+
236
+ The `overlay` prop allows you to render a `React.ReactNode` over the top of the content inside of a button. This prop is only available for the standard button. `LoadingButton` and `CustomThemeButton` use the `overlay` prop for displaying a `@atlaskit/spinner` as needed.
237
+
238
+ ### Improved behavior: overlays
239
+
240
+ When an overlay is being used (such as for a `@atlaskit/spinner` for `LoadingButton`), then these changes are applied:
241
+
242
+ - block events as if it is disabled
243
+ - won’t lose focus automatically when the overlay is shown (unlike when it is disabled, where the focus is lost)
244
+ - allows focus to be given and removed from the element
245
+ - won't show `:active` and `:hover` styles (otherwise keeps the same visual and cursor experience as if it did not have an overlay)
246
+
247
+ Previously, when an overlay was used, the button simply applied `pointer-events: none` to the button content. This approach had a number of shortcomings.
248
+
249
+ ### Other changes
250
+
251
+ - Adding `font-family: inherit` style rule. Recently, Chrome decided to add `font-family: arial` to the default `<button>` style rules. We fixed this issue by releasing a patch version of `@atlaskit/css-reset`. We have now added the fix into this package as well
252
+ - Renaming the `ButtonAppearance` `type` to `Appearance` (the codemod will safely upgrade usages)
253
+ - Documentation cleanup
254
+ - Examples cleanup
255
+
256
+ **Automatic upgrading**
257
+
258
+ We have created some tooling to automatically upgrade your usage of Button!
259
+
260
+ ```
261
+ # You first need to have the latest button installed before you can run the codemod
262
+ yarn add @atlaskit/button@^15.0.0
263
+
264
+ # Run the codemod cli
265
+ # Pass in a parser for your codebase
266
+ npx @atlaskit/codemod-cli /path/to/target/directory --parser [tsx | flow | babel]
267
+ ```
268
+
269
+ We have created **two** different codemods for you to choose from:
270
+
271
+ 1. **Safe codemod**: This codemod will shift everything over to `CustomThemeButton` which is a 1:1 of what exists today. This is super safe and you don’t need to do anything but sit back and enjoy. You get some nice performance wins for just doing this. You can then opportunistically move to the other `button` variants at your future convenience.
272
+ 2. **Optimistic codemod**: The codemod will try it’s hardest to move to the best `button` variant in a module based on usage. This is pretty tricky because we are splitting one thing into three. It can also be a bit dangerous because technically you can use a `ButtonTheme.Provider` higher in the React tree and all buttons will pick up that theme. The codemod cannot know about that nuance. This codemod will add comments to any files where it thinks you will need to make a decision and also point out when you might run into any `ButtonTheme.Provider` issues.
273
+
274
+ _When you use `@atlaskit/codemod-cli` you will be able to select which codemod you want to run_
275
+
276
+ ### Patch Changes
277
+
278
+ - [`83e32fa998`](https://bitbucket.org/atlassian/atlassian-frontend/commits/83e32fa998) - Now uses `useAnalyticsEventHandler` in @atlaskit/analytics-next rather than its own version of the hook
279
+ - [`e45be534ce`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e45be534ce) - [ux] Unwinding anchor style change in AltaskitThemeProvider. Restoring color: !important to button to deal with specificity wars
280
+ - [`6ea0de1281`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6ea0de1281) - [ux] Not allowing anchors to have :visited styles. This restores previous behaviour
281
+ - [`642a8a7735`](https://bitbucket.org/atlassian/atlassian-frontend/commits/642a8a7735) - [ux] `AtlaskitThemeProvider` (deprecated) applies a colour reset to anchor tags. This was impacting the colouring of `@atlaskit/button`. To go around specificity issues caused by `AtlaskitThemeProvider` in the past `@atlaskit/button` would apply a `!important` to it's `color` values. We have changed `AtlaskitThemeProvider` so that it will no longer impact the `color` values of `@atlaskit/button`
282
+ - Updated dependencies
283
+
284
+ ## 14.0.4
285
+
286
+ ### Patch Changes
287
+
288
+ - [`6360c46009`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6360c46009) - Reenable integration tests for Edge browser
289
+
290
+ ## 14.0.3
291
+
292
+ ### Patch Changes
293
+
294
+ - [`6c525a8229`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6c525a8229) - Upgraded to TypeScript 3.9.6 and tslib to 2.0.0
295
+
296
+ Since tslib is a dependency for all our packages we recommend that products also follow this tslib upgrade
297
+ to prevent duplicates of tslib being bundled.
298
+
299
+ ## 14.0.2
300
+
301
+ ### Patch Changes
302
+
303
+ - [`e99262c6f0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e99262c6f0) - All form elements now have a default font explicitly set
304
+
305
+ ## 14.0.1
306
+
307
+ ### Patch Changes
308
+
309
+ - [`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.
310
+
311
+ ## 14.0.0
312
+
313
+ ### Major Changes
314
+
315
+ - [`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.
316
+ For more information see: https://community.developer.atlassian.com/t/atlaskit-to-drop-support-for-internet-explorer-11-from-1st-july-2020/39534
317
+
318
+ ### Patch Changes
319
+
320
+ - Updated dependencies
321
+
322
+ ## 13.4.2
323
+
324
+ ### Patch Changes
325
+
326
+ - Updated dependencies
327
+
328
+ ## 13.4.1
329
+
330
+ ### Patch Changes
331
+
332
+ - [`54a9514fcf`](https://bitbucket.org/atlassian/atlassian-frontend/commits/54a9514fcf) - Build and supporting files will no longer be published to npm
333
+
334
+ ## 13.4.0
335
+
336
+ ### Minor Changes
337
+
338
+ - [`afc842d132`](https://bitbucket.org/atlassian/atlassian-frontend/commits/afc842d132) - FIX: Buton text font-weight changed from normal to medium as per ADG spec
339
+
340
+ ### Patch Changes
341
+
342
+ - [`98f462e2aa`](https://bitbucket.org/atlassian/atlassian-frontend/commits/98f462e2aa) - Bumping use the latest version of @atlaskit/spinner
343
+ - Updated dependencies
344
+
345
+ ## 13.3.12
346
+
347
+ ### Patch Changes
348
+
349
+ - Updated dependencies
350
+
351
+ ## 13.3.11
352
+
353
+ ### Patch Changes
354
+
355
+ - [patch][6b8e60827e](https://bitbucket.org/atlassian/atlassian-frontend/commits/6b8e60827e):
356
+
357
+ Change imports to comply with Atlassian conventions- [patch][57c0487a02](https://bitbucket.org/atlassian/atlassian-frontend/commits/57c0487a02):
358
+
359
+ FIX: Button focus ring color changed to B100- Updated dependencies [449ef134b3](https://bitbucket.org/atlassian/atlassian-frontend/commits/449ef134b3):
360
+
361
+ - Updated dependencies [f6667f2909](https://bitbucket.org/atlassian/atlassian-frontend/commits/f6667f2909):
362
+ - Updated dependencies [68ff159118](https://bitbucket.org/atlassian/atlassian-frontend/commits/68ff159118):
363
+ - Updated dependencies [6efb12e06d](https://bitbucket.org/atlassian/atlassian-frontend/commits/6efb12e06d):
364
+ - Updated dependencies [fd41d77c29](https://bitbucket.org/atlassian/atlassian-frontend/commits/fd41d77c29):
365
+ - @atlaskit/icon@20.1.1
366
+ - @atlaskit/select@11.0.10
367
+ - @atlaskit/logo@12.3.4
368
+ - @atlaskit/checkbox@10.1.11
369
+ - @atlaskit/webdriver-runner@0.3.4
370
+
371
+ ## 13.3.10
372
+
373
+ ### Patch Changes
374
+
375
+ - [patch][109004a98e](https://bitbucket.org/atlassian/atlassian-frontend/commits/109004a98e):
376
+
377
+ Deletes internal package @atlaskit/type-helpers and removes all usages. @atlaskit/type-helpers has been superseded by native typescript helper utilities.- Updated dependencies [168b5f90e5](https://bitbucket.org/atlassian/atlassian-frontend/commits/168b5f90e5):
378
+
379
+ - Updated dependencies [0c270847cb](https://bitbucket.org/atlassian/atlassian-frontend/commits/0c270847cb):
380
+ - Updated dependencies [109004a98e](https://bitbucket.org/atlassian/atlassian-frontend/commits/109004a98e):
381
+ - Updated dependencies [b9903e773a](https://bitbucket.org/atlassian/atlassian-frontend/commits/b9903e773a):
382
+ - @atlaskit/docs@8.5.1
383
+ - @atlaskit/theme@9.5.3
384
+ - @atlaskit/analytics-next@6.3.6
385
+
386
+ ## 13.3.9
387
+
388
+ ### Patch Changes
389
+
390
+ - Updated dependencies [66dcced7a0](https://bitbucket.org/atlassian/atlassian-frontend/commits/66dcced7a0):
391
+ - Updated dependencies [fd5292fd5a](https://bitbucket.org/atlassian/atlassian-frontend/commits/fd5292fd5a):
392
+ - Updated dependencies [64fb94fb1e](https://bitbucket.org/atlassian/atlassian-frontend/commits/64fb94fb1e):
393
+ - Updated dependencies [fd5292fd5a](https://bitbucket.org/atlassian/atlassian-frontend/commits/fd5292fd5a):
394
+ - Updated dependencies [eea5e9bd8c](https://bitbucket.org/atlassian/atlassian-frontend/commits/eea5e9bd8c):
395
+ - Updated dependencies [fd5292fd5a](https://bitbucket.org/atlassian/atlassian-frontend/commits/fd5292fd5a):
396
+ - Updated dependencies [109c1a2c0a](https://bitbucket.org/atlassian/atlassian-frontend/commits/109c1a2c0a):
397
+ - Updated dependencies [c57bb32f6d](https://bitbucket.org/atlassian/atlassian-frontend/commits/c57bb32f6d):
398
+ - @atlaskit/docs@8.4.0
399
+ - @atlaskit/icon@20.1.0
400
+ - @atlaskit/logo@12.3.3
401
+ - @atlaskit/webdriver-runner@0.3.0
402
+ - @atlaskit/checkbox@10.1.10
403
+ - @atlaskit/select@11.0.9
404
+ - @atlaskit/spinner@12.1.6
405
+
406
+ ## 13.3.8
407
+
408
+ ### Patch Changes
409
+
410
+ - Updated dependencies [e3f01787dd](https://bitbucket.org/atlassian/atlassian-frontend/commits/e3f01787dd):
411
+ - @atlaskit/webdriver-runner@0.2.0
412
+ - @atlaskit/checkbox@10.1.9
413
+ - @atlaskit/select@11.0.8
414
+ - @atlaskit/spinner@12.1.5
415
+
416
+ ## 13.3.7
417
+
418
+ ### Patch Changes
419
+
420
+ - [patch][6548261c9a](https://bitbucket.org/atlassian/atlassian-frontend/commits/6548261c9a):
421
+
422
+ Remove namespace imports from React, ReactDom, and PropTypes- Updated dependencies [6548261c9a](https://bitbucket.org/atlassian/atlassian-frontend/commits/6548261c9a):
423
+
424
+ - @atlaskit/docs@8.3.2
425
+ - @atlaskit/visual-regression@0.1.9
426
+ - @atlaskit/analytics-next@6.3.5
427
+ - @atlaskit/checkbox@10.1.7
428
+ - @atlaskit/icon@20.0.1
429
+ - @atlaskit/logo@12.3.2
430
+ - @atlaskit/select@11.0.7
431
+ - @atlaskit/spinner@12.1.4
432
+ - @atlaskit/theme@9.5.1
433
+ - @atlaskit/type-helpers@4.2.3
434
+
435
+ ## 13.3.6
436
+
437
+ ### Patch Changes
438
+
439
+ - Updated dependencies [c0102a3ea2](https://bitbucket.org/atlassian/atlassian-frontend/commits/c0102a3ea2):
440
+ - @atlaskit/icon@20.0.0
441
+ - @atlaskit/logo@12.3.1
442
+ - @atlaskit/docs@8.3.1
443
+ - @atlaskit/checkbox@10.1.6
444
+ - @atlaskit/select@11.0.6
445
+
446
+ ## 13.3.5
447
+
448
+ ### Patch Changes
449
+
450
+ - [patch][4a223473c5](https://bitbucket.org/atlassian/atlassian-frontend/commits/4a223473c5):
451
+
452
+ 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):
453
+
454
+ - Updated dependencies [82747f2922](https://bitbucket.org/atlassian/atlassian-frontend/commits/82747f2922):
455
+ - Updated dependencies [4a223473c5](https://bitbucket.org/atlassian/atlassian-frontend/commits/4a223473c5):
456
+ - Updated dependencies [6a8bc6f866](https://bitbucket.org/atlassian/atlassian-frontend/commits/6a8bc6f866):
457
+ - @atlaskit/icon@19.1.0
458
+ - @atlaskit/theme@9.5.0
459
+ - @atlaskit/checkbox@10.1.5
460
+ - @atlaskit/select@11.0.4
461
+ - @atlaskit/spinner@12.1.3
462
+
463
+ ## 13.3.4
464
+
465
+ ### Patch Changes
466
+
467
+ - [patch][30acc30979](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/30acc30979):
468
+
469
+ @atlaskit/select has been converted to Typescript. Typescript consumers will now get static type safety. Flow types are no longer provided. No API or behavioural changes.
470
+
471
+ ## 13.3.3
472
+
473
+ ### Patch Changes
474
+
475
+ - [patch][35d2229b2a](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/35d2229b2a):
476
+
477
+ Adding missing license to packages and update to Copyright 2019 Atlassian Pty Ltd.
478
+
479
+ ## 13.3.2
480
+
481
+ ### Patch Changes
482
+
483
+ - [patch][a2d0043716](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/a2d0043716):
484
+
485
+ Updated version of analytics-next to fix potential incompatibilities with TS 3.6
486
+
487
+ ## 13.3.1
488
+
489
+ - Updated dependencies [97bab7fd28](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/97bab7fd28):
490
+ - @atlaskit/select@10.1.1
491
+ - @atlaskit/checkbox@10.0.0
492
+ - @atlaskit/docs@8.1.7
493
+
494
+ ## 13.3.0
495
+
496
+ ### Minor Changes
497
+
498
+ - [minor][66e147e6a1](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/66e147e6a1):
499
+
500
+ 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.
501
+
502
+ ## 13.2.0
503
+
504
+ ### Minor Changes
505
+
506
+ - [minor][93022be303](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/93022be303):
507
+
508
+ Align button and subtle button text colour with ADG guidelines (improved contrast)
509
+
510
+ ## 13.1.7
511
+
512
+ ### Patch Changes
513
+
514
+ - [patch][67a3a1ee02](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/67a3a1ee02):
515
+
516
+ Converts prop types to interfaces
517
+
518
+ ## 13.1.6
519
+
520
+ ### Patch Changes
521
+
522
+ - [patch][097b696613](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/097b696613):
523
+
524
+ Components now depend on TS 3.6 internally, in order to fix an issue with TS resolving non-relative imports as relative imports
525
+
526
+ ## 13.1.5
527
+
528
+ ### Patch Changes
529
+
530
+ - [patch][ecca4d1dbb](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/ecca4d1dbb):
531
+
532
+ Upgraded Typescript to 3.3.x
533
+
534
+ ## 13.1.4
535
+
536
+ ### Patch Changes
537
+
538
+ - [patch][abee1a5f4f](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/abee1a5f4f):
539
+
540
+ Bumping internal dependency (memoize-one) to latest version (5.1.0). memoize-one@5.1.0 has full typescript support so it is recommended that typescript consumers use it also.
541
+
542
+ ## 13.1.3
543
+
544
+ ### Patch Changes
545
+
546
+ - [patch][de35ce8c67](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/de35ce8c67):
547
+
548
+ Updates component maintainers
549
+
550
+ ## 13.1.2
551
+
552
+ ### Patch Changes
553
+
554
+ - [patch][926b43142b](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/926b43142b):
555
+
556
+ Analytics-next has been converted to Typescript. Typescript consumers will now get static type safety. Flow types are no longer provided. No behavioural changes.
557
+
558
+ **Breaking changes**
559
+
560
+ - `withAnalyticsForSumTypeProps` alias has been removed, please use `withAnalyticsEvents`
561
+ - `AnalyticsContextWrappedComp` alias has been removed, please use `withAnalyticsContext`
562
+
563
+ **Breaking changes to TypeScript annotations**
564
+
565
+ - `withAnalyticsEvents` now infers proptypes automatically, consumers no longer need to provide props as a generic type.
566
+ - `withAnalyticsContext` now infers proptypes automatically, consumers no longer need to provide props as a generic type.
567
+ - Type `WithAnalyticsEventProps` has been renamed to `WithAnalyticsEventsProps` to match source code
568
+ - Type `CreateUIAnalyticsEventSignature` has been renamed to `CreateUIAnalyticsEvent` to match source code
569
+ - Type `UIAnalyticsEventHandlerSignature` has been renamed to `UIAnalyticsEventHandler` to match source code
570
+ - Type `AnalyticsEventsPayload` has been renamed to `AnalyticsEventPayload`
571
+ - Type `ObjectType` has been removed, please use `Record<string, any>` or `[key: string]: any`
572
+ - Type `UIAnalyticsEventInterface` has been removed, please use `UIAnalyticsEvent`
573
+ - Type `AnalyticsEventInterface` has been removed, please use `AnalyticsEvent`
574
+ - Type `CreateAndFireEventFunction` removed and should now be inferred by TypeScript
575
+ - Type `AnalyticsEventUpdater` removed and should now be inferred by TypeScript
576
+
577
+ ## 13.1.1
578
+
579
+ ### Patch Changes
580
+
581
+ - [patch][688f2957ca](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/688f2957ca):
582
+
583
+ Fixes various TypeScript errors which were previously failing silently
584
+
585
+ ## 13.1.0
586
+
587
+ ### Minor Changes
588
+
589
+ - [minor][8fcbe23ec6](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/8fcbe23ec6):
590
+
591
+ Updated types for analytics-next and buttons to make them easier to consume
592
+
593
+ ## 13.0.16
594
+
595
+ ### Patch Changes
596
+
597
+ - [patch][9f8ab1084b](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/9f8ab1084b):
598
+
599
+ Consume analytics-next ts type definitions as an ambient declaration.
600
+
601
+ ## 13.0.15
602
+
603
+ ### Patch Changes
604
+
605
+ - [patch][bbff8a7d87](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/bbff8a7d87):
606
+
607
+ Fixes bug, missing version.json file
608
+
609
+ ## 13.0.14
610
+
611
+ ### Patch Changes
612
+
613
+ - [patch][18dfac7332](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/18dfac7332):
614
+
615
+ In this PR, we are:
616
+
617
+ - Re-introducing dist build folders
618
+ - Adding back cjs
619
+ - Replacing es5 by cjs and es2015 by esm
620
+ - Creating folders at the root for entry-points
621
+ - Removing the generation of the entry-points at the root
622
+ 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
623
+
624
+ ## 13.0.13
625
+
626
+ ### Patch Changes
627
+
628
+ - [patch][d0db01b410](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/d0db01b410):
629
+
630
+ 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.
631
+
632
+ Before:
633
+
634
+ ```typescript
635
+ withAnalyticsEvents()(Button) as ComponentClass<Props>;
636
+ ```
637
+
638
+ After:
639
+
640
+ ```typescript
641
+ withAnalyticsEvents<Props>()(Button);
642
+ ```
643
+
644
+ ## 13.0.12
645
+
646
+ ### Patch Changes
647
+
648
+ - [patch][29a1f158c1](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/29a1f158c1):
649
+
650
+ Use default react import in typescript files.
651
+
652
+ ## 13.0.11
653
+
654
+ - Updated dependencies [790e66bece](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/790e66bece):
655
+ - @atlaskit/logo@12.1.1
656
+ - @atlaskit/select@10.0.0
657
+
658
+ ## 13.0.10
659
+
660
+ - Updated dependencies [87a2638655](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/87a2638655):
661
+ - @atlaskit/select@9.1.10
662
+ - @atlaskit/checkbox@9.0.0
663
+
664
+ ## 13.0.9
665
+
666
+ - Updated dependencies [06326ef3f7](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/06326ef3f7):
667
+ - @atlaskit/docs@8.1.3
668
+ - @atlaskit/checkbox@8.0.5
669
+ - @atlaskit/select@9.1.8
670
+ - @atlaskit/icon@19.0.0
671
+
672
+ ## 13.0.8
673
+
674
+ - Updated dependencies [cfc3c8adb3](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/cfc3c8adb3):
675
+ - @atlaskit/docs@8.1.2
676
+ - @atlaskit/checkbox@8.0.2
677
+ - @atlaskit/select@9.1.5
678
+ - @atlaskit/icon@18.0.0
679
+
680
+ ## 13.0.7
681
+
682
+ ### Patch Changes
683
+
684
+ - [patch][aaf9d37b31](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/aaf9d37b31):
685
+
686
+ Move @types/react-router-dom to devDependencies
687
+
688
+ ## 13.0.6
689
+
690
+ - Updated dependencies [70862830d6](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/70862830d6):
691
+ - @atlaskit/select@9.1.4
692
+ - @atlaskit/checkbox@8.0.0
693
+ - @atlaskit/icon@17.2.0
694
+ - @atlaskit/theme@9.1.0
695
+
696
+ ## 13.0.5
697
+
698
+ - [patch][b0ef06c685](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/b0ef06c685):
699
+
700
+ - This is just a safety release in case anything strange happened in in the previous one. See Pull Request #5942 for details
701
+
702
+ ## 13.0.4
703
+
704
+ - Updated dependencies [215688984e](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/215688984e):
705
+ - @atlaskit/select@9.1.2
706
+ - @atlaskit/spinner@12.0.0
707
+
708
+ ## 13.0.3
709
+
710
+ - [patch][2a2d2060ae](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/2a2d2060ae):
711
+
712
+ - Fixing invalid style for isLoading button
713
+
714
+ ## 13.0.2
715
+
716
+ - Updated dependencies [4b07b57640](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/4b07b57640):
717
+ - @atlaskit/icon@17.0.2
718
+ - @atlaskit/select@9.1.1
719
+ - @atlaskit/logo@12.0.0
720
+
721
+ ## 13.0.1
722
+
723
+ - [patch][754f83b6f0](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/754f83b6f0):
724
+
725
+ - Makes dependency on @atlaskit/spinner a caret version. No API or behaviour changes.
726
+
727
+ ## 13.0.0
728
+
729
+ - [major][7c17b35107](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/7c17b35107):
730
+
731
+ - 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.
732
+
733
+ ## 12.0.8
734
+
735
+ - [hotfix] fixes style error and changes spinner to a caret version.
736
+
737
+ ## 12.0.7
738
+
739
+ - BROKEN RELEASE. DO NOT USE.
740
+
741
+ ## 12.0.6
742
+
743
+ - [patch][e0e3fabf8e](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/e0e3fabf8e):
744
+
745
+ - Change button to use theme's multiple entry points. This should reduce the bundle size of button
746
+
747
+ ## 12.0.5
748
+
749
+ - [patch][d3cad2622e](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/d3cad2622e):
750
+
751
+ - Removes babel-runtime in favour of @babel/runtime
752
+
753
+ ## 12.0.4
754
+
755
+ - [patch][0a4ccaafae](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/0a4ccaafae):
756
+
757
+ - Bump tslib
758
+
759
+ ## 12.0.3
760
+
761
+ - Updated dependencies [9c0b4744be](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/9c0b4744be):
762
+ - @atlaskit/docs@7.0.3
763
+ - @atlaskit/checkbox@6.0.4
764
+ - @atlaskit/icon@16.0.9
765
+ - @atlaskit/logo@10.0.4
766
+ - @atlaskit/spinner@10.0.7
767
+ - @atlaskit/theme@8.1.7
768
+
769
+ ## 12.0.2
770
+
771
+ - [patch][3f28e6443c](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/3f28e6443c):
772
+
773
+ - @atlaskit/analytics-next-types is deprecated. Now you can use types for @atlaskit/analytics-next supplied from itself.
774
+
775
+ ## 12.0.1
776
+
777
+ - Updated dependencies [d263485853](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/d263485853):
778
+ - @atlaskit/spinner@10.0.6
779
+
780
+ ## 12.0.0
781
+
782
+ - [major][1e826b2966](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/1e826b2966):
783
+
784
+ **Highlights**
785
+
786
+ - **New theming API** - Button now supports the new Atlaskit theming API, which allows for powerful custom theming of Buttons and
787
+ its internal components.
788
+ - **Speed improvements** - Button has been re-written from the ground up - on heavy-load benchmarks, Button is twice as fast
789
+ (taking 48% of the time to load).
790
+ - **Emotion support** - Button is now built using Emotion 10! This is part of a wider push
791
+ for Emotion across all Atlaskit components.
792
+
793
+ **Breaking Changes:**
794
+
795
+ - The old theming API is no longer supported.
796
+ - Styling a Button using Styled Components is no longer supported.
797
+ - Button exports a Theme to use as context instead of using Styled Components' ThemeProvider.
798
+ - Camel-case ARIA props have been renamed (**ariaExpanded**, **ariaHaspopup** and **ariaLabel**).
799
+
800
+ See the [upgrade guide](https://atlaskit.atlassian.com/packages/core/button/docs/upgrade-guide) for more details
801
+
802
+ ## 11.0.11
803
+
804
+ - [patch][f8d92ffc5e](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/f8d92ffc5e):
805
+
806
+ - Revert the change to consume entry points from theme
807
+
808
+ ## 11.0.10
809
+
810
+ - [patch][5e3ad7f751](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/5e3ad7f751):
811
+
812
+ - Importing theme components from the root theme package instead of the theme build file
813
+
814
+ ## 11.0.9
815
+
816
+ - [patch][872b3b905a](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/872b3b905a):
817
+
818
+ - Updates theme to the version which exposes multiple entry points
819
+
820
+ ## 11.0.8
821
+
822
+ - [patch][22ce87801e](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/22ce87801e):
823
+
824
+ - Optimised usages of theme in button using multiple entry points
825
+
826
+ ## 11.0.7
827
+
828
+ - [patch][d13fad66df](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/d13fad66df):
829
+
830
+ - Enable esModuleInterop for typescript, this allows correct use of default exports
831
+
832
+ ## 11.0.6
833
+
834
+ - Updated dependencies [fd940a833b](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/fd940a833b):
835
+ - @atlaskit/spinner@10.0.4
836
+
837
+ ## 11.0.5
838
+
839
+ - [patch][98e11001ff](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/98e11001ff):
840
+
841
+ - Removes duplicate babel-runtime dependency
842
+
843
+ ## 11.0.4
844
+
845
+ - Updated dependencies [986c5e47c8](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/986c5e47c8):
846
+ - @atlaskit/spinner@10.0.2
847
+
848
+ ## 11.0.3
849
+
850
+ - [patch][59d4ab031b](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/59d4ab031b):
851
+
852
+ - Call mouse handlers (e.g. onMouseDown) which are passed in as props
853
+
854
+ ## 11.0.2
855
+
856
+ - [patch][1bcaa1b991](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/1bcaa1b991):
857
+
858
+ - Add npmignore for index.ts to prevent some jest tests from resolving that instead of index.js
859
+
860
+ ## 11.0.1
861
+
862
+ - [patch][90a14be594](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/90a14be594):
863
+
864
+ - Fix broken type-helpers
865
+
866
+ ## 11.0.0
867
+
868
+ - [major][9d5cc39394](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/9d5cc39394):
869
+
870
+ - Dropped ES5 distributables from the typescript packages
871
+
872
+ ## 10.1.3
873
+
874
+ - Updated dependencies [76299208e6](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/76299208e6):
875
+ - @atlaskit/icon@16.0.4
876
+ - @atlaskit/docs@7.0.0
877
+ - @atlaskit/analytics-next@4.0.0
878
+ - @atlaskit/checkbox@6.0.0
879
+ - @atlaskit/logo@10.0.0
880
+ - @atlaskit/spinner@10.0.0
881
+ - @atlaskit/theme@8.0.0
882
+
883
+ ## 10.1.2
884
+
885
+ - Updated dependencies [d7ef59d432](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/d7ef59d432):
886
+ - @atlaskit/docs@6.0.1
887
+ - @atlaskit/checkbox@5.0.11
888
+ - @atlaskit/icon@16.0.0
889
+
890
+ ## 10.1.1
891
+
892
+ - Updated dependencies [58b84fa](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/58b84fa):
893
+ - @atlaskit/analytics-next@3.1.2
894
+ - @atlaskit/checkbox@5.0.9
895
+ - @atlaskit/icon@15.0.2
896
+ - @atlaskit/logo@9.2.6
897
+ - @atlaskit/spinner@9.0.13
898
+ - @atlaskit/theme@7.0.1
899
+ - @atlaskit/docs@6.0.0
900
+
901
+ ## 10.1.0
902
+
903
+ - [minor][36929ef](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/36929ef):
904
+
905
+ - Add reset as it is listed as a valid type for button and is useful when building forms
906
+
907
+ ## 10.0.4
908
+
909
+ - Updated dependencies [d13242d](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/d13242d):
910
+ - @atlaskit/docs@5.2.3
911
+ - @atlaskit/checkbox@5.0.8
912
+ - @atlaskit/icon@15.0.1
913
+ - @atlaskit/logo@9.2.5
914
+ - @atlaskit/spinner@9.0.12
915
+ - @atlaskit/theme@7.0.0
916
+
917
+ ## 10.0.3
918
+
919
+ - [patch][76a8f1c](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/76a8f1c):
920
+
921
+ - Convert @atlaskit/textarea to Typescript
922
+ - Dist paths have changed, if you are importing by exact file path you will need to update your imports `import '@atlaskit/button/dist/es5/components/ButtonGroup'`
923
+ - Flow types are not present any more, Typescript definitions are shipped instead
924
+
925
+ ## 10.0.2
926
+
927
+ - [patch][8f89287](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/8f89287):
928
+
929
+ - Add tslib to dependencies to stop load breaking when it's not there
930
+
931
+ ## 10.0.1
932
+
933
+ - Updated dependencies [ab9b69c](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/ab9b69c):
934
+ - @atlaskit/docs@5.2.2
935
+ - @atlaskit/checkbox@5.0.7
936
+ - @atlaskit/icon@15.0.0
937
+
938
+ ## 10.0.0
939
+
940
+ - [major][6998f11](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/6998f11):
941
+
942
+ - Converted @atlaskit/button to Typescript
943
+ - Dist paths have changed, if you are importing by exact file path you will need to update your imports
944
+ - E.g. `import '@atlaskit/button/dist/cjs/components/ButtonGroup';` would need to be updated to `import '@atlaskit/button/dist/es5/components/ButtonGroup'`
945
+ - Flow types are not present any more, Typescript definitions are shipped instead
946
+
947
+ - Updated dependencies [bfac186](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/bfac186):
948
+ - @atlaskit/analytics-next-types@3.1.2
949
+ - @atlaskit/type-helpers@2.0.0
950
+
951
+ ## 9.0.16
952
+
953
+ - [patch] Fix truncation in button [508ca2c](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/508ca2c)
954
+
955
+ ## 9.0.15
956
+
957
+ - [patch] Adds missing implicit @babel/runtime dependency [b71751b](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/b71751b)
958
+
959
+ ## 9.0.14
960
+
961
+ - [patch] Fix styling of button rendering icon in IE [b4c5b87](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/b4c5b87)
962
+
963
+ ## 9.0.13
964
+
965
+ - [patch] Updated dependencies [65c6514](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/65c6514)
966
+ - @atlaskit/docs@5.0.8
967
+ - @atlaskit/checkbox@5.0.2
968
+ - @atlaskit/icon@14.0.0
969
+
970
+ ## 9.0.12
971
+
972
+ - [patch] Add help appearance [3548c3f](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/3548c3f)
973
+
974
+ ## 9.0.11
975
+
976
+ - [patch] Update the appearance of selected for Help [196603f](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/196603f)
977
+
978
+ ## 9.0.10
979
+
980
+ - [patch] Updated dependencies [7d51a09](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/7d51a09)
981
+ - @atlaskit/spinner@9.0.9
982
+
983
+ ## 9.0.9
984
+
985
+ - [patch] Updated dependencies [80e1925](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/80e1925)
986
+ - @atlaskit/checkbox@5.0.0
987
+
988
+ ## 9.0.8
989
+
990
+ - [patch] Adds sideEffects: false to allow proper tree shaking [b5d6d04](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/b5d6d04)
991
+
992
+ ## 9.0.6
993
+
994
+ - [patch] Updated dependencies [df22ad8](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/df22ad8)
995
+ - @atlaskit/theme@6.0.0
996
+ - @atlaskit/spinner@9.0.6
997
+ - @atlaskit/icon@13.2.5
998
+ - @atlaskit/checkbox@4.0.4
999
+ - @atlaskit/docs@5.0.6
1000
+
1001
+ ## 9.0.5
1002
+
1003
+ - [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)
1004
+ - [patch] Updated dependencies [a4bd557](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/a4bd557)
1005
+ - @atlaskit/analytics-next@3.0.4
1006
+ - @atlaskit/checkbox@4.0.3
1007
+ - @atlaskit/theme@5.1.3
1008
+ - @atlaskit/spinner@9.0.5
1009
+ - @atlaskit/icon@13.2.4
1010
+
1011
+ ## 9.0.4
1012
+
1013
+ - [patch] Updated dependencies [acd86a1](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/acd86a1)
1014
+ - @atlaskit/icon@13.2.2
1015
+ - @atlaskit/checkbox@4.0.2
1016
+ - @atlaskit/theme@5.1.2
1017
+ - @atlaskit/spinner@9.0.4
1018
+ - @atlaskit/analytics-next@3.0.3
1019
+ - @atlaskit/docs@5.0.2
1020
+
1021
+ ## 9.0.3
1022
+
1023
+ - [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)
1024
+ - [patch] Updated dependencies [7e331b5](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/7e331b5)
1025
+ - @atlaskit/analytics-next@3.0.2
1026
+ - @atlaskit/checkbox@4.0.1
1027
+ - @atlaskit/theme@5.1.1
1028
+ - @atlaskit/spinner@9.0.3
1029
+ - @atlaskit/icon@13.2.1
1030
+
1031
+ ## 9.0.2
1032
+
1033
+ - [patch] Move analytics tests and replace elements to core [49d4ab4](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/49d4ab4)
1034
+ - [patch] Updated dependencies [49d4ab4](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/49d4ab4)
1035
+ - @atlaskit/analytics-next@3.0.1
1036
+ - @atlaskit/spinner@9.0.2
1037
+ - @atlaskit/docs@5.0.1
1038
+
1039
+ ## 9.0.1
1040
+
1041
+ - [patch] Updated dependencies [619ab41](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/619ab41)
1042
+ - @atlaskit/spinner@9.0.1
1043
+
1044
+ ## 9.0.0
1045
+
1046
+ - [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)
1047
+ - [major] Updates to React ^16.4.0 [7edb866](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/7edb866)
1048
+ - [major] Updated dependencies [563a7eb](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/563a7eb)
1049
+ - @atlaskit/analytics-next@3.0.0
1050
+ - @atlaskit/checkbox@4.0.0
1051
+ - @atlaskit/theme@5.0.0
1052
+ - @atlaskit/spinner@9.0.0
1053
+ - @atlaskit/docs@5.0.0
1054
+ - @atlaskit/icon@13.0.0
1055
+ - [major] Updated dependencies [7edb866](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/7edb866)
1056
+ - @atlaskit/analytics-next@3.0.0
1057
+ - @atlaskit/checkbox@4.0.0
1058
+ - @atlaskit/theme@5.0.0
1059
+ - @atlaskit/spinner@9.0.0
1060
+ - @atlaskit/docs@5.0.0
1061
+ - @atlaskit/icon@13.0.0
1062
+
1063
+ ## 8.2.7
1064
+
1065
+ - [patch] Fixed spinner position and size for isLoading state of buttons [d6fb3c9](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/d6fb3c9)
1066
+ - [none] Updated dependencies [d6fb3c9](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/d6fb3c9)
1067
+
1068
+ ## 8.2.6
1069
+
1070
+ - [patch] Updated prop description for button. Added button label props for inline-edit accessibility. [11205df](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/11205df)
1071
+ - [none] Updated dependencies [11205df](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/11205df)
1072
+
1073
+ ## 8.2.5
1074
+
1075
+ - [patch] Fix flow types [da63331](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/da63331)
1076
+
1077
+ - [none] Updated dependencies [da63331](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/da63331)
1078
+ - [none] Updated dependencies [7724115](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/7724115)
1079
+
1080
+ ## 8.2.4
1081
+
1082
+ - [patch] Remove or update \$FlowFixMe [e8ad98a](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/e8ad98a)
1083
+ - [none] Updated dependencies [e8ad98a](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/e8ad98a)
1084
+ - @atlaskit/icon@12.6.1
1085
+
1086
+ ## 8.2.3
1087
+
1088
+ - [patch] Updated dependencies [cdba8b3](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/cdba8b3)
1089
+ - @atlaskit/spinner@8.0.0
1090
+
1091
+ ## 8.2.2
1092
+
1093
+ - [patch] Fix \$FlowFixMe and release packages [25d0b2d](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/25d0b2d)
1094
+ - [patch] Updated dependencies [25d0b2d](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/25d0b2d)
1095
+ - @atlaskit/spinner@7.1.1
1096
+ - @atlaskit/checkbox@3.1.2
1097
+ - @atlaskit/icon@12.3.1
1098
+
1099
+ ## 8.2.1
1100
+
1101
+ - [patch] Fixed interactions for isLoading state. Now prevents interactions (click, hover, keyboard submit) while loading [4605f44](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/4605f44)
1102
+ - [none] Updated dependencies [4605f44](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/4605f44)
1103
+
1104
+ ## 8.2.0
1105
+
1106
+ - [minor] Fixes types for Flow 0.74 [dc50cd2](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/dc50cd2)
1107
+ - [patch] Updated dependencies [dc50cd2](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/dc50cd2)
1108
+ - @atlaskit/spinner@7.1.0
1109
+ - @atlaskit/checkbox@3.1.0
1110
+ - @atlaskit/icon@12.2.0
1111
+
1112
+ ## 8.1.2
1113
+
1114
+ - [patch] Clean Changelogs - remove duplicates and empty entries [e7756cd](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/e7756cd)
1115
+ - [patch] Updated dependencies [e7756cd](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/e7756cd)
1116
+ - @atlaskit/theme@4.0.4
1117
+ - @atlaskit/spinner@7.0.2
1118
+ - @atlaskit/checkbox@3.0.6
1119
+ - @atlaskit/icon@12.1.2
1120
+
1121
+ ## 8.1.1
1122
+
1123
+ - [patch] Update changelogs to remove duplicate [cc58e17](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/cc58e17)
1124
+ - [patch] Updated dependencies [cc58e17](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/cc58e17)
1125
+ - @atlaskit/theme@4.0.3
1126
+ - @atlaskit/spinner@7.0.1
1127
+ - @atlaskit/icon@12.1.1
1128
+ - @atlaskit/analytics-next@2.1.8
1129
+ - @atlaskit/checkbox@3.0.5
1130
+ - @atlaskit/docs@4.1.1
1131
+
1132
+ ## 8.1.0
1133
+
1134
+ - [patch] Updated dependencies [9d20f54](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/9d20f54)
1135
+ - @atlaskit/spinner@7.0.0
1136
+ - @atlaskit/icon@12.1.0
1137
+ - @atlaskit/checkbox@3.0.4
1138
+ - @atlaskit/docs@4.1.0
1139
+ - @atlaskit/theme@4.0.2
1140
+ - @atlaskit/analytics-next@2.1.7
1141
+
1142
+ ## 8.0.1
1143
+
1144
+ - [patch] Update readme's [223cd67](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/223cd67)
1145
+ - [patch] Updated dependencies [223cd67](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/223cd67)
1146
+ - @atlaskit/icon@12.0.1
1147
+ - @atlaskit/analytics-next@2.1.5
1148
+ - @atlaskit/checkbox@3.0.1
1149
+ - @atlaskit/theme@4.0.1
1150
+ - @atlaskit/spinner@6.0.1
1151
+ - @atlaskit/docs@4.0.1
1152
+
1153
+ ## 8.0.0
1154
+
1155
+ - [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)
1156
+ - [patch] Updated dependencies [1e80619](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/1e80619)
1157
+ - @atlaskit/icon@12.0.0
1158
+ - @atlaskit/analytics-next@2.1.4
1159
+ - @atlaskit/checkbox@3.0.0
1160
+ - @atlaskit/theme@4.0.0
1161
+ - @atlaskit/spinner@6.0.0
1162
+ - @atlaskit/docs@4.0.0
1163
+
1164
+ ## 7.2.5
1165
+
1166
+ - [patch] Updated dependencies [d662caa](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/d662caa)
1167
+ - @atlaskit/icon@11.3.0
1168
+ - @atlaskit/analytics-next@2.1.1
1169
+ - @atlaskit/theme@3.2.2
1170
+ - @atlaskit/docs@3.0.4
1171
+
1172
+ ## 7.2.4
1173
+
1174
+ - [patch] Export types for Button [6a47d88](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/6a47d88)
1175
+ - [none] Updated dependencies [6a47d88](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/6a47d88)
1176
+
1177
+ ## 7.2.3
1178
+
1179
+ - [patch] Fix invalid css in button [2363d14](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/2363d14)
1180
+ - [none] Updated dependencies [2363d14](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/2363d14)
1181
+
1182
+ ## 7.2.2
1183
+
1184
+ - [patch] Fix react ref dev warnings when using custom components [40b743c](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/40b743c)
1185
+
1186
+ ## 7.2.0
1187
+
1188
+ - [minor] Add ariaLabel prop to button so that it can be passed to the underlying component [d7a1e7e](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/d7a1e7e)
1189
+
1190
+ ## 7.1.0
1191
+
1192
+ - [minor] Add `autoFocus` to button, allowing button to be automatically focused on first render. [bf36eb6](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/bf36eb6)
1193
+
1194
+ ## 7.0.3
1195
+
1196
+ - [patch] Fix a react dev warning when using a custom component [8fb3bc1](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/8fb3bc1)
1197
+
1198
+ ## 7.0.2
1199
+
1200
+ - [patch] Update empty state and button to have consistent types [f0da143](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/f0da143)
1201
+
1202
+ ## 7.0.1
1203
+
1204
+ - [patch] Update tests + flow [05d406d](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/05d406d)
1205
+ - [patch] Remove default props to have it optional [0907a36](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/0907a36)
1206
+
1207
+ ## 7.0.0
1208
+
1209
+ - [major] Bump to React 16.3. [4251858](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/4251858)
1210
+
1211
+ ## 6.6.4
1212
+
1213
+ - [patch] Updates flow types of withAnalyticsEvents and withAnalyticsContext HOCs [26778bc](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/26778bc)
1214
+ - [patch] Uses element config flow type with button deprecation warnings hoc [a9aa90a](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/a9aa90a)
1215
+
1216
+ ## 6.6.3
1217
+
1218
+ - [patch] added onBlur and onFocus hooks [27d01b7](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/27d01b7)
1219
+
1220
+ ## 6.6.2
1221
+
1222
+ - [patch] Re-releasing due to potentially broken babel release [9ed0bba](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/9ed0bba)
1223
+
1224
+ ## 6.6.1
1225
+
1226
+ - [patch] added selected focus state for button [dad190d](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/dad190d)
1227
+
1228
+ ## 6.6.0
1229
+
1230
+ - [minor] Update styled-components dependency to support versions 1.4.6 - 3 [ceccf30](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/ceccf30)
1231
+
1232
+ ## 6.5.0
1233
+
1234
+ - [minor] Instrument button with analytics [4e84f5b](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/4e84f5b)
1235
+
1236
+ ## 6.4.2
1237
+
1238
+ - [patch] updated the repository url to https://bitbucket.org/atlassian/atlaskit-mk-2 [1e57e5a](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/1e57e5a)
1239
+
1240
+ ## 6.4.1
1241
+
1242
+ - [patch] Packages Flow types for elements components [3111e74](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/3111e74)
1243
+
1244
+ ## 6.4.0
1245
+
1246
+ - [minor] id property on Button component is not propagated if href property is provided [7d46c81](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/7d46c81)
1247
+
1248
+ ## 6.3.1
1249
+
1250
+ - [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)
1251
+
1252
+ ## 6.3.0
1253
+
1254
+ - [minor] Add React 16 support. [12ea6e4](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/12ea6e4)
1255
+
1256
+ ## 6.2.0
1257
+
1258
+ - [minor] replace flow type to be less restrictive [a28cdbd](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/a28cdbd)
1259
+
1260
+ ## 6.1.0
1261
+
1262
+ - [minor] Add theming to Button. Deprecate 'help' appearance from Button. [c14ea2e](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/c14ea2e)
1263
+ - [minor] Add theming to Button. Deprecate 'help' appearance from Button. [c14ea2e](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/c14ea2e)
1264
+
1265
+ ## 6.0.0
1266
+
1267
+ - [major] Remove typescript [4635000](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/4635000)
1268
+ - [major] Remove typescript [4635000](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/4635000)
1269
+ - [patch] Move button to new repo, tidy types [2dafda6](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/2dafda6)
1270
+ - [patch] Move button to new repo, tidy types [2dafda6](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/2dafda6)
1271
+
1272
+ ## 5.4.14 (2017-12-01)
1273
+
1274
+ - bug fix; fix button group spacing (issues closed: ak-3978) ([f0037f2](https://bitbucket.org/atlassian/atlaskit/commits/f0037f2))
1275
+
1276
+ ## 5.4.13 (2017-11-30)
1277
+
1278
+ - bug fix; fix disabled buttons with child elements propagating click events ([584ffdc](https://bitbucket.org/atlassian/atlaskit/commits/584ffdc))
1279
+
1280
+ ## 5.4.12 (2017-11-27)
1281
+
1282
+ - bug fix; export interface for ts ([15c291c](https://bitbucket.org/atlassian/atlaskit/commits/15c291c))
1283
+
1284
+ ## 5.4.11 (2017-11-27)
1285
+
1286
+ - bug fix; fix disabled buttons not swallowing click events (issues closed: ak-3646) ([80e976b](https://bitbucket.org/atlassian/atlaskit/commits/80e976b))
1287
+
1288
+ ## 5.4.10 (2017-11-24)
1289
+
1290
+ - bug fix; fix button-group prop validation to ignore null children ([3f7f0c3](https://bitbucket.org/atlassian/atlaskit/commits/3f7f0c3))
1291
+
1292
+ ## 5.4.9 (2017-11-21)
1293
+
1294
+ - bug fix; bumping internal dependencies to latest version ([5e81848](https://bitbucket.org/atlassian/atlaskit/commits/5e81848))
1295
+
1296
+ ## 5.4.8 (2017-10-27)
1297
+
1298
+ - bug fix; correct formatting for user-select style ([fe9419c](https://bitbucket.org/atlassian/atlaskit/commits/fe9419c))
1299
+
1300
+ ## 5.4.7 (2017-10-27)
1301
+
1302
+ - bug fix; change icon to be unselectable so button content can be copied ([e8c876a](https://bitbucket.org/atlassian/atlaskit/commits/e8c876a))
1303
+
1304
+ ## 5.4.6 (2017-10-27)
1305
+
1306
+ - bug fix; updated button props typings ([c7a9c09](https://bitbucket.org/atlassian/atlaskit/commits/c7a9c09))
1307
+
1308
+ ## 5.4.5 (2017-10-23)
1309
+
1310
+ - bug fix; support false/null/undefined children in ButtonGroup ([4667228](https://bitbucket.org/atlassian/atlaskit/commits/4667228))
1311
+
1312
+ ## 5.4.4 (2017-10-22)
1313
+
1314
+ - bug fix; update dependencies for react-16 ([077d1ad](https://bitbucket.org/atlassian/atlaskit/commits/077d1ad))
1315
+
1316
+ ## 5.4.3 (2017-10-16)
1317
+
1318
+ - bug fix; fix issue where invalid box-shadow style was applied (issues closed: ak-3704) ([a786038](https://bitbucket.org/atlassian/atlaskit/commits/a786038))
1319
+
1320
+ ## 5.4.2 (2017-10-03)
1321
+
1322
+ - bug fix; improve button performance ([1bbf0d1](https://bitbucket.org/atlassian/atlaskit/commits/1bbf0d1))
1323
+
1324
+ ## 5.4.1 (2017-09-27)
1325
+
1326
+ - bug fix; button will truncate if wider than its parent (issues closed: ak-3332) ([a701ea1](https://bitbucket.org/atlassian/atlaskit/commits/a701ea1))
1327
+
1328
+ ## 5.4.0 (2017-09-22)
1329
+
1330
+ - feature; buttons no longer prevent text selection (issues closed: ak-3270) ([9ab343b](https://bitbucket.org/atlassian/atlaskit/commits/9ab343b))
1331
+
1332
+ ## 5.3.0 (2017-09-18)
1333
+
1334
+ - feature; support new Help button appearance (issues closed: ak-3535) ([69728ed](https://bitbucket.org/atlassian/atlaskit/commits/69728ed))
1335
+
1336
+ ## 5.2.0 (2017-09-12)
1337
+
1338
+ - feature; we need the ability to reference elements ([cbf5c12](https://bitbucket.org/atlassian/atlaskit/commits/cbf5c12))
1339
+
1340
+ ## 5.1.2 (2017-09-08)
1341
+
1342
+ - bug fix; adding ButtonGroup to type declarations of button pckage. ([bb373c1](https://bitbucket.org/atlassian/atlaskit/commits/bb373c1))
1343
+
1344
+ ## 5.1.1 (2017-08-24)
1345
+
1346
+ - bug fix; improved focus ring contrast for warning and danger buttons ([39ddda7](https://bitbucket.org/atlassian/atlaskit/commits/39ddda7))
1347
+
1348
+ ## 5.1.0 (2017-08-23)
1349
+
1350
+ - bug fix; subtle-link button font colour is slightly updated (issues closed: ak-2480) ([510393a](https://bitbucket.org/atlassian/atlaskit/commits/510393a))
1351
+ - feature; added warning (yellow) and danger (red) options to Button.appearance prop (issues closed: ak-2480) ([ba4cfde](https://bitbucket.org/atlassian/atlaskit/commits/ba4cfde))
1352
+
1353
+ ## 5.0.1 (2017-08-16)
1354
+
1355
+ - bug fix; fix react warning about PropTypes ([6b4cd29](https://bitbucket.org/atlassian/atlaskit/commits/6b4cd29))
1356
+
1357
+ ## 5.0.0 (2017-08-11)
1358
+
1359
+ - bug fix; fix the theme-dependency ([db90333](https://bitbucket.org/atlassian/atlaskit/commits/db90333))
1360
+ - bug fix; button: fix focus box shadow ([9746e73](https://bitbucket.org/atlassian/atlaskit/commits/9746e73))
1361
+ - bug fix; button: fix dark link color - default / hover / active ([7b85a29](https://bitbucket.org/atlassian/atlaskit/commits/7b85a29))
1362
+ - breaking; affects internal styled-components implementation ([d14522a](https://bitbucket.org/atlassian/atlaskit/commits/d14522a))
1363
+ - breaking; implement dark mode theme ([d14522a](https://bitbucket.org/atlassian/atlaskit/commits/d14522a))
1364
+ - feature; implement dark mode ([d959bb1](https://bitbucket.org/atlassian/atlaskit/commits/d959bb1))
1365
+
1366
+ ## 4.0.0 (2017-08-11)
1367
+
1368
+ - bug fix; button: fix focus box shadow ([9746e73](https://bitbucket.org/atlassian/atlaskit/commits/9746e73))
1369
+ - bug fix; button: fix dark link color - default / hover / active ([7b85a29](https://bitbucket.org/atlassian/atlaskit/commits/7b85a29))
1370
+ - breaking; affects internal styled-components implementation ([d14522a](https://bitbucket.org/atlassian/atlaskit/commits/d14522a))
1371
+ - breaking; implement dark mode theme ([d14522a](https://bitbucket.org/atlassian/atlaskit/commits/d14522a))
1372
+ - feature; implement dark mode ([d959bb1](https://bitbucket.org/atlassian/atlaskit/commits/d959bb1))
1373
+
1374
+ ## 3.6.0 (2017-08-09)
1375
+
1376
+ - feature; export ButtonGroup from button package (issues closed: ak-2382) ([61682c6](https://bitbucket.org/atlassian/atlaskit/commits/61682c6))
1377
+
1378
+ ## 3.5.3 (2017-07-27)
1379
+
1380
+ - fix; rename jsnext:main to jsnext:experimental:main temporarily ([c7508e0](https://bitbucket.org/atlassian/atlaskit/commits/c7508e0))
1381
+
1382
+ ## 3.5.2 (2017-07-25)
1383
+
1384
+ - fix; use class transform in loose mode in babel to improve load performance in apps ([fde719a](https://bitbucket.org/atlassian/atlaskit/commits/fde719a))
1385
+
1386
+ ## 3.5.1 (2017-07-20)
1387
+
1388
+ - fix; return focus ring to buttons ([94f1ad0](https://bitbucket.org/atlassian/atlaskit/commits/94f1ad0))
1389
+
1390
+ ## 3.2.0 (2017-07-17)
1391
+
1392
+ - fix; rerelease, failed prepublish scripts ([5fd82f8](https://bitbucket.org/atlassian/atlaskit/commits/5fd82f8))
1393
+
1394
+ ## 3.2.0 (2017-07-17)
1395
+
1396
+ - feature; added ES module builds to dist and add jsnext:main to most ADG packages ([ea76507](https://bitbucket.org/atlassian/atlaskit/commits/ea76507))
1397
+
1398
+ ## 3.1.0 (2017-07-10)
1399
+
1400
+ - feature; added functionality to have full-width buttons via optional prop ([ad7fae6](https://bitbucket.org/atlassian/atlaskit/commits/ad7fae6))
1401
+
1402
+ ## 2.0.0 (2017-06-01)
1403
+
1404
+ - fix; add prop-types as a dependency to avoid React 15.x warnings ([92598eb](https://bitbucket.org/atlassian/atlaskit/commits/92598eb))
1405
+ - refactored button to styled-components ([de6465b](https://bitbucket.org/atlassian/atlaskit/commits/de6465b))
1406
+ - breaking; refactored to styled-components
1407
+ - ISSUES CLOSED: AK-2381, AK-2300
1408
+
1409
+ ## 1.1.4 (2017-05-25)
1410
+
1411
+ - fix; update util-shared-styles dependency in button ([159dd02](https://bitbucket.org/atlassian/atlaskit/commits/159dd02))
1412
+
1413
+ ## 1.1.3 (2017-05-06)
1414
+
1415
+ - fix; link buttons with no spacing are now baseline aligned correctly ([66f5e65](https://bitbucket.org/atlassian/atlaskit/commits/66f5e65))
1416
+
1417
+ ## 1.1.2 (2017-04-27)
1418
+
1419
+ - fix; update legal copy to be more clear. Not all modules include ADG license. ([f3a945e](https://bitbucket.org/atlassian/atlaskit/commits/f3a945e))
1420
+
1421
+ ## 1.1.1 (2017-04-26)
1422
+
1423
+ - fix; update legal copy and fix broken links for component README on npm. New contribution and ([0b3e454](https://bitbucket.org/atlassian/atlaskit/commits/0b3e454))
1424
+
1425
+ ## 1.1.0 (2017-04-20)
1426
+
1427
+ - feature; removed explicit style! imports, set style-loader in webpack config ([891fc3c](https://bitbucket.org/atlassian/atlaskit/commits/891fc3c))
1428
+
1429
+ ## 1.0.16 (2017-04-04)
1430
+
1431
+ - fix; adds defensive code to allow testing in mocha/jsdom ([3f9b72c](https://bitbucket.org/atlassian/atlaskit/commits/3f9b72c))
1432
+
1433
+ ## 1.0.15 (2017-03-23)
1434
+
1435
+ - fix; Empty commit to release the component ([49c08ee](https://bitbucket.org/atlassian/atlaskit/commits/49c08ee))
1436
+
1437
+ ## 1.0.13 (2017-03-21)
1438
+
1439
+ - fix; maintainers for all the packages were added ([261d00a](https://bitbucket.org/atlassian/atlaskit/commits/261d00a))
1440
+
1441
+ ## 1.0.11 (2017-03-08)
1442
+
1443
+ - fix; fix subtle-link button to use the correct color default color ([c4c274d](https://bitbucket.org/atlassian/atlaskit/commits/c4c274d))
1444
+
1445
+ ## 1.0.10 (2017-02-28)
1446
+
1447
+ - fix; dummy commit to release stories ([3df5d9f](https://bitbucket.org/atlassian/atlaskit/commits/3df5d9f))
1448
+
1449
+ ## 1.0.9 (2017-02-28)
1450
+
1451
+ - fix; dummy commit to fix broken stories and missing registry pages ([a31e92a](https://bitbucket.org/atlassian/atlaskit/commits/a31e92a))
1452
+
1453
+ ## 1.0.8 (2017-02-28)
1454
+
1455
+ - fix; dummy commit to release stories for components ([a105c02](https://bitbucket.org/atlassian/atlaskit/commits/a105c02))
1456
+
1457
+ ## 1.0.7 (2017-02-28)
1458
+
1459
+ - fix; Removes jsdoc annotations from button ([fe8e23b](https://bitbucket.org/atlassian/atlaskit/commits/fe8e23b))
1460
+
1461
+ ## 1.0.6 (2017-02-24)
1462
+
1463
+ - fix; fixes AK-1787: buttons with z-index + shadow ([014af88](https://bitbucket.org/atlassian/atlaskit/commits/014af88))
1464
+ - fix; spinner related tests fixed ([e6d8ad5](https://bitbucket.org/atlassian/atlaskit/commits/e6d8ad5))
1465
+ - fix; storybook clean up and button margin fixed ([e06b9c5](https://bitbucket.org/atlassian/atlaskit/commits/e06b9c5))
1466
+
1467
+ ## 1.0.5 (2017-02-20)
1468
+
1469
+ - fix; use correctly scoped package names in npm docs ([91dbd2f](https://bitbucket.org/atlassian/atlaskit/commits/91dbd2f))
1470
+
1471
+ ## 1.0.4 (2017-02-16)
1472
+
1473
+ - fix; refactor stories to use // rather than http:// ([a0826cf](https://bitbucket.org/atlassian/atlaskit/commits/a0826cf))
1474
+
1475
+ ## 1.0.3 (2017-02-09)
1476
+
1477
+ - fix; avoiding binding render to this ([40c9951](https://bitbucket.org/atlassian/atlaskit/commits/40c9951))
1478
+
1479
+ ## 1.0.2 (2017-02-09)
1480
+
1481
+ - fix; readme refactor to use util-readme ([1adf905](https://bitbucket.org/atlassian/atlaskit/commits/1adf905))
1482
+
1483
+ ## 1.0.1 (2017-02-06)
1484
+
1485
+ - fix; Updates package to use ak scoped packages ([1262016](https://bitbucket.org/atlassian/atlaskit/commits/1262016))