@slipstream-ui/core 0.6.0 → 0.7.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 (326) hide show
  1. package/dist/index.d.mts +337 -17
  2. package/dist/index.d.ts +337 -17
  3. package/dist/index.js +719 -226
  4. package/dist/index.js.map +1 -1
  5. package/dist/index.mjs +713 -226
  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 +1 -1
  10. package/dist/manifests/app-shell.manifest.json +1 -1
  11. package/dist/manifests/applied-filters.manifest.json +1 -1
  12. package/dist/manifests/article-card.manifest.json +1 -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/breadcrumb.manifest.json +1 -1
  19. package/dist/manifests/button-group.manifest.json +1 -1
  20. package/dist/manifests/button.manifest.json +1 -1
  21. package/dist/manifests/card.manifest.json +1 -1
  22. package/dist/manifests/checkbox.manifest.json +1 -1
  23. package/dist/manifests/comparison-table.manifest.json +1 -1
  24. package/dist/manifests/confirm-dialog.manifest.json +1 -1
  25. package/dist/manifests/contact-strip.manifest.json +1 -1
  26. package/dist/manifests/container.manifest.json +1 -1
  27. package/dist/manifests/cta-section.manifest.json +1 -1
  28. package/dist/manifests/data-table.manifest.json +1 -1
  29. package/dist/manifests/date-picker.manifest.json +1 -1
  30. package/dist/manifests/date-range-picker.manifest.json +1 -1
  31. package/dist/manifests/deal-card.manifest.json +158 -0
  32. package/dist/manifests/dialog.manifest.json +1 -1
  33. package/dist/manifests/document-card.manifest.json +108 -0
  34. package/dist/manifests/drawer.manifest.json +1 -1
  35. package/dist/manifests/empty-state.manifest.json +1 -1
  36. package/dist/manifests/entity-card.manifest.json +114 -0
  37. package/dist/manifests/feature-grid.manifest.json +1 -1
  38. package/dist/manifests/feature-row.manifest.json +1 -1
  39. package/dist/manifests/fieldset.manifest.json +1 -1
  40. package/dist/manifests/file-upload.manifest.json +1 -1
  41. package/dist/manifests/filter-bar.manifest.json +1 -1
  42. package/dist/manifests/filter-chips.manifest.json +1 -1
  43. package/dist/manifests/filter-panel.manifest.json +1 -1
  44. package/dist/manifests/flex.manifest.json +1 -1
  45. package/dist/manifests/form-field.manifest.json +1 -1
  46. package/dist/manifests/form-layout.manifest.json +1 -1
  47. package/dist/manifests/form.manifest.json +1 -1
  48. package/dist/manifests/grid.manifest.json +1 -1
  49. package/dist/manifests/heading.manifest.json +1 -1
  50. package/dist/manifests/hero.manifest.json +40 -8
  51. package/dist/manifests/input-group.manifest.json +1 -1
  52. package/dist/manifests/input.manifest.json +1 -1
  53. package/dist/manifests/label.manifest.json +1 -1
  54. package/dist/manifests/link-tabs.manifest.json +1 -1
  55. package/dist/manifests/link.manifest.json +1 -1
  56. package/dist/manifests/list.manifest.json +1 -1
  57. package/dist/manifests/load-more.manifest.json +88 -0
  58. package/dist/manifests/logo-cloud.manifest.json +1 -1
  59. package/dist/manifests/menu.manifest.json +1 -1
  60. package/dist/manifests/metric-card.manifest.json +1 -1
  61. package/dist/manifests/multi-select.manifest.json +1 -1
  62. package/dist/manifests/newsletter.manifest.json +1 -1
  63. package/dist/manifests/page-header.manifest.json +1 -1
  64. package/dist/manifests/pagination.manifest.json +1 -1
  65. package/dist/manifests/password-input.manifest.json +1 -1
  66. package/dist/manifests/popover.manifest.json +1 -1
  67. package/dist/manifests/process-steps.manifest.json +1 -1
  68. package/dist/manifests/progress.manifest.json +1 -1
  69. package/dist/manifests/prose.manifest.json +1 -1
  70. package/dist/manifests/radio.manifest.json +1 -1
  71. package/dist/manifests/range-slider.manifest.json +1 -1
  72. package/dist/manifests/search.manifest.json +1 -1
  73. package/dist/manifests/section-heading.manifest.json +1 -1
  74. package/dist/manifests/section.manifest.json +1 -1
  75. package/dist/manifests/segmented-control.manifest.json +1 -1
  76. package/dist/manifests/select-menu.manifest.json +2 -2
  77. package/dist/manifests/select.manifest.json +1 -1
  78. package/dist/manifests/separator.manifest.json +1 -1
  79. package/dist/manifests/site-footer.manifest.json +1 -1
  80. package/dist/manifests/site-header.manifest.json +1 -1
  81. package/dist/manifests/skeleton.manifest.json +1 -1
  82. package/dist/manifests/spinner.manifest.json +1 -1
  83. package/dist/manifests/stat-band.manifest.json +1 -1
  84. package/dist/manifests/stepper.manifest.json +69 -5
  85. package/dist/manifests/switch.manifest.json +1 -1
  86. package/dist/manifests/table-card.manifest.json +1 -1
  87. package/dist/manifests/table-of-contents.manifest.json +26 -5
  88. package/dist/manifests/table.manifest.json +1 -1
  89. package/dist/manifests/tabs.manifest.json +1 -1
  90. package/dist/manifests/testimonial.manifest.json +1 -1
  91. package/dist/manifests/text.manifest.json +1 -1
  92. package/dist/manifests/textarea.manifest.json +1 -1
  93. package/dist/manifests/theme-toggle.manifest.json +1 -1
  94. package/dist/manifests/time-picker.manifest.json +1 -1
  95. package/dist/manifests/timeline.manifest.json +1 -1
  96. package/dist/manifests/toast.manifest.json +1 -1
  97. package/dist/manifests/tombstone-card.manifest.json +97 -0
  98. package/dist/manifests/tooltip.manifest.json +1 -1
  99. package/dist/src/components/date-picker/DatePicker.js +1 -1
  100. package/dist/src/components/date-picker/DatePicker.js.map +1 -1
  101. package/dist/src/components/date-picker/DatePicker.mjs +1 -1
  102. package/dist/src/components/date-picker/DatePicker.mjs.map +1 -1
  103. package/dist/src/components/deal-card/DealCard.d.ts +72 -0
  104. package/dist/src/components/deal-card/DealCard.js +108 -0
  105. package/dist/src/components/deal-card/DealCard.js.map +1 -0
  106. package/dist/src/components/deal-card/DealCard.mjs +74 -0
  107. package/dist/src/components/deal-card/DealCard.mjs.map +1 -0
  108. package/dist/src/components/deal-card/index.d.ts +2 -0
  109. package/dist/src/components/deal-card/index.js +29 -0
  110. package/dist/src/components/deal-card/index.js.map +1 -0
  111. package/dist/src/components/deal-card/index.mjs +5 -0
  112. package/dist/src/components/deal-card/index.mjs.map +1 -0
  113. package/dist/src/components/document-card/DocumentCard.d.ts +42 -0
  114. package/dist/src/components/document-card/DocumentCard.js +84 -0
  115. package/dist/src/components/document-card/DocumentCard.js.map +1 -0
  116. package/dist/src/components/document-card/DocumentCard.mjs +50 -0
  117. package/dist/src/components/document-card/DocumentCard.mjs.map +1 -0
  118. package/dist/src/components/document-card/index.d.ts +2 -0
  119. package/dist/src/components/document-card/index.js +29 -0
  120. package/dist/src/components/document-card/index.js.map +1 -0
  121. package/dist/src/components/document-card/index.mjs +5 -0
  122. package/dist/src/components/document-card/index.mjs.map +1 -0
  123. package/dist/src/components/entity-card/EntityCard.d.ts +78 -0
  124. package/dist/src/components/entity-card/EntityCard.js +95 -0
  125. package/dist/src/components/entity-card/EntityCard.js.map +1 -0
  126. package/dist/src/components/entity-card/EntityCard.mjs +60 -0
  127. package/dist/src/components/entity-card/EntityCard.mjs.map +1 -0
  128. package/dist/src/components/entity-card/index.d.ts +2 -0
  129. package/dist/src/components/entity-card/index.js +31 -0
  130. package/dist/src/components/entity-card/index.js.map +1 -0
  131. package/dist/src/components/entity-card/index.mjs +6 -0
  132. package/dist/src/components/entity-card/index.mjs.map +1 -0
  133. package/dist/src/components/hero/Hero.d.ts +25 -13
  134. package/dist/src/components/hero/Hero.js +116 -12
  135. package/dist/src/components/hero/Hero.js.map +1 -1
  136. package/dist/src/components/hero/Hero.mjs +116 -12
  137. package/dist/src/components/hero/Hero.mjs.map +1 -1
  138. package/dist/src/components/load-more/LoadMore.d.ts +34 -0
  139. package/dist/src/components/load-more/LoadMore.js +55 -0
  140. package/dist/src/components/load-more/LoadMore.js.map +1 -0
  141. package/dist/src/components/load-more/LoadMore.mjs +21 -0
  142. package/dist/src/components/load-more/LoadMore.mjs.map +1 -0
  143. package/dist/src/components/load-more/index.d.ts +2 -0
  144. package/dist/src/components/load-more/index.js +29 -0
  145. package/dist/src/components/load-more/index.js.map +1 -0
  146. package/dist/src/components/load-more/index.mjs +5 -0
  147. package/dist/src/components/load-more/index.mjs.map +1 -0
  148. package/dist/src/components/range-slider/RangeSlider.js +6 -6
  149. package/dist/src/components/range-slider/RangeSlider.js.map +1 -1
  150. package/dist/src/components/range-slider/RangeSlider.mjs +6 -6
  151. package/dist/src/components/range-slider/RangeSlider.mjs.map +1 -1
  152. package/dist/src/components/select-menu/SelectMenu.js +2 -0
  153. package/dist/src/components/select-menu/SelectMenu.js.map +1 -1
  154. package/dist/src/components/select-menu/SelectMenu.mjs +2 -0
  155. package/dist/src/components/select-menu/SelectMenu.mjs.map +1 -1
  156. package/dist/src/components/separator/Separator.js +1 -1
  157. package/dist/src/components/separator/Separator.js.map +1 -1
  158. package/dist/src/components/separator/Separator.mjs +1 -1
  159. package/dist/src/components/separator/Separator.mjs.map +1 -1
  160. package/dist/src/components/stepper/Stepper.d.ts +35 -0
  161. package/dist/src/components/stepper/Stepper.js +118 -25
  162. package/dist/src/components/stepper/Stepper.js.map +1 -1
  163. package/dist/src/components/stepper/Stepper.mjs +118 -25
  164. package/dist/src/components/stepper/Stepper.mjs.map +1 -1
  165. package/dist/src/components/table-of-contents/TableOfContents.d.ts +10 -2
  166. package/dist/src/components/table-of-contents/TableOfContents.js +13 -0
  167. package/dist/src/components/table-of-contents/TableOfContents.js.map +1 -1
  168. package/dist/src/components/table-of-contents/TableOfContents.mjs +13 -0
  169. package/dist/src/components/table-of-contents/TableOfContents.mjs.map +1 -1
  170. package/dist/src/components/tabs/Tabs.js +43 -3
  171. package/dist/src/components/tabs/Tabs.js.map +1 -1
  172. package/dist/src/components/tabs/Tabs.mjs +43 -3
  173. package/dist/src/components/tabs/Tabs.mjs.map +1 -1
  174. package/dist/src/components/time-picker/TimePicker.js +1 -1
  175. package/dist/src/components/time-picker/TimePicker.js.map +1 -1
  176. package/dist/src/components/time-picker/TimePicker.mjs +1 -1
  177. package/dist/src/components/time-picker/TimePicker.mjs.map +1 -1
  178. package/dist/src/components/timeline/Timeline.js +2 -2
  179. package/dist/src/components/timeline/Timeline.js.map +1 -1
  180. package/dist/src/components/timeline/Timeline.mjs +2 -2
  181. package/dist/src/components/timeline/Timeline.mjs.map +1 -1
  182. package/dist/src/components/tombstone-card/TombstoneCard.d.ts +39 -0
  183. package/dist/src/components/tombstone-card/TombstoneCard.js +86 -0
  184. package/dist/src/components/tombstone-card/TombstoneCard.js.map +1 -0
  185. package/dist/src/components/tombstone-card/TombstoneCard.mjs +52 -0
  186. package/dist/src/components/tombstone-card/TombstoneCard.mjs.map +1 -0
  187. package/dist/src/components/tombstone-card/index.d.ts +2 -0
  188. package/dist/src/components/tombstone-card/index.js +29 -0
  189. package/dist/src/components/tombstone-card/index.js.map +1 -0
  190. package/dist/src/components/tombstone-card/index.mjs +5 -0
  191. package/dist/src/components/tombstone-card/index.mjs.map +1 -0
  192. package/dist/src/index.d.ts +5 -0
  193. package/dist/src/utils/modal-layer.js +3 -2
  194. package/dist/src/utils/modal-layer.js.map +1 -1
  195. package/dist/src/utils/modal-layer.mjs +3 -2
  196. package/dist/src/utils/modal-layer.mjs.map +1 -1
  197. package/dist/styles-full.css +1 -1
  198. package/dist/styles.css +1 -1
  199. package/package.json +4 -4
  200. package/src/components/date-picker/DatePicker.tsx +1 -1
  201. package/src/components/deal-card/DealCard.test.tsx +54 -0
  202. package/src/components/deal-card/DealCard.tsx +138 -0
  203. package/src/components/deal-card/index.ts +2 -0
  204. package/src/components/document-card/DocumentCard.test.tsx +41 -0
  205. package/src/components/document-card/DocumentCard.tsx +82 -0
  206. package/src/components/document-card/index.ts +2 -0
  207. package/src/components/entity-card/EntityCard.test.tsx +38 -0
  208. package/src/components/entity-card/EntityCard.tsx +133 -0
  209. package/src/components/entity-card/index.ts +2 -0
  210. package/src/components/hero/Hero.test.tsx +14 -0
  211. package/src/components/hero/Hero.tsx +111 -19
  212. package/src/components/load-more/LoadMore.test.tsx +28 -0
  213. package/src/components/load-more/LoadMore.tsx +53 -0
  214. package/src/components/load-more/index.ts +2 -0
  215. package/src/components/range-slider/RangeSlider.test.tsx +8 -0
  216. package/src/components/range-slider/RangeSlider.tsx +10 -6
  217. package/src/components/select-menu/SelectMenu.test.tsx +20 -10
  218. package/src/components/select-menu/SelectMenu.tsx +2 -0
  219. package/src/components/separator/Separator.test.tsx +9 -1
  220. package/src/components/separator/Separator.tsx +1 -1
  221. package/src/components/stepper/Stepper.test.tsx +19 -0
  222. package/src/components/stepper/Stepper.tsx +169 -37
  223. package/src/components/table-of-contents/TableOfContents.test.tsx +12 -1
  224. package/src/components/table-of-contents/TableOfContents.tsx +25 -1
  225. package/src/components/tabs/Tabs.test.tsx +12 -0
  226. package/src/components/tabs/Tabs.tsx +48 -4
  227. package/src/components/time-picker/TimePicker.tsx +1 -1
  228. package/src/components/timeline/Timeline.tsx +2 -2
  229. package/src/components/tombstone-card/TombstoneCard.test.tsx +26 -0
  230. package/src/components/tombstone-card/TombstoneCard.tsx +77 -0
  231. package/src/components/tombstone-card/index.ts +2 -0
  232. package/src/index.ts +5 -0
  233. package/src/manifests/accordion.manifest.json +1 -1
  234. package/src/manifests/alert.manifest.json +1 -1
  235. package/src/manifests/announcement-bar.manifest.json +1 -1
  236. package/src/manifests/app-shell.manifest.json +1 -1
  237. package/src/manifests/applied-filters.manifest.json +1 -1
  238. package/src/manifests/article-card.manifest.json +1 -1
  239. package/src/manifests/auth-layout.manifest.json +1 -1
  240. package/src/manifests/autocomplete.manifest.json +1 -1
  241. package/src/manifests/avatar.manifest.json +1 -1
  242. package/src/manifests/badge.manifest.json +1 -1
  243. package/src/manifests/block.manifest.json +1 -1
  244. package/src/manifests/breadcrumb.manifest.json +1 -1
  245. package/src/manifests/button-group.manifest.json +1 -1
  246. package/src/manifests/button.manifest.json +1 -1
  247. package/src/manifests/card.manifest.json +1 -1
  248. package/src/manifests/checkbox.manifest.json +1 -1
  249. package/src/manifests/comparison-table.manifest.json +1 -1
  250. package/src/manifests/confirm-dialog.manifest.json +1 -1
  251. package/src/manifests/contact-strip.manifest.json +1 -1
  252. package/src/manifests/container.manifest.json +1 -1
  253. package/src/manifests/cta-section.manifest.json +1 -1
  254. package/src/manifests/data-table.manifest.json +1 -1
  255. package/src/manifests/date-picker.manifest.json +1 -1
  256. package/src/manifests/date-range-picker.manifest.json +1 -1
  257. package/src/manifests/deal-card.manifest.json +158 -0
  258. package/src/manifests/dialog.manifest.json +1 -1
  259. package/src/manifests/document-card.manifest.json +108 -0
  260. package/src/manifests/drawer.manifest.json +1 -1
  261. package/src/manifests/empty-state.manifest.json +1 -1
  262. package/src/manifests/entity-card.manifest.json +114 -0
  263. package/src/manifests/feature-grid.manifest.json +1 -1
  264. package/src/manifests/feature-row.manifest.json +1 -1
  265. package/src/manifests/fieldset.manifest.json +1 -1
  266. package/src/manifests/file-upload.manifest.json +1 -1
  267. package/src/manifests/filter-bar.manifest.json +1 -1
  268. package/src/manifests/filter-chips.manifest.json +1 -1
  269. package/src/manifests/filter-panel.manifest.json +1 -1
  270. package/src/manifests/flex.manifest.json +1 -1
  271. package/src/manifests/form-field.manifest.json +1 -1
  272. package/src/manifests/form-layout.manifest.json +1 -1
  273. package/src/manifests/form.manifest.json +1 -1
  274. package/src/manifests/grid.manifest.json +1 -1
  275. package/src/manifests/heading.manifest.json +1 -1
  276. package/src/manifests/hero.manifest.json +40 -8
  277. package/src/manifests/input-group.manifest.json +1 -1
  278. package/src/manifests/input.manifest.json +1 -1
  279. package/src/manifests/label.manifest.json +1 -1
  280. package/src/manifests/link-tabs.manifest.json +1 -1
  281. package/src/manifests/link.manifest.json +1 -1
  282. package/src/manifests/list.manifest.json +1 -1
  283. package/src/manifests/load-more.manifest.json +88 -0
  284. package/src/manifests/logo-cloud.manifest.json +1 -1
  285. package/src/manifests/menu.manifest.json +1 -1
  286. package/src/manifests/metric-card.manifest.json +1 -1
  287. package/src/manifests/multi-select.manifest.json +1 -1
  288. package/src/manifests/newsletter.manifest.json +1 -1
  289. package/src/manifests/page-header.manifest.json +1 -1
  290. package/src/manifests/pagination.manifest.json +1 -1
  291. package/src/manifests/password-input.manifest.json +1 -1
  292. package/src/manifests/popover.manifest.json +1 -1
  293. package/src/manifests/process-steps.manifest.json +1 -1
  294. package/src/manifests/progress.manifest.json +1 -1
  295. package/src/manifests/prose.manifest.json +1 -1
  296. package/src/manifests/radio.manifest.json +1 -1
  297. package/src/manifests/range-slider.manifest.json +1 -1
  298. package/src/manifests/search.manifest.json +1 -1
  299. package/src/manifests/section-heading.manifest.json +1 -1
  300. package/src/manifests/section.manifest.json +1 -1
  301. package/src/manifests/segmented-control.manifest.json +1 -1
  302. package/src/manifests/select-menu.manifest.json +2 -2
  303. package/src/manifests/select.manifest.json +1 -1
  304. package/src/manifests/separator.manifest.json +1 -1
  305. package/src/manifests/site-footer.manifest.json +1 -1
  306. package/src/manifests/site-header.manifest.json +1 -1
  307. package/src/manifests/skeleton.manifest.json +1 -1
  308. package/src/manifests/spinner.manifest.json +1 -1
  309. package/src/manifests/stat-band.manifest.json +1 -1
  310. package/src/manifests/stepper.manifest.json +69 -5
  311. package/src/manifests/switch.manifest.json +1 -1
  312. package/src/manifests/table-card.manifest.json +1 -1
  313. package/src/manifests/table-of-contents.manifest.json +26 -5
  314. package/src/manifests/table.manifest.json +1 -1
  315. package/src/manifests/tabs.manifest.json +1 -1
  316. package/src/manifests/testimonial.manifest.json +1 -1
  317. package/src/manifests/text.manifest.json +1 -1
  318. package/src/manifests/textarea.manifest.json +1 -1
  319. package/src/manifests/theme-toggle.manifest.json +1 -1
  320. package/src/manifests/time-picker.manifest.json +1 -1
  321. package/src/manifests/timeline.manifest.json +1 -1
  322. package/src/manifests/toast.manifest.json +1 -1
  323. package/src/manifests/tombstone-card.manifest.json +97 -0
  324. package/src/manifests/tooltip.manifest.json +1 -1
  325. package/src/test/jest-axe.d.ts +6 -1
  326. package/src/utils/modal-layer.ts +3 -2
