@roomstay/frontend 2.4.4-6 → 2.4.4
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/115.bundle.js +1 -1
- package/dist/{481.bundle.js → 151.bundle.js} +1 -1
- package/dist/201.bundle.js +1 -1
- package/dist/387.bundle.js +1 -1
- package/dist/446.bundle.js +1 -1
- package/dist/468.bundle.js +1 -0
- package/dist/535.bundle.js +2 -0
- package/dist/{329.bundle.js.LICENSE.txt → 535.bundle.js.LICENSE.txt} +1 -1
- package/dist/572.bundle.js +1 -1
- package/dist/686.bundle.js +1 -1
- package/dist/855.bundle.js +1 -1
- package/dist/873.bundle.js +1 -1
- package/dist/903.bundle.js +1 -1
- package/dist/975.bundle.js +1 -1
- package/dist/main.bundle.js +1 -1
- package/dist/src/animations/AutoAutoHeight.d.ts +1 -1
- package/dist/src/api/ReservationAPI.d.ts +13 -1
- package/dist/src/api/ReservationAPI.js +19 -2
- package/dist/src/api/ReservationAPI.js.map +1 -1
- package/dist/src/components/User/Forms/ForgotPasswordForm.d.ts +1 -2
- package/dist/src/components/User/Forms/SignUpForm.d.ts +1 -2
- package/dist/src/components/generic/Alert.d.ts +2 -2
- package/dist/src/components/generic/BEButton.d.ts +4 -4
- package/dist/src/components/generic/BEButton.js.map +1 -1
- package/dist/src/components/generic/BackButton.d.ts +1 -2
- package/dist/src/components/generic/BookingWizard/BookingWizardContent.d.ts +1 -1
- package/dist/src/components/generic/BookingWizard/BookingWizardContent.js +1 -1
- package/dist/src/components/generic/BookingWizard/BookingWizardContent.js.map +1 -1
- package/dist/src/components/generic/BookingWizard/BookingWizardHotelSelector/BookingWizardHotelSelector.d.ts +1 -2
- package/dist/src/components/generic/Card/Card/Card.d.ts +3 -3
- package/dist/src/components/generic/Card/Card/Card.js.map +1 -1
- package/dist/src/components/generic/Card/IconNavCard/IconNavCard.d.ts +1 -2
- package/dist/src/components/generic/Countdown.d.ts +1 -2
- package/dist/src/components/generic/Currency.d.ts +1 -2
- package/dist/src/components/generic/DateRangePicker/DateRangePicker.d.ts +1 -2
- package/dist/src/components/generic/DateRangePicker/DateRangePickerDay.d.ts +1 -2
- package/dist/src/components/generic/DateRangePicker/DateRangePickerDays.d.ts +1 -2
- package/dist/src/components/generic/DateRangePicker/DateRangePickerMonth.d.ts +1 -2
- package/dist/src/components/generic/Distance.d.ts +1 -2
- package/dist/src/components/generic/Headline.d.ts +1 -1
- package/dist/src/components/generic/Icon/Icon.d.ts +3 -4
- package/dist/src/components/generic/InputGroup/InputGroup.d.ts +2 -2
- package/dist/src/components/generic/LineBreak.d.ts +1 -2
- package/dist/src/components/generic/Notification.d.ts +1 -1
- package/dist/src/components/generic/NumberIncrement.d.ts +1 -2
- package/dist/src/components/generic/Overlay/Overlay.d.ts +2 -2
- package/dist/src/components/generic/Overlay/Overlay.js +1 -2
- package/dist/src/components/generic/Overlay/Overlay.js.map +1 -1
- package/dist/src/components/generic/PaymentCard/PaymentCard.d.ts +1 -2
- package/dist/src/components/generic/Pill.d.ts +4 -3
- package/dist/src/components/generic/Pill.js.map +1 -1
- package/dist/src/components/generic/Placeholder.d.ts +1 -2
- package/dist/src/components/generic/PromoCodeInput.d.ts +1 -2
- package/dist/src/components/generic/RecentSearchesCard.d.ts +1 -2
- package/dist/src/components/generic/RoomstayMark.d.ts +1 -2
- package/dist/src/components/generic/Select/Select.d.ts +2 -2
- package/dist/src/components/generic/Select/Select.js +1 -1
- package/dist/src/components/generic/Select/Select.js.map +1 -1
- package/dist/src/components/generic/Slider/Slider.d.ts +1 -1
- package/dist/src/components/generic/Tabs/Tab.d.ts +3 -3
- package/dist/src/components/generic/Tabs/Tab.js.map +1 -1
- package/dist/src/components/generic/Tabs/TabLink.d.ts +1 -2
- package/dist/src/components/generic/Tabs/TabRouteContainer.d.ts +2 -2
- package/dist/src/components/generic/Text.d.ts +2 -1
- package/dist/src/components/generic/Text.js.map +1 -1
- package/dist/src/components/generic/TextArea.d.ts +1 -1
- package/dist/src/components/generic/Tooltip/Tooltip.d.ts +2 -2
- package/dist/src/components/generic/badging/SSLSecureBadge.d.ts +1 -2
- package/dist/src/components/generic/buttons/NextStepButton.d.ts +1 -2
- package/dist/src/components/generic/custom/EnhancedPhoneNumberField/EnhancedPhoneNumberField.d.ts +2 -2
- package/dist/src/components/generic/custom/EnhancedPhoneNumberField/EnhancedPhoneNumberField.js +1 -1
- package/dist/src/components/generic/custom/EnhancedPhoneNumberField/EnhancedPhoneNumberField.js.map +1 -1
- package/dist/src/components/generic/date/DatePicker.d.ts +1 -2
- package/dist/src/components/generic/date/DatePickerDay.d.ts +1 -2
- package/dist/src/components/generic/date/DatePickerDays.d.ts +1 -2
- package/dist/src/components/generic/date/DatePickerMonth.d.ts +1 -2
- package/dist/src/components/generic/date/DatePickerWeek.d.ts +1 -2
- package/dist/src/components/generic/date/FloatingDatePicker.d.ts +1 -1
- package/dist/src/components/generic/date/WeekViewSkeleton.d.ts +1 -2
- package/dist/src/components/generic/loader/ImageLoader.d.ts +1 -1
- package/dist/src/components/generic/loader/LargeLoader.d.ts +1 -2
- package/dist/src/components/generic/loader/OverlayLoader.d.ts +1 -2
- package/dist/src/components/generic/loader/SmallSpinner.d.ts +1 -2
- package/dist/src/components/generic/map/HotelLocationMap.d.ts +1 -2
- package/dist/src/components/generic/modal/ConfirmationModal.d.ts +1 -2
- package/dist/src/components/generic/modal/ErrorModal.d.ts +1 -1
- package/dist/src/components/generic/modal/SigninModal/UnauthenticatedUserModal.d.ts +1 -2
- package/dist/src/components/generic/modal/SimpleModal.d.ts +1 -1
- package/dist/src/components/generic/modal/SimpleModal.js +1 -2
- package/dist/src/components/generic/modal/SimpleModal.js.map +1 -1
- package/dist/src/components/generic/modal/TabbedModal.d.ts +1 -1
- package/dist/src/components/generic/radio/RadioFields.d.ts +1 -2
- package/dist/src/components/iconComponents/BookNowPayLaterIcon.d.ts +1 -2
- package/dist/src/components/navigation/Header.d.ts +1 -2
- package/dist/src/components/navigation/StepSelector.d.ts +1 -2
- package/dist/src/components/navigation/StepSelectorModal.d.ts +1 -2
- package/dist/src/components/pages/Account/Card/MemberCardItem.d.ts +1 -2
- package/dist/src/components/pages/PageColorComponent.d.ts +1 -2
- package/dist/src/components/reservation/ReservationItem.d.ts +1 -2
- package/dist/src/components/reservation/ReservationItem.js +1 -0
- package/dist/src/components/reservation/ReservationItem.js.map +1 -1
- package/dist/src/components/steps/DaysSelectedInformer.d.ts +1 -2
- package/dist/src/components/steps/MinimumNightStayPill.d.ts +1 -2
- package/dist/src/components/steps/addons/AddonCard.d.ts +1 -2
- package/dist/src/components/steps/addons/AddonList.d.ts +1 -2
- package/dist/src/components/steps/addons/AddonsNotFound.d.ts +1 -2
- package/dist/src/components/steps/common/CommonAddonSummary/CommonAddonSummary.d.ts +1 -2
- package/dist/src/components/steps/confirmation/AccountDetails.d.ts +1 -2
- package/dist/src/components/steps/confirmation/PaymentDetails/ExistingCardPicker.d.ts +1 -2
- package/dist/src/components/steps/confirmation/PaymentDetails/StepConfirmationPaymentDetails.d.ts +1 -1
- package/dist/src/components/steps/confirmation/PlanpayLabel.d.ts +1 -2
- package/dist/src/components/steps/confirmation/StepConfirmationCheckoutDifferencesModal.d.ts +1 -2
- package/dist/src/components/steps/confirmation/StepConfirmationCommentsComponent.d.ts +1 -2
- package/dist/src/components/steps/confirmation/StepConfirmationCountrySelector.d.ts +1 -1
- package/dist/src/components/steps/confirmation/StepConfirmationCountrySelector.js +1 -1
- package/dist/src/components/steps/confirmation/StepConfirmationCountrySelector.js.map +1 -1
- package/dist/src/components/steps/confirmation/StepConfirmationForm.d.ts +1 -2
- package/dist/src/components/steps/confirmation/StepConfirmationForm.js +6 -19
- package/dist/src/components/steps/confirmation/StepConfirmationForm.js.map +1 -1
- package/dist/src/components/steps/confirmation/StepConfirmationFormProvider.d.ts +1 -2
- package/dist/src/components/steps/confirmation/StepConfirmationLimitedOffer.d.ts +1 -2
- package/dist/src/components/steps/confirmation/StepConfirmationPoliciesSection.d.ts +1 -2
- package/dist/src/components/steps/confirmation/StepConfirmationPolicyBlock.d.ts +1 -2
- package/dist/src/components/steps/confirmation/additionalOffers/AdditionalOffers.d.ts +1 -2
- package/dist/src/components/steps/confirmation/additionalOffers/AdditionalOffersColumn.d.ts +1 -2
- package/dist/src/components/steps/confirmation/additionalOffers/AdditionalOffersModal.d.ts +1 -2
- package/dist/src/components/steps/date/PeoplePicker.d.ts +1 -2
- package/dist/src/components/steps/date/PeoplePickerRow.d.ts +1 -2
- package/dist/src/components/steps/date/StepDatePricePerRoom.d.ts +1 -2
- package/dist/src/components/steps/date/StepOneDateRange.d.ts +1 -2
- package/dist/src/components/steps/date/StepOneDateRangePicker.d.ts +1 -2
- package/dist/src/components/steps/date/StepOneDateRangePickerLegend.d.ts +1 -2
- package/dist/src/components/steps/date/StepOneNextStepButton.d.ts +1 -2
- package/dist/src/components/steps/date/StepOneStatusPeople.d.ts +1 -2
- package/dist/src/components/steps/hotel/HotelCard.d.ts +1 -2
- package/dist/src/components/steps/hotel/HotelCardList.d.ts +1 -2
- package/dist/src/components/steps/hotel/HotelCardModal.d.ts +1 -2
- package/dist/src/components/steps/hotel/HotelSearchParameters.d.ts +1 -2
- package/dist/src/components/steps/hotel/NoHotelsAvailable.d.ts +1 -2
- package/dist/src/components/steps/room/ImageGallerySlider.d.ts +1 -2
- package/dist/src/components/steps/room/ImageGallerySlider.js +1 -2
- package/dist/src/components/steps/room/ImageGallerySlider.js.map +1 -1
- package/dist/src/components/steps/room/InactivityWindow.d.ts +1 -2
- package/dist/src/components/steps/room/LargeRoomCard.d.ts +1 -2
- package/dist/src/components/steps/room/MemberSignInModal/MemberSignInModal.d.ts +1 -2
- package/dist/src/components/steps/room/NoRoomsFoundBlock.d.ts +1 -2
- package/dist/src/components/steps/room/RatesNotFound.d.ts +1 -2
- package/dist/src/components/steps/room/RoomList.d.ts +1 -2
- package/dist/src/components/steps/room/RoomListAlert.d.ts +2 -2
- package/dist/src/components/steps/room/RoomListAlert.js.map +1 -1
- package/dist/src/components/steps/room/RoomModal.d.ts +1 -2
- package/dist/src/components/steps/room/StepRoomAlertBlocks.d.ts +1 -2
- package/dist/src/components/steps/room/StepRoomBestRateAlert.d.ts +1 -2
- package/dist/src/components/steps/room/StepRoomErrorForm.d.ts +1 -2
- package/dist/src/components/steps/room/StepRoomHotelDetails.d.ts +1 -2
- package/dist/src/components/steps/room/StepRoomSortBy.d.ts +1 -2
- package/dist/src/components/steps/room/StepRoomSummaryAndButton.d.ts +1 -2
- package/dist/src/components/steps/room/TabGroupedRooms/TabGroupedRoomList.d.ts +1 -2
- package/dist/src/components/steps/room/TabGroupedRooms/TabGroupedRooms.d.ts +1 -2
- package/dist/src/components/steps/room/TripteaseLodgingSearchSchema.d.ts +1 -2
- package/dist/src/components/steps/room/UserSearchSummary/UserSearchSummary.d.ts +1 -2
- package/dist/src/components/steps/room/UserSearchSummary/UserSearchSummaryPromocodeInput.d.ts +1 -2
- package/dist/src/components/steps/room/UserSearchSummary/UserSearchSummaryRow.d.ts +1 -2
- package/dist/src/components/steps/room/roomBuilderProgress/NumberOfAdultsPicker.d.ts +1 -2
- package/dist/src/components/steps/room/roomBuilderProgress/NumberOfChildrenPicker.d.ts +1 -2
- package/dist/src/components/steps/room/roomBuilderProgress/RoomBuilderProgress.d.ts +1 -2
- package/dist/src/components/steps/room/roomBuilderProgress/RoomBuilderProgressRow.d.ts +1 -2
- package/dist/src/components/steps/room/roomDetails/RoomDetails.d.ts +1 -2
- package/dist/src/components/steps/room/roomDetails/RoomDetailsBedsBlock.d.ts +1 -2
- package/dist/src/components/steps/room/roomDetails/RoomDetailsPerkBlock.d.ts +1 -2
- package/dist/src/components/steps/room/roomDetails/RoomDetailsPriceBlock.d.ts +1 -2
- package/dist/src/components/steps/room/roomDetails/roomRates/BookNowButton.d.ts +1 -2
- package/dist/src/components/steps/room/roomDetails/roomRates/MembersOnlyRow.d.ts +1 -2
- package/dist/src/components/steps/room/roomDetails/roomRates/PriceBreakdownBlock.d.ts +2 -3
- package/dist/src/components/steps/room/roomDetails/roomRates/RoomRateDescriptionTab.d.ts +2 -3
- package/dist/src/components/steps/room/roomDetails/roomRates/RoomRateDetailsAndPriceBreakdownModal.d.ts +1 -2
- package/dist/src/components/steps/room/roomDetails/roomRates/RoomRateListPromotion/RoomRateListPromotion.d.ts +2 -3
- package/dist/src/components/steps/room/roomDetails/roomRates/RoomRateListPromotion/RoomRateListPromotion.js +1 -1
- package/dist/src/components/steps/room/roomDetails/roomRates/RoomRateListPromotion/RoomRateListPromotion.js.map +1 -1
- package/dist/src/components/steps/room/roomDetails/roomRates/RoomRatePills.d.ts +1 -2
- package/dist/src/components/steps/room/roomDetails/roomRates/RoomRateRow.d.ts +1 -2
- package/dist/src/components/steps/room/roomDetails/roomRates/RoomRates.d.ts +1 -2
- package/dist/src/components/steps/room/roomFilter/AppliedFiltersBlock.d.ts +1 -2
- package/dist/src/components/steps/room/roomFilter/RoomFilterOverlay.d.ts +1 -2
- package/dist/src/components/steps/room/roomFilter/RoomFilterPriceSlider.d.ts +1 -2
- package/dist/src/components/steps/room/roomFilter/RoomFilterRateType.d.ts +1 -2
- package/dist/src/components/steps/room/roomFilter/RoomFilterRoomType.d.ts +1 -2
- package/dist/src/components/summary/BEMobileSummary.d.ts +1 -2
- package/dist/src/components/summary/BEMobileSummaryModal.d.ts +1 -2
- package/dist/src/components/summary/BESummary.d.ts +1 -2
- package/dist/src/components/summary/BESummary.js +1 -1
- package/dist/src/components/summary/BESummary.js.map +1 -1
- package/dist/src/components/summary/BESummaryAddonRow.d.ts +1 -2
- package/dist/src/components/summary/BESummaryPerkBlock.d.ts +1 -2
- package/dist/src/components/summary/BESummaryPrivacyPolicy.d.ts +1 -2
- package/dist/src/components/summary/BESummaryRoomRow.d.ts +1 -2
- package/dist/src/components/summary/BESummaryRoomRow.js +0 -1
- package/dist/src/components/summary/BESummaryRoomRow.js.map +1 -1
- package/dist/src/components/summary/TransportDistanceFromHotelBlock.d.ts +1 -2
- package/dist/src/contexts/BasketContext/BasketContextWrapper.d.ts +1 -1
- package/dist/src/contexts/BookingEngineContext/BookingEngineContextWrapper.d.ts +1 -1
- package/dist/src/contexts/CompanyContext/CompanyContextWrapper.d.ts +2 -2
- package/dist/src/contexts/ConfirmationFormContext.d.ts +1 -1
- package/dist/src/contexts/ConfirmationStepContext/ConfirmationStepContextTypes.d.ts +2 -4
- package/dist/src/contexts/ConfirmationStepContext/ConfirmationStepContextTypes.js.map +1 -1
- package/dist/src/contexts/ConfirmationStepContext/ConfirmationStepContextWrapper.js +82 -38
- package/dist/src/contexts/ConfirmationStepContext/ConfirmationStepContextWrapper.js.map +1 -1
- package/dist/src/contexts/ConfirmationStepContext/ConfirmationStepErrorModal.d.ts +9 -0
- package/dist/src/contexts/ConfirmationStepContext/ConfirmationStepErrorModal.js +58 -0
- package/dist/src/contexts/ConfirmationStepContext/ConfirmationStepErrorModal.js.map +1 -0
- package/dist/src/contexts/ErrorContext.d.ts +1 -1
- package/dist/src/contexts/FullPageEngineContext/FullPageEngineContextWrapper.d.ts +1 -2
- package/dist/src/contexts/HotelOverridesContext.d.ts +1 -1
- package/dist/src/contexts/Members/AuthenticationContext/AuthenticationContextProvider.d.ts +2 -2
- package/dist/src/contexts/Members/AuthenticationContext/AuthenticationContextProvider.js.map +1 -1
- package/dist/src/contexts/Members/RoomstayMemberContext/RoomstayMemberContextProvider.d.ts +2 -2
- package/dist/src/contexts/Members/RoomstayMemberContext/RoomstayMemberContextProvider.js.map +1 -1
- package/dist/src/contexts/ModalContext.d.ts +1 -1
- package/dist/src/contexts/NotificationContext.d.ts +1 -1
- package/dist/src/engines/BaseEngine.js +3 -32
- package/dist/src/engines/BaseEngine.js.map +1 -1
- package/dist/src/engines/BookingWizardEngine/BookingWizardEngineElement.d.ts +1 -2
- package/dist/src/engines/BookingWizardEngine/BookingWizardEngineElement.js +2 -3
- package/dist/src/engines/BookingWizardEngine/BookingWizardEngineElement.js.map +1 -1
- package/dist/src/engines/FullPageBookingEngine/FullPageBookingEngineElement.d.ts +2 -4
- package/dist/src/engines/FullPageBookingEngine/FullPageBookingEngineElement.js +3 -5
- package/dist/src/engines/FullPageBookingEngine/FullPageBookingEngineElement.js.map +1 -1
- package/dist/src/engines/InlineRoomMiniEngine/InlineRoomMiniEngineElement.d.ts +1 -2
- package/dist/src/engines/InlineRoomMiniEngine/InlineRoomMiniEngineElement.js +3 -4
- package/dist/src/engines/InlineRoomMiniEngine/InlineRoomMiniEngineElement.js.map +1 -1
- package/dist/src/engines/MemberPortalWidget/MemberPortalWidgetElement.d.ts +1 -2
- package/dist/src/engines/MemberPortalWidget/MemberPortalWidgetElement.js +4 -5
- package/dist/src/engines/MemberPortalWidget/MemberPortalWidgetElement.js.map +1 -1
- package/dist/src/engines/RecentSearchesEngine/RecentSearchesEngineElement.d.ts +1 -2
- package/dist/src/engines/RecentSearchesEngine/RecentSearchesEngineElement.js +3 -4
- package/dist/src/engines/RecentSearchesEngine/RecentSearchesEngineElement.js.map +1 -1
- package/dist/src/icons/Check.d.ts +1 -2
- package/dist/src/models/RoomstaySession.d.ts +8 -0
- package/dist/src/models/RoomstaySession.js.map +1 -1
- package/dist/src/pages/account/AccountHome/AccountHomePage.d.ts +1 -2
- package/dist/src/pages/account/AccountOutlet.d.ts +1 -1
- package/dist/src/pages/account/AccountRouter.d.ts +1 -2
- package/dist/src/pages/account/Details/AccountDetailsCardsPage.d.ts +1 -2
- package/dist/src/pages/account/Details/AccountDetailsProfilePage.d.ts +1 -2
- package/dist/src/pages/account/Help/AccountHelpPage.d.ts +1 -2
- package/dist/src/pages/account/Reservations/AccountReservationSinglePage.d.ts +1 -2
- package/dist/src/pages/account/Reservations/AccountReservationsPage.d.ts +1 -2
- package/dist/src/pages/findReservation/FindReservation.d.ts +1 -2
- package/dist/src/pages/findReservation/FindReservation.js +1 -1
- package/dist/src/pages/findReservation/FindReservation.js.map +1 -1
- package/dist/src/pages/findReservation/FindReservationResults.d.ts +1 -2
- package/dist/src/pages/findReservation/ReservationRow.d.ts +1 -2
- package/dist/src/pages/findReservation/ReservationRowModal.d.ts +1 -2
- package/dist/src/pages/hotel/HotelInfo.d.ts +1 -2
- package/dist/src/pages/hotel/HotelInfoPlaceholder.d.ts +1 -2
- package/dist/src/pages/steps/StepAddon/StepAddon.d.ts +1 -2
- package/dist/src/pages/steps/StepAddon/StepAddonComponent.d.ts +1 -2
- package/dist/src/pages/steps/StepAddon/StepAddonLoader.d.ts +1 -2
- package/dist/src/pages/steps/StepConfirmation/StepConfirmationComponent.d.ts +1 -2
- package/dist/src/pages/steps/StepConfirmation/StepConfirmationLoader.d.ts +1 -2
- package/dist/src/pages/steps/StepDate/StepDate.d.ts +1 -2
- package/dist/src/pages/steps/StepDate/StepDateComponent.d.ts +1 -2
- package/dist/src/pages/steps/StepGroupedRoom/StepGroupedRoomComponent.d.ts +1 -2
- package/dist/src/pages/steps/StepGroupedRoom/StepGroupedRoomLoader.d.ts +1 -2
- package/dist/src/pages/steps/StepGuide.d.ts +1 -1
- package/dist/src/pages/steps/StepHotel/StepHotel.d.ts +1 -2
- package/dist/src/pages/steps/StepHotel/StepHotelComponent.d.ts +1 -2
- package/dist/src/pages/steps/StepHotel/StepHotelLoader.d.ts +1 -2
- package/dist/src/pages/steps/StepRoom/StepRoomComponent.d.ts +1 -2
- package/dist/src/pages/steps/StepRoom/StepRoomLoader.d.ts +1 -2
- package/dist/src/pages/steps/StepThanks/StepThanksComponent.d.ts +1 -2
- package/dist/src/providers/DIProvider.d.ts +1 -2
- package/dist/src/providers/RoomstayThemeEngine.js +1 -1
- package/dist/src/providers/RoomstayThemeEngine.js.map +1 -1
- package/dist/src/providers/SessionProvider.js +3 -1
- package/dist/src/providers/SessionProvider.js.map +1 -1
- package/dist/src/routes/NaturallyProgressedStepRoute.d.ts +1 -2
- package/dist/src/stories/Alert.stories.d.ts +5 -0
- package/dist/src/stories/Alert.stories.js +19 -0
- package/dist/src/stories/Alert.stories.js.map +1 -0
- package/dist/src/stories/BEButton.stories.d.ts +5 -0
- package/dist/src/stories/BEButton.stories.js +20 -0
- package/dist/src/stories/BEButton.stories.js.map +1 -0
- package/dist/src/stories/BackButton.stories.d.ts +5 -0
- package/dist/src/stories/BackButton.stories.js +17 -0
- package/dist/src/stories/BackButton.stories.js.map +1 -0
- package/dist/src/stories/BookNowPayLaterInfoBlock.stories.d.ts +5 -0
- package/dist/src/stories/BookNowPayLaterInfoBlock.stories.js +17 -0
- package/dist/src/stories/BookNowPayLaterInfoBlock.stories.js.map +1 -0
- package/dist/src/stories/BookingWizard.stories.d.ts +10 -0
- package/dist/src/stories/BookingWizard.stories.js +67 -0
- package/dist/src/stories/BookingWizard.stories.js.map +1 -0
- package/dist/src/stories/Card.stories.d.ts +11 -0
- package/dist/src/stories/Card.stories.js +20 -0
- package/dist/src/stories/Card.stories.js.map +1 -0
- package/dist/src/stories/CardTypeSelect.stories.d.ts +5 -0
- package/dist/src/stories/CardTypeSelect.stories.js +17 -0
- package/dist/src/stories/CardTypeSelect.stories.js.map +1 -0
- package/dist/src/stories/Checkbox.stories.d.ts +5 -0
- package/dist/src/stories/Checkbox.stories.js +20 -0
- package/dist/src/stories/Checkbox.stories.js.map +1 -0
- package/dist/src/stories/ConfirmationModal.stories.d.ts +5 -0
- package/dist/src/stories/ConfirmationModal.stories.js +44 -0
- package/dist/src/stories/ConfirmationModal.stories.js.map +1 -0
- package/dist/src/stories/Countdown.stories.d.ts +5 -0
- package/dist/src/stories/Countdown.stories.js +20 -0
- package/dist/src/stories/Countdown.stories.js.map +1 -0
- package/dist/src/stories/Currency.stories.d.ts +5 -0
- package/dist/src/stories/Currency.stories.js +19 -0
- package/dist/src/stories/Currency.stories.js.map +1 -0
- package/dist/src/stories/DateRangePicker.stories.d.ts +8 -0
- package/dist/src/stories/DateRangePicker.stories.js +90 -0
- package/dist/src/stories/DateRangePicker.stories.js.map +1 -0
- package/dist/src/stories/Distance.stories.d.ts +5 -0
- package/dist/src/stories/Distance.stories.js +19 -0
- package/dist/src/stories/Distance.stories.js.map +1 -0
- package/dist/src/stories/EnhancedPhoneNumberField.stories.d.ts +5 -0
- package/dist/src/stories/EnhancedPhoneNumberField.stories.js +19 -0
- package/dist/src/stories/EnhancedPhoneNumberField.stories.js.map +1 -0
- package/dist/src/stories/ErrorModal.stories.d.ts +5 -0
- package/dist/src/stories/ErrorModal.stories.js +45 -0
- package/dist/src/stories/ErrorModal.stories.js.map +1 -0
- package/dist/src/stories/EventCarousel.stories.d.ts +6 -0
- package/dist/src/stories/EventCarousel.stories.js +236 -0
- package/dist/src/stories/EventCarousel.stories.js.map +1 -0
- package/dist/src/stories/FloatingDateRangePicker.stories.d.ts +6 -0
- package/dist/src/stories/FloatingDateRangePicker.stories.js +74 -0
- package/dist/src/stories/FloatingDateRangePicker.stories.js.map +1 -0
- package/dist/src/stories/ForwardedSelect.stories.d.ts +5 -0
- package/dist/src/stories/ForwardedSelect.stories.js +28 -0
- package/dist/src/stories/ForwardedSelect.stories.js.map +1 -0
- package/dist/src/stories/Headline.stories.d.ts +5 -0
- package/dist/src/stories/Headline.stories.js +19 -0
- package/dist/src/stories/Headline.stories.js.map +1 -0
- package/dist/src/stories/Icon.stories.d.ts +5 -0
- package/dist/src/stories/Icon.stories.js +42 -0
- package/dist/src/stories/Icon.stories.js.map +1 -0
- package/dist/src/stories/IconNavCard.stories.d.ts +26 -0
- package/dist/src/stories/IconNavCard.stories.js +31 -0
- package/dist/src/stories/IconNavCard.stories.js.map +1 -0
- package/dist/src/stories/IconText.stories.d.ts +5 -0
- package/dist/src/stories/IconText.stories.js +42 -0
- package/dist/src/stories/IconText.stories.js.map +1 -0
- package/dist/src/stories/ImageLoader.stories.d.ts +5 -0
- package/dist/src/stories/ImageLoader.stories.js +19 -0
- package/dist/src/stories/ImageLoader.stories.js.map +1 -0
- package/dist/src/stories/InputGroup.stories.d.ts +5 -0
- package/dist/src/stories/InputGroup.stories.js +19 -0
- package/dist/src/stories/InputGroup.stories.js.map +1 -0
- package/dist/src/stories/LargeLoader.stories.d.ts +5 -0
- package/dist/src/stories/LargeLoader.stories.js +17 -0
- package/dist/src/stories/LargeLoader.stories.js.map +1 -0
- package/dist/src/stories/LineBreak.stories.d.ts +5 -0
- package/dist/src/stories/LineBreak.stories.js +17 -0
- package/dist/src/stories/LineBreak.stories.js.map +1 -0
- package/dist/src/stories/Notification.stories.d.ts +5 -0
- package/dist/src/stories/Notification.stories.js +23 -0
- package/dist/src/stories/Notification.stories.js.map +1 -0
- package/dist/src/stories/NumberIncrement.stories.d.ts +5 -0
- package/dist/src/stories/NumberIncrement.stories.js +46 -0
- package/dist/src/stories/NumberIncrement.stories.js.map +1 -0
- package/dist/src/stories/PasswordBox.stories.d.ts +5 -0
- package/dist/src/stories/PasswordBox.stories.js +17 -0
- package/dist/src/stories/PasswordBox.stories.js.map +1 -0
- package/dist/src/stories/PaymentCard.stories.d.ts +4 -0
- package/dist/src/stories/PaymentCard.stories.js +27 -0
- package/dist/src/stories/PaymentCard.stories.js.map +1 -0
- package/dist/src/stories/PaymentCardInput.stories.d.ts +6 -0
- package/dist/src/stories/PaymentCardInput.stories.js +39 -0
- package/dist/src/stories/PaymentCardInput.stories.js.map +1 -0
- package/dist/src/stories/Pill.stories.d.ts +5 -0
- package/dist/src/stories/Pill.stories.js +19 -0
- package/dist/src/stories/Pill.stories.js.map +1 -0
- package/dist/src/stories/Placeholder.stories.d.ts +5 -0
- package/dist/src/stories/Placeholder.stories.js +22 -0
- package/dist/src/stories/Placeholder.stories.js.map +1 -0
- package/dist/src/stories/PlanpayButton.stories.d.ts +5 -0
- package/dist/src/stories/PlanpayButton.stories.js +19 -0
- package/dist/src/stories/PlanpayButton.stories.js.map +1 -0
- package/dist/src/stories/PromoCodeInput.stories.d.ts +5 -0
- package/dist/src/stories/PromoCodeInput.stories.js +17 -0
- package/dist/src/stories/PromoCodeInput.stories.js.map +1 -0
- package/dist/src/stories/RadioButton.stories.d.ts +6 -0
- package/dist/src/stories/RadioButton.stories.js +27 -0
- package/dist/src/stories/RadioButton.stories.js.map +1 -0
- package/dist/src/stories/RadioButtonGroup.stories.d.ts +8 -0
- package/dist/src/stories/RadioButtonGroup.stories.js +126 -0
- package/dist/src/stories/RadioButtonGroup.stories.js.map +1 -0
- package/dist/src/stories/RadioFields.stories.d.ts +5 -0
- package/dist/src/stories/RadioFields.stories.js +31 -0
- package/dist/src/stories/RadioFields.stories.js.map +1 -0
- package/dist/src/stories/SSLSecureBadge.stories.d.ts +5 -0
- package/dist/src/stories/SSLSecureBadge.stories.js +17 -0
- package/dist/src/stories/SSLSecureBadge.stories.js.map +1 -0
- package/dist/src/stories/Select.stories.d.ts +9 -0
- package/dist/src/stories/Select.stories.js +95 -0
- package/dist/src/stories/Select.stories.js.map +1 -0
- package/dist/src/stories/SimpleModal.stories.d.ts +5 -0
- package/dist/src/stories/SimpleModal.stories.js +52 -0
- package/dist/src/stories/SimpleModal.stories.js.map +1 -0
- package/dist/src/stories/Slider.stories.d.ts +10 -0
- package/dist/src/stories/Slider.stories.js +52 -0
- package/dist/src/stories/Slider.stories.js.map +1 -0
- package/dist/src/stories/SmallSpinner.stories.d.ts +5 -0
- package/dist/src/stories/SmallSpinner.stories.js +17 -0
- package/dist/src/stories/SmallSpinner.stories.js.map +1 -0
- package/dist/src/stories/TabbedModal.stories.d.ts +5 -0
- package/dist/src/stories/TabbedModal.stories.js +60 -0
- package/dist/src/stories/TabbedModal.stories.js.map +1 -0
- package/dist/src/stories/Tabs.stories.d.ts +5 -0
- package/dist/src/stories/Tabs.stories.js +29 -0
- package/dist/src/stories/Tabs.stories.js.map +1 -0
- package/dist/src/stories/Text.stories.d.ts +5 -0
- package/dist/src/stories/Text.stories.js +19 -0
- package/dist/src/stories/Text.stories.js.map +1 -0
- package/dist/src/stories/TextArea.stories.d.ts +5 -0
- package/dist/src/stories/TextArea.stories.js +17 -0
- package/dist/src/stories/TextArea.stories.js.map +1 -0
- package/dist/src/stories/TextBox.stories.d.ts +5 -0
- package/dist/src/stories/TextBox.stories.js +17 -0
- package/dist/src/stories/TextBox.stories.js.map +1 -0
- package/dist/src/stories/Tooltip.stories.d.ts +5 -0
- package/dist/src/stories/Tooltip.stories.js +20 -0
- package/dist/src/stories/Tooltip.stories.js.map +1 -0
- package/dist/test.bundle.js +1 -1
- package/dist/tests/jest/providers/SessionProvider.test.js +4 -4
- package/dist/tests/jest/providers/SessionProvider.test.js.map +1 -1
- package/dist/tests/offline/entry/OfflineEngineDefaults.d.ts +2 -0
- package/dist/tests/offline/entry/OfflineEngineDefaults.js +139 -0
- package/dist/tests/offline/entry/OfflineEngineDefaults.js.map +1 -0
- package/dist/vendors.bundle.js +1 -1
- package/dist/vendors.bundle.js.LICENSE.txt +14 -11
- package/package.json +7 -7
- package/dist/319.bundle.js +0 -1
- package/dist/329.bundle.js +0 -2
|
@@ -0,0 +1,236 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.Vertical = exports.Default = void 0;
|
|
7
|
+
const react_1 = __importDefault(require("react"));
|
|
8
|
+
const react_router_dom_1 = require("react-router-dom");
|
|
9
|
+
const EventCarousel_1 = __importDefault(require("../components/generic/Event/EventCarousel"));
|
|
10
|
+
const data = [
|
|
11
|
+
{
|
|
12
|
+
eventId: '3c6e6bed-9783-4dd6-bbde-60cd96ba78e4',
|
|
13
|
+
name: 'Bellflower',
|
|
14
|
+
summary: 'Proin risus.',
|
|
15
|
+
image: {
|
|
16
|
+
url: 'http://dummyimage.com/178x100.png/dddddd/000000',
|
|
17
|
+
},
|
|
18
|
+
url: 'https://diigo.com/turpis/eget/elit/sodales/scelerisque.json?mauris=tortor&sit=sollicitudin&amet=mi&eros=sit&suspendisse=amet&accumsan=lobortis&tortor=sapien&quis=sapien&turpis=non&sed=mi&ante=integer&vivamus=ac&tortor=neque&duis=duis&mattis=bibendum&egestas=morbi&metus=non&aenean=quam&fermentum=nec&donec=dui&ut=luctus&mauris=rutrum&eget=nulla&massa=tellus&tempor=in&convallis=sagittis&nulla=dui&neque=vel&libero=nisl&convallis=duis&eget=ac&eleifend=nibh&luctus=fusce&ultricies=lacus&eu=purus&nibh=aliquet&quisque=at&id=feugiat&justo=non&sit=pretium&amet=quis&sapien=lectus&dignissim=suspendisse&vestibulum=potenti&vestibulum=in&ante=eleifend&ipsum=quam&primis=a&in=odio&faucibus=in&orci=hac&luctus=habitasse&et=platea&ultrices=dictumst&posuere=maecenas&cubilia=ut&curae=massa&nulla=quis&dapibus=augue&dolor=luctus&vel=tincidunt&est=nulla&donec=mollis&odio=molestie&justo=lorem&sollicitudin=quisque&ut=ut&suscipit=erat&a=curabitur&feugiat=gravida&et=nisi&eros=at&vestibulum=nibh&ac=in',
|
|
19
|
+
startDate: '1654877193000',
|
|
20
|
+
address: {
|
|
21
|
+
line1: '61 Pepper Wood Way',
|
|
22
|
+
line2: '10th Floor',
|
|
23
|
+
city: '‘Uzeir',
|
|
24
|
+
},
|
|
25
|
+
tags: [
|
|
26
|
+
{
|
|
27
|
+
display_name: 'Eastern boa constrictor',
|
|
28
|
+
},
|
|
29
|
+
],
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
eventId: '3a1b75e4-ff7a-4b12-990f-a39f7932b729',
|
|
33
|
+
name: 'In Custody',
|
|
34
|
+
summary: 'Nullam varius. Nulla facilisi. Cras non velit nec nisi vulputate nonummy.',
|
|
35
|
+
image: {
|
|
36
|
+
url: 'http://dummyimage.com/101x100.png/ff4444/ffffff',
|
|
37
|
+
},
|
|
38
|
+
url: 'https://nbcnews.com/sit/amet.xml?ante=ultrices&ipsum=libero&primis=non&in=mattis&faucibus=pulvinar&orci=nulla&luctus=pede&et=ullamcorper&ultrices=augue&posuere=a&cubilia=suscipit&curae=nulla&duis=elit&faucibus=ac&accumsan=nulla&odio=sed&curabitur=vel&convallis=enim&duis=sit&consequat=amet&dui=nunc&nec=viverra&nisi=dapibus&volutpat=nulla&eleifend=suscipit&donec=ligula',
|
|
39
|
+
startDate: '1668147476000',
|
|
40
|
+
address: {
|
|
41
|
+
line1: '8100 Karstens Street',
|
|
42
|
+
line2: '11th Floor',
|
|
43
|
+
city: 'Kotabaru',
|
|
44
|
+
},
|
|
45
|
+
tags: [
|
|
46
|
+
{
|
|
47
|
+
display_name: 'Rat, desert kangaroo',
|
|
48
|
+
},
|
|
49
|
+
],
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
eventId: 'bdcfa789-d693-45a7-a2a5-a731ab629fd5',
|
|
53
|
+
name: "King Solomon's Mines",
|
|
54
|
+
summary: 'Duis ac nibh. Fusce lacus purus, aliquet at, feugiat non, pretium quis, lectus. Suspendisse potenti. In eleifend quam a odio. In hac habitasse platea dictumst. Maecenas ut massa quis augue luctus tincidunt. Nulla mollis molestie lorem. Quisque ut erat. Curabitur gravida nisi at nibh.',
|
|
55
|
+
image: {
|
|
56
|
+
url: 'http://dummyimage.com/136x100.png/ff4444/ffffff',
|
|
57
|
+
},
|
|
58
|
+
url: 'http://instagram.com/odio.js?in=congue&felis=vivamus&donec=metus&semper=arcu&sapien=adipiscing&a=molestie&libero=hendrerit&nam=at&dui=vulputate&proin=vitae&leo=nisl&odio=aenean&porttitor=lectus&id=pellentesque',
|
|
59
|
+
startDate: '1666804160000',
|
|
60
|
+
address: {
|
|
61
|
+
line1: '05435 Swallow Junction',
|
|
62
|
+
line2: 'Room 173',
|
|
63
|
+
city: 'Saposoa',
|
|
64
|
+
},
|
|
65
|
+
tags: [
|
|
66
|
+
{
|
|
67
|
+
display_name: 'Eastern fox squirrel',
|
|
68
|
+
},
|
|
69
|
+
],
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
eventId: 'b22b8925-a2a8-465d-b1c7-2795f7627e0f',
|
|
73
|
+
name: 'Sarah Silverman: We Are Miracles',
|
|
74
|
+
summary: 'Morbi sem mauris, laoreet ut, rhoncus aliquet, pulvinar sed, nisl. Nunc rhoncus dui vel sem. Sed sagittis. Nam congue, risus semper porta volutpat, quam pede lobortis ligula, sit amet eleifend pede libero quis orci. Nullam molestie nibh in lectus. Pellentesque at nulla. Suspendisse potenti. Cras in purus eu magna vulputate luctus. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus.',
|
|
75
|
+
image: {
|
|
76
|
+
url: 'http://dummyimage.com/101x100.png/5fa2dd/ffffff',
|
|
77
|
+
},
|
|
78
|
+
url: 'http://pinterest.com/venenatis/turpis/enim/blandit/mi/in/porttitor.xml?sagittis=sed&sapien=justo&cum=pellentesque&sociis=viverra&natoque=pede&penatibus=ac&et=diam&magnis=cras&dis=pellentesque&parturient=volutpat&montes=dui&nascetur=maecenas&ridiculus=tristique&mus=est&etiam=et&vel=tempus&augue=semper&vestibulum=est&rutrum=quam&rutrum=pharetra&neque=magna&aenean=ac&auctor=consequat&gravida=metus&sem=sapien&praesent=ut&id=nunc&massa=vestibulum&id=ante&nisl=ipsum&venenatis=primis&lacinia=in&aenean=faucibus&sit=orci&amet=luctus&justo=et&morbi=ultrices&ut=posuere&odio=cubilia&cras=curae&mi=mauris&pede=viverra&malesuada=diam&in=vitae&imperdiet=quam&et=suspendisse&commodo=potenti&vulputate=nullam&justo=porttitor&in=lacus&blandit=at&ultrices=turpis&enim=donec&lorem=posuere&ipsum=metus&dolor=vitae&sit=ipsum&amet=aliquam&consectetuer=non&adipiscing=mauris&elit=morbi&proin=non&interdum=lectus&mauris=aliquam&non=sit&ligula=amet&pellentesque=diam&ultrices=in&phasellus=magna&id=bibendum&sapien=imperdiet&in=nullam&sapien=orci&iaculis=pede&congue=venenatis&vivamus=non&metus=sodales&arcu=sed&adipiscing=tincidunt&molestie=eu&hendrerit=felis',
|
|
79
|
+
startDate: '1671489160000',
|
|
80
|
+
address: {
|
|
81
|
+
line1: '59370 Badeau Parkway',
|
|
82
|
+
line2: 'Apt 920',
|
|
83
|
+
city: 'Kičevo',
|
|
84
|
+
},
|
|
85
|
+
tags: [
|
|
86
|
+
{
|
|
87
|
+
display_name: 'Vulture, bengal',
|
|
88
|
+
},
|
|
89
|
+
],
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
eventId: 'b41c6226-3016-4645-95cb-280c2c8fb9c4',
|
|
93
|
+
name: 'Radio Inside',
|
|
94
|
+
summary: 'Proin interdum mauris non ligula pellentesque ultrices. Phasellus id sapien in sapien iaculis congue. Vivamus metus arcu, adipiscing molestie, hendrerit at, vulputate vitae, nisl.',
|
|
95
|
+
image: {
|
|
96
|
+
url: 'http://dummyimage.com/246x100.png/ff4444/ffffff',
|
|
97
|
+
},
|
|
98
|
+
url: 'http://symantec.com/nisi/eu/orci/mauris/lacinia/sapien.jsp?suspendisse=eu&potenti=magna&nullam=vulputate&porttitor=luctus&lacus=cum&at=sociis&turpis=natoque&donec=penatibus&posuere=et&metus=magnis&vitae=dis&ipsum=parturient&aliquam=montes&non=nascetur&mauris=ridiculus&morbi=mus&non=vivamus&lectus=vestibulum&aliquam=sagittis&sit=sapien&amet=cum&diam=sociis&in=natoque&magna=penatibus&bibendum=et&imperdiet=magnis&nullam=dis&orci=parturient&pede=montes&venenatis=nascetur&non=ridiculus&sodales=mus&sed=etiam&tincidunt=vel&eu=augue&felis=vestibulum&fusce=rutrum&posuere=rutrum&felis=neque&sed=aenean&lacus=auctor&morbi=gravida&sem=sem&mauris=praesent&laoreet=id&ut=massa&rhoncus=id&aliquet=nisl&pulvinar=venenatis&sed=lacinia&nisl=aenean&nunc=sit&rhoncus=amet&dui=justo&vel=morbi&sem=ut&sed=odio&sagittis=cras&nam=mi&congue=pede&risus=malesuada&semper=in&porta=imperdiet&volutpat=et&quam=commodo&pede=vulputate&lobortis=justo&ligula=in&sit=blandit&amet=ultrices&eleifend=enim&pede=lorem&libero=ipsum&quis=dolor&orci=sit&nullam=amet&molestie=consectetuer&nibh=adipiscing',
|
|
99
|
+
startDate: '1665935901000',
|
|
100
|
+
address: {
|
|
101
|
+
line1: '194 Esker Drive',
|
|
102
|
+
line2: 'Apt 486',
|
|
103
|
+
city: 'Tiglauigan',
|
|
104
|
+
},
|
|
105
|
+
tags: [
|
|
106
|
+
{
|
|
107
|
+
display_name: "Francolin, swainson's",
|
|
108
|
+
},
|
|
109
|
+
],
|
|
110
|
+
},
|
|
111
|
+
{
|
|
112
|
+
eventId: '953baa44-36da-483e-b301-acecbdfe263d',
|
|
113
|
+
name: 'Second Chance, The',
|
|
114
|
+
summary: 'Etiam vel augue. Vestibulum rutrum rutrum neque. Aenean auctor gravida sem. Praesent id massa id nisl venenatis lacinia. Aenean sit amet justo. Morbi ut odio. Cras mi pede, malesuada in, imperdiet et, commodo vulputate, justo. In blandit ultrices enim. Lorem ipsum dolor sit amet, consectetuer adipiscing elit.',
|
|
115
|
+
image: {
|
|
116
|
+
url: 'http://dummyimage.com/143x100.png/cc0000/ffffff',
|
|
117
|
+
},
|
|
118
|
+
url: 'http://springer.com/vivamus/tortor/duis/mattis/egestas/metus.json?commodo=rutrum&placerat=neque&praesent=aenean&blandit=auctor&nam=gravida&nulla=sem&integer=praesent&pede=id&justo=massa&lacinia=id&eget=nisl&tincidunt=venenatis&eget=lacinia&tempus=aenean&vel=sit&pede=amet&morbi=justo&porttitor=morbi&lorem=ut&id=odio&ligula=cras&suspendisse=mi&ornare=pede&consequat=malesuada&lectus=in&in=imperdiet&est=et&risus=commodo&auctor=vulputate&sed=justo&tristique=in&in=blandit&tempus=ultrices&sit=enim&amet=lorem&sem=ipsum&fusce=dolor&consequat=sit&nulla=amet&nisl=consectetuer&nunc=adipiscing&nisl=elit&duis=proin&bibendum=interdum&felis=mauris&sed=non&interdum=ligula&venenatis=pellentesque&turpis=ultrices&enim=phasellus&blandit=id&mi=sapien',
|
|
119
|
+
startDate: '1677297303000',
|
|
120
|
+
address: {
|
|
121
|
+
line1: '6816 South Point',
|
|
122
|
+
line2: 'Room 1892',
|
|
123
|
+
city: 'Jiahe',
|
|
124
|
+
},
|
|
125
|
+
tags: [
|
|
126
|
+
{
|
|
127
|
+
display_name: 'White-faced tree rat',
|
|
128
|
+
},
|
|
129
|
+
],
|
|
130
|
+
},
|
|
131
|
+
{
|
|
132
|
+
eventId: 'f6860961-d9ad-4806-9305-1de8e5105535',
|
|
133
|
+
name: 'Underworld',
|
|
134
|
+
summary: 'Donec ut dolor. Morbi vel lectus in quam fringilla rhoncus. Mauris enim leo, rhoncus sed, vestibulum sit amet, cursus id, turpis. Integer aliquet, massa id lobortis convallis, tortor risus dapibus augue, vel accumsan tellus nisi eu orci. Mauris lacinia sapien quis libero. Nullam sit amet turpis elementum ligula vehicula consequat. Morbi a ipsum.',
|
|
135
|
+
image: {
|
|
136
|
+
url: 'http://dummyimage.com/154x100.png/cc0000/ffffff',
|
|
137
|
+
},
|
|
138
|
+
url: 'https://thetimes.co.uk/potenti/in/eleifend.jsp?nonummy=porta&maecenas=volutpat&tincidunt=quam&lacus=pede&at=lobortis&velit=ligula&vivamus=sit&vel=amet&nulla=eleifend&eget=pede&eros=libero&elementum=quis&pellentesque=orci&quisque=nullam&porta=molestie&volutpat=nibh&erat=in&quisque=lectus&erat=pellentesque&eros=at&viverra=nulla&eget=suspendisse&congue=potenti&eget=cras&semper=in&rutrum=purus&nulla=eu&nunc=magna&purus=vulputate&phasellus=luctus&in=cum&felis=sociis&donec=natoque&semper=penatibus&sapien=et&a=magnis&libero=dis&nam=parturient&dui=montes&proin=nascetur&leo=ridiculus&odio=mus&porttitor=vivamus&id=vestibulum&consequat=sagittis&in=sapien&consequat=cum&ut=sociis&nulla=natoque&sed=penatibus&accumsan=et&felis=magnis&ut=dis&at=parturient&dolor=montes&quis=nascetur&odio=ridiculus&consequat=mus&varius=etiam&integer=vel&ac=augue&leo=vestibulum&pellentesque=rutrum&ultrices=rutrum&mattis=neque&odio=aenean',
|
|
139
|
+
startDate: '1661784807000',
|
|
140
|
+
address: {
|
|
141
|
+
line1: '65 Walton Avenue',
|
|
142
|
+
line2: 'Suite 99',
|
|
143
|
+
city: 'Porangatu',
|
|
144
|
+
},
|
|
145
|
+
tags: [
|
|
146
|
+
{
|
|
147
|
+
display_name: 'Goldeneye, barrows',
|
|
148
|
+
},
|
|
149
|
+
],
|
|
150
|
+
},
|
|
151
|
+
{
|
|
152
|
+
eventId: 'b8cc9f26-2e28-4f9f-83a2-5e29d9ecab57',
|
|
153
|
+
name: 'Midnight Lace',
|
|
154
|
+
summary: 'Morbi vel lectus in quam fringilla rhoncus. Mauris enim leo, rhoncus sed, vestibulum sit amet, cursus id, turpis. Integer aliquet, massa id lobortis convallis, tortor risus dapibus augue, vel accumsan tellus nisi eu orci. Mauris lacinia sapien quis libero. Nullam sit amet turpis elementum ligula vehicula consequat.',
|
|
155
|
+
image: {
|
|
156
|
+
url: 'http://dummyimage.com/123x100.png/ff4444/ffffff',
|
|
157
|
+
},
|
|
158
|
+
url: 'http://howstuffworks.com/lobortis/est/phasellus/sit/amet/erat.xml?nulla=donec&sed=odio&accumsan=justo&felis=sollicitudin&ut=ut&at=suscipit&dolor=a&quis=feugiat&odio=et&consequat=eros&varius=vestibulum&integer=ac&ac=est&leo=lacinia&pellentesque=nisi&ultrices=venenatis&mattis=tristique&odio=fusce&donec=congue&vitae=diam&nisi=id&nam=ornare&ultrices=imperdiet&libero=sapien&non=urna&mattis=pretium&pulvinar=nisl&nulla=ut&pede=volutpat&ullamcorper=sapien&augue=arcu&a=sed&suscipit=augue&nulla=aliquam&elit=erat&ac=volutpat&nulla=in&sed=congue&vel=etiam&enim=justo&sit=etiam&amet=pretium&nunc=iaculis&viverra=justo&dapibus=in&nulla=hac&suscipit=habitasse&ligula=platea&in=dictumst&lacus=etiam&curabitur=faucibus&at=cursus&ipsum=urna&ac=ut&tellus=tellus&semper=nulla&interdum=ut&mauris=erat&ullamcorper=id&purus=mauris&sit=vulputate&amet=elementum&nulla=nullam&quisque=varius&arcu=nulla&libero=facilisi&rutrum=cras&ac=non&lobortis=velit&vel=nec&dapibus=nisi&at=vulputate&diam=nonummy&nam=maecenas',
|
|
159
|
+
startDate: '1665800661000',
|
|
160
|
+
address: {
|
|
161
|
+
line1: '841 Dryden Way',
|
|
162
|
+
line2: 'Room 191',
|
|
163
|
+
city: 'Rahama',
|
|
164
|
+
},
|
|
165
|
+
tags: [
|
|
166
|
+
{
|
|
167
|
+
display_name: 'Goldeneye, common',
|
|
168
|
+
},
|
|
169
|
+
],
|
|
170
|
+
},
|
|
171
|
+
{
|
|
172
|
+
eventId: '892ae709-798e-493a-8234-9935bedec919',
|
|
173
|
+
name: 'Breaking the Maya Code',
|
|
174
|
+
summary: 'In hac habitasse platea dictumst. Maecenas ut massa quis augue luctus tincidunt. Nulla mollis molestie lorem.',
|
|
175
|
+
image: {
|
|
176
|
+
url: 'http://dummyimage.com/142x100.png/dddddd/000000',
|
|
177
|
+
},
|
|
178
|
+
url: 'https://123-reg.co.uk/justo/aliquam/quis/turpis/eget/elit/sodales.aspx?curae=nisl&mauris=ut&viverra=volutpat&diam=sapien&vitae=arcu&quam=sed&suspendisse=augue&potenti=aliquam&nullam=erat&porttitor=volutpat&lacus=in&at=congue&turpis=etiam&donec=justo&posuere=etiam&metus=pretium&vitae=iaculis&ipsum=justo&aliquam=in&non=hac&mauris=habitasse&morbi=platea&non=dictumst&lectus=etiam&aliquam=faucibus&sit=cursus&amet=urna&diam=ut&in=tellus&magna=nulla&bibendum=ut',
|
|
179
|
+
startDate: '1650964605000',
|
|
180
|
+
address: {
|
|
181
|
+
line1: '84810 Vermont Avenue',
|
|
182
|
+
line2: '8th Floor',
|
|
183
|
+
city: 'Lipiany',
|
|
184
|
+
},
|
|
185
|
+
tags: [
|
|
186
|
+
{
|
|
187
|
+
display_name: 'Long-nosed bandicoot',
|
|
188
|
+
},
|
|
189
|
+
],
|
|
190
|
+
},
|
|
191
|
+
{
|
|
192
|
+
eventId: 'bfb9663e-72ed-40db-8e3c-37361434b751',
|
|
193
|
+
name: 'Adventures of Sebastian Cole, The',
|
|
194
|
+
summary: 'Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Proin interdum mauris non ligula pellentesque ultrices. Phasellus id sapien in sapien iaculis congue. Vivamus metus arcu, adipiscing molestie, hendrerit at, vulputate vitae, nisl. Aenean lectus. Pellentesque eget nunc. Donec quis orci eget orci vehicula condimentum. Curabitur in libero ut massa volutpat convallis. Morbi odio odio, elementum eu, interdum eu, tincidunt in, leo. Maecenas pulvinar lobortis est.',
|
|
195
|
+
image: {
|
|
196
|
+
url: 'http://dummyimage.com/131x100.png/5fa2dd/ffffff',
|
|
197
|
+
},
|
|
198
|
+
url: 'http://usa.gov/velit.aspx?elementum=enim&nullam=blandit&varius=mi&nulla=in&facilisi=porttitor&cras=pede&non=justo&velit=eu&nec=massa&nisi=donec&vulputate=dapibus&nonummy=duis&maecenas=at&tincidunt=velit&lacus=eu&at=est&velit=congue&vivamus=elementum&vel=in&nulla=hac&eget=habitasse&eros=platea&elementum=dictumst&pellentesque=morbi&quisque=vestibulum&porta=velit&volutpat=id&erat=pretium&quisque=iaculis&erat=diam&eros=erat&viverra=fermentum&eget=justo&congue=nec&eget=condimentum&semper=neque&rutrum=sapien&nulla=placerat&nunc=ante&purus=nulla&phasellus=justo&in=aliquam&felis=quis&donec=turpis&semper=eget&sapien=elit&a=sodales&libero=scelerisque&nam=mauris&dui=sit&proin=amet&leo=eros&odio=suspendisse&porttitor=accumsan&id=tortor&consequat=quis&in=turpis&consequat=sed&ut=ante&nulla=vivamus&sed=tortor',
|
|
199
|
+
startDate: '1678856350000',
|
|
200
|
+
address: {
|
|
201
|
+
line1: '195 Comanche Avenue',
|
|
202
|
+
line2: 'PO Box 11978',
|
|
203
|
+
city: 'Радовиш',
|
|
204
|
+
},
|
|
205
|
+
tags: [
|
|
206
|
+
{
|
|
207
|
+
display_name: 'Gazer, sun',
|
|
208
|
+
},
|
|
209
|
+
],
|
|
210
|
+
},
|
|
211
|
+
];
|
|
212
|
+
exports.default = {
|
|
213
|
+
title: 'generic/EventCarousel',
|
|
214
|
+
component: EventCarousel_1.default,
|
|
215
|
+
argTypes: {},
|
|
216
|
+
decorators: [
|
|
217
|
+
(Story) => {
|
|
218
|
+
return (react_1.default.createElement(react_router_dom_1.HashRouter, null,
|
|
219
|
+
react_1.default.createElement(Story, null)));
|
|
220
|
+
},
|
|
221
|
+
],
|
|
222
|
+
};
|
|
223
|
+
const Default = () => {
|
|
224
|
+
return react_1.default.createElement(EventCarousel_1.default, { data: data });
|
|
225
|
+
};
|
|
226
|
+
exports.Default = Default;
|
|
227
|
+
const Vertical = () => {
|
|
228
|
+
return (react_1.default.createElement("div", { style: {
|
|
229
|
+
marginLeft: 'auto',
|
|
230
|
+
marginRight: 'auto',
|
|
231
|
+
width: 375,
|
|
232
|
+
} },
|
|
233
|
+
react_1.default.createElement(EventCarousel_1.default, { data: data, small: true })));
|
|
234
|
+
};
|
|
235
|
+
exports.Vertical = Vertical;
|
|
236
|
+
//# sourceMappingURL=EventCarousel.stories.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EventCarousel.stories.js","sourceRoot":"/","sources":["src/stories/EventCarousel.stories.tsx"],"names":[],"mappings":"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","sourcesContent":["import { IRoomstayEvent } from '@roomstay/core';\nimport { ComponentMeta } from '@storybook/react';\nimport React from 'react';\nimport { HashRouter } from 'react-router-dom';\n\nimport EventCarousel from '@/components/generic/Event/EventCarousel';\n\nconst data: IRoomstayEvent[] = [\n {\n eventId: '3c6e6bed-9783-4dd6-bbde-60cd96ba78e4',\n name: 'Bellflower',\n summary: 'Proin risus.',\n image: {\n url: 'http://dummyimage.com/178x100.png/dddddd/000000',\n },\n url: 'https://diigo.com/turpis/eget/elit/sodales/scelerisque.json?mauris=tortor&sit=sollicitudin&amet=mi&eros=sit&suspendisse=amet&accumsan=lobortis&tortor=sapien&quis=sapien&turpis=non&sed=mi&ante=integer&vivamus=ac&tortor=neque&duis=duis&mattis=bibendum&egestas=morbi&metus=non&aenean=quam&fermentum=nec&donec=dui&ut=luctus&mauris=rutrum&eget=nulla&massa=tellus&tempor=in&convallis=sagittis&nulla=dui&neque=vel&libero=nisl&convallis=duis&eget=ac&eleifend=nibh&luctus=fusce&ultricies=lacus&eu=purus&nibh=aliquet&quisque=at&id=feugiat&justo=non&sit=pretium&amet=quis&sapien=lectus&dignissim=suspendisse&vestibulum=potenti&vestibulum=in&ante=eleifend&ipsum=quam&primis=a&in=odio&faucibus=in&orci=hac&luctus=habitasse&et=platea&ultrices=dictumst&posuere=maecenas&cubilia=ut&curae=massa&nulla=quis&dapibus=augue&dolor=luctus&vel=tincidunt&est=nulla&donec=mollis&odio=molestie&justo=lorem&sollicitudin=quisque&ut=ut&suscipit=erat&a=curabitur&feugiat=gravida&et=nisi&eros=at&vestibulum=nibh&ac=in',\n startDate: '1654877193000',\n address: {\n line1: '61 Pepper Wood Way',\n line2: '10th Floor',\n city: '‘Uzeir',\n },\n tags: [\n {\n display_name: 'Eastern boa constrictor',\n },\n ],\n },\n {\n eventId: '3a1b75e4-ff7a-4b12-990f-a39f7932b729',\n name: 'In Custody',\n summary: 'Nullam varius. Nulla facilisi. Cras non velit nec nisi vulputate nonummy.',\n image: {\n url: 'http://dummyimage.com/101x100.png/ff4444/ffffff',\n },\n url: 'https://nbcnews.com/sit/amet.xml?ante=ultrices&ipsum=libero&primis=non&in=mattis&faucibus=pulvinar&orci=nulla&luctus=pede&et=ullamcorper&ultrices=augue&posuere=a&cubilia=suscipit&curae=nulla&duis=elit&faucibus=ac&accumsan=nulla&odio=sed&curabitur=vel&convallis=enim&duis=sit&consequat=amet&dui=nunc&nec=viverra&nisi=dapibus&volutpat=nulla&eleifend=suscipit&donec=ligula',\n startDate: '1668147476000',\n address: {\n line1: '8100 Karstens Street',\n line2: '11th Floor',\n city: 'Kotabaru',\n },\n tags: [\n {\n display_name: 'Rat, desert kangaroo',\n },\n ],\n },\n {\n eventId: 'bdcfa789-d693-45a7-a2a5-a731ab629fd5',\n name: \"King Solomon's Mines\",\n summary:\n 'Duis ac nibh. Fusce lacus purus, aliquet at, feugiat non, pretium quis, lectus. Suspendisse potenti. In eleifend quam a odio. In hac habitasse platea dictumst. Maecenas ut massa quis augue luctus tincidunt. Nulla mollis molestie lorem. Quisque ut erat. Curabitur gravida nisi at nibh.',\n image: {\n url: 'http://dummyimage.com/136x100.png/ff4444/ffffff',\n },\n url: 'http://instagram.com/odio.js?in=congue&felis=vivamus&donec=metus&semper=arcu&sapien=adipiscing&a=molestie&libero=hendrerit&nam=at&dui=vulputate&proin=vitae&leo=nisl&odio=aenean&porttitor=lectus&id=pellentesque',\n startDate: '1666804160000',\n address: {\n line1: '05435 Swallow Junction',\n line2: 'Room 173',\n city: 'Saposoa',\n },\n tags: [\n {\n display_name: 'Eastern fox squirrel',\n },\n ],\n },\n {\n eventId: 'b22b8925-a2a8-465d-b1c7-2795f7627e0f',\n name: 'Sarah Silverman: We Are Miracles',\n summary:\n 'Morbi sem mauris, laoreet ut, rhoncus aliquet, pulvinar sed, nisl. Nunc rhoncus dui vel sem. Sed sagittis. Nam congue, risus semper porta volutpat, quam pede lobortis ligula, sit amet eleifend pede libero quis orci. Nullam molestie nibh in lectus. Pellentesque at nulla. Suspendisse potenti. Cras in purus eu magna vulputate luctus. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus.',\n image: {\n url: 'http://dummyimage.com/101x100.png/5fa2dd/ffffff',\n },\n url: 'http://pinterest.com/venenatis/turpis/enim/blandit/mi/in/porttitor.xml?sagittis=sed&sapien=justo&cum=pellentesque&sociis=viverra&natoque=pede&penatibus=ac&et=diam&magnis=cras&dis=pellentesque&parturient=volutpat&montes=dui&nascetur=maecenas&ridiculus=tristique&mus=est&etiam=et&vel=tempus&augue=semper&vestibulum=est&rutrum=quam&rutrum=pharetra&neque=magna&aenean=ac&auctor=consequat&gravida=metus&sem=sapien&praesent=ut&id=nunc&massa=vestibulum&id=ante&nisl=ipsum&venenatis=primis&lacinia=in&aenean=faucibus&sit=orci&amet=luctus&justo=et&morbi=ultrices&ut=posuere&odio=cubilia&cras=curae&mi=mauris&pede=viverra&malesuada=diam&in=vitae&imperdiet=quam&et=suspendisse&commodo=potenti&vulputate=nullam&justo=porttitor&in=lacus&blandit=at&ultrices=turpis&enim=donec&lorem=posuere&ipsum=metus&dolor=vitae&sit=ipsum&amet=aliquam&consectetuer=non&adipiscing=mauris&elit=morbi&proin=non&interdum=lectus&mauris=aliquam&non=sit&ligula=amet&pellentesque=diam&ultrices=in&phasellus=magna&id=bibendum&sapien=imperdiet&in=nullam&sapien=orci&iaculis=pede&congue=venenatis&vivamus=non&metus=sodales&arcu=sed&adipiscing=tincidunt&molestie=eu&hendrerit=felis',\n startDate: '1671489160000',\n address: {\n line1: '59370 Badeau Parkway',\n line2: 'Apt 920',\n city: 'Kičevo',\n },\n tags: [\n {\n display_name: 'Vulture, bengal',\n },\n ],\n },\n {\n eventId: 'b41c6226-3016-4645-95cb-280c2c8fb9c4',\n name: 'Radio Inside',\n summary:\n 'Proin interdum mauris non ligula pellentesque ultrices. Phasellus id sapien in sapien iaculis congue. Vivamus metus arcu, adipiscing molestie, hendrerit at, vulputate vitae, nisl.',\n image: {\n url: 'http://dummyimage.com/246x100.png/ff4444/ffffff',\n },\n url: 'http://symantec.com/nisi/eu/orci/mauris/lacinia/sapien.jsp?suspendisse=eu&potenti=magna&nullam=vulputate&porttitor=luctus&lacus=cum&at=sociis&turpis=natoque&donec=penatibus&posuere=et&metus=magnis&vitae=dis&ipsum=parturient&aliquam=montes&non=nascetur&mauris=ridiculus&morbi=mus&non=vivamus&lectus=vestibulum&aliquam=sagittis&sit=sapien&amet=cum&diam=sociis&in=natoque&magna=penatibus&bibendum=et&imperdiet=magnis&nullam=dis&orci=parturient&pede=montes&venenatis=nascetur&non=ridiculus&sodales=mus&sed=etiam&tincidunt=vel&eu=augue&felis=vestibulum&fusce=rutrum&posuere=rutrum&felis=neque&sed=aenean&lacus=auctor&morbi=gravida&sem=sem&mauris=praesent&laoreet=id&ut=massa&rhoncus=id&aliquet=nisl&pulvinar=venenatis&sed=lacinia&nisl=aenean&nunc=sit&rhoncus=amet&dui=justo&vel=morbi&sem=ut&sed=odio&sagittis=cras&nam=mi&congue=pede&risus=malesuada&semper=in&porta=imperdiet&volutpat=et&quam=commodo&pede=vulputate&lobortis=justo&ligula=in&sit=blandit&amet=ultrices&eleifend=enim&pede=lorem&libero=ipsum&quis=dolor&orci=sit&nullam=amet&molestie=consectetuer&nibh=adipiscing',\n startDate: '1665935901000',\n address: {\n line1: '194 Esker Drive',\n line2: 'Apt 486',\n city: 'Tiglauigan',\n },\n tags: [\n {\n display_name: \"Francolin, swainson's\",\n },\n ],\n },\n {\n eventId: '953baa44-36da-483e-b301-acecbdfe263d',\n name: 'Second Chance, The',\n summary:\n 'Etiam vel augue. Vestibulum rutrum rutrum neque. Aenean auctor gravida sem. Praesent id massa id nisl venenatis lacinia. Aenean sit amet justo. Morbi ut odio. Cras mi pede, malesuada in, imperdiet et, commodo vulputate, justo. In blandit ultrices enim. Lorem ipsum dolor sit amet, consectetuer adipiscing elit.',\n image: {\n url: 'http://dummyimage.com/143x100.png/cc0000/ffffff',\n },\n url: 'http://springer.com/vivamus/tortor/duis/mattis/egestas/metus.json?commodo=rutrum&placerat=neque&praesent=aenean&blandit=auctor&nam=gravida&nulla=sem&integer=praesent&pede=id&justo=massa&lacinia=id&eget=nisl&tincidunt=venenatis&eget=lacinia&tempus=aenean&vel=sit&pede=amet&morbi=justo&porttitor=morbi&lorem=ut&id=odio&ligula=cras&suspendisse=mi&ornare=pede&consequat=malesuada&lectus=in&in=imperdiet&est=et&risus=commodo&auctor=vulputate&sed=justo&tristique=in&in=blandit&tempus=ultrices&sit=enim&amet=lorem&sem=ipsum&fusce=dolor&consequat=sit&nulla=amet&nisl=consectetuer&nunc=adipiscing&nisl=elit&duis=proin&bibendum=interdum&felis=mauris&sed=non&interdum=ligula&venenatis=pellentesque&turpis=ultrices&enim=phasellus&blandit=id&mi=sapien',\n startDate: '1677297303000',\n address: {\n line1: '6816 South Point',\n line2: 'Room 1892',\n city: 'Jiahe',\n },\n tags: [\n {\n display_name: 'White-faced tree rat',\n },\n ],\n },\n {\n eventId: 'f6860961-d9ad-4806-9305-1de8e5105535',\n name: 'Underworld',\n summary:\n 'Donec ut dolor. Morbi vel lectus in quam fringilla rhoncus. Mauris enim leo, rhoncus sed, vestibulum sit amet, cursus id, turpis. Integer aliquet, massa id lobortis convallis, tortor risus dapibus augue, vel accumsan tellus nisi eu orci. Mauris lacinia sapien quis libero. Nullam sit amet turpis elementum ligula vehicula consequat. Morbi a ipsum.',\n image: {\n url: 'http://dummyimage.com/154x100.png/cc0000/ffffff',\n },\n url: 'https://thetimes.co.uk/potenti/in/eleifend.jsp?nonummy=porta&maecenas=volutpat&tincidunt=quam&lacus=pede&at=lobortis&velit=ligula&vivamus=sit&vel=amet&nulla=eleifend&eget=pede&eros=libero&elementum=quis&pellentesque=orci&quisque=nullam&porta=molestie&volutpat=nibh&erat=in&quisque=lectus&erat=pellentesque&eros=at&viverra=nulla&eget=suspendisse&congue=potenti&eget=cras&semper=in&rutrum=purus&nulla=eu&nunc=magna&purus=vulputate&phasellus=luctus&in=cum&felis=sociis&donec=natoque&semper=penatibus&sapien=et&a=magnis&libero=dis&nam=parturient&dui=montes&proin=nascetur&leo=ridiculus&odio=mus&porttitor=vivamus&id=vestibulum&consequat=sagittis&in=sapien&consequat=cum&ut=sociis&nulla=natoque&sed=penatibus&accumsan=et&felis=magnis&ut=dis&at=parturient&dolor=montes&quis=nascetur&odio=ridiculus&consequat=mus&varius=etiam&integer=vel&ac=augue&leo=vestibulum&pellentesque=rutrum&ultrices=rutrum&mattis=neque&odio=aenean',\n startDate: '1661784807000',\n address: {\n line1: '65 Walton Avenue',\n line2: 'Suite 99',\n city: 'Porangatu',\n },\n tags: [\n {\n display_name: 'Goldeneye, barrows',\n },\n ],\n },\n {\n eventId: 'b8cc9f26-2e28-4f9f-83a2-5e29d9ecab57',\n name: 'Midnight Lace',\n summary:\n 'Morbi vel lectus in quam fringilla rhoncus. Mauris enim leo, rhoncus sed, vestibulum sit amet, cursus id, turpis. Integer aliquet, massa id lobortis convallis, tortor risus dapibus augue, vel accumsan tellus nisi eu orci. Mauris lacinia sapien quis libero. Nullam sit amet turpis elementum ligula vehicula consequat.',\n image: {\n url: 'http://dummyimage.com/123x100.png/ff4444/ffffff',\n },\n url: 'http://howstuffworks.com/lobortis/est/phasellus/sit/amet/erat.xml?nulla=donec&sed=odio&accumsan=justo&felis=sollicitudin&ut=ut&at=suscipit&dolor=a&quis=feugiat&odio=et&consequat=eros&varius=vestibulum&integer=ac&ac=est&leo=lacinia&pellentesque=nisi&ultrices=venenatis&mattis=tristique&odio=fusce&donec=congue&vitae=diam&nisi=id&nam=ornare&ultrices=imperdiet&libero=sapien&non=urna&mattis=pretium&pulvinar=nisl&nulla=ut&pede=volutpat&ullamcorper=sapien&augue=arcu&a=sed&suscipit=augue&nulla=aliquam&elit=erat&ac=volutpat&nulla=in&sed=congue&vel=etiam&enim=justo&sit=etiam&amet=pretium&nunc=iaculis&viverra=justo&dapibus=in&nulla=hac&suscipit=habitasse&ligula=platea&in=dictumst&lacus=etiam&curabitur=faucibus&at=cursus&ipsum=urna&ac=ut&tellus=tellus&semper=nulla&interdum=ut&mauris=erat&ullamcorper=id&purus=mauris&sit=vulputate&amet=elementum&nulla=nullam&quisque=varius&arcu=nulla&libero=facilisi&rutrum=cras&ac=non&lobortis=velit&vel=nec&dapibus=nisi&at=vulputate&diam=nonummy&nam=maecenas',\n startDate: '1665800661000',\n address: {\n line1: '841 Dryden Way',\n line2: 'Room 191',\n city: 'Rahama',\n },\n tags: [\n {\n display_name: 'Goldeneye, common',\n },\n ],\n },\n {\n eventId: '892ae709-798e-493a-8234-9935bedec919',\n name: 'Breaking the Maya Code',\n summary: 'In hac habitasse platea dictumst. Maecenas ut massa quis augue luctus tincidunt. Nulla mollis molestie lorem.',\n image: {\n url: 'http://dummyimage.com/142x100.png/dddddd/000000',\n },\n url: 'https://123-reg.co.uk/justo/aliquam/quis/turpis/eget/elit/sodales.aspx?curae=nisl&mauris=ut&viverra=volutpat&diam=sapien&vitae=arcu&quam=sed&suspendisse=augue&potenti=aliquam&nullam=erat&porttitor=volutpat&lacus=in&at=congue&turpis=etiam&donec=justo&posuere=etiam&metus=pretium&vitae=iaculis&ipsum=justo&aliquam=in&non=hac&mauris=habitasse&morbi=platea&non=dictumst&lectus=etiam&aliquam=faucibus&sit=cursus&amet=urna&diam=ut&in=tellus&magna=nulla&bibendum=ut',\n startDate: '1650964605000',\n address: {\n line1: '84810 Vermont Avenue',\n line2: '8th Floor',\n city: 'Lipiany',\n },\n tags: [\n {\n display_name: 'Long-nosed bandicoot',\n },\n ],\n },\n {\n eventId: 'bfb9663e-72ed-40db-8e3c-37361434b751',\n name: 'Adventures of Sebastian Cole, The',\n summary:\n 'Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Proin interdum mauris non ligula pellentesque ultrices. Phasellus id sapien in sapien iaculis congue. Vivamus metus arcu, adipiscing molestie, hendrerit at, vulputate vitae, nisl. Aenean lectus. Pellentesque eget nunc. Donec quis orci eget orci vehicula condimentum. Curabitur in libero ut massa volutpat convallis. Morbi odio odio, elementum eu, interdum eu, tincidunt in, leo. Maecenas pulvinar lobortis est.',\n image: {\n url: 'http://dummyimage.com/131x100.png/5fa2dd/ffffff',\n },\n url: 'http://usa.gov/velit.aspx?elementum=enim&nullam=blandit&varius=mi&nulla=in&facilisi=porttitor&cras=pede&non=justo&velit=eu&nec=massa&nisi=donec&vulputate=dapibus&nonummy=duis&maecenas=at&tincidunt=velit&lacus=eu&at=est&velit=congue&vivamus=elementum&vel=in&nulla=hac&eget=habitasse&eros=platea&elementum=dictumst&pellentesque=morbi&quisque=vestibulum&porta=velit&volutpat=id&erat=pretium&quisque=iaculis&erat=diam&eros=erat&viverra=fermentum&eget=justo&congue=nec&eget=condimentum&semper=neque&rutrum=sapien&nulla=placerat&nunc=ante&purus=nulla&phasellus=justo&in=aliquam&felis=quis&donec=turpis&semper=eget&sapien=elit&a=sodales&libero=scelerisque&nam=mauris&dui=sit&proin=amet&leo=eros&odio=suspendisse&porttitor=accumsan&id=tortor&consequat=quis&in=turpis&consequat=sed&ut=ante&nulla=vivamus&sed=tortor',\n startDate: '1678856350000',\n address: {\n line1: '195 Comanche Avenue',\n line2: 'PO Box 11978',\n city: 'Радовиш',\n },\n tags: [\n {\n display_name: 'Gazer, sun',\n },\n ],\n },\n] as IRoomstayEvent[];\n\nexport default {\n title: 'generic/EventCarousel',\n component: EventCarousel,\n argTypes: {},\n decorators: [\n (Story) => {\n return (\n <HashRouter>\n <Story />\n </HashRouter>\n );\n },\n ],\n} as ComponentMeta<typeof EventCarousel>;\n\nexport const Default = () => {\n return <EventCarousel data={data} />;\n};\n\nexport const Vertical = () => {\n return (\n <div\n style={{\n marginLeft: 'auto',\n marginRight: 'auto',\n width: 375,\n }}\n >\n <EventCarousel data={data} small />\n </div>\n );\n};\n"]}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { ComponentMeta } from '@storybook/react';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
declare const _default: ComponentMeta<React.ForwardRefExoticComponent<import("../components/generic/DateRangePicker/FloatingDateRangePicker").FloatingDateRangePickerProps & React.RefAttributes<import("../components/generic/DateRangePicker/FloatingDateRangePicker").FloatingDateRangePickerHandle>>>;
|
|
4
|
+
export default _default;
|
|
5
|
+
export declare const Primary: () => JSX.Element;
|
|
6
|
+
export declare const ThemeSpecific: () => JSX.Element;
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
+
if (mod && mod.__esModule) return mod;
|
|
20
|
+
var result = {};
|
|
21
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
+
__setModuleDefault(result, mod);
|
|
23
|
+
return result;
|
|
24
|
+
};
|
|
25
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
26
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.ThemeSpecific = exports.Primary = void 0;
|
|
30
|
+
const react_1 = __importStar(require("react"));
|
|
31
|
+
const BookingWizard_1 = require("../components/generic/BookingWizard/BookingWizard");
|
|
32
|
+
const FloatingDateRangePicker_1 = __importDefault(require("../components/generic/DateRangePicker/FloatingDateRangePicker"));
|
|
33
|
+
exports.default = {
|
|
34
|
+
title: 'generic/DateRangePicker/FloatingRangeDatePicker',
|
|
35
|
+
component: FloatingDateRangePicker_1.default,
|
|
36
|
+
argTypes: {},
|
|
37
|
+
};
|
|
38
|
+
const Primary = () => {
|
|
39
|
+
const [startDate, setStartDate] = (0, react_1.useState)(null);
|
|
40
|
+
const [endDate, setEndDate] = (0, react_1.useState)(null);
|
|
41
|
+
return (react_1.default.createElement(react_1.default.Fragment, null,
|
|
42
|
+
react_1.default.createElement(FloatingDateRangePicker_1.default, { startDate: startDate, endDate: endDate, selectedDateChanged: (start, end) => {
|
|
43
|
+
setStartDate(start);
|
|
44
|
+
setEndDate(end);
|
|
45
|
+
} }, "Click here"),
|
|
46
|
+
react_1.default.createElement(FloatingDateRangePicker_1.default, { startDate: startDate, endDate: endDate, selectedDateChanged: (start, end) => {
|
|
47
|
+
setStartDate(start);
|
|
48
|
+
setEndDate(end);
|
|
49
|
+
}, small: true }, "Small"),
|
|
50
|
+
react_1.default.createElement(FloatingDateRangePicker_1.default, { showMultipleMonths: true, startDate: startDate, endDate: endDate, selectedDateChanged: (start, end) => {
|
|
51
|
+
setStartDate(start);
|
|
52
|
+
setEndDate(end);
|
|
53
|
+
}, small: true }, "Multiple months small"),
|
|
54
|
+
react_1.default.createElement(FloatingDateRangePicker_1.default, { showMultipleMonths: true, startDate: startDate, endDate: endDate, selectedDateChanged: (start, end) => {
|
|
55
|
+
setStartDate(start);
|
|
56
|
+
setEndDate(end);
|
|
57
|
+
} }, "Multiple months")));
|
|
58
|
+
};
|
|
59
|
+
exports.Primary = Primary;
|
|
60
|
+
const ThemeSpecific = () => {
|
|
61
|
+
const [startDate, setStartDate] = (0, react_1.useState)(null);
|
|
62
|
+
const [endDate, setEndDate] = (0, react_1.useState)(null);
|
|
63
|
+
return (react_1.default.createElement(react_1.default.Fragment, null,
|
|
64
|
+
react_1.default.createElement(FloatingDateRangePicker_1.default, { theme: BookingWizard_1.EBookingWizardTheme.Specific, showMultipleMonths: true, startDate: startDate, endDate: endDate, selectedDateChanged: (start, end) => {
|
|
65
|
+
setStartDate(start);
|
|
66
|
+
setEndDate(end);
|
|
67
|
+
} }, "Default"),
|
|
68
|
+
react_1.default.createElement(FloatingDateRangePicker_1.default, { theme: BookingWizard_1.EBookingWizardTheme.Specific, startDate: startDate, endDate: endDate, selectedDateChanged: (start, end) => {
|
|
69
|
+
setStartDate(start);
|
|
70
|
+
setEndDate(end);
|
|
71
|
+
} }, "Single")));
|
|
72
|
+
};
|
|
73
|
+
exports.ThemeSpecific = ThemeSpecific;
|
|
74
|
+
//# sourceMappingURL=FloatingDateRangePicker.stories.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FloatingDateRangePicker.stories.js","sourceRoot":"/","sources":["src/stories/FloatingDateRangePicker.stories.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,+CAAwC;AAExC,oFAAuF;AACvF,2HAAmG;AAEnG,kBAAe;IACX,KAAK,EAAE,iDAAiD;IACxD,SAAS,EAAE,iCAAuB;IAClC,QAAQ,EAAE,EAAE;CACkC,CAAC;AAE5C,MAAM,OAAO,GAAG,GAAG,EAAE;IACxB,MAAM,CAAC,SAAS,EAAE,YAAY,CAAC,GAAG,IAAA,gBAAQ,EAAqB,IAAI,CAAC,CAAC;IACrE,MAAM,CAAC,OAAO,EAAE,UAAU,CAAC,GAAG,IAAA,gBAAQ,EAAqB,IAAI,CAAC,CAAC;IACjE,OAAO,CACH;QACI,8BAAC,iCAAuB,IACpB,SAAS,EAAE,SAAS,EACpB,OAAO,EAAE,OAAO,EAChB,mBAAmB,EAAE,CAAC,KAAK,EAAE,GAAG,EAAE,EAAE;gBAChC,YAAY,CAAC,KAAK,CAAC,CAAC;gBACpB,UAAU,CAAC,GAAG,CAAC,CAAC;YACpB,CAAC,iBAGqB;QAC1B,8BAAC,iCAAuB,IACpB,SAAS,EAAE,SAAS,EACpB,OAAO,EAAE,OAAO,EAChB,mBAAmB,EAAE,CAAC,KAAK,EAAE,GAAG,EAAE,EAAE;gBAChC,YAAY,CAAC,KAAK,CAAC,CAAC;gBACpB,UAAU,CAAC,GAAG,CAAC,CAAC;YACpB,CAAC,EACD,KAAK,kBAGiB;QAC1B,8BAAC,iCAAuB,IACpB,kBAAkB,QAClB,SAAS,EAAE,SAAS,EACpB,OAAO,EAAE,OAAO,EAChB,mBAAmB,EAAE,CAAC,KAAK,EAAE,GAAG,EAAE,EAAE;gBAChC,YAAY,CAAC,KAAK,CAAC,CAAC;gBACpB,UAAU,CAAC,GAAG,CAAC,CAAC;YACpB,CAAC,EACD,KAAK,kCAGiB;QAC1B,8BAAC,iCAAuB,IACpB,kBAAkB,QAClB,SAAS,EAAE,SAAS,EACpB,OAAO,EAAE,OAAO,EAChB,mBAAmB,EAAE,CAAC,KAAK,EAAE,GAAG,EAAE,EAAE;gBAChC,YAAY,CAAC,KAAK,CAAC,CAAC;gBACpB,UAAU,CAAC,GAAG,CAAC,CAAC;YACpB,CAAC,sBAGqB,CAC3B,CACN,CAAC;AACN,CAAC,CAAC;AAnDW,QAAA,OAAO,WAmDlB;AAEK,MAAM,aAAa,GAAG,GAAG,EAAE;IAC9B,MAAM,CAAC,SAAS,EAAE,YAAY,CAAC,GAAG,IAAA,gBAAQ,EAAqB,IAAI,CAAC,CAAC;IACrE,MAAM,CAAC,OAAO,EAAE,UAAU,CAAC,GAAG,IAAA,gBAAQ,EAAqB,IAAI,CAAC,CAAC;IACjE,OAAO,CACH;QACI,8BAAC,iCAAuB,IACpB,KAAK,EAAE,mCAAmB,CAAC,QAAQ,EACnC,kBAAkB,QAClB,SAAS,EAAE,SAAS,EACpB,OAAO,EAAE,OAAO,EAChB,mBAAmB,EAAE,CAAC,KAAK,EAAE,GAAG,EAAE,EAAE;gBAChC,YAAY,CAAC,KAAK,CAAC,CAAC;gBACpB,UAAU,CAAC,GAAG,CAAC,CAAC;YACpB,CAAC,cAGqB;QAC1B,8BAAC,iCAAuB,IACpB,KAAK,EAAE,mCAAmB,CAAC,QAAQ,EACnC,SAAS,EAAE,SAAS,EACpB,OAAO,EAAE,OAAO,EAChB,mBAAmB,EAAE,CAAC,KAAK,EAAE,GAAG,EAAE,EAAE;gBAChC,YAAY,CAAC,KAAK,CAAC,CAAC;gBACpB,UAAU,CAAC,GAAG,CAAC,CAAC;YACpB,CAAC,aAGqB,CAC3B,CACN,CAAC;AACN,CAAC,CAAC;AA9BW,QAAA,aAAa,iBA8BxB","sourcesContent":["import { ComponentMeta } from '@storybook/react';\nimport * as dayjs from 'dayjs';\nimport React, { useState } from 'react';\n\nimport { EBookingWizardTheme } from '@/components/generic/BookingWizard/BookingWizard';\nimport FloatingDateRangePicker from '@/components/generic/DateRangePicker/FloatingDateRangePicker';\n\nexport default {\n title: 'generic/DateRangePicker/FloatingRangeDatePicker',\n component: FloatingDateRangePicker,\n argTypes: {},\n} as ComponentMeta<typeof FloatingDateRangePicker>;\n\nexport const Primary = () => {\n const [startDate, setStartDate] = useState<dayjs.Dayjs | null>(null);\n const [endDate, setEndDate] = useState<dayjs.Dayjs | null>(null);\n return (\n <>\n <FloatingDateRangePicker\n startDate={startDate}\n endDate={endDate}\n selectedDateChanged={(start, end) => {\n setStartDate(start);\n setEndDate(end);\n }}\n >\n Click here\n </FloatingDateRangePicker>\n <FloatingDateRangePicker\n startDate={startDate}\n endDate={endDate}\n selectedDateChanged={(start, end) => {\n setStartDate(start);\n setEndDate(end);\n }}\n small\n >\n Small\n </FloatingDateRangePicker>\n <FloatingDateRangePicker\n showMultipleMonths\n startDate={startDate}\n endDate={endDate}\n selectedDateChanged={(start, end) => {\n setStartDate(start);\n setEndDate(end);\n }}\n small\n >\n Multiple months small\n </FloatingDateRangePicker>\n <FloatingDateRangePicker\n showMultipleMonths\n startDate={startDate}\n endDate={endDate}\n selectedDateChanged={(start, end) => {\n setStartDate(start);\n setEndDate(end);\n }}\n >\n Multiple months\n </FloatingDateRangePicker>\n </>\n );\n};\n\nexport const ThemeSpecific = () => {\n const [startDate, setStartDate] = useState<dayjs.Dayjs | null>(null);\n const [endDate, setEndDate] = useState<dayjs.Dayjs | null>(null);\n return (\n <>\n <FloatingDateRangePicker\n theme={EBookingWizardTheme.Specific}\n showMultipleMonths\n startDate={startDate}\n endDate={endDate}\n selectedDateChanged={(start, end) => {\n setStartDate(start);\n setEndDate(end);\n }}\n >\n Default\n </FloatingDateRangePicker>\n <FloatingDateRangePicker\n theme={EBookingWizardTheme.Specific}\n startDate={startDate}\n endDate={endDate}\n selectedDateChanged={(start, end) => {\n setStartDate(start);\n setEndDate(end);\n }}\n >\n Single\n </FloatingDateRangePicker>\n </>\n );\n};\n"]}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { ComponentMeta, ComponentStory } from '@storybook/react';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
declare const _default: ComponentMeta<React.ForwardRefExoticComponent<import("../components/generic/ForwardedSelect").ForwardedSelectProps & React.RefAttributes<unknown>>>;
|
|
4
|
+
export default _default;
|
|
5
|
+
export declare const Default: ComponentStory<React.ForwardRefExoticComponent<import("../components/generic/ForwardedSelect").ForwardedSelectProps & React.RefAttributes<unknown>>>;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.Default = void 0;
|
|
7
|
+
const react_1 = __importDefault(require("react"));
|
|
8
|
+
const ForwardedSelect_1 = __importDefault(require("../components/generic/ForwardedSelect"));
|
|
9
|
+
exports.default = {
|
|
10
|
+
title: 'generic/ForwardedSelect',
|
|
11
|
+
component: ForwardedSelect_1.default,
|
|
12
|
+
argTypes: {},
|
|
13
|
+
};
|
|
14
|
+
const Template = (args) => react_1.default.createElement(ForwardedSelect_1.default, Object.assign({}, args));
|
|
15
|
+
exports.Default = Template.bind({});
|
|
16
|
+
exports.Default.args = {
|
|
17
|
+
options: [
|
|
18
|
+
{
|
|
19
|
+
label: 'Label 1',
|
|
20
|
+
value: '1',
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
label: 'Label 2',
|
|
24
|
+
value: '2',
|
|
25
|
+
},
|
|
26
|
+
],
|
|
27
|
+
};
|
|
28
|
+
//# sourceMappingURL=ForwardedSelect.stories.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ForwardedSelect.stories.js","sourceRoot":"/","sources":["src/stories/ForwardedSelect.stories.tsx"],"names":[],"mappings":";;;;;;AACA,kDAA0B;AAE1B,2FAAmE;AAEnE,kBAAe;IACX,KAAK,EAAE,yBAAyB;IAChC,SAAS,EAAE,yBAAe;IAC1B,QAAQ,EAAE,EAAE;CAC0B,CAAC;AAE3C,MAAM,QAAQ,GAA2C,CAAC,IAAI,EAAE,EAAE,CAAC,8BAAC,yBAAe,oBAAK,IAAI,EAAI,CAAC;AAEpF,QAAA,OAAO,GAAG,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;AACzC,eAAO,CAAC,IAAI,GAAG;IACX,OAAO,EAAE;QACL;YACI,KAAK,EAAE,SAAS;YAChB,KAAK,EAAE,GAAG;SACb;QACD;YACI,KAAK,EAAE,SAAS;YAChB,KAAK,EAAE,GAAG;SACb;KACJ;CACJ,CAAC","sourcesContent":["import { ComponentMeta, ComponentStory } from '@storybook/react';\nimport React from 'react';\n\nimport ForwardedSelect from '@/components/generic/ForwardedSelect';\n\nexport default {\n title: 'generic/ForwardedSelect',\n component: ForwardedSelect,\n argTypes: {},\n} as ComponentMeta<typeof ForwardedSelect>;\n\nconst Template: ComponentStory<typeof ForwardedSelect> = (args) => <ForwardedSelect {...args} />;\n\nexport const Default = Template.bind({});\nDefault.args = {\n options: [\n {\n label: 'Label 1',\n value: '1',\n },\n {\n label: 'Label 2',\n value: '2',\n },\n ],\n};\n"]}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { ComponentMeta, ComponentStory } from '@storybook/react';
|
|
2
|
+
import Headline from '../components/generic/Headline';
|
|
3
|
+
declare const _default: ComponentMeta<typeof Headline>;
|
|
4
|
+
export default _default;
|
|
5
|
+
export declare const Default: ComponentStory<typeof Headline>;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.Default = void 0;
|
|
7
|
+
const react_1 = __importDefault(require("react"));
|
|
8
|
+
const Headline_1 = __importDefault(require("../components/generic/Headline"));
|
|
9
|
+
exports.default = {
|
|
10
|
+
title: 'generic/Headline',
|
|
11
|
+
component: Headline_1.default,
|
|
12
|
+
argTypes: {},
|
|
13
|
+
};
|
|
14
|
+
const Template = (args) => react_1.default.createElement(Headline_1.default, Object.assign({}, args));
|
|
15
|
+
exports.Default = Template.bind({});
|
|
16
|
+
exports.Default.args = {
|
|
17
|
+
children: 'Headline',
|
|
18
|
+
};
|
|
19
|
+
//# sourceMappingURL=Headline.stories.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Headline.stories.js","sourceRoot":"/","sources":["src/stories/Headline.stories.tsx"],"names":[],"mappings":";;;;;;AACA,kDAA0B;AAE1B,6EAAqD;AAErD,kBAAe;IACX,KAAK,EAAE,kBAAkB;IACzB,SAAS,EAAE,kBAAQ;IACnB,QAAQ,EAAE,EAAE;CACmB,CAAC;AAEpC,MAAM,QAAQ,GAAoC,CAAC,IAAI,EAAE,EAAE,CAAC,8BAAC,kBAAQ,oBAAK,IAAI,EAAI,CAAC;AAEtE,QAAA,OAAO,GAAG,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;AACzC,eAAO,CAAC,IAAI,GAAG;IACX,QAAQ,EAAE,UAAU;CACvB,CAAC","sourcesContent":["import { ComponentMeta, ComponentStory } from '@storybook/react';\nimport React from 'react';\n\nimport Headline from '@/components/generic/Headline';\n\nexport default {\n title: 'generic/Headline',\n component: Headline,\n argTypes: {},\n} as ComponentMeta<typeof Headline>;\n\nconst Template: ComponentStory<typeof Headline> = (args) => <Headline {...args} />;\n\nexport const Default = Template.bind({});\nDefault.args = {\n children: 'Headline',\n};\n"]}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
+
if (mod && mod.__esModule) return mod;
|
|
20
|
+
var result = {};
|
|
21
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
+
__setModuleDefault(result, mod);
|
|
23
|
+
return result;
|
|
24
|
+
};
|
|
25
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
26
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.Default = void 0;
|
|
30
|
+
const react_1 = __importDefault(require("react"));
|
|
31
|
+
const Icon_1 = __importStar(require("../components/generic/Icon/Icon"));
|
|
32
|
+
exports.default = {
|
|
33
|
+
title: 'generic/Icon/Icon',
|
|
34
|
+
component: Icon_1.default,
|
|
35
|
+
argTypes: {},
|
|
36
|
+
};
|
|
37
|
+
const Template = (args) => react_1.default.createElement(Icon_1.default, Object.assign({}, args));
|
|
38
|
+
exports.Default = Template.bind({});
|
|
39
|
+
exports.Default.args = {
|
|
40
|
+
icon: Icon_1.IconType.Add,
|
|
41
|
+
};
|
|
42
|
+
//# sourceMappingURL=Icon.stories.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Icon.stories.js","sourceRoot":"/","sources":["src/stories/Icon.stories.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,kDAA0B;AAE1B,wEAAiE;AAEjE,kBAAe;IACX,KAAK,EAAE,mBAAmB;IAC1B,SAAS,EAAE,cAAI;IACf,QAAQ,EAAE,EAAE;CACe,CAAC;AAEhC,MAAM,QAAQ,GAAgC,CAAC,IAAI,EAAE,EAAE,CAAC,8BAAC,cAAI,oBAAK,IAAI,EAAI,CAAC;AAE9D,QAAA,OAAO,GAAG,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;AACzC,eAAO,CAAC,IAAI,GAAG;IACX,IAAI,EAAE,eAAQ,CAAC,GAAG;CACrB,CAAC","sourcesContent":["import { ComponentMeta, ComponentStory } from '@storybook/react';\nimport React from 'react';\n\nimport Icon, { IconType } from '../components/generic/Icon/Icon';\n\nexport default {\n title: 'generic/Icon/Icon',\n component: Icon,\n argTypes: {},\n} as ComponentMeta<typeof Icon>;\n\nconst Template: ComponentStory<typeof Icon> = (args) => <Icon {...args} />;\n\nexport const Default = Template.bind({});\nDefault.args = {\n icon: IconType.Add,\n};\n"]}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { ComponentMeta, ComponentStory } from '@storybook/react';
|
|
2
|
+
import { IconType } from '../components/generic/Icon/Icon';
|
|
3
|
+
import { Color } from '../util/Color';
|
|
4
|
+
declare const _default: ComponentMeta<(props: {
|
|
5
|
+
icon: IconType;
|
|
6
|
+
title: string;
|
|
7
|
+
description?: string | undefined;
|
|
8
|
+
link?: {
|
|
9
|
+
text: string;
|
|
10
|
+
pathTo?: string | undefined;
|
|
11
|
+
icon?: "arrow" | "open-new" | undefined;
|
|
12
|
+
color?: Color | undefined;
|
|
13
|
+
} | undefined;
|
|
14
|
+
}) => JSX.Element | null>;
|
|
15
|
+
export default _default;
|
|
16
|
+
export declare const Default: ComponentStory<(props: {
|
|
17
|
+
icon: IconType;
|
|
18
|
+
title: string;
|
|
19
|
+
description?: string | undefined;
|
|
20
|
+
link?: {
|
|
21
|
+
text: string;
|
|
22
|
+
pathTo?: string | undefined;
|
|
23
|
+
icon?: "arrow" | "open-new" | undefined;
|
|
24
|
+
color?: Color | undefined;
|
|
25
|
+
} | undefined;
|
|
26
|
+
}) => JSX.Element | null>;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.Default = void 0;
|
|
7
|
+
const react_1 = __importDefault(require("react"));
|
|
8
|
+
const react_router_dom_1 = require("react-router-dom");
|
|
9
|
+
const IconNavCard_1 = require("../components/generic/Card/IconNavCard/IconNavCard");
|
|
10
|
+
const Icon_1 = require("../components/generic/Icon/Icon");
|
|
11
|
+
const Color_1 = require("../util/Color");
|
|
12
|
+
exports.default = {
|
|
13
|
+
title: 'generic/Card/IconNavCard',
|
|
14
|
+
component: IconNavCard_1.IconNavCard,
|
|
15
|
+
argTypes: {},
|
|
16
|
+
};
|
|
17
|
+
const Template = (args) => (react_1.default.createElement(react_router_dom_1.HashRouter, null,
|
|
18
|
+
react_1.default.createElement(IconNavCard_1.IconNavCard, Object.assign({}, args))));
|
|
19
|
+
exports.Default = Template.bind({});
|
|
20
|
+
exports.Default.args = {
|
|
21
|
+
icon: Icon_1.IconType.Add,
|
|
22
|
+
title: 'Title',
|
|
23
|
+
description: 'Description',
|
|
24
|
+
link: {
|
|
25
|
+
text: 'Link',
|
|
26
|
+
pathTo: 'pathTo',
|
|
27
|
+
icon: 'arrow',
|
|
28
|
+
color: Color_1.Color.Accent,
|
|
29
|
+
},
|
|
30
|
+
};
|
|
31
|
+
//# sourceMappingURL=IconNavCard.stories.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IconNavCard.stories.js","sourceRoot":"/","sources":["src/stories/IconNavCard.stories.tsx"],"names":[],"mappings":";;;;;;AACA,kDAA0B;AAC1B,uDAA8C;AAE9C,oFAAiF;AACjF,0DAA2D;AAC3D,yCAAsC;AAEtC,kBAAe;IACX,KAAK,EAAE,0BAA0B;IACjC,SAAS,EAAE,yBAAW;IACtB,QAAQ,EAAE,EAAE;CACsB,CAAC;AAEvC,MAAM,QAAQ,GAAuC,CAAC,IAAI,EAAE,EAAE,CAAC,CAC3D,8BAAC,6BAAU;IACP,8BAAC,yBAAW,oBAAK,IAAI,EAAI,CAChB,CAChB,CAAC;AAEW,QAAA,OAAO,GAAG,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;AACzC,eAAO,CAAC,IAAI,GAAG;IACX,IAAI,EAAE,eAAQ,CAAC,GAAG;IAClB,KAAK,EAAE,OAAO;IACd,WAAW,EAAE,aAAa;IAC1B,IAAI,EAAE;QACF,IAAI,EAAE,MAAM;QACZ,MAAM,EAAE,QAAQ;QAChB,IAAI,EAAE,OAAO;QACb,KAAK,EAAE,aAAK,CAAC,MAAM;KACtB;CACJ,CAAC","sourcesContent":["import { ComponentMeta, ComponentStory } from '@storybook/react';\nimport React from 'react';\nimport { HashRouter } from 'react-router-dom';\n\nimport { IconNavCard } from '../components/generic/Card/IconNavCard/IconNavCard';\nimport { IconType } from '../components/generic/Icon/Icon';\nimport { Color } from '../util/Color';\n\nexport default {\n title: 'generic/Card/IconNavCard',\n component: IconNavCard,\n argTypes: {},\n} as ComponentMeta<typeof IconNavCard>;\n\nconst Template: ComponentStory<typeof IconNavCard> = (args) => (\n <HashRouter>\n <IconNavCard {...args} />\n </HashRouter>\n);\n\nexport const Default = Template.bind({});\nDefault.args = {\n icon: IconType.Add,\n title: 'Title',\n description: 'Description',\n link: {\n text: 'Link',\n pathTo: 'pathTo',\n icon: 'arrow',\n color: Color.Accent,\n },\n};\n"]}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { ComponentMeta, ComponentStory } from '@storybook/react';
|
|
2
|
+
import IconText from '../components/generic/Icon/Icon';
|
|
3
|
+
declare const _default: ComponentMeta<typeof IconText>;
|
|
4
|
+
export default _default;
|
|
5
|
+
export declare const Default: ComponentStory<typeof IconText>;
|