@mindly/ui-components 6.5.0-dev.4 → 6.5.0-dev.6
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/cjs/index.js +149 -166
- package/dist/cjs/lib2/shared/providers/AuthProvider/AuthProvider.d.ts +1 -5
- package/dist/cjs/lib2/shared/providers/AuthProvider/types.d.ts +1 -2
- package/dist/esm/index.js +149 -166
- package/dist/esm/lib2/shared/providers/AuthProvider/AuthProvider.d.ts +1 -5
- package/dist/esm/lib2/shared/providers/AuthProvider/types.d.ts +1 -2
- package/dist/index.d.ts +2 -6
- package/package.json +1 -1
|
@@ -1,8 +1,4 @@
|
|
|
1
1
|
import React, { FC } from 'react';
|
|
2
2
|
import { AuthContextType } from './types';
|
|
3
3
|
export declare const AuthContext: React.Context<AuthContextType | null>;
|
|
4
|
-
|
|
5
|
-
skipNativeAuth?: boolean;
|
|
6
|
-
};
|
|
7
|
-
export declare const AuthProvider: FC<AuthProviderProps>;
|
|
8
|
-
export {};
|
|
4
|
+
export declare const AuthProvider: FC;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { CreateUserWithEmailAndPasswordOptions, LinkWithEmailAndPasswordOptions, SendPasswordResetEmailOptions, SignInResult, SignInWithEmailAndPasswordOptions, User } from '@capacitor-firebase/authentication';
|
|
2
|
-
import { UserCredential } from 'firebase/auth';
|
|
3
2
|
export type AuthContextType = {
|
|
4
3
|
isAuthLoading: boolean;
|
|
5
4
|
isAuthReady: boolean;
|
|
@@ -7,7 +6,7 @@ export type AuthContextType = {
|
|
|
7
6
|
signInAnonymously: () => Promise<SignInResult>;
|
|
8
7
|
signInWithApple: () => Promise<SignInResult>;
|
|
9
8
|
signInWithGoogle: () => Promise<SignInResult>;
|
|
10
|
-
signInWithCustomToken: (token: string) => Promise<SignInResult
|
|
9
|
+
signInWithCustomToken: (token: string) => Promise<SignInResult>;
|
|
11
10
|
signInWithEmailAndPassword: (options: SignInWithEmailAndPasswordOptions) => Promise<SignInResult>;
|
|
12
11
|
linkWithApple: () => Promise<SignInResult>;
|
|
13
12
|
linkWithGoogle: () => Promise<SignInResult>;
|
package/dist/index.d.ts
CHANGED
|
@@ -15,7 +15,6 @@ import { ToastStateProps, ToastState } from '@react-stately/toast';
|
|
|
15
15
|
import { AriaToastRegionProps } from '@react-aria/toast';
|
|
16
16
|
import { IonSearchbarCustomEvent, SearchbarChangeEventDetail, TextFieldTypes, IonInputCustomEvent, InputChangeEventDetail } from '@ionic/core';
|
|
17
17
|
import { User, SignInResult, SignInWithEmailAndPasswordOptions, LinkWithEmailAndPasswordOptions, CreateUserWithEmailAndPasswordOptions, SendPasswordResetEmailOptions } from '@capacitor-firebase/authentication';
|
|
18
|
-
import { UserCredential } from 'firebase/auth';
|
|
19
18
|
import { MarkdownToJSX } from 'markdown-to-jsx';
|
|
20
19
|
|
|
21
20
|
interface ButtonProps$2 {
|
|
@@ -2254,7 +2253,7 @@ type AuthContextType = {
|
|
|
2254
2253
|
signInAnonymously: () => Promise<SignInResult>;
|
|
2255
2254
|
signInWithApple: () => Promise<SignInResult>;
|
|
2256
2255
|
signInWithGoogle: () => Promise<SignInResult>;
|
|
2257
|
-
signInWithCustomToken: (token: string) => Promise<SignInResult
|
|
2256
|
+
signInWithCustomToken: (token: string) => Promise<SignInResult>;
|
|
2258
2257
|
signInWithEmailAndPassword: (options: SignInWithEmailAndPasswordOptions) => Promise<SignInResult>;
|
|
2259
2258
|
linkWithApple: () => Promise<SignInResult>;
|
|
2260
2259
|
linkWithGoogle: () => Promise<SignInResult>;
|
|
@@ -2267,10 +2266,7 @@ type AuthContextType = {
|
|
|
2267
2266
|
};
|
|
2268
2267
|
|
|
2269
2268
|
declare const AuthContext: React__default.Context<AuthContextType | null>;
|
|
2270
|
-
|
|
2271
|
-
skipNativeAuth?: boolean;
|
|
2272
|
-
};
|
|
2273
|
-
declare const AuthProvider: FC<AuthProviderProps>;
|
|
2269
|
+
declare const AuthProvider: FC;
|
|
2274
2270
|
|
|
2275
2271
|
declare function useDomRef<T extends HTMLElement = HTMLElement>(ref: React$1.RefObject<T | null> | React$1.ForwardedRef<T | null>): React$1.RefObject<T>;
|
|
2276
2272
|
|