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

@trendmicro/react-buttons

Package Overview
Dependencies
Maintainers
2
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@trendmicro/react-buttons - npm Package Compare versions

Comparing version 1.2.1 to 1.3.0

112

lib/index.js

@@ -1,2 +0,2 @@

/*! react-buttons v1.2.1 | (c) 2017 Trend Micro Inc. | MIT | https://github.com/trendmicro-frontend/react-buttons */
/*! react-buttons v1.3.0 | (c) 2018 Trend Micro Inc. | MIT | https://github.com/trendmicro-frontend/react-buttons */
module.exports =

@@ -38,5 +38,2 @@ /******/ (function(modules) { // webpackBootstrap

/******/
/******/ // identity function for calling harmony imports with the correct context
/******/ __webpack_require__.i = function(value) { return value; };
/******/
/******/ // define getter function for harmony exports

@@ -69,3 +66,3 @@ /******/ __webpack_require__.d = function(exports, name, getter) {

/******/ // Load entry module and return exports
/******/ return __webpack_require__(__webpack_require__.s = 8);
/******/ return __webpack_require__(__webpack_require__.s = 6);
/******/ })

@@ -77,4 +74,3 @@ /************************************************************************/

// removed by extract-text-webpack-plugin
module.exports = {"btn":"buttons---btn---2jZHN","active":"buttons---active---2-a32","focus":"buttons---focus---1kVJZ","hover":"buttons---hover---42FF2","disabled":"buttons---disabled---eCY9b","btn-default":"buttons---btn-default---1wWXD","btnDefault":"buttons---btn-default---1wWXD","btn-primary":"buttons---btn-primary---Wp1wb","btnPrimary":"buttons---btn-primary---Wp1wb","btn-danger":"buttons---btn-danger---1UUqU","btnDanger":"buttons---btn-danger---1UUqU","btn-border":"buttons---btn-border---1O58b","btnBorder":"buttons---btn-border---1O58b","open":"buttons---open---1ju75","dropdown-toggle":"buttons---dropdown-toggle---vMtjL","dropdownToggle":"buttons---dropdown-toggle---vMtjL","btn-link":"buttons---btn-link---1xwS4","btnLink":"buttons---btn-link---1xwS4","btn-lg":"buttons---btn-lg---2xtUV","btnLg":"buttons---btn-lg---2xtUV","btn-group-lg":"buttons---btn-group-lg---3C8An","btnGroupLg":"buttons---btn-group-lg---3C8An","btn-compact":"buttons---btn-compact---mXDAU","btnCompact":"buttons---btn-compact---mXDAU","btn-md":"buttons---btn-md---HRR_F","btnMd":"buttons---btn-md---HRR_F","btn-group-md":"buttons---btn-group-md---3FQVP","btnGroupMd":"buttons---btn-group-md---3FQVP","btn-sm":"buttons---btn-sm---3cNnY","btnSm":"buttons---btn-sm---3cNnY","btn-group-sm":"buttons---btn-group-sm---3_QLf","btnGroupSm":"buttons---btn-group-sm---3_QLf","btn-xs":"buttons---btn-xs---2eEDQ","btnXs":"buttons---btn-xs---2eEDQ","btn-group-xs":"buttons---btn-group-xs---1c4pb","btnGroupXs":"buttons---btn-group-xs---1c4pb","btn-block":"buttons---btn-block---1nSNV","btnBlock":"buttons---btn-block---1nSNV","btn-group":"buttons---btn-group---1jaDo","btnGroup":"buttons---btn-group---1jaDo","btn-group-vertical":"buttons---btn-group-vertical---3Lm1e","btnGroupVertical":"buttons---btn-group-vertical---3Lm1e","btn-toolbar":"buttons---btn-toolbar---2-GfJ","btnToolbar":"buttons---btn-toolbar---2-GfJ","input-group":"buttons---input-group---1T18I","inputGroup":"buttons---input-group---1T18I","btn-group-justified":"buttons---btn-group-justified---3qB9u","btnGroupJustified":"buttons---btn-group-justified---3qB9u","dropdown-menu":"buttons---dropdown-menu---1fkH0","dropdownMenu":"buttons---dropdown-menu---1fkH0"};
module.exports = require("classnames");

@@ -85,3 +81,3 @@ /***/ }),

