@mindly/ui-components 4.3.6 → 4.4.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.
Files changed (31) hide show
  1. package/dist/cjs/configs/tailwind/colors.d.ts +6 -0
  2. package/dist/cjs/index.js +4 -4
  3. package/dist/cjs/lib2/shared/assets/icons/iconStar.d.ts +3 -0
  4. package/dist/cjs/lib2/shared/assets/icons/iconStarFilled.d.ts +3 -0
  5. package/dist/cjs/lib2/shared/assets/icons/index.d.ts +2 -0
  6. package/dist/cjs/lib2/shared/ui/Rating/Rating.d.ts +4 -0
  7. package/dist/cjs/lib2/shared/ui/Rating/Rating.stories.d.ts +6 -0
  8. package/dist/cjs/lib2/shared/ui/Rating/index.d.ts +1 -0
  9. package/dist/cjs/lib2/shared/ui/Rating/types.d.ts +6 -0
  10. package/dist/cjs/lib2/shared/ui/Textarea_v2/Textarea_v2.d.ts +4 -0
  11. package/dist/cjs/lib2/shared/ui/Textarea_v2/index.d.ts +1 -0
  12. package/dist/cjs/lib2/shared/ui/Textarea_v2/types.d.ts +6 -0
  13. package/dist/cjs/lib2/shared/ui/index.d.ts +2 -0
  14. package/dist/esm/configs/tailwind/colors.d.ts +6 -0
  15. package/dist/esm/index.js +4 -4
  16. package/dist/esm/lib2/shared/assets/icons/iconStar.d.ts +3 -0
  17. package/dist/esm/lib2/shared/assets/icons/iconStarFilled.d.ts +3 -0
  18. package/dist/esm/lib2/shared/assets/icons/index.d.ts +2 -0
  19. package/dist/esm/lib2/shared/ui/Rating/Rating.d.ts +4 -0
  20. package/dist/esm/lib2/shared/ui/Rating/Rating.stories.d.ts +6 -0
  21. package/dist/esm/lib2/shared/ui/Rating/index.d.ts +1 -0
  22. package/dist/esm/lib2/shared/ui/Rating/types.d.ts +6 -0
  23. package/dist/esm/lib2/shared/ui/Textarea_v2/Textarea_v2.d.ts +4 -0
  24. package/dist/esm/lib2/shared/ui/Textarea_v2/index.d.ts +1 -0
  25. package/dist/esm/lib2/shared/ui/Textarea_v2/types.d.ts +6 -0
  26. package/dist/esm/lib2/shared/ui/index.d.ts +2 -0
  27. package/dist/index.d.ts +63 -46
  28. package/package.json +1 -1
  29. package/src/configs/tailwind/colors.ts +6 -0
  30. package/src/lib2/shared/css/tailwind.css +3 -0
  31. package/src/lib2/shared/css/variables.css +1 -0
@@ -0,0 +1,3 @@
1
+ import * as React from 'react';
2
+ declare const _default: React.NamedExoticComponent<React.SVGAttributes<SVGElement>>;
3
+ export default _default;
@@ -0,0 +1,3 @@
1
+ import * as React from 'react';
2
+ declare const _default: React.NamedExoticComponent<React.SVGAttributes<SVGElement>>;
3
+ export default _default;
@@ -1,3 +1,5 @@
1
1
  export * from './iconCheckboxChecked';
2
2
  export * from './iconCheckboxUnchecked';
3
3
  export * from './iconLanguage';
4
+ export * from './iconStar';
5
+ export * from './iconStarFilled';
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { RatingProps } from './types';
3
+ declare const _default: React.NamedExoticComponent<RatingProps>;
4
+ export default _default;
@@ -0,0 +1,6 @@
1
+ import type { Meta, StoryObj } from '@storybook/react';
2
+ import Rating from './Rating';
3
+ declare const meta: Meta<typeof Rating>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof Rating>;
6
+ export declare const Default: Story;
@@ -0,0 +1 @@
1
+ export { default as Rating } from './Rating';
@@ -0,0 +1,6 @@
1
+ export type RatingProps = {
2
+ initialRating?: number;
3
+ onChange?: (value: number) => void;
4
+ onClick?: (value: number) => void;
5
+ onHover?: (value: number) => void;
6
+ };
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { TextareaV2Props } from './types';
3
+ declare const _default: React.MemoExoticComponent<React.ForwardRefExoticComponent<TextareaV2Props & React.RefAttributes<HTMLIonTextareaElement>>>;
4
+ export default _default;
@@ -0,0 +1 @@
1
+ export { default as Textarea_v2 } from './Textarea_v2';
@@ -0,0 +1,6 @@
1
+ import { JSX } from '@ionic/core/components';
2
+ export interface TextareaV2Props extends Omit<JSX.IonTextarea, 'color' | 'enterkeyhint' | 'inputmode' | 'mode'> {
3
+ borderTop?: boolean;
4
+ showCounter?: boolean;
5
+ className?: string;
6
+ }
@@ -10,3 +10,5 @@ export * from './Badge';
10
10
  export * from './AppHeader_v2';
