fix(core): update

This commit is contained in:
Philipp Kunz 2021-11-26 20:06:09 +01:00
parent 75929c089d
commit 9de9f0c202
5 changed files with 1549 additions and 1000 deletions

2510
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -13,19 +13,19 @@
"author": "Lossless GmbH", "author": "Lossless GmbH",
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"@designestate/dees-domtools": "^1.0.96", "@designestate/dees-domtools": "^1.0.102",
"@designestate/dees-element": "^1.0.26", "@designestate/dees-element": "^1.0.26",
"@designestate/dees-wcctools": "^1.0.59", "@designestate/dees-wcctools": "^1.0.66",
"@fortawesome/fontawesome-svg-core": "^1.2.36", "@fortawesome/fontawesome-svg-core": "^1.2.36",
"@fortawesome/free-brands-svg-icons": "^5.15.4", "@fortawesome/free-brands-svg-icons": "^5.15.4",
"@fortawesome/free-regular-svg-icons": "^5.15.4", "@fortawesome/free-regular-svg-icons": "^5.15.4",
"@fortawesome/free-solid-svg-icons": "^5.15.4", "@fortawesome/free-solid-svg-icons": "^5.15.4",
"typescript": "^4.4.3" "typescript": "^4.5.2"
}, },
"devDependencies": { "devDependencies": {
"@gitzone/tsbuild": "^2.1.28", "@gitzone/tsbuild": "^2.1.28",
"@gitzone/tsbundle": "^1.0.88", "@gitzone/tsbundle": "^1.0.88",
"@gitzone/tstest": "^1.0.59", "@gitzone/tstest": "^1.0.60",
"@gitzone/tswatch": "^1.0.56", "@gitzone/tswatch": "^1.0.56",
"@pushrocks/projectinfo": "^4.0.5", "@pushrocks/projectinfo": "^4.0.5",
"@pushrocks/tapbundle": "^3.2.14", "@pushrocks/tapbundle": "^3.2.14",

View File

@ -1,4 +1,4 @@
import { LitElement, html, property, customElement } from 'lit-element'; import { DeesElement, html, property, customElement } from '@designestate/dees-element';
import * as domtools from '@designestate/dees-domtools'; import * as domtools from '@designestate/dees-domtools';
@ -48,8 +48,9 @@ declare global {
} }
@customElement('dees-icon') @customElement('dees-icon')
export class DeesIcon extends LitElement { export class DeesIcon extends DeesElement {
public static demo = () => html` public static demo = () => html`
<dees-icon iconName="visibility"></dees-icon>
<div style="background: #fff; padding: 10px;"> <div style="background: #fff; padding: 10px;">
<dees-icon iconName="visibility"></dees-icon> <dees-icon iconName="visibility"></dees-icon>
<dees-icon brandName="facebook"></dees-icon> <dees-icon brandName="facebook"></dees-icon>

View File

@ -66,18 +66,24 @@ export class DeesTable<T> extends DeesElement {
</div> </div>
`; `;
@property() @property({
public heading1: string; type: String,
})
public heading1: string = 'heading 1';
@property() @property({
public heading2: string; type: String,
})
public heading2: string = 'heading 2';
@property({ @property({
type: Array, type: Array,
}) })
public data: T[] = []; public data: T[] = [];
@property() @property({
type: Object,
})
public selectedDataRow: T; public selectedDataRow: T;
@property({ @property({

View File

@ -16,10 +16,14 @@ declare global {
export class DeesUpdater extends LitElement { export class DeesUpdater extends LitElement {
public static demo = () => html`<dees-updater></dees-updater>`; public static demo = () => html`<dees-updater></dees-updater>`;
@property() @property({
type: String,
})
currentVersion: string; currentVersion: string;
@property() @property({
type: String,
})
updatedVersion: string; updatedVersion: string;
constructor() { constructor() {