🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

solid-dismiss

Package Overview
Dependencies
Maintainers
1
Versions
65
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

solid-dismiss - npm Package Compare versions

Comparing version

to
1.7.1

6

dist/source/index.jsx

@@ -88,5 +88,5 @@ import { isServer } from "solid-js/web";

// TODO if it already has id, then update button with aria-controls value
if (!el.id) {
el.id = state.uniqueId;
}
// if (!el.id) {
// el.id = state.uniqueId;
// }
el.style.pointerEvents = "all";

@@ -93,0 +93,0 @@ el.setAttribute("role", "dialog");

@@ -259,3 +259,3 @@ import { dismissStack } from "../global/dismissStack";

state.menuBtnEls.forEach((menuBtnEl, _, self) => {
addAriaLabels(state, menuBtnEl);
// addAriaLabels(state, menuBtnEl);
// menuBtnEl.removeAttribute("type");

@@ -262,0 +262,0 @@ // menuBtnEl.setAttribute("role", 'div');

{
"name": "solid-dismiss",
"version": "1.7.0",
"version": "1.7.1",
"homepage": "https://aquaductape.github.io/solid-dismiss/",

@@ -5,0 +5,0 @@ "description": "Handles \"click outside\" behavior for popup menu. Closing is triggered by click/focus outside of popup element or pressing \"Escape\" key.",

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet