@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
@@ -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": "logo-cloud",
9
9
  "exportName": "LogoCloud",
10
10
  "description": "Trust strip for member, customer or partner logos with captions, columns and optional links.",
@@ -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": "media-card",
9
9
  "exportName": "MediaCard",
10
10
  "description": "Media card for event, article and listing grids: CoverImage cover, title, description, metadata, status chips and a footer, with an optional whole-card link.",
@@ -120,7 +120,7 @@
120
120
  ],
121
121
  "package": "@slipstream-ui/core",
122
122
  "importPath": "@slipstream-ui/core",
123
- "version": "0.11.10",
123
+ "version": "0.12.0",
124
124
  "sourceDir": "menu",
125
125
  "exportName": "Menu"
126
126
  }
@@ -131,7 +131,7 @@
131
131
  ],
132
132
  "package": "@slipstream-ui/core",
133
133
  "importPath": "@slipstream-ui/core",
134
- "version": "0.11.10",
134
+ "version": "0.12.0",
135
135
  "sourceDir": "metric-card",
136
136
  "exportName": "MetricCard"
137
137
  }
@@ -4,7 +4,7 @@
4
4
  "tier": "organism",
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": "month-schedule",
9
9
  "exportName": "MonthSchedule",
10
10
  "description": "Month grid that shows dated events inside each day, with a type legend and a small-screen agenda — the schedule counterpart to Calendar's date picker.",
@@ -4,7 +4,7 @@
4
4
  "tier": "organism",
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": "multi-select",
9
9
  "exportName": "MultiSelect",
10
10
  "description": "Searchable multi-select filter with visible removable chips and a checkbox panel.",
@@ -4,7 +4,7 @@
4
4
  "tier": "organism",
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": "newsletter",
9
9
  "exportName": "Newsletter",
10
10
  "description": "Email capture block with inline or stacked layout, pending state, success and failure feedback.",
@@ -158,7 +158,7 @@
158
158
  ],
159
159
  "package": "@slipstream-ui/core",
160
160
  "importPath": "@slipstream-ui/core",
161
- "version": "0.11.10",
161
+ "version": "0.12.0",
162
162
  "sourceDir": "page-header",
163
163
  "exportName": "PageHeader"
164
164
  }
@@ -204,7 +204,7 @@
204
204
  ],
205
205
  "package": "@slipstream-ui/core",
206
206
  "importPath": "@slipstream-ui/core",
207
- "version": "0.11.10",
207
+ "version": "0.12.0",
208
208
  "sourceDir": "pagination",
209
209
  "exportName": "Pagination"
210
210
  }
@@ -69,7 +69,7 @@
69
69
  ],
70
70
  "package": "@slipstream-ui/core",
71
71
  "importPath": "@slipstream-ui/core",
72
- "version": "0.11.10",
72
+ "version": "0.12.0",
73
73
  "sourceDir": "password-input",
74
74
  "exportName": "PasswordInput"
75
75
  }
@@ -180,7 +180,7 @@
180
180
  ],
181
181
  "package": "@slipstream-ui/core",
182
182
  "importPath": "@slipstream-ui/core",
183
- "version": "0.11.10",
183
+ "version": "0.12.0",
184
184
  "sourceDir": "popover",
185
185
  "exportName": "Popover"
186
186
  }
@@ -4,7 +4,7 @@
4
4
  "tier": "organism",
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": "process-steps",
9
9
  "exportName": "ProcessSteps",
10
10
  "description": "Ordered process cards with derived step numbers or custom icons.",
@@ -109,7 +109,7 @@
109
109
  ],
110
110
  "package": "@slipstream-ui/core",
111
111
  "importPath": "@slipstream-ui/core",
112
- "version": "0.11.10",
112
+ "version": "0.12.0",
113
113
  "sourceDir": "progress",
114
114
  "exportName": "Progress"
115
115
  }
@@ -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": "prose",
9
9
  "exportName": "Prose",
10
10
  "description": "Self-contained long-form typography for rendered markdown/MDX: headings, links, lists, code, tables, quotes and figures.",
@@ -181,7 +181,7 @@
181
181
  ],
182
182
  "package": "@slipstream-ui/core",
183
183
  "importPath": "@slipstream-ui/core",
184
- "version": "0.11.10",
184
+ "version": "0.12.0",
185
185
  "sourceDir": "radio",
186
186
  "exportName": "Radio"
187
187
  }
@@ -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": "range-slider",
9
9
  "exportName": "RangeSlider",
10
10
  "description": "Dual-thumb numeric range slider with labeled native inputs and formatted values.",
@@ -161,7 +161,7 @@
161
161
  ],
162
162
  "package": "@slipstream-ui/core",
