@mindly/ui-components 5.10.1 → 5.11.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.
- package/dist/cjs/index.js +5 -5
- package/dist/cjs/lib2/features/CardModal/CardModal.d.ts +2 -0
- package/dist/cjs/lib2/features/PushNotificationsIsDisabledBanner/PushNotificationsIsDisabledBanner.d.ts +2 -0
- package/dist/cjs/lib2/features/PushNotificationsIsDisabledBanner/index.d.ts +1 -0
- package/dist/cjs/lib2/features/PushNotificationsIsDisabledBanner/types.d.ts +7 -0
- package/dist/cjs/lib2/features/PushNotificationsModal/PushNotificationsModal.d.ts +1 -1
- package/dist/cjs/lib2/features/PushNotificationsModal/types.d.ts +0 -2
- package/dist/cjs/lib2/features/index.d.ts +1 -0
- package/dist/cjs/lib2/shared/assets/icons/IconNotficationMuted.d.ts +2 -0
- package/dist/cjs/lib2/shared/assets/icons/index.d.ts +1 -0
- package/dist/esm/index.js +5 -5
- package/dist/esm/lib2/features/CardModal/CardModal.d.ts +2 -0
- package/dist/esm/lib2/features/PushNotificationsIsDisabledBanner/PushNotificationsIsDisabledBanner.d.ts +2 -0
- package/dist/esm/lib2/features/PushNotificationsIsDisabledBanner/index.d.ts +1 -0
- package/dist/esm/lib2/features/PushNotificationsIsDisabledBanner/types.d.ts +7 -0
- package/dist/esm/lib2/features/PushNotificationsModal/PushNotificationsModal.d.ts +1 -1
- package/dist/esm/lib2/features/PushNotificationsModal/types.d.ts +0 -2
- package/dist/esm/lib2/features/index.d.ts +1 -0
- package/dist/esm/lib2/shared/assets/icons/IconNotficationMuted.d.ts +2 -0
- package/dist/esm/lib2/shared/assets/icons/index.d.ts +1 -0
- package/dist/index.d.ts +16 -4
- package/package.json +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './PushNotificationsIsDisabledBanner';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { PushNotificationsModalProps } from './types';
|
|
2
|
-
export declare function PushNotificationsModal({ onApplyPermission,
|
|
2
|
+
export declare function PushNotificationsModal({ onApplyPermission, isOpen, title, description, image, applyPermissionText, ...props }: PushNotificationsModalProps): JSX.Element;
|
|
@@ -1,12 +1,10 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
export type PushNotificationsModalProps = {
|
|
3
3
|
onApplyPermission: () => void;
|
|
4
|
-
onDismissPermission: () => void;
|
|
5
4
|
title: string;
|
|
6
5
|
description: string;
|
|
7
6
|
image: string;
|
|
8
7
|
applyPermissionText: string;
|
|
9
|
-
dismissPermissionText: string;
|
|
10
8
|
isOpen: boolean;
|
|
11
9
|
presentingElement?: HTMLElement;
|
|
12
10
|
onDidDismiss?: () => void;
|
package/dist/index.d.ts
CHANGED
|
@@ -1825,6 +1825,8 @@ declare const IconEyeOff: FC<React.SVGAttributes<SVGElement>>;
|
|
|
1825
1825
|
|
|
1826
1826
|
declare const IconChat3d: (props: SVGProps<SVGSVGElement>) => JSX.Element;
|
|
1827
1827
|
|
|
1828
|
+
declare const IconNotificationMuted: (props: SVGProps<SVGSVGElement>) => JSX.Element;
|
|
1829
|
+
|
|
1828
1830
|
type AnyRef = React__default.Ref<any>;
|
|
1829
1831
|
declare const mergeRefs: <T extends unknown>(...refs: AnyRef[]) => React__default.Ref<T>;
|
|
1830
1832
|
|
|
@@ -1859,6 +1861,8 @@ type CardModalProps = {
|
|
|
1859
1861
|
onDidDismiss?: () => void;
|
|
1860
1862
|
backButton?: boolean;
|
|
1861
1863
|
canDismiss?: boolean;
|
|
1864
|
+
isShowHandle?: boolean;
|
|
1865
|
+
isShowCloseButton?: boolean;
|
|
1862
1866
|
renderHeader?: (props: {
|
|
1863
1867
|
backButton?: boolean;
|
|
1864
1868
|
onClose: () => void;
|
|
@@ -1881,12 +1885,10 @@ declare const _default: React__default.NamedExoticComponent<SlotsGridProps>;
|
|
|
1881
1885
|
|
|
1882
1886
|
type PushNotificationsModalProps = {
|
|
1883
1887
|
onApplyPermission: () => void;
|
|
1884
|
-
onDismissPermission: () => void;
|
|
1885
1888
|
title: string;
|
|
1886
1889
|
description: string;
|
|
1887
1890
|
image: string;
|
|
1888
1891
|
applyPermissionText: string;
|
|
1889
|
-
dismissPermissionText: string;
|
|
1890
1892
|
isOpen: boolean;
|
|
1891
1893
|
presentingElement?: HTMLElement;
|
|
1892
1894
|
onDidDismiss?: () => void;
|
|
@@ -1898,6 +1900,16 @@ type PushNotificationsModalProps = {
|
|
|
1898
1900
|
}) => React.ReactNode;
|
|
1899
1901
|
};
|
|
1900
1902
|
|
|
1901
|
-
declare function PushNotificationsModal({ onApplyPermission,
|
|
1903
|
+
declare function PushNotificationsModal({ onApplyPermission, isOpen, title, description, image, applyPermissionText, ...props }: PushNotificationsModalProps): JSX.Element;
|
|
1904
|
+
|
|
1905
|
+
type PushNotificationsIsDisabledBannerProps = {
|
|
1906
|
+
onOpenNativeSettings: () => void;
|
|
1907
|
+
className?: string;
|
|
1908
|
+
title: string;
|
|
1909
|
+
description: string;
|
|
1910
|
+
buttonText: string;
|
|
1911
|
+
};
|
|
1912
|
+
|
|
1913
|
+
declare function PushNotificationsIsDisabledBanner({ onOpenNativeSettings, className, title, description, buttonText, }: PushNotificationsIsDisabledBannerProps): JSX.Element;
|
|
1902
1914
|
|
|
1903
|
-
export { AppFooter, _default$a as AppFooter_v2, AppHeader, AppHeader_v2, ArchivedConsultationCard, Avatar, AvatarProps$1 as AvatarProps, _default$9 as Avatar_v2, _default$5 as Badge, _default$o as BookingScheduleTime, _default$n as BookingSpecialistInfo, Button, Button_v2, Calendar, CancelSession, CardModal, ChangeLangModal, ChangeLanguageModal, _default$J as ChatListItem, _default$H as ChatListSkeleton, _default$I as ChatMessage, ChatMessageSkeleton, _default$i as CheckboxList, CheckboxListCategory, CheckboxListItem, CheckboxTypes, ChevronHeader, _default$A as ConsultationCard, ConsultationCardProps, ConsultationCardType, _default$x as ConsultationModal, _default$v as ConsultationSpecialistCard, Container, Container_v2, ContentCard, CountryOfOriginModal, CustomButton, _default$j as CustomCheckbox, CustomRadioButton, _default$k as CustomSelect, _default$l as CustomTextarea, DatePicker, _default$t as DaySlider, DayToRender, _default$p as EducationCard, _default$G as EmptyChatList, EmptyChatMessages, _default$y as EmptyConsultations, EntryNotFound, EntryNotFoundProps, _default$f as Flag, FlagTypes, _default$7 as Flag_v2, FloatingButton, FooterForBooking, FrequentlyAskedQuestions, HorizontalCalendar, HorizontalCalendarProps, ISpecialistReview, IconApple, IconArrowLeft, IconArrowRight, IconBeachAccess, _default$2 as IconButton, IconCalendar, IconCalendarMonth, IconChat3d, IconChatOutline, IconCheckboxChecked, IconCheckboxUnchecked, IconClose, IconEditCalendar, IconEye, IconEyeOff, IconGoogle, IconInvisible, IconLanguage, IconLeftArrow, IconLetter, IconLogout, IconPause, IconPlus, IconProfileChecked, IconProfileCircle, IconProfileSetting, IconProfileUnderReview, IconResume, IconSettings, IconSpinner, IconStar, IconStarFilled, IconSuccess, IconTime, IconVerifiedUser, IconVisible, ImageInput, ImageWithFallback, ImpressionEmojiEnum, Input, LanguagesList, _default$N as LetterAvatar, _default$g as LineFileInput, ListBox, ListBoxItem, ListButton, ListItemType, ListOption, ListSelect, ListSelectProps, LouseConnect, _default$K as MediaPlayer, Modal, ModalCalendar, ModalSheet, NavigationBar, NoInternetConnection, NotSupportModal, NotesCardText, NotesEditor, PasswordInput, _default$M as PersonDateTimeCard, _default$6 as Picture, _default$e as ProfileInformation, _default$r as ProfileView, _default$h as ProgressBar, _default$1 as ProgressBar_v2, PushNotificationsModal, Range, _default$3 as Rating, _default$u as ReSchedule, ReScheduleSuccess, Refresher, ReviewCard, ReviewStatistics, ReviewSwiperSection, RoundButton, RowItemType, RowSelect, RowSelectProps, ScreenInput, ScrollTabs, SectionHeading, Segment, SegmentColor, SegmentType, _default$L as SelectImpressionEmoji, _default$z as SignUpSessionButton, _default$w as SignUpSessionModal, Skeleton, _default$8 as Skeleton_v2, _default as SlotsGrid, _default$q as SpecialistAbout, SpecialistCard, _default$E as SpecialistEducationCard, SpecialistLangs, _default$d as SpecialistMatch, _default$D as SpecialistProfileViewCard, _default$c as SpecialistStatistic, SpecialistStatisticsCard, SpecialistWorkDirections, Spinner, Spinner_v2, StarRating, StatisticsScroll, StatusTag, SuccessScreen, SwitchDeviceCard, TabBar, Tag, _default$m as TextInput, _default$F as Textarea, _default$4 as Textarea_v2, ThemeProvider, ThemeProviderProps, TherapistCard, TherapistInformationComponent, Toast, ToastButton, ToastContext, ToastProps, ToastProvider, ToastRegion, Toggle, TooltipComponent, _default$b as Typography, TypographyVariantsEnum, UpdatesCard, UserInfoModal, UsersPsychologistScrollList, VerticalCalendar, VerticalCalendarMonthSkeleton, VerticalCalendarSkeleton, _default$B as VideoCallInfo, _default$C as VideoPlayer, _default$s as WorkDirections, YourLocalTimeBlock, appThemes, decOfNum, mergeRefs, toast, useAutoFocus, useDomRef, useEvent, useIsKeyBoardShown, useToastContext };
|
|
1915
|
+
export { AppFooter, _default$a as AppFooter_v2, AppHeader, AppHeader_v2, ArchivedConsultationCard, Avatar, AvatarProps$1 as AvatarProps, _default$9 as Avatar_v2, _default$5 as Badge, _default$o as BookingScheduleTime, _default$n as BookingSpecialistInfo, Button, Button_v2, Calendar, CancelSession, CardModal, ChangeLangModal, ChangeLanguageModal, _default$J as ChatListItem, _default$H as ChatListSkeleton, _default$I as ChatMessage, ChatMessageSkeleton, _default$i as CheckboxList, CheckboxListCategory, CheckboxListItem, CheckboxTypes, ChevronHeader, _default$A as ConsultationCard, ConsultationCardProps, ConsultationCardType, _default$x as ConsultationModal, _default$v as ConsultationSpecialistCard, Container, Container_v2, ContentCard, CountryOfOriginModal, CustomButton, _default$j as CustomCheckbox, CustomRadioButton, _default$k as CustomSelect, _default$l as CustomTextarea, DatePicker, _default$t as DaySlider, DayToRender, _default$p as EducationCard, _default$G as EmptyChatList, EmptyChatMessages, _default$y as EmptyConsultations, EntryNotFound, EntryNotFoundProps, _default$f as Flag, FlagTypes, _default$7 as Flag_v2, FloatingButton, FooterForBooking, FrequentlyAskedQuestions, HorizontalCalendar, HorizontalCalendarProps, ISpecialistReview, IconApple, IconArrowLeft, IconArrowRight, IconBeachAccess, _default$2 as IconButton, IconCalendar, IconCalendarMonth, IconChat3d, IconChatOutline, IconCheckboxChecked, IconCheckboxUnchecked, IconClose, IconEditCalendar, IconEye, IconEyeOff, IconGoogle, IconInvisible, IconLanguage, IconLeftArrow, IconLetter, IconLogout, IconNotificationMuted, IconPause, IconPlus, IconProfileChecked, IconProfileCircle, IconProfileSetting, IconProfileUnderReview, IconResume, IconSettings, IconSpinner, IconStar, IconStarFilled, IconSuccess, IconTime, IconVerifiedUser, IconVisible, ImageInput, ImageWithFallback, ImpressionEmojiEnum, Input, LanguagesList, _default$N as LetterAvatar, _default$g as LineFileInput, ListBox, ListBoxItem, ListButton, ListItemType, ListOption, ListSelect, ListSelectProps, LouseConnect, _default$K as MediaPlayer, Modal, ModalCalendar, ModalSheet, NavigationBar, NoInternetConnection, NotSupportModal, NotesCardText, NotesEditor, PasswordInput, _default$M as PersonDateTimeCard, _default$6 as Picture, _default$e as ProfileInformation, _default$r as ProfileView, _default$h as ProgressBar, _default$1 as ProgressBar_v2, PushNotificationsIsDisabledBanner, PushNotificationsModal, Range, _default$3 as Rating, _default$u as ReSchedule, ReScheduleSuccess, Refresher, ReviewCard, ReviewStatistics, ReviewSwiperSection, RoundButton, RowItemType, RowSelect, RowSelectProps, ScreenInput, ScrollTabs, SectionHeading, Segment, SegmentColor, SegmentType, _default$L as SelectImpressionEmoji, _default$z as SignUpSessionButton, _default$w as SignUpSessionModal, Skeleton, _default$8 as Skeleton_v2, _default as SlotsGrid, _default$q as SpecialistAbout, SpecialistCard, _default$E as SpecialistEducationCard, SpecialistLangs, _default$d as SpecialistMatch, _default$D as SpecialistProfileViewCard, _default$c as SpecialistStatistic, SpecialistStatisticsCard, SpecialistWorkDirections, Spinner, Spinner_v2, StarRating, StatisticsScroll, StatusTag, SuccessScreen, SwitchDeviceCard, TabBar, Tag, _default$m as TextInput, _default$F as Textarea, _default$4 as Textarea_v2, ThemeProvider, ThemeProviderProps, TherapistCard, TherapistInformationComponent, Toast, ToastButton, ToastContext, ToastProps, ToastProvider, ToastRegion, Toggle, TooltipComponent, _default$b as Typography, TypographyVariantsEnum, UpdatesCard, UserInfoModal, UsersPsychologistScrollList, VerticalCalendar, VerticalCalendarMonthSkeleton, VerticalCalendarSkeleton, _default$B as VideoCallInfo, _default$C as VideoPlayer, _default$s as WorkDirections, YourLocalTimeBlock, appThemes, decOfNum, mergeRefs, toast, useAutoFocus, useDomRef, useEvent, useIsKeyBoardShown, useToastContext };
|