@mindly/ui-components 5.42.0 → 5.43.0
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 +2 -0
- package/dist/cjs/index.js +15 -6
- package/dist/cjs/lib2/features/CalendarPickerFeature/CalendarPickerFeature.d.ts +11 -0
- package/dist/cjs/lib2/features/CalendarPickerFeature/index.d.ts +1 -0
- package/dist/cjs/lib2/features/ConsultationPricingFeature/ConsultationPricingFeature.d.ts +4 -0
- package/dist/cjs/lib2/features/ConsultationPricingFeature/ConsultationPricingFeatureSkeleton.d.ts +5 -0
- package/dist/cjs/lib2/features/ConsultationPricingFeature/ConsultationUser.d.ts +11 -0
- package/dist/cjs/lib2/features/ConsultationPricingFeature/ConsultationUserSkeleton.d.ts +5 -0
- package/dist/cjs/lib2/features/ConsultationPricingFeature/index.d.ts +1 -0
- package/dist/cjs/lib2/features/PaymentCalendarFeature/PaymentCalendarFeature.d.ts +4 -0
- package/dist/cjs/lib2/features/PaymentCalendarFeature/index.d.ts +1 -0
- package/dist/cjs/lib2/features/SpecialistPaymentCommonCardFeature/PaymentBadge.d.ts +4 -0
- package/dist/cjs/lib2/features/SpecialistPaymentCommonCardFeature/SpecialistPaymentCommonCardFeature.d.ts +4 -0
- package/dist/cjs/lib2/features/SpecialistPaymentCommonCardFeature/SpecialistPaymentCommonCardSkeleton.d.ts +5 -0
- package/dist/cjs/lib2/features/SpecialistPaymentCommonCardFeature/index.d.ts +2 -0
- package/dist/cjs/lib2/features/SpecialistPaymentCommonCardFeature/styles.d.ts +85 -0
- package/dist/cjs/lib2/features/SpecialistPaymentConsultationsFeature/Consultations/ConsultationCard.d.ts +10 -0
- package/dist/cjs/lib2/features/SpecialistPaymentConsultationsFeature/Consultations/ConsultationsList.d.ts +11 -0
- package/dist/cjs/lib2/features/SpecialistPaymentConsultationsFeature/Consultations/ConsultationsListSkeleton.d.ts +6 -0
- package/dist/cjs/lib2/features/SpecialistPaymentConsultationsFeature/SpecialistPaymentConsultationsFeature.d.ts +4 -0
- package/dist/cjs/lib2/features/SpecialistPaymentConsultationsFeature/index.d.ts +1 -0
- package/dist/cjs/lib2/features/SpecialistPaymentConsultationsFeature/styles.d.ts +87 -0
- package/dist/cjs/lib2/features/index.d.ts +5 -1
- package/dist/cjs/lib2/shared/hooks/useCalendarData.d.ts +9 -0
- package/dist/cjs/lib2/shared/hooks/useSpecialistPayments.d.ts +36 -0
- package/dist/cjs/lib2/shared/types/common.d.ts +24 -0
- package/dist/cjs/lib2/shared/types/index.d.ts +2 -0
- package/dist/cjs/lib2/shared/types/specialistPaymentTypes.d.ts +96 -0
- package/dist/cjs/lib2/shared/ui/CollapsableText/CollapsableText.d.ts +9 -0
- package/dist/cjs/lib2/shared/ui/CollapsableText/index.d.ts +1 -0
- package/dist/cjs/lib2/shared/ui/CollapsableText/styles.d.ts +62 -0
- package/dist/cjs/lib2/shared/ui/DrumListPicker/DrumListPicker.d.ts +13 -0
- package/dist/cjs/lib2/shared/ui/DrumListPicker/index.d.ts +1 -0
- package/dist/cjs/lib2/shared/ui/DrumListPicker/utils.d.ts +3 -0
- package/dist/cjs/lib2/shared/ui/HeaderWithRedirect/HeaderWithRedirect.d.ts +8 -0
- package/dist/cjs/lib2/shared/ui/HeaderWithRedirect/index.d.ts +1 -0
- package/dist/cjs/lib2/shared/ui/HeaderWithRedirect/styles.d.ts +5 -0
- package/dist/cjs/lib2/shared/ui/LabelArrowRedirect/LabelArrowRedirect.d.ts +9 -0
- package/dist/cjs/lib2/shared/ui/LabelArrowRedirect/index.d.ts +1 -0
- package/dist/cjs/lib2/shared/ui/LabelArrowRedirect/styles.d.ts +90 -0
- package/dist/cjs/lib2/shared/ui/ProgressBarDashed/ProgressBarDash.d.ts +15 -0
- package/dist/cjs/lib2/shared/ui/ProgressBarDashed/ProgressBarDashed.d.ts +15 -0
- package/dist/cjs/lib2/shared/ui/ProgressBarDashed/constants.d.ts +1 -0
- package/dist/cjs/lib2/shared/ui/ProgressBarDashed/index.d.ts +1 -0
- package/dist/cjs/lib2/shared/ui/ProgressBarDashed/styles.d.ts +45 -0
- package/dist/cjs/lib2/shared/ui/Typography/Typography.d.ts +1 -0
- package/dist/cjs/lib2/shared/ui/Typography/types.d.ts +1 -0
- package/dist/cjs/lib2/shared/ui/index.d.ts +5 -0
- package/dist/cjs/lib2/shared/utils/index.d.ts +1 -0
- package/dist/cjs/lib2/shared/utils/priceNormalizer.d.ts +10 -0
- package/dist/cjs/lib2/widgets/SpecialistPaymentResumeWidget/SpecialistPaymentResumeWidget.d.ts +4 -0
- package/dist/cjs/lib2/widgets/SpecialistPaymentResumeWidget/index.d.ts +1 -0
- package/dist/cjs/lib2/widgets/SpecialistPaymentWidget/SpecialistPaymentWidget.d.ts +6 -0
- package/dist/cjs/lib2/widgets/SpecialistPaymentWidget/SpecialistPaymentWidget.stories.d.ts +6 -0
- package/dist/cjs/lib2/widgets/SpecialistPaymentWidget/index.d.ts +1 -0
- package/dist/cjs/lib2/widgets/index.d.ts +2 -0
- package/dist/esm/configs/tailwind/colors.d.ts +2 -0
- package/dist/esm/index.js +15 -6
- package/dist/esm/lib2/features/CalendarPickerFeature/CalendarPickerFeature.d.ts +11 -0
- package/dist/esm/lib2/features/CalendarPickerFeature/index.d.ts +1 -0
- package/dist/esm/lib2/features/ConsultationPricingFeature/ConsultationPricingFeature.d.ts +4 -0
- package/dist/esm/lib2/features/ConsultationPricingFeature/ConsultationPricingFeatureSkeleton.d.ts +5 -0
- package/dist/esm/lib2/features/ConsultationPricingFeature/ConsultationUser.d.ts +11 -0
- package/dist/esm/lib2/features/ConsultationPricingFeature/ConsultationUserSkeleton.d.ts +5 -0
- package/dist/esm/lib2/features/ConsultationPricingFeature/index.d.ts +1 -0
- package/dist/esm/lib2/features/PaymentCalendarFeature/PaymentCalendarFeature.d.ts +4 -0
- package/dist/esm/lib2/features/PaymentCalendarFeature/index.d.ts +1 -0
- package/dist/esm/lib2/features/SpecialistPaymentCommonCardFeature/PaymentBadge.d.ts +4 -0
- package/dist/esm/lib2/features/SpecialistPaymentCommonCardFeature/SpecialistPaymentCommonCardFeature.d.ts +4 -0
- package/dist/esm/lib2/features/SpecialistPaymentCommonCardFeature/SpecialistPaymentCommonCardSkeleton.d.ts +5 -0
- package/dist/esm/lib2/features/SpecialistPaymentCommonCardFeature/index.d.ts +2 -0
- package/dist/esm/lib2/features/SpecialistPaymentCommonCardFeature/styles.d.ts +85 -0
- package/dist/esm/lib2/features/SpecialistPaymentConsultationsFeature/Consultations/ConsultationCard.d.ts +10 -0
- package/dist/esm/lib2/features/SpecialistPaymentConsultationsFeature/Consultations/ConsultationsList.d.ts +11 -0
- package/dist/esm/lib2/features/SpecialistPaymentConsultationsFeature/Consultations/ConsultationsListSkeleton.d.ts +6 -0
- package/dist/esm/lib2/features/SpecialistPaymentConsultationsFeature/SpecialistPaymentConsultationsFeature.d.ts +4 -0
- package/dist/esm/lib2/features/SpecialistPaymentConsultationsFeature/index.d.ts +1 -0
- package/dist/esm/lib2/features/SpecialistPaymentConsultationsFeature/styles.d.ts +87 -0
- package/dist/esm/lib2/features/index.d.ts +5 -1
- package/dist/esm/lib2/shared/hooks/useCalendarData.d.ts +9 -0
- package/dist/esm/lib2/shared/hooks/useSpecialistPayments.d.ts +36 -0
- package/dist/esm/lib2/shared/types/common.d.ts +24 -0
- package/dist/esm/lib2/shared/types/index.d.ts +2 -0
- package/dist/esm/lib2/shared/types/specialistPaymentTypes.d.ts +96 -0
- package/dist/esm/lib2/shared/ui/CollapsableText/CollapsableText.d.ts +9 -0
- package/dist/esm/lib2/shared/ui/CollapsableText/index.d.ts +1 -0
- package/dist/esm/lib2/shared/ui/CollapsableText/styles.d.ts +62 -0
- package/dist/esm/lib2/shared/ui/DrumListPicker/DrumListPicker.d.ts +13 -0
- package/dist/esm/lib2/shared/ui/DrumListPicker/index.d.ts +1 -0
- package/dist/esm/lib2/shared/ui/DrumListPicker/utils.d.ts +3 -0
- package/dist/esm/lib2/shared/ui/HeaderWithRedirect/HeaderWithRedirect.d.ts +8 -0
- package/dist/esm/lib2/shared/ui/HeaderWithRedirect/index.d.ts +1 -0
- package/dist/esm/lib2/shared/ui/HeaderWithRedirect/styles.d.ts +5 -0
- package/dist/esm/lib2/shared/ui/LabelArrowRedirect/LabelArrowRedirect.d.ts +9 -0
- package/dist/esm/lib2/shared/ui/LabelArrowRedirect/index.d.ts +1 -0
- package/dist/esm/lib2/shared/ui/LabelArrowRedirect/styles.d.ts +90 -0
- package/dist/esm/lib2/shared/ui/ProgressBarDashed/ProgressBarDash.d.ts +15 -0
- package/dist/esm/lib2/shared/ui/ProgressBarDashed/ProgressBarDashed.d.ts +15 -0
- package/dist/esm/lib2/shared/ui/ProgressBarDashed/constants.d.ts +1 -0
- package/dist/esm/lib2/shared/ui/ProgressBarDashed/index.d.ts +1 -0
- package/dist/esm/lib2/shared/ui/ProgressBarDashed/styles.d.ts +45 -0
- package/dist/esm/lib2/shared/ui/Typography/Typography.d.ts +1 -0
- package/dist/esm/lib2/shared/ui/Typography/types.d.ts +1 -0
- package/dist/esm/lib2/shared/ui/index.d.ts +5 -0
- package/dist/esm/lib2/shared/utils/index.d.ts +1 -0
- package/dist/esm/lib2/shared/utils/priceNormalizer.d.ts +10 -0
- package/dist/esm/lib2/widgets/SpecialistPaymentResumeWidget/SpecialistPaymentResumeWidget.d.ts +4 -0
- package/dist/esm/lib2/widgets/SpecialistPaymentResumeWidget/index.d.ts +1 -0
- package/dist/esm/lib2/widgets/SpecialistPaymentWidget/SpecialistPaymentWidget.d.ts +6 -0
- package/dist/esm/lib2/widgets/SpecialistPaymentWidget/SpecialistPaymentWidget.stories.d.ts +6 -0
- package/dist/esm/lib2/widgets/SpecialistPaymentWidget/index.d.ts +1 -0
- package/dist/esm/lib2/widgets/index.d.ts +2 -0
- package/dist/index.d.ts +234 -64
- package/package.json +1 -1
- package/src/configs/tailwind/colors.ts +2 -0
- package/src/lib2/shared/css/tailwind.css +2 -0
- package/dist/cjs/lib2/features/MobilePickerFeature/MobilePickerFeature.d.ts +0 -7
- package/dist/cjs/lib2/features/MobilePickerFeature/index.d.ts +0 -1
- package/dist/esm/lib2/features/MobilePickerFeature/MobilePickerFeature.d.ts +0 -7
- package/dist/esm/lib2/features/MobilePickerFeature/index.d.ts +0 -1
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
export declare const button: import("tailwind-variants").TVReturnType<{
|
|
2
|
+
transparent: {
|
|
3
|
+
true: {
|
|
4
|
+
base: string;
|
|
5
|
+
};
|
|
6
|
+
};
|
|
7
|
+
disabled: {
|
|
8
|
+
true: {
|
|
9
|
+
base: string;
|
|
10
|
+
};
|
|
11
|
+
};
|
|
12
|
+
}, {
|
|
13
|
+
base: string;
|
|
14
|
+
icon: string;
|
|
15
|
+
text: string;
|
|
16
|
+
}, undefined, import("tailwind-variants/dist/config").TVConfig<{
|
|
17
|
+
transparent: {
|
|
18
|
+
true: {
|
|
19
|
+
base: string;
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
disabled: {
|
|
23
|
+
true: {
|
|
24
|
+
base: string;
|
|
25
|
+
};
|
|
26
|
+
};
|
|
27
|
+
}, {
|
|
28
|
+
transparent: {
|
|
29
|
+
true: {
|
|
30
|
+
base: string;
|
|
31
|
+
};
|
|
32
|
+
};
|
|
33
|
+
disabled: {
|
|
34
|
+
true: {
|
|
35
|
+
base: string;
|
|
36
|
+
};
|
|
37
|
+
};
|
|
38
|
+
}>, {
|
|
39
|
+
transparent: {
|
|
40
|
+
true: {
|
|
41
|
+
base: string;
|
|
42
|
+
};
|
|
43
|
+
};
|
|
44
|
+
disabled: {
|
|
45
|
+
true: {
|
|
46
|
+
base: string;
|
|
47
|
+
};
|
|
48
|
+
};
|
|
49
|
+
}, {
|
|
50
|
+
base: string;
|
|
51
|
+
icon: string;
|
|
52
|
+
text: string;
|
|
53
|
+
}, import("tailwind-variants").TVReturnType<{
|
|
54
|
+
transparent: {
|
|
55
|
+
true: {
|
|
56
|
+
base: string;
|
|
57
|
+
};
|
|
58
|
+
};
|
|
59
|
+
disabled: {
|
|
60
|
+
true: {
|
|
61
|
+
base: string;
|
|
62
|
+
};
|
|
63
|
+
};
|
|
64
|
+
}, {
|
|
65
|
+
base: string;
|
|
66
|
+
icon: string;
|
|
67
|
+
text: string;
|
|
68
|
+
}, undefined, import("tailwind-variants/dist/config").TVConfig<{
|
|
69
|
+
transparent: {
|
|
70
|
+
true: {
|
|
71
|
+
base: string;
|
|
72
|
+
};
|
|
73
|
+
};
|
|
74
|
+
disabled: {
|
|
75
|
+
true: {
|
|
76
|
+
base: string;
|
|
77
|
+
};
|
|
78
|
+
};
|
|
79
|
+
}, {
|
|
80
|
+
transparent: {
|
|
81
|
+
true: {
|
|
82
|
+
base: string;
|
|
83
|
+
};
|
|
84
|
+
};
|
|
85
|
+
disabled: {
|
|
86
|
+
true: {
|
|
87
|
+
base: string;
|
|
88
|
+
};
|
|
89
|
+
};
|
|
90
|
+
}>, unknown, unknown, undefined>>;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import { WithTranslation } from 'react-i18next';
|
|
3
|
+
type ProgressBarDashProps = {
|
|
4
|
+
t: any;
|
|
5
|
+
width: string;
|
|
6
|
+
value: number;
|
|
7
|
+
start: number;
|
|
8
|
+
end: number;
|
|
9
|
+
progress: number;
|
|
10
|
+
maxValue: number;
|
|
11
|
+
isLast?: boolean;
|
|
12
|
+
isCurrentRange?: boolean;
|
|
13
|
+
};
|
|
14
|
+
export declare const ProgressBarDash: FC<ProgressBarDashProps & Partial<WithTranslation | any>>;
|
|
15
|
+
export {};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
type ProgressRangeType = {
|
|
3
|
+
start: number;
|
|
4
|
+
end: number;
|
|
5
|
+
value: number;
|
|
6
|
+
};
|
|
7
|
+
type ProgressBarDashedProps = {
|
|
8
|
+
t: any;
|
|
9
|
+
maxValue: number;
|
|
10
|
+
ranges: ProgressRangeType[];
|
|
11
|
+
progress: number | undefined;
|
|
12
|
+
className?: string;
|
|
13
|
+
};
|
|
14
|
+
declare const ProgressBarDashed: FC<ProgressBarDashedProps>;
|
|
15
|
+
export default ProgressBarDashed;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const EDGE_VALUE = 60;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as ProgressBarDashed } from './ProgressBarDashed';
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
export declare const progressBarDashedStyles: import("tailwind-variants").TVReturnType<import("tailwind-variants").TVVariantsDefault<{
|
|
2
|
+
progressBar: string;
|
|
3
|
+
barArea: string;
|
|
4
|
+
barPrimary: string;
|
|
5
|
+
barDefault: string;
|
|
6
|
+
}, undefined> | {
|
|
7
|
+
[x: string]: {
|
|
8
|
+
[x: string]: import("tailwind-variants").ClassValue | import("tailwind-variants").SlotsClassValue<{
|
|
9
|
+
progressBar: string;
|
|
10
|
+
barArea: string;
|
|
11
|
+
barPrimary: string;
|
|
12
|
+
barDefault: string;
|
|
13
|
+
}, undefined>;
|
|
14
|
+
} | undefined;
|
|
15
|
+
} | {}, {
|
|
16
|
+
progressBar: string;
|
|
17
|
+
barArea: string;
|
|
18
|
+
barPrimary: string;
|
|
19
|
+
barDefault: string;
|
|
20
|
+
}, undefined, import("tailwind-variants/dist/config").TVConfig<unknown, import("tailwind-variants").TVVariantsDefault<{
|
|
21
|
+
progressBar: string;
|
|
22
|
+
barArea: string;
|
|
23
|
+
barPrimary: string;
|
|
24
|
+
barDefault: string;
|
|
25
|
+
}, undefined> | {}>, import("tailwind-variants").TVVariantsDefault<{
|
|
26
|
+
progressBar: string;
|
|
27
|
+
barArea: string;
|
|
28
|
+
barPrimary: string;
|
|
29
|
+
barDefault: string;
|
|
30
|
+
}, undefined> | {}, {
|
|
31
|
+
progressBar: string;
|
|
32
|
+
barArea: string;
|
|
33
|
+
barPrimary: string;
|
|
34
|
+
barDefault: string;
|
|
35
|
+
}, import("tailwind-variants").TVReturnType<unknown, {
|
|
36
|
+
progressBar: string;
|
|
37
|
+
barArea: string;
|
|
38
|
+
barPrimary: string;
|
|
39
|
+
barDefault: string;
|
|
40
|
+
}, undefined, import("tailwind-variants/dist/config").TVConfig<unknown, import("tailwind-variants").TVVariantsDefault<{
|
|
41
|
+
progressBar: string;
|
|
42
|
+
barArea: string;
|
|
43
|
+
barPrimary: string;
|
|
44
|
+
barDefault: string;
|
|
45
|
+
}, undefined> | {}>, unknown, unknown, undefined>>;
|
|
@@ -5,6 +5,7 @@ export declare enum TypographyVariantsEnum {
|
|
|
5
5
|
Title28Semi = "Title/28 Semi",
|
|
6
6
|
Title24Semi = "Title/24 Semi",
|
|
7
7
|
Title20Semi = "Title/20 Semi",
|
|
8
|
+
Title18Semi = "Title/18 Semi",
|
|
8
9
|
Text48Semi = "Text/48 Semi",
|
|
9
10
|
Text32Semi = "Text/32 Semi",
|
|
10
11
|
Text24Semi = "Text/24 Semi",
|
|
@@ -27,3 +27,8 @@ export * from './Video';
|
|
|
27
27
|
export * from './ListSimple';
|
|
28
28
|
export * from './CheckBoxItem';
|
|
29
29
|
export * from './InputSearch';
|
|
30
|
+
export * from './LabelArrowRedirect';
|
|
31
|
+
export * from './HeaderWithRedirect';
|
|
32
|
+
export * from './ProgressBarDashed';
|
|
33
|
+
export * from './DrumListPicker';
|
|
34
|
+
export * from './CollapsableText';
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { SupportedCurrency } from '../types';
|
|
2
|
+
type PriceNormilizeProps = {
|
|
3
|
+
price: number;
|
|
4
|
+
locale?: string;
|
|
5
|
+
currency?: SupportedCurrency;
|
|
6
|
+
side?: 'left' | 'right';
|
|
7
|
+
mode?: 'sign' | 'transcription';
|
|
8
|
+
};
|
|
9
|
+
export declare const priceNormalize: ({ price, locale, currency, side, mode, }: PriceNormilizeProps) => string;
|
|
10
|
+
export {};
|
package/dist/esm/lib2/widgets/SpecialistPaymentResumeWidget/SpecialistPaymentResumeWidget.d.ts
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { TranslationType } from '../../shared/types';
|
|
3
|
+
declare const _default: React.NamedExoticComponent<import("../../shared/types").SpecialistPaymentCardProps & import("../../shared/types").SpecialistPaymentConsultationsProps & TranslationType>;
|
|
4
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as SpecialistPaymentResumeWidget } from './SpecialistPaymentResumeWidget';
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { TranslationType } from '../../shared/types';
|
|
3
|
+
declare const _default: React.NamedExoticComponent<import("../../shared/types").SpecialistPaymentCardProps & {
|
|
4
|
+
routeClick: () => void;
|
|
5
|
+
} & TranslationType>;
|
|
6
|
+
export default _default;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
import SpecialistPaymentWidget from './SpecialistPaymentWidget';
|
|
3
|
+
declare const meta: Meta<typeof SpecialistPaymentWidget>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof SpecialistPaymentWidget>;
|
|
6
|
+
export declare const Default: Story;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as SpecialistPaymentWidget } from './SpecialistPaymentWidget';
|