fix(core): update

This commit is contained in:
2020-11-26 02:28:17 +00:00
parent ebc2c82b7f
commit 40f54c574d
9 changed files with 2473 additions and 628 deletions

1
test/elements/index.ts Normal file
View File

@ -0,0 +1 @@
export * from './test-demoelement';

View File

@ -0,0 +1,27 @@
import { LitElement, customElement, TemplateResult, html } from 'lit-element';
import * as domtools from '@designestate/dees-domtools';
@customElement('test-demoelement')
export class TestDemoelement extends LitElement {
public static demo = () => html`<test-demoelement></test-demoelement>`;
public render() {
return html`
<style>
.maincontainer {
display: block;
background: #fff;
padding: 10px;
border-radius: 10px;
}
${domtools.breakpoints.cssForPhablet(`
.maincontainer {
background: #000;
}
`)}
</style>
<div class="maincontainer">This is a demo element</div>
`;
}
}

3
test/index.ts Normal file
View File

@ -0,0 +1,3 @@
import * as wcctools from '../ts_web/index';
import * as elements from './elements';
wcctools.setupWccTools(elements as any, {});