@australiangreens/ag-internal-components 0.1.1 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -11,6 +11,7 @@ export interface AuthGuardProps {
|
|
|
11
11
|
* or not */
|
|
12
12
|
onError?: (error: Error) => void;
|
|
13
13
|
disableConsoleLogging?: boolean;
|
|
14
|
+
withPopup?: boolean;
|
|
14
15
|
}
|
|
15
16
|
/**
|
|
16
17
|
* Use as parent of main app (but within Auth0Provider) so when an anonymous
|
|
@@ -25,5 +26,5 @@ export interface AuthGuardProps {
|
|
|
25
26
|
*
|
|
26
27
|
* Do not use this if any routes need to be accessible to anonymous users.
|
|
27
28
|
*/
|
|
28
|
-
export default function AuthGuard({ children, appName, throwErrors, disableConsoleLogging, onError, }: PropsWithChildren<AuthGuardProps>): JSX.Element;
|
|
29
|
+
export default function AuthGuard({ children, appName, throwErrors, disableConsoleLogging, onError, withPopup, }: PropsWithChildren<AuthGuardProps>): JSX.Element;
|
|
29
30
|
//# sourceMappingURL=AuthGuard.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AuthGuard.d.ts","sourceRoot":"","sources":["../../../src/components/AuthGuard/AuthGuard.tsx"],"names":[],"mappings":"AAUA,OAAO,EAAE,iBAAiB,EAAa,MAAM,OAAO,CAAC;AASrD,MAAM,WAAW,cAAc;IAC7B,OAAO,CAAC,EAAE,MAAM,CAAC;IAEjB;;;;iDAI6C;IAC7C,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,GAAG,KAAK,CAAC;IAEzC;gBACY;IACZ,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,KAAK,IAAI,CAAC;IAEjC,qBAAqB,CAAC,EAAE,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"AuthGuard.d.ts","sourceRoot":"","sources":["../../../src/components/AuthGuard/AuthGuard.tsx"],"names":[],"mappings":"AAUA,OAAO,EAAE,iBAAiB,EAAa,MAAM,OAAO,CAAC;AASrD,MAAM,WAAW,cAAc;IAC7B,OAAO,CAAC,EAAE,MAAM,CAAC;IAEjB;;;;iDAI6C;IAC7C,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,GAAG,KAAK,CAAC;IAEzC;gBACY;IACZ,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,KAAK,IAAI,CAAC;IAEjC,qBAAqB,CAAC,EAAE,OAAO,CAAC;IAChC,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB;AAED;;;;;;;;;;;;GAYG;AACH,MAAM,CAAC,OAAO,UAAU,SAAS,CAAC,EAChC,QAAQ,EACR,OAAmB,EACnB,WAAoB,EACpB,qBAA6B,EAC7B,OAAkB,EAClB,SAAiB,GAClB,EAAE,iBAAiB,CAAC,cAAc,CAAC,eA+EnC"}
|