@mindly/ui-components 5.53.1 → 5.54.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.
@@ -0,0 +1,8 @@
1
+ import { ItemProps, Node, TabListState } from 'react-stately';
2
+ type TabProps<T> = {
3
+ item: Node<T>;
4
+ state: TabListState<T>;
5
+ };
6
+ export declare function Tab<T extends Record<string, unknown>>({ item, state, }: TabProps<T>): JSX.Element;
7
+ export declare const TabItem: (props: ItemProps<unknown>) => JSX.Element;
8
+ export {};
@@ -0,0 +1,10 @@
1
+ import { AriaTabPanelProps } from 'react-aria';
2
+ import type { TabListState } from 'react-stately';
3
+ type TabPanelProps<T> = AriaTabPanelProps & {
4
+ state: TabListState<T>;
5
+ };
6
+ export declare function TabPanel<T extends Record<string, unknown>>({ state, ...props }: TabPanelProps<T>): JSX.Element;
7
+ export declare namespace TabPanel {
8
+ var displayName: string;
9
+ }
10
+ export {};
@@ -0,0 +1,7 @@
1
+ import { AriaTabListProps } from 'react-aria';
2
+ type TabsProps<T> = AriaTabListProps<T>;
3
+ export declare function Tabs<T extends Record<string, unknown>>(props: TabsProps<T>): JSX.Element;
4
+ export declare namespace Tabs {
5
+ var displayName: string;
6
+ }
7
+ export {};
@@ -0,0 +1,2 @@
1
+ export { Tabs } from './Tabs';
2
+ export { TabItem } from './Tab';
@@ -0,0 +1,121 @@
1
+ export declare const tabsStyles: import("tailwind-variants").TVReturnType<{
2
+ isPressed: {
3
+ true: {};
4
+ };
5
+ isFocusVisible: {
6
+ true: {};
7
+ };
8
+ orientation: {
9
+ vertical: {
10
+ tabs: string;
11
+ };
12
+ horizontal: {
13
+ tabs: string;
14
+ };
15
+ };
16
+ }, {
17
+ tab: string;
18
+ tabs: string;
19
+ tabList: string;
20
+ activeTab: string;
21
+ }, undefined, import("tailwind-variants/dist/config").TVConfig<{
22
+ isPressed: {
23
+ true: {};
24
+ };
25
+ isFocusVisible: {
26
+ true: {};
27
+ };
28
+ orientation: {
29
+ vertical: {
30
+ tabs: string;
31
+ };
32
+ horizontal: {
33
+ tabs: string;
34
+ };
35
+ };
36
+ }, {
37
+ isPressed: {
38
+ true: {};
39
+ };
40
+ isFocusVisible: {
41
+ true: {};
42
+ };
43
+ orientation: {
44
+ vertical: {
45
+ tabs: string;
46
+ };
47
+ horizontal: {
48
+ tabs: string;
49
+ };
50
+ };
51
+ }>, {
52
+ isPressed: {
53
+ true: {};
54
+ };
55
+ isFocusVisible: {
56
+ true: {};
57
+ };
58
+ orientation: {
59
+ vertical: {
60
+ tabs: string;
61
+ };
62
+ horizontal: {
63
+ tabs: string;
64
+ };
65
+ };
66
+ }, {
67
+ tab: string;
68
+ tabs: string;
69
+ tabList: string;
70
+ activeTab: string;
71
+ }, import("tailwind-variants").TVReturnType<{
72
+ isPressed: {
73
+ true: {};
74
+ };
75
+ isFocusVisible: {
76
+ true: {};
77
+ };
78
+ orientation: {
79
+ vertical: {
80
+ tabs: string;
81
+ };
82
+ horizontal: {
83
+ tabs: string;
84
+ };
85
+ };
86
+ }, {
87
+ tab: string;
88
+ tabs: string;
89
+ tabList: string;
90
+ activeTab: string;
91
+ }, undefined, import("tailwind-variants/dist/config").TVConfig<{
92
+ isPressed: {
93
+ true: {};
94
+ };
95
+ isFocusVisible: {
96
+ true: {};
97
+ };
98
+ orientation: {
99
+ vertical: {
100
+ tabs: string;
101
+ };
102
+ horizontal: {
103
+ tabs: string;
104
+ };
105
+ };
106
+ }, {
107
+ isPressed: {
108
+ true: {};
109
+ };
110
+ isFocusVisible: {
111
+ true: {};
112
+ };
113
+ orientation: {
114
+ vertical: {
115
+ tabs: string;
116
+ };
117
+ horizontal: {
118
+ tabs: string;
119
+ };
120
+ };
121
+ }>, unknown, unknown, undefined>>;
@@ -32,3 +32,4 @@ export * from './HeaderWithRedirect';
32
32
  export * from './ProgressBarDashed';
