@mindly/ui-components 5.6.0 → 5.7.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/PushNotificationsModal/PushNotificationsModal.d.ts +2 -0
- package/dist/cjs/lib2/features/PushNotificationsModal/index.d.ts +1 -0
- package/dist/cjs/lib2/features/PushNotificationsModal/types.d.ts +10 -0
- package/dist/cjs/lib2/features/index.d.ts +1 -0
- package/dist/cjs/lib2/shared/assets/icons/IconChat3d.d.ts +2 -0
- package/dist/cjs/lib2/shared/assets/icons/index.d.ts +1 -0
- package/dist/cjs/lib2/shared/ui/ModalSheet/ModalSheet.d.ts +8 -0
- package/dist/cjs/lib2/shared/ui/ModalSheet/index.d.ts +1 -0
- package/dist/cjs/lib2/shared/ui/ModalSheet/types.d.ts +6 -0
- package/dist/cjs/lib2/shared/ui/{Spinner/Spinner.d.ts → Spinner_v2/Spinner_v2.d.ts} +2 -2
- package/dist/cjs/lib2/shared/ui/Spinner_v2/index.d.ts +1 -0
- package/dist/cjs/lib2/shared/ui/index.d.ts +2 -1
- package/dist/esm/index.js +5 -5
- package/dist/esm/lib2/features/PushNotificationsModal/PushNotificationsModal.d.ts +2 -0
- package/dist/esm/lib2/features/PushNotificationsModal/index.d.ts +1 -0
- package/dist/esm/lib2/features/PushNotificationsModal/types.d.ts +10 -0
- package/dist/esm/lib2/features/index.d.ts +1 -0
- package/dist/esm/lib2/shared/assets/icons/IconChat3d.d.ts +2 -0
- package/dist/esm/lib2/shared/assets/icons/index.d.ts +1 -0
- package/dist/esm/lib2/shared/ui/ModalSheet/ModalSheet.d.ts +8 -0
- package/dist/esm/lib2/shared/ui/ModalSheet/index.d.ts +1 -0
- package/dist/esm/lib2/shared/ui/ModalSheet/types.d.ts +6 -0
- package/dist/esm/lib2/shared/ui/{Spinner/Spinner.d.ts → Spinner_v2/Spinner_v2.d.ts} +2 -2
- package/dist/esm/lib2/shared/ui/Spinner_v2/index.d.ts +1 -0
- package/dist/esm/lib2/shared/ui/index.d.ts +2 -1
- package/dist/index.d.ts +29 -2
- package/package.json +1 -1
- package/dist/cjs/lib2/shared/ui/Spinner/index.d.ts +0 -1
- package/dist/esm/lib2/shared/ui/Spinner/index.d.ts +0 -1
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { PushNotificationsModalProps } from './types';
|
|
2
|
+
export declare function PushNotificationsModal({ onApplyPermission, onDismissPermission, isOpen, title, description, heightInPx, applyPermissionText, dismissPermissionText, ...props }: PushNotificationsModalProps): JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './PushNotificationsModal';
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { JSX as IonicJSX } from '@ionic/core/components';
|
|
2
|
+
export type PushNotificationsModalProps = IonicJSX.IonModal & {
|
|
3
|
+
onApplyPermission: () => void;
|
|
4
|
+
onDismissPermission: () => void;
|
|
5
|
+
title: string;
|
|
6
|
+
applyPermissionText: string;
|
|
7
|
+
dismissPermissionText: string;
|
|
8
|
+
description: string;
|
|
9
|
+
heightInPx?: number;
|
|
10
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
declare const ModalSheet: React.ForwardRefExoticComponent<import("@ionic/core/dist/types/components").JSX.IonModal & {
|
|
3
|
+
children?: React.ReactNode;
|
|
4
|
+
} & {
|
|
5
|
+
heightInPx?: number | undefined;
|
|
6
|
+
className?: string | undefined;
|
|
7
|
+
} & React.RefAttributes<HTMLIonModalElement>>;
|
|
8
|
+
export default ModalSheet;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as ModalSheet } from './ModalSheet';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as Spinner_v2 } from './Spinner_v2';
|
package/dist/index.d.ts
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import React__default, { ReactNode, CSSProperties, HTMLAttributes, RefAttributes, FC, ReactText, ReactElement, ChangeEvent, InputHTMLAttributes } from 'react';
|
|
2
|
+
import React__default, { ReactNode, CSSProperties, HTMLAttributes, RefAttributes, FC, ReactText, ReactElement, ChangeEvent, InputHTMLAttributes, SVGProps } from 'react';
|
|
3
3
|
import { JSX as JSX$1 } from '@ionic/core/components';
|
|
4
4
|
import { RatingComponentProps } from 'react-rating';
|
|
5
5
|
import { RefresherEventDetail, ScrollDetail, ScrollBaseDetail } from '@ionic/react';
|
|
6
|
+
import * as _ionic_core_dist_types_components from '@ionic/core/dist/types/components';
|
|
6
7
|
import { IonContentCustomEvent, IonSearchbarCustomEvent } from '@ionic/core/dist/types/components';
|
|
7
8
|
import { Node, ListState, ItemProps, SelectionBehavior, SelectionMode } from 'react-stately';
|
|
8
9
|
import { AriaListBoxProps, AriaCalendarProps, DateValue } from 'react-aria';
|
|
@@ -1612,6 +1613,18 @@ interface ScreenInputProps extends InputHTMLAttributes<HTMLInputElement> {
|
|
|
1612
1613
|
}
|
|
1613
1614
|
declare const ScreenInput: React__default.ForwardRefExoticComponent<ScreenInputProps & React__default.RefAttributes<HTMLInputElement>>;
|
|
1614
1615
|
|
|
1616
|
+
type SpinnerProps = {
|
|
1617
|
+
size?: number;
|
|
1618
|
+
};
|
|
1619
|
+
declare const Spinner_v2: FC<SpinnerProps>;
|
|
1620
|
+
|
|
1621
|
+
declare const ModalSheet: React.ForwardRefExoticComponent<_ionic_core_dist_types_components.JSX.IonModal & {
|
|
1622
|
+
children?: React.ReactNode;
|
|
1623
|
+
} & {
|
|
1624
|
+
heightInPx?: number | undefined;
|
|
1625
|
+
className?: string | undefined;
|
|
1626
|
+
} & React.RefAttributes<HTMLIonModalElement>>;
|
|
1627
|
+
|
|
1615
1628
|
declare enum appThemes {
|
|
1616
1629
|
client = "client",
|
|
1617
1630
|
specialist = "specialist"
|
|
@@ -1796,6 +1809,8 @@ declare const IconLetter: FC<React.SVGAttributes<SVGElement>>;
|
|
|
1796
1809
|
|
|
1797
1810
|
declare const IconSpinner: FC<React.SVGAttributes<SVGElement>>;
|
|
1798
1811
|
|
|
1812
|
+
declare const IconChat3d: (props: SVGProps<SVGSVGElement>) => JSX.Element;
|
|
1813
|
+
|
|
1799
1814
|
type AnyRef = React__default.Ref<any>;
|
|
1800
1815
|
declare const mergeRefs: <T extends unknown>(...refs: AnyRef[]) => React__default.Ref<T>;
|
|
1801
1816
|
|
|
@@ -1850,4 +1865,16 @@ type SlotsGridProps = {
|
|
|
1850
1865
|
|
|
1851
1866
|
declare const _default: React__default.NamedExoticComponent<SlotsGridProps>;
|
|
1852
1867
|
|
|
1853
|
-
|
|
1868
|
+
type PushNotificationsModalProps = JSX$1.IonModal & {
|
|
1869
|
+
onApplyPermission: () => void;
|
|
1870
|
+
onDismissPermission: () => void;
|
|
1871
|
+
title: string;
|
|
1872
|
+
applyPermissionText: string;
|
|
1873
|
+
dismissPermissionText: string;
|
|
1874
|
+
description: string;
|
|
1875
|
+
heightInPx?: number;
|
|
1876
|
+
};
|
|
1877
|
+
|
|
1878
|
+
declare function PushNotificationsModal({ onApplyPermission, onDismissPermission, isOpen, title, description, heightInPx, applyPermissionText, dismissPermissionText, ...props }: PushNotificationsModalProps): JSX.Element;
|
|
1879
|
+
|
|
1880
|
+
export { AppFooter, _default$9 as AppFooter_v2, AppHeader, AppHeader_v2, ArchivedConsultationCard, Avatar, AvatarProps$1 as AvatarProps, _default$8 as Avatar_v2, _default$4 as Badge, _default$n as BookingScheduleTime, _default$m as BookingSpecialistInfo, Button, Button_v2, Calendar, CancelSession, CardModal, ChangeLangModal, ChangeLanguageModal, _default$I as ChatListItem, _default$G as ChatListSkeleton, _default$H as ChatMessage, ChatMessageSkeleton, _default$h as CheckboxList, CheckboxListCategory, CheckboxListItem, CheckboxTypes, ChevronHeader, _default$z as ConsultationCard, ConsultationCardProps, ConsultationCardType, _default$w as ConsultationModal, _default$u as ConsultationSpecialistCard, Container, Container_v2, ContentCard, CountryOfOriginModal, CustomButton, _default$i as CustomCheckbox, CustomRadioButton, _default$j as CustomSelect, _default$k as CustomTextarea, DatePicker, _default$s as DaySlider, DayToRender, _default$o as EducationCard, _default$F as EmptyChatList, EmptyChatMessages, _default$x as EmptyConsultations, EntryNotFound, EntryNotFoundProps, _default$e as Flag, FlagTypes, _default$6 as Flag_v2, FloatingButton, FooterForBooking, FrequentlyAskedQuestions, HorizontalCalendar, HorizontalCalendarProps, ISpecialistReview, IconApple, IconArrowLeft, IconArrowRight, IconBeachAccess, _default$1 as IconButton, IconCalendar, IconCalendarMonth, IconChat3d, IconChatOutline, IconCheckboxChecked, IconCheckboxUnchecked, IconClose, IconEditCalendar, 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$M as LetterAvatar, _default$f as LineFileInput, ListBox, ListBoxItem, ListButton, ListItemType, ListOption, ListSelect, ListSelectProps, LouseConnect, _default$J as MediaPlayer, Modal, ModalCalendar, ModalSheet, NavigationBar, NoInternetConnection, NotSupportModal, NotesCardText, NotesEditor, PasswordInput, _default$L as PersonDateTimeCard, _default$5 as Picture, _default$d as ProfileInformation, _default$q as ProfileView, _default$g as ProgressBar, PushNotificationsModal, Range, _default$2 as Rating, _default$t as ReSchedule, ReScheduleSuccess, Refresher, ReviewCard, ReviewStatistics, ReviewSwiperSection, RoundButton, RowItemType, RowSelect, RowSelectProps, ScreenInput, ScrollTabs, SectionHeading, Segment, SegmentColor, SegmentType, _default$K as SelectImpressionEmoji, _default$y as SignUpSessionButton, _default$v as SignUpSessionModal, Skeleton, _default$7 as Skeleton_v2, _default as SlotsGrid, _default$p as SpecialistAbout, SpecialistCard, _default$D as SpecialistEducationCard, SpecialistLangs, _default$c as SpecialistMatch, _default$C as SpecialistProfileViewCard, _default$b as SpecialistStatistic, SpecialistStatisticsCard, SpecialistWorkDirections, Spinner, Spinner_v2, StarRating, StatisticsScroll, StatusTag, SuccessScreen, SwitchDeviceCard, TabBar, Tag, _default$l as TextInput, _default$E as Textarea, _default$3 as Textarea_v2, ThemeProvider, ThemeProviderProps, TherapistCard, TherapistInformationComponent, Toast, ToastButton, ToastContext, ToastProps, ToastProvider, ToastRegion, Toggle, TooltipComponent, _default$a as Typography, TypographyVariantsEnum, UpdatesCard, UserInfoModal, UsersPsychologistScrollList, VerticalCalendar, VerticalCalendarMonthSkeleton, VerticalCalendarSkeleton, _default$A as VideoCallInfo, _default$B as VideoPlayer, _default$r as WorkDirections, YourLocalTimeBlock, appThemes, decOfNum, mergeRefs, toast, useAutoFocus, useDomRef, useEvent, useIsKeyBoardShown, useToastContext };
|
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default as Spinner } from './Spinner';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default as Spinner } from './Spinner';
|