@mindly/ui-components 5.103.1 → 5.103.2
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/configs/tailwind/colors.d.ts +1 -0
- package/dist/cjs/index.js +15 -7
- package/dist/cjs/lib2/features/Charts/ChartAreaFeature/ChartAreaFeature.d.ts +8 -0
- package/dist/cjs/lib2/features/Charts/ChartAreaFeature/index.d.ts +1 -0
- package/dist/cjs/lib2/features/Charts/ChartLinesFeature/ChartLinesFeature.d.ts +9 -0
- package/dist/cjs/lib2/features/Charts/ChartLinesFeature/index.d.ts +1 -0
- package/dist/cjs/lib2/features/Charts/components/DotLabel.d.ts +18 -0
- package/dist/cjs/lib2/features/Charts/config.d.ts +32 -0
- package/dist/cjs/lib2/features/Charts/index.d.ts +2 -0
- package/dist/cjs/lib2/features/Charts/types.d.ts +30 -0
- package/dist/cjs/lib2/features/DropdownFeature/DropdownFeature.d.ts +4 -0
- package/dist/cjs/lib2/features/DropdownFeature/DropdownFeature.stories.d.ts +7 -0
- package/dist/cjs/lib2/features/DropdownFeature/index.d.ts +1 -0
- package/dist/cjs/lib2/features/DropdownFeature/types.d.ts +8 -0
- package/dist/cjs/lib2/features/MarkdownContainerFeature/MarkdownContainerFeature.d.ts +1 -0
- package/dist/cjs/lib2/features/OnBoardingFlow/OnBoardingChartScreenPreviewFeature/OnBoardingChartScreenPreviewFeature.d.ts +10 -0
- package/dist/cjs/lib2/features/OnBoardingFlow/OnBoardingChartScreenPreviewFeature/index.d.ts +1 -0
- package/dist/cjs/lib2/features/OnBoardingFlow/OnBoardingCompareScreenPreviewFeature /OnBoardingCompareScreenPreviewFeature.d.ts +9 -0
- package/dist/cjs/lib2/features/OnBoardingFlow/OnBoardingCompareScreenPreviewFeature /index.d.ts +1 -0
- package/dist/cjs/lib2/features/OnBoardingFlow/OnBoardingPaywallScreenPreviewFeature/OnBoardingPaywallScreenPreviewFeature.d.ts +13 -0
- package/dist/cjs/lib2/features/OnBoardingFlow/OnBoardingPaywallScreenPreviewFeature/components/HowItWorksItem.d.ts +7 -0
- package/dist/cjs/lib2/features/OnBoardingFlow/OnBoardingPaywallScreenPreviewFeature/components/TrustItem.d.ts +7 -0
- package/dist/cjs/lib2/features/OnBoardingFlow/OnBoardingPaywallScreenPreviewFeature/conts.d.ts +63 -0
- package/dist/cjs/lib2/features/OnBoardingFlow/OnBoardingPaywallScreenPreviewFeature/index.d.ts +1 -0
- package/dist/cjs/lib2/features/OnBoardingFlow/OnBoardingPaywallScreenPreviewFeature/styles.d.ts +76 -0
- package/dist/cjs/lib2/features/OnBoardingFlow/index.d.ts +3 -0
- package/dist/cjs/lib2/features/PoweredByStripeFeature/PoweredByStripeFeature.d.ts +4 -0
- package/dist/cjs/lib2/features/PoweredByStripeFeature/PoweredByStripeFeature.stories.d.ts +6 -0
- package/dist/cjs/lib2/features/PoweredByStripeFeature/index.d.ts +1 -0
- package/dist/cjs/lib2/features/PoweredByStripeFeature/types.d.ts +4 -0
- package/dist/cjs/lib2/features/ReviewCardFeature/ReviewCardFeature.d.ts +3 -1
- package/dist/cjs/lib2/features/ReviewCardFeature/styles.d.ts +85 -0
- package/dist/cjs/lib2/features/TariffFeature/TariffFeature.d.ts +4 -0
- package/dist/cjs/lib2/features/TariffFeature/TariffFeature.stories.d.ts +9 -0
- package/dist/cjs/lib2/features/TariffFeature/index.d.ts +1 -0
- package/dist/cjs/lib2/features/TariffFeature/styles.d.ts +166 -0
- package/dist/cjs/lib2/features/TariffFeature/types.d.ts +22 -0
- package/dist/cjs/lib2/features/index.d.ts +3 -0
- package/dist/cjs/lib2/shared/assets/icons/IconAmEx.d.ts +3 -0
- package/dist/cjs/lib2/shared/assets/icons/IconAppStoreRating.d.ts +3 -0
- package/dist/cjs/lib2/shared/assets/icons/IconApplePay.d.ts +3 -0
- package/dist/cjs/lib2/shared/assets/icons/IconCalendarMonth.d.ts +2 -6
- package/dist/cjs/lib2/shared/assets/icons/IconCancelBold.d.ts +3 -0
- package/dist/cjs/lib2/shared/assets/icons/IconCheckboxCheckedBold.d.ts +7 -0
- package/dist/cjs/lib2/shared/assets/icons/IconDivider.d.ts +3 -0
- package/dist/cjs/lib2/shared/assets/icons/IconDoubleArrow.d.ts +3 -0
- package/dist/cjs/lib2/shared/assets/icons/IconGlobe.d.ts +3 -0
- package/dist/cjs/lib2/shared/assets/icons/IconGooglePay.d.ts +3 -0
- package/dist/cjs/lib2/shared/assets/icons/IconInfo.d.ts +3 -0
- package/dist/cjs/lib2/shared/assets/icons/IconMaestro.d.ts +3 -0
- package/dist/cjs/lib2/shared/assets/icons/IconMastercard.d.ts +3 -0
- package/dist/cjs/lib2/shared/assets/icons/IconMatching.d.ts +7 -0
- package/dist/cjs/lib2/shared/assets/icons/IconPoweredByStripe.d.ts +3 -0
- package/dist/cjs/lib2/shared/assets/icons/IconSecure.d.ts +3 -0
- package/dist/cjs/lib2/shared/assets/icons/IconSwitch.d.ts +3 -0
- package/dist/cjs/lib2/shared/assets/icons/IconVisa.d.ts +3 -0
- package/dist/cjs/lib2/shared/assets/icons/index.d.ts +17 -0
- package/dist/cjs/lib2/shared/types/common.d.ts +6 -0
- package/dist/cjs/lib2/shared/types/onBoardingFlow.type.d.ts +26 -2
- package/dist/cjs/lib2/shared/types/review.d.ts +9 -0
- package/dist/cjs/lib2/shared/types/variant.d.ts +4 -0
- package/dist/cjs/lib2/shared/ui/Badge/types.d.ts +1 -1
- package/dist/cjs/lib2/shared/ui/Rating/types.d.ts +2 -1
- package/dist/cjs/lib2/shared/ui/Typography/types.d.ts +1 -0
- package/dist/cjs/lib2/shared/ui/Video/Video.d.ts +3 -0
- package/dist/cjs/lib2/shared/ui/Video/styles.d.ts +189 -0
- package/dist/cjs/lib2/shared/utils/format.d.ts +1 -0
- package/dist/cjs/lib2/widgets/SpecialistPreviewWidget/SpecialistPreviewWidget.d.ts +4 -0
- package/dist/cjs/lib2/widgets/SpecialistPreviewWidget/SpecialistPreviewWidget.stories.d.ts +7 -0
- package/dist/cjs/lib2/widgets/SpecialistPreviewWidget/index.d.ts +1 -0
- package/dist/cjs/lib2/widgets/SpecialistPreviewWidget/types.d.ts +9 -0
- package/dist/cjs/lib2/widgets/index.d.ts +1 -0
- package/dist/esm/configs/tailwind/colors.d.ts +1 -0
- package/dist/esm/index.js +15 -7
- package/dist/esm/lib2/features/Charts/ChartAreaFeature/ChartAreaFeature.d.ts +8 -0
- package/dist/esm/lib2/features/Charts/ChartAreaFeature/index.d.ts +1 -0
- package/dist/esm/lib2/features/Charts/ChartLinesFeature/ChartLinesFeature.d.ts +9 -0
- package/dist/esm/lib2/features/Charts/ChartLinesFeature/index.d.ts +1 -0
- package/dist/esm/lib2/features/Charts/components/DotLabel.d.ts +18 -0
- package/dist/esm/lib2/features/Charts/config.d.ts +32 -0
- package/dist/esm/lib2/features/Charts/index.d.ts +2 -0
- package/dist/esm/lib2/features/Charts/types.d.ts +30 -0
- package/dist/esm/lib2/features/DropdownFeature/DropdownFeature.d.ts +4 -0
- package/dist/esm/lib2/features/DropdownFeature/DropdownFeature.stories.d.ts +7 -0
- package/dist/esm/lib2/features/DropdownFeature/index.d.ts +1 -0
- package/dist/esm/lib2/features/DropdownFeature/types.d.ts +8 -0
- package/dist/esm/lib2/features/MarkdownContainerFeature/MarkdownContainerFeature.d.ts +1 -0
- package/dist/esm/lib2/features/OnBoardingFlow/OnBoardingChartScreenPreviewFeature/OnBoardingChartScreenPreviewFeature.d.ts +10 -0
- package/dist/esm/lib2/features/OnBoardingFlow/OnBoardingChartScreenPreviewFeature/index.d.ts +1 -0
- package/dist/esm/lib2/features/OnBoardingFlow/OnBoardingCompareScreenPreviewFeature /OnBoardingCompareScreenPreviewFeature.d.ts +9 -0
- package/dist/esm/lib2/features/OnBoardingFlow/OnBoardingCompareScreenPreviewFeature /index.d.ts +1 -0
- package/dist/esm/lib2/features/OnBoardingFlow/OnBoardingPaywallScreenPreviewFeature/OnBoardingPaywallScreenPreviewFeature.d.ts +13 -0
- package/dist/esm/lib2/features/OnBoardingFlow/OnBoardingPaywallScreenPreviewFeature/components/HowItWorksItem.d.ts +7 -0
- package/dist/esm/lib2/features/OnBoardingFlow/OnBoardingPaywallScreenPreviewFeature/components/TrustItem.d.ts +7 -0
- package/dist/esm/lib2/features/OnBoardingFlow/OnBoardingPaywallScreenPreviewFeature/conts.d.ts +63 -0
- package/dist/esm/lib2/features/OnBoardingFlow/OnBoardingPaywallScreenPreviewFeature/index.d.ts +1 -0
- package/dist/esm/lib2/features/OnBoardingFlow/OnBoardingPaywallScreenPreviewFeature/styles.d.ts +76 -0
- package/dist/esm/lib2/features/OnBoardingFlow/index.d.ts +3 -0
- package/dist/esm/lib2/features/PoweredByStripeFeature/PoweredByStripeFeature.d.ts +4 -0
- package/dist/esm/lib2/features/PoweredByStripeFeature/PoweredByStripeFeature.stories.d.ts +6 -0
- package/dist/esm/lib2/features/PoweredByStripeFeature/index.d.ts +1 -0
- package/dist/esm/lib2/features/PoweredByStripeFeature/types.d.ts +4 -0
- package/dist/esm/lib2/features/ReviewCardFeature/ReviewCardFeature.d.ts +3 -1
- package/dist/esm/lib2/features/ReviewCardFeature/styles.d.ts +85 -0
- package/dist/esm/lib2/features/TariffFeature/TariffFeature.d.ts +4 -0
- package/dist/esm/lib2/features/TariffFeature/TariffFeature.stories.d.ts +9 -0
- package/dist/esm/lib2/features/TariffFeature/index.d.ts +1 -0
- package/dist/esm/lib2/features/TariffFeature/styles.d.ts +166 -0
- package/dist/esm/lib2/features/TariffFeature/types.d.ts +22 -0
- package/dist/esm/lib2/features/index.d.ts +3 -0
- package/dist/esm/lib2/shared/assets/icons/IconAmEx.d.ts +3 -0
- package/dist/esm/lib2/shared/assets/icons/IconAppStoreRating.d.ts +3 -0
- package/dist/esm/lib2/shared/assets/icons/IconApplePay.d.ts +3 -0
- package/dist/esm/lib2/shared/assets/icons/IconCalendarMonth.d.ts +2 -6
- package/dist/esm/lib2/shared/assets/icons/IconCancelBold.d.ts +3 -0
- package/dist/esm/lib2/shared/assets/icons/IconCheckboxCheckedBold.d.ts +7 -0
- package/dist/esm/lib2/shared/assets/icons/IconDivider.d.ts +3 -0
- package/dist/esm/lib2/shared/assets/icons/IconDoubleArrow.d.ts +3 -0
- package/dist/esm/lib2/shared/assets/icons/IconGlobe.d.ts +3 -0
- package/dist/esm/lib2/shared/assets/icons/IconGooglePay.d.ts +3 -0
- package/dist/esm/lib2/shared/assets/icons/IconInfo.d.ts +3 -0
- package/dist/esm/lib2/shared/assets/icons/IconMaestro.d.ts +3 -0
- package/dist/esm/lib2/shared/assets/icons/IconMastercard.d.ts +3 -0
- package/dist/esm/lib2/shared/assets/icons/IconMatching.d.ts +7 -0
- package/dist/esm/lib2/shared/assets/icons/IconPoweredByStripe.d.ts +3 -0
- package/dist/esm/lib2/shared/assets/icons/IconSecure.d.ts +3 -0
- package/dist/esm/lib2/shared/assets/icons/IconSwitch.d.ts +3 -0
- package/dist/esm/lib2/shared/assets/icons/IconVisa.d.ts +3 -0
- package/dist/esm/lib2/shared/assets/icons/index.d.ts +17 -0
- package/dist/esm/lib2/shared/types/common.d.ts +6 -0
- package/dist/esm/lib2/shared/types/onBoardingFlow.type.d.ts +26 -2
- package/dist/esm/lib2/shared/types/review.d.ts +9 -0
- package/dist/esm/lib2/shared/types/variant.d.ts +4 -0
- package/dist/esm/lib2/shared/ui/Badge/types.d.ts +1 -1
- package/dist/esm/lib2/shared/ui/Rating/types.d.ts +2 -1
- package/dist/esm/lib2/shared/ui/Typography/types.d.ts +1 -0
- package/dist/esm/lib2/shared/ui/Video/Video.d.ts +3 -0
- package/dist/esm/lib2/shared/ui/Video/styles.d.ts +189 -0
- package/dist/esm/lib2/shared/utils/format.d.ts +1 -0
- package/dist/esm/lib2/widgets/SpecialistPreviewWidget/SpecialistPreviewWidget.d.ts +4 -0
- package/dist/esm/lib2/widgets/SpecialistPreviewWidget/SpecialistPreviewWidget.stories.d.ts +7 -0
- package/dist/esm/lib2/widgets/SpecialistPreviewWidget/index.d.ts +1 -0
- package/dist/esm/lib2/widgets/SpecialistPreviewWidget/types.d.ts +9 -0
- package/dist/esm/lib2/widgets/index.d.ts +1 -0
- package/dist/index.d.ts +405 -214
- package/package.json +6 -1
- package/src/configs/tailwind/colors.ts +1 -0
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
import TariffFeature from './TariffFeature';
|
|
3
|
+
declare const meta: Meta<typeof TariffFeature>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof TariffFeature>;
|
|
6
|
+
export declare const Default: Story;
|
|
7
|
+
export declare const WithLabel: Story;
|
|
8
|
+
export declare const Blue: Story;
|
|
9
|
+
export declare const Selected: Story;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as TariffFeature } from './TariffFeature';
|
|
@@ -0,0 +1,166 @@
|
|
|
1
|
+
export declare const tariffFeatureStyle: import("tailwind-variants").TVReturnType<{
|
|
2
|
+
variant: {
|
|
3
|
+
default: {
|
|
4
|
+
label: string;
|
|
5
|
+
checkbox: string;
|
|
6
|
+
};
|
|
7
|
+
blue: {
|
|
8
|
+
label: string;
|
|
9
|
+
checkbox: string;
|
|
10
|
+
};
|
|
11
|
+
};
|
|
12
|
+
isSelected: {
|
|
13
|
+
true: "";
|
|
14
|
+
false: "";
|
|
15
|
+
};
|
|
16
|
+
isInfoOpen: {
|
|
17
|
+
true: "";
|
|
18
|
+
false: {
|
|
19
|
+
info: string;
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
}, {
|
|
23
|
+
root: string;
|
|
24
|
+
label: string;
|
|
25
|
+
content: string;
|
|
26
|
+
info: string;
|
|
27
|
+
checkbox: string;
|
|
28
|
+
}, undefined, import("tailwind-variants/dist/config").TVConfig<{
|
|
29
|
+
variant: {
|
|
30
|
+
default: {
|
|
31
|
+
label: string;
|
|
32
|
+
checkbox: string;
|
|
33
|
+
};
|
|
34
|
+
blue: {
|
|
35
|
+
label: string;
|
|
36
|
+
checkbox: string;
|
|
37
|
+
};
|
|
38
|
+
};
|
|
39
|
+
isSelected: {
|
|
40
|
+
true: "";
|
|
41
|
+
false: "";
|
|
42
|
+
};
|
|
43
|
+
isInfoOpen: {
|
|
44
|
+
true: "";
|
|
45
|
+
false: {
|
|
46
|
+
info: string;
|
|
47
|
+
};
|
|
48
|
+
};
|
|
49
|
+
}, {
|
|
50
|
+
variant: {
|
|
51
|
+
default: {
|
|
52
|
+
label: string;
|
|
53
|
+
checkbox: string;
|
|
54
|
+
};
|
|
55
|
+
blue: {
|
|
56
|
+
label: string;
|
|
57
|
+
checkbox: string;
|
|
58
|
+
};
|
|
59
|
+
};
|
|
60
|
+
isSelected: {
|
|
61
|
+
true: "";
|
|
62
|
+
false: "";
|
|
63
|
+
};
|
|
64
|
+
isInfoOpen: {
|
|
65
|
+
true: "";
|
|
66
|
+
false: {
|
|
67
|
+
info: string;
|
|
68
|
+
};
|
|
69
|
+
};
|
|
70
|
+
}>, {
|
|
71
|
+
variant: {
|
|
72
|
+
default: {
|
|
73
|
+
label: string;
|
|
74
|
+
checkbox: string;
|
|
75
|
+
};
|
|
76
|
+
blue: {
|
|
77
|
+
label: string;
|
|
78
|
+
checkbox: string;
|
|
79
|
+
};
|
|
80
|
+
};
|
|
81
|
+
isSelected: {
|
|
82
|
+
true: "";
|
|
83
|
+
false: "";
|
|
84
|
+
};
|
|
85
|
+
isInfoOpen: {
|
|
86
|
+
true: "";
|
|
87
|
+
false: {
|
|
88
|
+
info: string;
|
|
89
|
+
};
|
|
90
|
+
};
|
|
91
|
+
}, {
|
|
92
|
+
root: string;
|
|
93
|
+
label: string;
|
|
94
|
+
content: string;
|
|
95
|
+
info: string;
|
|
96
|
+
checkbox: string;
|
|
97
|
+
}, import("tailwind-variants").TVReturnType<{
|
|
98
|
+
variant: {
|
|
99
|
+
default: {
|
|
100
|
+
label: string;
|
|
101
|
+
checkbox: string;
|
|
102
|
+
};
|
|
103
|
+
blue: {
|
|
104
|
+
label: string;
|
|
105
|
+
checkbox: string;
|
|
106
|
+
};
|
|
107
|
+
};
|
|
108
|
+
isSelected: {
|
|
109
|
+
true: "";
|
|
110
|
+
false: "";
|
|
111
|
+
};
|
|
112
|
+
isInfoOpen: {
|
|
113
|
+
true: "";
|
|
114
|
+
false: {
|
|
115
|
+
info: string;
|
|
116
|
+
};
|
|
117
|
+
};
|
|
118
|
+
}, {
|
|
119
|
+
root: string;
|
|
120
|
+
label: string;
|
|
121
|
+
content: string;
|
|
122
|
+
info: string;
|
|
123
|
+
checkbox: string;
|
|
124
|
+
}, undefined, import("tailwind-variants/dist/config").TVConfig<{
|
|
125
|
+
variant: {
|
|
126
|
+
default: {
|
|
127
|
+
label: string;
|
|
128
|
+
checkbox: string;
|
|
129
|
+
};
|
|
130
|
+
blue: {
|
|
131
|
+
label: string;
|
|
132
|
+
checkbox: string;
|
|
133
|
+
};
|
|
134
|
+
};
|
|
135
|
+
isSelected: {
|
|
136
|
+
true: "";
|
|
137
|
+
false: "";
|
|
138
|
+
};
|
|
139
|
+
isInfoOpen: {
|
|
140
|
+
true: "";
|
|
141
|
+
false: {
|
|
142
|
+
info: string;
|
|
143
|
+
};
|
|
144
|
+
};
|
|
145
|
+
}, {
|
|
146
|
+
variant: {
|
|
147
|
+
default: {
|
|
148
|
+
label: string;
|
|
149
|
+
checkbox: string;
|
|
150
|
+
};
|
|
151
|
+
blue: {
|
|
152
|
+
label: string;
|
|
153
|
+
checkbox: string;
|
|
154
|
+
};
|
|
155
|
+
};
|
|
156
|
+
isSelected: {
|
|
157
|
+
true: "";
|
|
158
|
+
false: "";
|
|
159
|
+
};
|
|
160
|
+
isInfoOpen: {
|
|
161
|
+
true: "";
|
|
162
|
+
false: {
|
|
163
|
+
info: string;
|
|
164
|
+
};
|
|
165
|
+
};
|
|
166
|
+
}>, unknown, unknown, undefined>>;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { WithTranslation } from 'react-i18next';
|
|
2
|
+
import { SupportedCurrency } from '../../shared';
|
|
3
|
+
import { VariantEnum } from '../../shared/types/variant';
|
|
4
|
+
export type TariffFeatureProps = {
|
|
5
|
+
className?: string;
|
|
6
|
+
t?: WithTranslation['t'];
|
|
7
|
+
name: string;
|
|
8
|
+
priceBefore?: number;
|
|
9
|
+
price: number;
|
|
10
|
+
currency: SupportedCurrency;
|
|
11
|
+
id: string;
|
|
12
|
+
isSelected: boolean;
|
|
13
|
+
label?: string;
|
|
14
|
+
variant: VariantEnum;
|
|
15
|
+
description?: string;
|
|
16
|
+
advantagesList?: {
|
|
17
|
+
id: string;
|
|
18
|
+
title: string;
|
|
19
|
+
}[];
|
|
20
|
+
initialIsInfoOpen?: boolean;
|
|
21
|
+
onSelect(id: string): void;
|
|
22
|
+
};
|
|
@@ -45,3 +45,6 @@ export * from './MenuFeature';
|
|
|
45
45
|
export * from './EmptySpecialistListFeature';
|
|
46
46
|
export * from './SessionReviewsFeature';
|
|
47
47
|
export * from './MindlyReviewFeature';
|
|
48
|
+
export * from './TariffFeature';
|
|
49
|
+
export * from './PoweredByStripeFeature';
|
|
50
|
+
export * from './DropdownFeature';
|
|
@@ -1,7 +1,3 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
color?: string;
|
|
5
|
-
}
|
|
6
|
-
export declare function IconCalendarMonth({ color, size, ...other }: IconProps): JSX.Element;
|
|
7
|
-
export {};
|
|
2
|
+
import { IconProps } from '../../types';
|
|
3
|
+
export declare const IconCalendarMonth: React.FC<IconProps>;
|
|
@@ -112,3 +112,20 @@ export * from './IconExperience';
|
|
|
112
112
|
export * from './IconSpecialistsEnded';
|
|
113
113
|
export * from './IconReviewSessionSubscription';
|
|
114
114
|
export * from './IconReviewSessionTrial';
|
|
115
|
+
export * from './IconDoubleArrow';
|
|
116
|
+
export * from './IconDivider';
|
|
117
|
+
export * from './IconInfo';
|
|
118
|
+
export * from './IconApplePay';
|
|
119
|
+
export * from './IconSecure';
|
|
120
|
+
export * from './IconGooglePay';
|
|
121
|
+
export * from './IconAmEx';
|
|
122
|
+
export * from './IconMaestro';
|
|
123
|
+
export * from './IconMastercard';
|
|
124
|
+
export * from './IconVisa';
|
|
125
|
+
export * from './IconPoweredByStripe';
|
|
126
|
+
export * from './IconCancelBold';
|
|
127
|
+
export * from './IconCheckboxCheckedBold';
|
|
128
|
+
export * from './IconMatching';
|
|
129
|
+
export * from './IconSwitch';
|
|
130
|
+
export * from './IconGlobe';
|
|
131
|
+
export * from './IconAppStoreRating';
|
|
@@ -34,4 +34,10 @@ export declare enum ShortCurrencySignByLocale {
|
|
|
34
34
|
'eur' = "EUR",
|
|
35
35
|
'es' = "USD"
|
|
36
36
|
}
|
|
37
|
+
export declare enum ShortTranscriptionCurrencySignByLocale {
|
|
38
|
+
'uk' = "\u0433\u0440",
|
|
39
|
+
'pl' = "z\u0142o",
|
|
40
|
+
'eur' = "EUR",
|
|
41
|
+
'es' = "US"
|
|
42
|
+
}
|
|
37
43
|
export declare const StripeSupportedCurrency: SupportedCurrency[];
|
|
@@ -2,6 +2,7 @@ import { ResponseFileType } from './responseFileType';
|
|
|
2
2
|
import { ISpecialistReview } from '../../../lib/ReviewSwiperSection';
|
|
3
3
|
import { TranslationType } from './common';
|
|
4
4
|
import { WithTranslation } from 'react-i18next';
|
|
5
|
+
import { ChartData } from '../../features/Charts/types';
|
|
5
6
|
export declare enum ConditionRulesType {
|
|
6
7
|
IS = "is"
|
|
7
8
|
}
|
|
@@ -27,7 +28,10 @@ export declare enum OnBoardingScreenOptions {
|
|
|
27
28
|
LOADER = "LOADER",
|
|
28
29
|
REVIEWS = "REVIEWS",
|
|
29
30
|
EMAIL = "EMAIL",
|
|
30
|
-
CONFIRM = "CONFIRM"
|
|
31
|
+
CONFIRM = "CONFIRM",
|
|
32
|
+
PAYWALL = "PAYWALL",
|
|
33
|
+
COMPARE = "COMPARE",
|
|
34
|
+
CHART = "CHART"
|
|
31
35
|
}
|
|
32
36
|
export type OnBoardingScreenOptionType = {
|
|
33
37
|
id: string;
|
|
@@ -138,7 +142,27 @@ export type OnBoardingConfirmScreenType = OnBoardingBaseScreenType & OnBoardingS
|
|
|
138
142
|
onChangeEmail?: (email: string) => void;
|
|
139
143
|
onChangePassword?: (password: string) => void;
|
|
140
144
|
};
|
|
141
|
-
export type
|
|
145
|
+
export type OnBoardingPaywallScreenType = OnBoardingBaseScreenType & OnBoardingScreenButtonType & OnBoardingScreenTranslationsType & OnBoardingScreenErrorsType & {
|
|
146
|
+
title: string;
|
|
147
|
+
description?: string;
|
|
148
|
+
};
|
|
149
|
+
export type OnBoardingCompareScreenType = OnBoardingBaseScreenType & OnBoardingScreenButtonType & OnBoardingScreenTranslationsType & OnBoardingScreenErrorsType & {
|
|
150
|
+
title: string;
|
|
151
|
+
description?: string;
|
|
152
|
+
otherPlatformsTitle?: string;
|
|
153
|
+
items: {
|
|
154
|
+
id: string;
|
|
155
|
+
title: string;
|
|
156
|
+
hasInMindly: boolean;
|
|
157
|
+
hasInCompetitors: boolean;
|
|
158
|
+
}[];
|
|
159
|
+
};
|
|
160
|
+
export type OnBoardingChartScreenType = OnBoardingBaseScreenType & OnBoardingScreenButtonType & OnBoardingScreenTranslationsType & OnBoardingScreenErrorsType & {
|
|
161
|
+
title?: string;
|
|
162
|
+
disclaimer?: string;
|
|
163
|
+
chart: ChartData;
|
|
164
|
+
};
|
|
165
|
+
export type OnBoardingScreensType = OnBoardingStartScreenType | OnBoardingMultiSelectScreenType | OnBoardingSingleSelectScreenType | OnBoardingInfoScreenType | OnBoardingLoaderScreenType | OnBoardingReviewsScreenType | OnBoardingEmailScreenType | OnBoardingConfirmScreenType | OnBoardingCompareScreenType | OnBoardingPaywallScreenType | OnBoardingChartScreenType;
|
|
142
166
|
export type OnBoardingFlowType = {
|
|
143
167
|
id: string;
|
|
144
168
|
locale: string;
|
|
@@ -17,3 +17,12 @@ export type SpecialistReview = {
|
|
|
17
17
|
created_at: number;
|
|
18
18
|
review_status: 'on_review' | 'approved' | 'rejected';
|
|
19
19
|
};
|
|
20
|
+
export type MindlyReview = {
|
|
21
|
+
id: string;
|
|
22
|
+
avatar: string | null;
|
|
23
|
+
first_name: string;
|
|
24
|
+
last_name?: string | null;
|
|
25
|
+
review_rating: number;
|
|
26
|
+
text_of_review: string | null;
|
|
27
|
+
created_at: number;
|
|
28
|
+
};
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { RatingComponentProps } from 'react-rating';
|
|
1
2
|
export type RatingProps = {
|
|
2
3
|
initialRating?: number;
|
|
3
4
|
onChange?: (value: number) => void;
|
|
@@ -6,4 +7,4 @@ export type RatingProps = {
|
|
|
6
7
|
size?: number;
|
|
7
8
|
className?: string;
|
|
8
9
|
readonly?: boolean;
|
|
9
|
-
};
|
|
10
|
+
} & RatingComponentProps;
|
|
@@ -1,10 +1,13 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
+
import { VariantEnum } from '../../types/variant';
|
|
2
3
|
export type VideoProps = {
|
|
3
4
|
src: string;
|
|
4
5
|
isMuted?: boolean;
|
|
5
6
|
isWithWatermark?: boolean;
|
|
6
7
|
isWithPlay?: boolean;
|
|
8
|
+
buttonPlacement?: 'top-left' | 'top-right' | 'bottom-left' | 'bottom-right' | 'center';
|
|
7
9
|
hiddenVideo?: boolean;
|
|
10
|
+
variant?: VariantEnum;
|
|
8
11
|
preview?: string;
|
|
9
12
|
onMuteToggle?: () => void;
|
|
10
13
|
onPlay?(src: string): void;
|
|
@@ -0,0 +1,189 @@
|
|
|
1
|
+
export declare const videoStyle: import("tailwind-variants").TVReturnType<{
|
|
2
|
+
buttonPlacement: {
|
|
3
|
+
center: {
|
|
4
|
+
playButton: string;
|
|
5
|
+
};
|
|
6
|
+
'top-left': {
|
|
7
|
+
playButton: string;
|
|
8
|
+
};
|
|
9
|
+
'top-right': {
|
|
10
|
+
playButton: string;
|
|
11
|
+
};
|
|
12
|
+
'bottom-left': {
|
|
13
|
+
playButton: string;
|
|
14
|
+
};
|
|
15
|
+
'bottom-right': {
|
|
16
|
+
playButton: string;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
variant: {
|
|
20
|
+
default: {
|
|
21
|
+
playButton: string;
|
|
22
|
+
};
|
|
23
|
+
blue: {
|
|
24
|
+
playButton: string;
|
|
25
|
+
};
|
|
26
|
+
};
|
|
27
|
+
}, {
|
|
28
|
+
playButton: string;
|
|
29
|
+
}, undefined, import("tailwind-variants/dist/config").TVConfig<{
|
|
30
|
+
buttonPlacement: {
|
|
31
|
+
center: {
|
|
32
|
+
playButton: string;
|
|
33
|
+
};
|
|
34
|
+
'top-left': {
|
|
35
|
+
playButton: string;
|
|
36
|
+
};
|
|
37
|
+
'top-right': {
|
|
38
|
+
playButton: string;
|
|
39
|
+
};
|
|
40
|
+
'bottom-left': {
|
|
41
|
+
playButton: string;
|
|
42
|
+
};
|
|
43
|
+
'bottom-right': {
|
|
44
|
+
playButton: string;
|
|
45
|
+
};
|
|
46
|
+
};
|
|
47
|
+
variant: {
|
|
48
|
+
default: {
|
|
49
|
+
playButton: string;
|
|
50
|
+
};
|
|
51
|
+
blue: {
|
|
52
|
+
playButton: string;
|
|
53
|
+
};
|
|
54
|
+
};
|
|
55
|
+
}, {
|
|
56
|
+
buttonPlacement: {
|
|
57
|
+
center: {
|
|
58
|
+
playButton: string;
|
|
59
|
+
};
|
|
60
|
+
'top-left': {
|
|
61
|
+
playButton: string;
|
|
62
|
+
};
|
|
63
|
+
'top-right': {
|
|
64
|
+
playButton: string;
|
|
65
|
+
};
|
|
66
|
+
'bottom-left': {
|
|
67
|
+
playButton: string;
|
|
68
|
+
};
|
|
69
|
+
'bottom-right': {
|
|
70
|
+
playButton: string;
|
|
71
|
+
};
|
|
72
|
+
};
|
|
73
|
+
variant: {
|
|
74
|
+
default: {
|
|
75
|
+
playButton: string;
|
|
76
|
+
};
|
|
77
|
+
blue: {
|
|
78
|
+
playButton: string;
|
|
79
|
+
};
|
|
80
|
+
};
|
|
81
|
+
}>, {
|
|
82
|
+
buttonPlacement: {
|
|
83
|
+
center: {
|
|
84
|
+
playButton: string;
|
|
85
|
+
};
|
|
86
|
+
'top-left': {
|
|
87
|
+
playButton: string;
|
|
88
|
+
};
|
|
89
|
+
'top-right': {
|
|
90
|
+
playButton: string;
|
|
91
|
+
};
|
|
92
|
+
'bottom-left': {
|
|
93
|
+
playButton: string;
|
|
94
|
+
};
|
|
95
|
+
'bottom-right': {
|
|
96
|
+
playButton: string;
|
|
97
|
+
};
|
|
98
|
+
};
|
|
99
|
+
variant: {
|
|
100
|
+
default: {
|
|
101
|
+
playButton: string;
|
|
102
|
+
};
|
|
103
|
+
blue: {
|
|
104
|
+
playButton: string;
|
|
105
|
+
};
|
|
106
|
+
};
|
|
107
|
+
}, {
|
|
108
|
+
playButton: string;
|
|
109
|
+
}, import("tailwind-variants").TVReturnType<{
|
|
110
|
+
buttonPlacement: {
|
|
111
|
+
center: {
|
|
112
|
+
playButton: string;
|
|
113
|
+
};
|
|
114
|
+
'top-left': {
|
|
115
|
+
playButton: string;
|
|
116
|
+
};
|
|
117
|
+
'top-right': {
|
|
118
|
+
playButton: string;
|
|
119
|
+
};
|
|
120
|
+
'bottom-left': {
|
|
121
|
+
playButton: string;
|
|
122
|
+
};
|
|
123
|
+
'bottom-right': {
|
|
124
|
+
playButton: string;
|
|
125
|
+
};
|
|
126
|
+
};
|
|
127
|
+
variant: {
|
|
128
|
+
default: {
|
|
129
|
+
playButton: string;
|
|
130
|
+
};
|
|
131
|
+
blue: {
|
|
132
|
+
playButton: string;
|
|
133
|
+
};
|
|
134
|
+
};
|
|
135
|
+
}, {
|
|
136
|
+
playButton: string;
|
|
137
|
+
}, undefined, import("tailwind-variants/dist/config").TVConfig<{
|
|
138
|
+
buttonPlacement: {
|
|
139
|
+
center: {
|
|
140
|
+
playButton: string;
|
|
141
|
+
};
|
|
142
|
+
'top-left': {
|
|
143
|
+
playButton: string;
|
|
144
|
+
};
|
|
145
|
+
'top-right': {
|
|
146
|
+
playButton: string;
|
|
147
|
+
};
|
|
148
|
+
'bottom-left': {
|
|
149
|
+
playButton: string;
|
|
150
|
+
};
|
|
151
|
+
'bottom-right': {
|
|
152
|
+
playButton: string;
|
|
153
|
+
};
|
|
154
|
+
};
|
|
155
|
+
variant: {
|
|
156
|
+
default: {
|
|
157
|
+
playButton: string;
|
|
158
|
+
};
|
|
159
|
+
blue: {
|
|
160
|
+
playButton: string;
|
|
161
|
+
};
|
|
162
|
+
};
|
|
163
|
+
}, {
|
|
164
|
+
buttonPlacement: {
|
|
165
|
+
center: {
|
|
166
|
+
playButton: string;
|
|
167
|
+
};
|
|
168
|
+
'top-left': {
|
|
169
|
+
playButton: string;
|
|
170
|
+
};
|
|
171
|
+
'top-right': {
|
|
172
|
+
playButton: string;
|
|
173
|
+
};
|
|
174
|
+
'bottom-left': {
|
|
175
|
+
playButton: string;
|
|
176
|
+
};
|
|
177
|
+
'bottom-right': {
|
|
178
|
+
playButton: string;
|
|
179
|
+
};
|
|
180
|
+
};
|
|
181
|
+
variant: {
|
|
182
|
+
default: {
|
|
183
|
+
playButton: string;
|
|
184
|
+
};
|
|
185
|
+
blue: {
|
|
186
|
+
playButton: string;
|
|
187
|
+
};
|
|
188
|
+
};
|
|
189
|
+
}>, unknown, unknown, undefined>>;
|
|
@@ -2,3 +2,4 @@ export declare const formatByDigits: (value: number) => string;
|
|
|
2
2
|
export declare const roundToPrecision: (value: number, decimals?: number) => number;
|
|
3
3
|
export declare const getDateLocale: (locale: string) => Locale;
|
|
4
4
|
export declare const getGMTOffset: (timeZone: string) => string;
|
|
5
|
+
export declare const getMonthNameInGenitive: (date: Date, locale: string) => string;
|