@digipair/skill-web-font-awesome 0.8.46 → 0.9.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.cjs.js CHANGED
@@ -1938,7 +1938,12 @@ class IconElement extends s {
1938
1938
  document.head.appendChild(style);
1939
1939
  }
1940
1940
  render() {
1941
- return x` <i class="${this.category ? 'fa-' + this.category : 'fa'} fa-${this.name}"></i> `;
1941
+ return x`
1942
+ <style>
1943
+ @import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.2/css/all.min.css');
1944
+ </style>
1945
+ <i class="${this.category ? 'fa-' + this.category : 'fa'} fa-${this.name}"></i>
1946
+ `;
1942
1947
  }
1943
1948
  }
1944
1949
  __decorate([
package/index.esm.js CHANGED
@@ -1934,7 +1934,12 @@ class IconElement extends s {
1934
1934
  document.head.appendChild(style);
1935
1935
  }
1936
1936
  render() {
1937
- return x` <i class="${this.category ? 'fa-' + this.category : 'fa'} fa-${this.name}"></i> `;
1937
+ return x`
1938
+ <style>
1939
+ @import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.2/css/all.min.css');
1940
+ </style>
1941
+ <i class="${this.category ? 'fa-' + this.category : 'fa'} fa-${this.name}"></i>
1942
+ `;
1938
1943
  }
1939
1944
  }
1940
1945
  __decorate([
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@digipair/skill-web-font-awesome",
3
- "version": "0.8.46",
3
+ "version": "0.9.2",
4
4
  "dependencies": {},
5
5
  "main": "./index.cjs.js",
6
6
  "module": "./index.esm.js"