fix(core): update

This commit is contained in:
Philipp Kunz 2023-10-08 13:11:00 +02:00
parent 5db7fc9a3b
commit 8dfb876988
8 changed files with 344 additions and 1040 deletions

View File

@ -119,6 +119,6 @@ jobs:
run: | run: |
npmci node install stable npmci node install stable
npmci npm install npmci npm install
pnpm install -g @gitzone/tsdoc pnpm install -g @git.zone/tsdoc
npmci command tsdoc npmci command tsdoc
continue-on-error: true continue-on-error: true

View File

@ -1,10 +1,10 @@
// dees tools // dees tools
import * as deesWccTools from '@designestate/dees-wcctools'; import * as deesWccTools from '../ts_web/index.js';
import * as deesDomTools from '@designestate/dees-domtools'; import * as deesDomTools from '@design.estate/dees-domtools';
// elements and pages // elements and pages
import * as elements from '../ts_web/elements/index.js'; import * as elements from '../test/elements/index.js';
import * as pages from '../ts_web/pages/index.js'; import * as pages from '../test/pages/index.js';
deesWccTools.setupWccTools(elements as any, pages); deesWccTools.setupWccTools(elements as any, pages);
deesDomTools.elementBasic.setup(); deesDomTools.elementBasic.setup();

View File

@ -15,17 +15,17 @@
"author": "Lossless GmbH", "author": "Lossless GmbH",
"license": "UNLICENSED", "license": "UNLICENSED",
"dependencies": { "dependencies": {
"@design.estate/dees-domtools": "^2.0.50", "@design.estate/dees-domtools": "^2.0.51",
"@design.estate/dees-element": "^2.0.29", "@design.estate/dees-element": "^2.0.29",
"@gitzone/tsrun": "^1.2.44",
"@push.rocks/smartdelay": "^3.0.5", "@push.rocks/smartdelay": "^3.0.5",
"lit": "^2.8.0" "lit": "^2.8.0"
}, },
"devDependencies": { "devDependencies": {
"@api.global/typedserver": "^3.0.5", "@api.global/typedserver": "^3.0.5",
"@gitzone/tsbuild": "^2.1.66", "@git.zone/tsbuild": "^2.1.66",
"@gitzone/tsbundle": "^2.0.8", "@git.zone/tsbundle": "^2.0.8",
"@gitzone/tswatch": "^2.0.7", "@git.zone/tsrun": "^1.2.44",
"@git.zone/tswatch": "^2.0.7",
"@push.rocks/projectinfo": "^5.0.2" "@push.rocks/projectinfo": "^5.0.2"
}, },
"files": [ "files": [

1315
pnpm-lock.yaml generated

File diff suppressed because it is too large Load Diff

View File

@ -1,14 +1,14 @@
import { import {
DeesElement, DeesElement,
customElement, customElement,
TemplateResult, type TemplateResult,
html, html,
property, property,
css, css,
cssManager, cssManager,
} from '@designestate/dees-element'; } from '@design.estate/dees-element';
import * as domtools from '@designestate/dees-domtools'; import * as domtools from '@design.estate/dees-domtools';
enum ETestEnum { enum ETestEnum {
'first' = 'first', 'first' = 'first',

View File

@ -3,6 +3,6 @@
*/ */
export const commitinfo = { export const commitinfo = {
name: '@design.estate/dees-wcctools', name: '@design.estate/dees-wcctools',
version: '1.0.80', version: '1.0.81',
description: 'wcc tools for creating element catalogues' description: 'wcc tools for creating element catalogues'
} }

View File

@ -6,9 +6,6 @@ export type TElementType = 'element' | 'page';
@customElement('wcc-sidebar') @customElement('wcc-sidebar')
export class WccSidebar extends DeesElement { export class WccSidebar extends DeesElement {
@property({type: Array})
public websites: string[] = [];
@property({ attribute: false }) @property({ attribute: false })
public selectedItem: DeesElement | (() => TemplateResult); public selectedItem: DeesElement | (() => TemplateResult);
@ -26,6 +23,7 @@ export class WccSidebar extends DeesElement {
display: block; display: block;
border-right: 1px solid #999; border-right: 1px solid #999;
font-family: 'Roboto', 'Inter', sans-serif; font-family: 'Roboto', 'Inter', sans-serif;
font-size: 12px;
box-sizing: border-box; box-sizing: border-box;
position: absolute; position: absolute;
left: 0px; left: 0px;
@ -54,20 +52,6 @@ export class WccSidebar extends DeesElement {
font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 48; font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 48;
} }
.heading {
font-size: 24px;
text-align: center;
margin: 20px 5px 5px 5px;
}
.heading a {
text-decoration: none;
color: #fff;
}
.subheading {
text-align: center;
}
.selectOption { .selectOption {
position: relative; position: relative;
line-height: 24px; line-height: 24px;
@ -112,17 +96,7 @@ export class WccSidebar extends DeesElement {
</style> </style>
<div class="heading">
<a href="https://gitlab.com/designestate/dees-wcctools" target="_blank">wcctools</a>
</div>
<div class="subheading">
by Lossless GmbH
</div>
<div class="menu"> <div class="menu">
<h3>Live Websites</h3>
${this.websites.map(website => {
return html`<div class="selectOption"><i class="material-symbols-outlined">ondemand_video</i><div class="text">${website}</div></div>`;
})}
<h3>Pages</h3> <h3>Pages</h3>
${(() => { ${(() => {
const pages = Object.keys(this.dashboardRef.pages); const pages = Object.keys(this.dashboardRef.pages);
@ -161,7 +135,7 @@ export class WccSidebar extends DeesElement {
`; `;
}); });
})()} })()}
</menu> </div>
`; `;
} }

View File

@ -3,9 +3,12 @@
"experimentalDecorators": true, "experimentalDecorators": true,
"useDefineForClassFields": false, "useDefineForClassFields": false,
"target": "ES2022", "target": "ES2022",
"module": "ES2022", "module": "NodeNext",
"moduleResolution": "nodenext", "moduleResolution": "NodeNext",
"esModuleInterop": true, "esModuleInterop": true,
"verbatimModuleSyntax": true, "verbatimModuleSyntax": true
} },
"exclude": [
"dist_*/**/*.d.ts"
]
} }