react-json-tree
Advanced tools
Comparing version 0.8.1 to 0.8.2
@@ -67,13 +67,18 @@ 'use strict'; | ||
value: { | ||
paddingTop: 3, | ||
paddingBottom: 3, | ||
paddingRight: 0, | ||
marginLeft: 14, | ||
WebkitUserSelect: 'text', | ||
MozUserSelect: 'text', | ||
wordWrap: 'break-word', | ||
paddingLeft: 34, | ||
textIndent: -7, | ||
wordBreak: 'break-all' | ||
value: function value(_ref, nodeType, keyPath) { | ||
var style = _ref.style; | ||
return { | ||
style: (0, _extends3['default'])({}, style, { | ||
paddingTop: 3, | ||
paddingBottom: 3, | ||
paddingRight: 0, | ||
marginLeft: 14, | ||
WebkitUserSelect: 'text', | ||
MozUserSelect: 'text', | ||
wordWrap: 'break-word', | ||
paddingLeft: keyPath.length > 1 ? 34 : 20, | ||
textIndent: -7, | ||
wordBreak: 'break-all' | ||
}) | ||
}; | ||
}, | ||
@@ -90,4 +95,4 @@ | ||
valueText: function valueText(_ref, nodeType) { | ||
var style = _ref.style; | ||
valueText: function valueText(_ref2, nodeType) { | ||
var style = _ref2.style; | ||
return { | ||
@@ -106,4 +111,4 @@ style: (0, _extends3['default'])({}, style, { | ||
arrow: function arrow(_ref2, nodeType, expanded) { | ||
var style = _ref2.style; | ||
arrow: function arrow(_ref3, nodeType, expanded) { | ||
var style = _ref3.style; | ||
return { | ||
@@ -126,4 +131,4 @@ style: (0, _extends3['default'])({}, style, { | ||
arrowContainer: function arrowContainer(_ref3, arrowStyle) { | ||
var style = _ref3.style; | ||
arrowContainer: function arrowContainer(_ref4, arrowStyle) { | ||
var style = _ref4.style; | ||
return { | ||
@@ -155,4 +160,4 @@ style: (0, _extends3['default'])({}, style, { | ||
nestedNode: function nestedNode(_ref4, nodeType, expanded, keyPath) { | ||
var style = _ref4.style; | ||
nestedNode: function nestedNode(_ref5, nodeType, expanded, keyPath) { | ||
var style = _ref5.style; | ||
return { | ||
@@ -179,4 +184,4 @@ style: (0, _extends3['default'])({}, style, { | ||
nestedNodeItemString: function nestedNodeItemString(_ref5, nodeType, expanded) { | ||
var style = _ref5.style; | ||
nestedNodeItemString: function nestedNodeItemString(_ref6, nodeType, expanded) { | ||
var style = _ref6.style; | ||
return { | ||
@@ -195,4 +200,4 @@ style: (0, _extends3['default'])({}, style, { | ||
nestedNodeChildren: function nestedNodeChildren(_ref6, nodeType, expanded) { | ||
var style = _ref6.style; | ||
nestedNodeChildren: function nestedNodeChildren(_ref7, nodeType, expanded) { | ||
var style = _ref7.style; | ||
return { | ||
@@ -199,0 +204,0 @@ style: (0, _extends3['default'])({}, style, { |
{ | ||
"name": "react-json-tree", | ||
"version": "0.8.1", | ||
"version": "0.8.2", | ||
"description": "React JSON Viewer Component, Extracted from redux-devtools", | ||
@@ -5,0 +5,0 @@ "main": "lib/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
50675
975