lord-icon-element
Advanced tools
Comparing version
@@ -1,12 +0,12 @@ | ||
import { Element } from './main/element.js'; | ||
import { Basic } from './animations/basic.js'; | ||
import { Click } from './animations/click.js'; | ||
import { Hover } from './animations/hover.js'; | ||
import { Morph } from './animations/morph.js'; | ||
import { MorphTwoWay } from './animations/morph-two-way.js'; | ||
import { Loop } from './animations/loop.js'; | ||
import { Auto } from './animations/auto.js'; | ||
import { LottieLoader } from './interfaces.js'; | ||
export * from './helpers/colors.js'; | ||
export * from './helpers/lottie.js'; | ||
import { Element } from "./main/element.js"; | ||
import { Basic } from "./animations/basic.js"; | ||
import { Click } from "./animations/click.js"; | ||
import { Hover } from "./animations/hover.js"; | ||
import { Morph } from "./animations/morph.js"; | ||
import { MorphTwoWay } from "./animations/morph-two-way.js"; | ||
import { Loop } from "./animations/loop.js"; | ||
import { Auto } from "./animations/auto.js"; | ||
import { LottieLoader } from "./interfaces.js"; | ||
export * from "./helpers/colors.js"; | ||
export * from "./helpers/lottie.js"; | ||
export declare const LordIconElement: typeof Element; | ||
@@ -13,0 +13,0 @@ export declare const BasicAnimation: typeof Basic; |
@@ -1,11 +0,11 @@ | ||
import { Element } from './main/element.js'; | ||
import { Basic } from './animations/basic.js'; | ||
import { Click } from './animations/click.js'; | ||
import { Hover } from './animations/hover.js'; | ||
import { Morph } from './animations/morph.js'; | ||
import { MorphTwoWay } from './animations/morph-two-way.js'; | ||
import { Loop } from './animations/loop.js'; | ||
import { Auto } from './animations/auto.js'; | ||
export * from './helpers/colors.js'; | ||
export * from './helpers/lottie.js'; | ||
import { Element } from "./main/element.js"; | ||
import { Basic } from "./animations/basic.js"; | ||
import { Click } from "./animations/click.js"; | ||
import { Hover } from "./animations/hover.js"; | ||
import { Morph } from "./animations/morph.js"; | ||
import { MorphTwoWay } from "./animations/morph-two-way.js"; | ||
import { Loop } from "./animations/loop.js"; | ||
import { Auto } from "./animations/auto.js"; | ||
export * from "./helpers/colors.js"; | ||
export * from "./helpers/lottie.js"; | ||
export const LordIconElement = Element; | ||
@@ -25,10 +25,10 @@ export const BasicAnimation = Basic; | ||
Element.registerLoader(loader); | ||
Element.registerAnimation('hover', Hover); | ||
Element.registerAnimation('click', Click); | ||
Element.registerAnimation('morph', Morph); | ||
Element.registerAnimation('morph-two-way', MorphTwoWay); | ||
Element.registerAnimation('loop', Loop); | ||
Element.registerAnimation('auto', Auto); | ||
customElements.define('lord-icon', Element); | ||
Element.registerAnimation("hover", Hover); | ||
Element.registerAnimation("click", Click); | ||
Element.registerAnimation("morph", Morph); | ||
Element.registerAnimation("loop", Loop); | ||
Element.registerAnimation("auto", Auto); | ||
Element.registerAnimation("morph-two-way", MorphTwoWay); | ||
customElements.define("lord-icon", Element); | ||
} | ||
//# sourceMappingURL=lord-icon-element.js.map |
@@ -6,14 +6,19 @@ import { replacePalette, replaceParams } from "../helpers/lottie.js"; | ||
:host { | ||
display: inline-flex; | ||
width: 32px; | ||
height: 32px; | ||
align-items: center; | ||
justify-content: center; | ||
position: relative; | ||
vertical-align: middle; | ||
fill: currentcolor; | ||
stroke: none; | ||
overflow: hidden; | ||
display: inline-flex; | ||
width: 32px; | ||
height: 32px; | ||
align-items: center; | ||
justify-content: center; | ||
position: relative; | ||
vertical-align: middle; | ||
fill: currentcolor; | ||
stroke: none; | ||
overflow: hidden; | ||
} | ||
:host(.inherit-color) svg path { | ||
fill: currentColor; | ||
stroke: currentColor; | ||
} | ||
svg { | ||
@@ -20,0 +25,0 @@ pointer-events: none; |
{ | ||
"name": "lord-icon-element", | ||
"version": "1.3.0", | ||
"version": "1.3.1", | ||
"private": false, | ||
@@ -5,0 +5,0 @@ "main": "./build/lord-icon-element.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
63807
0.13%1347
0.3%