Socket
Socket
Sign inDemoInstall

@spectrum-web-components/tooltip

Package Overview
Dependencies
25
Maintainers
7
Versions
236
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.41.2 to 0.42.0

test/benchmark/test-element.js

12

package.json
{
"name": "@spectrum-web-components/tooltip",
"version": "0.41.2",
"version": "0.42.0",
"publishConfig": {

@@ -64,8 +64,8 @@ "access": "public"

"dependencies": {
"@spectrum-web-components/base": "^0.41.2",
"@spectrum-web-components/overlay": "^0.41.2",
"@spectrum-web-components/shared": "^0.41.2"
"@spectrum-web-components/base": "^0.42.0",
"@spectrum-web-components/overlay": "^0.42.0",
"@spectrum-web-components/shared": "^0.42.0"
},
"devDependencies": {
"@spectrum-css/tooltip": "^5.3.3"
"@spectrum-css/tooltip": "^5.3.4"
},

@@ -78,3 +78,3 @@ "types": "./src/index.d.ts",

],
"gitHead": "78c3f16b08c9133c9e5ca88d0c9fef5ea7d2ab87"
"gitHead": "9b3bd55ff8e8f9438817255976e77fd456b19d72"
}

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

...options,
triggerInteraction: "hover",
overlayOptions: {

@@ -21,0 +22,0 @@ type: "hint",

@@ -5,3 +5,3 @@ "use strict";import{html as e}from"@spectrum-web-components/base";import{ifDefined as i}from"@spectrum-web-components/base/src/directives.js";import{trigger as a}from"@spectrum-web-components/overlay/src/overlay-trigger-directive.js";export const tooltip=function(t,r){return a(()=>(import("@spectrum-web-components/tooltip/sp-tooltip.js"),e`

</sp-tooltip>
`),{...r,overlayOptions:{type:"hint",...r==null?void 0:r.overlayOptions}})};
`),{...r,triggerInteraction:"hover",overlayOptions:{type:"hint",...r==null?void 0:r.overlayOptions}})};
//# sourceMappingURL=tooltip-directive.js.map

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

}
/* c8 ignore next 3 */
get open() {

@@ -157,3 +158,4 @@ return this._open;

}
let triggerElement = start.parentElement || root.host || root;
let triggerElement = start.parentElement || root.host || /* c8 ignore next 1 */
root;
while (!((_a = triggerElement == null ? void 0 : triggerElement.matches) == null ? void 0 : _a.call(triggerElement, focusableSelector))) {

@@ -175,3 +177,4 @@ start = triggerElement.assignedSlot || triggerElement;

}
triggerElement = start.parentElement || root.host || root;
triggerElement = start.parentElement || root.host || /* c8 ignore next 1 */
root;
}

@@ -178,0 +181,0 @@ return triggerElement;

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

export const Default = ({
open,
placement,

@@ -28,2 +29,3 @@ text,

{
open,
overlayOptions: { placement },

@@ -30,0 +32,0 @@ variant

"use strict";
import "@spectrum-web-components/tooltip/sp-tooltip.js";
import "@spectrum-web-components/action-button/sp-action-button.js";
import "@spectrum-web-components/overlay/sp-overlay.js";
import { html } from "lit";

@@ -6,0 +5,0 @@ import { measureFixtureCreation } from "../../../../test/benchmark/helpers.js";

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc