@mindly/ui-components 5.91.9 → 5.91.11
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 +6 -6
- package/dist/cjs/lib2/features/ReviewListFeature/ReviewListFeature.d.ts +1 -1
- package/dist/cjs/lib2/features/SpecialistInfoColumnFeature/SpecialistInfoColumnFeature.d.ts +2 -1
- package/dist/cjs/lib2/shared/ui/SuperSpecialist/types.d.ts +1 -0
- package/dist/cjs/lib2/widgets/SpecialistDetailWidget/types.d.ts +1 -0
- package/dist/esm/index.js +3 -3
- package/dist/esm/lib2/features/ReviewListFeature/ReviewListFeature.d.ts +1 -1
- package/dist/esm/lib2/features/SpecialistInfoColumnFeature/SpecialistInfoColumnFeature.d.ts +2 -1
- package/dist/esm/lib2/shared/ui/SuperSpecialist/types.d.ts +1 -0
- package/dist/esm/lib2/widgets/SpecialistDetailWidget/types.d.ts +1 -0
- package/dist/index.d.ts +5 -2
- package/package.json +1 -1
- package/dist/cjs/lib2/widgets/SpecialistDetailWidget/SpecialistDetailWidget.stories.d.ts +0 -9
- package/dist/esm/lib2/widgets/SpecialistDetailWidget/SpecialistDetailWidget.stories.d.ts +0 -9
|
@@ -11,7 +11,8 @@ export type SpecialistInfoColumnFeatureProps = {
|
|
|
11
11
|
isFavourite?: boolean;
|
|
12
12
|
sessionDurationMinutes: number;
|
|
13
13
|
currentPriceType: SupportedCurrency;
|
|
14
|
-
onToggleFavourite
|
|
14
|
+
onToggleFavourite?(): void;
|
|
15
|
+
onCardClick?(): void;
|
|
15
16
|
};
|
|
16
17
|
declare const SpecialistInfoColumnFeature: FC<SpecialistInfoColumnFeatureProps>;
|
|
17
18
|
export default SpecialistInfoColumnFeature;
|
package/dist/index.d.ts
CHANGED
|
@@ -2356,6 +2356,7 @@ type SuperSpecialistProps = {
|
|
|
2356
2356
|
t?: WithTranslation['t'];
|
|
2357
2357
|
variant?: 'default' | 'full';
|
|
2358
2358
|
percent?: number;
|
|
2359
|
+
onOpenArticle?(): void;
|
|
2359
2360
|
};
|
|
2360
2361
|
|
|
2361
2362
|
declare const SuperSpecialist: FC<SuperSpecialistProps>;
|
|
@@ -2947,7 +2948,8 @@ type SpecialistInfoColumnFeatureProps = {
|
|
|
2947
2948
|
isFavourite?: boolean;
|
|
2948
2949
|
sessionDurationMinutes: number;
|
|
2949
2950
|
currentPriceType: SupportedCurrency;
|
|
2950
|
-
onToggleFavourite
|
|
2951
|
+
onToggleFavourite?(): void;
|
|
2952
|
+
onCardClick?(): void;
|
|
2951
2953
|
};
|
|
2952
2954
|
declare const SpecialistInfoColumnFeature: FC<SpecialistInfoColumnFeatureProps>;
|
|
2953
2955
|
|
|
@@ -3270,7 +3272,7 @@ declare const _default$4: React__default.NamedExoticComponent<Props$2>;
|
|
|
3270
3272
|
|
|
3271
3273
|
type Props$1 = {
|
|
3272
3274
|
className?: string;
|
|
3273
|
-
list
|
|
3275
|
+
list?: SpecialistReview[];
|
|
3274
3276
|
rating: number;
|
|
3275
3277
|
reviews: number;
|
|
3276
3278
|
limit: number;
|
|
@@ -3388,6 +3390,7 @@ type SpecialistDetailWidgetProps = {
|
|
|
3388
3390
|
presentingElement?: HTMLElement;
|
|
3389
3391
|
onOpenContract?(): void;
|
|
3390
3392
|
onRateSession?(): void;
|
|
3393
|
+
onOpenSuperSpecialistArticle?(): void;
|
|
3391
3394
|
};
|
|
3392
3395
|
|
|
3393
3396
|
declare const _default: React__default.NamedExoticComponent<SpecialistDetailWidgetProps>;
|
package/package.json
CHANGED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import type { Meta, StoryObj } from '@storybook/react';
|
|
2
|
-
import SpecialistDetailWidget from './SpecialistDetailWidget';
|
|
3
|
-
declare const meta: Meta<typeof SpecialistDetailWidget>;
|
|
4
|
-
export default meta;
|
|
5
|
-
type Story = StoryObj<typeof SpecialistDetailWidget>;
|
|
6
|
-
export declare const Default: Story;
|
|
7
|
-
export declare const WithDicount: Story;
|
|
8
|
-
export declare const NotAuthorized: Story;
|
|
9
|
-
export declare const WithLoading: Story;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import type { Meta, StoryObj } from '@storybook/react';
|
|
2
|
-
import SpecialistDetailWidget from './SpecialistDetailWidget';
|
|
3
|
-
declare const meta: Meta<typeof SpecialistDetailWidget>;
|
|
4
|
-
export default meta;
|
|
5
|
-
type Story = StoryObj<typeof SpecialistDetailWidget>;
|
|
6
|
-
export declare const Default: Story;
|
|
7
|
-
export declare const WithDicount: Story;
|
|
8
|
-
export declare const NotAuthorized: Story;
|
|
9
|
-
export declare const WithLoading: Story;
|