fix(core): update

This commit is contained in:
2021-05-05 20:55:49 +00:00
parent e88605a4aa
commit e6adbf9b6d
7 changed files with 1957 additions and 962 deletions

View File

@@ -1,6 +1,5 @@
import { customElement, html, LitElement } from 'lit-element';
import {DeesForm} from './dees-form';
import { customElement, html, DeesElement, css, cssManager } from '@designestate/dees-element';
import { DeesForm } from './dees-form';
declare global {
interface HTMLElementTagNameMap {
@@ -9,13 +8,15 @@ declare global {
}
@customElement('dees-form-submit')
export class DeesFormSubmit extends LitElement {
export class DeesFormSubmit extends DeesElement {
constructor() {
super();
}
public static styles = [cssManager.defaultStyles, css``];
public render() {
return html`
<dees-button @click="${this.submit}">${this.textContent}</dees-button>
`;
return html` <dees-button @click="${this.submit}">${this.textContent}</dees-button> `;
}
public async submit() {