@mindly/ui-components 5.91.3 → 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
  }
@@ -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
@@ -2932,6 +2932,7 @@ type SpecialistShortInfoItemFeatureProps = {
2932
2932
  rating?: number;
2933
2933
  isSpecialistUnAvailable?: boolean;
2934
2934
  isAuth?: boolean;
2935
+ variantFullName?: TypographyVariantsEnum;
2935
2936
  onClickReview?(): void;
2936
2937
  };
2937
2938
  declare const SpecialistShortInfoItemFeature: FC<SpecialistShortInfoItemFeatureProps>;
@@ -3248,6 +3249,7 @@ type SpecialistAreaListProps = {
3248
3249
  limit?: number;
3249
3250
  t?: WithTranslation['t'];
3250
3251
  fillTextWithMatch?: boolean;
3252
+ presentingElement?: HTMLElement;
3251
3253
  };
3252
3254
 
3253
3255
  declare const SpecialistAreaList: FC<SpecialistAreaListProps>;
@@ -3261,6 +3263,7 @@ interface Props$2 extends Omit<TypographyProps, 'children'> {
3261
3263
  classNameTitle?: string;
3262
3264
  onExpand?(): void;
3263
3265
  t?: WithTranslation['t'];
3266
+ presentingElement?: HTMLElement;
3264
3267
  }
3265
3268
 
3266
3269
  declare const _default$4: React__default.NamedExoticComponent<Props$2>;
@@ -3273,6 +3276,7 @@ type Props$1 = {
3273
3276
  limit: number;
3274
3277
  t?: WithTranslation['t'];
3275
3278
  onLoadMore?(): void;
3279
+ presentingElement?: HTMLElement;
3276
3280
  };
3277
3281
  interface ReviewListFeatureRef {
3278
3282
  openModalReviews: () => void;
@@ -3285,6 +3289,7 @@ type Props = {
3285
3289
  className?: string;
3286
3290
  classNameTitle?: string;
3287
3291
  t?: WithTranslation['t'];
3292
+ presentingElement?: HTMLElement;
3288
3293
  };
3289
3294
  declare const SpecialistEducationsFeature: FC<Props>;
3290
3295
 
@@ -3378,6 +3383,7 @@ type SpecialistDetailWidgetProps = {
3378
3383
  hasSessions?: boolean;
3379
3384
  showContract?: boolean;
3380
3385
  showReview?: boolean;
3386
+ presentingElement?: HTMLElement;
3381
3387
  onOpenContract?(): void;
3382
3388
  onRateSession?(): void;
3383
3389
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mindly/ui-components",
3
- "version": "5.91.3",
3
+ "version": "5.91.4",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "clean": "rimraf dist",