@designestate/dees-domtools
Advanced tools
Comparing version 1.0.48 to 1.0.49
@@ -26,3 +26,2 @@ "use strict"; | ||
const lik_fastmap_1 = require("@pushrocks/lik/dist_ts/lik.fastmap"); | ||
const domtools_css_theme_1 = require("./domtools.css.theme"); | ||
class DomTools { | ||
@@ -76,4 +75,2 @@ constructor() { | ||
domToolsInstance = globalThis.deesDomTools; | ||
// lets setup theming | ||
domtools_css_theme_1.setupGlobalTheme(domToolsInstance); | ||
// lets make sure the dom is ready | ||
@@ -143,2 +140,2 @@ const readyStateChangedFunc = () => { | ||
exports.DomTools = DomTools; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZG9tdG9vbHMuY2xhc3Nlcy5kb210b29scy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uL3RzL2RvbXRvb2xzLmNsYXNzZXMuZG9tdG9vbHMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7OztBQUFBLDREQUE4QztBQUM5Qyx3RUFBaUU7QUFDakUsb0VBQTZEO0FBSzdELDZEQUF3RDtBQU14RCxNQUFhLFFBQVE7SUFtRm5CO1FBdkNBLFdBQVc7UUFDWCxXQUFXO1FBQ1gsV0FBVztRQUNYLFdBQVc7UUFDSixhQUFRLEdBR1g7WUFDRixXQUFXLEVBQUUsSUFBSTtZQUNqQixXQUFXLEVBQUUsSUFBSTtTQUNsQixDQUFDO1FBRUssZUFBVSxHQUFHLElBQUksT0FBTyxDQUFDLFVBQVUsQ0FBQyxVQUFVLEVBQUUsQ0FBQztRQUNqRCxzQkFBaUIsR0FBRyxJQUFJLENBQUMsVUFBVSxDQUFDLFlBQVksQ0FBaUIsVUFBVSxFQUFFO1lBQ2xGLGVBQWUsRUFBRSxRQUFRO1NBQzFCLENBQUMsQ0FBQztRQUVJLFdBQU0sR0FBRyxJQUFJLE9BQU8sQ0FBQyxXQUFXL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UFBSSxDQUFDLGlCQUFpQixDQUFDLGNBQWMsQ0FBQyxJQUFJLENBQUMsd0JBQXdCLEVBQUUsY0FBYyxDQUFDLENBQUM7SUFDdkYsQ0FBQztJQUVNLEtBQUssQ0FBQyxjQUFjLENBQUMsVUFBd0Q7UUFDbEYsTUFBTSxRQUFRLEdBQUcsSUFBSSxPQUFPLENBQUMsUUFBUSxDQUFDLFFBQVEsQ0FBQyxVQUFVLENBQUMsQ0FBQztRQUMzRCxNQUFNLFFBQVEsQ0FBQyxLQUFLLEVBQUUsQ0FBQztJQUN6QixDQUFDO0NBQ0Y7QUFySUQsNEJBcUlDIn0= |
@@ -1,2 +0,1 @@ | ||
import { DomTools } from './domtools.classes.domtools'; | ||
/** | ||
@@ -6,2 +5,1 @@ * changes scrollbar styles to be consistent across OS borders | ||
export declare const scrollBarStyles: void; | ||
export declare const setupGlobalTheme: (domToolsInstance: DomTools) => void; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.setupGlobalTheme = exports.scrollBarStyles = void 0; | ||
exports.scrollBarStyles = void 0; | ||
/** | ||
@@ -30,8 +30,2 @@ * changes scrollbar styles to be consistent across OS borders | ||
})(); | ||
exports.setupGlobalTheme = (domToolsInstance) => { | ||
const styles = ` | ||
${exports.scrollBarStyles} | ||
`; | ||
domToolsInstance.setGlobalStyles(styles); | ||
}; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZG9tdG9vbHMuY3NzLnRoZW1lLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vdHMvZG9tdG9vbHMuY3NzLnRoZW1lLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7OztBQUVBOztHQUVHO0FBQ1UsUUFBQSxlQUFlLEdBQUcsQ0FBQyxHQUFHLEVBQUU7SUFDbkMsTUFBTSxZQUFZLEdBQUcsU0FBUyxDQUFDLFNBQVMsQ0FBQyxPQUFPLENBQUMsU0FBUyxDQUFDLEtBQUssQ0FBQyxDQUFDLENBQUMsQ0FBQyxDQUFDOzs7Ozs7Ozs7Ozs7Ozs7Ozs7OztDQW9CdEUsQ0FBQyxDQUFDLENBQUMsRUFBRSxDQUFDO0FBQ1AsQ0FBQyxDQUFDLEVBQUUsQ0FBQztBQUVRLFFBQUEsZ0JBQWdCLEdBQUcsQ0FBQyxnQkFBMEIsRUFBRSxFQUFFO0lBQzdELE1BQU0sTUFBTSxHQUFHO01BQ1gsdUJBQWU7Q0FDcEIsQ0FBQztJQUVBLGdCQUFnQixDQUFDLGVBQWUsQ0FBQyxNQUFNLENBQUMsQ0FBQztBQUMzQyxDQUFDLENBQUMifQ== | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZG9tdG9vbHMuY3NzLnRoZW1lLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vdHMvZG9tdG9vbHMuY3NzLnRoZW1lLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7OztBQUVBOztHQUVHO0FBQ1UsUUFBQSxlQUFlLEdBQUcsQ0FBQyxHQUFHLEVBQUU7SUFDbkMsTUFBTSxZQUFZLEdBQUcsU0FBUyxDQUFDLFNBQVMsQ0FBQyxPQUFPLENBQUMsU0FBUyxDQUFDLEtBQUssQ0FBQyxDQUFDLENBQUMsQ0FBQyxDQUFDOzs7Ozs7Ozs7Ozs7Ozs7Ozs7OztDQW9CdEUsQ0FBQyxDQUFDLENBQUMsRUFBRSxDQUFDO0FBQ1AsQ0FBQyxDQUFDLEVBQUUsQ0FBQyJ9 |
@@ -46,6 +46,10 @@ "use strict"; | ||
domTools.setGlobalStyles(` | ||
@import url('https://fonts.googleapis.com/css?family=Roboto'); | ||
@import url('https://fonts.googleapis.com/css?family=Roboto:100,300,400'); | ||
`); | ||
// scrollbars | ||
domTools.setGlobalStyles(` | ||
${domtools_css_theme_1.scrollBarStyles} | ||
`); | ||
});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ztBQUNBLDJFQUF1RDtBQUN2RCw2REFBdUQ7QUFFdkQsNkNBQW1DO0FBRW5DOztHQUVHO0FBQ1UsUUFBQSxNQUFNLEdBQUcsa0JBQUksQ0FBQTs7Ozs7OztNQU9wQixvQ0FBZTs7Q0FFcEIsQ0FBQztBQUVGOzs7R0FHRztBQUNVLFFBQUEsS0FBSyxHQUFHLEtBQUssSUFBSSxFQUFFO0lBQzlCLE1BQU0sUUFBUSxHQUFHLE1BQU0sb0NBQVEsQ0FBQyxhQUFhLEVBQUUsQ0FBQztJQUNoRCxRQUFRLENBQUMsT0FBTyxDQUFDLG1CQUFtQixFQUFFLEtBQUssSUFBSSxFQUFFO1FBQy9DLGFBQWE7UUFDYixRQUFRLENBQUMsZUFBZSxDQUFDOzs7Ozs7S0FNeEIsQ0FBQyxDQUFDO1FBRUgsZ0JBQWdCO1FBQ2hCLFFBQVEsQ0FBQyxlQUFlLENBQUM7Ozs7Ozs7S0FPeEIsQ0FBQyxDQUFDO1FBRUgsY0FBYztRQUNkLFFBQVEsQ0FBQyxlQUFlLENBQUM7O0tBRXhCLENBQUMsQ0FBQztRQUVILGFBQWE7UUFDYixRQUFRLENBQUMsZUFBZSxDQUFDO1FBQ3JCLG9DQUFlO0tBQ2xCLENBQUMsQ0FBQztJQUNMLENBQUMsQ0FBQyxDQUFDO0FBQ0wsQ0FBQyxDQUFDIn0= |
{ | ||
"name": "@designestate/dees-domtools", | ||
"version": "1.0.48", | ||
"version": "1.0.49", | ||
"private": false, | ||
@@ -5,0 +5,0 @@ "description": "tools to simplify complex css structures", |
@@ -8,3 +8,2 @@ import * as plugins from './domtools.plugins'; | ||
import { delayForRandom } from '@pushrocks/smartdelay'; | ||
import { setupGlobalTheme } from './domtools.css.theme'; | ||
@@ -28,5 +27,2 @@ export interface IDomToolsState { | ||
// lets setup theming | ||
setupGlobalTheme(domToolsInstance); | ||
// lets make sure the dom is ready | ||
@@ -33,0 +29,0 @@ const readyStateChangedFunc = () => { |
@@ -29,9 +29,1 @@ import { DomTools } from './domtools.classes.domtools'; | ||
})(); | ||
export const setupGlobalTheme = (domToolsInstance: DomTools) => { | ||
const styles = ` | ||
${scrollBarStyles} | ||
`; | ||
domToolsInstance.setGlobalStyles(styles); | ||
}; |
@@ -49,5 +49,10 @@ import * as plugins from './domtools.plugins'; | ||
domTools.setGlobalStyles(` | ||
@import url('https://fonts.googleapis.com/css?family=Roboto'); | ||
@import url('https://fonts.googleapis.com/css?family=Roboto:100,300,400'); | ||
`); | ||
// scrollbars | ||
domTools.setGlobalStyles(` | ||
${scrollBarStyles} | ||
`); | ||
}); | ||
}; |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
2965656
23828