@@ -2,8 +2,8 @@
2
2
  "id": "stepper",
3
3
  "name": "Stepper",
4
4
  "tier": "molecule",
5
- "description": "Multi-step flow indicator: ordered list, aria-current step, text state for complete/current/upcoming.",
6
- "designIntent": "Wizards need orientation: where am I, what is done, what is next. A stepper built on an ordered list keeps the sequence structural and announces state in text, not just color.",
5
+ "description": "Multi-step flow indicator: ordered list, aria-current step, text state for complete/current/upcoming, horizontal or vertical, numbered or dots.",
6
+ "designIntent": "Wizards need orientation: where am I, what is done, what is next. A stepper built on an ordered list keeps the sequence structural and announces state in text, not just color. Four responsive shapes (inline labels, labels below, vertical timeline, compact dots) cover onboarding, checkout, and narrow sidebars.",
7
7
  "props": [
8
8
  {
9
9
  "name": "steps",
@@ -28,6 +28,50 @@
28
28
  "vertical"
29
29
  ]
30
30
  },
31
+ {
32
+ "name": "variant",
33
+ "type": "'numbered' | 'dots'",
34
+ "required": false,
35
+ "defaultValue": "numbered",
36
+ "description": "Marker style. numbered shows the step number and a check when complete; dots is the compact progress variant with no numbers.",
37
+ "enum": [
38
+ "numbered",
39
+ "dots"
40
+ ]
41
+ },
42
+ {
43
+ "name": "size",
44
+ "type": "'sm' | 'md'",
45
+ "required": false,
46
+ "defaultValue": "md",
47
+ "description": "Marker and label scale.",
48
+ "enum": [
49
+ "sm",
50
+ "md"
51
+ ]
52
+ },
53
+ {
54
+ "name": "labelPlacement",
55
+ "type": "'inline' | 'below'",
56
+ "required": false,
57
+ "defaultValue": "inline",
58
+ "description": "Horizontal only: place the label beside the marker or beneath it.",
59
+ "enum": [
60
+ "inline",
61
+ "below"
62
+ ]
63
+ },
64
+ {
65
+ "name": "alignTitles",
66
+ "type": "'start' | 'center'",
67
+ "required": false,
68
+ "defaultValue": "center",
69
+ "description": "Center a title vertically against its marker when that step has no description. Titles with a description stay top aligned.",
70
+ "enum": [
71
+ "start",
72
+ "center"
73
+ ]
74
+ },
31
75
  {
32
76
  "name": "onStepClick",
33
77
  "type": "(index: number) => void",
@@ -37,9 +81,24 @@
37
81
  ],
38
82
  "examples": [
39
83
  {
40
- "title": "Onboarding wizard",
41
- "code": "<Stepper\n current={step}\n steps={[{ label: 'Account' }, { label: 'Studio details' }, { label: 'Invite team' }, { label: 'Review' }]}\n/>",
84
+ "title": "Horizontal onboarding wizard",
85
+ "code": "<Stepper\n current={step}\n steps={[{ label: 'Account' }, { label: 'Studio details' }, { label: 'Invite team' }, { label: 'Review' }]}\n onStepClick={setStep}\n/>",
42
86
  "description": "Current step is announced; completed steps show a check."
87
+ },
88
+ {
89
+ "title": "Labels below the markers",
90
+ "code": "<Stepper\n current={2}\n labelPlacement=\"below\"\n steps={[{ label: 'Account' }, { label: 'Studio' }, { label: 'Review' }]}\n/>",
91
+ "description": "A wider, marketing-friendly horizontal shape."
92
+ },
93
+ {
94
+ "title": "Vertical timeline",
95
+ "code": "<Stepper\n current={1}\n orientation=\"vertical\"\n steps={[\n { label: 'Submitted', description: 'Mar 2' },\n { label: 'Under review', description: 'Mar 4' },\n { label: 'Decision', description: 'Mar 9' },\n ]}\n/>",
96
+ "description": "A vertical connector joins the markers, suited to sidebars and activity feeds."
97
+ },
98
+ {
99
+ "title": "Compact dots",
100
+ "code": "<Stepper current={1} variant=\"dots\" size=\"sm\" steps={[{ label: 'Plan' }, { label: 'Build' }, { label: 'Ship' }]} />",
101
+ "description": "No numbers, small markers, for tight toolbars or mobile."
43
102
  }
44
103
  ],
