@mindly/ui-components 5.2.0 → 5.3.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 * as React from 'react';
2
+ import { FC } from 'react';
3
+ export declare const IconApple: FC<React.SVGAttributes<SVGElement>>;
@@ -0,0 +1,3 @@
1
+ import * as React from 'react';
2
+ import { FC } from 'react';
3
+ export declare const IconGoogle: FC<React.SVGAttributes<SVGElement>>;
@@ -0,0 +1,3 @@
1
+ import * as React from 'react';
2
+ import { FC } from 'react';
3
+ export declare const IconLetter: FC<React.SVGAttributes<SVGElement>>;
@@ -19,10 +19,13 @@ export * from './IconProfileCircle';
19
19
  export * from './IconProfileSetting';
20
20
  export * from './IconProfileUnderReview';
21
21
  export * from './IconResume';
22
- export * from "./IconSettings";
22
+ export * from './IconSettings';
23
23
  export * from './IconStar';
24
24
  export * from './IconStarFilled';
25
25
  export * from './IconSuccess';
26
26
  export * from './IconTime';
27
27
  export * from './IconVerifiedUser';
28
28
  export * from './IconVisible';
29
+ export * from './IconApple';
30
+ export * from './IconGoogle';
31
+ export * from './IconLetter';
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  type AppFooterProps = {
3
- children: React.ReactNode;
3
+ children?: React.ReactNode;
4
4
  transparent?: boolean;
5
5
  bottomSaveArea?: boolean;
6
6
  };
@@ -9,6 +9,8 @@ type ButtonProps = {
9
9
  routerLink?: string;
10
10
  onClick?: (e: React.MouseEvent<HTMLIonButtonElement>) => void;
11
11
  isLoading?: boolean;
12
+ icon?: React.ReactNode;
13
+ iconPosition?: 'start' | 'center';
12
14
  } & JSX.IonButton;
13
15
  declare const Button_v2: FC<ButtonProps>;
14
16
  export default Button_v2;
package/dist/index.d.ts CHANGED
@@ -1426,7 +1426,7 @@ type TypographyProps = {
1426
1426
  declare const _default$a: React__default.NamedExoticComponent<TypographyProps>;
1427
1427
 
1428
1428
  type AppFooterProps = {
1429
- children: React__default.ReactNode;
1429
+ children?: React__default.ReactNode;
1430
1430
  transparent?: boolean;
1431
1431
  bottomSaveArea?: boolean;
1432
1432
  };
@@ -1460,6 +1460,8 @@ type ButtonProps = {
1460
1460
  routerLink?: string;
1461
1461
  onClick?: (e: React__default.MouseEvent<HTMLIonButtonElement>) => void;
1462
1462
  isLoading?: boolean;
1463
+ icon?: React__default.ReactNode;
1464
+ iconPosition?: 'start' | 'center';
1463
1465
  } & JSX$1.IonButton;
1464
1466
  declare const Button_v2: FC<ButtonProps>;
1465
1467
 
@@ -1778,6 +1780,12 @@ interface IconProps extends React.SVGAttributes<SVGElement> {
1778
1780
  }
1779
1781
  declare function IconVisible({ color, size, ...other }: IconProps): JSX.Element;
1780
1782
 
1783
+ declare const IconApple: FC<React.SVGAttributes<SVGElement>>;
1784
+
1785
+ declare const IconGoogle: FC<React.SVGAttributes<SVGElement>>;
1786
+
1787
+ declare const IconLetter: FC<React.SVGAttributes<SVGElement>>;
1788
+
1781
1789
  type CountryOfOriginModalProps = {
1782
1790
  countries: string[];
1783
1791
  onSearchChange: (event: IonSearchbarCustomEvent<SearchbarChangeEventDetail>) => void;
@@ -1829,4 +1837,4 @@ type SlotsGridProps = {
1829
1837
 
1830
1838
  declare const _default: React__default.NamedExoticComponent<SlotsGridProps>;
1831
1839
 
1832
- 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, IconArrowLeft, IconArrowRight, IconBeachAccess, _default$1 as IconButton, IconCalendar, IconCalendarMonth, IconChatOutline, IconCheckboxChecked, IconCheckboxUnchecked, IconClose, IconEditCalendar, IconInvisible, IconLanguage, IconLeftArrow, IconLogout, IconPause, IconPlus, IconProfileChecked, IconProfileCircle, IconProfileSetting, IconProfileUnderReview, IconResume, IconSettings, 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, 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, Range, _default$2 as Rating, _default$t as ReSchedule, ReScheduleSuccess, Refresher, ReviewCard, ReviewStatistics, ReviewSwiperSection, RoundButton, RowItemType, RowSelect, RowSelectProps, 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, 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, toast, useAutoFocus, useDomRef, useEvent, useIsKeyBoardShown, useToastContext };
1840
+ 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, IconChatOutline, IconCheckboxChecked, IconCheckboxUnchecked, IconClose, IconEditCalendar, IconGoogle, IconInvisible, IconLanguage, IconLeftArrow, IconLetter, IconLogout, IconPause, IconPlus, IconProfileChecked, IconProfileCircle, IconProfileSetting, IconProfileUnderReview, IconResume, IconSettings, 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, 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, Range, _default$2 as Rating, _default$t as ReSchedule, ReScheduleSuccess, Refresher, ReviewCard, ReviewStatistics, ReviewSwiperSection, RoundButton, RowItemType, RowSelect, RowSelectProps, 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, 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, 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.2.0",
3
+ "version": "5.3.0",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "clean": "rimraf dist",
@@ -41,6 +41,7 @@
41
41
  },
42
42
  "peerDependencies": {
43
43
  "@babel/polyfill": "^7.12.1",
44
+ "@capacitor/core": "4.6.1",
44
45
  "@fontsource/inter": "^5.0.8",
45
46
  "@fontsource/inter-tight": "^5.0.12",
46
47
  "@ionic/react": "^6.1.11",
@@ -112,6 +113,7 @@
112
113
  "@types/react": "^17.0.27",
113
114
  "@types/react-dom": "^17.0.9",
114
115
  "@types/styled-components": "^5.1.13",
116
+ "@typescript-eslint/eslint-plugin": "^4.33.0",
115
117
  "@typescript-eslint/parser": "^4.30.0",
116
118
  "autoprefixer": "^10.4.15",
117
119
  "babel-cli": "^6.26.0",
@@ -120,7 +122,7 @@
120
122
  "eslint-config-google": "^0.14.0",
121
123
  "eslint-plugin-storybook": "^0.6.13",
122
124
  "postcss": "^8.4.29",
123
- "react-scripts": "^4.0.3",
125
+ "react-scripts": "^5.0.1",
124
126
  "rimraf": "^3.0.2",
125
127
  "rollup": "^2.58.0",
126
128
  "rollup-plugin-dts": "^4.0.0",
@@ -20,6 +20,7 @@ export default {
20
20
  },
21
21
  blue: 'rgba(var(--color-info-blue) / <alpha-value>)',
22
22
  },
23
+ white: '#ffffff',
23
24
  },
24
25
  typography: {
25
26
  typography: {