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

@vx/tooltip

Package Overview
Dependencies
Maintainers
1
Versions
34
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vx/tooltip - npm Package Compare versions

Comparing version 0.0.158 to 0.0.160

7

build/tooltips/TooltipWithBounds.js

@@ -26,2 +26,4 @@ 'use strict';

function _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }
var propTypes = _extends({}, _bounds.withBoundingRectsProps, _Tooltip2.default.propTypes, {

@@ -44,3 +46,4 @@ offsetLeft: _propTypes2.default.number,

children = _ref.children,
style = _ref.style;
style = _ref.style,
otherProps = _objectWithoutProperties(_ref, ['left', 'top', 'offsetLeft', 'offsetTop', 'rect', 'parentRect', 'children', 'style']);

@@ -58,3 +61,3 @@ var left = initialLeft;

_Tooltip2.default,
{ style: _extends({ top: 0, transform: 'translate(' + left + 'px, ' + top + 'px)' }, style) },
_extends({ style: _extends({ top: 0, transform: 'translate(' + left + 'px, ' + top + 'px)' }, style) }, otherProps),
children

@@ -61,0 +64,0 @@ );

{
"name": "@vx/tooltip",
"version": "0.0.158",
"version": "0.0.160",
"description": "vx tooltip",

@@ -5,0 +5,0 @@ "sideEffects": false,

@@ -26,2 +26,3 @@ /* eslint react/forbid-prop-types: 0 */

style,
...otherProps,
}) {

@@ -40,3 +41,3 @@ let left = initialLeft;

return (
<Tooltip style={{ top: 0, transform: `translate(${left}px, ${top}px)`, ...style }}>
<Tooltip style={{ top: 0, transform: `translate(${left}px, ${top}px)`, ...style }} {...otherProps}>
{children}

@@ -43,0 +44,0 @@ </Tooltip>

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