45
104
  "antiPatterns": [
@@ -80,6 +139,11 @@
80
139
  "component": "Form",
81
140
  "relationship": "One Form (or Form step) per Stepper stage",
82
141
  "example": "<Stepper current={1} steps={steps} />"
142
+ },
143
+ {
144
+ "component": "Drawer",
145
+ "relationship": "A vertical dots Stepper fits a narrow drawer or settings sidebar",
146
+ "example": "<Drawer><Stepper current={1} orientation=\"vertical\" variant=\"dots\" steps={steps} /></Drawer>"
83
147
  }
84
148
  ],
85
149
  "relatedComponents": [
@@ -89,7 +153,7 @@
89
153
  ],
90
154
  "package": "@slipstream-ui/core",
91
155
  "importPath": "@slipstream-ui/core",
92
- "version": "0.6.0",
156
+ "version": "0.7.0",
93
157
  "sourceDir": "stepper",
94
158
  "exportName": "Stepper"
95
159
  }
@@ -102,7 +102,7 @@
102
102
  ],
103
103
  "package": "@slipstream-ui/core",
104
104
  "importPath": "@slipstream-ui/core",
105
- "version": "0.6.0",
105
+ "version": "0.7.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.6.0",
7
+ "version": "0.7.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,11 +4,11 @@
4
4
  "tier": "molecule",
