@data-ui/shared
Advanced tools
Comparing version 0.0.47 to 0.0.48
@@ -112,4 +112,4 @@ 'use strict'; | ||
this.props.showTooltip({ | ||
tooltipLeft: coords.x + 10, | ||
tooltipTop: coords.y + 10, | ||
tooltipLeft: coords.x, | ||
tooltipTop: coords.y, | ||
tooltipData: _extends({ | ||
@@ -154,2 +154,4 @@ event: event, | ||
var tooltipContent = renderTooltip && tooltipOpen && TooltipComponent && renderTooltip(tooltipData); | ||
return _react2.default.createElement( | ||
@@ -159,3 +161,3 @@ 'div', | ||
typeof children === 'function' ? children(childProps) : _react2.default.cloneElement(_react2.default.Children.only(children), childProps), | ||
tooltipOpen && TooltipComponent && renderTooltip && _react2.default.createElement( | ||
Boolean(tooltipContent) && _react2.default.createElement( | ||
TooltipComponent, | ||
@@ -167,3 +169,3 @@ { | ||
}, | ||
renderTooltip(tooltipData) | ||
tooltipContent | ||
), | ||
@@ -170,0 +172,0 @@ HoverStyles && _react2.default.createElement(HoverStyles, null) |
{ | ||
"name": "@data-ui/shared", | ||
"version": "0.0.47", | ||
"version": "0.0.48", | ||
"description": "Shared @data-ui components used across multiple packages", | ||
@@ -50,7 +50,7 @@ "main": "build/index.js", | ||
"dependencies": { | ||
"@data-ui/theme": "0.0.47", | ||
"@data-ui/theme": "0.0.48", | ||
"@vx/event": "0.0.143", | ||
"@vx/group": "0.0.143", | ||
"@vx/shape": "0.0.145", | ||
"@vx/tooltip": "0.0.143", | ||
"@vx/tooltip": "0.0.147", | ||
"d3-array": "^1.2.1", | ||
@@ -57,0 +57,0 @@ "prop-types": "^15.5.10" |
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
14747
287
+ Added@data-ui/theme@0.0.48(transitive)
+ Added@vx/bounds@0.0.147(transitive)
+ Added@vx/tooltip@0.0.147(transitive)
- Removed@data-ui/theme@0.0.47(transitive)
- Removed@vx/bounds@0.0.143(transitive)
- Removed@vx/tooltip@0.0.143(transitive)
Updated@data-ui/theme@0.0.48
Updated@vx/tooltip@0.0.147