@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.
Files changed (44) hide show
  1. package/dist/cjs/index.js +1945 -8
  2. package/dist/cjs/lib2/features/AcceptAgreementFeature/AcceptAgreemnetFeature.d.ts +0 -1
  3. package/dist/cjs/lib2/features/GoogleCalendarModalFeature/GoogleCalendarModalFeature.d.ts +0 -1
  4. package/dist/cjs/lib2/features/OutdatedPersonalDataFeature/OutdatedPersonalDataFeature.d.ts +0 -1
  5. package/dist/cjs/lib2/features/PushNotificationsIsDisabledBanner/PushNotificationsIsDisabledBanner.d.ts +0 -1
  6. package/dist/cjs/lib2/features/PushNotificationsModal/PushNotificationsModal.d.ts +0 -1
  7. package/dist/cjs/lib2/shared/assets/icons/IconMinus.d.ts +0 -1
  8. package/dist/cjs/lib2/shared/providers/AuthProvider/AuthProvider.d.ts +5 -1
  9. package/dist/cjs/lib2/shared/providers/AuthProvider/types.d.ts +2 -1
  10. package/dist/cjs/lib2/shared/ui/Calendar/Calendar.d.ts +0 -1
  11. package/dist/cjs/lib2/shared/ui/Calendar/VerticalCalendar.d.ts +0 -1
  12. package/dist/cjs/lib2/shared/ui/Calendar/VerticalCalendarMonthSkeleton.d.ts +0 -1
  13. package/dist/cjs/lib2/shared/ui/Calendar/VerticalCalendarSkeleton.d.ts +0 -1
  14. package/dist/cjs/lib2/shared/ui/ListBox/ListBox.d.ts +0 -1
  15. package/dist/cjs/lib2/shared/ui/ListBoxItem/ListBoxDefaultItem.d.ts +1 -1
  16. package/dist/cjs/lib2/shared/ui/ListBoxItem/ListBoxIconItem.d.ts +1 -1
  17. package/dist/cjs/lib2/shared/ui/RatingCircle/RatingCircleIcons.d.ts +0 -1
  18. package/dist/cjs/lib2/shared/ui/Tabs/Tab.d.ts +0 -1
  19. package/dist/cjs/lib2/shared/ui/Tabs/TabPanel.d.ts +0 -1
  20. package/dist/cjs/lib2/shared/ui/Tabs/Tabs.d.ts +0 -1
  21. package/dist/cjs/lib2/widgets/UpdateContractWidget/UpdateContractWidget.d.ts +0 -1
  22. package/dist/esm/index.js +1945 -8
  23. package/dist/esm/lib2/features/AcceptAgreementFeature/AcceptAgreemnetFeature.d.ts +0 -1
  24. package/dist/esm/lib2/features/GoogleCalendarModalFeature/GoogleCalendarModalFeature.d.ts +0 -1
  25. package/dist/esm/lib2/features/OutdatedPersonalDataFeature/OutdatedPersonalDataFeature.d.ts +0 -1
  26. package/dist/esm/lib2/features/PushNotificationsIsDisabledBanner/PushNotificationsIsDisabledBanner.d.ts +0 -1
  27. package/dist/esm/lib2/features/PushNotificationsModal/PushNotificationsModal.d.ts +0 -1
  28. package/dist/esm/lib2/shared/assets/icons/IconMinus.d.ts +0 -1
  29. package/dist/esm/lib2/shared/providers/AuthProvider/AuthProvider.d.ts +5 -1
  30. package/dist/esm/lib2/shared/providers/AuthProvider/types.d.ts +2 -1
  31. package/dist/esm/lib2/shared/ui/Calendar/Calendar.d.ts +0 -1
  32. package/dist/esm/lib2/shared/ui/Calendar/VerticalCalendar.d.ts +0 -1
  33. package/dist/esm/lib2/shared/ui/Calendar/VerticalCalendarMonthSkeleton.d.ts +0 -1
  34. package/dist/esm/lib2/shared/ui/Calendar/VerticalCalendarSkeleton.d.ts +0 -1
  35. package/dist/esm/lib2/shared/ui/ListBox/ListBox.d.ts +0 -1
  36. package/dist/esm/lib2/shared/ui/ListBoxItem/ListBoxDefaultItem.d.ts +1 -1
  37. package/dist/esm/lib2/shared/ui/ListBoxItem/ListBoxIconItem.d.ts +1 -1
  38. package/dist/esm/lib2/shared/ui/RatingCircle/RatingCircleIcons.d.ts +0 -1
  39. package/dist/esm/lib2/shared/ui/Tabs/Tab.d.ts +0 -1
  40. package/dist/esm/lib2/shared/ui/Tabs/TabPanel.d.ts +0 -1
  41. package/dist/esm/lib2/shared/ui/Tabs/Tabs.d.ts +0 -1
  42. package/dist/esm/lib2/widgets/UpdateContractWidget/UpdateContractWidget.d.ts +0 -1
  43. package/dist/index.d.ts +6 -2
  44. package/package.json +1 -1
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  type AcceptAgreementFeatureProps = {
3
2
  isAccepted: boolean;
4
3
  setIsAccepted: (isAccepted: boolean) => void;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { WithTranslation } from 'react-i18next';
3
2
  type GoogleCalendarModalFeatureProps = {
4
3
  isOpen: boolean;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  import { OutdatedPersonalDataFeatureProps } from './types';
3
2
  export declare function OutdatedPersonalDataFeature({ isOpen, presentingElement, onApply, onDismiss, subtitle, title, applyText, }: OutdatedPersonalDataFeatureProps): JSX.Element;
@@ -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,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  import { PushNotificationsModalProps } from './types';
3
2
  export declare function PushNotificationsModal({ onApplyPermission, isOpen, title, description, image, applyPermissionText, ...props }: PushNotificationsModalProps): JSX.Element;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  import { IconProps } from '../../types';
3
2
  export declare function IconMinus({ color, size, ...other }: IconProps): 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
- export declare const AuthProvider: FC;
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,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { CalendarProps } from './types';
3
2
  type VerticalCalendarProps = CalendarProps & {
4
3
  visibleDuration?: number;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  type VerticalCalendarMonthSkeletonProps = {
3
2
  days: number;
4
3
  };
@@ -1,2 +1 @@
1
- /// <reference types="react" />
2
1
  export declare function VerticalCalendarSkeleton(): 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" | "icon" | "checkbox" | "radio" | "emoji" | "roundImage";
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" | "icon" | "checkbox" | "radio" | "emoji" | "roundImage";
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;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  export declare function CircleRatingIcon({ index, className, }: {
3
2
  index: number;
4
3
  className: string;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { ItemProps, Node, TabListState } from 'react-stately';
3
2
  type TabProps<T> = {
4
3
  item: Node<T> & {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { AriaTabPanelProps } from 'react-aria';
3
2
  import type { TabListState } from 'react-stately';
4
3
  type TabPanelProps<T> = AriaTabPanelProps & {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { AriaTabListProps } from 'react-aria';
3
2
  type TabsProps<T> = AriaTabListProps<T> & {
4
3
  className?: string;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  type UpdateContractWidgetProps = {
3
2
  isAccepted: boolean;
4
3
  setIsAccepted: (isAccepted: boolean) => void;