BREAKING CHANGE(decorators): Migrate to TC39 standard decorators (accessor) across components, update tsconfig and bump dependencies

This commit is contained in:
2025-11-17 13:27:11 +00:00
parent 70c29c778c
commit 92f69e2aa6
75 changed files with 2142 additions and 1901 deletions

View File

@@ -78,37 +78,37 @@ export class DeesModal extends DeesElement {
@property({
type: String,
})
public heading = '';
accessor heading = '';
@state({})
public content: TemplateResult;
accessor content: TemplateResult;
@state({})
public menuOptions: plugins.tsclass.website.IMenuItem<DeesModal>[] = [];
accessor menuOptions: plugins.tsclass.website.IMenuItem<DeesModal>[] = [];
@property({ type: String })
public width: 'small' | 'medium' | 'large' | 'fullscreen' | number = 'medium';
accessor width: 'small' | 'medium' | 'large' | 'fullscreen' | number = 'medium';
@property({ type: Number })
public maxWidth: number;
accessor maxWidth: number;
@property({ type: Number })
public minWidth: number;
accessor minWidth: number;
@property({ type: Boolean })
public showCloseButton: boolean = true;
accessor showCloseButton: boolean = true;
@property({ type: Boolean })
public showHelpButton: boolean = false;
accessor showHelpButton: boolean = false;
@property({ attribute: false })
public onHelp: () => void | Promise<void>;
accessor onHelp: () => void | Promise<void>;
@property({ type: Boolean })
public mobileFullscreen: boolean = false;
accessor mobileFullscreen: boolean = false;
@state()
private modalZIndex: number = 1000;
accessor modalZIndex: number = 1000;
constructor() {
super();