163
163
  "importPath": "@slipstream-ui/core",
164
- "version": "0.11.10",
164
+ "version": "0.12.0",
165
165
  "sourceDir": "search",
166
166
  "exportName": "Search"
167
167
  }
@@ -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": "section-heading",
9
9
  "exportName": "SectionHeading",
10
10
  "description": "Section heading block: eyebrow, title (level 2-4), description and actions, with left/center alignment and three sizes.",
@@ -4,7 +4,7 @@
4
4
  "tier": "organism",
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": "section",
9
9
  "exportName": "Section",
10
10
  "description": "Full-width page section with a surface tone, vertical rhythm and an optional centered container.",
@@ -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": "segmented-control",
9
9
  "exportName": "SegmentedControl",
10
10
  "description": "Single- or multi-select segmented control for view and filter switches.",
@@ -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": "select-menu",
9
9
  "exportName": "SelectMenu",
10
10
  "description": "Custom listbox select for rich options: descriptions, icons, groups, multi-select, custom rows and hidden inputs for forms.",
@@ -130,7 +130,7 @@
130
130
  ],
131
131
  "package": "@slipstream-ui/core",
132
132
  "importPath": "@slipstream-ui/core",
133
- "version": "0.11.10",
133
+ "version": "0.12.0",
134
134
  "sourceDir": "select",
135
135
  "exportName": "Select"
136
136
  }
@@ -84,7 +84,7 @@
84
84
  ],
85
85
  "package": "@slipstream-ui/core",
86
86
  "importPath": "@slipstream-ui/core",
87
- "version": "0.11.10",
87
+ "version": "0.12.0",
88
88
  "sourceDir": "separator",
89
89
  "exportName": "Separator"
90
90
  }
@@ -4,7 +4,7 @@
4
4
  "tier": "organism",
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": "site-footer",
9
9
  "exportName": "SiteFooter",
10
10
  "description": "Marketing footer: brand + tagline column, link columns and a legal bar; router-agnostic via linkComponent.",
@@ -4,7 +4,7 @@
4
4
  "tier": "organism",
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": "site-header",
9
9
  "exportName": "SiteHeader",
10
10
  "description": "Marketing/site header: sticky bar with brand, horizontal navigation with prefix-aware active states, right-aligned actions and a mobile drawer.",
@@ -16,6 +16,12 @@
16
16
  "required": true,
17
17
  "description": "Brand slot (logo/lockup), wrapped in a link to /."
18
18
  },
19
+ {
20
+ "name": "topBar",
21
+ "type": "ReactNode",
22
+ "required": false,
23
+ "description": "Slim utility strip rendered above the brand row (locale switch, feed link, submit link). Content sits in a container matching the nav metrics; lay out multiple items with justify-between or a flex row."
24
+ },
19
25
  {
20
26
  "name": "items",
21
27
  "type": "SiteNavItem[]",
@@ -126,7 +126,7 @@
126
126
  ],
127
127
  "package": "@slipstream-ui/core",
128
128
  "importPath": "@slipstream-ui/core",
129
- "version": "0.11.10",
129
+ "version": "0.12.0",
130
130
  "sourceDir": "skeleton",
131
131
  "exportName": "Skeleton"
132
132
  }
@@ -52,7 +52,7 @@
52
52
  ],
53
53
  "package": "@slipstream-ui/core",
54
54
  "importPath": "@slipstream-ui/core",
55
- "version": "0.11.10",
55
+ "version": "0.12.0",
56
56
  "sourceDir": "spinner",
57
57
  "exportName": "Spinner"
58
58
  }
@@ -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": "stat-band",
9
9
  "exportName": "StatBand",
10
10
  "description": "Semantic description list of headline stats with labels, optional hints and column presets.",
@@ -159,7 +159,7 @@
159
159
  ],
160
160
  "package": "@slipstream-ui/core",
161
161
  "importPath": "@slipstream-ui/core",
162
- "version": "0.11.10",
162
+ "version": "0.12.0",
163
163
  "sourceDir": "stepper",
164
164
  "exportName": "Stepper"
165
165
  }
@@ -102,7 +102,7 @@
102
102
  ],
103
103
  "package": "@slipstream-ui/core",
104
104
  "importPath": "@slipstream-ui/core",
105
- "version": "0.11.10",
105
+ "version": "0.12.0",
106
106
  "sourceDir": "switch",
107
107
  "exportName": "Switch"
108
108
  }
@@ -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": "table-card",
9
9
  "exportName": "TableCard",
10
10
  "description": "Table shell with title/description, header actions, optional toolbar, edge-to-edge body and a footer row.",
@@ -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": "table-of-contents",
9
9
  "exportName": "TableOfContents",
