@mindly/ui-components 6.5.0-dev.1 → 6.5.0-dev.3
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 +1928 -8
- package/dist/cjs/lib2/features/AcceptAgreementFeature/AcceptAgreemnetFeature.d.ts +0 -1
- package/dist/cjs/lib2/features/GoogleCalendarModalFeature/GoogleCalendarModalFeature.d.ts +0 -1
- package/dist/cjs/lib2/features/OutdatedPersonalDataFeature/OutdatedPersonalDataFeature.d.ts +0 -1
- package/dist/cjs/lib2/features/PushNotificationsIsDisabledBanner/PushNotificationsIsDisabledBanner.d.ts +0 -1
- package/dist/cjs/lib2/features/PushNotificationsModal/PushNotificationsModal.d.ts +0 -1
- package/dist/cjs/lib2/shared/assets/icons/IconMinus.d.ts +0 -1
- package/dist/cjs/lib2/shared/providers/AuthProvider/AuthProvider.d.ts +7 -1
- package/dist/cjs/lib2/shared/providers/AuthProvider/types.d.ts +2 -1
- package/dist/cjs/lib2/shared/ui/Calendar/Calendar.d.ts +0 -1
- package/dist/cjs/lib2/shared/ui/Calendar/VerticalCalendar.d.ts +0 -1
- package/dist/cjs/lib2/shared/ui/Calendar/VerticalCalendarMonthSkeleton.d.ts +0 -1
- package/dist/cjs/lib2/shared/ui/Calendar/VerticalCalendarSkeleton.d.ts +0 -1
- package/dist/cjs/lib2/shared/ui/ListBox/ListBox.d.ts +0 -1
- package/dist/cjs/lib2/shared/ui/RatingCircle/RatingCircleIcons.d.ts +0 -1
- package/dist/cjs/lib2/shared/ui/Tabs/Tab.d.ts +0 -1
- package/dist/cjs/lib2/shared/ui/Tabs/TabPanel.d.ts +0 -1
- package/dist/cjs/lib2/shared/ui/Tabs/Tabs.d.ts +0 -1
- package/dist/cjs/lib2/widgets/UpdateContractWidget/UpdateContractWidget.d.ts +0 -1
- package/dist/esm/index.js +1928 -8
- package/dist/esm/lib2/features/AcceptAgreementFeature/AcceptAgreemnetFeature.d.ts +0 -1
- package/dist/esm/lib2/features/GoogleCalendarModalFeature/GoogleCalendarModalFeature.d.ts +0 -1
- package/dist/esm/lib2/features/OutdatedPersonalDataFeature/OutdatedPersonalDataFeature.d.ts +0 -1
- package/dist/esm/lib2/features/PushNotificationsIsDisabledBanner/PushNotificationsIsDisabledBanner.d.ts +0 -1
- package/dist/esm/lib2/features/PushNotificationsModal/PushNotificationsModal.d.ts +0 -1
- package/dist/esm/lib2/shared/assets/icons/IconMinus.d.ts +0 -1
- package/dist/esm/lib2/shared/providers/AuthProvider/AuthProvider.d.ts +7 -1
- package/dist/esm/lib2/shared/providers/AuthProvider/types.d.ts +2 -1
- package/dist/esm/lib2/shared/ui/Calendar/Calendar.d.ts +0 -1
- package/dist/esm/lib2/shared/ui/Calendar/VerticalCalendar.d.ts +0 -1
- package/dist/esm/lib2/shared/ui/Calendar/VerticalCalendarMonthSkeleton.d.ts +0 -1
- package/dist/esm/lib2/shared/ui/Calendar/VerticalCalendarSkeleton.d.ts +0 -1
- package/dist/esm/lib2/shared/ui/ListBox/ListBox.d.ts +0 -1
- package/dist/esm/lib2/shared/ui/RatingCircle/RatingCircleIcons.d.ts +0 -1
- package/dist/esm/lib2/shared/ui/Tabs/Tab.d.ts +0 -1
- package/dist/esm/lib2/shared/ui/Tabs/TabPanel.d.ts +0 -1
- package/dist/esm/lib2/shared/ui/Tabs/Tabs.d.ts +0 -1
- package/dist/esm/lib2/widgets/UpdateContractWidget/UpdateContractWidget.d.ts +0 -1
- package/dist/index.d.ts +7 -2
- package/package.json +2 -1
|
@@ -1,3 +1,2 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { PushNotificationsIsDisabledBannerProps } from './types';
|
|
3
2
|
export declare function PushNotificationsIsDisabledBanner({ onOpenNativeSettings, className, title, description, buttonText, }: PushNotificationsIsDisabledBannerProps): JSX.Element;
|
|
@@ -1,4 +1,10 @@
|
|
|
1
1
|
import React, { FC } from 'react';
|
|
2
|
+
import { Auth } from 'firebase/auth';
|
|
2
3
|
import { AuthContextType } from './types';
|
|
3
4
|
export declare const AuthContext: React.Context<AuthContextType | null>;
|
|
4
|
-
|
|
5
|
+
type AuthProviderProps = {
|
|
6
|
+
skipNativeAuth?: boolean;
|
|
7
|
+
auth?: Auth;
|
|
8
|
+
};
|
|
9
|
+
export declare const AuthProvider: FC<AuthProviderProps>;
|
|
10
|
+
export {};
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { CreateUserWithEmailAndPasswordOptions, LinkWithEmailAndPasswordOptions, SendPasswordResetEmailOptions, SignInResult, SignInWithEmailAndPasswordOptions, User } from '@capacitor-firebase/authentication';
|
|
2
|
+
import { UserCredential } from 'firebase/auth';
|
|
2
3
|
export type AuthContextType = {
|
|
3
4
|
isAuthLoading: boolean;
|
|
4
5
|
isAuthReady: boolean;
|
|
@@ -6,7 +7,7 @@ export type AuthContextType = {
|
|
|
6
7
|
signInAnonymously: () => Promise<SignInResult>;
|
|
7
8
|
signInWithApple: () => Promise<SignInResult>;
|
|
8
9
|
signInWithGoogle: () => Promise<SignInResult>;
|
|
9
|
-
signInWithCustomToken: (token: string) => Promise<SignInResult>;
|
|
10
|
+
signInWithCustomToken: (token: string) => Promise<SignInResult | UserCredential>;
|
|
10
11
|
signInWithEmailAndPassword: (options: SignInWithEmailAndPasswordOptions) => Promise<SignInResult>;
|
|
11
12
|
linkWithApple: () => Promise<SignInResult>;
|
|
12
13
|
linkWithGoogle: () => Promise<SignInResult>;
|
|
@@ -1,3 +1,2 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { CalendarProps } from './types';
|
|
3
2
|
export declare function Calendar({ maxValue, minValue, timeZone, locale, isShowWeekNames, isShowMonthNavigation, selectionMode, onSelectionChange, defaultSelectDates, onDatePress, renderCustomDateContent, fullWidth, ...props }: CalendarProps): JSX.Element;
|
|
@@ -1,3 +1,2 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { ListBoxProps } from './types';
|
|
3
2
|
export default function ListBox<T extends Record<string, unknown>>({ selectedIconProps, type, selectionPosition, enableSelection, className, variant, isOnboardingPreview, isTransparent, isRoundCorners, maxSelectionCount, initialVisibleCount, t, ...props }: ListBoxProps<T>): JSX.Element;
|