@coras-io/embed 0.1.0 → 0.1.2

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 (282) hide show
  1. package/CHANGELOG.md +60 -1
  2. package/README.md +1 -1
  3. package/dist/components/accordion/accordion-item/accordion-item.component.d.ts +1 -1
  4. package/dist/components/accordion/accordion.component.d.ts +1 -1
  5. package/dist/components/alert/alert.component.d.ts +2 -2
  6. package/dist/components/attraction-card/base/attraction-card.mixin.d.ts +3 -3
  7. package/dist/components/attraction-card/base/attraction-card.mixin.js +1 -1
  8. package/dist/components/attraction-card/base/attraction-card.types.d.ts +2 -2
  9. package/dist/components/attraction-card/long/attraction-long-card.component.d.ts +1 -1
  10. package/dist/components/attraction-card/long/attraction-long-card.component.js +1 -1
  11. package/dist/components/attraction-card/short/attraction-short-card.component.d.ts +1 -1
  12. package/dist/components/attraction-card/short/attraction-short-card.component.js +1 -1
  13. package/dist/components/attraction-discovery/attraction-discovery-image/attraction-discovery-image.component.d.ts +1 -1
  14. package/dist/components/attraction-discovery/attraction-discovery.component.d.ts +1 -1
  15. package/dist/components/attraction-header/attraction-header.component.d.ts +3 -3
  16. package/dist/components/attraction-header/attraction-header.utils.d.ts +3 -3
  17. package/dist/components/attraction-option/attraction-option.component.d.ts +1 -1
  18. package/dist/components/basket/basket.component.d.ts +2 -2
  19. package/dist/components/basket-empty/basket-empty.component.d.ts +1 -1
  20. package/dist/components/basket-item/basket-item.component.d.ts +1 -1
  21. package/dist/components/basket-item-ticket/basket-item-ticket.component.d.ts +1 -1
  22. package/dist/components/basket-mobile/basket-mobile.component.d.ts +1 -1
  23. package/dist/components/basket-rewards/basket-rewards.component.d.ts +1 -1
  24. package/dist/components/better-carousel/better-carousel-item/better-carousel-item.component.d.ts +1 -1
  25. package/dist/components/better-carousel/better-carousel.component.d.ts +1 -1
  26. package/dist/components/bottom-drawer/bottom-drawer.component.d.ts +1 -1
  27. package/dist/components/bottom-drawer/bottom-drawer.component.js +1 -1
  28. package/dist/components/breadcrumbs/breadcrumb-item/breadcrumb-item.component.d.ts +1 -1
  29. package/dist/components/breadcrumbs/breadcrumbs.component.d.ts +1 -1
  30. package/dist/components/button/button.component.d.ts +2 -2
  31. package/dist/components/calendar/base/calendar.mixin.d.ts +2 -2
  32. package/dist/components/calendar/base/calendar.types.d.ts +2 -2
  33. package/dist/components/calendar/dual/dual.component.d.ts +1 -1
  34. package/dist/components/calendar/month/month.component.d.ts +1 -1
  35. package/dist/components/calendar/month/month.component.js +1 -1
  36. package/dist/components/calendar/multi/multi.component.d.ts +1 -1
  37. package/dist/components/carousel/carousel-item/carousel-item.component.d.ts +1 -1
  38. package/dist/components/carousel/carousel-item/carousel-item.component.js +1 -1
  39. package/dist/components/carousel/carousel.component.d.ts +1 -1
  40. package/dist/components/carousel/carousel.component.js +2 -2
  41. package/dist/components/carousel/carousel.styles.js +10 -0
  42. package/dist/components/categories-tree/categories-tree.component.d.ts +2 -2
  43. package/dist/components/category-tag/category-tag.component.d.ts +2 -2
  44. package/dist/components/category-tag/category-tag.types.d.ts +1 -1
  45. package/dist/components/checkbox/checkbox.component.d.ts +1 -1
  46. package/dist/components/checkbox-group/checkbox-group.component.d.ts +1 -1
  47. package/dist/components/checkbox-group/checkbox-group.types.d.ts +1 -1
  48. package/dist/components/chip/chip.component.d.ts +2 -2
  49. package/dist/components/collect-fida/collect-fida.component.d.ts +1 -1
  50. package/dist/components/crypto-auth-modal/crypto-auth-modal.component.d.ts +2 -2
  51. package/dist/components/crypto-auth-modal/crypto-auth-modal.component.js +2 -2
  52. package/dist/components/currencies-list/currencies-list.component.d.ts +2 -2
  53. package/dist/components/currencies-list/currencies-list.component.js +1 -1
  54. package/dist/components/dialog/dialog.component.d.ts +2 -2
  55. package/dist/components/drawer/drawer.component.d.ts +1 -1
  56. package/dist/components/drawer/drawer.component.js +1 -1
  57. package/dist/components/dropdown/dropdown.component.d.ts +1 -1
  58. package/dist/components/dropdown/dropdown.component.js +1 -1
  59. package/dist/components/expiration-timer/expiration-timer.component.d.ts +1 -1
  60. package/dist/components/explore-card/explore-card.component.d.ts +1 -1
  61. package/dist/components/explore-card/explore-card.component.js +1 -1
  62. package/dist/components/explore-card/explore-card.styles.js +23 -0
  63. package/dist/components/filter-chip/filter-chip.component.d.ts +2 -2
  64. package/dist/components/filter-chip/filter-chip.component.js +1 -1
  65. package/dist/components/filters-drawer/filters-drawer.component.d.ts +1 -1
  66. package/dist/components/flag-icon/flag-icon.component.d.ts +2 -2
  67. package/dist/components/footer-menu/footer-menu-item/footer-menu-item.component.d.ts +1 -1
  68. package/dist/components/footer-menu/footer-menu.component.d.ts +1 -1
  69. package/dist/components/icon/icon.component.d.ts +2 -2
  70. package/dist/components/icon/icon.component.js +1 -1
  71. package/dist/components/icon-list/icon-list-item/icon-list-item.component.d.ts +2 -2
  72. package/dist/components/icon-list/icon-list.component.d.ts +1 -1
  73. package/dist/components/image/image.component.d.ts +3 -3
  74. package/dist/components/image/image.component.js +1 -1
  75. package/dist/components/image-carousel/image-carousel-item/image-carousel-item.component.d.ts +1 -1
  76. package/dist/components/image-carousel/image-carousel.component.d.ts +1 -1
  77. package/dist/components/image-chip/image-chip.component.d.ts +1 -1
  78. package/dist/components/image-viewer/image-viewer.component.d.ts +1 -1
  79. package/dist/components/input-field/input-field.component.d.ts +2 -2
  80. package/dist/components/input-field/input-field.types.d.ts +2 -0
  81. package/dist/components/input-field/input-field.types.js +1 -0
  82. package/dist/components/itinerary/itinerary-item/itinerary-item.component.d.ts +1 -1
  83. package/dist/components/itinerary/itinerary.component.d.ts +1 -1
  84. package/dist/components/joined-fields/joined-fields.component.d.ts +1 -1
  85. package/dist/components/joined-fields/joined-fields.component.js +1 -1
  86. package/dist/components/layout/layout.component.d.ts +1 -1
  87. package/dist/components/list/list-item/list-item.component.d.ts +2 -2
  88. package/dist/components/list/list.component.d.ts +1 -1
  89. package/dist/components/loading-spinner/loading-spinner.component.d.ts +2 -2
  90. package/dist/components/locales-list/locales-list.component.d.ts +2 -2
  91. package/dist/components/locales-list/locales-list.component.js +1 -1
  92. package/dist/components/locales-list/locales-list.constants.d.ts +1 -1
  93. package/dist/components/location-image/location-image.component.d.ts +2 -2
  94. package/dist/components/location-image/location-image.component.js +1 -1
  95. package/dist/components/locations-results/locations-results.component.d.ts +2 -2
  96. package/dist/components/locations-results/locations-results.component.js +1 -1
  97. package/dist/components/marketing-tag/marketing-tag.component.d.ts +1 -1
  98. package/dist/components/message-card/message-card.component.d.ts +2 -2
  99. package/dist/components/mobile-menu-item/mobile-menu-item.component.d.ts +1 -1
  100. package/dist/components/option-group/option-chip/option-chip.component.d.ts +1 -1
  101. package/dist/components/option-group/option-chip/option-chip.component.js +1 -1
  102. package/dist/components/option-group/option-group.component.d.ts +1 -1
  103. package/dist/components/order-confirmation/order-confirmation-item/order-confirmation-item.component.d.ts +1 -1
  104. package/dist/components/order-confirmation/order-confirmation.component.d.ts +1 -1
  105. package/dist/components/order-confirmation/order-confirmation.component.js +1 -1
  106. package/dist/components/otp/otp.component.d.ts +1 -1
  107. package/dist/components/overlay/overlay.component.d.ts +1 -1
  108. package/dist/components/pay-in/pay-in.component.d.ts +2 -2
  109. package/dist/components/payment-fiat-method/payment-fiat-method.component.d.ts +3 -2
  110. package/dist/components/payment-fiat-method/payment-fiat-method.types.d.ts +1 -0
  111. package/dist/components/payment-fiat-method/payment-fiat-method.types.js +1 -0
  112. package/dist/components/payment-option/payment-option.component.d.ts +2 -2
  113. package/dist/components/payment-option/payment-option.component.js +1 -1
  114. package/dist/components/performance-time/performance-time.component.d.ts +1 -1
  115. package/dist/components/phone-country-code/phone-country-code.component.d.ts +1 -1
  116. package/dist/components/phone-country-codes/phone-country-codes.component.d.ts +2 -2
  117. package/dist/components/phone-field/phone-field.component.d.ts +3 -3
  118. package/dist/components/phone-field/phone-field.utils.d.ts +1 -1
  119. package/dist/components/points/points.component.d.ts +1 -1
  120. package/dist/components/price/price.component.d.ts +2 -2
  121. package/dist/components/reservation-preview/reservation-preview.component.d.ts +1 -1
  122. package/dist/components/reservation-preview-item/reservation-preview-item.component.d.ts +1 -1
  123. package/dist/components/reviews/review/review.component.d.ts +1 -1
  124. package/dist/components/reviews/reviews.component.d.ts +1 -1
  125. package/dist/components/search-button/search-button.component.d.ts +1 -1
  126. package/dist/components/search-results-item/search-results-item.d.ts +3 -3
  127. package/dist/components/seated-selector/seated-selector.component.d.ts +1 -1
  128. package/dist/components/seated-selector/seated-selector.component.js +3 -3
  129. package/dist/components/seats-io/seats-io.component.d.ts +4 -4
  130. package/dist/components/seats-io/seats-io.component.js +1 -1
  131. package/dist/components/seats-io/seats-io.transform.d.ts +2 -2
  132. package/dist/components/select-list/select-list.component.d.ts +1 -1
  133. package/dist/components/select-list/select-option/select-option.component.d.ts +1 -1
  134. package/dist/components/selected-tickets-preview/selected-tickets-preview.component.d.ts +1 -1
  135. package/dist/components/sort-dropdown/sort-dropdown.component.d.ts +1 -1
  136. package/dist/components/sort-list/sort-list.component.d.ts +1 -1
  137. package/dist/components/sport-options/sport-option/sport-option.component.d.ts +1 -1
  138. package/dist/components/sport-options/sport-options.component.d.ts +1 -1
  139. package/dist/components/star-rating/star-rating.component.d.ts +1 -1
  140. package/dist/components/star-rating/star-rating.component.js +1 -1
  141. package/dist/components/tab/tab.component.d.ts +1 -1
  142. package/dist/components/tab/tab.component.js +1 -1
  143. package/dist/components/tab-panel/tab-panel.component.d.ts +1 -1
  144. package/dist/components/tab-panel/tab-panel.component.js +1 -1
  145. package/dist/components/tabs/tabs.component.d.ts +1 -1
  146. package/dist/components/tag/tag.component.d.ts +2 -2
  147. package/dist/components/text-section/text-section.component.d.ts +1 -1
  148. package/dist/components/time-tag/time-tag.component.d.ts +2 -2
  149. package/dist/components/tooltip/tooltip.component.d.ts +1 -1
  150. package/dist/components/tour-ticket-type-selector/tour-ticket-counter-button/tour-ticket-counter-button.component.d.ts +1 -1
  151. package/dist/components/tour-ticket-type-selector/tour-ticket-type/tour-ticket-type.component.d.ts +1 -1
  152. package/dist/components/tour-ticket-type-selector/tour-ticket-type-selector.component.d.ts +1 -1
  153. package/dist/components/transfer-modal/transfer-modal.component.d.ts +1 -1
  154. package/dist/components/transfer-modal/transfer-modal.component.js +1 -1
  155. package/dist/containers/footer/footer.component.d.ts +1 -1
  156. package/dist/containers/navbar/navbar.component.d.ts +6 -6
  157. package/dist/containers/navbar/navbar.utils.d.ts +2 -2
  158. package/dist/contexts/basket/basket.context.d.ts +1 -1
  159. package/dist/contexts/basket/basket.provider.d.ts +4 -4
  160. package/dist/contexts/basket/basket.provider.js +1 -1
  161. package/dist/contexts/basket/basket.types.d.ts +2 -2
  162. package/dist/contexts/client.context.d.ts +2 -2
  163. package/dist/contexts/current-page.context.d.ts +1 -1
  164. package/dist/contexts/events.context.d.ts +3 -3
  165. package/dist/contexts/types.d.ts +2 -2
  166. package/dist/controllers/time-expiration.d.ts +1 -1
  167. package/dist/core/api/middlewares/booking-session/booking-session.d.ts +1 -1
  168. package/dist/core/api/middlewares/error-handler/error-handler.d.ts +1 -1
  169. package/dist/core/api/queries.d.ts +2 -2
  170. package/dist/core/currency/constants.d.ts +1 -1
  171. package/dist/core/currency/index.d.ts +3 -5
  172. package/dist/core/currency/index.js +16 -6
  173. package/dist/core/events.d.ts +2 -2
  174. package/dist/core/i18n/date.d.ts +2 -2
  175. package/dist/core/i18n/localization.js +1 -1
  176. package/dist/core/images/constants.d.ts +1 -1
  177. package/dist/core/images/constants.js +1 -1
  178. package/dist/core/images/filters.d.ts +2 -2
  179. package/dist/core/images/filters.js +2 -2
  180. package/dist/core/images/selection.d.ts +3 -3
  181. package/dist/core/images/selection.js +3 -3
  182. package/dist/core/images/srcset.d.ts +1 -1
  183. package/dist/core/images/srcset.js +6 -6
  184. package/dist/core/images/url.d.ts +1 -1
  185. package/dist/core/images/url.js +1 -1
  186. package/dist/core/pages.d.ts +1 -1
  187. package/dist/core/storybook/cssprops.d.ts +1 -1
  188. package/dist/core/types/core/base.d.ts +2 -2
  189. package/dist/core/types/core/category.d.ts +1 -1
  190. package/dist/core/types/core/currency.d.ts +1 -1
  191. package/dist/core/types/core/locale.d.ts +1 -1
  192. package/dist/core/types/core/sorting.d.ts +1 -1
  193. package/dist/core/types/currencies.d.ts +1 -1
  194. package/dist/core/types/locales.d.ts +2 -2
  195. package/dist/core/types/seats-config.d.ts +1 -1
  196. package/dist/core/utils/datetime.d.ts +1 -1
  197. package/dist/core/utils/locale.d.ts +2 -2
  198. package/dist/core/utils/scroll-lock.d.ts +2 -2
  199. package/dist/core/utils/scroll-lock.js +3 -3
  200. package/dist/core/utils/time.d.ts +1 -1
  201. package/dist/custom-elements.json +444 -355
  202. package/dist/helpers/helpers.d.ts +1 -1
  203. package/dist/index.js +1 -1
  204. package/dist/mixins/base.mixin.d.ts +6 -6
  205. package/dist/mixins/base.mixin.js +2 -2
  206. package/dist/mixins/coinbase-chains.d.ts +1 -0
  207. package/dist/mixins/coinbase-chains.js +7 -0
  208. package/dist/mixins/coinbase.mixin.d.ts +4 -4
  209. package/dist/mixins/coinbase.mixin.js +19 -7
  210. package/dist/mixins/error-modal.mixin.d.ts +2 -2
  211. package/dist/mixins/location-search/location-search.d.ts +3 -3
  212. package/dist/mixins/location-search/location-search.js +1 -1
  213. package/dist/mixins/location-search/types.d.ts +2 -2
  214. package/dist/mixins/overlay/overlay-mixin.d.ts +2 -2
  215. package/dist/mixins/overlay/types.d.ts +1 -1
  216. package/dist/mixins/points/points.d.ts +2 -2
  217. package/dist/mixins/points/types.d.ts +1 -1
  218. package/dist/mixins/search-mixin/search-mixin.d.ts +3 -3
  219. package/dist/mixins/search-mixin/types.d.ts +2 -2
  220. package/dist/sdk/chrome.js +9 -5
  221. package/dist/sdk/diagnostics.d.ts +9 -0
  222. package/dist/sdk/diagnostics.js +25 -0
  223. package/dist/sdk/mount.js +42 -0
  224. package/dist/sdk/once.d.ts +9 -0
  225. package/dist/sdk/once.js +18 -0
  226. package/dist/sdk/page-registry.d.ts +2 -2
  227. package/dist/sdk/page-registry.js +10 -10
  228. package/dist/sdk/theme.js +1 -1
  229. package/dist/sdk/types.d.ts +11 -11
  230. package/dist/sdk/validation.d.ts +2 -2
  231. package/dist/sdk/validation.js +7 -6
  232. package/dist/styles/tokens.css +1 -1
  233. package/dist/styles/tokens.d.ts +1 -1
  234. package/dist/styles/tokens.generated.d.ts +1 -1
  235. package/dist/styles/tokens.generated.js +2 -2
  236. package/dist/views/constants.d.ts +1 -1
  237. package/dist/views/details-page/details-page.component.d.ts +4 -4
  238. package/dist/views/details-page/details-page.component.js +2 -2
  239. package/dist/views/details-page/details-page.utilts.d.ts +2 -2
  240. package/dist/views/details-page/partials/theater-description/theater-description.component.d.ts +3 -3
  241. package/dist/views/details-page/partials/tour-description/tour-description.component.d.ts +4 -4
  242. package/dist/views/help-page/help-page.component.d.ts +2 -2
  243. package/dist/views/help-page/help-page.component.js +1 -1
  244. package/dist/views/help-page/help-page.types.d.ts +1 -1
  245. package/dist/views/help-page/help-page.utils.d.ts +2 -2
  246. package/dist/views/landing-page/landing-page.component.d.ts +4 -4
  247. package/dist/views/landing-page/landing-page.component.js +1 -1
  248. package/dist/views/landing-page/landing-page.types.d.ts +1 -1
  249. package/dist/views/payment-page/controllers/crypto-auth.controller.d.ts +3 -3
  250. package/dist/views/payment-page/controllers/crypto-transfer.controller.d.ts +3 -3
  251. package/dist/views/payment-page/controllers/crypto-transfer.controller.js +1 -1
  252. package/dist/views/payment-page/controllers/form-validation.controller.d.ts +5 -5
  253. package/dist/views/payment-page/controllers/layout.controller.d.ts +1 -1
  254. package/dist/views/payment-page/controllers/layout.controller.js +1 -1
  255. package/dist/views/payment-page/controllers/payment-flow.controller.d.ts +1 -1
  256. package/dist/views/payment-page/controllers/stripe-payment.controller.d.ts +3 -3
  257. package/dist/views/payment-page/partials/activity-details/activity-details.component.d.ts +5 -5
  258. package/dist/views/payment-page/partials/billing-address/billing-address.component.d.ts +4 -4
  259. package/dist/views/payment-page/partials/confirmation/confirmation.component.d.ts +2 -2
  260. package/dist/views/payment-page/partials/country-field/country-field.component.d.ts +2 -2
  261. package/dist/views/payment-page/partials/country-field/country-field.component.js +1 -1
  262. package/dist/views/payment-page/partials/hotel-pickup-field/hotel-pickup-field.component.d.ts +3 -3
  263. package/dist/views/payment-page/partials/hotel-pickup-list/hotel-pickup-list.component.d.ts +2 -2
  264. package/dist/views/payment-page/partials/payment-type-selector/payment-type-selector.component.d.ts +3 -3
  265. package/dist/views/payment-page/partials/payment-type-selector/payment-type-selector.component.js +1 -1
  266. package/dist/views/payment-page/partials/stripe/stripe.component.d.ts +1 -1
  267. package/dist/views/payment-page/partials/stripe/stripe.component.js +1 -1
  268. package/dist/views/payment-page/partials/terms-checkbox/terms-checkbox.component.d.ts +1 -1
  269. package/dist/views/payment-page/payment-page.component.d.ts +3 -3
  270. package/dist/views/payment-page/payment-page.component.js +7 -7
  271. package/dist/views/payment-page/payment-page.types.d.ts +3 -3
  272. package/dist/views/payment-page/payment-page.utils.d.ts +8 -8
  273. package/dist/views/payment-page/payment-page.utils.js +5 -5
  274. package/dist/views/payment-page/payment-page.validation-schema.d.ts +1 -1
  275. package/dist/views/payment-page/services/payment-api.service.d.ts +2 -2
  276. package/dist/views/payment-page/services/payment-api.service.js +1 -1
  277. package/dist/views/search-page/search-page.component.d.ts +4 -4
  278. package/dist/views/search-page/search-page.component.js +1 -1
  279. package/dist/views/suggestion-widget/suggestion-widget.component.d.ts +10 -5
  280. package/dist/views/suggestion-widget/suggestion-widget.component.js +118 -42
  281. package/dist/views/suggestion-widget/suggestion-widget.styles.js +57 -4
  282. package/package.json +9 -1
