@mindly/ui-components 5.36.1 → 5.38.0

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 (30) hide show
  1. package/dist/cjs/index.js +2 -2
  2. package/dist/cjs/lib2/features/GoogleCalendarModalFeature/GoogleCalendarModalFeature.d.ts +13 -0
  3. package/dist/cjs/lib2/features/GoogleCalendarModalFeature/index.d.ts +1 -0
  4. package/dist/cjs/lib2/features/index.d.ts +1 -0
  5. package/dist/cjs/lib2/shared/assets/icons/IconAddModerator.d.ts +3 -0
  6. package/dist/cjs/lib2/shared/assets/icons/IconEcgHeart.d.ts +3 -0
  7. package/dist/cjs/lib2/shared/assets/icons/IconEventBusy.d.ts +3 -0
  8. package/dist/cjs/lib2/shared/assets/icons/IconHome.d.ts +3 -0
  9. package/dist/cjs/lib2/shared/assets/icons/IconPromocode.d.ts +3 -0
  10. package/dist/cjs/lib2/shared/assets/icons/IconQueryStats.d.ts +3 -0
  11. package/dist/cjs/lib2/shared/assets/icons/IconSchema.d.ts +3 -0
  12. package/dist/cjs/lib2/shared/assets/icons/index.d.ts +7 -0
  13. package/dist/cjs/lib2/shared/types/iconProps.d.ts +6 -0
  14. package/dist/cjs/lib2/shared/types/index.d.ts +1 -0
  15. package/dist/esm/index.js +6 -6
  16. package/dist/esm/lib2/features/GoogleCalendarModalFeature/GoogleCalendarModalFeature.d.ts +13 -0
  17. package/dist/esm/lib2/features/GoogleCalendarModalFeature/index.d.ts +1 -0
  18. package/dist/esm/lib2/features/index.d.ts +1 -0
  19. package/dist/esm/lib2/shared/assets/icons/IconAddModerator.d.ts +3 -0
  20. package/dist/esm/lib2/shared/assets/icons/IconEcgHeart.d.ts +3 -0
  21. package/dist/esm/lib2/shared/assets/icons/IconEventBusy.d.ts +3 -0
  22. package/dist/esm/lib2/shared/assets/icons/IconHome.d.ts +3 -0
  23. package/dist/esm/lib2/shared/assets/icons/IconPromocode.d.ts +3 -0
  24. package/dist/esm/lib2/shared/assets/icons/IconQueryStats.d.ts +3 -0
  25. package/dist/esm/lib2/shared/assets/icons/IconSchema.d.ts +3 -0
  26. package/dist/esm/lib2/shared/assets/icons/index.d.ts +7 -0
  27. package/dist/esm/lib2/shared/types/iconProps.d.ts +6 -0
  28. package/dist/esm/lib2/shared/types/index.d.ts +1 -0
  29. package/dist/index.d.ts +34 -2
  30. package/package.json +1 -1
@@ -0,0 +1,13 @@
1
+ import { WithTranslation } from 'react-i18next';
2
+ type GoogleCalendarModalFeatureProps = {
3
+ isOpen: boolean;
4
+ status: 'active' | 'inactive' | 'access_denied';
5
+ presentingElement?: HTMLElement | undefined;
6
+ onSync: () => Promise<void>;
7
+ onDidDismiss: () => void;
8
+ isLoading: boolean;
9
+ imageUrl: string;
10
+ t: WithTranslation['t'];
11
+ };
12
+ export declare function GoogleCalendarModalFeature({ status, isOpen, onSync, isLoading, presentingElement, imageUrl, onDidDismiss, t, }: GoogleCalendarModalFeatureProps): JSX.Element;
13
+ export {};
@@ -0,0 +1 @@
1
+ export { GoogleCalendarModalFeature } from './GoogleCalendarModalFeature';
@@ -11,3 +11,4 @@ export * from './MobilePickerFeature';
11
11
  export * from './CheckBoxSectionListFeature';
12
12
  export * from './CheckBoxListFeature';
13
13
  export * from './ShareModalFeature';