5
5
  "package": "@slipstream-ui/core",
6
6
  "importPath": "@slipstream-ui/core",
7
- "version": "0.6.0",
7
+ "version": "0.7.0",
8
8
  "sourceDir": "table-of-contents",
9
9
  "exportName": "TableOfContents",
10
- "description": "Sticky 'On this page' navigation with nested levels and aria-current, plus a useScrollSpy hook for the active heading.",
11
- "designIntent": "Long-form pages drift into bespoke TOC implementations. TableOfContents fixes the nested list, active styling and landmark name; useScrollSpy supplies the active id from real scroll position.",
10
+ "description": "Sticky 'On this page' navigation with real anchor links, nested levels and aria-current, plus a useScrollSpy hook for the active heading.",
11
+ "designIntent": "Long-form pages drift into bespoke TOC implementations. TableOfContents fixes the nested list, native anchor navigation, active styling and landmark name; useScrollSpy supplies the active id from real scroll position.",
12
12
  "props": [
13
13
  {
14
14
  "name": "headings",
@@ -47,13 +47,24 @@
47
47
  "type": "string",
48
48
  "required": false,
49
49
  "description": "Extra classes for the visible label."
50
+ },
51
+ {
52
+ "name": "onNavigate",
53
+ "type": "(id: string) => void",
54
+ "required": false,
55
+ "description": "Called with the heading id when a link is activated. The browser still performs the native anchor jump; use it to sync a controlled activeId, analytics, or close a mobile TOC."
50
56
  }
51
57
  ],