33
33
  export * from './DrumListPicker';
34
34
  export * from './CollapsableText';
35
+ export * from './Tabs';
package/dist/index.d.ts CHANGED
@@ -9,7 +9,7 @@ import * as _ionic_core_dist_types_components from '@ionic/core/dist/types/compo
9
9
  import { IonContentCustomEvent, IonSearchbarCustomEvent as IonSearchbarCustomEvent$1 } from '@ionic/core/dist/types/components';
10
10
  import { Node, ListState, ItemProps as ItemProps$1, SelectionBehavior, SelectionMode } from 'react-stately';
11
11
  export { Selection } from 'react-stately';
12
- import { AriaListBoxProps, AriaCalendarProps, DateValue } from 'react-aria';
12
+ import { AriaListBoxProps, AriaCalendarProps, DateValue, AriaTabListProps } from 'react-aria';
13
13
  import { ToastStateProps, ToastState } from '@react-stately/toast';
14
14
  import { AriaToastRegionProps } from '@react-aria/toast';
15
15
  import { IonSearchbarCustomEvent, SearchbarChangeEventDetail } from '@ionic/core';
@@ -1981,6 +1981,14 @@ type CollapsableTextProps = {
1981
1981
  };
1982
1982
  declare function CollapsableText({ t, text, size, fontWeight, }: CollapsableTextProps & TranslationType): JSX.Element;
1983
1983
 
