@insforge/nextjs 0.9.5 → 0.9.6
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.
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
export { InsforgeProvider, useInsforge } from '../provider/InsforgeProvider.js';
|
|
2
2
|
export { NextNavigationAdapter as NavigationAdapter } from '../navigation/NextNavigationAdapter.js';
|
|
3
|
+
import '@insforge/react/types';
|
|
4
|
+
import '@insforge/react/components';
|
|
5
|
+
import '@insforge/react/hooks';
|
|
3
6
|
import 'react/jsx-runtime';
|
|
4
7
|
import '@insforge/react';
|
|
5
8
|
import '@insforge/react/navigation';
|
package/dist/esm/index.js
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { InsforgeProvider, useInsforge, NavigationAdapter } from "./client-boundary/provider";
|
|
3
|
-
import { cn } from "./lib/utils";
|
|
4
3
|
import {
|
|
5
4
|
SignIn,
|
|
6
5
|
SignUp,
|
|
@@ -69,7 +68,6 @@ export {
|
|
|
69
68
|
UserButton,
|
|
70
69
|
VerifyEmail,
|
|
71
70
|
VerifyEmailStatus,
|
|
72
|
-
cn,
|
|
73
71
|
useAuth,
|
|
74
72
|
useInsforge,
|
|
75
73
|
usePublicAuthConfig,
|
package/dist/esm/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/index.ts"],"sourcesContent":["\"use client\";\r\n\r\n// Types (no 'use client' needed for types)\r\nexport type {\r\n OAuthProvider,\r\n AuthConfig,\r\n EmailVerificationMethod,\r\n InsforgeUser,\r\n OAuthProviderConfig,\r\n} from '@insforge/react/types';\r\n\r\n// Provider (from client-boundary)\r\nexport { InsforgeProvider, useInsforge, NavigationAdapter } from './client-boundary/provider';\r\
|
|
1
|
+
{"version":3,"sources":["../../src/index.ts"],"sourcesContent":["\"use client\";\r\n\r\n// Types (no 'use client' needed for types)\r\nexport type {\r\n OAuthProvider,\r\n AuthConfig,\r\n EmailVerificationMethod,\r\n InsforgeUser,\r\n OAuthProviderConfig,\r\n} from '@insforge/react/types';\r\n\r\n// Provider (from client-boundary)\r\nexport { InsforgeProvider, useInsforge, NavigationAdapter } from './client-boundary/provider';\r\n\r\n/**\r\n * These need to be explicitly listed. Do not use an * here.\r\n * If you do, app router will break.\r\n * \r\n * Pattern learned from @clerk/nextjs\r\n */\r\n\r\n// Main UI Components\r\nexport {\r\n SignIn,\r\n SignUp,\r\n ForgotPassword,\r\n ResetPassword,\r\n VerifyEmail,\r\n UserButton,\r\n Protect,\r\n SignedIn,\r\n SignedOut,\r\n} from './client-boundary/components';\r\n\r\n// Form Components\r\nexport {\r\n SignInForm,\r\n SignUpForm,\r\n ForgotPasswordForm,\r\n ResetPasswordForm,\r\n VerifyEmailStatus,\r\n} from './client-boundary/components';\r\n\r\n// Atom Components\r\nexport {\r\n AuthBranding,\r\n AuthContainer,\r\n AuthHeader,\r\n AuthErrorBanner,\r\n AuthFormField,\r\n AuthPasswordField,\r\n AuthPasswordStrengthIndicator,\r\n AuthSubmitButton,\r\n AuthLink,\r\n AuthDivider,\r\n AuthOAuthButton,\r\n AuthOAuthProviders,\r\n AuthVerificationCodeInput,\r\n AuthEmailVerificationStep,\r\n AuthResetPasswordVerificationStep,\r\n} from './client-boundary/components';\r\n\r\n// Component Types\r\nexport type {\r\n SignInProps,\r\n SignUpProps,\r\n ForgotPasswordProps,\r\n ResetPasswordProps,\r\n VerifyEmailProps,\r\n UserButtonProps,\r\n ProtectProps,\r\n ConditionalProps,\r\n SignInFormProps,\r\n SignUpFormProps,\r\n ForgotPasswordFormProps,\r\n ResetPasswordFormProps,\r\n VerifyEmailStatusProps,\r\n AuthContainerProps,\r\n AuthHeaderProps,\r\n AuthErrorBannerProps,\r\n AuthFormFieldProps,\r\n AuthPasswordFieldProps,\r\n AuthPasswordStrengthIndicatorProps,\r\n AuthSubmitButtonProps,\r\n AuthLinkProps,\r\n AuthDividerProps,\r\n AuthOAuthButtonProps,\r\n AuthOAuthProvidersProps,\r\n AuthVerificationCodeInputProps,\r\n} from './client-boundary/components';\r\n\r\n// Hooks\r\nexport { useAuth, useUser, usePublicAuthConfig } from './client-boundary/hooks';\r\n"],"mappings":";AAYA,SAAS,kBAAkB,aAAa,yBAAyB;AAUjE;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OACK;AAGP;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OACK;AAGP;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OACK;AAgCP,SAAS,SAAS,SAAS,2BAA2B;","names":[]}
|
package/dist/index.d.ts
CHANGED
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
export { AuthConfig, EmailVerificationMethod, InsforgeUser, OAuthProvider, OAuthProviderConfig } from '@insforge/react/types';
|
|
2
2
|
export { InsforgeProvider, useInsforge } from './provider/InsforgeProvider.js';
|
|
3
3
|
export { NextNavigationAdapter as NavigationAdapter } from './navigation/NextNavigationAdapter.js';
|
|
4
|
-
export { cn } from './lib/utils.js';
|
|
5
4
|
export { AuthBranding, AuthContainer, AuthContainerProps, AuthDivider, AuthDividerProps, AuthEmailVerificationStep, AuthErrorBanner, AuthErrorBannerProps, AuthFormField, AuthFormFieldProps, AuthHeader, AuthHeaderProps, AuthLink, AuthLinkProps, AuthOAuthButton, AuthOAuthButtonProps, AuthOAuthProviders, AuthOAuthProvidersProps, AuthPasswordField, AuthPasswordFieldProps, AuthPasswordStrengthIndicator, AuthPasswordStrengthIndicatorProps, AuthResetPasswordVerificationStep, AuthSubmitButton, AuthSubmitButtonProps, AuthVerificationCodeInput, AuthVerificationCodeInputProps, ConditionalProps, ForgotPassword, ForgotPasswordForm, ForgotPasswordFormProps, ForgotPasswordProps, Protect, ProtectProps, ResetPassword, ResetPasswordForm, ResetPasswordFormProps, ResetPasswordProps, SignIn, SignInForm, SignInFormProps, SignInProps, SignUp, SignUpForm, SignUpFormProps, SignUpProps, SignedIn, SignedOut, UserButton, UserButtonProps, VerifyEmail, VerifyEmailProps, VerifyEmailStatus, VerifyEmailStatusProps } from '@insforge/react/components';
|
|
6
5
|
export { useAuth, usePublicAuthConfig, useUser } from '@insforge/react/hooks';
|
|
7
6
|
import 'react/jsx-runtime';
|
|
8
7
|
import '@insforge/react';
|
|
9
8
|
import '@insforge/react/navigation';
|
|
10
|
-
import 'clsx';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@insforge/nextjs",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.6",
|
|
4
4
|
"description": "Pre-built authentication UI components for Next.js with Insforge backend - zero configuration required",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -41,20 +41,14 @@
|
|
|
41
41
|
"author": "Insforge",
|
|
42
42
|
"license": "MIT",
|
|
43
43
|
"dependencies": {
|
|
44
|
-
"@insforge/react": "^0.5.
|
|
45
|
-
"@insforge/sdk": "^0.0.58
|
|
46
|
-
"@insforge/shared-schemas": "^1.1.19"
|
|
47
|
-
"clsx": "^2.1.1",
|
|
48
|
-
"lucide-react": "^0.552.0",
|
|
49
|
-
"tailwind-merge": "^3.3.1"
|
|
44
|
+
"@insforge/react": "^0.5.7",
|
|
45
|
+
"@insforge/sdk": "^0.0.58",
|
|
46
|
+
"@insforge/shared-schemas": "^1.1.19"
|
|
50
47
|
},
|
|
51
48
|
"devDependencies": {
|
|
52
|
-
"@tailwindcss/postcss": "^4.1.16",
|
|
53
49
|
"@types/node": "^24.9.2",
|
|
54
50
|
"@types/react": "^19.2.2",
|
|
55
51
|
"@types/react-dom": "^19.2.2",
|
|
56
|
-
"concurrently": "^9.2.1",
|
|
57
|
-
"tailwindcss": "^4.1.16",
|
|
58
52
|
"tsup": "^8.5.0",
|
|
59
53
|
"typescript": "^5.9.3"
|
|
60
54
|
},
|
package/dist/esm/lib/utils.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/lib/utils.ts"],"sourcesContent":["import { type ClassValue, clsx } from 'clsx';\r\nimport { twMerge } from 'tailwind-merge';\r\n\r\n/**\r\n * Utility function to merge Tailwind CSS classes with clsx\r\n * Allows users to inject custom className overrides\r\n * \r\n * @example\r\n * ```tsx\r\n * cn(\"text-base\", isDark && \"text-white\", customClassName)\r\n * ```\r\n */\r\nexport function cn(...inputs: ClassValue[]) {\r\n return twMerge(clsx(inputs));\r\n}\r\n\r\n"],"mappings":"AAAA,SAA0B,YAAY;AACtC,SAAS,eAAe;AAWjB,SAAS,MAAM,QAAsB;AAC1C,SAAO,QAAQ,KAAK,MAAM,CAAC;AAC7B;","names":[]}
|