fix(core): update

This commit is contained in:
Philipp Kunz 2020-12-01 22:49:44 +00:00
parent 02119a1ce4
commit 5585d7e304
2 changed files with 911 additions and 1481 deletions

2383
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -3,11 +3,14 @@ import { LitElement, html, property, customElement } from 'lit-element';
import * as domtools from '@designestate/dees-domtools'; import * as domtools from '@designestate/dees-domtools';
import { icon, IconDefinition } from "@fortawesome/fontawesome-svg-core"; import { icon, IconDefinition } from "@fortawesome/fontawesome-svg-core";
import { faFacebook } from '@fortawesome/free-brands-svg-icons'; import { faFacebook, faTwitter, faLinkedin, faMedium } from '@fortawesome/free-brands-svg-icons';
type TBrand = 'facebook' | 'twitter'; type TBrand = 'facebook' | 'twitter' | 'linkedin' | 'medium';
const brandIcons: {[key: string]: IconDefinition} = { const brandIcons: {[key: string]: IconDefinition} = {
facebook: faFacebook facebook: faFacebook,
twitter: faTwitter,
linkedin: faLinkedin,
medium: faMedium
}; };
@customElement('dees-icon') @customElement('dees-icon')