@travel-match/ui 0.0.0-stage → 0.1.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 (700) hide show
  1. package/README.md +148 -2
  2. package/dist/_virtual/_rolldown/runtime.cjs +1 -0
  3. package/dist/components/AccountMenu/AccountMenu.cjs +2 -0
  4. package/dist/components/AccountMenu/AccountMenu.cjs.map +1 -0
  5. package/dist/components/AccountMenu/AccountMenu.js +164 -0
  6. package/dist/components/AccountMenu/AccountMenu.js.map +1 -0
  7. package/dist/components/AccountSheet/AccountSheet.cjs +2 -0
  8. package/dist/components/AccountSheet/AccountSheet.cjs.map +1 -0
  9. package/dist/components/AccountSheet/AccountSheet.js +76 -0
  10. package/dist/components/AccountSheet/AccountSheet.js.map +1 -0
  11. package/dist/components/AgenciesFilter/AgenciesFilter.cjs +2 -0
  12. package/dist/components/AgenciesFilter/AgenciesFilter.cjs.map +1 -0
  13. package/dist/components/AgenciesFilter/AgenciesFilter.js +50 -0
  14. package/dist/components/AgenciesFilter/AgenciesFilter.js.map +1 -0
  15. package/dist/components/AgencyCard/AgencyCard.cjs +2 -0
  16. package/dist/components/AgencyCard/AgencyCard.cjs.map +1 -0
  17. package/dist/components/AgencyCard/AgencyCard.js +129 -0
  18. package/dist/components/AgencyCard/AgencyCard.js.map +1 -0
  19. package/dist/components/AgencyLogo/AgencyLogo.cjs +2 -0
  20. package/dist/components/AgencyLogo/AgencyLogo.cjs.map +1 -0
  21. package/dist/components/AgencyLogo/AgencyLogo.js +45 -0
  22. package/dist/components/AgencyLogo/AgencyLogo.js.map +1 -0
  23. package/dist/components/AgencyOfferCard/AgencyOfferCard.cjs +2 -0
  24. package/dist/components/AgencyOfferCard/AgencyOfferCard.cjs.map +1 -0
  25. package/dist/components/AgencyOfferCard/AgencyOfferCard.js +200 -0
  26. package/dist/components/AgencyOfferCard/AgencyOfferCard.js.map +1 -0
  27. package/dist/components/BackLink/BackLink.cjs +2 -0
  28. package/dist/components/BackLink/BackLink.cjs.map +1 -0
  29. package/dist/components/BackLink/BackLink.js +27 -0
  30. package/dist/components/BackLink/BackLink.js.map +1 -0
  31. package/dist/components/Breadcrumb/Breadcrumb.cjs +2 -0
  32. package/dist/components/Breadcrumb/Breadcrumb.cjs.map +1 -0
  33. package/dist/components/Breadcrumb/Breadcrumb.js +56 -0
  34. package/dist/components/Breadcrumb/Breadcrumb.js.map +1 -0
  35. package/dist/components/BudgetField/BudgetField.cjs +2 -0
  36. package/dist/components/BudgetField/BudgetField.cjs.map +1 -0
  37. package/dist/components/BudgetField/BudgetField.js +117 -0
  38. package/dist/components/BudgetField/BudgetField.js.map +1 -0
  39. package/dist/components/Button/Button.cjs +2 -0
  40. package/dist/components/Button/Button.cjs.map +1 -0
  41. package/dist/components/Button/Button.js +38 -0
  42. package/dist/components/Button/Button.js.map +1 -0
  43. package/dist/components/Calendar/Calendar.cjs +2 -0
  44. package/dist/components/Calendar/Calendar.cjs.map +1 -0
  45. package/dist/components/Calendar/Calendar.js +229 -0
  46. package/dist/components/Calendar/Calendar.js.map +1 -0
  47. package/dist/components/Calendar/dateUtils.cjs +2 -0
  48. package/dist/components/Calendar/dateUtils.cjs.map +1 -0
  49. package/dist/components/Calendar/dateUtils.js +211 -0
  50. package/dist/components/Calendar/dateUtils.js.map +1 -0
  51. package/dist/components/CalendarDay/CalendarDay.cjs +2 -0
  52. package/dist/components/CalendarDay/CalendarDay.cjs.map +1 -0
  53. package/dist/components/CalendarDay/CalendarDay.js +41 -0
  54. package/dist/components/CalendarDay/CalendarDay.js.map +1 -0
  55. package/dist/components/Checkbox/Checkbox.cjs +2 -0
  56. package/dist/components/Checkbox/Checkbox.cjs.map +1 -0
  57. package/dist/components/Checkbox/Checkbox.js +31 -0
  58. package/dist/components/Checkbox/Checkbox.js.map +1 -0
  59. package/dist/components/ChoiceChip/ChoiceChip.cjs +2 -0
  60. package/dist/components/ChoiceChip/ChoiceChip.cjs.map +1 -0
  61. package/dist/components/ChoiceChip/ChoiceChip.js +92 -0
  62. package/dist/components/ChoiceChip/ChoiceChip.js.map +1 -0
  63. package/dist/components/ConfirmationDialog/ConfirmationDialog.cjs +2 -0
  64. package/dist/components/ConfirmationDialog/ConfirmationDialog.cjs.map +1 -0
  65. package/dist/components/ConfirmationDialog/ConfirmationDialog.js +74 -0
  66. package/dist/components/ConfirmationDialog/ConfirmationDialog.js.map +1 -0
  67. package/dist/components/CtaRequestFlow/CtaRequestFlow.cjs +2 -0
  68. package/dist/components/CtaRequestFlow/CtaRequestFlow.cjs.map +1 -0
  69. package/dist/components/CtaRequestFlow/CtaRequestFlow.js +86 -0
  70. package/dist/components/CtaRequestFlow/CtaRequestFlow.js.map +1 -0
  71. package/dist/components/CtaRequestFlow/DotMap.cjs +2 -0
  72. package/dist/components/CtaRequestFlow/DotMap.cjs.map +1 -0
  73. package/dist/components/CtaRequestFlow/DotMap.js +31 -0
  74. package/dist/components/CtaRequestFlow/DotMap.js.map +1 -0
  75. package/dist/components/CtaSentence/CtaSentence.cjs +2 -0
  76. package/dist/components/CtaSentence/CtaSentence.cjs.map +1 -0
  77. package/dist/components/CtaSentence/CtaSentence.js +97 -0
  78. package/dist/components/CtaSentence/CtaSentence.js.map +1 -0
  79. package/dist/components/CurrencySelect/CurrencySelect.cjs +2 -0
  80. package/dist/components/CurrencySelect/CurrencySelect.cjs.map +1 -0
  81. package/dist/components/CurrencySelect/CurrencySelect.js +24 -0
  82. package/dist/components/CurrencySelect/CurrencySelect.js.map +1 -0
  83. package/dist/components/DateField/DateField.cjs +2 -0
  84. package/dist/components/DateField/DateField.cjs.map +1 -0
  85. package/dist/components/DateField/DateField.js +55 -0
  86. package/dist/components/DateField/DateField.js.map +1 -0
  87. package/dist/components/DatePicker/DatePicker.cjs +2 -0
  88. package/dist/components/DatePicker/DatePicker.cjs.map +1 -0
  89. package/dist/components/DatePicker/DatePicker.js +85 -0
  90. package/dist/components/DatePicker/DatePicker.js.map +1 -0
  91. package/dist/components/DatePicker/pickerParts.cjs +2 -0
  92. package/dist/components/DatePicker/pickerParts.cjs.map +1 -0
  93. package/dist/components/DatePicker/pickerParts.js +83 -0
  94. package/dist/components/DatePicker/pickerParts.js.map +1 -0
  95. package/dist/components/DatePickerSheet/DatePickerSheet.cjs +2 -0
  96. package/dist/components/DatePickerSheet/DatePickerSheet.cjs.map +1 -0
  97. package/dist/components/DatePickerSheet/DatePickerSheet.js +85 -0
  98. package/dist/components/DatePickerSheet/DatePickerSheet.js.map +1 -0
  99. package/dist/components/DateRangePicker/DateRangePicker.cjs +2 -0
  100. package/dist/components/DateRangePicker/DateRangePicker.cjs.map +1 -0
  101. package/dist/components/DateRangePicker/DateRangePicker.js +134 -0
  102. package/dist/components/DateRangePicker/DateRangePicker.js.map +1 -0
  103. package/dist/components/DestinationAccordion/DestinationAccordion.cjs +2 -0
  104. package/dist/components/DestinationAccordion/DestinationAccordion.cjs.map +1 -0
  105. package/dist/components/DestinationAccordion/DestinationAccordion.js +56 -0
  106. package/dist/components/DestinationAccordion/DestinationAccordion.js.map +1 -0
  107. package/dist/components/Destinations/Destinations.cjs +2 -0
  108. package/dist/components/Destinations/Destinations.cjs.map +1 -0
  109. package/dist/components/Destinations/Destinations.js +66 -0
  110. package/dist/components/Destinations/Destinations.js.map +1 -0
  111. package/dist/components/Dialog/Dialog.cjs +2 -0
  112. package/dist/components/Dialog/Dialog.cjs.map +1 -0
  113. package/dist/components/Dialog/Dialog.js +98 -0
  114. package/dist/components/Dialog/Dialog.js.map +1 -0
  115. package/dist/components/Divider/Divider.cjs +2 -0
  116. package/dist/components/Divider/Divider.cjs.map +1 -0
  117. package/dist/components/Divider/Divider.js +31 -0
  118. package/dist/components/Divider/Divider.js.map +1 -0
  119. package/dist/components/EmptyState/EmptyState.cjs +2 -0
  120. package/dist/components/EmptyState/EmptyState.cjs.map +1 -0
  121. package/dist/components/EmptyState/EmptyState.js +40 -0
  122. package/dist/components/EmptyState/EmptyState.js.map +1 -0
  123. package/dist/components/ErrorState/ErrorState.cjs +2 -0
  124. package/dist/components/ErrorState/ErrorState.cjs.map +1 -0
  125. package/dist/components/ErrorState/ErrorState.js +21 -0
  126. package/dist/components/ErrorState/ErrorState.js.map +1 -0
  127. package/dist/components/ExampleRequests/ExampleRequests.cjs +2 -0
  128. package/dist/components/ExampleRequests/ExampleRequests.cjs.map +1 -0
  129. package/dist/components/ExampleRequests/ExampleRequests.js +97 -0
  130. package/dist/components/ExampleRequests/ExampleRequests.js.map +1 -0
  131. package/dist/components/FaqItem/FaqItem.cjs +2 -0
  132. package/dist/components/FaqItem/FaqItem.cjs.map +1 -0
  133. package/dist/components/FaqItem/FaqItem.js +63 -0
  134. package/dist/components/FaqItem/FaqItem.js.map +1 -0
  135. package/dist/components/Field/Field.cjs +2 -0
  136. package/dist/components/Field/Field.cjs.map +1 -0
  137. package/dist/components/Field/Field.js +75 -0
  138. package/dist/components/Field/Field.js.map +1 -0
  139. package/dist/components/Field/focusControl.cjs +2 -0
  140. package/dist/components/Field/focusControl.cjs.map +1 -0
  141. package/dist/components/Field/focusControl.js +11 -0
  142. package/dist/components/Field/focusControl.js.map +1 -0
  143. package/dist/components/FilterChips/FilterChips.cjs +2 -0
  144. package/dist/components/FilterChips/FilterChips.cjs.map +1 -0
  145. package/dist/components/FilterChips/FilterChips.js +19 -0
  146. package/dist/components/FilterChips/FilterChips.js.map +1 -0
  147. package/dist/components/FormProgress/FormProgress.cjs +2 -0
  148. package/dist/components/FormProgress/FormProgress.cjs.map +1 -0
  149. package/dist/components/FormProgress/FormProgress.js +54 -0
  150. package/dist/components/FormProgress/FormProgress.js.map +1 -0
  151. package/dist/components/HeaderItem/HeaderItem.cjs +2 -0
  152. package/dist/components/HeaderItem/HeaderItem.cjs.map +1 -0
  153. package/dist/components/HeaderItem/HeaderItem.js +19 -0
  154. package/dist/components/HeaderItem/HeaderItem.js.map +1 -0
  155. package/dist/components/HelpQuestionCard/HelpQuestionCard.cjs +2 -0
  156. package/dist/components/HelpQuestionCard/HelpQuestionCard.cjs.map +1 -0
  157. package/dist/components/HelpQuestionCard/HelpQuestionCard.js +35 -0
  158. package/dist/components/HelpQuestionCard/HelpQuestionCard.js.map +1 -0
  159. package/dist/components/HeroColumns/HeroColumns.cjs +2 -0
  160. package/dist/components/HeroColumns/HeroColumns.cjs.map +1 -0
  161. package/dist/components/HeroColumns/HeroColumns.js +73 -0
  162. package/dist/components/HeroColumns/HeroColumns.js.map +1 -0
  163. package/dist/components/HeroColumns/heroMotion.cjs +2 -0
  164. package/dist/components/HeroColumns/heroMotion.cjs.map +1 -0
  165. package/dist/components/HeroColumns/heroMotion.js +68 -0
  166. package/dist/components/HeroColumns/heroMotion.js.map +1 -0
  167. package/dist/components/HeroMap/HeroMap.cjs +2 -0
  168. package/dist/components/HeroMap/HeroMap.cjs.map +1 -0
  169. package/dist/components/HeroMap/HeroMap.js +152 -0
  170. package/dist/components/HeroMap/HeroMap.js.map +1 -0
  171. package/dist/components/HeroMap/mapDots.cjs +2 -0
  172. package/dist/components/HeroMap/mapDots.cjs.map +1 -0
  173. package/dist/components/HeroMap/mapDots.js +15 -0
  174. package/dist/components/HeroMap/mapDots.js.map +1 -0
  175. package/dist/components/HeroOrbit/HeroOrbit.cjs +2 -0
  176. package/dist/components/HeroOrbit/HeroOrbit.cjs.map +1 -0
  177. package/dist/components/HeroOrbit/HeroOrbit.js +108 -0
  178. package/dist/components/HeroOrbit/HeroOrbit.js.map +1 -0
  179. package/dist/components/HeroSwitcher/HeroSwitcher.cjs +2 -0
  180. package/dist/components/HeroSwitcher/HeroSwitcher.cjs.map +1 -0
  181. package/dist/components/HeroSwitcher/HeroSwitcher.js +186 -0
  182. package/dist/components/HeroSwitcher/HeroSwitcher.js.map +1 -0
  183. package/dist/components/HowItWorksSteps/HowItWorksSteps.cjs +2 -0
  184. package/dist/components/HowItWorksSteps/HowItWorksSteps.cjs.map +1 -0
  185. package/dist/components/HowItWorksSteps/HowItWorksSteps.js +163 -0
  186. package/dist/components/HowItWorksSteps/HowItWorksSteps.js.map +1 -0
  187. package/dist/components/IconButton/IconButton.cjs +2 -0
  188. package/dist/components/IconButton/IconButton.cjs.map +1 -0
  189. package/dist/components/IconButton/IconButton.js +19 -0
  190. package/dist/components/IconButton/IconButton.js.map +1 -0
  191. package/dist/components/IconTile/IconTile.cjs +2 -0
  192. package/dist/components/IconTile/IconTile.cjs.map +1 -0
  193. package/dist/components/IconTile/IconTile.js +19 -0
  194. package/dist/components/IconTile/IconTile.js.map +1 -0
  195. package/dist/components/InclusionIndicator/InclusionIndicator.cjs +2 -0
  196. package/dist/components/InclusionIndicator/InclusionIndicator.cjs.map +1 -0
  197. package/dist/components/InclusionIndicator/InclusionIndicator.js +46 -0
  198. package/dist/components/InclusionIndicator/InclusionIndicator.js.map +1 -0
  199. package/dist/components/InlineAlert/InlineAlert.cjs +2 -0
  200. package/dist/components/InlineAlert/InlineAlert.cjs.map +1 -0
  201. package/dist/components/InlineAlert/InlineAlert.js +41 -0
  202. package/dist/components/InlineAlert/InlineAlert.js.map +1 -0
  203. package/dist/components/LanguageSelect/LanguageSelect.cjs +2 -0
  204. package/dist/components/LanguageSelect/LanguageSelect.cjs.map +1 -0
  205. package/dist/components/LanguageSelect/LanguageSelect.js +25 -0
  206. package/dist/components/LanguageSelect/LanguageSelect.js.map +1 -0
  207. package/dist/components/Logo/Logo.cjs +2 -0
  208. package/dist/components/Logo/Logo.cjs.map +1 -0
  209. package/dist/components/Logo/Logo.js +33 -0
  210. package/dist/components/Logo/Logo.js.map +1 -0
  211. package/dist/components/Logo/LogoArtwork.cjs +2 -0
  212. package/dist/components/Logo/LogoArtwork.cjs.map +1 -0
  213. package/dist/components/Logo/LogoArtwork.js +62 -0
  214. package/dist/components/Logo/LogoArtwork.js.map +1 -0
  215. package/dist/components/NewRequestOverlay/NewRequestOverlay.cjs +2 -0
  216. package/dist/components/NewRequestOverlay/NewRequestOverlay.cjs.map +1 -0
  217. package/dist/components/NewRequestOverlay/NewRequestOverlay.js +112 -0
  218. package/dist/components/NewRequestOverlay/NewRequestOverlay.js.map +1 -0
  219. package/dist/components/NotificationItem/NotificationItem.cjs +2 -0
  220. package/dist/components/NotificationItem/NotificationItem.cjs.map +1 -0
  221. package/dist/components/NotificationItem/NotificationItem.js +66 -0
  222. package/dist/components/NotificationItem/NotificationItem.js.map +1 -0
  223. package/dist/components/NotificationsButton/NotificationsButton.cjs +2 -0
  224. package/dist/components/NotificationsButton/NotificationsButton.cjs.map +1 -0
  225. package/dist/components/NotificationsButton/NotificationsButton.js +25 -0
  226. package/dist/components/NotificationsButton/NotificationsButton.js.map +1 -0
  227. package/dist/components/NotificationsDropdown/NotificationsDropdown.cjs +2 -0
  228. package/dist/components/NotificationsDropdown/NotificationsDropdown.cjs.map +1 -0
  229. package/dist/components/NotificationsDropdown/NotificationsDropdown.js +87 -0
  230. package/dist/components/NotificationsDropdown/NotificationsDropdown.js.map +1 -0
  231. package/dist/components/NotificationsDropdown/NotificationsMenu.cjs +2 -0
  232. package/dist/components/NotificationsDropdown/NotificationsMenu.cjs.map +1 -0
  233. package/dist/components/NotificationsDropdown/NotificationsMenu.js +52 -0
  234. package/dist/components/NotificationsDropdown/NotificationsMenu.js.map +1 -0
  235. package/dist/components/NotificationsPanel/NotificationsPanel.cjs +2 -0
  236. package/dist/components/NotificationsPanel/NotificationsPanel.cjs.map +1 -0
  237. package/dist/components/NotificationsPanel/NotificationsPanel.js +95 -0
  238. package/dist/components/NotificationsPanel/NotificationsPanel.js.map +1 -0
  239. package/dist/components/OfferComparison/OfferComparison.cjs +2 -0
  240. package/dist/components/OfferComparison/OfferComparison.cjs.map +1 -0
  241. package/dist/components/OfferComparison/OfferComparison.js +72 -0
  242. package/dist/components/OfferComparison/OfferComparison.js.map +1 -0
  243. package/dist/components/OptionList/OptionList.cjs +2 -0
  244. package/dist/components/OptionList/OptionList.cjs.map +1 -0
  245. package/dist/components/OptionList/OptionList.js +76 -0
  246. package/dist/components/OptionList/OptionList.js.map +1 -0
  247. package/dist/components/PackageAnimation/PackageAnimation.cjs +2 -0
  248. package/dist/components/PackageAnimation/PackageAnimation.cjs.map +1 -0
  249. package/dist/components/PackageAnimation/PackageAnimation.js +67 -0
  250. package/dist/components/PackageAnimation/PackageAnimation.js.map +1 -0
  251. package/dist/components/PackageCard/PackageCard.cjs +2 -0
  252. package/dist/components/PackageCard/PackageCard.cjs.map +1 -0
  253. package/dist/components/PackageCard/PackageCard.js +179 -0
  254. package/dist/components/PackageCard/PackageCard.js.map +1 -0
  255. package/dist/components/PackageCard/PackageCardElement.cjs +2 -0
  256. package/dist/components/PackageCard/PackageCardElement.cjs.map +1 -0
  257. package/dist/components/PackageCard/PackageCardElement.js +24 -0
  258. package/dist/components/PackageCard/PackageCardElement.js.map +1 -0
  259. package/dist/components/Pagination/Pagination.cjs +2 -0
  260. package/dist/components/Pagination/Pagination.cjs.map +1 -0
  261. package/dist/components/Pagination/Pagination.js +55 -0
  262. package/dist/components/Pagination/Pagination.js.map +1 -0
  263. package/dist/components/PartnerCard/PartnerCard.cjs +2 -0
  264. package/dist/components/PartnerCard/PartnerCard.cjs.map +1 -0
  265. package/dist/components/PartnerCard/PartnerCard.js +62 -0
  266. package/dist/components/PartnerCard/PartnerCard.js.map +1 -0
  267. package/dist/components/PartnerCarousel/AutoplayToggle.cjs +2 -0
  268. package/dist/components/PartnerCarousel/AutoplayToggle.cjs.map +1 -0
  269. package/dist/components/PartnerCarousel/AutoplayToggle.js +36 -0
  270. package/dist/components/PartnerCarousel/AutoplayToggle.js.map +1 -0
  271. package/dist/components/PartnerCarousel/PartnerCarousel.cjs +2 -0
  272. package/dist/components/PartnerCarousel/PartnerCarousel.cjs.map +1 -0
  273. package/dist/components/PartnerCarousel/PartnerCarousel.js +162 -0
  274. package/dist/components/PartnerCarousel/PartnerCarousel.js.map +1 -0
  275. package/dist/components/PartnerCarousel/autoplay.cjs +2 -0
  276. package/dist/components/PartnerCarousel/autoplay.cjs.map +1 -0
  277. package/dist/components/PartnerCarousel/autoplay.js +71 -0
  278. package/dist/components/PartnerCarousel/autoplay.js.map +1 -0
  279. package/dist/components/PasswordStrength/PasswordStrength.cjs +2 -0
  280. package/dist/components/PasswordStrength/PasswordStrength.cjs.map +1 -0
  281. package/dist/components/PasswordStrength/PasswordStrength.js +51 -0
  282. package/dist/components/PasswordStrength/PasswordStrength.js.map +1 -0
  283. package/dist/components/PhoneInput/PhoneInput.cjs +2 -0
  284. package/dist/components/PhoneInput/PhoneInput.cjs.map +1 -0
  285. package/dist/components/PhoneInput/PhoneInput.js +86 -0
  286. package/dist/components/PhoneInput/PhoneInput.js.map +1 -0
  287. package/dist/components/PhotoAccordion/PhotoAccordion.cjs +2 -0
  288. package/dist/components/PhotoAccordion/PhotoAccordion.cjs.map +1 -0
  289. package/dist/components/PhotoAccordion/PhotoAccordion.js +78 -0
  290. package/dist/components/PhotoAccordion/PhotoAccordion.js.map +1 -0
  291. package/dist/components/PlansPicker/PlansPicker.cjs +2 -0
  292. package/dist/components/PlansPicker/PlansPicker.cjs.map +1 -0
  293. package/dist/components/PlansPicker/PlansPicker.js +107 -0
  294. package/dist/components/PlansPicker/PlansPicker.js.map +1 -0
  295. package/dist/components/PopularQuestions/PopularQuestions.cjs +2 -0
  296. package/dist/components/PopularQuestions/PopularQuestions.cjs.map +1 -0
  297. package/dist/components/PopularQuestions/PopularQuestions.js +64 -0
  298. package/dist/components/PopularQuestions/PopularQuestions.js.map +1 -0
  299. package/dist/components/PortalFooter/PortalFooter.cjs +2 -0
  300. package/dist/components/PortalFooter/PortalFooter.cjs.map +1 -0
  301. package/dist/components/PortalFooter/PortalFooter.js +31 -0
  302. package/dist/components/PortalFooter/PortalFooter.js.map +1 -0
  303. package/dist/components/PortalHeader/PortalHeader.cjs +2 -0
  304. package/dist/components/PortalHeader/PortalHeader.cjs.map +1 -0
  305. package/dist/components/PortalHeader/PortalHeader.js +139 -0
  306. package/dist/components/PortalHeader/PortalHeader.js.map +1 -0
  307. package/dist/components/QuantityStepper/QuantityStepper.cjs +2 -0
  308. package/dist/components/QuantityStepper/QuantityStepper.cjs.map +1 -0
  309. package/dist/components/QuantityStepper/QuantityStepper.js +47 -0
  310. package/dist/components/QuantityStepper/QuantityStepper.js.map +1 -0
  311. package/dist/components/Radio/Radio.cjs +2 -0
  312. package/dist/components/Radio/Radio.cjs.map +1 -0
  313. package/dist/components/Radio/Radio.js +70 -0
  314. package/dist/components/Radio/Radio.js.map +1 -0
  315. package/dist/components/Rating/Rating.cjs +2 -0
  316. package/dist/components/Rating/Rating.cjs.map +1 -0
  317. package/dist/components/Rating/Rating.js +26 -0
  318. package/dist/components/Rating/Rating.js.map +1 -0
  319. package/dist/components/RequestCard/RequestCard.cjs +2 -0
  320. package/dist/components/RequestCard/RequestCard.cjs.map +1 -0
  321. package/dist/components/RequestCard/RequestCard.js +93 -0
  322. package/dist/components/RequestCard/RequestCard.js.map +1 -0
  323. package/dist/components/RequestStatus/RequestStatus.cjs +2 -0
  324. package/dist/components/RequestStatus/RequestStatus.cjs.map +1 -0
  325. package/dist/components/RequestStatus/RequestStatus.js +61 -0
  326. package/dist/components/RequestStatus/RequestStatus.js.map +1 -0
  327. package/dist/components/RequestStatusTimeline/RequestStatusTimeline.cjs +2 -0
  328. package/dist/components/RequestStatusTimeline/RequestStatusTimeline.cjs.map +1 -0
  329. package/dist/components/RequestStatusTimeline/RequestStatusTimeline.js +58 -0
  330. package/dist/components/RequestStatusTimeline/RequestStatusTimeline.js.map +1 -0
  331. package/dist/components/RequestSummary/RequestSummary.cjs +2 -0
  332. package/dist/components/RequestSummary/RequestSummary.cjs.map +1 -0
  333. package/dist/components/RequestSummary/RequestSummary.js +63 -0
  334. package/dist/components/RequestSummary/RequestSummary.js.map +1 -0
  335. package/dist/components/ReviewItem/ReviewItem.cjs +2 -0
  336. package/dist/components/ReviewItem/ReviewItem.cjs.map +1 -0
  337. package/dist/components/ReviewItem/ReviewItem.js +112 -0
  338. package/dist/components/ReviewItem/ReviewItem.js.map +1 -0
  339. package/dist/components/ReviewsEmptyState/ReviewsEmptyState.cjs +2 -0
  340. package/dist/components/ReviewsEmptyState/ReviewsEmptyState.cjs.map +1 -0
  341. package/dist/components/ReviewsEmptyState/ReviewsEmptyState.js +48 -0
  342. package/dist/components/ReviewsEmptyState/ReviewsEmptyState.js.map +1 -0
  343. package/dist/components/ReviewsSummary/ReviewsSummary.cjs +2 -0
  344. package/dist/components/ReviewsSummary/ReviewsSummary.cjs.map +1 -0
  345. package/dist/components/ReviewsSummary/ReviewsSummary.js +67 -0
  346. package/dist/components/ReviewsSummary/ReviewsSummary.js.map +1 -0
  347. package/dist/components/RouteField/RouteField.cjs +2 -0
  348. package/dist/components/RouteField/RouteField.cjs.map +1 -0
  349. package/dist/components/RouteField/RouteField.js +77 -0
  350. package/dist/components/RouteField/RouteField.js.map +1 -0
  351. package/dist/components/SearchInput/SearchInput.cjs +2 -0
  352. package/dist/components/SearchInput/SearchInput.cjs.map +1 -0
  353. package/dist/components/SearchInput/SearchInput.js +167 -0
  354. package/dist/components/SearchInput/SearchInput.js.map +1 -0
  355. package/dist/components/SegmentedControl/SegmentedControl.cjs +2 -0
  356. package/dist/components/SegmentedControl/SegmentedControl.cjs.map +1 -0
  357. package/dist/components/SegmentedControl/SegmentedControl.js +78 -0
  358. package/dist/components/SegmentedControl/SegmentedControl.js.map +1 -0
  359. package/dist/components/Select/Select.cjs +2 -0
  360. package/dist/components/Select/Select.cjs.map +1 -0
  361. package/dist/components/Select/Select.js +232 -0
  362. package/dist/components/Select/Select.js.map +1 -0
  363. package/dist/components/Select/SelectedItem.cjs +2 -0
  364. package/dist/components/Select/SelectedItem.cjs.map +1 -0
  365. package/dist/components/Select/SelectedItem.js +30 -0
  366. package/dist/components/Select/SelectedItem.js.map +1 -0
  367. package/dist/components/SelectSheet/SelectSheet.cjs +2 -0
  368. package/dist/components/SelectSheet/SelectSheet.cjs.map +1 -0
  369. package/dist/components/SelectSheet/SelectSheet.js +89 -0
  370. package/dist/components/SelectSheet/SelectSheet.js.map +1 -0
  371. package/dist/components/Sheet/Sheet.cjs +2 -0
  372. package/dist/components/Sheet/Sheet.cjs.map +1 -0
  373. package/dist/components/Sheet/Sheet.js +58 -0
  374. package/dist/components/Sheet/Sheet.js.map +1 -0
  375. package/dist/components/SiteFooter/SiteFooter.cjs +2 -0
  376. package/dist/components/SiteFooter/SiteFooter.cjs.map +1 -0
  377. package/dist/components/SiteFooter/SiteFooter.js +83 -0
  378. package/dist/components/SiteFooter/SiteFooter.js.map +1 -0
  379. package/dist/components/SiteFooter/footerLink.cjs +2 -0
  380. package/dist/components/SiteFooter/footerLink.cjs.map +1 -0
  381. package/dist/components/SiteFooter/footerLink.js +17 -0
  382. package/dist/components/SiteFooter/footerLink.js.map +1 -0
  383. package/dist/components/SiteHeader/SiteHeader.cjs +2 -0
  384. package/dist/components/SiteHeader/SiteHeader.cjs.map +1 -0
  385. package/dist/components/SiteHeader/SiteHeader.js +36 -0
  386. package/dist/components/SiteHeader/SiteHeader.js.map +1 -0
  387. package/dist/components/SocialButton/GoogleMark.cjs +2 -0
  388. package/dist/components/SocialButton/GoogleMark.cjs.map +1 -0
  389. package/dist/components/SocialButton/GoogleMark.js +35 -0
  390. package/dist/components/SocialButton/GoogleMark.js.map +1 -0
  391. package/dist/components/SocialButton/SocialButton.cjs +2 -0
  392. package/dist/components/SocialButton/SocialButton.cjs.map +1 -0
  393. package/dist/components/SocialButton/SocialButton.js +33 -0
  394. package/dist/components/SocialButton/SocialButton.js.map +1 -0
  395. package/dist/components/StatusTag/StatusTag.cjs +2 -0
  396. package/dist/components/StatusTag/StatusTag.cjs.map +1 -0
  397. package/dist/components/StatusTag/StatusTag.js +18 -0
  398. package/dist/components/StatusTag/StatusTag.js.map +1 -0
  399. package/dist/components/StepCard/StepCard.cjs +2 -0
  400. package/dist/components/StepCard/StepCard.cjs.map +1 -0
  401. package/dist/components/StepCard/StepCard.js +40 -0
  402. package/dist/components/StepCard/StepCard.js.map +1 -0
  403. package/dist/components/Tag/Tag.cjs +2 -0
  404. package/dist/components/Tag/Tag.cjs.map +1 -0
  405. package/dist/components/Tag/Tag.js +17 -0
  406. package/dist/components/Tag/Tag.js.map +1 -0
  407. package/dist/components/Text/Text.cjs +2 -0
  408. package/dist/components/Text/Text.cjs.map +1 -0
  409. package/dist/components/Text/Text.js +41 -0
  410. package/dist/components/Text/Text.js.map +1 -0
  411. package/dist/components/TextInput/PasswordInput.cjs +2 -0
  412. package/dist/components/TextInput/PasswordInput.cjs.map +1 -0
  413. package/dist/components/TextInput/PasswordInput.js +29 -0
  414. package/dist/components/TextInput/PasswordInput.js.map +1 -0
  415. package/dist/components/TextInput/TextInput.cjs +2 -0
  416. package/dist/components/TextInput/TextInput.cjs.map +1 -0
  417. package/dist/components/TextInput/TextInput.js +60 -0
  418. package/dist/components/TextInput/TextInput.js.map +1 -0
  419. package/dist/components/Textarea/Textarea.cjs +2 -0
  420. package/dist/components/Textarea/Textarea.cjs.map +1 -0
  421. package/dist/components/Textarea/Textarea.js +63 -0
  422. package/dist/components/Textarea/Textarea.js.map +1 -0
  423. package/dist/components/Toggle/Toggle.cjs +2 -0
  424. package/dist/components/Toggle/Toggle.cjs.map +1 -0
  425. package/dist/components/Toggle/Toggle.js +34 -0
  426. package/dist/components/Toggle/Toggle.js.map +1 -0
  427. package/dist/components/TravelerSelector/TravelerSelector.cjs +2 -0
  428. package/dist/components/TravelerSelector/TravelerSelector.cjs.map +1 -0
  429. package/dist/components/TravelerSelector/TravelerSelector.js +178 -0
  430. package/dist/components/TravelerSelector/TravelerSelector.js.map +1 -0
  431. package/dist/components/TripTypes/TripTypes.cjs +2 -0
  432. package/dist/components/TripTypes/TripTypes.cjs.map +1 -0
  433. package/dist/components/TripTypes/TripTypes.js +105 -0
  434. package/dist/components/TripTypes/TripTypes.js.map +1 -0
  435. package/dist/components/VerificationBadge/VerificationBadge.cjs +2 -0
  436. package/dist/components/VerificationBadge/VerificationBadge.cjs.map +1 -0
  437. package/dist/components/VerificationBadge/VerificationBadge.js +39 -0
  438. package/dist/components/VerificationBadge/VerificationBadge.js.map +1 -0
  439. package/dist/components/WhyTravelMatch/WhyTravelMatch.cjs +2 -0
  440. package/dist/components/WhyTravelMatch/WhyTravelMatch.cjs.map +1 -0
  441. package/dist/components/WhyTravelMatch/WhyTravelMatch.js +141 -0
  442. package/dist/components/WhyTravelMatch/WhyTravelMatch.js.map +1 -0
  443. package/dist/fonts.css +4 -0
  444. package/dist/icons/Icon.cjs +2 -0
  445. package/dist/icons/Icon.cjs.map +1 -0
  446. package/dist/icons/Icon.js +15 -0
  447. package/dist/icons/Icon.js.map +1 -0
  448. package/dist/icons/createIcon.cjs +2 -0
  449. package/dist/icons/createIcon.cjs.map +1 -0
  450. package/dist/icons/createIcon.js +72 -0
  451. package/dist/icons/createIcon.js.map +1 -0
  452. package/dist/icons/generated/AirplaneSeatIcon.cjs +2 -0
  453. package/dist/icons/generated/AirplaneSeatIcon.cjs.map +1 -0
  454. package/dist/icons/generated/AirplaneSeatIcon.js +18 -0
  455. package/dist/icons/generated/AirplaneSeatIcon.js.map +1 -0
  456. package/dist/icons/generated/BackArrowIcon.cjs +2 -0
  457. package/dist/icons/generated/BackArrowIcon.cjs.map +1 -0
  458. package/dist/icons/generated/BackArrowIcon.js +35 -0
  459. package/dist/icons/generated/BackArrowIcon.js.map +1 -0
  460. package/dist/icons/generated/BaggageIcon.cjs +2 -0
  461. package/dist/icons/generated/BaggageIcon.cjs.map +1 -0
  462. package/dist/icons/generated/BaggageIcon.js +56 -0
  463. package/dist/icons/generated/BaggageIcon.js.map +1 -0
  464. package/dist/icons/generated/BedIcon.cjs +2 -0
  465. package/dist/icons/generated/BedIcon.cjs.map +1 -0
  466. package/dist/icons/generated/BedIcon.js +92 -0
  467. package/dist/icons/generated/BedIcon.js.map +1 -0
  468. package/dist/icons/generated/BookmarkIcon.cjs +2 -0
  469. package/dist/icons/generated/BookmarkIcon.cjs.map +1 -0
  470. package/dist/icons/generated/BookmarkIcon.js +32 -0
  471. package/dist/icons/generated/BookmarkIcon.js.map +1 -0
  472. package/dist/icons/generated/BriefcaseIcon.cjs +2 -0
  473. package/dist/icons/generated/BriefcaseIcon.cjs.map +1 -0
  474. package/dist/icons/generated/BriefcaseIcon.js +25 -0
  475. package/dist/icons/generated/BriefcaseIcon.js.map +1 -0
  476. package/dist/icons/generated/CalendarIcon.cjs +2 -0
  477. package/dist/icons/generated/CalendarIcon.cjs.map +1 -0
  478. package/dist/icons/generated/CalendarIcon.js +18 -0
  479. package/dist/icons/generated/CalendarIcon.js.map +1 -0
  480. package/dist/icons/generated/CarIcon.cjs +2 -0
  481. package/dist/icons/generated/CarIcon.cjs.map +1 -0
  482. package/dist/icons/generated/CarIcon.js +111 -0
  483. package/dist/icons/generated/CarIcon.js.map +1 -0
  484. package/dist/icons/generated/CheckmarkIcon.cjs +2 -0
  485. package/dist/icons/generated/CheckmarkIcon.cjs.map +1 -0
  486. package/dist/icons/generated/CheckmarkIcon.js +18 -0
  487. package/dist/icons/generated/CheckmarkIcon.js.map +1 -0
  488. package/dist/icons/generated/CompareIcon.cjs +2 -0
  489. package/dist/icons/generated/CompareIcon.cjs.map +1 -0
  490. package/dist/icons/generated/CompareIcon.js +14 -0
  491. package/dist/icons/generated/CompareIcon.js.map +1 -0
  492. package/dist/icons/generated/DownArrowIcon.cjs +2 -0
  493. package/dist/icons/generated/DownArrowIcon.cjs.map +1 -0
  494. package/dist/icons/generated/DownArrowIcon.js +35 -0
  495. package/dist/icons/generated/DownArrowIcon.js.map +1 -0
  496. package/dist/icons/generated/EmailIcon.cjs +2 -0
  497. package/dist/icons/generated/EmailIcon.cjs.map +1 -0
  498. package/dist/icons/generated/EmailIcon.js +18 -0
  499. package/dist/icons/generated/EmailIcon.js.map +1 -0
  500. package/dist/icons/generated/ErrorCircleIcon.cjs +2 -0
  501. package/dist/icons/generated/ErrorCircleIcon.cjs.map +1 -0
  502. package/dist/icons/generated/ErrorCircleIcon.js +18 -0
  503. package/dist/icons/generated/ErrorCircleIcon.js.map +1 -0
  504. package/dist/icons/generated/EyeOpenIcon.cjs +2 -0
  505. package/dist/icons/generated/EyeOpenIcon.cjs.map +1 -0
  506. package/dist/icons/generated/EyeOpenIcon.js +25 -0
  507. package/dist/icons/generated/EyeOpenIcon.js.map +1 -0
  508. package/dist/icons/generated/EyeSlashedIcon.cjs +2 -0
  509. package/dist/icons/generated/EyeSlashedIcon.cjs.map +1 -0
  510. package/dist/icons/generated/EyeSlashedIcon.js +25 -0
  511. package/dist/icons/generated/EyeSlashedIcon.js.map +1 -0
  512. package/dist/icons/generated/FlagFranceIcon.cjs +2 -0
  513. package/dist/icons/generated/FlagFranceIcon.cjs.map +1 -0
  514. package/dist/icons/generated/FlagFranceIcon.js +24 -0
  515. package/dist/icons/generated/FlagFranceIcon.js.map +1 -0
  516. package/dist/icons/generated/FlagGermanyIcon.cjs +2 -0
  517. package/dist/icons/generated/FlagGermanyIcon.cjs.map +1 -0
  518. package/dist/icons/generated/FlagGermanyIcon.js +24 -0
  519. package/dist/icons/generated/FlagGermanyIcon.js.map +1 -0
  520. package/dist/icons/generated/FlagIcon.cjs +2 -0
  521. package/dist/icons/generated/FlagIcon.cjs.map +1 -0
  522. package/dist/icons/generated/FlagIcon.js +24 -0
  523. package/dist/icons/generated/FlagIcon.js.map +1 -0
  524. package/dist/icons/generated/FlagItalyIcon.cjs +2 -0
  525. package/dist/icons/generated/FlagItalyIcon.cjs.map +1 -0
  526. package/dist/icons/generated/FlagItalyIcon.js +24 -0
  527. package/dist/icons/generated/FlagItalyIcon.js.map +1 -0
  528. package/dist/icons/generated/FlagNetherlandsIcon.cjs +2 -0
  529. package/dist/icons/generated/FlagNetherlandsIcon.cjs.map +1 -0
  530. package/dist/icons/generated/FlagNetherlandsIcon.js +24 -0
  531. package/dist/icons/generated/FlagNetherlandsIcon.js.map +1 -0
  532. package/dist/icons/generated/FlagRoundIcon.cjs +2 -0
  533. package/dist/icons/generated/FlagRoundIcon.cjs.map +1 -0
  534. package/dist/icons/generated/FlagRoundIcon.js +33 -0
  535. package/dist/icons/generated/FlagRoundIcon.js.map +1 -0
  536. package/dist/icons/generated/FlagRussiaIcon.cjs +2 -0
  537. package/dist/icons/generated/FlagRussiaIcon.cjs.map +1 -0
  538. package/dist/icons/generated/FlagRussiaIcon.js +24 -0
  539. package/dist/icons/generated/FlagRussiaIcon.js.map +1 -0
  540. package/dist/icons/generated/FlagUaeIcon.cjs +2 -0
  541. package/dist/icons/generated/FlagUaeIcon.cjs.map +1 -0
  542. package/dist/icons/generated/FlagUaeIcon.js +28 -0
  543. package/dist/icons/generated/FlagUaeIcon.js.map +1 -0
  544. package/dist/icons/generated/ForkKnifeIcon.cjs +2 -0
  545. package/dist/icons/generated/ForkKnifeIcon.cjs.map +1 -0
  546. package/dist/icons/generated/ForkKnifeIcon.js +18 -0
  547. package/dist/icons/generated/ForkKnifeIcon.js.map +1 -0
  548. package/dist/icons/generated/LanguageIcon.cjs +2 -0
  549. package/dist/icons/generated/LanguageIcon.cjs.map +1 -0
  550. package/dist/icons/generated/LanguageIcon.js +16 -0
  551. package/dist/icons/generated/LanguageIcon.js.map +1 -0
  552. package/dist/icons/generated/LockIcon.cjs +2 -0
  553. package/dist/icons/generated/LockIcon.cjs.map +1 -0
  554. package/dist/icons/generated/LockIcon.js +18 -0
  555. package/dist/icons/generated/LockIcon.js.map +1 -0
  556. package/dist/icons/generated/MapPinIcon.cjs +2 -0
  557. package/dist/icons/generated/MapPinIcon.cjs.map +1 -0
  558. package/dist/icons/generated/MapPinIcon.js +32 -0
  559. package/dist/icons/generated/MapPinIcon.js.map +1 -0
  560. package/dist/icons/generated/MenuIcon.cjs +2 -0
  561. package/dist/icons/generated/MenuIcon.cjs.map +1 -0
  562. package/dist/icons/generated/MenuIcon.js +17 -0
  563. package/dist/icons/generated/MenuIcon.js.map +1 -0
  564. package/dist/icons/generated/MinusIcon.cjs +2 -0
  565. package/dist/icons/generated/MinusIcon.cjs.map +1 -0
  566. package/dist/icons/generated/MinusIcon.js +17 -0
  567. package/dist/icons/generated/MinusIcon.js.map +1 -0
  568. package/dist/icons/generated/MountainIcon.cjs +2 -0
  569. package/dist/icons/generated/MountainIcon.cjs.map +1 -0
  570. package/dist/icons/generated/MountainIcon.js +35 -0
  571. package/dist/icons/generated/MountainIcon.js.map +1 -0
  572. package/dist/icons/generated/NextArrowIcon.cjs +2 -0
  573. package/dist/icons/generated/NextArrowIcon.cjs.map +1 -0
  574. package/dist/icons/generated/NextArrowIcon.js +35 -0
  575. package/dist/icons/generated/NextArrowIcon.js.map +1 -0
  576. package/dist/icons/generated/NotificationIcon.cjs +2 -0
  577. package/dist/icons/generated/NotificationIcon.cjs.map +1 -0
  578. package/dist/icons/generated/NotificationIcon.js +25 -0
  579. package/dist/icons/generated/NotificationIcon.js.map +1 -0
  580. package/dist/icons/generated/OtherIcon.cjs +2 -0
  581. package/dist/icons/generated/OtherIcon.cjs.map +1 -0
  582. package/dist/icons/generated/OtherIcon.js +23 -0
  583. package/dist/icons/generated/OtherIcon.js.map +1 -0
  584. package/dist/icons/generated/PaperIcon.cjs +2 -0
  585. package/dist/icons/generated/PaperIcon.cjs.map +1 -0
  586. package/dist/icons/generated/PaperIcon.js +25 -0
  587. package/dist/icons/generated/PaperIcon.js.map +1 -0
  588. package/dist/icons/generated/PassportIcon.cjs +2 -0
  589. package/dist/icons/generated/PassportIcon.cjs.map +1 -0
  590. package/dist/icons/generated/PassportIcon.js +36 -0
  591. package/dist/icons/generated/PassportIcon.js.map +1 -0
  592. package/dist/icons/generated/PeopleIcon.cjs +2 -0
  593. package/dist/icons/generated/PeopleIcon.cjs.map +1 -0
  594. package/dist/icons/generated/PeopleIcon.js +46 -0
  595. package/dist/icons/generated/PeopleIcon.js.map +1 -0
  596. package/dist/icons/generated/PlaneIcon.cjs +2 -0
  597. package/dist/icons/generated/PlaneIcon.cjs.map +1 -0
  598. package/dist/icons/generated/PlaneIcon.js +32 -0
  599. package/dist/icons/generated/PlaneIcon.js.map +1 -0
  600. package/dist/icons/generated/PlaneLandingIcon.cjs +2 -0
  601. package/dist/icons/generated/PlaneLandingIcon.cjs.map +1 -0
  602. package/dist/icons/generated/PlaneLandingIcon.js +52 -0
  603. package/dist/icons/generated/PlaneLandingIcon.js.map +1 -0
  604. package/dist/icons/generated/PlaneTakeoffIcon.cjs +2 -0
  605. package/dist/icons/generated/PlaneTakeoffIcon.cjs.map +1 -0
  606. package/dist/icons/generated/PlaneTakeoffIcon.js +52 -0
  607. package/dist/icons/generated/PlaneTakeoffIcon.js.map +1 -0
  608. package/dist/icons/generated/PlusIcon.cjs +2 -0
  609. package/dist/icons/generated/PlusIcon.cjs.map +1 -0
  610. package/dist/icons/generated/PlusIcon.js +50 -0
  611. package/dist/icons/generated/PlusIcon.js.map +1 -0
  612. package/dist/icons/generated/PreferencesIcon.cjs +2 -0
  613. package/dist/icons/generated/PreferencesIcon.cjs.map +1 -0
  614. package/dist/icons/generated/PreferencesIcon.js +101 -0
  615. package/dist/icons/generated/PreferencesIcon.js.map +1 -0
  616. package/dist/icons/generated/ResizeFieldIcon.cjs +2 -0
  617. package/dist/icons/generated/ResizeFieldIcon.cjs.map +1 -0
  618. package/dist/icons/generated/ResizeFieldIcon.js +18 -0
  619. package/dist/icons/generated/ResizeFieldIcon.js.map +1 -0
  620. package/dist/icons/generated/ReverseArrowIcon.cjs +2 -0
  621. package/dist/icons/generated/ReverseArrowIcon.cjs.map +1 -0
  622. package/dist/icons/generated/ReverseArrowIcon.js +32 -0
  623. package/dist/icons/generated/ReverseArrowIcon.js.map +1 -0
  624. package/dist/icons/generated/RoadmapIcon.cjs +2 -0
  625. package/dist/icons/generated/RoadmapIcon.cjs.map +1 -0
  626. package/dist/icons/generated/RoadmapIcon.js +56 -0
  627. package/dist/icons/generated/RoadmapIcon.js.map +1 -0
  628. package/dist/icons/generated/SaveTimeIcon.cjs +2 -0
  629. package/dist/icons/generated/SaveTimeIcon.cjs.map +1 -0
  630. package/dist/icons/generated/SaveTimeIcon.js +36 -0
  631. package/dist/icons/generated/SaveTimeIcon.js.map +1 -0
  632. package/dist/icons/generated/SearchIcon.cjs +2 -0
  633. package/dist/icons/generated/SearchIcon.cjs.map +1 -0
  634. package/dist/icons/generated/SearchIcon.js +56 -0
  635. package/dist/icons/generated/SearchIcon.js.map +1 -0
  636. package/dist/icons/generated/ShieldIcon.cjs +2 -0
  637. package/dist/icons/generated/ShieldIcon.cjs.map +1 -0
  638. package/dist/icons/generated/ShieldIcon.js +17 -0
  639. package/dist/icons/generated/ShieldIcon.js.map +1 -0
  640. package/dist/icons/generated/StarIcon.cjs +2 -0
  641. package/dist/icons/generated/StarIcon.cjs.map +1 -0
  642. package/dist/icons/generated/StarIcon.js +32 -0
  643. package/dist/icons/generated/StarIcon.js.map +1 -0
  644. package/dist/icons/generated/StopsIcon.cjs +2 -0
  645. package/dist/icons/generated/StopsIcon.cjs.map +1 -0
  646. package/dist/icons/generated/StopsIcon.js +44 -0
  647. package/dist/icons/generated/StopsIcon.js.map +1 -0
  648. package/dist/icons/generated/TicketIcon.cjs +2 -0
  649. package/dist/icons/generated/TicketIcon.cjs.map +1 -0
  650. package/dist/icons/generated/TicketIcon.js +25 -0
  651. package/dist/icons/generated/TicketIcon.js.map +1 -0
  652. package/dist/icons/generated/TrashBinIcon.cjs +2 -0
  653. package/dist/icons/generated/TrashBinIcon.cjs.map +1 -0
  654. package/dist/icons/generated/TrashBinIcon.js +18 -0
  655. package/dist/icons/generated/TrashBinIcon.js.map +1 -0
  656. package/dist/icons/generated/UpArrowIcon.cjs +2 -0
  657. package/dist/icons/generated/UpArrowIcon.cjs.map +1 -0
  658. package/dist/icons/generated/UpArrowIcon.js +35 -0
  659. package/dist/icons/generated/UpArrowIcon.js.map +1 -0
  660. package/dist/icons/generated/UpDownArrowIcon.cjs +2 -0
  661. package/dist/icons/generated/UpDownArrowIcon.cjs.map +1 -0
  662. package/dist/icons/generated/UpDownArrowIcon.js +25 -0
  663. package/dist/icons/generated/UpDownArrowIcon.js.map +1 -0
  664. package/dist/icons/generated/UserIcon.cjs +2 -0
  665. package/dist/icons/generated/UserIcon.cjs.map +1 -0
  666. package/dist/icons/generated/UserIcon.js +18 -0
  667. package/dist/icons/generated/UserIcon.js.map +1 -0
  668. package/dist/icons/generated/WalletIcon.cjs +2 -0
  669. package/dist/icons/generated/WalletIcon.cjs.map +1 -0
  670. package/dist/icons/generated/WalletIcon.js +35 -0
  671. package/dist/icons/generated/WalletIcon.js.map +1 -0
  672. package/dist/icons/generated/XMarkIcon.cjs +2 -0
  673. package/dist/icons/generated/XMarkIcon.cjs.map +1 -0
  674. package/dist/icons/generated/XMarkIcon.js +18 -0
  675. package/dist/icons/generated/XMarkIcon.js.map +1 -0
  676. package/dist/icons/generated/index.cjs +2 -0
  677. package/dist/icons/generated/index.cjs.map +1 -0
  678. package/dist/icons/generated/index.js +119 -0
  679. package/dist/icons/generated/index.js.map +1 -0
  680. package/dist/index.cjs +1 -0
  681. package/dist/index.d.cts +3589 -0
  682. package/dist/index.d.ts +3589 -0
  683. package/dist/index.js +162 -0
  684. package/dist/styles.css +2 -0
  685. package/dist/tailwind.css +134 -0
  686. package/dist/tokens/generated.cjs +2 -0
  687. package/dist/tokens/generated.cjs.map +1 -0
  688. package/dist/tokens/generated.js +561 -0
  689. package/dist/tokens/generated.js.map +1 -0
  690. package/dist/tokens.cjs +1 -0
  691. package/dist/tokens.css +241 -0
  692. package/dist/tokens.d.cts +701 -0
  693. package/dist/tokens.d.ts +701 -0
  694. package/dist/tokens.js +1 -0
  695. package/dist/tokens.json +219 -0
  696. package/dist/utils/cn.cjs +2 -0
  697. package/dist/utils/cn.cjs.map +1 -0
  698. package/dist/utils/cn.js +9 -0
  699. package/dist/utils/cn.js.map +1 -0
  700. package/package.json +102 -4
