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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 1132 additions and 4458 deletions

View File

@ -51,6 +51,11 @@ updates:
esbuild:
patterns:
- "@esbuild/*"
rollup:
patterns:
- "@rollup/*"
- "rollup"
- "rollup-*"
- package-ecosystem: npm
directory: "/tests/wdio"
schedule:

5570
web/package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -39,9 +39,9 @@
"@formatjs/intl-listformat": "^7.5.0",
"@fortawesome/fontawesome-free": "^6.4.2",
"@goauthentik/api": "^2023.8.3-1697470337",
"@lit-labs/context": "^0.4.1",
"@lit-labs/task": "^3.1.0",
"@lit/context": "^1.0.0",
"@lit/localize": "^0.11.4",
"@lit/task": "^1.0.0",
"@open-wc/lit-helpers": "^0.6.0",
"@patternfly/elements": "^2.4.0",
"@patternfly/patternfly": "^4.224.2",
@ -124,6 +124,9 @@
"optionalDependencies": {
"@esbuild/darwin-arm64": "^0.19.5",
"@esbuild/linux-amd64": "^0.18.11",
"@esbuild/linux-arm64": "^0.19.5"
"@esbuild/linux-arm64": "^0.19.5",
"@rollup/rollup-darwin-arm64": "4.1.4",
"@rollup/rollup-linux-x64-gnu": "4.1.4",
"@rollup/rollup-linux-arm64-gnu": "4.1.4"
}
}

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";