@mindly/ui-components 4.9.3 → 4.9.6

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.
@@ -1,2 +1,4 @@
1
1
  export * from './use-dom-ref';
2
2
  export * from './use-event';
3
+ export * from './useAutoFocus';
4
+ export * from './useIsKeyboardShown';
@@ -0,0 +1,4 @@
1
+ import * as React from 'react';
2
+ type InputRefType = HTMLIonInputElement | HTMLIonTextareaElement;
3
+ export declare function useAutoFocus<T extends InputRefType>(): React.RefObject<T>;
4
+ export {};
@@ -0,0 +1 @@
1
+ export declare function useIsKeyBoardShown(): boolean;
package/dist/index.d.ts CHANGED
@@ -1607,6 +1607,11 @@ type AnyFunction = (...args: any[]) => any;
1607
1607
  */
1608
1608
  declare function useEvent<TCallback extends AnyFunction>(callback: TCallback): TCallback;
1609
1609
 
1610
+ type InputRefType = HTMLIonInputElement | HTMLIonTextareaElement;
1611
+ declare function useAutoFocus<T extends InputRefType>(): React.RefObject<T>;
1612
+
1613
+ declare function useIsKeyBoardShown(): boolean;
1614
+
1610
1615
  interface IconProps$l extends React.SVGAttributes<SVGElement> {
1611
1616
  size?: number | string;
1612
1617
  color?: string;
@@ -1803,4 +1808,4 @@ type SlotsGridProps = {
1803
1808
 
1804
1809
  declare const _default: React__default.NamedExoticComponent<SlotsGridProps>;
1805
1810
 
1806
- 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, ToastProps, 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, useDomRef, useEvent };
1811
+ 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, ToastProps, 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 };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mindly/ui-components",
3
- "version": "4.9.3",
3
+ "version": "4.9.6",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "clean": "rimraf dist",