14
+ export * from './GoogleCalendarModalFeature';
@@ -0,0 +1,3 @@
1
+ import { FC } from 'react';
2
+ import { IconProps } from '../../types';
3
+ export declare const IconAddModerator: FC<IconProps>;
@@ -0,0 +1,3 @@
1
+ import { FC } from 'react';
2
+ import { IconProps } from '../../types';
3
+ export declare const IconEcgHeart: FC<IconProps>;
@@ -0,0 +1,3 @@
1
+ import { FC } from 'react';
2
+ import { IconProps } from '../../types';
3
+ export declare const IconEventBusy: FC<IconProps>;
@@ -0,0 +1,3 @@
1
+ import { FC } from 'react';
2
+ import { IconProps } from '../../types';
3
+ export declare const IconHome: FC<IconProps>;
@@ -0,0 +1,3 @@
1
+ import { FC } from 'react';
2
+ import { IconProps } from '../../types';
3
+ export declare const IconPromocode: FC<IconProps>;
@@ -0,0 +1,3 @@
1
+ import { FC } from 'react';
2
+ import { IconProps } from '../../types';
3
+ export declare const IconQueryStats: FC<IconProps>;
@@ -0,0 +1,3 @@
1
+ import { FC } from 'react';
2
+ import { IconProps } from '../../types';
3
+ export declare const IconSchema: FC<IconProps>;
@@ -60,3 +60,10 @@ export * from './IconArrowDown';
60
60
  export * from './IconRadioButtonChecked';
61
61
  export * from './IconShare';
62
62
  export * from './IconLink';
63
+ export * from './IconHome';
64
+ export * from './IconEcgHeart';
65
+ export * from './IconAddModerator';
66
+ export * from './IconQueryStats';
67
+ export * from './IconSchema';
68
+ export * from './IconPromocode';
69
+ export * from './IconEventBusy';
@@ -0,0 +1,6 @@
1
+ import { SVGAttributes } from 'react';
2
+ export interface IconProps extends SVGAttributes<SVGElement> {
3
+ size?: number | string;
4
+ color?: string;
5
+ className?: string;
6
+ }
@@ -1 +1,2 @@
1
1
  export * from './ratingCircleTypes';
2
+ export * from './iconProps';
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- import React__default, { ReactNode, CSSProperties, HTMLAttributes, RefAttributes, FC, ReactText, ReactElement, ChangeEvent, InputHTMLAttributes, SVGProps } from 'react';
2
+ import React__default, { ReactNode, CSSProperties, HTMLAttributes, RefAttributes, FC, ReactText, ReactElement, ChangeEvent, SVGAttributes, InputHTMLAttributes, SVGProps } from 'react';
3
3
  import { JSX as JSX$1 } from '@ionic/core/components';
4
4
  import * as react_i18next from 'react-i18next';
5
5
  import { WithTranslation } from 'react-i18next';
@@ -1674,6 +1674,12 @@ type CircleRatingContextData = CircleRatingContextProps & {
1674
1674
  styles: any;
1675
1675
  };
1676
1676
 
1677
+ interface IconProps$v extends SVGAttributes<SVGElement> {
1678
+ size?: number | string;
1679
+ color?: string;
1680
+ className?: string;
1681
+ }
1682
+
1677
1683
  declare const RatingCircleWrapper: FC<CircleRatingComponentProps & {
1678
1684
  t: WithTranslation | any;
1679
1685
  }>;
@@ -2100,6 +2106,20 @@ interface IconProps extends React.SVGAttributes<SVGElement> {
2100
2106
  }
2101
2107
  declare function IconLink({ size, ...props }: IconProps): JSX.Element;
2102
2108
 
2109
+ declare const IconHome: FC<IconProps$v>;
2110
+
2111
+ declare const IconEcgHeart: FC<IconProps$v>;
2112
+
2113
+ declare const IconAddModerator: FC<IconProps$v>;
2114
+
2115
+ declare const IconQueryStats: FC<IconProps$v>;
2116
+
2117
+ declare const IconSchema: FC<IconProps$v>;
2118
+
2119
+ declare const IconPromocode: FC<IconProps$v>;
2120
+
2121
+ declare const IconEventBusy: FC<IconProps$v>;
2122
+
2103
2123
  type AnyRef = React__default.Ref<any>;
2104
2124
  declare const mergeRefs: <T extends unknown>(...refs: AnyRef[]) => React__default.Ref<T>;
2105
2125
 
@@ -2261,6 +2281,18 @@ type ShareModalFeatureProps = {
2261
2281
  };
2262
2282
  declare const ShareModalFeature: FC<ShareModalFeatureProps>;
2263
2283
 
