Compare commits

...

16 Commits

Author SHA1 Message Date
8e23b7ebec 2.0.1 2022-03-18 14:26:31 +01:00
b3d12c39bf fix(core): update 2022-03-18 14:26:31 +01:00
d102d5a7e6 2.0.0 2022-03-16 13:42:30 +01:00
8be31958b4 1.0.115 2022-03-16 13:39:50 +01:00
e21f6c3920 fix(core): update 2022-03-16 13:39:50 +01:00
356a756962 1.0.114 2022-03-04 08:21:58 +01:00
0bb66e8221 fix(core): update 2022-03-04 08:21:57 +01:00
b70077c43f 1.0.113 2022-03-02 19:18:40 +01:00
9c5f024e5f 1.0.112 2022-03-02 19:00:52 +01:00
5eea208924 fix(core): update 2022-03-02 19:00:52 +01:00
f21fdb2eb8 1.0.111 2022-03-02 18:00:35 +01:00
d6ea74cb71 fix(core): update 2022-03-02 18:00:35 +01:00
10375576a7 1.0.110 2022-03-02 17:44:46 +01:00
367be854ff fix(core): update 2022-03-02 17:44:45 +01:00
0933c1d83b 1.0.109 2022-01-28 18:05:57 +01:00
af1eb73028 fix(core): update 2022-01-28 18:05:57 +01:00
11 changed files with 5235 additions and 12790 deletions