package/CHANGELOG.md CHANGED
@@ -1,5 +1,64 @@
1
1
  # @coras-io/embed
2
2
 
3
+ ## 0.1.2
4
+
5
+ ### Patch Changes
6
+
7
+ - 90975a0: Render prices with the decimal places each currency actually uses instead of
8
+ always showing two. Zero-decimal currencies (JPY, VND, ISK, HUF and others) now
9
+ display as whole amounts (`¥1,000` rather than `¥1,000.00`), and IDR is shown
10
+ without its defunct sen subunit. Two-decimal currencies are unaffected.
11
+
12
+ ## 0.1.1
13
+
14
+ ### Patch Changes
15
+
16
+ - 1015b86: Default `config.assetsUrl` to the Coras production asset CDN when it is not set.
17
+ Previously an unset `assetsUrl` left icons and payment-provider logos loading
18
+ from the host origin, so they silently 404'd. Mounts now render their shared
19
+ assets out of the box; self-hosting or sandbox hosts still override it explicitly.
20
+ - ca0bf33: Shrink what a host bundler ships. The package now declares `sideEffects` (only
21
+ the component-registration and CSS modules are effectful), so a consumer's
22
+ bundler can tree-shake the SDK, helper, and type modules it does not use. Type
23
+ imports are consistently type-only under `verbatimModuleSyntax`, which also
24
+ removes stray runtime import edges that previously defeated dead-code
25
+ elimination. The Coinbase/crypto path now loads viem's client and chain configs
26
+ on demand, so a payment page that never enters the crypto flow no longer eagerly
27
+ bundles them (~260 kB gzip deferred). Page and chrome modules are loaded once and
28
+ in parallel. No public API changes.
29
+ - f667990: Make the suggestion widget's explore card actually render. Its background image
30
+ pointed at a placeholder host that never resolved, so the card loaded blank, and
31
+ its inner wrapper had no height, so it could collapse to nothing. The image now
32
+ comes from the real location CDN and the card fills its slot in the carousel. A
33
+ gradient scrim over the image keeps the label and button legible on any photo.
34
+ - 1015b86: Add dev-time diagnostics that surface common silent misconfigurations. When a
35
+ `logger` is provided, or `strict: true` is set, `mount()` now warns (once each)
36
+ about a theme with no brand colours, mounting into a container that already holds
37
+ a mount, an unreachable `assetsUrl` (icons that would 404), and a managed-chrome
38
+ page constrained by an ancestor to less than the viewport width. Production
39
+ mounts with no logger stay silent, and the warnings route through `logger.warn`.
40
+ - b040c7e: Require `config.assetsUrl` and remove the built-in production CDN default. The
41
+ SDK no longer hardcodes a `coras.io` asset origin - the host passes the origin it
42
+ serves Coras assets from, so the package carries no address tied to a specific
43
+ deployment. Mounting with a missing or empty `assetsUrl` now throws a clear
44
+ validation error instead of silently loading assets from a Coras-owned CDN.
45
+
46
+ Migration: set `config.assetsUrl` on every `mount()`/`update()` call. For demos,
47
+ a sandbox origin such as `https://assets.sandbox.coras.io/shared` is a good value.
48
+
49
+ - 18f4c38: Fix the suggestion widget's layout to match the design: align the heading with
50
+ the activity cards (it was over-indented), give it more breathing room above the
51
+ carousel, and render the carousel's navigation arrows as circular buttons on
52
+ every screen size. The arrows were meant to be round but a wrong attribute name
53
+ left them as rounded rectangles.
54
+ - 61169d6: Render real activity cards in the suggestion widget. The widget previously
55
+ mounted with only a heading and an empty carousel - it never fetched or drew
56
+ any attractions. It now loads the distributor's landing feed, shows the
57
+ top-rated activities as attraction cards in a carousel (capped by `limit`),
58
+ takes its heading from the feed, and ends with an "explore" card (on by
59
+ default) that opens the full landing page for the location. Card clicks
60
+ navigate to the matching details page.
61
+
3
62
  ## 0.1.0
