@mindly/ui-components 5.54.0 → 5.54.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.
- package/dist/cjs/configs/tailwind/colors.d.ts +1 -0
- package/dist/cjs/index.js +7 -7
- package/dist/cjs/lib2/shared/ui/Tabs/Tab.d.ts +4 -1
- package/dist/cjs/lib2/shared/ui/Tabs/styles.d.ts +21 -0
- package/dist/cjs/lib2/shared/ui/index.d.ts +1 -0
- package/dist/esm/configs/tailwind/colors.d.ts +1 -0
- package/dist/esm/index.js +7 -7
- package/dist/esm/lib2/shared/ui/Tabs/Tab.d.ts +4 -1
- package/dist/esm/lib2/shared/ui/Tabs/styles.d.ts +21 -0
- package/dist/esm/lib2/shared/ui/index.d.ts +1 -0
- package/dist/index.d.ts +13 -2
- package/package.json +1 -1
- package/src/configs/tailwind/colors.ts +1 -0
|
@@ -4,5 +4,8 @@ type TabProps<T> = {
|
|
|
4
4
|
state: TabListState<T>;
|
|
5
5
|
};
|
|
6
6
|
export declare function Tab<T extends Record<string, unknown>>({ item, state, }: TabProps<T>): JSX.Element;
|
|
7
|
-
export declare const TabItem: (props: ItemProps<unknown>
|
|
7
|
+
export declare const TabItem: (props: ItemProps<unknown> & {
|
|
8
|
+
onClick?: () => void;
|
|
9
|
+
className?: string;
|
|
10
|
+
}) => JSX.Element;
|
|
8
11
|
export {};
|
|
@@ -5,6 +5,9 @@ export declare const tabsStyles: import("tailwind-variants").TVReturnType<{
|
|
|
5
5
|
isFocusVisible: {
|
|
6
6
|
true: {};
|
|
7
7
|
};
|
|
8
|
+
isSelected: {
|
|
9
|
+
true: {};
|
|
10
|
+
};
|
|
8
11
|
orientation: {
|
|
9
12
|
vertical: {
|
|
10
13
|
tabs: string;
|
|
@@ -25,6 +28,9 @@ export declare const tabsStyles: import("tailwind-variants").TVReturnType<{
|
|
|
25
28
|
isFocusVisible: {
|
|
26
29
|
true: {};
|
|
27
30
|
};
|
|
31
|
+
isSelected: {
|
|
32
|
+
true: {};
|
|
33
|
+
};
|
|
28
34
|
orientation: {
|
|
29
35
|
vertical: {
|
|
30
36
|
tabs: string;
|
|
@@ -40,6 +46,9 @@ export declare const tabsStyles: import("tailwind-variants").TVReturnType<{
|
|
|
40
46
|
isFocusVisible: {
|
|
41
47
|
true: {};
|
|
42
48
|
};
|
|
49
|
+
isSelected: {
|
|
50
|
+
true: {};
|
|
51
|
+
};
|
|
43
52
|
orientation: {
|
|
44
53
|
vertical: {
|
|
45
54
|
tabs: string;
|
|
@@ -55,6 +64,9 @@ export declare const tabsStyles: import("tailwind-variants").TVReturnType<{
|
|
|
55
64
|
isFocusVisible: {
|
|
56
65
|
true: {};
|
|
57
66
|
};
|
|
67
|
+
isSelected: {
|
|
68
|
+
true: {};
|
|
69
|
+
};
|
|
58
70
|
orientation: {
|
|
59
71
|
vertical: {
|
|
60
72
|
tabs: string;
|
|
@@ -75,6 +87,9 @@ export declare const tabsStyles: import("tailwind-variants").TVReturnType<{
|
|
|
75
87
|
isFocusVisible: {
|
|
76
88
|
true: {};
|
|
77
89
|
};
|
|
90
|
+
isSelected: {
|
|
91
|
+
true: {};
|
|
92
|
+
};
|
|
78
93
|
orientation: {
|
|
79
94
|
vertical: {
|
|
80
95
|
tabs: string;
|
|
@@ -95,6 +110,9 @@ export declare const tabsStyles: import("tailwind-variants").TVReturnType<{
|
|
|
95
110
|
isFocusVisible: {
|
|
96
111
|
true: {};
|
|
97
112
|
};
|
|
113
|
+
isSelected: {
|
|
114
|
+
true: {};
|
|
115
|
+
};
|
|
98
116
|
orientation: {
|
|
99
117
|
vertical: {
|
|
100
118
|
tabs: string;
|
|
@@ -110,6 +128,9 @@ export declare const tabsStyles: import("tailwind-variants").TVReturnType<{
|
|
|
110
128
|
isFocusVisible: {
|
|
111
129
|
true: {};
|
|
112
130
|
};
|
|
131
|
+
isSelected: {
|
|
132
|
+
true: {};
|
|
133
|
+
};
|
|
113
134
|
orientation: {
|
|
114
135
|
vertical: {
|
|
115
136
|
tabs: string;
|
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,17 @@ 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> & {
|
|
1991
|
+
onClick?: () => void;
|
|
1992
|
+
className?: string;
|
|
1993
|
+
}) => JSX.Element;
|
|
1994
|
+
|
|
1984
1995
|
declare enum appThemes {
|
|
1985
1996
|
client = "client",
|
|
1986
1997
|
specialist = "specialist"
|
|
@@ -2638,4 +2649,4 @@ declare const _default$1: React__default.NamedExoticComponent<SpecialistPaymentC
|
|
|
2638
2649
|
|
|
2639
2650
|
declare const _default: React__default.NamedExoticComponent<SpecialistPaymentCardProps & SpecialistPaymentConsultationsProps & TranslationType>;
|
|
2640
2651
|
|
|
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 };
|
|
2652
|
+
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