52
58
  "examples": [
53
59
  {
54
60
  "title": "Article TOC",
55
- "code": "const activeId = useScrollSpy(headings.map((h) => h.id));\n\n<TableOfContents headings={headings} activeId={activeId} />",
56
- "description": "Scroll-spy driven active state."
61
+ "code": "const ids = headings.map((h) => h.id);\nconst activeId = useScrollSpy(ids);\n\n<TableOfContents headings={headings} activeId={activeId} />",
62
+ "description": "Scroll-spy driven active state; links are native anchors."
63
+ },
64
+ {
65
+ "title": "Controlled TOC with navigation callback",
66
+ "code": "<TableOfContents\n headings={headings}\n activeId={activeId}\n onNavigate={(id) => {\n setActiveId(id);\n setMobileOpen(false);\n }}\n/>",
67
+ "description": "Update local state when a heading is chosen; the anchor still scrolls and updates the hash."
57
68
  }
58
69
  ],
59
70
  "antiPatterns": [
@@ -61,6 +72,11 @@
61
72
  "title": "Don't hardcode the active id",
62
73
  "explanation": "Compute it from scroll position so the highlight follows the reader.",
63
74
  "example": "// Avoid\n<TableOfContents headings={h} activeId=\"intro\" />"
75
+ },
76
+ {
77
+ "title": "Don't replace the anchors with buttons",
78
+ "explanation": "Buttons only run a highlight callback and break deep links, middle-click, and open-in-new-tab. The component renders real anchors; keep them.",
79
+ "example": "// Avoid\n<button onClick={() => setActiveId(h.id)}>{h.text}</button>\n\n// Prefer\n<TableOfContents headings={h} activeId={activeId} onNavigate={setActiveId} />"
64
80
  }
