@mindly/ui-components 5.91.18 → 5.92.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.
Files changed (92) hide show
  1. package/dist/cjs/index.js +7 -7
  2. package/dist/cjs/lib/Consultations/ConsultationCard/types.d.ts +1 -0
  3. package/dist/cjs/lib/Consultations/ConsultationSpecialistCard/ConsultationSpecialistCard.d.ts +1 -0
  4. package/dist/cjs/lib/Consultations/SignUpSessionModal/SignUpSessionModal.d.ts +1 -0
  5. package/dist/cjs/lib2/features/AppHeaderPageFeature/AppHeaderPageFeature.d.ts +4 -0
  6. package/dist/cjs/lib2/features/AppHeaderPageFeature/AppHeaderPageFeature.stories.d.ts +7 -0
  7. package/dist/cjs/lib2/features/AppHeaderPageFeature/AppHeaderPageSkeletonFeature.d.ts +3 -0
  8. package/dist/cjs/lib2/features/AppHeaderPageFeature/index.d.ts +1 -0
  9. package/dist/cjs/lib2/features/AppHeaderPageFeature/types.d.ts +5 -0
  10. package/dist/cjs/lib2/features/SpecialistPreviewFeature/SpecialistPreviewFeature.d.ts +4 -0
  11. package/dist/cjs/lib2/features/SpecialistPreviewFeature/SpecialistPreviewFeatureSkeleton.d.ts +3 -0
  12. package/dist/cjs/lib2/features/SpecialistPreviewFeature/index.d.ts +1 -0
  13. package/dist/cjs/lib2/features/SpecialistPreviewFeature/types.d.ts +10 -0
  14. package/dist/cjs/lib2/features/index.d.ts +2 -0
  15. package/dist/cjs/lib2/shared/assets/icons/IconEmptyList.d.ts +3 -0
  16. package/dist/cjs/lib2/shared/assets/icons/index.d.ts +1 -0
  17. package/dist/cjs/lib2/shared/types/consultation.d.ts +45 -0
  18. package/dist/cjs/lib2/shared/types/index.d.ts +3 -0
  19. package/dist/cjs/lib2/shared/types/specialistTypes.d.ts +1 -0
  20. package/dist/cjs/lib2/shared/types/subscription.d.ts +44 -0
  21. package/dist/cjs/lib2/shared/ui/Button_v2/Button_v2.d.ts +1 -1
  22. package/dist/cjs/lib2/shared/ui/Button_v2/Button_v2.style.d.ts +1 -1
  23. package/dist/cjs/lib2/shared/ui/Divider/Divider.d.ts +4 -0
  24. package/dist/cjs/lib2/shared/ui/Divider/index.d.ts +2 -0
  25. package/dist/cjs/lib2/shared/ui/Divider/styles.d.ts +49 -0
  26. package/dist/cjs/lib2/shared/ui/Divider/types.d.ts +4 -0
  27. package/dist/cjs/lib2/shared/ui/EmptyList/EmptyList.d.ts +4 -0
  28. package/dist/cjs/lib2/shared/ui/EmptyList/EmptyList.stories.d.ts +6 -0
  29. package/dist/cjs/lib2/shared/ui/EmptyList/index.d.ts +1 -0
  30. package/dist/cjs/lib2/shared/ui/EmptyList/types.d.ts +5 -0
  31. package/dist/cjs/lib2/shared/ui/SpecialistProfileNotFound/SpecialistProfileNotFound.d.ts +4 -0
  32. package/dist/cjs/lib2/shared/ui/SpecialistProfileNotFound/SpecialistProfileNotFound.stories.d.ts +7 -0
  33. package/dist/cjs/lib2/shared/ui/SpecialistProfileNotFound/index.d.ts +1 -0
  34. package/dist/cjs/lib2/shared/ui/SpecialistProfileNotFound/types.d.ts +6 -0
  35. package/dist/cjs/lib2/shared/ui/index.d.ts +3 -0
  36. package/dist/cjs/lib2/shared/utils/index.d.ts +2 -0
  37. package/dist/cjs/lib2/shared/utils/specialistStatus.d.ts +4 -0
  38. package/dist/cjs/lib2/shared/utils/userCan.d.ts +13 -0
  39. package/dist/cjs/lib2/widgets/SpecialistCardWidget/SpecialistCardWidget.stories.d.ts +1 -0
  40. package/dist/cjs/lib2/widgets/SpecialistPreviewListWidget/SpecialistPreviewListWidget.d.ts +4 -0
  41. package/dist/cjs/lib2/widgets/SpecialistPreviewListWidget/SpecialistPreviewListWidget.stories.d.ts +7 -0
  42. package/dist/cjs/lib2/widgets/SpecialistPreviewListWidget/SpecialistPreviewListWidgetSkeleton.d.ts +3 -0
  43. package/dist/cjs/lib2/widgets/SpecialistPreviewListWidget/index.d.ts +1 -0
  44. package/dist/cjs/lib2/widgets/SpecialistPreviewListWidget/types.d.ts +11 -0
  45. package/dist/cjs/lib2/widgets/index.d.ts +1 -0
  46. package/dist/esm/index.js +7 -7
  47. package/dist/esm/lib/Consultations/ConsultationCard/types.d.ts +1 -0
  48. package/dist/esm/lib/Consultations/ConsultationSpecialistCard/ConsultationSpecialistCard.d.ts +1 -0
  49. package/dist/esm/lib/Consultations/SignUpSessionModal/SignUpSessionModal.d.ts +1 -0
  50. package/dist/esm/lib2/features/AppHeaderPageFeature/AppHeaderPageFeature.d.ts +4 -0
  51. package/dist/esm/lib2/features/AppHeaderPageFeature/AppHeaderPageFeature.stories.d.ts +7 -0
  52. package/dist/esm/lib2/features/AppHeaderPageFeature/AppHeaderPageSkeletonFeature.d.ts +3 -0
  53. package/dist/esm/lib2/features/AppHeaderPageFeature/index.d.ts +1 -0
  54. package/dist/esm/lib2/features/AppHeaderPageFeature/types.d.ts +5 -0
  55. package/dist/esm/lib2/features/SpecialistPreviewFeature/SpecialistPreviewFeature.d.ts +4 -0
  56. package/dist/esm/lib2/features/SpecialistPreviewFeature/SpecialistPreviewFeatureSkeleton.d.ts +3 -0
  57. package/dist/esm/lib2/features/SpecialistPreviewFeature/index.d.ts +1 -0
  58. package/dist/esm/lib2/features/SpecialistPreviewFeature/types.d.ts +10 -0
  59. package/dist/esm/lib2/features/index.d.ts +2 -0
  60. package/dist/esm/lib2/shared/assets/icons/IconEmptyList.d.ts +3 -0
  61. package/dist/esm/lib2/shared/assets/icons/index.d.ts +1 -0
  62. package/dist/esm/lib2/shared/types/consultation.d.ts +45 -0
  63. package/dist/esm/lib2/shared/types/index.d.ts +3 -0
  64. package/dist/esm/lib2/shared/types/specialistTypes.d.ts +1 -0
  65. package/dist/esm/lib2/shared/types/subscription.d.ts +44 -0
  66. package/dist/esm/lib2/shared/ui/Button_v2/Button_v2.d.ts +1 -1
  67. package/dist/esm/lib2/shared/ui/Button_v2/Button_v2.style.d.ts +1 -1
  68. package/dist/esm/lib2/shared/ui/Divider/Divider.d.ts +4 -0
  69. package/dist/esm/lib2/shared/ui/Divider/index.d.ts +2 -0
  70. package/dist/esm/lib2/shared/ui/Divider/styles.d.ts +49 -0
  71. package/dist/esm/lib2/shared/ui/Divider/types.d.ts +4 -0
  72. package/dist/esm/lib2/shared/ui/EmptyList/EmptyList.d.ts +4 -0
  73. package/dist/esm/lib2/shared/ui/EmptyList/EmptyList.stories.d.ts +6 -0
  74. package/dist/esm/lib2/shared/ui/EmptyList/index.d.ts +1 -0
  75. package/dist/esm/lib2/shared/ui/EmptyList/types.d.ts +5 -0
  76. package/dist/esm/lib2/shared/ui/SpecialistProfileNotFound/SpecialistProfileNotFound.d.ts +4 -0
  77. package/dist/esm/lib2/shared/ui/SpecialistProfileNotFound/SpecialistProfileNotFound.stories.d.ts +7 -0
  78. package/dist/esm/lib2/shared/ui/SpecialistProfileNotFound/index.d.ts +1 -0
  79. package/dist/esm/lib2/shared/ui/SpecialistProfileNotFound/types.d.ts +6 -0
  80. package/dist/esm/lib2/shared/ui/index.d.ts +3 -0
  81. package/dist/esm/lib2/shared/utils/index.d.ts +2 -0
  82. package/dist/esm/lib2/shared/utils/specialistStatus.d.ts +4 -0
  83. package/dist/esm/lib2/shared/utils/userCan.d.ts +13 -0
  84. package/dist/esm/lib2/widgets/SpecialistCardWidget/SpecialistCardWidget.stories.d.ts +1 -0
  85. package/dist/esm/lib2/widgets/SpecialistPreviewListWidget/SpecialistPreviewListWidget.d.ts +4 -0
  86. package/dist/esm/lib2/widgets/SpecialistPreviewListWidget/SpecialistPreviewListWidget.stories.d.ts +7 -0
  87. package/dist/esm/lib2/widgets/SpecialistPreviewListWidget/SpecialistPreviewListWidgetSkeleton.d.ts +3 -0
  88. package/dist/esm/lib2/widgets/SpecialistPreviewListWidget/index.d.ts +1 -0
  89. package/dist/esm/lib2/widgets/SpecialistPreviewListWidget/types.d.ts +11 -0
  90. package/dist/esm/lib2/widgets/index.d.ts +1 -0
  91. package/dist/index.d.ts +161 -2
  92. package/package.json +1 -1
