@wacht/jsx 1.0.0-beta.55 → 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 +19 -19
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +11 -11
- package/dist/index.es.js +2834 -2795
- 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.
|