Compare commits

...

10 Commits

Author SHA1 Message Date
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
4bff0091c9 1.0.108 2022-01-28 16:03:13 +01:00
7bae4585f3 fix(core): update 2022-01-28 16:03:13 +01:00
d9cdff2897 1.0.107 2022-01-24 06:56:32 +01:00
189060f11d fix(core): update 2022-01-24 06:56:30 +01:00
4 changed files with 1442 additions and 1415 deletions

2829
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -1,6 +1,6 @@
{ {
"name": "@designestate/dees-domtools", "name": "@designestate/dees-domtools",
"version": "1.0.106", "version": "1.0.111",
"private": false, "private": false,
"description": "tools to simplify complex css structures", "description": "tools to simplify complex css structures",
"main": "dist_ts/index.js", "main": "dist_ts/index.js",
@ -14,26 +14,26 @@
}, },
"devDependencies": { "devDependencies": {
"@gitzone/tsbuild": "^2.1.29", "@gitzone/tsbuild": "^2.1.29",
"@gitzone/tsbundle": "^1.0.88", "@gitzone/tsbundle": "^1.0.89",
"@gitzone/tstest": "^1.0.60", "@gitzone/tstest": "^1.0.60",
"@pushrocks/tapbundle": "^4.0.0", "@pushrocks/tapbundle": "^4.0.0",
"@types/node": "^17.0.10", "@types/node": "^17.0.13",
"tslint": "^6.1.3", "tslint": "^6.1.3",
"tslint-config-prettier": "^1.15.0" "tslint-config-prettier": "^1.15.0"
}, },
"dependencies": { "dependencies": {
"@apiglobal/typedrequest": "^1.0.65", "@apiglobal/typedrequest": "^1.0.65",
"@designestate/dees-comms": "^1.0.11", "@designestate/dees-comms": "^1.0.16",
"@pushrocks/lik": "^5.0.0", "@pushrocks/lik": "^5.0.4",
"@pushrocks/smartdelay": "^2.0.13", "@pushrocks/smartdelay": "^2.0.13",
"@pushrocks/smartpromise": "^3.1.6", "@pushrocks/smartpromise": "^3.1.6",
"@pushrocks/smartrouter": "^1.0.12", "@pushrocks/smartrouter": "^1.0.12",
"@pushrocks/smartrx": "^2.0.19", "@pushrocks/smartrx": "^2.0.25",
"@pushrocks/smartstate": "^1.0.21", "@pushrocks/smartstate": "^1.0.23",
"@pushrocks/webrequest": "^2.0.13", "@pushrocks/webrequest": "^2.0.13",
"@pushrocks/websetup": "^3.0.16", "@pushrocks/websetup": "^3.0.16",
"@pushrocks/webstore": "^1.0.16", "@pushrocks/webstore": "^1.0.18",
"lit": "^2.1.1", "lit": "^2.1.2",
"sweet-scroll": "^4.0.0" "sweet-scroll": "^4.0.0"
}, },
"files": [ "files": [

View File

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

View File

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