rc-tooltip
Advanced tools
Comparing version 5.3.0 to 5.3.1
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": [ |
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
0
50448
914