Revert "web: Updates to the Context and Tasks libraries from lit. (#7168)"
This reverts commit 15be83c06c
.
This commit is contained in:
parent
4a8087311f
commit
c7182bf513
5
.github/dependabot.yml
vendored
5
.github/dependabot.yml
vendored
|
@ -51,11 +51,6 @@ updates:
|
|||
esbuild:
|
||||
patterns:
|
||||
- "@esbuild/*"
|
||||
rollup:
|
||||
patterns:
|
||||
- "@rollup/*"
|
||||
- "rollup"
|
||||
- "rollup-*"
|
||||
- package-ecosystem: npm
|
||||
directory: "/tests/wdio"
|
||||
schedule:
|
||||
|
|
5588
web/package-lock.json
generated
5588
web/package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
@ -39,9 +39,9 @@
|
|||
"@formatjs/intl-listformat": "^7.5.0",
|
||||
"@fortawesome/fontawesome-free": "^6.4.2",
|
||||
"@goauthentik/api": "^2023.8.3-1697470337",
|
||||
"@lit/context": "^1.0.0",
|
||||
"@lit-labs/context": "^0.4.1",
|
||||
"@lit-labs/task": "^3.1.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,9 +124,6 @@
|
|||
"optionalDependencies": {
|
||||
"@esbuild/darwin-arm64": "^0.19.5",
|
||||
"@esbuild/linux-amd64": "^0.18.11",
|
||||
"@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"
|
||||
"@esbuild/linux-arm64": "^0.19.5"
|
||||
}
|
||||
}
|
||||
|
|
4
web/src/elements/ak-locale-context/context.ts
Normal file
4
web/src/elements/ak-locale-context/context.ts
Normal file
|
@ -0,0 +1,4 @@
|
|||
import { createContext } from "@lit-labs/context";
|
||||
|
||||
export const localeContext = createContext<string>("locale");
|
||||
export default localeContext;
|
|
@ -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";
|
||||
|
|
Reference in a new issue