@mindly/ui-components 5.41.1 → 5.42.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.
@@ -1,3 +1,18 @@
1
1
  import React from 'react';
2
- declare const _default: React.NamedExoticComponent<any>;
2
+ import { WithTranslation } from 'react-i18next';
3
+ type ChatListItemProps = {
4
+ name: string;
5
+ message?: string;
6
+ avatar?: string;
7
+ newMessagesCount?: number;
8
+ onClick?: () => void;
9
+ status?: 'sent' | 'viewed';
10
+ time?: number;
11
+ timeZone?: string;
12
+ lastMessageType?: 'text' | 'file' | 'image' | 'video' | 'system';
13
+ locale?: string;
14
+ isDisabled?: boolean;
15
+ t?: WithTranslation['t'];
16
+ };
17
+ declare const _default: React.NamedExoticComponent<ChatListItemProps>;
3
18
  export default _default;
@@ -0,0 +1,3 @@
1
+ import { FC } from 'react';
2
+ import { IconProps } from '../../types';
3
+ export declare const IconManageAccounts: FC<IconProps>;
@@ -71,3 +71,4 @@ export * from './IconDelete';
71
71
  export * from './IconEdit';
72
72
  export * from './IconCopy';
73
73
  export * from './IconTimeAdd';
74
+ export * from './IconManageAccounts';
@@ -1,5 +1,4 @@
1
1
  import * as React from 'react';
2
2
  import { FieldSearchType } from './types';
3
- import { WithTranslation } from 'react-i18next';
4
- declare const InputSearch: React.FC<FieldSearchType & WithTranslation['t']>;
3
+ declare const InputSearch: React.FC<FieldSearchType>;
5
4
  export default InputSearch;
@@ -1,4 +1,5 @@
1
1
  import { SearchbarChangeEventDetail, IonSearchbarCustomEvent } from '@ionic/core';
2
+ import { WithTranslation } from 'react-i18next';
2
3
  export type FieldSearchType = {
3
4
  className?: string;
4
5
  onCancelClick: () => void;
@@ -7,4 +8,5 @@ export type FieldSearchType = {
7
8
  debounce?: number;
8
9
  placeholder?: string;
9
10
  hideButton?: boolean;
11
+ t?: WithTranslation['t'];
10
12
  };
@@ -1,3 +1,4 @@
1
1
  import React from 'react';
2
- declare const _default: React.NamedExoticComponent<any>;
2
+ import { SpecialistCardWidgetProps } from './types';
3
+ declare const _default: React.NamedExoticComponent<SpecialistCardWidgetProps>;
3
4
  export default _default;
@@ -1,8 +1,7 @@
1
1
  import { WithTranslation } from 'react-i18next';
2
2
  export type SpecialistCardWidgetProps = {
3
- loading: boolean;
4
- } | {
5
3
  t?: WithTranslation['t'];
4
+ loading: boolean;
6
5
  videoPlayer: {
7
6
  isMuted: boolean;
8
7
  onMuteToggle: () => void;
@@ -15,6 +14,7 @@ export type SpecialistCardWidgetProps = {
15
14
  };
16
15
  export type SpecialistCard = {
17
16
  id: string;
17
+ isAddedToBookmark: boolean;
18
18
  areas: string[];
19
19
  reviews: number;
20
20
  lastName: string;