lit-heroicons
Advanced tools
Comparing version 0.0.5 to 0.0.6
@@ -6,3 +6,3 @@ import { LitElement } from "lit-element"; | ||
name: HeroIconName; | ||
render(): any; | ||
render(): import("lit-element").TemplateResult; | ||
} |
@@ -8,2 +8,5 @@ "use strict"; | ||
}; | ||
var __importDefault = (this && this.__importDefault) || function (mod) { | ||
return (mod && mod.__esModule) ? mod : { "default": mod }; | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
@@ -13,2 +16,3 @@ exports.Heroicon = void 0; | ||
const heroicons_1 = require("./generated/heroicons"); | ||
const pascalcase_1 = __importDefault(require("pascalcase")); | ||
let Heroicon = class Heroicon extends lit_element_1.LitElement { | ||
@@ -22,3 +26,3 @@ constructor() { | ||
var _a, _b; | ||
return ((_b = (_a = heroicons_1.icons === null || heroicons_1.icons === void 0 ? void 0 : heroicons_1.icons[this.solid ? "solid" : "outline"]) === null || _a === void 0 ? void 0 : _a[this.name]) !== null && _b !== void 0 ? _b : lit_element_1.html `<svg></svg>`); | ||
return ((_b = (_a = heroicons_1.icons === null || heroicons_1.icons === void 0 ? void 0 : heroicons_1.icons[pascalcase_1.default(this.name)]) === null || _a === void 0 ? void 0 : _a[this.solid ? "solid" : "outline"]) !== null && _b !== void 0 ? _b : lit_element_1.html `<svg></svg>`); | ||
} | ||
@@ -25,0 +29,0 @@ }; |
{ | ||
"name": "lit-heroicons", | ||
"version": "0.0.5", | ||
"version": "0.0.6", | ||
"description": "Heroicons for Lit (Project based on heroicons)", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
363612
1788
0