import { CSSResult, LitElement, TemplateResult, css, html } from "lit"; import { customElement, property } from "lit/decorators.js"; import AKGlobal from "@goauthentik/web/authentik.css"; import PFButton from "@patternfly/patternfly/components/Button/button.css"; import PFForm from "@patternfly/patternfly/components/Form/form.css"; import PFFormControl from "@patternfly/patternfly/components/FormControl/form-control.css"; import PFBase from "@patternfly/patternfly/patternfly-base.css"; @customElement("ak-form-group") export class FormGroup extends LitElement { @property({ type: Boolean }) expanded = false; static get styles(): CSSResult[] { return [ PFBase, PFForm, PFButton, PFFormControl, AKGlobal, css` slot[name="body"][hidden] { display: none !important; } `, ]; } render(): TemplateResult { return html`
`; } }