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

* Updates to the Context and Tasks libraries from lit.

* web: fix for bad merge

* Still trying to solve that f*&!ing merge bug.

* fix build

Signed-off-by: Jens Langhammer <jens@goauthentik.io>

* Updates to the Context and Tasks libraries from lit.

* web: fix for bad merge

* Still trying to solve that f*&!ing merge bug.

* fix build

Signed-off-by: Jens Langhammer <jens@goauthentik.io>

---------

Signed-off-by: Jens Langhammer <jens@goauthentik.io>
Co-authored-by: Jens Langhammer <jens@goauthentik.io>
This commit is contained in:
Ken Sternberg
2023-10-17 12:35:11 -07:00
committed by GitHub
parent 04f7710cd6
commit 15be83c06c
5 changed files with 1132 additions and 4458 deletions

View File

@ -1,4 +0,0 @@
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-labs/task";
import { Task, TaskStatus } from "@lit/task";
import { css, html } from "lit";
import PFButton from "@patternfly/patternfly/components/Button/button.css";