65
81
  ],
66
82
  "accessibility": [
@@ -68,6 +84,11 @@
68
84
  "feature": "Landmark + current item",
69
85
  "implementation": "nav aria-label plus aria-current=location on the active link",
70
86
  "userRequirements": "Keep heading levels sequential"
87
+ },
88
+ {
89
+ "feature": "Native anchor navigation",
90
+ "implementation": "Each item is an a[href='#id'], so Enter, middle-click and deep links work",
91
+ "userRequirements": "Render an element with the matching id, and add scroll-mt-* when a sticky header overlaps the target"
71
92
  }
72
93
  ],
73
94
  "contentGuidelines": [
@@ -78,7 +78,7 @@
78
78
  ],
79
79
  "package": "@slipstream-ui/core",
80
80
  "importPath": "@slipstream-ui/core",
81
- "version": "0.6.0",
81
+ "version": "0.7.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.6.0",
141
+ "version": "0.7.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.6.0",
7
+ "version": "0.7.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.6.0",
110
+ "version": "0.7.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.6.0",
105
+ "version": "0.7.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.6.0",
115
+ "version": "0.7.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.6.0",
90
+ "version": "0.7.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.6.0",
66
+ "version": "0.7.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.6.0",
164
+ "version": "0.7.0",
165
165
  "sourceDir": "toast",
166
166
  "exportName": "ToastProvider"
167
167
  }
