@mindly/ui-components 5.62.1 → 5.64.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.
@@ -0,0 +1,3 @@
1
+ import { FC } from 'react';
2
+ import { IconProps } from '../../types';
3
+ export declare const IconProfile: FC<IconProps>;
@@ -85,3 +85,4 @@ export * from './IconStylus';
85
85
  export * from './IconDocument';
86
86
  export * from './IconPersonAlert';
87
87
  export * from './IconIdCard';
88
+ export * from './IconProfile';
@@ -4,12 +4,14 @@ type ItemProps = React.HTMLAttributes<HTMLIonItemElement> & {
4
4
  rightContent?: React.ReactNode;
5
5
  withBorders?: boolean;
6
6
  isDisabled?: boolean;
7
+ isError?: boolean;
7
8
  };
8
9
  export declare const Item: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLIonItemElement> & {
9
10
  leftContent?: React.ReactNode;
10
11
  rightContent?: React.ReactNode;
11
12
  withBorders?: boolean | undefined;
12
13
  isDisabled?: boolean | undefined;
14
+ isError?: boolean | undefined;
13
15
  } & React.RefAttributes<HTMLIonItemElement>>;
14
16
  declare const _default: React.NamedExoticComponent<ItemProps>;
15
17
  export default _default;
@@ -8,6 +8,7 @@ type TypographyProps = {
8
8
  className?: string;
9
9
  children: React.ReactNode;
10
10
  onClick?: (args: any) => typeof args;
11
+ isError?: boolean;
11
12
  };
12
13
  declare const _default: React.NamedExoticComponent<TypographyProps>;
13
14
  export default _default;
package/dist/index.d.ts CHANGED
@@ -1450,6 +1450,7 @@ type TypographyProps = {
1450
1450
  className?: string;
1451
1451
  children: React__default.ReactNode;
1452
1452
  onClick?: (args: any) => typeof args;
1453
+ isError?: boolean;
1453
1454
  };
1454
1455
  declare const _default$r: React__default.NamedExoticComponent<TypographyProps>;
1455
1456
 
@@ -1903,6 +1904,7 @@ type ItemProps = React.HTMLAttributes<HTMLIonItemElement> & {
1903
1904
  rightContent?: React.ReactNode;
1904
1905
  withBorders?: boolean;
1905
1906
  isDisabled?: boolean;
1907
+ isError?: boolean;
1906
1908
  };
1907
1909
  declare const _default$d: React.NamedExoticComponent<ItemProps>;
1908
1910
 
@@ -2401,6 +2403,8 @@ declare const IconPersonAlert: FC<IconProps$B>;
2401
2403
 
2402
2404
  declare const IconIdCard: FC<IconProps$B>;
2403
2405
 
2406
+ declare const IconProfile: FC<IconProps$B>;
2407
+
2404
2408
  type AnyRef = React__default.Ref<any>;
2405
2409
  declare const mergeRefs: <T extends unknown>(...refs: AnyRef[]) => React__default.Ref<T>;
2406
2410
 
@@ -2713,4 +2717,4 @@ declare const _default$1: React__default.NamedExoticComponent<SpecialistPaymentC
2713
2717
 
2714
2718
  declare const _default: React__default.NamedExoticComponent<SpecialistPaymentCardProps & SpecialistPaymentConsultationsProps & TranslationType>;
2715
2719
 
