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

@spectrum-web-components/icon

Package Overview
Dependencies
Maintainers
13
Versions
285
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@spectrum-web-components/icon - npm Package Compare versions

Comparing version 1.1.0-beta.37 to 1.1.0-beta.38

8

package.json
{
"name": "@spectrum-web-components/icon",
"version": "1.1.0-beta.37",
"version": "1.1.0-beta.38",
"publishConfig": {

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

"dependencies": {
"@spectrum-web-components/base": "^1.1.0-beta.37",
"@spectrum-web-components/iconset": "^1.1.0-beta.37"
"@spectrum-web-components/base": "^1.1.0-beta.38",
"@spectrum-web-components/iconset": "^1.1.0-beta.38"
},

@@ -97,3 +97,3 @@ "devDependencies": {

],
"gitHead": "4a227c67c5030086fad53eac3292a857a009b42b"
"gitHead": "0857cc4af7c23d15a7236f18795a3a6dc977855d"
}

@@ -69,3 +69,3 @@ "use strict";

__decorateClass([
property()
property({ reflect: true })
], IconBase.prototype, "label", 2);

@@ -72,0 +72,0 @@ __decorateClass([

"use strict";var c=Object.defineProperty;var m=Object.getOwnPropertyDescriptor;var l=(i,r,e,s)=>{for(var t=s>1?void 0:s?m(r,e):r,o=i.length-1,u;o>=0;o--)(u=i[o])&&(t=(s?u(r,e,t):u(t))||t);return s&&t&&c(r,e,t),t};import{html as n,SpectrumElement as a}from"@spectrum-web-components/base";import{SystemResolutionController as d,systemResolverUpdatedSymbol as b}from"@spectrum-web-components/reactive-controllers/src/SystemContextResolution.js";import{property as p,state as y}from"@spectrum-web-components/base/src/decorators.js";import v from"./icon.css.js";export class IconBase extends a{constructor(){super(...arguments);this.unsubscribeSystemContext=null;this.spectrumVersion=1;this.label="";this.systemResolver=new d(this)}static get styles(){return[v]}connectedCallback(){super.connectedCallback()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeSystemContext&&(this.unsubscribeSystemContext(),this.unsubscribeSystemContext=null)}update(e){e.has("label")&&(this.label?this.removeAttribute("aria-hidden"):this.setAttribute("aria-hidden","true")),e.has(b)&&(this.spectrumVersion=this.systemResolver.system==="spectrum-two"?2:1),super.update(e)}render(){return n`
<slot></slot>
`}}l([y()],IconBase.prototype,"spectrumVersion",2),l([p()],IconBase.prototype,"label",2),l([p({reflect:!0})],IconBase.prototype,"size",2);
`}}l([y()],IconBase.prototype,"spectrumVersion",2),l([p({reflect:!0})],IconBase.prototype,"label",2),l([p({reflect:!0})],IconBase.prototype,"size",2);
//# sourceMappingURL=IconBase.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