@slipstream-ui/core 0.11.10 → 0.12.1

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 (362) hide show
  1. package/dist/index.d.mts +154 -163
  2. package/dist/index.d.ts +154 -163
  3. package/dist/index.js +1358 -1165
  4. package/dist/index.js.map +1 -1
  5. package/dist/index.mjs +1355 -1165
  6. package/dist/index.mjs.map +1 -1
  7. package/dist/manifests/accordion.manifest.json +1 -1
  8. package/dist/manifests/alert.manifest.json +1 -1
  9. package/dist/manifests/announcement-bar.manifest.json +12 -1
  10. package/dist/manifests/app-shell.manifest.json +12 -1
  11. package/dist/manifests/applied-filters.manifest.json +1 -1
  12. package/dist/manifests/article-card.manifest.json +12 -1
  13. package/dist/manifests/auth-layout.manifest.json +1 -1
  14. package/dist/manifests/autocomplete.manifest.json +1 -1
  15. package/dist/manifests/avatar.manifest.json +1 -1
  16. package/dist/manifests/badge.manifest.json +1 -1
  17. package/dist/manifests/block.manifest.json +1 -1
  18. package/dist/manifests/bottom-nav.manifest.json +1 -1
  19. package/dist/manifests/breadcrumb.manifest.json +1 -1
  20. package/dist/manifests/button-group.manifest.json +1 -1
  21. package/dist/manifests/button.manifest.json +1 -1
  22. package/dist/manifests/calendar.manifest.json +1 -1
  23. package/dist/manifests/card.manifest.json +1 -1
  24. package/dist/manifests/checkbox.manifest.json +1 -1
  25. package/dist/manifests/comparison-table.manifest.json +1 -1
  26. package/dist/manifests/confirm-dialog.manifest.json +1 -1
  27. package/dist/manifests/consent-banner.manifest.json +130 -0
  28. package/dist/manifests/contact-strip.manifest.json +12 -1
  29. package/dist/manifests/container.manifest.json +1 -1
  30. package/dist/manifests/cover-image.manifest.json +1 -1
  31. package/dist/manifests/cta-section.manifest.json +1 -1
  32. package/dist/manifests/data-table.manifest.json +1 -1
  33. package/dist/manifests/date-picker-popover.manifest.json +1 -1
  34. package/dist/manifests/date-picker.manifest.json +1 -1
  35. package/dist/manifests/date-range-picker.manifest.json +1 -1
  36. package/dist/manifests/deal-card.manifest.json +12 -1
  37. package/dist/manifests/dialog.manifest.json +1 -1
  38. package/dist/manifests/document-card.manifest.json +1 -1
  39. package/dist/manifests/drawer.manifest.json +1 -1
  40. package/dist/manifests/empty-state.manifest.json +1 -1
  41. package/dist/manifests/entity-card.manifest.json +12 -1
  42. package/dist/manifests/feature-grid.manifest.json +12 -1
  43. package/dist/manifests/feature-row.manifest.json +1 -1
  44. package/dist/manifests/fieldset.manifest.json +1 -1
  45. package/dist/manifests/file-upload.manifest.json +1 -1
  46. package/dist/manifests/filter-bar.manifest.json +1 -1
  47. package/dist/manifests/filter-chips.manifest.json +1 -1
  48. package/dist/manifests/filter-panel.manifest.json +1 -1
  49. package/dist/manifests/flex.manifest.json +1 -1
  50. package/dist/manifests/form-field.manifest.json +1 -1
  51. package/dist/manifests/form-layout.manifest.json +1 -1
  52. package/dist/manifests/form.manifest.json +1 -1
  53. package/dist/manifests/grid.manifest.json +1 -1
  54. package/dist/manifests/heading.manifest.json +1 -1
  55. package/dist/manifests/hero.manifest.json +1 -1
  56. package/dist/manifests/image.manifest.json +1 -1
  57. package/dist/manifests/input-group.manifest.json +1 -1
  58. package/dist/manifests/input.manifest.json +1 -1
  59. package/dist/manifests/label.manifest.json +1 -1
  60. package/dist/manifests/link-tabs.manifest.json +1 -1
  61. package/dist/manifests/link.manifest.json +1 -1
  62. package/dist/manifests/list-toolbar.manifest.json +1 -1
  63. package/dist/manifests/list.manifest.json +1 -1
  64. package/dist/manifests/load-more.manifest.json +1 -1
  65. package/dist/manifests/logo-cloud.manifest.json +1 -1
  66. package/dist/manifests/media-card.manifest.json +1 -1
  67. package/dist/manifests/menu.manifest.json +1 -1
  68. package/dist/manifests/metric-card.manifest.json +1 -1
  69. package/dist/manifests/month-schedule.manifest.json +1 -1
  70. package/dist/manifests/multi-select.manifest.json +1 -1
  71. package/dist/manifests/newsletter.manifest.json +1 -1
  72. package/dist/manifests/page-header.manifest.json +1 -1
  73. package/dist/manifests/pagination.manifest.json +1 -1
  74. package/dist/manifests/password-input.manifest.json +1 -1
  75. package/dist/manifests/popover.manifest.json +1 -1
  76. package/dist/manifests/process-steps.manifest.json +1 -1
  77. package/dist/manifests/progress.manifest.json +1 -1
  78. package/dist/manifests/prose.manifest.json +1 -1
  79. package/dist/manifests/radio.manifest.json +1 -1
  80. package/dist/manifests/range-slider.manifest.json +1 -1
  81. package/dist/manifests/search.manifest.json +1 -1
  82. package/dist/manifests/section-heading.manifest.json +1 -1
  83. package/dist/manifests/section.manifest.json +1 -1
  84. package/dist/manifests/segmented-control.manifest.json +1 -1
  85. package/dist/manifests/select-menu.manifest.json +1 -1
  86. package/dist/manifests/select.manifest.json +1 -1
  87. package/dist/manifests/separator.manifest.json +1 -1
  88. package/dist/manifests/site-footer.manifest.json +1 -1
  89. package/dist/manifests/site-header.manifest.json +7 -1
  90. package/dist/manifests/skeleton.manifest.json +1 -1
  91. package/dist/manifests/spinner.manifest.json +1 -1
  92. package/dist/manifests/stat-band.manifest.json +1 -1
  93. package/dist/manifests/stepper.manifest.json +1 -1
  94. package/dist/manifests/switch.manifest.json +1 -1
  95. package/dist/manifests/table-card.manifest.json +1 -1
  96. package/dist/manifests/table-of-contents.manifest.json +1 -1
  97. package/dist/manifests/table.manifest.json +1 -1
  98. package/dist/manifests/tabs.manifest.json +1 -1
  99. package/dist/manifests/testimonial.manifest.json +1 -1
  100. package/dist/manifests/text.manifest.json +1 -1
  101. package/dist/manifests/textarea.manifest.json +1 -1
  102. package/dist/manifests/theme-toggle.manifest.json +1 -1
  103. package/dist/manifests/time-picker.manifest.json +1 -1
  104. package/dist/manifests/timeline.manifest.json +1 -1
  105. package/dist/manifests/toast.manifest.json +1 -1
  106. package/dist/manifests/tombstone-card.manifest.json +12 -1
  107. package/dist/manifests/tooltip.manifest.json +1 -1
  108. package/dist/src/components/announcement-bar/AnnouncementBar.d.ts +3 -6
  109. package/dist/src/components/announcement-bar/AnnouncementBar.js +3 -1
  110. package/dist/src/components/announcement-bar/AnnouncementBar.js.map +1 -1
  111. package/dist/src/components/announcement-bar/AnnouncementBar.mjs +3 -1
  112. package/dist/src/components/announcement-bar/AnnouncementBar.mjs.map +1 -1
  113. package/dist/src/components/app-shell/AppShell.d.ts +3 -4
  114. package/dist/src/components/app-shell/AppShell.js +3 -1
  115. package/dist/src/components/app-shell/AppShell.js.map +1 -1
  116. package/dist/src/components/app-shell/AppShell.mjs +3 -1
  117. package/dist/src/components/app-shell/AppShell.mjs.map +1 -1
  118. package/dist/src/components/article-card/ArticleCard.d.ts +3 -6
  119. package/dist/src/components/article-card/ArticleCard.js +3 -1
  120. package/dist/src/components/article-card/ArticleCard.js.map +1 -1
  121. package/dist/src/components/article-card/ArticleCard.mjs +3 -1
  122. package/dist/src/components/article-card/ArticleCard.mjs.map +1 -1
  123. package/dist/src/components/bottom-nav/BottomNav.d.ts +2 -5
  124. package/dist/src/components/bottom-nav/BottomNav.js +2 -1
  125. package/dist/src/components/bottom-nav/BottomNav.js.map +1 -1
  126. package/dist/src/components/bottom-nav/BottomNav.mjs +2 -1
  127. package/dist/src/components/bottom-nav/BottomNav.mjs.map +1 -1
  128. package/dist/src/components/breadcrumb/Breadcrumb.d.ts +3 -16
  129. package/dist/src/components/breadcrumb/Breadcrumb.js +2 -1
  130. package/dist/src/components/breadcrumb/Breadcrumb.js.map +1 -1
  131. package/dist/src/components/breadcrumb/Breadcrumb.mjs +2 -1
  132. package/dist/src/components/breadcrumb/Breadcrumb.mjs.map +1 -1
  133. package/dist/src/components/consent-banner/ConsentBanner.d.ts +53 -0
  134. package/dist/src/components/consent-banner/ConsentBanner.js +83 -0
  135. package/dist/src/components/consent-banner/ConsentBanner.js.map +1 -0
  136. package/dist/src/components/consent-banner/ConsentBanner.mjs +49 -0
  137. package/dist/src/components/consent-banner/ConsentBanner.mjs.map +1 -0
  138. package/dist/src/components/consent-banner/index.d.ts +1 -0
  139. package/dist/src/components/consent-banner/index.js +23 -0
  140. package/dist/src/components/consent-banner/index.js.map +1 -0
  141. package/dist/src/components/consent-banner/index.mjs +2 -0
  142. package/dist/src/components/consent-banner/index.mjs.map +1 -0
  143. package/dist/src/components/contact-strip/ContactStrip.d.ts +3 -6
  144. package/dist/src/components/contact-strip/ContactStrip.js +3 -2
  145. package/dist/src/components/contact-strip/ContactStrip.js.map +1 -1
  146. package/dist/src/components/contact-strip/ContactStrip.mjs +3 -2
  147. package/dist/src/components/contact-strip/ContactStrip.mjs.map +1 -1
  148. package/dist/src/components/deal-card/DealCard.d.ts +3 -6
  149. package/dist/src/components/deal-card/DealCard.js +3 -1
  150. package/dist/src/components/deal-card/DealCard.js.map +1 -1
  151. package/dist/src/components/deal-card/DealCard.mjs +3 -1
  152. package/dist/src/components/deal-card/DealCard.mjs.map +1 -1
  153. package/dist/src/components/empty-state/EmptyState.d.ts +3 -10
  154. package/dist/src/components/empty-state/EmptyState.js +2 -1
  155. package/dist/src/components/empty-state/EmptyState.js.map +1 -1
  156. package/dist/src/components/empty-state/EmptyState.mjs +2 -1
  157. package/dist/src/components/empty-state/EmptyState.mjs.map +1 -1
  158. package/dist/src/components/entity-card/EntityCard.d.ts +4 -9
  159. package/dist/src/components/entity-card/EntityCard.js +4 -2
  160. package/dist/src/components/entity-card/EntityCard.js.map +1 -1
  161. package/dist/src/components/entity-card/EntityCard.mjs +4 -2
  162. package/dist/src/components/entity-card/EntityCard.mjs.map +1 -1
  163. package/dist/src/components/feature-grid/FeatureGrid.d.ts +3 -6
  164. package/dist/src/components/feature-grid/FeatureGrid.js +3 -2
  165. package/dist/src/components/feature-grid/FeatureGrid.js.map +1 -1
  166. package/dist/src/components/feature-grid/FeatureGrid.mjs +3 -2
  167. package/dist/src/components/feature-grid/FeatureGrid.mjs.map +1 -1
  168. package/dist/src/components/link-tabs/LinkTabs.d.ts +3 -16
  169. package/dist/src/components/link-tabs/LinkTabs.js +2 -1
  170. package/dist/src/components/link-tabs/LinkTabs.js.map +1 -1
  171. package/dist/src/components/link-tabs/LinkTabs.mjs +2 -1
  172. package/dist/src/components/link-tabs/LinkTabs.mjs.map +1 -1
  173. package/dist/src/components/logo-cloud/LogoCloud.d.ts +3 -10
  174. package/dist/src/components/logo-cloud/LogoCloud.js +2 -1
  175. package/dist/src/components/logo-cloud/LogoCloud.js.map +1 -1
  176. package/dist/src/components/logo-cloud/LogoCloud.mjs +2 -1
  177. package/dist/src/components/logo-cloud/LogoCloud.mjs.map +1 -1
  178. package/dist/src/components/media-card/MediaCard.d.ts +3 -10
  179. package/dist/src/components/media-card/MediaCard.js +2 -1
  180. package/dist/src/components/media-card/MediaCard.js.map +1 -1
  181. package/dist/src/components/media-card/MediaCard.mjs +2 -1
  182. package/dist/src/components/media-card/MediaCard.mjs.map +1 -1
  183. package/dist/src/components/month-schedule/MonthSchedule.d.ts +2 -5
  184. package/dist/src/components/month-schedule/MonthSchedule.js +3 -2
  185. package/dist/src/components/month-schedule/MonthSchedule.js.map +1 -1
  186. package/dist/src/components/month-schedule/MonthSchedule.mjs +3 -2
  187. package/dist/src/components/month-schedule/MonthSchedule.mjs.map +1 -1
  188. package/dist/src/components/pagination/Pagination.d.ts +3 -10
  189. package/dist/src/components/pagination/Pagination.js +2 -1
  190. package/dist/src/components/pagination/Pagination.js.map +1 -1
  191. package/dist/src/components/pagination/Pagination.mjs +2 -1
  192. package/dist/src/components/pagination/Pagination.mjs.map +1 -1
  193. package/dist/src/components/segmented-control/SegmentedControl.d.ts +3 -10
  194. package/dist/src/components/segmented-control/SegmentedControl.js +2 -1
  195. package/dist/src/components/segmented-control/SegmentedControl.js.map +1 -1
  196. package/dist/src/components/segmented-control/SegmentedControl.mjs +2 -1
  197. package/dist/src/components/segmented-control/SegmentedControl.mjs.map +1 -1
  198. package/dist/src/components/site-footer/SiteFooter.d.ts +2 -9
  199. package/dist/src/components/site-footer/SiteFooter.js +2 -1
  200. package/dist/src/components/site-footer/SiteFooter.js.map +1 -1
  201. package/dist/src/components/site-footer/SiteFooter.mjs +2 -1
  202. package/dist/src/components/site-footer/SiteFooter.mjs.map +1 -1
  203. package/dist/src/components/site-header/SiteHeader.d.ts +9 -10
  204. package/dist/src/components/site-header/SiteHeader.js +162 -133
  205. package/dist/src/components/site-header/SiteHeader.js.map +1 -1
  206. package/dist/src/components/site-header/SiteHeader.mjs +162 -133
  207. package/dist/src/components/site-header/SiteHeader.mjs.map +1 -1
  208. package/dist/src/components/tombstone-card/TombstoneCard.d.ts +3 -6
  209. package/dist/src/components/tombstone-card/TombstoneCard.js +3 -1
  210. package/dist/src/components/tombstone-card/TombstoneCard.js.map +1 -1
  211. package/dist/src/components/tombstone-card/TombstoneCard.mjs +3 -1
  212. package/dist/src/components/tombstone-card/TombstoneCard.mjs.map +1 -1
  213. package/dist/src/index.d.ts +3 -0
  214. package/dist/src/utils/consent.d.ts +42 -0
  215. package/dist/src/utils/consent.js +142 -0
  216. package/dist/src/utils/consent.js.map +1 -0
  217. package/dist/src/utils/consent.mjs +107 -0
  218. package/dist/src/utils/consent.mjs.map +1 -0
  219. package/dist/src/utils/link.d.ts +21 -0
  220. package/dist/src/utils/link.js +31 -0
  221. package/dist/src/utils/link.js.map +1 -0
  222. package/dist/src/utils/link.mjs +7 -0
  223. package/dist/src/utils/link.mjs.map +1 -0
  224. package/dist/styles-full.css +1 -1
  225. package/dist/styles.css +1 -1
  226. package/package.json +4 -4
  227. package/src/components/announcement-bar/AnnouncementBar.test.tsx +18 -0
  228. package/src/components/announcement-bar/AnnouncementBar.tsx +4 -4
  229. package/src/components/app-shell/AppShell.test.tsx +10 -0
  230. package/src/components/app-shell/AppShell.tsx +4 -4
  231. package/src/components/article-card/ArticleCard.test.tsx +10 -0
  232. package/src/components/article-card/ArticleCard.tsx +4 -4
  233. package/src/components/bottom-nav/BottomNav.tsx +3 -6
  234. package/src/components/breadcrumb/Breadcrumb.tsx +3 -9
  235. package/src/components/consent-banner/ConsentBanner.test.tsx +58 -0
  236. package/src/components/consent-banner/ConsentBanner.tsx +93 -0
  237. package/src/components/consent-banner/index.ts +1 -0
  238. package/src/components/contact-strip/ContactStrip.test.tsx +16 -0
  239. package/src/components/contact-strip/ContactStrip.tsx +4 -5
  240. package/src/components/deal-card/DealCard.test.tsx +19 -0
  241. package/src/components/deal-card/DealCard.tsx +4 -4
  242. package/src/components/empty-state/EmptyState.tsx +3 -6
  243. package/src/components/entity-card/EntityCard.test.tsx +8 -0
  244. package/src/components/entity-card/EntityCard.tsx +5 -5
  245. package/src/components/feature-grid/FeatureGrid.test.tsx +16 -0
  246. package/src/components/feature-grid/FeatureGrid.tsx +4 -5
  247. package/src/components/link-tabs/LinkTabs.tsx +3 -9
  248. package/src/components/logo-cloud/LogoCloud.tsx +3 -6
  249. package/src/components/media-card/MediaCard.tsx +3 -6
  250. package/src/components/month-schedule/MonthSchedule.tsx +4 -7
  251. package/src/components/pagination/Pagination.tsx +3 -6
  252. package/src/components/segmented-control/SegmentedControl.tsx +3 -6
  253. package/src/components/site-footer/SiteFooter.tsx +3 -11
  254. package/src/components/site-header/SiteHeader.test.tsx +53 -0
  255. package/src/components/site-header/SiteHeader.tsx +77 -32
  256. package/src/components/tombstone-card/TombstoneCard.test.tsx +17 -0
  257. package/src/components/tombstone-card/TombstoneCard.tsx +4 -4
  258. package/src/index.ts +3 -0
  259. package/src/manifests/accordion.manifest.json +1 -1
  260. package/src/manifests/alert.manifest.json +1 -1
  261. package/src/manifests/announcement-bar.manifest.json +12 -1
  262. package/src/manifests/app-shell.manifest.json +12 -1
  263. package/src/manifests/applied-filters.manifest.json +1 -1
  264. package/src/manifests/article-card.manifest.json +12 -1
  265. package/src/manifests/auth-layout.manifest.json +1 -1
  266. package/src/manifests/autocomplete.manifest.json +1 -1
  267. package/src/manifests/avatar.manifest.json +1 -1
  268. package/src/manifests/badge.manifest.json +1 -1
  269. package/src/manifests/block.manifest.json +1 -1
  270. package/src/manifests/bottom-nav.manifest.json +1 -1
  271. package/src/manifests/breadcrumb.manifest.json +1 -1
  272. package/src/manifests/button-group.manifest.json +1 -1
  273. package/src/manifests/button.manifest.json +1 -1
  274. package/src/manifests/calendar.manifest.json +1 -1
  275. package/src/manifests/card.manifest.json +1 -1
  276. package/src/manifests/checkbox.manifest.json +1 -1
  277. package/src/manifests/comparison-table.manifest.json +1 -1
  278. package/src/manifests/confirm-dialog.manifest.json +1 -1
  279. package/src/manifests/consent-banner.manifest.json +130 -0
  280. package/src/manifests/contact-strip.manifest.json +12 -1
  281. package/src/manifests/container.manifest.json +1 -1
  282. package/src/manifests/cover-image.manifest.json +1 -1
  283. package/src/manifests/cta-section.manifest.json +1 -1
  284. package/src/manifests/data-table.manifest.json +1 -1
  285. package/src/manifests/date-picker-popover.manifest.json +1 -1
  286. package/src/manifests/date-picker.manifest.json +1 -1
  287. package/src/manifests/date-range-picker.manifest.json +1 -1
  288. package/src/manifests/deal-card.manifest.json +12 -1
  289. package/src/manifests/dialog.manifest.json +1 -1
  290. package/src/manifests/document-card.manifest.json +1 -1
  291. package/src/manifests/drawer.manifest.json +1 -1
  292. package/src/manifests/empty-state.manifest.json +1 -1
  293. package/src/manifests/entity-card.manifest.json +12 -1
  294. package/src/manifests/feature-grid.manifest.json +12 -1
  295. package/src/manifests/feature-row.manifest.json +1 -1
  296. package/src/manifests/fieldset.manifest.json +1 -1
  297. package/src/manifests/file-upload.manifest.json +1 -1
  298. package/src/manifests/filter-bar.manifest.json +1 -1
  299. package/src/manifests/filter-chips.manifest.json +1 -1
  300. package/src/manifests/filter-panel.manifest.json +1 -1
  301. package/src/manifests/flex.manifest.json +1 -1
  302. package/src/manifests/form-field.manifest.json +1 -1
  303. package/src/manifests/form-layout.manifest.json +1 -1
  304. package/src/manifests/form.manifest.json +1 -1
  305. package/src/manifests/grid.manifest.json +1 -1
  306. package/src/manifests/heading.manifest.json +1 -1
  307. package/src/manifests/hero.manifest.json +1 -1
  308. package/src/manifests/image.manifest.json +1 -1
  309. package/src/manifests/input-group.manifest.json +1 -1
  310. package/src/manifests/input.manifest.json +1 -1
  311. package/src/manifests/label.manifest.json +1 -1
  312. package/src/manifests/link-tabs.manifest.json +1 -1
  313. package/src/manifests/link.manifest.json +1 -1
  314. package/src/manifests/list-toolbar.manifest.json +1 -1
  315. package/src/manifests/list.manifest.json +1 -1
  316. package/src/manifests/load-more.manifest.json +1 -1
  317. package/src/manifests/logo-cloud.manifest.json +1 -1
  318. package/src/manifests/media-card.manifest.json +1 -1
  319. package/src/manifests/menu.manifest.json +1 -1
  320. package/src/manifests/metric-card.manifest.json +1 -1
  321. package/src/manifests/month-schedule.manifest.json +1 -1
  322. package/src/manifests/multi-select.manifest.json +1 -1
  323. package/src/manifests/newsletter.manifest.json +1 -1
  324. package/src/manifests/page-header.manifest.json +1 -1
  325. package/src/manifests/pagination.manifest.json +1 -1
  326. package/src/manifests/password-input.manifest.json +1 -1
  327. package/src/manifests/popover.manifest.json +1 -1
  328. package/src/manifests/process-steps.manifest.json +1 -1
  329. package/src/manifests/progress.manifest.json +1 -1
  330. package/src/manifests/prose.manifest.json +1 -1
  331. package/src/manifests/radio.manifest.json +1 -1
  332. package/src/manifests/range-slider.manifest.json +1 -1
  333. package/src/manifests/search.manifest.json +1 -1
  334. package/src/manifests/section-heading.manifest.json +1 -1
  335. package/src/manifests/section.manifest.json +1 -1
  336. package/src/manifests/segmented-control.manifest.json +1 -1
  337. package/src/manifests/select-menu.manifest.json +1 -1
  338. package/src/manifests/select.manifest.json +1 -1
  339. package/src/manifests/separator.manifest.json +1 -1
  340. package/src/manifests/site-footer.manifest.json +1 -1
  341. package/src/manifests/site-header.manifest.json +7 -1
  342. package/src/manifests/skeleton.manifest.json +1 -1
  343. package/src/manifests/spinner.manifest.json +1 -1
  344. package/src/manifests/stat-band.manifest.json +1 -1
  345. package/src/manifests/stepper.manifest.json +1 -1
  346. package/src/manifests/switch.manifest.json +1 -1
  347. package/src/manifests/table-card.manifest.json +1 -1
  348. package/src/manifests/table-of-contents.manifest.json +1 -1
  349. package/src/manifests/table.manifest.json +1 -1
  350. package/src/manifests/tabs.manifest.json +1 -1
  351. package/src/manifests/testimonial.manifest.json +1 -1
  352. package/src/manifests/text.manifest.json +1 -1
  353. package/src/manifests/textarea.manifest.json +1 -1
  354. package/src/manifests/theme-toggle.manifest.json +1 -1
  355. package/src/manifests/time-picker.manifest.json +1 -1
  356. package/src/manifests/timeline.manifest.json +1 -1
  357. package/src/manifests/toast.manifest.json +1 -1
  358. package/src/manifests/tombstone-card.manifest.json +12 -1
  359. package/src/manifests/tooltip.manifest.json +1 -1
  360. package/src/utils/consent.test.ts +112 -0
  361. package/src/utils/consent.ts +169 -0
  362. package/src/utils/link.ts +19 -0
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../src/components/bottom-nav/BottomNav.tsx"],"sourcesContent":["import * as React from 'react';\nimport { cn } from '../../utils/cn';\n\nexport type BottomNavItem = {\n /** Destination URL for the tab. */\n href: string;\n /** Visible tab label. */\n label: string;\n /** Icon shown above the label; always rendered aria-hidden. */\n icon?: React.ReactNode;\n /** Marks the current tab and sets aria-current=\"page\". */\n active?: boolean;\n /** Small count or dot shown in the tab's top corner. */\n badge?: React.ReactNode;\n /** Renders the tab as non-interactive. */\n disabled?: boolean;\n};\n\nexport type BottomNavProps = React.HTMLAttributes<HTMLElement> & {\n /** Tabs in order. Keep to 3-5 so every target stays thumb-reachable. */\n items: BottomNavItem[];\n /** Router link component (Next Link, react-router Link). */\n linkComponent?: React.ElementType;\n /** Prop used to pass the destination to `linkComponent`. */\n linkHrefProp?: 'href' | 'to';\n /** Landmark label. Default \"Primary\". */\n label?: string;\n /** Pin the bar to the bottom edge with safe-area padding (default true). */\n fixed?: boolean;\n /** Hide the bar from the md breakpoint up (default true). */\n mobileOnly?: boolean;\n};\n\nconst tabClass =\n 'relative flex min-h-14 w-full flex-col items-center justify-center gap-0.5 px-2 py-2 text-[11px] font-medium transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-inset';\n\n/**\n * Mobile bottom tab bar for the 3-5 primary destinations of an app shell.\n * A nav landmark with aria-current=\"page\" on the active tab, 44px minimum\n * targets, an optional count badge and safe-area padding so the bar clears\n * the iOS home indicator.\n */\nexport function BottomNav({\n items,\n linkComponent,\n linkHrefProp = 'href',\n label = 'Primary',\n fixed = true,\n mobileOnly = true,\n className,\n ...props\n}: BottomNavProps) {\n const LinkEl = linkComponent ?? 'a';\n const destination = (href: string) => (linkHrefProp === 'to' ? { to: href } : { href });\n\n return (\n <nav\n aria-label={label}\n className={cn(\n 'w-full border-t border-border bg-background pb-[env(safe-area-inset-bottom)]',\n fixed && 'fixed inset-x-0 bottom-0 z-40',\n mobileOnly && 'md:hidden',\n className\n )}\n {...props}\n >\n <ul\n className=\"mx-auto grid w-full max-w-lg\"\n style={{ gridTemplateColumns: `repeat(${Math.max(items.length, 1)}, minmax(0, 1fr))` }}\n >\n {items.map((item) => {\n const content = (\n <>\n {item.icon && (\n <span aria-hidden=\"true\" className=\"[&_svg]:size-5\">\n {item.icon}\n </span>\n )}\n <span>{item.label}</span>\n {item.badge != null && (\n <span className=\"absolute right-1/4 top-1 rounded-full bg-primary px-1.5 text-[10px] font-semibold leading-4 text-primary-foreground\">\n {item.badge}\n </span>\n )}\n </>\n );\n\n return (\n <li key={item.href}>\n {item.disabled ? (\n <span\n aria-disabled=\"true\"\n className={cn(tabClass, 'text-muted-foreground opacity-50')}\n >\n {content}\n </span>\n ) : (\n <LinkEl\n {...destination(item.href)}\n aria-current={item.active ? 'page' : undefined}\n className={cn(\n tabClass,\n item.active\n ? 'text-primary-ink'\n : 'text-muted-foreground hover:text-foreground'\n )}\n >\n {content}\n </LinkEl>\n )}\n </li>\n );\n })}\n </ul>\n </nav>\n );\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAwEY;AAvEZ,gBAAmB;AAgCnB,MAAM,WACJ;AAQK,SAAS,UAAU;AAAA,EACxB;AAAA,EACA;AAAA,EACA,eAAe;AAAA,EACf,QAAQ;AAAA,EACR,QAAQ;AAAA,EACR,aAAa;AAAA,EACb;AAAA,EACA,GAAG;AACL,GAAmB;AACjB,QAAM,SAAS,iBAAiB;AAChC,QAAM,cAAc,CAAC,SAAkB,iBAAiB,OAAO,EAAE,IAAI,KAAK,IAAI,EAAE,KAAK;AAErF,SACE;AAAA,IAAC;AAAA;AAAA,MACC,cAAY;AAAA,MACZ,eAAW;AAAA,QACT;AAAA,QACA,SAAS;AAAA,QACT,cAAc;AAAA,QACd;AAAA,MACF;AAAA,MACC,GAAG;AAAA,MAEJ;AAAA,QAAC;AAAA;AAAA,UACC,WAAU;AAAA,UACV,OAAO,EAAE,qBAAqB,UAAU,KAAK,IAAI,MAAM,QAAQ,CAAC,CAAC,oBAAoB;AAAA,UAEpF,gBAAM,IAAI,CAAC,SAAS;AACnB,kBAAM,UACJ,4EACG;AAAA,mBAAK,QACJ,4CAAC,UAAK,eAAY,QAAO,WAAU,kBAChC,eAAK,MACR;AAAA,cAEF,4CAAC,UAAM,eAAK,OAAM;AAAA,cACjB,KAAK,SAAS,QACb,4CAAC,UAAK,WAAU,uHACb,eAAK,OACR;AAAA,eAEJ;AAGF,mBACE,4CAAC,QACE,eAAK,WACJ;AAAA,cAAC;AAAA;AAAA,gBACC,iBAAc;AAAA,gBACd,eAAW,cAAG,UAAU,kCAAkC;AAAA,gBAEzD;AAAA;AAAA,YACH,IAEA;AAAA,cAAC;AAAA;AAAA,gBACE,GAAG,YAAY,KAAK,IAAI;AAAA,gBACzB,gBAAc,KAAK,SAAS,SAAS;AAAA,gBACrC,eAAW;AAAA,kBACT;AAAA,kBACA,KAAK,SACD,qBACA;AAAA,gBACN;AAAA,gBAEC;AAAA;AAAA,YACH,KApBK,KAAK,IAsBd;AAAA,UAEJ,CAAC;AAAA;AAAA,MACH;AAAA;AAAA,EACF;AAEJ;","names":[]}
1
+ {"version":3,"sources":["../../../../src/components/bottom-nav/BottomNav.tsx"],"sourcesContent":["import * as React from 'react';\nimport { cn } from '../../utils/cn';\nimport { linkDestination, type LinkLikeProps } from '../../utils/link';\n\nexport type BottomNavItem = {\n /** Destination URL for the tab. */\n href: string;\n /** Visible tab label. */\n label: string;\n /** Icon shown above the label; always rendered aria-hidden. */\n icon?: React.ReactNode;\n /** Marks the current tab and sets aria-current=\"page\". */\n active?: boolean;\n /** Small count or dot shown in the tab's top corner. */\n badge?: React.ReactNode;\n /** Renders the tab as non-interactive. */\n disabled?: boolean;\n};\n\nexport type BottomNavProps = React.HTMLAttributes<HTMLElement> & LinkLikeProps & {\n /** Tabs in order. Keep to 3-5 so every target stays thumb-reachable. */\n items: BottomNavItem[];\n /** Landmark label. Default \"Primary\". */\n label?: string;\n /** Pin the bar to the bottom edge with safe-area padding (default true). */\n fixed?: boolean;\n /** Hide the bar from the md breakpoint up (default true). */\n mobileOnly?: boolean;\n};\n\nconst tabClass =\n 'relative flex min-h-14 w-full flex-col items-center justify-center gap-0.5 px-2 py-2 text-[11px] font-medium transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-inset';\n\n/**\n * Mobile bottom tab bar for the 3-5 primary destinations of an app shell.\n * A nav landmark with aria-current=\"page\" on the active tab, 44px minimum\n * targets, an optional count badge and safe-area padding so the bar clears\n * the iOS home indicator.\n */\nexport function BottomNav({\n items,\n linkComponent,\n linkHrefProp = 'href',\n label = 'Primary',\n fixed = true,\n mobileOnly = true,\n className,\n ...props\n}: BottomNavProps) {\n const LinkEl = linkComponent ?? 'a';\n const destination = (href: string) => linkDestination(href, linkHrefProp);\n\n return (\n <nav\n aria-label={label}\n className={cn(\n 'w-full border-t border-border bg-background pb-[env(safe-area-inset-bottom)]',\n fixed && 'fixed inset-x-0 bottom-0 z-40',\n mobileOnly && 'md:hidden',\n className\n )}\n {...props}\n >\n <ul\n className=\"mx-auto grid w-full max-w-lg\"\n style={{ gridTemplateColumns: `repeat(${Math.max(items.length, 1)}, minmax(0, 1fr))` }}\n >\n {items.map((item) => {\n const content = (\n <>\n {item.icon && (\n <span aria-hidden=\"true\" className=\"[&_svg]:size-5\">\n {item.icon}\n </span>\n )}\n <span>{item.label}</span>\n {item.badge != null && (\n <span className=\"absolute right-1/4 top-1 rounded-full bg-primary px-1.5 text-[10px] font-semibold leading-4 text-primary-foreground\">\n {item.badge}\n </span>\n )}\n </>\n );\n\n return (\n <li key={item.href}>\n {item.disabled ? (\n <span\n aria-disabled=\"true\"\n className={cn(tabClass, 'text-muted-foreground opacity-50')}\n >\n {content}\n </span>\n ) : (\n <LinkEl\n {...destination(item.href)}\n aria-current={item.active ? 'page' : undefined}\n className={cn(\n tabClass,\n item.active\n ? 'text-primary-ink'\n : 'text-muted-foreground hover:text-foreground'\n )}\n >\n {content}\n </LinkEl>\n )}\n </li>\n );\n })}\n </ul>\n </nav>\n );\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAqEY;AApEZ,gBAAmB;AACnB,kBAAoD;AA4BpD,MAAM,WACJ;AAQK,SAAS,UAAU;AAAA,EACxB;AAAA,EACA;AAAA,EACA,eAAe;AAAA,EACf,QAAQ;AAAA,EACR,QAAQ;AAAA,EACR,aAAa;AAAA,EACb;AAAA,EACA,GAAG;AACL,GAAmB;AACjB,QAAM,SAAS,iBAAiB;AAChC,QAAM,cAAc,CAAC,aAAiB,6BAAgB,MAAM,YAAY;AAExE,SACE;AAAA,IAAC;AAAA;AAAA,MACC,cAAY;AAAA,MACZ,eAAW;AAAA,QACT;AAAA,QACA,SAAS;AAAA,QACT,cAAc;AAAA,QACd;AAAA,MACF;AAAA,MACC,GAAG;AAAA,MAEJ;AAAA,QAAC;AAAA;AAAA,UACC,WAAU;AAAA,UACV,OAAO,EAAE,qBAAqB,UAAU,KAAK,IAAI,MAAM,QAAQ,CAAC,CAAC,oBAAoB;AAAA,UAEpF,gBAAM,IAAI,CAAC,SAAS;AACnB,kBAAM,UACJ,4EACG;AAAA,mBAAK,QACJ,4CAAC,UAAK,eAAY,QAAO,WAAU,kBAChC,eAAK,MACR;AAAA,cAEF,4CAAC,UAAM,eAAK,OAAM;AAAA,cACjB,KAAK,SAAS,QACb,4CAAC,UAAK,WAAU,uHACb,eAAK,OACR;AAAA,eAEJ;AAGF,mBACE,4CAAC,QACE,eAAK,WACJ;AAAA,cAAC;AAAA;AAAA,gBACC,iBAAc;AAAA,gBACd,eAAW,cAAG,UAAU,kCAAkC;AAAA,gBAEzD;AAAA;AAAA,YACH,IAEA;AAAA,cAAC;AAAA;AAAA,gBACE,GAAG,YAAY,KAAK,IAAI;AAAA,gBACzB,gBAAc,KAAK,SAAS,SAAS;AAAA,gBACrC,eAAW;AAAA,kBACT;AAAA,kBACA,KAAK,SACD,qBACA;AAAA,gBACN;AAAA,gBAEC;AAAA;AAAA,YACH,KApBK,KAAK,IAsBd;AAAA,UAEJ,CAAC;AAAA;AAAA,MACH;AAAA;AAAA,EACF;AAEJ;","names":[]}
@@ -1,5 +1,6 @@
1
1
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
2
2
  import { cn } from "../../utils/cn.mjs";
3
+ import { linkDestination } from "../../utils/link.mjs";
3
4
  const tabClass = "relative flex min-h-14 w-full flex-col items-center justify-center gap-0.5 px-2 py-2 text-[11px] font-medium transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-inset";
4
5
  function BottomNav({
5
6
  items,
@@ -12,7 +13,7 @@ function BottomNav({
12
13
  ...props
13
14
  }) {
14
15
  const LinkEl = linkComponent ?? "a";
15
- const destination = (href) => linkHrefProp === "to" ? { to: href } : { href };
16
+ const destination = (href) => linkDestination(href, linkHrefProp);
16
17
  return /* @__PURE__ */ jsx(
17
18
  "nav",
18
19
  {
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../src/components/bottom-nav/BottomNav.tsx"],"sourcesContent":["import * as React from 'react';\nimport { cn } from '../../utils/cn';\n\nexport type BottomNavItem = {\n /** Destination URL for the tab. */\n href: string;\n /** Visible tab label. */\n label: string;\n /** Icon shown above the label; always rendered aria-hidden. */\n icon?: React.ReactNode;\n /** Marks the current tab and sets aria-current=\"page\". */\n active?: boolean;\n /** Small count or dot shown in the tab's top corner. */\n badge?: React.ReactNode;\n /** Renders the tab as non-interactive. */\n disabled?: boolean;\n};\n\nexport type BottomNavProps = React.HTMLAttributes<HTMLElement> & {\n /** Tabs in order. Keep to 3-5 so every target stays thumb-reachable. */\n items: BottomNavItem[];\n /** Router link component (Next Link, react-router Link). */\n linkComponent?: React.ElementType;\n /** Prop used to pass the destination to `linkComponent`. */\n linkHrefProp?: 'href' | 'to';\n /** Landmark label. Default \"Primary\". */\n label?: string;\n /** Pin the bar to the bottom edge with safe-area padding (default true). */\n fixed?: boolean;\n /** Hide the bar from the md breakpoint up (default true). */\n mobileOnly?: boolean;\n};\n\nconst tabClass =\n 'relative flex min-h-14 w-full flex-col items-center justify-center gap-0.5 px-2 py-2 text-[11px] font-medium transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-inset';\n\n/**\n * Mobile bottom tab bar for the 3-5 primary destinations of an app shell.\n * A nav landmark with aria-current=\"page\" on the active tab, 44px minimum\n * targets, an optional count badge and safe-area padding so the bar clears\n * the iOS home indicator.\n */\nexport function BottomNav({\n items,\n linkComponent,\n linkHrefProp = 'href',\n label = 'Primary',\n fixed = true,\n mobileOnly = true,\n className,\n ...props\n}: BottomNavProps) {\n const LinkEl = linkComponent ?? 'a';\n const destination = (href: string) => (linkHrefProp === 'to' ? { to: href } : { href });\n\n return (\n <nav\n aria-label={label}\n className={cn(\n 'w-full border-t border-border bg-background pb-[env(safe-area-inset-bottom)]',\n fixed && 'fixed inset-x-0 bottom-0 z-40',\n mobileOnly && 'md:hidden',\n className\n )}\n {...props}\n >\n <ul\n className=\"mx-auto grid w-full max-w-lg\"\n style={{ gridTemplateColumns: `repeat(${Math.max(items.length, 1)}, minmax(0, 1fr))` }}\n >\n {items.map((item) => {\n const content = (\n <>\n {item.icon && (\n <span aria-hidden=\"true\" className=\"[&_svg]:size-5\">\n {item.icon}\n </span>\n )}\n <span>{item.label}</span>\n {item.badge != null && (\n <span className=\"absolute right-1/4 top-1 rounded-full bg-primary px-1.5 text-[10px] font-semibold leading-4 text-primary-foreground\">\n {item.badge}\n </span>\n )}\n </>\n );\n\n return (\n <li key={item.href}>\n {item.disabled ? (\n <span\n aria-disabled=\"true\"\n className={cn(tabClass, 'text-muted-foreground opacity-50')}\n >\n {content}\n </span>\n ) : (\n <LinkEl\n {...destination(item.href)}\n aria-current={item.active ? 'page' : undefined}\n className={cn(\n tabClass,\n item.active\n ? 'text-primary-ink'\n : 'text-muted-foreground hover:text-foreground'\n )}\n >\n {content}\n </LinkEl>\n )}\n </li>\n );\n })}\n </ul>\n </nav>\n );\n}\n"],"mappings":"AAwEY,mBAEI,KAFJ;AAvEZ,SAAS,UAAU;AAgCnB,MAAM,WACJ;AAQK,SAAS,UAAU;AAAA,EACxB;AAAA,EACA;AAAA,EACA,eAAe;AAAA,EACf,QAAQ;AAAA,EACR,QAAQ;AAAA,EACR,aAAa;AAAA,EACb;AAAA,EACA,GAAG;AACL,GAAmB;AACjB,QAAM,SAAS,iBAAiB;AAChC,QAAM,cAAc,CAAC,SAAkB,iBAAiB,OAAO,EAAE,IAAI,KAAK,IAAI,EAAE,KAAK;AAErF,SACE;AAAA,IAAC;AAAA;AAAA,MACC,cAAY;AAAA,MACZ,WAAW;AAAA,QACT;AAAA,QACA,SAAS;AAAA,QACT,cAAc;AAAA,QACd;AAAA,MACF;AAAA,MACC,GAAG;AAAA,MAEJ;AAAA,QAAC;AAAA;AAAA,UACC,WAAU;AAAA,UACV,OAAO,EAAE,qBAAqB,UAAU,KAAK,IAAI,MAAM,QAAQ,CAAC,CAAC,oBAAoB;AAAA,UAEpF,gBAAM,IAAI,CAAC,SAAS;AACnB,kBAAM,UACJ,iCACG;AAAA,mBAAK,QACJ,oBAAC,UAAK,eAAY,QAAO,WAAU,kBAChC,eAAK,MACR;AAAA,cAEF,oBAAC,UAAM,eAAK,OAAM;AAAA,cACjB,KAAK,SAAS,QACb,oBAAC,UAAK,WAAU,uHACb,eAAK,OACR;AAAA,eAEJ;AAGF,mBACE,oBAAC,QACE,eAAK,WACJ;AAAA,cAAC;AAAA;AAAA,gBACC,iBAAc;AAAA,gBACd,WAAW,GAAG,UAAU,kCAAkC;AAAA,gBAEzD;AAAA;AAAA,YACH,IAEA;AAAA,cAAC;AAAA;AAAA,gBACE,GAAG,YAAY,KAAK,IAAI;AAAA,gBACzB,gBAAc,KAAK,SAAS,SAAS;AAAA,gBACrC,WAAW;AAAA,kBACT;AAAA,kBACA,KAAK,SACD,qBACA;AAAA,gBACN;AAAA,gBAEC;AAAA;AAAA,YACH,KApBK,KAAK,IAsBd;AAAA,UAEJ,CAAC;AAAA;AAAA,MACH;AAAA;AAAA,EACF;AAEJ;","names":[]}
1
+ {"version":3,"sources":["../../../../src/components/bottom-nav/BottomNav.tsx"],"sourcesContent":["import * as React from 'react';\nimport { cn } from '../../utils/cn';\nimport { linkDestination, type LinkLikeProps } from '../../utils/link';\n\nexport type BottomNavItem = {\n /** Destination URL for the tab. */\n href: string;\n /** Visible tab label. */\n label: string;\n /** Icon shown above the label; always rendered aria-hidden. */\n icon?: React.ReactNode;\n /** Marks the current tab and sets aria-current=\"page\". */\n active?: boolean;\n /** Small count or dot shown in the tab's top corner. */\n badge?: React.ReactNode;\n /** Renders the tab as non-interactive. */\n disabled?: boolean;\n};\n\nexport type BottomNavProps = React.HTMLAttributes<HTMLElement> & LinkLikeProps & {\n /** Tabs in order. Keep to 3-5 so every target stays thumb-reachable. */\n items: BottomNavItem[];\n /** Landmark label. Default \"Primary\". */\n label?: string;\n /** Pin the bar to the bottom edge with safe-area padding (default true). */\n fixed?: boolean;\n /** Hide the bar from the md breakpoint up (default true). */\n mobileOnly?: boolean;\n};\n\nconst tabClass =\n 'relative flex min-h-14 w-full flex-col items-center justify-center gap-0.5 px-2 py-2 text-[11px] font-medium transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-inset';\n\n/**\n * Mobile bottom tab bar for the 3-5 primary destinations of an app shell.\n * A nav landmark with aria-current=\"page\" on the active tab, 44px minimum\n * targets, an optional count badge and safe-area padding so the bar clears\n * the iOS home indicator.\n */\nexport function BottomNav({\n items,\n linkComponent,\n linkHrefProp = 'href',\n label = 'Primary',\n fixed = true,\n mobileOnly = true,\n className,\n ...props\n}: BottomNavProps) {\n const LinkEl = linkComponent ?? 'a';\n const destination = (href: string) => linkDestination(href, linkHrefProp);\n\n return (\n <nav\n aria-label={label}\n className={cn(\n 'w-full border-t border-border bg-background pb-[env(safe-area-inset-bottom)]',\n fixed && 'fixed inset-x-0 bottom-0 z-40',\n mobileOnly && 'md:hidden',\n className\n )}\n {...props}\n >\n <ul\n className=\"mx-auto grid w-full max-w-lg\"\n style={{ gridTemplateColumns: `repeat(${Math.max(items.length, 1)}, minmax(0, 1fr))` }}\n >\n {items.map((item) => {\n const content = (\n <>\n {item.icon && (\n <span aria-hidden=\"true\" className=\"[&_svg]:size-5\">\n {item.icon}\n </span>\n )}\n <span>{item.label}</span>\n {item.badge != null && (\n <span className=\"absolute right-1/4 top-1 rounded-full bg-primary px-1.5 text-[10px] font-semibold leading-4 text-primary-foreground\">\n {item.badge}\n </span>\n )}\n </>\n );\n\n return (\n <li key={item.href}>\n {item.disabled ? (\n <span\n aria-disabled=\"true\"\n className={cn(tabClass, 'text-muted-foreground opacity-50')}\n >\n {content}\n </span>\n ) : (\n <LinkEl\n {...destination(item.href)}\n aria-current={item.active ? 'page' : undefined}\n className={cn(\n tabClass,\n item.active\n ? 'text-primary-ink'\n : 'text-muted-foreground hover:text-foreground'\n )}\n >\n {content}\n </LinkEl>\n )}\n </li>\n );\n })}\n </ul>\n </nav>\n );\n}\n"],"mappings":"AAqEY,mBAEI,KAFJ;AApEZ,SAAS,UAAU;AACnB,SAAS,uBAA2C;AA4BpD,MAAM,WACJ;AAQK,SAAS,UAAU;AAAA,EACxB;AAAA,EACA;AAAA,EACA,eAAe;AAAA,EACf,QAAQ;AAAA,EACR,QAAQ;AAAA,EACR,aAAa;AAAA,EACb;AAAA,EACA,GAAG;AACL,GAAmB;AACjB,QAAM,SAAS,iBAAiB;AAChC,QAAM,cAAc,CAAC,SAAiB,gBAAgB,MAAM,YAAY;AAExE,SACE;AAAA,IAAC;AAAA;AAAA,MACC,cAAY;AAAA,MACZ,WAAW;AAAA,QACT;AAAA,QACA,SAAS;AAAA,QACT,cAAc;AAAA,QACd;AAAA,MACF;AAAA,MACC,GAAG;AAAA,MAEJ;AAAA,QAAC;AAAA;AAAA,UACC,WAAU;AAAA,UACV,OAAO,EAAE,qBAAqB,UAAU,KAAK,IAAI,MAAM,QAAQ,CAAC,CAAC,oBAAoB;AAAA,UAEpF,gBAAM,IAAI,CAAC,SAAS;AACnB,kBAAM,UACJ,iCACG;AAAA,mBAAK,QACJ,oBAAC,UAAK,eAAY,QAAO,WAAU,kBAChC,eAAK,MACR;AAAA,cAEF,oBAAC,UAAM,eAAK,OAAM;AAAA,cACjB,KAAK,SAAS,QACb,oBAAC,UAAK,WAAU,uHACb,eAAK,OACR;AAAA,eAEJ;AAGF,mBACE,oBAAC,QACE,eAAK,WACJ;AAAA,cAAC;AAAA;AAAA,gBACC,iBAAc;AAAA,gBACd,WAAW,GAAG,UAAU,kCAAkC;AAAA,gBAEzD;AAAA;AAAA,YACH,IAEA;AAAA,cAAC;AAAA;AAAA,gBACE,GAAG,YAAY,KAAK,IAAI;AAAA,gBACzB,gBAAc,KAAK,SAAS,SAAS;AAAA,gBACrC,WAAW;AAAA,kBACT;AAAA,kBACA,KAAK,SACD,qBACA;AAAA,gBACN;AAAA,gBAEC;AAAA;AAAA,YACH,KApBK,KAAK,IAsBd;AAAA,UAEJ,CAAC;AAAA;AAAA,MACH;AAAA;AAAA,EACF;AAEJ;","names":[]}
@@ -1,11 +1,12 @@
1
1
  import * as React from 'react';
2
+ import { type LinkLikeProps } from '../../utils/link';
2
3
  export type BreadcrumbItem = {
3
4
  /** Display label. */
4
5
  label: string;
5
6
  /** Destination href; omit for the current page (renders as plain text). */
6
7
  href?: string;
7
8
  };
8
- export type BreadcrumbProps = React.HTMLAttributes<HTMLElement> & {
9
+ export type BreadcrumbProps = React.HTMLAttributes<HTMLElement> & LinkLikeProps & {
9
10
  /** Ordered list of breadcrumb items; the last item is the current page. */
10
11
  items: BreadcrumbItem[];
11
12
  /** Accessible name of the navigation landmark. Default 'Breadcrumb'. */
@@ -18,13 +19,6 @@ export type BreadcrumbProps = React.HTMLAttributes<HTMLElement> & {
18
19
  * (e.g. via a router, state machine, or analytics wrapper).
19
20
  */
20
21
  onItemClick?: (item: BreadcrumbItem, index: number) => void;
21
- /** Custom link element for routers (Next Link, react-router Link). */
22
- linkComponent?: React.ElementType;
23
- /**
24
- * Prop used to pass the destination to `linkComponent`. `href` covers
25
- * anchors and Next.js Link; `to` covers react-router and similar routers.
26
- */
27
- linkHrefProp?: 'href' | 'to';
28
22
  /** Truncate the current page label and expose the full text as a title. */
29
23
  truncateCurrent?: boolean;
30
24
  };
@@ -33,7 +27,7 @@ export type BreadcrumbProps = React.HTMLAttributes<HTMLElement> & {
33
27
  * page with aria-current="page". Earlier items are links. Screen readers
34
28
  * announce the navigation landmark and current location.
35
29
  */
36
- declare const Breadcrumb: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLElement> & {
30
+ declare const Breadcrumb: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLElement> & LinkLikeProps & {
37
31
  /** Ordered list of breadcrumb items; the last item is the current page. */
38
32
  items: BreadcrumbItem[];
39
33
  /** Accessible name of the navigation landmark. Default 'Breadcrumb'. */
@@ -46,13 +40,6 @@ declare const Breadcrumb: React.ForwardRefExoticComponent<React.HTMLAttributes<H
46
40
  * (e.g. via a router, state machine, or analytics wrapper).
47
41
  */
48
42
  onItemClick?: (item: BreadcrumbItem, index: number) => void;
49
- /** Custom link element for routers (Next Link, react-router Link). */
50
- linkComponent?: React.ElementType;
51
- /**
52
- * Prop used to pass the destination to `linkComponent`. `href` covers
53
- * anchors and Next.js Link; `to` covers react-router and similar routers.
54
- */
55
- linkHrefProp?: "href" | "to";
56
43
  /** Truncate the current page label and expose the full text as a title. */
57
44
  truncateCurrent?: boolean;
58
45
  } & React.RefAttributes<HTMLElement>>;
@@ -34,6 +34,7 @@ module.exports = __toCommonJS(Breadcrumb_exports);
34
34
  var import_jsx_runtime = require("react/jsx-runtime");
35
35
  var React = __toESM(require("react"));
36
36
  var import_cn = require("../../utils/cn.js");
37
+ var import_link = require("../../utils/link.js");
37
38
  const Breadcrumb = React.forwardRef(
38
39
  ({ items, label = "Breadcrumb", separator = "/", onItemClick, linkComponent, linkHrefProp = "href", truncateCurrent = false, className, ...props }, ref) => {
39
40
  const LinkEl = linkComponent ?? "a";
@@ -51,7 +52,7 @@ const Breadcrumb = React.forwardRef(
51
52
  item.href && !isLast ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
52
53
  LinkEl,
53
54
  {
54
- ...linkHrefProp === "to" ? { to: item.href } : { href: item.href },
55
+ ...(0, import_link.linkDestination)(item.href, linkHrefProp),
55
56
  className: "transition-colors hover:text-foreground",
56
57
  onClick: onItemClick ? (event) => {
57
58
  event.preventDefault();
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../src/components/breadcrumb/Breadcrumb.tsx"],"sourcesContent":["import * as React from 'react';\nimport { cn } from '../../utils/cn';\n\nexport type BreadcrumbItem = {\n /** Display label. */\n label: string;\n /** Destination href; omit for the current page (renders as plain text). */\n href?: string;\n};\n\nexport type BreadcrumbProps = React.HTMLAttributes<HTMLElement> & {\n /** Ordered list of breadcrumb items; the last item is the current page. */\n items: BreadcrumbItem[];\n /** Accessible name of the navigation landmark. Default 'Breadcrumb'. */\n label?: string;\n /** Separator character between items (default '/'). */\n separator?: React.ReactNode;\n /**\n * Receives every link click with the item and its index. When provided,\n * default navigation is prevented so you can route programmatically\n * (e.g. via a router, state machine, or analytics wrapper).\n */\n onItemClick?: (item: BreadcrumbItem, index: number) => void;\n /** Custom link element for routers (Next Link, react-router Link). */\n linkComponent?: React.ElementType;\n /**\n * Prop used to pass the destination to `linkComponent`. `href` covers\n * anchors and Next.js Link; `to` covers react-router and similar routers.\n */\n linkHrefProp?: 'href' | 'to';\n /** Truncate the current page label and expose the full text as a title. */\n truncateCurrent?: boolean;\n};\n\n/**\n * Navigation breadcrumb trail. The last item is rendered as the current\n * page with aria-current=\"page\". Earlier items are links. Screen readers\n * announce the navigation landmark and current location.\n */\nconst Breadcrumb = React.forwardRef<HTMLElement, BreadcrumbProps>(\n ({ items, label = 'Breadcrumb', separator = '/', onItemClick, linkComponent, linkHrefProp = 'href', truncateCurrent = false, className, ...props }, ref) => {\n const LinkEl = linkComponent ?? 'a';\n return (\n <nav\n ref={ref}\n aria-label={label}\n className={cn('flex items-center space-x-1.5 text-sm text-muted-foreground', className)}\n {...props}\n >\n <ol className=\"flex flex-wrap items-center space-x-1.5\">\n {items.map((item, index) => {\n const isLast = index === items.length - 1;\n return (\n <li key={`${item.label}-${index}`} className={cn('flex items-center space-x-1.5', truncateCurrent && isLast && 'min-w-0')}>\n {index > 0 && (\n <span aria-hidden=\"true\" className=\"text-muted-foreground/50\">\n {separator}\n </span>\n )}\n {item.href && !isLast ? (\n <LinkEl\n {...(linkHrefProp === 'to' ? { to: item.href } : { href: item.href })}\n className=\"transition-colors hover:text-foreground\"\n onClick={\n onItemClick\n ? (event: React.MouseEvent<HTMLAnchorElement>) => {\n event.preventDefault();\n onItemClick(item, index);\n }\n : undefined\n }\n >\n {item.label}\n </LinkEl>\n ) : (\n <span\n aria-current={isLast ? 'page' : undefined}\n title={truncateCurrent && isLast ? item.label : undefined}\n className={cn(isLast && 'font-medium text-foreground', truncateCurrent && isLast && 'truncate')}\n >\n {item.label}\n </span>\n )}\n </li>\n );\n })}\n </ol>\n </nav>\n );\n }\n);\nBreadcrumb.displayName = 'Breadcrumb';\n\nexport { Breadcrumb };\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAqDY;AArDZ,YAAuB;AACvB,gBAAmB;AAsCnB,MAAM,aAAa,MAAM;AAAA,EACvB,CAAC,EAAE,OAAO,QAAQ,cAAc,YAAY,KAAK,aAAa,eAAe,eAAe,QAAQ,kBAAkB,OAAO,WAAW,GAAG,MAAM,GAAG,QAAQ;AAC1J,UAAM,SAAS,iBAAiB;AAChC,WACA;AAAA,MAAC;AAAA;AAAA,QACC;AAAA,QACA,cAAY;AAAA,QACZ,eAAW,cAAG,+DAA+D,SAAS;AAAA,QACrF,GAAG;AAAA,QAEJ,sDAAC,QAAG,WAAU,2CACX,gBAAM,IAAI,CAAC,MAAM,UAAU;AAC1B,gBAAM,SAAS,UAAU,MAAM,SAAS;AACxC,iBACE,6CAAC,QAAkC,eAAW,cAAG,iCAAiC,mBAAmB,UAAU,SAAS,GACrH;AAAA,oBAAQ,KACP,4CAAC,UAAK,eAAY,QAAO,WAAU,4BAChC,qBACH;AAAA,YAED,KAAK,QAAQ,CAAC,SACb;AAAA,cAAC;AAAA;AAAA,gBACE,GAAI,iBAAiB,OAAO,EAAE,IAAI,KAAK,KAAK,IAAI,EAAE,MAAM,KAAK,KAAK;AAAA,gBACnE,WAAU;AAAA,gBACV,SACE,cACI,CAAC,UAA+C;AAC9C,wBAAM,eAAe;AACrB,8BAAY,MAAM,KAAK;AAAA,gBACzB,IACA;AAAA,gBAGL,eAAK;AAAA;AAAA,YACR,IAEA;AAAA,cAAC;AAAA;AAAA,gBACC,gBAAc,SAAS,SAAS;AAAA,gBAChC,OAAO,mBAAmB,SAAS,KAAK,QAAQ;AAAA,gBAChD,eAAW,cAAG,UAAU,+BAA+B,mBAAmB,UAAU,UAAU;AAAA,gBAE7F,eAAK;AAAA;AAAA,YACR;AAAA,eA5BK,GAAG,KAAK,KAAK,IAAI,KAAK,EA8B/B;AAAA,QAEJ,CAAC,GACH;AAAA;AAAA,IACF;AAAA,EAEF;AACF;AACA,WAAW,cAAc;","names":[]}
1
+ {"version":3,"sources":["../../../../src/components/breadcrumb/Breadcrumb.tsx"],"sourcesContent":["import * as React from 'react';\nimport { cn } from '../../utils/cn';\nimport { linkDestination, type LinkLikeProps } from '../../utils/link';\n\nexport type BreadcrumbItem = {\n /** Display label. */\n label: string;\n /** Destination href; omit for the current page (renders as plain text). */\n href?: string;\n};\n\nexport type BreadcrumbProps = React.HTMLAttributes<HTMLElement> & LinkLikeProps & {\n /** Ordered list of breadcrumb items; the last item is the current page. */\n items: BreadcrumbItem[];\n /** Accessible name of the navigation landmark. Default 'Breadcrumb'. */\n label?: string;\n /** Separator character between items (default '/'). */\n separator?: React.ReactNode;\n /**\n * Receives every link click with the item and its index. When provided,\n * default navigation is prevented so you can route programmatically\n * (e.g. via a router, state machine, or analytics wrapper).\n */\n onItemClick?: (item: BreadcrumbItem, index: number) => void;\n /** Truncate the current page label and expose the full text as a title. */\n truncateCurrent?: boolean;\n};\n\n/**\n * Navigation breadcrumb trail. The last item is rendered as the current\n * page with aria-current=\"page\". Earlier items are links. Screen readers\n * announce the navigation landmark and current location.\n */\nconst Breadcrumb = React.forwardRef<HTMLElement, BreadcrumbProps>(\n ({ items, label = 'Breadcrumb', separator = '/', onItemClick, linkComponent, linkHrefProp = 'href', truncateCurrent = false, className, ...props }, ref) => {\n const LinkEl = linkComponent ?? 'a';\n return (\n <nav\n ref={ref}\n aria-label={label}\n className={cn('flex items-center space-x-1.5 text-sm text-muted-foreground', className)}\n {...props}\n >\n <ol className=\"flex flex-wrap items-center space-x-1.5\">\n {items.map((item, index) => {\n const isLast = index === items.length - 1;\n return (\n <li key={`${item.label}-${index}`} className={cn('flex items-center space-x-1.5', truncateCurrent && isLast && 'min-w-0')}>\n {index > 0 && (\n <span aria-hidden=\"true\" className=\"text-muted-foreground/50\">\n {separator}\n </span>\n )}\n {item.href && !isLast ? (\n <LinkEl\n {...linkDestination(item.href, linkHrefProp)}\n className=\"transition-colors hover:text-foreground\"\n onClick={\n onItemClick\n ? (event: React.MouseEvent<HTMLAnchorElement>) => {\n event.preventDefault();\n onItemClick(item, index);\n }\n : undefined\n }\n >\n {item.label}\n </LinkEl>\n ) : (\n <span\n aria-current={isLast ? 'page' : undefined}\n title={truncateCurrent && isLast ? item.label : undefined}\n className={cn(isLast && 'font-medium text-foreground', truncateCurrent && isLast && 'truncate')}\n >\n {item.label}\n </span>\n )}\n </li>\n );\n })}\n </ol>\n </nav>\n );\n }\n);\nBreadcrumb.displayName = 'Breadcrumb';\n\nexport { Breadcrumb };\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AA+CY;AA/CZ,YAAuB;AACvB,gBAAmB;AACnB,kBAAoD;AA+BpD,MAAM,aAAa,MAAM;AAAA,EACvB,CAAC,EAAE,OAAO,QAAQ,cAAc,YAAY,KAAK,aAAa,eAAe,eAAe,QAAQ,kBAAkB,OAAO,WAAW,GAAG,MAAM,GAAG,QAAQ;AAC1J,UAAM,SAAS,iBAAiB;AAChC,WACA;AAAA,MAAC;AAAA;AAAA,QACC;AAAA,QACA,cAAY;AAAA,QACZ,eAAW,cAAG,+DAA+D,SAAS;AAAA,QACrF,GAAG;AAAA,QAEJ,sDAAC,QAAG,WAAU,2CACX,gBAAM,IAAI,CAAC,MAAM,UAAU;AAC1B,gBAAM,SAAS,UAAU,MAAM,SAAS;AACxC,iBACE,6CAAC,QAAkC,eAAW,cAAG,iCAAiC,mBAAmB,UAAU,SAAS,GACrH;AAAA,oBAAQ,KACP,4CAAC,UAAK,eAAY,QAAO,WAAU,4BAChC,qBACH;AAAA,YAED,KAAK,QAAQ,CAAC,SACb;AAAA,cAAC;AAAA;AAAA,gBACE,OAAG,6BAAgB,KAAK,MAAM,YAAY;AAAA,gBAC3C,WAAU;AAAA,gBACV,SACE,cACI,CAAC,UAA+C;AAC9C,wBAAM,eAAe;AACrB,8BAAY,MAAM,KAAK;AAAA,gBACzB,IACA;AAAA,gBAGL,eAAK;AAAA;AAAA,YACR,IAEA;AAAA,cAAC;AAAA;AAAA,gBACC,gBAAc,SAAS,SAAS;AAAA,gBAChC,OAAO,mBAAmB,SAAS,KAAK,QAAQ;AAAA,gBAChD,eAAW,cAAG,UAAU,+BAA+B,mBAAmB,UAAU,UAAU;AAAA,gBAE7F,eAAK;AAAA;AAAA,YACR;AAAA,eA5BK,GAAG,KAAK,KAAK,IAAI,KAAK,EA8B/B;AAAA,QAEJ,CAAC,GACH;AAAA;AAAA,IACF;AAAA,EAEF;AACF;AACA,WAAW,cAAc;","names":[]}
@@ -1,6 +1,7 @@
1
1
  import { jsx, jsxs } from "react/jsx-runtime";
2
2
  import * as React from "react";
3
3
  import { cn } from "../../utils/cn.mjs";
4
+ import { linkDestination } from "../../utils/link.mjs";
4
5
  const Breadcrumb = React.forwardRef(
5
6
  ({ items, label = "Breadcrumb", separator = "/", onItemClick, linkComponent, linkHrefProp = "href", truncateCurrent = false, className, ...props }, ref) => {
6
7
  const LinkEl = linkComponent ?? "a";
@@ -18,7 +19,7 @@ const Breadcrumb = React.forwardRef(
18
19
  item.href && !isLast ? /* @__PURE__ */ jsx(
19
20
  LinkEl,
20
21
  {
21
- ...linkHrefProp === "to" ? { to: item.href } : { href: item.href },
22
+ ...linkDestination(item.href, linkHrefProp),
22
23
  className: "transition-colors hover:text-foreground",
23
24
  onClick: onItemClick ? (event) => {
24
25
  event.preventDefault();
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../src/components/breadcrumb/Breadcrumb.tsx"],"sourcesContent":["import * as React from 'react';\nimport { cn } from '../../utils/cn';\n\nexport type BreadcrumbItem = {\n /** Display label. */\n label: string;\n /** Destination href; omit for the current page (renders as plain text). */\n href?: string;\n};\n\nexport type BreadcrumbProps = React.HTMLAttributes<HTMLElement> & {\n /** Ordered list of breadcrumb items; the last item is the current page. */\n items: BreadcrumbItem[];\n /** Accessible name of the navigation landmark. Default 'Breadcrumb'. */\n label?: string;\n /** Separator character between items (default '/'). */\n separator?: React.ReactNode;\n /**\n * Receives every link click with the item and its index. When provided,\n * default navigation is prevented so you can route programmatically\n * (e.g. via a router, state machine, or analytics wrapper).\n */\n onItemClick?: (item: BreadcrumbItem, index: number) => void;\n /** Custom link element for routers (Next Link, react-router Link). */\n linkComponent?: React.ElementType;\n /**\n * Prop used to pass the destination to `linkComponent`. `href` covers\n * anchors and Next.js Link; `to` covers react-router and similar routers.\n */\n linkHrefProp?: 'href' | 'to';\n /** Truncate the current page label and expose the full text as a title. */\n truncateCurrent?: boolean;\n};\n\n/**\n * Navigation breadcrumb trail. The last item is rendered as the current\n * page with aria-current=\"page\". Earlier items are links. Screen readers\n * announce the navigation landmark and current location.\n */\nconst Breadcrumb = React.forwardRef<HTMLElement, BreadcrumbProps>(\n ({ items, label = 'Breadcrumb', separator = '/', onItemClick, linkComponent, linkHrefProp = 'href', truncateCurrent = false, className, ...props }, ref) => {\n const LinkEl = linkComponent ?? 'a';\n return (\n <nav\n ref={ref}\n aria-label={label}\n className={cn('flex items-center space-x-1.5 text-sm text-muted-foreground', className)}\n {...props}\n >\n <ol className=\"flex flex-wrap items-center space-x-1.5\">\n {items.map((item, index) => {\n const isLast = index === items.length - 1;\n return (\n <li key={`${item.label}-${index}`} className={cn('flex items-center space-x-1.5', truncateCurrent && isLast && 'min-w-0')}>\n {index > 0 && (\n <span aria-hidden=\"true\" className=\"text-muted-foreground/50\">\n {separator}\n </span>\n )}\n {item.href && !isLast ? (\n <LinkEl\n {...(linkHrefProp === 'to' ? { to: item.href } : { href: item.href })}\n className=\"transition-colors hover:text-foreground\"\n onClick={\n onItemClick\n ? (event: React.MouseEvent<HTMLAnchorElement>) => {\n event.preventDefault();\n onItemClick(item, index);\n }\n : undefined\n }\n >\n {item.label}\n </LinkEl>\n ) : (\n <span\n aria-current={isLast ? 'page' : undefined}\n title={truncateCurrent && isLast ? item.label : undefined}\n className={cn(isLast && 'font-medium text-foreground', truncateCurrent && isLast && 'truncate')}\n >\n {item.label}\n </span>\n )}\n </li>\n );\n })}\n </ol>\n </nav>\n );\n }\n);\nBreadcrumb.displayName = 'Breadcrumb';\n\nexport { Breadcrumb };\n"],"mappings":"AAqDY,SAEI,KAFJ;AArDZ,YAAY,WAAW;AACvB,SAAS,UAAU;AAsCnB,MAAM,aAAa,MAAM;AAAA,EACvB,CAAC,EAAE,OAAO,QAAQ,cAAc,YAAY,KAAK,aAAa,eAAe,eAAe,QAAQ,kBAAkB,OAAO,WAAW,GAAG,MAAM,GAAG,QAAQ;AAC1J,UAAM,SAAS,iBAAiB;AAChC,WACA;AAAA,MAAC;AAAA;AAAA,QACC;AAAA,QACA,cAAY;AAAA,QACZ,WAAW,GAAG,+DAA+D,SAAS;AAAA,QACrF,GAAG;AAAA,QAEJ,8BAAC,QAAG,WAAU,2CACX,gBAAM,IAAI,CAAC,MAAM,UAAU;AAC1B,gBAAM,SAAS,UAAU,MAAM,SAAS;AACxC,iBACE,qBAAC,QAAkC,WAAW,GAAG,iCAAiC,mBAAmB,UAAU,SAAS,GACrH;AAAA,oBAAQ,KACP,oBAAC,UAAK,eAAY,QAAO,WAAU,4BAChC,qBACH;AAAA,YAED,KAAK,QAAQ,CAAC,SACb;AAAA,cAAC;AAAA;AAAA,gBACE,GAAI,iBAAiB,OAAO,EAAE,IAAI,KAAK,KAAK,IAAI,EAAE,MAAM,KAAK,KAAK;AAAA,gBACnE,WAAU;AAAA,gBACV,SACE,cACI,CAAC,UAA+C;AAC9C,wBAAM,eAAe;AACrB,8BAAY,MAAM,KAAK;AAAA,gBACzB,IACA;AAAA,gBAGL,eAAK;AAAA;AAAA,YACR,IAEA;AAAA,cAAC;AAAA;AAAA,gBACC,gBAAc,SAAS,SAAS;AAAA,gBAChC,OAAO,mBAAmB,SAAS,KAAK,QAAQ;AAAA,gBAChD,WAAW,GAAG,UAAU,+BAA+B,mBAAmB,UAAU,UAAU;AAAA,gBAE7F,eAAK;AAAA;AAAA,YACR;AAAA,eA5BK,GAAG,KAAK,KAAK,IAAI,KAAK,EA8B/B;AAAA,QAEJ,CAAC,GACH;AAAA;AAAA,IACF;AAAA,EAEF;AACF;AACA,WAAW,cAAc;","names":[]}
1
+ {"version":3,"sources":["../../../../src/components/breadcrumb/Breadcrumb.tsx"],"sourcesContent":["import * as React from 'react';\nimport { cn } from '../../utils/cn';\nimport { linkDestination, type LinkLikeProps } from '../../utils/link';\n\nexport type BreadcrumbItem = {\n /** Display label. */\n label: string;\n /** Destination href; omit for the current page (renders as plain text). */\n href?: string;\n};\n\nexport type BreadcrumbProps = React.HTMLAttributes<HTMLElement> & LinkLikeProps & {\n /** Ordered list of breadcrumb items; the last item is the current page. */\n items: BreadcrumbItem[];\n /** Accessible name of the navigation landmark. Default 'Breadcrumb'. */\n label?: string;\n /** Separator character between items (default '/'). */\n separator?: React.ReactNode;\n /**\n * Receives every link click with the item and its index. When provided,\n * default navigation is prevented so you can route programmatically\n * (e.g. via a router, state machine, or analytics wrapper).\n */\n onItemClick?: (item: BreadcrumbItem, index: number) => void;\n /** Truncate the current page label and expose the full text as a title. */\n truncateCurrent?: boolean;\n};\n\n/**\n * Navigation breadcrumb trail. The last item is rendered as the current\n * page with aria-current=\"page\". Earlier items are links. Screen readers\n * announce the navigation landmark and current location.\n */\nconst Breadcrumb = React.forwardRef<HTMLElement, BreadcrumbProps>(\n ({ items, label = 'Breadcrumb', separator = '/', onItemClick, linkComponent, linkHrefProp = 'href', truncateCurrent = false, className, ...props }, ref) => {\n const LinkEl = linkComponent ?? 'a';\n return (\n <nav\n ref={ref}\n aria-label={label}\n className={cn('flex items-center space-x-1.5 text-sm text-muted-foreground', className)}\n {...props}\n >\n <ol className=\"flex flex-wrap items-center space-x-1.5\">\n {items.map((item, index) => {\n const isLast = index === items.length - 1;\n return (\n <li key={`${item.label}-${index}`} className={cn('flex items-center space-x-1.5', truncateCurrent && isLast && 'min-w-0')}>\n {index > 0 && (\n <span aria-hidden=\"true\" className=\"text-muted-foreground/50\">\n {separator}\n </span>\n )}\n {item.href && !isLast ? (\n <LinkEl\n {...linkDestination(item.href, linkHrefProp)}\n className=\"transition-colors hover:text-foreground\"\n onClick={\n onItemClick\n ? (event: React.MouseEvent<HTMLAnchorElement>) => {\n event.preventDefault();\n onItemClick(item, index);\n }\n : undefined\n }\n >\n {item.label}\n </LinkEl>\n ) : (\n <span\n aria-current={isLast ? 'page' : undefined}\n title={truncateCurrent && isLast ? item.label : undefined}\n className={cn(isLast && 'font-medium text-foreground', truncateCurrent && isLast && 'truncate')}\n >\n {item.label}\n </span>\n )}\n </li>\n );\n })}\n </ol>\n </nav>\n );\n }\n);\nBreadcrumb.displayName = 'Breadcrumb';\n\nexport { Breadcrumb };\n"],"mappings":"AA+CY,SAEI,KAFJ;AA/CZ,YAAY,WAAW;AACvB,SAAS,UAAU;AACnB,SAAS,uBAA2C;AA+BpD,MAAM,aAAa,MAAM;AAAA,EACvB,CAAC,EAAE,OAAO,QAAQ,cAAc,YAAY,KAAK,aAAa,eAAe,eAAe,QAAQ,kBAAkB,OAAO,WAAW,GAAG,MAAM,GAAG,QAAQ;AAC1J,UAAM,SAAS,iBAAiB;AAChC,WACA;AAAA,MAAC;AAAA;AAAA,QACC;AAAA,QACA,cAAY;AAAA,QACZ,WAAW,GAAG,+DAA+D,SAAS;AAAA,QACrF,GAAG;AAAA,QAEJ,8BAAC,QAAG,WAAU,2CACX,gBAAM,IAAI,CAAC,MAAM,UAAU;AAC1B,gBAAM,SAAS,UAAU,MAAM,SAAS;AACxC,iBACE,qBAAC,QAAkC,WAAW,GAAG,iCAAiC,mBAAmB,UAAU,SAAS,GACrH;AAAA,oBAAQ,KACP,oBAAC,UAAK,eAAY,QAAO,WAAU,4BAChC,qBACH;AAAA,YAED,KAAK,QAAQ,CAAC,SACb;AAAA,cAAC;AAAA;AAAA,gBACE,GAAG,gBAAgB,KAAK,MAAM,YAAY;AAAA,gBAC3C,WAAU;AAAA,gBACV,SACE,cACI,CAAC,UAA+C;AAC9C,wBAAM,eAAe;AACrB,8BAAY,MAAM,KAAK;AAAA,gBACzB,IACA;AAAA,gBAGL,eAAK;AAAA;AAAA,YACR,IAEA;AAAA,cAAC;AAAA;AAAA,gBACC,gBAAc,SAAS,SAAS;AAAA,gBAChC,OAAO,mBAAmB,SAAS,KAAK,QAAQ;AAAA,gBAChD,WAAW,GAAG,UAAU,+BAA+B,mBAAmB,UAAU,UAAU;AAAA,gBAE7F,eAAK;AAAA;AAAA,YACR;AAAA,eA5BK,GAAG,KAAK,KAAK,IAAI,KAAK,EA8B/B;AAAA,QAEJ,CAAC,GACH;AAAA;AAAA,IACF;AAAA,EAEF;AACF;AACA,WAAW,cAAc;","names":[]}
@@ -0,0 +1,53 @@
1
+ import * as React from 'react';
2
+ export type ConsentBannerProps = React.HTMLAttributes<HTMLDivElement> & {
3
+ /** Called when the visitor accepts (all purposes granted). */
4
+ onAccept: () => void;
5
+ /** Called when the visitor declines (all purposes denied). */
6
+ onDecline: () => void;
7
+ /** Optional "manage preferences" action for granular consent dialogs. */
8
+ onManage?: () => void;
9
+ /** Banner heading. Omit for a single-line notice. */
10
+ title?: React.ReactNode;
11
+ /** Body copy; put privacy-policy links here. */
12
+ children?: React.ReactNode;
13
+ /** Accessible name for the banner region. Default 'Cookie consent'. */
14
+ label?: string;
15
+ acceptLabel?: React.ReactNode;
16
+ declineLabel?: React.ReactNode;
17
+ manageLabel?: React.ReactNode;
18
+ };
19
+ /**
20
+ * Styled cookie/consent banner: a fixed bottom bar with accept, decline and
21
+ * an optional manage-preferences action. Presentational only — wire it to
22
+ * `useConsent` (or your own store) and render it conditionally:
23
+ *
24
+ * ```tsx
25
+ * const consent = useConsent({ purposes: ['analytics'] });
26
+ * {!consent.decided && (
27
+ * <ConsentBanner
28
+ * onAccept={() => consent.setAll(true)}
29
+ * onDecline={() => consent.setAll(false)}
30
+ * >
31
+ * We use cookies for analytics.{' '}
32
+ * <a href="/privacy">Privacy policy</a>
33
+ * </ConsentBanner>
34
+ * )}
35
+ * ```
36
+ */
37
+ export declare const ConsentBanner: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & {
38
+ /** Called when the visitor accepts (all purposes granted). */
39
+ onAccept: () => void;
40
+ /** Called when the visitor declines (all purposes denied). */
41
+ onDecline: () => void;
42
+ /** Optional "manage preferences" action for granular consent dialogs. */
43
+ onManage?: () => void;
44
+ /** Banner heading. Omit for a single-line notice. */
45
+ title?: React.ReactNode;
46
+ /** Body copy; put privacy-policy links here. */
47
+ children?: React.ReactNode;
48
+ /** Accessible name for the banner region. Default 'Cookie consent'. */
49
+ label?: string;
50
+ acceptLabel?: React.ReactNode;
51
+ declineLabel?: React.ReactNode;
52
+ manageLabel?: React.ReactNode;
53
+ } & React.RefAttributes<HTMLDivElement>>;
@@ -0,0 +1,83 @@
1
+ "use strict";
2
+ "use client";
3
+ var __create = Object.create;
4
+ var __defProp = Object.defineProperty;
5
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
6
+ var __getOwnPropNames = Object.getOwnPropertyNames;
7
+ var __getProtoOf = Object.getPrototypeOf;
8
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
9
+ var __export = (target, all) => {
10
+ for (var name in all)
11
+ __defProp(target, name, { get: all[name], enumerable: true });
12
+ };
13
+ var __copyProps = (to, from, except, desc) => {
14
+ if (from && typeof from === "object" || typeof from === "function") {
15
+ for (let key of __getOwnPropNames(from))
16
+ if (!__hasOwnProp.call(to, key) && key !== except)
17
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
18
+ }
19
+ return to;
20
+ };
21
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
22
+ // If the importer is in node compatibility mode or this is not an ESM
23
+ // file that has been converted to a CommonJS file using a Babel-
24
+ // compatible transform (i.e. "__esModule" has not been set), then set
25
+ // "default" to the CommonJS "module.exports" for node compatibility.
26
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
27
+ mod
28
+ ));
29
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
30
+ var ConsentBanner_exports = {};
31
+ __export(ConsentBanner_exports, {
32
+ ConsentBanner: () => ConsentBanner
33
+ });
34
+ module.exports = __toCommonJS(ConsentBanner_exports);
35
+ var import_jsx_runtime = require("react/jsx-runtime");
36
+ var React = __toESM(require("react"));
37
+ var import_cn = require("../../utils/cn.js");
38
+ var import_Button = require("../button/Button.js");
39
+ const ConsentBanner = React.forwardRef(
40
+ function ConsentBanner2({
41
+ onAccept,
42
+ onDecline,
43
+ onManage,
44
+ title,
45
+ children,
46
+ label = "Cookie consent",
47
+ acceptLabel = "Accept",
48
+ declineLabel = "Decline",
49
+ manageLabel = "Manage",
50
+ className,
51
+ ...props
52
+ }, ref) {
53
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
54
+ "div",
55
+ {
56
+ ref,
57
+ role: "region",
58
+ "aria-label": label,
59
+ className: (0, import_cn.cn)(
60
+ "fixed inset-x-0 bottom-0 z-50 border-t border-border bg-card px-4 py-4 pb-[calc(1rem+env(safe-area-inset-bottom))] shadow-lg sm:px-6",
61
+ className
62
+ ),
63
+ ...props,
64
+ children: /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { className: "mx-auto flex max-w-5xl flex-col gap-3 sm:flex-row sm:items-center sm:justify-between", children: [
65
+ /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { className: "min-w-0", children: [
66
+ title && /* @__PURE__ */ (0, import_jsx_runtime.jsx)("p", { className: "text-sm font-medium text-foreground", children: title }),
67
+ children && /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { className: "text-sm text-muted-foreground", children })
68
+ ] }),
69
+ /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { className: "flex shrink-0 flex-wrap gap-2", children: [
70
+ onManage && /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_Button.Button, { type: "button", variant: "ghost", size: "sm", onClick: onManage, children: manageLabel }),
71
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_Button.Button, { type: "button", variant: "outline", size: "sm", onClick: onDecline, children: declineLabel }),
72
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_Button.Button, { type: "button", size: "sm", onClick: onAccept, children: acceptLabel })
73
+ ] })
74
+ ] })
75
+ }
76
+ );
77
+ }
78
+ );
79
+ // Annotate the CommonJS export names for ESM import in node:
80
+ 0 && (module.exports = {
81
+ ConsentBanner
82
+ });
83
+ //# sourceMappingURL=ConsentBanner.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../src/components/consent-banner/ConsentBanner.tsx"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport { cn } from '../../utils/cn';\nimport { Button } from '../button/Button';\n\nexport type ConsentBannerProps = React.HTMLAttributes<HTMLDivElement> & {\n /** Called when the visitor accepts (all purposes granted). */\n onAccept: () => void;\n /** Called when the visitor declines (all purposes denied). */\n onDecline: () => void;\n /** Optional \"manage preferences\" action for granular consent dialogs. */\n onManage?: () => void;\n /** Banner heading. Omit for a single-line notice. */\n title?: React.ReactNode;\n /** Body copy; put privacy-policy links here. */\n children?: React.ReactNode;\n /** Accessible name for the banner region. Default 'Cookie consent'. */\n label?: string;\n acceptLabel?: React.ReactNode;\n declineLabel?: React.ReactNode;\n manageLabel?: React.ReactNode;\n};\n\n/**\n * Styled cookie/consent banner: a fixed bottom bar with accept, decline and\n * an optional manage-preferences action. Presentational only — wire it to\n * `useConsent` (or your own store) and render it conditionally:\n *\n * ```tsx\n * const consent = useConsent({ purposes: ['analytics'] });\n * {!consent.decided && (\n * <ConsentBanner\n * onAccept={() => consent.setAll(true)}\n * onDecline={() => consent.setAll(false)}\n * >\n * We use cookies for analytics.{' '}\n * <a href=\"/privacy\">Privacy policy</a>\n * </ConsentBanner>\n * )}\n * ```\n */\nexport const ConsentBanner = React.forwardRef<HTMLDivElement, ConsentBannerProps>(\n function ConsentBanner(\n {\n onAccept,\n onDecline,\n onManage,\n title,\n children,\n label = 'Cookie consent',\n acceptLabel = 'Accept',\n declineLabel = 'Decline',\n manageLabel = 'Manage',\n className,\n ...props\n },\n ref\n ) {\n return (\n <div\n ref={ref}\n role=\"region\"\n aria-label={label}\n className={cn(\n 'fixed inset-x-0 bottom-0 z-50 border-t border-border bg-card px-4 py-4 pb-[calc(1rem+env(safe-area-inset-bottom))] shadow-lg sm:px-6',\n className\n )}\n {...props}\n >\n <div className=\"mx-auto flex max-w-5xl flex-col gap-3 sm:flex-row sm:items-center sm:justify-between\">\n <div className=\"min-w-0\">\n {title && <p className=\"text-sm font-medium text-foreground\">{title}</p>}\n {children && <div className=\"text-sm text-muted-foreground\">{children}</div>}\n </div>\n <div className=\"flex shrink-0 flex-wrap gap-2\">\n {onManage && (\n <Button type=\"button\" variant=\"ghost\" size=\"sm\" onClick={onManage}>\n {manageLabel}\n </Button>\n )}\n <Button type=\"button\" variant=\"outline\" size=\"sm\" onClick={onDecline}>\n {declineLabel}\n </Button>\n <Button type=\"button\" size=\"sm\" onClick={onAccept}>\n {acceptLabel}\n </Button>\n </div>\n </div>\n </div>\n );\n }\n);\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAuEU;AArEV,YAAuB;AACvB,gBAAmB;AACnB,oBAAuB;AAsChB,MAAM,gBAAgB,MAAM;AAAA,EACjC,SAASA,eACP;AAAA,IACE;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA,QAAQ;AAAA,IACR,cAAc;AAAA,IACd,eAAe;AAAA,IACf,cAAc;AAAA,IACd;AAAA,IACA,GAAG;AAAA,EACL,GACA,KACA;AACA,WACE;AAAA,MAAC;AAAA;AAAA,QACC;AAAA,QACA,MAAK;AAAA,QACL,cAAY;AAAA,QACZ,eAAW;AAAA,UACT;AAAA,UACA;AAAA,QACF;AAAA,QACC,GAAG;AAAA,QAEJ,uDAAC,SAAI,WAAU,wFACb;AAAA,uDAAC,SAAI,WAAU,WACZ;AAAA,qBAAS,4CAAC,OAAE,WAAU,uCAAuC,iBAAM;AAAA,YACnE,YAAY,4CAAC,SAAI,WAAU,iCAAiC,UAAS;AAAA,aACxE;AAAA,UACA,6CAAC,SAAI,WAAU,iCACZ;AAAA,wBACC,4CAAC,wBAAO,MAAK,UAAS,SAAQ,SAAQ,MAAK,MAAK,SAAS,UACtD,uBACH;AAAA,YAEF,4CAAC,wBAAO,MAAK,UAAS,SAAQ,WAAU,MAAK,MAAK,SAAS,WACxD,wBACH;AAAA,YACA,4CAAC,wBAAO,MAAK,UAAS,MAAK,MAAK,SAAS,UACtC,uBACH;AAAA,aACF;AAAA,WACF;AAAA;AAAA,IACF;AAAA,EAEJ;AACF;","names":["ConsentBanner"]}
@@ -0,0 +1,49 @@
1
+ "use client";
2
+ import { jsx, jsxs } from "react/jsx-runtime";
3
+ import * as React from "react";
4
+ import { cn } from "../../utils/cn.mjs";
5
+ import { Button } from "../button/Button.mjs";
6
+ const ConsentBanner = React.forwardRef(
7
+ function ConsentBanner2({
8
+ onAccept,
9
+ onDecline,
10
+ onManage,
11
+ title,
12
+ children,
13
+ label = "Cookie consent",
14
+ acceptLabel = "Accept",
15
+ declineLabel = "Decline",
16
+ manageLabel = "Manage",
17
+ className,
18
+ ...props
19
+ }, ref) {
20
+ return /* @__PURE__ */ jsx(
21
+ "div",
22
+ {
23
+ ref,
24
+ role: "region",
25
+ "aria-label": label,
26
+ className: cn(
27
+ "fixed inset-x-0 bottom-0 z-50 border-t border-border bg-card px-4 py-4 pb-[calc(1rem+env(safe-area-inset-bottom))] shadow-lg sm:px-6",
28
+ className
29
+ ),
30
+ ...props,
31
+ children: /* @__PURE__ */ jsxs("div", { className: "mx-auto flex max-w-5xl flex-col gap-3 sm:flex-row sm:items-center sm:justify-between", children: [
32
+ /* @__PURE__ */ jsxs("div", { className: "min-w-0", children: [
33
+ title && /* @__PURE__ */ jsx("p", { className: "text-sm font-medium text-foreground", children: title }),
34
+ children && /* @__PURE__ */ jsx("div", { className: "text-sm text-muted-foreground", children })
35
+ ] }),
36
+ /* @__PURE__ */ jsxs("div", { className: "flex shrink-0 flex-wrap gap-2", children: [
37
+ onManage && /* @__PURE__ */ jsx(Button, { type: "button", variant: "ghost", size: "sm", onClick: onManage, children: manageLabel }),
38
+ /* @__PURE__ */ jsx(Button, { type: "button", variant: "outline", size: "sm", onClick: onDecline, children: declineLabel }),
39
+ /* @__PURE__ */ jsx(Button, { type: "button", size: "sm", onClick: onAccept, children: acceptLabel })
40
+ ] })
41
+ ] })
42
+ }
43
+ );
44
+ }
45
+ );
46
+ export {
47
+ ConsentBanner
48
+ };
49
+ //# sourceMappingURL=ConsentBanner.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../src/components/consent-banner/ConsentBanner.tsx"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport { cn } from '../../utils/cn';\nimport { Button } from '../button/Button';\n\nexport type ConsentBannerProps = React.HTMLAttributes<HTMLDivElement> & {\n /** Called when the visitor accepts (all purposes granted). */\n onAccept: () => void;\n /** Called when the visitor declines (all purposes denied). */\n onDecline: () => void;\n /** Optional \"manage preferences\" action for granular consent dialogs. */\n onManage?: () => void;\n /** Banner heading. Omit for a single-line notice. */\n title?: React.ReactNode;\n /** Body copy; put privacy-policy links here. */\n children?: React.ReactNode;\n /** Accessible name for the banner region. Default 'Cookie consent'. */\n label?: string;\n acceptLabel?: React.ReactNode;\n declineLabel?: React.ReactNode;\n manageLabel?: React.ReactNode;\n};\n\n/**\n * Styled cookie/consent banner: a fixed bottom bar with accept, decline and\n * an optional manage-preferences action. Presentational only — wire it to\n * `useConsent` (or your own store) and render it conditionally:\n *\n * ```tsx\n * const consent = useConsent({ purposes: ['analytics'] });\n * {!consent.decided && (\n * <ConsentBanner\n * onAccept={() => consent.setAll(true)}\n * onDecline={() => consent.setAll(false)}\n * >\n * We use cookies for analytics.{' '}\n * <a href=\"/privacy\">Privacy policy</a>\n * </ConsentBanner>\n * )}\n * ```\n */\nexport const ConsentBanner = React.forwardRef<HTMLDivElement, ConsentBannerProps>(\n function ConsentBanner(\n {\n onAccept,\n onDecline,\n onManage,\n title,\n children,\n label = 'Cookie consent',\n acceptLabel = 'Accept',\n declineLabel = 'Decline',\n manageLabel = 'Manage',\n className,\n ...props\n },\n ref\n ) {\n return (\n <div\n ref={ref}\n role=\"region\"\n aria-label={label}\n className={cn(\n 'fixed inset-x-0 bottom-0 z-50 border-t border-border bg-card px-4 py-4 pb-[calc(1rem+env(safe-area-inset-bottom))] shadow-lg sm:px-6',\n className\n )}\n {...props}\n >\n <div className=\"mx-auto flex max-w-5xl flex-col gap-3 sm:flex-row sm:items-center sm:justify-between\">\n <div className=\"min-w-0\">\n {title && <p className=\"text-sm font-medium text-foreground\">{title}</p>}\n {children && <div className=\"text-sm text-muted-foreground\">{children}</div>}\n </div>\n <div className=\"flex shrink-0 flex-wrap gap-2\">\n {onManage && (\n <Button type=\"button\" variant=\"ghost\" size=\"sm\" onClick={onManage}>\n {manageLabel}\n </Button>\n )}\n <Button type=\"button\" variant=\"outline\" size=\"sm\" onClick={onDecline}>\n {declineLabel}\n </Button>\n <Button type=\"button\" size=\"sm\" onClick={onAccept}>\n {acceptLabel}\n </Button>\n </div>\n </div>\n </div>\n );\n }\n);\n"],"mappings":";AAuEU,SACY,KADZ;AArEV,YAAY,WAAW;AACvB,SAAS,UAAU;AACnB,SAAS,cAAc;AAsChB,MAAM,gBAAgB,MAAM;AAAA,EACjC,SAASA,eACP;AAAA,IACE;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA,QAAQ;AAAA,IACR,cAAc;AAAA,IACd,eAAe;AAAA,IACf,cAAc;AAAA,IACd;AAAA,IACA,GAAG;AAAA,EACL,GACA,KACA;AACA,WACE;AAAA,MAAC;AAAA;AAAA,QACC;AAAA,QACA,MAAK;AAAA,QACL,cAAY;AAAA,QACZ,WAAW;AAAA,UACT;AAAA,UACA;AAAA,QACF;AAAA,QACC,GAAG;AAAA,QAEJ,+BAAC,SAAI,WAAU,wFACb;AAAA,+BAAC,SAAI,WAAU,WACZ;AAAA,qBAAS,oBAAC,OAAE,WAAU,uCAAuC,iBAAM;AAAA,YACnE,YAAY,oBAAC,SAAI,WAAU,iCAAiC,UAAS;AAAA,aACxE;AAAA,UACA,qBAAC,SAAI,WAAU,iCACZ;AAAA,wBACC,oBAAC,UAAO,MAAK,UAAS,SAAQ,SAAQ,MAAK,MAAK,SAAS,UACtD,uBACH;AAAA,YAEF,oBAAC,UAAO,MAAK,UAAS,SAAQ,WAAU,MAAK,MAAK,SAAS,WACxD,wBACH;AAAA,YACA,oBAAC,UAAO,MAAK,UAAS,MAAK,MAAK,SAAS,UACtC,uBACH;AAAA,aACF;AAAA,WACF;AAAA;AAAA,IACF;AAAA,EAEJ;AACF;","names":["ConsentBanner"]}
@@ -0,0 +1 @@
1
+ export * from './ConsentBanner';
@@ -0,0 +1,23 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __copyProps = (to, from, except, desc) => {
7
+ if (from && typeof from === "object" || typeof from === "function") {
8
+ for (let key of __getOwnPropNames(from))
9
+ if (!__hasOwnProp.call(to, key) && key !== except)
10
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
11
+ }
12
+ return to;
13
+ };
14
+ var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
15
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
16
+ var consent_banner_exports = {};
17
+ module.exports = __toCommonJS(consent_banner_exports);
18
+ __reExport(consent_banner_exports, require("./ConsentBanner.js"), module.exports);
19
+ // Annotate the CommonJS export names for ESM import in node:
20
+ 0 && (module.exports = {
21
+ ...require("./ConsentBanner.js")
22
+ });
23
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../src/components/consent-banner/index.ts"],"sourcesContent":["export * from './ConsentBanner';\n"],"mappings":";;;;;;;;;;;;;;;AAAA;AAAA;AAAA,mCAAc,4BAAd;","names":[]}
@@ -0,0 +1,2 @@
1
+ export * from "./ConsentBanner.mjs";
2
+ //# sourceMappingURL=index.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../src/components/consent-banner/index.ts"],"sourcesContent":["export * from './ConsentBanner';\n"],"mappings":"AAAA,cAAc;","names":[]}
@@ -1,31 +1,28 @@
1
1
  import * as React from 'react';
2
+ import { type LinkLikeProps } from '../../utils/link';
2
3
  export type ContactItem = {
3
4
  label: string;
4
5
  value: string;
5
6
  href?: string;
6
7
  icon?: React.ReactNode;
7
8
  };
8
- export type ContactStripProps = React.HTMLAttributes<HTMLUListElement> & {
9
+ export type ContactStripProps = React.HTMLAttributes<HTMLUListElement> & LinkLikeProps & {
9
10
  /** Contact rows to display. */
10
11
  items: ContactItem[];
11
12
  /** Desktop column count (2-3). Default 2. */
12
13
  columns?: 2 | 3;
13
14
  /** Content alignment. Default 'left'. */
14
15
  align?: 'left' | 'center';
15
- /** Custom link element for routers. */
16
- linkComponent?: React.ElementType;
17
16
  };
18
17
  /**
19
18
  * Compact contact details strip for the end of a marketing page. Each row
20
19
  * pairs a short label with a phone, email, address or link.
21
20
  */
22
- export declare const ContactStrip: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLUListElement> & {
21
+ export declare const ContactStrip: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLUListElement> & LinkLikeProps & {
23
22
  /** Contact rows to display. */
24
23
  items: ContactItem[];
25
24
  /** Desktop column count (2-3). Default 2. */
26
25
  columns?: 2 | 3;
27
26
  /** Content alignment. Default 'left'. */
28
27
  align?: "left" | "center";
29
- /** Custom link element for routers. */
30
- linkComponent?: React.ElementType;
31
28
  } & React.RefAttributes<HTMLUListElement>>;
@@ -34,17 +34,18 @@ module.exports = __toCommonJS(ContactStrip_exports);
34
34
  var import_jsx_runtime = require("react/jsx-runtime");
35
35
  var React = __toESM(require("react"));
36
36
  var import_cn = require("../../utils/cn.js");
37
+ var import_link = require("../../utils/link.js");
37
38
  const columnClasses = {
38
39
  2: "sm:grid-cols-2",
39
40
  3: "sm:grid-cols-3"
40
41
  };
41
- const ContactStrip = React.forwardRef(function ContactStrip2({ items, columns = 2, align = "left", linkComponent, className, ...props }, ref) {
42
+ const ContactStrip = React.forwardRef(function ContactStrip2({ items, columns = 2, align = "left", linkComponent, linkHrefProp = "href", className, ...props }, ref) {
42
43
  const Link = linkComponent ?? "a";
43
44
  return /* @__PURE__ */ (0, import_jsx_runtime.jsx)("ul", { ref, className: (0, import_cn.cn)("grid gap-6", columnClasses[columns], className), ...props, children: items.map((item) => /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("li", { className: (0, import_cn.cn)("flex min-w-0 items-start gap-3", align === "center" && "justify-center text-center"), children: [
44
45
  item.icon && /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { className: "mt-0.5 flex h-8 w-8 shrink-0 items-center justify-center rounded-lg bg-primary/10 text-primary-ink [&_svg]:size-4", children: item.icon }),
45
46
  /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { className: "min-w-0", children: [
46
47
  /* @__PURE__ */ (0, import_jsx_runtime.jsx)("p", { className: "text-xs font-semibold uppercase tracking-wider text-muted-foreground", children: item.label }),
47
- item.href ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Link, { href: item.href, className: "mt-0.5 block break-words text-sm font-medium text-primary-ink underline-offset-4 hover:underline", children: item.value }) : /* @__PURE__ */ (0, import_jsx_runtime.jsx)("p", { className: "mt-0.5 break-words text-sm font-medium", children: item.value })
48
+ item.href ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Link, { ...(0, import_link.linkDestination)(item.href, linkHrefProp), className: "mt-0.5 block break-words text-sm font-medium text-primary-ink underline-offset-4 hover:underline", children: item.value }) : /* @__PURE__ */ (0, import_jsx_runtime.jsx)("p", { className: "mt-0.5 break-words text-sm font-medium", children: item.value })
48
49
  ] })
49
50
  ] }, item.label)) });
50
51
  });
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../src/components/contact-strip/ContactStrip.tsx"],"sourcesContent":["import * as React from 'react';\nimport { cn } from '../../utils/cn';\n\nexport type ContactItem = {\n label: string;\n value: string;\n href?: string;\n icon?: React.ReactNode;\n};\n\nexport type ContactStripProps = React.HTMLAttributes<HTMLUListElement> & {\n /** Contact rows to display. */\n items: ContactItem[];\n /** Desktop column count (2-3). Default 2. */\n columns?: 2 | 3;\n /** Content alignment. Default 'left'. */\n align?: 'left' | 'center';\n /** Custom link element for routers. */\n linkComponent?: React.ElementType;\n};\n\nconst columnClasses: Record<NonNullable<ContactStripProps['columns']>, string> = {\n 2: 'sm:grid-cols-2',\n 3: 'sm:grid-cols-3',\n};\n\n/**\n * Compact contact details strip for the end of a marketing page. Each row\n * pairs a short label with a phone, email, address or link.\n */\nexport const ContactStrip = React.forwardRef<HTMLUListElement, ContactStripProps>(function ContactStrip(\n { items, columns = 2, align = 'left', linkComponent, className, ...props },\n ref\n) {\n const Link = linkComponent ?? 'a';\n\n return (\n <ul ref={ref} className={cn('grid gap-6', columnClasses[columns], className)} {...props}>\n {items.map((item) => (\n <li key={item.label} className={cn('flex min-w-0 items-start gap-3', align === 'center' && 'justify-center text-center')}>\n {item.icon && (\n <span className=\"mt-0.5 flex h-8 w-8 shrink-0 items-center justify-center rounded-lg bg-primary/10 text-primary-ink [&_svg]:size-4\">\n {item.icon}\n </span>\n )}\n <div className=\"min-w-0\">\n <p className=\"text-xs font-semibold uppercase tracking-wider text-muted-foreground\">{item.label}</p>\n {item.href ? (\n <Link href={item.href} className=\"mt-0.5 block break-words text-sm font-medium text-primary-ink underline-offset-4 hover:underline\">\n {item.value}\n </Link>\n ) : (\n <p className=\"mt-0.5 break-words text-sm font-medium\">{item.value}</p>\n )}\n </div>\n </li>\n ))}\n </ul>\n );\n});\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAyCY;AAzCZ,YAAuB;AACvB,gBAAmB;AAoBnB,MAAM,gBAA2E;AAAA,EAC/E,GAAG;AAAA,EACH,GAAG;AACL;AAMO,MAAM,eAAe,MAAM,WAAgD,SAASA,cACzF,EAAE,OAAO,UAAU,GAAG,QAAQ,QAAQ,eAAe,WAAW,GAAG,MAAM,GACzE,KACA;AACA,QAAM,OAAO,iBAAiB;AAE9B,SACE,4CAAC,QAAG,KAAU,eAAW,cAAG,cAAc,cAAc,OAAO,GAAG,SAAS,GAAI,GAAG,OAC/E,gBAAM,IAAI,CAAC,SACV,6CAAC,QAAoB,eAAW,cAAG,kCAAkC,UAAU,YAAY,4BAA4B,GACpH;AAAA,SAAK,QACJ,4CAAC,UAAK,WAAU,qHACb,eAAK,MACR;AAAA,IAEF,6CAAC,SAAI,WAAU,WACb;AAAA,kDAAC,OAAE,WAAU,wEAAwE,eAAK,OAAM;AAAA,MAC/F,KAAK,OACJ,4CAAC,QAAK,MAAM,KAAK,MAAM,WAAU,oGAC9B,eAAK,OACR,IAEA,4CAAC,OAAE,WAAU,0CAA0C,eAAK,OAAM;AAAA,OAEtE;AAAA,OAfO,KAAK,KAgBd,CACD,GACH;AAEJ,CAAC;","names":["ContactStrip"]}
1
+ {"version":3,"sources":["../../../../src/components/contact-strip/ContactStrip.tsx"],"sourcesContent":["import * as React from 'react';\nimport { cn } from '../../utils/cn';\nimport { linkDestination, type LinkLikeProps } from '../../utils/link';\n\nexport type ContactItem = {\n label: string;\n value: string;\n href?: string;\n icon?: React.ReactNode;\n};\n\nexport type ContactStripProps = React.HTMLAttributes<HTMLUListElement> & LinkLikeProps & {\n /** Contact rows to display. */\n items: ContactItem[];\n /** Desktop column count (2-3). Default 2. */\n columns?: 2 | 3;\n /** Content alignment. Default 'left'. */\n align?: 'left' | 'center';\n};\n\nconst columnClasses: Record<NonNullable<ContactStripProps['columns']>, string> = {\n 2: 'sm:grid-cols-2',\n 3: 'sm:grid-cols-3',\n};\n\n/**\n * Compact contact details strip for the end of a marketing page. Each row\n * pairs a short label with a phone, email, address or link.\n */\nexport const ContactStrip = React.forwardRef<HTMLUListElement, ContactStripProps>(function ContactStrip(\n { items, columns = 2, align = 'left', linkComponent, linkHrefProp = 'href', className, ...props },\n ref\n) {\n const Link = linkComponent ?? 'a';\n\n return (\n <ul ref={ref} className={cn('grid gap-6', columnClasses[columns], className)} {...props}>\n {items.map((item) => (\n <li key={item.label} className={cn('flex min-w-0 items-start gap-3', align === 'center' && 'justify-center text-center')}>\n {item.icon && (\n <span className=\"mt-0.5 flex h-8 w-8 shrink-0 items-center justify-center rounded-lg bg-primary/10 text-primary-ink [&_svg]:size-4\">\n {item.icon}\n </span>\n )}\n <div className=\"min-w-0\">\n <p className=\"text-xs font-semibold uppercase tracking-wider text-muted-foreground\">{item.label}</p>\n {item.href ? (\n <Link {...linkDestination(item.href, linkHrefProp)} className=\"mt-0.5 block break-words text-sm font-medium text-primary-ink underline-offset-4 hover:underline\">\n {item.value}\n </Link>\n ) : (\n <p className=\"mt-0.5 break-words text-sm font-medium\">{item.value}</p>\n )}\n </div>\n </li>\n ))}\n </ul>\n );\n});\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAwCY;AAxCZ,YAAuB;AACvB,gBAAmB;AACnB,kBAAoD;AAkBpD,MAAM,gBAA2E;AAAA,EAC/E,GAAG;AAAA,EACH,GAAG;AACL;AAMO,MAAM,eAAe,MAAM,WAAgD,SAASA,cACzF,EAAE,OAAO,UAAU,GAAG,QAAQ,QAAQ,eAAe,eAAe,QAAQ,WAAW,GAAG,MAAM,GAChG,KACA;AACA,QAAM,OAAO,iBAAiB;AAE9B,SACE,4CAAC,QAAG,KAAU,eAAW,cAAG,cAAc,cAAc,OAAO,GAAG,SAAS,GAAI,GAAG,OAC/E,gBAAM,IAAI,CAAC,SACV,6CAAC,QAAoB,eAAW,cAAG,kCAAkC,UAAU,YAAY,4BAA4B,GACpH;AAAA,SAAK,QACJ,4CAAC,UAAK,WAAU,qHACb,eAAK,MACR;AAAA,IAEF,6CAAC,SAAI,WAAU,WACb;AAAA,kDAAC,OAAE,WAAU,wEAAwE,eAAK,OAAM;AAAA,MAC/F,KAAK,OACJ,4CAAC,QAAM,OAAG,6BAAgB,KAAK,MAAM,YAAY,GAAG,WAAU,oGAC3D,eAAK,OACR,IAEA,4CAAC,OAAE,WAAU,0CAA0C,eAAK,OAAM;AAAA,OAEtE;AAAA,OAfO,KAAK,KAgBd,CACD,GACH;AAEJ,CAAC;","names":["ContactStrip"]}
@@ -1,17 +1,18 @@
1
1
  import { jsx, jsxs } from "react/jsx-runtime";
2
2
  import * as React from "react";
3
3
  import { cn } from "../../utils/cn.mjs";
4
+ import { linkDestination } from "../../utils/link.mjs";
4
5
  const columnClasses = {
5
6
  2: "sm:grid-cols-2",
6
7
  3: "sm:grid-cols-3"
7
8
  };
8
- const ContactStrip = React.forwardRef(function ContactStrip2({ items, columns = 2, align = "left", linkComponent, className, ...props }, ref) {
9
+ const ContactStrip = React.forwardRef(function ContactStrip2({ items, columns = 2, align = "left", linkComponent, linkHrefProp = "href", className, ...props }, ref) {
9
10
  const Link = linkComponent ?? "a";
10
11
  return /* @__PURE__ */ jsx("ul", { ref, className: cn("grid gap-6", columnClasses[columns], className), ...props, children: items.map((item) => /* @__PURE__ */ jsxs("li", { className: cn("flex min-w-0 items-start gap-3", align === "center" && "justify-center text-center"), children: [
11
12
  item.icon && /* @__PURE__ */ jsx("span", { className: "mt-0.5 flex h-8 w-8 shrink-0 items-center justify-center rounded-lg bg-primary/10 text-primary-ink [&_svg]:size-4", children: item.icon }),
12
13
  /* @__PURE__ */ jsxs("div", { className: "min-w-0", children: [
13
14
  /* @__PURE__ */ jsx("p", { className: "text-xs font-semibold uppercase tracking-wider text-muted-foreground", children: item.label }),
14
- item.href ? /* @__PURE__ */ jsx(Link, { href: item.href, className: "mt-0.5 block break-words text-sm font-medium text-primary-ink underline-offset-4 hover:underline", children: item.value }) : /* @__PURE__ */ jsx("p", { className: "mt-0.5 break-words text-sm font-medium", children: item.value })
15
+ item.href ? /* @__PURE__ */ jsx(Link, { ...linkDestination(item.href, linkHrefProp), className: "mt-0.5 block break-words text-sm font-medium text-primary-ink underline-offset-4 hover:underline", children: item.value }) : /* @__PURE__ */ jsx("p", { className: "mt-0.5 break-words text-sm font-medium", children: item.value })
15
16
  ] })
16
17
  ] }, item.label)) });
17
18
  });
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../src/components/contact-strip/ContactStrip.tsx"],"sourcesContent":["import * as React from 'react';\nimport { cn } from '../../utils/cn';\n\nexport type ContactItem = {\n label: string;\n value: string;\n href?: string;\n icon?: React.ReactNode;\n};\n\nexport type ContactStripProps = React.HTMLAttributes<HTMLUListElement> & {\n /** Contact rows to display. */\n items: ContactItem[];\n /** Desktop column count (2-3). Default 2. */\n columns?: 2 | 3;\n /** Content alignment. Default 'left'. */\n align?: 'left' | 'center';\n /** Custom link element for routers. */\n linkComponent?: React.ElementType;\n};\n\nconst columnClasses: Record<NonNullable<ContactStripProps['columns']>, string> = {\n 2: 'sm:grid-cols-2',\n 3: 'sm:grid-cols-3',\n};\n\n/**\n * Compact contact details strip for the end of a marketing page. Each row\n * pairs a short label with a phone, email, address or link.\n */\nexport const ContactStrip = React.forwardRef<HTMLUListElement, ContactStripProps>(function ContactStrip(\n { items, columns = 2, align = 'left', linkComponent, className, ...props },\n ref\n) {\n const Link = linkComponent ?? 'a';\n\n return (\n <ul ref={ref} className={cn('grid gap-6', columnClasses[columns], className)} {...props}>\n {items.map((item) => (\n <li key={item.label} className={cn('flex min-w-0 items-start gap-3', align === 'center' && 'justify-center text-center')}>\n {item.icon && (\n <span className=\"mt-0.5 flex h-8 w-8 shrink-0 items-center justify-center rounded-lg bg-primary/10 text-primary-ink [&_svg]:size-4\">\n {item.icon}\n </span>\n )}\n <div className=\"min-w-0\">\n <p className=\"text-xs font-semibold uppercase tracking-wider text-muted-foreground\">{item.label}</p>\n {item.href ? (\n <Link href={item.href} className=\"mt-0.5 block break-words text-sm font-medium text-primary-ink underline-offset-4 hover:underline\">\n {item.value}\n </Link>\n ) : (\n <p className=\"mt-0.5 break-words text-sm font-medium\">{item.value}</p>\n )}\n </div>\n </li>\n ))}\n </ul>\n );\n});\n"],"mappings":"AAyCY,cAIF,YAJE;AAzCZ,YAAY,WAAW;AACvB,SAAS,UAAU;AAoBnB,MAAM,gBAA2E;AAAA,EAC/E,GAAG;AAAA,EACH,GAAG;AACL;AAMO,MAAM,eAAe,MAAM,WAAgD,SAASA,cACzF,EAAE,OAAO,UAAU,GAAG,QAAQ,QAAQ,eAAe,WAAW,GAAG,MAAM,GACzE,KACA;AACA,QAAM,OAAO,iBAAiB;AAE9B,SACE,oBAAC,QAAG,KAAU,WAAW,GAAG,cAAc,cAAc,OAAO,GAAG,SAAS,GAAI,GAAG,OAC/E,gBAAM,IAAI,CAAC,SACV,qBAAC,QAAoB,WAAW,GAAG,kCAAkC,UAAU,YAAY,4BAA4B,GACpH;AAAA,SAAK,QACJ,oBAAC,UAAK,WAAU,qHACb,eAAK,MACR;AAAA,IAEF,qBAAC,SAAI,WAAU,WACb;AAAA,0BAAC,OAAE,WAAU,wEAAwE,eAAK,OAAM;AAAA,MAC/F,KAAK,OACJ,oBAAC,QAAK,MAAM,KAAK,MAAM,WAAU,oGAC9B,eAAK,OACR,IAEA,oBAAC,OAAE,WAAU,0CAA0C,eAAK,OAAM;AAAA,OAEtE;AAAA,OAfO,KAAK,KAgBd,CACD,GACH;AAEJ,CAAC;","names":["ContactStrip"]}
1
+ {"version":3,"sources":["../../../../src/components/contact-strip/ContactStrip.tsx"],"sourcesContent":["import * as React from 'react';\nimport { cn } from '../../utils/cn';\nimport { linkDestination, type LinkLikeProps } from '../../utils/link';\n\nexport type ContactItem = {\n label: string;\n value: string;\n href?: string;\n icon?: React.ReactNode;\n};\n\nexport type ContactStripProps = React.HTMLAttributes<HTMLUListElement> & LinkLikeProps & {\n /** Contact rows to display. */\n items: ContactItem[];\n /** Desktop column count (2-3). Default 2. */\n columns?: 2 | 3;\n /** Content alignment. Default 'left'. */\n align?: 'left' | 'center';\n};\n\nconst columnClasses: Record<NonNullable<ContactStripProps['columns']>, string> = {\n 2: 'sm:grid-cols-2',\n 3: 'sm:grid-cols-3',\n};\n\n/**\n * Compact contact details strip for the end of a marketing page. Each row\n * pairs a short label with a phone, email, address or link.\n */\nexport const ContactStrip = React.forwardRef<HTMLUListElement, ContactStripProps>(function ContactStrip(\n { items, columns = 2, align = 'left', linkComponent, linkHrefProp = 'href', className, ...props },\n ref\n) {\n const Link = linkComponent ?? 'a';\n\n return (\n <ul ref={ref} className={cn('grid gap-6', columnClasses[columns], className)} {...props}>\n {items.map((item) => (\n <li key={item.label} className={cn('flex min-w-0 items-start gap-3', align === 'center' && 'justify-center text-center')}>\n {item.icon && (\n <span className=\"mt-0.5 flex h-8 w-8 shrink-0 items-center justify-center rounded-lg bg-primary/10 text-primary-ink [&_svg]:size-4\">\n {item.icon}\n </span>\n )}\n <div className=\"min-w-0\">\n <p className=\"text-xs font-semibold uppercase tracking-wider text-muted-foreground\">{item.label}</p>\n {item.href ? (\n <Link {...linkDestination(item.href, linkHrefProp)} className=\"mt-0.5 block break-words text-sm font-medium text-primary-ink underline-offset-4 hover:underline\">\n {item.value}\n </Link>\n ) : (\n <p className=\"mt-0.5 break-words text-sm font-medium\">{item.value}</p>\n )}\n </div>\n </li>\n ))}\n </ul>\n );\n});\n"],"mappings":"AAwCY,cAIF,YAJE;AAxCZ,YAAY,WAAW;AACvB,SAAS,UAAU;AACnB,SAAS,uBAA2C;AAkBpD,MAAM,gBAA2E;AAAA,EAC/E,GAAG;AAAA,EACH,GAAG;AACL;AAMO,MAAM,eAAe,MAAM,WAAgD,SAASA,cACzF,EAAE,OAAO,UAAU,GAAG,QAAQ,QAAQ,eAAe,eAAe,QAAQ,WAAW,GAAG,MAAM,GAChG,KACA;AACA,QAAM,OAAO,iBAAiB;AAE9B,SACE,oBAAC,QAAG,KAAU,WAAW,GAAG,cAAc,cAAc,OAAO,GAAG,SAAS,GAAI,GAAG,OAC/E,gBAAM,IAAI,CAAC,SACV,qBAAC,QAAoB,WAAW,GAAG,kCAAkC,UAAU,YAAY,4BAA4B,GACpH;AAAA,SAAK,QACJ,oBAAC,UAAK,WAAU,qHACb,eAAK,MACR;AAAA,IAEF,qBAAC,SAAI,WAAU,WACb;AAAA,0BAAC,OAAE,WAAU,wEAAwE,eAAK,OAAM;AAAA,MAC/F,KAAK,OACJ,oBAAC,QAAM,GAAG,gBAAgB,KAAK,MAAM,YAAY,GAAG,WAAU,oGAC3D,eAAK,OACR,IAEA,oBAAC,OAAE,WAAU,0CAA0C,eAAK,OAAM;AAAA,OAEtE;AAAA,OAfO,KAAK,KAgBd,CACD,GACH;AAEJ,CAAC;","names":["ContactStrip"]}