@authing/react-ui-components 3.1.0-rc.3 → 3.1.0-rc.7

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/lib/index.d.ts CHANGED
@@ -1286,6 +1286,10 @@ declare module '@authing/react-ui-components/components/CompleteInfo/interface'
1286
1286
  code?: string;
1287
1287
  }[];
1288
1288
  }
1289
+ export enum OmitCompleteInfo {
1290
+ 'registerByEmail' = "email",
1291
+ 'registerByPhoneCode' = "phone"
1292
+ }
1289
1293
 
1290
1294
  }
1291
1295
  declare module '@authing/react-ui-components/components/CompleteInfo/utils' {
@@ -1905,6 +1909,7 @@ declare module '@authing/react-ui-components/components/Login/core/withWechatmpQ
1905
1909
  }
1906
1910
  declare module '@authing/react-ui-components/components/Login/index' {
1907
1911
  /// <reference types="react" />
1912
+ import './styles.less';
1908
1913
  export const GuardLoginView: () => JSX.Element;
1909
1914
 
1910
1915
  }
@@ -2303,7 +2308,8 @@ declare module '@authing/react-ui-components/components/Register/core/WithEmail'
2303
2308
  import React from 'react';
2304
2309
  import { Agreement, ApplicationConfig } from '@authing/react-ui-components/components/AuthingGuard/api/index';
2305
2310
  export interface RegisterWithEmailProps {
2306
- onRegister: Function;
2311
+ onRegisterSuccess: Function;
2312
+ onRegisterFailed: Function;
2307
2313
  onBeforeRegister?: Function;
2308
2314
  publicConfig?: ApplicationConfig;
2309
2315
  agreements: Agreement[];
@@ -2316,7 +2322,8 @@ declare module '@authing/react-ui-components/components/Register/core/WithPhone'
2316
2322
  import React from 'react';
2317
2323
  import { Agreement, ApplicationConfig } from '@authing/react-ui-components/components/AuthingGuard/api/index';
2318
2324
  export interface RegisterWithPhoneProps {
2319
- onRegister: Function;
2325
+ onRegisterSuccess: Function;
2326
+ onRegisterFailed: Function;
2320
2327
  agreements: Agreement[];
2321
2328
  publicConfig?: ApplicationConfig;
2322
2329
  registeContext?: any;
@@ -3120,6 +3127,7 @@ declare module '@authing/react-ui-components/components/context/module/context'
3120
3127
  }
3121
3128
  declare module '@authing/react-ui-components/components/index' {
3122
3129
  export * from '@authing/react-ui-components/components/_utils/config';
3130
+ export * from '@authing/react-ui-components/components/_utils/responseManagement/interface';
3123
3131
  export type { AuthenticationClientOptions } from 'authing-js-sdk';
3124
3132
  export * from '@authing/react-ui-components/components/AuthingGuard/types/index';
3125
3133
  export * from '@authing/react-ui-components/components/AuthingGuard/hooks/index';
@@ -3135,7 +3143,7 @@ declare module '@authing/react-ui-components/components/version/index' {
3135
3143
 
3136
3144
  }
3137
3145
  declare module '@authing/react-ui-components/components/version/version' {
3138
- const _default: "3.1.0-rc.3";
3146
+ const _default: "3.1.0-rc.7";
3139
3147
  export default _default;
3140
3148
 
3141
3149
  }