import { LitElement, html, customElement, property, CSSResult, TemplateResult } from "lit-element"; import { ifDefined } from "lit-html/directives/if-defined"; // @ts-ignore import TabsStyle from "@patternfly/patternfly/components/Tabs/tabs.css"; // @ts-ignore import GlobalsStyle from "@patternfly/patternfly/base/patternfly-globals.css"; import { CURRENT_CLASS } from "../constants"; import { gettext } from "django"; @customElement("ak-tabs") export class Tabs extends LitElement { @property() currentPage?: string; static get styles(): CSSResult[] { return [GlobalsStyle, TabsStyle]; } renderTab(page: Element): TemplateResult { const slot = page.attributes.getNamedItem("slot")?.value; return html`