@mindly/ui-components 5.3.0 → 5.5.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 +2 -2
- package/dist/cjs/lib2/shared/index.d.ts +1 -0
- package/dist/cjs/lib2/shared/ui/IconButton/IconButton.d.ts +2 -1
- package/dist/cjs/lib2/shared/ui/ScreenInput/ScreenInput.d.ts +8 -0
- package/dist/cjs/lib2/shared/ui/ScreenInput/index.d.ts +1 -0
- package/dist/cjs/lib2/shared/ui/index.d.ts +1 -0
- package/dist/cjs/lib2/shared/utils/index.d.ts +1 -0
- package/dist/cjs/lib2/shared/utils/mergeRefs.d.ts +4 -0
- package/dist/esm/index.js +4 -4
- package/dist/esm/lib2/shared/index.d.ts +1 -0
- package/dist/esm/lib2/shared/ui/IconButton/IconButton.d.ts +2 -1
- package/dist/esm/lib2/shared/ui/ScreenInput/ScreenInput.d.ts +8 -0
- package/dist/esm/lib2/shared/ui/ScreenInput/index.d.ts +1 -0
- package/dist/esm/lib2/shared/ui/index.d.ts +1 -0
- package/dist/esm/lib2/shared/utils/index.d.ts +1 -0
- package/dist/esm/lib2/shared/utils/mergeRefs.d.ts +4 -0
- package/dist/index.d.ts +14 -3
- package/package.json +1 -1
|
@@ -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;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React, { InputHTMLAttributes } from 'react';
|
|
2
|
+
interface ScreenInputProps extends InputHTMLAttributes<HTMLInputElement> {
|
|
3
|
+
variant?: 'default' | 'large';
|
|
4
|
+
type?: 'text' | 'email' | 'password' | 'number';
|
|
5
|
+
className?: string;
|
|
6
|
+
}
|
|
7
|
+
declare const ScreenInput: React.ForwardRefExoticComponent<ScreenInputProps & React.RefAttributes<HTMLInputElement>>;
|
|
8
|
+
export default ScreenInput;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as ScreenInput } from './ScreenInput';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { mergeRefs } from './mergeRefs';
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import React__default, { ReactNode, CSSProperties, HTMLAttributes, RefAttributes, FC, ReactText, ReactElement, ChangeEvent } from 'react';
|
|
2
|
+
import React__default, { ReactNode, CSSProperties, HTMLAttributes, RefAttributes, FC, ReactText, ReactElement, ChangeEvent, InputHTMLAttributes } from 'react';
|
|
3
3
|
import { JSX as JSX$1 } from '@ionic/core/components';
|
|
4
4
|
import { RatingComponentProps } from 'react-rating';
|
|
5
5
|
import { RefresherEventDetail, ScrollDetail, ScrollBaseDetail } from '@ionic/react';
|
|
@@ -1589,7 +1589,8 @@ declare const _default$2: React__default.NamedExoticComponent<RatingProps>;
|
|
|
1589
1589
|
type IconButtonProps = {
|
|
1590
1590
|
icon: JSX.Element;
|
|
1591
1591
|
className?: string;
|
|
1592
|
-
|
|
1592
|
+
routerLink?: string;
|
|
1593
|
+
onClick?: (e: React__default.MouseEvent<HTMLIonButtonElement>) => void;
|
|
1593
1594
|
};
|
|
1594
1595
|
declare const _default$1: React__default.NamedExoticComponent<IconButtonProps>;
|
|
1595
1596
|
|
|
@@ -1604,6 +1605,13 @@ interface ToastRegionProps<T> extends AriaToastRegionProps {
|
|
|
1604
1605
|
|
|
1605
1606
|
declare function ToastRegion<T extends React.ReactNode>({ state, ...props }: ToastRegionProps<T>): JSX.Element;
|
|
1606
1607
|
|
|
1608
|
+
interface ScreenInputProps extends InputHTMLAttributes<HTMLInputElement> {
|
|
1609
|
+
variant?: 'default' | 'large';
|
|
1610
|
+
type?: 'text' | 'email' | 'password' | 'number';
|
|
1611
|
+
className?: string;
|
|
1612
|
+
}
|
|
1613
|
+
declare const ScreenInput: React__default.ForwardRefExoticComponent<ScreenInputProps & React__default.RefAttributes<HTMLInputElement>>;
|
|
1614
|
+
|
|
1607
1615
|
declare enum appThemes {
|
|
1608
1616
|
client = "client",
|
|
1609
1617
|
specialist = "specialist"
|
|
@@ -1786,6 +1794,9 @@ declare const IconGoogle: FC<React.SVGAttributes<SVGElement>>;
|
|
|
1786
1794
|
|
|
1787
1795
|
declare const IconLetter: FC<React.SVGAttributes<SVGElement>>;
|
|
1788
1796
|
|
|
1797
|
+
type AnyRef = React__default.Ref<any>;
|
|
1798
|
+
declare const mergeRefs: <T extends unknown>(...refs: AnyRef[]) => React__default.Ref<T>;
|
|
1799
|
+
|
|
1789
1800
|
type CountryOfOriginModalProps = {
|
|
1790
1801
|
countries: string[];
|
|
1791
1802
|
onSearchChange: (event: IonSearchbarCustomEvent<SearchbarChangeEventDetail>) => void;
|
|
@@ -1837,4 +1848,4 @@ type SlotsGridProps = {
|
|
|
1837
1848
|
|
|
1838
1849
|
declare const _default: React__default.NamedExoticComponent<SlotsGridProps>;
|
|
1839
1850
|
|
|
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 };
|
|
1851
|
+
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, ScreenInput, 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, mergeRefs, toast, useAutoFocus, useDomRef, useEvent, useIsKeyBoardShown, useToastContext };
|