@neuctra/authix 1.1.11 → 1.1.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.
@@ -7,8 +7,8 @@ interface ReactSignedOutProps {
7
7
  }
8
8
  /**
9
9
  * ReactSignedOut
10
- * Renders its children only when the user is NOT signed in.
11
- * Safe for SSR and reactive to auth changes.
10
+ * Renders children ONLY when user is NOT signed in.
11
+ * Fully SSR-safe and window-safe.
12
12
  */
13
13
  export declare const ReactSignedOut: React.FC<ReactSignedOutProps>;
14
14
  export {};
@@ -0,0 +1,19 @@
1
+ import React from "react";
2
+ import { UserInfo } from "../api/login.js";
3
+ interface EmailVerificationFormProps {
4
+ user?: UserInfo | null;
5
+ darkMode?: boolean;
6
+ colors: {
7
+ surface: string;
8
+ border: string;
9
+ textPrimary: string;
10
+ textSecondary: string;
11
+ textTertiary: string;
12
+ surfaceLight: string;
13
+ accent: string;
14
+ accentHover: string;
15
+ };
16
+ onVerify?: (updatedUser: UserInfo) => void;
17
+ }
18
+ export declare const ReactEmailVerification: React.FC<EmailVerificationFormProps>;
19
+ export {};
@@ -4,3 +4,4 @@ export { ReactSignedIn } from "./SignedIn.js";
4
4
  export { ReactSignedOut } from "./SignedOut.js";
5
5
  export { ReactUserProfile } from "./UserProfile.js";
6
6
  export { ReactUserButton } from "./UserButton.js";
7
+ export { ReactEmailVerification } from "./UserVerify.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@neuctra/authix",
3
- "version": "1.1.11",
3
+ "version": "1.1.13",
4
4
  "description": "Universal authentication SDK and UI components for React (v16–v19) with TailwindCSS.",
5
5
  "author": "Taha Asif",
6
6
  "license": "MIT",