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",
"license": "MIT",
"dependencies": {
"@designestate/dees-domtools": "^1.0.96",
"@designestate/dees-domtools": "^1.0.102",
"@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/free-brands-svg-icons": "^5.15.4",
"@fortawesome/free-regular-svg-icons": "^5.15.4",
"@fortawesome/free-solid-svg-icons": "^5.15.4",
"typescript": "^4.4.3"
"typescript": "^4.5.2"
},
"devDependencies": {
"@gitzone/tsbuild": "^2.1.28",
"@gitzone/tsbundle": "^1.0.88",
"@gitzone/tstest": "^1.0.59",
"@gitzone/tstest": "^1.0.60",
"@gitzone/tswatch": "^1.0.56",
"@pushrocks/projectinfo": "^4.0.5",
"@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';
@ -48,8 +48,9 @@ declare global {
}
@customElement('dees-icon')
export class DeesIcon extends LitElement {
export class DeesIcon extends DeesElement {
public static demo = () => html`
<dees-icon iconName="visibility"></dees-icon>
<div style="background: #fff; padding: 10px;">
<dees-icon iconName="visibility"></dees-icon>
<dees-icon brandName="facebook"></dees-icon>

View File

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

View File

@ -14,12 +14,16 @@ declare global {
@customElement('dees-updater')
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;
@property()
@property({
type: String,
})
updatedVersion: string;
constructor() {