10
10
  "description": "Sticky 'On this page' navigation with real anchor links, nested levels and aria-current, plus a useScrollSpy hook for the active heading.",
@@ -78,7 +78,7 @@
78
78
  ],
79
79
  "package": "@slipstream-ui/core",
80
80
  "importPath": "@slipstream-ui/core",
81
- "version": "0.11.10",
81
+ "version": "0.12.0",
82
82
  "sourceDir": "table",
83
83
  "exportName": "Table"
84
84
  }
@@ -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": "tabs",
143
143
  "exportName": "Tabs"
144
144
  }
@@ -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": "testimonial",
9
9
  "exportName": "Testimonial",
10
10
  "description": "Semantic written testimonial with quote, person, role, company, avatar and logo slots.",
@@ -107,7 +107,7 @@
107
107
  ],
108
108
  "package": "@slipstream-ui/core",
109
109
  "importPath": "@slipstream-ui/core",
110
- "version": "0.11.10",
110
+ "version": "0.12.0",
111
111
  "sourceDir": "text",
112
112
  "exportName": "Text"
113
113
  }
@@ -102,7 +102,7 @@
102
102
  ],
103
103
  "package": "@slipstream-ui/core",
104
104
  "importPath": "@slipstream-ui/core",
105
- "version": "0.11.10",
105
+ "version": "0.12.0",
106
106
  "sourceDir": "textarea",
107
107
  "exportName": "Textarea"
108
108
  }
@@ -112,7 +112,7 @@
112
112
  ],
113
113
  "package": "@slipstream-ui/core",
114
114
  "importPath": "@slipstream-ui/core",
115
- "version": "0.11.10",
115
+ "version": "0.12.0",
116
116
  "sourceDir": "theme-toggle",
117
117
  "exportName": "ThemeToggle"
118
118
  }
@@ -87,7 +87,7 @@
87
87
  ],
88
88
  "package": "@slipstream-ui/core",
89
89
  "importPath": "@slipstream-ui/core",
90
- "version": "0.11.10",
90
+ "version": "0.12.0",
91
91
  "sourceDir": "time-picker",
92
92
  "exportName": "TimePicker"
93
93
  }
@@ -63,7 +63,7 @@
63
63
  ],
64
64
  "package": "@slipstream-ui/core",
65
65
  "importPath": "@slipstream-ui/core",
66
- "version": "0.11.10",
66
+ "version": "0.12.0",
67
67
  "sourceDir": "timeline",
68
68
  "exportName": "Timeline"
69
69
  }
@@ -161,7 +161,7 @@
161
161
  ],
162
162
  "package": "@slipstream-ui/core",
163
163
  "importPath": "@slipstream-ui/core",
164
- "version": "0.11.10",
164
+ "version": "0.12.0",
165
165
  "sourceDir": "toast",
166
166
  "exportName": "ToastProvider"
167
167
  }
@@ -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": "tombstone-card",
9
9
  "exportName": "TombstoneCard",
10
10
  "description": "Placeholder card for archived, closed or unavailable marketplace items.",
@@ -58,6 +58,17 @@
58
58
  "type": "React.ElementType",
59
59
  "required": false,
60
60
  "description": "Custom link element for routers."
61
+ },
62
+ {
63
+ "name": "linkHrefProp",
64
+ "type": "'href' | 'to'",
65
+ "required": false,
66
+ "defaultValue": "href",
67
+ "description": "Prop name used to pass the destination to linkComponent ('href' for anchors and most routers, 'to' for react-router).",
68
+ "enum": [
69
+ "href",
70
+ "to"
71
+ ]
61
72
  }
62
73
  ],
63
74
  "examples": [
@@ -120,7 +120,7 @@
120
120
  ],
121
121
  "package": "@slipstream-ui/core",
122
122
  "importPath": "@slipstream-ui/core",
123
- "version": "0.11.10",
123
+ "version": "0.12.0",
124
124
  "sourceDir": "tooltip",
125
125
  "exportName": "Tooltip"
126
126
  }
