@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.
Files changed (373) hide show
  1. package/CHANGELOG.md +28 -0
  2. package/README.md +15 -2
  3. package/dist/components/accordion/accordion-item/accordion-item.component.js +9 -3
  4. package/dist/components/accordion/accordion-item/accordion-item.styles.js +4 -0
  5. package/dist/components/accordion/accordion.component.js +8 -0
  6. package/dist/components/alert/alert.component.d.ts +1 -1
  7. package/dist/components/alert/alert.component.js +4 -3
  8. package/dist/components/attraction-card/base/attraction-card.mixin.d.ts +0 -2
  9. package/dist/components/attraction-card/base/attraction-card.mixin.js +0 -6
  10. package/dist/components/attraction-card/base/attraction-card.types.d.ts +0 -1
  11. package/dist/components/basket-mobile/basket-mobile.component.d.ts +14 -3
  12. package/dist/components/basket-mobile/basket-mobile.component.js +71 -15
  13. package/dist/components/better-carousel/better-carousel.component.d.ts +3 -5
  14. package/dist/components/better-carousel/better-carousel.component.js +13 -34
  15. package/dist/components/breadcrumbs/breadcrumb-item/breadcrumb-item.component.js +5 -12
  16. package/dist/components/breadcrumbs/breadcrumb-item/breadcrumb-item.styles.js +13 -5
  17. package/dist/components/breadcrumbs/breadcrumbs.component.d.ts +0 -1
  18. package/dist/components/breadcrumbs/breadcrumbs.component.js +5 -8
  19. package/dist/components/breadcrumbs/breadcrumbs.styles.js +8 -2
  20. package/dist/components/button/button.constants.d.ts +1 -2
  21. package/dist/components/button/button.constants.js +0 -1
  22. package/dist/components/calendar/base/calendar.mixin.js +5 -1
  23. package/dist/components/calendar/multi/multi.component.d.ts +2 -2
  24. package/dist/components/calendar/multi/multi.component.js +12 -19
  25. package/dist/components/carousel/carousel.component.js +9 -2
  26. package/dist/components/categories-tree/categories-tree.component.d.ts +5 -3
  27. package/dist/components/categories-tree/categories-tree.component.js +22 -21
  28. package/dist/components/checkbox/checkbox.component.js +5 -1
  29. package/dist/components/checkbox-group/checkbox-group.component.js +1 -1
  30. package/dist/components/checkbox-group/checkbox-group.styles.js +1 -1
  31. package/dist/components/chip/chip.component.js +8 -3
  32. package/dist/components/crypto-auth-modal/crypto-auth-modal.component.d.ts +6 -0
  33. package/dist/components/crypto-auth-modal/crypto-auth-modal.component.js +15 -1
  34. package/dist/components/currencies-list/currencies-list.component.js +0 -1
  35. package/dist/components/dialog/dialog.component.js +52 -21
  36. package/dist/components/drawer/drawer.component.d.ts +3 -2
  37. package/dist/components/drawer/drawer.component.js +13 -18
  38. package/dist/components/drawer/drawer.styles.js +5 -2
  39. package/dist/components/dropdown/dropdown.component.js +6 -9
  40. package/dist/components/expiration-timer/expiration-timer.component.d.ts +2 -3
  41. package/dist/components/expiration-timer/expiration-timer.component.js +10 -8
  42. package/dist/components/explore-card/explore-card.component.js +3 -1
  43. package/dist/components/explore-card/explore-card.styles.js +31 -0
  44. package/dist/components/filters-drawer/filters-drawer.component.js +1 -1
  45. package/dist/components/flag-icon/flag-icon.component.d.ts +4 -2
  46. package/dist/components/flag-icon/flag-icon.component.js +16 -4
  47. package/dist/components/icon/icon.component.js +15 -2
  48. package/dist/components/image/image.component.js +4 -3
  49. package/dist/components/image-viewer/image-viewer.component.js +6 -4
  50. package/dist/components/input-field/input-field.component.js +10 -6
  51. package/dist/components/layout/layout.styles.js +1 -1
  52. package/dist/components/locales-list/locales-list.component.js +0 -1
  53. package/dist/components/location-image/location-image.component.js +0 -1
  54. package/dist/components/locations-results/locations-results.component.d.ts +10 -0
  55. package/dist/components/locations-results/locations-results.component.js +22 -15
  56. package/dist/components/locations-results/locations-results.styles.js +4 -1
  57. package/dist/components/message-card/message-card.component.d.ts +1 -1
  58. package/dist/components/message-card/message-card.component.js +4 -3
  59. package/dist/components/mobile-menu-item/mobile-menu-item.component.d.ts +0 -1
  60. package/dist/components/mobile-menu-item/mobile-menu-item.component.js +14 -16
  61. package/dist/components/mobile-menu-item/mobile-menu-item.styles.js +9 -5
  62. package/dist/components/option-group/option-chip/option-chip.component.d.ts +4 -1
  63. package/dist/components/option-group/option-chip/option-chip.component.js +23 -10
  64. package/dist/components/option-group/option-group.component.d.ts +3 -1
  65. package/dist/components/option-group/option-group.component.js +10 -3
  66. package/dist/components/overlay/overlay.component.d.ts +0 -5
  67. package/dist/components/overlay/overlay.component.js +3 -15
  68. package/dist/components/phone-country-code/phone-country-code.component.d.ts +4 -0
  69. package/dist/components/phone-country-code/phone-country-code.component.js +37 -0
  70. package/dist/components/phone-country-codes/phone-country-codes.component.js +1 -1
  71. package/dist/components/phone-field/phone-field.component.js +2 -2
  72. package/dist/components/search-button/search-button.component.d.ts +1 -1
  73. package/dist/components/search-button/search-button.component.js +13 -7
  74. package/dist/components/seated-selector/seated-selector.component.js +3 -3
  75. package/dist/components/seats-io/seats-io.component.d.ts +3 -2
  76. package/dist/components/seats-io/seats-io.component.js +31 -13
  77. package/dist/components/seats-io/seats-io.constants.d.ts +0 -2
  78. package/dist/components/seats-io/seats-io.constants.js +0 -3
  79. package/dist/components/seats-io/seats-io.transform.d.ts +1 -6
  80. package/dist/components/seats-io/seats-io.transform.js +1 -20
  81. package/dist/components/select-list/select-list.component.js +7 -2
  82. package/dist/components/select-list/select-option/select-option.component.d.ts +3 -1
  83. package/dist/components/select-list/select-option/select-option.component.js +10 -3
  84. package/dist/components/tabs/tabs.component.d.ts +2 -0
  85. package/dist/components/tabs/tabs.component.js +59 -5
  86. package/dist/components/time-tag/time-tag.component.js +1 -1
  87. package/dist/containers/basket/basket.component.d.ts +1 -1
  88. package/dist/containers/basket/basket.component.js +21 -20
  89. package/dist/containers/navbar/navbar.component.d.ts +12 -8
  90. package/dist/containers/navbar/navbar.component.js +108 -62
  91. package/dist/containers/navbar/navbar.styles.js +23 -5
  92. package/dist/containers/navbar/navbar.utils.js +4 -4
  93. package/dist/contexts/basket/basket.provider.d.ts +3 -4
  94. package/dist/contexts/basket/basket.provider.js +46 -61
  95. package/dist/contexts/basket/basket.types.d.ts +0 -2
  96. package/dist/controllers/time-expiration.d.ts +15 -2
  97. package/dist/controllers/time-expiration.js +47 -17
  98. package/dist/core/api/client.d.ts +9 -0
  99. package/dist/core/api/client.js +26 -0
  100. package/dist/core/api/middlewares/booking-session/booking-session.constants.d.ts +0 -2
  101. package/dist/core/api/middlewares/booking-session/booking-session.constants.js +0 -2
  102. package/dist/core/api/middlewares/booking-session/booking-session.js +3 -12
  103. package/dist/core/api/middlewares/booking-session/booking-session.utils.d.ts +0 -1
  104. package/dist/core/api/middlewares/booking-session/booking-session.utils.js +6 -28
  105. package/dist/core/api/middlewares/error-handler/error-handler.js +5 -1
  106. package/dist/core/api/middlewares/retry/retry.constants.d.ts +3 -0
  107. package/dist/core/api/middlewares/retry/retry.constants.js +7 -0
  108. package/dist/core/api/middlewares/retry/retry.d.ts +2 -0
  109. package/dist/core/api/middlewares/retry/retry.js +48 -0
  110. package/dist/core/api/queries.d.ts +13 -38
  111. package/dist/core/api/queries.js +16 -99
  112. package/dist/core/events.d.ts +2 -4
  113. package/dist/core/i18n/date.d.ts +14 -5
  114. package/dist/core/i18n/date.js +47 -20
  115. package/dist/core/i18n/localization.js +10 -3
  116. package/dist/core/images/helpers.js +6 -5
  117. package/dist/core/logger.d.ts +17 -0
  118. package/dist/core/logger.js +13 -0
  119. package/dist/core/types/api-schema.d.ts +7872 -0
  120. package/dist/core/types/seats-config.d.ts +5 -4
  121. package/dist/core/types/seats-config.js +10 -3
  122. package/dist/core/utils/crypto-address.d.ts +12 -0
  123. package/dist/core/utils/crypto-address.js +17 -0
  124. package/dist/core/utils/datetime.d.ts +13 -11
  125. package/dist/core/utils/datetime.js +41 -51
  126. package/dist/core/utils/loyalty.d.ts +8 -0
  127. package/dist/core/utils/loyalty.js +10 -0
  128. package/dist/core/utils/redaction.d.ts +9 -0
  129. package/dist/core/utils/redaction.js +58 -0
  130. package/dist/core/utils/time.js +2 -3
  131. package/dist/helpers/helpers.d.ts +6 -0
  132. package/dist/helpers/helpers.js +33 -16
  133. package/dist/locales/ar-SA.d.ts +38 -21
  134. package/dist/locales/ar-SA.js +38 -21
  135. package/dist/locales/da-DK.d.ts +38 -21
  136. package/dist/locales/da-DK.js +38 -21
  137. package/dist/locales/de-DE.d.ts +38 -21
  138. package/dist/locales/de-DE.js +38 -21
  139. package/dist/locales/en-IE.d.ts +38 -21
  140. package/dist/locales/en-IE.js +38 -21
  141. package/dist/locales/en-US.d.ts +38 -21
  142. package/dist/locales/en-US.js +38 -21
  143. package/dist/locales/es-ES.d.ts +38 -21
  144. package/dist/locales/es-ES.js +38 -21
  145. package/dist/locales/fr-FR.d.ts +38 -21
  146. package/dist/locales/fr-FR.js +38 -21
  147. package/dist/locales/fr-MA.d.ts +38 -21
  148. package/dist/locales/fr-MA.js +38 -21
  149. package/dist/locales/is-IS.d.ts +38 -21
  150. package/dist/locales/is-IS.js +38 -21
  151. package/dist/locales/it-IT.d.ts +38 -21
  152. package/dist/locales/it-IT.js +38 -21
  153. package/dist/locales/ms-MY.d.ts +38 -21
  154. package/dist/locales/ms-MY.js +38 -21
  155. package/dist/locales/nb-NO.d.ts +38 -21
  156. package/dist/locales/nb-NO.js +38 -21
  157. package/dist/locales/pl-PL.d.ts +38 -21
  158. package/dist/locales/pl-PL.js +38 -21
  159. package/dist/locales/pt-PT.d.ts +38 -21
  160. package/dist/locales/pt-PT.js +38 -21
  161. package/dist/locales/sv-SE.d.ts +38 -21
  162. package/dist/locales/sv-SE.js +38 -21
  163. package/dist/locales/th-TH.d.ts +38 -21
  164. package/dist/locales/th-TH.js +38 -21
  165. package/dist/locales/tr-TR.d.ts +38 -21
  166. package/dist/locales/tr-TR.js +38 -21
  167. package/dist/locales/zh-CN.d.ts +38 -21
  168. package/dist/locales/zh-CN.js +38 -21
  169. package/dist/locales/zh-HK.d.ts +38 -21
  170. package/dist/locales/zh-HK.js +38 -21
  171. package/dist/mixins/base.mixin.d.ts +3 -1
  172. package/dist/mixins/base.mixin.js +10 -7
  173. package/dist/mixins/coinbase.mixin.d.ts +13 -17
  174. package/dist/mixins/coinbase.mixin.js +251 -288
  175. package/dist/mixins/error-modal.mixin.js +8 -4
  176. package/dist/mixins/location-search/location-search.d.ts +13 -1
  177. package/dist/mixins/location-search/location-search.js +35 -27
  178. package/dist/mixins/overlay/overlay-mixin.js +39 -3
  179. package/dist/mixins/overlay/types.d.ts +1 -0
  180. package/dist/mixins/search-mixin/search-mixin.js +8 -5
  181. package/dist/sdk/diagnostics.js +2 -0
  182. package/dist/sdk/mount.d.ts +10 -0
  183. package/dist/sdk/mount.js +20 -1
  184. package/dist/sdk/page-registry.js +5 -0
  185. package/dist/sdk/params.d.ts +53 -0
  186. package/dist/sdk/params.js +180 -0
  187. package/dist/sdk/redaction.d.ts +1 -4
  188. package/dist/sdk/redaction.js +2 -41
  189. package/dist/sdk/types.d.ts +21 -7
  190. package/dist/sdk/url.d.ts +1 -1
  191. package/dist/sdk/url.js +12 -5
  192. package/dist/sdk/validation.d.ts +1 -26
  193. package/dist/sdk/validation.js +8 -145
  194. package/dist/styles/tokens.d.ts +1 -1
  195. package/dist/styles/tokens.generated.d.ts +1 -1
  196. package/dist/styles/tokens.generated.js +1 -1
  197. package/dist/views/chrome-only-page/chrome-only-page.component.d.ts +30 -0
  198. package/dist/views/chrome-only-page/chrome-only-page.component.js +24 -0
  199. package/dist/views/chrome-only-page/chrome-only-page.d.ts +8 -0
  200. package/dist/views/chrome-only-page/chrome-only-page.js +6 -0
  201. package/dist/views/chrome-only-page/chrome-only-page.styles.js +13 -0
  202. package/dist/views/details-page/details-page.component.d.ts +11 -4
  203. package/dist/views/details-page/details-page.component.js +263 -237
  204. package/dist/views/details-page/details-page.utilts.d.ts +63 -3
  205. package/dist/views/details-page/details-page.utilts.js +53 -5
  206. package/dist/views/details-page/partials/location-categories/location-categories.component.d.ts +29 -0
  207. package/dist/views/details-page/partials/location-categories/location-categories.component.js +149 -0
  208. package/dist/views/details-page/partials/location-categories/location-categories.d.ts +8 -0
  209. package/dist/views/details-page/partials/location-categories/location-categories.js +6 -0
  210. package/dist/views/details-page/partials/location-categories/location-categories.styles.js +35 -0
  211. package/dist/views/details-page/partials/location-highlights/location-highlights.component.d.ts +26 -0
  212. package/dist/views/details-page/partials/location-highlights/location-highlights.component.js +158 -0
  213. package/dist/views/details-page/partials/location-highlights/location-highlights.d.ts +8 -0
  214. package/dist/views/details-page/partials/location-highlights/location-highlights.js +6 -0
  215. package/dist/views/details-page/partials/location-highlights/location-highlights.styles.js +42 -0
  216. package/dist/views/details-page/partials/tour-description/tour-description.component.js +1 -4
  217. package/dist/views/help-page/help-page.component.d.ts +2 -0
  218. package/dist/views/help-page/help-page.component.js +37 -18
  219. package/dist/views/help-page/help-page.utils.js +6 -5
  220. package/dist/views/landing-page/landing-page.component.d.ts +5 -8
  221. package/dist/views/landing-page/landing-page.component.js +82 -97
  222. package/dist/views/payment-page/controllers/crypto-auth.controller.d.ts +10 -4
  223. package/dist/views/payment-page/controllers/crypto-auth.controller.js +53 -31
  224. package/dist/views/payment-page/controllers/crypto-transfer.controller.d.ts +9 -5
  225. package/dist/views/payment-page/controllers/crypto-transfer.controller.js +26 -39
  226. package/dist/views/payment-page/controllers/payment-flow.controller.d.ts +6 -1
  227. package/dist/views/payment-page/controllers/payment-flow.controller.js +1 -0
  228. package/dist/views/payment-page/controllers/stripe-payment.controller.d.ts +20 -2
  229. package/dist/views/payment-page/controllers/stripe-payment.controller.js +42 -19
  230. package/dist/views/payment-page/partials/activity-details/activity-details.component.d.ts +2 -0
  231. package/dist/views/payment-page/partials/activity-details/activity-details.component.js +6 -3
  232. package/dist/views/payment-page/partials/billing-address/billing-address.component.d.ts +2 -0
  233. package/dist/views/payment-page/partials/billing-address/billing-address.component.js +5 -1
  234. package/dist/views/payment-page/partials/confirmation/confirmation.component.js +2 -3
  235. package/dist/views/payment-page/partials/country-field/country-field.component.js +1 -1
  236. package/dist/views/payment-page/partials/payment-type-selector/payment-type-selector.component.js +3 -3
  237. package/dist/views/payment-page/partials/stripe/stripe.component.d.ts +2 -0
  238. package/dist/views/payment-page/partials/stripe/stripe.component.js +36 -7
  239. package/dist/views/payment-page/partials/stripe/stripe.utils.js +0 -3
  240. package/dist/views/payment-page/payment-page.component.d.ts +39 -6
  241. package/dist/views/payment-page/payment-page.component.js +302 -178
  242. package/dist/views/payment-page/payment-page.constants.d.ts +1 -27
  243. package/dist/views/payment-page/payment-page.constants.js +3 -30
  244. package/dist/views/payment-page/payment-page.types.d.ts +1 -19
  245. package/dist/views/payment-page/payment-page.utils.d.ts +22 -13
  246. package/dist/views/payment-page/payment-page.utils.js +57 -75
  247. package/dist/views/payment-page/services/payment-api.service.d.ts +16 -34
  248. package/dist/views/payment-page/services/payment-api.service.js +19 -27
  249. package/dist/views/search-page/search-page.component.d.ts +2 -0
  250. package/dist/views/search-page/search-page.component.js +39 -20
  251. package/dist/views/suggestion-widget/suggestion-widget.component.d.ts +1 -0
  252. package/dist/views/suggestion-widget/suggestion-widget.component.js +6 -5
  253. package/package.json +24 -20
  254. package/dist/components/attraction-discovery/attraction-discovery-image/attraction-discovery-image.component.d.ts +0 -10
  255. package/dist/components/attraction-discovery/attraction-discovery-image/attraction-discovery-image.component.js +0 -43
  256. package/dist/components/attraction-discovery/attraction-discovery-image/attraction-discovery-image.d.ts +0 -8
  257. package/dist/components/attraction-discovery/attraction-discovery-image/attraction-discovery-image.js +0 -6
  258. package/dist/components/attraction-discovery/attraction-discovery-image/attraction-discovery-image.styles.js +0 -23
  259. package/dist/components/attraction-discovery/attraction-discovery.component.d.ts +0 -10
  260. package/dist/components/attraction-discovery/attraction-discovery.component.js +0 -52
  261. package/dist/components/attraction-discovery/attraction-discovery.constants.d.ts +0 -4
  262. package/dist/components/attraction-discovery/attraction-discovery.constants.js +0 -5
  263. package/dist/components/attraction-discovery/attraction-discovery.d.ts +0 -8
  264. package/dist/components/attraction-discovery/attraction-discovery.js +0 -6
  265. package/dist/components/attraction-discovery/attraction-discovery.styles.js +0 -193
  266. package/dist/components/basket-rewards/basket-rewards.component.d.ts +0 -10
  267. package/dist/components/basket-rewards/basket-rewards.component.js +0 -52
  268. package/dist/components/basket-rewards/basket-rewards.d.ts +0 -8
  269. package/dist/components/basket-rewards/basket-rewards.js +0 -6
  270. package/dist/components/basket-rewards/basket-rewards.styles.js +0 -18
  271. package/dist/components/filter-chip/filter-chip.component.d.ts +0 -12
  272. package/dist/components/filter-chip/filter-chip.component.js +0 -68
  273. package/dist/components/filter-chip/filter-chip.constants.d.ts +0 -2
  274. package/dist/components/filter-chip/filter-chip.constants.js +0 -2
  275. package/dist/components/filter-chip/filter-chip.d.ts +0 -8
  276. package/dist/components/filter-chip/filter-chip.js +0 -6
  277. package/dist/components/filter-chip/filter-chip.styles.d.ts +0 -2
  278. package/dist/components/filter-chip/filter-chip.styles.js +0 -162
  279. package/dist/components/image-carousel/image-carousel-item/image-carousel-item.component.d.ts +0 -10
  280. package/dist/components/image-carousel/image-carousel-item/image-carousel-item.component.js +0 -43
  281. package/dist/components/image-carousel/image-carousel-item/image-carousel-item.d.ts +0 -8
  282. package/dist/components/image-carousel/image-carousel-item/image-carousel-item.js +0 -6
  283. package/dist/components/image-carousel/image-carousel-item/image-carousel-item.styles.d.ts +0 -2
  284. package/dist/components/image-carousel/image-carousel-item/image-carousel-item.styles.js +0 -28
  285. package/dist/components/image-carousel/image-carousel.component.d.ts +0 -8
  286. package/dist/components/image-carousel/image-carousel.component.js +0 -36
  287. package/dist/components/image-carousel/image-carousel.d.ts +0 -8
  288. package/dist/components/image-carousel/image-carousel.js +0 -6
  289. package/dist/components/image-carousel/image-carousel.styles.d.ts +0 -2
  290. package/dist/components/image-carousel/image-carousel.styles.js +0 -72
  291. package/dist/components/itinerary/itinerary-item/itinerary-item.component.d.ts +0 -9
  292. package/dist/components/itinerary/itinerary-item/itinerary-item.component.js +0 -45
  293. package/dist/components/itinerary/itinerary-item/itinerary-item.d.ts +0 -8
  294. package/dist/components/itinerary/itinerary-item/itinerary-item.js +0 -6
  295. package/dist/components/itinerary/itinerary-item/itinerary-item.styles.d.ts +0 -2
  296. package/dist/components/itinerary/itinerary-item/itinerary-item.styles.js +0 -70
  297. package/dist/components/itinerary/itinerary.component.d.ts +0 -7
  298. package/dist/components/itinerary/itinerary.component.js +0 -23
  299. package/dist/components/itinerary/itinerary.d.ts +0 -8
  300. package/dist/components/itinerary/itinerary.js +0 -6
  301. package/dist/components/itinerary/itinerary.styles.d.ts +0 -2
  302. package/dist/components/itinerary/itinerary.styles.js +0 -15
  303. package/dist/components/marketing-tag/marketing-tag.component.d.ts +0 -5
  304. package/dist/components/marketing-tag/marketing-tag.component.js +0 -8
  305. package/dist/components/marketing-tag/marketing-tag.d.ts +0 -8
  306. package/dist/components/marketing-tag/marketing-tag.js +0 -6
  307. package/dist/components/marketing-tag/marketing-tag.styles.d.ts +0 -2
  308. package/dist/components/marketing-tag/marketing-tag.styles.js +0 -36
  309. package/dist/components/price/price.component.d.ts +0 -12
  310. package/dist/components/price/price.component.js +0 -38
  311. package/dist/components/price/price.d.ts +0 -8
  312. package/dist/components/price/price.js +0 -6
  313. package/dist/components/reviews/review/review.component.d.ts +0 -9
  314. package/dist/components/reviews/review/review.component.js +0 -41
  315. package/dist/components/reviews/review/review.d.ts +0 -8
  316. package/dist/components/reviews/review/review.js +0 -6
  317. package/dist/components/reviews/review/review.styles.d.ts +0 -2
  318. package/dist/components/reviews/review/review.styles.js +0 -45
  319. package/dist/components/reviews/reviews.component.d.ts +0 -9
  320. package/dist/components/reviews/reviews.component.js +0 -56
  321. package/dist/components/reviews/reviews.d.ts +0 -8
  322. package/dist/components/reviews/reviews.js +0 -6
  323. package/dist/components/reviews/reviews.styles.d.ts +0 -2
  324. package/dist/components/reviews/reviews.styles.js +0 -73
  325. package/dist/components/selected-tickets-preview/selected-tickets-preview.component.d.ts +0 -10
  326. package/dist/components/selected-tickets-preview/selected-tickets-preview.component.js +0 -51
  327. package/dist/components/selected-tickets-preview/selected-tickets-preview.d.ts +0 -8
  328. package/dist/components/selected-tickets-preview/selected-tickets-preview.js +0 -6
  329. package/dist/components/selected-tickets-preview/selected-tickets-preview.styles.d.ts +0 -2
  330. package/dist/components/selected-tickets-preview/selected-tickets-preview.styles.js +0 -89
  331. package/dist/components/tag/tag.component.d.ts +0 -8
  332. package/dist/components/tag/tag.component.js +0 -33
  333. package/dist/components/tag/tag.constants.d.ts +0 -1
  334. package/dist/components/tag/tag.constants.js +0 -1
  335. package/dist/components/tag/tag.d.ts +0 -8
  336. package/dist/components/tag/tag.js +0 -6
  337. package/dist/components/tag/tag.styles.d.ts +0 -2
  338. package/dist/components/tag/tag.styles.js +0 -56
  339. package/dist/components/tooltip/tooltip.component.d.ts +0 -19
  340. package/dist/components/tooltip/tooltip.component.js +0 -124
  341. package/dist/components/tooltip/tooltip.d.ts +0 -8
  342. package/dist/components/tooltip/tooltip.js +0 -6
  343. package/dist/components/tooltip/tooltip.styles.d.ts +0 -2
  344. package/dist/components/tooltip/tooltip.styles.js +0 -79
  345. package/dist/core/signals.d.ts +0 -2
  346. package/dist/core/signals.js +0 -3
  347. package/dist/core/storybook/argTypes.d.ts +0 -1
  348. package/dist/core/storybook/argTypes.js +0 -46
  349. package/dist/core/storybook/cssprops.d.ts +0 -30
  350. package/dist/core/storybook/cssprops.js +0 -46
  351. package/dist/core/storybook/demo.d.ts +0 -4
  352. package/dist/core/storybook/demo.js +0 -17
  353. package/dist/core/types/api-errors.d.ts +0 -8
  354. package/dist/core/types/api-errors.js +0 -1
  355. package/dist/styles/contrast-fixtures.d.ts +0 -5
  356. package/dist/styles/contrast-fixtures.js +0 -131
  357. package/dist/views/payment-page/domain/payment-mappers.d.ts +0 -7
  358. package/dist/views/payment-page/domain/payment-mappers.js +0 -7
  359. package/dist/views/payment-page/domain/payment-validators.d.ts +0 -6
  360. package/dist/views/payment-page/domain/payment-validators.js +0 -6
  361. package/dist/views/payment-page/domain/recovery-payload.d.ts +0 -8
  362. package/dist/views/payment-page/domain/recovery-payload.js +0 -7
  363. package/dist/views/payment-page/partials/terms-checkbox/terms-checkbox.component.d.ts +0 -22
  364. package/dist/views/payment-page/partials/terms-checkbox/terms-checkbox.component.js +0 -65
  365. package/dist/views/payment-page/partials/terms-checkbox/terms-checkbox.d.ts +0 -8
  366. package/dist/views/payment-page/partials/terms-checkbox/terms-checkbox.js +0 -6
  367. package/dist/views/payment-page/partials/terms-checkbox/terms-checkbox.styles.d.ts +0 -2
  368. package/dist/views/payment-page/partials/terms-checkbox/terms-checkbox.styles.js +0 -12
  369. package/dist/views/payment-page/payment-page.validation-schema.d.ts +0 -28
  370. package/dist/views/payment-page/payment-page.validation-schema.js +0 -42
  371. /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
  372. /package/dist/{components/attraction-discovery/attraction-discovery.styles.d.ts → views/details-page/partials/location-categories/location-categories.styles.d.ts} +0 -0
  373. /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,8 +0,0 @@