@@ -29,4 +29,5 @@ export type ConsultationCardProps = {
29
29
  choose_day_and_time?: string;
30
30
  sign_up?: string;
31
31
  };
32
+ isBlockedText?: string;
32
33
  };
@@ -7,6 +7,7 @@ type ConsultationSpecialistCardProps = {
7
7
  onClick?: (id: string) => void;
8
8
  onSignUp?: (id: string) => void;
9
9
  signInBtnLabel: string;
10
+ isBlockedText?: string;
10
11
  };
11
12
  declare const _default: React.NamedExoticComponent<ConsultationSpecialistCardProps>;
12
13
  export default _default;
@@ -3,6 +3,7 @@ type SpecialistData = {
3
3
  id: string;
4
4
  name: string;
5
5
  avatar?: string;
6
+ isBlockedText?: string;
6
7
  sessions: string;
7
8
  };
8
9
  type SignUpSessionModalProps = {
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { AppHeaderPageProps } from './types';
3
+ declare const AppHeaderPage: React.FC<AppHeaderPageProps>;
4
+ export default AppHeaderPage;
@@ -0,0 +1,7 @@
1
+ import type { Meta, StoryObj } from '@storybook/react';
2
+ import AppHeaderPage from './AppHeaderPageFeature';
3
+ declare const meta: Meta<typeof AppHeaderPage>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof AppHeaderPage>;
6
+ export declare const Default: Story;
7
+ export declare const Loading: Story;
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ declare const AppHeaderSkeleton: React.FC;
3
+ export default AppHeaderSkeleton;
@@ -0,0 +1 @@
1
+ export { default as AppHeaderPageFeature } from './AppHeaderPageFeature';
@@ -0,0 +1,5 @@
1
+ export type AppHeaderPageProps = {
2
+ isLoading?: boolean;
3
+ className?: string;
4
+ onClose?(): void;
5
+ };
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { SpecialistPreviewFeatureProps } from './types';
3
+ declare const SpecialistPreviewFeature: React.FC<SpecialistPreviewFeatureProps>;
4
+ export default SpecialistPreviewFeature;
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ declare const SpecialistPreviewFeatureSkeleton: React.FC;
3
+ export default SpecialistPreviewFeatureSkeleton;
@@ -0,0 +1 @@
1
+ export { default as SpecialistPreviewFeature } from './SpecialistPreviewFeature';
@@ -0,0 +1,10 @@
1
+ import { WithTranslation } from 'react-i18next';
2
+ import { Specialist } from '../../shared/types';
3
+ export type SpecialistPreviewFeatureProps = {
4
+ specialist?: Specialist;
5
+ className?: string;
6
+ isLoading?: boolean;
7
+ onClick?(specialist: Specialist): void;
8
+ onToggleFavourite?(specialist: Specialist): void;
9
+ t?: WithTranslation['t'];
10
+ };
@@ -33,3 +33,5 @@ export * from './SpecialistAreaListFeature';
33
33
  export * from './TextWithClampFeature';
34
34
  export * from './ReviewListFeature';
35
35
  export * from './SpecialistEducationsFeature';
36
+ export * from './SpecialistPreviewFeature';
37
+ export * from './AppHeaderPageFeature';
@@ -0,0 +1,3 @@
1
+ import * as React from 'react';
2
+ import { IconProps } from '../../types/iconProps';
3
+ export declare const IconEmptyList: React.FC<IconProps>;
@@ -96,3 +96,4 @@ export * from './IconPlay';
96
96
  export * from './IconStudyHat';
97
97
  export * from './IconMindlyColored';
98
98
  export * from './IconUser';
99
+ export * from './IconEmptyList';
@@ -0,0 +1,45 @@
1
+ import { ClientSpecialistContractStatusEnum } from './contract';
2
+ import { Specialist } from './specialistTypes';
3
+ export type Consultation = {
4
+ id: string;
5
+ consultation_time: {
6
+ _seconds: number;
7
+ nanoseconds: number;
8
+ } | string;
9
+ consultation_with: string;
10
+ duration: number;
11
+ exchange_rate: string;
12
+ payment_date: {
13
+ _seconds: number;
14
+ nanoseconds: number;
15
+ };
16
+ payment_type?: string;
17
+ price: number;
18
+ price_uah: number;
19
+ psychologist_avatar: string;
20
+ psychologist_id: string;
21
+ psychologist_name: string;
22
+ psychologist_timezone: string;
23
+ user_avatar: string;
24
+ user_id: string;
25
+ user_name: string;
26
+ user_timezone: string;
27
+ videochat_url: string;
28
+ was_rescheduled: boolean;
29
+ session_status?: 'client_showed' | 'client_not_showed';
30
+ consultation_time_before_rescheduling?: {
31
+ _seconds: number;
32
+ nanoseconds: number;
33
+ };
34
+ therapist?: Specialist;
35
+ client?: {
36
+ specialist_client_contract_id?: string | null;
37
+ specialist_client_contract_status?: ClientSpecialistContractStatusEnum | null;
38
+ };
39
+ applied_promotional_code?: string | null;
40
+ auto_booking_status?: 'enable' | 'disable';
41
+ subscription_id?: string | null;
42
+ price_type?: string;
43
+ price_default?: number;
44
+ payment_intent_id?: string;
45
+ };
@@ -1,3 +1,4 @@
1
+ export type AutoComplete<T extends string> = T | (string & {});
1
2
  export * from './ratingCircleTypes';
2
3
  export * from './specialistPaymentTypes';
3
4
  export * from './iconProps';
@@ -9,3 +10,5 @@ export * from './specialistTypes';
9
10
  export * from './review';
10
11
  export * from './contract';
11
12
  export * from './user';
13
+ export * from './subscription';
14
+ export * from './consultation';
@@ -62,4 +62,5 @@ export type Specialist = {
62
62
  app_lang?: string;
63
63
  isFavourite?: boolean;
64
64
  subscription_discounts?: Record<string, number>;
65
+ is_blocked?: boolean;
65
66
  };
@@ -0,0 +1,44 @@
1
+ import { SupportedCurrency } from './common';
2
+ import { Specialist } from './specialistTypes';
3
+ import { UserType } from './user';
4
+ export type SubscriptionStatuses = 'incomplete' | 'incomplete_expired' | 'trialing' | 'active' | 'past_due' | 'canceled' | 'unpaid';
5
+ export type Subscription = {
6
+ id: string;
7
+ last_charge: number;
8
+ period_start: number;
9
+ period_end: number;
10
+ therapist_id: string;
11
+ user_id: string;
12
+ session_count: number;
13
+ subscription_interval_in_month: number;
14
+ subscription_status: SubscriptionStatuses;
15
+ stripe_subscription_id: string;
16
+ session_price: number;
17
+ session_price_default: number;
18
+ session_price_type: SupportedCurrency;
19
+ session_price_uah?: number;
20
+ /**
21
+ * @deprecated
22
+ */
23
+ session_price_by_session_in_eur?: number;
24
+ /**
25
+ * @deprecated
26
+ */
27
+ session_price_by_session_in_uah?: number;
28
+ created_at: number;
29
+ product_id: string;
30
+ subscription_item_id: string;
31
+ discount: number;
32
+ cancel_at_period_end: boolean | null;
33
+ canceled_at?: number;
34
+ pause_collection?: boolean;
35
+ pause_used_at?: number | null;
36
+ number_of_sessions_per_week: number;
37
+ used_balance: number;
38
+ therapist: Specialist;
39
+ user: UserType;
40
+ next_payment_default_in_cents: number;
41
+ next_payment_original_in_cents: number;
42
+ exchange_rate_in_basis_points: number;
43
+ charge_currency: SupportedCurrency;
44
+ };
@@ -3,7 +3,7 @@ import { JSX } from '@ionic/core/components';
3
3
  export type ButtonProps = {
4
4
  fill?: 'outline' | 'clear';
5
5
  size?: 'default' | 'large' | 'small';
6
- customSize?: 'smaller';
6
+ customSize?: 'smaller' | 'auto';
7
7
  withDefaultState?: boolean;
8
8
  color?: undefined;
9
9
  fullWidth?: boolean;
@@ -7,7 +7,7 @@ export declare const ButtonStyled: import("styled-components").StyledComponent<i
7
7
  } & Pick<import("react").HTMLAttributes<HTMLIonButtonElement>, "slot" | "title" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "children" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture"> & import("@ionic/react/dist/types/components/IonicReactProps").IonicReactProps & import("react").RefAttributes<HTMLIonButtonElement>>, any, {
8
8
  fill?: "clear" | "outline" | undefined;
9
9
  size?: "small" | "default" | "large" | undefined;
10
- customSize?: "smaller" | undefined;
10
+ customSize?: "auto" | "smaller" | undefined;
11
11
  withDefaultState?: boolean | undefined;
12
12
  color?: undefined;
13
13
  fullWidth?: boolean | undefined;
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { DividerProps } from './types';
3
+ declare const Divider: React.FC<DividerProps>;
4
+ export default Divider;
@@ -0,0 +1,2 @@
1
+ export { default } from './Divider';
2
+ export * from './types';
@@ -0,0 +1,49 @@
1
+ export declare const dividerStyles: import("tailwind-variants").TVReturnType<{
2
+ variant: {
3
+ default: {
4
+ root: string;
5
+ };
6
+ };
7
+ }, {
8
+ root: string;
9
+ }, undefined, import("tailwind-variants/dist/config").TVConfig<{
10
+ variant: {
11
+ default: {
12
+ root: string;
13
+ };
14
+ };
15
+ }, {
16
+ variant: {
17
+ default: {
18
+ root: string;
19
+ };
20
+ };
21
+ }>, {
22
+ variant: {
23
+ default: {
24
+ root: string;
25
+ };
26
+ };
27
+ }, {
28
+ root: string;
29
+ }, import("tailwind-variants").TVReturnType<{
30
+ variant: {
31
+ default: {
32
+ root: string;
33
+ };
34
+ };
35
+ }, {
36
+ root: string;
37
+ }, undefined, import("tailwind-variants/dist/config").TVConfig<{
38
+ variant: {
39
+ default: {
40
+ root: string;
41
+ };
42
+ };
43
+ }, {
44
+ variant: {
45
+ default: {
46
+ root: string;
47
+ };
48
+ };
49
+ }>, unknown, unknown, undefined>>;
@@ -0,0 +1,4 @@
1
+ export type DividerProps = {
2
+ className?: string;
3
+ variant?: 'default';
4
+ };
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { EmptyListProps } from './types';
3
+ declare const EmptyList: React.FC<EmptyListProps>;
4
+ export default EmptyList;
@@ -0,0 +1,6 @@
1
+ import type { Meta, StoryObj } from '@storybook/react';
2
+ import EmptyList from './EmptyList';
3
+ declare const meta: Meta<typeof EmptyList>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof EmptyList>;
6
+ export declare const Default: Story;
@@ -0,0 +1 @@
1
+ export { default as EmptyList } from './EmptyList';
@@ -0,0 +1,5 @@
1
+ import { WithTranslation } from 'react-i18next';
2
+ export type EmptyListProps = {
3
+ className?: string;
4
+ t?: WithTranslation['t'];
5
+ };
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { SpecialistProfileNotFoundProps } from './types';
3
+ declare const SpecialistProfileNotFound: React.FC<SpecialistProfileNotFoundProps>;
4
+ export default SpecialistProfileNotFound;
@@ -0,0 +1,7 @@
1
+ import type { Meta, StoryObj } from '@storybook/react';
2
+ import SpecialistProfileNotFound from './SpecialistProfileNotFound';
3
+ declare const meta: Meta<typeof SpecialistProfileNotFound>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof SpecialistProfileNotFound>;
6
+ export declare const Default: Story;
7
+ export declare const WithAuth: Story;
@@ -0,0 +1 @@
1
+ export { default as SpecialistProfileNotFound } from './SpecialistProfileNotFound';
@@ -0,0 +1,6 @@
1
+ import { WithTranslation } from 'react-i18next';
2
+ export type SpecialistProfileNotFoundProps = {
3
+ className?: string;
4
+ t?: WithTranslation['t'];
5
+ isAuth?: boolean;
6
+ };
@@ -40,3 +40,6 @@ export * from './MatchProgress';
40
40
  export * from './ListItemWithColumns';
41
41
  export * from './ShowMore';
42
42
  export * from './ReviewsSummary';
43
+ export * from './Divider';
44
+ export * from './EmptyList';
45
+ export * from './SpecialistProfileNotFound';
@@ -4,3 +4,5 @@ export { priceNormalize } from './priceNormalizer';
4
4
  export { newShade } from './newShade';
5
5
  export { replaceMarkdownWithReactElements } from './replaceMarkdownWithReactElements';
6
6
  export { getSignAgreementsTabs } from './getSignAgreementsTabs';
7
+ export * from './specialistStatus';
8
+ export * from './userCan';
@@ -0,0 +1,4 @@
1
+ import { Specialist } from '../types/specialistTypes';
2
+ export declare const isSpecialistActive: (specialist: Specialist) => boolean;
3
+ export declare const isSpecialistPublic: (specialist: Specialist) => boolean;
4
+ export declare const isSpecialistBlocked: (specialist: Specialist) => boolean;
@@ -0,0 +1,13 @@
1
+ import { AutoComplete } from '../types';
2
+ import { Consultation } from '../types/consultation';
3
+ import { Specialist } from '../types/specialistTypes';
4
+ import { Subscription } from '../types/subscription';
5
+ export type ClientCanAction = AutoComplete<'book_session'>;
6
+ export type ClientCanParams = {
7
+ action: ClientCanAction;
8
+ specialist: Specialist;
9
+ activeSubscription?: Subscription | null;
10
+ subscriptionAvailableBalance?: number;
11
+ consultations?: Consultation[];
12
+ };
13
+ export declare const isClientCan: ({ action, ...params }: ClientCanParams) => boolean;
@@ -7,3 +7,4 @@ export declare const Default: Story;
7
7
  export declare const WithLoading: Story;
8
8
  export declare const AvarageMatch: Story;
9
9
  export declare const IsAddedToFavourite: Story;
10
+ export declare const WithoutBadges: Story;
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { SpecialistPreviewListWidgetProps } from './types';
3
+ declare const SpecialistPreviewListWidget: React.FC<SpecialistPreviewListWidgetProps>;
4
+ export default SpecialistPreviewListWidget;
@@ -0,0 +1,7 @@
1
+ import type { Meta, StoryObj } from '@storybook/react';
2
+ import SpecialistPreviewListWidget from './SpecialistPreviewListWidget';
3
+ declare const meta: Meta<typeof SpecialistPreviewListWidget>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof SpecialistPreviewListWidget>;
6
+ export declare const Default: Story;
7
+ export declare const Loading: Story;
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ declare const SpecialistPreviewListWidget: React.FC;
3
+ export default SpecialistPreviewListWidget;
@@ -0,0 +1 @@
1
+ export { default as SpecialistPreviewListWidget } from './SpecialistPreviewListWidget';
@@ -0,0 +1,11 @@
1
+ import { WithTranslation } from 'react-i18next';
2
+ import { Specialist } from '../../shared';
3
+ export type SpecialistPreviewListWidgetProps = {
4
+ specialists: Specialist[];
5
+ isLoading?: boolean;
6
+ title?: string;
7
+ className?: string;
8
+ onToggleFavourite?(specialist: Specialist): void;
9
+ onCardClick?(specialist: Specialist): void;
10
+ t?: WithTranslation['t'];
11
+ };
@@ -4,3 +4,4 @@ export * from './SpecialistPaymentWidget';
4
4
  export * from './SpecialistPaymentResumeWidget';
5
5
  export * from './UpdateContractWidget';
6
6
  export * from './SpecialistDetailWidget';
7
+ export * from './SpecialistPreviewListWidget';