Compare commits

...

12 Commits

Author SHA1 Message Date
b620b7393e 1.0.91 2021-09-01 21:05:55 +02:00
ab5b9511fd fix(core): update 2021-09-01 21:05:54 +02:00
da86e64056 1.0.90 2021-09-01 00:37:05 +02:00
effc331a67 fix(core): update 2021-09-01 00:37:05 +02:00
fa24708a47 1.0.89 2021-08-26 20:24:29 +02:00
31126e30eb fix(core): update 2021-08-26 20:24:28 +02:00
ef0a4eae80 1.0.88 2021-08-19 22:12:22 +02:00
e711302c28 fix(core): update 2021-08-19 22:12:22 +02:00
1cfc07fe8e 1.0.87 2021-03-28 21:51:12 +00:00
7f221c1a8c fix(core): update 2021-03-28 21:51:11 +00:00
09f927c0d4 1.0.86 2021-03-10 17:01:33 +00:00
1042e79625 fix(core): update 2021-03-10 17:01:32 +00:00
7 changed files with 17356 additions and 1045 deletions

18340
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -1,6 +1,6 @@
{
"name": "@designestate/dees-domtools",
"version": "1.0.85",
"version": "1.0.91",
"private": false,
"description": "tools to simplify complex css structures",
"main": "dist_ts/index.js",
@ -14,16 +14,16 @@
},
"devDependencies": {
"@gitzone/tsbuild": "^2.1.25",
"@gitzone/tsbundle": "^1.0.78",
"@gitzone/tsbundle": "^1.0.80",
"@gitzone/tstest": "^1.0.52",
"@pushrocks/tapbundle": "^3.2.9",
"@types/node": "^14.14.10",
"@pushrocks/tapbundle": "^3.2.14",
"@types/node": "^14.14.33",
"tslint": "^6.1.3",
"tslint-config-prettier": "^1.15.0"
},
"dependencies": {
"@apiglobal/typedrequest": "^1.0.54",
"@designestate/dees-comms": "^1.0.7",
"@apiglobal/typedrequest": "^1.0.56",
"@designestate/dees-comms": "^1.0.9",
"@pushrocks/lik": "^4.0.20",
"@pushrocks/smartdelay": "^2.0.10",
"@pushrocks/smartpromise": "^3.1.3",
@ -31,7 +31,7 @@
"@pushrocks/smartrx": "^2.0.19",
"@pushrocks/smartstate": "^1.0.21",
"@pushrocks/webrequest": "^2.0.13",
"@pushrocks/websetup": "^3.0.13",
"@pushrocks/websetup": "^3.0.15",
"@pushrocks/webstore": "^1.0.16",
"lit-element": "^2.4.0",
"sweet-scroll": "^4.0.0"

View File

@ -4,7 +4,6 @@ import { FastMap } from '@pushrocks/lik/dist_ts/lik.fastmap';
import { TViewport } from './domtools.breakpoints';
import { Scroller } from './domtools.classes.scroller';
import { delayForRandom } from '@pushrocks/smartdelay';
import { WebSetup } from '@pushrocks/websetup';
import { ThemeManager } from './domtools.classes.thememanager';
@ -81,6 +80,7 @@ export class DomTools {
});
public convenience = {
smartdelay: plugins.smartdelay,
};

View File

@ -4,7 +4,9 @@ import { DomTools } from './domtools.classes.domtools';
* changes scrollbar styles to be consistent across OS borders
*/
export const scrollBarStyles = (() => {
const returnStyles = navigator.userAgent.indexOf("Windows") !== -1 ? `
const returnStyles =
navigator.userAgent.indexOf('Windows') !== -1
? `
/* width */
::-webkit-scrollbar {
width: 8px;
@ -24,5 +26,6 @@ export const scrollBarStyles = (() => {
::-webkit-scrollbar-thumb:hover {
background: #777;
}
` : ``;
`
: ``;
})();

View File

@ -2,7 +2,20 @@ import * as plugins from './domtools.plugins';
import { DomTools } from './domtools.classes.domtools';
import { scrollBarStyles } from './domtools.css.theme';
import { html, LitElement } from 'lit-element';
import { html, LitElement, css, unsafeCSS } from 'lit-element';
export const staticStyles = css`
* {
transition: background 0.1s, color 0.1s;
box-sizing: border-box;
}
:host {
font-family: 'Roboto', sans-serif;
}
${unsafeCSS(scrollBarStyles)}
`;
/**
* styles to be included in every webcomponent

View File

@ -1,9 +1,7 @@
// designestate scope
import * as deesComms from '@designestate/dees-comms';
export {
deesComms
};
export { deesComms };
// apiglobal scope
import * as typedrequest from '@apiglobal/typedrequest';
@ -21,12 +19,22 @@ import * as websetup from '@pushrocks/websetup';
import * as webstore from '@pushrocks/webstore';
// subscope lik
import { ObjectMap } from '@pushrocks/lik/dist_ts/lik.objectmap';
import { ObjectMap } from '@pushrocks/lik/dist_ts/lik.objectmap';
const lik = {
ObjectMap
ObjectMap,
};
export { lik, smartdelay, smartpromise, smartrouter, smartrx, smartstate, webrequest, websetup, webstore };
export {
lik,
smartdelay,
smartpromise,
smartrouter,
smartrx,
smartstate,
webrequest,
websetup,
webstore,
};
// third party scope
import SweetScroll from 'sweet-scroll';

View File

@ -8,9 +8,12 @@ export { css, breakpoints, elementBasic };
export { DomTools } from './domtools.classes.domtools';
export { TypedRequest } from '@apiglobal/typedrequest';
export { IWebSetupConstructorOptions } from '@pushrocks/websetup';
export { rxjs } from '@pushrocks/smartrx';
import * as allPlugins from './domtools.plugins';
export const plugins = {
smartdelay: allPlugins.smartdelay,
smartpromise: allPlugins.smartpromise,
SweetScroll: allPlugins.SweetScroll
};