New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@spectrum-web-components/banner

Package Overview
Dependencies
Maintainers
7
Versions
204
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

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

Comparing version 0.41.2 to 0.42.0

7

package.json
{
"name": "@spectrum-web-components/banner",
"version": "0.41.2",
"version": "0.42.0",
"publishConfig": {

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

"dependencies": {
"@spectrum-web-components/base": "^0.41.2"
"@spectrum-web-components/base": "^0.42.0"
},

@@ -68,2 +68,3 @@ "devDependencies": {

"customElements": "custom-elements.json",
"deprecationNotice": "@spectrum-web-components/banner is deprecated and it will be removed in the future release.",
"sideEffects": [

@@ -73,3 +74,3 @@ "./sp-*.js",

],
"gitHead": "78c3f16b08c9133c9e5ca88d0c9fef5ea7d2ab87"
"gitHead": "9b3bd55ff8e8f9438817255976e77fd456b19d72"
}

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

import { CSSResultArray, SpectrumElement, TemplateResult } from '@spectrum-web-components/base';
import { CSSResultArray, PropertyValues, SpectrumElement, TemplateResult } from '@spectrum-web-components/base';
/**

@@ -15,3 +15,4 @@ * @element sp-banner

static get styles(): CSSResultArray;
protected update(changes: PropertyValues<this>): void;
protected render(): TemplateResult;
}

@@ -28,2 +28,13 @@ "use strict";

}
update(changes) {
super.update(changes);
if (true) {
window.__swc.warn(
this,
`<${this.localName}> is deprecated and it will be removed in the future release.`,
"https://opensource.adobe.com/spectrum-web-components/components/banner/#deprecation",
{ level: "deprecation" }
);
}
}
render() {

@@ -30,0 +41,0 @@ return html`

@@ -1,5 +0,5 @@

"use strict";var a=Object.defineProperty;var d=Object.getOwnPropertyDescriptor;var p=(o,t,l,r)=>{for(var e=r>1?void 0:r?d(t,l):t,i=o.length-1,n;i>=0;i--)(n=o[i])&&(e=(r?n(t,l,e):n(e))||e);return r&&e&&a(t,l,e),e};import{html as m,SpectrumElement as c}from"@spectrum-web-components/base";import{property as s}from"@spectrum-web-components/base/src/decorators.js";import u from"./banner.css.js";export class Banner extends c{constructor(){super(...arguments);this.type="info";this.corner=!1}static get styles(){return[u]}render(){return m`
"use strict";var a=Object.defineProperty;var d=Object.getOwnPropertyDescriptor;var s=(i,t,r,o)=>{for(var e=o>1?void 0:o?d(t,r):t,n=i.length-1,l;n>=0;n--)(l=i[n])&&(e=(o?l(t,r,e):l(e))||e);return o&&e&&a(t,r,e),e};import{html as c,SpectrumElement as u}from"@spectrum-web-components/base";import{property as p}from"@spectrum-web-components/base/src/decorators.js";import m from"./banner.css.js";export class Banner extends u{constructor(){super(...arguments);this.type="info";this.corner=!1}static get styles(){return[m]}update(r){super.update(r)}render(){return c`
<div id="header"><slot name="header"></slot></div>
<div id="content"><slot name="content"></slot></div>
`}}p([s({reflect:!0,type:String})],Banner.prototype,"type",2),p([s({reflect:!0,type:Boolean})],Banner.prototype,"corner",2);
`}}s([p({reflect:!0,type:String})],Banner.prototype,"type",2),s([p({reflect:!0,type:Boolean})],Banner.prototype,"corner",2);
//# sourceMappingURL=Banner.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