@mindly/ui-components 5.105.1-hotfix → 5.105.2-dev.1
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 +8 -0
- package/dist/cjs/index.js +16 -8
- package/dist/cjs/lib/AppHeader/AppHeader.d.ts +1 -0
- 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/MindlyReviewFeature/MindlyReviewFeature.d.ts +21 -0
- package/dist/cjs/lib2/features/MindlyReviewFeature/index.d.ts +1 -0
- package/dist/cjs/lib2/features/MobilePickerFeature/MobilePickerFeature.d.ts +3 -9
- 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/OnBoardingConfirmScreenPreviewFeature/OnBoardingConfirmScreenPreviewFeature.d.ts +13 -0
- package/dist/cjs/lib2/features/OnBoardingFlow/OnBoardingConfirmScreenPreviewFeature/index.d.ts +1 -0
- package/dist/cjs/lib2/features/OnBoardingFlow/OnBoardingEmailScreenPreviewFeature/OnBoardingEmailScreenPreviewFeature.d.ts +10 -0
- package/dist/cjs/lib2/features/OnBoardingFlow/OnBoardingEmailScreenPreviewFeature/index.d.ts +1 -0
- package/dist/cjs/lib2/features/OnBoardingFlow/OnBoardingLoaderScreenPreviewFeature/OnBoardingLoaderScreenPreviewFeature.d.ts +7 -3
- package/dist/cjs/lib2/features/OnBoardingFlow/OnBoardingMultiSelectionScreenPreviewFeature/OnBoardingMultiSelectionScreenPreviewFeature.d.ts +2 -0
- package/dist/cjs/lib2/features/OnBoardingFlow/OnBoardingPaywallScreenPreviewFeature/OnBoardingPaywallScreenPreviewFeature.d.ts +15 -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 +41 -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/OnBoardingProgressFeature/OnBoardingProgressFeature.d.ts +2 -0
- package/dist/cjs/lib2/features/OnBoardingFlow/OnBoardingSingleSelectionScreenPreviewFeature/OnBoardingSingleSelectionScreenPreviewFeature.d.ts +5 -2
- package/dist/cjs/lib2/features/OnBoardingFlow/components/OnBoardingSelectionHeader.d.ts +8 -0
- package/dist/cjs/lib2/features/OnBoardingFlow/index.d.ts +5 -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 +7 -2
- package/dist/cjs/lib2/features/ReviewCardFeature/styles.d.ts +190 -16
- package/dist/cjs/lib2/features/ReviewListFeature/ReviewListFeature.d.ts +3 -0
- package/dist/cjs/lib2/features/SessionReviewsFeature/ReviewSubscriptionSessionFeature/ReviewSubscriptionSessionFeature.d.ts +3 -2
- package/dist/cjs/lib2/features/SessionReviewsFeature/ReviewSubscriptionSessionFeature/SpecialistReview.d.ts +2 -0
- package/dist/cjs/lib2/features/TariffFeature/TariffFeature.d.ts +4 -0
- package/dist/cjs/lib2/features/TariffFeature/TariffFeature.stories.d.ts +10 -0
- package/dist/cjs/lib2/features/TariffFeature/index.d.ts +1 -0
- package/dist/cjs/lib2/features/TariffFeature/styles.d.ts +215 -0
- package/dist/cjs/lib2/features/TariffFeature/types.d.ts +22 -0
- package/dist/cjs/lib2/features/index.d.ts +4 -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/IconChart.d.ts +3 -0
- package/dist/cjs/lib2/shared/assets/icons/IconCheckboxChecked.d.ts +1 -1
- package/dist/cjs/lib2/shared/assets/icons/IconCheckboxCheckedBold.d.ts +7 -0
- package/dist/cjs/lib2/shared/assets/icons/IconCompare.d.ts +3 -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/IconPaperPencil.d.ts +7 -0
- package/dist/cjs/lib2/shared/assets/icons/IconPaywall.d.ts +3 -0
- package/dist/cjs/lib2/shared/assets/icons/IconPoweredByStripe.d.ts +3 -0
- package/dist/cjs/lib2/shared/assets/icons/IconRadioButtonChecked.d.ts +6 -2
- package/dist/cjs/lib2/shared/assets/icons/IconRadioPartial.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 +22 -0
- package/dist/cjs/lib2/shared/hooks/useCircleRating.d.ts +7 -3
- package/dist/cjs/lib2/shared/types/common.d.ts +6 -0
- package/dist/cjs/lib2/shared/types/index.d.ts +1 -0
- package/dist/cjs/lib2/shared/types/onBoardingFlow.type.d.ts +79 -2
- package/dist/cjs/lib2/shared/types/ratingCircleTypes.d.ts +4 -0
- package/dist/cjs/lib2/shared/types/review.d.ts +10 -0
- package/dist/cjs/lib2/shared/types/tariff.d.ts +14 -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/Button_v2/Button_v2.d.ts +2 -18
- package/dist/cjs/lib2/shared/ui/Button_v2/Button_v2.style.d.ts +1 -0
- package/dist/cjs/lib2/shared/ui/Button_v2/types.d.ts +19 -0
- package/dist/cjs/lib2/shared/ui/Flag_v2/flags/Pl.d.ts +2 -0
- package/dist/cjs/lib2/shared/ui/Flag_v2/flags/Uk.d.ts +2 -0
- package/dist/cjs/lib2/shared/ui/Input/Input.d.ts +4 -0
- package/dist/cjs/lib2/shared/ui/Input/types.d.ts +4 -0
- package/dist/cjs/lib2/shared/ui/ListBox/ListBox.d.ts +1 -1
- package/dist/cjs/lib2/shared/ui/ListBox/types.d.ts +11 -2
- package/dist/cjs/lib2/shared/ui/ListBoxItem/ListBoxImageItem.d.ts +17 -0
- package/dist/cjs/lib2/shared/ui/ListBoxItem/constants.d.ts +2 -0
- package/dist/cjs/lib2/shared/ui/ListBoxItem/types.d.ts +16 -2
- package/dist/cjs/lib2/shared/ui/ProgressBar_v2/ProgressBar_v2.d.ts +1 -1
- package/dist/cjs/lib2/shared/ui/Rating/types.d.ts +2 -1
- package/dist/cjs/lib2/shared/ui/RatingCircle/RatingCircleWrapper.d.ts +1 -1
- package/dist/cjs/lib2/shared/ui/RatingCircle/styles.d.ts +49 -0
- package/dist/cjs/lib2/shared/ui/SolidInput/SolidInput.d.ts +4 -0
- package/dist/cjs/lib2/shared/ui/SolidInput/SolidInput.stories.d.ts +8 -0
- package/dist/cjs/lib2/shared/ui/SolidInput/index.d.ts +1 -0
- package/dist/cjs/lib2/shared/ui/SolidInput/types.d.ts +16 -0
- 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/ui/index.d.ts +1 -0
- package/dist/cjs/lib2/shared/utils/format.d.ts +1 -0
- package/dist/cjs/lib2/shared/utils/index.d.ts +2 -0
- package/dist/cjs/lib2/shared/utils/onboarding.d.ts +4 -0
- package/dist/cjs/lib2/widgets/SpecialistDetailWidget/index.d.ts +1 -0
- package/dist/cjs/lib2/widgets/SpecialistDetailWidget/types.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 +8 -0
- package/dist/esm/index.js +16 -8
- package/dist/esm/lib/AppHeader/AppHeader.d.ts +1 -0
- 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/MindlyReviewFeature/MindlyReviewFeature.d.ts +21 -0
- package/dist/esm/lib2/features/MindlyReviewFeature/index.d.ts +1 -0
- package/dist/esm/lib2/features/MobilePickerFeature/MobilePickerFeature.d.ts +3 -9
- 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/OnBoardingConfirmScreenPreviewFeature/OnBoardingConfirmScreenPreviewFeature.d.ts +13 -0
- package/dist/esm/lib2/features/OnBoardingFlow/OnBoardingConfirmScreenPreviewFeature/index.d.ts +1 -0
- package/dist/esm/lib2/features/OnBoardingFlow/OnBoardingEmailScreenPreviewFeature/OnBoardingEmailScreenPreviewFeature.d.ts +10 -0
- package/dist/esm/lib2/features/OnBoardingFlow/OnBoardingEmailScreenPreviewFeature/index.d.ts +1 -0
- package/dist/esm/lib2/features/OnBoardingFlow/OnBoardingLoaderScreenPreviewFeature/OnBoardingLoaderScreenPreviewFeature.d.ts +7 -3
- package/dist/esm/lib2/features/OnBoardingFlow/OnBoardingMultiSelectionScreenPreviewFeature/OnBoardingMultiSelectionScreenPreviewFeature.d.ts +2 -0
- package/dist/esm/lib2/features/OnBoardingFlow/OnBoardingPaywallScreenPreviewFeature/OnBoardingPaywallScreenPreviewFeature.d.ts +15 -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 +41 -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/OnBoardingProgressFeature/OnBoardingProgressFeature.d.ts +2 -0
- package/dist/esm/lib2/features/OnBoardingFlow/OnBoardingSingleSelectionScreenPreviewFeature/OnBoardingSingleSelectionScreenPreviewFeature.d.ts +5 -2
- package/dist/esm/lib2/features/OnBoardingFlow/components/OnBoardingSelectionHeader.d.ts +8 -0
- package/dist/esm/lib2/features/OnBoardingFlow/index.d.ts +5 -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 +7 -2
- package/dist/esm/lib2/features/ReviewCardFeature/styles.d.ts +190 -16
- package/dist/esm/lib2/features/ReviewListFeature/ReviewListFeature.d.ts +3 -0
- package/dist/esm/lib2/features/SessionReviewsFeature/ReviewSubscriptionSessionFeature/ReviewSubscriptionSessionFeature.d.ts +3 -2
- package/dist/esm/lib2/features/SessionReviewsFeature/ReviewSubscriptionSessionFeature/SpecialistReview.d.ts +2 -0
- package/dist/esm/lib2/features/TariffFeature/TariffFeature.d.ts +4 -0
- package/dist/esm/lib2/features/TariffFeature/TariffFeature.stories.d.ts +10 -0
- package/dist/esm/lib2/features/TariffFeature/index.d.ts +1 -0
- package/dist/esm/lib2/features/TariffFeature/styles.d.ts +215 -0
- package/dist/esm/lib2/features/TariffFeature/types.d.ts +22 -0
- package/dist/esm/lib2/features/index.d.ts +4 -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/IconChart.d.ts +3 -0
- package/dist/esm/lib2/shared/assets/icons/IconCheckboxChecked.d.ts +1 -1
- package/dist/esm/lib2/shared/assets/icons/IconCheckboxCheckedBold.d.ts +7 -0
- package/dist/esm/lib2/shared/assets/icons/IconCompare.d.ts +3 -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/IconPaperPencil.d.ts +7 -0
- package/dist/esm/lib2/shared/assets/icons/IconPaywall.d.ts +3 -0
- package/dist/esm/lib2/shared/assets/icons/IconPoweredByStripe.d.ts +3 -0
- package/dist/esm/lib2/shared/assets/icons/IconRadioButtonChecked.d.ts +6 -2
- package/dist/esm/lib2/shared/assets/icons/IconRadioPartial.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 +22 -0
- package/dist/esm/lib2/shared/hooks/useCircleRating.d.ts +7 -3
- package/dist/esm/lib2/shared/types/common.d.ts +6 -0
- package/dist/esm/lib2/shared/types/index.d.ts +1 -0
- package/dist/esm/lib2/shared/types/onBoardingFlow.type.d.ts +79 -2
- package/dist/esm/lib2/shared/types/ratingCircleTypes.d.ts +4 -0
- package/dist/esm/lib2/shared/types/review.d.ts +10 -0
- package/dist/esm/lib2/shared/types/tariff.d.ts +14 -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/Button_v2/Button_v2.d.ts +2 -18
- package/dist/esm/lib2/shared/ui/Button_v2/Button_v2.style.d.ts +1 -0
- package/dist/esm/lib2/shared/ui/Button_v2/types.d.ts +19 -0
- package/dist/esm/lib2/shared/ui/Flag_v2/flags/Pl.d.ts +2 -0
- package/dist/esm/lib2/shared/ui/Flag_v2/flags/Uk.d.ts +2 -0
- package/dist/esm/lib2/shared/ui/Input/Input.d.ts +4 -0
- package/dist/esm/lib2/shared/ui/Input/types.d.ts +4 -0
- package/dist/esm/lib2/shared/ui/ListBox/ListBox.d.ts +1 -1
- package/dist/esm/lib2/shared/ui/ListBox/types.d.ts +11 -2
- package/dist/esm/lib2/shared/ui/ListBoxItem/ListBoxImageItem.d.ts +17 -0
- package/dist/esm/lib2/shared/ui/ListBoxItem/constants.d.ts +2 -0
- package/dist/esm/lib2/shared/ui/ListBoxItem/types.d.ts +16 -2
- package/dist/esm/lib2/shared/ui/ProgressBar_v2/ProgressBar_v2.d.ts +1 -1
- package/dist/esm/lib2/shared/ui/Rating/types.d.ts +2 -1
- package/dist/esm/lib2/shared/ui/RatingCircle/RatingCircleWrapper.d.ts +1 -1
- package/dist/esm/lib2/shared/ui/RatingCircle/styles.d.ts +49 -0
- package/dist/esm/lib2/shared/ui/SolidInput/SolidInput.d.ts +4 -0
- package/dist/esm/lib2/shared/ui/SolidInput/SolidInput.stories.d.ts +8 -0
- package/dist/esm/lib2/shared/ui/SolidInput/index.d.ts +1 -0
- package/dist/esm/lib2/shared/ui/SolidInput/types.d.ts +16 -0
- 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/ui/index.d.ts +1 -0
- package/dist/esm/lib2/shared/utils/format.d.ts +1 -0
- package/dist/esm/lib2/shared/utils/index.d.ts +2 -0
- package/dist/esm/lib2/shared/utils/onboarding.d.ts +4 -0
- package/dist/esm/lib2/widgets/SpecialistDetailWidget/index.d.ts +1 -0
- package/dist/esm/lib2/widgets/SpecialistDetailWidget/types.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 +667 -231
- package/package.json +9 -8
- package/dist/cjs/lib2/features/MobilePickerFeature/utils.d.ts +0 -3
- package/dist/cjs/lib2/features/SessionReviewsModal/SubscriptionSession/Container.d.ts +0 -18
- package/dist/cjs/lib2/features/SessionReviewsModal/SubscriptionSession/SessionReview.d.ts +0 -19
- package/dist/cjs/lib2/features/SessionReviewsModal/SubscriptionSession/SpecialistReview.d.ts +0 -17
- package/dist/cjs/lib2/features/SessionReviewsModal/SubscriptionSession/constants.d.ts +0 -8
- package/dist/cjs/lib2/features/SessionReviewsModal/SubscriptionSession/index.d.ts +0 -2
- package/dist/cjs/lib2/features/SessionReviewsModal/TrialSession/SessionReview.d.ts +0 -23
- package/dist/cjs/lib2/features/SessionReviewsModal/TrialSession/constants.d.ts +0 -8
- package/dist/cjs/lib2/features/SessionReviewsModal/TrialSession/index.d.ts +0 -2
- package/dist/cjs/lib2/features/SessionReviewsModal/components/StarRating.d.ts +0 -7
- package/dist/cjs/lib2/features/SessionReviewsModal/components/TagsList.d.ts +0 -16
- package/dist/cjs/lib2/features/SessionReviewsModal/index.d.ts +0 -4
- package/dist/cjs/lib2/shared/ui/ListItems/ListItem.d.ts +0 -15
- package/dist/cjs/lib2/widgets/SpecialistPaymentConsultationDetailsWidget/SpecialistPaymentConsultationDetailsWidget.d.ts +0 -4
- package/dist/cjs/lib2/widgets/SpecialistPaymentConsultationDetailsWidget/index.d.ts +0 -1
- package/dist/esm/lib2/features/MobilePickerFeature/utils.d.ts +0 -3
- package/dist/esm/lib2/features/SessionReviewsModal/SubscriptionSession/Container.d.ts +0 -18
- package/dist/esm/lib2/features/SessionReviewsModal/SubscriptionSession/SessionReview.d.ts +0 -19
- package/dist/esm/lib2/features/SessionReviewsModal/SubscriptionSession/SpecialistReview.d.ts +0 -17
- package/dist/esm/lib2/features/SessionReviewsModal/SubscriptionSession/constants.d.ts +0 -8
- package/dist/esm/lib2/features/SessionReviewsModal/SubscriptionSession/index.d.ts +0 -2
- package/dist/esm/lib2/features/SessionReviewsModal/TrialSession/SessionReview.d.ts +0 -23
- package/dist/esm/lib2/features/SessionReviewsModal/TrialSession/constants.d.ts +0 -8
- package/dist/esm/lib2/features/SessionReviewsModal/TrialSession/index.d.ts +0 -2
- package/dist/esm/lib2/features/SessionReviewsModal/components/StarRating.d.ts +0 -7
- package/dist/esm/lib2/features/SessionReviewsModal/components/TagsList.d.ts +0 -16
- package/dist/esm/lib2/features/SessionReviewsModal/index.d.ts +0 -4
- package/dist/esm/lib2/shared/ui/ListItems/ListItem.d.ts +0 -15
- package/dist/esm/lib2/widgets/SpecialistPaymentConsultationDetailsWidget/SpecialistPaymentConsultationDetailsWidget.d.ts +0 -4
- package/dist/esm/lib2/widgets/SpecialistPaymentConsultationDetailsWidget/index.d.ts +0 -1
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export type Tariff = {
|
|
2
|
+
id: string;
|
|
3
|
+
label: string;
|
|
4
|
+
priceAfterDiscount: number;
|
|
5
|
+
priceAfterAdditionalDiscount: number;
|
|
6
|
+
priceBase: number;
|
|
7
|
+
description: string;
|
|
8
|
+
isMostPopular?: boolean;
|
|
9
|
+
percentDiscount?: number;
|
|
10
|
+
advantagesList: {
|
|
11
|
+
id: string;
|
|
12
|
+
label: string;
|
|
13
|
+
}[];
|
|
14
|
+
};
|
|
@@ -1,20 +1,4 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
3
|
-
export type ButtonProps = {
|
|
4
|
-
fill?: 'outline' | 'clear';
|
|
5
|
-
size?: 'default' | 'large' | 'small';
|
|
6
|
-
customSize?: 'smaller' | 'auto';
|
|
7
|
-
withDefaultState?: boolean;
|
|
8
|
-
color?: undefined;
|
|
9
|
-
fullWidth?: boolean;
|
|
10
|
-
className?: string;
|
|
11
|
-
routerLink?: string;
|
|
12
|
-
onClick?: (e: React.MouseEvent<HTMLIonButtonElement>) => void;
|
|
13
|
-
isLoading?: boolean;
|
|
14
|
-
icon?: React.ReactNode;
|
|
15
|
-
iconPosition?: 'start' | 'center';
|
|
16
|
-
style?: React.CSSProperties;
|
|
17
|
-
id?: string;
|
|
18
|
-
} & JSX.IonButton;
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import { ButtonProps } from './types';
|
|
19
3
|
declare const Button_v2: FC<ButtonProps>;
|
|
20
4
|
export default Button_v2;
|
|
@@ -19,4 +19,5 @@ export declare const ButtonStyled: import("styled-components").StyledComponent<i
|
|
|
19
19
|
iconPosition?: "center" | "start" | undefined;
|
|
20
20
|
style?: import("react").CSSProperties | undefined;
|
|
21
21
|
id?: string | undefined;
|
|
22
|
+
variant?: "default" | "blue" | undefined;
|
|
22
23
|
} & import("@ionic/core/dist/types/components").JSX.IonButton, never>;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { JSX } from '@ionic/core/components';
|
|
3
|
+
export type ButtonProps = {
|
|
4
|
+
fill?: 'outline' | 'clear';
|
|
5
|
+
size?: 'default' | 'large' | 'small';
|
|
6
|
+
customSize?: 'smaller' | 'auto';
|
|
7
|
+
withDefaultState?: boolean;
|
|
8
|
+
color?: undefined;
|
|
9
|
+
fullWidth?: boolean;
|
|
10
|
+
className?: string;
|
|
11
|
+
routerLink?: string;
|
|
12
|
+
onClick?: (e: React.MouseEvent<HTMLIonButtonElement>) => void;
|
|
13
|
+
isLoading?: boolean;
|
|
14
|
+
icon?: React.ReactNode;
|
|
15
|
+
iconPosition?: 'start' | 'center';
|
|
16
|
+
style?: React.CSSProperties;
|
|
17
|
+
id?: string;
|
|
18
|
+
variant?: 'default' | 'blue';
|
|
19
|
+
} & JSX.IonButton;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { ListBoxProps } from './types';
|
|
2
|
-
export default function ListBox<T extends Record<string, unknown>>({ selectedIconProps, type, selectionPosition, enableSelection, className, ...props }: ListBoxProps<T>): JSX.Element;
|
|
2
|
+
export default function ListBox<T extends Record<string, unknown>>({ selectedIconProps, type, selectionPosition, enableSelection, className, selectionImageClassNames, variant, ...props }: ListBoxProps<T>): JSX.Element;
|
|
@@ -1,13 +1,22 @@
|
|
|
1
1
|
import { AriaListBoxProps } from 'react-aria';
|
|
2
|
-
import { IconProps } from '../../types';
|
|
2
|
+
import { IconProps, ResponseFileType } from '../../types';
|
|
3
3
|
export declare enum ListBoxSelectionType {
|
|
4
4
|
Checkbox = "checkbox",
|
|
5
|
-
Radio = "radio"
|
|
5
|
+
Radio = "radio",
|
|
6
|
+
Image = "image"
|
|
6
7
|
}
|
|
8
|
+
export type VariantType = 'default' | 'blue';
|
|
7
9
|
export type ListBoxProps<T> = AriaListBoxProps<T> & {
|
|
8
10
|
type?: `${ListBoxSelectionType}`;
|
|
9
11
|
enableSelection?: boolean;
|
|
10
12
|
selectedIconProps?: IconProps;
|
|
11
13
|
selectionPosition?: 'start' | 'end';
|
|
14
|
+
selectionImageClassNames?: {
|
|
15
|
+
label?: string;
|
|
16
|
+
arrowIcon?: string;
|
|
17
|
+
bottomContainer?: string;
|
|
18
|
+
} | null;
|
|
12
19
|
className?: string;
|
|
20
|
+
variant?: VariantType;
|
|
21
|
+
image?: ResponseFileType;
|
|
13
22
|
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Node } from 'react-stately';
|
|
3
|
+
import { ResponseFileType } from '../../types';
|
|
4
|
+
import { VariantType } from '../ListBox/types';
|
|
5
|
+
type ListBoxImageItemProps = {
|
|
6
|
+
isSelected: boolean;
|
|
7
|
+
item: Node<unknown>;
|
|
8
|
+
image?: ResponseFileType | null;
|
|
9
|
+
variant: VariantType;
|
|
10
|
+
selectionImageClassNames?: {
|
|
11
|
+
label?: string;
|
|
12
|
+
arrowIcon?: string;
|
|
13
|
+
bottomContainer?: string;
|
|
14
|
+
} | null;
|
|
15
|
+
};
|
|
16
|
+
declare const _default: React.MemoExoticComponent<({ isSelected, item, image, variant, selectionImageClassNames, }: ListBoxImageItemProps) => JSX.Element>;
|
|
17
|
+
export default _default;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ListState, Node } from 'react-stately';
|
|
2
2
|
import * as React from 'react';
|
|
3
|
-
import { ListBoxSelectionType } from '../ListBox';
|
|
4
|
-
import { IconProps } from '../../types';
|
|
3
|
+
import { ListBoxSelectionType, VariantType } from '../ListBox';
|
|
4
|
+
import { IconProps, ResponseFileType } from '../../types';
|
|
5
5
|
export type ListOptionsProps = {
|
|
6
6
|
item: Node<unknown>;
|
|
7
7
|
state: ListState<unknown>;
|
|
@@ -12,6 +12,13 @@ export type ListOptionsProps = {
|
|
|
12
12
|
type?: `${ListBoxSelectionType}`;
|
|
13
13
|
selectionPosition?: 'start' | 'end';
|
|
14
14
|
enableSelection?: boolean;
|
|
15
|
+
variant?: VariantType;
|
|
16
|
+
image?: ResponseFileType | null;
|
|
17
|
+
selectionImageClassNames?: {
|
|
18
|
+
label?: string;
|
|
19
|
+
arrowIcon?: string;
|
|
20
|
+
bottomContainer?: string;
|
|
21
|
+
} | null;
|
|
15
22
|
};
|
|
16
23
|
export type ListBoxItemProps = {
|
|
17
24
|
icon?: React.ReactNode;
|
|
@@ -21,7 +28,14 @@ export type ListBoxItemProps = {
|
|
|
21
28
|
value?: string;
|
|
22
29
|
children: React.ReactNode;
|
|
23
30
|
className?: string;
|
|
31
|
+
sselectionImageClassNames?: {
|
|
32
|
+
label?: string;
|
|
33
|
+
arrowIcon?: string;
|
|
34
|
+
bottomContainer?: string;
|
|
35
|
+
} | null;
|
|
24
36
|
customContent?: boolean;
|
|
25
37
|
onClick?: HTMLIonItemElement['onclick'];
|
|
38
|
+
variant?: VariantType;
|
|
39
|
+
image?: ResponseFileType | null;
|
|
26
40
|
};
|
|
27
41
|
export type { Selection } from 'react-stately';
|
|
@@ -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;
|
|
@@ -2,6 +2,6 @@ import { FC } from 'react';
|
|
|
2
2
|
import { WithTranslation } from 'react-i18next';
|
|
3
3
|
import { CircleRatingComponentProps } from '../../types';
|
|
4
4
|
declare const RatingCircleWrapper: FC<CircleRatingComponentProps & {
|
|
5
|
-
t: WithTranslation | any;
|
|
5
|
+
t: WithTranslation['t'] | any;
|
|
6
6
|
}>;
|
|
7
7
|
export default RatingCircleWrapper;
|
|
@@ -28,6 +28,13 @@ export declare const circleRatingStyles: import("tailwind-variants").TVReturnTyp
|
|
|
28
28
|
icon: string;
|
|
29
29
|
};
|
|
30
30
|
};
|
|
31
|
+
isPrimaryColor: {
|
|
32
|
+
true: {
|
|
33
|
+
coloredStroke: string;
|
|
34
|
+
contentColor: string;
|
|
35
|
+
icon: string;
|
|
36
|
+
};
|
|
37
|
+
};
|
|
31
38
|
}, {
|
|
32
39
|
breakPoint: string;
|
|
33
40
|
defaultStroke: string;
|
|
@@ -66,6 +73,13 @@ export declare const circleRatingStyles: import("tailwind-variants").TVReturnTyp
|
|
|
66
73
|
icon: string;
|
|
67
74
|
};
|
|
68
75
|
};
|
|
76
|
+
isPrimaryColor: {
|
|
77
|
+
true: {
|
|
78
|
+
coloredStroke: string;
|
|
79
|
+
contentColor: string;
|
|
80
|
+
icon: string;
|
|
81
|
+
};
|
|
82
|
+
};
|
|
69
83
|
}, {
|
|
70
84
|
transparent: {
|
|
71
85
|
true: {
|
|
@@ -96,6 +110,13 @@ export declare const circleRatingStyles: import("tailwind-variants").TVReturnTyp
|
|
|
96
110
|
icon: string;
|
|
97
111
|
};
|
|
98
112
|
};
|
|
113
|
+
isPrimaryColor: {
|
|
114
|
+
true: {
|
|
115
|
+
coloredStroke: string;
|
|
116
|
+
contentColor: string;
|
|
117
|
+
icon: string;
|
|
118
|
+
};
|
|
119
|
+
};
|
|
99
120
|
}>, {
|
|
100
121
|
transparent: {
|
|
101
122
|
true: {
|
|
@@ -126,6 +147,13 @@ export declare const circleRatingStyles: import("tailwind-variants").TVReturnTyp
|
|
|
126
147
|
icon: string;
|
|
127
148
|
};
|
|
128
149
|
};
|
|
150
|
+
isPrimaryColor: {
|
|
151
|
+
true: {
|
|
152
|
+
coloredStroke: string;
|
|
153
|
+
contentColor: string;
|
|
154
|
+
icon: string;
|
|
155
|
+
};
|
|
156
|
+
};
|
|
129
157
|
}, {
|
|
130
158
|
breakPoint: string;
|
|
131
159
|
defaultStroke: string;
|
|
@@ -164,6 +192,13 @@ export declare const circleRatingStyles: import("tailwind-variants").TVReturnTyp
|
|
|
164
192
|
icon: string;
|
|
165
193
|
};
|
|
166
194
|
};
|
|
195
|
+
isPrimaryColor: {
|
|
196
|
+
true: {
|
|
197
|
+
coloredStroke: string;
|
|
198
|
+
contentColor: string;
|
|
199
|
+
icon: string;
|
|
200
|
+
};
|
|
201
|
+
};
|
|
167
202
|
}, {
|
|
168
203
|
breakPoint: string;
|
|
169
204
|
defaultStroke: string;
|
|
@@ -202,6 +237,13 @@ export declare const circleRatingStyles: import("tailwind-variants").TVReturnTyp
|
|
|
202
237
|
icon: string;
|
|
203
238
|
};
|
|
204
239
|
};
|
|
240
|
+
isPrimaryColor: {
|
|
241
|
+
true: {
|
|
242
|
+
coloredStroke: string;
|
|
243
|
+
contentColor: string;
|
|
244
|
+
icon: string;
|
|
245
|
+
};
|
|
246
|
+
};
|
|
205
247
|
}, {
|
|
206
248
|
transparent: {
|
|
207
249
|
true: {
|
|
@@ -232,4 +274,11 @@ export declare const circleRatingStyles: import("tailwind-variants").TVReturnTyp
|
|
|
232
274
|
icon: string;
|
|
233
275
|
};
|
|
234
276
|
};
|
|
277
|
+
isPrimaryColor: {
|
|
278
|
+
true: {
|
|
279
|
+
coloredStroke: string;
|
|
280
|
+
contentColor: string;
|
|
281
|
+
icon: string;
|
|
282
|
+
};
|
|
283
|
+
};
|
|
235
284
|
}>, unknown, unknown, undefined>>;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
import SolidInput from './SolidInput';
|
|
3
|
+
declare const meta: Meta<typeof SolidInput>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof SolidInput>;
|
|
6
|
+
export declare const Default: Story;
|
|
7
|
+
export declare const WithError: Story;
|
|
8
|
+
export declare const Password: Story;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as SolidInput } from './SolidInput';
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { InputChangeEventDetail, IonInputCustomEvent, TextFieldTypes } from '@ionic/core';
|
|
2
|
+
import { KeyboardEventHandler } from 'react';
|
|
3
|
+
export type SolidInputProps = {
|
|
4
|
+
placeholder: string;
|
|
5
|
+
value?: string;
|
|
6
|
+
name?: string;
|
|
7
|
+
type?: TextFieldTypes;
|
|
8
|
+
itemClassName?: string;
|
|
9
|
+
inputClassName?: string;
|
|
10
|
+
labelClassName?: string;
|
|
11
|
+
errorText?: string;
|
|
12
|
+
isInvalid?: boolean;
|
|
13
|
+
showTogglePassword?: boolean;
|
|
14
|
+
onChange?: (event: IonInputCustomEvent<InputChangeEventDetail>) => void;
|
|
15
|
+
onKeyDown?: KeyboardEventHandler;
|
|
16
|
+
};
|
|
@@ -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;
|
|
@@ -19,4 +19,5 @@ export type SpecialistDetailWidgetProps = {
|
|
|
19
19
|
onRateSession?(): void;
|
|
20
20
|
onOpenSuperSpecialistArticle?(): void;
|
|
21
21
|
onOpenNewSpecialistArticle?(): void;
|
|
22
|
+
onEditSpecialistReview?: (review: Pick<SpecialistReview, 'id' | 'review_rating' | 'text_of_review'>) => Promise<void>;
|
|
22
23
|
};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
import SpecialistPreviewWidget from './SpecialistPreviewWidget';
|
|
3
|
+
declare const meta: Meta<typeof SpecialistPreviewWidget>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof SpecialistPreviewWidget>;
|
|
6
|
+
export declare const Default: Story;
|
|
7
|
+
export declare const Blue: Story;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as SpecialistPreviewWidget } from './SpecialistPreviewWidget';
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { WithTranslation } from 'react-i18next';
|
|
2
|
+
import { Specialist } from '../../shared/types';
|
|
3
|
+
import { VariantEnum } from '../../shared/types/variant';
|
|
4
|
+
export type SpecialistPreviewWidgetProps = {
|
|
5
|
+
t?: WithTranslation['t'];
|
|
6
|
+
specialist: Specialist;
|
|
7
|
+
variant?: VariantEnum;
|
|
8
|
+
className?: string;
|
|
9
|
+
};
|
|
@@ -38,10 +38,18 @@ declare const _default: {
|
|
|
38
38
|
};
|
|
39
39
|
white: string;
|
|
40
40
|
black: string;
|
|
41
|
+
brand: {
|
|
42
|
+
client: {
|
|
43
|
+
celestialBlueSuperLight: string;
|
|
44
|
+
celestialBlue: string;
|
|
45
|
+
celestialBlueDarker: string;
|
|
46
|
+
};
|
|
47
|
+
};
|
|
41
48
|
};
|
|
42
49
|
typography: {
|
|
43
50
|
typography: {
|
|
44
51
|
primary: string;
|
|
52
|
+
secondary: string;
|
|
45
53
|
};
|
|
46
54
|
};
|
|
47
55
|
badges: {
|