New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@cloudflare/component-tooltip

Package Overview
Dependencies
Maintainers
28
Versions
551
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cloudflare/component-tooltip - npm Package Compare versions

Comparing version 2.7.127 to 2.7.128

9

es/Tooltip.js

@@ -104,3 +104,4 @@ import React from 'react';

isCapture = _this$props.isCapture,
display = _this$props.display;
display = _this$props.display,
ariaLabel = _this$props.ariaLabel;
const id = this.props.id ? this.props.id : this.id;

@@ -140,3 +141,4 @@ return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(ReactTooltip, {

onMouseOut: () => ReactTooltip.hide(this.tooltipElement),
"aria-controls": id
"aria-controls": id,
"aria-label": ariaLabel
}, children));

@@ -163,3 +165,4 @@ }

onClick: PropTypes.func,
display: PropTypes.string
display: PropTypes.string,
ariaLabel: PropTypes.string
};

@@ -166,0 +169,0 @@ Tooltip.defaultProps = {

@@ -18,4 +18,5 @@ import * as React from 'react';

onClick?: (...args: any[]) => void;
ariaLabel?: string;
}
export const Tooltip: React.FC<TooltipProps>;

@@ -159,3 +159,4 @@ "use strict";

isCapture = _this$props.isCapture,
display = _this$props.display;
display = _this$props.display,
ariaLabel = _this$props.ariaLabel;
var id = this.props.id ? this.props.id : this.id;

@@ -205,3 +206,4 @@ return /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement(_reactTooltip.default, {

},
"aria-controls": id
"aria-controls": id,
"aria-label": ariaLabel
}, children));

@@ -230,3 +232,4 @@ }

onClick: _propTypes.default.func,
display: _propTypes.default.string
display: _propTypes.default.string,
ariaLabel: _propTypes.default.string
};

@@ -233,0 +236,0 @@ Tooltip.defaultProps = {

{
"name": "@cloudflare/component-tooltip",
"description": "Cloudflare Tooltip Component",
"version": "2.7.127",
"version": "2.7.128",
"main": "lib/index.js",

@@ -34,3 +34,3 @@ "module": "es/index.js",

},
"gitHead": "698f4aeafa1c656214a4060be27aa6b194d82b10"
"gitHead": "a8c84ce9c72d72db671eaf6221497af6533e727f"
}

Sorry, the diff of this file is too big to display

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