Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@spectrum-web-components/shared

Package Overview
Dependencies
Maintainers
7
Versions
269
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.12.10-lit-next.0 to 0.12.10

src/first-focusable-in.d.ts

6

package.json
{
"name": "@spectrum-web-components/shared",
"version": "0.12.10-lit-next.0+aad74d6ac",
"version": "0.12.10",
"publishConfig": {

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

"dependencies": {
"@spectrum-web-components/base": "^0.4.6-lit-next.184+aad74d6ac",
"@spectrum-web-components/base": "^0.4.5",
"focus-visible": "^5.1.0",

@@ -53,3 +53,3 @@ "tslib": "^2.0.0"

"sideEffects": false,
"gitHead": "aad74d6ac41d8450aee82d73aaf58ab949b72a00"
"gitHead": "12d891f3dc85e8de641804d8efc9ca06b7fdee2d"
}

@@ -28,3 +28,3 @@ ## Description

The `Focusable` subclass of `LitElement` adds some helpers method and lifecycle coverage in order to support passing focus to a container element inside of a custom element. The Focusable base class handles tabindex setting into shadowed elements automatically and is based heavily on the aybolit delegate-focus-mixin at https://github.com/web-padawan/aybolit/blob/master/packages/core/src/mixins/delegate-focus-mixin.js
The `Focusable` subclass of `LitElement` adds some helpers method and lifecycle coverage in order to support passing focus to a container element inside of a custom element. The Focusable base class handles tabindex setting into shadowed elements automatically and is based heavily on the [aybolit delegate-focus-mixin](https://github.com/web-padawan/aybolit/blob/master/packages/core/src/mixins/delegate-focus-mixin.js).

@@ -31,0 +31,0 @@ ```javascript

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

export * from './first-focusable-in.js';
export * from './focus-visible.js';

@@ -2,0 +3,0 @@ export * from './focusable.js';

@@ -12,2 +12,3 @@ /*

*/
export * from './first-focusable-in.js';
export * from './focus-visible.js';

@@ -14,0 +15,0 @@ export * from './focusable.js';

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

import { ReactiveElement, TemplateResult } from '@spectrum-web-components/base';
import { UpdatingElement, TemplateResult } from '@spectrum-web-components/base';
declare type Constructor<T = Record<string, unknown>> = {

@@ -22,3 +22,3 @@ new (...args: any[]): T;

}
export declare function LikeAnchor<T extends Constructor<ReactiveElement>>(constructor: T): T & Constructor<LikeAnchorInterface>;
export declare function LikeAnchor<T extends Constructor<UpdatingElement>>(constructor: T): T & Constructor<LikeAnchorInterface>;
export {};

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

import { ReactiveElement } from '@spectrum-web-components/base';
import { UpdatingElement } from '@spectrum-web-components/base';
declare type Constructor<T = Record<string, unknown>> = {

@@ -11,3 +11,3 @@ new (...args: any[]): T;

}
export declare function ObserveSlotPresence<T extends Constructor<ReactiveElement>>(constructor: T, lightDomSelector: string | string[]): T & Constructor<SlotPresenceObservingInterface>;
export declare function ObserveSlotPresence<T extends Constructor<UpdatingElement>>(constructor: T, lightDomSelector: string | string[]): T & Constructor<SlotPresenceObservingInterface>;
export {};

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

import { ReactiveElement } from '@spectrum-web-components/base';
import { UpdatingElement } from '@spectrum-web-components/base';
declare type Constructor<T = Record<string, unknown>> = {

@@ -10,3 +10,3 @@ new (...args: any[]): T;

}
export declare function ObserveSlotText<T extends Constructor<ReactiveElement>>(constructor: T, slotSelector?: string): T & Constructor<SlotTextObservingInterface>;
export declare function ObserveSlotText<T extends Constructor<UpdatingElement>>(constructor: T, slotSelector?: string): T & Constructor<SlotTextObservingInterface>;
export {};

@@ -15,3 +15,2 @@ import { __decorate } from "tslib";

const slotElementObserver = Symbol('slotElementObserver');
// Fix needed for: https://github.com/lit/lit/issues/1789
const assignedNodesList = Symbol('assignedNodes');

@@ -18,0 +17,0 @@ const startObserving = Symbol('startObserving');

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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