1984
+ type TabsProps<T> = AriaTabListProps<T>;
1985
+ declare function Tabs<T extends Record<string, unknown>>(props: TabsProps<T>): JSX.Element;
1986
+ declare namespace Tabs {
1987
+ var displayName: string;
1988
+ }
1989
+
1990
+ declare const TabItem: (props: ItemProps$1<unknown>) => JSX.Element;
1991
+
1984
1992
  declare enum appThemes {
1985
1993
  client = "client",
1986
1994
  specialist = "specialist"
@@ -2638,4 +2646,4 @@ declare const _default$1: React__default.NamedExoticComponent<SpecialistPaymentC
2638
2646
 
2639
2647
  declare const _default: React__default.NamedExoticComponent<SpecialistPaymentCardProps & SpecialistPaymentConsultationsProps & TranslationType>;
2640
2648
 
2641
- export { AppFooter, _default$q as AppFooter_v2, AppHeader, AppHeader_v2, ArchivedConsultationCard, Avatar, AvatarProps$1 as AvatarProps, _default$p as Avatar_v2, BREAKPOINT_ICON_SIZE, _default$l as Badge, _default$E as BookingScheduleTime, _default$D as BookingSpecialistInfo, Button, Button_v2, Calendar, _default$5 as CalendarPickerFeature, CancelSession, CardModal, ChangeLangModal, ChangeLanguageModal, _default$Z as ChatListItem, _default$X as ChatListSkeleton, _default$Y as ChatMessage, ChatMessageSkeleton, CheckBoxItem, CheckBoxListFeature, CheckBoxSectionListFeature, _default$y as CheckboxList, CheckboxListCategory, CheckboxListItem, CheckboxTypes, ChevronHeader, CircleRatingContext, CircleRatingProvider, CollapsableText, _default$Q as ConsultationCard, ConsultationCardProps, ConsultationCardType, _default$N as ConsultationModal, _default$9 as ConsultationPricingFeature, _default$L as ConsultationSpecialistCard, ConsultationsListSkeleton, Container, Container_v2, ContentCard, CountdownTimerFeature, CountryOfOriginModal, CustomButton, _default$z as CustomCheckbox, CustomRadioButton, _default$A as CustomSelect, _default$B as CustomTextarea, DatePicker, _default$J as DaySlider, DayToRender, DrumListPicker, _default$F as EducationCard, _default$W as EmptyChatList, EmptyChatMessages, _default$O as EmptyConsultations, EntryNotFound, EntryNotFoundProps, _default$v as Flag, FlagTypes, _default$n as Flag_v2, FloatingButton, FooterForBooking, FrequentlyAskedQuestions, GoogleCalendarModalFeature, HeaderWithRedirect, HorizontalCalendar, HorizontalCalendarProps, ISpecialistReview, IconAddModerator, IconApple, IconArrowDown, IconArrowLeft, IconArrowRight, IconArrowTopRight, IconAttachMoney, IconBeachAccess, IconBookmark, IconBookmarkOutlined, _default$h as IconButton, IconCalendar, IconCalendarFilled, IconCalendarMonth, IconCancel, IconCancelRounded, IconCapFilled, IconChat3d, IconChatFilled, IconChatOutline, IconCheck, IconCheckCircle, IconCheckSmall, IconCheckboxChecked, IconCheckboxUnchecked, IconClient, IconClientFilled, IconClose, IconCopy, IconCreditCard, IconDelete, IconEcgHeart, IconEdit, IconEditCalendar, IconEventBusy, IconEye, IconEyeOff, IconGallery, IconGift, IconGoogle, IconHome, IconInvisible, IconLanguage, IconLeftArrow, IconLetter, IconLink, IconLogout, IconManageAccounts, IconMoreVertical, IconMute, IconNotificationMuted, IconPaid, IconPaper, IconPause, IconPlus, IconProfileChecked, IconProfileCircle, IconProfileSetting, IconProfileUnderReview, IconPromocode, IconQueryStats, IconQuestion, IconRadioButtonChecked, IconResume, IconSchema, IconSearch, IconSend, IconSettings, IconShare, IconSpinner, IconStar, IconStarFilled, IconSuccess, IconText, IconTime, IconTimeAdd, IconUnmute, IconUserNotFound, IconVerifiedUser, IconVisible, IconWarning, ImageInput, ImageWithFallback, ImpressionEmojiEnum, Input, InputSearch, _default$d as Item, _default$k as ItemCard, LabelArrowRedirect, LanguagesList, _default$11 as LetterAvatar, _default$w as LineFileInput, ListBox, ListBoxItem, ListBoxItemProps, ListBoxProps, ListBoxSelectionType, ListButton, ListItemType, _default$e as ListItems, ListOption, ListOptionsProps, ListSelect, ListSelectProps, ListSimple, _default$f as Loading, LouseConnect, _default$_ as MediaPlayer, Modal, ModalCalendar, ModalSheet, NavigationBar, NoInternetConnection, NotSupportModal, NotesCardText, NotesEditor, PasswordInput, _default$4 as PaymentCalendarFeature, _default$6 as PaymentSessionsList, _default$10 as PersonDateTimeCard, _default$m as Picture, _default$u as ProfileInformation, _default$H as ProfileView, _default$x as ProgressBar, ProgressBarDashed, _default$g as ProgressBar_v2, PushNotificationsIsDisabledBanner, PushNotificationsModal, Range, _default$i as Rating, RatingCircleWrapper, _default$K as ReSchedule, ReScheduleSuccess, Refresher, ReviewCard, _default$3 as ReviewCardFeature, ReviewStatistics, ReviewSwiperSection, RoundButton, RowItemType, RowSelect, RowSelectProps, SIZES, ScreenInput, ScrollTabs, SectionHeading, Segment, SegmentColor, SegmentType, _default$$ as SelectImpressionEmoji, SelectItemType, ShareModalFeature, _default$P as SignUpSessionButton, _default$M as SignUpSessionModal, Skeleton, _default$o as Skeleton_v2, _default$b as SlotsGrid, _default$a as SlotsGridItem, _default$G as SpecialistAbout, SpecialistCard$1 as SpecialistCard, SpecialistCardListWidget, _default$2 as SpecialistCardWidget, _default$U as SpecialistEducationCard, SpecialistInfoColumnFeature as SpecialistInfoColumn, SpecialistLangs, _default$t as SpecialistMatch, _default$8 as SpecialistPaymentCommonCardFeature, SpecialistPaymentCommonCardSkeleton, _default$7 as SpecialistPaymentConsultationsFeature, _default as SpecialistPaymentResumeWidget, _default$1 as SpecialistPaymentWidget, _default$T as SpecialistProfileViewCard, SpecialistShortInfoItemFeature as SpecialistShortInfoItem, _default$s as SpecialistStatistic, SpecialistStatisticsCard, SpecialistWorkDirections, Spinner, Spinner_v2, StarRating, StatisticsScroll, StatusTag, SuccessScreen, SwitchDeviceCard, TabBar, Tag, _default$C as TextInput, _default$V as Textarea, _default$j as Textarea_v2, ThemeProvider, ThemeProviderProps, TherapistCard, TherapistInformationComponent, Toast, ToastButton, ToastContext, ToastProps, ToastProvider, ToastRegion, Toggle, TooltipComponent, _default$r as Typography, TypographyVariantsEnum, UpdatesCard, UserInfoModal, UsersPsychologistScrollList, VerticalCalendar, VerticalCalendarMonthSkeleton, VerticalCalendarSkeleton, _default$c as Video, _default$R as VideoCallInfo, _default$S as VideoPlayer, _default$I as WorkDirections, YourLocalTimeBlock, appThemes, decOfNum, getProgressForBreakPoint, mergeRefs, newShade, priceNormalize, toast, useAutoFocus, useBreakPointsPosition, useCircleRatingRenderData, useDomRef, useEvent, useRangeIndex, useRatingCircleBreakPoints, useRatingCircleContentValue, useRatingCircleLegend, useRatingContext, useToastContext };
2649
+ export { AppFooter, _default$q as AppFooter_v2, AppHeader, AppHeader_v2, ArchivedConsultationCard, Avatar, AvatarProps$1 as AvatarProps, _default$p as Avatar_v2, BREAKPOINT_ICON_SIZE, _default$l as Badge, _default$E as BookingScheduleTime, _default$D as BookingSpecialistInfo, Button, Button_v2, Calendar, _default$5 as CalendarPickerFeature, CancelSession, CardModal, ChangeLangModal, ChangeLanguageModal, _default$Z as ChatListItem, _default$X as ChatListSkeleton, _default$Y as ChatMessage, ChatMessageSkeleton, CheckBoxItem, CheckBoxListFeature, CheckBoxSectionListFeature, _default$y as CheckboxList, CheckboxListCategory, CheckboxListItem, CheckboxTypes, ChevronHeader, CircleRatingContext, CircleRatingProvider, CollapsableText, _default$Q as ConsultationCard, ConsultationCardProps, ConsultationCardType, _default$N as ConsultationModal, _default$9 as ConsultationPricingFeature, _default$L as ConsultationSpecialistCard, ConsultationsListSkeleton, Container, Container_v2, ContentCard, CountdownTimerFeature, CountryOfOriginModal, CustomButton, _default$z as CustomCheckbox, CustomRadioButton, _default$A as CustomSelect, _default$B as CustomTextarea, DatePicker, _default$J as DaySlider, DayToRender, DrumListPicker, _default$F as EducationCard, _default$W as EmptyChatList, EmptyChatMessages, _default$O as EmptyConsultations, EntryNotFound, EntryNotFoundProps, _default$v as Flag, FlagTypes, _default$n as Flag_v2, FloatingButton, FooterForBooking, FrequentlyAskedQuestions, GoogleCalendarModalFeature, HeaderWithRedirect, HorizontalCalendar, HorizontalCalendarProps, ISpecialistReview, IconAddModerator, IconApple, IconArrowDown, IconArrowLeft, IconArrowRight, IconArrowTopRight, IconAttachMoney, IconBeachAccess, IconBookmark, IconBookmarkOutlined, _default$h as IconButton, IconCalendar, IconCalendarFilled, IconCalendarMonth, IconCancel, IconCancelRounded, IconCapFilled, IconChat3d, IconChatFilled, IconChatOutline, IconCheck, IconCheckCircle, IconCheckSmall, IconCheckboxChecked, IconCheckboxUnchecked, IconClient, IconClientFilled, IconClose, IconCopy, IconCreditCard, IconDelete, IconEcgHeart, IconEdit, IconEditCalendar, IconEventBusy, IconEye, IconEyeOff, IconGallery, IconGift, IconGoogle, IconHome, IconInvisible, IconLanguage, IconLeftArrow, IconLetter, IconLink, IconLogout, IconManageAccounts, IconMoreVertical, IconMute, IconNotificationMuted, IconPaid, IconPaper, IconPause, IconPlus, IconProfileChecked, IconProfileCircle, IconProfileSetting, IconProfileUnderReview, IconPromocode, IconQueryStats, IconQuestion, IconRadioButtonChecked, IconResume, IconSchema, IconSearch, IconSend, IconSettings, IconShare, IconSpinner, IconStar, IconStarFilled, IconSuccess, IconText, IconTime, IconTimeAdd, IconUnmute, IconUserNotFound, IconVerifiedUser, IconVisible, IconWarning, ImageInput, ImageWithFallback, ImpressionEmojiEnum, Input, InputSearch, _default$d as Item, _default$k as ItemCard, LabelArrowRedirect, LanguagesList, _default$11 as LetterAvatar, _default$w as LineFileInput, ListBox, ListBoxItem, ListBoxItemProps, ListBoxProps, ListBoxSelectionType, ListButton, ListItemType, _default$e as ListItems, ListOption, ListOptionsProps, ListSelect, ListSelectProps, ListSimple, _default$f as Loading, LouseConnect, _default$_ as MediaPlayer, Modal, ModalCalendar, ModalSheet, NavigationBar, NoInternetConnection, NotSupportModal, NotesCardText, NotesEditor, PasswordInput, _default$4 as PaymentCalendarFeature, _default$6 as PaymentSessionsList, _default$10 as PersonDateTimeCard, _default$m as Picture, _default$u as ProfileInformation, _default$H as ProfileView, _default$x as ProgressBar, ProgressBarDashed, _default$g as ProgressBar_v2, PushNotificationsIsDisabledBanner, PushNotificationsModal, Range, _default$i as Rating, RatingCircleWrapper, _default$K as ReSchedule, ReScheduleSuccess, Refresher, ReviewCard, _default$3 as ReviewCardFeature, ReviewStatistics, ReviewSwiperSection, RoundButton, RowItemType, RowSelect, RowSelectProps, SIZES, ScreenInput, ScrollTabs, SectionHeading, Segment, SegmentColor, SegmentType, _default$$ as SelectImpressionEmoji, SelectItemType, ShareModalFeature, _default$P as SignUpSessionButton, _default$M as SignUpSessionModal, Skeleton, _default$o as Skeleton_v2, _default$b as SlotsGrid, _default$a as SlotsGridItem, _default$G as SpecialistAbout, SpecialistCard$1 as SpecialistCard, SpecialistCardListWidget, _default$2 as SpecialistCardWidget, _default$U as SpecialistEducationCard, SpecialistInfoColumnFeature as SpecialistInfoColumn, SpecialistLangs, _default$t as SpecialistMatch, _default$8 as SpecialistPaymentCommonCardFeature, SpecialistPaymentCommonCardSkeleton, _default$7 as SpecialistPaymentConsultationsFeature, _default as SpecialistPaymentResumeWidget, _default$1 as SpecialistPaymentWidget, _default$T as SpecialistProfileViewCard, SpecialistShortInfoItemFeature as SpecialistShortInfoItem, _default$s as SpecialistStatistic, SpecialistStatisticsCard, SpecialistWorkDirections, Spinner, Spinner_v2, StarRating, StatisticsScroll, StatusTag, SuccessScreen, SwitchDeviceCard, TabBar, TabItem, Tabs, Tag, _default$C as TextInput, _default$V as Textarea, _default$j as Textarea_v2, ThemeProvider, ThemeProviderProps, TherapistCard, TherapistInformationComponent, Toast, ToastButton, ToastContext, ToastProps, ToastProvider, ToastRegion, Toggle, TooltipComponent, _default$r as Typography, TypographyVariantsEnum, UpdatesCard, UserInfoModal, UsersPsychologistScrollList, VerticalCalendar, VerticalCalendarMonthSkeleton, VerticalCalendarSkeleton, _default$c as Video, _default$R as VideoCallInfo, _default$S as VideoPlayer, _default$I as WorkDirections, YourLocalTimeBlock, appThemes, decOfNum, getProgressForBreakPoint, mergeRefs, newShade, priceNormalize, 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.53.1",
3
+ "version": "5.54.1",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "clean": "rimraf dist",