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.1-overlay.41 to 0.33.0

6

package.json
{
"name": "@spectrum-web-components/shared",
"version": "0.32.1-overlay.41+ea2752a5d",
"version": "0.33.0",
"publishConfig": {

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

"@lit-labs/observers": "^2.0.0",
"@spectrum-web-components/base": "^0.32.1-overlay.41+ea2752a5d",
"@spectrum-web-components/base": "^0.33.0",
"focus-visible": "^5.1.0"

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

],
"gitHead": "ea2752a5dab7c3fc9f9d68148e74af23c63e2cfd"
"gitHead": "0f46cf0508f39ec42ce8c52b1e6f0055bacb4f00"
}
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,8 +9,2 @@ "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),firstFocusableSlottedIn=t=>t.assignedElements().find(o=>o.matches(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);
//# 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