@mindly/ui-components 6.6.0 → 6.6.1-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/b7649e1531c181af.svg +69 -0
- package/dist/cjs/deprecated/SpecialistEducationCard/EmptyInstitutionLogo.d.ts +3 -0
- package/dist/cjs/deprecated/SpecialistEducationCard/SpecialistEducationCard.d.ts +12 -0
- package/dist/cjs/deprecated/SpecialistEducationCard/SpecialistEducationCard.style.d.ts +6 -0
- package/dist/cjs/deprecated/SpecialistEducationCard/index.d.ts +1 -0
- package/dist/cjs/deprecated/SpecialistProfileViewCard/PlayVideoIcon/PlayVideoIcon.d.ts +3 -0
- package/dist/cjs/deprecated/SpecialistProfileViewCard/SpecialistProfileViewCard.d.ts +14 -0
- package/dist/cjs/deprecated/SpecialistProfileViewCard/SpecialistProfileViewCard.style.d.ts +11 -0
- package/dist/cjs/deprecated/SpecialistProfileViewCard/index.d.ts +1 -0
- package/dist/cjs/deprecated/SpecialistStatisticsCard/SpecialistStatisticsCard.d.ts +11 -0
- package/dist/cjs/deprecated/SpecialistStatisticsCard/SpecialistStatisticsCard.style.d.ts +5 -0
- package/dist/cjs/deprecated/SpecialistStatisticsCard/index.d.ts +1 -0
- package/dist/cjs/deprecated/SpecialistStatisticsCard/utils.d.ts +1 -0
- package/dist/cjs/deprecated/SpecialistWorkDirections/SpecialistWorkDirections.d.ts +11 -0
- package/dist/cjs/deprecated/SpecialistWorkDirections/SpecialistWorkDirections.style.d.ts +2 -0
- package/dist/cjs/deprecated/SpecialistWorkDirections/index.d.ts +1 -0
- package/dist/cjs/deprecated/therapist-card/TherapistCard.d.ts +16 -0
- package/dist/cjs/deprecated/therapist-card/TherapistCard.style.d.ts +5 -0
- package/dist/cjs/index.js +8 -8
- package/dist/cjs/lib/ChangeLangModal/ChangeLangModal.d.ts +15 -0
- package/dist/cjs/lib/ChangeLangModal/ChangeLangModal.style.d.ts +4 -0
- package/dist/cjs/lib/ChangeLangModal/index.d.ts +2 -0
- package/dist/cjs/lib/Chat/LouseConnect/LouseConnect.d.ts +6 -0
- package/dist/cjs/lib/Chat/LouseConnect/LouseConnect.style.d.ts +3 -0
- package/dist/cjs/lib/Chat/LouseConnect/index.d.ts +1 -0
- package/dist/cjs/lib/EntryNotFound/EntryNotFound.d.ts +5 -0
- package/dist/cjs/lib/EntryNotFound/EntryNotFound.style.d.ts +2 -0
- package/dist/cjs/lib/EntryNotFound/index.d.ts +1 -0
- package/dist/cjs/lib/HorisontalCalendar/HorizontalCalendar.d.ts +40 -0
- package/dist/cjs/lib/HorisontalCalendar/HorizontalCalendar.styled.d.ts +2 -0
- package/dist/cjs/lib/HorisontalCalendar/index.d.ts +1 -0
- package/dist/cjs/lib/Modal/Modal.d.ts +8 -0
- package/dist/cjs/lib/Modal/Modal.style.d.ts +6 -0
- package/dist/cjs/lib/Modal/index.d.ts +1 -0
- package/dist/cjs/lib/ModalCalendar/ModalCalendar.d.ts +10 -0
- package/dist/cjs/lib/ModalCalendar/ModalCalendar.styled.d.ts +12 -0
- package/dist/cjs/lib/PersonDateTimeCard/PersonDateTimeCard.d.ts +8 -0
- package/dist/cjs/lib/PersonDateTimeCard/PersonDateTimeCard.styled.d.ts +2 -0
- package/dist/cjs/lib/SelectImpressionEmoji/ImpressionEmojiEnum.d.ts +8 -0
- package/dist/cjs/lib/SelectImpressionEmoji/SelectImpressionEmoji.d.ts +4 -0
- package/dist/cjs/lib/SelectImpressionEmoji/SelectImpressionEmoji.styled.d.ts +2 -0
- package/dist/cjs/lib/SelectImpressionEmoji/SelectImpressionEmojiProps.d.ts +6 -0
- package/dist/cjs/lib/SelectImpressionEmoji/emojis.d.ts +5 -0
- package/dist/cjs/lib/SelectImpressionEmoji/index.d.ts +4 -0
- package/dist/cjs/lib/StatusTag/StatusTag.d.ts +7 -0
- package/dist/cjs/lib/StatusTag/StatusTag.style.d.ts +6 -0
- package/dist/cjs/lib/StatusTag/index.d.ts +1 -0
- package/dist/cjs/lib/UsersPsychologistScrollList/UserPsychologistScrollList.styled.d.ts +6 -0
- package/dist/cjs/lib/UsersPsychologistScrollList/UsersPsychologistScrollList.d.ts +10 -0
- package/dist/cjs/lib/archived-consultation-card/ArchivedConsultationCard.d.ts +14 -0
- package/dist/cjs/lib/archived-consultation-card/ArchivedConsultationCard.style.d.ts +4 -0
- package/dist/cjs/lib/content-card/ContentCard.d.ts +15 -0
- package/dist/cjs/lib/content-card/ContentCard.style.d.ts +11 -0
- package/dist/cjs/lib/floating-button/FloatingButton.d.ts +8 -0
- package/dist/cjs/lib/floating-button/FloatingButton.style.d.ts +6 -0
- package/dist/cjs/lib/footer-for-booking/FooterForBooking.d.ts +9 -0
- package/dist/cjs/lib/footer-for-booking/FooterForBooking.style.d.ts +6 -0
- package/dist/cjs/lib/footer-for-booking/index.d.ts +1 -0
- package/dist/cjs/lib/list-button/ListButton.d.ts +9 -0
- package/dist/cjs/lib/list-button/ListButton.style.d.ts +2 -0
- package/dist/cjs/lib/navigation-bar/NavigationBar.d.ts +8 -0
- package/dist/cjs/lib/navigation-bar/NavigationBar.style.d.ts +8 -0
- package/dist/cjs/lib/notes-card-text/NotesCardText.d.ts +6 -0
- package/dist/cjs/lib/notes-card-text/NotesCardText.style.d.ts +1 -0
- package/dist/cjs/lib/notes-card-text/index.d.ts +1 -0
- package/dist/cjs/lib/notes-editor/NotesEditor.d.ts +5 -0
- package/dist/cjs/lib/notes-editor/NotesEditor.styled.d.ts +2 -0
- package/dist/cjs/lib/scroll-tabs/ScrollTabs.d.ts +7 -0
- package/dist/cjs/lib/scroll-tabs/ScrollTabs.style.d.ts +3 -0
- package/dist/cjs/lib/tab-bar/TabBar.d.ts +6 -0
- package/dist/cjs/lib/tab-bar/TabBar.style.d.ts +5 -0
- package/dist/cjs/lib/therapist-information-component/TherapistInformationComponent.d.ts +10 -0
- package/dist/cjs/lib/therapist-information-component/TherapistInformationComponent.style.d.ts +2 -0
- package/dist/cjs/lib/your-local-time-block/YourLocalTimeBlock.d.ts +6 -0
- package/dist/cjs/lib/your-local-time-block/YourLocalTimeBlock.styled.d.ts +2 -0
- package/dist/cjs/lib2/features/AcceptAgreementFeature/AcceptAgreemnetFeature.d.ts +0 -1
- package/dist/cjs/lib2/features/Charts/ChartAreaFeature/ChartAreaFeature.d.ts +1 -2
- package/dist/cjs/lib2/features/Charts/ChartLinesFeature/ChartLinesFeature.d.ts +2 -0
- package/dist/cjs/lib2/features/Charts/components/DotLabel.d.ts +1 -2
- package/dist/cjs/lib2/features/GoogleCalendarModalFeature/GoogleCalendarModalFeature.d.ts +0 -1
- package/dist/cjs/lib2/features/OnBoardingFlow/OnBoardingChartScreenPreviewFeature/OnBoardingChartScreenPreviewFeature.d.ts +2 -2
- package/dist/cjs/lib2/features/OnBoardingFlow/OnBoardingCompareScreenPreviewFeature /OnBoardingCompareScreenPreviewFeature.d.ts +2 -2
- package/dist/cjs/lib2/features/OnBoardingFlow/OnBoardingGoalSelectionScreenPreviewFeature/OnBoardingGoalSelectionScreenPreviewFeature.d.ts +3 -2
- package/dist/cjs/lib2/features/OnBoardingFlow/OnBoardingGraphScreenPreviewFeature/OnBoardingGraphScreenPreviewFeature.d.ts +3 -5
- package/dist/cjs/lib2/features/OnBoardingFlow/OnBoardingLoaderScreenPreviewFeature/OnBoardingLoaderScreenPreviewFeature.d.ts +2 -2
- package/dist/cjs/lib2/features/OnBoardingFlow/OnBoardingLoaderScreenPreviewFeature/components/ListTemplateLoader.d.ts +2 -2
- package/dist/cjs/lib2/features/OnBoardingFlow/OnBoardingLoaderScreenPreviewFeature/components/ListTemplateLoaderItem.d.ts +0 -2
- package/dist/cjs/lib2/features/OnBoardingFlow/OnBoardingLoaderScreenPreviewFeature/components/ListTemplateLoaderModal.d.ts +2 -2
- package/dist/cjs/lib2/features/OnBoardingFlow/OnBoardingMultiSelectionScreenPreviewFeature/OnBoardingMultiSelectionScreenPreviewFeature.d.ts +3 -2
- package/dist/cjs/lib2/features/OnBoardingFlow/OnBoardingPaywallScreenPreviewFeature/OnBoardingPaywallScreenPreviewFeature.d.ts +2 -2
- package/dist/cjs/lib2/features/OnBoardingFlow/OnBoardingPaywallScreenPreviewFeature/styles.d.ts +0 -21
- package/dist/cjs/lib2/features/OnBoardingFlow/OnBoardingProgressFeature/CounterProgress.d.ts +3 -2
- package/dist/cjs/lib2/features/OnBoardingFlow/OnBoardingProgressFeature/DefaultProgress.d.ts +3 -2
- package/dist/cjs/lib2/features/OnBoardingFlow/OnBoardingProgressFeature/OnBoardingProgressFeature.d.ts +3 -2
- package/dist/cjs/lib2/features/OnBoardingFlow/OnBoardingSingleSelectionScreenPreviewFeature/OnBoardingSingleSelectionScreenPreviewFeature.d.ts +3 -2
- package/dist/cjs/lib2/features/OutdatedPersonalDataFeature/OutdatedPersonalDataFeature.d.ts +0 -1
- package/dist/cjs/lib2/features/PushNotificationsIsDisabledBanner/PushNotificationsIsDisabledBanner.d.ts +0 -1
- package/dist/cjs/lib2/features/PushNotificationsModal/PushNotificationsModal.d.ts +0 -1
- package/dist/cjs/lib2/features/TariffFeature/styles.d.ts +0 -21
- package/dist/cjs/lib2/features/TariffFeature/types.d.ts +0 -2
- package/dist/cjs/lib2/shared/assets/icons/IconMinus.d.ts +0 -1
- package/dist/cjs/lib2/shared/providers/AuthProvider/AuthProvider.d.ts +12 -0
- package/dist/cjs/lib2/shared/providers/AuthProvider/index.d.ts +1 -0
- package/dist/cjs/lib2/shared/providers/AuthProvider/types.d.ts +19 -0
- package/dist/cjs/lib2/shared/providers/index.d.ts +1 -0
- package/dist/cjs/lib2/shared/types/common.d.ts +0 -4
- package/dist/cjs/lib2/shared/types/onBoardingFlow.type.d.ts +1 -8
- package/dist/cjs/lib2/shared/types/specialistTypes.d.ts +0 -1
- package/dist/cjs/lib2/shared/types/variant.d.ts +1 -2
- package/dist/cjs/lib2/shared/ui/Button_v2/Button_v2.style.d.ts +2 -2
- package/dist/cjs/lib2/shared/ui/Button_v2/types.d.ts +2 -3
- package/dist/cjs/lib2/shared/ui/Calendar/Calendar.d.ts +0 -1
- package/dist/cjs/lib2/shared/ui/Calendar/VerticalCalendar.d.ts +0 -1
- package/dist/cjs/lib2/shared/ui/Calendar/VerticalCalendarMonthSkeleton.d.ts +0 -1
- package/dist/cjs/lib2/shared/ui/Calendar/VerticalCalendarSkeleton.d.ts +0 -1
- package/dist/cjs/lib2/shared/ui/ListBox/ListBox.d.ts +1 -2
- package/dist/cjs/lib2/shared/ui/ListBox/types.d.ts +2 -3
- package/dist/cjs/lib2/shared/ui/ListBoxItem/ListBoxDefaultItem.d.ts +3 -4
- package/dist/cjs/lib2/shared/ui/ListBoxItem/ListBoxEmojiItem.d.ts +1 -3
- package/dist/cjs/lib2/shared/ui/ListBoxItem/ListBoxIconItem.d.ts +3 -4
- package/dist/cjs/lib2/shared/ui/ListBoxItem/ListBoxImageItem.d.ts +2 -3
- package/dist/cjs/lib2/shared/ui/ListBoxItem/constants.d.ts +1 -1
- package/dist/cjs/lib2/shared/ui/ListBoxItem/types.d.ts +2 -2
- package/dist/cjs/lib2/shared/ui/ProgressBar_v2/ProgressBar_v2.d.ts +1 -3
- package/dist/cjs/lib2/shared/ui/RatingCircle/RatingCircleIcons.d.ts +0 -1
- package/dist/cjs/lib2/shared/ui/Tabs/Tab.d.ts +0 -1
- package/dist/cjs/lib2/shared/ui/Tabs/TabPanel.d.ts +0 -1
- package/dist/cjs/lib2/shared/ui/Tabs/Tabs.d.ts +0 -1
- package/dist/cjs/lib2/shared/ui/Video/styles.d.ts +0 -28
- package/dist/cjs/lib2/shared/utils/globalAuthState.d.ts +131 -0
- package/dist/cjs/lib2/shared/utils/index.d.ts +1 -0
- package/dist/cjs/lib2/shared/utils/onboarding.d.ts +2 -2
- package/dist/cjs/lib2/widgets/SpecialistDetailWidget/SpecialistDetailWidgetSkeleton.d.ts +0 -1
- package/dist/cjs/lib2/widgets/SpecialistDetailWidget/types.d.ts +0 -5
- package/dist/cjs/lib2/widgets/SpecialistDetailWithTabsWidget/SpecialistDetailWithTabsSkeleton.d.ts +0 -1
- package/dist/cjs/lib2/widgets/SpecialistDetailWithTabsWidget/types.d.ts +0 -5
- package/dist/cjs/lib2/widgets/UpdateContractWidget/UpdateContractWidget.d.ts +0 -1
- package/dist/esm/b7649e1531c181af.svg +69 -0
- package/dist/esm/deprecated/SpecialistEducationCard/EmptyInstitutionLogo.d.ts +3 -0
- package/dist/esm/deprecated/SpecialistEducationCard/SpecialistEducationCard.d.ts +12 -0
- package/dist/esm/deprecated/SpecialistEducationCard/SpecialistEducationCard.style.d.ts +6 -0
- package/dist/esm/deprecated/SpecialistEducationCard/index.d.ts +1 -0
- package/dist/esm/deprecated/SpecialistProfileViewCard/PlayVideoIcon/PlayVideoIcon.d.ts +3 -0
- package/dist/esm/deprecated/SpecialistProfileViewCard/SpecialistProfileViewCard.d.ts +14 -0
- package/dist/esm/deprecated/SpecialistProfileViewCard/SpecialistProfileViewCard.style.d.ts +11 -0
- package/dist/esm/deprecated/SpecialistProfileViewCard/index.d.ts +1 -0
- package/dist/esm/deprecated/SpecialistStatisticsCard/SpecialistStatisticsCard.d.ts +11 -0
- package/dist/esm/deprecated/SpecialistStatisticsCard/SpecialistStatisticsCard.style.d.ts +5 -0
- package/dist/esm/deprecated/SpecialistStatisticsCard/index.d.ts +1 -0
- package/dist/esm/deprecated/SpecialistStatisticsCard/utils.d.ts +1 -0
- package/dist/esm/deprecated/SpecialistWorkDirections/SpecialistWorkDirections.d.ts +11 -0
- package/dist/esm/deprecated/SpecialistWorkDirections/SpecialistWorkDirections.style.d.ts +2 -0
- package/dist/esm/deprecated/SpecialistWorkDirections/index.d.ts +1 -0
- package/dist/esm/deprecated/therapist-card/TherapistCard.d.ts +16 -0
- package/dist/esm/deprecated/therapist-card/TherapistCard.style.d.ts +5 -0
- package/dist/esm/index.js +8 -8
- package/dist/esm/lib/ChangeLangModal/ChangeLangModal.d.ts +15 -0
- package/dist/esm/lib/ChangeLangModal/ChangeLangModal.style.d.ts +4 -0
- package/dist/esm/lib/ChangeLangModal/index.d.ts +2 -0
- package/dist/esm/lib/Chat/LouseConnect/LouseConnect.d.ts +6 -0
- package/dist/esm/lib/Chat/LouseConnect/LouseConnect.style.d.ts +3 -0
- package/dist/esm/lib/Chat/LouseConnect/index.d.ts +1 -0
- package/dist/esm/lib/EntryNotFound/EntryNotFound.d.ts +5 -0
- package/dist/esm/lib/EntryNotFound/EntryNotFound.style.d.ts +2 -0
- package/dist/esm/lib/EntryNotFound/index.d.ts +1 -0
- package/dist/esm/lib/HorisontalCalendar/HorizontalCalendar.d.ts +40 -0
- package/dist/esm/lib/HorisontalCalendar/HorizontalCalendar.styled.d.ts +2 -0
- package/dist/esm/lib/HorisontalCalendar/index.d.ts +1 -0
- package/dist/esm/lib/Modal/Modal.d.ts +8 -0
- package/dist/esm/lib/Modal/Modal.style.d.ts +6 -0
- package/dist/esm/lib/Modal/index.d.ts +1 -0
- package/dist/esm/lib/ModalCalendar/ModalCalendar.d.ts +10 -0
- package/dist/esm/lib/ModalCalendar/ModalCalendar.styled.d.ts +12 -0
- package/dist/esm/lib/PersonDateTimeCard/PersonDateTimeCard.d.ts +8 -0
- package/dist/esm/lib/PersonDateTimeCard/PersonDateTimeCard.styled.d.ts +2 -0
- package/dist/esm/lib/SelectImpressionEmoji/ImpressionEmojiEnum.d.ts +8 -0
- package/dist/esm/lib/SelectImpressionEmoji/SelectImpressionEmoji.d.ts +4 -0
- package/dist/esm/lib/SelectImpressionEmoji/SelectImpressionEmoji.styled.d.ts +2 -0
- package/dist/esm/lib/SelectImpressionEmoji/SelectImpressionEmojiProps.d.ts +6 -0
- package/dist/esm/lib/SelectImpressionEmoji/emojis.d.ts +5 -0
- package/dist/esm/lib/SelectImpressionEmoji/index.d.ts +4 -0
- package/dist/esm/lib/StatusTag/StatusTag.d.ts +7 -0
- package/dist/esm/lib/StatusTag/StatusTag.style.d.ts +6 -0
- package/dist/esm/lib/StatusTag/index.d.ts +1 -0
- package/dist/esm/lib/UsersPsychologistScrollList/UserPsychologistScrollList.styled.d.ts +6 -0
- package/dist/esm/lib/UsersPsychologistScrollList/UsersPsychologistScrollList.d.ts +10 -0
- package/dist/esm/lib/archived-consultation-card/ArchivedConsultationCard.d.ts +14 -0
- package/dist/esm/lib/archived-consultation-card/ArchivedConsultationCard.style.d.ts +4 -0
- package/dist/esm/lib/content-card/ContentCard.d.ts +15 -0
- package/dist/esm/lib/content-card/ContentCard.style.d.ts +11 -0
- package/dist/esm/lib/floating-button/FloatingButton.d.ts +8 -0
- package/dist/esm/lib/floating-button/FloatingButton.style.d.ts +6 -0
- package/dist/esm/lib/footer-for-booking/FooterForBooking.d.ts +9 -0
- package/dist/esm/lib/footer-for-booking/FooterForBooking.style.d.ts +6 -0
- package/dist/esm/lib/footer-for-booking/index.d.ts +1 -0
- package/dist/esm/lib/list-button/ListButton.d.ts +9 -0
- package/dist/esm/lib/list-button/ListButton.style.d.ts +2 -0
- package/dist/esm/lib/navigation-bar/NavigationBar.d.ts +8 -0
- package/dist/esm/lib/navigation-bar/NavigationBar.style.d.ts +8 -0
- package/dist/esm/lib/notes-card-text/NotesCardText.d.ts +6 -0
- package/dist/esm/lib/notes-card-text/NotesCardText.style.d.ts +1 -0
- package/dist/esm/lib/notes-card-text/index.d.ts +1 -0
- package/dist/esm/lib/notes-editor/NotesEditor.d.ts +5 -0
- package/dist/esm/lib/notes-editor/NotesEditor.styled.d.ts +2 -0
- package/dist/esm/lib/scroll-tabs/ScrollTabs.d.ts +7 -0
- package/dist/esm/lib/scroll-tabs/ScrollTabs.style.d.ts +3 -0
- package/dist/esm/lib/tab-bar/TabBar.d.ts +6 -0
- package/dist/esm/lib/tab-bar/TabBar.style.d.ts +5 -0
- package/dist/esm/lib/therapist-information-component/TherapistInformationComponent.d.ts +10 -0
- package/dist/esm/lib/therapist-information-component/TherapistInformationComponent.style.d.ts +2 -0
- package/dist/esm/lib/your-local-time-block/YourLocalTimeBlock.d.ts +6 -0
- package/dist/esm/lib/your-local-time-block/YourLocalTimeBlock.styled.d.ts +2 -0
- package/dist/esm/lib2/features/AcceptAgreementFeature/AcceptAgreemnetFeature.d.ts +0 -1
- package/dist/esm/lib2/features/Charts/ChartAreaFeature/ChartAreaFeature.d.ts +1 -2
- package/dist/esm/lib2/features/Charts/ChartLinesFeature/ChartLinesFeature.d.ts +2 -0
- package/dist/esm/lib2/features/Charts/components/DotLabel.d.ts +1 -2
- package/dist/esm/lib2/features/GoogleCalendarModalFeature/GoogleCalendarModalFeature.d.ts +0 -1
- package/dist/esm/lib2/features/OnBoardingFlow/OnBoardingChartScreenPreviewFeature/OnBoardingChartScreenPreviewFeature.d.ts +2 -2
- package/dist/esm/lib2/features/OnBoardingFlow/OnBoardingCompareScreenPreviewFeature /OnBoardingCompareScreenPreviewFeature.d.ts +2 -2
- package/dist/esm/lib2/features/OnBoardingFlow/OnBoardingGoalSelectionScreenPreviewFeature/OnBoardingGoalSelectionScreenPreviewFeature.d.ts +3 -2
- package/dist/esm/lib2/features/OnBoardingFlow/OnBoardingGraphScreenPreviewFeature/OnBoardingGraphScreenPreviewFeature.d.ts +3 -5
- package/dist/esm/lib2/features/OnBoardingFlow/OnBoardingLoaderScreenPreviewFeature/OnBoardingLoaderScreenPreviewFeature.d.ts +2 -2
- package/dist/esm/lib2/features/OnBoardingFlow/OnBoardingLoaderScreenPreviewFeature/components/ListTemplateLoader.d.ts +2 -2
- package/dist/esm/lib2/features/OnBoardingFlow/OnBoardingLoaderScreenPreviewFeature/components/ListTemplateLoaderItem.d.ts +0 -2
- package/dist/esm/lib2/features/OnBoardingFlow/OnBoardingLoaderScreenPreviewFeature/components/ListTemplateLoaderModal.d.ts +2 -2
- package/dist/esm/lib2/features/OnBoardingFlow/OnBoardingMultiSelectionScreenPreviewFeature/OnBoardingMultiSelectionScreenPreviewFeature.d.ts +3 -2
- package/dist/esm/lib2/features/OnBoardingFlow/OnBoardingPaywallScreenPreviewFeature/OnBoardingPaywallScreenPreviewFeature.d.ts +2 -2
- package/dist/esm/lib2/features/OnBoardingFlow/OnBoardingPaywallScreenPreviewFeature/styles.d.ts +0 -21
- package/dist/esm/lib2/features/OnBoardingFlow/OnBoardingProgressFeature/CounterProgress.d.ts +3 -2
- package/dist/esm/lib2/features/OnBoardingFlow/OnBoardingProgressFeature/DefaultProgress.d.ts +3 -2
- package/dist/esm/lib2/features/OnBoardingFlow/OnBoardingProgressFeature/OnBoardingProgressFeature.d.ts +3 -2
- package/dist/esm/lib2/features/OnBoardingFlow/OnBoardingSingleSelectionScreenPreviewFeature/OnBoardingSingleSelectionScreenPreviewFeature.d.ts +3 -2
- package/dist/esm/lib2/features/OutdatedPersonalDataFeature/OutdatedPersonalDataFeature.d.ts +0 -1
- package/dist/esm/lib2/features/PushNotificationsIsDisabledBanner/PushNotificationsIsDisabledBanner.d.ts +0 -1
- package/dist/esm/lib2/features/PushNotificationsModal/PushNotificationsModal.d.ts +0 -1
- package/dist/esm/lib2/features/TariffFeature/styles.d.ts +0 -21
- package/dist/esm/lib2/features/TariffFeature/types.d.ts +0 -2
- package/dist/esm/lib2/shared/assets/icons/IconMinus.d.ts +0 -1
- package/dist/esm/lib2/shared/providers/AuthProvider/AuthProvider.d.ts +12 -0
- package/dist/esm/lib2/shared/providers/AuthProvider/index.d.ts +1 -0
- package/dist/esm/lib2/shared/providers/AuthProvider/types.d.ts +19 -0
- package/dist/esm/lib2/shared/providers/index.d.ts +1 -0
- package/dist/esm/lib2/shared/types/common.d.ts +0 -4
- package/dist/esm/lib2/shared/types/onBoardingFlow.type.d.ts +1 -8
- package/dist/esm/lib2/shared/types/specialistTypes.d.ts +0 -1
- package/dist/esm/lib2/shared/types/variant.d.ts +1 -2
- package/dist/esm/lib2/shared/ui/Button_v2/Button_v2.style.d.ts +2 -2
- package/dist/esm/lib2/shared/ui/Button_v2/types.d.ts +2 -3
- package/dist/esm/lib2/shared/ui/Calendar/Calendar.d.ts +0 -1
- package/dist/esm/lib2/shared/ui/Calendar/VerticalCalendar.d.ts +0 -1
- package/dist/esm/lib2/shared/ui/Calendar/VerticalCalendarMonthSkeleton.d.ts +0 -1
- package/dist/esm/lib2/shared/ui/Calendar/VerticalCalendarSkeleton.d.ts +0 -1
- package/dist/esm/lib2/shared/ui/ListBox/ListBox.d.ts +1 -2
- package/dist/esm/lib2/shared/ui/ListBox/types.d.ts +2 -3
- package/dist/esm/lib2/shared/ui/ListBoxItem/ListBoxDefaultItem.d.ts +3 -4
- package/dist/esm/lib2/shared/ui/ListBoxItem/ListBoxEmojiItem.d.ts +1 -3
- package/dist/esm/lib2/shared/ui/ListBoxItem/ListBoxIconItem.d.ts +3 -4
- package/dist/esm/lib2/shared/ui/ListBoxItem/ListBoxImageItem.d.ts +2 -3
- package/dist/esm/lib2/shared/ui/ListBoxItem/constants.d.ts +1 -1
- package/dist/esm/lib2/shared/ui/ListBoxItem/types.d.ts +2 -2
- package/dist/esm/lib2/shared/ui/ProgressBar_v2/ProgressBar_v2.d.ts +1 -3
- package/dist/esm/lib2/shared/ui/RatingCircle/RatingCircleIcons.d.ts +0 -1
- package/dist/esm/lib2/shared/ui/Tabs/Tab.d.ts +0 -1
- package/dist/esm/lib2/shared/ui/Tabs/TabPanel.d.ts +0 -1
- package/dist/esm/lib2/shared/ui/Tabs/Tabs.d.ts +0 -1
- package/dist/esm/lib2/shared/ui/Video/styles.d.ts +0 -28
- package/dist/esm/lib2/shared/utils/globalAuthState.d.ts +131 -0
- package/dist/esm/lib2/shared/utils/index.d.ts +1 -0
- package/dist/esm/lib2/shared/utils/onboarding.d.ts +2 -2
- package/dist/esm/lib2/widgets/SpecialistDetailWidget/SpecialistDetailWidgetSkeleton.d.ts +0 -1
- package/dist/esm/lib2/widgets/SpecialistDetailWidget/types.d.ts +0 -5
- package/dist/esm/lib2/widgets/SpecialistDetailWithTabsWidget/SpecialistDetailWithTabsSkeleton.d.ts +0 -1
- package/dist/esm/lib2/widgets/SpecialistDetailWithTabsWidget/types.d.ts +0 -5
- package/dist/esm/lib2/widgets/UpdateContractWidget/UpdateContractWidget.d.ts +0 -1
- package/dist/index.d.ts +268 -135
- package/package.json +3 -1
- package/src/lib2/shared/css/variables.css +0 -2
- package/dist/cjs/lib2/features/ScheduleFeature/ScheduleFeature.d.ts +0 -4
- package/dist/cjs/lib2/features/ScheduleFeature/ScheduleSkeletonFeature.d.ts +0 -4
- package/dist/cjs/lib2/features/ScheduleFeature/index.d.ts +0 -1
- package/dist/cjs/lib2/features/ScheduleFeature/types.d.ts +0 -11
- package/dist/esm/lib2/features/ScheduleFeature/ScheduleFeature.d.ts +0 -4
- package/dist/esm/lib2/features/ScheduleFeature/ScheduleSkeletonFeature.d.ts +0 -4
- package/dist/esm/lib2/features/ScheduleFeature/index.d.ts +0 -1
- package/dist/esm/lib2/features/ScheduleFeature/types.d.ts +0 -11
|
@@ -6,9 +6,6 @@ export declare const tariffFeatureStyle: import("tailwind-variants").TVReturnTyp
|
|
|
6
6
|
blue: {
|
|
7
7
|
checkbox: string;
|
|
8
8
|
};
|
|
9
|
-
custom: {
|
|
10
|
-
checkbox: string;
|
|
11
|
-
};
|
|
12
9
|
};
|
|
13
10
|
isSelected: {
|
|
14
11
|
true: "";
|
|
@@ -41,9 +38,6 @@ export declare const tariffFeatureStyle: import("tailwind-variants").TVReturnTyp
|
|
|
41
38
|
blue: {
|
|
42
39
|
checkbox: string;
|
|
43
40
|
};
|
|
44
|
-
custom: {
|
|
45
|
-
checkbox: string;
|
|
46
|
-
};
|
|
47
41
|
};
|
|
48
42
|
isSelected: {
|
|
49
43
|
true: "";
|
|
@@ -70,9 +64,6 @@ export declare const tariffFeatureStyle: import("tailwind-variants").TVReturnTyp
|
|
|
70
64
|
blue: {
|
|
71
65
|
checkbox: string;
|
|
72
66
|
};
|
|
73
|
-
custom: {
|
|
74
|
-
checkbox: string;
|
|
75
|
-
};
|
|
76
67
|
};
|
|
77
68
|
isSelected: {
|
|
78
69
|
true: "";
|
|
@@ -99,9 +90,6 @@ export declare const tariffFeatureStyle: import("tailwind-variants").TVReturnTyp
|
|
|
99
90
|
blue: {
|
|
100
91
|
checkbox: string;
|
|
101
92
|
};
|
|
102
|
-
custom: {
|
|
103
|
-
checkbox: string;
|
|
104
|
-
};
|
|
105
93
|
};
|
|
106
94
|
isSelected: {
|
|
107
95
|
true: "";
|
|
@@ -134,9 +122,6 @@ export declare const tariffFeatureStyle: import("tailwind-variants").TVReturnTyp
|
|
|
134
122
|
blue: {
|
|
135
123
|
checkbox: string;
|
|
136
124
|
};
|
|
137
|
-
custom: {
|
|
138
|
-
checkbox: string;
|
|
139
|
-
};
|
|
140
125
|
};
|
|
141
126
|
isSelected: {
|
|
142
127
|
true: "";
|
|
@@ -169,9 +154,6 @@ export declare const tariffFeatureStyle: import("tailwind-variants").TVReturnTyp
|
|
|
169
154
|
blue: {
|
|
170
155
|
checkbox: string;
|
|
171
156
|
};
|
|
172
|
-
custom: {
|
|
173
|
-
checkbox: string;
|
|
174
|
-
};
|
|
175
157
|
};
|
|
176
158
|
isSelected: {
|
|
177
159
|
true: "";
|
|
@@ -198,9 +180,6 @@ export declare const tariffFeatureStyle: import("tailwind-variants").TVReturnTyp
|
|
|
198
180
|
blue: {
|
|
199
181
|
checkbox: string;
|
|
200
182
|
};
|
|
201
|
-
custom: {
|
|
202
|
-
checkbox: string;
|
|
203
|
-
};
|
|
204
183
|
};
|
|
205
184
|
isSelected: {
|
|
206
185
|
true: "";
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { WithTranslation } from 'react-i18next';
|
|
2
2
|
import { VariantEnum } from '../../shared/types/variant';
|
|
3
|
-
import { OnBoardingThemeV2Type } from '../../shared';
|
|
4
3
|
export type TariffFeatureProps = {
|
|
5
4
|
className?: string;
|
|
6
5
|
t?: WithTranslation['t'];
|
|
@@ -12,7 +11,6 @@ export type TariffFeatureProps = {
|
|
|
12
11
|
isSelected: boolean;
|
|
13
12
|
badge?: string;
|
|
14
13
|
variant: VariantEnum;
|
|
15
|
-
onboardingTheme?: OnBoardingThemeV2Type;
|
|
16
14
|
description?: string;
|
|
17
15
|
advantagesList?: {
|
|
18
16
|
id: string;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import React, { FC } from 'react';
|
|
2
|
+
import { User } from '@capacitor-firebase/authentication';
|
|
3
|
+
import { AuthContextType } from './types';
|
|
4
|
+
export declare const AuthContext: React.Context<AuthContextType | null>;
|
|
5
|
+
type AuthProviderProps = {
|
|
6
|
+
/**
|
|
7
|
+
* REMOVE WHEN WE MOVE AUTH TO NATIVE CAPACITOR PLUGIN
|
|
8
|
+
*/
|
|
9
|
+
webAuthListener?: (callback: (user: User | null) => void) => () => void;
|
|
10
|
+
};
|
|
11
|
+
export declare const AuthProvider: FC<AuthProviderProps>;
|
|
12
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './AuthProvider';
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { CreateUserWithEmailAndPasswordOptions, LinkWithEmailAndPasswordOptions, SendPasswordResetEmailOptions, SignInResult, SignInWithEmailAndPasswordOptions, User } from '@capacitor-firebase/authentication';
|
|
2
|
+
export type AuthContextType = {
|
|
3
|
+
isAuthLoading: boolean;
|
|
4
|
+
isAuthReady: boolean;
|
|
5
|
+
authUser: User | null;
|
|
6
|
+
signInAnonymously: () => Promise<SignInResult>;
|
|
7
|
+
signInWithApple: () => Promise<SignInResult>;
|
|
8
|
+
signInWithGoogle: () => Promise<SignInResult>;
|
|
9
|
+
signInWithCustomToken: (token: string) => Promise<SignInResult>;
|
|
10
|
+
signInWithEmailAndPassword: (options: SignInWithEmailAndPasswordOptions) => Promise<SignInResult>;
|
|
11
|
+
linkWithApple: () => Promise<SignInResult>;
|
|
12
|
+
linkWithGoogle: () => Promise<SignInResult>;
|
|
13
|
+
linkWithEmailAndPassword: (options: LinkWithEmailAndPasswordOptions) => Promise<SignInResult>;
|
|
14
|
+
signOut: () => Promise<void>;
|
|
15
|
+
createUserWithEmailAndPassword: (options: CreateUserWithEmailAndPasswordOptions) => Promise<SignInResult>;
|
|
16
|
+
sendPasswordResetEmail: (options: SendPasswordResetEmailOptions) => Promise<void>;
|
|
17
|
+
changePassword: (newPassword: string) => Promise<void>;
|
|
18
|
+
sendEmailVerification: () => Promise<void>;
|
|
19
|
+
};
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { WithTranslation } from 'react-i18next';
|
|
3
2
|
export type TranslationMock = {
|
|
4
3
|
t: (v1: any, v2?: any) => string;
|
|
@@ -42,6 +41,3 @@ export declare enum ShortTranscriptionCurrencySignByLocale {
|
|
|
42
41
|
'es' = "US"
|
|
43
42
|
}
|
|
44
43
|
export declare const StripeSupportedCurrency: SupportedCurrency[];
|
|
45
|
-
export type CSSVarStyles = React.CSSProperties & {
|
|
46
|
-
[key: `--${string}`]: string | number;
|
|
47
|
-
};
|
|
@@ -66,11 +66,6 @@ export type OnBoardingScreenProgressType = {
|
|
|
66
66
|
template?: OnboardingProgressTemplate;
|
|
67
67
|
image?: ResponseFileType | null;
|
|
68
68
|
};
|
|
69
|
-
export type OnBoardingThemeV2Type = {
|
|
70
|
-
template: OnboardingVariant;
|
|
71
|
-
customColor?: string | null;
|
|
72
|
-
customTextColor?: string | null;
|
|
73
|
-
};
|
|
74
69
|
export type OnBoardingScreenSkipButtonType = {
|
|
75
70
|
skipButtonText?: string | null;
|
|
76
71
|
showSkipButton?: boolean;
|
|
@@ -267,13 +262,11 @@ export type OnBoardingFlowType = {
|
|
|
267
262
|
duration_min?: number | null;
|
|
268
263
|
isDefault?: boolean;
|
|
269
264
|
theme?: OnboardingVariant;
|
|
270
|
-
theme_v2?: OnBoardingThemeV2Type;
|
|
271
265
|
progress?: OnBoardingScreenProgressType;
|
|
272
266
|
};
|
|
273
267
|
export declare enum OnboardingVariant {
|
|
274
268
|
default = "default",
|
|
275
|
-
blue = "blue"
|
|
276
|
-
custom = "custom"
|
|
269
|
+
blue = "blue"
|
|
277
270
|
}
|
|
278
271
|
export declare enum OnboardingProgressTemplate {
|
|
279
272
|
default = "default",
|
|
@@ -39,7 +39,6 @@ export type Specialist = {
|
|
|
39
39
|
about?: string;
|
|
40
40
|
areas_of_work: Array<string> | [];
|
|
41
41
|
areas_of_work_by_client_problem: Array<string> | [];
|
|
42
|
-
localized_areas_of_work_by_client_problem: string[];
|
|
43
42
|
therapy_description?: string;
|
|
44
43
|
avatar_link?: string;
|
|
45
44
|
time_zone: string;
|
|
@@ -17,7 +17,7 @@ export declare const ButtonStyled: import("styled-components").StyledComponent<i
|
|
|
17
17
|
isLoading?: boolean | undefined;
|
|
18
18
|
icon?: import("react").ReactNode;
|
|
19
19
|
iconPosition?: "center" | "start" | undefined;
|
|
20
|
-
style?: import("
|
|
20
|
+
style?: import("react").CSSProperties | undefined;
|
|
21
21
|
id?: string | undefined;
|
|
22
|
-
variant?: "default" | "blue" |
|
|
22
|
+
variant?: "default" | "blue" | undefined;
|
|
23
23
|
} & import("@ionic/core/dist/types/components").JSX.IonButton, never>;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { JSX } from '@ionic/core/components';
|
|
3
|
-
import { CSSVarStyles } from '../../types';
|
|
4
3
|
export type ButtonProps = {
|
|
5
4
|
fill?: 'outline' | 'clear';
|
|
6
5
|
size?: 'default' | 'large' | 'small';
|
|
@@ -14,7 +13,7 @@ export type ButtonProps = {
|
|
|
14
13
|
isLoading?: boolean;
|
|
15
14
|
icon?: React.ReactNode;
|
|
16
15
|
iconPosition?: 'start' | 'center';
|
|
17
|
-
style?:
|
|
16
|
+
style?: React.CSSProperties;
|
|
18
17
|
id?: string;
|
|
19
|
-
variant?: 'default' | 'blue'
|
|
18
|
+
variant?: 'default' | 'blue';
|
|
20
19
|
} & JSX.IonButton;
|
|
@@ -1,3 +1,2 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { CalendarProps } from './types';
|
|
3
2
|
export declare function Calendar({ maxValue, minValue, timeZone, locale, isShowWeekNames, isShowMonthNavigation, selectionMode, onSelectionChange, defaultSelectDates, onDatePress, renderCustomDateContent, fullWidth, ...props }: CalendarProps): JSX.Element;
|
|
@@ -1,3 +1,2 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { ListBoxProps } from './types';
|
|
3
|
-
export default function ListBox<T extends Record<string, unknown>>({ selectedIconProps, type, selectionPosition, enableSelection, className, variant,
|
|
2
|
+
export default function ListBox<T extends Record<string, unknown>>({ selectedIconProps, type, selectionPosition, enableSelection, className, variant, isOnboardingPreview, isTransparent, isRoundCorners, maxSelectionCount, initialVisibleCount, t, ...props }: ListBoxProps<T>): JSX.Element;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { AriaListBoxProps } from 'react-aria';
|
|
2
|
-
import { IconProps,
|
|
2
|
+
import { IconProps, ResponseFileType } from '../../types';
|
|
3
3
|
import { WithTranslation } from 'react-i18next';
|
|
4
4
|
export declare enum ListBoxSelectionType {
|
|
5
5
|
Checkbox = "checkbox",
|
|
@@ -9,7 +9,7 @@ export declare enum ListBoxSelectionType {
|
|
|
9
9
|
Emoji = "emoji",
|
|
10
10
|
Icon = "icon"
|
|
11
11
|
}
|
|
12
|
-
export type VariantType = 'default' | 'blue'
|
|
12
|
+
export type VariantType = 'default' | 'blue';
|
|
13
13
|
export type ListBoxProps<T> = AriaListBoxProps<T> & {
|
|
14
14
|
type?: `${ListBoxSelectionType}`;
|
|
15
15
|
enableSelection?: boolean;
|
|
@@ -17,7 +17,6 @@ export type ListBoxProps<T> = AriaListBoxProps<T> & {
|
|
|
17
17
|
selectionPosition?: 'start' | 'end';
|
|
18
18
|
className?: string;
|
|
19
19
|
variant?: VariantType;
|
|
20
|
-
onboardingTheme?: OnBoardingThemeV2Type;
|
|
21
20
|
image?: ResponseFileType;
|
|
22
21
|
isOnboardingPreview?: boolean;
|
|
23
22
|
selectionMode?: 'single' | 'multiple' | 'none';
|
|
@@ -1,19 +1,18 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { Node } from 'react-stately';
|
|
3
3
|
import { VariantType } from '../ListBox/types';
|
|
4
|
-
import { IconProps
|
|
5
|
-
declare const _default: React.MemoExoticComponent<({ item, isSelected, selectionPosition, enableSelection, selectedIconProps, selectionIconClassName, variant,
|
|
4
|
+
import { IconProps } from '../../types';
|
|
5
|
+
declare const _default: React.MemoExoticComponent<({ item, isSelected, selectionPosition, enableSelection, selectedIconProps, selectionIconClassName, variant, labelProps, customContent, className, type, }: {
|
|
6
6
|
isSelected: boolean;
|
|
7
7
|
selectionIconClassName: string;
|
|
8
8
|
labelProps: React.DOMAttributes<HTMLDivElement>;
|
|
9
9
|
customContent: boolean;
|
|
10
10
|
className: string;
|
|
11
11
|
variant: VariantType;
|
|
12
|
-
onboardingTheme?: OnBoardingThemeV2Type | undefined;
|
|
13
12
|
item: Node<unknown>;
|
|
14
13
|
selectionPosition: "end" | "start";
|
|
15
14
|
enableSelection: boolean;
|
|
16
15
|
selectedIconProps: IconProps;
|
|
17
|
-
type: "image" | "
|
|
16
|
+
type: "image" | "checkbox" | "radio" | "icon" | "emoji" | "roundImage";
|
|
18
17
|
}) => import("react/jsx-runtime").JSX.Element>;
|
|
19
18
|
export default _default;
|
|
@@ -1,14 +1,12 @@
|
|
|
1
1
|
import React, { DOMAttributes } from 'react';
|
|
2
2
|
import { Node } from 'react-stately';
|
|
3
3
|
import { VariantType } from '../ListBox/types';
|
|
4
|
-
import { OnBoardingThemeV2Type } from '../../types';
|
|
5
4
|
type ListBoxImageItemProps = {
|
|
6
5
|
isSelected: boolean;
|
|
7
6
|
item: Node<unknown>;
|
|
8
7
|
variant: VariantType;
|
|
9
|
-
onboardingTheme?: OnBoardingThemeV2Type;
|
|
10
8
|
labelProps: DOMAttributes<HTMLDivElement>;
|
|
11
9
|
isOnboardingPreview?: boolean;
|
|
12
10
|
};
|
|
13
|
-
declare const _default: React.MemoExoticComponent<({ isSelected, item, variant,
|
|
11
|
+
declare const _default: React.MemoExoticComponent<({ isSelected, item, variant, labelProps, isOnboardingPreview, }: ListBoxImageItemProps) => import("react/jsx-runtime").JSX.Element>;
|
|
14
12
|
export default _default;
|
|
@@ -1,15 +1,14 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { Node } from 'react-stately';
|
|
3
3
|
import { VariantType } from '../ListBox/types';
|
|
4
|
-
import { IconProps,
|
|
5
|
-
declare const _default: React.MemoExoticComponent<({ item, isSelected, enableSelection, variant,
|
|
4
|
+
import { IconProps, ResponseFileType } from '../../types';
|
|
5
|
+
declare const _default: React.MemoExoticComponent<({ item, isSelected, enableSelection, variant, labelProps, type, isOnboardingPreview, image, selectionMode, selectedIconProps, selectionIconClassName, }: {
|
|
6
6
|
isSelected: boolean;
|
|
7
7
|
labelProps: React.DOMAttributes<HTMLDivElement>;
|
|
8
8
|
variant: VariantType;
|
|
9
|
-
onboardingTheme?: OnBoardingThemeV2Type | undefined;
|
|
10
9
|
item: Node<unknown>;
|
|
11
10
|
enableSelection: boolean;
|
|
12
|
-
type: "image" | "
|
|
11
|
+
type: "image" | "checkbox" | "radio" | "icon" | "emoji" | "roundImage";
|
|
13
12
|
isOnboardingPreview?: boolean | undefined;
|
|
14
13
|
image?: ResponseFileType | null | undefined;
|
|
15
14
|
selectionMode?: "none" | "multiple" | "single" | undefined;
|
|
@@ -1,17 +1,16 @@
|
|
|
1
1
|
import React, { DOMAttributes } from 'react';
|
|
2
2
|
import { Node } from 'react-stately';
|
|
3
|
-
import {
|
|
3
|
+
import { ResponseFileType } from '../../types';
|
|
4
4
|
import { ListBoxSelectionType, VariantType } from '../ListBox/types';
|
|
5
5
|
type ListBoxImageItemProps = {
|
|
6
6
|
isSelected: boolean;
|
|
7
7
|
item: Node<unknown>;
|
|
8
8
|
image?: ResponseFileType | null;
|
|
9
9
|
variant: VariantType;
|
|
10
|
-
onboardingTheme?: OnBoardingThemeV2Type;
|
|
11
10
|
labelProps: DOMAttributes<HTMLDivElement>;
|
|
12
11
|
isOnboardingPreview?: boolean;
|
|
13
12
|
isRoundCorners?: boolean;
|
|
14
13
|
type: ListBoxSelectionType.Image | ListBoxSelectionType.RoundImage | 'image' | 'roundImage';
|
|
15
14
|
};
|
|
16
|
-
declare const _default: React.MemoExoticComponent<({ isSelected, item, image, variant,
|
|
15
|
+
declare const _default: React.MemoExoticComponent<({ isSelected, item, image, variant, labelProps, isOnboardingPreview, isRoundCorners, type, }: ListBoxImageItemProps) => import("react/jsx-runtime").JSX.Element>;
|
|
17
16
|
export default _default;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { VariantType } from '../ListBox/types';
|
|
2
|
-
export declare const VARIANT_COLOR_MAP:
|
|
2
|
+
export declare const VARIANT_COLOR_MAP: Record<VariantType, string>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ListState, Node } from 'react-stately';
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
import { ListBoxSelectionType, VariantType } from '../ListBox';
|
|
4
|
-
import { IconProps,
|
|
4
|
+
import { IconProps, ResponseFileType } from '../../types';
|
|
5
5
|
export type ListOptionsProps = {
|
|
6
6
|
item: Node<unknown>;
|
|
7
7
|
state: ListState<unknown>;
|
|
@@ -13,7 +13,6 @@ export type ListOptionsProps = {
|
|
|
13
13
|
selectionPosition?: 'start' | 'end';
|
|
14
14
|
enableSelection?: boolean;
|
|
15
15
|
variant?: VariantType;
|
|
16
|
-
onboardingTheme?: OnBoardingThemeV2Type;
|
|
17
16
|
image?: ResponseFileType | null;
|
|
18
17
|
isOnboardingPreview?: boolean;
|
|
19
18
|
selectionMode?: 'single' | 'multiple' | 'none';
|
|
@@ -30,6 +29,7 @@ export type ListBoxItemProps = {
|
|
|
30
29
|
className?: string;
|
|
31
30
|
customContent?: boolean;
|
|
32
31
|
onClick?: HTMLIonItemElement['onclick'];
|
|
32
|
+
variant?: VariantType;
|
|
33
33
|
image?: ResponseFileType | null;
|
|
34
34
|
maxSelectionCount?: number;
|
|
35
35
|
};
|
|
@@ -1,13 +1,11 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { CSSVarStyles } from '../../types';
|
|
3
2
|
type ProgressBar_v2Props = {
|
|
4
|
-
variant?: 'default' | 'danger' | 'success' | 'dark' | 'light' | 'blue'
|
|
3
|
+
variant?: 'default' | 'danger' | 'success' | 'dark' | 'light' | 'blue';
|
|
5
4
|
progress: number;
|
|
6
5
|
className?: string;
|
|
7
6
|
reversed?: boolean;
|
|
8
7
|
animationDuration?: number;
|
|
9
8
|
onProgressEnd?: () => void;
|
|
10
|
-
style?: CSSVarStyles;
|
|
11
9
|
};
|
|
12
10
|
declare const _default: React.NamedExoticComponent<ProgressBar_v2Props>;
|
|
13
11
|
export default _default;
|
|
@@ -39,10 +39,6 @@ export declare const videoStyle: import("tailwind-variants").TVReturnType<{
|
|
|
39
39
|
playButton: string;
|
|
40
40
|
loadingIcon: string;
|
|
41
41
|
};
|
|
42
|
-
custom: {
|
|
43
|
-
playButton: string;
|
|
44
|
-
loadingIcon: string;
|
|
45
|
-
};
|
|
46
42
|
};
|
|
47
43
|
}, {
|
|
48
44
|
playButton: string;
|
|
@@ -89,10 +85,6 @@ export declare const videoStyle: import("tailwind-variants").TVReturnType<{
|
|
|
89
85
|
playButton: string;
|
|
90
86
|
loadingIcon: string;
|
|
91
87
|
};
|
|
92
|
-
custom: {
|
|
93
|
-
playButton: string;
|
|
94
|
-
loadingIcon: string;
|
|
95
|
-
};
|
|
96
88
|
};
|
|
97
89
|
}, {
|
|
98
90
|
buttonSize: {
|
|
@@ -135,10 +127,6 @@ export declare const videoStyle: import("tailwind-variants").TVReturnType<{
|
|
|
135
127
|
playButton: string;
|
|
136
128
|
loadingIcon: string;
|
|
137
129
|
};
|
|
138
|
-
custom: {
|
|
139
|
-
playButton: string;
|
|
140
|
-
loadingIcon: string;
|
|
141
|
-
};
|
|
142
130
|
};
|
|
143
131
|
}>, {
|
|
144
132
|
buttonSize: {
|
|
@@ -181,10 +169,6 @@ export declare const videoStyle: import("tailwind-variants").TVReturnType<{
|
|
|
181
169
|
playButton: string;
|
|
182
170
|
loadingIcon: string;
|
|
183
171
|
};
|
|
184
|
-
custom: {
|
|
185
|
-
playButton: string;
|
|
186
|
-
loadingIcon: string;
|
|
187
|
-
};
|
|
188
172
|
};
|
|
189
173
|
}, {
|
|
190
174
|
playButton: string;
|
|
@@ -231,10 +215,6 @@ export declare const videoStyle: import("tailwind-variants").TVReturnType<{
|
|
|
231
215
|
playButton: string;
|
|
232
216
|
loadingIcon: string;
|
|
233
217
|
};
|
|
234
|
-
custom: {
|
|
235
|
-
playButton: string;
|
|
236
|
-
loadingIcon: string;
|
|
237
|
-
};
|
|
238
218
|
};
|
|
239
219
|
}, {
|
|
240
220
|
playButton: string;
|
|
@@ -281,10 +261,6 @@ export declare const videoStyle: import("tailwind-variants").TVReturnType<{
|
|
|
281
261
|
playButton: string;
|
|
282
262
|
loadingIcon: string;
|
|
283
263
|
};
|
|
284
|
-
custom: {
|
|
285
|
-
playButton: string;
|
|
286
|
-
loadingIcon: string;
|
|
287
|
-
};
|
|
288
264
|
};
|
|
289
265
|
}, {
|
|
290
266
|
buttonSize: {
|
|
@@ -327,9 +303,5 @@ export declare const videoStyle: import("tailwind-variants").TVReturnType<{
|
|
|
327
303
|
playButton: string;
|
|
328
304
|
loadingIcon: string;
|
|
329
305
|
};
|
|
330
|
-
custom: {
|
|
331
|
-
playButton: string;
|
|
332
|
-
loadingIcon: string;
|
|
333
|
-
};
|
|
334
306
|
};
|
|
335
307
|
}>, unknown, unknown, undefined>>;
|
|
@@ -0,0 +1,131 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Global Authentication State Manager
|
|
3
|
+
*
|
|
4
|
+
* This utility class manages the authentication readiness state across the entire application.
|
|
5
|
+
* It ensures that HTTP requests and other auth-dependent operations wait for authentication
|
|
6
|
+
* initialization to complete before proceeding.
|
|
7
|
+
*
|
|
8
|
+
* ## Usage Pattern:
|
|
9
|
+
*
|
|
10
|
+
* 1. **UI Library Internal**: The UI library calls `setReady()` when authentication initialization
|
|
11
|
+
* is complete (e.g., after token validation, user session restoration, etc.)
|
|
12
|
+
*
|
|
13
|
+
* 2. **External Consumers**: Global states, HTTP interceptors, and other parts of the application
|
|
14
|
+
* use `waitForReady()` or `getIsReady()` to ensure auth is initialized before making requests
|
|
15
|
+
*
|
|
16
|
+
* ## Example:
|
|
17
|
+
* // In UI library (AuthProvider):
|
|
18
|
+
* globalAuthState.setReady(); // Called after auth initialization
|
|
19
|
+
*
|
|
20
|
+
* // In global states or HTTP clients:
|
|
21
|
+
* await globalAuthState.waitForReady(); // Wait before making authenticated requests
|
|
22
|
+
*
|
|
23
|
+
* // In synchronous contexts:
|
|
24
|
+
* if (globalAuthState.getIsReady()) {
|
|
25
|
+
* // Proceed with auth-dependent operations
|
|
26
|
+
* }
|
|
27
|
+
*
|
|
28
|
+
* ## Thread Safety:
|
|
29
|
+
* This class is designed to be safe for concurrent access. Multiple consumers can wait
|
|
30
|
+
* for readiness simultaneously, and all will be notified when auth becomes ready.
|
|
31
|
+
*/
|
|
32
|
+
declare class GlobalAuthState {
|
|
33
|
+
/** Internal flag tracking whether authentication is ready */
|
|
34
|
+
private isReady;
|
|
35
|
+
/** Promise that resolves when authentication becomes ready */
|
|
36
|
+
private readyPromise;
|
|
37
|
+
/** Function to resolve the readiness promise */
|
|
38
|
+
private resolveReady;
|
|
39
|
+
constructor();
|
|
40
|
+
/**
|
|
41
|
+
* Mark authentication as ready and notify all waiting consumers
|
|
42
|
+
*
|
|
43
|
+
* **INTERNAL USE ONLY**: This method should only be called by the UI library's
|
|
44
|
+
* authentication provider when auth initialization is complete.
|
|
45
|
+
*
|
|
46
|
+
* This method is idempotent - calling it multiple times has no additional effect.
|
|
47
|
+
*
|
|
48
|
+
* @example
|
|
49
|
+
* // In AuthProvider after successful initialization
|
|
50
|
+
* globalAuthState.setReady();
|
|
51
|
+
*/
|
|
52
|
+
setReady(): void;
|
|
53
|
+
/**
|
|
54
|
+
* Wait for authentication to be ready before proceeding
|
|
55
|
+
*
|
|
56
|
+
* **PUBLIC API**: This method is intended for use by global states, HTTP interceptors,
|
|
57
|
+
* and other parts of the application that need to ensure auth is ready before proceeding.
|
|
58
|
+
*
|
|
59
|
+
* If auth is already ready, this method returns immediately. Otherwise, it waits
|
|
60
|
+
* until `setReady()` is called.
|
|
61
|
+
*
|
|
62
|
+
* @returns Promise that resolves when authentication is ready
|
|
63
|
+
*
|
|
64
|
+
* @example
|
|
65
|
+
* // In HTTP interceptor
|
|
66
|
+
* async function makeAuthenticatedRequest(url: string) {
|
|
67
|
+
* await globalAuthState.waitForReady();
|
|
68
|
+
* return fetch(url, { headers: { Authorization: getToken() } });
|
|
69
|
+
* }
|
|
70
|
+
*
|
|
71
|
+
* // In global state
|
|
72
|
+
* async function initializeUserData() {
|
|
73
|
+
* await globalAuthState.waitForReady();
|
|
74
|
+
* // Now safe to make authenticated API calls
|
|
75
|
+
* }
|
|
76
|
+
*/
|
|
77
|
+
waitForReady(): Promise<void>;
|
|
78
|
+
/**
|
|
79
|
+
* Check if authentication is ready synchronously
|
|
80
|
+
*
|
|
81
|
+
* **PUBLIC API**: This method is intended for use in synchronous contexts where
|
|
82
|
+
* you need to check auth readiness without waiting.
|
|
83
|
+
*
|
|
84
|
+
* @returns `true` if authentication is ready, `false` otherwise
|
|
85
|
+
*
|
|
86
|
+
* @example
|
|
87
|
+
* // In a synchronous context
|
|
88
|
+
* function canMakeAuthRequest(): boolean {
|
|
89
|
+
* return globalAuthState.getIsReady();
|
|
90
|
+
* }
|
|
91
|
+
*
|
|
92
|
+
* // In conditional logic
|
|
93
|
+
* if (globalAuthState.getIsReady()) {
|
|
94
|
+
* // Safe to access auth-dependent features
|
|
95
|
+
* showUserDashboard();
|
|
96
|
+
* } else {
|
|
97
|
+
* // Show loading state
|
|
98
|
+
* showAuthLoadingSpinner();
|
|
99
|
+
* }
|
|
100
|
+
*/
|
|
101
|
+
getIsReady(): boolean;
|
|
102
|
+
/**
|
|
103
|
+
* Reset the authentication ready state
|
|
104
|
+
*
|
|
105
|
+
* **PRIVATE METHOD**: This method is for internal use only (testing, re-initialization).
|
|
106
|
+
* It should not be called by external consumers as it can cause race conditions
|
|
107
|
+
* and unexpected behavior in production.
|
|
108
|
+
*
|
|
109
|
+
* Resets the state to unready and creates a new promise that consumers will wait on.
|
|
110
|
+
*/
|
|
111
|
+
private reset;
|
|
112
|
+
}
|
|
113
|
+
/**
|
|
114
|
+
* Global singleton instance of the authentication state manager
|
|
115
|
+
*
|
|
116
|
+
* This is the main interface for interacting with authentication readiness state.
|
|
117
|
+
* Import and use this instance throughout your application to coordinate auth-dependent operations.
|
|
118
|
+
*
|
|
119
|
+
* @example
|
|
120
|
+
* import { globalAuthState } from './globalAuthState';
|
|
121
|
+
*
|
|
122
|
+
* // Wait for auth in async contexts
|
|
123
|
+
* await globalAuthState.waitForReady();
|
|
124
|
+
*
|
|
125
|
+
* // Check auth state synchronously
|
|
126
|
+
* if (globalAuthState.getIsReady()) {
|
|
127
|
+
* // Proceed with authenticated operations
|
|
128
|
+
* }
|
|
129
|
+
*/
|
|
130
|
+
export declare const globalAuthState: GlobalAuthState;
|
|
131
|
+
export {};
|