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

react-fab

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-fab - npm Package Compare versions

Comparing version 1.0.0 to 1.1.0

5

dist/components/Fab.js

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

13

dist/components/FabAction.js

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

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