draft-js-richbuttons-plugin
Advanced tools
Comparing version 2.0.0 to 2.1.0
@@ -15,2 +15,6 @@ 'use strict'; | ||
var _propTypes = require('prop-types'); | ||
var _propTypes2 = _interopRequireDefault(_propTypes); | ||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | ||
@@ -102,7 +106,7 @@ | ||
BlockButton.propTypes = { | ||
store: _react.PropTypes.object, | ||
bindToState: _react.PropTypes.func, | ||
label: _react.PropTypes.string, | ||
blockType: _react.PropTypes.string | ||
store: _propTypes2.default.object, | ||
bindToState: _propTypes2.default.func, | ||
label: _propTypes2.default.string, | ||
blockType: _propTypes2.default.string | ||
}; | ||
exports.default = BlockButton; |
@@ -84,3 +84,3 @@ 'use strict'; | ||
handleKeyCommand: function handleKeyCommand(command, _ref2) { | ||
handleKeyCommand: function handleKeyCommand(command, state, _ref2) { | ||
var getEditorState = _ref2.getEditorState, | ||
@@ -87,0 +87,0 @@ setEditorState = _ref2.setEditorState; |
@@ -15,2 +15,6 @@ 'use strict'; | ||
var _propTypes = require('prop-types'); | ||
var _propTypes2 = _interopRequireDefault(_propTypes); | ||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | ||
@@ -116,7 +120,7 @@ | ||
StyleButton.propTypes = { | ||
store: _react.PropTypes.object, | ||
bindToState: _react.PropTypes.func, | ||
label: _react.PropTypes.string, | ||
inlineStyle: _react.PropTypes.string | ||
store: _propTypes2.default.object, | ||
bindToState: _propTypes2.default.func, | ||
label: _propTypes2.default.string, | ||
inlineStyle: _propTypes2.default.string | ||
}; | ||
exports.default = StyleButton; |
{ | ||
"name": "draft-js-richbuttons-plugin", | ||
"version": "2.0.0", | ||
"version": "2.1.0", | ||
"description": "Rich Editing Buttons Plugin for DraftJS Plugins Editor", | ||
@@ -25,5 +25,5 @@ "author": { | ||
"peerDependencies": { | ||
"draft-js-plugins-editor": "2.0.0-beta9", | ||
"react": "^15.0.0", | ||
"react-dom": "^15.0.0" | ||
"draft-js-plugins-editor": "2.0.0-rc2", | ||
"react": "^15.5.0", | ||
"react-dom": "^15.5.0" | ||
}, | ||
@@ -40,3 +40,3 @@ "scripts": { | ||
"decorate-component-with-props": "^1.0.2", | ||
"draft-js": "~0.9.1" | ||
"prop-types": "^15.5.10" | ||
}, | ||
@@ -50,11 +50,11 @@ "devDependencies": { | ||
"chai": "^3.5.0", | ||
"chai-enzyme": "^0.6.1", | ||
"chai-enzyme": "^0.7.1", | ||
"draft-js-plugins-editor": "2.0.0-beta9", | ||
"enzyme": "^2.6.0", | ||
"enzyme": "^2.9.0", | ||
"jsdom": "^9.8.3", | ||
"jsdom-global": "^2.1.0", | ||
"mocha": "^3.2.0", | ||
"react": "^15.4.1", | ||
"react-addons-test-utils": "^15.4.1", | ||
"react-dom": "^15.4.1", | ||
"react": "^15.5.0", | ||
"react-dom": "^15.5.0", | ||
"react-test-renderer": "^15.6.1", | ||
"rimraf": "^2.5.4", | ||
@@ -61,0 +61,0 @@ "sinon": "^1.17.6", |
# DraftJS RichButtons Plugin | ||
[![npm version](https://badge.fury.io/js/draft-js-richbuttons-plugin.svg)](http://badge.fury.io/js/draft-js-richbuttons-plugin) | ||
[![npm version](https://badge.fury.io/js/draft-js-richbuttons-plugin.svg)](http://badge.fury.io/js/draft-js-richbuttons-plugin) [![Build Status](https://travis-ci.org/jasonphillips/draft-js-richbuttons-plugin.svg?branch=master)](https://travis-ci.org/jasonphillips/draft-js-richbuttons-plugin) | ||
@@ -5,0 +5,0 @@ *This is a plugin for the `draft-js-plugins-editor`.* |
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
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
24738
10
393
+ Addedprop-types@^15.5.10
+ Addeddraft-js-plugins-editor@2.0.0-rc2(transitive)
- Removeddraft-js@~0.9.1
- Removeddraft-js@0.9.1(transitive)
- Removeddraft-js-plugins-editor@2.0.0-beta9(transitive)
- Removedimmutable@5.0.3(transitive)