@mindly/ui-components 5.87.1 → 5.88.1

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.
@@ -3,3 +3,4 @@ export * from './use-event';
3
3
  export * from './useAutoFocus';
4
4
  export * from './useToastContext';
5
5
  export * from './useCircleRating';
6
+ export * from './useElementWidth';
@@ -0,0 +1,5 @@
1
+ import { RefObject } from 'react';
2
+ export declare function useElementWidth<T extends HTMLElement>(): [
3
+ number | undefined,
4
+ RefObject<T>
5
+ ];
@@ -11,6 +11,8 @@ type PictureProps = {
11
11
  srcType: string;
12
12
  alt?: string;
13
13
  className?: string;
14
+ responsive?: boolean;
15
+ containerWidth?: number;
14
16
  };
15
17
  declare const _default: React.NamedExoticComponent<PictureProps>;
16
18
  export default _default;
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, SVGAttributes, KeyboardEvent, InputHTMLAttributes, SVGProps, PropsWithChildren } from 'react';
2
+ import React__default, { ReactNode, CSSProperties, HTMLAttributes, RefAttributes, FC, ReactText, ReactElement, ChangeEvent, SVGAttributes, KeyboardEvent, InputHTMLAttributes, RefObject, SVGProps, PropsWithChildren } from 'react';
3
3
  import { JSX as JSX$1 } from '@ionic/core/components';
4
4
  import * as react_i18next from 'react-i18next';
5
5
  import { WithTranslation } from 'react-i18next';
@@ -1539,6 +1539,8 @@ type PictureProps = {
1539
1539
  srcType: string;
1540
1540
  alt?: string;
1541
1541
  className?: string;
1542
+ responsive?: boolean;
1543
+ containerWidth?: number;
1542
1544
  };
1543
1545
  declare const _default$y: React__default.NamedExoticComponent<PictureProps>;
1544
1546
 
@@ -2244,6 +2246,11 @@ declare function useRatingCircleBreakPoints({ ranges, maxValue, isReverse, }: {
2244
2246
  }): number[];
2245
2247
  declare function useRatingContext(): CircleRatingContextData;
2246
2248
 
