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

@lion/tooltip

Package Overview
Dependencies
Maintainers
1
Versions
200
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@lion/tooltip - npm Package Compare versions

Comparing version 0.8.8 to 0.8.9

11

CHANGELOG.md

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

## [0.8.9](https://github.com/ing-bank/lion/compare/@lion/tooltip@0.8.8...@lion/tooltip@0.8.9) (2020-04-02)
### Bug Fixes
* **tooltip:** support reconnecting tooltip arrow inside other overlays ([78a8554](https://github.com/ing-bank/lion/commit/78a8554019de6c91cae7c0d8e3fd2caa3c2209d1))
## [0.8.8](https://github.com/ing-bank/lion/compare/@lion/tooltip@0.8.7...@lion/tooltip@0.8.8) (2020-03-26)

@@ -8,0 +19,0 @@

12

package.json
{
"name": "@lion/tooltip",
"version": "0.8.8",
"version": "0.8.9",
"description": "Show relative overlay content on hover",

@@ -37,10 +37,6 @@ "author": "ing-bank",

"dependencies": {
"@lion/core": "0.5.0",
"@lion/overlays": "0.12.8"
"@lion/core": "0.5.1",
"@lion/overlays": "0.12.9"
},
"devDependencies": {
"@open-wc/demoing-storybook": "^1.10.4",
"@open-wc/testing": "^2.5.0"
},
"gitHead": "04df0d70541c23efd38da3dba5b9f98b714da0f2"
"gitHead": "b58aa65377d5e7a0cd4d87917980291c832e7120"
}

@@ -15,10 +15,7 @@ import { html, LitElement } from '@lion/core';

this._overlayContentNode.setAttribute('role', 'tooltip');
// Schedule setting up the arrow element so that it works both on firstUpdated
// and when the tooltip is moved in the DOM (disconnected + reconnected)
this.updateComplete.then(() => this.__setupArrowElement());
}
firstUpdated(...args) {
super.firstUpdated(...args);
this.__setupArrowElement();
}
render() {

@@ -34,3 +31,3 @@ return html`

__setupArrowElement() {
this.__arrowElement = this.querySelector('[slot=arrow]');
this.__arrowElement = Array.from(this.children).find(child => child.slot === 'arrow');
if (!this.__arrowElement) {

@@ -37,0 +34,0 @@ return;

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