@slipstream-ui/core 0.11.10 → 0.12.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (362) hide show
  1. package/dist/index.d.mts +154 -163
  2. package/dist/index.d.ts +154 -163
  3. package/dist/index.js +1334 -1165
  4. package/dist/index.js.map +1 -1
  5. package/dist/index.mjs +1331 -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 +138 -133
  205. package/dist/src/components/site-header/SiteHeader.js.map +1 -1
  206. package/dist/src/components/site-header/SiteHeader.mjs +138 -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 +3 -3
  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 +26 -0
  255. package/src/components/site-header/SiteHeader.tsx +17 -11
  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
@@ -3,6 +3,7 @@
3
3
  import * as React from 'react';
4
4
  import { cva } from 'class-variance-authority';
5
5
  import { cn } from '../../utils/cn';
6
+ import { linkDestination, type LinkLikeProps } from '../../utils/link';
6
7
 
7
8
  type LinkTabsVariant = 'default' | 'underline' | 'rounded';
8
9
  type LinkTabsSize = 'sm' | 'md' | 'lg';
@@ -20,18 +21,11 @@ export type LinkTabsItem = {
20
21
  disabled?: boolean;
21
22
  };
22
23
 
23
- export type LinkTabsProps = Omit<React.HTMLAttributes<HTMLElement>, 'children'> & {
24
+ export type LinkTabsProps = Omit<React.HTMLAttributes<HTMLElement>, 'children'> & LinkLikeProps & {
24
25
  /** Tabs in display order. */
25
26
  items: LinkTabsItem[];
26
27
  /** Current pathname, used to mark the active tab. */
27
28
  activeHref?: string;
28
- /** Router link element (Inertia Link, Next Link, react-router Link). Defaults to `<a>`. */
29
- linkComponent?: React.ElementType;
30
- /**
31
- * Prop used to pass the destination to `linkComponent`. `href` covers
32
- * anchors and Next.js Link; `to` covers react-router and similar routers.
33
- */
34
- linkHrefProp?: 'href' | 'to';
35
29
  /** Visual style. */
36
30
  variant?: LinkTabsVariant;
37
31
  /** Control density. */
@@ -134,7 +128,7 @@ export const LinkTabs = React.forwardRef<HTMLElement, LinkTabsProps>(function Li
134
128
  return (
135
129
  <Link
136
130
  key={item.href}
137
- {...(linkHrefProp === 'to' ? { to: item.href } : { href: item.href })}
131
+ {...linkDestination(item.href, linkHrefProp)}
138
132
  aria-current={active ? 'page' : undefined}
139
133
  data-active={active ? 'true' : 'false'}
140
134
  className={itemVariants({ variant, size })}
@@ -1,5 +1,6 @@
1
1
  import * as React from 'react';
2
2
  import { cn } from '../../utils/cn';
3
+ import { linkDestination, type LinkLikeProps } from '../../utils/link';
3
4
 
4
5
  export type LogoItem = {
5
6
  /** Accessible name announced for the logo. */
@@ -10,7 +11,7 @@ export type LogoItem = {
10
11
  href?: string;
11
12
  };
12
13
 
13
- export type LogoCloudProps = React.HTMLAttributes<HTMLDivElement> & {
14
+ export type LogoCloudProps = React.HTMLAttributes<HTMLDivElement> & LinkLikeProps & {
14
15
  /** Logos to display. */
15
16
  items: LogoItem[];
16
17
  /** Caption above the strip. */
@@ -23,10 +24,6 @@ export type LogoCloudProps = React.HTMLAttributes<HTMLDivElement> & {
23
24
  size?: 'sm' | 'md' | 'lg';
24
25
  /** Caption and grid alignment. Default 'center'. */
25
26
  align?: 'left' | 'center';
26
- /** Custom link element for routers. */
27
- linkComponent?: React.ElementType;
28
- /** Prop used to pass the destination to linkComponent ('to' for react-router). */
29
- linkHrefProp?: 'href' | 'to';
30
27
  };
31
28
 
32
29
  const columnClasses: Record<NonNullable<LogoCloudProps['columns']>, string> = {
@@ -96,7 +93,7 @@ export const LogoCloud = React.forwardRef<HTMLDivElement, LogoCloudProps>(functi
96
93
  <li key={item.name} className={cn('min-w-0', align === 'center' ? 'justify-self-center' : 'justify-self-start')}>
97
94
  {item.href ? (
98
95
  <Link
99
- {...(linkHrefProp === 'to' ? { to: item.href } : { href: item.href })}
96
+ {...linkDestination(item.href, linkHrefProp)}
100
97
  className="rounded-sm focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background"
101
98
  >
102
99
  {content}
@@ -2,6 +2,7 @@ import * as React from 'react';
2
2
  import { cn } from '../../utils/cn';
3
3
  import { Badge, type BadgeProps } from '../badge/Badge';
4
4
  import { CoverImage, type CoverImageProps } from '../cover-image/CoverImage';
5
+ import { linkDestination, type LinkLikeProps } from '../../utils/link';
5
6
 
6
7
  export type MediaCardChip = {
7
8
  label: string;
@@ -11,7 +12,7 @@ export type MediaCardChip = {
11
12
  dot?: boolean;
12
13
  };
13
14
 
14
- export type MediaCardProps = Omit<React.HTMLAttributes<HTMLElement>, 'title'> & {
15
+ export type MediaCardProps = Omit<React.HTMLAttributes<HTMLElement>, 'title'> & LinkLikeProps & {
15
16
  /** Card title. */
16
17
  title: string;
17
18
  /** Supporting copy under the title. */
@@ -28,10 +29,6 @@ export type MediaCardProps = Omit<React.HTMLAttributes<HTMLElement>, 'title'> &
28
29
  footer?: React.ReactNode;
29
30
  /** 'vertical' stacks cover over content; 'row' puts a fixed-width cover beside it. */
30
31
  layout?: 'vertical' | 'row';
31
- /** Custom link element for routers (Next Link, react-router). */
32
- linkComponent?: React.ElementType;
33
- /** Prop used to pass the destination to linkComponent ('href' or 'to'). */
34
- linkHrefProp?: 'href' | 'to';
35
32
  };
36
33
 
37
34
  /**
@@ -59,7 +56,7 @@ export const MediaCard = React.forwardRef<HTMLElement, MediaCardProps>(function
59
56
  ref
60
57
  ) {
61
58
  const Link = linkComponent ?? 'a';
62
- const destination = href ? (linkHrefProp === 'to' ? { to: href } : { href }) : undefined;
59
+ const destination = href ? linkDestination(href, linkHrefProp) : undefined;
63
60
  const row = layout === 'row';
64
61
 
65
62
  const body = (
@@ -13,6 +13,7 @@ import {
13
13
  } from '../../utils/date';
14
14
  import { Badge } from '../badge/Badge';
15
15
  import { Button } from '../button';
16
+ import { linkDestination, type LinkLikeProps } from '../../utils/link';
16
17
 
17
18
  export type MonthScheduleLegendItem = {
18
19
  /** Type key returned by getType. */
@@ -21,7 +22,7 @@ export type MonthScheduleLegendItem = {
21
22
  label: string;
22
23
  };
23
24
 
24
- export type MonthScheduleProps<T> = {
25
+ export type MonthScheduleProps<T> = LinkLikeProps & {
25
26
  /** Events to place inside days; each is dated via getDate. */
26
27
  events: T[];
27
28
  /** ISO date key (YYYY-MM-DD) for an event. */
@@ -53,10 +54,6 @@ export type MonthScheduleProps<T> = {
53
54
  * 'sm' swaps under 640px, 'md' under 768px.
54
55
  */
55
56
  agendaBreakpoint?: 'sm' | 'md';
56
- /** Custom link element for event hrefs (Next Link, react-router). */
57
- linkComponent?: React.ElementType;
58
- /** Prop used to pass the destination to linkComponent ('href' or 'to'). */
59
- linkHrefProp?: 'href' | 'to';
60
57
  'aria-label'?: string;
61
58
  className?: string;
62
59
  };
@@ -177,7 +174,7 @@ export function MonthSchedule<T>({
177
174
  </Badge>
178
175
  );
179
176
  if (!href) return <span key={key}>{chip}</span>;
180
- const destination = linkHrefProp === 'to' ? { to: href } : { href };
177
+ const destination = linkDestination(href, linkHrefProp);
181
178
  return (
182
179
  <Link
183
180
  key={key}
@@ -297,7 +294,7 @@ export function MonthSchedule<T>({
297
294
  <li key={`${key}-${index}-${label}`}>
298
295
  {href ? (
299
296
  <Link
300
- {...(linkHrefProp === 'to' ? { to: href } : { href })}
297
+ {...linkDestination(href, linkHrefProp)}
301
298
  className="block max-w-full rounded-sm focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
302
299
  >
303
300
  {row}
@@ -2,6 +2,7 @@
2
2
 
3
3
  import * as React from 'react';
4
4
  import { cn } from '../../utils/cn';
5
+ import { linkDestination, type LinkLikeProps } from '../../utils/link';
5
6
 
6
7
  export type PaginationIcons = {
7
8
  /** Glyph/slot for the jump-to-first button. */
@@ -14,7 +15,7 @@ export type PaginationIcons = {
14
15
  last?: React.ReactNode;
15
16
  };
16
17
 
17
- export type PaginationProps = React.HTMLAttributes<HTMLElement> & {
18
+ export type PaginationProps = React.HTMLAttributes<HTMLElement> & LinkLikeProps & {
18
19
  /** Current page number (1-based). Alias: currentPage. */
19
20
  page?: number;
20
21
  /** Total number of pages. Alias: totalPages (or derived from total/pageSize). */
@@ -40,10 +41,6 @@ export type PaginationProps = React.HTMLAttributes<HTMLElement> & {
40
41
  * the React Server Component boundary.
41
42
  */
42
43
  pageHrefs?: Record<number, string>;
43
- /** Custom link element for routers (Next Link, react-router Link). */
44
- linkComponent?: React.ElementType;
45
- /** Prop used to pass the destination to `linkComponent`. */
46
- linkHrefProp?: 'href' | 'to';
47
44
  /** How many page buttons to show around the current page (default 1). */
48
45
  siblings?: number;
49
46
  /** Show the jump-to-first/last buttons (default false). */
@@ -136,7 +133,7 @@ const Pagination = React.forwardRef<HTMLElement, PaginationProps>(
136
133
 
137
134
  const linkMode = pageHrefs !== undefined;
138
135
  const LinkEl = linkComponent ?? 'a';
139
- const destination = (href: string) => (linkHrefProp === 'to' ? { to: href } : { href });
136
+ const destination = (href: string) => linkDestination(href, linkHrefProp);
140
137
  const hrefFor = (target: number) => pageHrefs?.[target];
141
138
 
142
139
  /** One step control (first/prev/next/last) in either mode. */
@@ -2,6 +2,7 @@
2
2
 
3
3
  import * as React from 'react';
4
4
  import { cn } from '../../utils/cn';
5
+ import { linkDestination, type LinkLikeProps } from '../../utils/link';
5
6
 
6
7
  export type SegmentedOption = {
7
8
  value: string;
@@ -24,7 +25,7 @@ export type SegmentedOption = {
24
25
  href?: string;
25
26
  };
26
27
 
27
- export type SegmentedControlProps = Omit<React.HTMLAttributes<HTMLDivElement>, 'onChange'> & {
28
+ export type SegmentedControlProps = Omit<React.HTMLAttributes<HTMLDivElement>, 'onChange'> & LinkLikeProps & {
28
29
  /** Options rendered as segments. */
29
30
  options: SegmentedOption[];
30
31
  /** Controlled selected value. Use string[] when multiple. */
@@ -44,10 +45,6 @@ export type SegmentedControlProps = Omit<React.HTMLAttributes<HTMLDivElement>, '
44
45
  * responsive pattern for "full-width on mobile, compact on desktop".
45
46
  */
46
47
  fullWidth?: boolean | 'sm' | 'md' | 'lg' | 'xl' | '2xl';
47
- /** Custom link element for routers (Next Link, react-router Link). */
48
- linkComponent?: React.ElementType;
49
- /** Prop used to pass the destination to `linkComponent`. */
50
- linkHrefProp?: 'href' | 'to';
51
48
  };
52
49
 
53
50
  const sizeClasses = {
@@ -118,7 +115,7 @@ export const SegmentedControl = React.forwardRef<HTMLDivElement, SegmentedContro
118
115
 
119
116
  const linkMode = options.some((option) => option.href !== undefined);
120
117
  const LinkEl = linkComponent ?? 'a';
121
- const destination = (href: string) => (linkHrefProp === 'to' ? { to: href } : { href });
118
+ const destination = (href: string) => linkDestination(href, linkHrefProp);
122
119
 
123
120
  const refs = React.useRef<Array<HTMLButtonElement | null>>([]);
124
121
 
@@ -1,5 +1,6 @@
1
1
  import * as React from 'react';
2
2
  import { cn } from '../../utils/cn';
3
+ import { linkDestination, type LinkLikeProps } from '../../utils/link';
3
4
 
4
5
  export type SiteFooterLink = {
5
6
  label: string;
@@ -12,7 +13,7 @@ export type SiteFooterColumn = {
12
13
  links: SiteFooterLink[];
13
14
  };
14
15
 
15
- export type SiteFooterProps = React.HTMLAttributes<HTMLElement> & {
16
+ export type SiteFooterProps = React.HTMLAttributes<HTMLElement> & LinkLikeProps & {
16
17
  /** Brand slot (logo/lockup). */
17
18
  brand?: React.ReactNode;
18
19
  /** Short line under the brand. */
@@ -22,14 +23,6 @@ export type SiteFooterProps = React.HTMLAttributes<HTMLElement> & {
22
23
  columns: SiteFooterColumn[];
23
24
  /** Bottom bar (copyright, legal links). */
24
25
  legal?: React.ReactNode;
25
- /** Router link element. */
26
- linkComponent?: React.ElementType;
27
- /**
28
- * Prop used to pass the destination to `linkComponent`.
29
- * `href` (default) covers anchors and Next.js Link; `to` covers
30
- * react-router and other routers that use a `to` prop.
31
- */
32
- linkHrefProp?: 'href' | 'to';
33
26
  /** Current route, used to mark the matching link with aria-current="page". */
34
27
  activeHref?: string;
35
28
  /** Prefix matching highlights /docs when on /docs/installation (default). */
@@ -62,8 +55,7 @@ export function SiteFooter({
62
55
  ...props
63
56
  }: SiteFooterProps) {
64
57
  const Link = linkComponent ?? 'a';
65
- const destination = (href: string) =>
66
- linkHrefProp === 'to' ? { to: href } : { href };
58
+ const destination = (href: string) => linkDestination(href, linkHrefProp);
67
59
 
68
60
  return (
69
61
  <footer className={cn('border-t border-border bg-muted/30', className)} {...props}>
@@ -22,6 +22,32 @@ describe('SiteHeader', () => {
22
22
  expect(external).toHaveAttribute('rel', 'noopener noreferrer');
23
23
  });
24
24
 
25
+ it('renders the topBar utility strip above the nav', () => {
26
+ render(
27
+ <SiteHeader
28
+ brand={<span>Acme</span>}
29
+ items={items}
30
+ topBar={
31
+ <>
32
+ <span>English</span>
33
+ <a href="/submit">Submit an event</a>
34
+ </>
35
+ }
36
+ />
37
+ );
38
+ const strip = screen.getByText('English').parentElement?.parentElement;
39
+ expect(strip).toHaveClass('border-b');
40
+ expect(strip?.querySelector('a')).toHaveAttribute('href', '/submit');
41
+ // The strip sits before the nav landmark in DOM order.
42
+ const nav = screen.getByRole('navigation', { name: 'Main' });
43
+ expect(strip!.compareDocumentPosition(nav) & Node.DOCUMENT_POSITION_FOLLOWING).toBeTruthy();
44
+ });
45
+
46
+ it('omits the topBar strip when the prop is absent', () => {
47
+ const { container } = render(<SiteHeader brand={<span>Acme</span>} items={items} />);
48
+ expect(container.querySelector('header > div')).toBeNull();
49
+ });
50
+
25
51
  it('respects exact matching', () => {
26
52
  render(<SiteHeader brand={<span>Acme</span>} items={items} activeHref="/docs/components" match="exact" />);
27
53
  expect(screen.getByRole('link', { name: 'Docs' })).not.toHaveAttribute('aria-current');
@@ -2,6 +2,7 @@
2
2
 
3
3
  import * as React from 'react';
4
4
  import { cn } from '../../utils/cn';
5
+ import { linkDestination, type LinkLikeProps } from '../../utils/link';
5
6
  import { Drawer } from '../drawer/Drawer';
6
7
 
7
8
  /** A single destination in the header or inside a mega panel. */
@@ -34,9 +35,15 @@ export type SiteNavItem =
34
35
  columns: SiteNavColumn[];
35
36
  };
36
37
 
37
- export type SiteHeaderProps = React.HTMLAttributes<HTMLElement> & {
38
+ export type SiteHeaderProps = React.HTMLAttributes<HTMLElement> & LinkLikeProps & {
38
39
  /** Brand slot - logo/lockup or wordmark. Wrapped in a link to "/". */
39
40
  brand: React.ReactNode;
41
+ /**
42
+ * Slim utility strip rendered above the brand row (locale switch, feed
43
+ * link, submit link). Content is placed in a container matching the nav
44
+ * metrics; lay out multiple items with justify-between or a flex row.
45
+ */
46
+ topBar?: React.ReactNode;
40
47
  /** Primary navigation items. */
41
48
  items: SiteNavItem[];
42
49
  /** Current route for active styling (aria-current="page"). */
@@ -50,14 +57,6 @@ export type SiteHeaderProps = React.HTMLAttributes<HTMLElement> & {
50
57
  actions?: React.ReactNode;
51
58
  /** Actions rendered inside the mobile drawer; defaults to `actions`. */
52
59
  mobileActions?: React.ReactNode;
53
- /** Custom link element for routers (Next Link, react-router Link). */
54
- linkComponent?: React.ElementType;
55
- /**
56
- * Prop used to pass the destination to `linkComponent`.
57
- * `href` (default) covers anchors and Next.js Link; `to` covers
58
- * react-router and other routers that use a `to` prop.
59
- */
60
- linkHrefProp?: 'href' | 'to';
61
60
  /** Accessible name for the brand link (default "Home"). */
62
61
  brandLabel?: string;
63
62
  /** Accessible name for the desktop navigation landmark (default "Main"). */
@@ -122,6 +121,7 @@ function Caret() {
122
121
  */
123
122
  export function SiteHeader({
124
123
  brand,
124
+ topBar,
125
125
  items,
126
126
  activeHref,
127
127
  match = 'prefix',
@@ -150,8 +150,7 @@ export function SiteHeader({
150
150
  const menuId = `${generatedId}-menu`;
151
151
  const Link = linkComponent ?? 'a';
152
152
 
153
- const destination = (href: string) =>
154
- linkHrefProp === 'to' ? { to: href } : { href };
153
+ const destination = (href: string) => linkDestination(href, linkHrefProp);
155
154
 
156
155
  // Escape and an outside pointer close the desktop panel. Focus movement
157
156
  // inside the item is handled by onBlur so tabbing through stays open.
@@ -229,6 +228,13 @@ export function SiteHeader({
229
228
  )}
230
229
  {...props}
231
230
  >
231
+ {topBar && (
232
+ <div className="border-b border-border/60 text-muted-foreground">
233
+ <div className="mx-auto flex h-9 w-full max-w-7xl items-center justify-between gap-4 px-4 text-xs sm:px-6">
234
+ {topBar}
235
+ </div>
236
+ </div>
237
+ )}
232
238
  <nav
233
239
  aria-label={navLabel}
234
240
  className={cn(
@@ -19,6 +19,23 @@ describe('TombstoneCard', () => {
19
19
  expect(screen.getByRole('link', { name: 'View details' })).toHaveAttribute('href', '/deals/archived');
20
20
  });
21
21
 
22
+ it('passes the destination via linkHrefProp for routers that use "to"', () => {
23
+ const RouterLink = ({ to, children, ...rest }: { to: string; children: React.ReactNode }) => (
24
+ <a href={to} data-router-to={to} {...rest}>
25
+ {children}
26
+ </a>
27
+ );
28
+ render(
29
+ <TombstoneCard
30
+ title="Unavailable"
31
+ href="/deals/1"
32
+ linkComponent={RouterLink}
33
+ linkHrefProp="to"
34
+ />
35
+ );
36
+ expect(screen.getByRole('link', { name: 'View details' })).toHaveAttribute('data-router-to', '/deals/1');
37
+ });
38
+
22
39
  it('has no accessibility violations', async () => {
23
40
  const { container } = render(<TombstoneCard title="Unavailable" reason="No longer available." />);
24
41
  expect(await axe(container)).toHaveNoViolations();
@@ -1,11 +1,12 @@
1
1
  import * as React from 'react';
2
2
  import { cn } from '../../utils/cn';
3
+ import { linkDestination, type LinkLikeProps } from '../../utils/link';
3
4
  import { Badge } from '../badge/Badge';
4
5
  import { Card, CardContent } from '../card/Card';
5
6
 
6
7
  export type TombstoneStatus = 'archived' | 'unavailable' | 'closed';
7
8
 
8
- export type TombstoneCardProps = Omit<React.HTMLAttributes<HTMLElement>, 'title'> & {
9
+ export type TombstoneCardProps = Omit<React.HTMLAttributes<HTMLElement>, 'title'> & LinkLikeProps & {
9
10
  /** Listing, deal or document name. */
10
11
  title: string;
11
12
  /** Why the item is unavailable. */
@@ -18,8 +19,6 @@ export type TombstoneCardProps = Omit<React.HTMLAttributes<HTMLElement>, 'title'
18
19
  href?: string;
19
20
  /** Link label. Default "View details". */
20
21
  actionLabel?: string;
21
- /** Custom link element for routers. */
22
- linkComponent?: React.ElementType;
23
22
  };
24
23
 
25
24
  const statusConfig: Record<TombstoneStatus, { label: string; variant: 'secondary' | 'warning' | 'outline' }> = {
@@ -42,6 +41,7 @@ export const TombstoneCard = React.forwardRef<HTMLElement, TombstoneCardProps>(f
42
41
  href,
43
42
  actionLabel = 'View details',
44
43
  linkComponent,
44
+ linkHrefProp = 'href',
45
45
  className,
46
46
  ...props
47
47
  },
@@ -65,7 +65,7 @@ export const TombstoneCard = React.forwardRef<HTMLElement, TombstoneCardProps>(f
65
65
  {reason && <p className="text-sm leading-relaxed text-muted-foreground">{reason}</p>}
66
66
  {href && (
67
67
  <Link
68
- href={href}
68
+ {...linkDestination(href, linkHrefProp)}
69
69
  className="mt-auto text-sm font-medium text-primary-ink underline-offset-4 hover:underline focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
70
70
  >
71
71
  {actionLabel}
package/src/index.ts CHANGED
@@ -2,6 +2,8 @@ export * from './types/manifest';
2
2
  export * from './utils/cn';
3
3
  export * from './utils/gap';
4
4
  export * from './utils/presence';
5
+ export * from './utils/consent';
6
+ export type { LinkLikeProps } from './utils/link';
5
7
  export * from './components/app-shell';
6
8
  export * from './components/button';
7
9
  export * from './components/button-group';
@@ -39,6 +41,7 @@ export * from './components/calendar';
39
41
  export * from './components/month-schedule';
40
42
  export * from './components/card';
41
43
  export * from './components/confirm-dialog';
44
+ export * from './components/consent-banner';
42
45
  export * from './components/table-of-contents';
43
46
  export * from './components/prose';
44
47
  export * from './components/site-footer';
@@ -138,7 +138,7 @@
138
138
  ],
139
139
  "package": "@slipstream-ui/core",
140
140
  "importPath": "@slipstream-ui/core",
141
- "version": "0.11.10",
141
+ "version": "0.12.0",
142
142
  "sourceDir": "accordion",
143
143
  "exportName": "Accordion"
144
144
  }
@@ -91,7 +91,7 @@
91
91
  ],
92
92
  "package": "@slipstream-ui/core",
93
93
  "importPath": "@slipstream-ui/core",
94
- "version": "0.11.10",
94
+ "version": "0.12.0",
95
95
  "sourceDir": "alert",
96
96
  "exportName": "Alert"
97
97
  }
@@ -4,7 +4,7 @@
4
4
  "tier": "molecule",
5
5
  "package": "@slipstream-ui/core",
6
6
  "importPath": "@slipstream-ui/core",
7
- "version": "0.11.10",
7
+ "version": "0.12.0",
8
8
  "sourceDir": "announcement-bar",
9
9
  "exportName": "AnnouncementBar",
10
10
  "description": "Dismissible announcement bar with optional action, tone and sticky positioning.",
@@ -65,6 +65,17 @@
65
65
  "type": "React.ElementType",
66
66
  "required": false,
67
67
  "description": "Custom link element for routers."
68
+ },
69
+ {
70
+ "name": "linkHrefProp",
71
+ "type": "'href' | 'to'",
72
+ "required": false,
73
+ "defaultValue": "href",
74
+ "description": "Prop name used to pass the destination to linkComponent ('href' for anchors and most routers, 'to' for react-router).",
75
+ "enum": [
76
+ "href",
77
+ "to"
78
+ ]
68
79
  }
69
80
  ],
70
81
  "examples": [
@@ -62,6 +62,17 @@
62
62
  "defaultValue": "a",
63
63
  "description": "Router link component (react-router Link, Next Link) (Sidebar)."
64
64
  },
65
+ {
66
+ "name": "linkHrefProp",
67
+ "type": "'href' | 'to'",
68
+ "required": false,
69
+ "defaultValue": "href",
70
+ "description": "Prop name used to pass the destination to linkComponent ('href' for anchors and most routers, 'to' for react-router).",
71
+ "enum": [
72
+ "href",
73
+ "to"
74
+ ]
75
+ },
65
76
  {
66
77
  "name": "label",
67
78
  "type": "string",
@@ -214,7 +225,7 @@
214
225
  ],
215
226
  "package": "@slipstream-ui/core",
216
227
  "importPath": "@slipstream-ui/core",
217
- "version": "0.11.10",
228
+ "version": "0.12.0",
218
229
  "sourceDir": "app-shell",
219
230
  "exportName": "AppShell"
220
231
  }
@@ -4,7 +4,7 @@
4
4
  "tier": "molecule",
5
5
  "package": "@slipstream-ui/core",
6
6
  "importPath": "@slipstream-ui/core",
7
- "version": "0.11.10",
7
+ "version": "0.12.0",
8
8
  "sourceDir": "applied-filters",
9
9
  "exportName": "AppliedFilters",
10
10
  "description": "Applied-filter summary with a live count, removable chips and an edit action.",
@@ -4,7 +4,7 @@
4
4
  "tier": "molecule",
5
5
  "package": "@slipstream-ui/core",
6
6
  "importPath": "@slipstream-ui/core",
7
- "version": "0.11.10",
7
+ "version": "0.12.0",
8
8
  "sourceDir": "article-card",
9
9
  "exportName": "ArticleCard",
10
10
  "description": "Linked article or resource card with media, eyebrow, title, summary and metadata.",
@@ -52,6 +52,17 @@
52
52
  "required": false,
53
53
  "description": "Custom link element for routers."
54
54
  },
55
+ {
56
+ "name": "linkHrefProp",
57
+ "type": "'href' | 'to'",
58
+ "required": false,
59
+ "defaultValue": "href",
60
+ "description": "Prop name used to pass the destination to linkComponent ('href' for anchors and most routers, 'to' for react-router).",
61
+ "enum": [
62
+ "href",
63
+ "to"
64
+ ]
65
+ },
55
66
  {
56
67
  "name": "variant",
57
68
  "type": "'default' | 'compact'",
@@ -124,7 +124,7 @@
124
124
  ],
125
125
  "package": "@slipstream-ui/core",
126
126
  "importPath": "@slipstream-ui/core",
127
- "version": "0.11.10",
127
+ "version": "0.12.0",
128
128
  "sourceDir": "auth-layout",
129
129
  "exportName": "AuthLayout"
130
130
  }
@@ -194,7 +194,7 @@
194
194
  ],
195
195
  "package": "@slipstream-ui/core",
196
196
  "importPath": "@slipstream-ui/core",
197
- "version": "0.11.10",
197
+ "version": "0.12.0",
198
198
  "sourceDir": "autocomplete",
199
199
  "exportName": "Autocomplete"
200
200
  }
@@ -152,7 +152,7 @@
152
152
  ],
153
153
  "package": "@slipstream-ui/core",
154
154
  "importPath": "@slipstream-ui/core",
155
- "version": "0.11.10",
155
+ "version": "0.12.0",
156
156
  "sourceDir": "avatar",
157
157
  "exportName": "Avatar"
158
158
  }
@@ -217,7 +217,7 @@
217
217
  ],
218
218
  "package": "@slipstream-ui/core",
219
219
  "importPath": "@slipstream-ui/core",
220
- "version": "0.11.10",
220
+ "version": "0.12.0",
221
221
  "sourceDir": "badge",
222
222
  "exportName": "Badge"
223
223
  }
@@ -101,7 +101,7 @@
101
101
  ],
102
102
  "package": "@slipstream-ui/core",
103
103
  "importPath": "@slipstream-ui/core",
104
- "version": "0.11.10",
104
+ "version": "0.12.0",
105
105
  "sourceDir": "block",
106
106
  "exportName": "Block"
107
107
  }
@@ -124,7 +124,7 @@
124
124
  ],
125
125
  "package": "@slipstream-ui/core",
126
126
  "importPath": "@slipstream-ui/core",
127
- "version": "0.11.10",
127
+ "version": "0.12.0",
128
128
  "sourceDir": "bottom-nav",
129
129
  "exportName": "BottomNav"
130
130
  }
@@ -129,7 +129,7 @@
129
129
  ],
130
130
  "package": "@slipstream-ui/core",
131
131
  "importPath": "@slipstream-ui/core",
132
- "version": "0.11.10",
132
+ "version": "0.12.0",
133
133
  "sourceDir": "breadcrumb",
134
134
  "exportName": "Breadcrumb"
135
135
  }
@@ -105,7 +105,7 @@
105
105
  ],
106
106
  "package": "@slipstream-ui/core",
107
107
  "importPath": "@slipstream-ui/core",
108
- "version": "0.11.10",
108
+ "version": "0.12.0",
109
109
  "sourceDir": "button-group",
110
110
  "exportName": "ButtonGroup"
111
111
  }