Comparing version 1.0.0 to 1.1.0
@@ -18,2 +18,4 @@ 'use strict'; | ||
var _propTypes = require('prop-types'); | ||
var _FabButton = require('./FabButton'); | ||
@@ -33,3 +35,2 @@ | ||
var node = _react.PropTypes.node; | ||
var Fab = (_temp2 = _class = function (_Component) { | ||
@@ -99,4 +100,4 @@ _inherits(Fab, _Component); | ||
}(_react.Component), _class.propTypes = { | ||
children: node | ||
children: _propTypes.node | ||
}, _temp2); | ||
exports.default = Fab; |
@@ -18,2 +18,4 @@ 'use strict'; | ||
var _propTypes = require('prop-types'); | ||
var _classnames = require('classnames'); | ||
@@ -33,5 +35,2 @@ | ||
var bool = _react.PropTypes.bool, | ||
node = _react.PropTypes.node, | ||
string = _react.PropTypes.string; | ||
var FabAction = (_temp = _class = function (_Component) { | ||
@@ -100,6 +99,6 @@ _inherits(FabAction, _Component); | ||
}(_react.Component), _class.propTypes = { | ||
active: bool, | ||
children: node, | ||
className: string, | ||
tooltip: string | ||
active: _propTypes.bool, | ||
children: _propTypes.node, | ||
className: _propTypes.string, | ||
tooltip: _propTypes.string | ||
}, _class.defaultProps = { | ||
@@ -106,0 +105,0 @@ className: '' |
@@ -16,2 +16,4 @@ 'use strict'; | ||
var _propTypes = require('prop-types'); | ||
var _classnames = require('classnames'); | ||
@@ -29,4 +31,2 @@ | ||
var bool = _react.PropTypes.bool, | ||
node = _react.PropTypes.node; | ||
var FabActions = (_temp = _class = function (_Component) { | ||
@@ -74,5 +74,5 @@ _inherits(FabActions, _Component); | ||
}(_react.Component), _class.propTypes = { | ||
active: bool, | ||
children: node | ||
active: _propTypes.bool, | ||
children: _propTypes.node | ||
}, _temp); | ||
exports.default = FabActions; |
@@ -16,2 +16,4 @@ 'use strict'; | ||
var _propTypes = require('prop-types'); | ||
var _classnames = require('classnames'); | ||
@@ -29,5 +31,2 @@ | ||
var bool = _react.PropTypes.bool, | ||
func = _react.PropTypes.func, | ||
node = _react.PropTypes.node; | ||
var FabButton = (_temp = _class = function (_Component) { | ||
@@ -65,6 +64,6 @@ _inherits(FabButton, _Component); | ||
}(_react.Component), _class.propTypes = { | ||
active: bool, | ||
children: node, | ||
onClick: func | ||
active: _propTypes.bool, | ||
children: _propTypes.node, | ||
onClick: _propTypes.func | ||
}, _temp); | ||
exports.default = FabButton; |
{ | ||
"name": "react-fab", | ||
"version": "1.0.0", | ||
"version": "1.1.0", | ||
"description": "Floating Action Buttons for React", | ||
"main": "dist/index.js", | ||
"files": ["dist"], | ||
"scripts": { | ||
@@ -15,6 +16,7 @@ "clean": "rm -rf ./dist", | ||
"test:watch": "nodemon --watch src --exec 'npm run test'", | ||
"lint": "gulp lint" | ||
"lint": "gulp lint", | ||
"release": "yarn run clean; yarn run test; yarn run build; yarn run docs" | ||
}, | ||
"repository": { | ||
"url": "git+https://github.com/MemosaApp/package-template.git", | ||
"url": "git+https://github.com/nerp-tech/react-fab.git", | ||
"type": "git" | ||
@@ -26,5 +28,5 @@ }, | ||
"bugs": { | ||
"url": "https://github.com/MemosaApp/package-template/issues" | ||
"url": "https://github.com/nerp-tech/react-fab/issues" | ||
}, | ||
"homepage": "https://github.com/MemosaApp/package-template#readme", | ||
"homepage": "https://github.com/nerp-tech/react-fab#readme", | ||
"devDependencies": { | ||
@@ -39,3 +41,2 @@ "babel-cli": "^6.18.0", | ||
"chai-as-promised": "^6.0.0", | ||
"classnames": "^2.2.5", | ||
"enzyme": "^2.7.0", | ||
@@ -62,4 +63,4 @@ "eslint": "^3.12.2", | ||
"react": "^15.4.1", | ||
"react-dom": "^15.4.1", | ||
"react-addons-test-utils": "^15.4.1", | ||
"react-dom": "^15.4.1", | ||
"sinon": "^1.17.6", | ||
@@ -69,4 +70,9 @@ "sinon-chai": "^2.8.0" | ||
"peerDependencies": { | ||
"react": "^15.4.1" | ||
"react": "^15.4.1", | ||
"react-dom": "^15.4.1" | ||
}, | ||
"dependencies": { | ||
"classnames": "^2.2.5", | ||
"prop-types": "^15.6.1" | ||
} | ||
} |
# react-fab | ||
[![CircleCI](https://circleci.com/gh/MemosaApp/react-fab.svg?style=svg)](https://circleci.com/gh/MemosaApp/react-fab) [![npm version](https://badge.fury.io/js/react-fab.svg)](https://badge.fury.io/js/react-fab) | ||
[![CircleCI](https://circleci.com/gh/nerp-tech/react-fab.svg?style=svg)](https://circleci.com/gh/nerp-tech/react-fab) [![npm version](https://badge.fury.io/js/react-fab.svg)](https://badge.fury.io/js/react-fab) | ||
@@ -11,2 +11,5 @@ Floating Action Buttons for React | ||
yarn add react-fab | ||
# Dependencies: | ||
yarn add prop-types classnames react react-dom | ||
``` | ||
@@ -50,2 +53,4 @@ | ||
$fab-button: #FFDD6B !default; | ||
$fab-dark: #111 !default; | ||
$fab-light: #fff !default; | ||
$fab-text: #4a4943 !default; | ||
@@ -52,0 +57,0 @@ $fab-z-index: 998 !default; |
Sorry, the diff of this file is not supported yet
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
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
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
33
59
0
22326
4
9
287
1
+ Addedclassnames@^2.2.5
+ Addedprop-types@^15.6.1
+ Addedclassnames@2.5.1(transitive)
+ Addedreact-dom@15.7.0(transitive)