@digital-realty/ix-label-tag
Advanced tools
Comparing version 2.2.4-alpha-228982-t51.0 to 2.2.4-alpha-246374-t51.0
@@ -13,13 +13,26 @@ import { css } from 'lit'; | ||
display: inline-block; | ||
padding: var(--md-label-padding, 0.5rem 1rem); | ||
border-radius: 2em; | ||
color: var(--md-theme-on-primary, #fff); | ||
background-color: var(--md-theme-primary, #6200ee); | ||
font-size: var(--md-typography-label-font-size, 0.75rem); | ||
line-height: var(--md-typography-label-line-height, 1.5); | ||
font-weight: var(--md-typography-label-font-weight, 500); | ||
letter-spacing: var(--md-typography-label-letter-spacing, 0.0892857143em); | ||
text-decoration: var(--md-typography-label-text-decoration, none); | ||
padding: var(--ix-label-padding, 0.5rem 1rem); | ||
border-radius: var(--ix-border-radius, 2em); | ||
color: var(--ix-label-color, var(--clr-on-primary, #fff)); | ||
background-color: var(--ix-label-bg-color, var(--clr-primary, #6200ee)); | ||
font-size: var(--ix-label-font-size, var(--text-small-size, 0.75rem)); | ||
line-height: var( | ||
--ix-label-line-height, | ||
var(--text-small-line-height, 1.5) | ||
); | ||
font-weight: var(--ix-label-font-weight, var(--text-small-weight, 500)); | ||
letter-spacing: var( | ||
--ix-label-letter-spacing, | ||
var(--text-small-letter-spacing, 0.0892857143em) | ||
); | ||
text-decoration: var( | ||
--ix-label-text-decoration, | ||
var(--text-small-decoration, none) | ||
); | ||
text-transform: var( | ||
--ix-label-text-transform, | ||
var(--text-small-transform, none) | ||
); | ||
} | ||
`; | ||
//# sourceMappingURL=ix-label-tag-styles.js.map |
@@ -1,1 +0,1 @@ | ||
import{css,LitElement,html}from"lit";let IxLabelTagStyles=css`:host{display:inline-block}:host([hidden]){display:none}.label-tag{display:inline-block;padding:var(--md-label-padding,.5rem 1rem);border-radius:2em;color:var(--md-theme-on-primary,#fff);background-color:var(--md-theme-primary,#6200ee);font-size:var(--md-typography-label-font-size,.75rem);line-height:var(--md-typography-label-line-height,1.5);font-weight:var(--md-typography-label-font-weight,500);letter-spacing:var(--md-typography-label-letter-spacing,.0892857143em);text-decoration:var(--md-typography-label-text-decoration,none)}`;class IxLabelTag extends LitElement{static get styles(){return[IxLabelTagStyles]}render(){return html`<span class="label-tag"><slot></slot></span>`}}window.customElements.define("ix-label-tag",IxLabelTag); | ||
import{css,LitElement,html}from"lit";let IxLabelTagStyles=css`:host{display:inline-block}:host([hidden]){display:none}.label-tag{display:inline-block;padding:var(--ix-label-padding,.5rem 1rem);border-radius:var(--ix-border-radius,2em);color:var(--ix-label-color,var(--clr-on-primary,#fff));background-color:var(--ix-label-bg-color,var(--clr-primary,#6200ee));font-size:var(--ix-label-font-size,var(--text-small-size,.75rem));line-height:var(--ix-label-line-height,var(--text-small-line-height,1.5));font-weight:var(--ix-label-font-weight,var(--text-small-weight,500));letter-spacing:var(--ix-label-letter-spacing,var(--text-small-letter-spacing,.0892857143em));text-decoration:var(--ix-label-text-decoration,var(--text-small-decoration,none));text-transform:var(--ix-label-text-transform,var(--text-small-transform,none))}`;class IxLabelTag extends LitElement{static get styles(){return[IxLabelTagStyles]}render(){return html`<span class="label-tag"><slot></slot></span>`}}window.customElements.define("ix-label-tag",IxLabelTag); |
@@ -6,3 +6,3 @@ { | ||
"author": "Digital Realty", | ||
"version": "2.2.4-alpha-228982-t51.0", | ||
"version": "2.2.4-alpha-246374-t51.0", | ||
"type": "module", | ||
@@ -106,3 +106,3 @@ "main": "dist/index.js", | ||
], | ||
"gitHead": "a8f6541b74398cdb32518c94af1744c3f10af593" | ||
"gitHead": "a796f08349c6265d3e2389f3c6ffaad41ddd13d4" | ||
} |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
11569
72