2284
+ type GoogleCalendarModalFeatureProps = {
2285
+ isOpen: boolean;
2286
+ status: 'active' | 'inactive' | 'access_denied';
2287
+ presentingElement?: HTMLElement | undefined;
2288
+ onSync: () => Promise<void>;
2289
+ onDidDismiss: () => void;
2290
+ isLoading: boolean;
2291
+ imageUrl: string;
2292
+ t: WithTranslation['t'];
2293
+ };
2294
+ declare function GoogleCalendarModalFeature({ status, isOpen, onSync, isLoading, presentingElement, imageUrl, onDidDismiss, t, }: GoogleCalendarModalFeatureProps): JSX.Element;
2295
+
2264
2296
  declare const _default: React__default.NamedExoticComponent<any>;
2265
2297
 
2266
2298
  type SpecialistCard = {
@@ -2287,4 +2319,4 @@ type SpecialistCardListWidgetProps = {
2287
2319
  };
2288
2320
  declare const SpecialistCardListWidget: FC<SpecialistCardListWidgetProps & WithTranslation['t']>;
2289
2321
 
2290
- export { AppFooter, _default$g as AppFooter_v2, AppHeader, AppHeader_v2, ArchivedConsultationCard, Avatar, AvatarProps$1 as AvatarProps, _default$f as Avatar_v2, BREAKPOINT_ICON_SIZE, _default$b as Badge, _default$u as BookingScheduleTime, _default$t as BookingSpecialistInfo, Button, Button_v2, Calendar, CancelSession, CardModal, ChangeLangModal, ChangeLanguageModal, _default$P as ChatListItem, _default$N as ChatListSkeleton, _default$O as ChatMessage, ChatMessageSkeleton, CheckBoxItem, CheckBoxListFeature, CheckBoxSectionListFeature, _default$o as CheckboxList, CheckboxListCategory, CheckboxListItem, CheckboxTypes, ChevronHeader, CircleRatingContext, CircleRatingProvider, _default$G as ConsultationCard, ConsultationCardProps, ConsultationCardType, _default$D as ConsultationModal, _default$B as ConsultationSpecialistCard, Container, Container_v2, ContentCard, CountdownTimerFeature, CountryOfOriginModal, CustomButton, _default$p as CustomCheckbox, CustomRadioButton, _default$q as CustomSelect, _default$r as CustomTextarea, DatePicker, _default$z as DaySlider, DayToRender, _default$v as EducationCard, _default$M as EmptyChatList, EmptyChatMessages, _default$E as EmptyConsultations, EntryNotFound, EntryNotFoundProps, _default$l as Flag, FlagTypes, _default$d as Flag_v2, FloatingButton, FooterForBooking, FrequentlyAskedQuestions, HorizontalCalendar, HorizontalCalendarProps, ISpecialistReview, IconApple, IconArrowDown, IconArrowLeft, IconArrowRight, IconBeachAccess, IconBookmark, IconBookmarkOutlined, _default$7 as IconButton, IconCalendar, IconCalendarFilled, IconCalendarMonth, IconCancel, IconCancelRounded, IconCapFilled, IconChat3d, IconChatFilled, IconChatOutline, IconCheck, IconCheckSmall, IconCheckboxChecked, IconCheckboxUnchecked, IconClient, IconClientFilled, IconClose, IconCreditCard, IconEditCalendar, IconEye, IconEyeOff, IconGift, IconGoogle, IconInvisible, IconLanguage, IconLeftArrow, IconLetter, IconLink, IconLogout, IconMute, IconNotificationMuted, IconPaid, IconPaper, IconPause, IconPlus, IconProfileChecked, IconProfileCircle, IconProfileSetting, IconProfileUnderReview, IconQuestion, IconRadioButtonChecked, IconResume, IconSearch, IconSettings, IconShare, IconSpinner, IconStar, IconStarFilled, IconSuccess, IconTime, IconUnmute, IconUserNotFound, IconVerifiedUser, IconVisible, IconWarning, ImageInput, ImageWithFallback, ImpressionEmojiEnum, Input, InputSearch, _default$3 as Item, _default$a as ItemCard, LanguagesList, _default$T as LetterAvatar, _default$m as LineFileInput, ListBox, ListBoxItem, ListButton, ListItemType, _default$4 as ListItems, ListOption, ListSelect, ListSelectProps, ListSimple, _default$5 as Loading, LouseConnect, _default$Q as MediaPlayer, MobilePickerFeature, Modal, ModalCalendar, ModalSheet, NavigationBar, NoInternetConnection, NotSupportModal, NotesCardText, NotesEditor, PasswordInput, _default$S as PersonDateTimeCard, _default$c as Picture, _default$k as ProfileInformation, _default$x as ProfileView, _default$n as ProgressBar, _default$6 as ProgressBar_v2, PushNotificationsIsDisabledBanner, PushNotificationsModal, Range, _default$8 as Rating, RatingCircleWrapper, _default$A as ReSchedule, ReScheduleSuccess, Refresher, ReviewCard, ReviewStatistics, ReviewSwiperSection, RoundButton, RowItemType, RowSelect, RowSelectProps, SIZES, ScreenInput, ScrollTabs, SectionHeading, Segment, SegmentColor, SegmentType, _default$R as SelectImpressionEmoji, SelectItemType, ShareModalFeature, _default$F as SignUpSessionButton, _default$C as SignUpSessionModal, Skeleton, _default$e as Skeleton_v2, _default$1 as SlotsGrid, _default$w as SpecialistAbout, SpecialistCard$1 as SpecialistCard, SpecialistCardListWidget, _default as SpecialistCardWidget, _default$K as SpecialistEducationCard, SpecialistInfoColumnFeature as SpecialistInfoColumn, SpecialistLangs, _default$j as SpecialistMatch, _default$J as SpecialistProfileViewCard, SpecialistShortInfoItemFeature as SpecialistShortInfoItem, _default$i as SpecialistStatistic, SpecialistStatisticsCard, SpecialistWorkDirections, Spinner, Spinner_v2, StarRating, StatisticsScroll, StatusTag, SuccessScreen, SwitchDeviceCard, TabBar, Tag, _default$s as TextInput, _default$L as Textarea, _default$9 as Textarea_v2, ThemeProvider, ThemeProviderProps, TherapistCard, TherapistInformationComponent, Toast, ToastButton, ToastContext, ToastProps, ToastProvider, ToastRegion, Toggle, TooltipComponent, _default$h as Typography, TypographyVariantsEnum, UpdatesCard, UserInfoModal, UsersPsychologistScrollList, VerticalCalendar, VerticalCalendarMonthSkeleton, VerticalCalendarSkeleton, _default$2 as Video, _default$H as VideoCallInfo, _default$I as VideoPlayer, _default$y as WorkDirections, YourLocalTimeBlock, appThemes, decOfNum, getProgressForBreakPoint, mergeRefs, toast, useAutoFocus, useBreakPointsPosition, useCircleRatingRenderData, useDomRef, useEvent, useRangeIndex, useRatingCircleBreakPoints, useRatingCircleContentValue, useRatingCircleLegend, useRatingContext, useToastContext };
2322
+ export { AppFooter, _default$g as AppFooter_v2, AppHeader, AppHeader_v2, ArchivedConsultationCard, Avatar, AvatarProps$1 as AvatarProps, _default$f as Avatar_v2, BREAKPOINT_ICON_SIZE, _default$b as Badge, _default$u as BookingScheduleTime, _default$t as BookingSpecialistInfo, Button, Button_v2, Calendar, CancelSession, CardModal, ChangeLangModal, ChangeLanguageModal, _default$P as ChatListItem, _default$N as ChatListSkeleton, _default$O as ChatMessage, ChatMessageSkeleton, CheckBoxItem, CheckBoxListFeature, CheckBoxSectionListFeature, _default$o as CheckboxList, CheckboxListCategory, CheckboxListItem, CheckboxTypes, ChevronHeader, CircleRatingContext, CircleRatingProvider, _default$G as ConsultationCard, ConsultationCardProps, ConsultationCardType, _default$D as ConsultationModal, _default$B as ConsultationSpecialistCard, Container, Container_v2, ContentCard, CountdownTimerFeature, CountryOfOriginModal, CustomButton, _default$p as CustomCheckbox, CustomRadioButton, _default$q as CustomSelect, _default$r as CustomTextarea, DatePicker, _default$z as DaySlider, DayToRender, _default$v as EducationCard, _default$M as EmptyChatList, EmptyChatMessages, _default$E as EmptyConsultations, EntryNotFound, EntryNotFoundProps, _default$l as Flag, FlagTypes, _default$d as Flag_v2, FloatingButton, FooterForBooking, FrequentlyAskedQuestions, GoogleCalendarModalFeature, HorizontalCalendar, HorizontalCalendarProps, ISpecialistReview, IconAddModerator, IconApple, IconArrowDown, IconArrowLeft, IconArrowRight, IconBeachAccess, IconBookmark, IconBookmarkOutlined, _default$7 as IconButton, IconCalendar, IconCalendarFilled, IconCalendarMonth, IconCancel, IconCancelRounded, IconCapFilled, IconChat3d, IconChatFilled, IconChatOutline, IconCheck, IconCheckSmall, IconCheckboxChecked, IconCheckboxUnchecked, IconClient, IconClientFilled, IconClose, IconCreditCard, IconEcgHeart, IconEditCalendar, IconEventBusy, IconEye, IconEyeOff, IconGift, IconGoogle, IconHome, IconInvisible, IconLanguage, IconLeftArrow, IconLetter, IconLink, IconLogout, IconMute, IconNotificationMuted, IconPaid, IconPaper, IconPause, IconPlus, IconProfileChecked, IconProfileCircle, IconProfileSetting, IconProfileUnderReview, IconPromocode, IconQueryStats, IconQuestion, IconRadioButtonChecked, IconResume, IconSchema, IconSearch, IconSettings, IconShare, IconSpinner, IconStar, IconStarFilled, IconSuccess, IconTime, IconUnmute, IconUserNotFound, IconVerifiedUser, IconVisible, IconWarning, ImageInput, ImageWithFallback, ImpressionEmojiEnum, Input, InputSearch, _default$3 as Item, _default$a as ItemCard, LanguagesList, _default$T as LetterAvatar, _default$m as LineFileInput, ListBox, ListBoxItem, ListButton, ListItemType, _default$4 as ListItems, ListOption, ListSelect, ListSelectProps, ListSimple, _default$5 as Loading, LouseConnect, _default$Q as MediaPlayer, MobilePickerFeature, Modal, ModalCalendar, ModalSheet, NavigationBar, NoInternetConnection, NotSupportModal, NotesCardText, NotesEditor, PasswordInput, _default$S as PersonDateTimeCard, _default$c as Picture, _default$k as ProfileInformation, _default$x as ProfileView, _default$n as ProgressBar, _default$6 as ProgressBar_v2, PushNotificationsIsDisabledBanner, PushNotificationsModal, Range, _default$8 as Rating, RatingCircleWrapper, _default$A as ReSchedule, ReScheduleSuccess, Refresher, ReviewCard, ReviewStatistics, ReviewSwiperSection, RoundButton, RowItemType, RowSelect, RowSelectProps, SIZES, ScreenInput, ScrollTabs, SectionHeading, Segment, SegmentColor, SegmentType, _default$R as SelectImpressionEmoji, SelectItemType, ShareModalFeature, _default$F as SignUpSessionButton, _default$C as SignUpSessionModal, Skeleton, _default$e as Skeleton_v2, _default$1 as SlotsGrid, _default$w as SpecialistAbout, SpecialistCard$1 as SpecialistCard, SpecialistCardListWidget, _default as SpecialistCardWidget, _default$K as SpecialistEducationCard, SpecialistInfoColumnFeature as SpecialistInfoColumn, SpecialistLangs, _default$j as SpecialistMatch, _default$J as SpecialistProfileViewCard, SpecialistShortInfoItemFeature as SpecialistShortInfoItem, _default$i as SpecialistStatistic, SpecialistStatisticsCard, SpecialistWorkDirections, Spinner, Spinner_v2, StarRating, StatisticsScroll, StatusTag, SuccessScreen, SwitchDeviceCard, TabBar, Tag, _default$s as TextInput, _default$L as Textarea, _default$9 as Textarea_v2, ThemeProvider, ThemeProviderProps, TherapistCard, TherapistInformationComponent, Toast, ToastButton, ToastContext, ToastProps, ToastProvider, ToastRegion, Toggle, TooltipComponent, _default$h as Typography, TypographyVariantsEnum, UpdatesCard, UserInfoModal, UsersPsychologistScrollList, VerticalCalendar, VerticalCalendarMonthSkeleton, VerticalCalendarSkeleton, _default$2 as Video, _default$H as VideoCallInfo, _default$I as VideoPlayer, _default$y as WorkDirections, YourLocalTimeBlock, appThemes, decOfNum, getProgressForBreakPoint, mergeRefs, toast, useAutoFocus, useBreakPointsPosition, useCircleRatingRenderData, useDomRef, useEvent, useRangeIndex, useRatingCircleBreakPoints, useRatingCircleContentValue, useRatingCircleLegend, useRatingContext, useToastContext };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mindly/ui-components",
3
- "version": "5.36.1",
3
+ "version": "5.38.0",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "clean": "rimraf dist",