fix(core): update

This commit is contained in:
Philipp Kunz 2022-04-14 16:42:51 +02:00
parent 2d5944cdd7
commit a7532c8816
3 changed files with 11 additions and 11 deletions

14
package-lock.json generated
View File

@ -20,7 +20,7 @@
"@pushrocks/webrequest": "^3.0.3", "@pushrocks/webrequest": "^3.0.3",
"@pushrocks/websetup": "^3.0.16", "@pushrocks/websetup": "^3.0.16",
"@pushrocks/webstore": "^1.0.18", "@pushrocks/webstore": "^1.0.18",
"lit": "^2.2.1", "lit": "^2.2.2",
"sweet-scroll": "^4.0.0" "sweet-scroll": "^4.0.0"
}, },
"devDependencies": { "devDependencies": {
@ -7980,9 +7980,9 @@
"license": "MIT" "license": "MIT"
}, },
"node_modules/lit": { "node_modules/lit": {
"version": "2.2.1", "version": "2.2.2",
"resolved": "https://verdaccio.lossless.one/lit/-/lit-2.2.1.tgz", "resolved": "https://verdaccio.lossless.one/lit/-/lit-2.2.2.tgz",
"integrity": "sha512-dSe++R50JqrvNGXmI9OE13de1z5U/Y3J2dTm/9GC86vedI8ILoR8ZGnxfThFpvQ9m0lR0qRnIR4IiKj/jDCfYw==", "integrity": "sha512-eN3+2QRHn/erxYB88AXiiRgQA6RltE9MhzySCwX+ACOxA/MLWN3VdXvcbZD9PN09zmUwlgzDvW3T84YWj2Sa0A==",
"license": "BSD-3-Clause", "license": "BSD-3-Clause",
"dependencies": { "dependencies": {
"@lit/reactive-element": "^1.3.0", "@lit/reactive-element": "^1.3.0",
@ -17035,9 +17035,9 @@
"dev": true "dev": true
}, },
"lit": { "lit": {
"version": "2.2.1", "version": "2.2.2",
"resolved": "https://verdaccio.lossless.one/lit/-/lit-2.2.1.tgz", "resolved": "https://verdaccio.lossless.one/lit/-/lit-2.2.2.tgz",
"integrity": "sha512-dSe++R50JqrvNGXmI9OE13de1z5U/Y3J2dTm/9GC86vedI8ILoR8ZGnxfThFpvQ9m0lR0qRnIR4IiKj/jDCfYw==", "integrity": "sha512-eN3+2QRHn/erxYB88AXiiRgQA6RltE9MhzySCwX+ACOxA/MLWN3VdXvcbZD9PN09zmUwlgzDvW3T84YWj2Sa0A==",
"requires": { "requires": {
"@lit/reactive-element": "^1.3.0", "@lit/reactive-element": "^1.3.0",
"lit-element": "^3.2.0", "lit-element": "^3.2.0",

View File

@ -34,7 +34,7 @@
"@pushrocks/webrequest": "^3.0.3", "@pushrocks/webrequest": "^3.0.3",
"@pushrocks/websetup": "^3.0.16", "@pushrocks/websetup": "^3.0.16",
"@pushrocks/webstore": "^1.0.18", "@pushrocks/webstore": "^1.0.18",
"lit": "^2.2.1", "lit": "^2.2.2",
"sweet-scroll": "^4.0.0" "sweet-scroll": "^4.0.0"
}, },
"files": [ "files": [

View File

@ -11,7 +11,7 @@ export type TViewport = 'native' | 'desktop' | 'tablet' | 'phablet' | 'phone';
export const cssForTablet = (cssArg: CSSResult) => { export const cssForTablet = (cssArg: CSSResult) => {
return unsafeCSS(` return unsafeCSS(`
@container wccToolsViewport size(max-width: ${tablet}px) { @container wccToolsViewport (max-width: ${tablet}px) {
${cssArg.cssText} ${cssArg.cssText}
} }
@media (max-width: ${tablet}px) { @media (max-width: ${tablet}px) {
@ -22,7 +22,7 @@ export const cssForTablet = (cssArg: CSSResult) => {
export const cssForPhablet = (cssArg: CSSResult) => { export const cssForPhablet = (cssArg: CSSResult) => {
return unsafeCSS(` return unsafeCSS(`
@container wccToolsViewport size(max-width: ${phablet}px) { @container wccToolsViewport (max-width: ${phablet}px) {
${cssArg.cssText} ${cssArg.cssText}
} }
@media (max-width: ${phablet}px) { @media (max-width: ${phablet}px) {
@ -33,7 +33,7 @@ export const cssForPhablet = (cssArg: CSSResult) => {
export const cssForPhone = (cssArg: CSSResult) => { export const cssForPhone = (cssArg: CSSResult) => {
return unsafeCSS(` return unsafeCSS(`
@container wccToolsViewport size(max-width: ${phone}px) { @container wccToolsViewport (max-width: ${phone}px) {
${cssArg.cssText} ${cssArg.cssText}
} }
@media (max-width: ${phone}px) { @media (max-width: ${phone}px) {