🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more →

@spectrum-web-components/shared

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@spectrum-web-components/shared - npm Package Compare versions

Comparing version

to
1.6.0

{
"name": "@spectrum-web-components/shared",
"version": "1.6.0-beta.0",
"version": "1.6.0",
"publishConfig": {

@@ -104,3 +104,3 @@ "access": "public"

"@lit-labs/observers": "^2.0.2",
"@spectrum-web-components/base": "1.6.0-beta.0",
"@spectrum-web-components/base": "1.6.0",
"focus-visible": "^5.1.0"

@@ -107,0 +107,0 @@ },

"use strict";
const focusables = [
"button",
"[focusable]",
"[href]",
"input",
"label",
"select",
"textarea",
"[tabindex]"
"input:not([inert])",
"select:not([inert])",
"textarea:not([inert])",
"a[href]:not([inert])",
"button:not([inert])",
"label:not([inert])",
"[tabindex]:not([inert])",
"audio[controls]:not([inert])",
"video[controls]:not([inert])",
'[contenteditable]:not([contenteditable="false"]):not([inert])',
"details>summary:first-of-type:not([inert])",
"details:not([inert])",
"[focusable]"
// custom dev use-case
];

@@ -12,0 +18,0 @@ const userFocuable = ':not([tabindex="-1"])';

@@ -1,2 +0,2 @@

"use strict";const e=["button","[focusable]","[href]","input","label","select","textarea","[tabindex]"],o=':not([tabindex="-1"])';export const userFocusableSelector=e.join(`${o}, `)+o,focusableSelector=e.join(", ");
"use strict";const t=["input:not([inert])","select:not([inert])","textarea:not([inert])","a[href]:not([inert])","button:not([inert])","label:not([inert])","[tabindex]:not([inert])","audio[controls]:not([inert])","video[controls]:not([inert])",'[contenteditable]:not([contenteditable="false"]):not([inert])',"details>summary:first-of-type:not([inert])","details:not([inert])","[focusable]"],e=':not([tabindex="-1"])';export const userFocusableSelector=t.join(`${e}, `)+e,focusableSelector=t.join(", ");
//# sourceMappingURL=focusable-selectors.js.map

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet