fix(core): update

This commit is contained in:
Philipp Kunz 2023-01-17 16:52:13 +01:00
parent 719c63a092
commit 572deb990e
3 changed files with 8 additions and 3 deletions

View File

@ -3,6 +3,6 @@
*/ */
export const commitinfo = { export const commitinfo = {
name: '@designestate/dees-catalog', name: '@designestate/dees-catalog',
version: '1.0.147', version: '1.0.148',
description: 'website for lossless.com' description: 'website for lossless.com'
} }

View File

@ -31,7 +31,12 @@ export class DeesButton extends DeesElement {
<p><dees-button disabled status="error">Error Status</dees-button></p> <p><dees-button disabled status="error">Error Status</dees-button></p>
`; `;
@property() @property({
reflect: true,
hasChanged() {
return true;
}
})
public text: string; public text: string;
@property() @property()

View File

@ -42,7 +42,7 @@ export class DeesFormSubmit extends DeesElement {
public render() { public render() {
return html` return html`
<dees-button status=${this.status} @click=${this.submit} .disabled=${this.disabled}> <dees-button status=${this.status} @click=${this.submit} .disabled=${this.disabled}>
${this.text ? this.text : html`<slot></slot>`} ${this.text ? this.text : this.textContent}
</dees-button> </dees-button>
`; `;
} }