11
11
  export * from './ListBoxItem';
12
12
  export * from './ListBox';
13
+ export * from './Textarea_v2';
14
+ export * from './Rating';
package/dist/index.d.ts CHANGED
@@ -219,7 +219,7 @@ type LetterAvatarProps = {
219
219
  fontSize?: number;
220
220
  onClick?: () => void;
221
221
  };
222
- declare const _default$I: React__default.NamedExoticComponent<LetterAvatarProps>;
222
+ declare const _default$K: React__default.NamedExoticComponent<LetterAvatarProps>;
223
223
 
224
224
  type ImageWithFallbackProps = JSX.IntrinsicElements['img'] & {
225
225
  onErrorContent: React__default.ReactElement;
@@ -231,7 +231,7 @@ type PersonDateTimeCardProps = {
231
231
  name: string;
232
232
  dateTime: Date;
233
233
  };
234
- declare const _default$H: React__default.NamedExoticComponent<PersonDateTimeCardProps>;
234
+ declare const _default$J: React__default.NamedExoticComponent<PersonDateTimeCardProps>;
235
235
 
236
236
  type PsychologistProfileType = {
237
237
  id: string;
@@ -397,7 +397,7 @@ type SelectImpressionEmojiProps = {
397
397
  onChange?: (val: ImpressionEmojiEnum) => void;
398
398
  };
399
399
 
400
- declare const _default$G: React__default.NamedExoticComponent<SelectImpressionEmojiProps>;
400
+ declare const _default$I: React__default.NamedExoticComponent<SelectImpressionEmojiProps>;
401
401
 
402
402
  interface FooterForBookingProps {
403
403
  eventHandler: (props?: React__default.SyntheticEvent) => void;
@@ -429,7 +429,7 @@ type MediaPlayerProps<TCameraTrack extends Playable | undefined, TAudioTrack ext
429
429
  showControls: boolean;
430
430
  isScreenSharing?: boolean;
431
431
  } & HTMLAttributes<HTMLDivElement>;
432
- declare const _default$F: <TCameraTrack extends Playable | undefined, TAudioTrack extends Playable | undefined>({ fullwidth, cameraTrack, audioTrack, isVideoTrackMuted, isAudioTrackMuted, networkQuality, fallbackAvatar, fallbackAvatarDimensions, fallbackName, showControls, isScreenSharing, ...props }: MediaPlayerProps<TCameraTrack, TAudioTrack>) => JSX.Element;
432
+ declare const _default$H: <TCameraTrack extends Playable | undefined, TAudioTrack extends Playable | undefined>({ fullwidth, cameraTrack, audioTrack, isVideoTrackMuted, isAudioTrackMuted, networkQuality, fallbackAvatar, fallbackAvatarDimensions, fallbackName, showControls, isScreenSharing, ...props }: MediaPlayerProps<TCameraTrack, TAudioTrack>) => JSX.Element;
433
433
 
434
434
  type RoundButtonPropsType = {
435
435
  disabled?: boolean;
@@ -455,7 +455,7 @@ type ChatListItemProps = {
455
455
  lastMessageType?: 'text' | 'file' | 'image' | 'video' | 'system';
456
456
  locale?: string;
457
457
  };
458
- declare const _default$E: React__default.NamedExoticComponent<ChatListItemProps>;
458
+ declare const _default$G: React__default.NamedExoticComponent<ChatListItemProps>;
459
459
 
460
460
  type ChatMessageProps = {
461
461
  message: string | File;
@@ -473,11 +473,11 @@ type ChatMessageProps = {
473
473
  };
474
474
  locale?: string;
475
475
  };
476
- declare const _default$D: React__default.NamedExoticComponent<ChatMessageProps>;
476
+ declare const _default$F: React__default.NamedExoticComponent<ChatMessageProps>;
477
477
 
478
478
  declare const ChatMessageSkeleton: () => JSX.Element;
479
479
 
480
- declare const _default$C: React__default.MemoExoticComponent<() => JSX.Element>;
480
+ declare const _default$E: React__default.MemoExoticComponent<() => JSX.Element>;
481
481
 
482
482
  type EmptyChatList = {
483
483
  title?: string;
@@ -487,7 +487,7 @@ type EmptyChatList = {
487
487
  onClick?: () => void;
488
488
  };
489
489
  declare const EmptyChatList: FC<EmptyChatList>;
490
- declare const _default$B: React__default.NamedExoticComponent<EmptyChatList>;
490
+ declare const _default$D: React__default.NamedExoticComponent<EmptyChatList>;
491
491
 
492
492
  type EmptyChatMessagesProps = {
493
493
  title?: string;
@@ -511,7 +511,7 @@ type TextareaProps = {
511
511
  onError?: (message: string) => void;
512
512
  onFileSelect?: (file: File | null, type: 'file' | 'image' | 'video', fileInfo: FileInfoType) => void;
513
513
  };
514
- declare const _default$A: React__default.MemoExoticComponent<React__default.ForwardRefExoticComponent<TextareaProps & React__default.RefAttributes<HTMLIonFooterElement>>>;
514
+ declare const _default$C: React__default.MemoExoticComponent<React__default.ForwardRefExoticComponent<TextareaProps & React__default.RefAttributes<HTMLIonFooterElement>>>;
515
515
 
516
516
  type LouseConnectProps = {
517
517
  onClick?: () => void;
@@ -590,7 +590,7 @@ type SpecialistEducationCardProps$1 = {
590
590
  yearEnd?: number | null;
591
591
  showLoader?: boolean;
592
592
  };
593
- declare const _default$z: React__default.NamedExoticComponent<SpecialistEducationCardProps$1>;
593
+ declare const _default$B: React__default.NamedExoticComponent<SpecialistEducationCardProps$1>;
594
594
 
595
595
  type SpecialistProfileViewCardProps$1 = {
596
596
  avatarLink?: string | null;
@@ -603,7 +603,7 @@ type SpecialistProfileViewCardProps$1 = {
603
603
  videoLinkUrl?: string | null;
604
604
  showLoader?: boolean;
605
605
  } & React__default.DetailedHTMLProps<React__default.HTMLAttributes<HTMLDivElement>, HTMLDivElement>;
606
- declare const _default$y: React__default.NamedExoticComponent<SpecialistProfileViewCardProps$1>;
606
+ declare const _default$A: React__default.NamedExoticComponent<SpecialistProfileViewCardProps$1>;
607
607
 
608
608
  type SpecialistStatisticsCardProps$1 = {
609
609
  activeClients?: number;
@@ -639,7 +639,7 @@ type VideoPlayerProps = {
639
639
  closeModalHandler?: () => void;
640
640
  onErrorContent: React__default.ReactElement;
641
641
  } & JSX$1.IonModal;
642
- declare const _default$x: React__default.NamedExoticComponent<VideoPlayerProps>;
642
+ declare const _default$z: React__default.NamedExoticComponent<VideoPlayerProps>;
643
643
 
644
644
  type NotSupportModalProps = {
645
645
  closeModal?: () => void;
@@ -675,7 +675,7 @@ type VideoCallInfoProps = {
675
675
  abbreviatedSeconds: string;
676
676
  };
677
677
  };
678
- declare const _default$w: React__default.NamedExoticComponent<VideoCallInfoProps>;
678
+ declare const _default$y: React__default.NamedExoticComponent<VideoCallInfoProps>;
679
679
 
680
680
  declare enum ConsultationCardType {
681
681
  FEATURE = "feature",
@@ -710,14 +710,14 @@ type ConsultationCardProps = {
710
710
  };
711
711
  };
712
712
 
713
- declare const _default$v: React__default.NamedExoticComponent<ConsultationCardProps>;
713
+ declare const _default$x: React__default.NamedExoticComponent<ConsultationCardProps>;
714
714
 
715
715
  type SignUpSessionButtonProps = {
716
716
  label: string;
717
717
  isLoading?: boolean;
718
718
  onClick?: () => void;
719
719
  };
720
- declare const _default$u: React__default.NamedExoticComponent<SignUpSessionButtonProps>;
720
+ declare const _default$w: React__default.NamedExoticComponent<SignUpSessionButtonProps>;
721
721
 
722
722
  type EmptyConsultationsProps = {
723
723
  title: string;
@@ -725,7 +725,7 @@ type EmptyConsultationsProps = {
725
725
  buttonLabel?: string;
726
726
  onClick?: () => void;
727
727
  };
728
- declare const _default$t: React__default.NamedExoticComponent<EmptyConsultationsProps>;
728
+ declare const _default$v: React__default.NamedExoticComponent<EmptyConsultationsProps>;
729
729
 
730
730
  type ConsultationModalProps = {
731
731
  isOpen: boolean;
@@ -760,7 +760,7 @@ type ConsultationModalProps = {
760
760
  started?: string;
761
761
  };
762
762
  };
763
- declare const _default$s: React__default.NamedExoticComponent<ConsultationModalProps>;
763
+ declare const _default$u: React__default.NamedExoticComponent<ConsultationModalProps>;
764
764
 
765
765
  type SpecialistData = {
766
766
  id: string;
@@ -777,7 +777,7 @@ type SignUpSessionModalProps = {
777
777
  title: string;
778
778
  cancelBtnLabel: string;
779
779
  };
780
- declare const _default$r: React__default.NamedExoticComponent<SignUpSessionModalProps>;
780
+ declare const _default$t: React__default.NamedExoticComponent<SignUpSessionModalProps>;
781
781
 
782
782
  type ConsultationSpecialistCardProps = {
783
783
  id: string;
@@ -788,7 +788,7 @@ type ConsultationSpecialistCardProps = {
788
788
  onSignUp?: (id: string) => void;
789
789
  signInBtnLabel: string;
790
790
  };
791
- declare const _default$q: React__default.NamedExoticComponent<ConsultationSpecialistCardProps>;
791
+ declare const _default$s: React__default.NamedExoticComponent<ConsultationSpecialistCardProps>;
792
792
 
793
793
  type UserInfoModalProps = {
794
794
  isOpen: boolean;
@@ -853,7 +853,7 @@ type ReScheduleProps = {
853
853
  btnLabel: string;
854
854
  };
855
855
  };
856
- declare const _default$p: React__default.NamedExoticComponent<ReScheduleProps>;
856
+ declare const _default$r: React__default.NamedExoticComponent<ReScheduleProps>;
857
857
 
858
858
  type ReScheduleSuccessProps = {
859
859
  name: string;
@@ -891,7 +891,7 @@ type DaySliderProps = JSX$1.IonSlides & HTMLAttributes<HTMLIonSlidesElement> & R
891
891
  tomorrow?: string;
892
892
  };
893
893
  };
894
- declare const _default$o: React__default.MemoExoticComponent<React__default.ForwardRefExoticComponent<Omit<DaySliderProps, "ref"> & React__default.RefAttributes<HTMLIonSlidesElement>>>;
894
+ declare const _default$q: React__default.MemoExoticComponent<React__default.ForwardRefExoticComponent<Omit<DaySliderProps, "ref"> & React__default.RefAttributes<HTMLIonSlidesElement>>>;
895
895
 
896
896
  type SpecialistWorkDirectionsPropsType = {
897
897
  workDirections?: string[] | [];
@@ -900,7 +900,7 @@ type SpecialistWorkDirectionsPropsType = {
900
900
  moreLabel?: string;
901
901
  hideLabel?: string;
902
902
  };
903
- declare const _default$n: React__default.NamedExoticComponent<SpecialistWorkDirectionsPropsType>;
903
+ declare const _default$p: React__default.NamedExoticComponent<SpecialistWorkDirectionsPropsType>;
904
904
 
905
905
  type SpecialistProfileViewCardProps = {
906
906
  videoLink?: string;
@@ -910,7 +910,7 @@ type SpecialistProfileViewCardProps = {
910
910
  isLoading?: boolean;
911
911
  videoDurationSeconds?: number;
912
912
  };
913
- declare const _default$m: React__default.NamedExoticComponent<SpecialistProfileViewCardProps>;
913
+ declare const _default$o: React__default.NamedExoticComponent<SpecialistProfileViewCardProps>;
914
914
 
915
915
  type SpecialistAboutProps = {
916
916
  text?: string;
@@ -919,7 +919,7 @@ type SpecialistAboutProps = {
919
919
  moreLabel?: string;
920
920
  hideLabel?: string;
921
921
  };
922
- declare const _default$l: React__default.NamedExoticComponent<SpecialistAboutProps>;
922
+ declare const _default$n: React__default.NamedExoticComponent<SpecialistAboutProps>;
923
923
 
924
924
  type SpecialistEducationCardProps = {
925
925
  institutionName?: string;
@@ -930,7 +930,7 @@ type SpecialistEducationCardProps = {
930
930
  yearEnd?: number | null;
931
931
  showLoader?: boolean;
932
932
  };
933
- declare const _default$k: React__default.NamedExoticComponent<SpecialistEducationCardProps>;
933
+ declare const _default$m: React__default.NamedExoticComponent<SpecialistEducationCardProps>;
934
934
 
935
935
  type SpecialistStatisticsCardProps = {
936
936
  trust?: boolean;
@@ -976,7 +976,7 @@ type BookingScheduleTimeProps = {
976
976
  onClick?: (index: number, item: string) => void;
977
977
  isLoading?: boolean;
978
978
  };
979
- declare const _default$j: React__default.NamedExoticComponent<BookingScheduleTimeProps>;
979
+ declare const _default$l: React__default.NamedExoticComponent<BookingScheduleTimeProps>;
980
980
 
981
981
  type BookingSpecialistInfoProps = {
982
982
  name: string;
@@ -985,7 +985,7 @@ type BookingSpecialistInfoProps = {
985
985
  avatar?: string;
986
986
  isLoading?: boolean;
987
987
  };
988
- declare const _default$i: React__default.NamedExoticComponent<BookingSpecialistInfoProps>;
988
+ declare const _default$k: React__default.NamedExoticComponent<BookingSpecialistInfoProps>;
989
989
 
990
990
  type SpecialistCardProps = {
991
991
  fullName?: string;
@@ -1034,7 +1034,7 @@ type SpecialistCardProps = {
1034
1034
  };
1035
1035
  declare const SpecialistCard: React__default.FC<SpecialistCardProps>;
1036
1036
 
1037
- declare const _default$h: React__default.MemoExoticComponent<React__default.ForwardRefExoticComponent<{
1037
+ declare const _default$j: React__default.MemoExoticComponent<React__default.ForwardRefExoticComponent<{
1038
1038
  isError?: boolean | undefined;
1039
1039
  errorStyle?: "filled" | "unfilled" | undefined;
1040
1040
  type?: "number" | "text" | "email" | undefined;
@@ -1058,11 +1058,11 @@ declare const PasswordInput: React__default.ForwardRefExoticComponent<{
1058
1058
  error?: string | null | undefined;
1059
1059
  } & Omit<React__default.InputHTMLAttributes<HTMLInputElement>, "type"> & React__default.RefAttributes<HTMLInputElement>>;
1060
1060
 
1061
- declare const _default$g: React__default.MemoExoticComponent<React__default.ForwardRefExoticComponent<{
1061
+ declare const _default$i: React__default.MemoExoticComponent<React__default.ForwardRefExoticComponent<{
1062
1062
  isError?: boolean | undefined;
1063
1063
  } & React__default.TextareaHTMLAttributes<HTMLTextAreaElement> & React__default.RefAttributes<HTMLTextAreaElement>>>;
1064
1064
 
1065
- declare const _default$f: React__default.MemoExoticComponent<React__default.ForwardRefExoticComponent<{
1065
+ declare const _default$h: React__default.MemoExoticComponent<React__default.ForwardRefExoticComponent<{
1066
1066
  options: {
1067
1067
  id: string | number;
1068
1068
  label: string | number;
@@ -1094,7 +1094,7 @@ type CustomCheckboxProps = {
1094
1094
  isCheckbox?: boolean;
1095
1095
  onChange?: (e: ChangeEvent<HTMLInputElement>) => void;
1096
1096
  };
1097
- declare const _default$e: React__default.MemoExoticComponent<React__default.ForwardRefExoticComponent<CustomCheckboxProps & React__default.RefAttributes<HTMLInputElement>>>;
1097
+ declare const _default$g: React__default.MemoExoticComponent<React__default.ForwardRefExoticComponent<CustomCheckboxProps & React__default.RefAttributes<HTMLInputElement>>>;
1098
1098
 
1099
1099
  type CheckboxListItem = {
1100
1100
  id: ReactText;
@@ -1122,7 +1122,7 @@ type CheckboxListProps = {
1122
1122
  from: string;
1123
1123
  };
1124
1124
  };
1125
- declare const _default$d: React__default.NamedExoticComponent<CheckboxListProps>;
1125
+ declare const _default$f: React__default.NamedExoticComponent<CheckboxListProps>;
1126
1126
 
1127
1127
  type BookingHeaderProps = {
1128
1128
  title?: string;
@@ -1136,9 +1136,9 @@ type ProgressBarProps = {
1136
1136
  progress: number;
1137
1137
  loaderTitle?: string;
1138
1138
  };
1139
- declare const _default$c: React__default.NamedExoticComponent<ProgressBarProps>;
1139
+ declare const _default$e: React__default.NamedExoticComponent<ProgressBarProps>;
1140
1140
 
1141
- declare const _default$b: React__default.MemoExoticComponent<React__default.ForwardRefExoticComponent<{
1141
+ declare const _default$d: React__default.MemoExoticComponent<React__default.ForwardRefExoticComponent<{
1142
1142
  title: string;
1143
1143
  subTitle?: string | undefined;
1144
1144
  isError?: boolean | undefined;
@@ -1169,7 +1169,7 @@ type FlagProps$1 = {
1169
1169
  dimensions?: number;
1170
1170
  className?: string;
1171
1171
  };
1172
- declare const _default$a: React__default.NamedExoticComponent<FlagProps$1>;
1172
+ declare const _default$c: React__default.NamedExoticComponent<FlagProps$1>;
1173
1173
 
1174
1174
  type SpecialistLangsProps = {
1175
1175
  showLoader?: boolean;
@@ -1209,7 +1209,7 @@ type ProfileInformationProps = {
1209
1209
  reviews: string[];
1210
1210
  };
1211
1211
  } & React__default.HTMLAttributes<HTMLDivElement>;
1212
- declare const _default$9: React__default.NamedExoticComponent<ProfileInformationProps>;
1212
+ declare const _default$b: React__default.NamedExoticComponent<ProfileInformationProps>;
1213
1213
 
1214
1214
  type SpecialistMatchProps = {
1215
1215
  specialistFirstName?: string;
@@ -1221,7 +1221,7 @@ type SpecialistMatchProps = {
1221
1221
  howWeMatchThis: string;
1222
1222
  };
1223
1223
  } & React__default.HTMLAttributes<HTMLDivElement>;
1224
- declare const _default$8: React__default.NamedExoticComponent<SpecialistMatchProps>;
1224
+ declare const _default$a: React__default.NamedExoticComponent<SpecialistMatchProps>;
1225
1225
 
1226
1226
  type SpecialistStatisticProps = {
1227
1227
  learnMoreClick: () => void;
@@ -1241,7 +1241,7 @@ type SpecialistStatisticProps = {
1241
1241
  bookedSession: string;
1242
1242
  };
1243
1243
  } & React__default.HTMLAttributes<HTMLDivElement>;
1244
- declare const _default$7: React__default.NamedExoticComponent<SpecialistStatisticProps>;
1244
+ declare const _default$9: React__default.NamedExoticComponent<SpecialistStatisticProps>;
1245
1245
 
1246
1246
  type RatingWithLabelProps = {
1247
1247
  countOfReviews?: number;
@@ -1421,12 +1421,12 @@ type TypographyProps = {
1421
1421
  className?: string;
1422
1422
  children: React__default.ReactNode;
1423
1423
  };
1424
- declare const _default$6: React__default.NamedExoticComponent<TypographyProps>;
1424
+ declare const _default$8: React__default.NamedExoticComponent<TypographyProps>;
1425
1425
 
1426
1426
  type AppFooterProps = {
1427
1427
  children: React__default.ReactNode;
1428
1428
  };
1429
- declare const _default$5: React__default.NamedExoticComponent<AppFooterProps>;
1429
+ declare const _default$7: React__default.NamedExoticComponent<AppFooterProps>;
1430
1430
 
1431
1431
  type AvatarRoundVariants = 'circle' | 'drop';
1432
1432
 
@@ -1438,14 +1438,14 @@ type AvatarProps = {
1438
1438
  alt?: string;
1439
1439
  showSkeleton?: boolean;
1440
1440
  };
1441
- declare const _default$4: React__default.NamedExoticComponent<AvatarProps>;
1441
+ declare const _default$6: React__default.NamedExoticComponent<AvatarProps>;
1442
1442
 
1443
1443
  type SkeletonProps = {
1444
1444
  animated?: boolean;
1445
1445
  className?: string;
1446
1446
  style?: React__default.CSSProperties;
1447
1447
  };
1448
- declare const _default$3: React__default.NamedExoticComponent<SkeletonProps>;
1448
+ declare const _default$5: React__default.NamedExoticComponent<SkeletonProps>;
1449
1449
 
1450
1450
  type ButtonProps = {
1451
1451
  fill?: 'outline' | 'clear';
@@ -1474,7 +1474,7 @@ type FlagProps = {
1474
1474
  name: string;
1475
1475
  className?: string;
1476
1476
  };
1477
- declare const _default$2: React__default.NamedExoticComponent<FlagProps>;
1477
+ declare const _default$4: React__default.NamedExoticComponent<FlagProps>;
1478
1478
 
1479
1479
  type PictureProps = {
1480
1480
  width: number;
@@ -1489,7 +1489,7 @@ type PictureProps = {
1489
1489
  alt?: string;
1490
1490
  className?: string;
1491
1491
  };
1492
- declare const _default$1: React__default.NamedExoticComponent<PictureProps>;
1492
+ declare const _default$3: React__default.NamedExoticComponent<PictureProps>;
1493
1493
 
1494
1494
  type BadgeType = 'default' | 'accent';
1495
1495
  type BadgeVariants = 'attention' | 'neutral' | 'success' | 'warning' | 'brand' | 'info';
@@ -1499,7 +1499,7 @@ type BadgeProps = React.ComponentPropsWithoutRef<'span'> & {
1499
1499
  type?: BadgeType;
1500
1500
  };
1501
1501
 
1502
- declare const _default: React.NamedExoticComponent<BadgeProps>;
1502
+ declare const _default$2: React.NamedExoticComponent<BadgeProps>;
1503
1503
 
1504
1504
  type AppHeaderProps = {
1505
1505
  fullwidth?: boolean;
@@ -1529,6 +1529,23 @@ type ListBoxProps<T> = AriaListBoxProps<T>;
1529
1529
 
1530
1530
  declare function ListBox<T extends Record<string, unknown>>(props: ListBoxProps<T>): JSX.Element;
1531
1531
 
1532
+ interface TextareaV2Props extends Omit<JSX$1.IonTextarea, 'color' | 'enterkeyhint' | 'inputmode' | 'mode'> {
1533
+ borderTop?: boolean;
1534
+ showCounter?: boolean;
1535
+ className?: string;
1536
+ }
1537
+
1538
+ declare const _default$1: React__default.MemoExoticComponent<React__default.ForwardRefExoticComponent<TextareaV2Props & React__default.RefAttributes<HTMLIonTextareaElement>>>;
1539
+
1540
+ type RatingProps = {
1541
+ initialRating?: number;
1542
+ onChange?: (value: number) => void;
1543
+ onClick?: (value: number) => void;
1544
+ onHover?: (value: number) => void;
1545
+ };
1546
+
1547
+ declare const _default: React__default.NamedExoticComponent<RatingProps>;
1548
+
1532
1549
  declare enum appThemes {
1533
1550
  client = "client",
1534
1551
  specialist = "specialist"
@@ -1584,4 +1601,4 @@ type ChangeLanguageModalProps = JSX$1.IonModal & {
1584
1601
 
1585
1602
  declare function ChangeLanguageModal({ title, onModalClose, onSelect, selected, languages, ...props }: ChangeLanguageModalProps): JSX.Element;
1586
1603
 
1587
- export { AppFooter, _default$5 as AppFooter_v2, AppHeader, AppHeader_v2, ArchivedConsultationCard, Avatar, AvatarProps$1 as AvatarProps, _default$4 as Avatar_v2, _default as Badge, _default$j as BookingScheduleTime, _default$i as BookingSpecialistInfo, Button, Button_v2, CancelSession, ChangeLangModal, ChangeLanguageModal, _default$E as ChatListItem, _default$C as ChatListSkeleton, _default$D as ChatMessage, ChatMessageSkeleton, _default$d as CheckboxList, CheckboxListCategory, CheckboxListItem, CheckboxTypes, ChevronHeader, _default$v as ConsultationCard, ConsultationCardProps, ConsultationCardType, _default$s as ConsultationModal, _default$q as ConsultationSpecialistCard, Container, Container_v2, ContentCard, CountryOfOriginModal, CustomButton, _default$e as CustomCheckbox, CustomRadioButton, _default$f as CustomSelect, _default$g as CustomTextarea, DatePicker, _default$o as DaySlider, DayToRender, _default$k as EducationCard, _default$B as EmptyChatList, EmptyChatMessages, _default$t as EmptyConsultations, EntryNotFound, EntryNotFoundProps, _default$a as Flag, FlagTypes, _default$2 as Flag_v2, FloatingButton, FooterForBooking, FrequentlyAskedQuestions, HorizontalCalendar, HorizontalCalendarProps, ISpecialistReview, IconCheckboxChecked, IconCheckboxUnchecked, IconLanguage, ImageInput, ImageWithFallback, ImpressionEmojiEnum, Input, LanguagesList, _default$I as LetterAvatar, _default$b as LineFileInput, ListBox, ListBoxItem, ListButton, ListItemType, ListOption, ListSelect, ListSelectProps, LouseConnect, _default$F as MediaPlayer, Modal, ModalCalendar, NavigationBar, NoInternetConnection, NotSupportModal, NotesCardText, NotesEditor, PasswordInput, _default$H as PersonDateTimeCard, _default$1 as Picture, _default$9 as ProfileInformation, _default$m as ProfileView, _default$c as ProgressBar, Range, _default$p as ReSchedule, ReScheduleSuccess, Refresher, ReviewCard, ReviewStatistics, ReviewSwiperSection, RoundButton, RowItemType, RowSelect, RowSelectProps, ScrollTabs, SectionHeading, Segment, SegmentColor, SegmentType, _default$G as SelectImpressionEmoji, _default$u as SignUpSessionButton, _default$r as SignUpSessionModal, Skeleton, _default$3 as Skeleton_v2, _default$l as SpecialistAbout, SpecialistCard, _default$z as SpecialistEducationCard, SpecialistLangs, _default$8 as SpecialistMatch, _default$y as SpecialistProfileViewCard, _default$7 as SpecialistStatistic, SpecialistStatisticsCard, SpecialistWorkDirections, Spinner, StarRating, StatisticsScroll, StatusTag, SuccessScreen, SwitchDeviceCard, TabBar, Tag, _default$h as TextInput, _default$A as Textarea, ThemeProvider, ThemeProviderProps, TherapistCard, TherapistInformationComponent, Toast, ToastButton, ToastProps, Toggle, TooltipComponent, _default$6 as Typography, TypographyVariantsEnum, UpdatesCard, UserInfoModal, UsersPsychologistScrollList, _default$w as VideoCallInfo, _default$x as VideoPlayer, _default$n as WorkDirections, YourLocalTimeBlock, appThemes, decOfNum, toast, useDomRef };
1604
+ export { AppFooter, _default$7 as AppFooter_v2, AppHeader, AppHeader_v2, ArchivedConsultationCard, Avatar, AvatarProps$1 as AvatarProps, _default$6 as Avatar_v2, _default$2 as Badge, _default$l as BookingScheduleTime, _default$k as BookingSpecialistInfo, Button, Button_v2, CancelSession, ChangeLangModal, ChangeLanguageModal, _default$G as ChatListItem, _default$E as ChatListSkeleton, _default$F as ChatMessage, ChatMessageSkeleton, _default$f as CheckboxList, CheckboxListCategory, CheckboxListItem, CheckboxTypes, ChevronHeader, _default$x as ConsultationCard, ConsultationCardProps, ConsultationCardType, _default$u as ConsultationModal, _default$s as ConsultationSpecialistCard, Container, Container_v2, ContentCard, CountryOfOriginModal, CustomButton, _default$g as CustomCheckbox, CustomRadioButton, _default$h as CustomSelect, _default$i as CustomTextarea, DatePicker, _default$q as DaySlider, DayToRender, _default$m as EducationCard, _default$D as EmptyChatList, EmptyChatMessages, _default$v as EmptyConsultations, EntryNotFound, EntryNotFoundProps, _default$c as Flag, FlagTypes, _default$4 as Flag_v2, FloatingButton, FooterForBooking, FrequentlyAskedQuestions, HorizontalCalendar, HorizontalCalendarProps, ISpecialistReview, IconCheckboxChecked, IconCheckboxUnchecked, IconLanguage, ImageInput, ImageWithFallback, ImpressionEmojiEnum, Input, LanguagesList, _default$K as LetterAvatar, _default$d as LineFileInput, ListBox, ListBoxItem, ListButton, ListItemType, ListOption, ListSelect, ListSelectProps, LouseConnect, _default$H as MediaPlayer, Modal, ModalCalendar, NavigationBar, NoInternetConnection, NotSupportModal, NotesCardText, NotesEditor, PasswordInput, _default$J as PersonDateTimeCard, _default$3 as Picture, _default$b as ProfileInformation, _default$o as ProfileView, _default$e as ProgressBar, Range, _default as Rating, _default$r as ReSchedule, ReScheduleSuccess, Refresher, ReviewCard, ReviewStatistics, ReviewSwiperSection, RoundButton, RowItemType, RowSelect, RowSelectProps, ScrollTabs, SectionHeading, Segment, SegmentColor, SegmentType, _default$I as SelectImpressionEmoji, _default$w as SignUpSessionButton, _default$t as SignUpSessionModal, Skeleton, _default$5 as Skeleton_v2, _default$n as SpecialistAbout, SpecialistCard, _default$B as SpecialistEducationCard, SpecialistLangs, _default$a as SpecialistMatch, _default$A as SpecialistProfileViewCard, _default$9 as SpecialistStatistic, SpecialistStatisticsCard, SpecialistWorkDirections, Spinner, StarRating, StatisticsScroll, StatusTag, SuccessScreen, SwitchDeviceCard, TabBar, Tag, _default$j as TextInput, _default$C as Textarea, _default$1 as Textarea_v2, ThemeProvider, ThemeProviderProps, TherapistCard, TherapistInformationComponent, Toast, ToastButton, ToastProps, Toggle, TooltipComponent, _default$8 as Typography, TypographyVariantsEnum, UpdatesCard, UserInfoModal, UsersPsychologistScrollList, _default$y as VideoCallInfo, _default$z as VideoPlayer, _default$p as WorkDirections, YourLocalTimeBlock, appThemes, decOfNum, toast, useDomRef };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mindly/ui-components",
3
- "version": "4.3.6",
3
+ "version": "4.4.0",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "clean": "rimraf dist",
@@ -43,4 +43,10 @@ export default {
43
43
  borders: {
44
44
  divider: 'rgb(var(--borders-divider) / 0.1)',
45
45
  },
46
+ controls: {
47
+ element: {
48
+ unselected: 'rgb(var(--controls-element-unselected) / 0.3)',
49
+ selected: 'rgb(var(--controls-element-selected) / <alpha-value>)',
50
+ },
51
+ },
46
52
  };
@@ -33,6 +33,9 @@
33
33
  --badges-info-main: 9 116 255;
34
34
  --badges-info-bg: 229 241 255;
35
35
  /* badge variables end */
36
+
37
+ --controls-element-unselected: 33 33 33;
38
+ --controls-element-selected: 33 33 33;
36
39
  }
37
40
 
38
41
  :root[data-app-theme="specialist"] {
@@ -7,6 +7,7 @@
7
7
 
8
8
  --field-field-hint: rgba(33, 33, 33, 0.35);
9
9
  --field-field-bg: rgba(33, 33, 33, 0.35);
10
+ --field-field-focus: rgba(33, 33, 33, 1);
10
11
 
11
12
  --borders-divider: rgba(33, 33, 33, 0.1);
12
13
  }