@zendeskgarden/react-buttons
Advanced tools
Comparing version 2.0.1 to 2.1.0-beta.88e1c2ba
@@ -6,2 +6,10 @@ # Change Log | ||
<a name="2.1.0-beta.88e1c2ba"></a> | ||
# [2.1.0-beta.88e1c2ba](https://github.com/zendeskgarden/react-components/compare/@zendeskgarden/react-buttons@2.0.1...@zendeskgarden/react-buttons@2.1.0-beta.88e1c2ba) (2018-05-22) | ||
**Note:** Version bump only for package @zendeskgarden/react-buttons | ||
<a name="2.0.1"></a> | ||
@@ -8,0 +16,0 @@ ## [2.0.1](https://github.com/zendeskgarden/react-components/compare/@zendeskgarden/react-buttons@2.0.0...@zendeskgarden/react-buttons@2.0.1) (2018-05-15) |
@@ -11,4 +11,7 @@ { | ||
}, | ||
"version": "2.0.1", | ||
"main": "./index.js", | ||
"version": "2.1.0-beta.88e1c2ba", | ||
"main": "./dist/index.js", | ||
"files": [ | ||
"dist" | ||
], | ||
"scripts": { | ||
@@ -20,12 +23,15 @@ "build": "../../utils/scripts/build.sh", | ||
"dependencies": { | ||
"@zendeskgarden/css-buttons": "^6.0.0", | ||
"@zendeskgarden/react-selection": "^3.0.1", | ||
"@zendeskgarden/react-selection": "^3.1.0-beta.88e1c2ba", | ||
"classnames": "^2.2.5" | ||
}, | ||
"peerDependencies": { | ||
"@zendeskgarden/react-theming": "^1.0.0", | ||
"classnames": "^2.2.5", | ||
"prop-types": "^15.6.1", | ||
"react": "^0.14.0 || ^15.0.0 || ^16.0.0", | ||
"react-dom": "^0.14.0 || ^15.0.0 || ^16.0.0", | ||
"styled-components": "^3.2.6" | ||
}, | ||
"peerDependencies": { | ||
"react": "^0.14.0 || ^15.0.0 || ^16.0.0", | ||
"react-dom": "^0.14.0 || ^15.0.0 || ^16.0.0" | ||
"devDependencies": { | ||
"@zendeskgarden/css-buttons": "^6.0.0", | ||
"@zendeskgarden/react-theming": "^1.1.0-beta.88e1c2ba" | ||
}, | ||
@@ -40,3 +46,5 @@ "keywords": [ | ||
"access": "public" | ||
} | ||
}, | ||
"zendeskgarden:library": "GardenButtons", | ||
"zendeskgarden:src": "src/index.js" | ||
} |
@@ -12,2 +12,5 @@ # @zendeskgarden/react-buttons [![npm version](https://img.shields.io/npm/v/@zendeskgarden/react-buttons.svg?style=flat-square)](https://www.npmjs.com/package/@zendeskgarden/react-buttons) [![Dependency Status](https://img.shields.io/david/zendeskgarden/react-components.svg?path=packages/buttons&style=flat-square)](https://david-dm.org/zendeskgarden/react-components?path=packages/buttons) <!-- markdownlint-disable --> | ||
npm install @zendeskgarden/react-buttons | ||
# Peer Dependencies - Also Required | ||
npm install react react-dom prop-types styled-components @zendeskgarden/react-theming | ||
``` | ||
@@ -20,4 +23,19 @@ | ||
```jsx static | ||
<Button onClick={() => alert('clicked')}>Default</Button> | ||
<Button primary disabled>Disabled Primary button</Button> | ||
/** | ||
* Include button styling at the root of your application | ||
*/ | ||
import '@zendeskgarden/react-buttons/dist/styles.css'; | ||
import { ThemeProvider } from '@zendeskgarden/react-theming'; | ||
import { Button } from '@zendeskgarden/react-buttons'; | ||
/** | ||
* Place a `ThemeProvider` at the root of your React application | ||
*/ | ||
<ThemeProvider> | ||
<Button onClick={() => alert('clicked')}>Default</Button> | ||
<Button primary disabled> | ||
Disabled Primary button | ||
</Button> | ||
</ThemeProvider>; | ||
``` | ||
@@ -24,0 +42,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
290159
7
958
54
2
9
2
1
+ Added@zendeskgarden/react-selection@3.1.0-beta.88e1c2ba(transitive)
- Removed@zendeskgarden/css-buttons@^6.0.0
- Removed@zendeskgarden/react-theming@^1.0.0
- Removedprop-types@^15.6.1
- Removedstyled-components@^3.2.6
- Removed@zendeskgarden/css-buttons@6.3.0(transitive)
- Removed@zendeskgarden/css-variables@5.2.4(transitive)
- Removed@zendeskgarden/react-selection@3.0.1(transitive)