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

@tradeshift/elements.typography

Package Overview
Dependencies
Maintainers
8
Versions
100
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tradeshift/elements.typography - npm Package Compare versions

Comparing version 0.9.0 to 0.10.0

2

lib/typography.umd.js

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

!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(require("@tradeshift/elements")):"function"==typeof define&&define.amd?define(["@tradeshift/elements"],e):e((t=t||self).ts.elements)}(this,function(t){"use strict";function e(t,e){for(var o=0;o<e.length;o++){var r=e[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function o(t,e){return e||(e=t.slice(0)),t.raw=e,t}function r(){var t=o(['\n\t\t\t\t\t\t<div class="text-wrapper" title="','">\n\t\t\t\t\t\t\t<slot @slotchange="','">',"</slot>\n\t\t\t\t\t\t</div>\n\t\t\t\t "]);return r=function(){return t},t}function n(){var t=o(['\n\t\t\t\t\t\t<div class="text-wrapper">\n\t\t\t\t\t\t\t<slot>',"</slot>\n\t\t\t\t\t\t</div>\n\t\t\t\t "]);return n=function(){return t},t}t.customElementDefineHelper("ts-typography",function(o){var i,s;function a(){return o.apply(this,arguments)||this}s=o,(i=a).prototype=Object.create(s.prototype),i.prototype.constructor=i,i.__proto__=s;var l,p,c,f=a.prototype;return f.textChangeHandler=function(t){var e=t.currentTarget;this.tooltip=this.tooltip||this.text||e.assignedNodes()[0].data},f.render=function(){return this.noTooltip?t.html(n(),this.text):t.html(r(),this.tooltip||this.text,this.textChangeHandler,this.text)},l=a,c=[{key:"styles",get:function(){return[t.TSElement.styles,t.unsafeCSS(":host{display:block;line-height:20px;line-height:var(--ts-unit);min-width:0;color:#0f151a;color:var(--ts-color-black)}.text-wrapper{font-size:14px;font-size:var(--ts-font-size-default)}:host([variant=title]) .text-wrapper{font-size:16px;font-size:var(--ts-fontsize-medium);font-weight:600;font-weight:var(--ts-fontweight-semibold)}:host([variant=subtitle]) .text-wrapper{font-size:12px;font-size:var(--ts-fontsize-mini);color:#506b77;color:var(--ts-color-slate-lightest)}:host([variant=semi-bold]) .text-wrapper{font-weight:600;font-weight:var(--ts-fontweight-semibold)}:host([no-wrap]) .text-wrapper{position:relative;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}:host([type=inverted]) .text-wrapper{color:#fff;color:var(--ts-color-white)}:host([type=warning]) .text-wrapper{color:#ff8c00;color:var(--ts-color-orange)}:host([type=danger]) .text-wrapper,:host([type=error]) .text-wrapper{color:#bd0000;color:var(--ts-color-red)}:host([type=action]) .text-wrapper,:host([type=primary]) .text-wrapper{color:#00aeff;color:var(--ts-color-blue)}:host([type=success]) .text-wrapper{color:#50c610;color:var(--ts-color-green)}:host([type=disabled]) .text-wrapper{color:#cbd7dc;color:var(--ts-color-gray-light)}:host([type=disabled-checked]) .text-wrapper{color:#9ab2bc;color:var(--ts-color-gray)}:host([type=slate-lightest]) .text-wrapper{color:#506b77;color:var(--ts-color-slate-lightest)}")]}},{key:"properties",get:function(){return{text:{type:String},tooltip:{type:String},variant:{type:String},type:{type:String},inline:{type:Boolean},noWrap:{type:Boolean,attribute:"no-wrap"},noTooltip:{type:Boolean,attribute:"no-tooltip"}}}}],(p=null)&&e(l.prototype,p),c&&e(l,c),a}(t.TSElement))});
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(require("@tradeshift/elements")):"function"==typeof define&&define.amd?define(["@tradeshift/elements"],e):e((t=t||self).ts.elements)}(this,(function(t){"use strict";function e(t,e){for(var o=0;o<e.length;o++){var r=e[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function o(t,e){return e||(e=t.slice(0)),t.raw=e,t}function r(){var t=o(['\n\t\t\t\t\t\t<div class="text-wrapper" title="','">\n\t\t\t\t\t\t\t<slot @slotchange="','">',"</slot>\n\t\t\t\t\t\t</div>\n\t\t\t\t "]);return r=function(){return t},t}function n(){var t=o(['\n\t\t\t\t\t\t<div class="text-wrapper">\n\t\t\t\t\t\t\t<slot>',"</slot>\n\t\t\t\t\t\t</div>\n\t\t\t\t "]);return n=function(){return t},t}t.customElementDefineHelper("ts-typography",function(o){var i,s;function a(){return o.apply(this,arguments)||this}s=o,(i=a).prototype=Object.create(s.prototype),i.prototype.constructor=i,i.__proto__=s;var l,p,c,f=a.prototype;return f.textChangeHandler=function(t){var e=t.currentTarget;this.tooltip=this.tooltip||this.text||e.assignedNodes()[0].data},f.render=function(){return this.noTooltip?t.html(n(),this.text):t.html(r(),this.tooltip||this.text,this.textChangeHandler,this.text)},l=a,c=[{key:"styles",get:function(){return[t.TSElement.styles,t.unsafeCSS(":host{display:block;line-height:20px;line-height:var(--ts-unit);min-width:0;color:#0f151a;color:var(--ts-color-black)}.text-wrapper{font-size:14px;font-size:var(--ts-font-size-default)}:host([variant=title]) .text-wrapper{font-size:16px;font-size:var(--ts-fontsize-medium);font-weight:600;font-weight:var(--ts-fontweight-semibold)}:host([variant=subtitle]) .text-wrapper{font-size:12px;font-size:var(--ts-fontsize-mini);color:#506b77;color:var(--ts-color-slate-lightest)}:host([variant=semi-bold]) .text-wrapper{font-weight:600;font-weight:var(--ts-fontweight-semibold)}:host([no-wrap]) .text-wrapper{position:relative;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}:host([type=inverted]) .text-wrapper{color:#fff;color:var(--ts-color-white)}:host([type=warning]) .text-wrapper{color:#ff8c00;color:var(--ts-color-orange)}:host([type=danger]) .text-wrapper,:host([type=error]) .text-wrapper{color:#bd0000;color:var(--ts-color-red)}:host([type=action]) .text-wrapper,:host([type=primary]) .text-wrapper{color:#00aeff;color:var(--ts-color-blue)}:host([type=success]) .text-wrapper{color:#50c610;color:var(--ts-color-green)}:host([type=disabled]) .text-wrapper{color:#cbd7dc;color:var(--ts-color-gray-light)}:host([type=disabled-checked]) .text-wrapper{color:#9ab2bc;color:var(--ts-color-gray)}:host([type=slate-lightest]) .text-wrapper{color:#506b77;color:var(--ts-color-slate-lightest)}")]}},{key:"properties",get:function(){return{text:{type:String},tooltip:{type:String},variant:{type:String},type:{type:String},inline:{type:Boolean},noWrap:{type:Boolean,attribute:"no-wrap"},noTooltip:{type:Boolean,attribute:"no-tooltip"}}}}],(p=null)&&e(l.prototype,p),c&&e(l,c),a}(t.TSElement))}));
{
"name": "@tradeshift/elements.typography",
"version": "0.9.0",
"version": "0.10.0",
"src": "src/typography.js",

@@ -12,5 +12,5 @@ "main": "lib/typography.umd.js",

"dependencies": {
"@tradeshift/elements": "^0.9.0"
"@tradeshift/elements": "^0.10.0"
},
"gitHead": "38dcc12adf17db9db2f4ba90f363fdf685e60125"
"gitHead": "66874081004dc1381919ddb2038999687696957f"
}
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