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

View File

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

View File

@ -32,6 +32,14 @@ export class CssManager {
return domtools.elementBasic.staticStyles; 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) { public cssForTablet(contentArg: CSSResult) {
return unsafeCSS(domtools.breakpoints.cssForTablet(contentArg)); return unsafeCSS(domtools.breakpoints.cssForTablet(contentArg));
} }