@pismo/bolt-button
Advanced tools
Comparing version 0.0.1-32 to 0.2.0
{ | ||
"name": "@pismo/bolt-button", | ||
"version": "0.0.1-32", | ||
"description": "Button component for the Pismo Bolt styleguide", | ||
"main": "src/index.js", | ||
"scripts": { | ||
"setup": "yarn", | ||
"test": "npm test", | ||
"lint": "node_modules/.bin/eslint --fix", | ||
"docgen": "react-docgen ./src/Button.js --out .meta.json --pretty", | ||
"mdgen": "node ../../docgen-to-md.js", | ||
"doc": "yarn docgen && yarn mdgen" | ||
}, | ||
"keywords": [ | ||
"pismo", | ||
"react", | ||
"bolt", | ||
"styled", | ||
"component" | ||
], | ||
"author": "Pismo", | ||
"version": "0.2.0", | ||
"description": "Bolt button component", | ||
"author": "Pismo <hello@pismo.io>", | ||
"homepage": "https://github.com/pismo/bolt#readme", | ||
"license": "ISC", | ||
"dependencies": { | ||
"@pismo/bolt-colors": "^0.0.1-32", | ||
"@pismo/bolt-typography": "^0.0.1-32" | ||
"main": "dist/index.js", | ||
"types": "dist/index.d.ts", | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/pismo/bolt.git" | ||
}, | ||
"bugs": { | ||
"url": "https://github.com/pismo/bolt/issues" | ||
}, | ||
"devDependencies": { | ||
"@pismo/eslint-config-bolt": "^0.0.1-32", | ||
"prop-types": "^15.6.0" | ||
"@astrocoders/docz": "0.13.6", | ||
"@types/jest": "^23.3.10", | ||
"@types/react": "^16.7.17", | ||
"@types/react-dom": "^16.0.11", | ||
"@types/styled-components": "4.1.4", | ||
"jest-dom": "^3.0.0", | ||
"polished": "^2.3.1", | ||
"react": "^16.6.3", | ||
"react-dom": "^16.6.3", | ||
"react-testing-library": "^5.4.0", | ||
"styled-components": "4.1.3", | ||
"tslint": "^5.11.0", | ||
"tslint-config-prettier": "^1.17.0", | ||
"tslint-react": "^3.6.0", | ||
"typescript": "^3.2.2" | ||
}, | ||
"peerDependencies": { | ||
"react": "^16.2.0", | ||
"styled-components": "^2.4.0" | ||
"dependencies": { | ||
"@pismo/bolt-core": "^0.2.0" | ||
}, | ||
"publishConfig": { | ||
"access": "public" | ||
"scripts": { | ||
"build": "tsc", | ||
"test": "jest" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/pismo/bolt.git" | ||
} | ||
"gitHead": "fb08dbeb024a79d4fd7a37ef2bb0343a0270ae4f" | ||
} |
@@ -1,24 +0,11 @@ | ||
# Bolt Button | ||
One button to rule them all. | ||
# `core` | ||
--- | ||
> TODO: description | ||
## Installation | ||
```sh | ||
> yarn add @pismo/bolt-button | ||
## Usage | ||
``` | ||
const core = require('core'); | ||
## Usage | ||
```js | ||
import Button from '@pismo/bolt-button' | ||
// TODO: DEMONSTRATE API | ||
``` | ||
### Props | ||
Prop | Type | Description | Required | Default | ||
--- | :---: | --- | :---: | :---: | ||
**size** | enum | 'small', 'medium', 'large' | false | 'medium' | ||
**block** | bool | block mode sets `display: block` and max width, useful for modal footers for example | false | false | ||
**weight** | enum | 'normal', 'primary' | false | 'normal' | ||
**innerRef** | func | returns the actual `ref` of the inner `<button />` | false | Function.prototype | ||
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
No bug tracker
MaintenancePackage does not have a linked bug tracker in package.json.
Found 1 instance in 1 package
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
1
6113
15
18
84
12
2
+ Added@pismo/bolt-core@^0.2.0
+ Added@pismo/bolt-core@0.2.0(transitive)
- Removed@pismo/bolt-colors@^0.0.1-32
- Removed@pismo/bolt-typography@^0.0.1-32
- Removed@pismo/bolt-colors@0.0.1-32(transitive)
- Removed@pismo/bolt-typography@0.0.1-32(transitive)
- Removedasap@2.0.6(transitive)
- Removedbase64-js@1.5.1(transitive)
- Removedbuffer@5.7.1(transitive)
- Removedcamelize@1.0.1(transitive)
- Removedcore-js@1.2.7(transitive)
- Removedcss-color-keywords@1.0.0(transitive)
- Removedcss-to-react-native@2.3.2(transitive)
- Removedencoding@0.1.13(transitive)
- Removedfbjs@0.8.18(transitive)
- Removedhas-flag@1.0.0(transitive)
- Removedhoist-non-react-statics@1.2.0(transitive)
- Removediconv-lite@0.6.3(transitive)
- Removedieee754@1.2.1(transitive)
- Removedis-plain-object@2.0.4(transitive)
- Removedis-stream@1.1.0(transitive)
- Removedisobject@3.0.1(transitive)
- Removedisomorphic-fetch@2.2.1(transitive)
- Removedjs-tokens@4.0.0(transitive)
- Removedloose-envify@1.4.0(transitive)
- Removednode-fetch@1.7.3(transitive)
- Removedobject-assign@4.1.1(transitive)
- Removedpostcss-value-parser@3.3.1(transitive)
- Removedpromise@7.3.1(transitive)
- Removedprop-types@15.8.1(transitive)
- Removedreact@16.14.0(transitive)
- Removedreact-is@16.13.1(transitive)
- Removedsafer-buffer@2.1.2(transitive)
- Removedsetimmediate@1.0.5(transitive)
- Removedstyled-components@2.4.1(transitive)
- Removedstylis@3.5.4(transitive)
- Removedsupports-color@3.2.3(transitive)
- Removedua-parser-js@0.7.40(transitive)
- Removedwhatwg-fetch@3.6.20(transitive)