1
- import { CorasImageCarousel } from "./image-carousel.component.js";
2
- export * from "./image-carousel.component.js";
3
- export default CorasImageCarousel;
4
- declare global {
5
- interface HTMLElementTagNameMap {
6
- "coras-image-carousel": CorasImageCarousel;
7
- }
8
- }
@@ -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,2 +0,0 @@
1
- declare const _default: import("lit").CSSResult;
2
- export default _default;
@@ -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,8 +0,0 @@
1
- import { CorasItineraryItem } from "./itinerary-item.component.js";
2
- export * from "./itinerary-item.component.js";
3
- export default CorasItineraryItem;
4
- declare global {
5
- interface HTMLElementTagNameMap {
6
- "coras-itinerary-item": CorasItineraryItem;
7
- }
8
- }
@@ -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,2 +0,0 @@
1
- declare const _default: import("lit").CSSResult;
2
- export default _default;
@@ -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,7 +0,0 @@
1
- import { type CSSResultGroup, LitElement } from "lit";
2
- import "../list/list.js";
3
- export declare class CorasItinerary extends LitElement {
4
- static styles: CSSResultGroup;
5
- label: string;
6
- render(): import("lit").TemplateResult<1>;
7
- }
@@ -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,8 +0,0 @@
1
- import { CorasItinerary } from "./itinerary.component.js";
2
- export * from "./itinerary.component.js";
3
- export default CorasItinerary;
4
- declare global {
5
- interface HTMLElementTagNameMap {
6
- "coras-itinerary": CorasItinerary;
7
- }
8
- }
@@ -1,6 +0,0 @@
1
- import { CorasItinerary } from "./itinerary.component.js";
2
- export * from "./itinerary.component.js";
3
- export default CorasItinerary;
4
- if (!customElements.get("coras-itinerary")) {
5
- customElements.define("coras-itinerary", CorasItinerary);
6
- }
@@ -1,2 +0,0 @@
1
- declare const _default: import("lit").CSSResult;
2
- export default _default;
@@ -1,15 +0,0 @@
1
- import { css } from "lit";
2
- import component from "../../styles/defaults/component.js";
3
- export default css `
4
- ${component}
5
-
6
- coras-list {
7
- &::part(base) {
8
- gap: 0;
9
- }
10
-
11
- &::part(label) {
12
- margin-bottom: 1rem;
13
- }
14
- }
15
- `;
@@ -1,5 +0,0 @@
1
- import { type CSSResultGroup, LitElement } from "lit";
2
- export declare class CorasMarketingTag extends LitElement {
3
- static styles: CSSResultGroup;
4
- render(): import("lit").TemplateResult<1>;
5
- }
@@ -1,8 +0,0 @@
1
- import { LitElement, html } from "lit";
2
- import styles from "./marketing-tag.styles.js";
3
- export class CorasMarketingTag extends LitElement {
4
- static { this.styles = styles; }
5
- render() {
6
- return html `<span class="tag"><slot></slot></span>`;
7
- }
8
- }
@@ -1,8 +0,0 @@
1
- import { CorasMarketingTag } from "./marketing-tag.component.js";
2
- export * from "./marketing-tag.component.js";
3
- export default CorasMarketingTag;
4
- declare global {
5
- interface HTMLElementTagNameMap {
6
- "coras-marketing-tag": CorasMarketingTag;
7
- }
8
- }
@@ -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,2 +0,0 @@
1
- declare const _default: import("lit").CSSResult;
2
- export default _default;
@@ -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,8 +0,0 @@
1
- import { CorasPrice } from "./price.component.js";
2
- export * from "./price.component.js";
3
- export default CorasPrice;
4
- declare global {
5
- interface HTMLElementTagNameMap {
6
- "coras-price": CorasPrice;
7
- }
8
- }
@@ -1,6 +0,0 @@
1
- import { CorasPrice } from "./price.component.js";
2
- export * from "./price.component.js";
3
- export default CorasPrice;
4
- if (!customElements.get("coras-price")) {
5
- customElements.define("coras-price", CorasPrice);
6
- }
@@ -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,8 +0,0 @@
1
- import { CorasReview } from "./review.component.js";
2
- export * from "./review.component.js";
3
- export default CorasReview;
4
- declare global {
5
- interface HTMLElementTagNameMap {
6
- "coras-review": CorasReview;
7
- }
8
- }
@@ -1,6 +0,0 @@
1
- import { CorasReview } from "./review.component.js";
2
- export * from "./review.component.js";
3
- export default CorasReview;
4
- if (!customElements.get("coras-review")) {
5
- customElements.define("coras-review", CorasReview);
6
- }
@@ -1,2 +0,0 @@
1
- declare const _default: import("lit").CSSResult;
2
- export default _default;
@@ -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
- }