import { css, CSSResult, html, LitElement, TemplateResult } from "lit"; import { customElement, property } from "lit/decorators"; import PFBase from "@patternfly/patternfly/patternfly-base.css"; import PFForm from "@patternfly/patternfly/components/Form/form.css"; import PFFormControl from "@patternfly/patternfly/components/FormControl/form-control.css"; import AKGlobal from "../../authentik.css"; import PFButton from "@patternfly/patternfly/components/Button/button.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`
`; } }