Socket
Socket
Sign inDemoInstall

@spectrum-web-components/shared

Package Overview
Dependencies
Maintainers
8
Versions
206
Alerts
File Explorer

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 0.32.0 to 0.32.1-overlay.33

6

package.json
{
"name": "@spectrum-web-components/shared",
"version": "0.32.0",
"version": "0.32.1-overlay.33+8b9227d00",
"publishConfig": {

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

"@lit-labs/observers": "^2.0.0",
"@spectrum-web-components/base": "^0.32.0",
"@spectrum-web-components/base": "^0.32.1-overlay.33+8b9227d00",
"focus-visible": "^5.1.0"

@@ -101,3 +101,3 @@ },

],
"gitHead": "c5f67662ac54d0e37debaf7cbd7c2df60e8b294e"
"gitHead": "8b9227d00900eacee1c6d194064f10062f27ab3e"
}
import type { SpectrumElement } from '@spectrum-web-components/base';
export declare const firstFocusableIn: (root: HTMLElement | ShadowRoot) => SpectrumElement | null;
export declare const firstFocusableSlottedIn: (root: HTMLSlotElement) => SpectrumElement | null;

@@ -9,2 +9,8 @@ "use strict";

};
export const firstFocusableSlottedIn = (root) => {
const firstFocusable = root.assignedElements().find(
(element) => element.matches(firstFocusableSelector)
);
return firstFocusable;
};
//# sourceMappingURL=first-focusable-in.dev.js.map

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

"use strict";const e='button:not([tabindex="-1"]), [href]:not([tabindex="-1"]), input:not([tabindex="-1"]), select:not([tabindex="-1"]), textarea:not([tabindex="-1"]), [tabindex]:not([tabindex="-1"]), [focusable]:not([tabindex="-1"])';export const firstFocusableIn=t=>t.querySelector(e);
"use strict";const e='button:not([tabindex="-1"]), [href]:not([tabindex="-1"]), input:not([tabindex="-1"]), select:not([tabindex="-1"]), textarea:not([tabindex="-1"]), [tabindex]:not([tabindex="-1"]), [focusable]:not([tabindex="-1"])';export const firstFocusableIn=t=>t.querySelector(e),firstFocusableSlottedIn=t=>t.assignedElements().find(o=>o.matches(e));
//# sourceMappingURL=first-focusable-in.js.map

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc