Compare commits
12 Commits
Author | SHA1 | Date | |
---|---|---|---|
a7e1a02b52 | |||
9f974a97f5 | |||
d80f94db29 | |||
a32b6b425b | |||
9ca286697c | |||
07dcfbe531 | |||
ac919e2cce | |||
30e1822b5b | |||
b6c67a55e5 | |||
f20977e936 | |||
8ad5906e06 | |||
4008de283c |
2700
package-lock.json
generated
2700
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
16
package.json
16
package.json
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@designestate/dees-element",
|
||||
"version": "2.0.2",
|
||||
"version": "2.0.8",
|
||||
"private": false,
|
||||
"description": "a custom element class extending lit element class",
|
||||
"main": "dist_ts/index.js",
|
||||
@ -13,19 +13,19 @@
|
||||
"build": "(tsbuild --web --allowimplicitany --skiplibcheck && tsbundle npm)"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@gitzone/tsbuild": "^2.1.56",
|
||||
"@gitzone/tsbundle": "^1.0.98",
|
||||
"@gitzone/tstest": "^1.0.68",
|
||||
"@pushrocks/tapbundle": "^5.0.2",
|
||||
"@types/node": "^17.0.21",
|
||||
"@gitzone/tsbuild": "^2.1.61",
|
||||
"@gitzone/tsbundle": "^1.0.102",
|
||||
"@gitzone/tstest": "^1.0.70",
|
||||
"@pushrocks/tapbundle": "^5.0.3",
|
||||
"@types/node": "^17.0.25",
|
||||
"tslint": "^6.1.3",
|
||||
"tslint-config-prettier": "^1.18.0"
|
||||
},
|
||||
"dependencies": {
|
||||
"@designestate/dees-domtools": "^2.0.0",
|
||||
"@designestate/dees-domtools": "^2.0.6",
|
||||
"@pushrocks/isounique": "^1.0.5",
|
||||
"@pushrocks/smartrx": "^2.0.25",
|
||||
"lit": "^2.2.1"
|
||||
"lit": "^2.2.2"
|
||||
},
|
||||
"browserslist": [
|
||||
"last 1 chrome versions"
|
||||
|
@ -63,12 +63,12 @@ export class CssManager {
|
||||
await domtoolsArg.domReady.promise;
|
||||
document.body.style.setProperty(
|
||||
newTriplet.cssVarName,
|
||||
this.goBright ? newTriplet.brightValue : newTriplet.darkValue
|
||||
domtoolsArg.themeManager.goBrightBoolean ? newTriplet.brightValue : newTriplet.darkValue
|
||||
);
|
||||
});
|
||||
returnCssVar = newTriplet.cssVarName;
|
||||
}
|
||||
return plugins.lit.unsafeCSS(`var(${returnCssVar})`);
|
||||
return plugins.lit.unsafeCSS(`var(${returnCssVar}, ${darkValueArg})`);
|
||||
}
|
||||
|
||||
public cssGridColumns = (amountOfColumnsArg: number, gapSizeArg: number): CSSResult => {
|
||||
|
@ -5,9 +5,7 @@ export { html, TemplateResult, css, unsafeCSS, render } from 'lit';
|
||||
|
||||
export { customElement } from 'lit/decorators/custom-element.js';
|
||||
|
||||
export { property } from 'lit/decorators/property.js';
|
||||
|
||||
export { state } from 'lit/decorators/state.js';
|
||||
export { property, state, query, queryAll, queryAsync } from 'lit/decorators.js';
|
||||
|
||||
// domtools exports
|
||||
import * as domtools from '@designestate/dees-domtools';
|
||||
|
Reference in New Issue
Block a user