@mindly/ui-components 5.91.2 → 5.91.4

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.
@@ -9,6 +9,7 @@ type Props = {
9
9
  limit: number;
10
10
  t?: WithTranslation['t'];
11
11
  onLoadMore?(): void;
12
+ presentingElement?: HTMLElement;
12
13
  };
13
14
  export interface ReviewListFeatureRef {
14
15
  openModalReviews: () => void;
@@ -12,4 +12,5 @@ export type SpecialistAreaListProps = {
12
12
  limit?: number;
13
13
  t?: WithTranslation['t'];
14
14
  fillTextWithMatch?: boolean;
15
+ presentingElement?: HTMLElement;
15
16
  };
@@ -7,6 +7,7 @@ type Props = {
7
7
  className?: string;
8
8
  classNameTitle?: string;
9
9
  t?: WithTranslation['t'];
10
+ presentingElement?: HTMLElement;
10
11
  };
11
12
  declare const SpecialistEducationsFeature: FC<Props>;
12
13
  export default SpecialistEducationsFeature;
@@ -1,5 +1,6 @@
1
1
  import { FC } from 'react';
2
2
  import { WithTranslation } from 'react-i18next';
3
+ import { TypographyVariantsEnum } from '../../shared';
3
4
  import { Avatar_v2Props } from '../../../lib2/shared/ui/Avatar_v2';
4
5
  export type SpecialistShortInfoItemFeatureProps = {
5
6
  t?: WithTranslation['t'];
@@ -15,6 +16,7 @@ export type SpecialistShortInfoItemFeatureProps = {
15
16
  rating?: number;
16
17
  isSpecialistUnAvailable?: boolean;
17
18
  isAuth?: boolean;
19
+ variantFullName?: TypographyVariantsEnum;
18
20
  onClickReview?(): void;
19
21
  };
20
22
  declare const SpecialistShortInfoItemFeature: FC<SpecialistShortInfoItemFeatureProps>;
@@ -9,4 +9,5 @@ export interface Props extends Omit<TypographyProps, 'children'> {
9
9
  classNameTitle?: string;
10
10
  onExpand?(): void;
11
11
  t?: WithTranslation['t'];
12
+ presentingElement?: HTMLElement;
12
13
  }
@@ -94,4 +94,5 @@ export type OnBoardingFlowType = {
94
94
  locale: string;
95
95
  name: string;
96
96
  screens: Record<string, OnBoardingScreensType>;
97
+ isWebToWeb?: boolean;
97
98
  };
@@ -16,7 +16,7 @@ export declare const badge: import("tailwind-variants").TVReturnType<{
16
16
  default: "";
17
17
  accent: "";
18
18
  };
19
- }, undefined, "inline-flex justify-center items-center rounded-3xl gap-1", import("tailwind-variants/dist/config").TVConfig<{
19
+ }, undefined, "inline-flex justify-center items-center rounded-3xl gap-1 text-typography-typography-primary font-sans", import("tailwind-variants/dist/config").TVConfig<{
20
20
  variant: {
21
21
  attention: "";
22
22
  neutral: "";
@@ -88,7 +88,7 @@ export declare const badge: import("tailwind-variants").TVReturnType<{
88
88
  default: "";
89
89
  accent: "";
90
90
  };
91
- }, undefined, "inline-flex justify-center items-center rounded-3xl gap-1", import("tailwind-variants/dist/config").TVConfig<{
91
+ }, undefined, "inline-flex justify-center items-center rounded-3xl gap-1 text-typography-typography-primary font-sans", import("tailwind-variants/dist/config").TVConfig<{
92
92
  variant: {
93
93
  attention: "";
94
94
  neutral: "";
@@ -1,5 +1,7 @@
1
1
  import { UserType } from '../types/user';
2
2
  import { Specialist } from '../types/specialistTypes';
3
+ import { SpecialistReview } from '../types';
3
4
  export declare const mockT: (translate?: Record<string, string>) => TFunction<import("react-i18next").FallbackNs<Ns>, KPrefix>;
4
5
  export declare const specialist: Specialist;
5
6
  export declare const currentUser: UserType;
7
+ export declare const listReviews: SpecialistReview[];
@@ -14,6 +14,7 @@ export type SpecialistDetailWidgetProps = {
14
14
  hasSessions?: boolean;
15
15
  showContract?: boolean;
16
16
  showReview?: boolean;
17
+ presentingElement?: HTMLElement;
17
18
  onOpenContract?(): void;
18
19
  onRateSession?(): void;
19
20
  };
package/dist/index.d.ts CHANGED
@@ -1926,6 +1926,7 @@ type OnBoardingFlowType = {
1926
1926
  locale: string;
1927
1927
  name: string;
1928
1928
  screens: Record<string, OnBoardingScreensType>;
1929
+ isWebToWeb?: boolean;
1929
1930
  };
1930
1931
 
1931
1932
  declare enum ContractStatusEnum {
@@ -2931,6 +2932,7 @@ type SpecialistShortInfoItemFeatureProps = {
2931
2932
  rating?: number;
2932
2933
  isSpecialistUnAvailable?: boolean;
2933
2934
  isAuth?: boolean;
2935
+ variantFullName?: TypographyVariantsEnum;
2934
2936
  onClickReview?(): void;
2935
2937
  };
2936
2938
  declare const SpecialistShortInfoItemFeature: FC<SpecialistShortInfoItemFeatureProps>;
@@ -3247,6 +3249,7 @@ type SpecialistAreaListProps = {
3247
3249
  limit?: number;
3248
3250
  t?: WithTranslation['t'];
3249
3251
  fillTextWithMatch?: boolean;
3252
+ presentingElement?: HTMLElement;
3250
3253
  };
3251
3254
 
3252
3255
  declare const SpecialistAreaList: FC<SpecialistAreaListProps>;
@@ -3260,6 +3263,7 @@ interface Props$2 extends Omit<TypographyProps, 'children'> {
3260
3263
  classNameTitle?: string;
3261
3264
  onExpand?(): void;
3262
3265
  t?: WithTranslation['t'];
3266
+ presentingElement?: HTMLElement;
3263
3267
  }
3264
3268
 
3265
3269
  declare const _default$4: React__default.NamedExoticComponent<Props$2>;
@@ -3272,6 +3276,7 @@ type Props$1 = {
3272
3276
  limit: number;
3273
3277
  t?: WithTranslation['t'];
3274
3278
  onLoadMore?(): void;
3279
+ presentingElement?: HTMLElement;
3275
3280
  };
3276
3281
  interface ReviewListFeatureRef {
3277
3282
  openModalReviews: () => void;
@@ -3284,6 +3289,7 @@ type Props = {
3284
3289
  className?: string;
3285
3290
  classNameTitle?: string;
3286
3291
  t?: WithTranslation['t'];
3292
+ presentingElement?: HTMLElement;
3287
3293
  };
3288
3294
  declare const SpecialistEducationsFeature: FC<Props>;
3289
3295
 
@@ -3377,6 +3383,7 @@ type SpecialistDetailWidgetProps = {
3377
3383
  hasSessions?: boolean;
3378
3384
  showContract?: boolean;
3379
3385
  showReview?: boolean;
3386
+ presentingElement?: HTMLElement;
3380
3387
  onOpenContract?(): void;
3381
3388
  onRateSession?(): void;
3382
3389
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mindly/ui-components",
3
- "version": "5.91.2",
3
+ "version": "5.91.4",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "clean": "rimraf dist",