@draft-js-plugins/static-toolbar
Advanced tools
Comparing version 4.1.2 to 4.1.3
@@ -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": { |
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
14770
10
+ Addedreact@18.3.1(transitive)
+ Addedreact-dom@18.3.1(transitive)
+ Addedscheduler@0.23.2(transitive)
- Removedreact@17.0.2(transitive)
- Removedreact-dom@17.0.2(transitive)
- Removedscheduler@0.20.2(transitive)
Updatedprop-types@^15.8.1