@wacht/jsx 1.0.0-beta.56 → 1.0.0-beta.57
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/README.md +2 -2
- package/dist/index.cjs.js +2 -2
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +11 -11
- package/dist/index.es.js +3 -3
- package/dist/index.es.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -795,16 +795,9 @@ declare interface SimpleDialogProps {
|
|
|
795
795
|
showCloseButton?: boolean;
|
|
796
796
|
}
|
|
797
797
|
|
|
798
|
-
export declare
|
|
799
|
-
|
|
800
|
-
declare interface SpinnerProps {
|
|
801
|
-
size?: number;
|
|
802
|
-
className?: string;
|
|
803
|
-
}
|
|
804
|
-
|
|
805
|
-
export declare function SSOCallback(): JSX.Element;
|
|
798
|
+
export declare function SocialCallback(): JSX.Element;
|
|
806
799
|
|
|
807
|
-
declare interface
|
|
800
|
+
declare interface SocialCallbackState {
|
|
808
801
|
loading: boolean;
|
|
809
802
|
error: Error | null;
|
|
810
803
|
session: Session | null;
|
|
@@ -813,6 +806,13 @@ declare interface SSOCallbackState {
|
|
|
813
806
|
signinAttempt: SigninAttempt | null;
|
|
814
807
|
}
|
|
815
808
|
|
|
809
|
+
export declare const Spinner: ({ size, className }: SpinnerProps) => JSX.Element;
|
|
810
|
+
|
|
811
|
+
declare interface SpinnerProps {
|
|
812
|
+
size?: number;
|
|
813
|
+
className?: string;
|
|
814
|
+
}
|
|
815
|
+
|
|
816
816
|
export declare const Switch: default_2.FC<SwitchProps>;
|
|
817
817
|
|
|
818
818
|
declare interface SwitchProps {
|
|
@@ -1529,10 +1529,10 @@ export declare type UseSignUpReturnType = {
|
|
|
1529
1529
|
};
|
|
1530
1530
|
|
|
1531
1531
|
/**
|
|
1532
|
-
* Headless hook for handling
|
|
1532
|
+
* Headless hook for handling social OAuth callback
|
|
1533
1533
|
* Automatically processes URL parameters and handles the callback flow
|
|
1534
1534
|
*/
|
|
1535
|
-
export declare function
|
|
1535
|
+
export declare function useSocialCallback(): SocialCallbackState;
|
|
1536
1536
|
|
|
1537
1537
|
/**
|
|
1538
1538
|
* Inline `--wa-ov-*` override vars for the current deployment's theme_tokens.
|
package/dist/index.es.js
CHANGED
|
@@ -2740,7 +2740,7 @@ function R1() {
|
|
|
2740
2740
|
_ && g(_);
|
|
2741
2741
|
}
|
|
2742
2742
|
} else {
|
|
2743
|
-
const k = new Error("
|
|
2743
|
+
const k = new Error("Social callback failed");
|
|
2744
2744
|
o(k);
|
|
2745
2745
|
}
|
|
2746
2746
|
} catch (x) {
|
|
@@ -23665,13 +23665,13 @@ export {
|
|
|
23665
23665
|
Zu as PhoneVerification,
|
|
23666
23666
|
Iu as ProfileCompletion,
|
|
23667
23667
|
Dp as RequireActiveTenancy,
|
|
23668
|
-
Ap as SSOCallback,
|
|
23669
23668
|
kp as SignInForm,
|
|
23670
23669
|
xp as SignUpForm,
|
|
23671
23670
|
Tp as SignedIn,
|
|
23672
23671
|
Vp as SignedInAccounts,
|
|
23673
23672
|
Fp as SignedOut,
|
|
23674
23673
|
Lp as SimpleDialog,
|
|
23674
|
+
Ap as SocialCallback,
|
|
23675
23675
|
Le as Spinner,
|
|
23676
23676
|
on as Switch,
|
|
23677
23677
|
Ou as TwoFactorMethodSelector,
|
|
@@ -23728,10 +23728,10 @@ export {
|
|
|
23728
23728
|
tp as useProjectTasks,
|
|
23729
23729
|
Y6 as useProjectThreadFeed,
|
|
23730
23730
|
K6 as useProjectThreads,
|
|
23731
|
-
R1 as useSSOCallback,
|
|
23732
23731
|
vt as useSession,
|
|
23733
23732
|
T0 as useSignIn,
|
|
23734
23733
|
V0 as useSignUp,
|
|
23734
|
+
R1 as useSocialCallback,
|
|
23735
23735
|
Rn as useThemeOverrideVars,
|
|
23736
23736
|
Ba as useUser,
|
|
23737
23737
|
S1 as useUserSignins,
|