fix(uptimelink-webwidget): Modernize element props (use accessor), bump deps, add CI/workflows, export pages and update package metadata/docs

This commit is contained in:
2025-11-30 17:30:38 +00:00
parent 368ddec10d
commit 53af713533
15 changed files with 3662 additions and 2629 deletions

View File

@@ -26,22 +26,22 @@ export class UptimelinkWebwidget extends DeesElement {
type: Boolean,
reflect: true,
})
isOnTop = false;
accessor isOnTop = false;
@property()
public projectSlug: string;
public accessor projectSlug: string;
@property()
public isFocused = false;
public accessor isFocused = false;
@property()
public isElevated = false;
public accessor isElevated = false;
@property({
type: Boolean,
reflect: true,
})
public showExpanded: boolean = false;
public accessor showExpanded: boolean = false;
public parentWebwidget: UptimelinkWebwidget;
@@ -168,7 +168,7 @@ export class UptimelinkWebwidget extends DeesElement {
return html`
<style>
:host {
z-index: ${this.isElevated || this.isOnTop ? '1000' : 'auto'};
z-index: ${this.isElevated || this.isOnTop ? '2000' : 'auto'};
}
</style>
<div class="mainbox ${this.isFocused ? 'focused' : null}">