type IconSize = 16 | 24 | 32 | 48 | 64 | 96 | 128 | 144;
type LoadingIndicatorIconSize = 24 | 48 | 96;
+type WoltlabCoreNoticeElementType = "error" | "info" | "success" | "warning";
+
declare global {
interface WoltLabTemplate {
fetch(v: object): string;
set hideText(hideText: boolean);
}
+ interface WoltlabCoreNoticeElement extends HTMLElement {
+ get type(): WoltlabCoreNoticeElementType;
+ set type(type: WoltlabCoreNoticeElementType);
+ get icon(): string;
+ }
+
interface WoltlabCoreReactionSummaryElement extends HTMLElement {
get objectId(): number;
get objectType(): string;
"woltlab-core-file": WoltlabCoreFileElement;
"woltlab-core-file-upload": WoltlabCoreFileUploadElement;
"woltlab-core-loading-indicator": WoltlabCoreLoadingIndicatorElement;
+ "woltlab-core-notice": WoltlabCoreNoticeElement;
"woltlab-core-pagination": WoltlabCorePaginationElement;
"woltlab-core-google-maps": WoltlabCoreGoogleMapsElement;
"woltlab-core-reaction-summary": WoltlabCoreReactionSummaryElement;