Compare commits

..

16 Commits

Author SHA1 Message Date
5622ea41e9 1.0.26 2021-09-27 12:49:32 +02:00
a0f6777930 fix(core): update 2021-09-27 12:49:31 +02:00
265e5c2264 1.0.25 2021-09-16 16:58:24 +02:00
f15e4e2948 fix(core): update 2021-09-16 16:58:23 +02:00
5b2218126c 1.0.24 2021-09-16 16:52:56 +02:00
ae39ad12a1 fix(core): update 2021-09-16 16:52:55 +02:00
dc71f41df3 1.0.23 2021-09-13 20:49:08 +02:00
41c93a0b27 fix(core): update 2021-09-13 20:49:07 +02:00
192cd76012 1.0.22 2021-09-08 23:53:22 +02:00
b25be8c85e fix(core): update 2021-09-08 23:53:22 +02:00
188690a845 1.0.21 2021-09-08 23:52:04 +02:00
85aa910046 fix(core): update 2021-09-08 23:52:04 +02:00
7b8e9ecdf3 1.0.20 2021-09-08 23:42:07 +02:00
df79f7a27c fix(core): update 2021-09-08 23:42:06 +02:00
a7527ab73c 1.0.19 2021-03-28 22:20:16 +00:00
ffba30da5a fix(core): update 2021-03-28 22:20:16 +00:00
4 changed files with 19559 additions and 3573 deletions

23093
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -1,6 +1,6 @@
{
"name": "@designestate/dees-element",
"version": "1.0.18",
"version": "1.0.26",
"private": false,
"description": "a custom element class extending lit element class",
"main": "dist_ts/index.js",
@ -12,19 +12,19 @@
"build": "(tsbuild --web)"
},
"devDependencies": {
"@gitzone/tsbuild": "^2.1.25",
"@gitzone/tsbundle": "^1.0.80",
"@gitzone/tstest": "^1.0.44",
"@gitzone/tsbuild": "^2.1.27",
"@gitzone/tsbundle": "^1.0.87",
"@gitzone/tstest": "^1.0.57",
"@pushrocks/tapbundle": "^3.2.14",
"@types/node": "^14.14.37",
"@types/node": "^16.10.1",
"tslint": "^6.1.3",
"tslint-config-prettier": "^1.15.0"
"tslint-config-prettier": "^1.18.0"
},
"dependencies": {
"@designestate/dees-domtools": "^1.0.87",
"@designestate/dees-domtools": "^1.0.96",
"@pushrocks/isounique": "^1.0.4",
"@pushrocks/smartrx": "^2.0.19",
"lit-element": "^2.4.0"
"lit-element": "^3.0.0"
},
"browserslist": [
"last 1 chrome versions"

View File

@ -1,4 +1,4 @@
import { CSSResult } from 'lit-element';
import { CSSResult, unsafeCSS } from 'lit-element';
import * as plugins from './dees-element.plugins';
import * as domtools from '@designestate/dees-domtools';
@ -32,6 +32,18 @@ export class CssManager {
return domtools.elementBasic.staticStyles;
}
public cssForTablet(contentArg) {
return unsafeCSS(domtools.breakpoints.cssForTablet(contentArg));
};
public cssForPhablet(contentArg) {
return unsafeCSS(domtools.breakpoints.cssForPhablet(contentArg));
}
public cssForPhone(contentArg) {
return unsafeCSS(domtools.breakpoints.cssForPhone(contentArg));
};
public bdTheme(brightValueArg: string, darkValueArg: string): CSSResult {
let returnCssVar: string;
const existingTriplet = this.bdVarTripletStore.find(

View File

@ -4,13 +4,18 @@ import * as plugins from './dees-element.plugins';
export {
customElement,
property,
internalProperty,
html,
TemplateResult,
css,
unsafeCSS
unsafeCSS,
state
} from 'lit-element';
import * as domtools from '@designestate/dees-domtools';
export {
domtools
}
export { DeesElement } from './dees-element.classes.dees-element';
export const cssManager = new CssManager();