Socket
Socket
Sign inDemoInstall

@spectrum-web-components/shared

Package Overview
Dependencies
Maintainers
6
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.34.0 to 0.34.1-rc.0

6

package.json
{
"name": "@spectrum-web-components/shared",
"version": "0.34.0",
"version": "0.34.1-rc.0+1647bfed5",
"publishConfig": {

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

"@lit-labs/observers": "^2.0.0",
"@spectrum-web-components/base": "^0.34.0",
"@spectrum-web-components/base": "^0.34.1-rc.0+1647bfed5",
"focus-visible": "^5.1.0"

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

],
"gitHead": "f9b3294d67cdd52b2c36897cdc1c20ceaeb019cf"
"gitHead": "1647bfed54cb29f3513343cd0d2c2d9e73e1c508"
}
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