module.exports = require("classnames");
module.exports = require("react");

@@ -92,3 +88,4 @@ /***/ }),

module.exports = require("react");
// removed by extract-text-webpack-plugin
module.exports = {"btn":"buttons---btn---2jZHN","active":"buttons---active---2-a32","focus":"buttons---focus---1kVJZ","hover":"buttons---hover---42FF2","disabled":"buttons---disabled---eCY9b","btn-default":"buttons---btn-default---1wWXD","btnDefault":"buttons---btn-default---1wWXD","btn-primary":"buttons---btn-primary---Wp1wb","btnPrimary":"buttons---btn-primary---Wp1wb","btn-danger":"buttons---btn-danger---1UUqU","btnDanger":"buttons---btn-danger---1UUqU","btn-border":"buttons---btn-border---1O58b","btnBorder":"buttons---btn-border---1O58b","open":"buttons---open---1ju75","dropdown-toggle":"buttons---dropdown-toggle---vMtjL","dropdownToggle":"buttons---dropdown-toggle---vMtjL","btn-link":"buttons---btn-link---1xwS4","btnLink":"buttons---btn-link---1xwS4","btn-lg":"buttons---btn-lg---2xtUV","btnLg":"buttons---btn-lg---2xtUV","btn-group-lg":"buttons---btn-group-lg---3C8An","btnGroupLg":"buttons---btn-group-lg---3C8An","btn-compact":"buttons---btn-compact---mXDAU","btnCompact":"buttons---btn-compact---mXDAU","btn-md":"buttons---btn-md---HRR_F","btnMd":"buttons---btn-md---HRR_F","btn-group-md":"buttons---btn-group-md---3FQVP","btnGroupMd":"buttons---btn-group-md---3FQVP","btn-sm":"buttons---btn-sm---3cNnY","btnSm":"buttons---btn-sm---3cNnY","btn-group-sm":"buttons---btn-group-sm---3_QLf","btnGroupSm":"buttons---btn-group-sm---3_QLf","btn-xs":"buttons---btn-xs---2eEDQ","btnXs":"buttons---btn-xs---2eEDQ","btn-group-xs":"buttons---btn-group-xs---1c4pb","btnGroupXs":"buttons---btn-group-xs---1c4pb","btn-block":"buttons---btn-block---1nSNV","btnBlock":"buttons---btn-block---1nSNV","btn-group":"buttons---btn-group---1jaDo","btnGroup":"buttons---btn-group---1jaDo","btn-group-vertical":"buttons---btn-group-vertical---3Lm1e","btnGroupVertical":"buttons---btn-group-vertical---3Lm1e","btn-toolbar":"buttons---btn-toolbar---2-GfJ","btnToolbar":"buttons---btn-toolbar---2-GfJ","input-group":"buttons---input-group---1T18I","inputGroup":"buttons---input-group---1T18I","btn-group-justified":"buttons---btn-group-justified---3qB9u","btnGroupJustified":"buttons---btn-group-justified---3qB9u","dropdown-menu":"buttons---dropdown-menu---1fkH0","dropdownMenu":"buttons---dropdown-menu---1fkH0"};

@@ -112,17 +109,17 @@ /***/ }),

var _classnames = __webpack_require__(1);
var _classnames = __webpack_require__(0);
var _classnames2 = _interopRequireDefault(_classnames);
var _propTypes = __webpack_require__(5);
var _propTypes = __webpack_require__(4);
var _propTypes2 = _interopRequireDefault(_propTypes);
var _react = __webpack_require__(2);
var _react = __webpack_require__(1);
var _react2 = _interopRequireDefault(_react);
var _constants = __webpack_require__(4);
var _constants = __webpack_require__(5);
var _index = __webpack_require__(0);
var _index = __webpack_require__(2);

@@ -218,2 +215,8 @@ var _index2 = _interopRequireDefault(_index);

