import { AKElement } from "@goauthentik/elements/Base"; import { CSSResult, TemplateResult, css, html } from "lit"; import { customElement, property } from "lit/decorators.js"; 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 AKElement { @property({ type: Boolean }) expanded = false; static get styles(): CSSResult[] { return [ PFBase, PFForm, PFButton, PFFormControl, css` slot[name="body"][hidden] { display: none !important; } `, ]; } render(): TemplateResult { return html`
`; } }