Socket
Socket
Sign inDemoInstall

@spectrum-web-components/shared

Package Overview
Dependencies
Maintainers
7
Versions
205
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.42.2 to 0.42.3

8

package.json
{
"name": "@spectrum-web-components/shared",
"version": "0.42.2",
"version": "0.42.3",
"publishConfig": {

@@ -103,4 +103,4 @@ "access": "public"

"dependencies": {
"@lit-labs/observers": "^2.0.0",
"@spectrum-web-components/base": "^0.42.2",
"@lit-labs/observers": "^2.0.2",
"@spectrum-web-components/base": "^0.42.3",
"focus-visible": "^5.1.0"

@@ -113,3 +113,3 @@ },

],
"gitHead": "e19af30387032608baaa88c6a17c2ee50103a7c5"
"gitHead": "a03edce4f21f232f1705d8eb222e6e5436cad4c3"
}

@@ -6,3 +6,3 @@ declare global {

}
declare type Constructor<T = Record<string, unknown>> = {
type Constructor<T = Record<string, unknown>> = {
new (...args: any[]): T;

@@ -16,3 +16,3 @@ prototype: T;

}
declare type MixableBaseClass = HTMLElement & OptionalLifecycleCallbacks;
type MixableBaseClass = HTMLElement & OptionalLifecycleCallbacks;
/**

@@ -19,0 +19,0 @@ * This mixin function is designed to be applied to a class that inherits

import { PropertyValues, SpectrumElement } from '@spectrum-web-components/base';
declare type DisableableElement = HTMLElement & {
type DisableableElement = HTMLElement & {
disabled?: boolean;

@@ -4,0 +4,0 @@ };

import { ReactiveElement, TemplateResult } from '@spectrum-web-components/base';
declare type Constructor<T = Record<string, unknown>> = {
type Constructor<T = Record<string, unknown>> = {
new (...args: any[]): T;
prototype: T;
};
declare type RenderAnchorOptions = {
type RenderAnchorOptions = {
id: string;

@@ -8,0 +8,0 @@ className?: string;

@@ -1,4 +0,4 @@

"use strict";var f=Object.defineProperty;var b=Object.getOwnPropertyDescriptor;var n=(s,r,p,o)=>{for(var t=o>1?void 0:o?b(r,p):r,a=s.length-1,l;a>=0;a--)(l=s[a])&&(t=(o?l(r,p,t):l(t))||t);return o&&t&&f(r,p,t),t};import{html as c}from"@spectrum-web-components/base";import{property as i}from"@spectrum-web-components/base/src/decorators.js";import{ifDefined as e}from"@spectrum-web-components/base/src/directives.js";export function LikeAnchor(s){class r extends s{renderAnchor({id:t,className:a,ariaHidden:l,labelledby:d,tabindex:g,anchorContent:u=c`<slot></slot>`}){return c`<a
id=${t}
class=${e(a)}
"use strict";var u=Object.defineProperty;var f=Object.getOwnPropertyDescriptor;var n=(s,r,p,i)=>{for(var t=i>1?void 0:i?f(r,p):r,a=s.length-1,l;a>=0;a--)(l=s[a])&&(t=(i?l(r,p,t):l(t))||t);return i&&t&&u(r,p,t),t};import{html as c}from"@spectrum-web-components/base";import{property as o}from"@spectrum-web-components/base/src/decorators.js";import{ifDefined as e}from"@spectrum-web-components/base/src/directives.js";export function LikeAnchor(s){class r extends s{renderAnchor({id:i,className:t,ariaHidden:a,labelledby:l,tabindex:d,anchorContent:g=c`<slot></slot>`}){return c`<a
id=${i}
class=${e(t)}
href=${e(this.href)}

@@ -8,8 +8,8 @@ download=${e(this.download)}

aria-label=${e(this.label)}
aria-labelledby=${e(d)}
aria-hidden=${e(l?"true":void 0)}
tabindex=${e(g)}
aria-labelledby=${e(l)}
aria-hidden=${e(a?"true":void 0)}
tabindex=${e(d)}
referrerpolicy=${e(this.referrerpolicy)}
rel=${e(this.rel)}
>${u}</a>`}}return n([i()],r.prototype,"download",2),n([i()],r.prototype,"label",2),n([i()],r.prototype,"href",2),n([i()],r.prototype,"target",2),n([i()],r.prototype,"referrerpolicy",2),n([i()],r.prototype,"rel",2),r}
>${g}</a>`}}return n([o()],r.prototype,"download",2),n([o()],r.prototype,"label",2),n([o()],r.prototype,"href",2),n([o()],r.prototype,"target",2),n([o()],r.prototype,"referrerpolicy",2),n([o()],r.prototype,"rel",2),r}
//# sourceMappingURL=like-anchor.js.map
import { ReactiveElement } from '@spectrum-web-components/base';
declare type Constructor<T = Record<string, unknown>> = {
type Constructor<T = Record<string, unknown>> = {
new (...args: any[]): T;

@@ -4,0 +4,0 @@ prototype: T;

import { ReactiveElement } from '@spectrum-web-components/base';
declare type Constructor<T = Record<string, unknown>> = {
type Constructor<T = Record<string, unknown>> = {
new (...args: any[]): T;

@@ -4,0 +4,0 @@ prototype: T;

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