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:
parent
04f7710cd6
commit
15be83c06c
|
@ -51,6 +51,11 @@ updates:
|
||||||
esbuild:
|
esbuild:
|
||||||
patterns:
|
patterns:
|
||||||
- "@esbuild/*"
|
- "@esbuild/*"
|
||||||
|
rollup:
|
||||||
|
patterns:
|
||||||
|
- "@rollup/*"
|
||||||
|
- "rollup"
|
||||||
|
- "rollup-*"
|
||||||
- package-ecosystem: npm
|
- package-ecosystem: npm
|
||||||
directory: "/tests/wdio"
|
directory: "/tests/wdio"
|
||||||
schedule:
|
schedule:
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -39,9 +39,9 @@
|
||||||
"@formatjs/intl-listformat": "^7.5.0",
|
"@formatjs/intl-listformat": "^7.5.0",
|
||||||
"@fortawesome/fontawesome-free": "^6.4.2",
|
"@fortawesome/fontawesome-free": "^6.4.2",
|
||||||
"@goauthentik/api": "^2023.8.3-1697470337",
|
"@goauthentik/api": "^2023.8.3-1697470337",
|
||||||
"@lit-labs/context": "^0.4.1",
|
"@lit/context": "^1.0.0",
|
||||||
"@lit-labs/task": "^3.1.0",
|
|
||||||
"@lit/localize": "^0.11.4",
|
"@lit/localize": "^0.11.4",
|
||||||
|
"@lit/task": "^1.0.0",
|
||||||
"@open-wc/lit-helpers": "^0.6.0",
|
"@open-wc/lit-helpers": "^0.6.0",
|
||||||
"@patternfly/elements": "^2.4.0",
|
"@patternfly/elements": "^2.4.0",
|
||||||
"@patternfly/patternfly": "^4.224.2",
|
"@patternfly/patternfly": "^4.224.2",
|
||||||
|
@ -124,6 +124,9 @@
|
||||||
"optionalDependencies": {
|
"optionalDependencies": {
|
||||||
"@esbuild/darwin-arm64": "^0.19.5",
|
"@esbuild/darwin-arm64": "^0.19.5",
|
||||||
"@esbuild/linux-amd64": "^0.18.11",
|
"@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"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,4 +0,0 @@
|
||||||
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 { PFSize } from "@goauthentik/elements/Spinner";
|
||||||
import { CustomEmitterElement } from "@goauthentik/elements/utils/eventEmitter";
|
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 { css, html } from "lit";
|
||||||
|
|
||||||
import PFButton from "@patternfly/patternfly/components/Button/button.css";
|
import PFButton from "@patternfly/patternfly/components/Button/button.css";
|
||||||
|
|
Reference in New Issue