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

rc-tooltip

Package Overview
Dependencies
Maintainers
8
Versions
95
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rc-tooltip - npm Package Compare versions

Comparing version 5.3.0 to 5.3.1

4

es/Tooltip.js
import _extends from "@babel/runtime/helpers/esm/extends";
import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
import _typeof from "@babel/runtime/helpers/esm/typeof";

@@ -12,3 +11,2 @@ import _objectSpread from "@babel/runtime/helpers/esm/objectSpread2";

import Popup from './Popup';
import classNames from 'classnames';
var Tooltip = function Tooltip(props, ref) {

@@ -74,3 +72,3 @@ var overlayClassName = props.overlayClassName,

return /*#__PURE__*/React.createElement(Trigger, _extends({
popupClassName: classNames(overlayClassName, _defineProperty({}, "".concat(prefixCls, "-show-arrow"), showArrow)),
popupClassName: overlayClassName,
prefixCls: prefixCls,

@@ -77,0 +75,0 @@ popup: getPopupElement,

@@ -10,3 +10,2 @@ "use strict";

var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
var _typeof2 = _interopRequireDefault(require("@babel/runtime/helpers/typeof"));

@@ -19,3 +18,2 @@ var _objectSpread2 = _interopRequireDefault(require("@babel/runtime/helpers/objectSpread2"));

var _Popup = _interopRequireDefault(require("./Popup"));
var _classnames = _interopRequireDefault(require("classnames"));
var _excluded = ["overlayClassName", "trigger", "mouseEnterDelay", "mouseLeaveDelay", "overlayStyle", "prefixCls", "children", "onVisibleChange", "afterVisibleChange", "transitionName", "animation", "motion", "placement", "align", "destroyTooltipOnHide", "defaultVisible", "getTooltipContainer", "overlayInnerStyle", "arrowContent", "overlay", "id", "showArrow"];

@@ -84,3 +82,3 @@ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }

return /*#__PURE__*/React.createElement(_rcTrigger.default, (0, _extends2.default)({
popupClassName: (0, _classnames.default)(overlayClassName, (0, _defineProperty2.default)({}, "".concat(prefixCls, "-show-arrow"), showArrow)),
popupClassName: overlayClassName,
prefixCls: prefixCls,

@@ -87,0 +85,0 @@ popup: getPopupElement,

{
"name": "rc-tooltip",
"version": "5.3.0",
"version": "5.3.1",
"description": "React Tooltip",

@@ -5,0 +5,0 @@ "keywords": [

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