@coras-io/embed 0.5.0 → 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 +36 -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 +14 -152
  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,193 +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
- --attraction-discovery-text-column-width: 22.75rem;
8
-
9
- --attraction-discovery-background: var(--coras-color-secondary);
10
- --attraction-discovery-color: var(--coras-palette-white);
11
- --attraction-discovery-image-border-radius: var(--coras-radius-sm);
12
- --attraction-discovery-image-box-shadow: var(--coras-shadow-strong);
13
- --attraction-discovery-font-size: var(--coras-font-size-3xl);
14
- --attraction-discovery-font-weight: var(--coras-font-weight-semibold);
15
-
16
- --attraction-discovery-description-font-size: var(--coras-font-size-base);
17
- --attraction-discovery-description-font-weight: var(
18
- --coras-font-weight-light
19
- );
20
-
21
- display: block;
22
- }
23
-
24
- .attraction-discovery-container {
25
- container-type: inline-size;
26
- width: 100%;
27
- max-width: 100%;
28
-
29
- .attraction-discovery {
30
- display: grid;
31
- column-gap: 4rem;
32
- grid-template-columns: 1.25fr 1fr;
33
- grid-template-rows: auto;
34
- grid-template-areas:
35
- "images header"
36
- "images description"
37
- "images button";
38
-
39
- background: var(--attraction-discovery-background);
40
- color: var(--attraction-discovery-color);
41
- width: 100%;
42
- max-width: 100%;
43
- padding: 2.5rem 1rem;
44
-
45
- .images {
46
- justify-self: end;
47
- grid-area: images;
48
-
49
- display: grid;
50
- gap: 1.25rem;
51
- grid-template-areas:
52
- "image1 image2"
53
- "image1 image3";
54
- grid-template-columns: auto auto;
55
- align-items: center;
56
- justify-items: flex-start;
57
- align-content: center;
58
-
59
- padding: 0 0.5rem;
60
-
61
- ::slotted(coras-attraction-discovery-image:first-child) {
62
- grid-area: image1;
63
- }
64
-
65
- ::slotted(coras-attraction-discovery-image:nth-child(2)) {
66
- grid-area: image2;
67
- }
68
-
69
- ::slotted(coras-attraction-discovery-image:last-child) {
70
- grid-area: image3;
71
- }
72
- }
73
-
74
- .header {
75
- grid-area: header;
76
- justify-self: start;
77
-
78
- width: var(--attraction-discovery-text-column-width);
79
- font-size: var(--attraction-discovery-font-size);
80
- font-weight: var(--attraction-discovery-font-weight);
81
- line-height: 2.75rem;
82
- text-shadow: 0 4px color-mix(in srgb, black, transparent 75%);
83
- margin-top: 1.25rem;
84
- margin-bottom: 0.75rem;
85
- }
86
-
87
- .description {
88
- grid-area: description;
89
- justify-self: start;
90
-
91
- width: var(--attraction-discovery-text-column-width);
92
- font-size: var(--attraction-discovery-description-font-size);
93
- font-weight: var(--attraction-discovery-description-font-weight);
94
- margin-bottom: 3.875rem;
95
- }
96
-
97
- .button {
98
- grid-area: button;
99
- justify-self: start;
100
- margin-top: 3.5rem;
101
- width: var(--attraction-discovery-text-column-width);
102
- }
103
-
104
- &.inverted {
105
- grid-template-columns: 1fr 1.25fr;
106
- grid-template-areas:
107
- "header images"
108
- "description images"
109
- "button images";
110
-
111
- .images {
112
- justify-self: start;
113
- }
114
-
115
- .header {
116
- justify-self: end;
117
- }
118
-
119
- .description {
120
- justify-self: end;
121
- }
122
-
123
- .button {
124
- justify-self: end;
125
- }
126
- }
127
- }
128
- }
129
-
130
- @container (max-width: 800px) {
131
- .attraction-discovery-container {
132
- .attraction-discovery {
133
- grid-template-columns: 1fr;
134
- grid-template-rows: auto;
135
- grid-template-areas:
136
- "header"
137
- "description"
138
- "images"
139
- "button";
140
- justify-items: center;
141
-
142
- text-align: center;
143
-
144
- .images {
145
- justify-self: center;
146
-
147
- .column {
148
- gap: 0.75rem;
149
- margin-bottom: 1.5rem;
150
- }
151
- }
152
-
153
- .header {
154
- justify-self: center;
155
-
156
- width: 100%;
157
- margin-top: 0;
158
- margin-bottom: 1rem;
159
- padding: 0 2rem;
160
- }
161
-
162
- .description {
163
- text-align: left;
164
- justify-self: center;
165
-
166
- width: 100%;
167
- padding: 0 2rem;
168
- margin-bottom: 3.375rem;
169
- }
170
-
171
- .button {
172
- justify-self: center;
173
-
174
- width: 100%;
175
- }
176
-
177
- &.inverted {
178
- grid-template-columns: 1fr;
179
- grid-template-rows: auto;
180
- grid-template-areas:
181
- "header"
182
- "description"
183
- "images"
184
- "button";
185
-
186
- .images {
187
- justify-self: center;
188
- }
189
- }
190
- }
191
- }
192
- }
193
- `;
@@ -1,10 +0,0 @@
1
- import { type CSSResultGroup, LitElement } from "lit";
2
- import "../pay-in/pay-in.js";
3
- import type { SupportedCurrencies } from "../../core/types/index.js";
4
- export declare class CorasBasketRewards extends LitElement {
5
- static styles: CSSResultGroup;
6
- payWithTokens: string;
7
- earnTokens: string;
8
- currency: SupportedCurrencies;
9
- render(): import("lit").TemplateResult<1>;
10
- }
@@ -1,52 +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 { localized, msg } from "@lit/localize";
8
- import { LitElement, html } from "lit";
9
- import { property } from "lit/decorators.js";
10
- import "../pay-in/pay-in.js";
11
- import styles from "./basket-rewards.styles.js";
12
- let CorasBasketRewards = class CorasBasketRewards extends LitElement {
13
- constructor() {
14
- super(...arguments);
15
- this.payWithTokens = "";
16
- this.earnTokens = "";
17
- this.currency = "USD";
18
- }
19
- static { this.styles = styles; }
20
- render() {
21
- return html `
22
- <div class="basket-rewards">
23
- <div class="header">${msg("FIDA Rewards for this transaction")}</div>
24
- <coras-pay-in
25
- type="earn"
26
- currency="FIDA"
27
- amount="${this.payWithTokens}"
28
- arrow
29
- ></coras-pay-in>
30
- <coras-pay-in
31
- type="pay"
32
- currency="${this.currency}"
33
- amount="${this.earnTokens}"
34
- arrow
35
- ></coras-pay-in>
36
- </div>
37
- `;
38
- }
39
- };
40
- __decorate([
41
- property({ type: String, attribute: "pay-with-tokens" })
42
- ], CorasBasketRewards.prototype, "payWithTokens", void 0);
43
- __decorate([
44
- property({ type: String, attribute: "earn-tokens" })
45
- ], CorasBasketRewards.prototype, "earnTokens", void 0);
46
- __decorate([
47
- property({ type: String })
48
- ], CorasBasketRewards.prototype, "currency", void 0);
49
- CorasBasketRewards = __decorate([
50
- localized()
51
- ], CorasBasketRewards);
52
- export { CorasBasketRewards };
@@ -1,8 +0,0 @@
1
- import { CorasBasketRewards } from "./basket-rewards.component.js";
2
- export * from "./basket-rewards.component.js";
3
- export default CorasBasketRewards;
4
- declare global {
5
- interface HTMLElementTagNameMap {
6
- "coras-basket-rewards": CorasBasketRewards;
7
- }
8
- }
@@ -1,6 +0,0 @@
1
- import { CorasBasketRewards } from "./basket-rewards.component.js";
2
- export * from "./basket-rewards.component.js";
3
- export default CorasBasketRewards;
4
- if (!customElements.get("coras-basket-rewards")) {
5
- customElements.define("coras-basket-rewards", CorasBasketRewards);
6
- }
@@ -1,18 +0,0 @@
1
- import { css } from "lit";
2
- export default css `
3
- .basket-rewards {
4
- padding: 16px;
5
- margin: 16px 0;
6
- border-radius: 8px;
7
- display: flex;
8
- flex-direction: column;
9
- gap: 8px;
10
- }
11
-
12
- .header {
13
- font-size: 14px;
14
- font-weight: 600;
15
- color: var(--coras-color-text);
16
- margin-bottom: 8px;
17
- }
18
- `;
@@ -1,12 +0,0 @@
1
- import { type CSSResultGroup, LitElement, type PropertyValues } from "lit";
2
- import type { sizes, variants } from "./filter-chip.constants.js";
3
- export declare class CorasFilterChip extends LitElement {
4
- static styles: CSSResultGroup;
5
- variant: (typeof variants)[number];
6
- size: (typeof sizes)[number];
7
- disabled: boolean;
8
- selected: boolean;
9
- updated(changed: PropertyValues): void;
10
- private getClassMap;
11
- render(): import("lit").TemplateResult<1>;
12
- }
@@ -1,68 +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 { classMap } from "lit/directives/class-map.js";
10
- import styles from "./filter-chip.styles.js";
11
- export class CorasFilterChip extends LitElement {
12
- constructor() {
13
- super(...arguments);
14
- this.variant = "primary";
15
- this.size = "small";
16
- this.disabled = false;
17
- this.selected = false;
18
- }
19
- static { this.styles = styles; }
20
- updated(changed) {
21
- if (changed.has("disabled")) {
22
- this.setAttribute("aria-disabled", this.disabled ? "true" : "false");
23
- }
24
- }
25
- getClassMap() {
26
- return classMap({
27
- primary: this.variant === "primary",
28
- text: this.variant === "text",
29
- small: this.size === "small",
30
- large: this.size === "large",
31
- selected: !this.disabled && this.selected,
32
- });
33
- }
34
- render() {
35
- return html `
36
- <button
37
- part="base"
38
- ?disabled="${this.disabled}"
39
- aria-disabled="${this.disabled ? "true" : "false"}"
40
- class="${this.getClassMap()}"
41
- >
42
- <div class="grid">
43
- <span class="prefix">
44
- <slot name="prefix" part="prefix"></slot>
45
- </span>
46
- <span class="label">
47
- <slot part="label"></slot>
48
- </span>
49
- <span class="suffix">
50
- <slot name="suffix" part="suffix"></slot>
51
- </span>
52
- </div>
53
- </button>
54
- `;
55
- }
56
- }
57
- __decorate([
58
- property({ reflect: true })
59
- ], CorasFilterChip.prototype, "variant", void 0);
60
- __decorate([
61
- property({ reflect: true })
62
- ], CorasFilterChip.prototype, "size", void 0);
63
- __decorate([
64
- property({ type: Boolean, reflect: true })
65
- ], CorasFilterChip.prototype, "disabled", void 0);
66
- __decorate([
67
- property({ type: Boolean, reflect: true })
68
- ], CorasFilterChip.prototype, "selected", void 0);
@@ -1,2 +0,0 @@
1
- export declare const variants: readonly ["primary", "text"];
2
- export declare const sizes: readonly ["small", "large"];
@@ -1,2 +0,0 @@
1
- export const variants = ["primary", "text"];
2
- export const sizes = ["small", "large"];
@@ -1,8 +0,0 @@
1
- import { CorasFilterChip } from "./filter-chip.component.js";
2
- export * from "./filter-chip.component.js";
3
- export default CorasFilterChip;
4
- declare global {
5
- interface HTMLElementTagNameMap {
6
- "coras-filter-chip": CorasFilterChip;
7
- }
8
- }
@@ -1,6 +0,0 @@
1
- import { CorasFilterChip } from "./filter-chip.component.js";
2
- export * from "./filter-chip.component.js";
3
- export default CorasFilterChip;
4
- if (!customElements.get("coras-filter-chip")) {
5
- customElements.define("coras-filter-chip", CorasFilterChip);
6
- }
@@ -1,2 +0,0 @@
1
- declare const _default: import("lit").CSSResult;
2
- export default _default;
@@ -1,162 +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
- cursor: pointer;
8
- display: inline-block;
9
- position: relative;
10
- width: auto;
11
-
12
- --filter-chip-line-height: 0.875rem;
13
- --filter-chip-letter-spacing: 0.01em;
14
- --filter-chip-padding: 0.5rem;
15
- --filter-chip-padding-large: 0.75rem;
16
-
17
- --filter-chip-border-radius: var(--coras-radius-chip);
18
- --filter-chip-border-color: var(--coras-color-neutral-300);
19
- --filter-chip-font-weight: var(--coras-font-weight-normal);
20
- --filter-chip-font-size: var(--coras-font-size-base);
21
- --filter-chip-line-height: var(--coras-font-size-2xl);
22
- --filter-chip-box-shadow: var(--coras-shadow-md);
23
- --filter-chip-hover-background-color: color-mix(
24
- in srgb,
25
- var(--coras-color-background),
26
- var(--coras-state-overlay) var(--coras-state-hover)
27
- );
28
- --filter-chip-selected-background-color: var(--coras-color-primary);
29
- --filter-chip-selected-hover-background-color: var(
30
- --coras-color-primary-button-hover
31
- );
32
- --filter-chip-selected-color: var(--coras-palette-white);
33
- --filter-chip-disabled-color: var(--coras-color-text-disabled);
34
- --filter-chip-disabled-background-color: var(--coras-color-neutral-200);
35
- --filter-chip-icon-color: var(--coras-color-text);
36
- --filter-chip-selected-icon-color: var(--coras-palette-white);
37
- --filter-chip-disabled-icon-color: var(--coras-color-text-disabled);
38
- --filter-chip-text-selected-icon-color: var(--coras-color-primary);
39
- --filter-chip-text-selected-hover-icon-color: var(--coras-color-primary);
40
- }
41
-
42
- button {
43
- align-items: center;
44
- background-color: transparent;
45
- cursor: inherit;
46
- border: none;
47
- display: inline-flex;
48
- font-size: var(--filter-chip-font-size);
49
- line-height: var(--filter-chip-line-height);
50
- font-weight: var(--filter-chip-font-weight);
51
- gap: 0.5em;
52
- justify-content: center;
53
- letter-spacing: var(--filter-chip-letter-spacing);
54
- line-height: var(--filter-chip-line-height);
55
- padding: var(--filter-chip-padding);
56
- white-space: nowrap;
57
- overflow: hidden;
58
- text-overflow: ellipsis;
59
- text-align: start;
60
- width: 100%;
61
-
62
- > .grid {
63
- display: grid;
64
- grid-template-areas: "prefix label suffix";
65
- grid-template-columns: auto 1fr auto;
66
- gap: 0.5em;
67
- width: 100%;
68
- align-items: center;
69
-
70
- .prefix {
71
- grid-area: prefix;
72
- display: flex;
73
- justify-content: center;
74
- align-items: center;
75
- }
76
-
77
- .label {
78
- grid-area: label;
79
- overflow: hidden;
80
- text-overflow: ellipsis;
81
- white-space: nowrap;
82
- text-align: start;
83
- }
84
-
85
- .suffix {
86
- grid-area: suffix;
87
- display: flex;
88
- justify-content: center;
89
- align-items: center;
90
- }
91
- }
92
-
93
- > ::slotted(coras-icon) {
94
- width: 1.4em;
95
- height: 1.4em;
96
- }
97
-
98
- &.large {
99
- padding: var(--filter-chip-padding-large);
100
- }
101
-
102
- &.primary {
103
- border-radius: var(--filter-chip-border-radius);
104
- border: 1px solid var(--filter-chip-border-color);
105
- box-shadow: var(--filter-chip-box-shadow);
106
-
107
- &:disabled {
108
- cursor: not-allowed;
109
- color: var(--filter-chip-disabled-color);
110
- background-color: var(--filter-chip-disabled-background-color);
111
-
112
- > ::slotted(coras-icon) {
113
- fill: var(--filter-chip-disabled-color);
114
- }
115
- }
116
-
117
- &.selected {
118
- background-color: var(--filter-chip-selected-background-color);
119
- color: var(--filter-chip-selected-color);
120
-
121
- > ::slotted(coras-icon) {
122
- fill: var(--filter-chip-selected-color);
123
- }
124
- }
125
-
126
- &:not(:disabled):not(.selected):hover {
127
- background-color: var(--filter-chip-hover-background-color);
128
- }
129
-
130
- &.selected:not(:disabled):hover {
131
- background-color: var(--filter-chip-selected-hover-background-color);
132
- }
133
- }
134
-
135
- &.text {
136
- &:disabled {
137
- cursor: not-allowed;
138
- color: var(--filter-chip-disabled-background-color);
139
-
140
- > ::slotted(coras-icon) {
141
- fill: var(--filter-chip-disabled-background-color);
142
- }
143
- }
144
-
145
- &.selected {
146
- color: var(--filter-chip-selected-background-color);
147
-
148
- > ::slotted(coras-icon) {
149
- fill: var(--filter-chip-selected-background-color);
150
- }
151
- }
152
-
153
- &:not(:disabled):hover {
154
- color: var(--filter-chip-selected-hover-background-color);
155
-
156
- > ::slotted(coras-icon) {
157
- fill: var(--filter-chip-selected-hover-background-color);
158
- }
159
- }
160
- }
161
- }
162
- `;
@@ -1,10 +0,0 @@
1
- import { type CSSResultGroup, LitElement } from "lit";
2
- import "../../image/image.js";
3
- export declare class CorasImageCarouselItem extends LitElement {
4
- static styles: CSSResultGroup;
5
- image: string;
6
- width: number;
7
- height: number;
8
- alt: string;
9
- render(): import("lit").TemplateResult<1>;
10
- }
@@ -1,43 +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 "../../image/image.js";
10
- import styles from "./image-carousel-item.styles.js";
11
- export class CorasImageCarouselItem extends LitElement {
12
- constructor() {
13
- super(...arguments);
14
- this.image = "";
15
- this.width = 780;
16
- this.height = 520;
17
- this.alt = "";
18
- }
19
- static { this.styles = styles; }
20
- render() {
21
- return html `<div class="image">
22
- <coras-image
23
- src=${this.image}
24
- alt=${this.alt}
25
- width=${this.width}
26
- height=${this.height}
27
- preset="gallery"
28
- ></coras-image>
29
- </div>`;
30
- }
31
- }
32
- __decorate([
33
- property({ type: String })
34
- ], CorasImageCarouselItem.prototype, "image", void 0);
35
- __decorate([
36
- property({ type: Number })
37
- ], CorasImageCarouselItem.prototype, "width", void 0);
38
- __decorate([
39
- property({ type: Number })
40
- ], CorasImageCarouselItem.prototype, "height", void 0);
41
- __decorate([
42
- property({ type: String })
43
- ], CorasImageCarouselItem.prototype, "alt", void 0);
@@ -1,8 +0,0 @@
1
- import { CorasImageCarouselItem } from "./image-carousel-item.component.js";
2
- export * from "./image-carousel-item.component.js";
3
- export default CorasImageCarouselItem;
4
- declare global {
5
- interface HTMLElementTagNameMap {
6
- "coras-image-carousel-item": CorasImageCarouselItem;
7
- }
8
- }
@@ -1,6 +0,0 @@
1
- import { CorasImageCarouselItem } from "./image-carousel-item.component.js";
2
- export * from "./image-carousel-item.component.js";
3
- export default CorasImageCarouselItem;
4
- if (!customElements.get("coras-image-carousel-item")) {
5
- customElements.define("coras-image-carousel-item", CorasImageCarouselItem);
6
- }
@@ -1,2 +0,0 @@
1
- declare const _default: import("lit").CSSResult;
2
- export default _default;
@@ -1,28 +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
- --img-width: 90vw;
8
- --img-max-width: 780px;
9
- }
10
-
11
- .image {
12
- width: var(--img-width);
13
- max-width: var(--img-max-width);
14
- max-height: 520px;
15
-
16
- border-radius: 2px;
17
-
18
- coras-image {
19
- border-radius: inherit;
20
- width: 100%;
21
- height: 100%;
22
- }
23
-
24
- coras-image::part(image) {
25
- border-radius: inherit;
26
- }
27
- }
28
- `;
@@ -1,8 +0,0 @@
1
- import { type CSSResultGroup, LitElement } from "lit";
2
- import "../carousel/carousel.js";
3
- export declare class CorasImageCarousel extends LitElement {
4
- static styles: CSSResultGroup;
5
- showImageNumber: boolean;
6
- imageNumberLabel: string;
7
- render(): import("lit").TemplateResult<1>;
8
- }