@coras-io/embed 0.5.1 → 0.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +28 -0
- package/README.md +15 -2
- package/dist/components/accordion/accordion-item/accordion-item.component.js +9 -3
- package/dist/components/accordion/accordion-item/accordion-item.styles.js +4 -0
- package/dist/components/accordion/accordion.component.js +8 -0
- package/dist/components/alert/alert.component.d.ts +1 -1
- package/dist/components/alert/alert.component.js +4 -3
- package/dist/components/attraction-card/base/attraction-card.mixin.d.ts +0 -2
- package/dist/components/attraction-card/base/attraction-card.mixin.js +0 -6
- package/dist/components/attraction-card/base/attraction-card.types.d.ts +0 -1
- package/dist/components/basket-mobile/basket-mobile.component.d.ts +14 -3
- package/dist/components/basket-mobile/basket-mobile.component.js +71 -15
- package/dist/components/better-carousel/better-carousel.component.d.ts +3 -5
- package/dist/components/better-carousel/better-carousel.component.js +13 -34
- package/dist/components/breadcrumbs/breadcrumb-item/breadcrumb-item.component.js +5 -12
- package/dist/components/breadcrumbs/breadcrumb-item/breadcrumb-item.styles.js +13 -5
- package/dist/components/breadcrumbs/breadcrumbs.component.d.ts +0 -1
- package/dist/components/breadcrumbs/breadcrumbs.component.js +5 -8
- package/dist/components/breadcrumbs/breadcrumbs.styles.js +8 -2
- package/dist/components/button/button.constants.d.ts +1 -2
- package/dist/components/button/button.constants.js +0 -1
- package/dist/components/calendar/base/calendar.mixin.js +5 -1
- package/dist/components/calendar/multi/multi.component.d.ts +2 -2
- package/dist/components/calendar/multi/multi.component.js +12 -19
- package/dist/components/carousel/carousel.component.js +9 -2
- package/dist/components/categories-tree/categories-tree.component.d.ts +5 -3
- package/dist/components/categories-tree/categories-tree.component.js +22 -21
- package/dist/components/checkbox/checkbox.component.js +5 -1
- package/dist/components/checkbox-group/checkbox-group.component.js +1 -1
- package/dist/components/checkbox-group/checkbox-group.styles.js +1 -1
- package/dist/components/chip/chip.component.js +8 -3
- package/dist/components/crypto-auth-modal/crypto-auth-modal.component.d.ts +6 -0
- package/dist/components/crypto-auth-modal/crypto-auth-modal.component.js +15 -1
- package/dist/components/currencies-list/currencies-list.component.js +0 -1
- package/dist/components/dialog/dialog.component.js +52 -21
- package/dist/components/drawer/drawer.component.d.ts +3 -2
- package/dist/components/drawer/drawer.component.js +13 -18
- package/dist/components/drawer/drawer.styles.js +5 -2
- package/dist/components/dropdown/dropdown.component.js +6 -9
- package/dist/components/expiration-timer/expiration-timer.component.d.ts +2 -3
- package/dist/components/expiration-timer/expiration-timer.component.js +10 -8
- package/dist/components/explore-card/explore-card.component.js +3 -1
- package/dist/components/explore-card/explore-card.styles.js +31 -0
- package/dist/components/filters-drawer/filters-drawer.component.js +1 -1
- package/dist/components/flag-icon/flag-icon.component.d.ts +4 -2
- package/dist/components/flag-icon/flag-icon.component.js +16 -4
- package/dist/components/icon/icon.component.js +15 -2
- package/dist/components/image/image.component.js +4 -3
- package/dist/components/image-viewer/image-viewer.component.js +6 -4
- package/dist/components/input-field/input-field.component.js +10 -6
- package/dist/components/layout/layout.styles.js +1 -1
- package/dist/components/locales-list/locales-list.component.js +0 -1
- package/dist/components/location-image/location-image.component.js +0 -1
- package/dist/components/locations-results/locations-results.component.d.ts +10 -0
- package/dist/components/locations-results/locations-results.component.js +22 -15
- package/dist/components/locations-results/locations-results.styles.js +4 -1
- package/dist/components/message-card/message-card.component.d.ts +1 -1
- package/dist/components/message-card/message-card.component.js +4 -3
- package/dist/components/mobile-menu-item/mobile-menu-item.component.d.ts +0 -1
- package/dist/components/mobile-menu-item/mobile-menu-item.component.js +14 -16
- package/dist/components/mobile-menu-item/mobile-menu-item.styles.js +9 -5
- package/dist/components/option-group/option-chip/option-chip.component.d.ts +4 -1
- package/dist/components/option-group/option-chip/option-chip.component.js +23 -10
- package/dist/components/option-group/option-group.component.d.ts +3 -1
- package/dist/components/option-group/option-group.component.js +10 -3
- package/dist/components/overlay/overlay.component.d.ts +0 -5
- package/dist/components/overlay/overlay.component.js +3 -15
- package/dist/components/phone-country-code/phone-country-code.component.d.ts +4 -0
- package/dist/components/phone-country-code/phone-country-code.component.js +37 -0
- package/dist/components/phone-country-codes/phone-country-codes.component.js +1 -1
- package/dist/components/phone-field/phone-field.component.js +2 -2
- package/dist/components/search-button/search-button.component.d.ts +1 -1
- package/dist/components/search-button/search-button.component.js +13 -7
- package/dist/components/seated-selector/seated-selector.component.js +3 -3
- package/dist/components/seats-io/seats-io.component.d.ts +3 -2
- package/dist/components/seats-io/seats-io.component.js +31 -13
- package/dist/components/seats-io/seats-io.constants.d.ts +0 -2
- package/dist/components/seats-io/seats-io.constants.js +0 -3
- package/dist/components/seats-io/seats-io.transform.d.ts +1 -6
- package/dist/components/seats-io/seats-io.transform.js +1 -20
- package/dist/components/select-list/select-list.component.js +7 -2
- package/dist/components/select-list/select-option/select-option.component.d.ts +3 -1
- package/dist/components/select-list/select-option/select-option.component.js +10 -3
- package/dist/components/tabs/tabs.component.d.ts +2 -0
- package/dist/components/tabs/tabs.component.js +59 -5
- package/dist/components/time-tag/time-tag.component.js +1 -1
- package/dist/containers/basket/basket.component.d.ts +1 -1
- package/dist/containers/basket/basket.component.js +21 -20
- package/dist/containers/navbar/navbar.component.d.ts +12 -8
- package/dist/containers/navbar/navbar.component.js +108 -62
- package/dist/containers/navbar/navbar.styles.js +23 -5
- package/dist/containers/navbar/navbar.utils.js +4 -4
- package/dist/contexts/basket/basket.provider.d.ts +3 -4
- package/dist/contexts/basket/basket.provider.js +46 -61
- package/dist/contexts/basket/basket.types.d.ts +0 -2
- package/dist/controllers/time-expiration.d.ts +15 -2
- package/dist/controllers/time-expiration.js +47 -17
- package/dist/core/api/client.d.ts +9 -0
- package/dist/core/api/client.js +26 -0
- package/dist/core/api/middlewares/booking-session/booking-session.constants.d.ts +0 -2
- package/dist/core/api/middlewares/booking-session/booking-session.constants.js +0 -2
- package/dist/core/api/middlewares/booking-session/booking-session.js +3 -12
- package/dist/core/api/middlewares/booking-session/booking-session.utils.d.ts +0 -1
- package/dist/core/api/middlewares/booking-session/booking-session.utils.js +6 -28
- package/dist/core/api/middlewares/error-handler/error-handler.js +5 -1
- package/dist/core/api/middlewares/retry/retry.constants.d.ts +3 -0
- package/dist/core/api/middlewares/retry/retry.constants.js +7 -0
- package/dist/core/api/middlewares/retry/retry.d.ts +2 -0
- package/dist/core/api/middlewares/retry/retry.js +48 -0
- package/dist/core/api/queries.d.ts +13 -38
- package/dist/core/api/queries.js +16 -99
- package/dist/core/events.d.ts +2 -4
- package/dist/core/i18n/date.d.ts +14 -5
- package/dist/core/i18n/date.js +47 -20
- package/dist/core/i18n/localization.js +10 -3
- package/dist/core/images/helpers.js +6 -5
- package/dist/core/logger.d.ts +17 -0
- package/dist/core/logger.js +13 -0
- package/dist/core/types/api-schema.d.ts +7872 -0
- package/dist/core/types/seats-config.d.ts +5 -4
- package/dist/core/types/seats-config.js +10 -3
- package/dist/core/utils/crypto-address.d.ts +12 -0
- package/dist/core/utils/crypto-address.js +17 -0
- package/dist/core/utils/datetime.d.ts +13 -11
- package/dist/core/utils/datetime.js +41 -51
- package/dist/core/utils/loyalty.d.ts +8 -0
- package/dist/core/utils/loyalty.js +10 -0
- package/dist/core/utils/redaction.d.ts +9 -0
- package/dist/core/utils/redaction.js +58 -0
- package/dist/core/utils/time.js +2 -3
- package/dist/helpers/helpers.d.ts +6 -0
- package/dist/helpers/helpers.js +33 -16
- package/dist/locales/ar-SA.d.ts +38 -21
- package/dist/locales/ar-SA.js +38 -21
- package/dist/locales/da-DK.d.ts +38 -21
- package/dist/locales/da-DK.js +38 -21
- package/dist/locales/de-DE.d.ts +38 -21
- package/dist/locales/de-DE.js +38 -21
- package/dist/locales/en-IE.d.ts +38 -21
- package/dist/locales/en-IE.js +38 -21
- package/dist/locales/en-US.d.ts +38 -21
- package/dist/locales/en-US.js +38 -21
- package/dist/locales/es-ES.d.ts +38 -21
- package/dist/locales/es-ES.js +38 -21
- package/dist/locales/fr-FR.d.ts +38 -21
- package/dist/locales/fr-FR.js +38 -21
- package/dist/locales/fr-MA.d.ts +38 -21
- package/dist/locales/fr-MA.js +38 -21
- package/dist/locales/is-IS.d.ts +38 -21
- package/dist/locales/is-IS.js +38 -21
- package/dist/locales/it-IT.d.ts +38 -21
- package/dist/locales/it-IT.js +38 -21
- package/dist/locales/ms-MY.d.ts +38 -21
- package/dist/locales/ms-MY.js +38 -21
- package/dist/locales/nb-NO.d.ts +38 -21
- package/dist/locales/nb-NO.js +38 -21
- package/dist/locales/pl-PL.d.ts +38 -21
- package/dist/locales/pl-PL.js +38 -21
- package/dist/locales/pt-PT.d.ts +38 -21
- package/dist/locales/pt-PT.js +38 -21
- package/dist/locales/sv-SE.d.ts +38 -21
- package/dist/locales/sv-SE.js +38 -21
- package/dist/locales/th-TH.d.ts +38 -21
- package/dist/locales/th-TH.js +38 -21
- package/dist/locales/tr-TR.d.ts +38 -21
- package/dist/locales/tr-TR.js +38 -21
- package/dist/locales/zh-CN.d.ts +38 -21
- package/dist/locales/zh-CN.js +38 -21
- package/dist/locales/zh-HK.d.ts +38 -21
- package/dist/locales/zh-HK.js +38 -21
- package/dist/mixins/base.mixin.d.ts +3 -1
- package/dist/mixins/base.mixin.js +10 -7
- package/dist/mixins/coinbase.mixin.d.ts +13 -17
- package/dist/mixins/coinbase.mixin.js +251 -288
- package/dist/mixins/error-modal.mixin.js +8 -4
- package/dist/mixins/location-search/location-search.d.ts +13 -1
- package/dist/mixins/location-search/location-search.js +35 -27
- package/dist/mixins/overlay/overlay-mixin.js +39 -3
- package/dist/mixins/overlay/types.d.ts +1 -0
- package/dist/mixins/search-mixin/search-mixin.js +8 -5
- package/dist/sdk/diagnostics.js +2 -0
- package/dist/sdk/mount.d.ts +10 -0
- package/dist/sdk/mount.js +20 -1
- package/dist/sdk/page-registry.js +5 -0
- package/dist/sdk/params.d.ts +53 -0
- package/dist/sdk/params.js +180 -0
- package/dist/sdk/redaction.d.ts +1 -4
- package/dist/sdk/redaction.js +2 -41
- package/dist/sdk/types.d.ts +21 -7
- package/dist/sdk/url.d.ts +1 -1
- package/dist/sdk/url.js +12 -5
- package/dist/sdk/validation.d.ts +1 -26
- package/dist/sdk/validation.js +8 -145
- package/dist/styles/tokens.d.ts +1 -1
- package/dist/styles/tokens.generated.d.ts +1 -1
- package/dist/styles/tokens.generated.js +1 -1
- package/dist/views/chrome-only-page/chrome-only-page.component.d.ts +30 -0
- package/dist/views/chrome-only-page/chrome-only-page.component.js +24 -0
- package/dist/views/chrome-only-page/chrome-only-page.d.ts +8 -0
- package/dist/views/chrome-only-page/chrome-only-page.js +6 -0
- package/dist/views/chrome-only-page/chrome-only-page.styles.js +13 -0
- package/dist/views/details-page/details-page.component.d.ts +11 -4
- package/dist/views/details-page/details-page.component.js +263 -237
- package/dist/views/details-page/details-page.utilts.d.ts +63 -3
- package/dist/views/details-page/details-page.utilts.js +53 -5
- package/dist/views/details-page/partials/location-categories/location-categories.component.d.ts +29 -0
- package/dist/views/details-page/partials/location-categories/location-categories.component.js +149 -0
- package/dist/views/details-page/partials/location-categories/location-categories.d.ts +8 -0
- package/dist/views/details-page/partials/location-categories/location-categories.js +6 -0
- package/dist/views/details-page/partials/location-categories/location-categories.styles.js +35 -0
- package/dist/views/details-page/partials/location-highlights/location-highlights.component.d.ts +26 -0
- package/dist/views/details-page/partials/location-highlights/location-highlights.component.js +158 -0
- package/dist/views/details-page/partials/location-highlights/location-highlights.d.ts +8 -0
- package/dist/views/details-page/partials/location-highlights/location-highlights.js +6 -0
- package/dist/views/details-page/partials/location-highlights/location-highlights.styles.js +42 -0
- package/dist/views/details-page/partials/tour-description/tour-description.component.js +1 -4
- package/dist/views/help-page/help-page.component.d.ts +2 -0
- package/dist/views/help-page/help-page.component.js +37 -18
- package/dist/views/help-page/help-page.utils.js +6 -5
- package/dist/views/landing-page/landing-page.component.d.ts +5 -8
- package/dist/views/landing-page/landing-page.component.js +82 -97
- package/dist/views/payment-page/controllers/crypto-auth.controller.d.ts +10 -4
- package/dist/views/payment-page/controllers/crypto-auth.controller.js +53 -31
- package/dist/views/payment-page/controllers/crypto-transfer.controller.d.ts +9 -5
- package/dist/views/payment-page/controllers/crypto-transfer.controller.js +26 -39
- package/dist/views/payment-page/controllers/payment-flow.controller.d.ts +6 -1
- package/dist/views/payment-page/controllers/payment-flow.controller.js +1 -0
- package/dist/views/payment-page/controllers/stripe-payment.controller.d.ts +20 -2
- package/dist/views/payment-page/controllers/stripe-payment.controller.js +42 -19
- package/dist/views/payment-page/partials/activity-details/activity-details.component.d.ts +2 -0
- package/dist/views/payment-page/partials/activity-details/activity-details.component.js +6 -3
- package/dist/views/payment-page/partials/billing-address/billing-address.component.d.ts +2 -0
- package/dist/views/payment-page/partials/billing-address/billing-address.component.js +5 -1
- package/dist/views/payment-page/partials/confirmation/confirmation.component.js +2 -3
- package/dist/views/payment-page/partials/country-field/country-field.component.js +1 -1
- package/dist/views/payment-page/partials/payment-type-selector/payment-type-selector.component.js +3 -3
- package/dist/views/payment-page/partials/stripe/stripe.component.d.ts +2 -0
- package/dist/views/payment-page/partials/stripe/stripe.component.js +36 -7
- package/dist/views/payment-page/partials/stripe/stripe.utils.js +0 -3
- package/dist/views/payment-page/payment-page.component.d.ts +39 -6
- package/dist/views/payment-page/payment-page.component.js +302 -178
- package/dist/views/payment-page/payment-page.constants.d.ts +1 -27
- package/dist/views/payment-page/payment-page.constants.js +3 -30
- package/dist/views/payment-page/payment-page.types.d.ts +1 -19
- package/dist/views/payment-page/payment-page.utils.d.ts +22 -13
- package/dist/views/payment-page/payment-page.utils.js +57 -75
- package/dist/views/payment-page/services/payment-api.service.d.ts +16 -34
- package/dist/views/payment-page/services/payment-api.service.js +19 -27
- package/dist/views/search-page/search-page.component.d.ts +2 -0
- package/dist/views/search-page/search-page.component.js +39 -20
- package/dist/views/suggestion-widget/suggestion-widget.component.d.ts +1 -0
- package/dist/views/suggestion-widget/suggestion-widget.component.js +6 -5
- package/package.json +24 -20
- package/dist/components/attraction-discovery/attraction-discovery-image/attraction-discovery-image.component.d.ts +0 -10
- package/dist/components/attraction-discovery/attraction-discovery-image/attraction-discovery-image.component.js +0 -43
- package/dist/components/attraction-discovery/attraction-discovery-image/attraction-discovery-image.d.ts +0 -8
- package/dist/components/attraction-discovery/attraction-discovery-image/attraction-discovery-image.js +0 -6
- package/dist/components/attraction-discovery/attraction-discovery-image/attraction-discovery-image.styles.js +0 -23
- package/dist/components/attraction-discovery/attraction-discovery.component.d.ts +0 -10
- package/dist/components/attraction-discovery/attraction-discovery.component.js +0 -52
- package/dist/components/attraction-discovery/attraction-discovery.constants.d.ts +0 -4
- package/dist/components/attraction-discovery/attraction-discovery.constants.js +0 -5
- package/dist/components/attraction-discovery/attraction-discovery.d.ts +0 -8
- package/dist/components/attraction-discovery/attraction-discovery.js +0 -6
- package/dist/components/attraction-discovery/attraction-discovery.styles.js +0 -193
- package/dist/components/basket-rewards/basket-rewards.component.d.ts +0 -10
- package/dist/components/basket-rewards/basket-rewards.component.js +0 -52
- package/dist/components/basket-rewards/basket-rewards.d.ts +0 -8
- package/dist/components/basket-rewards/basket-rewards.js +0 -6
- package/dist/components/basket-rewards/basket-rewards.styles.js +0 -18
- package/dist/components/filter-chip/filter-chip.component.d.ts +0 -12
- package/dist/components/filter-chip/filter-chip.component.js +0 -68
- package/dist/components/filter-chip/filter-chip.constants.d.ts +0 -2
- package/dist/components/filter-chip/filter-chip.constants.js +0 -2
- package/dist/components/filter-chip/filter-chip.d.ts +0 -8
- package/dist/components/filter-chip/filter-chip.js +0 -6
- package/dist/components/filter-chip/filter-chip.styles.d.ts +0 -2
- package/dist/components/filter-chip/filter-chip.styles.js +0 -162
- package/dist/components/image-carousel/image-carousel-item/image-carousel-item.component.d.ts +0 -10
- package/dist/components/image-carousel/image-carousel-item/image-carousel-item.component.js +0 -43
- package/dist/components/image-carousel/image-carousel-item/image-carousel-item.d.ts +0 -8
- package/dist/components/image-carousel/image-carousel-item/image-carousel-item.js +0 -6
- package/dist/components/image-carousel/image-carousel-item/image-carousel-item.styles.d.ts +0 -2
- package/dist/components/image-carousel/image-carousel-item/image-carousel-item.styles.js +0 -28
- package/dist/components/image-carousel/image-carousel.component.d.ts +0 -8
- package/dist/components/image-carousel/image-carousel.component.js +0 -36
- package/dist/components/image-carousel/image-carousel.d.ts +0 -8
- package/dist/components/image-carousel/image-carousel.js +0 -6
- package/dist/components/image-carousel/image-carousel.styles.d.ts +0 -2
- package/dist/components/image-carousel/image-carousel.styles.js +0 -72
- package/dist/components/itinerary/itinerary-item/itinerary-item.component.d.ts +0 -9
- package/dist/components/itinerary/itinerary-item/itinerary-item.component.js +0 -45
- package/dist/components/itinerary/itinerary-item/itinerary-item.d.ts +0 -8
- package/dist/components/itinerary/itinerary-item/itinerary-item.js +0 -6
- package/dist/components/itinerary/itinerary-item/itinerary-item.styles.d.ts +0 -2
- package/dist/components/itinerary/itinerary-item/itinerary-item.styles.js +0 -70
- package/dist/components/itinerary/itinerary.component.d.ts +0 -7
- package/dist/components/itinerary/itinerary.component.js +0 -23
- package/dist/components/itinerary/itinerary.d.ts +0 -8
- package/dist/components/itinerary/itinerary.js +0 -6
- package/dist/components/itinerary/itinerary.styles.d.ts +0 -2
- package/dist/components/itinerary/itinerary.styles.js +0 -15
- package/dist/components/marketing-tag/marketing-tag.component.d.ts +0 -5
- package/dist/components/marketing-tag/marketing-tag.component.js +0 -8
- package/dist/components/marketing-tag/marketing-tag.d.ts +0 -8
- package/dist/components/marketing-tag/marketing-tag.js +0 -6
- package/dist/components/marketing-tag/marketing-tag.styles.d.ts +0 -2
- package/dist/components/marketing-tag/marketing-tag.styles.js +0 -36
- package/dist/components/price/price.component.d.ts +0 -12
- package/dist/components/price/price.component.js +0 -38
- package/dist/components/price/price.d.ts +0 -8
- package/dist/components/price/price.js +0 -6
- package/dist/components/reviews/review/review.component.d.ts +0 -9
- package/dist/components/reviews/review/review.component.js +0 -41
- package/dist/components/reviews/review/review.d.ts +0 -8
- package/dist/components/reviews/review/review.js +0 -6
- package/dist/components/reviews/review/review.styles.d.ts +0 -2
- package/dist/components/reviews/review/review.styles.js +0 -45
- package/dist/components/reviews/reviews.component.d.ts +0 -9
- package/dist/components/reviews/reviews.component.js +0 -56
- package/dist/components/reviews/reviews.d.ts +0 -8
- package/dist/components/reviews/reviews.js +0 -6
- package/dist/components/reviews/reviews.styles.d.ts +0 -2
- package/dist/components/reviews/reviews.styles.js +0 -73
- package/dist/components/selected-tickets-preview/selected-tickets-preview.component.d.ts +0 -10
- package/dist/components/selected-tickets-preview/selected-tickets-preview.component.js +0 -51
- package/dist/components/selected-tickets-preview/selected-tickets-preview.d.ts +0 -8
- package/dist/components/selected-tickets-preview/selected-tickets-preview.js +0 -6
- package/dist/components/selected-tickets-preview/selected-tickets-preview.styles.d.ts +0 -2
- package/dist/components/selected-tickets-preview/selected-tickets-preview.styles.js +0 -89
- package/dist/components/tag/tag.component.d.ts +0 -8
- package/dist/components/tag/tag.component.js +0 -33
- package/dist/components/tag/tag.constants.d.ts +0 -1
- package/dist/components/tag/tag.constants.js +0 -1
- package/dist/components/tag/tag.d.ts +0 -8
- package/dist/components/tag/tag.js +0 -6
- package/dist/components/tag/tag.styles.d.ts +0 -2
- package/dist/components/tag/tag.styles.js +0 -56
- package/dist/components/tooltip/tooltip.component.d.ts +0 -19
- package/dist/components/tooltip/tooltip.component.js +0 -124
- package/dist/components/tooltip/tooltip.d.ts +0 -8
- package/dist/components/tooltip/tooltip.js +0 -6
- package/dist/components/tooltip/tooltip.styles.d.ts +0 -2
- package/dist/components/tooltip/tooltip.styles.js +0 -79
- package/dist/core/signals.d.ts +0 -2
- package/dist/core/signals.js +0 -3
- package/dist/core/storybook/argTypes.d.ts +0 -1
- package/dist/core/storybook/argTypes.js +0 -46
- package/dist/core/storybook/cssprops.d.ts +0 -30
- package/dist/core/storybook/cssprops.js +0 -46
- package/dist/core/storybook/demo.d.ts +0 -4
- package/dist/core/storybook/demo.js +0 -17
- package/dist/core/types/api-errors.d.ts +0 -8
- package/dist/core/types/api-errors.js +0 -1
- package/dist/styles/contrast-fixtures.d.ts +0 -5
- package/dist/styles/contrast-fixtures.js +0 -131
- package/dist/views/payment-page/domain/payment-mappers.d.ts +0 -7
- package/dist/views/payment-page/domain/payment-mappers.js +0 -7
- package/dist/views/payment-page/domain/payment-validators.d.ts +0 -6
- package/dist/views/payment-page/domain/payment-validators.js +0 -6
- package/dist/views/payment-page/domain/recovery-payload.d.ts +0 -8
- package/dist/views/payment-page/domain/recovery-payload.js +0 -7
- package/dist/views/payment-page/partials/terms-checkbox/terms-checkbox.component.d.ts +0 -22
- package/dist/views/payment-page/partials/terms-checkbox/terms-checkbox.component.js +0 -65
- package/dist/views/payment-page/partials/terms-checkbox/terms-checkbox.d.ts +0 -8
- package/dist/views/payment-page/partials/terms-checkbox/terms-checkbox.js +0 -6
- package/dist/views/payment-page/partials/terms-checkbox/terms-checkbox.styles.d.ts +0 -2
- package/dist/views/payment-page/partials/terms-checkbox/terms-checkbox.styles.js +0 -12
- package/dist/views/payment-page/payment-page.validation-schema.d.ts +0 -28
- package/dist/views/payment-page/payment-page.validation-schema.js +0 -42
- /package/dist/{components/attraction-discovery/attraction-discovery-image/attraction-discovery-image.styles.d.ts → views/chrome-only-page/chrome-only-page.styles.d.ts} +0 -0
- /package/dist/{components/attraction-discovery/attraction-discovery.styles.d.ts → views/details-page/partials/location-categories/location-categories.styles.d.ts} +0 -0
- /package/dist/{components/basket-rewards/basket-rewards.styles.d.ts → views/details-page/partials/location-highlights/location-highlights.styles.d.ts} +0 -0
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
2
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
-
};
|
|
7
|
-
import { LitElement, html } from "lit";
|
|
8
|
-
import { property } from "lit/decorators.js";
|
|
9
|
-
import "../carousel/carousel.js";
|
|
10
|
-
import styles from "./image-carousel.styles.js";
|
|
11
|
-
export class CorasImageCarousel extends LitElement {
|
|
12
|
-
constructor() {
|
|
13
|
-
super(...arguments);
|
|
14
|
-
this.showImageNumber = false;
|
|
15
|
-
this.imageNumberLabel = "";
|
|
16
|
-
}
|
|
17
|
-
static { this.styles = styles; }
|
|
18
|
-
render() {
|
|
19
|
-
return html `<div class="image-carousel">
|
|
20
|
-
<slot name="tag"></slot>
|
|
21
|
-
<slot name="chip"></slot>
|
|
22
|
-
<coras-carousel
|
|
23
|
-
?show-image-number=${this.showImageNumber}
|
|
24
|
-
image-number-label=${this.imageNumberLabel}
|
|
25
|
-
>
|
|
26
|
-
<slot></slot>
|
|
27
|
-
</coras-carousel>
|
|
28
|
-
</div>`;
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
__decorate([
|
|
32
|
-
property({ type: Boolean, attribute: "show-image-number" })
|
|
33
|
-
], CorasImageCarousel.prototype, "showImageNumber", void 0);
|
|
34
|
-
__decorate([
|
|
35
|
-
property({ type: String, attribute: "image-number-label" })
|
|
36
|
-
], CorasImageCarousel.prototype, "imageNumberLabel", void 0);
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { CorasImageCarousel } from "./image-carousel.component.js";
|
|
2
|
-
export * from "./image-carousel.component.js";
|
|
3
|
-
export default CorasImageCarousel;
|
|
4
|
-
if (!customElements.get("coras-image-carousel")) {
|
|
5
|
-
customElements.define("coras-image-carousel", CorasImageCarousel);
|
|
6
|
-
}
|
|
@@ -1,72 +0,0 @@
|
|
|
1
|
-
import { css } from "lit";
|
|
2
|
-
import component from "../../styles/defaults/component.js";
|
|
3
|
-
export default css `
|
|
4
|
-
${component}
|
|
5
|
-
|
|
6
|
-
:host {
|
|
7
|
-
--image-carousel-width: 90vw;
|
|
8
|
-
--image-carousel-max-width: 780px;
|
|
9
|
-
|
|
10
|
-
--carousel-button-left-transform: var(
|
|
11
|
-
--image-carousel-button-left-transform,
|
|
12
|
-
translate(0, -50%)
|
|
13
|
-
);
|
|
14
|
-
--carousel-button-right-transform: var(
|
|
15
|
-
--image-carousel-button-right-transform,
|
|
16
|
-
translate(0, -50%)
|
|
17
|
-
);
|
|
18
|
-
--carousel-button-left-left: var(
|
|
19
|
-
--image-carousel-button-left-left,
|
|
20
|
-
0.75rem
|
|
21
|
-
);
|
|
22
|
-
--carousel-button-right-right: var(
|
|
23
|
-
--image-carousel-button-right-right,
|
|
24
|
-
0.75rem
|
|
25
|
-
);
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
.image-carousel {
|
|
29
|
-
position: relative;
|
|
30
|
-
width: var(--image-carousel-width);
|
|
31
|
-
max-width: var(--image-carousel-max-width);
|
|
32
|
-
|
|
33
|
-
> ::slotted([slot="tag"]) {
|
|
34
|
-
position: absolute;
|
|
35
|
-
top: 0.5rem;
|
|
36
|
-
left: 0.5rem;
|
|
37
|
-
z-index: 2;
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
> ::slotted([slot="chip"]) {
|
|
41
|
-
position: absolute;
|
|
42
|
-
right: 0.5rem;
|
|
43
|
-
bottom: 0.5rem;
|
|
44
|
-
z-index: 1;
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
coras-carousel {
|
|
48
|
-
&::part(base) {
|
|
49
|
-
margin: 0;
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
&::part(carousel) {
|
|
53
|
-
gap: 0;
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
&::part(btn-left) {
|
|
57
|
-
transform: var(--carousel-button-left-transform);
|
|
58
|
-
left: var(--carousel-button-left-left);
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
&::part(btn-right) {
|
|
62
|
-
transform: var(--carousel-button-right-transform);
|
|
63
|
-
right: var(--carousel-button-right-right);
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
::slotted(coras-image-carousel-item) {
|
|
67
|
-
--img-width: var(--image-carousel-width);
|
|
68
|
-
--img-max-width: var(--image-carousel-max-width);
|
|
69
|
-
}
|
|
70
|
-
}
|
|
71
|
-
}
|
|
72
|
-
`;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { type CSSResultGroup, LitElement } from "lit";
|
|
2
|
-
export declare class CorasItineraryItem extends LitElement {
|
|
3
|
-
static styles: CSSResultGroup;
|
|
4
|
-
label: string;
|
|
5
|
-
description: string;
|
|
6
|
-
footer: string;
|
|
7
|
-
private renderFooter;
|
|
8
|
-
render(): import("lit").TemplateResult<1>;
|
|
9
|
-
}
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
2
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
-
};
|
|
7
|
-
import { LitElement, html } from "lit";
|
|
8
|
-
import { property } from "lit/decorators.js";
|
|
9
|
-
import styles from "./itinerary-item.styles.js";
|
|
10
|
-
export class CorasItineraryItem extends LitElement {
|
|
11
|
-
constructor() {
|
|
12
|
-
super(...arguments);
|
|
13
|
-
this.label = "";
|
|
14
|
-
this.description = "";
|
|
15
|
-
this.footer = "";
|
|
16
|
-
}
|
|
17
|
-
static { this.styles = styles; }
|
|
18
|
-
renderFooter() {
|
|
19
|
-
if (this.footer) {
|
|
20
|
-
return html `<div class="footer">${this.footer}</div>`;
|
|
21
|
-
}
|
|
22
|
-
return html ``;
|
|
23
|
-
}
|
|
24
|
-
render() {
|
|
25
|
-
return html `<div class="item">
|
|
26
|
-
<div class="header">
|
|
27
|
-
<div class="dot"></div>
|
|
28
|
-
<div class="label">${this.label}</div>
|
|
29
|
-
</div>
|
|
30
|
-
<div class="content" part="content">
|
|
31
|
-
<div class="description">${this.description}</div>
|
|
32
|
-
${this.renderFooter()}
|
|
33
|
-
</div>
|
|
34
|
-
</div>`;
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
__decorate([
|
|
38
|
-
property({ type: String })
|
|
39
|
-
], CorasItineraryItem.prototype, "label", void 0);
|
|
40
|
-
__decorate([
|
|
41
|
-
property({ type: String })
|
|
42
|
-
], CorasItineraryItem.prototype, "description", void 0);
|
|
43
|
-
__decorate([
|
|
44
|
-
property({ type: String })
|
|
45
|
-
], CorasItineraryItem.prototype, "footer", void 0);
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { CorasItineraryItem } from "./itinerary-item.component.js";
|
|
2
|
-
export * from "./itinerary-item.component.js";
|
|
3
|
-
export default CorasItineraryItem;
|
|
4
|
-
if (!customElements.get("coras-itinerary-item")) {
|
|
5
|
-
customElements.define("coras-itinerary-item", CorasItineraryItem);
|
|
6
|
-
}
|
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
import { css } from "lit";
|
|
2
|
-
import component from "../../../styles/defaults/component.js";
|
|
3
|
-
export default css `
|
|
4
|
-
${component}
|
|
5
|
-
|
|
6
|
-
:host {
|
|
7
|
-
--itinerary-item-color: var(--coras-color-text);
|
|
8
|
-
--itinerary-item-dot-background-color: var(--coras-color-text);
|
|
9
|
-
--itinerary-item-label-font-size: var(--coras-font-size-base);
|
|
10
|
-
--itinerary-item-label-font-weight: var(--coras-font-weight-medium);
|
|
11
|
-
--itinerary-item-border-left-color: var(--coras-color-secondary);
|
|
12
|
-
--itinerary-item-description-font-size: var(--coras-font-size-base);
|
|
13
|
-
--itinerary-item-description-font-weight: var(--coras-font-weight-normal);
|
|
14
|
-
--itinerary-item-footer-font-size: var(--coras-font-size-xs);
|
|
15
|
-
--itinerary-item-footer-font-weight: var(--coras-font-weight-medium);
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
:host(:last-child) {
|
|
19
|
-
.content {
|
|
20
|
-
border-left: none;
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
.item {
|
|
25
|
-
display: flex;
|
|
26
|
-
flex-direction: column;
|
|
27
|
-
|
|
28
|
-
color: var(--itinerary-item-color);
|
|
29
|
-
|
|
30
|
-
.header {
|
|
31
|
-
display: flex;
|
|
32
|
-
gap: 0.75rem;
|
|
33
|
-
|
|
34
|
-
.dot {
|
|
35
|
-
background-color: var(--itinerary-item-dot-background-color);
|
|
36
|
-
height: 0.75rem;
|
|
37
|
-
width: 0.75rem;
|
|
38
|
-
border-radius: 50%;
|
|
39
|
-
margin: 0.375rem;
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
.label {
|
|
43
|
-
font-size: var(--itinerary-item-label-font-size);
|
|
44
|
-
font-weight: var(--itinerary-item-label-font-weight);
|
|
45
|
-
line-height: 1.375rem;
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
.content {
|
|
50
|
-
padding: 0.75rem 1.5rem 1rem;
|
|
51
|
-
margin: 0 0.688rem;
|
|
52
|
-
|
|
53
|
-
border-left: 2px solid var(--itinerary-item-border-left-color);
|
|
54
|
-
|
|
55
|
-
.description {
|
|
56
|
-
font-size: var(--itinerary-item-description-font-size);
|
|
57
|
-
font-weight: var(--itinerary-item-description-font-weight);
|
|
58
|
-
line-height: 1.625rem;
|
|
59
|
-
margin-bottom: 0.75rem;
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
.footer {
|
|
63
|
-
font-size: var(--itinerary-item-footer-font-size);
|
|
64
|
-
font-weight: var(--itinerary-item-footer-font-weight);
|
|
65
|
-
line-height: 1rem;
|
|
66
|
-
margin-bottom: 1rem;
|
|
67
|
-
}
|
|
68
|
-
}
|
|
69
|
-
}
|
|
70
|
-
`;
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
2
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
-
};
|
|
7
|
-
import { LitElement, html } from "lit";
|
|
8
|
-
import { property } from "lit/decorators.js";
|
|
9
|
-
import "../list/list.js";
|
|
10
|
-
import styles from "./itinerary.styles.js";
|
|
11
|
-
export class CorasItinerary extends LitElement {
|
|
12
|
-
constructor() {
|
|
13
|
-
super(...arguments);
|
|
14
|
-
this.label = "";
|
|
15
|
-
}
|
|
16
|
-
static { this.styles = styles; }
|
|
17
|
-
render() {
|
|
18
|
-
return html `<coras-list label=${this.label}><slot></slot></coras-list>`;
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
__decorate([
|
|
22
|
-
property({ type: String })
|
|
23
|
-
], CorasItinerary.prototype, "label", void 0);
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { CorasMarketingTag } from "./marketing-tag.component.js";
|
|
2
|
-
export * from "./marketing-tag.component.js";
|
|
3
|
-
export default CorasMarketingTag;
|
|
4
|
-
if (!customElements.get("coras-marketing-tag")) {
|
|
5
|
-
customElements.define("coras-marketing-tag", CorasMarketingTag);
|
|
6
|
-
}
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import { css } from "lit";
|
|
2
|
-
import component from "../../styles/defaults/component.js";
|
|
3
|
-
export default css `
|
|
4
|
-
${component}
|
|
5
|
-
|
|
6
|
-
:host {
|
|
7
|
-
display: inline-block;
|
|
8
|
-
|
|
9
|
-
--marketing-tag-line-height: 1rem;
|
|
10
|
-
--marketing-tag-letter-spacing: 0.01em;
|
|
11
|
-
--marketing-tag-background-color: var(--coras-color-info);
|
|
12
|
-
|
|
13
|
-
--marketing-tag-border-radius: var(--coras-radius-md);
|
|
14
|
-
--marketing-tag-font-size: var(--coras-font-size-xs);
|
|
15
|
-
--marketing-tag-font-weight: var(--coras-font-weight-semibold);
|
|
16
|
-
--marketing-tag-color: var(--coras-palette-white);
|
|
17
|
-
--marketing-tag-shadow: var(--coras-shadow-strong);
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
.tag {
|
|
21
|
-
display: flex;
|
|
22
|
-
align-items: center;
|
|
23
|
-
border-radius: var(--marketing-tag-border-radius);
|
|
24
|
-
font-size: var(--marketing-tag-font-size);
|
|
25
|
-
font-weight: var(--marketing-tag-font-weight);
|
|
26
|
-
justify-content: center;
|
|
27
|
-
line-height: var(--marketing-tag-line-height);
|
|
28
|
-
letter-spacing: var(--marketing-tag-letter-spacing);
|
|
29
|
-
padding: 4px 8px;
|
|
30
|
-
white-space: nowrap;
|
|
31
|
-
background-color: var(--marketing-tag-background-color);
|
|
32
|
-
color: var(--marketing-tag-color);
|
|
33
|
-
box-shadow: var(--marketing-tag-shadow);
|
|
34
|
-
filter: drop-shadow(0px 2px 3px color-mix(in srgb, black, transparent 70%));
|
|
35
|
-
}
|
|
36
|
-
`;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { LitElement } from "lit";
|
|
2
|
-
import type { SupportedCurrencies } from "../../core/types/index.js";
|
|
3
|
-
import type { allLocales } from "../../core/i18n/locale-codes.js";
|
|
4
|
-
/**
|
|
5
|
-
* Coras Price
|
|
6
|
-
*/
|
|
7
|
-
export declare class CorasPrice extends LitElement {
|
|
8
|
-
currency: SupportedCurrencies;
|
|
9
|
-
locale: (typeof allLocales)[number];
|
|
10
|
-
price: number;
|
|
11
|
-
render(): import("lit").TemplateResult<1>;
|
|
12
|
-
}
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
2
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
-
};
|
|
7
|
-
import { LitElement, html } from "lit";
|
|
8
|
-
import { property } from "lit/decorators.js";
|
|
9
|
-
import { convertToLocaleCurrency } from "../../core/currency/index.js";
|
|
10
|
-
/**
|
|
11
|
-
* Coras Price
|
|
12
|
-
*/
|
|
13
|
-
export class CorasPrice extends LitElement {
|
|
14
|
-
constructor() {
|
|
15
|
-
super(...arguments);
|
|
16
|
-
this.currency = "USD";
|
|
17
|
-
this.locale = "en-US";
|
|
18
|
-
this.price = 100;
|
|
19
|
-
}
|
|
20
|
-
render() {
|
|
21
|
-
return html `
|
|
22
|
-
${convertToLocaleCurrency({
|
|
23
|
-
value: this.price,
|
|
24
|
-
locale: this.locale,
|
|
25
|
-
currency: this.currency,
|
|
26
|
-
})}
|
|
27
|
-
`;
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
__decorate([
|
|
31
|
-
property({ type: String, reflect: true })
|
|
32
|
-
], CorasPrice.prototype, "currency", void 0);
|
|
33
|
-
__decorate([
|
|
34
|
-
property({ type: String, reflect: true })
|
|
35
|
-
], CorasPrice.prototype, "locale", void 0);
|
|
36
|
-
__decorate([
|
|
37
|
-
property({ type: Number, reflect: true })
|
|
38
|
-
], CorasPrice.prototype, "price", void 0);
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { type CSSResultGroup, LitElement } from "lit";
|
|
2
|
-
export declare class CorasReview extends LitElement {
|
|
3
|
-
static styles: CSSResultGroup;
|
|
4
|
-
caption: string;
|
|
5
|
-
rating: number;
|
|
6
|
-
location: string;
|
|
7
|
-
date: string;
|
|
8
|
-
render(): import("lit").TemplateResult<1>;
|
|
9
|
-
}
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
2
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
-
};
|
|
7
|
-
import { html, LitElement } from "lit";
|
|
8
|
-
import { property } from "lit/decorators.js";
|
|
9
|
-
import styles from "./review.styles.js";
|
|
10
|
-
export class CorasReview extends LitElement {
|
|
11
|
-
constructor() {
|
|
12
|
-
super(...arguments);
|
|
13
|
-
this.caption = "";
|
|
14
|
-
this.rating = 0;
|
|
15
|
-
this.location = "";
|
|
16
|
-
this.date = "";
|
|
17
|
-
}
|
|
18
|
-
static { this.styles = styles; }
|
|
19
|
-
render() {
|
|
20
|
-
return html `
|
|
21
|
-
<span data-testid="caption" class="caption">${this.caption}</span>
|
|
22
|
-
<coras-star-rating rating=${this.rating}></coras-star-rating>
|
|
23
|
-
<span data-testid="location" class="location">${this.location}</span>
|
|
24
|
-
<span data-testid="date" class="date">${this.date}</span>
|
|
25
|
-
|
|
26
|
-
<slot></slot>
|
|
27
|
-
`;
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
__decorate([
|
|
31
|
-
property({ type: String })
|
|
32
|
-
], CorasReview.prototype, "caption", void 0);
|
|
33
|
-
__decorate([
|
|
34
|
-
property({ type: Number })
|
|
35
|
-
], CorasReview.prototype, "rating", void 0);
|
|
36
|
-
__decorate([
|
|
37
|
-
property({ type: String })
|
|
38
|
-
], CorasReview.prototype, "location", void 0);
|
|
39
|
-
__decorate([
|
|
40
|
-
property({ type: String })
|
|
41
|
-
], CorasReview.prototype, "date", void 0);
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
import { css } from "lit";
|
|
2
|
-
import component from "../../../styles/defaults/component.js";
|
|
3
|
-
export default css `
|
|
4
|
-
${component}
|
|
5
|
-
|
|
6
|
-
:host {
|
|
7
|
-
--review-caption-font-size: var(--coras-font-size-lg);
|
|
8
|
-
--review-caption-font-weight: var(--coras-font-weight-normal);
|
|
9
|
-
--review-caption-line-height: var(--coras-font-size-2xl);
|
|
10
|
-
--review-caption-color: var(--coras-color-text);
|
|
11
|
-
--review-location-font-size: var(--coras-font-size-sm);
|
|
12
|
-
--review-location-font-weight: var(--coras-font-weight-semibold);
|
|
13
|
-
--review-location-line-height: var(--coras-font-size-xl);
|
|
14
|
-
--review-location-color: var(--coras-color-text);
|
|
15
|
-
--review-date-font-size: var(--coras-font-size-sm);
|
|
16
|
-
--review-date-font-weight: var(--coras-font-weight-normal);
|
|
17
|
-
--review-date-line-height: var(--coras-font-size-xl);
|
|
18
|
-
--review-date-color: var(--coras-color-text);
|
|
19
|
-
|
|
20
|
-
display: flex;
|
|
21
|
-
flex-direction: column;
|
|
22
|
-
gap: 8px;
|
|
23
|
-
|
|
24
|
-
.caption {
|
|
25
|
-
font-size: var(--review-caption-font-size);
|
|
26
|
-
font-weight: var(--review-caption-font-weight);
|
|
27
|
-
line-height: var(--review-caption-line-height);
|
|
28
|
-
color: var(--review-caption-color);
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
.location {
|
|
32
|
-
font-size: var(--review-location-font-size);
|
|
33
|
-
font-weight: var(--review-location-font-weight);
|
|
34
|
-
line-height: var(--review-location-line-height);
|
|
35
|
-
color: var(--review-location-color);
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
.date {
|
|
39
|
-
font-size: var(--review-date-font-size);
|
|
40
|
-
font-weight: var(--review-date-font-weight);
|
|
41
|
-
line-height: var(--review-date-line-height);
|
|
42
|
-
color: var(--review-date-color);
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
`;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { type CSSResultGroup, LitElement } from "lit";
|
|
2
|
-
export declare class CorasReviews extends LitElement {
|
|
3
|
-
static styles: CSSResultGroup;
|
|
4
|
-
overallRating: number;
|
|
5
|
-
reviewNumber: number;
|
|
6
|
-
private get overallRatingLabel();
|
|
7
|
-
private get reviewNumberLabel();
|
|
8
|
-
render(): import("lit").TemplateResult<1>;
|
|
9
|
-
}
|