@mindly/ui-components 5.25.1 → 5.27.0
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 +17 -16
- package/dist/cjs/lib/Chat/ChatListItem/ChatListItem.d.ts +1 -13
- package/dist/cjs/lib/Filters/ListSelect/ListSelect.style.d.ts +1 -1
- package/dist/cjs/lib2/features/SpecialistInfoColumnFeature/SpecialistInfoColumnFeature.d.ts +13 -0
- package/dist/cjs/lib2/features/SpecialistInfoColumnFeature/SpecialistInfoColumnFeature.stories.d.ts +6 -0
- package/dist/cjs/lib2/features/SpecialistInfoColumnFeature/index.d.ts +1 -0
- package/dist/cjs/lib2/features/SpecialistShortInfoItemFeature/SpecialistShortInfoItemFeature.d.ts +12 -0
- package/dist/cjs/lib2/features/SpecialistShortInfoItemFeature/SpecialistShortInfoItemFeature.stories.d.ts +6 -0
- package/dist/cjs/lib2/features/SpecialistShortInfoItemFeature/index.d.ts +1 -0
- package/dist/cjs/lib2/features/index.d.ts +2 -0
- package/dist/cjs/lib2/shared/assets/icons/IconBookmarkOutlined.d.ts +7 -0
- package/dist/cjs/lib2/shared/assets/icons/IconMute.d.ts +7 -0
- package/dist/cjs/lib2/shared/assets/icons/IconUnmute.d.ts +7 -0
- package/dist/cjs/lib2/shared/assets/icons/index.d.ts +4 -0
- package/dist/cjs/lib2/shared/ui/Button_v2/Button_v2.style.d.ts +1 -1
- package/dist/cjs/lib2/shared/ui/ListSimple/ListSimple.d.ts +6 -0
- package/dist/cjs/lib2/shared/ui/ListSimple/ListSimple.stories.d.ts +6 -0
- package/dist/cjs/lib2/shared/ui/ListSimple/index.d.ts +1 -0
- package/dist/cjs/lib2/shared/ui/Typography/types.d.ts +1 -0
- package/dist/cjs/lib2/shared/ui/Video/Video.d.ts +8 -0
- package/dist/cjs/lib2/shared/ui/Video/Video.stories.d.ts +6 -0
- package/dist/cjs/lib2/shared/ui/Video/index.d.ts +1 -0
- package/dist/cjs/lib2/shared/ui/index.d.ts +2 -0
- package/dist/cjs/lib2/widgets/SpecialistCardListWidget/SpecialistCardListWidget.d.ts +11 -0
- package/dist/cjs/lib2/widgets/SpecialistCardListWidget/SpecialistCardListWidget.stories.d.ts +6 -0
- package/dist/cjs/lib2/widgets/SpecialistCardListWidget/index.d.ts +1 -0
- package/dist/cjs/lib2/widgets/SpecialistCardWidget/SpecialistCardSkeleton.d.ts +2 -0
- package/dist/cjs/lib2/widgets/SpecialistCardWidget/SpecialistCardWidget.d.ts +3 -0
- package/dist/cjs/lib2/widgets/SpecialistCardWidget/SpecialistCardWidget.stories.d.ts +6 -0
- package/dist/cjs/lib2/widgets/SpecialistCardWidget/index.d.ts +1 -0
- package/dist/cjs/lib2/widgets/SpecialistCardWidget/types.d.ts +30 -0
- package/dist/cjs/lib2/widgets/index.d.ts +1 -0
- package/dist/esm/index.js +18 -17
- package/dist/esm/lib/Chat/ChatListItem/ChatListItem.d.ts +1 -13
- package/dist/esm/lib/Filters/ListSelect/ListSelect.style.d.ts +1 -1
- package/dist/esm/lib2/features/SpecialistInfoColumnFeature/SpecialistInfoColumnFeature.d.ts +13 -0
- package/dist/esm/lib2/features/SpecialistInfoColumnFeature/SpecialistInfoColumnFeature.stories.d.ts +6 -0
- package/dist/esm/lib2/features/SpecialistInfoColumnFeature/index.d.ts +1 -0
- package/dist/esm/lib2/features/SpecialistShortInfoItemFeature/SpecialistShortInfoItemFeature.d.ts +12 -0
- package/dist/esm/lib2/features/SpecialistShortInfoItemFeature/SpecialistShortInfoItemFeature.stories.d.ts +6 -0
- package/dist/esm/lib2/features/SpecialistShortInfoItemFeature/index.d.ts +1 -0
- package/dist/esm/lib2/features/index.d.ts +2 -0
- package/dist/esm/lib2/shared/assets/icons/IconBookmarkOutlined.d.ts +7 -0
- package/dist/esm/lib2/shared/assets/icons/IconMute.d.ts +7 -0
- package/dist/esm/lib2/shared/assets/icons/IconUnmute.d.ts +7 -0
- package/dist/esm/lib2/shared/assets/icons/index.d.ts +4 -0
- package/dist/esm/lib2/shared/ui/Button_v2/Button_v2.style.d.ts +1 -1
- package/dist/esm/lib2/shared/ui/ListSimple/ListSimple.d.ts +6 -0
- package/dist/esm/lib2/shared/ui/ListSimple/ListSimple.stories.d.ts +6 -0
- package/dist/esm/lib2/shared/ui/ListSimple/index.d.ts +1 -0
- package/dist/esm/lib2/shared/ui/Typography/types.d.ts +1 -0
- package/dist/esm/lib2/shared/ui/Video/Video.d.ts +8 -0
- package/dist/esm/lib2/shared/ui/Video/Video.stories.d.ts +6 -0
- package/dist/esm/lib2/shared/ui/Video/index.d.ts +1 -0
- package/dist/esm/lib2/shared/ui/index.d.ts +2 -0
- package/dist/esm/lib2/widgets/SpecialistCardListWidget/SpecialistCardListWidget.d.ts +11 -0
- package/dist/esm/lib2/widgets/SpecialistCardListWidget/SpecialistCardListWidget.stories.d.ts +6 -0
- package/dist/esm/lib2/widgets/SpecialistCardListWidget/index.d.ts +1 -0
- package/dist/esm/lib2/widgets/SpecialistCardWidget/SpecialistCardSkeleton.d.ts +2 -0
- package/dist/esm/lib2/widgets/SpecialistCardWidget/SpecialistCardWidget.d.ts +3 -0
- package/dist/esm/lib2/widgets/SpecialistCardWidget/SpecialistCardWidget.stories.d.ts +6 -0
- package/dist/esm/lib2/widgets/SpecialistCardWidget/index.d.ts +1 -0
- package/dist/esm/lib2/widgets/SpecialistCardWidget/types.d.ts +30 -0
- package/dist/esm/lib2/widgets/index.d.ts +1 -0
- package/dist/index.d.ts +160 -120
- package/package.json +1 -1
|
@@ -1,15 +1,3 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
|
|
3
|
-
name: string;
|
|
4
|
-
message?: string;
|
|
5
|
-
avatar?: string;
|
|
6
|
-
newMessagesCount?: number;
|
|
7
|
-
onClick?: () => void;
|
|
8
|
-
status?: 'sent' | 'viewed';
|
|
9
|
-
time?: number;
|
|
10
|
-
timeZone?: string;
|
|
11
|
-
lastMessageType?: 'text' | 'file' | 'image' | 'video' | 'system';
|
|
12
|
-
locale?: string;
|
|
13
|
-
};
|
|
14
|
-
declare const _default: React.NamedExoticComponent<ChatListItemProps>;
|
|
2
|
+
declare const _default: React.NamedExoticComponent<any>;
|
|
15
3
|
export default _default;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
export declare const ListTitle: import("styled-components").StyledComponent<"h3", any, {}, never>;
|
|
3
|
-
export declare const IonItemStyled: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<Pick<import("@ionic/core/dist/types/components").JSX.IonItem, "button" | "type" | "disabled" | "rel" | "color" | "download" | "href" | "target" | "mode" | "fill" | "lines" | "
|
|
3
|
+
export declare const IonItemStyled: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<Pick<import("@ionic/core/dist/types/components").JSX.IonItem, "button" | "type" | "disabled" | "rel" | "color" | "download" | "href" | "target" | "mode" | "fill" | "lines" | "routerAnimation" | "shape" | "counter" | "counterFormatter" | "detail" | "detailIcon"> & {
|
|
4
4
|
routerLink?: string | undefined;
|
|
5
5
|
routerDirection?: "none" | "root" | "forward" | "back" | undefined;
|
|
6
6
|
routerOptions?: import("@ionic/react").RouterOptions | undefined;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import { WithTranslation } from 'react-i18next';
|
|
3
|
+
export type SpecialistInfoColumnFeatureProps = {
|
|
4
|
+
t?: WithTranslation['t'];
|
|
5
|
+
rating: string;
|
|
6
|
+
reviews: number;
|
|
7
|
+
sessionPrice: string;
|
|
8
|
+
isAddedToBookmark: boolean;
|
|
9
|
+
sessionDurationMinutes: number;
|
|
10
|
+
onAddDeleteBookmark: () => void;
|
|
11
|
+
};
|
|
12
|
+
declare const SpecialistInfoColumnFeature: FC<SpecialistInfoColumnFeatureProps & WithTranslation['t']>;
|
|
13
|
+
export default SpecialistInfoColumnFeature;
|
package/dist/cjs/lib2/features/SpecialistInfoColumnFeature/SpecialistInfoColumnFeature.stories.d.ts
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
import SpecialistInfoColumnFeature from './SpecialistInfoColumnFeature';
|
|
3
|
+
declare const meta: Meta<typeof SpecialistInfoColumnFeature>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof SpecialistInfoColumnFeature>;
|
|
6
|
+
export declare const Default: Story;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as SpecialistInfoColumn } from './SpecialistInfoColumnFeature';
|
package/dist/cjs/lib2/features/SpecialistShortInfoItemFeature/SpecialistShortInfoItemFeature.d.ts
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import { WithTranslation } from 'react-i18next';
|
|
3
|
+
export type SpecialistShortInfoItemFeatureProps = {
|
|
4
|
+
t?: WithTranslation['t'];
|
|
5
|
+
match: number;
|
|
6
|
+
fullName: string;
|
|
7
|
+
avatarLink: string;
|
|
8
|
+
countryCode: string;
|
|
9
|
+
yearsOfExperience: number;
|
|
10
|
+
};
|
|
11
|
+
declare const SpecialistShortInfoItemFeature: FC<SpecialistShortInfoItemFeatureProps & WithTranslation['t']>;
|
|
12
|
+
export default SpecialistShortInfoItemFeature;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
import SpecialistShortInfoItemFeature from './SpecialistShortInfoItemFeature';
|
|
3
|
+
declare const meta: Meta<typeof SpecialistShortInfoItemFeature>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof SpecialistShortInfoItemFeature>;
|
|
6
|
+
export declare const Default: Story;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as SpecialistShortInfoItem } from './SpecialistShortInfoItemFeature';
|
|
@@ -43,6 +43,10 @@ export * from './IconCheckSmall';
|
|
|
43
43
|
export * from './IconCheck';
|
|
44
44
|
export * from './IconCapFilled';
|
|
45
45
|
export * from './IconCancelRounded';
|
|
46
|
+
export * from './IconMute';
|
|
47
|
+
export * from './IconUnmute';
|
|
48
|
+
export * from './IconBookmark';
|
|
49
|
+
export * from './IconBookmarkOutlined';
|
|
46
50
|
export * from './IconUserNotFound';
|
|
47
51
|
export * from './IconSearch';
|
|
48
52
|
export * from './IconPaid';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
export declare const ButtonStyled: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<Pick<import("@ionic/core/dist/types/components").JSX.IonButton, "form" | "strong" | "type" | "disabled" | "rel" | "color" | "buttonType" | "download" | "href" | "target" | "mode" | "size" | "fill" | "onIonBlur" | "onIonFocus" | "
|
|
2
|
+
export declare const ButtonStyled: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<Pick<import("@ionic/core/dist/types/components").JSX.IonButton, "form" | "strong" | "type" | "disabled" | "rel" | "color" | "buttonType" | "download" | "href" | "target" | "mode" | "size" | "fill" | "onIonBlur" | "onIonFocus" | "expand" | "routerAnimation" | "shape"> & {
|
|
3
3
|
routerLink?: string | undefined;
|
|
4
4
|
routerDirection?: "none" | "root" | "forward" | "back" | undefined;
|
|
5
5
|
routerOptions?: import("@ionic/react").RouterOptions | undefined;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as ListSimple } from './ListSimple';
|
|
@@ -9,6 +9,7 @@ export declare enum TypographyVariantsEnum {
|
|
|
9
9
|
Text24Semi = "Text/24 Semi",
|
|
10
10
|
Text20Semi = "Text/20 Semi",
|
|
11
11
|
Text18Regular = "Text/18 Regular",
|
|
12
|
+
Text18Semi = "Text/18 Semi",
|
|
12
13
|
Text16Semi = "Text/16 Semi",
|
|
13
14
|
Text16Regular = "Text/16 Regular",
|
|
14
15
|
Text15Semi = "Text/15 Semi",
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export type VideoProps = {
|
|
3
|
+
src: string;
|
|
4
|
+
isMuted: boolean;
|
|
5
|
+
onMuteToggle: () => void;
|
|
6
|
+
};
|
|
7
|
+
declare const _default: React.MemoExoticComponent<React.ForwardRefExoticComponent<VideoProps & React.RefAttributes<HTMLVideoElement>>>;
|
|
8
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as Video } from './Video';
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { WithTranslation } from 'react-i18next';
|
|
2
|
+
import { FC } from 'react';
|
|
3
|
+
import { SpecialistCard } from '../SpecialistCardWidget/types';
|
|
4
|
+
export type SpecialistCardListWidgetProps = {
|
|
5
|
+
t?: WithTranslation['t'];
|
|
6
|
+
specialists: SpecialistCard[];
|
|
7
|
+
onAddDeleteBookmark: (specialist: SpecialistCard) => void;
|
|
8
|
+
onChooseVisitTime: (specialist: SpecialistCard) => void;
|
|
9
|
+
};
|
|
10
|
+
declare const SpecialistCardListWidget: FC<SpecialistCardListWidgetProps & WithTranslation['t']>;
|
|
11
|
+
export default SpecialistCardListWidget;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
import SpecialistCardListWidget from './SpecialistCardListWidget';
|
|
3
|
+
declare const meta: Meta<typeof SpecialistCardListWidget>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof SpecialistCardListWidget>;
|
|
6
|
+
export declare const Default: Story;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './SpecialistCardListWidget';
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
import SpecialistCardWidget from './SpecialistCardWidget';
|
|
3
|
+
declare const meta: Meta<typeof SpecialistCardWidget>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof SpecialistCardWidget>;
|
|
6
|
+
export declare const Default: Story;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './SpecialistCardWidget';
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { WithTranslation } from 'react-i18next';
|
|
2
|
+
export type SpecialistCardWidgetProps = {
|
|
3
|
+
loading: boolean;
|
|
4
|
+
} | {
|
|
5
|
+
t?: WithTranslation['t'];
|
|
6
|
+
videoPlayer: {
|
|
7
|
+
isMuted: boolean;
|
|
8
|
+
onMuteToggle: () => void;
|
|
9
|
+
videoRef: (ref: HTMLVideoElement) => void;
|
|
10
|
+
};
|
|
11
|
+
specialist: SpecialistCard;
|
|
12
|
+
isAddedToBookmark: boolean;
|
|
13
|
+
onChooseVisitTime: () => void;
|
|
14
|
+
onAddDeleteBookmark: () => void;
|
|
15
|
+
};
|
|
16
|
+
export type SpecialistCard = {
|
|
17
|
+
id: string;
|
|
18
|
+
areas: string[];
|
|
19
|
+
reviews: number;
|
|
20
|
+
lastName: string;
|
|
21
|
+
firstName: string;
|
|
22
|
+
videoLink: string;
|
|
23
|
+
avatarLink: string;
|
|
24
|
+
percentMatch: number;
|
|
25
|
+
formattedRating: string;
|
|
26
|
+
countryOfBirthday: string;
|
|
27
|
+
yearsOfExperience: number;
|
|
28
|
+
formattedSessionPrice: string;
|
|
29
|
+
sessionDurationMinutes: number;
|
|
30
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './SpecialistCardWidget';
|