/* 4 */
/***/ (function(module, exports) {
module.exports = require("prop-types");
/***/ }),
/* 5 */
/***/ (function(module, exports, __webpack_require__) {

@@ -234,9 +237,33 @@

/***/ }),
/* 5 */
/***/ (function(module, exports) {
/* 6 */
/***/ (function(module, exports, __webpack_require__) {
module.exports = require("prop-types");
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.ButtonToolbar = exports.ButtonGroup = exports.Button = undefined;
var _Button2 = __webpack_require__(3);
var _Button3 = _interopRequireDefault(_Button2);
var _ButtonGroup2 = __webpack_require__(7);
var _ButtonGroup3 = _interopRequireDefault(_ButtonGroup2);
var _ButtonToolbar2 = __webpack_require__(8);
var _ButtonToolbar3 = _interopRequireDefault(_ButtonToolbar2);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
exports.Button = _Button3.default;
exports.ButtonGroup = _ButtonGroup3.default;
exports.ButtonToolbar = _ButtonToolbar3.default;
/***/ }),
/* 6 */
/* 7 */
/***/ (function(module, exports, __webpack_require__) {

@@ -253,11 +280,11 @@

var _classnames = __webpack_require__(1);
var _classnames = __webpack_require__(0);
var _classnames2 = _interopRequireDefault(_classnames);
var _propTypes = __webpack_require__(5);
var _propTypes = __webpack_require__(4);
var _propTypes2 = _interopRequireDefault(_propTypes);
var _react = __webpack_require__(2);
var _react = __webpack_require__(1);

@@ -270,5 +297,5 @@ var _react2 = _interopRequireDefault(_react);

var _constants = __webpack_require__(4);
var _constants = __webpack_require__(5);
var _index = __webpack_require__(0);
var _index = __webpack_require__(2);

@@ -328,3 +355,2 @@ var _index2 = _interopRequireDefault(_index);

ButtonGroup.defaultProps = {
btnSize: 'md',
vertical: false,

@@ -337,3 +363,3 @@ dropdownOpen: false

/***/ }),
/* 7 */
/* 8 */
/***/ (function(module, exports, __webpack_require__) {

@@ -350,11 +376,11 @@

var _classnames = __webpack_require__(1);
var _classnames = __webpack_require__(0);
var _classnames2 = _interopRequireDefault(_classnames);
var _react = __webpack_require__(2);
var _react = __webpack_require__(1);
var _react2 = _interopRequireDefault(_react);
var _index = __webpack_require__(0);
var _index = __webpack_require__(2);

@@ -378,34 +404,4 @@ var _index2 = _interopRequireDefault(_index);

/***/ }),
/* 8 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.ButtonToolbar = exports.ButtonGroup = exports.Button = undefined;
var _Button2 = __webpack_require__(3);
var _Button3 = _interopRequireDefault(_Button2);
var _ButtonGroup2 = __webpack_require__(6);
var _ButtonGroup3 = _interopRequireDefault(_ButtonGroup2);
var _ButtonToolbar2 = __webpack_require__(7);
var _ButtonToolbar3 = _interopRequireDefault(_ButtonToolbar2);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
exports.Button = _Button3.default;
exports.ButtonGroup = _ButtonGroup3.default;
exports.ButtonToolbar = _ButtonToolbar3.default;
/***/ })
/******/ ]);
//# sourceMappingURL=index.js.map
{
"name": "@trendmicro/react-buttons",
"version": "1.2.1",
"version": "1.3.0",
"description": "Trend Micro Components: React Buttons",

@@ -61,7 +61,8 @@ "main": "lib/index.js",

"devDependencies": {
"@trendmicro/react-loader": "~0.5.2",
"babel-cli": "~6.24.1",
"babel-core": "~6.24.1",
"babel-eslint": "~7.2.2",
"babel-loader": "~6.4.1",
"@trendmicro/react-anchor": "~0.5.6",
"@trendmicro/react-loader": "~0.6.1",
"babel-cli": "~6.26.0",
"babel-core": "~6.26.0",
"babel-eslint": "~8.1.2",
"babel-loader": "~7.1.2",
"babel-plugin-transform-decorators-legacy": "~1.3.4",

@@ -71,31 +72,34 @@ "babel-preset-es2015": "~6.24.1",

"babel-preset-stage-0": "~6.24.1",
"clean-css": "~4.0.3",
"clean-css-cli": "~4.0.0",
"coveralls": "~2.13.0",
"clean-css": "~4.1.9",
"clean-css-cli": "~4.1.10",
"coveralls": "~3.0.0",
"css-loader": "~0.28.0",
"eslint": "~3.19.0",
"eslint-config-trendmicro": "~0.5.1",
"eslint-loader": "~1.7.1",
"eslint-plugin-import": "~2.2.0",
"eslint-plugin-jsx-a11y": "~2.2.3",
"eslint-plugin-react": "~6.10.0",
"extract-text-webpack-plugin": "^2.0.0-rc.3",
"file-loader": "~0.11.1",
"enzyme": "~3.3.0",
"enzyme-adapter-react-16": "~1.1.1",
"eslint": "~4.14.0",
"eslint-config-trendmicro": "~1.3.0",
"eslint-loader": "~1.9.0",
"eslint-plugin-import": "~2.8.0",
"eslint-plugin-jsx-a11y": "~6.0.3",
"eslint-plugin-react": "~7.5.1",
"extract-text-webpack-plugin": "~3.0.2",
"file-loader": "~1.1.6",
"find-imports": "~0.5.1",
"html-webpack-plugin": "~2.28.0",
"http-server": "~0.9.0",
"html-webpack-plugin": "~2.30.1",
"http-server": "~0.10.0",
"jsdom": "~11.5.1",
"nib": "~1.1.2",
"react": "^0.14.0 || >=15.0.0",
"react-dom": "^0.14.0 || >=15.0.0",
"style-loader": "~0.16.1",
"style-loader": "~0.19.1",
"stylint": "~1.5.9",
"stylint-loader": "~1.0.0",
"stylus-loader": "~3.0.1",
"tap": "~10.3.2",
"trendmicro-ui": "~0.4.0",
"url-loader": "~0.5.7",
"webpack": "~2.4.1",
"webpack-dev-server": "~2.4.2",
"which": "~1.2.12"
"tap": "~11.0.1",
"trendmicro-ui": "~0.5.1",
"url-loader": "~0.6.2",
"webpack": "~3.10.0",
"webpack-dev-server": "~2.9.7",
"which": "~1.3.0"
}
}

