@mindly/ui-components 5.10.0 → 5.10.1

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.
@@ -1,2 +1,2 @@
1
1
  import { PushNotificationsModalProps } from './types';
2
- export declare function PushNotificationsModal({ onApplyPermission, onDismissPermission, isOpen, title, description, heightInPx, applyPermissionText, dismissPermissionText, ...props }: PushNotificationsModalProps): JSX.Element;
2
+ export declare function PushNotificationsModal({ onApplyPermission, onDismissPermission, isOpen, title, description, image, applyPermissionText, dismissPermissionText, ...props }: PushNotificationsModalProps): JSX.Element;
@@ -1,10 +1,19 @@
1
- import { JSX as IonicJSX } from '@ionic/core/components';
2
- export type PushNotificationsModalProps = IonicJSX.IonModal & {
1
+ import * as React from 'react';
2
+ export type PushNotificationsModalProps = {
3
3
  onApplyPermission: () => void;
4
4
  onDismissPermission: () => void;
5
5
  title: string;
6
+ description: string;
7
+ image: string;
6
8
  applyPermissionText: string;
7
9
  dismissPermissionText: string;
8
- description: string;
9
- heightInPx?: number;
10
+ isOpen: boolean;
11
+ presentingElement?: HTMLElement;
12
+ onDidDismiss?: () => void;
13
+ backButton?: boolean;
14
+ canDismiss?: boolean;
15
+ renderHeader?: (props: {
16
+ backButton?: boolean;
17
+ onClose: () => void;
18
+ }) => React.ReactNode;
10
19
  };
package/dist/index.d.ts CHANGED
@@ -1879,16 +1879,25 @@ type SlotsGridProps = {
1879
1879
 
1880
1880
  declare const _default: React__default.NamedExoticComponent<SlotsGridProps>;
1881
1881
 
1882
- type PushNotificationsModalProps = JSX$1.IonModal & {
1882
+ type PushNotificationsModalProps = {
1883
1883
  onApplyPermission: () => void;
1884
1884
  onDismissPermission: () => void;
1885
1885
  title: string;
1886
+ description: string;
1887
+ image: string;
1886
1888
  applyPermissionText: string;
1887
1889
  dismissPermissionText: string;
1888
- description: string;
1889
- heightInPx?: number;
1890
+ isOpen: boolean;
1891
+ presentingElement?: HTMLElement;
1892
+ onDidDismiss?: () => void;
1893
+ backButton?: boolean;
1894
+ canDismiss?: boolean;
1895
+ renderHeader?: (props: {
1896
+ backButton?: boolean;
1897
+ onClose: () => void;
1898
+ }) => React.ReactNode;
1890
1899
  };
1891
1900
 
1892
- declare function PushNotificationsModal({ onApplyPermission, onDismissPermission, isOpen, title, description, heightInPx, applyPermissionText, dismissPermissionText, ...props }: PushNotificationsModalProps): JSX.Element;
1901
+ declare function PushNotificationsModal({ onApplyPermission, onDismissPermission, isOpen, title, description, image, applyPermissionText, dismissPermissionText, ...props }: PushNotificationsModalProps): JSX.Element;
1893
1902
 
1894
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 };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mindly/ui-components",
3
- "version": "5.10.0",
3
+ "version": "5.10.1",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "clean": "rimraf dist",