@mindly/ui-components 5.2.1 → 5.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.
- package/dist/cjs/index.js +4 -4
- package/dist/cjs/lib2/shared/assets/icons/IconApple.d.ts +3 -0
- package/dist/cjs/lib2/shared/assets/icons/IconGoogle.d.ts +3 -0
- package/dist/cjs/lib2/shared/assets/icons/IconLetter.d.ts +3 -0
- package/dist/cjs/lib2/shared/assets/icons/index.d.ts +4 -1
- package/dist/cjs/lib2/shared/ui/Button_v2/Button_v2.d.ts +2 -0
- package/dist/cjs/lib2/shared/ui/IconButton/IconButton.d.ts +2 -1
- package/dist/esm/index.js +5 -5
- package/dist/esm/lib2/shared/assets/icons/IconApple.d.ts +3 -0
- package/dist/esm/lib2/shared/assets/icons/IconGoogle.d.ts +3 -0
- package/dist/esm/lib2/shared/assets/icons/IconLetter.d.ts +3 -0
- package/dist/esm/lib2/shared/assets/icons/index.d.ts +4 -1
- package/dist/esm/lib2/shared/ui/Button_v2/Button_v2.d.ts +2 -0
- package/dist/esm/lib2/shared/ui/IconButton/IconButton.d.ts +2 -1
- package/dist/index.d.ts +11 -2
- package/package.json +4 -2
|
@@ -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
|
|
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';
|
|
@@ -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;
|
|
@@ -2,7 +2,8 @@ import React from 'react';
|
|
|
2
2
|
type IconButtonProps = {
|
|
3
3
|
icon: JSX.Element;
|
|
4
4
|
className?: string;
|
|
5
|
-
|
|
5
|
+
routerLink?: string;
|
|
6
|
+
onClick?: (e: React.MouseEvent<HTMLIonButtonElement>) => void;
|
|
6
7
|
};
|
|
7
8
|
declare const _default: React.NamedExoticComponent<IconButtonProps>;
|
|
8
9
|
export default _default;
|
package/dist/index.d.ts
CHANGED
|
@@ -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
|
|
|
@@ -1587,7 +1589,8 @@ declare const _default$2: React__default.NamedExoticComponent<RatingProps>;
|
|
|
1587
1589
|
type IconButtonProps = {
|
|
1588
1590
|
icon: JSX.Element;
|
|
1589
1591
|
className?: string;
|
|
1590
|
-
|
|
1592
|
+
routerLink?: string;
|
|
1593
|
+
onClick?: (e: React__default.MouseEvent<HTMLIonButtonElement>) => void;
|
|
1591
1594
|
};
|
|
1592
1595
|
declare const _default$1: React__default.NamedExoticComponent<IconButtonProps>;
|
|
1593
1596
|
|
|
@@ -1778,6 +1781,12 @@ interface IconProps extends React.SVGAttributes<SVGElement> {
|
|
|
1778
1781
|
}
|
|
1779
1782
|
declare function IconVisible({ color, size, ...other }: IconProps): JSX.Element;
|
|
1780
1783
|
|
|
1784
|
+
declare const IconApple: FC<React.SVGAttributes<SVGElement>>;
|
|
1785
|
+
|
|
1786
|
+
declare const IconGoogle: FC<React.SVGAttributes<SVGElement>>;
|
|
1787
|
+
|
|
1788
|
+
declare const IconLetter: FC<React.SVGAttributes<SVGElement>>;
|
|
1789
|
+
|
|
1781
1790
|
type CountryOfOriginModalProps = {
|
|
1782
1791
|
countries: string[];
|
|
1783
1792
|
onSearchChange: (event: IonSearchbarCustomEvent<SearchbarChangeEventDetail>) => void;
|
|
@@ -1829,4 +1838,4 @@ type SlotsGridProps = {
|
|
|
1829
1838
|
|
|
1830
1839
|
declare const _default: React__default.NamedExoticComponent<SlotsGridProps>;
|
|
1831
1840
|
|
|
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 };
|
|
1841
|
+
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.
|
|
3
|
+
"version": "5.4.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": "^
|
|
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",
|