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.9-lit-next.37 to 0.12.9

6

package.json
{
"name": "@spectrum-web-components/shared",
"version": "0.12.9-lit-next.37+c727331cf",
"version": "0.12.9",
"publishConfig": {

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

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

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

"sideEffects": false,
"gitHead": "c727331cf98a963e16917d9a47d9df4608fff366"
"gitHead": "e05c867a446189df8cfbceb201ec18cd502cfe26"
}

@@ -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>> = {

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

anchorContent?: TemplateResult | TemplateResult[];
labelledby?: string;
tabindex?: -1 | 0;
};

@@ -21,3 +23,3 @@ export interface LikeAnchorInterface {

}
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 {};

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

class LikeAnchorElement extends constructor {
renderAnchor({ id, className, ariaHidden,
renderAnchor({ id, className, ariaHidden, labelledby, tabindex,
// prettier-ignore

@@ -28,3 +28,5 @@ anchorContent = html `<slot></slot>`, }) {

aria-label=${ifDefined(this.label)}
aria-labelledby=${ifDefined(labelledby)}
aria-hidden=${ifDefined(ariaHidden ? 'true' : undefined)}
tabindex=${ifDefined(tabindex)}
rel=${ifDefined(this.rel)}

@@ -31,0 +33,0 @@ >${anchorContent}</a>`;

@@ -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

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