@assecosolutions/fox-icon
Advanced tools
Comparing version 1.11.2 to 1.11.3-beta.0
13
index.js
@@ -1555,7 +1555,7 @@ import { css, LitElement, html as html$2 } from 'lit'; | ||
let _$1 = t => t, | ||
_t$1; | ||
_t$1; | ||
const styles = css(_t$1 || (_t$1 = _$1`:host{font-family:"Material Icons Round","Material Icons" !important;font-weight:normal !important;font-style:normal !important;font-size:24px;line-height:1;letter-spacing:normal;text-transform:none;display:inline-block;white-space:nowrap;word-wrap:normal;direction:ltr;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale;font-feature-settings:"liga"}:host([small]){font-size:18px;transform:rotate(0.03deg)}:host([large]){font-size:36px}:host([x-large]){font-size:48px}`)); | ||
let _ = t => t, | ||
_t; | ||
_t; | ||
/** | ||
@@ -1574,3 +1574,2 @@ * | ||
*/ | ||
class FoxIcon extends LitElement { | ||
@@ -1583,7 +1582,5 @@ constructor() { | ||
} | ||
render() { | ||
return html$2(_t || (_t = _`<slot>${0}</slot>`), this.icon); | ||
} | ||
} | ||
@@ -1593,19 +1590,13 @@ /** | ||
*/ | ||
FoxIcon.styles = [styles]; | ||
__decorate([property({ | ||
type: String | ||
}), __metadata("design:type", Object)], FoxIcon.prototype, "icon", void 0); | ||
__decorate([property({ | ||
type: Boolean | ||
}), __metadata("design:type", Object)], FoxIcon.prototype, "small", void 0); | ||
__decorate([property({ | ||
type: Boolean | ||
}), __metadata("design:type", Object)], FoxIcon.prototype, "large", void 0); | ||
const name = 'fox-icon'; | ||
if (!customElements.get(name)) { | ||
@@ -1612,0 +1603,0 @@ customElements.define(name, FoxIcon); |
{ | ||
"name": "@assecosolutions/fox-icon", | ||
"version": "1.11.2", | ||
"version": "1.11.3-beta.0", | ||
"public": true, | ||
@@ -18,7 +18,7 @@ "publishConfig": { | ||
"type": "module", | ||
"types": "./index.d.ts", | ||
"types": "./src/index.d.ts", | ||
"dependencies": {}, | ||
"peerDependencies": { | ||
"lit": "^2.0.0" | ||
"lit": "^2.5.0" | ||
} | ||
} |
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
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
59128
6
1377
2