Revert "web: Updates to the Context and Tasks libraries from lit. (#7168)"

This reverts commit 15be83c06c.
This commit is contained in:
Jens Langhammer
2023-10-18 11:22:00 +02:00
parent 4a8087311f
commit c7182bf513
5 changed files with 4467 additions and 1141 deletions

View File

@ -0,0 +1,4 @@
import { createContext } from "@lit-labs/context";
export const localeContext = createContext<string>("locale");
export default localeContext;

View File

@ -3,7 +3,7 @@ import { AKElement } from "@goauthentik/elements/Base";
import { PFSize } from "@goauthentik/elements/Spinner";
import { CustomEmitterElement } from "@goauthentik/elements/utils/eventEmitter";
import { Task, TaskStatus } from "@lit/task";
import { Task, TaskStatus } from "@lit-labs/task";
import { css, html } from "lit";
import PFButton from "@patternfly/patternfly/components/Button/button.css";