fix(core): update

This commit is contained in:
Philipp Kunz 2021-02-13 21:52:36 +00:00
parent 6eced2321f
commit fef0705acc
8 changed files with 144 additions and 27 deletions

44
package-lock.json generated
View File

@ -1180,40 +1180,40 @@
}
},
"@fortawesome/fontawesome-common-types": {
"version": "0.2.32",
"resolved": "https://verdaccio.lossless.one/@fortawesome%2ffontawesome-common-types/-/fontawesome-common-types-0.2.32.tgz",
"integrity": "sha512-ux2EDjKMpcdHBVLi/eWZynnPxs0BtFVXJkgHIxXRl+9ZFaHPvYamAfCzeeQFqHRjuJtX90wVnMRaMQAAlctz3w=="
"version": "0.2.34",
"resolved": "https://verdaccio.lossless.one/@fortawesome%2ffontawesome-common-types/-/fontawesome-common-types-0.2.34.tgz",
"integrity": "sha512-XcIn3iYbTEzGIxD0/dY5+4f019jIcEIWBiHc3KrmK/ROahwxmZ/s+tdj97p/5K0klz4zZUiMfUlYP0ajhSJjmA=="
},
"@fortawesome/fontawesome-svg-core": {
"version": "1.2.32",
"resolved": "https://verdaccio.lossless.one/@fortawesome%2ffontawesome-svg-core/-/fontawesome-svg-core-1.2.32.tgz",
"integrity": "sha512-XjqyeLCsR/c/usUpdWcOdVtWFVjPbDFBTQkn2fQRrWhhUoxriQohO2RWDxLyUM8XpD+Zzg5xwJ8gqTYGDLeGaQ==",
"version": "1.2.34",
"resolved": "https://verdaccio.lossless.one/@fortawesome%2ffontawesome-svg-core/-/fontawesome-svg-core-1.2.34.tgz",
"integrity": "sha512-0KNN0nc5eIzaJxlv43QcDmTkDY1CqeN6J7OCGSs+fwGPdtv0yOQqRjieopBCmw+yd7uD3N2HeNL3Zm5isDleLg==",
"requires": {
"@fortawesome/fontawesome-common-types": "^0.2.32"
"@fortawesome/fontawesome-common-types": "^0.2.34"
}
},
"@fortawesome/free-brands-svg-icons": {
"version": "5.15.1",
"resolved": "https://verdaccio.lossless.one/@fortawesome%2ffree-brands-svg-icons/-/free-brands-svg-icons-5.15.1.tgz",
"integrity": "sha512-pkTZIWn7iuliCCgV+huDfZmZb2UjslalXGDA2PcqOVUYJmYL11y6ooFiMJkJvUZu+xgAc1gZgQe+Px12mZF0CA==",
"version": "5.15.2",
"resolved": "https://verdaccio.lossless.one/@fortawesome%2ffree-brands-svg-icons/-/free-brands-svg-icons-5.15.2.tgz",
"integrity": "sha512-YPlVjE1cEO+OJ9I9ay3TQ3I88+XkxMTYwnnddqAboxLhPNGncsHV0DjWOVLCyuAY66yPfyndWwVn4v7vuqsO1g==",
"requires": {
"@fortawesome/fontawesome-common-types": "^0.2.32"
"@fortawesome/fontawesome-common-types": "^0.2.34"
}
},
"@fortawesome/free-regular-svg-icons": {
"version": "5.15.1",
"resolved": "https://verdaccio.lossless.one/@fortawesome%2ffree-regular-svg-icons/-/free-regular-svg-icons-5.15.1.tgz",
"integrity": "sha512-eD9NWFy89e7SVVtrLedJUxIpCBGhd4x7s7dhesokjyo1Tw62daqN5UcuAGu1NrepLLq1IeAYUVfWwnOjZ/j3HA==",
"version": "5.15.2",
"resolved": "https://verdaccio.lossless.one/@fortawesome%2ffree-regular-svg-icons/-/free-regular-svg-icons-5.15.2.tgz",
"integrity": "sha512-Uv5NQCYjyisNVTu/1Xjs+z8vwQjbfT6hiqYvQNfF0n8qdgfWLM581bAfVMQ3BCs1SPy+eEUKNcGkK4n0FihFHg==",
"requires": {
"@fortawesome/fontawesome-common-types": "^0.2.32"
"@fortawesome/fontawesome-common-types": "^0.2.34"
}
},
"@fortawesome/free-solid-svg-icons": {
"version": "5.15.1",
"resolved": "https://verdaccio.lossless.one/@fortawesome%2ffree-solid-svg-icons/-/free-solid-svg-icons-5.15.1.tgz",
"integrity": "sha512-EFMuKtzRMNbvjab/SvJBaOOpaqJfdSap/Nl6hst7CgrJxwfORR1drdTV6q1Ib/JVzq4xObdTDcT6sqTaXMqfdg==",
"version": "5.15.2",
"resolved": "https://verdaccio.lossless.one/@fortawesome%2ffree-solid-svg-icons/-/free-solid-svg-icons-5.15.2.tgz",
"integrity": "sha512-ZfCU+QjaFsdNZmOGmfqEWhzI3JOe37x5dF4kz9GeXvKn/sTxhqMtZ7mh3lBf76SvcYY5/GKFuyG7p1r4iWMQqw==",
"requires": {
"@fortawesome/fontawesome-common-types": "^0.2.32"
"@fortawesome/fontawesome-common-types": "^0.2.34"
}
},
"@gitzone/tsbuild": {
@ -10129,9 +10129,9 @@
"dev": true
},
"typescript": {
"version": "4.1.2",
"resolved": "https://verdaccio.lossless.one/typescript/-/typescript-4.1.2.tgz",
"integrity": "sha512-thGloWsGH3SOxv1SoY7QojKi0tc+8FnOmiarEGMbd/lar7QOEd3hvlx3Fp5y6FlDUGl9L+pd4n2e+oToGMmhRQ=="
"version": "4.1.5",
"resolved": "https://verdaccio.lossless.one/typescript/-/typescript-4.1.5.tgz",
"integrity": "sha512-6OSu9PTIzmn9TCDiovULTnET6BgXtDYL4Gg4szY+cGsc3JP1dQL8qvE8kShTRx1NIw4Q9IBHlwODjkjWEtMUyA=="
},
"uglify-js": {
"version": "3.12.1",

View File

@ -16,11 +16,11 @@
"@designestate/dees-domtools": "^1.0.84",
"@designestate/dees-element": "^1.0.10",
"@designestate/dees-wcctools": "^1.0.54",
"@fortawesome/fontawesome-svg-core": "^1.2.32",
"@fortawesome/free-brands-svg-icons": "^5.15.1",
"@fortawesome/free-regular-svg-icons": "^5.15.1",
"@fortawesome/free-solid-svg-icons": "^5.15.1",
"typescript": "^4.1.2"
"@fortawesome/fontawesome-svg-core": "^1.2.34",
"@fortawesome/free-brands-svg-icons": "^5.15.2",
"@fortawesome/free-regular-svg-icons": "^5.15.2",
"@fortawesome/free-solid-svg-icons": "^5.15.2",
"typescript": "^4.1.5"
},
"devDependencies": {
"@gitzone/tsbuild": "^2.1.25",

View File

@ -2,6 +2,12 @@ import { customElement, html, DeesElement, property, TemplateResult } from '@des
import * as domtools from '@designestate/dees-domtools';
declare global {
interface HTMLElementTagNameMap {
'dees-button': DeesButton;
}
}
@customElement('dees-button')
export class DeesButton extends DeesElement {
public static demo = () => html`<dees-button></dees-button>`

View File

@ -2,6 +2,12 @@ import { customElement, html, LitElement } from 'lit-element';
import {DeesForm} from './dees-form';
declare global {
interface HTMLElementTagNameMap {
'dees-form-submit': DeesFormSubmit;
}
}
@customElement('dees-form-submit')
export class DeesFormSubmit extends LitElement {

View File

@ -5,6 +5,12 @@ import { DeesInputText } from './dees-input-text';
import { DeesInputQuantitySelector } from './dees-input-quantityselector';
import { DeesInputRadio } from './dees-input-radio';
declare global {
interface HTMLElementTagNameMap {
'dees-form': DeesForm;
}
}
@customElement('dees-form')
export class DeesForm extends LitElement {
public static demo = () => html`

View File

@ -0,0 +1,47 @@
import { customElement, LitElement, TemplateResult, html, property } from 'lit-element';
import * as domtools from '@designestate/dees-domtools';
import './dees-windowlayer';
declare global {
interface HTMLElementTagNameMap {
'dees-updater': DeesUpdater;
}
}
@customElement('dees-updater')
export class DeesUpdater extends LitElement {
public static demo = () => html`<dees-updater ></dees-updater>`;
@property()
currentVersion: string;
@property()
updatedVersion: string;
constructor() {
super();
domtools.elementBasic.setup();
}
public render(): TemplateResult {
return html`
${domtools.elementBasic.styles}
<style>
.modalContainer {
background: #333333;
margin: auto;
height: 200px;
width: 800px;
margin-top: 80px;
border-radius: 10px;
}
</style>
<dees-windowlayer>
<div class="modalContainer"></div>
</dees-windowlayer>>
`;
}
}

View File

@ -0,0 +1,50 @@
import { customElement, LitElement, TemplateResult, html, property } from 'lit-element';
import * as domtools from '@designestate/dees-domtools';
declare global {
interface HTMLElementTagNameMap {
'dees-windowlayer': DeesWindowLayer;
}
}
@customElement('dees-windowlayer')
export class DeesWindowLayer extends LitElement {
public static demo = () => html`<dees-windowlayer></dees-windowlayer>`;
constructor() {
super();
domtools.elementBasic.setup();
}
public render(): TemplateResult {
return html`
${domtools.elementBasic.styles}
<style>
.windowOverlay {
transition: all 1s;
position: fixed;
top: 0px;
left: 0px;
height: 100vh;
width: 100vw;
background: rgba(0, 0, 0, 0.0);
backdrop-filter: blur(0px);
}
.visible {
background: rgba(0, 0, 0, 0.2);
backdrop-filter: blur(3px);
}
</style>
<div class="windowOverlay">
<slot></slot>
</div>
`;
}
firstUpdated() {
setTimeout(() => {
this.shadowRoot.querySelector('.windowOverlay').classList.add('visible');
}, 100);
}
}

View File

@ -8,3 +8,5 @@ export * from './dees-input-quantityselector';
export * from './dees-input-radio';
export * from './dees-input-text';
export * from './dees-toast';
export * from './dees-updater';
export * from './dees-windowlayer';