react-emojione-menu
Advanced tools
Comparing version 1.1.1 to 1.1.2
@@ -57,25 +57,29 @@ 'use strict'; | ||
_react2.default.createElement( | ||
'div', | ||
{ | ||
className: tone === 'tone0' ? 'modifier active' : 'modifier', | ||
onClick: function onClick() { | ||
return changeTone('tone0'); | ||
} | ||
}, | ||
'section', | ||
{ className: 'modifiers-container' }, | ||
_react2.default.createElement( | ||
'svg', | ||
{ width: '50px', height: '50px', viewBox: '0 0 50 50', className: 'emojione' }, | ||
_react2.default.createElement('circle', { id: 'circle', fill: '#FFDD67', cx: '25', cy: '25', r: '25' }) | ||
) | ||
'div', | ||
{ | ||
className: tone === 'tone0' ? 'modifier active' : 'modifier', | ||
onClick: function onClick() { | ||
return changeTone('tone0'); | ||
} | ||
}, | ||
_react2.default.createElement( | ||
'svg', | ||
{ width: '50px', height: '50px', viewBox: '0 0 50 50', className: 'emojione' }, | ||
_react2.default.createElement('circle', { id: 'circle', fill: '#FFDD67', cx: '25', cy: '25', r: '25' }) | ||
) | ||
), | ||
_underscore2.default.map(modifiers, function (modifier) { | ||
return _react2.default.createElement('div', { | ||
className: modifier.title === tone ? 'modifier active' : 'modifier', | ||
dangerouslySetInnerHTML: (0, _createMarkup2.default)(modifier.shortname), | ||
key: 'emoji-' + modifier.shortname, | ||
onClick: function onClick() { | ||
return changeTone(modifier.title); | ||
} | ||
}); | ||
}) | ||
), | ||
_underscore2.default.map(modifiers, function (modifier) { | ||
return _react2.default.createElement('div', { | ||
className: modifier.title === tone ? 'modifier active' : 'modifier', | ||
dangerouslySetInnerHTML: (0, _createMarkup2.default)(modifier.shortname), | ||
key: 'emoji-' + modifier.shortname, | ||
onClick: function onClick() { | ||
return changeTone(modifier.title); | ||
} | ||
}); | ||
}), | ||
toggleButton | ||
@@ -82,0 +86,0 @@ ); |
{ | ||
"name": "react-emojione-menu", | ||
"version": "1.1.1", | ||
"version": "1.1.2", | ||
"description": "Emoji menu with React and emojione", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
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
315516
8429