fix(core): update

This commit is contained in:
Philipp Kunz 2022-04-19 18:49:12 +02:00
parent 61de38cb4d
commit 4cbbf941c0
3 changed files with 16 additions and 8 deletions

14
package-lock.json generated
View File

@ -9,7 +9,7 @@
"version": "2.0.9",
"license": "MIT",
"dependencies": {
"@designestate/dees-domtools": "^2.0.6",
"@designestate/dees-domtools": "^2.0.8",
"@pushrocks/isounique": "^1.0.5",
"@pushrocks/smartrx": "^2.0.25",
"lit": "^2.2.2"
@ -1819,9 +1819,9 @@
}
},
"node_modules/@designestate/dees-domtools": {
"version": "2.0.6",
"resolved": "https://verdaccio.lossless.one/@designestate%2fdees-domtools/-/dees-domtools-2.0.6.tgz",
"integrity": "sha512-3fWYAh4h6LB3poUd5HtAd17GO1EzZPi/wApAZHTcIgdDHymMe03OZExVjYQLPZtosEbFQnvctXx8dbaOeP/mUA==",
"version": "2.0.8",
"resolved": "https://verdaccio.lossless.one/@designestate%2fdees-domtools/-/dees-domtools-2.0.8.tgz",
"integrity": "sha512-FASCGhuZcdTxJ3rQO4SWChHv/6PI6Ye6OamNDEwUq4oHZf4nbOA+zseBMLrN1JAcyeUqNUVGSprf7l8r7FP/Dg==",
"license": "MIT",
"dependencies": {
"@apiglobal/typedrequest": "^2.0.3",
@ -12632,9 +12632,9 @@
}
},
"@designestate/dees-domtools": {
"version": "2.0.6",
"resolved": "https://verdaccio.lossless.one/@designestate%2fdees-domtools/-/dees-domtools-2.0.6.tgz",
"integrity": "sha512-3fWYAh4h6LB3poUd5HtAd17GO1EzZPi/wApAZHTcIgdDHymMe03OZExVjYQLPZtosEbFQnvctXx8dbaOeP/mUA==",
"version": "2.0.8",
"resolved": "https://verdaccio.lossless.one/@designestate%2fdees-domtools/-/dees-domtools-2.0.8.tgz",
"integrity": "sha512-FASCGhuZcdTxJ3rQO4SWChHv/6PI6Ye6OamNDEwUq4oHZf4nbOA+zseBMLrN1JAcyeUqNUVGSprf7l8r7FP/Dg==",
"requires": {
"@apiglobal/typedrequest": "^2.0.3",
"@designestate/dees-comms": "^1.0.22",

View File

@ -22,7 +22,7 @@
"tslint-config-prettier": "^1.18.0"
},
"dependencies": {
"@designestate/dees-domtools": "^2.0.6",
"@designestate/dees-domtools": "^2.0.8",
"@pushrocks/isounique": "^1.0.5",
"@pushrocks/smartrx": "^2.0.25",
"lit": "^2.2.2"

View File

@ -32,6 +32,14 @@ export class CssManager {
return domtools.elementBasic.staticStyles;
}
public cssForDesktop(contentArg: CSSResult) {
return unsafeCSS(domtools.breakpoints.cssForDesktop(contentArg));
}
public cssForNotebook(contentArg: CSSResult) {
return unsafeCSS(domtools.breakpoints.cssForNotebook(contentArg));
}
public cssForTablet(contentArg: CSSResult) {
return unsafeCSS(domtools.breakpoints.cssForTablet(contentArg));
}