@@ -0,0 +1,97 @@
1
+ {
2
+ "id": "tombstone-card",
3
+ "name": "TombstoneCard",
4
+ "tier": "molecule",
5
+ "package": "@slipstream-ui/core",
6
+ "importPath": "@slipstream-ui/core",
7
+ "version": "0.7.0",
8
+ "sourceDir": "tombstone-card",
9
+ "exportName": "TombstoneCard",
10
+ "description": "Placeholder card for archived, closed or unavailable marketplace items.",
11
+ "designIntent": "Removing unavailable items silently breaks saved links and user expectations. TombstoneCard keeps the item in place and states the reason and status.",
12
+ "props": [
13
+ {
14
+ "name": "title",
15
+ "type": "string",
16
+ "required": true,
17
+ "description": "Listing, deal or document name."
18
+ },
19
+ {
20
+ "name": "reason",
21
+ "type": "string",
22
+ "required": false,
23
+ "description": "Why the item is unavailable."
24
+ },
25
+ {
26
+ "name": "status",
27
+ "type": "'archived' | 'unavailable' | 'closed'",
28
+ "required": false,
29
+ "defaultValue": "unavailable",
30
+ "enum": [
31
+ "archived",
32
+ "unavailable",
33
+ "closed"
34
+ ],
35
+ "description": "Unavailable state."
36
+ },
37
+ {
38
+ "name": "logo",
39
+ "type": "ReactNode",
40
+ "required": false,
41
+ "description": "Logo or document icon slot."
42
+ },
43
+ {
44
+ "name": "href",
45
+ "type": "string",
46
+ "required": false,
47
+ "description": "Optional detail destination."
48
+ },
49
+ {
50
+ "name": "actionLabel",
51
+ "type": "string",
52
+ "required": false,
53
+ "defaultValue": "View details",
54
+ "description": "Link label."
55
+ },
56
+ {
57
+ "name": "linkComponent",
58
+ "type": "React.ElementType",
59
+ "required": false,
60
+ "description": "Custom link element for routers."
61
+ }
62
+ ],
63
+ "examples": [
64
+ {
65
+ "title": "Archived listing",
66
+ "code": "<TombstoneCard\n title=\"Archived listing\"\n reason=\"This listing closed in 2025.\"\n status=\"archived\"\n href=\"/deals/archived\"\n/>",
67
+ "description": "A muted card that explains why the listing is unavailable."
68
+ }
69
+ ],
70
+ "antiPatterns": [
71
+ {
72
+ "title": "Don't remove the item without explanation",
73
+ "explanation": "A saved link or bookmark should still resolve to a card that explains the state.",
74
+ "example": "<TombstoneCard title=\".\" reason=\".\" />"
75
+ }
76
+ ],
77
+ "accessibility": [
78
+ {
79
+ "feature": "Status text",
80
+ "implementation": "The unavailable state is a text badge, not color alone",
81
+ "userRequirements": "Keep the reason specific"
82
+ }
83
+ ],
84
+ "compositionRules": [
85
+ {
86
+ "component": "Grid",
87
+ "relationship": "Use in place of a DealCard or EntityCard when the item is unavailable",
88
+ "example": "<Grid><TombstoneCard ... /></Grid>"
89
+ }
90
+ ],
91
+ "relatedComponents": [
92
+ "Card",
93
+ "Badge",
94
+ "DealCard",
95
+ "EntityCard"
96
+ ]
97
+ }
@@ -109,7 +109,7 @@
109
109
  ],
110
110
  "package": "@slipstream-ui/core",
111
111
  "importPath": "@slipstream-ui/core",
112
- "version": "0.6.0",
112
+ "version": "0.7.0",
113
113
  "sourceDir": "tooltip",
114
114
  "exportName": "Tooltip"
115
115
  }
@@ -3,11 +3,16 @@ declare module 'jest-axe' {
3
3
  violations: unknown[];
4
4
  }
5
5
 
6
+ type AxeOptions = Record<string, unknown>;
7
+
6
8
  /**
7
9
  * Run axe-core against rendered HTML or an element.
8
10
  * Returns a promise compatible with the toHaveNoViolations matcher.
9
11
  */
10
- export function axe(html: string | Element): Promise<AxeResult>;
12
+ export function axe(html: string | Element, options?: AxeOptions): Promise<AxeResult>;
13
+
14
+ /** Create an axe instance with default runner options, e.g. disabled rules. */
15
+ export function configureAxe(options?: AxeOptions): typeof axe;
11
16
 
12
17
  /** Matcher extension object for expect(). */
13
18
  export const toHaveNoViolations: {
@@ -13,8 +13,9 @@ export function useModalLayer(open: boolean) {
13
13
  const id = React.useRef(Symbol('modal-layer'));
14
14
 
15
15
  React.useEffect(() => {
16
+ const layerId = id.current;
16
17
  if (!open) return;
17
- layers.push(id.current);
18
+ layers.push(layerId);
18
19
 
19
20
  if (layers.length === 1) {
20
21
  const previousOverflow = document.body.style.overflow;
@@ -25,7 +26,7 @@ export function useModalLayer(open: boolean) {
25
26
  }
26
27
 
27
28
  return () => {
28
- const index = layers.indexOf(id.current);
29
+ const index = layers.indexOf(layerId);
29
30
  if (index >= 0) layers.splice(index, 1);
30
31
  if (layers.length === 0) {
31
32
  restoreScroll?.();