@@ -208,4 +208,36 @@ # react-buttons [![build status](https://travis-ci.org/trendmicro-frontend/react-buttons.svg?branch=master)](https://travis-ci.org/trendmicro-frontend/react-buttons) [![Coverage Status](https://coveralls.io/repos/github/trendmicro-frontend/react-buttons/badge.svg?branch=master)](https://coveralls.io/github/trendmicro-frontend/react-buttons?branch=master)

## API
### Properties
#### Button
Name | Type | Default | Description
:--- | :--- | :------ | :----------
componentClass | Function or String | 'button' |
type | One of:<br/>'button'<br/>'reset'<br/>'submit' | 'button' |
btnSize | One of:<br/>'lg'<br/>'md'<br/>'sm'<br/>'xs'<br/>'large'<br/>'medium'<br/>'small'<br/>'extra-small' | 'md' |
btnStyle | One of:<br/>'default'<br/>'primary'<br/>'danger'<br/>'emphasis'<br/>'border'<br/>'flat'<br/>'link'<br/> | 'default' |
active | Boolean | false |
hover | Boolean | false |
focus | Boolean | flase |
disabled | Boolean | flase |
block | Boolean | false |
compact | Boolean | false |
#### ButtonGroup
Name | Type | Default | Description
:--- | :--- | :------ | :----------
btnSize | One of:<br/>'lg'<br/>'md'<br/>'sm'<br/>'xs'<br/>'large'<br/>'medium'<br/>'small'<br/>'extra-small' | |
btnStyle | One of:<br/>'default'<br/>'primary'<br/>'danger'<br/>'emphasis'<br/>'border'<br/>'flat'<br/>'link'<br/> | |
vertical | Boolean | false |
#### ButtonToolbar
Name | Type | Default | Description
:--- | :--- | :------ | :----------
## License
MIT

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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