@mindly/ui-components 5.33.0 → 5.33.2

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,5 +1,4 @@
1
- import { SearchbarChangeEventDetail } from '@ionic/core';
2
- import { IonSearchbarCustomEvent } from '@ionic/core/dist/types/components';
1
+ import { SearchbarChangeEventDetail, IonSearchbarCustomEvent } from '@ionic/core';
3
2
  export type FieldSearchType = {
4
3
  className?: string;
5
4
  onCancelClick: () => void;
@@ -7,4 +6,5 @@ export type FieldSearchType = {
7
6
  value: string;
8
7
  debounce?: number;
9
8
  placeholder?: string;
9
+ hideButton?: boolean;
10
10
  };
@@ -4,6 +4,7 @@ interface ScreenInputProps extends InputHTMLAttributes<HTMLInputElement> {
4
4
  type?: 'text' | 'email' | 'password' | 'number';
5
5
  showPasswordButton?: boolean;
6
6
  className?: string;
7
+ label?: string;
7
8
  }
8
9
  declare const ScreenInput: React.ForwardRefExoticComponent<ScreenInputProps & React.RefAttributes<HTMLInputElement>>;
9
10
  export default ScreenInput;
@@ -26,3 +26,4 @@ export * from './ListItems';
26
26
  export * from './Video';
27
27
  export * from './ListSimple';
28
28
  export * from './CheckBoxItem';
29
+ export * from './InputSearch';
package/dist/index.d.ts CHANGED
@@ -4,14 +4,14 @@ 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';
6
6
  import * as _ionic_core_dist_types_components from '@ionic/core/dist/types/components';
7
- import { IonContentCustomEvent, IonSearchbarCustomEvent } from '@ionic/core/dist/types/components';
7
+ import { IonContentCustomEvent, IonSearchbarCustomEvent as IonSearchbarCustomEvent$1 } from '@ionic/core/dist/types/components';
8
8
  import { Node, ListState, ItemProps as ItemProps$1, SelectionBehavior, SelectionMode } from 'react-stately';
9
9
  import { AriaListBoxProps, AriaCalendarProps, DateValue } from 'react-aria';
10
10
  import * as react_i18next from 'react-i18next';
11
11
  import { WithTranslation } from 'react-i18next';
12
12
  import { ToastStateProps, ToastState } from '@react-stately/toast';
13
13
  import { AriaToastRegionProps } from '@react-aria/toast';
14
- import { SearchbarChangeEventDetail } from '@ionic/core';
14
+ import { IonSearchbarCustomEvent, SearchbarChangeEventDetail } from '@ionic/core';
15
15
 
16
16
  interface ButtonProps$2 {
17
17
  buttonType: 'primary' | 'secondary' | 'actionButton' | 'actionButtonDisabled' | 'secondaryWithStroke' | 'secondaryCancel' | 'actionButtonActive' | 'actionButtonGreen';
@@ -1702,6 +1702,7 @@ interface ScreenInputProps extends InputHTMLAttributes<HTMLInputElement> {
1702
1702
  type?: 'text' | 'email' | 'password' | 'number';
1703
1703
  showPasswordButton?: boolean;
1704
1704
  className?: string;
1705
+ label?: string;
1705
1706
  }
1706
1707
  declare const ScreenInput: React__default.ForwardRefExoticComponent<ScreenInputProps & React__default.RefAttributes<HTMLInputElement>>;
1707
1708
 
@@ -1770,6 +1771,18 @@ type Props$3 = {
1770
1771
  };
1771
1772
  declare const CheckBoxItem: React__default.ForwardRefExoticComponent<Props$3 & React__default.RefAttributes<HTMLInputElement>>;
1772
1773
 
1774
+ type FieldSearchType = {
1775
+ className?: string;
1776
+ onCancelClick: () => void;
1777
+ onIonChange: (event: IonSearchbarCustomEvent<SearchbarChangeEventDetail>) => void;
1778
+ value: string;
1779
+ debounce?: number;
1780
+ placeholder?: string;
1781
+ hideButton?: boolean;
1782
+ };
1783
+
1784
+ declare const InputSearch: React.FC<FieldSearchType & WithTranslation['t']>;
1785
+
1773
1786
  declare enum appThemes {
1774
1787
  client = "client",
1775
1788
  specialist = "specialist"
@@ -2091,7 +2104,7 @@ declare const mergeRefs: <T extends unknown>(...refs: AnyRef[]) => React__defaul
2091
2104
 
2092
2105
  type CountryOfOriginModalProps = {
2093
2106
  countries: string[];
2094
- onSearchChange: (event: IonSearchbarCustomEvent<SearchbarChangeEventDetail>) => void;
2107
+ onSearchChange: (event: IonSearchbarCustomEvent$1<SearchbarChangeEventDetail>) => void;
2095
2108
  searchValue: string;
2096
2109
  searchPlaceholder?: string;
2097
2110
  onItemClick: (clickedItem: string) => void;
@@ -2273,4 +2286,4 @@ type SpecialistCardListWidgetProps = {
2273
2286
  };
2274
2287
  declare const SpecialistCardListWidget: FC<SpecialistCardListWidgetProps & WithTranslation['t']>;
2275
2288
 
2276
- export { AppFooter, _default$g as AppFooter_v2, AppHeader, AppHeader_v2, ArchivedConsultationCard, Avatar, AvatarProps$1 as AvatarProps, _default$f as Avatar_v2, BREAKPOINT_ICON_SIZE, _default$b as Badge, _default$u as BookingScheduleTime, _default$t as BookingSpecialistInfo, Button, Button_v2, Calendar, CancelSession, CardModal, ChangeLangModal, ChangeLanguageModal, _default$P as ChatListItem, _default$N as ChatListSkeleton, _default$O as ChatMessage, ChatMessageSkeleton, CheckBoxItem, CheckBoxListFeature, CheckBoxSectionListFeature, _default$o as CheckboxList, CheckboxListCategory, CheckboxListItem, CheckboxTypes, ChevronHeader, CircleRatingContext, CircleRatingProvider, _default$G as ConsultationCard, ConsultationCardProps, ConsultationCardType, _default$D as ConsultationModal, _default$B as ConsultationSpecialistCard, Container, Container_v2, ContentCard, CountdownTimerFeature, CountryOfOriginModal, CustomButton, _default$p as CustomCheckbox, CustomRadioButton, _default$q as CustomSelect, _default$r as CustomTextarea, DatePicker, _default$z as DaySlider, DayToRender, _default$v as EducationCard, _default$M as EmptyChatList, EmptyChatMessages, _default$E as EmptyConsultations, EntryNotFound, EntryNotFoundProps, _default$l as Flag, FlagTypes, _default$d as Flag_v2, FloatingButton, FooterForBooking, FrequentlyAskedQuestions, HorizontalCalendar, HorizontalCalendarProps, ISpecialistReview, IconApple, IconArrowDown, IconArrowLeft, IconArrowRight, IconBeachAccess, IconBookmark, IconBookmarkOutlined, _default$7 as IconButton, IconCalendar, IconCalendarFilled, IconCalendarMonth, IconCancel, IconCancelRounded, IconCapFilled, IconChat3d, IconChatFilled, IconChatOutline, IconCheck, IconCheckSmall, IconCheckboxChecked, IconCheckboxUnchecked, IconClient, IconClientFilled, IconClose, IconCreditCard, IconEditCalendar, IconEye, IconEyeOff, IconGift, IconGoogle, IconInvisible, IconLanguage, IconLeftArrow, IconLetter, IconLink, IconLogout, IconMute, IconNotificationMuted, IconPaid, IconPaper, IconPause, IconPlus, IconProfileChecked, IconProfileCircle, IconProfileSetting, IconProfileUnderReview, IconQuestion, IconRadioButtonChecked, IconResume, IconSearch, IconSettings, IconShare, IconSpinner, IconStar, IconStarFilled, IconSuccess, IconTime, IconUnmute, IconUserNotFound, IconVerifiedUser, IconVisible, IconWarning, ImageInput, ImageWithFallback, ImpressionEmojiEnum, Input, _default$3 as Item, _default$a as ItemCard, LanguagesList, _default$T as LetterAvatar, _default$m as LineFileInput, ListBox, ListBoxItem, ListButton, ListItemType, _default$4 as ListItems, ListOption, ListSelect, ListSelectProps, ListSimple, _default$5 as Loading, LouseConnect, _default$Q as MediaPlayer, MobilePickerFeature, Modal, ModalCalendar, ModalSheet, NavigationBar, NoInternetConnection, NotSupportModal, NotesCardText, NotesEditor, PasswordInput, _default$S as PersonDateTimeCard, _default$c as Picture, _default$k as ProfileInformation, _default$x as ProfileView, _default$n as ProgressBar, _default$6 as ProgressBar_v2, PushNotificationsIsDisabledBanner, PushNotificationsModal, Range, _default$8 as Rating, RatingCircleWrapper, _default$A as ReSchedule, ReScheduleSuccess, Refresher, ReviewCard, ReviewStatistics, ReviewSwiperSection, RoundButton, RowItemType, RowSelect, RowSelectProps, SIZES, ScreenInput, ScrollTabs, SectionHeading, Segment, SegmentColor, SegmentType, _default$R as SelectImpressionEmoji, SelectItemType, ShareModalFeature, _default$F as SignUpSessionButton, _default$C as SignUpSessionModal, Skeleton, _default$e as Skeleton_v2, _default$1 as SlotsGrid, _default$w as SpecialistAbout, SpecialistCard$1 as SpecialistCard, SpecialistCardListWidget, _default as SpecialistCardWidget, _default$K as SpecialistEducationCard, SpecialistInfoColumnFeature as SpecialistInfoColumn, SpecialistLangs, _default$j as SpecialistMatch, _default$J as SpecialistProfileViewCard, SpecialistShortInfoItemFeature as SpecialistShortInfoItem, _default$i as SpecialistStatistic, SpecialistStatisticsCard, SpecialistWorkDirections, Spinner, Spinner_v2, StarRating, StatisticsScroll, StatusTag, SuccessScreen, SwitchDeviceCard, TabBar, Tag, _default$s as TextInput, _default$L as Textarea, _default$9 as Textarea_v2, ThemeProvider, ThemeProviderProps, TherapistCard, TherapistInformationComponent, Toast, ToastButton, ToastContext, ToastProps, ToastProvider, ToastRegion, Toggle, TooltipComponent, _default$h as Typography, TypographyVariantsEnum, UpdatesCard, UserInfoModal, UsersPsychologistScrollList, VerticalCalendar, VerticalCalendarMonthSkeleton, VerticalCalendarSkeleton, _default$2 as Video, _default$H as VideoCallInfo, _default$I as VideoPlayer, _default$y as WorkDirections, YourLocalTimeBlock, appThemes, decOfNum, getProgressForBreakPoint, mergeRefs, toast, useAutoFocus, useBreakPointsPosition, useCircleRatingRenderData, useDomRef, useEvent, useRangeIndex, useRatingCircleBreakPoints, useRatingCircleContentValue, useRatingCircleLegend, useRatingContext, useToastContext };
2289
+ export { AppFooter, _default$g as AppFooter_v2, AppHeader, AppHeader_v2, ArchivedConsultationCard, Avatar, AvatarProps$1 as AvatarProps, _default$f as Avatar_v2, BREAKPOINT_ICON_SIZE, _default$b as Badge, _default$u as BookingScheduleTime, _default$t as BookingSpecialistInfo, Button, Button_v2, Calendar, CancelSession, CardModal, ChangeLangModal, ChangeLanguageModal, _default$P as ChatListItem, _default$N as ChatListSkeleton, _default$O as ChatMessage, ChatMessageSkeleton, CheckBoxItem, CheckBoxListFeature, CheckBoxSectionListFeature, _default$o as CheckboxList, CheckboxListCategory, CheckboxListItem, CheckboxTypes, ChevronHeader, CircleRatingContext, CircleRatingProvider, _default$G as ConsultationCard, ConsultationCardProps, ConsultationCardType, _default$D as ConsultationModal, _default$B as ConsultationSpecialistCard, Container, Container_v2, ContentCard, CountdownTimerFeature, CountryOfOriginModal, CustomButton, _default$p as CustomCheckbox, CustomRadioButton, _default$q as CustomSelect, _default$r as CustomTextarea, DatePicker, _default$z as DaySlider, DayToRender, _default$v as EducationCard, _default$M as EmptyChatList, EmptyChatMessages, _default$E as EmptyConsultations, EntryNotFound, EntryNotFoundProps, _default$l as Flag, FlagTypes, _default$d as Flag_v2, FloatingButton, FooterForBooking, FrequentlyAskedQuestions, HorizontalCalendar, HorizontalCalendarProps, ISpecialistReview, IconApple, IconArrowDown, IconArrowLeft, IconArrowRight, IconBeachAccess, IconBookmark, IconBookmarkOutlined, _default$7 as IconButton, IconCalendar, IconCalendarFilled, IconCalendarMonth, IconCancel, IconCancelRounded, IconCapFilled, IconChat3d, IconChatFilled, IconChatOutline, IconCheck, IconCheckSmall, IconCheckboxChecked, IconCheckboxUnchecked, IconClient, IconClientFilled, IconClose, IconCreditCard, IconEditCalendar, IconEye, IconEyeOff, IconGift, IconGoogle, IconInvisible, IconLanguage, IconLeftArrow, IconLetter, IconLink, IconLogout, IconMute, IconNotificationMuted, IconPaid, IconPaper, IconPause, IconPlus, IconProfileChecked, IconProfileCircle, IconProfileSetting, IconProfileUnderReview, IconQuestion, IconRadioButtonChecked, IconResume, IconSearch, IconSettings, IconShare, IconSpinner, IconStar, IconStarFilled, IconSuccess, IconTime, IconUnmute, IconUserNotFound, IconVerifiedUser, IconVisible, IconWarning, ImageInput, ImageWithFallback, ImpressionEmojiEnum, Input, InputSearch, _default$3 as Item, _default$a as ItemCard, LanguagesList, _default$T as LetterAvatar, _default$m as LineFileInput, ListBox, ListBoxItem, ListButton, ListItemType, _default$4 as ListItems, ListOption, ListSelect, ListSelectProps, ListSimple, _default$5 as Loading, LouseConnect, _default$Q as MediaPlayer, MobilePickerFeature, Modal, ModalCalendar, ModalSheet, NavigationBar, NoInternetConnection, NotSupportModal, NotesCardText, NotesEditor, PasswordInput, _default$S as PersonDateTimeCard, _default$c as Picture, _default$k as ProfileInformation, _default$x as ProfileView, _default$n as ProgressBar, _default$6 as ProgressBar_v2, PushNotificationsIsDisabledBanner, PushNotificationsModal, Range, _default$8 as Rating, RatingCircleWrapper, _default$A as ReSchedule, ReScheduleSuccess, Refresher, ReviewCard, ReviewStatistics, ReviewSwiperSection, RoundButton, RowItemType, RowSelect, RowSelectProps, SIZES, ScreenInput, ScrollTabs, SectionHeading, Segment, SegmentColor, SegmentType, _default$R as SelectImpressionEmoji, SelectItemType, ShareModalFeature, _default$F as SignUpSessionButton, _default$C as SignUpSessionModal, Skeleton, _default$e as Skeleton_v2, _default$1 as SlotsGrid, _default$w as SpecialistAbout, SpecialistCard$1 as SpecialistCard, SpecialistCardListWidget, _default as SpecialistCardWidget, _default$K as SpecialistEducationCard, SpecialistInfoColumnFeature as SpecialistInfoColumn, SpecialistLangs, _default$j as SpecialistMatch, _default$J as SpecialistProfileViewCard, SpecialistShortInfoItemFeature as SpecialistShortInfoItem, _default$i as SpecialistStatistic, SpecialistStatisticsCard, SpecialistWorkDirections, Spinner, Spinner_v2, StarRating, StatisticsScroll, StatusTag, SuccessScreen, SwitchDeviceCard, TabBar, Tag, _default$s as TextInput, _default$L as Textarea, _default$9 as Textarea_v2, ThemeProvider, ThemeProviderProps, TherapistCard, TherapistInformationComponent, Toast, ToastButton, ToastContext, ToastProps, ToastProvider, ToastRegion, Toggle, TooltipComponent, _default$h as Typography, TypographyVariantsEnum, UpdatesCard, UserInfoModal, UsersPsychologistScrollList, VerticalCalendar, VerticalCalendarMonthSkeleton, VerticalCalendarSkeleton, _default$2 as Video, _default$H as VideoCallInfo, _default$I as VideoPlayer, _default$y as WorkDirections, YourLocalTimeBlock, appThemes, decOfNum, getProgressForBreakPoint, mergeRefs, toast, useAutoFocus, useBreakPointsPosition, useCircleRatingRenderData, useDomRef, useEvent, useRangeIndex, useRatingCircleBreakPoints, useRatingCircleContentValue, useRatingCircleLegend, useRatingContext, useToastContext };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mindly/ui-components",
3
- "version": "5.33.0",
3
+ "version": "5.33.2",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "clean": "rimraf dist",
@@ -40,13 +40,13 @@
40
40
  "tailwind-variants": "^0.1.14"
41
41
  },
42
42
  "peerDependencies": {
43
+ "react": "^17.0.2",
43
44
  "@babel/polyfill": "^7.12.1",
44
45
  "@fontsource/inter": "^5.0.8",
45
46
  "@fontsource/inter-tight": "^5.0.12",
46
47
  "@ionic/react": "^6.1.11",
47
48
  "@ionic/react-router": "^6.1.11",
48
49
  "luxon": "^2.4.0",
49
- "react": "^17.0.2",
50
50
  "react-dom": "^17.0.2",
51
51
  "styled-components": "^5.3.1"
52
52
  },