Initial commit

This commit is contained in:
Simon Martens
2023-01-30 11:49:15 +01:00
commit 54074f8ad7
60 changed files with 4293 additions and 0 deletions

4
types/main.d.ts vendored Normal file
View File

@@ -0,0 +1,4 @@
import './src/css/site.css';
import './src/ts/declareelements';
import './src/ts/hamenu';
import './src/ts/hafooter';

9
types/src/ts/declareelements.d.ts vendored Normal file
View File

@@ -0,0 +1,9 @@
import { HaFooter } from "./hafooter";
import { HaMenu } from "./hamenu";
declare global {
interface HTMLElementTagNameMap {
'ha-menu': HaMenu;
'ha-footer': HaFooter;
}
}
export {};

6
types/src/ts/hafooter.d.ts vendored Normal file
View File

@@ -0,0 +1,6 @@
import { LitElement } from 'lit';
export declare class HaFooter extends LitElement {
render(): import("lit-html").TemplateResult<1>;
protected firstUpdated(): void;
protected createRenderRoot(): Element | ShadowRoot;
}

8
types/src/ts/hamenu.d.ts vendored Normal file
View File

@@ -0,0 +1,8 @@
import { LitElement } from 'lit';
export declare class HaMenu extends LitElement {
title: string;
render(): import("lit-html").TemplateResult<1>;
private _burgerclick;
protected firstUpdated(): void;
protected createRenderRoot(): Element | ShadowRoot;
}