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

@tradeshift/elements.app-icon

Package Overview
Dependencies
Maintainers
8
Versions
76
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tradeshift/elements.app-icon - npm Package Compare versions

Comparing version 0.19.3 to 0.20.0

lib/app-icon.umd.js.map

2

lib/app-icon.esm.js

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

import{html as t,customElementDefineHelper as e,TSElement as r,unsafeCSS as i}from"@tradeshift/elements";function n(t,e){for(var r=0;r<e.length;r++){var i=e[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function o(){var t,e,r=(t=['\n\t\t\t<img .src="','" .alt="','"></img>\n\t\t'],e||(e=t.slice(0)),t.raw=e,t);return o=function(){return r},r}var p=function(e){var p,u,s,a,l;function c(){return e.apply(this,arguments)||this}return u=e,(p=c).prototype=Object.create(u.prototype),p.prototype.constructor=p,p.__proto__=u,c.prototype.render=function(){return t(o(),this.src,this.alt)},s=c,l=[{key:"styles",get:function(){return[r.styles,i(":host img{width:40px;width:var(--ts-unit-double);height:40px;height:var(--ts-unit-double);border-radius:3px;border-radius:var(--ts-radius)}:host([size=large]) img{width:60px;width:var(--ts-unit-triple);height:60px;height:var(--ts-unit-triple)}")]}},{key:"properties",get:function(){return{size:{type:String,reflect:!0},src:{type:String,reflect:!0},alt:{type:String,reflect:!0}}}}],(a=null)&&n(s.prototype,a),l&&n(s,l),c}(r);e("ts-app-icon",p);export{p as TSIcon};
import{html as t,customElementDefineHelper as e,TSElement as r,unsafeCSS as i}from"@tradeshift/elements";function n(t,e){for(var r=0;r<e.length;r++){var i=e[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function o(t,e){return(o=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}var p,s=function(e){var s,u,a,l,c;function h(){return e.apply(this,arguments)||this}return u=e,(s=h).prototype=Object.create(u.prototype),s.prototype.constructor=s,o(s,u),h.prototype.render=function(){return t(p||(e=['\n\t\t\t<img .src="','" .alt="','"></img>\n\t\t'],r||(r=e.slice(0)),e.raw=r,p=e),this.src,this.alt);var e,r},a=h,c=[{key:"styles",get:function(){return[r.styles,i(":host img{width:40px;width:var(--ts-unit-double);height:40px;height:var(--ts-unit-double);border-radius:3px;border-radius:var(--ts-radius)}:host([size=large]) img{width:60px;width:var(--ts-unit-triple);height:60px;height:var(--ts-unit-triple)}")]}},{key:"properties",get:function(){return{size:{type:String,reflect:!0},src:{type:String,reflect:!0},alt:{type:String,reflect:!0}}}}],(l=null)&&n(a.prototype,l),c&&n(a,c),h}(r);e("ts-app-icon",s);export{s as TSIcon};

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

!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@tradeshift/elements")):"function"==typeof define&&define.amd?define(["exports","@tradeshift/elements"],t):t(((e="undefined"!=typeof globalThis?globalThis:e||self).ts=e.ts||{},e.ts.elements=e.ts.elements||{},e.ts.elements["app-icon"]=e.ts.elements["app-icon"]||{}),e.ts.elements)}(this,(function(e,t){"use strict";function r(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function n(){var e,t,r=(e=['\n\t\t\t<img .src="','" .alt="','"></img>\n\t\t'],t||(t=e.slice(0)),e.raw=t,e);return n=function(){return r},r}var i=function(e){var i,s,o,l,u;function p(){return e.apply(this,arguments)||this}return s=e,(i=p).prototype=Object.create(s.prototype),i.prototype.constructor=i,i.__proto__=s,p.prototype.render=function(){return t.html(n(),this.src,this.alt)},o=p,u=[{key:"styles",get:function(){return[t.TSElement.styles,t.unsafeCSS(":host img{width:40px;width:var(--ts-unit-double);height:40px;height:var(--ts-unit-double);border-radius:3px;border-radius:var(--ts-radius)}:host([size=large]) img{width:60px;width:var(--ts-unit-triple);height:60px;height:var(--ts-unit-triple)}")]}},{key:"properties",get:function(){return{size:{type:String,reflect:!0},src:{type:String,reflect:!0},alt:{type:String,reflect:!0}}}}],(l=null)&&r(o.prototype,l),u&&r(o,u),p}(t.TSElement);t.customElementDefineHelper("ts-app-icon",i),e.TSIcon=i,Object.defineProperty(e,"__esModule",{value:!0})}));
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@tradeshift/elements")):"function"==typeof define&&define.amd?define(["exports","@tradeshift/elements"],t):t(((e="undefined"!=typeof globalThis?globalThis:e||self).ts=e.ts||{},e.ts.elements=e.ts.elements||{},e.ts.elements["app-icon"]=e.ts.elements["app-icon"]||{}),e.ts.elements)}(this,(function(e,t){"use strict";function r(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function n(e,t){return(n=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var i,s=function(e){var s,o,l,p,u;function a(){return e.apply(this,arguments)||this}return o=e,(s=a).prototype=Object.create(o.prototype),s.prototype.constructor=s,n(s,o),a.prototype.render=function(){return t.html(i||(e=['\n\t\t\t<img .src="','" .alt="','"></img>\n\t\t'],r||(r=e.slice(0)),e.raw=r,i=e),this.src,this.alt);var e,r},l=a,u=[{key:"styles",get:function(){return[t.TSElement.styles,t.unsafeCSS(":host img{width:40px;width:var(--ts-unit-double);height:40px;height:var(--ts-unit-double);border-radius:3px;border-radius:var(--ts-radius)}:host([size=large]) img{width:60px;width:var(--ts-unit-triple);height:60px;height:var(--ts-unit-triple)}")]}},{key:"properties",get:function(){return{size:{type:String,reflect:!0},src:{type:String,reflect:!0},alt:{type:String,reflect:!0}}}}],(p=null)&&r(l.prototype,p),u&&r(l,u),a}(t.TSElement);t.customElementDefineHelper("ts-app-icon",s),e.TSIcon=s,Object.defineProperty(e,"__esModule",{value:!0})}));
{
"name": "@tradeshift/elements.app-icon",
"version": "0.19.3",
"version": "0.20.0",
"repository": {

@@ -18,6 +18,6 @@ "type": "git",

"dependencies": {
"@tradeshift/elements": "^0.19.3"
"@tradeshift/elements": "^0.20.0"
},
"src": "src/app-icon.js",
"gitHead": "de21b6b94b9c536f1030fe9905cd4f81288eebb3"
"gitHead": "2c7e9c7c5b436cb1103cfdc15f48834a74f43f36"
}

@@ -29,5 +29,5 @@ <h1 align="center">

<style>
table {
width:100%;
}
table {
width:100%;
}
</style>

@@ -37,6 +37,7 @@

| Property | Attribute | Type | Default | Description |
| -------- | --------- | ------ | ------- | ---------------------------------------- |
| src | src | string | '' | Specifies the URL of an image |
| alt | alt | string | '' | Specifies an alternate text for an image |
| Property | Attribute | Type | Default | Description |
| -------- | --------- | ------ | ------- | -------------------------------------------------------------- |
| size | size | String | | Size of the app icon, available variants: ''(default), 'large' |
| src | src | String | | Specifies the URL of an image |
| alt | alt | String | | Specifies an alternate text for an image |

@@ -43,0 +44,0 @@ ## ➤ How to use it

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