@mindly/ui-components 5.30.0 → 5.31.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.
- package/dist/cjs/index.js +6 -6
- package/dist/cjs/lib2/features/CheckBoxListFeature/CheckBoxListFeature.d.ts +14 -0
- package/dist/cjs/lib2/features/CheckBoxListFeature/index.d.ts +1 -0
- package/dist/cjs/lib2/features/CheckBoxSectionListFeature/CheckBoxSectionListFeature.d.ts +15 -0
- package/dist/cjs/lib2/features/CheckBoxSectionListFeature/index.d.ts +1 -0
- package/dist/cjs/lib2/features/index.d.ts +2 -0
- package/dist/cjs/lib2/shared/assets/icons/IconMixedButton.d.ts +2 -0
- package/dist/cjs/lib2/shared/assets/icons/IconRadioButtonChecked.d.ts +2 -0
- package/dist/cjs/lib2/shared/assets/icons/index.d.ts +1 -0
- package/dist/cjs/lib2/shared/ui/CheckBoxItem/CheckBoxItem.d.ts +16 -0
- package/dist/cjs/lib2/shared/ui/CheckBoxItem/index.d.ts +1 -0
- package/dist/cjs/lib2/shared/ui/index.d.ts +1 -0
- package/dist/esm/index.js +7 -7
- package/dist/esm/lib2/features/CheckBoxListFeature/CheckBoxListFeature.d.ts +14 -0
- package/dist/esm/lib2/features/CheckBoxListFeature/index.d.ts +1 -0
- package/dist/esm/lib2/features/CheckBoxSectionListFeature/CheckBoxSectionListFeature.d.ts +15 -0
- package/dist/esm/lib2/features/CheckBoxSectionListFeature/index.d.ts +1 -0
- package/dist/esm/lib2/features/index.d.ts +2 -0
- package/dist/esm/lib2/shared/assets/icons/IconMixedButton.d.ts +2 -0
- package/dist/esm/lib2/shared/assets/icons/IconRadioButtonChecked.d.ts +2 -0
- package/dist/esm/lib2/shared/assets/icons/index.d.ts +1 -0
- package/dist/esm/lib2/shared/ui/CheckBoxItem/CheckBoxItem.d.ts +16 -0
- package/dist/esm/lib2/shared/ui/CheckBoxItem/index.d.ts +1 -0
- package/dist/esm/lib2/shared/ui/index.d.ts +1 -0
- package/dist/index.d.ts +48 -3
- package/package.json +1 -1
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { SelectItemType } from '../../shared';
|
|
2
|
+
type Props = {
|
|
3
|
+
items: {
|
|
4
|
+
id: string;
|
|
5
|
+
label: string;
|
|
6
|
+
value?: string;
|
|
7
|
+
}[];
|
|
8
|
+
type: SelectItemType;
|
|
9
|
+
values: string[];
|
|
10
|
+
name: string;
|
|
11
|
+
onChange(values: string[]): void;
|
|
12
|
+
};
|
|
13
|
+
declare const CheckBoxListFeature: ({ items, name, type, onChange, values, }: Props) => JSX.Element;
|
|
14
|
+
export default CheckBoxListFeature;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as CheckBoxListFeature } from './CheckBoxListFeature';
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
type Props = {
|
|
2
|
+
sections: {
|
|
3
|
+
name: string;
|
|
4
|
+
items: {
|
|
5
|
+
id: string;
|
|
6
|
+
label: string;
|
|
7
|
+
value?: string;
|
|
8
|
+
}[];
|
|
9
|
+
}[];
|
|
10
|
+
defaultChecked?: string[];
|
|
11
|
+
name: string;
|
|
12
|
+
onChange(values: string[]): void;
|
|
13
|
+
};
|
|
14
|
+
declare const CheckBoxSectionListFeature: ({ sections, name, defaultChecked, onChange, }: Props) => JSX.Element;
|
|
15
|
+
export default CheckBoxSectionListFeature;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as CheckBoxSectionListFeature } from './CheckBoxSectionListFeature';
|
|
@@ -8,3 +8,5 @@ export * from './SpecialistShortInfoItemFeature';
|
|
|
8
8
|
export * from './SpecialistInfoColumnFeature';
|
|
9
9
|
export * from './CountdownTimerFeature';
|
|
10
10
|
export * from './MobilePickerFeature';
|
|
11
|
+
export * from './CheckBoxSectionListFeature';
|
|
12
|
+
export * from './CheckBoxListFeature';
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import React, { ChangeEvent } from 'react';
|
|
2
|
+
export declare enum SelectItemType {
|
|
3
|
+
Checkbox = "checkbox",
|
|
4
|
+
Radio = "radio"
|
|
5
|
+
}
|
|
6
|
+
type Props = {
|
|
7
|
+
type: SelectItemType;
|
|
8
|
+
id: string;
|
|
9
|
+
label: string;
|
|
10
|
+
name: string;
|
|
11
|
+
value: string;
|
|
12
|
+
checked: boolean;
|
|
13
|
+
onChange?: (e: ChangeEvent<HTMLInputElement>) => void;
|
|
14
|
+
};
|
|
15
|
+
declare const CheckBoxItem: React.ForwardRefExoticComponent<Props & React.RefAttributes<HTMLInputElement>>;
|
|
16
|
+
export default CheckBoxItem;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as CheckBoxItem, SelectItemType } from './CheckBoxItem';
|
package/dist/index.d.ts
CHANGED
|
@@ -1755,6 +1755,21 @@ type UlLiProps = {
|
|
|
1755
1755
|
};
|
|
1756
1756
|
declare const ListSimple: FC<UlLiProps>;
|
|
1757
1757
|
|
|
1758
|
+
declare enum SelectItemType {
|
|
1759
|
+
Checkbox = "checkbox",
|
|
1760
|
+
Radio = "radio"
|
|
1761
|
+
}
|
|
1762
|
+
type Props$3 = {
|
|
1763
|
+
type: SelectItemType;
|
|
1764
|
+
id: string;
|
|
1765
|
+
label: string;
|
|
1766
|
+
name: string;
|
|
1767
|
+
value: string;
|
|
1768
|
+
checked: boolean;
|
|
1769
|
+
onChange?: (e: ChangeEvent<HTMLInputElement>) => void;
|
|
1770
|
+
};
|
|
1771
|
+
declare const CheckBoxItem: React__default.ForwardRefExoticComponent<Props$3 & React__default.RefAttributes<HTMLInputElement>>;
|
|
1772
|
+
|
|
1758
1773
|
declare enum appThemes {
|
|
1759
1774
|
client = "client",
|
|
1760
1775
|
specialist = "specialist"
|
|
@@ -2057,6 +2072,8 @@ declare const IconCalendarFilled: ({ width, height, color, ...props }: SVGProps<
|
|
|
2057
2072
|
|
|
2058
2073
|
declare const IconArrowDown: ({ width, height, color, ...other }: SVGProps<SVGSVGElement>) => JSX.Element;
|
|
2059
2074
|
|
|
2075
|
+
declare const IconRadioButtonChecked: (props: SVGProps<SVGSVGElement>) => JSX.Element;
|
|
2076
|
+
|
|
2060
2077
|
type AnyRef = React__default.Ref<any>;
|
|
2061
2078
|
declare const mergeRefs: <T extends unknown>(...refs: AnyRef[]) => React__default.Ref<T>;
|
|
2062
2079
|
|
|
@@ -2171,12 +2188,40 @@ type CountdownTimerFeatureProps = {
|
|
|
2171
2188
|
};
|
|
2172
2189
|
declare const CountdownTimerFeature: FC<CountdownTimerFeatureProps>;
|
|
2173
2190
|
|
|
2174
|
-
type Props = {
|
|
2191
|
+
type Props$2 = {
|
|
2175
2192
|
selections: Record<string, string[]>;
|
|
2176
2193
|
defaults?: Record<string, string>;
|
|
2177
2194
|
onChange(value: Record<string, string>): void;
|
|
2178
2195
|
};
|
|
2179
|
-
declare const MobilePickerFeature: ({ selections, defaults, onChange, }: Props) => JSX.Element;
|
|
2196
|
+
declare const MobilePickerFeature: ({ selections, defaults, onChange, }: Props$2) => JSX.Element;
|
|
2197
|
+
|
|
2198
|
+
type Props$1 = {
|
|
2199
|
+
sections: {
|
|
2200
|
+
name: string;
|
|
2201
|
+
items: {
|
|
2202
|
+
id: string;
|
|
2203
|
+
label: string;
|
|
2204
|
+
value?: string;
|
|
2205
|
+
}[];
|
|
2206
|
+
}[];
|
|
2207
|
+
defaultChecked?: string[];
|
|
2208
|
+
name: string;
|
|
2209
|
+
onChange(values: string[]): void;
|
|
2210
|
+
};
|
|
2211
|
+
declare const CheckBoxSectionListFeature: ({ sections, name, defaultChecked, onChange, }: Props$1) => JSX.Element;
|
|
2212
|
+
|
|
2213
|
+
type Props = {
|
|
2214
|
+
items: {
|
|
2215
|
+
id: string;
|
|
2216
|
+
label: string;
|
|
2217
|
+
value?: string;
|
|
2218
|
+
}[];
|
|
2219
|
+
type: SelectItemType;
|
|
2220
|
+
values: string[];
|
|
2221
|
+
name: string;
|
|
2222
|
+
onChange(values: string[]): void;
|
|
2223
|
+
};
|
|
2224
|
+
declare const CheckBoxListFeature: ({ items, name, type, onChange, values, }: Props) => JSX.Element;
|
|
2180
2225
|
|
|
2181
2226
|
declare const _default: React__default.NamedExoticComponent<any>;
|
|
2182
2227
|
|
|
@@ -2204,4 +2249,4 @@ type SpecialistCardListWidgetProps = {
|
|
|
2204
2249
|
};
|
|
2205
2250
|
declare const SpecialistCardListWidget: FC<SpecialistCardListWidgetProps & WithTranslation['t']>;
|
|
2206
2251
|
|
|
2207
|
-
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, _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, IconLogout, IconMute, IconNotificationMuted, IconPaid, IconPaper, IconPause, IconPlus, IconProfileChecked, IconProfileCircle, IconProfileSetting, IconProfileUnderReview, IconQuestion, IconResume, IconSearch, IconSettings, 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, _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 };
|
|
2252
|
+
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, IconLogout, IconMute, IconNotificationMuted, IconPaid, IconPaper, IconPause, IconPlus, IconProfileChecked, IconProfileCircle, IconProfileSetting, IconProfileUnderReview, IconQuestion, IconRadioButtonChecked, IconResume, IconSearch, IconSettings, 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, _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 };
|