fix(core): update

This commit is contained in:
Philipp Kunz 2020-12-09 14:06:24 +00:00
parent 2f9711a094
commit 3a2f3500fd
3 changed files with 75 additions and 75 deletions

130
package-lock.json generated
View File

@ -1135,43 +1135,45 @@
} }
}, },
"@designestate/dees-domtools": { "@designestate/dees-domtools": {
"version": "1.0.79", "version": "1.0.84",
"resolved": "https://verdaccio.lossless.one/@designestate%2fdees-domtools/-/dees-domtools-1.0.79.tgz", "resolved": "https://verdaccio.lossless.one/@designestate%2fdees-domtools/-/dees-domtools-1.0.84.tgz",
"integrity": "sha512-nPHJT8fH1UBx2Xwz4MRisgMI9O2l7j3swNfmkIbqIwP60tVcAYxy8+fy0Lj+M9JvtmA5btkikRHgmFNlFcUPsA==", "integrity": "sha512-bzGyuuxiiovuSW7lK877TolHFz7HV7F1FAENvqLXgA9bv4JAHDMQoIywUoJKHiNbCHK8UpnnAXy+PDmGixsMkw==",
"requires": { "requires": {
"@apiglobal/typedrequest": "^1.0.54", "@apiglobal/typedrequest": "^1.0.54",
"@designestate/dees-comms": "^1.0.7", "@designestate/dees-comms": "^1.0.7",
"@pushrocks/lik": "^4.0.20", "@pushrocks/lik": "^4.0.20",
"@pushrocks/smartdelay": "^2.0.10", "@pushrocks/smartdelay": "^2.0.10",
"@pushrocks/smartpromise": "^3.1.3", "@pushrocks/smartpromise": "^3.1.3",
"@pushrocks/smartrouter": "^1.0.6", "@pushrocks/smartrouter": "^1.0.7",
"@pushrocks/smartrx": "^2.0.19",
"@pushrocks/smartstate": "^1.0.21", "@pushrocks/smartstate": "^1.0.21",
"@pushrocks/webrequest": "^2.0.13", "@pushrocks/webrequest": "^2.0.13",
"@pushrocks/websetup": "^3.0.11", "@pushrocks/websetup": "^3.0.13",
"@pushrocks/webstore": "^1.0.16", "@pushrocks/webstore": "^1.0.16",
"lit-element": "^2.4.0", "lit-element": "^2.4.0",
"sweet-scroll": "^4.0.0" "sweet-scroll": "^4.0.0"
} }
}, },
"@designestate/dees-element": { "@designestate/dees-element": {
"version": "1.0.8", "version": "1.0.10",
"resolved": "https://verdaccio.lossless.one/@designestate%2fdees-element/-/dees-element-1.0.8.tgz", "resolved": "https://verdaccio.lossless.one/@designestate%2fdees-element/-/dees-element-1.0.10.tgz",
"integrity": "sha512-JNnA/WzdhvAKQOSvDf9+gUblQqgIaMx6Clguuj0qdeaG0mb6EEBoG8olTbQ4ojtwnWAi4bVnY9T66dYfAumv/A==", "integrity": "sha512-aYVFBnXOn5oLno4A9eAAtBg90xTTiGI7ys7tYJ1DlGVxPFi3HJcUAMZskm6KCVaTxyhcSl2RQHpp4UqeFDtCQw==",
"requires": { "requires": {
"@designestate/dees-domtools": "^1.0.70", "@designestate/dees-domtools": "^1.0.80",
"@pushrocks/smartrx": "^2.0.19",
"lit-element": "^2.4.0" "lit-element": "^2.4.0"
} }
}, },
"@designestate/dees-wcctools": { "@designestate/dees-wcctools": {
"version": "1.0.49", "version": "1.0.52",
"resolved": "https://verdaccio.lossless.one/@designestate%2fdees-wcctools/-/dees-wcctools-1.0.49.tgz", "resolved": "https://verdaccio.lossless.one/@designestate%2fdees-wcctools/-/dees-wcctools-1.0.52.tgz",
"integrity": "sha512-CO728tCPZ4vSbccuLibjvdgpO9yF7EnJ2hvFnJTcPM5oKSyIXZmUy3Iw3bJZGZgPqe2TSBNNzOF9la4TZRPc6g==", "integrity": "sha512-Kg5skpyYLlX5gLqMyS/ITJMY5Cjwawxhu5TxE8LAw2QkJDZFM3MqfDmB4M+gNFNIXyQ734NxsupsG4j8HDw0Fw==",
"requires": { "requires": {
"@designestate/dees-domtools": "^1.0.74", "@designestate/dees-domtools": "^1.0.81",
"@designestate/dees-element": "^1.0.6", "@designestate/dees-element": "^1.0.9",
"@gitzone/tsrun": "^1.2.12", "@gitzone/tsrun": "^1.2.12",
"@pushrocks/smartdelay": "^2.0.10", "@pushrocks/smartdelay": "^2.0.10",
"@pushrocks/smartexpress": "^3.0.97", "@pushrocks/smartexpress": "^3.0.98",
"lit-element": "^2.4.0", "lit-element": "^2.4.0",
"lit-html": "^1.3.0", "lit-html": "^1.3.0",
"typescript": "^4.1.2" "typescript": "^4.1.2"
@ -2412,9 +2414,9 @@
} }
}, },
"@pushrocks/websetup": { "@pushrocks/websetup": {
"version": "3.0.11", "version": "3.0.15",
"resolved": "https://verdaccio.lossless.one/@pushrocks%2fwebsetup/-/websetup-3.0.11.tgz", "resolved": "https://verdaccio.lossless.one/@pushrocks%2fwebsetup/-/websetup-3.0.15.tgz",
"integrity": "sha512-5nQqrQSiP5/WUv5pLsmjYAkfGosi2DqEH1mNrliOTr6iA8syGQ7bOQk4JY7jApjk64wO5L7l8qBGvKJuZ+p9Dw==", "integrity": "sha512-Ag4QQ7vMtsj1W3C7ED+8YA9xcdEh/7S6pEQNz/Mb6ZbL2JrQOgQRQZp1JSYMJOYaRnb9wG6Z/QZmysPWlAQBxw==",
"requires": { "requires": {
"@pushrocks/smartdelay": "^2.0.10", "@pushrocks/smartdelay": "^2.0.10",
"@pushrocks/smartpromise": "^3.1.3", "@pushrocks/smartpromise": "^3.1.3",
@ -2568,9 +2570,9 @@
} }
}, },
"@types/connect": { "@types/connect": {
"version": "3.4.33", "version": "3.4.34",
"resolved": "https://verdaccio.lossless.one/@types%2fconnect/-/connect-3.4.33.tgz", "resolved": "https://verdaccio.lossless.one/@types%2fconnect/-/connect-3.4.34.tgz",
"integrity": "sha512-2+FrkXY4zllzTNfJth7jOqEHC+enpLeGslEhpnTAkg21GkRrWV4SsAtqchtT4YS9/nODBU2/ZfsBY2X4J/dX7A==", "integrity": "sha512-ePPA/JuI+X0vb+gSWlPKOY0NdNAie/rPUqX2GUPpbZwiKTkSPhjXWuee47E4MtE54QVzGCQMQkAL6JhV2E1+cQ==",
"requires": { "requires": {
"@types/node": "*" "@types/node": "*"
} }
@ -2611,9 +2613,9 @@
} }
}, },
"@types/express-serve-static-core": { "@types/express-serve-static-core": {
"version": "4.17.14", "version": "4.17.15",
"resolved": "https://verdaccio.lossless.one/@types%2fexpress-serve-static-core/-/express-serve-static-core-4.17.14.tgz", "resolved": "https://verdaccio.lossless.one/@types%2fexpress-serve-static-core/-/express-serve-static-core-4.17.15.tgz",
"integrity": "sha512-uFTLwu94TfUFMToXNgRZikwPuZdOtDgs3syBtAIr/OXorL1kJqUJT9qCLnRZ5KBOWfZQikQ2xKgR2tnDj1OgDA==", "integrity": "sha512-pb71P0BrBAx7cQE+/7QnA1HTQUkdBKMlkPY7lHUMn0YvPJkL2UA+KW3BdWQ309IT+i9En/qm45ZxpjIcpgEhNQ==",
"requires": { "requires": {
"@types/node": "*", "@types/node": "*",
"@types/qs": "*", "@types/qs": "*",
@ -2690,9 +2692,9 @@
"integrity": "sha512-tHq6qdbT9U1IRSGf14CL0pUlULksvY9OZ+5eEgl1N7t+OA3tGvNpxJCzuKQlsNgCVwbAs670L1vcVQi8j9HjnA==" "integrity": "sha512-tHq6qdbT9U1IRSGf14CL0pUlULksvY9OZ+5eEgl1N7t+OA3tGvNpxJCzuKQlsNgCVwbAs670L1vcVQi8j9HjnA=="
}, },
"@types/node": { "@types/node": {
"version": "14.14.10", "version": "14.14.11",
"resolved": "https://verdaccio.lossless.one/@types%2fnode/-/node-14.14.10.tgz", "resolved": "https://verdaccio.lossless.one/@types%2fnode/-/node-14.14.11.tgz",
"integrity": "sha512-J32dgx2hw8vXrSbu4ZlVhn1Nm3GbeCFNw2FWL8S5QKucHGY0cyNwjdQdO+KMBZ4wpmC7KhLCiNsdk1RFRIYUQQ==" "integrity": "sha512-BJ97wAUuU3NUiUCp44xzUFquQEvnk1wu7q4CMEUYKJWjdkr0YWYDsm4RFtAvxYsNjLsKcrFt6RvK8r+mnzMbEQ=="
}, },
"@types/parcel-bundler": { "@types/parcel-bundler": {
"version": "1.12.1", "version": "1.12.1",
@ -2779,9 +2781,9 @@
"dev": true "dev": true
}, },
"@types/yargs": { "@types/yargs": {
"version": "15.0.10", "version": "15.0.11",
"resolved": "https://verdaccio.lossless.one/@types%2fyargs/-/yargs-15.0.10.tgz", "resolved": "https://verdaccio.lossless.one/@types%2fyargs/-/yargs-15.0.11.tgz",
"integrity": "sha512-z8PNtlhrj7eJNLmrAivM7rjBESG6JwC5xP3RVk12i/8HVP7Xnx/sEmERnRImyEuUaJfO942X0qMOYsoupaJbZQ==", "integrity": "sha512-jfcNBxHFYJ4nPIacsi3woz1+kvUO6s1CyeEhtnDHBjHUMNj5UlW2GynmnSgiJJEdNg9yW5C8lfoNRZrHGv5EqA==",
"dev": true, "dev": true,
"requires": { "requires": {
"@types/yargs-parser": "*" "@types/yargs-parser": "*"
@ -3483,16 +3485,16 @@
} }
}, },
"browserslist": { "browserslist": {
"version": "4.14.7", "version": "4.15.0",
"resolved": "https://verdaccio.lossless.one/browserslist/-/browserslist-4.14.7.tgz", "resolved": "https://verdaccio.lossless.one/browserslist/-/browserslist-4.15.0.tgz",
"integrity": "sha512-BSVRLCeG3Xt/j/1cCGj1019Wbty0H+Yvu2AOuZSuoaUWn3RatbL33Cxk+Q4jRMRAbOm0p7SLravLjpnT6s0vzQ==", "integrity": "sha512-IJ1iysdMkGmjjYeRlDU8PQejVwxvVO5QOfXH7ylW31GO6LwNRSmm/SgRXtNsEXqMLl2e+2H5eEJ7sfynF8TCaQ==",
"dev": true, "dev": true,
"requires": { "requires": {
"caniuse-lite": "^1.0.30001157", "caniuse-lite": "^1.0.30001164",
"colorette": "^1.2.1", "colorette": "^1.2.1",
"electron-to-chromium": "^1.3.591", "electron-to-chromium": "^1.3.612",
"escalade": "^3.1.1", "escalade": "^3.1.1",
"node-releases": "^1.1.66" "node-releases": "^1.1.67"
} }
}, },
"buffer": { "buffer": {
@ -3631,9 +3633,9 @@
} }
}, },
"caniuse-lite": { "caniuse-lite": {
"version": "1.0.30001164", "version": "1.0.30001165",
"resolved": "https://verdaccio.lossless.one/caniuse-lite/-/caniuse-lite-1.0.30001164.tgz", "resolved": "https://verdaccio.lossless.one/caniuse-lite/-/caniuse-lite-1.0.30001165.tgz",
"integrity": "sha512-G+A/tkf4bu0dSp9+duNiXc7bGds35DioCyC6vgK2m/rjA4Krpy5WeZgZyfH2f0wj2kI6yAWWucyap6oOwmY1mg==", "integrity": "sha512-8cEsSMwXfx7lWSUMA2s08z9dIgsnR5NAqjXP23stdsU3AUWkCr/rr4s4OFtHXn5XXr6+7kam3QFVoYyXNPdJPA==",
"dev": true "dev": true
}, },
"caseless": { "caseless": {
@ -4047,12 +4049,12 @@
"dev": true "dev": true
}, },
"core-js-compat": { "core-js-compat": {
"version": "3.8.0", "version": "3.8.1",
"resolved": "https://verdaccio.lossless.one/core-js-compat/-/core-js-compat-3.8.0.tgz", "resolved": "https://verdaccio.lossless.one/core-js-compat/-/core-js-compat-3.8.1.tgz",
"integrity": "sha512-o9QKelQSxQMYWHXc/Gc4L8bx/4F7TTraE5rhuN8I7mKBt5dBIUpXpIR3omv70ebr8ST5R3PqbDQr+ZI3+Tt1FQ==", "integrity": "sha512-a16TLmy9NVD1rkjUGbwuyWkiDoN0FDpAwrfLONvHFQx0D9k7J9y0srwMT8QP/Z6HE3MIFaVynEeYwZwPX1o5RQ==",
"dev": true, "dev": true,
"requires": { "requires": {
"browserslist": "^4.14.7", "browserslist": "^4.15.0",
"semver": "7.0.0" "semver": "7.0.0"
}, },
"dependencies": { "dependencies": {
@ -4492,9 +4494,9 @@
} }
}, },
"dayjs": { "dayjs": {
"version": "1.9.6", "version": "1.9.7",
"resolved": "https://verdaccio.lossless.one/dayjs/-/dayjs-1.9.6.tgz", "resolved": "https://verdaccio.lossless.one/dayjs/-/dayjs-1.9.7.tgz",
"integrity": "sha512-HngNLtPEBWRo8EFVmHFmSXAjtCX8rGNqeXQI0Gh7wCTSqwaKgPIDqu9m07wABVopNwzvOeCb+2711vQhDlcIXw==" "integrity": "sha512-IC877KBdMhBrCfBfJXHQlo0G8keZ0Opy7YIIq5QKtUbCuHMzim8S4PyiVK4YmihI3iOF9lhfUBW4AQWHTR5WHA=="
}, },
"deasync": { "deasync": {
"version": "0.1.21", "version": "0.1.21",
@ -4683,9 +4685,9 @@
}, },
"dependencies": { "dependencies": {
"domelementtype": { "domelementtype": {
"version": "2.0.2", "version": "2.1.0",
"resolved": "https://verdaccio.lossless.one/domelementtype/-/domelementtype-2.0.2.tgz", "resolved": "https://verdaccio.lossless.one/domelementtype/-/domelementtype-2.1.0.tgz",
"integrity": "sha512-wFwTwCVebUrMgGeAwRL/NhZtHAUyT9n9yg4IMDwf10+6iCMxSkVq9MGCVEH+QZWo1nNidy8kNvwmv4zWHDTqvA==", "integrity": "sha512-LsTgx/L5VpD+Q8lmsXSHW2WpA+eBlZ9HPf3erD1IoPF00/3JKHZ3BknUVA2QGDNu69ZNmyFmCWBSO45XjYKC5w==",
"dev": true "dev": true
} }
} }
@ -4808,9 +4810,9 @@
"integrity": "sha1-WQxhFWsK4vTwJVcyoViyZrxWsh0=" "integrity": "sha1-WQxhFWsK4vTwJVcyoViyZrxWsh0="
}, },
"electron-to-chromium": { "electron-to-chromium": {
"version": "1.3.612", "version": "1.3.620",
"resolved": "https://verdaccio.lossless.one/electron-to-chromium/-/electron-to-chromium-1.3.612.tgz", "resolved": "https://verdaccio.lossless.one/electron-to-chromium/-/electron-to-chromium-1.3.620.tgz",
"integrity": "sha512-CdrdX1B6mQqxfw+51MPWB5qA6TKWjza9f5voBtUlRfEZEwZiFaxJLrhFI8zHE9SBAuGt4h84rQU6Ho9Bauo1LA==", "integrity": "sha512-YbgWXUR2Mu+Fp6rm3GZ5YJdNo8SgZKLUTNSl2PNvdOcM8OIz07jRJnRkIaV9vdszFv9UUuGChh19w9qSuoLJgw==",
"dev": true "dev": true
}, },
"elliptic": { "elliptic": {
@ -5257,9 +5259,9 @@
"dev": true "dev": true
}, },
"fast-xml-parser": { "fast-xml-parser": {
"version": "3.17.4", "version": "3.17.5",
"resolved": "https://verdaccio.lossless.one/fast-xml-parser/-/fast-xml-parser-3.17.4.tgz", "resolved": "https://verdaccio.lossless.one/fast-xml-parser/-/fast-xml-parser-3.17.5.tgz",
"integrity": "sha512-qudnQuyYBgnvzf5Lj/yxMcf4L9NcVWihXJg7CiU1L+oUCq8MUnFEfH2/nXR/W5uq+yvUN1h7z6s7vs2v1WkL1A==" "integrity": "sha512-lEvThd1Xq+CCylf1n+05bUZCDZjTufaaaqpxM3JZ+4iDqtlG+d/oKgtMmg9GEMOuzBgUoalIzFOaClht9YiGJQ=="
}, },
"fastparse": { "fastparse": {
"version": "1.1.2", "version": "1.1.2",
@ -6621,9 +6623,9 @@
} }
}, },
"is-negative-zero": { "is-negative-zero": {
"version": "2.0.0", "version": "2.0.1",
"resolved": "https://verdaccio.lossless.one/is-negative-zero/-/is-negative-zero-2.0.0.tgz", "resolved": "https://verdaccio.lossless.one/is-negative-zero/-/is-negative-zero-2.0.1.tgz",
"integrity": "sha1-lVOxIbD6wohp2p7UWeIMdUN4hGE=", "integrity": "sha512-2z6JzQvZRa9A2Y7xC6dQQm4FSTSTNWjKIYYTt4246eMTJmIo0Q+ZyOsU66X8lxK1AbB92dFeglPLrhwpeRKO6w==",
"dev": true "dev": true
}, },
"is-number": { "is-number": {
@ -6803,9 +6805,9 @@
"dev": true "dev": true
}, },
"js-yaml": { "js-yaml": {
"version": "3.14.0", "version": "3.14.1",
"resolved": "https://verdaccio.lossless.one/js-yaml/-/js-yaml-3.14.0.tgz", "resolved": "https://verdaccio.lossless.one/js-yaml/-/js-yaml-3.14.1.tgz",
"integrity": "sha512-/4IbIeHcD9VMHFqDR/gQ7EdZdLimOvW2DdcxFjdyyZ9NsbS+ccrXqVWDtab/lRl5AlUqmpBx8EhPaWR+OtY17A==", "integrity": "sha512-okMH7OXXJ7YrN9Ok3/SXrnu4iX9yOk+25nqX4imS2npuvTYDmo/QEZoqwZkYaIDk3jVvBOTOIEgEhaLOynBS9g==",
"requires": { "requires": {
"argparse": "^1.0.7", "argparse": "^1.0.7",
"esprima": "^4.0.0" "esprima": "^4.0.0"
@ -9016,9 +9018,9 @@
} }
}, },
"rollup": { "rollup": {
"version": "2.34.0", "version": "2.34.2",
"resolved": "https://verdaccio.lossless.one/rollup/-/rollup-2.34.0.tgz", "resolved": "https://verdaccio.lossless.one/rollup/-/rollup-2.34.2.tgz",
"integrity": "sha512-dW5iLvttZzdVehjEuNJ1bWvuMEJjOWGmnuFS82WeKHTGXDkRHQeq/ExdifkSyJv9dLcR86ysKRmrIDyR6O0X8g==", "integrity": "sha512-mvtQLqu3cNeoctS+kZ09iOPxrc1P1/Bt1z15enuQ5feyKOdM3MJAVFjjsygurDpSWn530xB4AlA83TWIzRstXA==",
"dev": true, "dev": true,
"requires": { "requires": {
"fsevents": "~2.1.2" "fsevents": "~2.1.2"

View File

@ -13,13 +13,13 @@
"author": "Lossless GmbH", "author": "Lossless GmbH",
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"@designestate/dees-domtools": "^1.0.79", "@designestate/dees-domtools": "^1.0.84",
"@designestate/dees-wcctools": "^1.0.49", "@designestate/dees-element": "^1.0.10",
"@designestate/dees-wcctools": "^1.0.52",
"@fortawesome/fontawesome-svg-core": "^1.2.32", "@fortawesome/fontawesome-svg-core": "^1.2.32",
"@fortawesome/free-brands-svg-icons": "^5.15.1", "@fortawesome/free-brands-svg-icons": "^5.15.1",
"@fortawesome/free-regular-svg-icons": "^5.15.1", "@fortawesome/free-regular-svg-icons": "^5.15.1",
"@fortawesome/free-solid-svg-icons": "^5.15.1", "@fortawesome/free-solid-svg-icons": "^5.15.1",
"lit-element": "^2.4.0",
"typescript": "^4.1.2" "typescript": "^4.1.2"
}, },
"devDependencies": { "devDependencies": {

View File

@ -1,9 +1,11 @@
import { customElement, html, LitElement, property, TemplateResult } from 'lit-element'; import { customElement, html, DeesElement, property, TemplateResult } from '@designestate/dees-element';
import * as domtools from '@designestate/dees-domtools'; import * as domtools from '@designestate/dees-domtools';
@customElement('dees-button') @customElement('dees-button')
export class DeesButton extends LitElement { export class DeesButton extends DeesElement {
public static demo = () => html`<dees-button></dees-button>`
@property() @property()
text: string; text: string;
@ -13,9 +15,6 @@ export class DeesButton extends LitElement {
@property() @property()
disabled = false; disabled = false;
@property()
isQuote = false;
@property() @property()
isHidden = false; isHidden = false;
@ -43,15 +42,14 @@ export class DeesButton extends LitElement {
font-size: 14px; font-size: 14px;
display: block; display: block;
text-align: center; text-align: center;
background: #333; background: ${this.goBright ? '#eee' : '#333'};
border-top: 1px solid #444; border-top: 1px solid #444;
border-radius: 2px; border-radius: 2px;
line-height: 40px; line-height: 40px;
padding: 0px 10px; padding: 0px 10px;
min-width: 100px; min-width: 100px;
color: ${this.isQuote ? '#ffffff' : '#333333' };
user-select: none; user-select: none;
color: #ccc; color: ${this.goBright ? '#333' : ' #ccc'};
} }
.button:hover { .button:hover {