@mindly/ui-components 6.5.0-dev.2 → 6.5.0-dev.4
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 +1945 -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 +5 -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/ListBoxItem/ListBoxDefaultItem.d.ts +1 -1
- package/dist/cjs/lib2/shared/ui/ListBoxItem/ListBoxIconItem.d.ts +1 -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 +1945 -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 +5 -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/ListBoxItem/ListBoxDefaultItem.d.ts +1 -1
- package/dist/esm/lib2/shared/ui/ListBoxItem/ListBoxIconItem.d.ts +1 -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 +6 -2
- package/package.json +1 -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,8 @@
|
|
|
1
1
|
import React, { FC } from 'react';
|
|
2
2
|
import { AuthContextType } from './types';
|
|
3
3
|
export declare const AuthContext: React.Context<AuthContextType | null>;
|
|
4
|
-
|
|
4
|
+
type AuthProviderProps = {
|
|
5
|
+
skipNativeAuth?: boolean;
|
|
6
|
+
};
|
|
7
|
+
export declare const AuthProvider: FC<AuthProviderProps>;
|
|
8
|
+
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;
|
|
@@ -13,6 +13,6 @@ declare const _default: React.MemoExoticComponent<({ item, isSelected, selection
|
|
|
13
13
|
selectionPosition: "end" | "start";
|
|
14
14
|
enableSelection: boolean;
|
|
15
15
|
selectedIconProps: IconProps;
|
|
16
|
-
type: "image" | "
|
|
16
|
+
type: "image" | "checkbox" | "radio" | "icon" | "emoji" | "roundImage";
|
|
17
17
|
}) => import("react/jsx-runtime").JSX.Element>;
|
|
18
18
|
export default _default;
|
|
@@ -8,7 +8,7 @@ declare const _default: React.MemoExoticComponent<({ item, isSelected, enableSel
|
|
|
8
8
|
variant: VariantType;
|
|
9
9
|
item: Node<unknown>;
|
|
10
10
|
enableSelection: boolean;
|
|
11
|
-
type: "image" | "
|
|
11
|
+
type: "image" | "checkbox" | "radio" | "icon" | "emoji" | "roundImage";
|
|
12
12
|
isOnboardingPreview?: boolean | undefined;
|
|
13
13
|
image?: ResponseFileType | null | undefined;
|
|
14
14
|
selectionMode?: "none" | "multiple" | "single" | undefined;
|
package/dist/index.d.ts
CHANGED
|
@@ -15,6 +15,7 @@ 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';
|
|
18
19
|
import { MarkdownToJSX } from 'markdown-to-jsx';
|
|
19
20
|
|
|
20
21
|
interface ButtonProps$2 {
|
|
@@ -2253,7 +2254,7 @@ type AuthContextType = {
|
|
|
2253
2254
|
signInAnonymously: () => Promise<SignInResult>;
|
|
2254
2255
|
signInWithApple: () => Promise<SignInResult>;
|
|
2255
2256
|
signInWithGoogle: () => Promise<SignInResult>;
|
|
2256
|
-
signInWithCustomToken: (token: string) => Promise<SignInResult>;
|
|
2257
|
+
signInWithCustomToken: (token: string) => Promise<SignInResult | UserCredential>;
|
|
2257
2258
|
signInWithEmailAndPassword: (options: SignInWithEmailAndPasswordOptions) => Promise<SignInResult>;
|
|
2258
2259
|
linkWithApple: () => Promise<SignInResult>;
|
|
2259
2260
|
linkWithGoogle: () => Promise<SignInResult>;
|
|
@@ -2266,7 +2267,10 @@ type AuthContextType = {
|
|
|
2266
2267
|
};
|
|
2267
2268
|
|
|
2268
2269
|
declare const AuthContext: React__default.Context<AuthContextType | null>;
|
|
2269
|
-
|
|
2270
|
+
type AuthProviderProps = {
|
|
2271
|
+
skipNativeAuth?: boolean;
|
|
2272
|
+
};
|
|
2273
|
+
declare const AuthProvider: FC<AuthProviderProps>;
|
|
2270
2274
|
|
|
2271
2275
|
declare function useDomRef<T extends HTMLElement = HTMLElement>(ref: React$1.RefObject<T | null> | React$1.ForwardedRef<T | null>): React$1.RefObject<T>;
|
|
2272
2276
|
|