2249
+ declare function useElementWidth<T extends HTMLElement>(): [
2250
+ number | undefined,
2251
+ RefObject<T>
2252
+ ];
2253
+
2247
2254
  interface IconProps$A extends React.SVGAttributes<SVGElement> {
2248
2255
  size?: number | string;
2249
2256
  color?: string;
@@ -3078,4 +3085,4 @@ type UpdateContractWidgetProps = {
3078
3085
  };
3079
3086
  declare function UpdateContractWidget({ applyText, onApply, heading, image, avatar, agreementText, handlePressLink, isAccepted, setIsAccepted, isLoading, }: UpdateContractWidgetProps): JSX.Element;
3080
3087
 
3081
- export { AcceptAgreementFeature, Action, AppFooter, _default$C as AppFooter_v2, AppHeader, AppHeader_v2, AppNotSupportedFeature, ArchivedConsultationCard, Avatar, AvatarProps$1 as AvatarProps, _default$B as Avatar_v2, BREAKPOINT_ICON_SIZE, _default$x as Badge, _default$Q as BookingScheduleTime, _default$P as BookingSpecialistInfo, BreakPointPositionProps, BreakPointPositionResult, Button, Button_v2, COUNTRIES_MAPPER, Calendar, _default$h as CalendarPickerFeature, CancelSession, CardModal, ChangeLangModal, ChangeLanguageModal, _default$19 as ChatListItem, _default$17 as ChatListSkeleton, _default$18 as ChatMessage, ChatMessageSkeleton, CheckBoxItem, CheckBoxListFeature, CheckBoxSectionListFeature, _default$K as CheckboxList, CheckboxListCategory, CheckboxListItem, CheckboxTypes, ChevronHeader, CircleRatingComponentProps, CircleRatingContent, CircleRatingContext, CircleRatingContextData, CircleRatingContextProps, CircleRatingDataProps, CircleRatingDataResult, CircleRatingLegendProps, CircleRatingProvider, CircleRatingRange, CircleRatingSize, CollapsableText, ConditionRulesType, _default$10 as ConsultationCard, ConsultationCardProps, ConsultationCardType, _default$Z as ConsultationModal, _default$l as ConsultationPricingFeature, _default$X as ConsultationSpecialistCard, ConsultationsListSkeleton, Container, Container_v2, ContentCard, ContentRendererProps, ContentTree as ContractTreeFeature, CountdownTimerFeature, CountryOfOriginModal, CurrencyLocaleMapper, CurrencySignByLocale, CustomButton, _default$L as CustomCheckbox, CustomRadioButton, _default$M as CustomSelect, _default$N as CustomTextarea, DatePicker, _default$V as DaySlider, DayToRender, DrumListPicker, DynamicCommissionValue, _default$R as EducationCard, _default$16 as EmptyChatList, EmptyChatMessages, _default$_ as EmptyConsultations, EntryNotFound, EntryNotFoundProps, ErrorCardFeature, _default$H as Flag, FlagTypes, _default$z as Flag_v2, FloatingButton, FooterForBooking, FrequentlyAskedQuestions, GoogleCalendarModalFeature, HeaderWithRedirect, HorizontalCalendar, HorizontalCalendarProps, ISpecialistReview, IconAddModerator, IconApple, IconArrowDown, IconArrowLeft, IconArrowRight, IconArrowTopRight, IconAttachMoney, IconBeachAccess, IconBookmark, IconBookmarkOutlined, _default$t as IconButton, IconCalendar, IconCalendarFilled, IconCalendarMonth, IconCancel, IconCancelRounded, IconCapFilled, IconChat3d, IconChatFilled, IconChatOutline, IconCheck, IconCheckCircle, IconCheckSmall, IconCheckboxChecked, IconCheckboxUnchecked, IconClient, IconClientFilled, IconClose, IconCopy, IconCreditCard, IconDelete, IconDocument, IconEcgHeart, IconEdit, IconEditCalendar, IconEventBusy, IconEye, IconEyeOff, IconGallery, IconGift, IconGoogle, IconHome, IconIdCard, IconInvisible, IconInvoice, IconLanguage, IconLeftArrow, IconLetter, IconLink, IconLock, IconLogout, IconManageAccounts, IconMinus, IconMoreVertical, IconMute, IconNotificationMuted, IconPaid, IconPaper, IconPause, IconPersonAlert, IconPlus, IconProfile, IconProfileChecked, IconProfileCircle, IconProfileSetting, IconProfileUnderReview, IconPromocode, IconProps$B as IconProps, IconQueryStats, IconQuestion, IconRadioButtonChecked, IconReceiptLong, IconResume, IconSchema, IconSearch, IconSend, IconSettings, IconShare, IconSpinner, IconStar, IconStarFilled, IconStylus, IconSuccess, IconText, IconTime, IconTimeAdd, IconUnmute, IconUserNotFound, IconVerifiedUser, IconVisible, IconWarning, ImageInput, ImageWithFallback, ImpressionEmojiEnum, Input, InputSearch, _default$p as Item, _default$w as ItemCard, LabelArrowRedirect, LanguagesList, _default$1d as LetterAvatar, _default$I as LineFileInput, ListBox, ListBoxItem, ListBoxItemProps, ListBoxProps, ListBoxSelectionType, ListButton, ListItemType, _default$q as ListItems, ListOption, ListOptionsProps, ListSelect, ListSelectProps, ListSimple, _default$r as Loading, LouseConnect, _default$a as MarkdownContainerFeature, _default$1a as MediaPlayer, Modal, ModalCalendar, ModalSheet, NavigationBar, NoInternetConnection, NotSupportModal, NotesCardText, NotesEditor, OnBoardingBaseScreenType, OnBoardingFlowType, _default$8 as OnBoardingInfoScreenPreviewFeature, OnBoardingInfoScreenType, _default$5 as OnBoardingLoaderScreenPreviewFeature, OnBoardingLoaderScreenType, OnBoardingMultiSelectScreenType, _default$7 as OnBoardingMultiSelectionScreenPreviewFeature, _default$4 as OnBoardingProgressFeature, _default$3 as OnBoardingReviewsScreenPreviewFeature, OnBoardingReviewsScreenType, OnBoardingScreenBgType, OnBoardingScreenButtonType, OnBoardingScreenDescriptionType, OnBoardingScreenOptionType, OnBoardingScreenOptions, OnBoardingScreenStyleOptions, OnBoardingScreensType, OnBoardingSingleSelectScreenType, _default$6 as OnBoardingSingleSelectionScreenPreviewFeature, _default$9 as OnBoardingStartScreenPreviewFeature, OnBoardingStartScreenType, OutdatedPersonalDataFeature, PasswordInput, PaymentBadgeType, _default$g as PaymentCalendarFeature, PaymentCalendarFeatureProps, _default$i as PaymentSessionsList, _default$1c as PersonDateTimeCard, _default$y as Picture, _default$G as ProfileInformation, _default$T as ProfileView, _default$J as ProgressBar, ProgressBarDashed, _default$s as ProgressBar_v2, ProgressRangeProps, PushNotificationsIsDisabledBanner, PushNotificationsModal, Range, _default$u as Rating, RatingCircleWrapper, _default$W as ReSchedule, ReScheduleSuccess, Refresher, ResponseFileType, ReviewCard, _default$f as ReviewCardFeature, ReviewStatistics, ReviewSwiperSection, ReviewsCardFeatureSkeleton, RoundButton, RowItemType, RowSelect, RowSelectProps, Rule, SIZES, _default$d as ScreenDrumPickerFormFeature, ScreenInput, _default$e as ScreenInputFormFeature, ScreenInputUpdateFeature, ScrollTabs, SectionHeading, Segment, SegmentColor, SegmentType, _default$1b as SelectImpressionEmoji, SelectItemType, _default$b as SelectWithSearchFormFeature, ShareModalFeature, ShortCurrencySignByLocale, _default$$ as SignUpSessionButton, _default$Y as SignUpSessionModal, SizeValues, Skeleton, _default$A as Skeleton_v2, _default$n as SlotsGrid, _default$m as SlotsGridItem, _default$S as SpecialistAbout, SpecialistCard$1 as SpecialistCard, SpecialistCardListWidget, _default$2 as SpecialistCardWidget, SpecialistConsultation, SpecialistConsultationPayment, _default$14 as SpecialistEducationCard, SpecialistInfoColumnFeature as SpecialistInfoColumn, SpecialistLangs, _default$F as SpecialistMatch, SpecialistPaymentCardProps, _default$k as SpecialistPaymentCommonCardFeature, SpecialistPaymentCommonCardSkeleton, SpecialistPaymentConsultationDetailsType, _default$j as SpecialistPaymentConsultationsFeature, SpecialistPaymentConsultationsProps, SpecialistPaymentCurrencyProps, _default as SpecialistPaymentResumeWidget, SpecialistPaymentResumeWidgetType, SpecialistPaymentTabs, _default$1 as SpecialistPaymentWidget, SpecialistPaymentWidgetType, _default$13 as SpecialistProfileViewCard, SpecialistShortInfoItemFeature as SpecialistShortInfoItem, _default$E as SpecialistStatistic, SpecialistStatisticsCard, SpecialistWorkDirections, Spinner, Spinner_v2, StarRating, StatisticsScroll, StatusTag, SuccessScreen, SupportedCurrency, SupportedLangs, SwitchDeviceCard, TabBar, TabItem, Tabs$1 as Tabs, Tag, _default$c as TextAreaFormFeature, _default$O as TextInput, _default$15 as Textarea, _default$v as Textarea_v2, ThemeProvider, ThemeProviderProps, TherapistCard, TherapistInformationComponent, Toast, ToastButton, ToastContext, ToastProps, ToastProvider, ToastRegion, Toggle, TooltipComponent, TranslationMock, TranslationType, TreeNode, _default$D as Typography, TypographyVariantsEnum, UpdateContractWidget, UpdatesCard, UserInfoModal, UsersPsychologistScrollList, VerticalCalendar, VerticalCalendarMonthSkeleton, VerticalCalendarSkeleton, _default$o as Video, _default$11 as VideoCallInfo, _default$12 as VideoPlayer, _default$U as WorkDirections, YourLocalTimeBlock, appThemes, decOfNum, getCountryKeyByName, getProgressForBreakPoint, getSignAgreementsTabs, mergeRefs, newShade, priceNormalize, replaceMarkdownWithReactElements, toast, useAutoFocus, useBreakPointsPosition, useCircleRatingRenderData, useDomRef, useEvent, useRangeIndex, useRatingCircleBreakPoints, useRatingCircleContentValue, useRatingCircleLegend, useRatingContext, useToastContext };
3088
+ export { AcceptAgreementFeature, Action, AppFooter, _default$C as AppFooter_v2, AppHeader, AppHeader_v2, AppNotSupportedFeature, ArchivedConsultationCard, Avatar, AvatarProps$1 as AvatarProps, _default$B as Avatar_v2, BREAKPOINT_ICON_SIZE, _default$x as Badge, _default$Q as BookingScheduleTime, _default$P as BookingSpecialistInfo, BreakPointPositionProps, BreakPointPositionResult, Button, Button_v2, COUNTRIES_MAPPER, Calendar, _default$h as CalendarPickerFeature, CancelSession, CardModal, ChangeLangModal, ChangeLanguageModal, _default$19 as ChatListItem, _default$17 as ChatListSkeleton, _default$18 as ChatMessage, ChatMessageSkeleton, CheckBoxItem, CheckBoxListFeature, CheckBoxSectionListFeature, _default$K as CheckboxList, CheckboxListCategory, CheckboxListItem, CheckboxTypes, ChevronHeader, CircleRatingComponentProps, CircleRatingContent, CircleRatingContext, CircleRatingContextData, CircleRatingContextProps, CircleRatingDataProps, CircleRatingDataResult, CircleRatingLegendProps, CircleRatingProvider, CircleRatingRange, CircleRatingSize, CollapsableText, ConditionRulesType, _default$10 as ConsultationCard, ConsultationCardProps, ConsultationCardType, _default$Z as ConsultationModal, _default$l as ConsultationPricingFeature, _default$X as ConsultationSpecialistCard, ConsultationsListSkeleton, Container, Container_v2, ContentCard, ContentRendererProps, ContentTree as ContractTreeFeature, CountdownTimerFeature, CountryOfOriginModal, CurrencyLocaleMapper, CurrencySignByLocale, CustomButton, _default$L as CustomCheckbox, CustomRadioButton, _default$M as CustomSelect, _default$N as CustomTextarea, DatePicker, _default$V as DaySlider, DayToRender, DrumListPicker, DynamicCommissionValue, _default$R as EducationCard, _default$16 as EmptyChatList, EmptyChatMessages, _default$_ as EmptyConsultations, EntryNotFound, EntryNotFoundProps, ErrorCardFeature, _default$H as Flag, FlagTypes, _default$z as Flag_v2, FloatingButton, FooterForBooking, FrequentlyAskedQuestions, GoogleCalendarModalFeature, HeaderWithRedirect, HorizontalCalendar, HorizontalCalendarProps, ISpecialistReview, IconAddModerator, IconApple, IconArrowDown, IconArrowLeft, IconArrowRight, IconArrowTopRight, IconAttachMoney, IconBeachAccess, IconBookmark, IconBookmarkOutlined, _default$t as IconButton, IconCalendar, IconCalendarFilled, IconCalendarMonth, IconCancel, IconCancelRounded, IconCapFilled, IconChat3d, IconChatFilled, IconChatOutline, IconCheck, IconCheckCircle, IconCheckSmall, IconCheckboxChecked, IconCheckboxUnchecked, IconClient, IconClientFilled, IconClose, IconCopy, IconCreditCard, IconDelete, IconDocument, IconEcgHeart, IconEdit, IconEditCalendar, IconEventBusy, IconEye, IconEyeOff, IconGallery, IconGift, IconGoogle, IconHome, IconIdCard, IconInvisible, IconInvoice, IconLanguage, IconLeftArrow, IconLetter, IconLink, IconLock, IconLogout, IconManageAccounts, IconMinus, IconMoreVertical, IconMute, IconNotificationMuted, IconPaid, IconPaper, IconPause, IconPersonAlert, IconPlus, IconProfile, IconProfileChecked, IconProfileCircle, IconProfileSetting, IconProfileUnderReview, IconPromocode, IconProps$B as IconProps, IconQueryStats, IconQuestion, IconRadioButtonChecked, IconReceiptLong, IconResume, IconSchema, IconSearch, IconSend, IconSettings, IconShare, IconSpinner, IconStar, IconStarFilled, IconStylus, IconSuccess, IconText, IconTime, IconTimeAdd, IconUnmute, IconUserNotFound, IconVerifiedUser, IconVisible, IconWarning, ImageInput, ImageWithFallback, ImpressionEmojiEnum, Input, InputSearch, _default$p as Item, _default$w as ItemCard, LabelArrowRedirect, LanguagesList, _default$1d as LetterAvatar, _default$I as LineFileInput, ListBox, ListBoxItem, ListBoxItemProps, ListBoxProps, ListBoxSelectionType, ListButton, ListItemType, _default$q as ListItems, ListOption, ListOptionsProps, ListSelect, ListSelectProps, ListSimple, _default$r as Loading, LouseConnect, _default$a as MarkdownContainerFeature, _default$1a as MediaPlayer, Modal, ModalCalendar, ModalSheet, NavigationBar, NoInternetConnection, NotSupportModal, NotesCardText, NotesEditor, OnBoardingBaseScreenType, OnBoardingFlowType, _default$8 as OnBoardingInfoScreenPreviewFeature, OnBoardingInfoScreenType, _default$5 as OnBoardingLoaderScreenPreviewFeature, OnBoardingLoaderScreenType, OnBoardingMultiSelectScreenType, _default$7 as OnBoardingMultiSelectionScreenPreviewFeature, _default$4 as OnBoardingProgressFeature, _default$3 as OnBoardingReviewsScreenPreviewFeature, OnBoardingReviewsScreenType, OnBoardingScreenBgType, OnBoardingScreenButtonType, OnBoardingScreenDescriptionType, OnBoardingScreenOptionType, OnBoardingScreenOptions, OnBoardingScreenStyleOptions, OnBoardingScreensType, OnBoardingSingleSelectScreenType, _default$6 as OnBoardingSingleSelectionScreenPreviewFeature, _default$9 as OnBoardingStartScreenPreviewFeature, OnBoardingStartScreenType, OutdatedPersonalDataFeature, PasswordInput, PaymentBadgeType, _default$g as PaymentCalendarFeature, PaymentCalendarFeatureProps, _default$i as PaymentSessionsList, _default$1c as PersonDateTimeCard, _default$y as Picture, _default$G as ProfileInformation, _default$T as ProfileView, _default$J as ProgressBar, ProgressBarDashed, _default$s as ProgressBar_v2, ProgressRangeProps, PushNotificationsIsDisabledBanner, PushNotificationsModal, Range, _default$u as Rating, RatingCircleWrapper, _default$W as ReSchedule, ReScheduleSuccess, Refresher, ResponseFileType, ReviewCard, _default$f as ReviewCardFeature, ReviewStatistics, ReviewSwiperSection, ReviewsCardFeatureSkeleton, RoundButton, RowItemType, RowSelect, RowSelectProps, Rule, SIZES, _default$d as ScreenDrumPickerFormFeature, ScreenInput, _default$e as ScreenInputFormFeature, ScreenInputUpdateFeature, ScrollTabs, SectionHeading, Segment, SegmentColor, SegmentType, _default$1b as SelectImpressionEmoji, SelectItemType, _default$b as SelectWithSearchFormFeature, ShareModalFeature, ShortCurrencySignByLocale, _default$$ as SignUpSessionButton, _default$Y as SignUpSessionModal, SizeValues, Skeleton, _default$A as Skeleton_v2, _default$n as SlotsGrid, _default$m as SlotsGridItem, _default$S as SpecialistAbout, SpecialistCard$1 as SpecialistCard, SpecialistCardListWidget, _default$2 as SpecialistCardWidget, SpecialistConsultation, SpecialistConsultationPayment, _default$14 as SpecialistEducationCard, SpecialistInfoColumnFeature as SpecialistInfoColumn, SpecialistLangs, _default$F as SpecialistMatch, SpecialistPaymentCardProps, _default$k as SpecialistPaymentCommonCardFeature, SpecialistPaymentCommonCardSkeleton, SpecialistPaymentConsultationDetailsType, _default$j as SpecialistPaymentConsultationsFeature, SpecialistPaymentConsultationsProps, SpecialistPaymentCurrencyProps, _default as SpecialistPaymentResumeWidget, SpecialistPaymentResumeWidgetType, SpecialistPaymentTabs, _default$1 as SpecialistPaymentWidget, SpecialistPaymentWidgetType, _default$13 as SpecialistProfileViewCard, SpecialistShortInfoItemFeature as SpecialistShortInfoItem, _default$E as SpecialistStatistic, SpecialistStatisticsCard, SpecialistWorkDirections, Spinner, Spinner_v2, StarRating, StatisticsScroll, StatusTag, SuccessScreen, SupportedCurrency, SupportedLangs, SwitchDeviceCard, TabBar, TabItem, Tabs$1 as Tabs, Tag, _default$c as TextAreaFormFeature, _default$O as TextInput, _default$15 as Textarea, _default$v as Textarea_v2, ThemeProvider, ThemeProviderProps, TherapistCard, TherapistInformationComponent, Toast, ToastButton, ToastContext, ToastProps, ToastProvider, ToastRegion, Toggle, TooltipComponent, TranslationMock, TranslationType, TreeNode, _default$D as Typography, TypographyVariantsEnum, UpdateContractWidget, UpdatesCard, UserInfoModal, UsersPsychologistScrollList, VerticalCalendar, VerticalCalendarMonthSkeleton, VerticalCalendarSkeleton, _default$o as Video, _default$11 as VideoCallInfo, _default$12 as VideoPlayer, _default$U as WorkDirections, YourLocalTimeBlock, appThemes, decOfNum, getCountryKeyByName, getProgressForBreakPoint, getSignAgreementsTabs, mergeRefs, newShade, priceNormalize, replaceMarkdownWithReactElements, toast, useAutoFocus, useBreakPointsPosition, useCircleRatingRenderData, useDomRef, useElementWidth, 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.87.1",
3
+ "version": "5.88.1",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "clean": "rimraf dist",