@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.
@@ -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<Pick<PasswordProps, keyof PasswordProps> & React.RefAttributes<React.RefObject<any>>>;
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<Pick<InputNumberProps, keyof InputNumberProps> & React.RefAttributes<any>>;
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: "multiple" | "login") => void) | undefined;
60
+ referMultipleState: ((type: "login" | "multiple") => void) | undefined;
61
61
  backfillData: BackFillMultipleState | undefined;
62
62
  defaultQrWay: string | undefined;
63
63
  };
@@ -47,5 +47,5 @@ export interface UiQrProps {
47
47
  */
48
48
  onMaskContent?: (status: CodeStatus) => void;
49
49
  }
50
- declare const UiQrCode: React.FC<UiQrProps>;
50
+ declare const UiQrCode: React.NamedExoticComponent<UiQrProps>;
51
51
  export { UiQrCode };
@@ -6,5 +6,5 @@ interface SubmitButtonProps extends ButtonProps {
6
6
  onClick?: any;
7
7
  disabled?: boolean;
8
8
  }
9
- declare const _default: React.ForwardRefExoticComponent<Pick<SubmitButtonProps, keyof SubmitButtonProps> & React.RefAttributes<unknown>>;
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.0",
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/index.min.js",
6
+ "module": "dist/guard.min.js",
7
7
  "files": [
8
8
  "dist",
9
9
  "package.json",