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

@clayui/tooltip

Package Overview
Dependencies
Maintainers
17
Versions
98
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@clayui/tooltip - npm Package Compare versions

Comparing version 3.32.0 to 3.35.0

6

CHANGELOG.md

@@ -6,2 +6,8 @@ # Change Log

# [3.35.0](https://github.com/liferay/clay/compare/v3.34.0...v3.35.0) (2021-08-30)
### Features
- **@clayui/tooltip:** replaces direct use of dom-align with doAlign with RTL support ([2afa54c](https://github.com/liferay/clay/commit/2afa54c))
# [3.32.0](https://github.com/liferay/clay/compare/v3.31.0...v3.32.0) (2021-07-28)

@@ -8,0 +14,0 @@

12

lib/TooltipProvider.js

@@ -12,4 +12,2 @@ "use strict";

var _domAlign = _interopRequireDefault(require("dom-align"));
var _react = _interopRequireWildcard(require("react"));

@@ -21,2 +19,4 @@

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
function _getRequireWildcardCache() { if (typeof WeakMap !== "function") return null; var cache = new WeakMap(); _getRequireWildcardCache = function _getRequireWildcardCache() { return cache; }; return cache; }

@@ -26,4 +26,2 @@

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }

@@ -282,3 +280,3 @@

var points = ALIGNMENTS_MAP[align || 'top'];
var newAlignmentString = (0, _domAlign.default)(tooltipRef.current, titleNodeRef.current, {
var newAlignmentString = (0, _shared.doAlign)({
overflow: {

@@ -288,3 +286,5 @@ adjustX: autoAlign,

},
points: points
points: points,
sourceElement: tooltipRef.current,
targetElement: titleNodeRef.current
}).points.join('');

@@ -291,0 +291,0 @@ var pointsString = points.join('');

{
"name": "@clayui/tooltip",
"version": "3.32.0",
"version": "3.35.0",
"description": "ClayTooltip component",

@@ -29,5 +29,4 @@ "license": "BSD-3-Clause",

"dependencies": {
"@clayui/shared": "^3.32.0",
"@clayui/shared": "^3.35.0",
"classnames": "^2.2.6",
"dom-align": "^1.10.2",
"warning": "^4.0.3"

@@ -43,3 +42,3 @@ },

],
"gitHead": "b3d1b171cc411bc8325f15a96f84e0458b9e94f0"
"gitHead": "affbbdaef528353c6fed80e077bc55d35d5e59bd"
}

Sorry, the diff of this file is not supported yet

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