@authing/guard-shim-react18 6.0.0-alpha.0 → 6.0.0-alpha.2
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/guard.min.js +2 -0
- package/dist/typings/src/ForgetPassword/InputPassword/index.d.ts +2 -2
- package/dist/typings/src/InputNumber/index.d.ts +1 -1
- package/dist/typings/src/Login/hooks/useLoginMultiple.d.ts +1 -1
- package/dist/typings/src/Qrcode/UiQrCode.d.ts +1 -1
- package/dist/typings/src/SubmitButton/index.d.ts +1 -1
- package/package.json +2 -2
- package/dist/index.min.js +0 -2
- /package/dist/{index.min.css → guard.min.css} +0 -0
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { PasswordProps } from 'shim-antd/lib/input';
|
|
1
|
+
import { PasswordProps, InputProps } from 'shim-antd/lib/input';
|
|
2
2
|
import { React } from 'shim-react';
|
|
3
|
-
export declare const InputPasswordForget: React.ForwardRefExoticComponent<
|
|
3
|
+
export declare const InputPasswordForget: React.ForwardRefExoticComponent<PasswordProps & React.RefAttributes<React.RefObject<InputProps>>>;
|
|
@@ -2,4 +2,4 @@ import { InputProps } from 'shim-antd/lib/input';
|
|
|
2
2
|
import { React } from 'shim-react';
|
|
3
3
|
export interface InputNumberProps extends InputProps {
|
|
4
4
|
}
|
|
5
|
-
export declare const InputNumber: React.ForwardRefExoticComponent<
|
|
5
|
+
export declare const InputNumber: React.ForwardRefExoticComponent<InputNumberProps & React.RefAttributes<any>>;
|
|
@@ -57,7 +57,7 @@ declare function useLoginMultiple(setLoginWay: React.Dispatch<any>): {
|
|
|
57
57
|
getOriginAccount: () => string;
|
|
58
58
|
getOriginWay: () => string;
|
|
59
59
|
} | undefined;
|
|
60
|
-
referMultipleState: ((type: "
|
|
60
|
+
referMultipleState: ((type: "login" | "multiple") => void) | undefined;
|
|
61
61
|
backfillData: BackFillMultipleState | undefined;
|
|
62
62
|
defaultQrWay: string | undefined;
|
|
63
63
|
};
|
|
@@ -6,5 +6,5 @@ interface SubmitButtonProps extends ButtonProps {
|
|
|
6
6
|
onClick?: any;
|
|
7
7
|
disabled?: boolean;
|
|
8
8
|
}
|
|
9
|
-
declare const _default: React.ForwardRefExoticComponent<
|
|
9
|
+
declare const _default: React.ForwardRefExoticComponent<SubmitButtonProps & React.RefAttributes<unknown>>;
|
|
10
10
|
export default _default;
|
package/package.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@authing/guard-shim-react18",
|
|
3
|
-
"version": "6.0.0-alpha.
|
|
3
|
+
"version": "6.0.0-alpha.2",
|
|
4
4
|
"description": "Guard shim for react 18, only be used to internal",
|
|
5
5
|
"types": "dist/typings/src/index.d.ts",
|
|
6
|
-
"module": "dist/
|
|
6
|
+
"module": "dist/guard.min.js",
|
|
7
7
|
"files": [
|
|
8
8
|
"dist",
|
|
9
9
|
"package.json",
|