Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@zendeskgarden/react-buttons

Package Overview
Dependencies
Maintainers
1
Versions
274
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@zendeskgarden/react-buttons - npm Package Compare versions

Comparing version 2.0.1 to 2.1.0-beta.88e1c2ba

dist/index.js

8

CHANGELOG.md

@@ -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)

26

package.json

@@ -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 @@

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