import { AKElement } from "@goauthentik/elements/Base"; import { t } from "@lingui/macro"; import { CSSResult, TemplateResult, html } from "lit"; import { customElement, property } from "lit/decorators.js"; import PFSpinner from "@patternfly/patternfly/components/Spinner/spinner.css"; export enum PFSize { Small = "pf-m-sm", Medium = "pf-m-md", Large = "pf-m-lg", XLarge = "pf-m-xl", } @customElement("ak-spinner") export class Spinner extends AKElement { @property() size: PFSize = PFSize.Medium; static get styles(): CSSResult[] { return [PFSpinner]; } render(): TemplateResult { return html` `; } }