2716
- export { AppFooter, _default$q as AppFooter_v2, AppHeader, AppHeader_v2, AppNotSupportedFeature, ArchivedConsultationCard, Avatar, AvatarProps$1 as AvatarProps, _default$p as Avatar_v2, BREAKPOINT_ICON_SIZE, _default$l as Badge, _default$E as BookingScheduleTime, _default$D as BookingSpecialistInfo, Button, Button_v2, Calendar, _default$5 as CalendarPickerFeature, CancelSession, CardModal, ChangeLangModal, ChangeLanguageModal, _default$Z as ChatListItem, _default$X as ChatListSkeleton, _default$Y as ChatMessage, ChatMessageSkeleton, CheckBoxItem, CheckBoxListFeature, CheckBoxSectionListFeature, _default$y as CheckboxList, CheckboxListCategory, CheckboxListItem, CheckboxTypes, ChevronHeader, CircleRatingContext, CircleRatingProvider, CollapsableText, _default$Q as ConsultationCard, ConsultationCardProps, ConsultationCardType, _default$N as ConsultationModal, _default$9 as ConsultationPricingFeature, _default$L as ConsultationSpecialistCard, ConsultationsListSkeleton, Container, Container_v2, ContentCard, CountdownTimerFeature, CountryOfOriginModal, CustomButton, _default$z as CustomCheckbox, CustomRadioButton, _default$A as CustomSelect, _default$B as CustomTextarea, DatePicker, _default$J as DaySlider, DayToRender, DrumListPicker, _default$F as EducationCard, _default$W as EmptyChatList, EmptyChatMessages, _default$O as EmptyConsultations, EntryNotFound, EntryNotFoundProps, ErrorCardFeature, _default$v as Flag, FlagTypes, _default$n as Flag_v2, FloatingButton, FooterForBooking, FrequentlyAskedQuestions, GoogleCalendarModalFeature, HeaderWithRedirect, HorizontalCalendar, HorizontalCalendarProps, ISpecialistReview, IconAddModerator, IconApple, IconArrowDown, IconArrowLeft, IconArrowRight, IconArrowTopRight, IconAttachMoney, IconBeachAccess, IconBookmark, IconBookmarkOutlined, _default$h as IconButton, IconCalendar, IconCalendarFilled, IconCalendarMonth, IconCancel, IconCancelRounded, IconCapFilled, IconChat3d, IconChatFilled, IconChatOutline, IconCheck, IconCheckCircle, IconCheckSmall, IconCheckboxChecked, IconCheckboxUnchecked, IconClient, IconClientFilled, IconClose, IconCopy, IconCreditCard, IconDelete, IconDocument, IconEcgHeart, IconEdit, IconEditCalendar, IconEventBusy, IconEye, IconEyeOff, IconGallery, IconGift, IconGoogle, IconHome, IconIdCard, IconInvisible, IconLanguage, IconLeftArrow, IconLetter, IconLink, IconLock, IconLogout, IconManageAccounts, IconMinus, IconMoreVertical, IconMute, IconNotificationMuted, IconPaid, IconPaper, IconPause, IconPersonAlert, IconPlus, IconProfileChecked, IconProfileCircle, IconProfileSetting, IconProfileUnderReview, IconPromocode, IconQueryStats, IconQuestion, IconRadioButtonChecked, IconResume, IconSchema, IconSearch, IconSend, IconSettings, IconShare, IconSpinner, IconStar, IconStarFilled, IconStylus, IconSuccess, IconText, IconTime, IconTimeAdd, IconUnmute, IconUserNotFound, IconVerifiedUser, IconVisible, IconWarning, ImageInput, ImageWithFallback, ImpressionEmojiEnum, Input, InputSearch, _default$d as Item, _default$k as ItemCard, LabelArrowRedirect, LanguagesList, _default$11 as LetterAvatar, _default$w as LineFileInput, ListBox, ListBoxItem, ListBoxItemProps, ListBoxProps, ListBoxSelectionType, ListButton, ListItemType, _default$e as ListItems, ListOption, ListOptionsProps, ListSelect, ListSelectProps, ListSimple, _default$f as Loading, LouseConnect, _default$_ as MediaPlayer, Modal, ModalCalendar, ModalSheet, NavigationBar, NoInternetConnection, NotSupportModal, NotesCardText, NotesEditor, PasswordInput, _default$4 as PaymentCalendarFeature, _default$6 as PaymentSessionsList, _default$10 as PersonDateTimeCard, _default$m as Picture, _default$u as ProfileInformation, _default$H as ProfileView, _default$x as ProgressBar, ProgressBarDashed, _default$g as ProgressBar_v2, PushNotificationsIsDisabledBanner, PushNotificationsModal, Range, _default$i as Rating, RatingCircleWrapper, _default$K as ReSchedule, ReScheduleSuccess, Refresher, ReviewCard, _default$3 as ReviewCardFeature, ReviewStatistics, ReviewSwiperSection, RoundButton, RowItemType, RowSelect, RowSelectProps, SIZES, ScreenInput, ScreenInputUpdateFeature, ScrollTabs, SectionHeading, Segment, SegmentColor, SegmentType, _default$$ as SelectImpressionEmoji, SelectItemType, ShareModalFeature, _default$P as SignUpSessionButton, _default$M as SignUpSessionModal, Skeleton, _default$o as Skeleton_v2, _default$b as SlotsGrid, _default$a as SlotsGridItem, _default$G as SpecialistAbout, SpecialistCard$1 as SpecialistCard, SpecialistCardListWidget, _default$2 as SpecialistCardWidget, _default$U as SpecialistEducationCard, SpecialistInfoColumnFeature as SpecialistInfoColumn, SpecialistLangs, _default$t as SpecialistMatch, _default$8 as SpecialistPaymentCommonCardFeature, SpecialistPaymentCommonCardSkeleton, _default$7 as SpecialistPaymentConsultationsFeature, _default as SpecialistPaymentResumeWidget, _default$1 as SpecialistPaymentWidget, _default$T as SpecialistProfileViewCard, SpecialistShortInfoItemFeature as SpecialistShortInfoItem, _default$s as SpecialistStatistic, SpecialistStatisticsCard, SpecialistWorkDirections, Spinner, Spinner_v2, StarRating, StatisticsScroll, StatusTag, SuccessScreen, SwitchDeviceCard, TabBar, TabItem, Tabs, Tag, _default$C as TextInput, _default$V as Textarea, _default$j as Textarea_v2, ThemeProvider, ThemeProviderProps, TherapistCard, TherapistInformationComponent, Toast, ToastButton, ToastContext, ToastProps, ToastProvider, ToastRegion, Toggle, TooltipComponent, _default$r as Typography, TypographyVariantsEnum, UpdatesCard, UserInfoModal, UsersPsychologistScrollList, VerticalCalendar, VerticalCalendarMonthSkeleton, VerticalCalendarSkeleton, _default$c as Video, _default$R as VideoCallInfo, _default$S as VideoPlayer, _default$I as WorkDirections, YourLocalTimeBlock, appThemes, decOfNum, getProgressForBreakPoint, mergeRefs, newShade, priceNormalize, toast, useAutoFocus, useBreakPointsPosition, useCircleRatingRenderData, useDomRef, useEvent, useRangeIndex, useRatingCircleBreakPoints, useRatingCircleContentValue, useRatingCircleLegend, useRatingContext, useToastContext };
2720
+ export { AppFooter, _default$q as AppFooter_v2, AppHeader, AppHeader_v2, AppNotSupportedFeature, ArchivedConsultationCard, Avatar, AvatarProps$1 as AvatarProps, _default$p as Avatar_v2, BREAKPOINT_ICON_SIZE, _default$l as Badge, _default$E as BookingScheduleTime, _default$D as BookingSpecialistInfo, Button, Button_v2, Calendar, _default$5 as CalendarPickerFeature, CancelSession, CardModal, ChangeLangModal, ChangeLanguageModal, _default$Z as ChatListItem, _default$X as ChatListSkeleton, _default$Y as ChatMessage, ChatMessageSkeleton, CheckBoxItem, CheckBoxListFeature, CheckBoxSectionListFeature, _default$y as CheckboxList, CheckboxListCategory, CheckboxListItem, CheckboxTypes, ChevronHeader, CircleRatingContext, CircleRatingProvider, CollapsableText, _default$Q as ConsultationCard, ConsultationCardProps, ConsultationCardType, _default$N as ConsultationModal, _default$9 as ConsultationPricingFeature, _default$L as ConsultationSpecialistCard, ConsultationsListSkeleton, Container, Container_v2, ContentCard, CountdownTimerFeature, CountryOfOriginModal, CustomButton, _default$z as CustomCheckbox, CustomRadioButton, _default$A as CustomSelect, _default$B as CustomTextarea, DatePicker, _default$J as DaySlider, DayToRender, DrumListPicker, _default$F as EducationCard, _default$W as EmptyChatList, EmptyChatMessages, _default$O as EmptyConsultations, EntryNotFound, EntryNotFoundProps, ErrorCardFeature, _default$v as Flag, FlagTypes, _default$n as Flag_v2, FloatingButton, FooterForBooking, FrequentlyAskedQuestions, GoogleCalendarModalFeature, HeaderWithRedirect, HorizontalCalendar, HorizontalCalendarProps, ISpecialistReview, IconAddModerator, IconApple, IconArrowDown, IconArrowLeft, IconArrowRight, IconArrowTopRight, IconAttachMoney, IconBeachAccess, IconBookmark, IconBookmarkOutlined, _default$h as IconButton, IconCalendar, IconCalendarFilled, IconCalendarMonth, IconCancel, IconCancelRounded, IconCapFilled, IconChat3d, IconChatFilled, IconChatOutline, IconCheck, IconCheckCircle, IconCheckSmall, IconCheckboxChecked, IconCheckboxUnchecked, IconClient, IconClientFilled, IconClose, IconCopy, IconCreditCard, IconDelete, IconDocument, IconEcgHeart, IconEdit, IconEditCalendar, IconEventBusy, IconEye, IconEyeOff, IconGallery, IconGift, IconGoogle, IconHome, IconIdCard, IconInvisible, IconLanguage, IconLeftArrow, IconLetter, IconLink, IconLock, IconLogout, IconManageAccounts, IconMinus, IconMoreVertical, IconMute, IconNotificationMuted, IconPaid, IconPaper, IconPause, IconPersonAlert, IconPlus, IconProfile, IconProfileChecked, IconProfileCircle, IconProfileSetting, IconProfileUnderReview, IconPromocode, IconQueryStats, IconQuestion, IconRadioButtonChecked, IconResume, IconSchema, IconSearch, IconSend, IconSettings, IconShare, IconSpinner, IconStar, IconStarFilled, IconStylus, IconSuccess, IconText, IconTime, IconTimeAdd, IconUnmute, IconUserNotFound, IconVerifiedUser, IconVisible, IconWarning, ImageInput, ImageWithFallback, ImpressionEmojiEnum, Input, InputSearch, _default$d as Item, _default$k as ItemCard, LabelArrowRedirect, LanguagesList, _default$11 as LetterAvatar, _default$w as LineFileInput, ListBox, ListBoxItem, ListBoxItemProps, ListBoxProps, ListBoxSelectionType, ListButton, ListItemType, _default$e as ListItems, ListOption, ListOptionsProps, ListSelect, ListSelectProps, ListSimple, _default$f as Loading, LouseConnect, _default$_ as MediaPlayer, Modal, ModalCalendar, ModalSheet, NavigationBar, NoInternetConnection, NotSupportModal, NotesCardText, NotesEditor, PasswordInput, _default$4 as PaymentCalendarFeature, _default$6 as PaymentSessionsList, _default$10 as PersonDateTimeCard, _default$m as Picture, _default$u as ProfileInformation, _default$H as ProfileView, _default$x as ProgressBar, ProgressBarDashed, _default$g as ProgressBar_v2, PushNotificationsIsDisabledBanner, PushNotificationsModal, Range, _default$i as Rating, RatingCircleWrapper, _default$K as ReSchedule, ReScheduleSuccess, Refresher, ReviewCard, _default$3 as ReviewCardFeature, ReviewStatistics, ReviewSwiperSection, RoundButton, RowItemType, RowSelect, RowSelectProps, SIZES, ScreenInput, ScreenInputUpdateFeature, ScrollTabs, SectionHeading, Segment, SegmentColor, SegmentType, _default$$ as SelectImpressionEmoji, SelectItemType, ShareModalFeature, _default$P as SignUpSessionButton, _default$M as SignUpSessionModal, Skeleton, _default$o as Skeleton_v2, _default$b as SlotsGrid, _default$a as SlotsGridItem, _default$G as SpecialistAbout, SpecialistCard$1 as SpecialistCard, SpecialistCardListWidget, _default$2 as SpecialistCardWidget, _default$U as SpecialistEducationCard, SpecialistInfoColumnFeature as SpecialistInfoColumn, SpecialistLangs, _default$t as SpecialistMatch, _default$8 as SpecialistPaymentCommonCardFeature, SpecialistPaymentCommonCardSkeleton, _default$7 as SpecialistPaymentConsultationsFeature, _default as SpecialistPaymentResumeWidget, _default$1 as SpecialistPaymentWidget, _default$T as SpecialistProfileViewCard, SpecialistShortInfoItemFeature as SpecialistShortInfoItem, _default$s as SpecialistStatistic, SpecialistStatisticsCard, SpecialistWorkDirections, Spinner, Spinner_v2, StarRating, StatisticsScroll, StatusTag, SuccessScreen, SwitchDeviceCard, TabBar, TabItem, Tabs, Tag, _default$C as TextInput, _default$V as Textarea, _default$j as Textarea_v2, ThemeProvider, ThemeProviderProps, TherapistCard, TherapistInformationComponent, Toast, ToastButton, ToastContext, ToastProps, ToastProvider, ToastRegion, Toggle, TooltipComponent, _default$r as Typography, TypographyVariantsEnum, UpdatesCard, UserInfoModal, UsersPsychologistScrollList, VerticalCalendar, VerticalCalendarMonthSkeleton, VerticalCalendarSkeleton, _default$c as Video, _default$R as VideoCallInfo, _default$S as VideoPlayer, _default$I as WorkDirections, YourLocalTimeBlock, appThemes, decOfNum, getProgressForBreakPoint, mergeRefs, newShade, priceNormalize, 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.62.1",
3
+ "version": "5.64.0",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "clean": "rimraf dist",
@@ -30,6 +30,11 @@ export default {
30
30
  orange: 'rgba(var(--color-info-light-orange) / <alpha-value>)',
31
31
  green: 'rgba(var(--color-info-light-green) / <alpha-value>)',
32
32
  mint: 'rgba(var(--color-info-mint-light) / <alpha-value>)',
33
+ red: {
34
+ not: {
35
+ red: 'rgba(var(--color-info-light-red-not-red) / <alpha-value>)',
36
+ }
37
+ }
33
38
  },
34
39
  },
35
40
  white: '#ffffff',
@@ -16,6 +16,8 @@
16
16
  --color-info-red-not-red: 255 109 71;
17
17
  --color-info-blue: 9 116 255;
18
18
 
19
+ --color-info-light-red-not-red: 255 231 224;
20
+
19
21
  /* badge variables start */
20
22
  /* badges attentions */
21
23
  --badges-attention-main: 255 153 0;