4
63
 
5
64
  ### Minor Changes
@@ -8,7 +67,7 @@
8
67
  into any web app through a single `mount()` contract: mount/ready/update/unmount,
9
68
  navigation and prefetch, host chrome, and a typed `coras:*` event stream with
10
69
  matching callbacks and runtime validation. Every framework integrates through
11
- `mount()` there is no per-framework wrapper. It themes at runtime from a shared
70
+ `mount()` - there is no per-framework wrapper. It themes at runtime from a shared
12
71
  `@coras-io/brand-tokens` `BrandConfig`, ships host routing helpers under
13
72
  `@coras-io/embed/url`, and carries per-mount observability with redaction. The
14
73
  published package is spec-compliant ESM with `types`-first exports, so it imports
package/README.md CHANGED
@@ -15,7 +15,7 @@ Next, Astro) and browser consumes it directly. To load it straight from a
15
15
  resolves bare specifiers, e.g. `https://esm.sh/@coras-io/embed`.
16
16
 
17
17
  If your host application also integrates Coinbase CDP directly, it must resolve
18
- the **same** `@coinbase/cdp-core` version as this package two copies desync
18
+ the **same** `@coinbase/cdp-core` version as this package - two copies desync
19
19
  login state until a page refresh. This dependency is deliberately pinned for
