Compare commits

..

8 Commits

Author SHA1 Message Date
63463a751c 1.0.53 2020-09-16 15:10:53 +00:00
a01f5a5b8a fix(core): update 2020-09-16 15:10:52 +00:00
bb1ad4e037 1.0.52 2020-09-16 13:57:16 +00:00
eb871161f9 fix(core): update 2020-09-16 13:57:16 +00:00
090e5b4d42 1.0.51 2020-09-16 11:29:27 +00:00
8168dd1a0c fix(core): update 2020-09-16 11:29:26 +00:00
de15bc0d1c 1.0.50 2020-09-16 10:06:23 +00:00
13fa3d655e fix(core): update 2020-09-16 10:06:22 +00:00
5 changed files with 21 additions and 5 deletions

15
package-lock.json generated
View File

@ -1,6 +1,6 @@
{
"name": "@designestate/dees-domtools",
"version": "1.0.49",
"version": "1.0.53",
"lockfileVersion": 1,
"requires": true,
"dependencies": {
@ -2183,6 +2183,14 @@
"@tsclass/tsclass": "^3.0.18"
}
},
"@pushrocks/webstore": {
"version": "1.0.8",
"resolved": "https://verdaccio.lossless.one/@pushrocks%2fwebstore/-/webstore-1.0.8.tgz",
"integrity": "sha512-KxxTO8+GTZWQrXppx3DLGbcEzJtLL+JO0lalA/57J8+NSvYm5+e1BZoUbcC4HLqHtLQAV9kW3XIvpyWVMMqOng==",
"requires": {
"idb": "^5.0.4"
}
},
"@rollup/plugin-commonjs": {
"version": "14.0.0",
"resolved": "https://verdaccio.lossless.one/@rollup%2fplugin-commonjs/-/plugin-commonjs-14.0.0.tgz",
@ -6655,6 +6663,11 @@
"integrity": "sha1-Bupvg2ead0njhs/h/oEq5dsiPe0=",
"dev": true
},
"idb": {
"version": "5.0.6",
"resolved": "https://verdaccio.lossless.one/idb/-/idb-5.0.6.tgz",
"integrity": "sha512-/PFvOWPzRcEPmlDt5jEvzVZVs0wyd/EvGvkDIcbBpGuMMLQKrTPG0TxvE2UJtgZtCQCmOtM2QD7yQJBVEjKGOw=="
},
"ieee754": {
"version": "1.1.13",
"resolved": "https://verdaccio.lossless.one/ieee754/-/ieee754-1.1.13.tgz",

View File

@ -1,6 +1,6 @@
{
"name": "@designestate/dees-domtools",
"version": "1.0.49",
"version": "1.0.53",
"private": false,
"description": "tools to simplify complex css structures",
"main": "dist_ts/index.js",
@ -30,6 +30,7 @@
"@pushrocks/smartstate": "^1.0.17",
"@pushrocks/webrequest": "^2.0.10",
"@pushrocks/websetup": "^2.0.18",
"@pushrocks/webstore": "^1.0.8",
"lit-element": "^2.4.0",
"sweet-scroll": "^4.0.0"
},

View File

@ -43,7 +43,7 @@ export class DomTools {
/**
* if you can, use the static asysnc .setupDomTools() function instead since it is safer to use.
*/
public static getGlobalDomToolsSync() {
public static getGlobalDomToolsSync(): DomTools {
const globalDomTools: DomTools = globalThis.deesDomTools;
if (!globalDomTools) {
throw new Error('You tried to access domtools synchronously too early');

View File

@ -46,7 +46,8 @@ export const setup = async () => {
// Roboto Font
domTools.setGlobalStyles(`
@import url('https://fonts.googleapis.com/css?family=Roboto:100,300,400');
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@100;300;400');
@import url('https://fonts.googleapis.com/css2?family=Roboto+Mono:wght@100;300;400');
`);
// scrollbars

View File

@ -10,8 +10,9 @@ import * as smartrouter from '@pushrocks/smartrouter';
import * as smartstate from '@pushrocks/smartstate';
import * as webrequest from '@pushrocks/webrequest';
import * as websetup from '@pushrocks/websetup';
import * as webstore from '@pushrocks/webstore';
export { smartdelay, smartpromise, smartrouter, smartstate, webrequest, websetup };
export { smartdelay, smartpromise, smartrouter, smartstate, webrequest, websetup, webstore };
// third party scope
import SweetScroll from 'sweet-scroll';