@@ -0,0 +1,112 @@
1
+ import { act, renderHook } from '@testing-library/react';
2
+ import { beforeEach, describe, expect, it } from 'vitest';
3
+ import { useConsent } from './consent';
4
+
5
+ const KEY = 'test-consent';
6
+
7
+ function seed(raw: string) {
8
+ window.localStorage.setItem(KEY, raw);
9
+ }
10
+
11
+ describe('useConsent', () => {
12
+ beforeEach(() => {
13
+ window.localStorage.clear();
14
+ });
15
+
16
+ it('starts undecided with empty storage', () => {
17
+ const { result } = renderHook(() => useConsent({ storageKey: KEY }));
18
+ expect(result.current.decided).toBe(false);
19
+ expect(result.current.preferences).toBeNull();
20
+ });
21
+
22
+ it('setAll grants every purpose and persists the decision', () => {
23
+ const { result } = renderHook(() =>
24
+ useConsent({ storageKey: KEY, purposes: ['analytics', 'marketing'] })
25
+ );
26
+ act(() => result.current.setAll(true));
27
+ expect(result.current.decided).toBe(true);
28
+ expect(result.current.preferences).toEqual({ analytics: true, marketing: true });
29
+ const stored = JSON.parse(window.localStorage.getItem(KEY)!);
30
+ expect(stored.p).toEqual({ analytics: true, marketing: true });
31
+ expect(typeof stored.at).toBe('number');
32
+ });
33
+
34
+ it('setAll(false) denies every purpose', () => {
35
+ const { result } = renderHook(() => useConsent({ storageKey: KEY }));
36
+ act(() => result.current.setAll(false));
37
+ expect(result.current.preferences).toEqual({ analytics: false });
38
+ });
39
+
40
+ it('reads a persisted decision on mount', () => {
41
+ seed(JSON.stringify({ p: { analytics: true }, at: Date.now() }));
42
+ const { result } = renderHook(() => useConsent({ storageKey: KEY }));
43
+ expect(result.current.decided).toBe(true);
44
+ expect(result.current.preferences).toEqual({ analytics: true });
45
+ });
46
+
47
+ it('treats expired decisions as undecided', () => {
48
+ const stale = { p: { analytics: true }, at: Date.now() - 200 * 24 * 60 * 60 * 1000 };
49
+ seed(JSON.stringify(stale));
50
+ const { result } = renderHook(() => useConsent({ storageKey: KEY }));
51
+ expect(result.current.decided).toBe(false);
52
+ });
53
+
54
+ it('honors a custom maxAgeMs', () => {
55
+ const entry = { p: { analytics: true }, at: Date.now() - 60_000 };
56
+ seed(JSON.stringify(entry));
57
+ const { result } = renderHook(() =>
58
+ useConsent({ storageKey: KEY, maxAgeMs: 30_000 })
59
+ );
60
+ expect(result.current.decided).toBe(false);
61
+ });
62
+
63
+ it('treats malformed payloads as undecided', () => {
64
+ seed('not json');
65
+ const { result } = renderHook(() => useConsent({ storageKey: KEY }));
66
+ expect(result.current.decided).toBe(false);
67
+ seed(JSON.stringify({ p: { analytics: 'yes' }, at: Date.now() }));
68
+ const { result: second } = renderHook(() => useConsent({ storageKey: KEY }));
69
+ expect(second.current.decided).toBe(false);
70
+ });
71
+
72
+ it('set() stores an explicit per-purpose map', () => {
73
+ const { result } = renderHook(() =>
74
+ useConsent({ storageKey: KEY, purposes: ['analytics', 'marketing'] })
75
+ );
76
+ act(() => result.current.set({ analytics: true, marketing: false }));
77
+ expect(result.current.preferences).toEqual({ analytics: true, marketing: false });
78
+ // Missing purposes default to denied rather than leaking through.
79
+ act(() => result.current.set({ analytics: true }));
80
+ expect(result.current.preferences).toEqual({ analytics: true, marketing: false });
81
+ });
82
+
83
+ it('clear() forgets the decision and removes storage', () => {
84
+ const { result } = renderHook(() => useConsent({ storageKey: KEY }));
85
+ act(() => result.current.setAll(true));
86
+ act(() => result.current.clear());
87
+ expect(result.current.decided).toBe(false);
88
+ expect(window.localStorage.getItem(KEY)).toBeNull();
89
+ });
90
+
91
+ it('keeps separate hook instances in sync via the change event', () => {
92
+ const banner = renderHook(() => useConsent({ storageKey: KEY }));
93
+ const gate = renderHook(() => useConsent({ storageKey: KEY }));
94
+ act(() => banner.result.current.setAll(true));
95
+ expect(gate.result.current.decided).toBe(true);
96
+ expect(gate.result.current.preferences).toEqual({ analytics: true });
97
+ act(() => gate.result.current.clear());
98
+ expect(banner.result.current.decided).toBe(false);
99
+ });
100
+
101
+ it('ignores change events for other storage keys', () => {
102
+ const { result } = renderHook(() => useConsent({ storageKey: KEY }));
103
+ act(() => {
104
+ window.dispatchEvent(
105
+ new CustomEvent('slipstream:consent-change', {
106
+ detail: { storageKey: 'other-key', preferences: { analytics: true } },
107
+ })
108
+ );
109
+ });
110
+ expect(result.current.decided).toBe(false);
111
+ });
112
+ });