@@ -0,0 +1,3589 @@
1
+ import { ClassValue } from 'clsx';
2
+ import { AnchorHTMLAttributes, ButtonHTMLAttributes, CSSProperties, ComponentPropsWithoutRef, ElementType, HTMLAttributes, InputHTMLAttributes, Key, LabelHTMLAttributes, MouseEvent as MouseEvent$1, OlHTMLAttributes, ReactElement, ReactNode, Ref, RefAttributes, RefObject, SVGProps, TextareaHTMLAttributes } from 'react';
3
+
4
+ /** Figma: Icons / name=airplane-seat */
5
+ export declare const AirplaneSeatIcon: import("react").ForwardRefExoticComponent<IconProps & import("react").RefAttributes<SVGSVGElement>>;
6
+ /** Figma: Icons / name=back-arrow */
7
+ export declare const BackArrowIcon: import("react").ForwardRefExoticComponent<IconProps & import("react").RefAttributes<SVGSVGElement>>;
8
+ /** Figma: Icons / name=baggage */
9
+ export declare const BaggageIcon: import("react").ForwardRefExoticComponent<IconProps & import("react").RefAttributes<SVGSVGElement>>;
10
+ /** Figma: Icons / name=bed */
11
+ export declare const BedIcon: import("react").ForwardRefExoticComponent<IconProps & import("react").RefAttributes<SVGSVGElement>>;
12
+ /** Figma: Icons / name=bookmark */
13
+ export declare const BookmarkIcon: import("react").ForwardRefExoticComponent<IconProps & import("react").RefAttributes<SVGSVGElement>>;
14
+ /** Figma: Icons / name=briefcase */
15
+ export declare const BriefcaseIcon: import("react").ForwardRefExoticComponent<IconProps & import("react").RefAttributes<SVGSVGElement>>;
16
+ /** Figma: Icons / name=calendar */
17
+ export declare const CalendarIcon: import("react").ForwardRefExoticComponent<IconProps & import("react").RefAttributes<SVGSVGElement>>;
18
+ /** Figma: Icons / name=car */
19
+ export declare const CarIcon: import("react").ForwardRefExoticComponent<IconProps & import("react").RefAttributes<SVGSVGElement>>;
20
+ /** Figma: Icons / name=checkmark */
21
+ export declare const CheckmarkIcon: import("react").ForwardRefExoticComponent<IconProps & import("react").RefAttributes<SVGSVGElement>>;
22
+ /** Figma: Icons / name=compare */
23
+ export declare const CompareIcon: import("react").ForwardRefExoticComponent<IconProps & import("react").RefAttributes<SVGSVGElement>>;
24
+ /** Figma: Icons / name=down-arrow */
25
+ export declare const DownArrowIcon: import("react").ForwardRefExoticComponent<IconProps & import("react").RefAttributes<SVGSVGElement>>;
26
+ /** Figma: Icons / name=email */
27
+ export declare const EmailIcon: import("react").ForwardRefExoticComponent<IconProps & import("react").RefAttributes<SVGSVGElement>>;
28
+ /** Figma: Icons / name=error-circle */
29
+ export declare const ErrorCircleIcon: import("react").ForwardRefExoticComponent<IconProps & import("react").RefAttributes<SVGSVGElement>>;
30
+ /** Figma: Icons / name=eye-open */
31
+ export declare const EyeOpenIcon: import("react").ForwardRefExoticComponent<IconProps & import("react").RefAttributes<SVGSVGElement>>;
32
+ /** Figma: Icons / name=eye-slashed */
33
+ export declare const EyeSlashedIcon: import("react").ForwardRefExoticComponent<IconProps & import("react").RefAttributes<SVGSVGElement>>;
34
+ /** Figma: Icons / name=flag */
35
+ export declare const FlagIcon: import("react").ForwardRefExoticComponent<IconProps & import("react").RefAttributes<SVGSVGElement>>;
36
+ /** Figma: Icons / name=flag-france */
37
+ export declare const FlagFranceIcon: import("react").ForwardRefExoticComponent<IconProps & import("react").RefAttributes<SVGSVGElement>>;
38
+ /** Figma: Icons / name=flag-germany */
39
+ export declare const FlagGermanyIcon: import("react").ForwardRefExoticComponent<IconProps & import("react").RefAttributes<SVGSVGElement>>;
40
+ /** Figma: Icons / name=flag-italy */
41
+ export declare const FlagItalyIcon: import("react").ForwardRefExoticComponent<IconProps & import("react").RefAttributes<SVGSVGElement>>;
42
+ /** Figma: Icons / name=flag-netherlands */
43
+ export declare const FlagNetherlandsIcon: import("react").ForwardRefExoticComponent<IconProps & import("react").RefAttributes<SVGSVGElement>>;
44
+ /** Figma: Icons / name=flag-round */
45
+ export declare const FlagRoundIcon: import("react").ForwardRefExoticComponent<IconProps & import("react").RefAttributes<SVGSVGElement>>;
46
+ /** Figma: Icons / name=flag-russia */
47
+ export declare const FlagRussiaIcon: import("react").ForwardRefExoticComponent<IconProps & import("react").RefAttributes<SVGSVGElement>>;
48
+ /** Figma: Icons / name=flag-uae */
49
+ export declare const FlagUaeIcon: import("react").ForwardRefExoticComponent<IconProps & import("react").RefAttributes<SVGSVGElement>>;
50
+ /** Figma: Icons / name=fork-knife */
51
+ export declare const ForkKnifeIcon: import("react").ForwardRefExoticComponent<IconProps & import("react").RefAttributes<SVGSVGElement>>;
52
+ /** Figma: Icons / name=language */
53
+ export declare const LanguageIcon: import("react").ForwardRefExoticComponent<IconProps & import("react").RefAttributes<SVGSVGElement>>;
54
+ /** Figma: Icons / name=lock */
55
+ export declare const LockIcon: import("react").ForwardRefExoticComponent<IconProps & import("react").RefAttributes<SVGSVGElement>>;
56
+ /** Figma: Icons / name=map-pin */
57
+ export declare const MapPinIcon: import("react").ForwardRefExoticComponent<IconProps & import("react").RefAttributes<SVGSVGElement>>;
58
+ /** Figma: Icons / name=menu */
59
+ export declare const MenuIcon: import("react").ForwardRefExoticComponent<IconProps & import("react").RefAttributes<SVGSVGElement>>;
60
+ /** Figma: Icons / name=- */
61
+ export declare const MinusIcon: import("react").ForwardRefExoticComponent<IconProps & import("react").RefAttributes<SVGSVGElement>>;
62
+ /** Figma: Icons / name=mountain */
63
+ export declare const MountainIcon: import("react").ForwardRefExoticComponent<IconProps & import("react").RefAttributes<SVGSVGElement>>;
64
+ /** Figma: Icons / name=next-arrow */
65
+ export declare const NextArrowIcon: import("react").ForwardRefExoticComponent<IconProps & import("react").RefAttributes<SVGSVGElement>>;
66
+ /** Figma: Icons / name=notification */
67
+ export declare const NotificationIcon: import("react").ForwardRefExoticComponent<IconProps & import("react").RefAttributes<SVGSVGElement>>;
68
+ /** Figma: Icons / name=other */
69
+ export declare const OtherIcon: import("react").ForwardRefExoticComponent<IconProps & import("react").RefAttributes<SVGSVGElement>>;
70
+ /** Figma: Icons / name=paper */
71
+ export declare const PaperIcon: import("react").ForwardRefExoticComponent<IconProps & import("react").RefAttributes<SVGSVGElement>>;
72
+ /** Figma: Icons / name=passport */
73
+ export declare const PassportIcon: import("react").ForwardRefExoticComponent<IconProps & import("react").RefAttributes<SVGSVGElement>>;
74
+ /** Figma: Icons / name=people */
75
+ export declare const PeopleIcon: import("react").ForwardRefExoticComponent<IconProps & import("react").RefAttributes<SVGSVGElement>>;
76
+ /** Figma: Icons / name=plane */
77
+ export declare const PlaneIcon: import("react").ForwardRefExoticComponent<IconProps & import("react").RefAttributes<SVGSVGElement>>;
78
+ /** Figma: Icons / name=plane-landing */
79
+ export declare const PlaneLandingIcon: import("react").ForwardRefExoticComponent<IconProps & import("react").RefAttributes<SVGSVGElement>>;
80
+ /** Figma: Icons / name=plane-takeoff */
81
+ export declare const PlaneTakeoffIcon: import("react").ForwardRefExoticComponent<IconProps & import("react").RefAttributes<SVGSVGElement>>;
82
+ /** Figma: Icons / name=+ */
83
+ export declare const PlusIcon: import("react").ForwardRefExoticComponent<IconProps & import("react").RefAttributes<SVGSVGElement>>;
84
+ /** Figma: Icons / name=preferences */
85
+ export declare const PreferencesIcon: import("react").ForwardRefExoticComponent<IconProps & import("react").RefAttributes<SVGSVGElement>>;
86
+ /** Figma: Icons / name=resize-field */
87
+ export declare const ResizeFieldIcon: import("react").ForwardRefExoticComponent<IconProps & import("react").RefAttributes<SVGSVGElement>>;
88
+ /** Figma: Icons / name=reverse-arrow */
89
+ export declare const ReverseArrowIcon: import("react").ForwardRefExoticComponent<IconProps & import("react").RefAttributes<SVGSVGElement>>;
90
+ /** Figma: Icons / name=roadmap */
91
+ export declare const RoadmapIcon: import("react").ForwardRefExoticComponent<IconProps & import("react").RefAttributes<SVGSVGElement>>;
92
+ /** Figma: Icons / name=save-time */
93
+ export declare const SaveTimeIcon: import("react").ForwardRefExoticComponent<IconProps & import("react").RefAttributes<SVGSVGElement>>;
94
+ /** Figma: Icons / name=search */
95
+ export declare const SearchIcon: import("react").ForwardRefExoticComponent<IconProps & import("react").RefAttributes<SVGSVGElement>>;
96
+ /** Figma: Icons / name=shield */
97
+ export declare const ShieldIcon: import("react").ForwardRefExoticComponent<IconProps & import("react").RefAttributes<SVGSVGElement>>;
98
+ /** Figma: Icons / name=star */
99
+ export declare const StarIcon: import("react").ForwardRefExoticComponent<IconProps & import("react").RefAttributes<SVGSVGElement>>;
100
+ /** Figma: Icons / name=stops */
101
+ export declare const StopsIcon: import("react").ForwardRefExoticComponent<IconProps & import("react").RefAttributes<SVGSVGElement>>;
102
+ /** Figma: Icons / name=ticket */
103
+ export declare const TicketIcon: import("react").ForwardRefExoticComponent<IconProps & import("react").RefAttributes<SVGSVGElement>>;
104
+ /** Figma: Icons / name=trash-bin */
105
+ export declare const TrashBinIcon: import("react").ForwardRefExoticComponent<IconProps & import("react").RefAttributes<SVGSVGElement>>;
106
+ /** Figma: Icons / name=up-arrow */
107
+ export declare const UpArrowIcon: import("react").ForwardRefExoticComponent<IconProps & import("react").RefAttributes<SVGSVGElement>>;
108
+ /** Figma: Icons / name=up-down-arrow */
109
+ export declare const UpDownArrowIcon: import("react").ForwardRefExoticComponent<IconProps & import("react").RefAttributes<SVGSVGElement>>;
110
+ /** Figma: Icons / name=user */
111
+ export declare const UserIcon: import("react").ForwardRefExoticComponent<IconProps & import("react").RefAttributes<SVGSVGElement>>;
112
+ /** Figma: Icons / name=wallet */
113
+ export declare const WalletIcon: import("react").ForwardRefExoticComponent<IconProps & import("react").RefAttributes<SVGSVGElement>>;
114
+ /** Figma: Icons / name=x-mark */
115
+ export declare const XMarkIcon: import("react").ForwardRefExoticComponent<IconProps & import("react").RefAttributes<SVGSVGElement>>;
116
+ /** Every icon keyed by its Figma name, for `<Icon name="…" />`. */
117
+ export declare const icons: {
118
+ readonly "airplane-seat": import("react").ForwardRefExoticComponent<IconProps & import("react").RefAttributes<SVGSVGElement>>;
119
+ readonly "back-arrow": import("react").ForwardRefExoticComponent<IconProps & import("react").RefAttributes<SVGSVGElement>>;
120
+ readonly baggage: import("react").ForwardRefExoticComponent<IconProps & import("react").RefAttributes<SVGSVGElement>>;
121
+ readonly bed: import("react").ForwardRefExoticComponent<IconProps & import("react").RefAttributes<SVGSVGElement>>;
122
+ readonly bookmark: import("react").ForwardRefExoticComponent<IconProps & import("react").RefAttributes<SVGSVGElement>>;
123
+ readonly briefcase: import("react").ForwardRefExoticComponent<IconProps & import("react").RefAttributes<SVGSVGElement>>;
124
+ readonly calendar: import("react").ForwardRefExoticComponent<IconProps & import("react").RefAttributes<SVGSVGElement>>;
125
+ readonly car: import("react").ForwardRefExoticComponent<IconProps & import("react").RefAttributes<SVGSVGElement>>;
126
+ readonly checkmark: import("react").ForwardRefExoticComponent<IconProps & import("react").RefAttributes<SVGSVGElement>>;
127
+ readonly compare: import("react").ForwardRefExoticComponent<IconProps & import("react").RefAttributes<SVGSVGElement>>;
128
+ readonly "down-arrow": import("react").ForwardRefExoticComponent<IconProps & import("react").RefAttributes<SVGSVGElement>>;
129
+ readonly email: import("react").ForwardRefExoticComponent<IconProps & import("react").RefAttributes<SVGSVGElement>>;
130
+ readonly "error-circle": import("react").ForwardRefExoticComponent<IconProps & import("react").RefAttributes<SVGSVGElement>>;
131
+ readonly "eye-open": import("react").ForwardRefExoticComponent<IconProps & import("react").RefAttributes<SVGSVGElement>>;
132
+ readonly "eye-slashed": import("react").ForwardRefExoticComponent<IconProps & import("react").RefAttributes<SVGSVGElement>>;
133
+ readonly flag: import("react").ForwardRefExoticComponent<IconProps & import("react").RefAttributes<SVGSVGElement>>;
134
+ readonly "flag-france": import("react").ForwardRefExoticComponent<IconProps & import("react").RefAttributes<SVGSVGElement>>;
135
+ readonly "flag-germany": import("react").ForwardRefExoticComponent<IconProps & import("react").RefAttributes<SVGSVGElement>>;
136
+ readonly "flag-italy": import("react").ForwardRefExoticComponent<IconProps & import("react").RefAttributes<SVGSVGElement>>;
137
+ readonly "flag-netherlands": import("react").ForwardRefExoticComponent<IconProps & import("react").RefAttributes<SVGSVGElement>>;
138
+ readonly "flag-round": import("react").ForwardRefExoticComponent<IconProps & import("react").RefAttributes<SVGSVGElement>>;
139
+ readonly "flag-russia": import("react").ForwardRefExoticComponent<IconProps & import("react").RefAttributes<SVGSVGElement>>;
140
+ readonly "flag-uae": import("react").ForwardRefExoticComponent<IconProps & import("react").RefAttributes<SVGSVGElement>>;
141
+ readonly "fork-knife": import("react").ForwardRefExoticComponent<IconProps & import("react").RefAttributes<SVGSVGElement>>;
142
+ readonly language: import("react").ForwardRefExoticComponent<IconProps & import("react").RefAttributes<SVGSVGElement>>;
143
+ readonly lock: import("react").ForwardRefExoticComponent<IconProps & import("react").RefAttributes<SVGSVGElement>>;
144
+ readonly "map-pin": import("react").ForwardRefExoticComponent<IconProps & import("react").RefAttributes<SVGSVGElement>>;
145
+ readonly menu: import("react").ForwardRefExoticComponent<IconProps & import("react").RefAttributes<SVGSVGElement>>;
146
+ readonly minus: import("react").ForwardRefExoticComponent<IconProps & import("react").RefAttributes<SVGSVGElement>>;
147
+ readonly mountain: import("react").ForwardRefExoticComponent<IconProps & import("react").RefAttributes<SVGSVGElement>>;
148
+ readonly "next-arrow": import("react").ForwardRefExoticComponent<IconProps & import("react").RefAttributes<SVGSVGElement>>;
149
+ readonly notification: import("react").ForwardRefExoticComponent<IconProps & import("react").RefAttributes<SVGSVGElement>>;
150
+ readonly other: import("react").ForwardRefExoticComponent<IconProps & import("react").RefAttributes<SVGSVGElement>>;
151
+ readonly paper: import("react").ForwardRefExoticComponent<IconProps & import("react").RefAttributes<SVGSVGElement>>;
152
+ readonly passport: import("react").ForwardRefExoticComponent<IconProps & import("react").RefAttributes<SVGSVGElement>>;
153
+ readonly people: import("react").ForwardRefExoticComponent<IconProps & import("react").RefAttributes<SVGSVGElement>>;
154
+ readonly plane: import("react").ForwardRefExoticComponent<IconProps & import("react").RefAttributes<SVGSVGElement>>;
155
+ readonly "plane-landing": import("react").ForwardRefExoticComponent<IconProps & import("react").RefAttributes<SVGSVGElement>>;
156
+ readonly "plane-takeoff": import("react").ForwardRefExoticComponent<IconProps & import("react").RefAttributes<SVGSVGElement>>;
157
+ readonly plus: import("react").ForwardRefExoticComponent<IconProps & import("react").RefAttributes<SVGSVGElement>>;
158
+ readonly preferences: import("react").ForwardRefExoticComponent<IconProps & import("react").RefAttributes<SVGSVGElement>>;
159
+ readonly "resize-field": import("react").ForwardRefExoticComponent<IconProps & import("react").RefAttributes<SVGSVGElement>>;
160
+ readonly "reverse-arrow": import("react").ForwardRefExoticComponent<IconProps & import("react").RefAttributes<SVGSVGElement>>;
161
+ readonly roadmap: import("react").ForwardRefExoticComponent<IconProps & import("react").RefAttributes<SVGSVGElement>>;
162
+ readonly "save-time": import("react").ForwardRefExoticComponent<IconProps & import("react").RefAttributes<SVGSVGElement>>;
163
+ readonly search: import("react").ForwardRefExoticComponent<IconProps & import("react").RefAttributes<SVGSVGElement>>;
164
+ readonly shield: import("react").ForwardRefExoticComponent<IconProps & import("react").RefAttributes<SVGSVGElement>>;
165
+ readonly star: import("react").ForwardRefExoticComponent<IconProps & import("react").RefAttributes<SVGSVGElement>>;
166
+ readonly stops: import("react").ForwardRefExoticComponent<IconProps & import("react").RefAttributes<SVGSVGElement>>;
167
+ readonly ticket: import("react").ForwardRefExoticComponent<IconProps & import("react").RefAttributes<SVGSVGElement>>;
168
+ readonly "trash-bin": import("react").ForwardRefExoticComponent<IconProps & import("react").RefAttributes<SVGSVGElement>>;
169
+ readonly "up-arrow": import("react").ForwardRefExoticComponent<IconProps & import("react").RefAttributes<SVGSVGElement>>;
170
+ readonly "up-down-arrow": import("react").ForwardRefExoticComponent<IconProps & import("react").RefAttributes<SVGSVGElement>>;
171
+ readonly user: import("react").ForwardRefExoticComponent<IconProps & import("react").RefAttributes<SVGSVGElement>>;
172
+ readonly wallet: import("react").ForwardRefExoticComponent<IconProps & import("react").RefAttributes<SVGSVGElement>>;
173
+ readonly "x-mark": import("react").ForwardRefExoticComponent<IconProps & import("react").RefAttributes<SVGSVGElement>>;
174
+ };
175
+ export type IconName = keyof typeof icons;
176
+ export declare const iconNames: IconName[];
177
+ /** Icon size tokens (Figma `icon/*`): xs 12 · sm 16 · md 20 · lg 24 · xl 32. */
178
+ export type IconSize = "xs" | "sm" | "md" | "lg" | "xl";
179
+ export interface IconProps extends Omit<SVGProps<SVGSVGElement>, "ref"> {
180
+ /**
181
+ * Size token or a pixel value. When omitted the icon takes the size its parent asks for
182
+ * (buttons and inputs set this automatically) and falls back to `lg` (24px).
183
+ */
184
+ size?: IconSize | number;
185
+ /** Accessible name. Without it the icon is decorative and hidden from assistive technology. */
186
+ title?: string;
187
+ }
188
+ export type IconComponent = ReturnType<typeof createIcon>;
189
+ type IconArtwork = Partial<Record<"md" | "sm", ReactNode>>;
190
+ /**
191
+ * @param name Figma icon name (kebab-case).
192
+ * @param k Stroke correction factors applied when the L artwork is scaled to M / S (see Icon.css).
193
+ * @param children L (24px) artwork.
194
+ * @param artwork Optional dedicated M / S artwork; sizes that have one never use the scaled L geometry.
195
+ */
196
+ export declare function createIcon(name: string, k: {
197
+ md: number;
198
+ sm: number;
199
+ }, children: ReactNode, artwork?: IconArtwork): import("react").ForwardRefExoticComponent<IconProps & import("react").RefAttributes<SVGSVGElement>>;
200
+ export interface NamedIconProps extends IconProps {
201
+ /** Icon name as it appears in the Figma "Icons" component set (`+` and `-` are `plus` and `minus`). */
202
+ name: IconName;
203
+ }
204
+ /**
205
+ * Renders an icon by name. Convenient when the name is data-driven; it pulls every icon into the bundle,
206
+ * so prefer the individual components (`<PlaneIcon />`) when the icon is known at build time.
207
+ */
208
+ export declare const Icon: import("react").ForwardRefExoticComponent<NamedIconProps & import("react").RefAttributes<SVGSVGElement>>;
209
+ /** Figma "Style": `mark` is the pin alone; `white` and `black` add the wordmark for dark and light surfaces. */
210
+ export type LogoVariant = "mark" | "white" | "black";
211
+ export interface LogoProps extends Omit<SVGProps<SVGSVGElement>, "ref" | "children" | "width" | "height" | "viewBox"> {
212
+ /** Figma "Style". The colour of "Travel" follows the theme tokens Figma binds it to (`white` → `background/card`, `black` → `text/primary`). */
213
+ variant?: LogoVariant;
214
+ /** Height in px, or any CSS length. The width follows the artwork's aspect ratio. */
215
+ height?: number | string;
216
+ /** Accessible name. Pass an empty string when the logo is decorative (for example inside a link that already has a label). */
217
+ title?: string;
218
+ }
219
+ export declare const Logo: import("react").ForwardRefExoticComponent<LogoProps & import("react").RefAttributes<SVGSVGElement>>;
220
+ export interface AgencyLogoProps extends Omit<HTMLAttributes<HTMLSpanElement>, "children"> {
221
+ /** Logo image URL. Without it, or when it fails to load, the agency's initials are shown instead. */
222
+ src?: string | null;
223
+ /** Agency name: the source of the fallback initials and of the default accessible name. */
224
+ name: string;
225
+ /** Accessible name; defaults to `name`. Pass an empty string when the name is printed next to the logo. */
226
+ alt?: string;
227
+ /** Edge length in px, or any CSS length. Figma draws the component at 120 and uses it from 20 to 88 in screens. */
228
+ size?: number | string;
229
+ /** `rounded` is the Figma component (radius/lg); `circle` is the override Figma uses on agency cards and maps. */
230
+ shape?: "rounded" | "circle";
231
+ /** `contain` insets the image by 1/14 of the frame, as most Figma samples do; `cover` fills the frame edge to edge. */
232
+ fit?: "contain" | "cover";
233
+ }
234
+ /** First letters of the first two words: "Armenia Travel" → "AT", "MyTrip" → "M". */
235
+ export declare function getAgencyInitials(name: string): string;
236
+ export declare const AgencyLogo: import("react").ForwardRefExoticComponent<AgencyLogoProps & import("react").RefAttributes<HTMLSpanElement>>;
237
+ /** Figma "Style". `ghost` is spelled "Goast" in the Figma file. */
238
+ export type ButtonVariant = "primary" | "outline" | "ghost" | "destructive" | "text" | "white";
239
+ /** Figma "Size": L · M · S */
240
+ export type ButtonSize = "lg" | "md" | "sm";
241
+ export interface ButtonProps extends ButtonHTMLAttributes<HTMLButtonElement> {
242
+ variant?: ButtonVariant;
243
+ size?: ButtonSize;
244
+ /** Icon before the label (Figma "Icon Place=Left"). Its size follows the button size. */
245
+ startIcon?: ReactNode;
246
+ /** Icon after the label (Figma "Icon Place=Right"). */
247
+ endIcon?: ReactNode;
248
+ /**
249
+ * Square icon-only button (Figma "Text=No"). Detected automatically when there is an icon and no children;
250
+ * always pass an `aria-label` in that case.
251
+ */
252
+ iconOnly?: boolean;
253
+ /** Shows a spinner in place of the start icon and blocks clicks while keeping the button focusable. */
254
+ loading?: boolean;
255
+ /** Stretches the button to the width of its container. */
256
+ fullWidth?: boolean;
257
+ /** Renders the single child element (e.g. a router `<Link>`) with the button's styling instead of a `<button>`. */
258
+ asChild?: boolean;
259
+ }
260
+ export declare const Button: import("react").ForwardRefExoticComponent<ButtonProps & import("react").RefAttributes<HTMLButtonElement>>;
261
+ /** Figma "Size" on every form control: L · M · S */
262
+ export type FieldSize = "lg" | "md" | "sm";
263
+ export interface LabelProps extends LabelHTMLAttributes<HTMLLabelElement> {
264
+ /** Figma "Size": `lg` Label-large · `md` Label · `sm` Label-small. */
265
+ size?: FieldSize;
266
+ /** Adds the red asterisk (Figma "Style=Required"). */
267
+ required?: boolean;
268
+ /** Adds the "(Optional)" hint (Figma "Style=Optional"). Pass a string to translate it. */
269
+ optional?: boolean | string;
270
+ }
271
+ /** Figma component set "Label title". */
272
+ export declare const Label: import("react").ForwardRefExoticComponent<LabelProps & import("react").RefAttributes<HTMLLabelElement>>;
273
+ export interface FieldMessageProps extends HTMLAttributes<HTMLParagraphElement> {
274
+ /**
275
+ * `neutral` helper text (Figma "Field message / Type=Hint"), `error` with the error icon and colours
276
+ * (Figma "State=Error", "Field message / Type=Error"), `success` with a check mark in success/content
277
+ * (Figma "Field message / Type=Success", node 2606:16067).
278
+ */
279
+ tone?: "neutral" | "error" | "success";
280
+ /** Size of the control the message belongs to; sets the text style and icon size. */
281
+ size?: FieldSize;
282
+ /** Leading icon (Figma "Style=With-icon-helper-text"). Defaults to `true` for errors and success, `false` for helper text. */
283
+ icon?: boolean;
284
+ }
285
+ /** Helper or error text shown under a control (Figma "Inputs / With-helper-text", "Text inputs / State=Error"). */
286
+ export declare const FieldMessage: import("react").ForwardRefExoticComponent<FieldMessageProps & import("react").RefAttributes<HTMLParagraphElement>>;
287
+ export interface FormFieldProps {
288
+ /** Visible label. Omit it only when the control has its own accessible name. */
289
+ label?: ReactNode;
290
+ /** Help text under the control. Replaced by `error` when both are set. */
291
+ helperText?: ReactNode;
292
+ /** Error text under the control; also switches the control to its invalid look. */
293
+ error?: ReactNode;
294
+ /** Marks the label with a red asterisk. */
295
+ required?: boolean;
296
+ /** Adds the "(Optional)" hint to the label. Pass a string to translate it. */
297
+ optional?: boolean | string;
298
+ /** Figma "Size": L · M · S. */
299
+ size?: FieldSize;
300
+ }
301
+ export interface FieldIds {
302
+ /** id for the focusable control — also the label's `htmlFor`. */
303
+ controlId: string;
304
+ labelId: string;
305
+ /** id of the helper/error text, or undefined when there is none; use it for `aria-describedby`. */
306
+ messageId: string | undefined;
307
+ }
308
+ /** Stable ids that tie a control to its label and message. Pass the consumer's `id` to respect it. */
309
+ export declare function useFieldIds(id: string | undefined, hasMessage: boolean): FieldIds;
310
+ interface FormFieldLayoutProps extends FormFieldProps, Omit<HTMLAttributes<HTMLDivElement>, "children"> {
311
+ ids: FieldIds;
312
+ /** Shows the info icon in front of `helperText` (Figma "Style=With-icon-helper-text"). Errors always have their icon. */
313
+ helperIcon?: boolean;
314
+ /** The control, normally a `.tm-field` box. */
315
+ children: ReactNode;
316
+ }
317
+ /**
318
+ * Lays out label → control → message. Building block for the form controls in this package
319
+ * (TextInput, Select, …); apps normally use those instead of this component.
320
+ */
321
+ export declare const FormField: import("react").ForwardRefExoticComponent<FormFieldLayoutProps & import("react").RefAttributes<HTMLDivElement>>;
322
+ export type TextVariant = "display" | "title" | "h1" | "h2" | "h3" | "body-large" | "body" | "body-small" | "label-large" | "label" | "label-small" | "caption-large" | "caption" | "caption-small" | "overline";
323
+ export type TextWeight = "regular" | "medium" | "semibold" | "bold";
324
+ export interface TextProps extends HTMLAttributes<HTMLElement> {
325
+ /**
326
+ * Figma text style group: `display`, `title`, `h1`–`h3`, `body-large`, `body`, `body-small`,
327
+ * `label-large`, `label`, `label-small`, `caption-large`, `caption`, `caption-small`, `overline`.
328
+ * Sizes follow the Desktop / Tablet / Mobile typography modes automatically.
329
+ */
330
+ variant?: TextVariant;
331
+ /** Not every weight exists for every variant in Figma — see the Typography page in Storybook. */
332
+ weight?: TextWeight;
333
+ /** Element to render. Defaults to a heading tag for heading variants, otherwise `p`. */
334
+ as?: ElementType;
335
+ }
336
+ declare const Text$1: import("react").ForwardRefExoticComponent<TextProps & import("react").RefAttributes<HTMLElement>>;
337
+ /** Joins class names, skipping falsy values. */
338
+ export declare function cn(...inputs: ClassValue[]): string;
339
+ export type TagProps = HTMLAttributes<HTMLSpanElement>;
340
+ /** Neutral label pill (Figma component "tag"), e.g. a trip type or an interest. The text is the children. */
341
+ export declare const Tag: import("react").ForwardRefExoticComponent<TagProps & import("react").RefAttributes<HTMLSpanElement>>;
342
+ /** Figma "Property 1": Success · Warning · Error · Info · Draft */
343
+ export type StatusTagTone = "success" | "warning" | "error" | "info" | "draft";
344
+ export interface StatusTagProps extends HTMLAttributes<HTMLSpanElement> {
345
+ /** Colour of the tag. `draft` is the neutral grey one. */
346
+ tone?: StatusTagTone;
347
+ }
348
+ /** Small coloured status pill (Figma component set "Status tag"). The text is the children. */
349
+ export declare const StatusTag: import("react").ForwardRefExoticComponent<StatusTagProps & import("react").RefAttributes<HTMLSpanElement>>;
350
+ /** Figma "Status" — the lifecycle of a travel request. */
351
+ export type RequestStatusValue = "draft" | "under-review" | "needs-clarification" | "waiting-for-offers" | "offers-received" | "closed" | "cancelled" | "expired";
352
+ export interface RequestStatusProps extends HTMLAttributes<HTMLSpanElement> {
353
+ /** Lifecycle status; sets the colours and the icon. */
354
+ status: RequestStatusValue;
355
+ /** Label text. Defaults to the English status name from Figma — pass the translated name in apps. */
356
+ children?: ReactNode;
357
+ }
358
+ /** Request lifecycle badge (Figma component set "Request Status"): icon + label in the status colours. */
359
+ export declare const RequestStatus: import("react").ForwardRefExoticComponent<RequestStatusProps & import("react").RefAttributes<HTMLSpanElement>>;
360
+ /** Figma "Status": Verified · In review · Not verified */
361
+ export type VerificationStatus = "verified" | "in-review" | "not-verified";
362
+ /** Figma "Size": L · M · S */
363
+ export type VerificationBadgeSize = "lg" | "md" | "sm";
364
+ /** Figma "Label": which of the two default English texts to show. */
365
+ export type VerificationBadgeLabel = "short" | "long";
366
+ export interface VerificationBadgeProps extends HTMLAttributes<HTMLSpanElement> {
367
+ /** Verification state; sets the colours and the icon. */
368
+ status: VerificationStatus;
369
+ /** Badge height: `sm` 24px · `md` 28px · `lg` 40px. */
370
+ size?: VerificationBadgeSize;
371
+ /** Which default English text to show when there are no children (Figma "Label"). */
372
+ label?: VerificationBadgeLabel;
373
+ /** Label text. Overrides the default English copy — pass the translated text in apps. */
374
+ children?: ReactNode;
375
+ }
376
+ /** Agency verification badge (Figma component set "Verification badge"): icon + label in the status colours. */
377
+ export declare const VerificationBadge: import("react").ForwardRefExoticComponent<VerificationBadgeProps & import("react").RefAttributes<HTMLSpanElement>>;
378
+ /** Figma "Size": M (20px stars) · S (16px stars) */
379
+ export type RatingSize = "md" | "sm";
380
+ export interface RatingProps extends Omit<HTMLAttributes<HTMLSpanElement>, "children"> {
381
+ /** Rating to show, from 0 to `max`. Figma only draws whole stars, so it is rounded to the nearest whole star. */
382
+ value: number;
383
+ /** Number of stars. */
384
+ max?: number;
385
+ /** Star size: `md` 20px · `sm` 16px. */
386
+ size?: RatingSize;
387
+ /** Builds the accessible name from the value and `max`. Defaults to English ("4 out of 5") — translate it in apps. */
388
+ label?: (value: number, max: number) => string;
389
+ }
390
+ /**
391
+ * Read-only star rating (Figma component set "Rating"). It is exposed to assistive technology as one image
392
+ * named by `label` (or by `aria-label` when you pass one).
393
+ */
394
+ export declare const Rating: import("react").ForwardRefExoticComponent<RatingProps & import("react").RefAttributes<HTMLSpanElement>>;
395
+ /** Figma "Mode": Single (one answer) · Multi (any number of answers) */
396
+ export type ChoiceChipMode = "single" | "multi";
397
+ export interface ChoiceChipProps extends Omit<ButtonHTMLAttributes<HTMLButtonElement>, "value"> {
398
+ /** Selected look: `single` is filled, `multi` is tinted. Inside a `ChoiceChipGroup` it follows the group's `type`. */
399
+ mode?: ChoiceChipMode;
400
+ /** Controlled selected state (standalone chip). Inside a group the group's `value` decides. */
401
+ selected?: boolean;
402
+ /** Initial selected state of an uncontrolled standalone chip. */
403
+ defaultSelected?: boolean;
404
+ /** Called with the new state when the user toggles the chip. */
405
+ onSelectedChange?: (selected: boolean) => void;
406
+ /** Identifies the chip inside a `ChoiceChipGroup`. */
407
+ value?: string;
408
+ /** 16px icon before the label (Figma "Show icon" + "Icon"). */
409
+ icon?: ReactNode;
410
+ }
411
+ /**
412
+ * Selectable pill (Figma component set "Choice Chip"). On its own it is a toggle button (`aria-pressed`);
413
+ * inside a single-choice `ChoiceChipGroup` it is a radio.
414
+ */
415
+ export declare const ChoiceChip: import("react").ForwardRefExoticComponent<ChoiceChipProps & import("react").RefAttributes<HTMLButtonElement>>;
416
+ interface ChoiceChipGroupBaseProps extends Omit<HTMLAttributes<HTMLDivElement>, "defaultValue" | "onChange"> {
417
+ /** Disables every chip in the group. */
418
+ disabled?: boolean;
419
+ }
420
+ export interface ChoiceChipGroupSingleProps extends ChoiceChipGroupBaseProps {
421
+ /** `single`: one chip at a time (radio group, arrow keys move the selection). */
422
+ type?: "single";
423
+ /** Controlled value: the `value` of the selected chip, or `null` for none. */
424
+ value?: string | null;
425
+ /** Initial value of an uncontrolled group. */
426
+ defaultValue?: string | null;
427
+ /** Called with the `value` of the chip the user selected. */
428
+ onValueChange?: (value: string) => void;
429
+ }
430
+ export interface ChoiceChipGroupMultiProps extends ChoiceChipGroupBaseProps {
431
+ /** `multi`: any number of chips (a group of toggle buttons). */
432
+ type: "multi";
433
+ /** Controlled value: the `value`s of the selected chips. */
434
+ value?: string[];
435
+ /** Initial value of an uncontrolled group. */
436
+ defaultValue?: string[];
437
+ /** Called with the `value`s of all selected chips after the user toggles one. */
438
+ onValueChange?: (value: string[]) => void;
439
+ }
440
+ export type ChoiceChipGroupProps = ChoiceChipGroupSingleProps | ChoiceChipGroupMultiProps;
441
+ /**
442
+ * Lays out `ChoiceChip`s (each with a `value`) and owns their selection. Give it an accessible name with
443
+ * `aria-label` or `aria-labelledby`.
444
+ */
445
+ export declare const ChoiceChipGroup: import("react").ForwardRefExoticComponent<ChoiceChipGroupProps & import("react").RefAttributes<HTMLDivElement>>;
446
+ /** Figma "Value": Included · Not included · Not specified */
447
+ export type InclusionValue = "included" | "not-included" | "not-specified";
448
+ export interface InclusionIndicatorProps extends HTMLAttributes<HTMLSpanElement> {
449
+ /** Whether the item named by the children is part of the offer. */
450
+ value: InclusionValue;
451
+ /**
452
+ * Visually hidden text that tells assistive technology what the icon means, read before the label.
453
+ * Defaults to English ("Included", "Not included", "Not specified") — translate it in apps.
454
+ * Pass an empty string when the label itself already says it.
455
+ */
456
+ stateLabel?: string;
457
+ /**
458
+ * Raises the icon circle with shadow-1 and, for "Not included" / "Not specified", a background/card fill — the
459
+ * override Figma applies where the indicator sits on a tinted panel (the inclusions box of "Agency Offer Card").
460
+ */
461
+ elevated?: boolean;
462
+ }
463
+ /** One line of a "what's included" list (Figma component set "Inclusion Indicator"): state icon + label. */
464
+ export declare const InclusionIndicator: import("react").ForwardRefExoticComponent<InclusionIndicatorProps & import("react").RefAttributes<HTMLSpanElement>>;
465
+ export interface TextInputProps extends Omit<InputHTMLAttributes<HTMLInputElement>, "size" | "prefix">, FormFieldProps {
466
+ /** Figma "Size": `lg` 52px · `md` 46px (default) · `sm` 42px. */
467
+ size?: FieldSize;
468
+ /** Icon before the value (Figma "Left-icon"), e.g. `<EmailIcon />` for an email field. Its size follows `size`. */
469
+ startIcon?: ReactNode;
470
+ /** Icon or small action after the value (Figma "Right-icon" / "Both-size-icons"). */
471
+ endIcon?: ReactNode;
472
+ /** Fixed text in front of the value, e.g. `https://` for a URL field (Figma "Default-with-disable"). Not part of the value. */
473
+ prefix?: ReactNode;
474
+ /** Shows the info icon in front of `helperText` (Figma "With-icon-helper-text"). */
475
+ helperIcon?: boolean;
476
+ }
477
+ /**
478
+ * Figma component set "Text inputs" (Type × Size × State) on top of "Inputs".
479
+ * Type → native `type` (`text`, `email`, `number`, `url`, …); for passwords use `PasswordInput`.
480
+ * State → native states plus `error`, `disabled`, `readOnly`.
481
+ */
482
+ export declare const TextInput: import("react").ForwardRefExoticComponent<TextInputProps & import("react").RefAttributes<HTMLInputElement>>;
483
+ export interface PasswordInputProps extends Omit<TextInputProps, "type" | "endIcon"> {
484
+ /** Accessible name of the toggle while the password is hidden. Translate it. */
485
+ showPasswordLabel?: string;
486
+ /** Accessible name of the toggle while the password is visible. Translate it. */
487
+ hidePasswordLabel?: string;
488
+ /** Start with the password visible (Figma "Type=Password-eye-slashed"). */
489
+ defaultVisible?: boolean;
490
+ /** Called when the user shows or hides the password. */
491
+ onVisibleChange?: (visible: boolean) => void;
492
+ }
493
+ /**
494
+ * Figma "Text inputs / Type=Password-eye-open · Password-eye-slashed": a `TextInput` with a show/hide toggle.
495
+ * The eye shows while the password is hidden, the slashed eye while it is readable. Figma also puts a
496
+ * lock in front — pass `startIcon={<LockIcon />}` for that.
497
+ */
498
+ export declare const PasswordInput: import("react").ForwardRefExoticComponent<PasswordInputProps & import("react").RefAttributes<HTMLInputElement>>;
499
+ export interface TextareaProps extends TextareaHTMLAttributes<HTMLTextAreaElement>, FormFieldProps {
500
+ /** Figma "Size": `lg` 120px · `md` 100px (default) · `sm` 80px minimum height, with the matching text style. */
501
+ size?: FieldSize;
502
+ /** Shows the resize handle in the bottom corner and lets the user drag the field taller. Defaults to `true`. */
503
+ resizable?: boolean;
504
+ /** Shows the info icon in front of `helperText` (Figma "With-icon-helper-text"). */
505
+ helperIcon?: boolean;
506
+ }
507
+ /** Figma "Inputs / Style=Text-area": a multi-line field with the design's own resize handle. */
508
+ export declare const Textarea: import("react").ForwardRefExoticComponent<TextareaProps & import("react").RefAttributes<HTMLTextAreaElement>>;
509
+ /** Figma "Size" / "Property 1": L · M · S */
510
+ export type OptionSize = "lg" | "md" | "sm";
511
+ export interface OptionListProps extends HTMLAttributes<HTMLDivElement> {
512
+ /** Figma "Property 1": `lg` 48px rows · `md` 44px (default) · `sm` 40px. */
513
+ size?: OptionSize;
514
+ /** Options show a checkbox and several can be selected (Figma "Checkbox=Yes"); sets `aria-multiselectable`. */
515
+ multiple?: boolean;
516
+ /** Draws the panel itself: border, radius, shadow and padding. Turn it off when the list sits inside another panel. */
517
+ surface?: boolean;
518
+ }
519
+ /**
520
+ * Figma component set "Selection drop down": the list panel of a dropdown. A `role="listbox"` container for `Option`s.
521
+ * It is presentational — `Select` adds the popover, selection and keyboard handling; use it directly for custom menus.
522
+ */
523
+ export declare const OptionList: import("react").ForwardRefExoticComponent<OptionListProps & import("react").RefAttributes<HTMLDivElement>>;
524
+ export interface OptionProps extends HTMLAttributes<HTMLDivElement> {
525
+ /** Selected look and `aria-selected` (Figma "State=clicked"; with a check mark or a ticked checkbox). */
526
+ selected?: boolean;
527
+ /** Highlights the option the keyboard is on (the element `aria-activedescendant` points to). */
528
+ active?: boolean;
529
+ /** Greys the option out and sets `aria-disabled` (Figma "State=diabled"). */
530
+ disabled?: boolean;
531
+ /** Icon or flag before the text (Figma "Icon=Yes"). Its size follows the list's `size`. */
532
+ icon?: ReactNode;
533
+ /** Regular-weight text on the same line, e.g. the language name after its code (Figma "Done=No": "EN English"). */
534
+ detail?: ReactNode;
535
+ /** Small second line (Figma "Caption=Yes"). */
536
+ description?: ReactNode;
537
+ /** What marks the option: `check` on the right when selected (Figma "Done"), a `checkbox` on the left (Figma "Checkbox"), or `none`. Defaults to `checkbox` in a `multiple` list, else `check`. */
538
+ indicator?: "check" | "checkbox" | "none";
539
+ /** Figma "Size". Defaults to the size of the surrounding `OptionList`. */
540
+ size?: OptionSize;
541
+ }
542
+ /**
543
+ * Figma component set "Selection inputs": one row of a dropdown list (`role="option"`).
544
+ * `onClick` also fires for Enter and Space when the option itself has focus (roving focus); inside `Select` the trigger keeps focus.
545
+ */
546
+ declare const Option$1: import("react").ForwardRefExoticComponent<OptionProps & import("react").RefAttributes<HTMLDivElement>>;
547
+ export interface SelectOption {
548
+ /** What `value` / `onValueChange` carry and what a form submits. */
549
+ value: string;
550
+ /** Text in the list and in the field, e.g. "Armenia", "EN", "AMD". */
551
+ label: ReactNode;
552
+ /** Regular-weight text after the label in the list only, e.g. "English" after "EN". */
553
+ detail?: ReactNode;
554
+ /** Small second line in the list (Figma "Caption"). */
555
+ description?: ReactNode;
556
+ /** Icon or flag before the label in the list (Figma "Icon"). */
557
+ icon?: ReactNode;
558
+ /** The option is shown but cannot be chosen. */
559
+ disabled?: boolean;
560
+ /** Plain text for type-ahead, search and the remove button when `label` is not a string. */
561
+ textValue?: string;
562
+ }
563
+ type TriggerProps = Omit<ButtonHTMLAttributes<HTMLButtonElement>, "value" | "defaultValue" | "onChange" | "children" | "type" | "name" | "role">;
564
+ interface SelectBaseProps extends FormFieldProps, TriggerProps {
565
+ /** The options, in display order. */
566
+ options: SelectOption[];
567
+ /** Shown in the field while nothing is selected. */
568
+ placeholder?: ReactNode;
569
+ /** Figma "Size": `lg` 52px · `md` 46px (default) · `sm` 42px. */
570
+ size?: FieldSize;
571
+ /** Adds hidden inputs so the value is submitted with a native form (one per value when `multiple`). */
572
+ name?: string;
573
+ /** Invalid look without a message of its own — for composite fields that show one message for several controls. */
574
+ invalid?: boolean;
575
+ /** Adds a search box above the list (Figma "Type=Currency, State=Open"); typing filters by label, detail and description. */
576
+ searchable?: boolean;
577
+ /** Placeholder and accessible name of the search box. */
578
+ searchPlaceholder?: string;
579
+ /** Shown instead of the list when the search matches nothing. */
580
+ emptyText?: ReactNode;
581
+ /** Icon in front of the value, e.g. `<LanguageIcon />`. */
582
+ startIcon?: ReactNode;
583
+ /** Custom content for the selected option in the field (single select), e.g. flag + dial code. Defaults to its `label`. */
584
+ renderValue?: (option: SelectOption) => ReactNode;
585
+ /** Shows the check mark on the selected option (Figma "Done"). Ignored when `multiple`, which uses checkboxes. */
586
+ checkmark?: boolean;
587
+ /** `false` makes the field hug its content (Figma "Both-icon-drop-down", "Language", "Type=Currency"); the list is then as wide as its options. */
588
+ fullWidth?: boolean;
589
+ /** How the list lines up with the field. */
590
+ align?: "start" | "center" | "end";
591
+ /** Whether the list is open (controlled; Figma "State=Clicked" / "Open"). */
592
+ open?: boolean;
593
+ /** Opens the list initially (uncontrolled). */
594
+ defaultOpen?: boolean;
595
+ /** Called when the list opens or closes. */
596
+ onOpenChange?: (open: boolean) => void;
597
+ /** Element the list is rendered into (default `document.body`). Set it when the theme is scoped to a container. */
598
+ portalContainer?: HTMLElement | null;
599
+ /** Element the list aligns to and takes its width from, when that is not the field itself (e.g. a whole phone-number row). */
600
+ panelAnchor?: RefObject<HTMLElement | null>;
601
+ /** Class for the list panel, which is rendered in a portal outside the root. */
602
+ panelClassName?: string;
603
+ /** Accessible name of a chip's × button (`multiple`), given the option's text. */
604
+ removeLabel?: (optionText: string) => string;
605
+ }
606
+ export interface SelectSingleProps extends SelectBaseProps {
607
+ /** `true` turns the field into a multi-select (Figma "Type=Checkbox"): checkboxes in the list, removable chips in the field. */
608
+ multiple?: false;
609
+ /** Selected option value (controlled); `null` or `''` for none. */
610
+ value?: string | null;
611
+ /** Initially selected value (uncontrolled). */
612
+ defaultValue?: string | null;
613
+ /** Called with the chosen option's value. */
614
+ onValueChange?: (value: string) => void;
615
+ }
616
+ export interface SelectMultipleProps extends SelectBaseProps {
617
+ multiple: true;
618
+ /** Selected option values (controlled). */
619
+ value?: string[];
620
+ /** Initially selected values (uncontrolled). */
621
+ defaultValue?: string[];
622
+ /** Called with all selected values after one is added or removed. */
623
+ onValueChange?: (value: string[]) => void;
624
+ }
625
+ export type SelectProps = SelectSingleProps | SelectMultipleProps;
626
+ /**
627
+ * Figma component set "Drop down inputs" (Type=Select · Checkbox, and the base of Language · Phone · Currency):
628
+ * a field that opens a list of options. Keyboard support follows the WAI-ARIA select-only combobox pattern.
629
+ * The ref and any extra props go to the trigger `<button role="combobox">`; `className` goes to the root.
630
+ */
631
+ export declare const Select: import("react").ForwardRefExoticComponent<SelectProps & import("react").RefAttributes<HTMLButtonElement>>;
632
+ export interface SelectedItemProps extends HTMLAttributes<HTMLSpanElement> {
633
+ /** Figma "Property 1": Default → `lg` (36px) · Variant2 → `md` (28px) · Variant3 → `sm` (24px). */
634
+ size?: FieldSize;
635
+ /** Called when the × button is pressed. Without it the item has no button. */
636
+ onRemove?: () => void;
637
+ /** Accessible name of the × button, e.g. "Remove Armenia". */
638
+ removeLabel?: string;
639
+ /** Greys the item out and disables its × button. */
640
+ disabled?: boolean;
641
+ }
642
+ /** Figma component set "Selected item": the removable chip a multi-select shows for every chosen option. */
643
+ export declare const SelectedItem: import("react").ForwardRefExoticComponent<SelectedItemProps & import("react").RefAttributes<HTMLSpanElement>>;
644
+ export interface LanguageSelectProps extends Omit<SelectSingleProps, "multiple" | "startIcon" | "fullWidth" | "checkmark" | "renderValue"> {
645
+ /** Accessible name of the switcher when it has no visible `label`. */
646
+ "aria-label"?: string;
647
+ }
648
+ /**
649
+ * Figma "Drop down inputs / Type=Language" (trigger: "Inputs / Style=Language"): a compact language switcher —
650
+ * globe + language code, opening a list of "code + name" rows. A preset of `Select`: pass the languages as `options`
651
+ * with the code as `label` and the language name as `detail`, e.g. `{ value: 'hy', label: 'HY', detail: 'Հայերեն' }`.
652
+ */
653
+ export declare const LanguageSelect: import("react").ForwardRefExoticComponent<LanguageSelectProps & import("react").RefAttributes<HTMLButtonElement>>;
654
+ export interface CurrencySelectProps extends Omit<SelectSingleProps, "multiple" | "size" | "startIcon" | "fullWidth" | "checkmark" | "renderValue"> {
655
+ /** Accessible name of the field when it has no visible `label`. */
656
+ "aria-label"?: string;
657
+ }
658
+ /**
659
+ * Figma "Drop down inputs / Type=Currency": a compact currency picker — the code in the field, "code + name" rows and a
660
+ * search box in the list. A preset of `Select`: pass the currencies as `options` with the code as `label` and the name
661
+ * as `detail`, e.g. `{ value: 'AMD', label: 'AMD', detail: 'Armenian dram' }`. Figma's text property "Currency" is `value`.
662
+ */
663
+ export declare const CurrencySelect: import("react").ForwardRefExoticComponent<CurrencySelectProps & import("react").RefAttributes<HTMLButtonElement>>;
664
+ export interface PhoneCountry {
665
+ /** Unique key of the entry, normally the ISO country code (`AM`). */
666
+ code: string;
667
+ /** Calling code shown in the field and the list, e.g. `+374`. */
668
+ dialCode: string;
669
+ /** Country name, shown next to the calling code in the list and used for type-ahead. */
670
+ label: string;
671
+ /** Flag shown before the calling code, e.g. `<FlagIcon />`. */
672
+ flag?: ReactNode;
673
+ }
674
+ export interface PhoneInputProps extends Omit<InputHTMLAttributes<HTMLInputElement>, "size" | "type">, FormFieldProps {
675
+ /** Figma "Size": `lg` 52px · `md` 46px (default) · `sm` 42px. */
676
+ size?: FieldSize;
677
+ /** The calling codes offered. The package ships no country data — pass the countries the app supports. */
678
+ countries: PhoneCountry[];
679
+ /** `code` of the selected country (controlled). */
680
+ country?: string;
681
+ /** Initially selected country (uncontrolled). Defaults to the first of `countries`. */
682
+ defaultCountry?: string;
683
+ /** Called with the `code` of the chosen country and its entry. */
684
+ onCountryChange?: (code: string, country: PhoneCountry) => void;
685
+ /** Accessible name of the calling-code dropdown. */
686
+ countryLabel?: string;
687
+ /** Whether the calling-code list is open (controlled; Figma "State=Clicked"). */
688
+ countryListOpen?: boolean;
689
+ /** Called when the calling-code list opens or closes. */
690
+ onCountryListOpenChange?: (open: boolean) => void;
691
+ /** Adds a search box to the calling-code list; useful for long lists. */
692
+ searchable?: boolean;
693
+ /** Placeholder and accessible name of that search box. */
694
+ searchPlaceholder?: string;
695
+ /** Shown when the search matches no country. */
696
+ emptyText?: ReactNode;
697
+ /** Element the list is rendered into (default `document.body`). */
698
+ portalContainer?: HTMLElement | null;
699
+ }
700
+ /**
701
+ * Figma "Drop down inputs / Type=Phone" ("Inputs / Style=Both-icon-drop-down"): a calling-code dropdown next to a number input.
702
+ * The national number is a native `<input type="tel">` (`value` / `onChange` / `name` as usual; the ref and extra props go to it);
703
+ * the calling code is `country` / `onCountryChange`. `className` goes to the root.
704
+ */
705
+ export declare const PhoneInput: import("react").ForwardRefExoticComponent<PhoneInputProps & import("react").RefAttributes<HTMLInputElement>>;
706
+ export interface SearchInputProps extends Omit<InputHTMLAttributes<HTMLInputElement>, "size" | "type" | "value" | "defaultValue" | "results">, FormFieldProps {
707
+ /** Figma "Size": `lg` 52px · `md` 46px (default) · `sm` 42px. */
708
+ size?: FieldSize;
709
+ /** The search text (controlled). */
710
+ value?: string;
711
+ /** Initial search text (uncontrolled). */
712
+ defaultValue?: string;
713
+ /** Called with the new text when the user types or clears the field. */
714
+ onValueChange?: (value: string) => void;
715
+ /** Shows the × button while the field has text (Figma "Type=Search"). Figma's "Help search" has none. */
716
+ clearable?: boolean;
717
+ /** Accessible name of the × button. */
718
+ clearLabel?: string;
719
+ /** Called after the × button emptied the field. */
720
+ onClear?: () => void;
721
+ /** Icon at the start of the field. Defaults to the magnifier. */
722
+ icon?: ReactNode;
723
+ /** Figma "Type=Help search": a floating field — drop shadow, 2px focus border — for hero and help-centre searches. */
724
+ elevated?: boolean;
725
+ /** Content of the panel under the field: `Option`s in an `OptionList`, `SearchResult`s in `SearchResultGroup`s, or anything else. The app does the searching. */
726
+ results?: ReactNode;
727
+ /** Whether the panel is showing (controlled). Uncontrolled, it opens on focus and typing whenever there are `results`. */
728
+ open?: boolean;
729
+ /** Called when the panel opens or closes (Escape, a press outside, focus leaving, a result being picked). */
730
+ onOpenChange?: (open: boolean) => void;
731
+ /** Accessible name of the panel. */
732
+ resultsLabel?: string;
733
+ }
734
+ /**
735
+ * Figma "Drop down inputs / Type=Search · Help search": a search box with a clear button and an optional results panel.
736
+ * It renders whatever `results` it is given; ArrowDown / ArrowUp move between the links, buttons and options inside,
737
+ * Escape closes the panel. The ref and extra props go to the native `<input type="search">`; `className` goes to the root.
738
+ */
739
+ export declare const SearchInput: import("react").ForwardRefExoticComponent<SearchInputProps & import("react").RefAttributes<HTMLInputElement>>;
740
+ export interface SearchResultGroupProps extends HTMLAttributes<HTMLDivElement> {
741
+ /** Heading of the group, e.g. "Popular searches" (shown in capitals). */
742
+ label: ReactNode;
743
+ }
744
+ /** A titled group of `SearchResult`s (Figma "Help search" panel, layer "Label"). */
745
+ export declare const SearchResultGroup: import("react").ForwardRefExoticComponent<SearchResultGroupProps & import("react").RefAttributes<HTMLDivElement>>;
746
+ interface SearchResultOwnProps {
747
+ /** 16px icon in the round badge, e.g. `<SearchIcon />` for a suggested query or `<PaperIcon />` for an article. */
748
+ icon?: ReactNode;
749
+ /** Small second line, e.g. the article's category. */
750
+ description?: ReactNode;
751
+ /** Renders the result as a link. Without it the result is a `<button>`. */
752
+ href?: string;
753
+ }
754
+ export type SearchResultProps = SearchResultOwnProps & Omit<ButtonHTMLAttributes<HTMLButtonElement>, "type"> & Pick<AnchorHTMLAttributes<HTMLAnchorElement>, "target" | "rel" | "download">;
755
+ /** One row of the "Help search" panel (Figma layers "Option / …"): icon badge, title, optional description and an arrow. */
756
+ export declare const SearchResult: import("react").ForwardRefExoticComponent<SearchResultOwnProps & Omit<ButtonHTMLAttributes<HTMLButtonElement>, "type"> & Pick<AnchorHTMLAttributes<HTMLAnchorElement>, "target" | "rel" | "download"> & import("react").RefAttributes<HTMLButtonElement | HTMLAnchorElement>>;
757
+ type TriggerProps$1 = Omit<ButtonHTMLAttributes<HTMLButtonElement>, "value" | "children" | "type">;
758
+ export interface DateFieldProps extends Omit<FormFieldProps, "size">, TriggerProps$1 {
759
+ /** The formatted date or range, e.g. "Sat, 12 Dec 2026" or "12 Dec – 19 Dec 2026" (`DatePicker` / `DateRangePicker` format it from the ISO value). */
760
+ value?: ReactNode;
761
+ /** Shown while there is no `value`. */
762
+ placeholder?: ReactNode;
763
+ /** Short note at the end of the field, e.g. "7 nights" (Figma "Type=Date (range)", layer "Meta"). */
764
+ meta?: ReactNode;
765
+ /** Icon at the start of the field. Defaults to the calendar. */
766
+ icon?: ReactNode;
767
+ /** Whether the date picker this field opens is showing: sets `aria-expanded` and the open look (Figma "State=Clicked"). */
768
+ expanded?: boolean;
769
+ }
770
+ /**
771
+ * Figma "Drop down inputs / Type=Date (single) · Date (range)": the closed field of a date picker. It is only the trigger —
772
+ * a `<button aria-haspopup="dialog">` showing an already formatted value. `DatePicker` and `DateRangePicker` render it with
773
+ * their calendar panel; use it directly only to build a custom picker.
774
+ * The ref and extra props go to the button, so a popover can anchor to it (it also works as a Radix `Popover.Trigger asChild` child).
775
+ */
776
+ export declare const DateField: import("react").ForwardRefExoticComponent<DateFieldProps & import("react").RefAttributes<HTMLButtonElement>>;
777
+ export interface RouteFieldEndProps extends Omit<InputHTMLAttributes<HTMLInputElement>, "size"> {
778
+ /** Small title of this half, e.g. "From" / "To". Also the input's accessible name. */
779
+ label: ReactNode;
780
+ /** Icon before the title. Defaults to plane-takeoff (from) / plane-landing (to). */
781
+ icon?: ReactNode;
782
+ /** Line under the input: a prompt ("Where from?"), the chosen airport ("EVN · Zvartnots International") or a hint ("Type at least 2 letters"). */
783
+ caption?: ReactNode;
784
+ /** Ref to the `<input>`, e.g. to anchor a suggestions popover to it. */
785
+ ref?: Ref<HTMLInputElement>;
786
+ }
787
+ export interface RouteFieldProps extends Omit<FormFieldProps, "size">, Omit<HTMLAttributes<HTMLDivElement>, "children"> {
788
+ /** The origin half: its title, caption and every native input prop (`value`, `onChange`, `placeholder`, `name`, `aria-*`, …). */
789
+ from: RouteFieldEndProps;
790
+ /** The destination half. */
791
+ to: RouteFieldEndProps;
792
+ /** Called when the round button between the halves is pressed; swap the two values in your state. Without it there is no button. */
793
+ onSwap?: () => void;
794
+ /** Accessible name of the swap button. */
795
+ swapLabel?: string;
796
+ /** Disables both inputs and the swap button. */
797
+ disabled?: boolean;
798
+ }
799
+ /**
800
+ * Figma "Drop down inputs / Type=Route": origin and destination in one box with a swap button.
801
+ * Each half is a text input the traveller types a city or airport into; the suggestions list Figma shows under the
802
+ * focused half is not part of this component — attach your own to the input (`from.ref` / `to.ref`, plus `role="combobox"` and `aria-*` props).
803
+ * The ref and extra props go to the root.
804
+ */
805
+ export declare const RouteField: import("react").ForwardRefExoticComponent<RouteFieldProps & import("react").RefAttributes<HTMLDivElement>>;
806
+ /** Figma "Size": L (22px) · M (20px) · S (16px) */
807
+ export type CheckboxSize = "lg" | "md" | "sm";
808
+ export interface CheckboxProps extends Omit<InputHTMLAttributes<HTMLInputElement>, "size" | "type"> {
809
+ /** Figma "Size". */
810
+ size?: CheckboxSize;
811
+ /** Label shown next to the box. Without it pass `aria-label` or `aria-labelledby`. */
812
+ children?: ReactNode;
813
+ /** Class for the root `<label>`; every other prop (and the ref) goes to the native `<input>`. */
814
+ className?: string;
815
+ /** Inline style for the root `<label>`. */
816
+ style?: CSSProperties;
817
+ }
818
+ /**
819
+ * Figma component set "Checkbox" (State=Default → unchecked, State=Clicked → checked).
820
+ * A native `<input type="checkbox">`, so `checked` / `defaultChecked` / `onChange` / `name` / `required` work as usual.
821
+ */
822
+ export declare const Checkbox: import("react").ForwardRefExoticComponent<CheckboxProps & import("react").RefAttributes<HTMLInputElement>>;
823
+ /** Figma "Size": L (22px) · M (20px) · S (16px) */
824
+ export type RadioSize = "lg" | "md" | "sm";
825
+ export interface RadioProps extends Omit<InputHTMLAttributes<HTMLInputElement>, "size" | "type"> {
826
+ /** Figma "Size". Inherited from `RadioGroup` when omitted. */
827
+ size?: RadioSize;
828
+ /** Label shown next to the circle. Without it pass `aria-label` or `aria-labelledby`. */
829
+ children?: ReactNode;
830
+ /** Class for the root `<label>`; every other prop (and the ref) goes to the native `<input>`. */
831
+ className?: string;
832
+ /** Inline style for the root `<label>`. */
833
+ style?: CSSProperties;
834
+ }
835
+ /**
836
+ * Figma component set "Radio" (State=Default → unchecked, State=Clicked → checked).
837
+ * A native `<input type="radio">`; inside a `RadioGroup` it takes `name`, the checked state and `size` from the group.
838
+ */
839
+ export declare const Radio: import("react").ForwardRefExoticComponent<RadioProps & import("react").RefAttributes<HTMLInputElement>>;
840
+ export interface RadioGroupProps extends Omit<HTMLAttributes<HTMLDivElement>, "onChange" | "defaultValue"> {
841
+ /** Shared `name` of the radios (needed for form submission). Generated when omitted. */
842
+ name?: string;
843
+ /** Value of the selected radio (controlled). */
844
+ value?: string;
845
+ /** Initially selected value (uncontrolled). */
846
+ defaultValue?: string;
847
+ /** Called with the `value` of the radio the user selected. */
848
+ onValueChange?: (value: string) => void;
849
+ /** Size for every radio in the group. */
850
+ size?: RadioSize;
851
+ /** Disables every radio in the group. */
852
+ disabled?: boolean;
853
+ /** Layout of the options. */
854
+ orientation?: "vertical" | "horizontal";
855
+ }
856
+ /**
857
+ * Groups `Radio`s under one name and one value (`role="radiogroup"`). Name the group with `aria-label` or `aria-labelledby`.
858
+ * Arrow keys move the selection — that is the browser's native behaviour for radios sharing a `name`.
859
+ */
860
+ export declare const RadioGroup: import("react").ForwardRefExoticComponent<RadioGroupProps & import("react").RefAttributes<HTMLDivElement>>;
861
+ /** Figma "Size": L (52×28) · M (48×26) · S (44×24) */
862
+ export type ToggleSize = "lg" | "md" | "sm";
863
+ export interface ToggleProps extends Omit<InputHTMLAttributes<HTMLInputElement>, "size" | "type" | "role"> {
864
+ /** Figma "Size". */
865
+ size?: ToggleSize;
866
+ /** Label shown next to the switch. Without it pass `aria-label` or `aria-labelledby`. */
867
+ children?: ReactNode;
868
+ /** Class for the root `<label>`; every other prop (and the ref) goes to the native `<input>`. */
869
+ className?: string;
870
+ /** Inline style for the root `<label>`. */
871
+ style?: CSSProperties;
872
+ }
873
+ /**
874
+ * Figma component set "Toggle" (State=Off / State=on). A native checkbox exposed as `role="switch"`,
875
+ * so `checked` / `defaultChecked` / `onChange` / `name` work as usual and Space toggles it.
876
+ */
877
+ export declare const Toggle: import("react").ForwardRefExoticComponent<ToggleProps & import("react").RefAttributes<HTMLInputElement>>;
878
+ /** Figma "Property 1": L (46px) · M (42px) · S (38px) */
879
+ export type QuantityStepperSize = "lg" | "md" | "sm";
880
+ export interface QuantityStepperProps extends Omit<HTMLAttributes<HTMLDivElement>, "onChange" | "defaultValue"> {
881
+ /** Current quantity (controlled). */
882
+ value?: number;
883
+ /** Initial quantity (uncontrolled). Defaults to `min`. */
884
+ defaultValue?: number;
885
+ /** Called with the new quantity after − or + is pressed. */
886
+ onValueChange?: (value: number) => void;
887
+ /** Lowest allowed quantity; the − button is disabled when it is reached. */
888
+ min?: number;
889
+ /** Highest allowed quantity; the + button is disabled when it is reached. */
890
+ max?: number;
891
+ /** Amount added or removed per press. */
892
+ step?: number;
893
+ /** Figma "Property 1" (size). */
894
+ size?: QuantityStepperSize;
895
+ /** Disables both buttons. */
896
+ disabled?: boolean;
897
+ /** Accessible name of the − button. Translate it in the app. */
898
+ decrementLabel?: string;
899
+ /** Accessible name of the + button. Translate it in the app. */
900
+ incrementLabel?: string;
901
+ }
902
+ /**
903
+ * Figma component set "Quantity Stepper": − value +. Name what is being counted with `aria-label` or `aria-labelledby`
904
+ * (the root is a `role="group"`); the value is announced to screen readers when it changes.
905
+ */
906
+ export declare const QuantityStepper: import("react").ForwardRefExoticComponent<QuantityStepperProps & import("react").RefAttributes<HTMLDivElement>>;
907
+ /** Figma "Size": L (36px) · M (32px) · S (28px) */
908
+ export type IconButtonSize = "lg" | "md" | "sm";
909
+ export interface IconButtonProps extends Omit<ButtonHTMLAttributes<HTMLButtonElement>, "aria-label"> {
910
+ /** Accessible name — the button has no visible text, so this is required. Translate it in the app. */
911
+ "aria-label": string;
912
+ /** Figma "Size". The icon follows it: 20 · 16 · 12px. */
913
+ size?: IconButtonSize;
914
+ /** One icon from `@travel-match/ui` (e.g. `<PlusIcon />`). */
915
+ children: ReactNode;
916
+ }
917
+ /**
918
+ * Small square, bordered button holding a single icon (Figma component set "Icon Button").
919
+ * Used by QuantityStepper; for an icon-only call to action use `<Button startIcon={…} aria-label="…" />` instead.
920
+ */
921
+ export declare const IconButton: import("react").ForwardRefExoticComponent<IconButtonProps & import("react").RefAttributes<HTMLButtonElement>>;
922
+ export interface BudgetValue {
923
+ /** Whole amount in `currency`, or `null` while the field is empty or "Not sure yet" is on. */
924
+ amount: number | null;
925
+ /** Selected currency code, e.g. `AMD`. */
926
+ currency: string;
927
+ /** Selected basis — the `value` of one of `basisOptions` (`total` or `per-person` by default). */
928
+ basis: string;
929
+ /** "Not sure yet" is on: the amount, currency and basis are disabled. */
930
+ notSure: boolean;
931
+ }
932
+ export interface BudgetBasisOption {
933
+ value: string;
934
+ label: ReactNode;
935
+ }
936
+ type NativeInputProps = Omit<InputHTMLAttributes<HTMLInputElement>, "value" | "defaultValue" | "onChange" | "size" | "type" | "children">;
937
+ export interface BudgetFieldProps extends Omit<FormFieldProps, "size">, NativeInputProps {
938
+ /** Current budget (controlled). */
939
+ value?: BudgetValue;
940
+ /** Initial budget (uncontrolled); missing keys fall back to an empty amount, the first currency and the first basis. */
941
+ defaultValue?: Partial<BudgetValue>;
942
+ /** Called with the whole budget whenever the amount, currency, basis or "Not sure yet" changes. */
943
+ onValueChange?: (value: BudgetValue) => void;
944
+ /** Currency codes offered in the currency select. Omit it to hide the select. */
945
+ currencies?: string[];
946
+ /** The basis chips. Defaults to Total / Per person — pass translated labels. */
947
+ basisOptions?: BudgetBasisOption[];
948
+ /** Shows the "Not sure yet" chip. */
949
+ allowNotSure?: boolean;
950
+ /** Label of the "Not sure yet" chip. */
951
+ notSureLabel?: ReactNode;
952
+ /** Help text shown instead of `helperText` while "Not sure yet" is on. */
953
+ notSureHelperText?: ReactNode;
954
+ /** Placeholder of the amount input. */
955
+ amountPlaceholder?: string;
956
+ /** Accessible name of the currency select. */
957
+ currencyLabel?: string;
958
+ /** Accessible name of the basis chip group. */
959
+ basisLabel?: string;
960
+ /** Formats the amount while the input is not focused. Defaults to thousands separated by spaces ("1 200 000"). */
961
+ formatAmount?: (amount: number) => string;
962
+ /** Disables every control of the field. */
963
+ disabled?: boolean;
964
+ }
965
+ /**
966
+ * Figma component set "Budget Field": amount + currency, a Total / Per person basis and an optional "Not sure yet" chip.
967
+ * The ref and any extra props go to the amount `<input>`; `className` goes to the root.
968
+ */
969
+ export declare const BudgetField: import("react").ForwardRefExoticComponent<BudgetFieldProps & import("react").RefAttributes<HTMLInputElement>>;
970
+ /** One row of the panel, e.g. Adults / Children / Infants. */
971
+ export interface TravelerSelectorItem {
972
+ /** Key of this row in `value`. */
973
+ id: string;
974
+ /** Row title, e.g. "Adults". */
975
+ label: ReactNode;
976
+ /** Small text under the title, e.g. "12 years and over". */
977
+ description?: ReactNode;
978
+ /** Lowest count (default 0). */
979
+ min?: number;
980
+ /** Highest count (default: no limit). Recompute it from `value` for rules such as "one infant per adult". */
981
+ max?: number;
982
+ /**
983
+ * Ask for the age of every traveler in this row (Figma layer "Ages"): the panel shows one `Select` with these
984
+ * options per traveler, e.g. 2–11 years for children. Leave it out for rows that need no age (adults).
985
+ */
986
+ ageOptions?: SelectOption[];
987
+ /** Label of the nth age select, counted from 1 — e.g. `(n) => \`Child ${n}\``. Defaults to the row label followed by the number. */
988
+ ageLabel?: (index: number) => ReactNode;
989
+ }
990
+ /** Count per item id, e.g. `{ adults: 2, children: 1 }`. */
991
+ export type TravelerSelectorValue = Record<string, number>;
992
+ /** Chosen age option per traveler, for the rows that have `ageOptions` — e.g. `{ children: ['7', null] }`. `null` = not chosen yet. */
993
+ export type TravelerSelectorAges = Record<string, (string | null)[]>;
994
+ type TriggerProps$2 = Omit<ButtonHTMLAttributes<HTMLButtonElement>, "value" | "defaultValue" | "onChange" | "children" | "type">;
995
+ export interface TravelerSelectorProps extends Omit<FormFieldProps, "size">, TriggerProps$2 {
996
+ /** The rows. Figma "Config=Package" is adults + children, "Config=Flight" adds infants — both are just data. */
997
+ items: TravelerSelectorItem[];
998
+ /** Counts per item id (controlled). */
999
+ value?: TravelerSelectorValue;
1000
+ /** Initial counts (uncontrolled). Missing ids start at the item's `min`. */
1001
+ defaultValue?: TravelerSelectorValue;
1002
+ /** Called with all counts after a stepper is pressed. */
1003
+ onValueChange?: (value: TravelerSelectorValue) => void;
1004
+ /** Ages per item id for the rows with `ageOptions` (controlled). Each list is as long as that row's count. */
1005
+ ages?: TravelerSelectorAges;
1006
+ /** Initial ages (uncontrolled). */
1007
+ defaultAges?: TravelerSelectorAges;
1008
+ /** Called with all ages after one is chosen, and when lowering a count removes a traveler's age. */
1009
+ onAgesChange?: (ages: TravelerSelectorAges) => void;
1010
+ /** Heading of the ages box. */
1011
+ agesTitle?: ReactNode;
1012
+ /** Shown in an age select until an age is chosen. */
1013
+ agePlaceholder?: ReactNode;
1014
+ /** Text shown in the field, e.g. "2 adults · 1 child" (Figma text property "Summary"). */
1015
+ summary?: ReactNode;
1016
+ /** Builds the summary from the counts; used when `summary` is not set. */
1017
+ formatSummary?: (value: TravelerSelectorValue) => ReactNode;
1018
+ /** Shown in the field when there is no summary. */
1019
+ placeholder?: ReactNode;
1020
+ /** Whether the panel is open (controlled; Figma "State=Open"). */
1021
+ open?: boolean;
1022
+ /** Opens the panel initially (uncontrolled). */
1023
+ defaultOpen?: boolean;
1024
+ /** Called when the panel opens or closes. */
1025
+ onOpenChange?: (open: boolean) => void;
1026
+ /** Label of the button that closes the panel. */
1027
+ doneLabel?: ReactNode;
1028
+ /** Accessible name of every − button. */
1029
+ decrementLabel?: string;
1030
+ /** Accessible name of every + button. */
1031
+ incrementLabel?: string;
1032
+ /** Extra panel content between the ages box and the footer, e.g. a `TravelerSelectorNote`. */
1033
+ children?: ReactNode;
1034
+ /** Element the panel is rendered into (default `document.body`). Set it when the theme is scoped to a container. */
1035
+ portalContainer?: HTMLElement | null;
1036
+ }
1037
+ /**
1038
+ * Figma component set "Traveler Selector": a field showing the summary and a popover with one Quantity Stepper per row,
1039
+ * plus one age `Select` per traveler for the rows that have `ageOptions`.
1040
+ * The ref and any extra props go to the trigger `<button>`; `className` goes to the root.
1041
+ */
1042
+ export declare const TravelerSelector: import("react").ForwardRefExoticComponent<TravelerSelectorProps & import("react").RefAttributes<HTMLButtonElement>>;
1043
+ export interface TravelerSelectorSectionProps extends Omit<HTMLAttributes<HTMLDivElement>, "title"> {
1044
+ /** Section heading, e.g. "Ages on the day of travel". */
1045
+ title?: ReactNode;
1046
+ /** The fields of the section (e.g. one age select per child); they share the row equally. */
1047
+ children?: ReactNode;
1048
+ }
1049
+ /**
1050
+ * The tinted box inside the panel (Figma layer "Ages"). `TravelerSelector` renders it itself for the age selects;
1051
+ * use it as a child only for other grouped fields.
1052
+ */
1053
+ export declare const TravelerSelectorSection: import("react").ForwardRefExoticComponent<TravelerSelectorSectionProps & import("react").RefAttributes<HTMLDivElement>>;
1054
+ export type TravelerSelectorNoteProps = HTMLAttributes<HTMLParagraphElement>;
1055
+ /** The small info line inside the panel (e.g. "One infant per adult…"). Pass it as a child of `TravelerSelector`. */
1056
+ export declare const TravelerSelectorNote: import("react").ForwardRefExoticComponent<TravelerSelectorNoteProps & import("react").RefAttributes<HTMLParagraphElement>>;
1057
+ /** Position of the day inside a selected date range (Figma "State=Range Start | Range Middle | Range End"). */
1058
+ export type CalendarDayRange = "start" | "middle" | "end";
1059
+ export interface CalendarDayProps extends ButtonHTMLAttributes<HTMLButtonElement> {
1060
+ /** The day number (Figma text property "Day"). */
1061
+ children?: ReactNode;
1062
+ /** Marks the current date (Figma "State=Today"); also sets `aria-current="date"`. */
1063
+ today?: boolean;
1064
+ /** A single selected date (Figma "State=Selected"). */
1065
+ selected?: boolean;
1066
+ /** Where the day sits in a selected range: `start` and `end` are filled circles with half a band, `middle` is the band. */
1067
+ range?: CalendarDayRange;
1068
+ /** Outside the selectable period (Figma "State=Disabled"): the button is natively disabled. */
1069
+ disabled?: boolean;
1070
+ /** Selectable period, but the date cannot be chosen (Figma "State=Unavailable"): stays focusable, `aria-disabled`, clicks are ignored. */
1071
+ unavailable?: boolean;
1072
+ /** Blank leading/trailing cell (Figma "State=Empty"): keeps its place in the grid, hidden from assistive technology. */
1073
+ empty?: boolean;
1074
+ }
1075
+ /**
1076
+ * Figma component set "Calendar Day": one day cell of the date picker. Hover and focus are native states.
1077
+ * Give it a full-date `aria-label` (e.g. "12 March 2027") when it is used in a calendar grid.
1078
+ */
1079
+ export declare const CalendarDay: import("react").ForwardRefExoticComponent<CalendarDayProps & import("react").RefAttributes<HTMLButtonElement>>;
1080
+ export interface HeaderItemProps extends AnchorHTMLAttributes<HTMLAnchorElement> {
1081
+ /** Marks the link to the page the user is on (Figma "Clicked"): link colour and `aria-current="page"`. */
1082
+ active?: boolean;
1083
+ /** Renders the single child element (e.g. a router `<Link>`) with the item's styling instead of an `<a>`. */
1084
+ asChild?: boolean;
1085
+ }
1086
+ /** A link in the site header's navigation. */
1087
+ export declare const HeaderItem: import("react").ForwardRefExoticComponent<HeaderItemProps & import("react").RefAttributes<HTMLAnchorElement>>;
1088
+ /** Figma "Tone": `on-image` is the light version for hero photos and dark surfaces. */
1089
+ export type BreadcrumbTone = "default" | "on-image";
1090
+ export interface BreadcrumbProps extends HTMLAttributes<HTMLElement> {
1091
+ /** Figma "Tone". */
1092
+ tone?: BreadcrumbTone;
1093
+ /** Name of the navigation landmark — translate it. */
1094
+ "aria-label"?: string;
1095
+ }
1096
+ /** The trail of pages leading to the current one. Children are `BreadcrumbItem`s — any number of levels. */
1097
+ export declare const Breadcrumb: import("react").ForwardRefExoticComponent<BreadcrumbProps & import("react").RefAttributes<HTMLElement>>;
1098
+ export interface BreadcrumbItemProps extends AnchorHTMLAttributes<HTMLAnchorElement> {
1099
+ /** The page the user is on (Figma "Current") — the last item. Rendered as text unless it has an `href`. */
1100
+ current?: boolean;
1101
+ /** Renders the single child element (e.g. a router `<Link>`) as the link instead of an `<a>`. */
1102
+ asChild?: boolean;
1103
+ }
1104
+ /** One level of the trail. The separator before it is drawn automatically and hidden from assistive technology. */
1105
+ export declare const BreadcrumbItem: import("react").ForwardRefExoticComponent<BreadcrumbItemProps & import("react").RefAttributes<HTMLAnchorElement>>;
1106
+ export interface PaginationProps extends Omit<HTMLAttributes<HTMLElement>, "children" | "onChange"> {
1107
+ /** Current page, 1-based. */
1108
+ page: number;
1109
+ /** Total number of pages. Nothing is rendered for fewer than two. */
1110
+ pageCount: number;
1111
+ /** Called with the page of the dot the user picked. Without it the dots are a read-only indicator. */
1112
+ onPageChange?: (page: number) => void;
1113
+ /** Accessible name of a dot, and of the whole indicator when it is read-only — translate it. */
1114
+ getPageLabel?: (page: number, pageCount: number) => string;
1115
+ /** Most dots shown at once. With more pages the row slides with the current page and its outer dots shrink. */
1116
+ maxVisible?: number;
1117
+ /** Name of the navigation landmark — translate it. */
1118
+ "aria-label"?: string;
1119
+ }
1120
+ /** Dot pagination for carousels and galleries: one dot per page, the current one stretched into a pill. */
1121
+ export declare const Pagination: import("react").ForwardRefExoticComponent<PaginationProps & import("react").RefAttributes<HTMLElement>>;
1122
+ export interface FormProgressProps extends Omit<OlHTMLAttributes<HTMLOListElement>, "children"> {
1123
+ /** Step labels in order (Figma "Stage 1", "Stage 2", …). Any number of steps. */
1124
+ steps: ReactNode[];
1125
+ /** The step the user is on, 1-based (Figma "Step"). Earlier steps are completed; `steps.length + 1` completes them all. */
1126
+ currentStep: number;
1127
+ /** Screen-reader text added to completed steps, whose number is replaced by a check mark — translate it. In the compact layout it is also the visible count once every step is completed. */
1128
+ completedLabel?: string;
1129
+ /** Visible "Step 1 of 3" text of the compact (narrow container) layout — translate it. */
1130
+ formatStepCount?: (current: number, total: number) => ReactNode;
1131
+ }
1132
+ /**
1133
+ * Where the user is in a multi-step form. A stepper with numbered markers; in a container narrower than
1134
+ * 520px it switches to the compact Figma "Mobile / Form progress" layout (stage title, step count and a segmented bar).
1135
+ */
1136
+ export declare const FormProgress: import("react").ForwardRefExoticComponent<FormProgressProps & import("react").RefAttributes<HTMLOListElement>>;
1137
+ /** Figma "Type": Info · Success · Warning · Error */
1138
+ export type InlineAlertTone = "info" | "success" | "warning" | "error";
1139
+ export interface InlineAlertProps extends Omit<HTMLAttributes<HTMLDivElement>, "title"> {
1140
+ /** Figma "Type". Sets the colours and icon, and the default role: `status` for info/success, `alert` for warning/error. */
1141
+ tone?: InlineAlertTone;
1142
+ /** Short heading in the tone's colour (Figma "Title"). */
1143
+ title?: ReactNode;
1144
+ /** Link or button at the end of the alert (Figma "Action"), e.g. `<button type="button">Try again</button>`. */
1145
+ action?: ReactNode;
1146
+ /** The message (Figma "Message"). */
1147
+ children?: ReactNode;
1148
+ }
1149
+ /** A message placed in the page flow, next to the content it is about. */
1150
+ export declare const InlineAlert: import("react").ForwardRefExoticComponent<InlineAlertProps & import("react").RefAttributes<HTMLDivElement>>;
1151
+ type Weekday = 0 | 1 | 2 | 3 | 4 | 5 | 6;
1152
+ /** A date range as two ISO calendar days; `end` is `null` while only the first day has been picked. */
1153
+ export interface DateRangeValue {
1154
+ /** First day, `'YYYY-MM-DD'`. */
1155
+ start: string | null;
1156
+ /** Last day, `'YYYY-MM-DD'`. */
1157
+ end: string | null;
1158
+ }
1159
+ /** `single` picks one day, `range` picks a first and a last day. */
1160
+ export type CalendarMode = "single" | "range";
1161
+ /** 0 = Sunday, 1 = Monday … 6 = Saturday. */
1162
+ export type CalendarWeekday = Weekday;
1163
+ /** What the calendar and both pickers share: the period, the rules and the language. */
1164
+ export interface CalendarOptions {
1165
+ /** First selectable day (`'YYYY-MM-DD'`); earlier days are disabled and the calendar does not navigate before it. */
1166
+ min?: string;
1167
+ /** Last selectable day (`'YYYY-MM-DD'`); later days are disabled and the calendar does not navigate past it. */
1168
+ max?: string;
1169
+ /** Extra rule for days outside the selectable period (Figma "State=Disabled"): not focusable, not selectable. */
1170
+ isDateDisabled?: (date: string) => boolean;
1171
+ /** Days inside the period that cannot be chosen, e.g. sold out (Figma "State=Unavailable"): focusable, announced as disabled. */
1172
+ isDateUnavailable?: (date: string) => boolean;
1173
+ /** The day marked as today, `'YYYY-MM-DD'`. Defaults to the user's local date; set it in tests and stories. */
1174
+ today?: string;
1175
+ /** BCP 47 language tag for month and weekday names and the days' accessible names (`'hy'`, `'ru'`, `'en'` …). Default `'en'`. */
1176
+ locale?: string;
1177
+ /** First column of the grid: 0 = Sunday, 1 = Monday (default, as in Figma) … 6 = Saturday. */
1178
+ weekStartsOn?: CalendarWeekday;
1179
+ /** Accessible name of the "previous month" button. */
1180
+ previousMonthLabel?: string;
1181
+ /** Accessible name of the "next month" button. */
1182
+ nextMonthLabel?: string;
1183
+ /** Replaces the month title, e.g. to use the app's own month names. Default: "December 2026" from `Intl`. */
1184
+ formatMonth?: (month: string, locale: string) => ReactNode;
1185
+ }
1186
+ interface CalendarBaseProps extends CalendarOptions, Omit<HTMLAttributes<HTMLDivElement>, "defaultValue" | "onChange"> {
1187
+ /** How many months are shown side by side (Figma: 1 in "Single Date Picker", 2 in "Date Range Picker"). */
1188
+ numberOfMonths?: number;
1189
+ /** First visible month, `'YYYY-MM'` (controlled). */
1190
+ month?: string;
1191
+ /** First visible month initially (uncontrolled). Defaults to the month of the value, or of today. */
1192
+ defaultMonth?: string;
1193
+ /** Called with the new first visible month when the user navigates. */
1194
+ onMonthChange?: (month: string) => void;
1195
+ }
1196
+ export interface CalendarSingleProps extends CalendarBaseProps {
1197
+ /** `single` (default): one day. */
1198
+ mode?: "single";
1199
+ /** Selected day, `'YYYY-MM-DD'` or `null` (controlled). */
1200
+ value?: string | null;
1201
+ /** Initially selected day (uncontrolled). */
1202
+ defaultValue?: string | null;
1203
+ /** Called with the day the user picked. */
1204
+ onValueChange?: (value: string | null) => void;
1205
+ }
1206
+ export interface CalendarRangeProps extends CalendarBaseProps {
1207
+ /** `range`: the first click sets `start`, the second sets `end`; a click before `start` (or on a finished range) starts again. */
1208
+ mode: "range";
1209
+ /** Selected range (controlled). */
1210
+ value?: DateRangeValue;
1211
+ /** Initially selected range (uncontrolled). */
1212
+ defaultValue?: DateRangeValue;
1213
+ /** Called after every click: first with `{ start, end: null }`, then with both days. */
1214
+ onValueChange?: (value: DateRangeValue) => void;
1215
+ /** Shortest allowed range in nights (default 0: the same day can be both ends). Days that are too close become unavailable. */
1216
+ minNights?: number;
1217
+ /** Longest allowed range in nights. Days that are too far become unavailable while the end is being picked. */
1218
+ maxNights?: number;
1219
+ }
1220
+ export type CalendarProps = CalendarSingleProps | CalendarRangeProps;
1221
+ /**
1222
+ * Figma component "Calendar Month": month title, previous / next buttons, weekday row and a 6-week grid of `CalendarDay`s —
1223
+ * one or several months side by side. Dates are ISO calendar-day strings (`'YYYY-MM-DD'`), never `Date` objects, so a
1224
+ * picked day cannot shift with the time zone. Follows the WAI-ARIA date grid pattern: arrow keys move by day and week,
1225
+ * Home / End go to the week's first / last day, PageUp / PageDown change the month (with Shift the year).
1226
+ * The ref and extra props go to the root element.
1227
+ */
1228
+ export declare const Calendar: import("react").ForwardRefExoticComponent<CalendarProps & import("react").RefAttributes<HTMLDivElement>>;
1229
+ interface PickerPopoverOptions {
1230
+ /** Whether the panel is open (controlled). */
1231
+ open?: boolean;
1232
+ /** Opens the panel initially (uncontrolled). */
1233
+ defaultOpen?: boolean;
1234
+ /** Called when the panel opens or closes. */
1235
+ onOpenChange?: (open: boolean) => void;
1236
+ /** Element the panel is rendered into (default `document.body`). Set it when the theme is scoped to a container. */
1237
+ portalContainer?: HTMLElement | null;
1238
+ }
1239
+ interface DatePickerTexts {
1240
+ /** Label of the button that commits the picked day. */
1241
+ applyLabel?: ReactNode;
1242
+ /** Label of the button that empties the selection. */
1243
+ clearLabel?: ReactNode;
1244
+ /** Text of a day in the field and in the panel footer. Default: `Intl.DateTimeFormat`, "Sat, 12 Dec 2026" in English. */
1245
+ formatValue?: (date: string, locale: string) => ReactNode;
1246
+ }
1247
+ export interface DatePickerPanelProps extends CalendarOptions, DatePickerTexts, Omit<HTMLAttributes<HTMLDivElement>, "defaultValue" | "onChange"> {
1248
+ /** The day picked in the panel, `'YYYY-MM-DD'` or `null` (controlled). This is the draft — not yet applied. */
1249
+ value?: string | null;
1250
+ /** The day the panel starts with (uncontrolled) — normally the value that is currently applied. */
1251
+ defaultValue?: string | null;
1252
+ /** Called when the user picks a day or presses Clear. */
1253
+ onValueChange?: (value: string | null) => void;
1254
+ /** Called with the picked day (or `null` after Clear) when the user presses Apply. */
1255
+ onApply?: (value: string | null) => void;
1256
+ /** Called when the user presses Clear, after the selection was emptied. */
1257
+ onClear?: () => void;
1258
+ /** Month shown first, `'YYYY-MM'`. Defaults to the month of the value, or of today. */
1259
+ defaultMonth?: string;
1260
+ }
1261
+ /**
1262
+ * Figma component "Single Date Picker" on its own: one calendar month and a footer with the picked day, Clear and Apply.
1263
+ * It holds a draft: picking a day does not report anything final until Apply (`onApply`). `DatePicker` shows it in a
1264
+ * popover; a mobile sheet can host it the same way. Apply is disabled while there is nothing to apply (no day picked and
1265
+ * none to remove). The ref and extra props go to the root element.
1266
+ */
1267
+ export declare const DatePickerPanel: import("react").ForwardRefExoticComponent<DatePickerPanelProps & import("react").RefAttributes<HTMLDivElement>>;
1268
+ type TriggerProps$3 = Omit<ButtonHTMLAttributes<HTMLButtonElement>, "value" | "defaultValue" | "onChange" | "children" | "type" | "name">;
1269
+ export interface DatePickerProps extends Omit<FormFieldProps, "size">, CalendarOptions, DatePickerTexts, PickerPopoverOptions, TriggerProps$3 {
1270
+ /** The applied day, `'YYYY-MM-DD'` or `null` (controlled). */
1271
+ value?: string | null;
1272
+ /** The initial day (uncontrolled). */
1273
+ defaultValue?: string | null;
1274
+ /** Called when the user presses Apply with a different day, or with `null` after Clear + Apply. */
1275
+ onValueChange?: (value: string | null) => void;
1276
+ /** Shown in the field while no day is applied. */
1277
+ placeholder?: ReactNode;
1278
+ /** Adds a hidden input so the ISO day (`'2026-12-12'`, or an empty string) is submitted with a native form. */
1279
+ name?: string;
1280
+ /** Month the panel opens on, `'YYYY-MM'`. Defaults to the month of the value, or of today. */
1281
+ defaultMonth?: string;
1282
+ }
1283
+ /**
1284
+ * Figma "Single Date Picker" anchored to its field (`DateField`). Picking a day only changes a draft: **Apply** commits it
1285
+ * and closes, **Clear** empties the draft, Escape or a press outside closes and discards it. Values are ISO calendar days
1286
+ * (`'2026-12-12'`), never `Date` objects. The ref and extra props go to the field's `<button>`; `className` goes to the root.
1287
+ */
1288
+ export declare const DatePicker: import("react").ForwardRefExoticComponent<DatePickerProps & import("react").RefAttributes<HTMLButtonElement>>;
1289
+ /** One flexibility chip, e.g. `{ value: '3', label: '± 3 days' }`. */
1290
+ export interface DateRangeFlexibilityOption {
1291
+ /** What `flexibility` / `onFlexibilityChange` carry. */
1292
+ value: string;
1293
+ /** Chip text. */
1294
+ label: ReactNode;
1295
+ }
1296
+ interface DateRangePickerOptions extends CalendarOptions {
1297
+ /** Label of the button that commits the picked range. */
1298
+ applyLabel?: ReactNode;
1299
+ /** Label of the button that empties the selection. */
1300
+ clearLabel?: ReactNode;
1301
+ /**
1302
+ * Text of a range in the field and in the panel footer; `end` is `null` in the footer while only the first day is picked.
1303
+ * Default: `Intl.DateTimeFormat`, "12 Dec – 19 Dec 2026" in English.
1304
+ */
1305
+ formatRange?: (start: string, end: string | null, locale: string) => ReactNode;
1306
+ /** Text for the length of the stay ("7 nights"): the field's meta and the end of the footer summary. Pass the app's plural rules. */
1307
+ formatNights?: (nights: number) => ReactNode;
1308
+ /** The flexibility chips (Figma: Exact dates · ± 1 day · ± 3 days · ± 7 days). The block is hidden when omitted. */
1309
+ flexibilityOptions?: DateRangeFlexibilityOption[];
1310
+ /** Heading of the flexibility block. */
1311
+ flexibilityTitle?: ReactNode;
1312
+ /** Shortest allowed stay in nights (default 0: the same day can be both ends). */
1313
+ minNights?: number;
1314
+ /** Longest allowed stay in nights. */
1315
+ maxNights?: number;
1316
+ /** Months shown side by side (Figma: 2). */
1317
+ numberOfMonths?: number;
1318
+ /** Month shown first, `'YYYY-MM'`. Defaults to the month of the range's first day, or of today. */
1319
+ defaultMonth?: string;
1320
+ }
1321
+ export interface DateRangePickerPanelProps extends DateRangePickerOptions, Omit<HTMLAttributes<HTMLDivElement>, "defaultValue" | "onChange"> {
1322
+ /** The range picked in the panel (controlled). This is the draft — not yet applied. */
1323
+ value?: DateRangeValue;
1324
+ /** The range the panel starts with (uncontrolled) — normally the value that is currently applied. */
1325
+ defaultValue?: DateRangeValue;
1326
+ /** Called on every click on a day (first `{ start, end: null }`, then both days) and when Clear is pressed. */
1327
+ onValueChange?: (value: DateRangeValue) => void;
1328
+ /** The chip selected in the panel (controlled draft). */
1329
+ flexibility?: string | null;
1330
+ /** The chip the panel starts with (uncontrolled). */
1331
+ defaultFlexibility?: string | null;
1332
+ /** Called when the user selects a chip. */
1333
+ onFlexibilityChange?: (flexibility: string) => void;
1334
+ /** Called with the picked range (both days, or both `null` after Clear) and the selected chip when the user presses Apply. */
1335
+ onApply?: (value: DateRangeValue, flexibility: string | null) => void;
1336
+ /** Called when the user presses Clear, after the selection was emptied. */
1337
+ onClear?: () => void;
1338
+ }
1339
+ /**
1340
+ * Figma component "Date Range Picker" on its own: the months, the optional flexibility chips and a footer with the range,
1341
+ * the nights, Clear and Apply. It holds a draft of the range and of the chip until Apply (`onApply`); Apply is disabled
1342
+ * until both days are picked (or the range was cleared and there is something to remove). `DateRangePicker` shows it in a
1343
+ * popover; a mobile sheet can host it with `numberOfMonths={1}`. The ref and extra props go to the root element.
1344
+ */
1345
+ export declare const DateRangePickerPanel: import("react").ForwardRefExoticComponent<DateRangePickerPanelProps & import("react").RefAttributes<HTMLDivElement>>;
1346
+ type TriggerProps$4 = Omit<ButtonHTMLAttributes<HTMLButtonElement>, "value" | "defaultValue" | "onChange" | "children" | "type" | "name">;
1347
+ export interface DateRangePickerProps extends Omit<FormFieldProps, "size">, DateRangePickerOptions, PickerPopoverOptions, TriggerProps$4 {
1348
+ /** The applied range (controlled). */
1349
+ value?: DateRangeValue;
1350
+ /** The initial range (uncontrolled). */
1351
+ defaultValue?: DateRangeValue;
1352
+ /** Called when the user presses Apply with a different range: both days, or both `null` after Clear + Apply. */
1353
+ onValueChange?: (value: DateRangeValue) => void;
1354
+ /** The applied flexibility chip (controlled). */
1355
+ flexibility?: string | null;
1356
+ /** The initial flexibility chip (uncontrolled), e.g. `'exact'`. */
1357
+ defaultFlexibility?: string | null;
1358
+ /** Called when the user presses Apply with a different chip selected. */
1359
+ onFlexibilityChange?: (flexibility: string) => void;
1360
+ /** Shown in the field while no range is applied. */
1361
+ placeholder?: ReactNode;
1362
+ /** Adds a hidden input with the ISO first day (`'2026-12-12'`, or an empty string) for native form submission. */
1363
+ startName?: string;
1364
+ /** Adds a hidden input with the ISO last day. */
1365
+ endName?: string;
1366
+ /** Adds a hidden input with the applied flexibility value. */
1367
+ flexibilityName?: string;
1368
+ }
1369
+ /**
1370
+ * Figma "Date Range Picker" anchored to its field (`DateField`): the field shows the range and, as `meta`, the nights.
1371
+ * Picking days and chips only changes a draft: **Apply** (enabled once both days are picked) commits and closes, **Clear**
1372
+ * empties the draft, Escape or a press outside closes and discards it. Where the viewport is too narrow for two months
1373
+ * the panel shows one. Values are ISO calendar days, never `Date` objects. The ref and extra props go to the field's
1374
+ * `<button>`; `className` goes to the root.
1375
+ */
1376
+ export declare const DateRangePicker: import("react").ForwardRefExoticComponent<DateRangePickerProps & import("react").RefAttributes<HTMLButtonElement>>;
1377
+ export interface PortalHeaderProps extends HTMLAttributes<HTMLElement> {
1378
+ /** Left slot. Defaults to `<Logo />`; pass a home link around a `Logo` in the apps. The header sizes the logo (35px, 28px when collapsed). */
1379
+ logo?: ReactNode;
1380
+ /** The navigation: `HeaderItem`s (mark the current page with `active`). Any number, or none. */
1381
+ children?: ReactNode;
1382
+ /** Accessible name of the navigation landmark. Translate it in the app. */
1383
+ navLabel?: string;
1384
+ /** Right slot: language switcher, `NotificationsMenu`, `AccountMenu`, buttons… Wrap what should leave the bar on small screens in `<PortalHeaderShow on="wide">`. */
1385
+ actions?: ReactNode;
1386
+ /** Content of the menu that replaces the navigation on small screens (`PortalHeaderMenuGroup` / `PortalHeaderMenuItem`, or anything else). Defaults to the navigation items stacked. */
1387
+ menu?: ReactNode;
1388
+ /** Pinned at the bottom of the small-screen menu, e.g. the main call to action and "Sign out". */
1389
+ menuFooter?: ReactNode;
1390
+ /** Accessible name of the menu button of the small-screen layout. Translate it in the app. */
1391
+ menuLabel?: string;
1392
+ /** Whether the small-screen menu is open (controlled; Figma "Menu=Open"). */
1393
+ menuOpen?: boolean;
1394
+ /** Opens the small-screen menu initially (uncontrolled). */
1395
+ defaultMenuOpen?: boolean;
1396
+ /** Called when the small-screen menu opens or closes. */
1397
+ onMenuOpenChange?: (open: boolean) => void;
1398
+ /** Width of the header, in px, under which the navigation collapses into the menu button. Lower it for portals with few items. */
1399
+ collapseBelow?: 768 | 1024 | 1200;
1400
+ }
1401
+ /**
1402
+ * Figma component set "Portal Header": the app header of the traveler site, the agency portal and the super-admin portal.
1403
+ * Everything in it is a slot — logo, navigation (`children`), actions — so one component serves all three.
1404
+ * Below `collapseBelow` (measured on the header itself, not the viewport) it becomes Figma's "Portal Header / Mobile":
1405
+ * the navigation moves into a menu opened by a menu button.
1406
+ */
1407
+ export declare const PortalHeader: import("react").ForwardRefExoticComponent<PortalHeaderProps & import("react").RefAttributes<HTMLElement>>;
1408
+ export interface PortalHeaderShowProps extends HTMLAttributes<HTMLSpanElement> {
1409
+ /** `wide`: only in the full header · `compact`: only once the header has collapsed (small screens). */
1410
+ on: "wide" | "compact";
1411
+ }
1412
+ /**
1413
+ * Shows its children in one layout of the surrounding `PortalHeader` only. Use it in `actions` for what moves into the
1414
+ * small-screen menu (language switcher, call to action). It adds no box of its own (`display: contents`).
1415
+ */
1416
+ export declare const PortalHeaderShow: import("react").ForwardRefExoticComponent<PortalHeaderShowProps & import("react").RefAttributes<HTMLSpanElement>>;
1417
+ export interface PortalHeaderMenuGroupProps extends HTMLAttributes<HTMLDivElement> {
1418
+ /** Small upper-case heading of the group ("My account"). */
1419
+ label?: ReactNode;
1420
+ }
1421
+ /** A titled group of `PortalHeaderMenuItem`s in the small-screen menu (Figma "Group / …"). */
1422
+ export declare const PortalHeaderMenuGroup: import("react").ForwardRefExoticComponent<PortalHeaderMenuGroupProps & import("react").RefAttributes<HTMLDivElement>>;
1423
+ export interface PortalHeaderMenuItemProps extends HTMLAttributes<HTMLElement>, Pick<AnchorHTMLAttributes<HTMLAnchorElement>, "href" | "target" | "rel"> {
1424
+ /** Icon before the label (20px, any icon from `@travel-match/ui`). */
1425
+ icon?: ReactNode;
1426
+ /** Text on the right, before the trailing icon — e.g. the current language. */
1427
+ value?: ReactNode;
1428
+ /** Icon at the end of the row. Defaults to a chevron; pass `null` for none. */
1429
+ trailingIcon?: ReactNode;
1430
+ /** `subtle` draws the row as a filled box (Figma "Language"). */
1431
+ variant?: "plain" | "subtle";
1432
+ /** Marks the link to the page the user is on (`aria-current="page"`). */
1433
+ active?: boolean;
1434
+ /** Renders the single child element (e.g. a router `<Link>`) as the row instead of an `<a>` / `<button>`. */
1435
+ asChild?: boolean;
1436
+ }
1437
+ /** One row of the small-screen menu (Figma "Nav / …"): a link with `href` (or `asChild`), otherwise a button. */
1438
+ export declare const PortalHeaderMenuItem: import("react").ForwardRefExoticComponent<PortalHeaderMenuItemProps & import("react").RefAttributes<HTMLElement>>;
1439
+ export interface NotificationsButtonProps extends Omit<ButtonHTMLAttributes<HTMLButtonElement>, "aria-label" | "children"> {
1440
+ /** Accessible name, e.g. "Notifications" — the button has no visible text. Translate it in the app. */
1441
+ "aria-label": string;
1442
+ /** Number of unread notifications. The dot shows when it is above 0 (Figma "Unread=Yes"). */
1443
+ count?: number;
1444
+ /** Shows the unread dot when there is no number to give. */
1445
+ unread?: boolean;
1446
+ /** Builds the accessible name from `count` when there are unread notifications, e.g. `(n) => t('notifications.unread', { count: n })`. */
1447
+ formatLabel?: (count: number) => string;
1448
+ }
1449
+ /**
1450
+ * Figma component set "Notifications" (the 40px bell button of the header). Figma "State=Open" — the primary border —
1451
+ * follows `aria-expanded` / `data-state="open"`, which the popover trigger sets (see `NotificationsMenu`).
1452
+ */
1453
+ export declare const NotificationsButton: import("react").ForwardRefExoticComponent<NotificationsButtonProps & import("react").RefAttributes<HTMLButtonElement>>;
1454
+ export interface NotificationsDropdownProps extends Omit<HTMLAttributes<HTMLElement>, "title"> {
1455
+ /** Heading of the panel, e.g. "Notifications". It also names the panel for assistive technology. */
1456
+ title: ReactNode;
1457
+ /** Heading level of the title (`<h2>` by default). */
1458
+ headingLevel?: 2 | 3 | 4 | 5 | 6;
1459
+ /** Action on the right of the title — pass a `<button>` or link ("Mark all as read"); it gets the link styling. Shown only while there are items. */
1460
+ headerAction?: ReactNode;
1461
+ /** The notifications: `NotificationItem`s, any number. With none the empty state shows (Figma "State=Empty"). */
1462
+ children?: ReactNode;
1463
+ /** Link under the list — pass an `<a>` / router link ("View all notifications"); it gets the link styling. Shown only while there are items. */
1464
+ footer?: ReactNode;
1465
+ /** Empty state heading, e.g. "You're all caught up". */
1466
+ emptyTitle?: ReactNode;
1467
+ /** Empty state text under the heading. */
1468
+ emptyMessage?: ReactNode;
1469
+ /** Replaces the whole built-in empty state (icon tile, `emptyTitle`, `emptyMessage`). */
1470
+ empty?: ReactNode;
1471
+ /** Error message; when set the panel shows it instead of the list (Figma "State=Error"). */
1472
+ error?: ReactNode;
1473
+ /** Label of the retry button of the error state, e.g. "Try again". The button needs `onRetry` too. */
1474
+ retryLabel?: ReactNode;
1475
+ /** Called when the retry button is pressed. */
1476
+ onRetry?: () => void;
1477
+ }
1478
+ /**
1479
+ * Figma component set "Notifications Dropdown": the panel that lists the latest notifications, with its empty and error states.
1480
+ * This is the panel alone — `NotificationsMenu` opens it from the bell button.
1481
+ */
1482
+ export declare const NotificationsDropdown: import("react").ForwardRefExoticComponent<NotificationsDropdownProps & import("react").RefAttributes<HTMLElement>>;
1483
+ type PanelProps = Pick<NotificationsDropdownProps, "title" | "headingLevel" | "headerAction" | "children" | "footer" | "emptyTitle" | "emptyMessage" | "empty" | "error" | "retryLabel" | "onRetry">;
1484
+ export interface NotificationsMenuProps extends Omit<NotificationsButtonProps, "title">, PanelProps {
1485
+ /** Whether the panel is open (controlled). */
1486
+ open?: boolean;
1487
+ /** Opens the panel initially (uncontrolled). */
1488
+ defaultOpen?: boolean;
1489
+ /** Called when the panel opens or closes. */
1490
+ onOpenChange?: (open: boolean) => void;
1491
+ /** How the panel lines up with the button. Figma aligns their right edges (`end`). */
1492
+ align?: "start" | "center" | "end";
1493
+ /** Element the panel is rendered into (default `document.body`). Set it when the theme is scoped to a container. */
1494
+ portalContainer?: HTMLElement | null;
1495
+ /** Class for the panel, which is rendered in a portal outside the button. */
1496
+ panelClassName?: string;
1497
+ }
1498
+ /**
1499
+ * The bell button with its dropdown (Figma "Notifications / State=Open"): `NotificationsButton` opening a
1500
+ * `NotificationsDropdown` in a popover. Escape and a click outside close it, and so does following a link inside it.
1501
+ * The ref and the remaining props go to the button.
1502
+ */
1503
+ export declare const NotificationsMenu: import("react").ForwardRefExoticComponent<NotificationsMenuProps & import("react").RefAttributes<HTMLButtonElement>>;
1504
+ export interface AccountMenuProps extends Omit<ButtonHTMLAttributes<HTMLButtonElement>, "name"> {
1505
+ /** Text next to the avatar, usually the first name ("Anna"). */
1506
+ name?: ReactNode;
1507
+ /** One or two letters shown in the avatar when there is no picture ("AP"). */
1508
+ initials?: string;
1509
+ /** Picture for the avatar. It is decorative: the button is named by `name` / `aria-label`. */
1510
+ avatarSrc?: string;
1511
+ /** Replaces the whole avatar (32px), e.g. with an `AgencyLogo`. */
1512
+ avatar?: ReactNode;
1513
+ /** First line of the menu header, usually the full name ("Anna Petrosyan"). */
1514
+ heading?: ReactNode;
1515
+ /** Second line of the menu header, usually the e-mail address. */
1516
+ description?: ReactNode;
1517
+ /** The menu: `AccountMenuItem`s and `AccountMenuSeparator`s. */
1518
+ children?: ReactNode;
1519
+ /** Avatar-only trigger without the pill, as in the mobile header. Inside a collapsed `PortalHeader` this happens by itself. */
1520
+ compact?: boolean;
1521
+ /** Accessible name of the button and its menu. Defaults to `name` when that is a string; required otherwise. */
1522
+ "aria-label"?: string;
1523
+ /** Whether the menu is open (controlled; Figma "State=Open"). */
1524
+ open?: boolean;
1525
+ /** Opens the menu initially (uncontrolled). */
1526
+ defaultOpen?: boolean;
1527
+ /** Called when the menu opens or closes. */
1528
+ onOpenChange?: (open: boolean) => void;
1529
+ /** How the menu lines up with the button. Figma aligns their right edges (`end`). */
1530
+ align?: "start" | "center" | "end";
1531
+ /** Element the menu is rendered into (default `document.body`). Set it when the theme is scoped to a container. */
1532
+ portalContainer?: HTMLElement | null;
1533
+ /** Class for the menu panel, which is rendered in a portal outside the button. */
1534
+ menuClassName?: string;
1535
+ }
1536
+ /**
1537
+ * Figma component set "Account menu": the avatar pill of the header and the menu it opens.
1538
+ * A menu button — Enter, Space or the arrow keys open it; arrows, Home, End and typing a letter move between the items;
1539
+ * Escape and Tab close it and return focus to the button. The ref and the remaining props go to the button.
1540
+ */
1541
+ export declare const AccountMenu: import("react").ForwardRefExoticComponent<AccountMenuProps & import("react").RefAttributes<HTMLButtonElement>>;
1542
+ export interface AccountMenuItemProps extends HTMLAttributes<HTMLElement>, Pick<AnchorHTMLAttributes<HTMLAnchorElement>, "href" | "target" | "rel"> {
1543
+ /** Icon before the label (20px, any icon from `@travel-match/ui`). */
1544
+ icon?: ReactNode;
1545
+ /** Greys the item out and skips it with the keyboard. */
1546
+ disabled?: boolean;
1547
+ /** Renders the single child element (e.g. a router `<Link>`) as the item instead of an `<a>` / `<button>`. */
1548
+ asChild?: boolean;
1549
+ }
1550
+ /**
1551
+ * One entry of `AccountMenu` (Figma "Item / …"): a link with `href` (or `asChild`), otherwise a button.
1552
+ * Choosing it closes the menu; call `event.preventDefault()` in `onClick` to keep the menu open.
1553
+ */
1554
+ export declare const AccountMenuItem: import("react").ForwardRefExoticComponent<AccountMenuItemProps & import("react").RefAttributes<HTMLElement>>;
1555
+ /** The 1px rule between groups of `AccountMenuItem`s (Figma "Divider"). */
1556
+ export declare const AccountMenuSeparator: import("react").ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
1557
+ /** Figma "Property 1": `transparent` has no fill (over the home page hero), `solid` sits on `background/main`. */
1558
+ export type SiteHeaderVariant = "transparent" | "solid";
1559
+ export interface SiteHeaderProps extends Omit<PortalHeaderProps, "actions"> {
1560
+ /** Figma "Property 1". `transparent` is for the top of a page whose hero runs under the header. */
1561
+ variant?: SiteHeaderVariant;
1562
+ /** Opt-in (not in the Figma prototype): a `transparent` header turns `solid` once the page has scrolled past `scrollThreshold`. */
1563
+ solidOnScroll?: boolean;
1564
+ /** Scroll distance in px after which `solidOnScroll` switches to the solid look. */
1565
+ scrollThreshold?: number;
1566
+ /** Keeps the header at the top of the viewport while the page scrolls (Figma: the header is a fixed child of every page frame). */
1567
+ sticky?: boolean;
1568
+ /**
1569
+ * Right side of the wide bar: `LanguageSelect` (size `sm`), "Sign in" (`Button variant="ghost" size="sm"`) and the call to action
1570
+ * (`Button size="sm"`). Shown in the wide layout only — on small screens put them in `menu` / `menuFooter`, as Figma's "Header / Mobile" does.
1571
+ */
1572
+ actions?: ReactNode;
1573
+ }
1574
+ /**
1575
+ * Figma "Header" (Public Website, node 135:2790) and, below `collapseBelow`, "Header / Mobile" (node 2422:9625).
1576
+ * The marketing header has the anatomy of `PortalHeader` — logo, `HeaderItem` navigation, actions, and on small screens a menu button
1577
+ * opening a full-screen menu — so it is a `PortalHeader` with the public website's look. All of PortalHeader's behaviour
1578
+ * (container-query collapse, disclosure button with `aria-expanded`, Escape and focus return, closing on link click) is inherited.
1579
+ */
1580
+ export declare const SiteHeader: import("react").ForwardRefExoticComponent<SiteHeaderProps & import("react").RefAttributes<HTMLElement>>;
1581
+ /** One link of a footer: app data, translated by the app. */
1582
+ export interface FooterLink extends Pick<AnchorHTMLAttributes<HTMLAnchorElement>, "target" | "rel"> {
1583
+ /** Visible text. */
1584
+ label: ReactNode;
1585
+ /** Destination. */
1586
+ href: string;
1587
+ /** Marks the page the user is on (`aria-current="page"`). */
1588
+ current?: boolean;
1589
+ /** React key; defaults to `href`. */
1590
+ id?: string;
1591
+ }
1592
+ /** Props the footer hands to `renderLink`: spread them on your link element (e.g. Next.js `<Link>`). */
1593
+ export interface FooterLinkRenderProps {
1594
+ href: string;
1595
+ className: string;
1596
+ "aria-current"?: "page";
1597
+ target?: string;
1598
+ rel?: string;
1599
+ children: ReactNode;
1600
+ }
1601
+ /** Renders a footer link with the app's router, e.g. `(link, props) => <Link {...props} />`. */
1602
+ export type FooterRenderLink = (props: FooterLinkRenderProps, link: FooterLink) => ReactNode;
1603
+ /** A titled group of links (Figma "Travelers", "Help", "Agencies", "Legal"). */
1604
+ export interface SiteFooterColumn {
1605
+ /** Heading of the group. */
1606
+ title: ReactNode;
1607
+ /** The links, any number. */
1608
+ links: FooterLink[];
1609
+ /** React key; defaults to the index. */
1610
+ id?: string;
1611
+ }
1612
+ export interface SiteFooterProps extends HTMLAttributes<HTMLElement> {
1613
+ /** Brand block: the logo. Defaults to the white `Logo` (186 × 43); pass a home link around a `Logo variant="white"` in the apps. */
1614
+ logo?: ReactNode;
1615
+ /** Brand block: the short description under the logo. */
1616
+ tagline?: ReactNode;
1617
+ /** Brand block: social links under the description (not drawn in Figma), e.g. `IconButton`s or links. */
1618
+ social?: ReactNode;
1619
+ /** The link groups. */
1620
+ columns?: SiteFooterColumn[];
1621
+ /** Accessible name of the navigation landmark that holds the columns. */
1622
+ navLabel?: string;
1623
+ /** Element used for the column titles. Pick the level that fits the page outline. */
1624
+ headingAs?: "h2" | "h3" | "h4" | "p";
1625
+ /** Legal row, left: the copyright line. */
1626
+ copyright?: ReactNode;
1627
+ /** Legal row, right: label of the "Back to top" button. `null` hides the button. */
1628
+ backToTopLabel?: ReactNode;
1629
+ /** Called by "Back to top". Without it the window scrolls to the top (instantly under `prefers-reduced-motion`). */
1630
+ onBackToTop?: (event: MouseEvent<HTMLButtonElement>) => void;
1631
+ /** Renders each link with the app's router, e.g. `(props) => <Link {...props} />`. Defaults to `<a>`. */
1632
+ renderLink?: FooterRenderLink;
1633
+ }
1634
+ /**
1635
+ * Figma "Footer" (Public Website, node 498:21606) and, below 768px of its own width, "Footer / Mobile" (node 2422:9638):
1636
+ * brand block, link columns, then the legal row (copyright + "Back to top"). Everything shown is app data.
1637
+ */
1638
+ export declare const SiteFooter: import("react").ForwardRefExoticComponent<SiteFooterProps & import("react").RefAttributes<HTMLElement>>;
1639
+ export interface PortalFooterProps extends HTMLAttributes<HTMLElement> {
1640
+ /** Left: the copyright line. */
1641
+ copyright?: ReactNode;
1642
+ /** Right: the links, any number. */
1643
+ links?: FooterLink[];
1644
+ /** Accessible name of the navigation landmark that holds the links. */
1645
+ navLabel?: string;
1646
+ /** Renders each link with the app's router, e.g. `(props) => <Link {...props} />`. Defaults to `<a>`. */
1647
+ renderLink?: FooterRenderLink;
1648
+ }
1649
+ /**
1650
+ * Figma "Portal Footer" (Traveler pages, node 2645:36725): the slim footer of the signed-in portal — copyright on the left,
1651
+ * a row of links on the right. Under 768px of its own width the two stack (not drawn in Figma).
1652
+ */
1653
+ export declare const PortalFooter: import("react").ForwardRefExoticComponent<PortalFooterProps & import("react").RefAttributes<HTMLElement>>;
1654
+ /** Figma "Kind": what the notification is about — it picks the default icon and the tile colour. */
1655
+ export type NotificationKind = "offer" | "status" | "clarification";
1656
+ export interface NotificationItemProps extends Omit<HTMLAttributes<HTMLElement>, "title">, Pick<AnchorHTMLAttributes<HTMLAnchorElement>, "href" | "target" | "rel"> {
1657
+ /** Figma "Kind": `offer` (bell), `status` (check mark) or `clarification` (attention mark on a warning tile). */
1658
+ kind?: NotificationKind;
1659
+ /** Replaces the icon of the `kind` (20px, any icon from `@travel-match/ui`). */
1660
+ icon?: ReactNode;
1661
+ /** First line, e.g. "New offer for Summer in Santorini". */
1662
+ title: ReactNode;
1663
+ /** Second line: what happened. */
1664
+ message?: ReactNode;
1665
+ /** Third line: when it happened, already formatted ("5 min ago"). */
1666
+ time?: ReactNode;
1667
+ /** Machine-readable date for the `<time>` element (ISO 8601). */
1668
+ dateTime?: string;
1669
+ /** Figma "State=Unread": tinted row, semibold title and a dot. */
1670
+ unread?: boolean;
1671
+ /** Text read out for the unread dot, e.g. "Unread". Without it the dot is decorative. */
1672
+ unreadLabel?: string;
1673
+ /** Renders the single child element (e.g. a router `<Link href>` with no content of its own) as the row instead of an `<a>` / `<button>`. */
1674
+ asChild?: boolean;
1675
+ }
1676
+ /**
1677
+ * Figma component set "Notification Item": one row of the notifications list.
1678
+ * It is a link with `href` (or `asChild`), a button with only `onClick`, and plain content otherwise.
1679
+ */
1680
+ export declare const NotificationItem: import("react").ForwardRefExoticComponent<NotificationItemProps & import("react").RefAttributes<HTMLElement>>;
1681
+ /** Figma "Type": Package · Flight */
1682
+ export type RequestCardType = "package" | "flight";
1683
+ /** Colour of the line above the actions: `warning` and `success` follow the status by default. */
1684
+ export type RequestCardNoteTone = "neutral" | "warning" | "success";
1685
+ export interface RequestCardMetaItem {
1686
+ /** Icon in front of the text, e.g. `<MapPinIcon />`. It is sized by the card (16px). */
1687
+ icon?: ReactNode;
1688
+ /** Already formatted, translated text: destination, dates, travelers… */
1689
+ label: ReactNode;
1690
+ /** React key; defaults to the item's index. */
1691
+ key?: string | number;
1692
+ }
1693
+ export interface RequestCardProps extends Omit<HTMLAttributes<HTMLElement>, "title"> {
1694
+ /** Kind of request (Figma "Type"); sets the icon and the default English label of the type line. */
1695
+ type?: RequestCardType;
1696
+ /** Text of the type line. Defaults to "Travel Package" / "Flight Request" — pass the translated name in apps. */
1697
+ typeLabel?: ReactNode;
1698
+ /** Lifecycle status (Figma "Status"), shown as a `RequestStatus` badge. */
1699
+ status: RequestStatusValue;
1700
+ /** Text of the status badge. Defaults to the English status name — pass the translated name in apps. */
1701
+ statusLabel?: ReactNode;
1702
+ /** Request title, e.g. the trip name or the route. */
1703
+ title: ReactNode;
1704
+ /** Heading level of the title; pick the one that fits the page outline. */
1705
+ headingLevel?: 2 | 3 | 4 | 5 | 6;
1706
+ /** Destination photo URL. Without it (and without `image`) a neutral tile with the type icon is shown. */
1707
+ imageSrc?: string;
1708
+ /** Alternative text of the photo; leave empty when the photo is decorative. */
1709
+ imageAlt?: string;
1710
+ /** Custom photo element (e.g. a framework `<Image>`); it fills the photo frame and replaces `imageSrc`. */
1711
+ image?: ReactNode;
1712
+ /** Icon + text facts under the title: destination or route, dates, travelers. Any number, wraps when needed. */
1713
+ meta?: RequestCardMetaItem[];
1714
+ /** Small print under the facts (Figma "Last updated"), e.g. "Submitted 12 Nov 2026 · Ref. TM-24817". */
1715
+ lastUpdated?: ReactNode;
1716
+ /** Line above the actions (Figma "Offer count"), e.g. "Step 2 of 3 saved" or "3 agency offers". */
1717
+ note?: ReactNode;
1718
+ /** Colour of `note`. Defaults to `warning` for needs-clarification, `success` for offers-received, else `neutral`. */
1719
+ noteTone?: RequestCardNoteTone;
1720
+ /**
1721
+ * Buttons, stacked and stretched to the column width. Figma: one `Button` per status (primary for Draft, Needs
1722
+ * Clarification and Offers Received; `outline` otherwise), optionally followed by a `variant="text"` one.
1723
+ */
1724
+ actions?: ReactNode;
1725
+ }
1726
+ /**
1727
+ * A traveler's request in the "My requests" list (Figma component set "Request Card"): photo, type, status, title,
1728
+ * facts and the next action. It fills its container and stacks below 680px of own width (Figma "Mobile / Request Card").
1729
+ */
1730
+ export declare const RequestCard: import("react").ForwardRefExoticComponent<RequestCardProps & import("react").RefAttributes<HTMLElement>>;
1731
+ export type RequestSummaryProps = HTMLAttributes<HTMLDivElement>;
1732
+ /**
1733
+ * The details of a request as a card of sections (Figma component set "Request Summary"). Put one
1734
+ * `RequestSummarySection` per group inside; a divider is drawn between them. It fills its container and stacks
1735
+ * labels above values below 560px of own width (Figma "Mobile / Request Summary").
1736
+ */
1737
+ export declare const RequestSummary: import("react").ForwardRefExoticComponent<RequestSummaryProps & import("react").RefAttributes<HTMLDivElement>>;
1738
+ export interface RequestSummaryRowData {
1739
+ /** Name of the field, e.g. "Destination". */
1740
+ label: ReactNode;
1741
+ /** Already formatted, translated value. */
1742
+ value: ReactNode;
1743
+ /** Marks a placeholder value such as "Not provided" (lighter text). */
1744
+ empty?: boolean;
1745
+ /** React key; defaults to the row's index. */
1746
+ key?: string | number;
1747
+ }
1748
+ export interface RequestSummarySectionProps extends Omit<HTMLAttributes<HTMLElement>, "title"> {
1749
+ /** Section heading, e.g. "Trip details". */
1750
+ title: ReactNode;
1751
+ /** Heading level of the title; pick the one that fits the page outline. */
1752
+ headingLevel?: 2 | 3 | 4 | 5 | 6;
1753
+ /** Action at the end of the heading row, usually a `RequestSummaryEditLink`. */
1754
+ action?: ReactNode;
1755
+ /** The label/value rows as data. `RequestSummaryRow` children are rendered after them. */
1756
+ rows?: RequestSummaryRowData[];
1757
+ /** `RequestSummaryRow` elements, for rows that need their own markup or conditions. */
1758
+ children?: ReactNode;
1759
+ }
1760
+ /** One titled group of rows inside `RequestSummary` (Figma "Group / …"). The rows form a description list. */
1761
+ export declare const RequestSummarySection: import("react").ForwardRefExoticComponent<RequestSummarySectionProps & import("react").RefAttributes<HTMLElement>>;
1762
+ export interface RequestSummaryRowProps extends HTMLAttributes<HTMLDivElement> {
1763
+ /** Name of the field, e.g. "Destination". */
1764
+ label: ReactNode;
1765
+ /** Marks a placeholder value such as "Not provided" (lighter text). */
1766
+ empty?: boolean;
1767
+ /** The value: already formatted, translated content. */
1768
+ children?: ReactNode;
1769
+ }
1770
+ /** A label/value row (Figma "Row / …"); must be inside a `RequestSummarySection`. */
1771
+ export declare const RequestSummaryRow: import("react").ForwardRefExoticComponent<RequestSummaryRowProps & import("react").RefAttributes<HTMLDivElement>>;
1772
+ export interface RequestSummaryEditLinkProps extends AnchorHTMLAttributes<HTMLAnchorElement> {
1773
+ /** Icon before the label. Defaults to the pencil Figma uses (`resize-field`); `null` removes it. */
1774
+ icon?: ReactNode;
1775
+ /** Renders the single child element (a router `<Link>`, or a `<button>` that opens an editor) instead of an `<a>`. */
1776
+ asChild?: boolean;
1777
+ /** Label. Defaults to "Edit" — pass the translated text in apps, and name the section for screen readers with `aria-label`. */
1778
+ children?: ReactNode;
1779
+ }
1780
+ /** The "Edit" link of a section heading (Figma "Edit link"). */
1781
+ export declare const RequestSummaryEditLink: import("react").ForwardRefExoticComponent<RequestSummaryEditLinkProps & import("react").RefAttributes<HTMLAnchorElement>>;
1782
+ export interface HelpQuestionCardProps extends AnchorHTMLAttributes<HTMLAnchorElement> {
1783
+ /** The question (Figma "Question"). */
1784
+ question: ReactNode;
1785
+ /** Topic pill above the question (Figma "Category"), e.g. "Offers". */
1786
+ category?: ReactNode;
1787
+ /** Text of the last line. Defaults to "Read answer" — pass the translated text in apps; `null` removes the line. */
1788
+ readLabel?: ReactNode;
1789
+ /** Heading level of the question; pick the one that fits the page outline. */
1790
+ headingLevel?: 2 | 3 | 4 | 5 | 6;
1791
+ /**
1792
+ * Renders the single child element (e.g. an empty router `<Link href="…" />`) as the card instead of an `<a>`;
1793
+ * the card's content is placed inside it.
1794
+ */
1795
+ asChild?: boolean;
1796
+ }
1797
+ /**
1798
+ * A help-centre question teaser (Figma component set "Help / Question card"). The whole card is one link whose
1799
+ * accessible name is its visible text: category, question and the last line. Figma "State": Default · Hover map to
1800
+ * the native states.
1801
+ */
1802
+ export declare const HelpQuestionCard: import("react").ForwardRefExoticComponent<HelpQuestionCardProps & import("react").RefAttributes<HTMLAnchorElement>>;
1803
+ /** One round destination photo next to the destinations text. */
1804
+ export interface AgencyCardPhoto {
1805
+ /** Image URL. */
1806
+ src: string;
1807
+ /** Alternative text. The photos are decorative next to the destinations text, so it defaults to empty. */
1808
+ alt?: string;
1809
+ }
1810
+ export interface AgencyCardProps extends Omit<HTMLAttributes<HTMLElement>, "children" | "about"> {
1811
+ /** Agency name (Figma "Name"): the card's heading, the link text and the source of the logo's fallback initials. */
1812
+ name: string;
1813
+ /** Heading level of the name, chosen to fit the page outline. */
1814
+ headingLevel?: 2 | 3 | 4 | 5 | 6;
1815
+ /** Destination of the card. With it the name becomes a link that covers the whole card. */
1816
+ href?: string;
1817
+ /** Uses the single child element (e.g. a router `<Link href="…" />`, without children) as the card's link instead of an `<a>`. */
1818
+ asChild?: boolean;
1819
+ /** The link element when `asChild` is set. */
1820
+ children?: ReactNode;
1821
+ /** Agency logo URL (Figma "Logo"). Without it the agency's initials are shown. */
1822
+ logoSrc?: string | null;
1823
+ /** Cover photo URL for the header strip. Without it the strip is a neutral surface. */
1824
+ coverSrc?: string | null;
1825
+ /** Shows the "Verified" badge on the cover (Figma "Verified"). */
1826
+ verified?: boolean;
1827
+ /** Badge text. Defaults to English "Verified" — pass the translation. */
1828
+ verifiedLabel?: ReactNode;
1829
+ /** City and country under the name (Figma "Location"). */
1830
+ location?: ReactNode;
1831
+ /** Short description (Figma "About"). */
1832
+ about?: ReactNode;
1833
+ /** Caption above the destinations text. Defaults to English "Destinations". */
1834
+ destinationsLabel?: ReactNode;
1835
+ /** Regions the agency sells, already joined into one text (Figma "Destinations"). */
1836
+ destinations?: ReactNode;
1837
+ /** Round photos next to the destinations text. The first three are shown. */
1838
+ destinationPhotos?: AgencyCardPhoto[];
1839
+ /** Shows the "Travel Packages" service pill (Figma "Travel Packages"). */
1840
+ travelPackages?: boolean;
1841
+ /** Text of the travel packages pill. Defaults to English. */
1842
+ travelPackagesLabel?: ReactNode;
1843
+ /** Shows the "Flights" service pill (Figma "Flights"). */
1844
+ flights?: boolean;
1845
+ /** Text of the flights pill. Defaults to English. */
1846
+ flightsLabel?: ReactNode;
1847
+ /** Specialisation tags (Figma "Tag 1…3"), any number; they wrap. */
1848
+ tags?: ReactNode[];
1849
+ /** Footer text shown when the card is a link. Defaults to English "View profile". */
1850
+ actionLabel?: ReactNode;
1851
+ }
1852
+ /**
1853
+ * Agency teaser for listings (Figma component set "Agency card v2").
1854
+ * The card is an `<article>` named by the agency; when `href` (or `asChild`) is given, the name is a link stretched over the whole card,
1855
+ * so there is exactly one tab stop and the Figma "Hover" state applies on hover and keyboard focus.
1856
+ */
1857
+ export declare const AgencyCard: import("react").ForwardRefExoticComponent<AgencyCardProps & import("react").RefAttributes<HTMLElement>>;
1858
+ /** Figma "Type": Package · Flight */
1859
+ export type AgencyOfferCardType = "package" | "flight";
1860
+ /** An icon + text pair: one entry of the meta line under the title, or one of the terms at the bottom. */
1861
+ export interface AgencyOfferCardItem {
1862
+ /** React key; defaults to the position in the list. */
1863
+ key?: string;
1864
+ /** One icon from `@travel-match/ui` (e.g. `<CalendarIcon />`). Its size is set by the card. */
1865
+ icon?: ReactNode;
1866
+ /** Already formatted and translated text. */
1867
+ label: ReactNode;
1868
+ }
1869
+ /** One "what's included" entry (package inclusions or flight fare facts). */
1870
+ export interface AgencyOfferCardInclusion {
1871
+ /** React key; defaults to the position in the list. */
1872
+ key?: string;
1873
+ /** Whether the item is part of the offer. */
1874
+ value: InclusionValue;
1875
+ /** Item name, e.g. "Return flights". */
1876
+ label: ReactNode;
1877
+ /** Translated text for what the icon means ("Included" …), read by assistive technology before the label. */
1878
+ stateLabel?: string;
1879
+ }
1880
+ /** One flight segment of a flight offer (Figma "Leg / Outbound", "Leg / Return"). Every text arrives formatted. */
1881
+ export interface AgencyOfferCardLeg {
1882
+ /** React key; defaults to the position in the list. */
1883
+ key?: string;
1884
+ /** Direction, e.g. "Outbound". */
1885
+ label: ReactNode;
1886
+ /** Flight date, e.g. "Sat 12 Dec". */
1887
+ date: ReactNode;
1888
+ /** Departure time, e.g. "06:40". */
1889
+ departureTime: ReactNode;
1890
+ /** Departure airport, e.g. "EVN". */
1891
+ departureAirport: ReactNode;
1892
+ /** Arrival time. */
1893
+ arrivalTime: ReactNode;
1894
+ /** Arrival airport. */
1895
+ arrivalAirport: ReactNode;
1896
+ /** Total travel time, shown above the route line. */
1897
+ duration?: ReactNode;
1898
+ /** Stops summary under the route line, e.g. "1 stop · VIE 1h 20m" or "Direct". */
1899
+ stops?: ReactNode;
1900
+ /** Number of stop markers drawn on the route line; 0 draws a plain line. */
1901
+ stopCount?: number;
1902
+ }
1903
+ export interface AgencyOfferCardProps extends Omit<HTMLAttributes<HTMLElement>, "title"> {
1904
+ /** Figma "Type". `package` lays the inclusions out as a row under the title; `flight` shows them as a fare-facts box next to the legs. */
1905
+ type?: AgencyOfferCardType;
1906
+ /** Agency name, also the source of the logo's fallback initials. */
1907
+ agencyName: string;
1908
+ /** Agency logo URL. */
1909
+ agencyLogoSrc?: string | null;
1910
+ /** Short text after the agency name in the link colour — the route on flight offers ("Yerevan-Paris-Yerevan"). */
1911
+ agencyMeta?: ReactNode;
1912
+ /** Offer photo URL. Without it the card has no photo column (as in the Figma flight offers). */
1913
+ imageSrc?: string | null;
1914
+ /** Alternative text of the photo; empty (decorative) by default. */
1915
+ imageAlt?: string;
1916
+ /** Offer title. */
1917
+ title?: ReactNode;
1918
+ /** Heading level of the title, chosen to fit the page outline. */
1919
+ headingLevel?: 2 | 3 | 4 | 5 | 6;
1920
+ /** Facts under the title: dates, hotel, travelers… */
1921
+ meta?: AgencyOfferCardItem[];
1922
+ /** Flight segments (outbound, return, …). */
1923
+ legs?: AgencyOfferCardLeg[];
1924
+ /** What the price includes (package) or the fare facts (flight). */
1925
+ inclusions?: AgencyOfferCardInclusion[];
1926
+ /** Small print at the bottom: validity, cancellation terms… */
1927
+ terms?: AgencyOfferCardItem[];
1928
+ /** Formatted price including the currency, e.g. "€2,480". */
1929
+ price: ReactNode;
1930
+ /** What the price covers, e.g. "for 2 adults · 1 child". */
1931
+ priceBasis?: ReactNode;
1932
+ /** Main call to action, normally `<Button>View offer</Button>` (use Button's `asChild` for a router link). It is stretched to its column. */
1933
+ action?: ReactNode;
1934
+ /** Whether the offer is in the comparison (Figma "State=Selected for compare"). */
1935
+ compared?: boolean;
1936
+ /** Called with the next value when the compare button is pressed. The button is rendered only when this is set. */
1937
+ onComparedChange?: (compared: boolean) => void;
1938
+ /** Compare button text while not selected. Defaults to English "Compare". */
1939
+ compareLabel?: ReactNode;
1940
+ /** Compare button text while selected. Defaults to English "Added". */
1941
+ comparedLabel?: ReactNode;
1942
+ /** Whether the offer is bookmarked (Figma "State=Saved"). */
1943
+ saved?: boolean;
1944
+ /** Called with the next value when the bookmark button is pressed. The button is rendered only when this is set. */
1945
+ onSavedChange?: (saved: boolean) => void;
1946
+ /** Accessible name of the bookmark button. Defaults to English "Save offer". */
1947
+ saveLabel?: string;
1948
+ }
1949
+ /**
1950
+ * An agency's offer for a travel request (Figma component set "Agency Offer Card").
1951
+ * A row of photo · details · price on wide containers; below 760px of container width it stacks like "Mobile / Agency Offer Card".
1952
+ */
1953
+ export declare const AgencyOfferCard: import("react").ForwardRefExoticComponent<AgencyOfferCardProps & import("react").RefAttributes<HTMLElement>>;
1954
+ /** Figma "Kind": Section · Price · Text · Inclusion, plus Header from "Mobile / Offer Comparison Row". */
1955
+ export type OfferComparisonRowKind = "header" | "section" | "price" | "text" | "inclusion";
1956
+ /** The content of one offer's cell in a row. */
1957
+ export interface OfferComparisonValue {
1958
+ /** React key; defaults to the position in the row. */
1959
+ key?: string;
1960
+ /** Main text, already formatted: a price, a hotel name, the agency name in the header, or the inclusion's wording. */
1961
+ value?: ReactNode;
1962
+ /** Smaller second line. */
1963
+ subValue?: ReactNode;
1964
+ /** `kind="inclusion"` only: which state icon to show. */
1965
+ inclusion?: InclusionValue;
1966
+ /** `kind="inclusion"` only: translated meaning of the icon for assistive technology, used when `value` does not already say it. */
1967
+ stateLabel?: string;
1968
+ }
1969
+ export interface OfferComparisonProps extends HTMLAttributes<HTMLDivElement> {
1970
+ /** `OfferComparisonRow` elements: usually one `kind="header"` row with the offers, then sections and their rows. */
1971
+ children?: ReactNode;
1972
+ }
1973
+ /**
1974
+ * Side-by-side comparison of offers: a grid with table semantics (`role="table"`), so each value is announced with its
1975
+ * row label and its offer. Give it an accessible name with `aria-label` or `aria-labelledby`.
1976
+ * Rows put the label in a first column on wide containers and above the values below 640px of container width.
1977
+ */
1978
+ export declare const OfferComparison: import("react").ForwardRefExoticComponent<OfferComparisonProps & import("react").RefAttributes<HTMLDivElement>>;
1979
+ export interface OfferComparisonRowProps extends HTMLAttributes<HTMLDivElement> {
1980
+ /** Figma "Kind". `header` names the offers (column headers), `section` is a group title, the others are data rows. */
1981
+ kind?: OfferComparisonRowKind;
1982
+ /** Row label, or the section title. On a header row it names the first column and is only shown on wide containers. */
1983
+ label?: ReactNode;
1984
+ /** One entry per offer, in the same order in every row. Not used by `section`. */
1985
+ values?: OfferComparisonValue[];
1986
+ }
1987
+ /** One row of an `OfferComparison` (Figma component set "Offer Comparison Row"). */
1988
+ export declare const OfferComparisonRow: import("react").ForwardRefExoticComponent<OfferComparisonRowProps & import("react").RefAttributes<HTMLDivElement>>;
1989
+ /** Figma "Type": Travel · Flight */
1990
+ export type PackageCardType = "travel" | "flight";
1991
+ /** Figma "Style": Default · Cracked (the photo stub is torn off) */
1992
+ export type PackageCardVariant = "default" | "cracked";
1993
+ /** One feature in the list of a travel-package card. */
1994
+ export interface PackageCardFeature {
1995
+ /** React key; defaults to the position in the list. */
1996
+ key?: string;
1997
+ /** One icon from `@travel-match/ui`. */
1998
+ icon: ReactNode;
1999
+ /** Feature name. */
2000
+ label: ReactNode;
2001
+ }
2002
+ /** The sample route of a flight-request card. */
2003
+ export interface PackageCardRoute {
2004
+ /** Origin code, e.g. "EVN". */
2005
+ origin: ReactNode;
2006
+ /** Destination code, e.g. "PAR". */
2007
+ destination: ReactNode;
2008
+ /** Line under the codes, e.g. "Yerevan → Paris". */
2009
+ caption?: ReactNode;
2010
+ /** Small photo next to the route. */
2011
+ imageSrc?: string | null;
2012
+ /** Alternative text of the small photo; empty (decorative) by default. */
2013
+ imageAlt?: string;
2014
+ }
2015
+ /** A label / value pair under the route. */
2016
+ export interface PackageCardDetail {
2017
+ /** React key; defaults to the position in the list. */
2018
+ key?: string;
2019
+ /** Caption, e.g. "Departure". */
2020
+ label: ReactNode;
2021
+ /** Formatted value, e.g. "15 March 2027". */
2022
+ value: ReactNode;
2023
+ }
2024
+ export interface PackageCardProps extends Omit<HTMLAttributes<HTMLElement>, "title"> {
2025
+ /** Figma "Type". Sets the default stub icon (globe for `travel`, plane for `flight`) and the spacing of the content. */
2026
+ type?: PackageCardType;
2027
+ /** Figma "Style". `cracked` tears the photo stub off and leaves a torn edge; the stub's space stays reserved on wide containers. */
2028
+ variant?: PackageCardVariant;
2029
+ /** Short upper-case line on the gradient band, e.g. "Complete trip planning". */
2030
+ eyebrow?: ReactNode;
2031
+ /** Brand above the title. Defaults to the TravelMatch logo; pass `null` to leave it out. */
2032
+ logo?: ReactNode;
2033
+ /** First part of the title, in the link colour ("Travel" in "Travel Package"). */
2034
+ titleAccent?: ReactNode;
2035
+ /** Title (after `titleAccent`, when there is one). */
2036
+ title: ReactNode;
2037
+ /** Heading level of the title, chosen to fit the page outline. */
2038
+ headingLevel?: 2 | 3 | 4 | 5 | 6;
2039
+ /** One or two sentences under the title. */
2040
+ description?: ReactNode;
2041
+ /** What the request type covers — shown under a dashed divider as a wrapping list of `PackageCardElement`s. */
2042
+ features?: PackageCardFeature[];
2043
+ /** Sample route shown on flight cards. */
2044
+ route?: PackageCardRoute;
2045
+ /** Label / value pairs under the route. */
2046
+ details?: PackageCardDetail[];
2047
+ /** Main call to action, normally `<Button size="sm" endIcon={<NextArrowIcon />}>…</Button>`. */
2048
+ action?: ReactNode;
2049
+ /** Secondary link element (`<a>`, router `<Link>` or `<button>`); it is styled as the Figma "Learn More..." text link. */
2050
+ secondaryAction?: ReactNode;
2051
+ /** Photo of the stub. Without it the stub is a neutral surface. */
2052
+ imageSrc?: string | null;
2053
+ /** Alternative text of the stub photo; empty (decorative) by default. */
2054
+ imageAlt?: string;
2055
+ /** Top line of the pass on the stub, e.g. "Travel\nThe World" (line breaks are kept). */
2056
+ stubTitle?: ReactNode;
2057
+ /** Icon under `stubTitle`; defaults by `type`. */
2058
+ stubIcon?: ReactNode;
2059
+ /** Slogan in the middle of the pass, shown on wide containers only (line breaks are kept). */
2060
+ stubText?: ReactNode;
2061
+ }
2062
+ /**
2063
+ * Ticket-shaped teaser for a request type (Figma component set "Package card"): gradient band, content and a photo stub
2064
+ * behind a perforation. Below 640px of container width the band moves to the top and the stub to the bottom.
2065
+ */
2066
+ export declare const PackageCard: import("react").ForwardRefExoticComponent<PackageCardProps & import("react").RefAttributes<HTMLElement>>;
2067
+ export interface PackageCardElementProps extends HTMLAttributes<HTMLSpanElement> {
2068
+ /** One icon from `@travel-match/ui` (e.g. `<BedIcon />`), drawn at 16px inside the outlined circle. */
2069
+ icon: ReactNode;
2070
+ /** The label. */
2071
+ children?: ReactNode;
2072
+ }
2073
+ /** A feature of a request type (Figma component "package card element"): an icon in an outlined circle and a short label. */
2074
+ export declare const PackageCardElement: import("react").ForwardRefExoticComponent<PackageCardElementProps & import("react").RefAttributes<HTMLSpanElement>>;
2075
+ export interface PartnerCardProps extends HTMLAttributes<HTMLElement> {
2076
+ /** Partner agency name: the card's heading and the source of the logo's fallback initials. */
2077
+ name: string;
2078
+ /** Heading level of the name, chosen to fit the page outline. */
2079
+ headingLevel?: 2 | 3 | 4 | 5 | 6;
2080
+ /** Logo URL. Without it the agency's initials are shown. */
2081
+ logoSrc?: string | null;
2082
+ /** Line under the name, e.g. "Europe & Mediterranean". */
2083
+ subtitle?: ReactNode;
2084
+ /** Specialisation tags, any number; they wrap. */
2085
+ tags?: ReactNode[];
2086
+ /** One or two sentences about the partner. */
2087
+ description?: ReactNode;
2088
+ /** Main call to action, normally `<Button size="sm" endIcon={<NextArrowIcon />}>…</Button>`. */
2089
+ action?: ReactNode;
2090
+ /** Secondary link element (`<a>`, router `<Link>` or `<button>`); it is styled as the Figma "Learn More..." text link. */
2091
+ secondaryAction?: ReactNode;
2092
+ }
2093
+ /**
2094
+ * Partner agency teaser (Figma component "Partner Card"): logo, name, tags, description and two actions.
2095
+ * In cards narrower than about 450px the logo moves above the text, like "Mobile / Partner Card".
2096
+ */
2097
+ export declare const PartnerCard: import("react").ForwardRefExoticComponent<PartnerCardProps & import("react").RefAttributes<HTMLElement>>;
2098
+ export interface ReviewItemProps extends Omit<HTMLAttributes<HTMLElement>, "title"> {
2099
+ /** Reviewer's name (Figma "Name"). */
2100
+ name: ReactNode;
2101
+ /** Text of the avatar (Figma "Initials"). Defaults to the initials of `name` when that is a string. */
2102
+ initials?: ReactNode;
2103
+ /** Line under the name (Figma "Trip"), e.g. "Travel Package · Trip in Jun 2026". */
2104
+ meta?: ReactNode;
2105
+ /** Stars given, 0–5; shown with `Rating`. */
2106
+ rating: number;
2107
+ /** Builds the accessible name of the stars, as on `Rating` ("5 out of 5" by default) — translate it in apps. */
2108
+ ratingLabel?: RatingProps["label"];
2109
+ /** Line under the stars (Figma "Date"), e.g. "Posted 2 Jul 2026"; pass a `<time>` for a machine-readable date. */
2110
+ date?: ReactNode;
2111
+ /** Review title (Figma "Title"). */
2112
+ title?: ReactNode;
2113
+ /** Heading level of the title; pick the one that fits the page outline. */
2114
+ headingLevel?: 2 | 3 | 4 | 5 | 6;
2115
+ /** The review text (Figma "Review"). */
2116
+ children?: ReactNode;
2117
+ /** Cuts the text after this many lines and adds a "Read more" toggle when it does not fit. Shown in full by default. */
2118
+ maxLines?: number;
2119
+ /** Label of the toggle that shows the whole text. Defaults to "Read more" — translate it in apps. */
2120
+ readMoreLabel?: ReactNode;
2121
+ /** Label of the toggle that cuts the text again. Defaults to "Show less" — translate it in apps. */
2122
+ readLessLabel?: ReactNode;
2123
+ /** Shows the "Booked through TravelMatch" tag (Figma "Booked tag"). */
2124
+ booked?: boolean;
2125
+ /** Text of the booked tag. Defaults to "Booked through TravelMatch" — translate it in apps. */
2126
+ bookedLabel?: ReactNode;
2127
+ /** The agency's reply (Figma "Reply", Type=With agency reply). Without it the reply box is not rendered. */
2128
+ reply?: ReactNode;
2129
+ /** Heading of the reply box. Defaults to "Reply from the agency" — translate it in apps. */
2130
+ replyLabel?: ReactNode;
2131
+ /** Agency name: with it the reply box shows the agency's logo (or its initials when there is no image). */
2132
+ agencyName?: string;
2133
+ /** Agency logo URL for the reply box. */
2134
+ agencyLogoSrc?: string | null;
2135
+ }
2136
+ /**
2137
+ * One traveler review (Figma component set "Review item" — Type: Default · With agency reply): author, stars, date,
2138
+ * title, text, the "booked" tag and, when `reply` is given, the agency's answer.
2139
+ */
2140
+ export declare const ReviewItem: import("react").ForwardRefExoticComponent<ReviewItemProps & import("react").RefAttributes<HTMLElement>>;
2141
+ export interface ReviewsSummaryDistributionItem {
2142
+ /** Star level of the row (5 … 1), printed in front of the bar. */
2143
+ stars: number;
2144
+ /** Number of reviews with that many stars; the bar is this share of the total. */
2145
+ count: number;
2146
+ }
2147
+ export interface ReviewsSummaryProps extends HTMLAttributes<HTMLDivElement> {
2148
+ /** The average as text (Figma "Score"), already formatted for the locale, e.g. "4.8". */
2149
+ score: ReactNode;
2150
+ /** The average as a number, 0–5; drives the stars (`Rating` shows whole stars). */
2151
+ rating: number;
2152
+ /** Builds the accessible name of the stars, as on `Rating` ("4.8 out of 5" by default) — translate it in apps. */
2153
+ ratingLabel?: RatingProps["label"];
2154
+ /** Line under the stars (Figma "Count"), e.g. "Based on 24 reviews". */
2155
+ countLabel?: ReactNode;
2156
+ /** One row per star level, in the order to show them (Figma: 5 → 1). Leave it out to show the average only. */
2157
+ distribution?: ReviewsSummaryDistributionItem[];
2158
+ /** What a full bar stands for. Defaults to the sum of the `count`s. */
2159
+ total?: number;
2160
+ /** Accessible name of the list of bars. Defaults to "Rating distribution" — translate it in apps. */
2161
+ distributionLabel?: string;
2162
+ /** Text alternative of one row, e.g. "5 stars: 13 reviews". Defaults to English — pass the app's plural rules. */
2163
+ formatRow?: (stars: number, count: number) => string;
2164
+ }
2165
+ /**
2166
+ * Average rating with the number of reviews and one bar per star level (Figma component "Reviews summary").
2167
+ * The bars are decorative; every row carries the same information as text for assistive technology.
2168
+ */
2169
+ export declare const ReviewsSummary: import("react").ForwardRefExoticComponent<ReviewsSummaryProps & import("react").RefAttributes<HTMLDivElement>>;
2170
+ export interface ReviewsEmptyStateProps extends Omit<HTMLAttributes<HTMLDivElement>, "title"> {
2171
+ /** Headline (Figma "Title"), e.g. "No reviews yet". */
2172
+ title: ReactNode;
2173
+ /** Explanation under the headline (Figma "Description"). Children work too. */
2174
+ description?: ReactNode;
2175
+ /** Icon in the tile. Defaults to the `people` icon of the Figma component; it is sized by the tile (20px). */
2176
+ icon?: ReactNode;
2177
+ /** Renders the headline as a heading of this level instead of a paragraph. */
2178
+ headingLevel?: 2 | 3 | 4 | 5 | 6;
2179
+ }
2180
+ /** The placeholder shown instead of the review list while an agency has no reviews (Figma component "Reviews empty state"). */
2181
+ export declare const ReviewsEmptyState: import("react").ForwardRefExoticComponent<ReviewsEmptyStateProps & import("react").RefAttributes<HTMLDivElement>>;
2182
+ /** Heading level of the question (`<h2>`–`<h6>`); it depends on where the FAQ sits in the page outline. */
2183
+ export type FaqHeadingLevel = 2 | 3 | 4 | 5 | 6;
2184
+ export interface FaqItemProps extends Omit<HTMLAttributes<HTMLDivElement>, "title"> {
2185
+ /** The question (Figma "Question"). It is the label of the button that shows and hides the answer. */
2186
+ question: ReactNode;
2187
+ /** The answer (Figma "Answer"): text or any content — paragraphs, lists, links. */
2188
+ children?: ReactNode;
2189
+ /** Controlled state (Figma "State": Closed · Open). */
2190
+ open?: boolean;
2191
+ /** Initial state of an uncontrolled item. */
2192
+ defaultOpen?: boolean;
2193
+ /** Called with the new state when the user opens or closes the item. */
2194
+ onOpenChange?: (open: boolean) => void;
2195
+ /** Heading level of the question. Defaults to the `FaqList`'s level, otherwise `3`. */
2196
+ headingLevel?: FaqHeadingLevel;
2197
+ }
2198
+ /**
2199
+ * One question of a FAQ (Figma component set "FAQ item"): a disclosure — a heading with a button
2200
+ * (`aria-expanded`) that reveals the answer below it.
2201
+ */
2202
+ export declare const FaqItem: import("react").ForwardRefExoticComponent<FaqItemProps & import("react").RefAttributes<HTMLDivElement>>;
2203
+ export interface FaqListProps extends HTMLAttributes<HTMLDivElement> {
2204
+ /** Heading level for the question of every item in the list (an item's own `headingLevel` wins). */
2205
+ headingLevel?: FaqHeadingLevel;
2206
+ }
2207
+ /** Stacks `FaqItem`s (each draws its own divider) and sets the heading level of their questions once. */
2208
+ export declare const FaqList: import("react").ForwardRefExoticComponent<FaqListProps & import("react").RefAttributes<HTMLDivElement>>;
2209
+ export interface PopularQuestionsAudience {
2210
+ /** Identifies the audience, e.g. `"travellers"`. */
2211
+ value: string;
2212
+ /** Tab text, e.g. "Travellers". */
2213
+ label: ReactNode;
2214
+ /** Optional 16px icon before the label (Figma: plane · briefcase). */
2215
+ icon?: ReactNode;
2216
+ /**
2217
+ * The question cards of this audience (`HelpQuestionCard`s). Audiences that carry their cards stay in the page
2218
+ * while their tab is not selected (hidden), so the block works uncontrolled and from Server Components.
2219
+ */
2220
+ questions?: ReactNode;
2221
+ }
2222
+ export interface PopularQuestionsProps extends Omit<HTMLAttributes<HTMLDivElement>, "onChange" | "defaultValue"> {
2223
+ /** The tabs of the segmented control (Figma "Audience": Travellers · Agencies). With fewer than two there is no control. */
2224
+ audiences?: PopularQuestionsAudience[];
2225
+ /** Controlled value: the `value` of the selected audience. */
2226
+ value?: string;
2227
+ /** Initial audience of an uncontrolled block. Defaults to the first one. */
2228
+ defaultValue?: string;
2229
+ /** Called with the `value` of the audience the user switched to. */
2230
+ onValueChange?: (value: string) => void;
2231
+ /** Accessible name of the tab list, e.g. "Audience". */
2232
+ tabsLabel?: string;
2233
+ /** Question cards of the selected audience, for when the app owns the list (used when the audience has no `questions`). */
2234
+ children?: ReactNode;
2235
+ }
2236
+ /**
2237
+ * Help-centre block (Figma component set "Help / Popular questions"): a segmented control that switches the audience
2238
+ * and a two-column grid of question cards, one column on small screens. The control is a tab list
2239
+ * (arrow keys, Home and End switch tabs).
2240
+ */
2241
+ export declare const PopularQuestions: import("react").ForwardRefExoticComponent<PopularQuestionsProps & import("react").RefAttributes<HTMLDivElement>>;
2242
+ export interface AgenciesFilterOption {
2243
+ /** Identifies the filter, e.g. `"all"`, `"armenia"`. */
2244
+ value: string;
2245
+ /** Chip text, e.g. "All agencies". */
2246
+ label: ReactNode;
2247
+ /** Optional 16px icon before the label. */
2248
+ icon?: ReactNode;
2249
+ /** Disables this chip only. */
2250
+ disabled?: boolean;
2251
+ }
2252
+ /**
2253
+ * `wrap`: chips wrap onto further rows (Figma "Agencies / Filter").
2254
+ * `scroll`: one row that scrolls sideways (Figma "Mobile / Filter chips").
2255
+ * `auto`: `scroll` when the component is narrower than `scrollBelow`, otherwise `wrap`.
2256
+ */
2257
+ export type AgenciesFilterLayout = "wrap" | "scroll" | "auto";
2258
+ export interface AgenciesFilterProps extends Omit<HTMLAttributes<HTMLDivElement>, "onChange" | "defaultValue"> {
2259
+ /** The filters, in display order (Figma: All agencies · Armenia · Abroad · Flights · Family · Beach & spa). */
2260
+ options: AgenciesFilterOption[];
2261
+ /** Controlled value: the `value` of the selected filter (Figma "Selected"), or `null` for none. */
2262
+ value?: string | null;
2263
+ /** Initial value of an uncontrolled filter. */
2264
+ defaultValue?: string | null;
2265
+ /** Called with the `value` of the filter the user picked. */
2266
+ onValueChange?: (value: string) => void;
2267
+ /** Disables every chip. */
2268
+ disabled?: boolean;
2269
+ /** `wrap` (desktop), `scroll` (one sideways-scrolling row, Figma "Mobile / Filter chips") or `auto`: scroll when narrower than `scrollBelow`. */
2270
+ layout?: AgenciesFilterLayout;
2271
+ /** `layout="auto"` only: component width in px below which the row scrolls. Default 640 (a CSS container query); other values are measured with a ResizeObserver. */
2272
+ scrollBelow?: number;
2273
+ /** Class of the outer element (the size container). `className`, `style`, the ref and other props go to the radio group. */
2274
+ rootClassName?: string;
2275
+ /** Style of the outer element. Set `--tm-filter-chips-gutter` / `--tm-filter-chips-bleed` here or on any ancestor. */
2276
+ rootStyle?: CSSProperties;
2277
+ }
2278
+ /**
2279
+ * Filter bar above the agencies list (Figma component sets "Agencies / Filter" and, on phones, "Mobile / Filter chips"):
2280
+ * single-choice `ChoiceChip`s in a radio group — arrow keys move the selection. Wide, the chips wrap; narrow (or with
2281
+ * `layout="scroll"`) they form one row that scrolls sideways, snaps to chips and keeps the selected one in view.
2282
+ * Name it with `aria-label` or `aria-labelledby`.
2283
+ *
2284
+ * DOM: `div.tm-agencies-filter__root` (rootClassName, rootStyle) > `div.tm-agencies-filter[role=radiogroup]`
2285
+ * (ref, className, style, other props; the scroll container in the scroll layout) > chips.
2286
+ */
2287
+ export declare const AgenciesFilter: import("react").ForwardRefExoticComponent<AgenciesFilterProps & import("react").RefAttributes<HTMLDivElement>>;
2288
+ /** Heading level of a plan name (`<h2>`–`<h6>`); it depends on where the block sits in the page outline. */
2289
+ export type PlanHeadingLevel = 2 | 3 | 4 | 5 | 6;
2290
+ export interface PlanCardProps extends Omit<HTMLAttributes<HTMLElement>, "title"> {
2291
+ /** Plan name (Figma "Name"), e.g. "Growth". It is the card's heading. */
2292
+ name: ReactNode;
2293
+ /** Formatted price (Figma "Amount"), e.g. "Free" or "€29". */
2294
+ price: ReactNode;
2295
+ /** Billing period after the price (Figma "Per"), e.g. "/ month". Leave out for a free plan. */
2296
+ period?: ReactNode;
2297
+ /** Who the plan is for (Figma "Who"). */
2298
+ description?: ReactNode;
2299
+ /** What the plan includes; each entry is one line with a check mark. */
2300
+ features?: ReactNode[];
2301
+ /** Highlights the card: primary border, shadow, badge, primary check marks and a primary button. */
2302
+ recommended?: boolean;
2303
+ /** Badge shown on the recommended card (Figma "Recommended"), e.g. "Recommended for you". */
2304
+ recommendedLabel?: ReactNode;
2305
+ /**
2306
+ * The call to action: one link or button element, e.g. `<a href="/join?plan=growth">Choose Growth</a>`, a router
2307
+ * `<Link>` or `<button type="button" onClick={…}>`. It is drawn as a full-width `Button` — primary on the
2308
+ * recommended card, outline otherwise.
2309
+ */
2310
+ action?: ReactElement;
2311
+ /** Heading level of the plan name. Defaults to `3`. */
2312
+ headingLevel?: PlanHeadingLevel;
2313
+ }
2314
+ /** One subscription plan (Figma frame "Plan" inside "Join / Plans picker"). */
2315
+ export declare const PlanCard: import("react").ForwardRefExoticComponent<PlanCardProps & import("react").RefAttributes<HTMLElement>>;
2316
+ export interface PlansPickerPlan extends Pick<PlanCardProps, "name" | "price" | "period" | "description" | "features" | "action"> {
2317
+ /** Identifies the plan, e.g. `"growth"`: the picker's `value` while this plan is the recommended one. */
2318
+ value: string;
2319
+ /** The answer that recommends this plan, shown as a chip (Figma "Option"), e.g. "Up to 50 offers". */
2320
+ option?: ReactNode;
2321
+ }
2322
+ export interface PlansPickerProps extends Omit<HTMLAttributes<HTMLDivElement>, "onChange" | "defaultValue"> {
2323
+ /** The plans, in display order — any number. */
2324
+ plans: PlansPickerPlan[];
2325
+ /** The question the answer chips belong to (Figma "Question"), e.g. "How many offers do you send a month?". */
2326
+ question?: ReactNode;
2327
+ /** Controlled value: the `value` of the selected (recommended) plan (Figma "Volume"), or `null` for none. */
2328
+ value?: string | null;
2329
+ /** Initial value of an uncontrolled picker. */
2330
+ defaultValue?: string | null;
2331
+ /** Called with the `value` of the plan whose answer the user picked. */
2332
+ onValueChange?: (value: string) => void;
2333
+ /** Badge on the recommended plan, e.g. "Recommended for you". */
2334
+ recommendedLabel?: ReactNode;
2335
+ /** Heading level of the plan names. Defaults to `3`. */
2336
+ headingLevel?: PlanHeadingLevel;
2337
+ }
2338
+ /**
2339
+ * Subscription plans for agencies (Figma component set "Join / Plans picker"): a question answered with
2340
+ * single-choice chips (a radio group), and one `PlanCard` per plan — the plan matching the answer is highlighted
2341
+ * as recommended. On small screens the question stacks above the chips and the plans scroll sideways.
2342
+ */
2343
+ export declare const PlansPicker: import("react").ForwardRefExoticComponent<PlansPickerProps & import("react").RefAttributes<HTMLDivElement>>;
2344
+ /** Heading level of the step title (`<h2>`–`<h6>`); it depends on where the block sits in the page outline. */
2345
+ export type StepHeadingLevel = 2 | 3 | 4 | 5 | 6;
2346
+ export interface StepCardProps extends Omit<HTMLAttributes<HTMLDivElement>, "title"> {
2347
+ /** Label above the title, e.g. "Step 01" (Figma "Step 01"). Part of the heading, so it is read with the title. */
2348
+ step?: ReactNode;
2349
+ /** What happens in this step (Figma title, drawn in the link colour). */
2350
+ title: ReactNode;
2351
+ /** The explanation under the title. */
2352
+ children?: ReactNode;
2353
+ /** Heading level of the step label + title. Defaults to `3`. */
2354
+ headingLevel?: StepHeadingLevel;
2355
+ }
2356
+ /** One step of a "how it works" block (Figma component "Steps element"): step label, title, text. */
2357
+ export declare const StepCard: import("react").ForwardRefExoticComponent<StepCardProps & import("react").RefAttributes<HTMLDivElement>>;
2358
+ export type StepsProps = OlHTMLAttributes<HTMLOListElement>;
2359
+ /**
2360
+ * Lays `StepCard`s out as an ordered list: equal columns that wrap onto new rows when a step would get narrower
2361
+ * than 240px (one column on phones). Not a Figma component — the page designs place the steps side by side.
2362
+ */
2363
+ export declare const Steps: import("react").ForwardRefExoticComponent<StepsProps & import("react").RefAttributes<HTMLOListElement>>;
2364
+ export type PhotoAccordionHeadingLevel = 2 | 3 | 4 | 5 | 6;
2365
+ export interface PhotoAccordionItem {
2366
+ /** Identifies the panel in `value` / `onValueChange`. */
2367
+ value: string;
2368
+ /** Photo behind the panel. It is cropped to cover the panel, so keep the subject near the centre. */
2369
+ imageSrc?: string;
2370
+ /** Alternative text of the photo. Leave it out when the photo only illustrates the text on top of it. */
2371
+ imageAlt?: string;
2372
+ /** Replaces the `<img>`, e.g. a `next/image` with `fill`. It is stretched to cover the panel. */
2373
+ image?: ReactNode;
2374
+ /** What the closed panel shows. It is the content of the panel's toggle button, so use phrasing content only. */
2375
+ collapsed: ReactNode;
2376
+ /** What the open panel shows (the card over the photo). */
2377
+ expanded: ReactNode;
2378
+ /** Accessible name of the toggle button, for when `collapsed` is more than a short text. */
2379
+ label?: string;
2380
+ }
2381
+ export interface PhotoAccordionProps extends Omit<HTMLAttributes<HTMLDivElement>, "children" | "defaultValue" | "onChange"> {
2382
+ /** The panels, in order. Nothing is rendered for an empty list. */
2383
+ items: PhotoAccordionItem[];
2384
+ /** Controlled: `value` of the open panel. */
2385
+ value?: string;
2386
+ /** Uncontrolled: `value` of the panel that starts open. Defaults to the first one. */
2387
+ defaultValue?: string;
2388
+ /** Called with the `value` of the panel the user opened. */
2389
+ onValueChange?: (value: string) => void;
2390
+ /** Also opens a panel when the pointer hovers it (touch and keyboard still use the toggle button). */
2391
+ openOnHover?: boolean;
2392
+ /** Level of the heading that wraps each panel's toggle button — pick the one that fits the page outline. */
2393
+ headingLevel?: PhotoAccordionHeadingLevel;
2394
+ /** Width of the component in px below which the panels stack vertically (the Figma mobile layout). Minimum 480, default 720. */
2395
+ collapseBelow?: number;
2396
+ }
2397
+ /**
2398
+ * A row of photo panels of which exactly one is open (Figma "Destinations / …" and "Trip types / …").
2399
+ * The open panel shows a card over its photo, the others a compact label; below `collapseBelow` they stack.
2400
+ * It follows the WAI-ARIA accordion pattern: every panel has a heading with a toggle button and a region.
2401
+ */
2402
+ export declare const PhotoAccordion: import("react").ForwardRefExoticComponent<PhotoAccordionProps & import("react").RefAttributes<HTMLDivElement>>;
2403
+ export interface DestinationItem {
2404
+ /** Identifies the destination in `value` / `onValueChange`. */
2405
+ value: string;
2406
+ /** Destination name: the label of the closed panel and the title of the open one. */
2407
+ name: string;
2408
+ /** Short line above the name, usually the country. Shown in capitals. */
2409
+ overline?: ReactNode;
2410
+ /** One or two sentences about the destination. */
2411
+ description?: ReactNode;
2412
+ /** Photo behind the panel. It is cropped to cover the panel, so keep the subject near the centre. */
2413
+ imageSrc?: string;
2414
+ /** Alternative text of the photo. Leave it out when the photo only illustrates the name. */
2415
+ imageAlt?: string;
2416
+ /** Replaces the `<img>`, e.g. a `next/image` with `fill`. */
2417
+ image?: ReactNode;
2418
+ /** Where the link of the open panel goes. Without it no link is shown. */
2419
+ href?: string;
2420
+ /** Text of the link; overrides the component's `linkLabel` for this destination. */
2421
+ linkLabel?: ReactNode;
2422
+ }
2423
+ /** What `renderLink` receives: spread it onto the app's own link component. */
2424
+ export interface DestinationLinkProps {
2425
+ href: string;
2426
+ className: string;
2427
+ children: ReactNode;
2428
+ }
2429
+ export interface DestinationAccordionProps extends Omit<PhotoAccordionProps, "items"> {
2430
+ /** The destinations, in order. Nothing is rendered for an empty list. */
2431
+ items: DestinationItem[];
2432
+ /** Text of the link in the open panel (Figma "Plan a trip here") — translate it. */
2433
+ linkLabel?: ReactNode;
2434
+ /** Renders the link with the app's router, e.g. `(link) => <Link {...link} />`. Defaults to an `<a>`. */
2435
+ renderLink?: (link: DestinationLinkProps, item: DestinationItem) => ReactNode;
2436
+ }
2437
+ /**
2438
+ * Photo panels for a list of destinations (Figma "Destinations / Abroad" and "Destinations / Around Armenia"):
2439
+ * the open one shows the country, name, a description and a link; the others show the name only.
2440
+ */
2441
+ export declare const DestinationAccordion: import("react").ForwardRefExoticComponent<DestinationAccordionProps & import("react").RefAttributes<HTMLDivElement>>;
2442
+ export interface DestinationGroup {
2443
+ /** Identifies the group in `value` / `onValueChange`. */
2444
+ value: string;
2445
+ /** Text of the group's tab, e.g. "Abroad". */
2446
+ label: ReactNode;
2447
+ /** The destinations of the group. */
2448
+ items: DestinationItem[];
2449
+ }
2450
+ export interface DestinationsProps extends Omit<HTMLAttributes<HTMLDivElement>, "children" | "defaultValue" | "onChange">, Pick<DestinationAccordionProps, "linkLabel" | "renderLink" | "openOnHover" | "headingLevel" | "collapseBelow"> {
2451
+ /** The groups of destinations; each one is a tab. With a single group no tabs are shown. */
2452
+ groups: DestinationGroup[];
2453
+ /** Controlled: `value` of the selected group. */
2454
+ value?: string;
2455
+ /** Uncontrolled: `value` of the group that starts selected. Defaults to the first one. */
2456
+ defaultValue?: string;
2457
+ /** Called with the `value` of the group the user selected. */
2458
+ onValueChange?: (value: string) => void;
2459
+ /** Accessible name of the row of tabs — translate it. */
2460
+ tabsLabel?: string;
2461
+ }
2462
+ /**
2463
+ * Destinations block of the home page (Figma "Destinations"): tabs that switch between groups of destinations
2464
+ * (Figma "Switch": Abroad · Around Armenia), each group shown as a `DestinationAccordion`.
2465
+ */
2466
+ export declare const Destinations: import("react").ForwardRefExoticComponent<DestinationsProps & import("react").RefAttributes<HTMLDivElement>>;
2467
+ export interface TripTypeFact {
2468
+ /** 16px icon before the label. */
2469
+ icon?: ReactNode;
2470
+ /** What the fact is about, e.g. "You choose". */
2471
+ label: ReactNode;
2472
+ /** The fact itself, e.g. "Departure and return dates". */
2473
+ value: ReactNode;
2474
+ }
2475
+ export interface TripTypeItem {
2476
+ /** Identifies the trip type in `value` / `onValueChange`. */
2477
+ value: string;
2478
+ /** Name of the trip type, e.g. "Round trip". */
2479
+ title: string;
2480
+ /** Icon in the tile next to the title. */
2481
+ icon?: ReactNode;
2482
+ /** Short line above the title of the open panel, e.g. "There and back". Shown in capitals. */
2483
+ overline?: ReactNode;
2484
+ /** One line under the title of the closed panel, e.g. "Out and back, two dates". */
2485
+ summary?: ReactNode;
2486
+ /** Stops of the sample route, in order — usually airport codes. Leave it out for a trip type without a route. */
2487
+ route?: ReactNode[];
2488
+ /** 16px icon drawn between two stops. */
2489
+ routeIcon?: ReactNode;
2490
+ /** Reads the route to screen-reader users, e.g. "Yerevan to Paris and back". */
2491
+ routeLabel?: string;
2492
+ /** Label / value rows of the open panel. */
2493
+ facts?: TripTypeFact[];
2494
+ /** Photo behind the panel. It is cropped to cover the panel, so keep the subject near the centre. */
2495
+ imageSrc?: string;
2496
+ /** Alternative text of the photo. Leave it out when the photo only illustrates the title. */
2497
+ imageAlt?: string;
2498
+ /** Replaces the `<img>`, e.g. a `next/image` with `fill`. */
2499
+ image?: ReactNode;
2500
+ /** Where the link of the open panel goes. Without it no link is shown. */
2501
+ href?: string;
2502
+ /** Text of the link, e.g. "Request a round trip flight". */
2503
+ linkLabel?: ReactNode;
2504
+ }
2505
+ /** What `renderLink` receives: spread it onto the app's own link component. */
2506
+ export interface TripTypeLinkProps {
2507
+ href: string;
2508
+ className: string;
2509
+ children: ReactNode;
2510
+ }
2511
+ export interface TripTypesProps extends Omit<PhotoAccordionProps, "items"> {
2512
+ /** The trip types, in order. Nothing is rendered for an empty list. */
2513
+ items: TripTypeItem[];
2514
+ /** Renders the link with the app's router, e.g. `(link) => <Link {...link} />`. Defaults to an `<a>`. */
2515
+ renderLink?: (link: TripTypeLinkProps, item: TripTypeItem) => ReactNode;
2516
+ }
2517
+ /**
2518
+ * Photo panels that explain the kinds of trip a traveller can request (Figma "Trip types / Flight"): the open one
2519
+ * shows the title, a sample route, facts and a link; the others show a short summary.
2520
+ */
2521
+ export declare const TripTypes: import("react").ForwardRefExoticComponent<TripTypesProps & import("react").RefAttributes<HTMLDivElement>>;
2522
+ /** `md` — 480px panel (Figma "Confirmation Dialog") · `lg` — 1120px panel with the large header (Figma "New Request Overlay"). */
2523
+ export type DialogSize = "md" | "lg";
2524
+ /** `center` — floating panel · `sheet` — bottom sheet (Figma "Mobile / Confirmation sheet") · `fullscreen` — covers the viewport (Figma "Mobile / New Request Overlay"). */
2525
+ export type DialogPlacement = "center" | "sheet" | "fullscreen";
2526
+ /**
2527
+ * Resolves `placement="auto"`: `center` on tablet and desktop, `mobilePlacement` below 768px.
2528
+ * Use it when the content of a dialog depends on its shape (ConfirmationDialog switches its cancel button to the ghost style in a sheet).
2529
+ */
2530
+ export declare function useDialogPlacement(placement?: DialogPlacement | "auto", mobilePlacement?: DialogPlacement): DialogPlacement;
2531
+ export interface DialogProps extends Omit<ComponentPropsWithoutRef<"div">, "title" | "role"> {
2532
+ /** Controlled open state. */
2533
+ open?: boolean;
2534
+ /** Open state on first render when uncontrolled. */
2535
+ defaultOpen?: boolean;
2536
+ /** Called when the dialog opens or is dismissed (Escape, overlay click, close button). */
2537
+ onOpenChange?: (open: boolean) => void;
2538
+ /** Element that opens the dialog (e.g. a `<Button>`); focus returns to it on close. */
2539
+ trigger?: ReactNode;
2540
+ /** Heading of the dialog; it is also its accessible name. */
2541
+ title: ReactNode;
2542
+ /** Small uppercase line above the title (Figma "NEW REQUEST" in the New Request Overlay). */
2543
+ eyebrow?: ReactNode;
2544
+ /** Supporting text under the title (Figma "Message"); it is announced as the dialog's description. */
2545
+ description?: ReactNode;
2546
+ /** Content between the header and the footer. */
2547
+ children?: ReactNode;
2548
+ /** Actions (Figma "Actions"): right-aligned row, stacked full-width buttons in a sheet. */
2549
+ footer?: ReactNode;
2550
+ /** Figma panel: `md` 480px (Confirmation Dialog), `lg` 1120px (New Request Overlay). The panel never exceeds the viewport. */
2551
+ size?: DialogSize;
2552
+ /** Where the panel sits. `auto` is `center`, and `mobilePlacement` on viewports below 768px. */
2553
+ placement?: DialogPlacement | "auto";
2554
+ /** Shape used by `placement="auto"` below 768px: bottom `sheet` (default) or `fullscreen`. */
2555
+ mobilePlacement?: DialogPlacement;
2556
+ /** Accessible name of the close button — translate it. */
2557
+ closeLabel?: string;
2558
+ /** Hides the close button (Escape and the overlay still dismiss). */
2559
+ hideCloseButton?: boolean;
2560
+ /** `false` blocks Escape, overlay click and the close button, e.g. while an action is running. */
2561
+ dismissible?: boolean;
2562
+ /** Use `alertdialog` when the dialog interrupts the user for a decision that needs an answer (destructive confirmations). */
2563
+ role?: "dialog" | "alertdialog";
2564
+ /** Element focused when the dialog opens; by default the first focusable element in the panel. */
2565
+ initialFocusRef?: RefObject<HTMLElement | null>;
2566
+ /** Element the dialog is portalled into; defaults to `document.body`. */
2567
+ portalContainer?: HTMLElement | null;
2568
+ }
2569
+ /**
2570
+ * Modal dialog: thin, token-styled wrapper over `@radix-ui/react-dialog` (focus trap, Escape, scroll lock, focus return).
2571
+ * Centered panel on desktop; below 768px it becomes a bottom sheet or a full-screen overlay.
2572
+ */
2573
+ export declare const Dialog: import("react").ForwardRefExoticComponent<DialogProps & import("react").RefAttributes<HTMLDivElement>>;
2574
+ export interface DialogCloseProps {
2575
+ /** The element that closes the dialog when activated, e.g. `<Button variant="outline">Cancel</Button>`. */
2576
+ children: ReactNode;
2577
+ }
2578
+ /** Makes its child close the surrounding `Dialog` — for custom `footer` actions. */
2579
+ export declare function DialogClose({ children }: DialogCloseProps): import("react").JSX.Element;
2580
+ /** `destructive` — the confirm action removes something (Figma "Type=Remove segment"); `default` — every other Figma type. */
2581
+ export type ConfirmationDialogTone = "default" | "destructive";
2582
+ export interface ConfirmationDialogProps extends Omit<DialogProps, "footer" | "size" | "role" | "eyebrow" | "dismissible" | "initialFocusRef" | "hideCloseButton"> {
2583
+ /** `destructive` uses the destructive Button, the `alertdialog` role and puts the initial focus on the cancel button. */
2584
+ tone?: ConfirmationDialogTone;
2585
+ /** Label of the confirming button (Figma "Save draft", "Switch to One-way", "Remove flight", "Sign out"). */
2586
+ confirmLabel: ReactNode;
2587
+ /** Label of the button that dismisses the dialog (Figma "Cancel", "Keep Round trip", "Stay") — translate it. */
2588
+ cancelLabel?: ReactNode;
2589
+ /**
2590
+ * Label of an alternative action between cancel and confirm (Figma "Type=Unsaved changes": "Leave without saving").
2591
+ * When set, the cancel button becomes a text button, as in Figma.
2592
+ */
2593
+ secondaryLabel?: ReactNode;
2594
+ /**
2595
+ * Called when the confirm button is pressed. Return a promise to keep the dialog open with the button loading until it settles:
2596
+ * it closes when the promise resolves and stays open when it rejects (the rejection is not swallowed).
2597
+ */
2598
+ onConfirm?: () => void | PromiseLike<unknown>;
2599
+ /** Called when the dialog is dismissed: cancel button, close button, Escape or a click on the overlay. */
2600
+ onCancel?: () => void;
2601
+ /** Called when the alternative action is pressed; the dialog then closes. */
2602
+ onSecondary?: () => void;
2603
+ /** Shows the confirm button as loading; while loading nothing can be triggered twice and the dialog cannot be dismissed. */
2604
+ loading?: boolean;
2605
+ /** `false` leaves closing after `onConfirm` to the app (control `open` yourself). */
2606
+ closeOnConfirm?: boolean;
2607
+ }
2608
+ /**
2609
+ * Asks the user to confirm or cancel one action (Figma component set "Confirmation Dialog").
2610
+ * A centered dialog on desktop, a bottom sheet with stacked buttons below 768px.
2611
+ */
2612
+ export declare const ConfirmationDialog: import("react").ForwardRefExoticComponent<ConfirmationDialogProps & import("react").RefAttributes<HTMLDivElement>>;
2613
+ interface NewRequestOptionContent {
2614
+ /** Name of the request type (Figma "Travel Package"). With the description it forms the card's accessible name. */
2615
+ title: ReactNode;
2616
+ /** One line under the title (Figma "Plan a trip in Armenia or abroad."). */
2617
+ description?: ReactNode;
2618
+ /** One icon from `@travel-match/ui` for the 44px tile (Figma `roadmap`, `plane`). */
2619
+ icon?: ReactNode;
2620
+ /** Photo at the top of the card; it is cropped to fill a 220px band (140px in narrow layouts). */
2621
+ imageSrc?: string;
2622
+ /** Alternative text of the photo. The photos are decorative by default. */
2623
+ imageAlt?: string;
2624
+ /** Custom image element used instead of `imageSrc`, e.g. `next/image`. */
2625
+ image?: ReactNode;
2626
+ /** What the request type covers (Figma "Capabilities"); each entry gets a check mark. */
2627
+ features?: ReactNode[];
2628
+ /** Call to action at the bottom of the card (Figma "Start a Travel Package"); an arrow is added after it. */
2629
+ cta?: ReactNode;
2630
+ /** Renders the card as a link to this URL instead of a button. */
2631
+ href?: string;
2632
+ }
2633
+ export interface NewRequestOptionCardProps extends NewRequestOptionContent, Omit<ButtonHTMLAttributes<HTMLButtonElement>, "title"> {
2634
+ /** Renders the single child element (e.g. a router `<Link href="…" />`) as the card instead of a `<button>`. */
2635
+ asChild?: boolean;
2636
+ }
2637
+ /**
2638
+ * One choice of the New Request Overlay (Figma "Option / Travel Package"): the whole card is one button or link,
2639
+ * named by its title and description; the feature list is its description for assistive technology.
2640
+ */
2641
+ export declare const NewRequestOptionCard: import("react").ForwardRefExoticComponent<NewRequestOptionCardProps & import("react").RefAttributes<HTMLButtonElement>>;
2642
+ export interface NewRequestOverlayOption extends NewRequestOptionContent {
2643
+ /** Identifies the option in `onSelect`. */
2644
+ id: string;
2645
+ /** Disables the card (buttons only). */
2646
+ disabled?: boolean;
2647
+ }
2648
+ export interface NewRequestOverlayProps extends Omit<DialogProps, "size" | "role" | "footer" | "children" | "onSelect"> {
2649
+ /** The request types to choose from (Figma "Options"): any number, laid out in equal columns that wrap. */
2650
+ options?: NewRequestOverlayOption[];
2651
+ /** Called with the option's `id` when a card is activated. */
2652
+ onSelect?: (id: string) => void;
2653
+ /** `false` keeps the overlay open after a choice (close it yourself through `open`). */
2654
+ closeOnSelect?: boolean;
2655
+ /** Line under the options (Figma "Not sure which one? See how TravelMatch works"); links inside it are styled. */
2656
+ footer?: ReactNode;
2657
+ /**
2658
+ * Replaces the option cards: compose `NewRequestOptionCard` yourself (e.g. `asChild` with router links)
2659
+ * or render the next step of the flow here.
2660
+ */
2661
+ children?: ReactNode;
2662
+ }
2663
+ /**
2664
+ * The overlay that starts a new request by choosing its type (Figma component set "New Request Overlay").
2665
+ * A large centered dialog; below 768px it covers the screen and the cards stack.
2666
+ */
2667
+ export declare const NewRequestOverlay: import("react").ForwardRefExoticComponent<NewRequestOverlayProps & import("react").RefAttributes<HTMLDivElement>>;
2668
+ /**
2669
+ * Colours of the icon tile: `default` — brand tint (Figma "Empty State"), `error` — red tint (Figma "Error State / Load failed"),
2670
+ * `neutral` — grey tint (the other Figma error states).
2671
+ */
2672
+ export type EmptyStateTone = "default" | "neutral" | "error";
2673
+ export interface EmptyStateProps extends Omit<HTMLAttributes<HTMLDivElement>, "title"> {
2674
+ /** One icon from `@travel-match/ui` (e.g. `<PaperIcon />`) shown in the 56px tile; it is decorative. Any other node works as an illustration. */
2675
+ icon?: ReactNode;
2676
+ /** Colours of the icon tile. */
2677
+ tone?: EmptyStateTone;
2678
+ /** Heading (Figma "Title"). */
2679
+ title: ReactNode;
2680
+ /** Heading level of the title — pick the one that fits the page outline. The look does not change. */
2681
+ headingLevel?: 1 | 2 | 3 | 4 | 5 | 6;
2682
+ /** Supporting text (Figma "Message"). */
2683
+ description?: ReactNode;
2684
+ /** One or more buttons or links, e.g. `<Button>New request</Button>`; they sit in a centered row and wrap. */
2685
+ actions?: ReactNode;
2686
+ }
2687
+ /** Placeholder for a list or page that has nothing to show yet (Figma component set "Empty State"). */
2688
+ export declare const EmptyState: import("react").ForwardRefExoticComponent<EmptyStateProps & import("react").RefAttributes<HTMLDivElement>>;
2689
+ /** `error` — something failed (Figma "Type=Load failed") · `neutral` — the content is not available (the other Figma types). */
2690
+ export type ErrorStateTone = "error" | "neutral";
2691
+ export interface ErrorStateProps extends Omit<EmptyStateProps, "tone"> {
2692
+ /** Colours of the icon tile: red for failures, grey for unavailable content. */
2693
+ tone?: ErrorStateTone;
2694
+ }
2695
+ /**
2696
+ * Full-area message for a failed load or unavailable content (Figma component set "Error State").
2697
+ * Same anatomy as `EmptyState` — it is a preset of it with error colours, a default icon and `role="alert"`.
2698
+ */
2699
+ export declare const ErrorState: import("react").ForwardRefExoticComponent<ErrorStateProps & import("react").RefAttributes<HTMLDivElement>>;
2700
+ /**
2701
+ * `completed` — check mark · `current` — in progress (dot) · `attention` — the stage waits for the user
2702
+ * (Figma "Status=Needs Clarification") · `upcoming` — not reached yet.
2703
+ */
2704
+ export type RequestStatusTimelineStepStatus = "completed" | "current" | "attention" | "upcoming";
2705
+ export interface RequestStatusTimelineStep {
2706
+ /** Stable key for the step; defaults to its index. */
2707
+ id?: Key;
2708
+ /** Name of the stage (Figma "Submitted", "TravelMatch review", …). */
2709
+ label: ReactNode;
2710
+ /** Second line: a timestamp for completed stages, a short state for the others (Figma "12 Nov, 10:24", "In progress", "Next", "3 offers"). */
2711
+ meta?: ReactNode;
2712
+ /** Third line: what happens at this stage (Figma "Request received", "Add missing details"). */
2713
+ description?: ReactNode;
2714
+ /** Overrides the status derived from `currentStep`, e.g. `attention` when the stage needs the user's input. */
2715
+ status?: RequestStatusTimelineStepStatus;
2716
+ }
2717
+ export interface RequestStatusTimelineProps extends Omit<OlHTMLAttributes<HTMLOListElement>, "children"> {
2718
+ /** The stages of the request, in order. Any number of steps. */
2719
+ steps: RequestStatusTimelineStep[];
2720
+ /** The stage the request is at, 1-based. Earlier stages are completed; `steps.length + 1` completes them all. */
2721
+ currentStep: number;
2722
+ /** `auto` lays the stages out in a row and stacks them when the container is narrower than 640px. */
2723
+ orientation?: "auto" | "horizontal" | "vertical";
2724
+ /** Screen-reader text added to completed stages, whose marker is only a check mark — translate it. */
2725
+ completedLabel?: string;
2726
+ }
2727
+ /** The lifecycle of a request as a stepper (Figma component set "Request Status Timeline"). */
2728
+ export declare const RequestStatusTimeline: import("react").ForwardRefExoticComponent<RequestStatusTimelineProps & import("react").RefAttributes<HTMLOListElement>>;
2729
+ export interface HeroColumnsPhoto {
2730
+ /** Photo URL. Without it (and without `image`) a neutral tile is shown. */
2731
+ src?: string;
2732
+ /** Custom photo element (e.g. a framework `<Image>`); it fills the tile and replaces `src`. */
2733
+ image?: ReactNode;
2734
+ /** Width ÷ height of the tile. Defaults to the rhythm of the Figma sample (198 wide × 240–300 tall). */
2735
+ aspectRatio?: number;
2736
+ /** Text of the chip in the bottom-left corner (Figma "Chip"), e.g. "Request sent". Translated by the app. */
2737
+ chip?: ReactNode;
2738
+ /** Icon in front of the chip text, e.g. `<PaperIcon />`; drawn at 16px. */
2739
+ chipIcon?: ReactNode;
2740
+ /** React key; defaults to the photo's index. */
2741
+ key?: string | number;
2742
+ }
2743
+ export interface HeroColumnsProps extends Omit<HTMLAttributes<HTMLDivElement>, "children"> {
2744
+ /** One array of photos per column (Figma: two columns of four). Odd columns drift up, even columns drift down. */
2745
+ columns: HeroColumnsPhoto[][];
2746
+ /** Seconds one full loop takes (Figma prototype: 24s, linear). */
2747
+ duration?: number;
2748
+ /** Starts drifting on its own. With `false` the columns rest at `progress`. */
2749
+ autoPlay?: boolean;
2750
+ /** Freezes the drift where it is. */
2751
+ paused?: boolean;
2752
+ /** Point of the loop (0–1) the drift starts from, or rests at while not playing. Figma "Position": Start = 0, End = 1. */
2753
+ progress?: number;
2754
+ }
2755
+ /**
2756
+ * Two (or more) columns of destination photos drifting in opposite directions behind a soft top and bottom fade
2757
+ * (Figma component set "How it works / Hero columns"). Purely decorative: it is hidden from assistive technology,
2758
+ * stops while off-screen or in a hidden tab and stands still for users who prefer reduced motion.
2759
+ */
2760
+ export declare const HeroColumns: import("react").ForwardRefExoticComponent<HeroColumnsProps & import("react").RefAttributes<HTMLDivElement>>;
2761
+ export interface HeroSwitcherDetail {
2762
+ /** Icon in front of the text, e.g. `<CalendarIcon />`; drawn at 16px. */
2763
+ icon?: ReactNode;
2764
+ /** Already formatted, translated text: dates, travelers, what is included… */
2765
+ label: ReactNode;
2766
+ /** React key; defaults to the row's index. */
2767
+ key?: string | number;
2768
+ }
2769
+ export interface HeroSwitcherItem {
2770
+ /** Identifier of the state (Figma "Type": `package`, `flight`). */
2771
+ value: string;
2772
+ /** Text of the segment in the switch, e.g. "Travel Package". */
2773
+ label: ReactNode;
2774
+ /** Icon of the segment, e.g. `<RoadmapIcon />`; drawn at 16px. */
2775
+ icon?: ReactNode;
2776
+ /** Photo URL. Without it (and without `image`) a neutral tile is shown. */
2777
+ imageSrc?: string;
2778
+ /** Alternative text of the photo; leave empty when it is decorative. */
2779
+ imageAlt?: string;
2780
+ /** Custom photo element (e.g. a framework `<Image>`); it fills the frame and replaces `imageSrc`. */
2781
+ image?: ReactNode;
2782
+ /** Small caps line above the title (Figma "Overline"), e.g. "Your request". */
2783
+ overline?: ReactNode;
2784
+ /** Title of the sample request, e.g. "Weekend at Lake Sevan". */
2785
+ title: ReactNode;
2786
+ /** Icon + text rows under the title. */
2787
+ details?: HeroSwitcherDetail[];
2788
+ /** Text of the green pill at the bottom of the card (Figma "Status"), e.g. "3 offers to compare". */
2789
+ status?: ReactNode;
2790
+ /** Icon of the status pill. Defaults to a check mark. */
2791
+ statusIcon?: ReactNode;
2792
+ }
2793
+ export interface HeroSwitcherProps extends Omit<HTMLAttributes<HTMLDivElement>, "onChange" | "defaultValue"> {
2794
+ /** The states to switch between (Figma: Package and Flight), in the order of the switch. */
2795
+ items: HeroSwitcherItem[];
2796
+ /** Selected item (controlled). */
2797
+ value?: string;
2798
+ /** Initially selected item when uncontrolled; defaults to the first one. */
2799
+ defaultValue?: string;
2800
+ /** Called with the new value when the user picks a segment or autoplay advances. */
2801
+ onValueChange?: (value: string) => void;
2802
+ /** Advances to the next item on its own until the user picks a segment or presses pause. */
2803
+ autoPlay?: boolean;
2804
+ /** Milliseconds each item stays before autoplay moves on (Figma prototype: 3s delay + 0.6s transition). */
2805
+ interval?: number;
2806
+ /** Holds autoplay from outside (the selected item stays as it is). */
2807
+ paused?: boolean;
2808
+ /** Accessible name of the switch (tab list). */
2809
+ "aria-label"?: string;
2810
+ /** Heading level of the card title; pick the one that fits the page outline. */
2811
+ headingLevel?: 2 | 3 | 4 | 5 | 6;
2812
+ /** Accessible name of the pause button shown while autoplay runs. */
2813
+ pauseLabel?: string;
2814
+ /** Accessible name of the same button once autoplay is stopped. */
2815
+ playLabel?: string;
2816
+ }
2817
+ /**
2818
+ * Photo, segmented switch and a sample request card that change together (Figma component set
2819
+ * "Travel Requests / Hero switcher"). The switch is a real tab list — click or use the arrow keys — and autoplay
2820
+ * stops for good once the user takes over, pauses on hover and focus, off-screen, in hidden tabs and never starts
2821
+ * for users who prefer reduced motion.
2822
+ */
2823
+ export declare const HeroSwitcher: import("react").ForwardRefExoticComponent<HeroSwitcherProps & import("react").RefAttributes<HTMLDivElement>>;
2824
+ export interface HeroOrbitItem {
2825
+ /** Agency name: the source of the fallback initials when there is no image. */
2826
+ name: string;
2827
+ /** Image URL — a logo or any photo. Falls back to the initials of `name` when missing or broken. */
2828
+ src?: string | null;
2829
+ /** `contain` insets the image in its disc (default, for logos); `cover` fills the disc edge to edge (photos; Figma "SunnyTour"). */
2830
+ fit?: "contain" | "cover";
2831
+ /**
2832
+ * Your own image element instead of `src`, e.g. Next.js `<Image fill />` or a `<picture>`. It is clipped to the
2833
+ * disc and sized to fill it; give it `object-fit: cover` (or `contain`) yourself. Takes precedence over `src`.
2834
+ */
2835
+ image?: ReactNode;
2836
+ /** React key; defaults to the item's index. */
2837
+ key?: string | number;
2838
+ }
2839
+ export interface HeroOrbitProps extends HTMLAttributes<HTMLDivElement> {
2840
+ /** Agencies travelling around the card, clockwise from the top, evenly spaced. Any number (Figma: six). */
2841
+ items: HeroOrbitItem[];
2842
+ /** The card in the middle — usually a `HeroOrbitCard`. */
2843
+ children?: ReactNode;
2844
+ /** Seconds one full revolution takes (Figma prototype: 24 steps × 0.6s = 14.4s, linear). */
2845
+ duration?: number;
2846
+ /** Starts revolving on its own. With `false` the logos rest at `angle`. */
2847
+ autoPlay?: boolean;
2848
+ /** Freezes the revolution where it is. */
2849
+ paused?: boolean;
2850
+ /** Clockwise rotation, in degrees, the first logo starts from (0 = top). Figma "Step" n is `(n − 1) × 15`. */
2851
+ angle?: number;
2852
+ }
2853
+ /**
2854
+ * Agency logos revolving on an ellipse around a request card: small and faint when they pass behind it, full size
2855
+ * in front (Figma component set "Agencies / Hero orbit", whose 24 variants are 15° steps of one revolution).
2856
+ * The ring is decorative and hidden from assistive technology; the card is regular content. The motion is CSS
2857
+ * only, stops while off-screen or in a hidden tab and stands still for users who prefer reduced motion.
2858
+ */
2859
+ export declare const HeroOrbit: import("react").ForwardRefExoticComponent<HeroOrbitProps & import("react").RefAttributes<HTMLDivElement>>;
2860
+ export interface HeroOrbitCardDetail {
2861
+ /** Icon in front of the text, e.g. `<CalendarIcon />`. */
2862
+ icon?: ReactNode;
2863
+ /** Already formatted, translated text. */
2864
+ label: ReactNode;
2865
+ /** React key; defaults to the row's index. */
2866
+ key?: string | number;
2867
+ }
2868
+ export interface HeroOrbitCardLogo {
2869
+ /** Agency name (fallback initials). */
2870
+ name: string;
2871
+ /** Logo image URL. */
2872
+ src?: string | null;
2873
+ /** `cover` fills the tile edge to edge. */
2874
+ fit?: "contain" | "cover";
2875
+ }
2876
+ export interface HeroOrbitCardProps extends Omit<HTMLAttributes<HTMLDivElement>, "title"> {
2877
+ /** Small caps line at the top (Figma "Type"), e.g. "Travel package". */
2878
+ typeLabel?: ReactNode;
2879
+ /** Text of the green pill next to it (Figma "Status"), e.g. "Shared". */
2880
+ status?: ReactNode;
2881
+ /** Title of the sample request, e.g. "Rome, 5 nights". */
2882
+ title: ReactNode;
2883
+ /** Heading level of the title; pick the one that fits the page outline. */
2884
+ headingLevel?: 2 | 3 | 4 | 5 | 6;
2885
+ /** Icon + text rows under the title. */
2886
+ details?: HeroOrbitCardDetail[];
2887
+ /** Overlapping logos of the agencies that answered (Figma "Avatars"). Decorative. */
2888
+ offerLogos?: HeroOrbitCardLogo[];
2889
+ /** Bold line next to the logos (Figma "Count"), e.g. "3 offers received". */
2890
+ offersTitle?: ReactNode;
2891
+ /** Small line under it (Figma "Hint"), e.g. "Compare them side by side". */
2892
+ offersHint?: ReactNode;
2893
+ }
2894
+ /** The sample request card in the middle of `HeroOrbit` (Figma layer "Request card"). */
2895
+ export declare const HeroOrbitCard: import("react").ForwardRefExoticComponent<HeroOrbitCardProps & import("react").RefAttributes<HTMLDivElement>>;
2896
+ export interface HeroMapOrigin {
2897
+ /** Horizontal position, in percent of the frame width (Figma: 510.5 / 640 = 79.77). */
2898
+ x: number;
2899
+ /** Vertical position, in percent of the frame height (Figma: 278 / 480 = 57.92). */
2900
+ y: number;
2901
+ /** City name printed next to the point, e.g. "Yerevan". */
2902
+ label?: ReactNode;
2903
+ }
2904
+ export interface HeroMapDestination {
2905
+ /** Horizontal position of the pin, in percent of the frame width. */
2906
+ x: number;
2907
+ /** Vertical position of the pin, in percent of the frame height. */
2908
+ y: number;
2909
+ /** First line of the tag, e.g. "Paris, France". */
2910
+ title: ReactNode;
2911
+ /** Second line of the tag, e.g. "2 adults · 12–19 Jul". */
2912
+ description?: ReactNode;
2913
+ /** Icon in the round badge of the tag, e.g. `<BedIcon />` for a package or `<PlaneIcon />` for a flight. */
2914
+ icon?: ReactNode;
2915
+ /** React key; defaults to the destination's index. */
2916
+ key?: string | number;
2917
+ }
2918
+ export interface HeroMapProps extends Omit<HTMLAttributes<HTMLDivElement>, "onChange"> {
2919
+ /** Where every route starts. */
2920
+ origin: HeroMapOrigin;
2921
+ /** Sample requests on the map, in the order they are highlighted (Figma "Step" 1…6). Any number. */
2922
+ destinations: HeroMapDestination[];
2923
+ /** Index of the highlighted destination (controlled). */
2924
+ activeIndex?: number;
2925
+ /** Initially highlighted destination when uncontrolled. */
2926
+ defaultActiveIndex?: number;
2927
+ /** Called with the new index when autoplay advances. */
2928
+ onActiveIndexChange?: (index: number) => void;
2929
+ /** Moves on to the next destination on its own. */
2930
+ autoPlay?: boolean;
2931
+ /** Milliseconds each destination stays highlighted (Figma prototype: 2.2s delay + 0.5s transition). */
2932
+ interval?: number;
2933
+ /** Holds autoplay from outside (the highlighted destination stays as it is). */
2934
+ paused?: boolean;
2935
+ /** Accessible name of the pause button shown while autoplay runs. */
2936
+ pauseLabel?: string;
2937
+ /** Accessible name of the same button once autoplay is stopped. */
2938
+ playLabel?: string;
2939
+ }
2940
+ /**
2941
+ * Dotted map with a route from the origin to one sample request at a time (Figma component set "Join / Hero map").
2942
+ * Every destination is a list item with its tag as real text, so the content does not depend on the animation;
2943
+ * autoplay can be paused with the built-in button, holds on hover, off-screen and in hidden tabs, and does not start
2944
+ * for users who prefer reduced motion.
2945
+ */
2946
+ export declare const HeroMap: import("react").ForwardRefExoticComponent<HeroMapProps & import("react").RefAttributes<HTMLDivElement>>;
2947
+ export interface HowItWorksStepItem {
2948
+ /** Identifies the step in `value` / `onValueChange`. */
2949
+ value: string;
2950
+ /** One icon from `@travel-match/ui` for the icon tile, e.g. `<PaperIcon />`. */
2951
+ icon?: ReactNode;
2952
+ /** Step name, e.g. "Submit a request". Phrasing content only — it is rendered inside a button. */
2953
+ title: ReactNode;
2954
+ /** One or two sentences about the step. Phrasing content only. */
2955
+ description?: ReactNode;
2956
+ /** Pill at the bottom of the card, e.g. a `<RequestStatus>` or a `<Tag>`. Must not be interactive. */
2957
+ badge?: ReactNode;
2958
+ }
2959
+ export interface HowItWorksStepsProps extends Omit<HTMLAttributes<HTMLDivElement>, "children" | "defaultValue" | "onChange"> {
2960
+ /** The steps, in order. Nothing is rendered for an empty list. */
2961
+ items: HowItWorksStepItem[];
2962
+ /** Controlled: `value` of the current step (Figma "Step"). */
2963
+ value?: string;
2964
+ /** Uncontrolled: `value` of the step that starts current. Defaults to the first one. */
2965
+ defaultValue?: string;
2966
+ /** Called with the `value` of the step that became current, by a click or by auto-play. */
2967
+ onValueChange?: (value: string) => void;
2968
+ /** Advances to the next step on a timer and loops. Stops for good once the user picks a step or presses pause. */
2969
+ autoPlay?: boolean;
2970
+ /** Time a step rests once its 500ms transition has finished, in ms (Figma: 2200 — a new step every 2.7s). */
2971
+ interval?: number;
2972
+ /** Holds auto-play without unmounting it (e.g. while a dialog is open). */
2973
+ paused?: boolean;
2974
+ /** Accessible name of the list of steps, e.g. "How it works". */
2975
+ label?: string;
2976
+ /** Accessible name of the pause button shown while auto-playing. Translate it in the app. */
2977
+ pauseLabel?: string;
2978
+ /** Accessible name of the same button once auto-play is paused. Translate it in the app. */
2979
+ playLabel?: string;
2980
+ /** Width of the component in px below which the steps stack (the Figma mobile layout). Default: 136px per step plus the gaps, at least 480. */
2981
+ collapseBelow?: number;
2982
+ }
2983
+ export interface HowItWorksStepTagProps extends HTMLAttributes<HTMLSpanElement> {
2984
+ /** One icon from `@travel-match/ui`, e.g. `<CompareIcon />`. */
2985
+ icon?: ReactNode;
2986
+ }
2987
+ /** The tinted pill Figma draws at the bottom of the steps that have no request status ("Up to 3 offers"). Use it as a step's `badge`. */
2988
+ export declare const HowItWorksStepTag: import("react").ForwardRefExoticComponent<HowItWorksStepTagProps & import("react").RefAttributes<HTMLSpanElement>>;
2989
+ /**
2990
+ * The request journey as a numbered rail over a row of step cards, one of which is current
2991
+ * (Figma "How it works / Steps"; its "Step=1…7" variants are the `value`). Every card is a button that makes its step
2992
+ * current; with `autoPlay` the steps also advance on a timer until the user takes over. Below `collapseBelow` the
2993
+ * cards stack and the rail is dropped (Figma "Mobile / How it works / Steps").
2994
+ */
2995
+ export declare const HowItWorksSteps: import("react").ForwardRefExoticComponent<HowItWorksStepsProps & import("react").RefAttributes<HTMLDivElement>>;
2996
+ export type ExampleRequestsHeadingLevel = 2 | 3 | 4 | 5 | 6;
2997
+ export interface ExampleRequestItem {
2998
+ /** Identifies the example in `value` / `onValueChange`. */
2999
+ value: string;
3000
+ /** Request type shown in the pill on the photo, e.g. "Travel Package". */
3001
+ type?: ReactNode;
3002
+ /** One icon from `@travel-match/ui` for the pill, e.g. `<RoadmapIcon />`. */
3003
+ typeIcon?: ReactNode;
3004
+ /** Name of the example, e.g. "Summer in Santorini". */
3005
+ title: ReactNode;
3006
+ /** One line under the title, e.g. "7 nights · 2 adults, 1 child · Flights, hotel & transfers". */
3007
+ details?: ReactNode;
3008
+ /** Photo behind the card. It is cropped to cover the card, so keep the subject near the centre. */
3009
+ imageSrc?: string;
3010
+ /** Alternative text of the photo. Leave it out when the photo only illustrates the title. */
3011
+ imageAlt?: string;
3012
+ /** Replaces the `<img>`, e.g. a `next/image` with `fill`. It is stretched to cover the card. */
3013
+ image?: ReactNode;
3014
+ /** Where the card leads, e.g. the request form prefilled with this example. Without it the card is not a link. */
3015
+ href?: string;
3016
+ /** Text of this card's link; defaults to the component's `linkLabel`. */
3017
+ linkLabel?: ReactNode;
3018
+ }
3019
+ /** What `renderLink` receives: spread `props` on your link element and render `children` inside it. */
3020
+ export interface ExampleRequestLinkProps {
3021
+ id: string;
3022
+ className: string;
3023
+ href: string;
3024
+ "aria-labelledby": string;
3025
+ children: ReactNode;
3026
+ }
3027
+ export interface ExampleRequestsProps extends Omit<HTMLAttributes<HTMLDivElement>, "children" | "defaultValue" | "onChange"> {
3028
+ /** The examples, in order. The first one is the large card. Nothing is rendered for an empty list. */
3029
+ items: ExampleRequestItem[];
3030
+ /** Text of every card's link, e.g. "Start a similar request". */
3031
+ linkLabel?: ReactNode;
3032
+ /** Controlled: `value` of the highlighted card, or `null` for none (Figma "Hover" / mobile "Selected"). */
3033
+ value?: string | null;
3034
+ /** Uncontrolled: `value` of the card that starts highlighted. None by default. */
3035
+ defaultValue?: string | null;
3036
+ /** Called when hover, focus or a touch highlights a card, and with `null` when the highlight ends. */
3037
+ onValueChange?: (value: string | null) => void;
3038
+ /** Level of each card's heading — pick the one that fits the page outline. */
3039
+ headingLevel?: ExampleRequestsHeadingLevel;
3040
+ /** Accessible name of the list, e.g. "Example requests". */
3041
+ label?: string;
3042
+ /** Renders a card's link with the app's router, e.g. `(props) => <Link {...props} />`. Defaults to an `<a>`. */
3043
+ renderLink?: (props: ExampleRequestLinkProps, item: ExampleRequestItem) => ReactNode;
3044
+ }
3045
+ /**
3046
+ * Example travel requests as photo cards: one large card and a grid of smaller ones (Figma "Travel Requests /
3047
+ * Example requests"). The card under the pointer or holding focus is highlighted — its photo zooms in and darkens and
3048
+ * it lifts off the page. Each card is one link. On narrow containers the cards become a horizontal, snapping row
3049
+ * (Figma "Mobile / Travel Requests / Example requests").
3050
+ */
3051
+ export declare const ExampleRequests: import("react").ForwardRefExoticComponent<ExampleRequestsProps & import("react").RefAttributes<HTMLDivElement>>;
3052
+ export type WhyTravelMatchHeadingLevel = 2 | 3 | 4 | 5 | 6;
3053
+ export interface WhyTravelMatchItem {
3054
+ /** Identifies the card in `value` / `onValueChange`. */
3055
+ value: string;
3056
+ /** One icon from `@travel-match/ui`, e.g. `<CompareIcon />`. */
3057
+ icon?: ReactNode;
3058
+ /** The reason, e.g. "Compare with confidence". Phrasing content only when the card has `points`. */
3059
+ title: ReactNode;
3060
+ /** One or two sentences under the title. */
3061
+ description?: ReactNode;
3062
+ /** Short supporting points revealed while the card is open (Figma "More"). Without them the card does not open. */
3063
+ points?: ReactNode[];
3064
+ /** Always-visible content under the text, e.g. `<WhyTravelMatchOffers>` on the large card. Must not be interactive. */
3065
+ children?: ReactNode;
3066
+ /** Photo behind the card. It is cropped to cover the card. */
3067
+ imageSrc?: string;
3068
+ /** Alternative text of the photo. Leave it out when the photo only illustrates the text. */
3069
+ imageAlt?: string;
3070
+ /** Replaces the `<img>`, e.g. a `next/image` with `fill`. It is stretched to cover the card. */
3071
+ image?: ReactNode;
3072
+ }
3073
+ export interface WhyTravelMatchProps extends Omit<HTMLAttributes<HTMLDivElement>, "children" | "defaultValue" | "onChange"> {
3074
+ /** The reasons, in order. The first one is the large card. Nothing is rendered for an empty list. */
3075
+ items: WhyTravelMatchItem[];
3076
+ /** Controlled: `value` of the open card, or `null` for none (Figma "Hover"). */
3077
+ value?: string | null;
3078
+ /** Uncontrolled: `value` of the card that starts open. None by default. */
3079
+ defaultValue?: string | null;
3080
+ /** Called when the user opens a card (hover, tap, Enter / Space), and with `null` when it closes. */
3081
+ onValueChange?: (value: string | null) => void;
3082
+ /** Level of each card's heading — pick the one that fits the page outline. */
3083
+ headingLevel?: WhyTravelMatchHeadingLevel;
3084
+ /** Accessible name of the list, e.g. "Why TravelMatch". */
3085
+ label?: string;
3086
+ }
3087
+ /**
3088
+ * The reasons to use TravelMatch as photo cards: one large card and a grid of smaller ones (Figma "Home / Why
3089
+ * TravelMatch"). A card with `points` is a disclosure: resting the mouse on it, tapping it or pressing Enter / Space on
3090
+ * its title reveals the points; one card is open at a time. On narrow containers the cards stack (Figma "Mobile / Home /
3091
+ * Why TravelMatch").
3092
+ */
3093
+ export declare const WhyTravelMatch: import("react").ForwardRefExoticComponent<WhyTravelMatchProps & import("react").RefAttributes<HTMLDivElement>>;
3094
+ /** One row of the sample comparison. */
3095
+ export interface WhyTravelMatchOffer {
3096
+ /** React key; defaults to the position in the list. */
3097
+ key?: string;
3098
+ /** Agency name; also the source of the logo's fallback initials. */
3099
+ name: string;
3100
+ /** Agency logo URL. */
3101
+ logoSrc?: string | null;
3102
+ /** What the offer includes, e.g. "Flights · Hotel · Transfers". */
3103
+ details?: ReactNode;
3104
+ /** Formatted price, e.g. "€1,240". */
3105
+ price: ReactNode;
3106
+ /** Short note above the price, e.g. "Best value". */
3107
+ tag?: ReactNode;
3108
+ /** Marks the row as the pick of the list (green background). */
3109
+ highlighted?: boolean;
3110
+ }
3111
+ export interface WhyTravelMatchOffersProps extends Omit<HTMLAttributes<HTMLDivElement>, "children"> {
3112
+ /** Left side of the header, e.g. "Example · Rome, 5 nights". */
3113
+ caption?: ReactNode;
3114
+ /** Right side of the header, e.g. "3 offers". */
3115
+ count?: ReactNode;
3116
+ /** The offers, in order. */
3117
+ offers: WhyTravelMatchOffer[];
3118
+ }
3119
+ /** The sample list of agency offers inside the large "Why TravelMatch" card (Figma "Offer list"). Illustration only. */
3120
+ export declare const WhyTravelMatchOffers: import("react").ForwardRefExoticComponent<WhyTravelMatchOffersProps & import("react").RefAttributes<HTMLDivElement>>;
3121
+ export interface PackageAnimationProps extends Omit<HTMLAttributes<HTMLDivElement>, "onChange" | "defaultValue"> {
3122
+ /** The cards of the stack — two `PackageCard`s in Figma. The one at `value` lies in front, the others behind it. */
3123
+ children?: ReactNode;
3124
+ /** Index (0-based) of the card in front — Figma "Property 1": Default is the first swap state, Variant2 the other. Makes the component controlled. */
3125
+ value?: number;
3126
+ /** Card in front at first when uncontrolled. */
3127
+ defaultValue?: number;
3128
+ /** Called with the index of the card that comes to the front (click, keyboard focus or autoplay). */
3129
+ onValueChange?: (value: number) => void;
3130
+ /** Swaps the cards by itself (the Figma prototype swaps on click only). Stops for hover, focus, a hidden tab, an off-screen stack and reduced motion. */
3131
+ autoPlay?: boolean;
3132
+ /** Time a card stays in front before the next swap, in ms. */
3133
+ interval?: number;
3134
+ /** Holds the autoplay (the pause control stays available). */
3135
+ paused?: boolean;
3136
+ /** Name of the pause button shown with `autoPlay` — translate it. */
3137
+ pauseLabel?: string;
3138
+ /** Name of the play button shown with `autoPlay` — translate it. */
3139
+ playLabel?: string;
3140
+ }
3141
+ /**
3142
+ * Two overlapping, tilted package cards that swap places (Figma component set "Package animation").
3143
+ * Clicking the card behind — or moving keyboard focus into it — brings it to the front. Both cards stay in the page for
3144
+ * assistive technology. Below 661px of container width the cards are upright and stacked, like "Mobile / Package animation".
3145
+ */
3146
+ export declare const PackageAnimation: import("react").ForwardRefExoticComponent<PackageAnimationProps & import("react").RefAttributes<HTMLDivElement>>;
3147
+ export interface PartnerCarouselProps extends Omit<HTMLAttributes<HTMLElement>, "onChange" | "defaultValue"> {
3148
+ /** The slides: one element per slide, normally `PartnerCard`s. Any number. */
3149
+ children?: ReactNode;
3150
+ /** Name of the carousel region, e.g. "Partner agencies" — translate it. */
3151
+ "aria-label"?: string;
3152
+ /** Index (0-based) of the first slide in view — Figma "Slide". Makes the carousel controlled. */
3153
+ value?: number;
3154
+ /** Slide shown first when uncontrolled. */
3155
+ defaultValue?: number;
3156
+ /** Called with the new index when the carousel moves (swipe, dots or autoplay). */
3157
+ onValueChange?: (value: number) => void;
3158
+ /** Moves one slide at a time by itself. Stops for hover, focus, a hidden tab, an off-screen carousel and reduced motion. */
3159
+ autoPlay?: boolean;
3160
+ /** Time a slide rests before the next move, in ms (Figma: 3000). */
3161
+ interval?: number;
3162
+ /** Holds the autoplay (the pause control stays available). */
3163
+ paused?: boolean;
3164
+ /** After the last slide the first one follows seamlessly, as in the Figma prototype. Needs more than two slides. */
3165
+ loop?: boolean;
3166
+ /** Shows the dots and, with `autoPlay`, the pause / play button. */
3167
+ controls?: boolean;
3168
+ /** Accessible name of a slide — translate it. */
3169
+ getSlideLabel?: (index: number, count: number) => string;
3170
+ /** Accessible name of a dot — translate it. */
3171
+ getPageLabel?: (page: number, pageCount: number) => string;
3172
+ /** Name of the dots navigation — translate it. */
3173
+ paginationLabel?: string;
3174
+ /** Name of the pause button — translate it. */
3175
+ pauseLabel?: string;
3176
+ /** Name of the play button — translate it. */
3177
+ playLabel?: string;
3178
+ }
3179
+ /**
3180
+ * Carousel of partner cards (Figma component set "Home / Partner carousel"): a native scroll-snap track — so touch
3181
+ * swipe, trackpad and keyboard scrolling work by themselves — with dots, autoplay and a seamless loop.
3182
+ * Two slides per view; containers narrower than 768px show one 300px slide with the next one peeking, like
3183
+ * "Mobile / Home / Partner carousel".
3184
+ */
3185
+ export declare const PartnerCarousel: import("react").ForwardRefExoticComponent<PartnerCarouselProps & import("react").RefAttributes<HTMLElement>>;
3186
+ /** One sample request pinned on the map. */
3187
+ export interface CtaRequestFlowItem {
3188
+ /** React key; defaults to the position in the list. */
3189
+ key?: string;
3190
+ /** First line of the tag, e.g. "Paris, France". */
3191
+ title: ReactNode;
3192
+ /** Second line, e.g. "2 adults · 12–19 Jul". */
3193
+ subtitle?: ReactNode;
3194
+ /** One icon from `@travel-match/ui` (e.g. `<BedIcon />`), shown in the round badge of the tag. */
3195
+ icon?: ReactNode;
3196
+ /** Horizontal position of the pin in the 1440 × 600 map, in px from its left edge. */
3197
+ x: number;
3198
+ /** Vertical position of the pin in the 1440 × 600 map, in px from its top edge. */
3199
+ y: number;
3200
+ /** Side of the pin the tag appears on. */
3201
+ placement?: "above" | "below";
3202
+ }
3203
+ export interface CtaRequestFlowProps extends Omit<HTMLAttributes<HTMLDivElement>, "onChange" | "defaultValue"> {
3204
+ /** The sample requests; one is highlighted at a time. Any number. */
3205
+ items: CtaRequestFlowItem[];
3206
+ /** Index (0-based) of the highlighted request — Figma "Step". Makes the component controlled. */
3207
+ value?: number;
3208
+ /** Request highlighted first when uncontrolled. */
3209
+ defaultValue?: number;
3210
+ /** Called with the new index when the highlight moves. */
3211
+ onValueChange?: (value: number) => void;
3212
+ /** Moves the highlight by itself. Stops for a hidden tab, an off-screen map and reduced motion. */
3213
+ autoPlay?: boolean;
3214
+ /** Time a request stays highlighted before the next one, in ms (Figma: 2000). */
3215
+ interval?: number;
3216
+ /** Holds the autoplay. */
3217
+ paused?: boolean;
3218
+ /** Point of the 1440 × 600 map a tag flies to when its turn ends — where the page's call to action sits. */
3219
+ target?: {
3220
+ x: number;
3221
+ y: number;
3222
+ };
3223
+ /** Content shown on top of the map, centred (the section's heading and button). */
3224
+ children?: ReactNode;
3225
+ }
3226
+ /**
3227
+ * Background of the "Join" call to action (Figma component set "Join / CTA request flow"): a dotted world map on which
3228
+ * sample requests light up one after another, each flying to the middle when its turn ends.
3229
+ * The map is decorative and hidden from assistive technology; real content goes in `children`.
3230
+ * It keeps the Figma scale and is cropped around its centre, so narrow containers show the middle of the map,
3231
+ * like "Mobile / Join / CTA request flow".
3232
+ */
3233
+ export declare const CtaRequestFlow: import("react").ForwardRefExoticComponent<CtaRequestFlowProps & import("react").RefAttributes<HTMLDivElement>>;
3234
+ /** A value of the sentence, drawn as a pill (Figma "Pill / Type", "Pill / Destination", …). */
3235
+ export interface CtaSentencePill {
3236
+ /** React key; defaults to the position in the sentence. */
3237
+ key?: string;
3238
+ /** One icon from `@travel-match/ui` (e.g. `<MapPinIcon />`). */
3239
+ icon?: ReactNode;
3240
+ /** The value, e.g. "Rome". */
3241
+ value: ReactNode;
3242
+ }
3243
+ /** One part of a sentence: plain words (a string) or a pill. */
3244
+ export type CtaSentencePart = string | CtaSentencePill;
3245
+ /** One example sentence — Figma "Example". */
3246
+ export interface CtaSentenceExample {
3247
+ /** React key; defaults to the position in the list. */
3248
+ key?: string;
3249
+ /** Words and pills in reading order, e.g. `["I’d like", { value: "a Flight" }, "to", { value: "Paris" }]`. */
3250
+ parts: CtaSentencePart[];
3251
+ /** Insets the sentence by `spacing/3xl` on both sides so its lines break evenly (Figma does this on Example 2). */
3252
+ padded?: boolean;
3253
+ }
3254
+ export interface CtaSentenceProps extends Omit<HTMLAttributes<HTMLDivElement>, "onChange" | "defaultValue"> {
3255
+ /** The example sentences the component cycles through. Any number. */
3256
+ examples: CtaSentenceExample[];
3257
+ /** Index (0-based) of the example shown — Figma "Example". Makes the component controlled. */
3258
+ value?: number;
3259
+ /** Example shown first when uncontrolled. */
3260
+ defaultValue?: number;
3261
+ /** Called with the new index when the example changes (autoplay or dots). */
3262
+ onValueChange?: (value: number) => void;
3263
+ /** Cycles through the examples by itself. Stops for hover, focus, a hidden tab, an off-screen sentence and reduced motion. */
3264
+ autoPlay?: boolean;
3265
+ /** Time an example rests before the next one, in ms (Figma: 2600). */
3266
+ interval?: number;
3267
+ /** Holds the autoplay (the pause control stays available). */
3268
+ paused?: boolean;
3269
+ /** Shows the dots that pick an example and, with `autoPlay`, the pause / play button. */
3270
+ controls?: boolean;
3271
+ /** Makes the pills buttons and is called with the example and part index of the pressed one, e.g. to open the request form. */
3272
+ onPillClick?: (exampleIndex: number, partIndex: number) => void;
3273
+ /** Accessible name of a dot — translate it. */
3274
+ getPageLabel?: (page: number, pageCount: number) => string;
3275
+ /** Name of the dots navigation — translate it. */
3276
+ paginationLabel?: string;
3277
+ /** Name of the pause button — translate it. */
3278
+ pauseLabel?: string;
3279
+ /** Name of the play button — translate it. */
3280
+ playLabel?: string;
3281
+ }
3282
+ /**
3283
+ * A request written as a sentence whose values are pills, cycling through examples
3284
+ * (Figma component set "How it works / CTA sentence"). Every example is real text; the one on show is the only one
3285
+ * exposed to assistive technology, and the dots reach the others.
3286
+ */
3287
+ export declare const CtaSentence: import("react").ForwardRefExoticComponent<CtaSentenceProps & import("react").RefAttributes<HTMLDivElement>>;
3288
+ export interface SheetProps extends Omit<DialogProps, "size" | "placement" | "mobilePlacement" | "eyebrow" | "role"> {
3289
+ /** Keeps `title` (and `description`) as the accessible name only and removes the visual header with its close button (Figma "Mobile / Account sheet"). */
3290
+ hideHeader?: boolean;
3291
+ /** Hides the drag handle (Figma layer "Handle"). It is decorative: dragging works from the whole header. */
3292
+ hideHandle?: boolean;
3293
+ /** Dragging the handle or the header down closes the sheet. Ignored while `dismissible` is `false`. */
3294
+ swipeToClose?: boolean;
3295
+ /** Gives the body the 16px side padding of the header. Off by default: lists and menus run edge to edge. */
3296
+ padded?: boolean;
3297
+ }
3298
+ /**
3299
+ * Bottom sheet of the mobile screens (Figma "Mobile / Select sheet", "Mobile / Account sheet", "Mobile / Date picker sheet"):
3300
+ * the `Dialog` in its `sheet` placement with the Figma sheet anatomy — drag handle, header (title + 44px close), a body that
3301
+ * scrolls on its own, and a footer whose actions share one row. Modal: focus is trapped and returns to the trigger; Escape,
3302
+ * the close button, the overlay and a swipe down dismiss it. It is a sheet at every viewport width — open it only on small
3303
+ * screens (e.g. where `Select` / `DatePicker` popovers are used on desktop).
3304
+ */
3305
+ export declare const Sheet: import("react").ForwardRefExoticComponent<SheetProps & import("react").RefAttributes<HTMLDivElement>>;
3306
+ /** One row of the sheet — the same shape as the options of `Select`, so both can share one list. */
3307
+ export type SelectSheetOption = SelectOption;
3308
+ interface SelectSheetBaseProps extends Pick<SheetProps, "open" | "defaultOpen" | "onOpenChange" | "trigger" | "title" | "description" | "closeLabel" | "portalContainer" | "className" | "id"> {
3309
+ /** The rows, in display order. */
3310
+ options: SelectSheetOption[];
3311
+ /** Accessible name of the list. Defaults to `title` when that is a string. */
3312
+ listLabel?: string;
3313
+ /** Adds a search field above the list that filters the options by their text. Not drawn in Figma. */
3314
+ searchable?: boolean;
3315
+ /** Placeholder of the search field. */
3316
+ searchPlaceholder?: string;
3317
+ /** Accessible name of the search field. */
3318
+ searchLabel?: string;
3319
+ /** Accessible name of the × button of the search field. */
3320
+ searchClearLabel?: string;
3321
+ /** Shown instead of the list when the search matches nothing. */
3322
+ emptyText?: ReactNode;
3323
+ }
3324
+ export interface SelectSheetSingleProps extends SelectSheetBaseProps {
3325
+ /** One answer (Figma "Selection=Single"): choosing a row applies it and closes the sheet. */
3326
+ multiple?: false;
3327
+ /** The selected option (controlled), or `null` for none. */
3328
+ value?: string | null;
3329
+ /** The initial selection (uncontrolled). */
3330
+ defaultValue?: string | null;
3331
+ /** Called with the `value` of the row the user chose. */
3332
+ onValueChange?: (value: string) => void;
3333
+ }
3334
+ export interface SelectSheetMultipleProps extends SelectSheetBaseProps {
3335
+ /** Any number of answers (Figma "Selection=Multiple"): rows toggle a draft that **Apply** commits; closing the sheet discards it. */
3336
+ multiple: true;
3337
+ /** The applied options (controlled). */
3338
+ value?: string[];
3339
+ /** The initial selection (uncontrolled). */
3340
+ defaultValue?: string[];
3341
+ /** Called with all selected values when the user presses Apply after changing the selection. */
3342
+ onValueChange?: (value: string[]) => void;
3343
+ /** Label of the button that commits the draft. */
3344
+ applyLabel?: ReactNode;
3345
+ /** Label of the button that empties the draft. */
3346
+ clearLabel?: ReactNode;
3347
+ }
3348
+ export type SelectSheetProps = SelectSheetSingleProps | SelectSheetMultipleProps;
3349
+ /**
3350
+ * Figma component set "Mobile / Select sheet": the small-screen counterpart of the `Select` dropdown — a bottom `Sheet`
3351
+ * with a title and a list of options. Single selection applies on tap; `multiple` adds the Clear / Apply footer and works
3352
+ * on a draft. The list is a listbox: arrow keys, Home and End move between rows, Enter or Space choose.
3353
+ * The ref and `className` go to the sheet panel.
3354
+ */
3355
+ export declare const SelectSheet: import("react").ForwardRefExoticComponent<SelectSheetProps & import("react").RefAttributes<HTMLDivElement>>;
3356
+ export interface AccountSheetProps extends Pick<SheetProps, "open" | "defaultOpen" | "onOpenChange" | "trigger" | "portalContainer" | "swipeToClose" | "className" | "id"> {
3357
+ /** Accessible name of the sheet and its menu, e.g. "Account". It is not shown (Figma draws no title). */
3358
+ title: string;
3359
+ /** First line of the header, usually the full name ("Anna Petrosyan"). */
3360
+ heading?: ReactNode;
3361
+ /** Second line of the header, usually the e-mail address. */
3362
+ description?: ReactNode;
3363
+ /** The menu: the same `AccountMenuItem`s and `AccountMenuSeparator`s as in `AccountMenu`. */
3364
+ children?: ReactNode;
3365
+ }
3366
+ /**
3367
+ * Figma component "Mobile / Account sheet": the account menu of the header as a bottom `Sheet` — what `AccountMenu` shows
3368
+ * in a popover on larger screens, with the same children. Arrow keys, Home and End move between the items; choosing an
3369
+ * item closes the sheet (call `event.preventDefault()` in its `onClick` to keep it open); Escape, the overlay and a swipe
3370
+ * down dismiss it. The ref and `className` go to the sheet panel.
3371
+ */
3372
+ export declare const AccountSheet: import("react").ForwardRefExoticComponent<AccountSheetProps & import("react").RefAttributes<HTMLDivElement>>;
3373
+ export interface NotificationsPanelProps extends Omit<HTMLAttributes<HTMLElement>, "title"> {
3374
+ /** Heading of the screen, e.g. "Notifications". It also names the region for assistive technology. */
3375
+ title: ReactNode;
3376
+ /** Heading level of the title (`<h1>` by default: the panel is a screen of its own). */
3377
+ headingLevel?: 1 | 2 | 3 | 4 | 5 | 6;
3378
+ /** Makes the back arrow a link to this address. */
3379
+ backHref?: string;
3380
+ /** Makes the back arrow a button that calls this (e.g. to close the overlay the panel is shown in). */
3381
+ onBack?: () => void;
3382
+ /** A link element without content, e.g. a router `<Link href="/requests" />`: it is rendered as the back arrow instead of `backHref` / `onBack`. */
3383
+ backLink?: ReactElement;
3384
+ /** Accessible name of the back arrow — translate it. */
3385
+ backLabel?: string;
3386
+ /** Action on the right of the title — pass a `<button>` or link ("Mark all as read"); it gets the link styling. Shown only while there are items. */
3387
+ headerAction?: ReactNode;
3388
+ /** The notifications: `NotificationItem`s, any number. With none the empty state shows (Figma "State=Empty"). */
3389
+ children?: ReactNode;
3390
+ /** Empty state heading, e.g. "You're all caught up". */
3391
+ emptyTitle?: ReactNode;
3392
+ /** Empty state text under the heading. */
3393
+ emptyMessage?: ReactNode;
3394
+ /** Replaces the whole built-in empty state (an `EmptyState` with the bell). */
3395
+ empty?: ReactNode;
3396
+ /** Error message; when set the panel shows it instead of the list (Figma "State=Error"). */
3397
+ error?: ReactNode;
3398
+ /** Label of the retry button of the error state, e.g. "Try again". The button needs `onRetry` too. */
3399
+ retryLabel?: ReactNode;
3400
+ /** Called when the retry button is pressed. */
3401
+ onRetry?: () => void;
3402
+ }
3403
+ /**
3404
+ * Figma component set "Mobile / Notifications panel": the notifications as a full screen — a sticky header with a back
3405
+ * arrow, the list of `NotificationItem`s and the empty and error states. It has the content model of `NotificationsDropdown`
3406
+ * (the desktop popover) and fills its container: render it as a page, or inside a full-screen overlay. The list scrolls
3407
+ * inside the panel when the container limits its height. The ref and the remaining props go to the root `<section>`.
3408
+ */
3409
+ export declare const NotificationsPanel: import("react").ForwardRefExoticComponent<NotificationsPanelProps & import("react").RefAttributes<HTMLElement>>;
3410
+ type SheetOptions = Pick<SheetProps, "open" | "defaultOpen" | "onOpenChange" | "trigger" | "closeLabel" | "portalContainer" | "swipeToClose" | "className" | "id"> & {
3411
+ /** Heading of the sheet, e.g. "Departure date"; it is also its accessible name. */
3412
+ title: ReactNode;
3413
+ };
3414
+ export interface DatePickerSheetProps extends SheetOptions, CalendarOptions, Pick<DatePickerPanelProps, "applyLabel" | "clearLabel" | "formatValue" | "defaultMonth"> {
3415
+ /** The applied day, `'YYYY-MM-DD'` or `null` (controlled). */
3416
+ value?: string | null;
3417
+ /** The initial day (uncontrolled). */
3418
+ defaultValue?: string | null;
3419
+ /** Called when the user presses Apply with a different day, or with `null` after Clear + Apply. */
3420
+ onValueChange?: (value: string | null) => void;
3421
+ }
3422
+ /**
3423
+ * Figma "Mobile / Date picker sheet" (Type=Single): the `DatePickerPanel` in a bottom `Sheet` — the small-screen
3424
+ * counterpart of the `DatePicker` popover, with the same value API. Picking a day only changes a draft: **Apply** commits
3425
+ * it and closes, **Clear** empties the draft, closing the sheet any other way discards it. Open it from any `trigger`
3426
+ * (e.g. a `DateField`) or control `open`. The ref and `className` go to the sheet panel.
3427
+ */
3428
+ export declare const DatePickerSheet: import("react").ForwardRefExoticComponent<DatePickerSheetProps & import("react").RefAttributes<HTMLDivElement>>;
3429
+ export interface DateRangePickerSheetProps extends SheetOptions, CalendarOptions, Pick<DateRangePickerPanelProps, "applyLabel" | "clearLabel" | "formatRange" | "formatNights" | "flexibilityOptions" | "flexibilityTitle" | "minNights" | "maxNights" | "numberOfMonths" | "defaultMonth"> {
3430
+ /** The applied range (controlled). */
3431
+ value?: DateRangeValue;
3432
+ /** The initial range (uncontrolled). */
3433
+ defaultValue?: DateRangeValue;
3434
+ /** Called when the user presses Apply with a different range: both days, or both `null` after Clear + Apply. */
3435
+ onValueChange?: (value: DateRangeValue) => void;
3436
+ /** The applied flexibility chip (controlled). */
3437
+ flexibility?: string | null;
3438
+ /** The initial flexibility chip (uncontrolled), e.g. `'exact'`. */
3439
+ defaultFlexibility?: string | null;
3440
+ /** Called when the user presses Apply with a different chip selected. */
3441
+ onFlexibilityChange?: (flexibility: string) => void;
3442
+ }
3443
+ /**
3444
+ * Figma "Mobile / Date picker sheet" (Type=Range): the `DateRangePickerPanel` in a bottom `Sheet` — the small-screen
3445
+ * counterpart of the `DateRangePicker` popover, with the same value and flexibility API. One month is shown
3446
+ * (`numberOfMonths`; more stack vertically). Days and chips only change a draft: **Apply** (enabled once both days are
3447
+ * picked) commits and closes, **Clear** empties the draft, closing the sheet any other way discards it.
3448
+ * The ref and `className` go to the sheet panel.
3449
+ */
3450
+ export declare const DateRangePickerSheet: import("react").ForwardRefExoticComponent<DateRangePickerSheetProps & import("react").RefAttributes<HTMLDivElement>>;
3451
+ /** Figma "Tone": `default` on the page background · `onImage` (Figma "On image") in inverse text on a photo or dark hero. */
3452
+ export type BackLinkTone = "default" | "onImage";
3453
+ /**
3454
+ * `mobile`: Figma "Mobile / Back link" (2466:12522) — 36px tall, Label SemiBold in text/primary, 8px tap padding.
3455
+ * `desktop`: Figma "Back link" (2606:15980, used above the forms of the desktop Authentication screens) — 20px tall,
3456
+ * no padding, 8px gap, Label Medium in text/secondary that turns text/primary on hover.
3457
+ */
3458
+ export type BackLinkVariant = "mobile" | "desktop";
3459
+ export interface BackLinkProps extends HTMLAttributes<HTMLElement>, Pick<AnchorHTMLAttributes<HTMLAnchorElement>, "href" | "target" | "rel"> {
3460
+ /** Figma "Tone": colour of the arrow and the label. */
3461
+ tone?: BackLinkTone;
3462
+ /** Which Figma component to draw: `mobile` ("Mobile / Back link", the default) or `desktop` ("Back link"). */
3463
+ variant?: BackLinkVariant;
3464
+ /** Where the link goes. Without it (and without `asChild`) a `<button>` is rendered — use `onClick`. */
3465
+ href?: string;
3466
+ /** Renders the single child element (e.g. a router `<Link>`) as the link; its content is the label. */
3467
+ asChild?: boolean;
3468
+ }
3469
+ /**
3470
+ * Figma component sets "Mobile / Back link" (the "‹ Help Center" link at the top of a mobile screen that leads to the
3471
+ * parent page; on larger screens the `Breadcrumb` does this) and, with `variant="desktop"`, "Back link" (the quieter
3472
+ * "‹ Back to TravelMatch" link above the desktop sign-in / sign-up forms). The label (Figma "Label") is the children.
3473
+ */
3474
+ export declare const BackLink: import("react").ForwardRefExoticComponent<BackLinkProps & import("react").RefAttributes<HTMLElement>>;
3475
+ /** Same shape as `AgenciesFilterOption`. */
3476
+ export type FilterChipsOption = AgenciesFilterOption;
3477
+ export interface FilterChipsProps extends Omit<AgenciesFilterProps, "layout" | "scrollBelow" | "rootClassName" | "rootStyle"> {
3478
+ /** The filters, in display order (Figma: All agencies · Armenia · Abroad · Flights · Family · Beach & spa). */
3479
+ options: FilterChipsOption[];
3480
+ }
3481
+ /**
3482
+ * Figma component set "Mobile / Filter chips": `AgenciesFilter` with `layout="scroll"` — one row of single-choice
3483
+ * `ChoiceChip`s that scrolls sideways instead of wrapping, at every width. The row runs edge to edge with the screen's
3484
+ * 16px gutter as scroll padding (`--tm-filter-chips-gutter`), snaps to chips and keeps the selected one in view.
3485
+ * A radio group: arrow keys move the selection. Name it with `aria-label` or `aria-labelledby`; these, the ref and the
3486
+ * remaining props go to the group (which is the scroll container), `className` and `style` to the outer root.
3487
+ * Prefer `<AgenciesFilter layout="auto">` when the same filter is also shown on wide screens.
3488
+ */
3489
+ export declare const FilterChips: import("react").ForwardRefExoticComponent<FilterChipsProps & import("react").RefAttributes<HTMLDivElement>>;
3490
+ /** Figma "Size": L 64px · M 44px. */
3491
+ export type IconTileSize = "lg" | "md";
3492
+ export interface IconTileProps extends HTMLAttributes<HTMLDivElement> {
3493
+ /** The icon (Figma "Icon" instance swap), e.g. `<EmailIcon />`. It is drawn at 24px in both sizes. */
3494
+ icon: ReactNode;
3495
+ /** Figma "Size": `lg` 64px (default) · `md` 44px. */
3496
+ size?: IconTileSize;
3497
+ }
3498
+ /**
3499
+ * Figma component set "Icon tile" (2606:15994): a soft square that carries the icon at the top of the
3500
+ * authentication screens (email sent, new password, done). Decorative by default — the icons are `aria-hidden`
3501
+ * unless you give the icon a `title`.
3502
+ */
3503
+ export declare const IconTile: import("react").ForwardRefExoticComponent<IconTileProps & import("react").RefAttributes<HTMLDivElement>>;
3504
+ /** Figma "Provider". Only Google exists in Figma today; new providers add a mark and a default label. */
3505
+ export type SocialProvider = "google";
3506
+ export interface SocialButtonProps extends ButtonHTMLAttributes<HTMLButtonElement> {
3507
+ /** Figma "Provider": picks the brand mark (and the English default label). */
3508
+ provider?: SocialProvider;
3509
+ /** Figma "Label". Defaults to "Continue with Google" — pass a translated label. */
3510
+ children?: ReactNode;
3511
+ /** Stretches the button to its container (every use on the Authentication screens). Default `true`. */
3512
+ fullWidth?: boolean;
3513
+ /** Renders the single child element (e.g. an `<a href="/auth/google">` or a router `<Link>`) with the button's styling. */
3514
+ asChild?: boolean;
3515
+ }
3516
+ /**
3517
+ * Figma component set "Social button" (2606:15898): Provider × State (Default · Hover · Pressed · Disabled) × Label.
3518
+ * State maps to `:hover`, `:active` and `disabled`; focus uses the `Button` focus ring.
3519
+ */
3520
+ export declare const SocialButton: import("react").ForwardRefExoticComponent<SocialButtonProps & import("react").RefAttributes<HTMLButtonElement>>;
3521
+ export interface DividerProps extends HTMLAttributes<HTMLElement> {
3522
+ /**
3523
+ * Figma "Label" (Type=Label), e.g. "Or continue with email" — pass translated text.
3524
+ * Without it the divider is Type=Plain: a native `<hr>`.
3525
+ */
3526
+ label?: ReactNode;
3527
+ }
3528
+ /**
3529
+ * Figma component set "Divider" (2606:15913): Type=Plain → `<hr>`; Type=Label → `role="separator"` named by its
3530
+ * centred label (a separator's content is not read out, so the label is wired with `aria-labelledby`).
3531
+ * Horizontal only — Figma has no vertical variant.
3532
+ */
3533
+ export declare const Divider: import("react").ForwardRefExoticComponent<DividerProps & import("react").RefAttributes<HTMLElement>>;
3534
+ export interface SegmentedControlOption<V extends string = string> {
3535
+ /** Value reported by `onValueChange` and submitted with `name`. */
3536
+ value: V;
3537
+ /** Visible label — pass translated text. */
3538
+ label: ReactNode;
3539
+ /** Optional 16px icon in front of the label (Figma: `user`, `briefcase`). */
3540
+ icon?: ReactNode;
3541
+ /** Makes this one option unavailable. */
3542
+ disabled?: boolean;
3543
+ }
3544
+ export interface SegmentedControlProps<V extends string = string> extends Omit<HTMLAttributes<HTMLDivElement>, "defaultValue" | "onChange" | "children"> {
3545
+ /** The mutually exclusive options, laid out in equal columns. */
3546
+ options: readonly SegmentedControlOption<V>[];
3547
+ /** Selected value (controlled). */
3548
+ value?: V;
3549
+ /** Selected value on first render (uncontrolled). */
3550
+ defaultValue?: V;
3551
+ /** Called with the newly selected value (click, Space, or arrow keys). */
3552
+ onValueChange?: (value: V) => void;
3553
+ /** Submits the selected value with a form under this name (hidden input). */
3554
+ name?: string;
3555
+ /** Disables every option. */
3556
+ disabled?: boolean;
3557
+ }
3558
+ /**
3559
+ * A row of mutually exclusive options with radio-group semantics (Tab enters on the selected option,
3560
+ * arrows/Home/End move and select). Figma "Account type switch" (2606:15943) is this control with two options.
3561
+ */
3562
+ export declare const SegmentedControl: <V extends string = string>(props: SegmentedControlProps<V> & RefAttributes<HTMLDivElement>) => ReactElement;
3563
+ /** Figma "Strength". The app computes it; this component only draws it. */
3564
+ export type PasswordStrengthLevel = "empty" | "weak" | "medium" | "strong";
3565
+ export interface PasswordStrengthProps extends Omit<HTMLAttributes<HTMLDivElement>, "children"> {
3566
+ /** Figma "Strength": `empty` (hint, nothing typed) · `weak` · `medium` · `strong`. Default `empty`. */
3567
+ strength?: PasswordStrengthLevel;
3568
+ /**
3569
+ * The message under the bar — the accessible text of this component. Defaults to the Figma English copy for the
3570
+ * level; pass a translated message that matches your password rules.
3571
+ */
3572
+ message?: ReactNode;
3573
+ /** Announces message changes politely to screen readers (`aria-live="polite"`) while the user types. */
3574
+ live?: boolean;
3575
+ /** id for the message element — point the password input's `aria-describedby` at it. */
3576
+ messageId?: string;
3577
+ }
3578
+ /**
3579
+ * Figma component set "Password strength" (2606:16044): a 4-segment bar (decorative) and a message with an icon.
3580
+ * Pair it with `PasswordInput` via `aria-describedby={messageId}`.
3581
+ */
3582
+ export declare const PasswordStrength: import("react").ForwardRefExoticComponent<PasswordStrengthProps & import("react").RefAttributes<HTMLDivElement>>;
3583
+
3584
+ export {
3585
+ Option$1 as Option,
3586
+ Text$1 as Text,
3587
+ };
3588
+
3589
+ export {};