17940
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -1,39 +1,40 @@
{
"name": "@designestate/dees-domtools",
"version": "1.0.108",
"version": "2.0.1",
"private": false,
"description": "tools to simplify complex css structures",
"main": "dist_ts/index.js",
"typings": "dist_ts/index.d.ts",
"type": "module",
"author": "Lossless GmbH",
"license": "MIT",
"scripts": {
"test": "(tstest test/ --web)",
"build": "(tsbuild --web && tsbundle npm)",
"build": "(tsbuild --web --allowimplicitany --skiplibcheck && tsbundle npm)",
"format": "(gitzone format)"
},
"devDependencies": {
"@gitzone/tsbuild": "^2.1.29",
"@gitzone/tsbundle": "^1.0.89",
"@gitzone/tstest": "^1.0.60",
"@pushrocks/tapbundle": "^4.0.0",
"@types/node": "^17.0.10",
"@gitzone/tsbuild": "^2.1.56",
"@gitzone/tsbundle": "^1.0.99",
"@gitzone/tstest": "^1.0.69",
"@pushrocks/tapbundle": "^5.0.2",
"@types/node": "^17.0.21",
"tslint": "^6.1.3",
"tslint-config-prettier": "^1.15.0"
},
"dependencies": {
"@apiglobal/typedrequest": "^1.0.65",
"@designestate/dees-comms": "^1.0.14",
"@pushrocks/lik": "^5.0.1",
"@designestate/dees-comms": "^1.0.16",
"@pushrocks/lik": "^5.0.4",
"@pushrocks/smartdelay": "^2.0.13",
"@pushrocks/smartpromise": "^3.1.6",
"@pushrocks/smartpromise": "^3.1.7",
"@pushrocks/smartrouter": "^1.0.12",
"@pushrocks/smartrx": "^2.0.20",
"@pushrocks/smartrx": "^2.0.25",
"@pushrocks/smartstate": "^1.0.23",
"@pushrocks/webrequest": "^2.0.13",
"@pushrocks/webrequest": "^3.0.1",
"@pushrocks/websetup": "^3.0.16",
"@pushrocks/webstore": "^1.0.18",
"lit": "^2.1.1",
"lit": "^2.2.1",
"sweet-scroll": "^4.0.0"
},
"files": [

View File

@ -1,11 +1,11 @@
import * as plugins from './domtools.plugins';
import { Stringmap } from '@pushrocks/lik/dist_ts/lik.stringmap';
import { FastMap } from '@pushrocks/lik/dist_ts/lik.fastmap';
import { TViewport } from './domtools.css.breakpoints';
import * as plugins from './domtools.plugins.js';
import { Stringmap } from '@pushrocks/lik/dist_ts/lik.stringmap.js';
import { FastMap } from '@pushrocks/lik/dist_ts/lik.fastmap.js';
import { TViewport } from './domtools.css.breakpoints.js';
import { Scroller } from './domtools.classes.scroller';
import { Scroller } from './domtools.classes.scroller.js';
import { WebSetup } from '@pushrocks/websetup';
import { ThemeManager } from './domtools.classes.thememanager';
import { ThemeManager } from './domtools.classes.thememanager.js';
export interface IDomToolsState {
virtualViewport: TViewport;

View File

@ -1,4 +1,4 @@
import * as plugins from './domtools.plugins';
import * as plugins from './domtools.plugins.js';
export class Scroller {
// TODO: move sweet scroll over to here;

View File

@ -1,5 +1,5 @@
import { DomTools } from './domtools.classes.domtools';
import * as plugins from './domtools.plugins';
import { DomTools } from './domtools.classes.domtools.js';
import * as plugins from './domtools.plugins.js';
export class ThemeManager {
public domtoolsRef: DomTools;

View File

@ -1,4 +1,4 @@
import { DomTools } from './domtools.classes.domtools';
import { DomTools } from './domtools.classes.domtools.js';
import { css, unsafeCSS } from 'lit';
@ -7,11 +7,11 @@ import { css, unsafeCSS } from 'lit';
*/
export const scrollBarStyles: string = (() => {
const returnStyles =
navigator.userAgent.indexOf('not a thing') !== -1
navigator.userAgent.indexOf('Mac OS X') === -1
? css`
/* width */
::-webkit-scrollbar {
width: 8px;
width: 6px;
}
/* Track */

View File

@ -1,4 +1,4 @@
import { DomTools } from './domtools.classes.domtools';
import { DomTools } from './domtools.classes.domtools.js';
import { CSSResult, unsafeCSS } from 'lit';
@ -11,7 +11,7 @@ export type TViewport = 'native' | 'desktop' | 'tablet' | 'phablet' | 'phone';
export const cssForTablet = (cssArg: CSSResult) => {
return unsafeCSS(`
@container wccToolsViewport (max-width: ${tablet}px) {
@container wccToolsViewport size(max-width: ${tablet}px) {
${cssArg.cssText}
}
@media (max-width: ${tablet}px) {
@ -22,7 +22,7 @@ export const cssForTablet = (cssArg: CSSResult) => {
export const cssForPhablet = (cssArg: CSSResult) => {
return unsafeCSS(`
@container wccToolsViewport (max-width: ${phablet}px) {
@container wccToolsViewport size(max-width: ${phablet}px) {
${cssArg.cssText}
}
@media (max-width: ${phablet}px) {
@ -33,7 +33,7 @@ export const cssForPhablet = (cssArg: CSSResult) => {
export const cssForPhone = (cssArg: CSSResult) => {
return unsafeCSS(`
@container wccToolsViewport (max-width: ${phone}px) {
@container wccToolsViewport size(max-width: ${phone}px) {
${cssArg.cssText}
}
@media (max-width: ${phone}px) {

View File

@ -1,6 +1,6 @@
import * as plugins from './domtools.plugins';
import { DomTools } from './domtools.classes.domtools';
import { scrollBarStyles, globalBaseStyles } from './domtools.css.basestyles';
import * as plugins from './domtools.plugins.js';
import { DomTools } from './domtools.classes.domtools.js';
import { scrollBarStyles, globalBaseStyles } from './domtools.css.basestyles.js';
import { html, LitElement, css, unsafeCSS } from 'lit';

View File

@ -19,7 +19,7 @@ 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.js';
const lik = {
ObjectMap,
};

View File

@ -1,16 +1,16 @@
export * from './domtools.colors';
export * from './domtools.colors.js';
import * as elementBasic from './domtools.elementbasic';
import * as breakpoints from './domtools.css.breakpoints';
import * as css from './domtools.css';
import * as elementBasic from './domtools.elementbasic.js';
import * as breakpoints from './domtools.css.breakpoints.js';
import * as css from './domtools.css.js';
export { css, breakpoints, elementBasic };
export { DomTools } from './domtools.classes.domtools';
export { DomTools } from './domtools.classes.domtools.js';
export { TypedRequest } from '@apiglobal/typedrequest';
export { IWebSetupConstructorOptions } from '@pushrocks/websetup';
export { rxjs } from '@pushrocks/smartrx';
import * as allPlugins from './domtools.plugins';
import * as allPlugins from './domtools.plugins.js';
export const plugins = {
smartdelay: allPlugins.smartdelay,

6
tsconfig.json Normal file
View File

@ -0,0 +1,6 @@
{
"compilerOptions": {
"target": "ES2020",
"module": "Node12"
}
}