@neuctra/authix 1.0.10 → 1.0.13
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.
- package/dist/authix.css +1 -1
- package/dist/neuctra-authix.es.js +2490 -2333
- package/dist/neuctra-authix.umd.js +141 -93
- package/dist/src/react/SignedIn.d.ts +3 -1
- package/dist/src/react/SignedOut.d.ts +5 -3
- package/dist/src/react/UserLogin.d.ts +1 -0
- package/dist/src/react/UserProfile.d.ts +1 -0
- package/dist/src/react/UserSignUp.d.ts +1 -0
- package/package.json +1 -1
|
@@ -2,11 +2,13 @@ import React, { ReactNode } from "react";
|
|
|
2
2
|
interface ReactSignedInProps {
|
|
3
3
|
children: ReactNode;
|
|
4
4
|
fallback?: ReactNode;
|
|
5
|
+
width?: string;
|
|
6
|
+
height?: string;
|
|
5
7
|
}
|
|
6
8
|
/**
|
|
7
9
|
* ReactSignedIn
|
|
8
10
|
* Renders children only when the user is signed in.
|
|
9
|
-
*
|
|
11
|
+
* Provides optional width/height props for consistent alignment in layouts.
|
|
10
12
|
*/
|
|
11
13
|
export declare const ReactSignedIn: React.FC<ReactSignedInProps>;
|
|
12
14
|
export {};
|
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
import React, { ReactNode } from "react";
|
|
2
2
|
interface ReactSignedOutProps {
|
|
3
|
-
children
|
|
3
|
+
children: ReactNode;
|
|
4
4
|
fallback?: ReactNode;
|
|
5
|
+
width?: string;
|
|
6
|
+
height?: string;
|
|
5
7
|
}
|
|
6
8
|
/**
|
|
7
9
|
* ReactSignedOut
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
+
* Renders its children only when the user is NOT signed in.
|
|
11
|
+
* Uses inline-flex for consistent alignment within navbars or flex layouts.
|
|
10
12
|
*/
|
|
11
13
|
export declare const ReactSignedOut: React.FC<ReactSignedOutProps>;
|
|
12
14
|
export {};
|