20
20
  that reason; align your version with the one in this package's `dependencies`.
21
21
 
@@ -1,4 +1,4 @@
1
- import { CSSResultGroup, LitElement } from "lit";
1
+ import { type CSSResultGroup, LitElement } from "lit";
2
2
  import "../../icon/icon.js";
3
3
  export declare class CorasAccordionItem extends LitElement {
4
4
  static styles: CSSResultGroup;
@@ -1,4 +1,4 @@
1
- import { CSSResultGroup, LitElement } from "lit";
1
+ import { type CSSResultGroup, LitElement } from "lit";
2
2
  export declare class CorasAccordion extends LitElement {
3
3
  static styles: CSSResultGroup;
4
4
  private items;
@@ -1,6 +1,6 @@
1
- import { CSSResultGroup, LitElement } from "lit";
1
+ import { type CSSResultGroup, LitElement } from "lit";
2
2
  import "../icon/icon.js";
3
- import { Variant } from "./alert.types.js";
3
+ import type { Variant } from "./alert.types.js";
4
4
  export declare class CorasAlert extends LitElement {
5
5
  static styles: CSSResultGroup;
6
6
  assetsURL: string;
@@ -1,8 +1,8 @@
1
- import { LitElement } from "lit";
2
- import { Constructor } from "../../../contexts/utils.js";
1
+ import { type LitElement } from "lit";
2
+ import type { Constructor } from "../../../contexts/utils.js";
3
3
  import "../../category-tag/category-tag.js";
4
4
  import "../../marketing-tag/marketing-tag.js";
5
5
  import "../../price/price.js";
6
6
  import "../../star-rating/star-rating.js";
7
- import { AttractionCardMixinType } from "./attraction-card.types.js";
7
+ import type { AttractionCardMixinType } from "./attraction-card.types.js";
8
8
  export declare const AttractionCardMixin: <T extends Constructor<LitElement>>(superClass: T) => Constructor<AttractionCardMixinType> & T;
@@ -4,7 +4,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
4
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
5
  return c > 3 && r && Object.defineProperty(target, key, r), r;
6
6
  };
7
- import { html } from "lit";
7
+ import { html, } from "lit";
8
8
  import { property } from "lit/decorators.js";
9
9
  import { formatDateTimeForDisplay } from "../../../core/utils/datetime.js";
10
10
  import "../../category-tag/category-tag.js";
@@ -1,5 +1,5 @@
1
- import { TemplateResult } from "lit";
2
- import { allLocales } from "../../../core/i18n/locale-codes.js";
1
+ import type { TemplateResult } from "lit";
2
+ import type { allLocales } from "../../../core/i18n/locale-codes.js";
3
3
  import type { components } from "../../../core/types/api-schema.js";
4
4
  import type { CorasCategoryTag } from "../../category-tag/category-tag.js";
5
5
  export type AttractionCardLocale = (typeof allLocales)[number];
@@ -1,4 +1,4 @@
1
- import { CSSResultGroup, LitElement, TemplateResult } from "lit";
1
+ import { type CSSResultGroup, LitElement, type TemplateResult } from "lit";
2
2
  import "../../image/image.js";
3
3
  declare const CorasAttractionLongCard_base: import("../../../contexts/utils.js").Constructor<import("../base/attraction-card.types.js").AttractionCardMixinType> & typeof LitElement;
4
4
  export declare class CorasAttractionLongCard extends CorasAttractionLongCard_base {
@@ -4,7 +4,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
4
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
5
  return c > 3 && r && Object.defineProperty(target, key, r), r;
6
6
  };
7
- import { html, LitElement } from "lit";
7
+ import { html, LitElement, } from "lit";
8
8
  import { msg, localized } from "@lit/localize";
9
9
  import { AttractionCardMixin } from "../base/attraction-card.mixin.js";
10
10
  import { selectCorasImage } from "../../../core/images/selection.js";
@@ -1,4 +1,4 @@
1
- import { CSSResultGroup, TemplateResult, LitElement } from "lit";
1
+ import { type CSSResultGroup, type TemplateResult, LitElement } from "lit";
2
2
  import "../../image/image.js";
3
3
  declare const CorasAttractionShortCard_base: import("../../../contexts/utils.js").Constructor<import("../base/attraction-card.types.js").AttractionCardMixinType> & typeof LitElement;
4
4
  export declare class CorasAttractionShortCard extends CorasAttractionShortCard_base {
@@ -4,7 +4,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
4
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
5
  return c > 3 && r && Object.defineProperty(target, key, r), r;
6
6
  };
7
- import { html, LitElement } from "lit";
7
+ import { html, LitElement, } from "lit";
8
8
  import { msg, localized } from "@lit/localize";
9
9
  import { AttractionCardMixin } from "../base/attraction-card.mixin.js";
10
10
  import { selectCorasImage } from "../../../core/images/selection.js";
@@ -1,4 +1,4 @@
1
- import { CSSResultGroup, LitElement } from "lit";
1
+ import { type CSSResultGroup, LitElement } from "lit";
2
2
  import "../../image/image.js";
3
3
  export declare class CorasAttractionDiscoveryImage extends LitElement {
4
4
  static styles: CSSResultGroup;
@@ -1,4 +1,4 @@
1
- import { CSSResultGroup, LitElement } from "lit";
1
+ import { type CSSResultGroup, LitElement } from "lit";
2
2
  import "../button/button.js";
3
3
  import { AttractionDiscoveryLayout } from "./attraction-discovery.constants.js";
4
4
  export declare class CorasAttractionDiscovery extends LitElement {
@@ -1,7 +1,7 @@
1
- import { CSSResultGroup, LitElement } from "lit";
2
- import { SupportedLocales } from "../../core/types/index.js";
1
+ import { type CSSResultGroup, LitElement } from "lit";
2
+ import type { SupportedLocales } from "../../core/types/index.js";
3
3
  import "../star-rating/star-rating.js";
4
- import { components } from "../../core/types/api-schema.js";
4
+ import type { components } from "../../core/types/api-schema.js";
5
5
  /**
6
6
  * A component that displays the attraction name and key metadata.
7
7
  *
@@ -1,6 +1,6 @@
1
- import { TemplateResult } from "lit";
2
- import { components } from "../../core/types/api-schema.js";
3
- import { SupportedLocales } from "../../core/types/index.js";
1
+ import { type TemplateResult } from "lit";
2
+ import type { components } from "../../core/types/api-schema.js";
3
+ import type { SupportedLocales } from "../../core/types/index.js";
4
4
  import "../star-rating/star-rating.js";
5
5
  interface AttractionHeaderDetailsParams {
6
6
  attractionType?: components["schemas"]["AttractionEvent"]["attraction_type"];
@@ -1,4 +1,4 @@
1
- import { CSSResultGroup, LitElement } from "lit";
1
+ import { type CSSResultGroup, LitElement } from "lit";
2
2
  import "../icon/icon.js";
3
3
  export declare class CorasAttractionOption extends LitElement {
4
4
  static styles: CSSResultGroup;
@@ -1,6 +1,6 @@
1
- import { CSSResultGroup, LitElement } from "lit";
1
+ import { type CSSResultGroup, LitElement } from "lit";
2
2
  import "../button/button.js";
3
- import { SupportedCurrencies } from "../../core/types/index.js";
3
+ import type { SupportedCurrencies } from "../../core/types/index.js";
4
4
  export declare class CorasBasketItems extends LitElement {
5
5
  static styles: CSSResultGroup;
6
6
  expanded: boolean;
@@ -1,4 +1,4 @@
1
- import { CSSResultGroup, LitElement } from "lit";
1
+ import { type CSSResultGroup, LitElement } from "lit";
2
2
  export declare class CorasBasketEmpty extends LitElement {
3
3
  static styles: CSSResultGroup;
4
4
  render(): import("lit").TemplateResult<1>;
@@ -1,4 +1,4 @@
1
- import { CSSResultGroup, LitElement } from "lit";
1
+ import { type CSSResultGroup, LitElement } from "lit";
2
2
  import "../icon/icon.js";
3
3
  import "../image/image.js";
4
4
  import "../expiration-timer/expiration-timer.js";
@@ -1,4 +1,4 @@
1
- import { CSSResultGroup, LitElement } from "lit";
1
+ import { type CSSResultGroup, LitElement } from "lit";
2
2
  export declare class CorasBasketItemTicket extends LitElement {
3
3
  static styles: CSSResultGroup;
4
4
  ticketCount: number;
@@ -1,4 +1,4 @@
1
- import { CSSResultGroup, LitElement } from "lit";
1
+ import { type CSSResultGroup, LitElement } from "lit";
2
2
  export declare class CorasBasketMobile extends LitElement {
3
3
  static styles: CSSResultGroup;
4
4
  open: boolean;
@@ -1,4 +1,4 @@
1
- import { CSSResultGroup, LitElement } from "lit";
1
+ import { type CSSResultGroup, LitElement } from "lit";
2
2
  import "../pay-in/pay-in.js";
3
3
  import type { SupportedCurrencies } from "../../core/types/index.js";
4
4
  export declare class CorasBasketRewards extends LitElement {
@@ -1,4 +1,4 @@
1
- import { CSSResultGroup, LitElement } from "lit";
1
+ import { type CSSResultGroup, LitElement } from "lit";
2
2
  /**
3
3
  * @element coras-better-carousel-item
4
4
  * @slot - Default slot for item content
@@ -1,4 +1,4 @@
1
- import { CSSResultGroup, LitElement } from "lit";
1
+ import { type CSSResultGroup, LitElement } from "lit";
2
2
  import "./better-carousel-item/better-carousel-item.js";
3
3
  import "../button/button.js";
4
4
  import "../icon/icon.js";
@@ -1,4 +1,4 @@
1
- import { CSSResultGroup, LitElement, PropertyValues } from "lit";
1
+ import { type CSSResultGroup, LitElement, type PropertyValues } from "lit";
2
2
  export declare class CorasBottomDrawer extends LitElement {
3
3
  static styles: CSSResultGroup;
4
4
  open: boolean;
@@ -4,7 +4,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
4
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
5
  return c > 3 && r && Object.defineProperty(target, key, r), r;
6
6
  };
7
- import { LitElement, html } from "lit";
7
+ import { LitElement, html, } from "lit";
8
8
  import { property, state } from "lit/decorators.js";
9
9
  import styles from "./bottom-drawer.styles.js";
10
10
  import { scrollLock } from "../../core/utils/scroll-lock.js";
@@ -1,4 +1,4 @@
1
- import { CSSResultGroup, LitElement } from "lit";
1
+ import { type CSSResultGroup, LitElement } from "lit";
2
2
  export declare class CorasBreadcrumbItem extends LitElement {
3
3
  static styles: CSSResultGroup;
4
4
  clickable: boolean;
@@ -1,4 +1,4 @@
1
- import { CSSResultGroup, LitElement } from "lit";
1
+ import { type CSSResultGroup, LitElement } from "lit";
2
2
  export declare class CorasBreadcrumbs extends LitElement {
3
3
  static styles: CSSResultGroup;
4
4
  connectedCallback(): void;
@@ -1,5 +1,5 @@
1
- import { CSSResultGroup, LitElement } from "lit";
2
- import { variants, radius, height, borderColor } from "./button.constants.js";
1
+ import { type CSSResultGroup, LitElement } from "lit";
2
+ import type { variants, radius, height, borderColor } from "./button.constants.js";
3
3
  import "../loading-spinner/loading-spinner.js";
4
4
  export declare class CorasButton extends LitElement {
5
5
  static formAssociated: boolean;
@@ -1,3 +1,3 @@
1
- import { LitElement } from "lit";
2
- import { BaseCalendarMixinInterface, Constructor } from "./calendar.types.js";
1
+ import { type LitElement } from "lit";
2
+ import type { BaseCalendarMixinInterface, Constructor } from "./calendar.types.js";
3
3
  export declare const BaseCalendarMixin: <T extends Constructor<LitElement>>(superClass: T) => Constructor<BaseCalendarMixinInterface> & T;
@@ -1,5 +1,5 @@
1
- import { TemplateResult } from "lit";
2
- import { allLocales } from "../../../core/i18n/locale-codes.js";
1
+ import type { TemplateResult } from "lit";
2
+ import type { allLocales } from "../../../core/i18n/locale-codes.js";
3
3
  export type Constructor<T> = new (...args: any[]) => T;
4
4
  export declare class BaseCalendarMixinInterface {
5
5
  locale: (typeof allLocales)[number];
@@ -1,4 +1,4 @@
1
- import { CSSResultGroup, LitElement } from "lit";
1
+ import { type CSSResultGroup, LitElement } from "lit";
2
2
  import "../../icon/icon.js";
3
3
  declare const BaseCalendarLitElement: import("../base/calendar.types.js").Constructor<import("../base/calendar.types.js").BaseCalendarMixinInterface> & typeof LitElement;
4
4
  export declare class CorasDualMonthCalendar extends BaseCalendarLitElement {
@@ -1,4 +1,4 @@
1
- import { CSSResultGroup, LitElement, PropertyValues } from "lit";
1
+ import { type CSSResultGroup, LitElement, type PropertyValues } from "lit";
2
2
  import "../../icon/icon.js";
3
3
  declare const BaseCalendarLitElement: import("../base/calendar.types.js").Constructor<import("../base/calendar.types.js").BaseCalendarMixinInterface> & typeof LitElement;
4
4
  export declare class CorasMonthCalendar extends BaseCalendarLitElement {
@@ -5,7 +5,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
5
5
  return c > 3 && r && Object.defineProperty(target, key, r), r;
6
6
  };
7
7
  import { parse } from "date-fns";
8
- import { LitElement, html } from "lit";
8
+ import { LitElement, html, } from "lit";
9
9
  import { property, state } from "lit/decorators.js";
10
10
  import { title } from "../../../core/utils/text.js";
11
11
  import { localized, msg } from "@lit/localize";
@@ -1,4 +1,4 @@
1
- import { CSSResultGroup, LitElement } from "lit";
1
+ import { type CSSResultGroup, LitElement } from "lit";
2
2
  declare const BaseCalendarLitElement: import("../base/calendar.types.js").Constructor<import("../base/calendar.types.js").BaseCalendarMixinInterface> & typeof LitElement;
3
3
  export declare class CorasMultiMonthCalendar extends BaseCalendarLitElement {
4
4
  static styles: CSSResultGroup;
@@ -1,4 +1,4 @@
1
- import { CSSResultGroup, LitElement, TemplateResult } from "lit";
1
+ import { type CSSResultGroup, LitElement, type TemplateResult } from "lit";
2
2
  import "../../button/button.js";
3
3
  import "../../image/image.js";
4
4
  import { CarouselItemType } from "./carousel-item.constants.js";
@@ -4,7 +4,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
4
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
5
  return c > 3 && r && Object.defineProperty(target, key, r), r;
6
6
  };
7
- import { LitElement, html } from "lit";
7
+ import { LitElement, html, } from "lit";
8
8
  import { property } from "lit/decorators.js";
9
9
  import { localized, msg } from "@lit/localize";
10
10
  import "../../button/button.js";
@@ -1,4 +1,4 @@
1
- import { CSSResultGroup, LitElement } from "lit";
1
+ import { type CSSResultGroup, LitElement } from "lit";
2
2
  import "../button/button.js";
3
3
  import "../icon/icon.js";
4
4
  export declare class CorasCarousel extends LitElement {
@@ -79,7 +79,7 @@ export class CorasCarousel extends LitElement {
79
79
  id="btn-left"
80
80
  part="btn-left"
81
81
  class=${classMap(leftBtnClasses)}
82
- circle
82
+ radius="circle"
83
83
  variant="outlined"
84
84
  @click=${() => this.handleScrollBtnClick(-this.itemWidth)}
85
85
  ><coras-icon
@@ -91,7 +91,7 @@ export class CorasCarousel extends LitElement {
91
91
  id="btn-right"
92
92
  part="btn-right"
93
93
  class=${classMap(rightBtnClasses)}
94
- circle
94
+ radius="circle"
95
95
  variant="outlined"
96
96
  @click=${() => this.handleScrollBtnClick(this.itemWidth)}
97
97
  ><coras-icon
@@ -57,6 +57,16 @@ export default css `
57
57
  transform: translate(50%, -50%);
58
58
  }
59
59
  }
60
+
61
+ /* Force the outlined nav buttons into a true circle: equal width/height
62
+ (overriding the button's default md height) so border-radius: 50% is round
63
+ on every screen, matching the design's circular chevron controls. */
64
+ .nav-btn::part(base) {
65
+ width: 2.5rem;
66
+ height: 2.5rem;
67
+ padding: 0;
68
+ font-size: var(--coras-font-size-base);
69
+ }
60
70
  }
61
71
 
62
72
  .footer {
@@ -1,5 +1,5 @@
1
- import { LitElement, CSSResultGroup } from "lit";
2
- import { components } from "../../core/types/api-schema.js";
1
+ import { LitElement, type CSSResultGroup } from "lit";
2
+ import type { components } from "../../core/types/api-schema.js";
3
3
  import "../checkbox/checkbox.js";
4
4
  import "../checkbox-group/checkbox-group.js";
5
5
  export declare class CorasCategoriesTree extends LitElement {
@@ -1,6 +1,6 @@
1
- import { CSSResultGroup, LitElement } from "lit";
1
+ import { type CSSResultGroup, LitElement } from "lit";
2
2
  import "../icon/icon.js";
3
- import { Variants } from "./category-tag.types.js";
3
+ import type { Variants } from "./category-tag.types.js";
4
4
  export declare class CorasCategoryTag extends LitElement {
5
5
  static styles: CSSResultGroup;
6
6
  assetsURL: string;
@@ -1,4 +1,4 @@
1
- import { IconName } from "../icon/icon.types.js";
1
+ import type { IconName } from "../icon/icon.types.js";
2
2
  export type AttractionCategory = "activity" | "music" | "sport" | "theatre";
3
3
  export type Variants = {
4
4
  [K in Extract<IconName, AttractionCategory>]: {
@@ -1,4 +1,4 @@
1
- import { CSSResultGroup, LitElement } from "lit";
1
+ import { type CSSResultGroup, LitElement } from "lit";
2
2
  import { CheckboxVariants } from "./checkbox.constants.js";
3
3
  export declare class CorasCheckbox extends LitElement {
4
4
  static styles: CSSResultGroup;
@@ -1,4 +1,4 @@
1
- import { CSSResultGroup, LitElement } from "lit";
1
+ import { type CSSResultGroup, LitElement } from "lit";
2
2
  import "../checkbox/checkbox.js";
3
3
  export declare class CorasCheckboxGroup extends LitElement {
4
4
  static styles: CSSResultGroup;
@@ -1,4 +1,4 @@
1
- import { CheckboxVariants } from "../checkbox/checkbox.constants.js";
1
+ import type { CheckboxVariants } from "../checkbox/checkbox.constants.js";
2
2
  export type Checkbox = {
3
3
  label: string;
4
4
  value: string;
@@ -1,7 +1,7 @@
1
- import { CSSResultGroup, LitElement } from "lit";
1
+ import { type CSSResultGroup, LitElement } from "lit";
2
2
  import "../button/button.js";
3
3
  import "../icon/icon.js";
4
- import { variants } from "./chip.constants.js";
4
+ import type { variants } from "./chip.constants.js";
5
5
  export declare class CorasChip extends LitElement {
6
6
  static styles: CSSResultGroup;
7
7
  assetsURL: string;
@@ -1,4 +1,4 @@
1
- import { CSSResultGroup, LitElement } from "lit";
1
+ import { type CSSResultGroup, LitElement } from "lit";
2
2
  import "../button/button.js";
3
3
  export declare class CorasCollectFida extends LitElement {
4
4
  static styles: CSSResultGroup;
@@ -1,4 +1,4 @@
1
- import { CSSResultGroup, LitElement, PropertyValues } from "lit";
1
+ import { type CSSResultGroup, LitElement, type PropertyValues } from "lit";
2
2
  import "../button/button.js";
3
3
  import "../dialog/dialog.js";
4
4
  import "../icon/icon.js";
@@ -46,7 +46,7 @@ export interface CryptoAuthModalEvents {
46
46
  * A modal component for FIDA (crypto) 2-factor authentication.
47
47
  * Handles email OTP login and SMS MFA enrollment.
48
48
  *
49
- * This is a pure view component all business logic is handled by the parent.
49
+ * This is a pure view component - all business logic is handled by the parent.
50
50
  * Events listed below are internal and do not cross the host shadow boundary.
51
51
  *
52
52
  * @fires email-changed - When user types in the email field
@@ -4,7 +4,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
4
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
5
  return c > 3 && r && Object.defineProperty(target, key, r), r;
6
6
  };
7
- import { html, LitElement, nothing } from "lit";
7
+ import { html, LitElement, nothing, } from "lit";
8
8
  import { property, state } from "lit/decorators.js";
9
9
  import { localized, msg } from "@lit/localize";
10
10
  import styles from "./crypto-auth-modal.styles.js";
@@ -20,7 +20,7 @@ import { fireInternalEvent } from "../../core/events.js";
20
20
  * A modal component for FIDA (crypto) 2-factor authentication.
21
21
  * Handles email OTP login and SMS MFA enrollment.
22
22
  *
23
- * This is a pure view component all business logic is handled by the parent.
23
+ * This is a pure view component - all business logic is handled by the parent.
24
24
  * Events listed below are internal and do not cross the host shadow boundary.
25
25
  *
26
26
  * @fires email-changed - When user types in the email field
@@ -1,7 +1,7 @@
1
- import { CSSResultGroup, LitElement, TemplateResult } from "lit";
1
+ import { type CSSResultGroup, LitElement, type TemplateResult } from "lit";
2
2
  import "../select-list/select-list.js";
3
3
  import "../select-list/select-option/select-option.js";
4
- import { Currency } from "../../core/types/currencies.js";
4
+ import type { Currency } from "../../core/types/currencies.js";
5
5
  export declare class CorasCurrenciesList extends LitElement {
6
6
  static styles: CSSResultGroup;
7
7
  spacious: boolean;
@@ -5,7 +5,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
5
5
  return c > 3 && r && Object.defineProperty(target, key, r), r;
6
6
  };
7
7
  import { localized, msg } from "@lit/localize";
8
- import { LitElement, html } from "lit";
8
+ import { LitElement, html, } from "lit";
9
9
  import { property } from "lit/decorators.js";
10
10
  import styles from "./currencies-list.styles.js";
11
11
  import "../select-list/select-list.js";
@@ -1,4 +1,4 @@
1
- import { CSSResultGroup, LitElement, nothing } from "lit";
1
+ import { type CSSResultGroup, LitElement, nothing } from "lit";
2
2
  /**
3
3
  * A unified dialog component that displays content in a modal overlay.
4
4
  *
@@ -65,5 +65,5 @@ export declare class CorasDialog extends LitElement {
65
65
  private _handleCloseClick;
66
66
  private _handleBackClick;
67
67
  private _emitClose;
68
- render(): import("lit").TemplateResult<1> | typeof nothing;
68
+ render(): typeof nothing | import("lit").TemplateResult<1>;
69
69
  }
@@ -1,4 +1,4 @@
1
- import { CSSResultGroup, LitElement, PropertyValues } from "lit";
1
+ import { type CSSResultGroup, LitElement, type PropertyValues } from "lit";
2
2
  import "../icon/icon.js";
3
3
  declare const CorasDrawer_base: import("../../mixins/overlay/types.js").Constructor<import("../../mixins/overlay/types.js").OverlayMixinInterface> & typeof LitElement;
4
4
  export declare class CorasDrawer extends CorasDrawer_base {
@@ -5,7 +5,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
5
5
  return c > 3 && r && Object.defineProperty(target, key, r), r;
6
6
  };
7
7
  import { localized, msg } from "@lit/localize";
8
- import { LitElement, html } from "lit";
8
+ import { LitElement, html, } from "lit";
9
9
  import { property } from "lit/decorators.js";
10
10
  import { classMap } from "lit/directives/class-map.js";
11
11
  import "../icon/icon.js";
@@ -1,4 +1,4 @@
1
- import { CSSResultGroup, LitElement, PropertyValues } from "lit";
1
+ import { type CSSResultGroup, LitElement, type PropertyValues } from "lit";
2
2
  export declare class CorasDropdown extends LitElement {
3
3
  static styles: CSSResultGroup;
4
4
  private trigger;
@@ -5,7 +5,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
5
5
  return c > 3 && r && Object.defineProperty(target, key, r), r;
6
6
  };
7
7
  import { autoUpdate, computePosition, flip, offset, shift, arrow, size, } from "@floating-ui/dom";
8
- import { LitElement, html } from "lit";
8
+ import { LitElement, html, } from "lit";
9
9
  import { property, query, state } from "lit/decorators.js";
10
10
  import styles from "./dropdown.styles.js";
11
11
  import { fireInternalEvent } from "../../core/events.js";