New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@atlaskit/button

Package Overview
Dependencies
Maintainers
1
Versions
355
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@atlaskit/button - npm Package Compare versions

Comparing version 5.4.14 to 6.0.0

dist/cjs/components/Button.js

457

CHANGELOG.md

@@ -1,551 +0,262 @@

<a name="5.4.14"></a>
## 5.4.14 (2017-12-01)
# @atlaskit/button
## 6.0.0
- [major] Remove typescript [4635000](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/4635000)
- [major] Remove typescript [4635000](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/4635000)
- [patch] Move button to new repo, tidy types [2dafda6](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/2dafda6)
- [patch] Move button to new repo, tidy types [2dafda6](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/2dafda6)
<a name="5.4.14"></a>
## 5.4.14 (2017-12-01)
### Bug Fixes
* **component:** fix button group spacing ([f0037f2](https://bitbucket.org/atlassian/atlaskit/commits/f0037f2))
<a name="5.4.13"></a>
* bug fix; fix button group spacing (issues closed: ak-3978) ([f0037f2](https://bitbucket.org/atlassian/atlaskit/commits/f0037f2))
## 5.4.13 (2017-11-30)
### Bug Fixes
* **component:** fix disabled buttons with child elements propagating click events ([584ffdc](https://bitbucket.org/atlassian/atlaskit/commits/584ffdc))
<a name="5.4.12"></a>
* bug fix; fix disabled buttons with child elements propagating click events ([584ffdc](https://bitbucket.org/atlassian/atlaskit/commits/584ffdc))
## 5.4.12 (2017-11-27)
* bug fix; export interface for ts ([15c291c](https://bitbucket.org/atlassian/atlaskit/commits/15c291c))
### Bug Fixes
* **component:** export interface for ts ([15c291c](https://bitbucket.org/atlassian/atlaskit/commits/15c291c))
<a name="5.4.11"></a>
## 5.4.11 (2017-11-27)
* bug fix; fix disabled buttons not swallowing click events (issues closed: ak-3646) ([80e976b](https://bitbucket.org/atlassian/atlaskit/commits/80e976b))
### Bug Fixes
* **component:** fix disabled buttons not swallowing click events ([80e976b](https://bitbucket.org/atlassian/atlaskit/commits/80e976b))
<a name="5.4.10"></a>
## 5.4.10 (2017-11-24)
### Bug Fixes
* **component:** fix button-group prop validation to ignore null children ([3f7f0c3](https://bitbucket.org/atlassian/atlaskit/commits/3f7f0c3))
<a name="5.4.9"></a>
* bug fix; fix button-group prop validation to ignore null children ([3f7f0c3](https://bitbucket.org/atlassian/atlaskit/commits/3f7f0c3))
## 5.4.9 (2017-11-21)
### Bug Fixes
* **component:** bumping internal dependencies to latest version ([5e81848](https://bitbucket.org/atlassian/atlaskit/commits/5e81848))
<a name="5.4.8"></a>
* bug fix; bumping internal dependencies to latest version ([5e81848](https://bitbucket.org/atlassian/atlaskit/commits/5e81848))
## 5.4.8 (2017-10-27)
### Bug Fixes
* **component:** correct formatting for user-select style ([fe9419c](https://bitbucket.org/atlassian/atlaskit/commits/fe9419c))
<a name="5.4.7"></a>
* bug fix; correct formatting for user-select style ([fe9419c](https://bitbucket.org/atlassian/atlaskit/commits/fe9419c))
## 5.4.7 (2017-10-27)
<a name="5.4.6"></a>
* bug fix; change icon to be unselectable so button content can be copied ([e8c876a](https://bitbucket.org/atlassian/atlaskit/commits/e8c876a))
## 5.4.6 (2017-10-27)
* bug fix; updated button props typings ([c7a9c09](https://bitbucket.org/atlassian/atlaskit/commits/c7a9c09))
### Bug Fixes
* **component:** change icon to be unselectable so button content can be copied ([e8c876a](https://bitbucket.org/atlassian/atlaskit/commits/e8c876a))
* **typings:** updated button props typings ([c7a9c09](https://bitbucket.org/atlassian/atlaskit/commits/c7a9c09))
<a name="5.4.5"></a>
## 5.4.5 (2017-10-23)
### Bug Fixes
* **component:** support false/null/undefined children in ButtonGroup ([4667228](https://bitbucket.org/atlassian/atlaskit/commits/4667228))
<a name="5.4.4"></a>
* bug fix; support false/null/undefined children in ButtonGroup ([4667228](https://bitbucket.org/atlassian/atlaskit/commits/4667228))
## 5.4.4 (2017-10-22)
### Bug Fixes
* **package:** update dependencies for react-16 ([077d1ad](https://bitbucket.org/atlassian/atlaskit/commits/077d1ad))
<a name="5.4.3"></a>
* bug fix; update dependencies for react-16 ([077d1ad](https://bitbucket.org/atlassian/atlaskit/commits/077d1ad))
## 5.4.3 (2017-10-16)
### Bug Fixes
* **component:** fix issue where invalid box-shadow style was applied ([a786038](https://bitbucket.org/atlassian/atlaskit/commits/a786038))
<a name="5.4.2"></a>
* bug fix; fix issue where invalid box-shadow style was applied (issues closed: ak-3704) ([a786038](https://bitbucket.org/atlassian/atlaskit/commits/a786038))
## 5.4.2 (2017-10-03)
### Bug Fixes
* bug fix; improve button performance ([1bbf0d1](https://bitbucket.org/atlassian/atlaskit/commits/1bbf0d1))
* **component:** improve button performance ([1bbf0d1](https://bitbucket.org/atlassian/atlaskit/commits/1bbf0d1))
### Performance Improvements
* **component:** add perf test story for button component ([1b52c17](https://bitbucket.org/atlassian/atlaskit/commits/1b52c17))
* **component:** improve button performance by 10% ([3ff3358](https://bitbucket.org/atlassian/atlaskit/commits/3ff3358))
* **component:** replace some styled components with inline styles to improve performance ([f782d3b](https://bitbucket.org/atlassian/atlaskit/commits/f782d3b))
<a name="5.4.1"></a>
## 5.4.1 (2017-09-27)
* bug fix; button will truncate if wider than its parent (issues closed: ak-3332) ([a701ea1](https://bitbucket.org/atlassian/atlaskit/commits/a701ea1))
## 5.4.0 (2017-09-22)
### Bug Fixes
* feature; buttons no longer prevent text selection (issues closed: ak-3270) ([9ab343b](https://bitbucket.org/atlassian/atlaskit/commits/9ab343b))
* **component:** button will truncate if wider than its parent ([a701ea1](https://bitbucket.org/atlassian/atlaskit/commits/a701ea1))
## 5.3.0 (2017-09-18)
<a name="5.4.0"></a>
# 5.4.0 (2017-09-22)
* feature; support new Help button appearance (issues closed: ak-3535) ([69728ed](https://bitbucket.org/atlassian/atlaskit/commits/69728ed))
## 5.2.0 (2017-09-12)
### Features
* **component:** buttons no longer prevent text selection ([9ab343b](https://bitbucket.org/atlassian/atlaskit/commits/9ab343b))
<a name="5.3.0"></a>
# 5.3.0 (2017-09-18)
### Features
* **component:** support new Help button appearance ([69728ed](https://bitbucket.org/atlassian/atlaskit/commits/69728ed))
<a name="5.2.0"></a>
# 5.2.0 (2017-09-12)
### Features
* **component:** we need the ability to reference elements ([cbf5c12](https://bitbucket.org/atlassian/atlaskit/commits/cbf5c12))
<a name="5.1.2"></a>
* feature; we need the ability to reference elements ([cbf5c12](https://bitbucket.org/atlassian/atlaskit/commits/cbf5c12))
## 5.1.2 (2017-09-08)
* bug fix; adding ButtonGroup to type declarations of button pckage. ([bb373c1](https://bitbucket.org/atlassian/atlaskit/commits/bb373c1))
### Bug Fixes
* **component:** adding ButtonGroup to type declarations of button pckage. ([bb373c1](https://bitbucket.org/atlassian/atlaskit/commits/bb373c1))
<a name="5.1.1"></a>
## 5.1.1 (2017-08-24)
* bug fix; improved focus ring contrast for warning and danger buttons ([39ddda7](https://bitbucket.org/atlassian/atlaskit/commits/39ddda7))
## 5.1.0 (2017-08-23)
<a name="5.1.0"></a>
# 5.1.0 (2017-08-23)
* bug fix; subtle-link button font colour is slightly updated (issues closed: ak-2480) ([510393a](https://bitbucket.org/atlassian/atlaskit/commits/510393a))
* feature; added warning (yellow) and danger (red) options to Button.appearance prop (issues closed: ak-2480) ([ba4cfde](https://bitbucket.org/atlassian/atlaskit/commits/ba4cfde))
### Bug Fixes
* **component:** improved focus ring contrast for warning and danger buttons ([39ddda7](https://bitbucket.org/atlassian/atlaskit/commits/39ddda7))
* **component:** subtle-link button font colour is slightly updated ([510393a](https://bitbucket.org/atlassian/atlaskit/commits/510393a))
### Features
* **component:** added warning (yellow) and destruct (red) options to Button.appearance prop ([ba4cfde](https://bitbucket.org/atlassian/atlaskit/commits/ba4cfde))
<a name="5.0.1"></a>
## 5.0.1 (2017-08-16)
* bug fix; fix react warning about PropTypes ([6b4cd29](https://bitbucket.org/atlassian/atlaskit/commits/6b4cd29))
### Bug Fixes
## 5.0.0 (2017-08-11)
* **component:** fix react warning about PropTypes ([6b4cd29](https://bitbucket.org/atlassian/atlaskit/commits/6b4cd29))
* bug fix; fix the theme-dependency ([db90333](https://bitbucket.org/atlassian/atlaskit/commits/db90333))
* bug fix; button: fix focus box shadow ([9746e73](https://bitbucket.org/atlassian/atlaskit/commits/9746e73))
* bug fix; button: fix dark link color - default / hover / active ([7b85a29](https://bitbucket.org/atlassian/atlaskit/commits/7b85a29))
* breaking; affects internal styled-components implementation ([d14522a](https://bitbucket.org/atlassian/atlaskit/commits/d14522a))
* breaking; implement dark mode theme ([d14522a](https://bitbucket.org/atlassian/atlaskit/commits/d14522a))
* feature; implement dark mode ([d959bb1](https://bitbucket.org/atlassian/atlaskit/commits/d959bb1))
## 4.0.0 (2017-08-11)
<a name="4.0.0"></a>
# 4.0.0 (2017-08-11)
* bug fix; button: fix focus box shadow ([9746e73](https://bitbucket.org/atlassian/atlaskit/commits/9746e73))
* bug fix; button: fix dark link color - default / hover / active ([7b85a29](https://bitbucket.org/atlassian/atlaskit/commits/7b85a29))
* breaking; affects internal styled-components implementation ([d14522a](https://bitbucket.org/atlassian/atlaskit/commits/d14522a))
* breaking; implement dark mode theme ([d14522a](https://bitbucket.org/atlassian/atlaskit/commits/d14522a))
* feature; implement dark mode ([d959bb1](https://bitbucket.org/atlassian/atlaskit/commits/d959bb1))
### Bug Fixes
* **package:** fix the theme-dependency ([db90333](https://bitbucket.org/atlassian/atlaskit/commits/db90333))
## 3.6.0 (2017-08-09)
* feature; export ButtonGroup from button package (issues closed: ak-2382) ([61682c6](https://bitbucket.org/atlassian/atlaskit/commits/61682c6))
<a name="4.0.0"></a>
# 4.0.0 (2017-08-11)
### Bug Fixes
* **component:** button: fix dark link color - default / hover / active ([7b85a29](https://bitbucket.org/atlassian/atlaskit/commits/7b85a29))
* **component:** button: fix focus box shadow ([9746e73](https://bitbucket.org/atlassian/atlaskit/commits/9746e73))
<a name="3.6.0"></a>
# 3.6.0 (2017-08-09)
### Features
* **component:** export ButtonGroup from button package ([61682c6](https://bitbucket.org/atlassian/atlaskit/commits/61682c6))
* **component:** implement dark mode ([d959bb1](https://bitbucket.org/atlassian/atlaskit/commits/d959bb1))
* **component:** implement dark mode theme ([d14522a](https://bitbucket.org/atlassian/atlaskit/commits/d14522a))
### BREAKING CHANGES
* **component:** affects internal styled-components implementation
<a name="3.5.3"></a>
## 3.5.3 (2017-07-27)
### Bug Fixes
* fix; rename jsnext:main to jsnext:experimental:main temporarily ([c7508e0](https://bitbucket.org/atlassian/atlaskit/commits/c7508e0))
* **package:** rename jsnext:main to jsnext:experimental:main temporarily ([c7508e0](https://bitbucket.org/atlassian/atlaskit/commits/c7508e0))
<a name="3.5.2"></a>
## 3.5.2 (2017-07-25)
### Bug Fixes
* fix; use class transform in loose mode in babel to improve load performance in apps ([fde719a](https://bitbucket.org/atlassian/atlaskit/commits/fde719a))
* **build:** use class transform in loose mode in babel to improve load performance in apps ([fde719a](https://bitbucket.org/atlassian/atlaskit/commits/fde719a))
<a name="3.5.1"></a>
## 3.5.1 (2017-07-20)
### Bug Fixes
* fix; return focus ring to buttons ([94f1ad0](https://bitbucket.org/atlassian/atlaskit/commits/94f1ad0))
* **component:** return focus ring to buttons ([94f1ad0](https://bitbucket.org/atlassian/atlaskit/commits/94f1ad0))
## 3.2.0 (2017-07-17)
## 3.2.0 (2017-07-17)
## 3.2.0 (2017-07-17)
<a name="3.2.0"></a>
# 3.2.0 (2017-07-17)
* fix; rerelease, failed prepublish scripts ([5fd82f8](https://bitbucket.org/atlassian/atlaskit/commits/5fd82f8))
## 3.2.0 (2017-07-17)
<a name="3.2.0"></a>
# 3.2.0 (2017-07-17)
* feature; added ES module builds to dist and add jsnext:main to most ADG packages ([ea76507](https://bitbucket.org/atlassian/atlaskit/commits/ea76507))
## 3.1.0 (2017-07-10)
<a name="3.2.0"></a>
# 3.2.0 (2017-07-17)
* feature; added functionality to have full-width buttons via optional prop ([ad7fae6](https://bitbucket.org/atlassian/atlaskit/commits/ad7fae6))
### Bug Fixes
## 2.0.0 (2017-06-01)
* **package:** rerelease, failed prepublish scripts ([5fd82f8](https://bitbucket.org/atlassian/atlaskit/commits/5fd82f8))
* fix; add prop-types as a dependency to avoid React 15.x warnings ([92598eb](https://bitbucket.org/atlassian/atlaskit/commits/92598eb))
<a name="3.2.0"></a>
# 3.2.0 (2017-07-17)
null refactored button to styled-components ([de6465b](https://bitbucket.org/atlassian/atlaskit/commits/de6465b))
### Features
* breaking; refactored to styled-components
* **package:** added ES module builds to dist and add jsnext:main to most ADG packages ([ea76507](https://bitbucket.org/atlassian/atlaskit/commits/ea76507))
<a name="3.1.0"></a>
# 3.1.0 (2017-07-10)
### Features
* **component:** added functionality to have full-width buttons via optional prop ([ad7fae6](https://bitbucket.org/atlassian/atlaskit/commits/ad7fae6))
<a name="2.0.0"></a>
# 2.0.0 (2017-06-01)
### Bug Fixes
* **package:** add prop-types as a dependency to avoid React 15.x warnings ([92598eb](https://bitbucket.org/atlassian/atlaskit/commits/92598eb))
### Code Refactoring
* **refactor:** refactored button to styled-components ([de6465b](https://bitbucket.org/atlassian/atlaskit/commits/de6465b))
### BREAKING CHANGES
* **refactor:** refactored to styled-components
ISSUES CLOSED: AK-2381, AK-2300
<a name="1.1.4"></a>
## 1.1.4 (2017-05-25)
### Bug Fixes
* fix; update util-shared-styles dependency in button ([159dd02](https://bitbucket.org/atlassian/atlaskit/commits/159dd02))
* **package:** update util-shared-styles dependency in button ([159dd02](https://bitbucket.org/atlassian/atlaskit/commits/159dd02))
<a name="1.1.3"></a>
## 1.1.3 (2017-05-06)
### Bug Fixes
* fix; link buttons with no spacing are now baseline aligned correctly ([66f5e65](https://bitbucket.org/atlassian/atlaskit/commits/66f5e65))
* **component:** link buttons with no spacing are now baseline aligned correctly ([66f5e65](https://bitbucket.org/atlassian/atlaskit/commits/66f5e65))
<a name="1.1.2"></a>
## 1.1.2 (2017-04-27)
### Bug Fixes
* fix; update legal copy to be more clear. Not all modules include ADG license. ([f3a945e](https://bitbucket.org/atlassian/atlaskit/commits/f3a945e))
* **docs:** update legal copy to be more clear. Not all modules include ADG license. ([f3a945e](https://bitbucket.org/atlassian/atlaskit/commits/f3a945e))
<a name="1.1.1"></a>
## 1.1.1 (2017-04-26)
### Bug Fixes
* fix; update legal copy and fix broken links for component README on npm. New contribution and ([0b3e454](https://bitbucket.org/atlassian/atlaskit/commits/0b3e454))
* **docs:** update legal copy and fix broken links for component README on npm. New contribution and ([0b3e454](https://bitbucket.org/atlassian/atlaskit/commits/0b3e454))
## 1.1.0 (2017-04-20)
* feature; removed explicit style! imports, set style-loader in webpack config ([891fc3c](https://bitbucket.org/atlassian/atlaskit/commits/891fc3c))
<a name="1.1.0"></a>
# 1.1.0 (2017-04-20)
### Features
* **refactor:** removed explicit style! imports, set style-loader in webpack config ([891fc3c](https://bitbucket.org/atlassian/atlaskit/commits/891fc3c))
<a name="1.0.16"></a>
## 1.0.16 (2017-04-04)
### Bug Fixes
* fix; adds defensive code to allow testing in mocha/jsdom ([3f9b72c](https://bitbucket.org/atlassian/atlaskit/commits/3f9b72c))
* **component:** adds defensive code to allow testing in mocha/jsdom ([3f9b72c](https://bitbucket.org/atlassian/atlaskit/commits/3f9b72c))
<a name="1.0.15"></a>
## 1.0.15 (2017-03-23)
### Bug Fixes
* fix; Empty commit to release the component ([49c08ee](https://bitbucket.org/atlassian/atlaskit/commits/49c08ee))
* **dummy:** Empty commit to release the component ([49c08ee](https://bitbucket.org/atlassian/atlaskit/commits/49c08ee))
<a name="1.0.13"></a>
## 1.0.13 (2017-03-21)
<a name="1.0.13"></a>
## 1.0.13 (2017-03-21)
### Bug Fixes
* fix; maintainers for all the packages were added ([261d00a](https://bitbucket.org/atlassian/atlaskit/commits/261d00a))
* **package:** maintainers for all the packages were added ([261d00a](https://bitbucket.org/atlassian/atlaskit/commits/261d00a))
<a name="1.0.12"></a>
## 1.0.12 (2017-03-14)
<a name="1.0.11"></a>
## 1.0.11 (2017-03-08)
### Bug Fixes
* fix; fix subtle-link button to use the correct color default color ([c4c274d](https://bitbucket.org/atlassian/atlaskit/commits/c4c274d))
* **component:** fix subtle-link button to use the correct color default color ([c4c274d](https://bitbucket.org/atlassian/atlaskit/commits/c4c274d))
<a name="1.0.10"></a>
## 1.0.10 (2017-02-28)
### Bug Fixes
* fix; dummy commit to release stories ([3df5d9f](https://bitbucket.org/atlassian/atlaskit/commits/3df5d9f))
* **stories:** dummy commit to release stories ([3df5d9f](https://bitbucket.org/atlassian/atlaskit/commits/3df5d9f))
<a name="1.0.9"></a>
## 1.0.9 (2017-02-28)
### Bug Fixes
* fix; dummy commit to fix broken stories and missing registry pages ([a31e92a](https://bitbucket.org/atlassian/atlaskit/commits/a31e92a))
* **stories:** dummy commit to fix broken stories and missing registry pages ([a31e92a](https://bitbucket.org/atlassian/atlaskit/commits/a31e92a))
<a name="1.0.8"></a>
## 1.0.8 (2017-02-28)
### Bug Fixes
* fix; dummy commit to release stories for components ([a105c02](https://bitbucket.org/atlassian/atlaskit/commits/a105c02))
* **stories:** dummy commit to release stories for components ([a105c02](https://bitbucket.org/atlassian/atlaskit/commits/a105c02))
<a name="1.0.7"></a>
## 1.0.7 (2017-02-28)
### Bug Fixes
* fix; Removes jsdoc annotations from button ([fe8e23b](https://bitbucket.org/atlassian/atlaskit/commits/fe8e23b))
* **docs:** Removes jsdoc annotations from button ([fe8e23b](https://bitbucket.org/atlassian/atlaskit/commits/fe8e23b))
<a name="1.0.6"></a>
## 1.0.6 (2017-02-24)
### Bug Fixes
* fix; fixes AK-1787: buttons with z-index + shadow ([014af88](https://bitbucket.org/atlassian/atlaskit/commits/014af88))
* fix; spinner related tests fixed ([e6d8ad5](https://bitbucket.org/atlassian/atlaskit/commits/e6d8ad5))
* fix; storybook clean up and button margin fixed ([e06b9c5](https://bitbucket.org/atlassian/atlaskit/commits/e06b9c5))
* **component:** fixes AK-1787: buttons with z-index + shadow ([014af88](https://bitbucket.org/atlassian/atlaskit/commits/014af88))
* **component:** spinner related tests fixed ([e6d8ad5](https://bitbucket.org/atlassian/atlaskit/commits/e6d8ad5))
* **component:** storybook clean up and button margin fixed ([e06b9c5](https://bitbucket.org/atlassian/atlaskit/commits/e06b9c5))
<a name="1.0.5"></a>
## 1.0.5 (2017-02-20)
### Bug Fixes
* fix; use correctly scoped package names in npm docs ([91dbd2f](https://bitbucket.org/atlassian/atlaskit/commits/91dbd2f))
* **docs:** use correctly scoped package names in npm docs ([91dbd2f](https://bitbucket.org/atlassian/atlaskit/commits/91dbd2f))
<a name="1.0.4"></a>
## 1.0.4 (2017-02-16)
### Bug Fixes
* fix; refactor stories to use // rather than http:// ([a0826cf](https://bitbucket.org/atlassian/atlaskit/commits/a0826cf))
* **stories:** refactor stories to use // rather than http:// ([a0826cf](https://bitbucket.org/atlassian/atlaskit/commits/a0826cf))
<a name="1.0.3"></a>
## 1.0.3 (2017-02-09)
### Bug Fixes
* fix; avoiding binding render to this ([40c9951](https://bitbucket.org/atlassian/atlaskit/commits/40c9951))
* **performance:** avoiding binding render to this ([40c9951](https://bitbucket.org/atlassian/atlaskit/commits/40c9951))
<a name="1.0.2"></a>
## 1.0.2 (2017-02-09)
### Bug Fixes
* fix; readme refactor to use util-readme ([1adf905](https://bitbucket.org/atlassian/atlaskit/commits/1adf905))
* **docs:** readme refactor to use util-readme ([1adf905](https://bitbucket.org/atlassian/atlaskit/commits/1adf905))
<a name="1.0.1"></a>
## 1.0.1 (2017-02-06)
### Bug Fixes
* **bump:** Updates package to use ak scoped packages ([1262016](https://bitbucket.org/atlassian/atlaskit/commits/1262016))
* fix; Updates package to use ak scoped packages ([1262016](https://bitbucket.org/atlassian/atlaskit/commits/1262016))
{
"name": "@atlaskit/button",
"version": "5.4.14",
"config": {
"access": "public"
},
"description": "A React component that is used to trigger events.",
"main": "dist/bundle.js",
"webpack": "dist/bundle-cjs.js",
"jsnext:experimental:main": "dist/es/index.js",
"ak:webpack:raw": "src/index.jsx",
"ak:component": {
"name": "Button",
"dark": true
},
"types": "src/index.d.ts",
"scripts": {
"eslint": "../../build/bin/lint.eslint.sh",
"jest": "echo 'yarn run jest is deprecated and removed. please run yarn run test:unit instead.'",
"prepublish": "../../node_modules/.bin/in-publish && { cd ../.. && npm run prepublish-with-babel/single @atlaskit/button; } || ../../node_modules/.bin/not-in-publish",
"storybook": "../../build/bin/storybook/run.local.js",
"storybook:static": "../../build/bin/storybook/build.static.js",
"test:unit": "../../node_modules/.bin/jest -c ../../build/config/jest.config.js"
},
"version": "6.0.0",
"description": "A React component that is a base button.",
"license": "Apache-2.0",
"main": "dist/cjs/index.js",
"module": "dist/esm/index.js",
"atlaskit:src": "src/index.js",
"files": [
"dist",
"src/index.d.ts"
"dist"
],
"dependencies": {
"@atlaskit/theme": "^2.0.0",
"babel-runtime": "^6.11.6",
"classnames": "^2.2.5",
"prop-types": "^15.5.10",
"styled-components": "^1.4.6"
},
"author": "Atlassian Pty Ltd",
"maintainers": [
{
"name": "Matias C"
},
{
"name": "Nadia M"
}
"Ben C"
],
"license": "Apache-2.0",
"devDependencies": {
"@atlaskit/button": "*",
"@atlaskit/icon": "^10.3.1",
"@atlaskit/util-readme": "^1.0.0",
"react-router-dom": "^4.0.0",
"uid": "^0.0.2"
"atlaskit": {
"name": "Button",
"team": "elements"
},
"repository": "bitbucket:atlaskit/atlaskit-mk-2",
"dependencies": {
"@atlaskit/theme": "^2.2.9",
"babel-runtime": "^6.26.0",
"styled-components": "^1.4.6"
},
"peerDependencies": {
"react": "^15.3.2 || ^16.0.0"
"react": "^15.6.1"
},
"repository": {
"type": "git",
"url": "https://bitbucket.org/atlassian/atlaskit"
},
"keywords": [
"atlaskit",
"ui"
]
}
"devDependencies": {
"@atlaskit/docs": "^2.1.0",
"@atlaskit/icon": "^10.3.1",
"enzyme": "^2.9.1",
"react-router-dom": "^4.2.2"
}
}

@@ -1,18 +0,6 @@

[![Atlaskit component registry](https://img.shields.io/badge/Atlaskit-components-FF5230.svg)](http://atlaskit.atlassian.com)
[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg)](http://Commitizen.github.io/cz-cli/)
[![semantic-release](https://img.shields.io/badge/GitHub-semantic_release-ffab00.svg)](https://github.com/semantic-release/semantic-release)
[![Report an issue](https://img.shields.io/badge/Report-an_issue-6554C0.svg)](http://go.atlassian.com/atlaskit-issues)
# Button
Buttons are used as triggers for actions. They are used in forms, toolbars, dialog footers and as stand-alone action triggers.
Buttons are used as triggers for actions. They are used in forms, toolbars,
dialog footers and as stand-alone action triggers.
![Example buttons](https://bytebucket.org/atlassian/atlaskit/raw/0b0fb6cb19af8a7ed0742d35412deffcb0862937/packages/button/docs/button_1.png)
![Example buttons](https://bytebucket.org/atlassian/atlaskit/raw/0b0fb6cb19af8a7ed0742d35412deffcb0862937/packages/button/docs/button_2.png)
## Try it out
Interact with a [live demo of the @atlaskit/button component](https://aui-cdn.atlassian.com/atlaskit/stories/@atlaskit/button/5.4.14/).
## Installation

@@ -27,4 +15,5 @@

### HTML
This package exports the `@atlaskit/button` React component.
This package exports the `@NAME@` React component.
Import the component in your React app as follows:

@@ -36,10 +25,1 @@

```
_* Please note that this module could have dependencies that are governed by the Atlassian Design Guidelines license which will be automatically included on install. Each dependency has a license file that indicates whether the Atlassian Design Guidelines license applies._
## We're here to help!
Let us know what you think of our components and docs, your feedback is really important for us.
Are you in trouble? Read through our [contribution guidelines](https://bitbucket.org/atlassian/atlaskit/src/HEAD/CONTRIBUTING.md) and raise an issue to us.
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc