@mindly/ui-components 5.49.4 → 5.50.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/shared/ui/Button_v2/Button_v2.d.ts +2 -0
- package/dist/cjs/lib2/shared/ui/ListBox/ListBox.d.ts +1 -1
- package/dist/cjs/lib2/shared/ui/ListBox/types.d.ts +1 -0
- package/dist/cjs/lib2/shared/ui/ProgressBar_v2/ProgressBar_v2.d.ts +1 -1
- package/dist/cjs/lib2/shared/ui/Typography/types.d.ts +5 -1
- package/dist/cjs/lib2/shared/utils/index.d.ts +1 -0
- package/dist/cjs/lib2/shared/utils/newShade.d.ts +1 -0
- package/dist/esm/index.js +7 -7
- package/dist/esm/lib2/shared/ui/Button_v2/Button_v2.d.ts +2 -0
- package/dist/esm/lib2/shared/ui/ListBox/ListBox.d.ts +1 -1
- package/dist/esm/lib2/shared/ui/ListBox/types.d.ts +1 -0
- package/dist/esm/lib2/shared/ui/ProgressBar_v2/ProgressBar_v2.d.ts +1 -1
- package/dist/esm/lib2/shared/ui/Typography/types.d.ts +5 -1
- package/dist/esm/lib2/shared/utils/index.d.ts +1 -0
- package/dist/esm/lib2/shared/utils/newShade.d.ts +1 -0
- package/dist/index.d.ts +13 -4
- package/package.json +1 -1
|
@@ -3,6 +3,7 @@ import { JSX } from '@ionic/core/components';
|
|
|
3
3
|
type ButtonProps = {
|
|
4
4
|
fill?: 'outline' | 'clear';
|
|
5
5
|
size?: 'default' | 'large' | 'small';
|
|
6
|
+
customSize?: 'smaller';
|
|
6
7
|
color?: undefined;
|
|
7
8
|
fullWidth?: boolean;
|
|
8
9
|
className?: string;
|
|
@@ -11,6 +12,7 @@ type ButtonProps = {
|
|
|
11
12
|
isLoading?: boolean;
|
|
12
13
|
icon?: React.ReactNode;
|
|
13
14
|
iconPosition?: 'start' | 'center';
|
|
15
|
+
style?: React.CSSProperties;
|
|
14
16
|
} & JSX.IonButton;
|
|
15
17
|
declare const Button_v2: FC<ButtonProps>;
|
|
16
18
|
export default Button_v2;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { ListBoxProps } from './types';
|
|
2
|
-
export default function ListBox<T extends Record<string, unknown>>({ selectedIconProps, type, selectionPosition, enableSelection, ...props }: ListBoxProps<T>): JSX.Element;
|
|
2
|
+
export default function ListBox<T extends Record<string, unknown>>({ selectedIconProps, type, selectionPosition, enableSelection, className, ...props }: ListBoxProps<T>): JSX.Element;
|
|
@@ -6,6 +6,8 @@ export declare enum TypographyVariantsEnum {
|
|
|
6
6
|
Title24Semi = "Title/24 Semi",
|
|
7
7
|
Title20Semi = "Title/20 Semi",
|
|
8
8
|
Title18Semi = "Title/18 Semi",
|
|
9
|
+
Title14Semi = "Title/14 Semi",
|
|
10
|
+
Title12Semi = "Title/12 Semi",
|
|
9
11
|
Text48Semi = "Text/48 Semi",
|
|
10
12
|
Text32Semi = "Text/32 Semi",
|
|
11
13
|
Text24Semi = "Text/24 Semi",
|
|
@@ -21,7 +23,9 @@ export declare enum TypographyVariantsEnum {
|
|
|
21
23
|
Text13Semi = "Text/13 Semi",
|
|
22
24
|
Text13Regular = "Text/13 Regular",
|
|
23
25
|
Text12Regular = "Text/12 Regular",
|
|
24
|
-
Tabbar10Medium = "Tabbar/10 Medium"
|
|
26
|
+
Tabbar10Medium = "Tabbar/10 Medium",
|
|
27
|
+
Text8Regular = "Text/8 Regular",
|
|
28
|
+
Text7Regular = "Text/7 Regular"
|
|
25
29
|
}
|
|
26
30
|
export type TypographyAlignType = 'left' | 'center' | 'right';
|
|
27
31
|
export type TypographyOpacityType = 100 | 65 | 50 | 45 | 35 | 30 | 15 | 10 | 8 | 6;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const newShade: (hexColor: string, magnitude: number) => string;
|
package/dist/index.d.ts
CHANGED
|
@@ -1406,6 +1406,8 @@ declare enum TypographyVariantsEnum {
|
|
|
1406
1406
|
Title24Semi = "Title/24 Semi",
|
|
1407
1407
|
Title20Semi = "Title/20 Semi",
|
|
1408
1408
|
Title18Semi = "Title/18 Semi",
|
|
1409
|
+
Title14Semi = "Title/14 Semi",
|
|
1410
|
+
Title12Semi = "Title/12 Semi",
|
|
1409
1411
|
Text48Semi = "Text/48 Semi",
|
|
1410
1412
|
Text32Semi = "Text/32 Semi",
|
|
1411
1413
|
Text24Semi = "Text/24 Semi",
|
|
@@ -1421,7 +1423,9 @@ declare enum TypographyVariantsEnum {
|
|
|
1421
1423
|
Text13Semi = "Text/13 Semi",
|
|
1422
1424
|
Text13Regular = "Text/13 Regular",
|
|
1423
1425
|
Text12Regular = "Text/12 Regular",
|
|
1424
|
-
Tabbar10Medium = "Tabbar/10 Medium"
|
|
1426
|
+
Tabbar10Medium = "Tabbar/10 Medium",
|
|
1427
|
+
Text8Regular = "Text/8 Regular",
|
|
1428
|
+
Text7Regular = "Text/7 Regular"
|
|
1425
1429
|
}
|
|
1426
1430
|
type TypographyAlignType = 'left' | 'center' | 'right';
|
|
1427
1431
|
type TypographyOpacityType = 100 | 65 | 50 | 45 | 35 | 30 | 15 | 10 | 8 | 6;
|
|
@@ -1467,6 +1471,7 @@ declare const _default$n: React__default.NamedExoticComponent<SkeletonProps>;
|
|
|
1467
1471
|
type ButtonProps = {
|
|
1468
1472
|
fill?: 'outline' | 'clear';
|
|
1469
1473
|
size?: 'default' | 'large' | 'small';
|
|
1474
|
+
customSize?: 'smaller';
|
|
1470
1475
|
color?: undefined;
|
|
1471
1476
|
fullWidth?: boolean;
|
|
1472
1477
|
className?: string;
|
|
@@ -1475,6 +1480,7 @@ type ButtonProps = {
|
|
|
1475
1480
|
isLoading?: boolean;
|
|
1476
1481
|
icon?: React__default.ReactNode;
|
|
1477
1482
|
iconPosition?: 'start' | 'center';
|
|
1483
|
+
style?: React__default.CSSProperties;
|
|
1478
1484
|
} & JSX$1.IonButton;
|
|
1479
1485
|
declare const Button_v2: FC<ButtonProps>;
|
|
1480
1486
|
|
|
@@ -1726,9 +1732,10 @@ type ListBoxProps<T> = AriaListBoxProps<T> & {
|
|
|
1726
1732
|
enableSelection?: boolean;
|
|
1727
1733
|
selectedIconProps?: IconProps$A;
|
|
1728
1734
|
selectionPosition?: 'start' | 'end';
|
|
1735
|
+
className?: string;
|
|
1729
1736
|
};
|
|
1730
1737
|
|
|
1731
|
-
declare function ListBox<T extends Record<string, unknown>>({ selectedIconProps, type, selectionPosition, enableSelection, ...props }: ListBoxProps<T>): JSX.Element;
|
|
1738
|
+
declare function ListBox<T extends Record<string, unknown>>({ selectedIconProps, type, selectionPosition, enableSelection, className, ...props }: ListBoxProps<T>): JSX.Element;
|
|
1732
1739
|
|
|
1733
1740
|
type ListOptionsProps = {
|
|
1734
1741
|
item: Node<unknown>;
|
|
@@ -1857,7 +1864,7 @@ declare const ModalSheet: React.ForwardRefExoticComponent<_ionic_core_dist_types
|
|
|
1857
1864
|
} & React.RefAttributes<HTMLIonModalElement>>;
|
|
1858
1865
|
|
|
1859
1866
|
type ProgressBar_v2Props = {
|
|
1860
|
-
variant?: 'default' | 'danger' | 'success';
|
|
1867
|
+
variant?: 'default' | 'danger' | 'success' | 'dark' | 'light';
|
|
1861
1868
|
progress: number;
|
|
1862
1869
|
className?: string;
|
|
1863
1870
|
reversed?: boolean;
|
|
@@ -2356,6 +2363,8 @@ type PriceNormilizeProps = {
|
|
|
2356
2363
|
};
|
|
2357
2364
|
declare const priceNormalize: ({ price, locale, currency, side, mode, }: PriceNormilizeProps) => string;
|
|
2358
2365
|
|
|
2366
|
+
declare const newShade: (hexColor: string, magnitude: number) => string;
|
|
2367
|
+
|
|
2359
2368
|
type CountryOfOriginModalProps = {
|
|
2360
2369
|
countries: string[];
|
|
2361
2370
|
onSearchChange: (event: IonSearchbarCustomEvent$1<SearchbarChangeEventDetail>) => void;
|
|
@@ -2613,4 +2622,4 @@ declare const _default$1: React__default.NamedExoticComponent<SpecialistPaymentC
|
|
|
2613
2622
|
|
|
2614
2623
|
declare const _default: React__default.NamedExoticComponent<SpecialistPaymentCardProps & SpecialistPaymentConsultationsProps & TranslationType>;
|
|
2615
2624
|
|
|
2616
|
-
export { AppFooter, _default$p as AppFooter_v2, AppHeader, AppHeader_v2, ArchivedConsultationCard, Avatar, AvatarProps$1 as AvatarProps, _default$o as Avatar_v2, BREAKPOINT_ICON_SIZE, _default$k as Badge, _default$D as BookingScheduleTime, _default$C as BookingSpecialistInfo, Button, Button_v2, Calendar, _default$4 as CalendarPickerFeature, CancelSession, CardModal, ChangeLangModal, ChangeLanguageModal, _default$Y as ChatListItem, _default$W as ChatListSkeleton, _default$X as ChatMessage, ChatMessageSkeleton, CheckBoxItem, CheckBoxListFeature, CheckBoxSectionListFeature, _default$x as CheckboxList, CheckboxListCategory, CheckboxListItem, CheckboxTypes, ChevronHeader, CircleRatingContext, CircleRatingProvider, CollapsableText, _default$P as ConsultationCard, ConsultationCardProps, ConsultationCardType, _default$M as ConsultationModal, _default$8 as ConsultationPricingFeature, _default$K as ConsultationSpecialistCard, ConsultationsListSkeleton, Container, Container_v2, ContentCard, CountdownTimerFeature, CountryOfOriginModal, CustomButton, _default$y as CustomCheckbox, CustomRadioButton, _default$z as CustomSelect, _default$A as CustomTextarea, DatePicker, _default$I as DaySlider, DayToRender, DrumListPicker, _default$E as EducationCard, _default$V as EmptyChatList, EmptyChatMessages, _default$N as EmptyConsultations, EntryNotFound, EntryNotFoundProps, _default$u as Flag, FlagTypes, _default$m as Flag_v2, FloatingButton, FooterForBooking, FrequentlyAskedQuestions, GoogleCalendarModalFeature, HeaderWithRedirect, HorizontalCalendar, HorizontalCalendarProps, ISpecialistReview, IconAddModerator, IconApple, IconArrowDown, IconArrowLeft, IconArrowRight, IconAttachMoney, IconBeachAccess, IconBookmark, IconBookmarkOutlined, _default$g as IconButton, IconCalendar, IconCalendarFilled, IconCalendarMonth, IconCancel, IconCancelRounded, IconCapFilled, IconChat3d, IconChatFilled, IconChatOutline, IconCheck, IconCheckCircle, IconCheckSmall, IconCheckboxChecked, IconCheckboxUnchecked, IconClient, IconClientFilled, IconClose, IconCopy, IconCreditCard, IconDelete, IconEcgHeart, IconEdit, IconEditCalendar, IconEventBusy, IconEye, IconEyeOff, IconGallery, IconGift, IconGoogle, IconHome, IconInvisible, IconLanguage, IconLeftArrow, IconLetter, IconLink, IconLogout, IconManageAccounts, IconMute, IconNotificationMuted, IconPaid, IconPaper, IconPause, IconPlus, IconProfileChecked, IconProfileCircle, IconProfileSetting, IconProfileUnderReview, IconPromocode, IconQueryStats, IconQuestion, IconRadioButtonChecked, IconResume, IconSchema, IconSearch, IconSend, IconSettings, IconShare, IconSpinner, IconStar, IconStarFilled, IconSuccess, IconText, IconTime, IconTimeAdd, IconUnmute, IconUserNotFound, IconVerifiedUser, IconVisible, IconWarning, ImageInput, ImageWithFallback, ImpressionEmojiEnum, Input, InputSearch, _default$c as Item, _default$j as ItemCard, LabelArrowRedirect, LanguagesList, _default$10 as LetterAvatar, _default$v as LineFileInput, ListBox, ListBoxItem, ListBoxItemProps, ListBoxProps, ListBoxSelectionType, ListButton, ListItemType, _default$d as ListItems, ListOption, ListOptionsProps, ListSelect, ListSelectProps, ListSimple, _default$e as Loading, LouseConnect, _default$Z as MediaPlayer, Modal, ModalCalendar, ModalSheet, NavigationBar, NoInternetConnection, NotSupportModal, NotesCardText, NotesEditor, PasswordInput, _default$3 as PaymentCalendarFeature, _default$5 as PaymentSessionsList, _default$$ as PersonDateTimeCard, _default$l as Picture, _default$t as ProfileInformation, _default$G as ProfileView, _default$w as ProgressBar, ProgressBarDashed, _default$f as ProgressBar_v2, PushNotificationsIsDisabledBanner, PushNotificationsModal, Range, _default$h as Rating, RatingCircleWrapper, _default$J as ReSchedule, ReScheduleSuccess, Refresher, ReviewCard, ReviewStatistics, ReviewSwiperSection, RoundButton, RowItemType, RowSelect, RowSelectProps, SIZES, ScreenInput, ScrollTabs, SectionHeading, Segment, SegmentColor, SegmentType, _default$_ as SelectImpressionEmoji, SelectItemType, ShareModalFeature, _default$O as SignUpSessionButton, _default$L as SignUpSessionModal, Skeleton, _default$n as Skeleton_v2, _default$a as SlotsGrid, _default$9 as SlotsGridItem, _default$F as SpecialistAbout, SpecialistCard$1 as SpecialistCard, SpecialistCardListWidget, _default$2 as SpecialistCardWidget, _default$T as SpecialistEducationCard, SpecialistInfoColumnFeature as SpecialistInfoColumn, SpecialistLangs, _default$s as SpecialistMatch, _default$7 as SpecialistPaymentCommonCardFeature, SpecialistPaymentCommonCardSkeleton, _default$6 as SpecialistPaymentConsultationsFeature, _default as SpecialistPaymentResumeWidget, _default$1 as SpecialistPaymentWidget, _default$S as SpecialistProfileViewCard, SpecialistShortInfoItemFeature as SpecialistShortInfoItem, _default$r as SpecialistStatistic, SpecialistStatisticsCard, SpecialistWorkDirections, Spinner, Spinner_v2, StarRating, StatisticsScroll, StatusTag, SuccessScreen, SwitchDeviceCard, TabBar, Tag, _default$B as TextInput, _default$U as Textarea, _default$i as Textarea_v2, ThemeProvider, ThemeProviderProps, TherapistCard, TherapistInformationComponent, Toast, ToastButton, ToastContext, ToastProps, ToastProvider, ToastRegion, Toggle, TooltipComponent, _default$q as Typography, TypographyVariantsEnum, UpdatesCard, UserInfoModal, UsersPsychologistScrollList, VerticalCalendar, VerticalCalendarMonthSkeleton, VerticalCalendarSkeleton, _default$b as Video, _default$Q as VideoCallInfo, _default$R as VideoPlayer, _default$H as WorkDirections, YourLocalTimeBlock, appThemes, decOfNum, getProgressForBreakPoint, mergeRefs, priceNormalize, toast, useAutoFocus, useBreakPointsPosition, useCircleRatingRenderData, useDomRef, useEvent, useRangeIndex, useRatingCircleBreakPoints, useRatingCircleContentValue, useRatingCircleLegend, useRatingContext, useToastContext };
|
|
2625
|
+
export { AppFooter, _default$p as AppFooter_v2, AppHeader, AppHeader_v2, ArchivedConsultationCard, Avatar, AvatarProps$1 as AvatarProps, _default$o as Avatar_v2, BREAKPOINT_ICON_SIZE, _default$k as Badge, _default$D as BookingScheduleTime, _default$C as BookingSpecialistInfo, Button, Button_v2, Calendar, _default$4 as CalendarPickerFeature, CancelSession, CardModal, ChangeLangModal, ChangeLanguageModal, _default$Y as ChatListItem, _default$W as ChatListSkeleton, _default$X as ChatMessage, ChatMessageSkeleton, CheckBoxItem, CheckBoxListFeature, CheckBoxSectionListFeature, _default$x as CheckboxList, CheckboxListCategory, CheckboxListItem, CheckboxTypes, ChevronHeader, CircleRatingContext, CircleRatingProvider, CollapsableText, _default$P as ConsultationCard, ConsultationCardProps, ConsultationCardType, _default$M as ConsultationModal, _default$8 as ConsultationPricingFeature, _default$K as ConsultationSpecialistCard, ConsultationsListSkeleton, Container, Container_v2, ContentCard, CountdownTimerFeature, CountryOfOriginModal, CustomButton, _default$y as CustomCheckbox, CustomRadioButton, _default$z as CustomSelect, _default$A as CustomTextarea, DatePicker, _default$I as DaySlider, DayToRender, DrumListPicker, _default$E as EducationCard, _default$V as EmptyChatList, EmptyChatMessages, _default$N as EmptyConsultations, EntryNotFound, EntryNotFoundProps, _default$u as Flag, FlagTypes, _default$m as Flag_v2, FloatingButton, FooterForBooking, FrequentlyAskedQuestions, GoogleCalendarModalFeature, HeaderWithRedirect, HorizontalCalendar, HorizontalCalendarProps, ISpecialistReview, IconAddModerator, IconApple, IconArrowDown, IconArrowLeft, IconArrowRight, IconAttachMoney, IconBeachAccess, IconBookmark, IconBookmarkOutlined, _default$g as IconButton, IconCalendar, IconCalendarFilled, IconCalendarMonth, IconCancel, IconCancelRounded, IconCapFilled, IconChat3d, IconChatFilled, IconChatOutline, IconCheck, IconCheckCircle, IconCheckSmall, IconCheckboxChecked, IconCheckboxUnchecked, IconClient, IconClientFilled, IconClose, IconCopy, IconCreditCard, IconDelete, IconEcgHeart, IconEdit, IconEditCalendar, IconEventBusy, IconEye, IconEyeOff, IconGallery, IconGift, IconGoogle, IconHome, IconInvisible, IconLanguage, IconLeftArrow, IconLetter, IconLink, IconLogout, IconManageAccounts, IconMute, IconNotificationMuted, IconPaid, IconPaper, IconPause, IconPlus, IconProfileChecked, IconProfileCircle, IconProfileSetting, IconProfileUnderReview, IconPromocode, IconQueryStats, IconQuestion, IconRadioButtonChecked, IconResume, IconSchema, IconSearch, IconSend, IconSettings, IconShare, IconSpinner, IconStar, IconStarFilled, IconSuccess, IconText, IconTime, IconTimeAdd, IconUnmute, IconUserNotFound, IconVerifiedUser, IconVisible, IconWarning, ImageInput, ImageWithFallback, ImpressionEmojiEnum, Input, InputSearch, _default$c as Item, _default$j as ItemCard, LabelArrowRedirect, LanguagesList, _default$10 as LetterAvatar, _default$v as LineFileInput, ListBox, ListBoxItem, ListBoxItemProps, ListBoxProps, ListBoxSelectionType, ListButton, ListItemType, _default$d as ListItems, ListOption, ListOptionsProps, ListSelect, ListSelectProps, ListSimple, _default$e as Loading, LouseConnect, _default$Z as MediaPlayer, Modal, ModalCalendar, ModalSheet, NavigationBar, NoInternetConnection, NotSupportModal, NotesCardText, NotesEditor, PasswordInput, _default$3 as PaymentCalendarFeature, _default$5 as PaymentSessionsList, _default$$ as PersonDateTimeCard, _default$l as Picture, _default$t as ProfileInformation, _default$G as ProfileView, _default$w as ProgressBar, ProgressBarDashed, _default$f as ProgressBar_v2, PushNotificationsIsDisabledBanner, PushNotificationsModal, Range, _default$h as Rating, RatingCircleWrapper, _default$J as ReSchedule, ReScheduleSuccess, Refresher, ReviewCard, ReviewStatistics, ReviewSwiperSection, RoundButton, RowItemType, RowSelect, RowSelectProps, SIZES, ScreenInput, ScrollTabs, SectionHeading, Segment, SegmentColor, SegmentType, _default$_ as SelectImpressionEmoji, SelectItemType, ShareModalFeature, _default$O as SignUpSessionButton, _default$L as SignUpSessionModal, Skeleton, _default$n as Skeleton_v2, _default$a as SlotsGrid, _default$9 as SlotsGridItem, _default$F as SpecialistAbout, SpecialistCard$1 as SpecialistCard, SpecialistCardListWidget, _default$2 as SpecialistCardWidget, _default$T as SpecialistEducationCard, SpecialistInfoColumnFeature as SpecialistInfoColumn, SpecialistLangs, _default$s as SpecialistMatch, _default$7 as SpecialistPaymentCommonCardFeature, SpecialistPaymentCommonCardSkeleton, _default$6 as SpecialistPaymentConsultationsFeature, _default as SpecialistPaymentResumeWidget, _default$1 as SpecialistPaymentWidget, _default$S as SpecialistProfileViewCard, SpecialistShortInfoItemFeature as SpecialistShortInfoItem, _default$r as SpecialistStatistic, SpecialistStatisticsCard, SpecialistWorkDirections, Spinner, Spinner_v2, StarRating, StatisticsScroll, StatusTag, SuccessScreen, SwitchDeviceCard, TabBar, Tag, _default$B as TextInput, _default$U as Textarea, _default$i as Textarea_v2, ThemeProvider, ThemeProviderProps, TherapistCard, TherapistInformationComponent, Toast, ToastButton, ToastContext, ToastProps, ToastProvider, ToastRegion, Toggle, TooltipComponent, _default$q as Typography, TypographyVariantsEnum, UpdatesCard, UserInfoModal, UsersPsychologistScrollList, VerticalCalendar, VerticalCalendarMonthSkeleton, VerticalCalendarSkeleton, _default$b as Video, _default$Q as VideoCallInfo, _default$R as VideoPlayer, _default$H as WorkDirections, YourLocalTimeBlock, appThemes, decOfNum, getProgressForBreakPoint, mergeRefs, newShade, priceNormalize, toast, useAutoFocus, useBreakPointsPosition, useCircleRatingRenderData, useDomRef, useEvent, useRangeIndex, useRatingCircleBreakPoints, useRatingCircleContentValue, useRatingCircleLegend, useRatingContext, useToastContext };
|