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

@draft-js-plugins/static-toolbar

Package Overview
Dependencies
Maintainers
4
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@draft-js-plugins/static-toolbar - npm Package Compare versions

Comparing version 4.1.2 to 4.1.3

16

lib/index.cjs.js

@@ -76,3 +76,3 @@ 'use strict';

_this.renderDefaultButtons = function (externalProps) {
return /*#__PURE__*/React__default['default'].createElement("div", null, /*#__PURE__*/React__default['default'].createElement(buttons.ItalicButton, externalProps), /*#__PURE__*/React__default['default'].createElement(buttons.BoldButton, externalProps), /*#__PURE__*/React__default['default'].createElement(buttons.UnderlineButton, externalProps), /*#__PURE__*/React__default['default'].createElement(buttons.CodeButton, externalProps));
return /*#__PURE__*/React__default["default"].createElement("div", null, /*#__PURE__*/React__default["default"].createElement(buttons.ItalicButton, externalProps), /*#__PURE__*/React__default["default"].createElement(buttons.BoldButton, externalProps), /*#__PURE__*/React__default["default"].createElement(buttons.UnderlineButton, externalProps), /*#__PURE__*/React__default["default"].createElement(buttons.CodeButton, externalProps));
};

@@ -96,12 +96,12 @@

};
return /*#__PURE__*/React__default['default'].createElement("div", {
return /*#__PURE__*/React__default["default"].createElement("div", {
className: theme.toolbarStyles.toolbar
}, OverrideContent ? /*#__PURE__*/React__default['default'].createElement(OverrideContent, childrenProps) : (this.props.children || this.renderDefaultButtons)(childrenProps));
}, OverrideContent ? /*#__PURE__*/React__default["default"].createElement(OverrideContent, childrenProps) : (this.props.children || this.renderDefaultButtons)(childrenProps));
};
return Toolbar;
}(React__default['default'].Component);
}(React__default["default"].Component);
Toolbar.propTypes = {
children: PropTypes__default['default'].func
children: PropTypes__default["default"].func
};

@@ -113,3 +113,3 @@

className = _ref$className === void 0 ? separator : _ref$className;
return /*#__PURE__*/React__default['default'].createElement("div", {
return /*#__PURE__*/React__default["default"].createElement("div", {
className: className

@@ -143,3 +143,3 @@ });

var StaticToolbar = function StaticToolbar(props) {
return /*#__PURE__*/React__default['default'].createElement(Toolbar, _extends({}, props, {
return /*#__PURE__*/React__default["default"].createElement(Toolbar, _extends({}, props, {
store: store,

@@ -167,2 +167,2 @@ theme: theme

exports.Separator = Seperator;
exports['default'] = index;
exports["default"] = index;
{
"name": "@draft-js-plugins/static-toolbar",
"version": "4.1.2",
"version": "4.1.3",
"sideEffects": [

@@ -44,8 +44,8 @@ "*.css"

"@draft-js-plugins/utils": "^4.0.0",
"prop-types": "^15.5.8"
"prop-types": "^15.8.1"
},
"peerDependencies": {
"draft-js": "^0.10.1 || ^0.11.0",
"react": "^15.5.0 || ^16.0.0 || ^17.0.0",
"react-dom": "^15.5.0 || ^16.0.0 || ^17.0.0"
"react": "^16.8.0 || ^17.0.0 || ^18.0.0",
"react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0"
},

@@ -52,0 +52,0 @@ "publishConfig": {

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