web: migrate to lit 2
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
		| @ -1,4 +1,4 @@ | ||||
| import { html, TemplateResult } from "lit-html"; | ||||
| import { html, TemplateResult } from "lit"; | ||||
|  | ||||
| export const SLUG_REGEX = "[-a-zA-Z0-9_]+"; | ||||
| export const ID_REGEX = "\\d+"; | ||||
|  | ||||
| @ -1,4 +1,4 @@ | ||||
| import { TemplateResult } from "lit-html"; | ||||
| import { TemplateResult } from "lit"; | ||||
| import { Route } from "./Route"; | ||||
|  | ||||
| export class RouteMatch { | ||||
|  | ||||
| @ -1,5 +1,6 @@ | ||||
| import { t } from "@lingui/macro"; | ||||
| import { CSSResult, customElement, html, LitElement, property, TemplateResult } from "lit-element"; | ||||
| import { CSSResult, html, LitElement, TemplateResult } from "lit"; | ||||
| import { customElement, property } from "lit/decorators"; | ||||
| import PFEmptyState from "@patternfly/patternfly/components/EmptyState/empty-state.css"; | ||||
| import PFTitle from "@patternfly/patternfly/components/Title/title.css"; | ||||
| import PFBase from "@patternfly/patternfly/patternfly-base.css"; | ||||
|  | ||||
| @ -1,12 +1,5 @@ | ||||
| import { | ||||
|     css, | ||||
|     CSSResult, | ||||
|     customElement, | ||||
|     html, | ||||
|     LitElement, | ||||
|     property, | ||||
|     TemplateResult, | ||||
| } from "lit-element"; | ||||
| import { css, CSSResult, html, LitElement, TemplateResult } from "lit"; | ||||
| import { customElement, property } from "lit/decorators"; | ||||
| import { Route } from "./Route"; | ||||
| import { RouteMatch } from "./RouteMatch"; | ||||
| import AKGlobal from "../../authentik.css"; | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 Jens Langhammer
					Jens Langhammer