@slipstream-ui/core 0.10.0 → 0.10.2

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 (335) hide show
  1. package/LICENSE +0 -4
  2. package/dist/index.d.mts +13 -4
  3. package/dist/index.d.ts +13 -4
  4. package/dist/index.js +67 -43
  5. package/dist/index.js.map +1 -1
  6. package/dist/index.mjs +67 -43
  7. package/dist/index.mjs.map +1 -1
  8. package/dist/manifests/accordion.manifest.json +1 -1
  9. package/dist/manifests/alert.manifest.json +1 -1
  10. package/dist/manifests/announcement-bar.manifest.json +1 -1
  11. package/dist/manifests/app-shell.manifest.json +1 -1
  12. package/dist/manifests/applied-filters.manifest.json +1 -1
  13. package/dist/manifests/article-card.manifest.json +1 -1
  14. package/dist/manifests/auth-layout.manifest.json +1 -1
  15. package/dist/manifests/autocomplete.manifest.json +1 -1
  16. package/dist/manifests/avatar.manifest.json +1 -1
  17. package/dist/manifests/badge.manifest.json +1 -1
  18. package/dist/manifests/block.manifest.json +1 -1
  19. package/dist/manifests/bottom-nav.manifest.json +1 -1
  20. package/dist/manifests/breadcrumb.manifest.json +1 -1
  21. package/dist/manifests/button-group.manifest.json +1 -1
  22. package/dist/manifests/button.manifest.json +1 -1
  23. package/dist/manifests/calendar.manifest.json +1 -1
  24. package/dist/manifests/card.manifest.json +1 -1
  25. package/dist/manifests/checkbox.manifest.json +1 -1
  26. package/dist/manifests/comparison-table.manifest.json +1 -1
  27. package/dist/manifests/confirm-dialog.manifest.json +1 -1
  28. package/dist/manifests/contact-strip.manifest.json +1 -1
  29. package/dist/manifests/container.manifest.json +1 -1
  30. package/dist/manifests/cta-section.manifest.json +1 -1
  31. package/dist/manifests/data-table.manifest.json +1 -1
  32. package/dist/manifests/date-picker-popover.manifest.json +1 -1
  33. package/dist/manifests/date-picker.manifest.json +1 -1
  34. package/dist/manifests/date-range-picker.manifest.json +1 -1
  35. package/dist/manifests/deal-card.manifest.json +1 -1
  36. package/dist/manifests/dialog.manifest.json +1 -1
  37. package/dist/manifests/document-card.manifest.json +1 -1
  38. package/dist/manifests/drawer.manifest.json +1 -1
  39. package/dist/manifests/empty-state.manifest.json +1 -1
  40. package/dist/manifests/entity-card.manifest.json +1 -1
  41. package/dist/manifests/feature-grid.manifest.json +1 -1
  42. package/dist/manifests/feature-row.manifest.json +1 -1
  43. package/dist/manifests/fieldset.manifest.json +1 -1
  44. package/dist/manifests/file-upload.manifest.json +1 -1
  45. package/dist/manifests/filter-bar.manifest.json +1 -1
  46. package/dist/manifests/filter-chips.manifest.json +1 -1
  47. package/dist/manifests/filter-panel.manifest.json +1 -1
  48. package/dist/manifests/flex.manifest.json +1 -1
  49. package/dist/manifests/form-field.manifest.json +1 -1
  50. package/dist/manifests/form-layout.manifest.json +1 -1
  51. package/dist/manifests/form.manifest.json +1 -1
  52. package/dist/manifests/grid.manifest.json +1 -1
  53. package/dist/manifests/heading.manifest.json +1 -1
  54. package/dist/manifests/hero.manifest.json +1 -1
  55. package/dist/manifests/image.manifest.json +1 -1
  56. package/dist/manifests/input-group.manifest.json +1 -1
  57. package/dist/manifests/input.manifest.json +1 -1
  58. package/dist/manifests/label.manifest.json +1 -1
  59. package/dist/manifests/link-tabs.manifest.json +1 -1
  60. package/dist/manifests/link.manifest.json +1 -1
  61. package/dist/manifests/list.manifest.json +1 -1
  62. package/dist/manifests/load-more.manifest.json +1 -1
  63. package/dist/manifests/logo-cloud.manifest.json +1 -1
  64. package/dist/manifests/menu.manifest.json +1 -1
  65. package/dist/manifests/metric-card.manifest.json +1 -1
  66. package/dist/manifests/multi-select.manifest.json +1 -1
  67. package/dist/manifests/newsletter.manifest.json +1 -1
  68. package/dist/manifests/page-header.manifest.json +1 -1
  69. package/dist/manifests/pagination.manifest.json +1 -1
  70. package/dist/manifests/password-input.manifest.json +1 -1
  71. package/dist/manifests/popover.manifest.json +1 -1
  72. package/dist/manifests/process-steps.manifest.json +1 -1
  73. package/dist/manifests/progress.manifest.json +1 -1
  74. package/dist/manifests/prose.manifest.json +1 -1
  75. package/dist/manifests/radio.manifest.json +1 -1
  76. package/dist/manifests/range-slider.manifest.json +1 -1
  77. package/dist/manifests/search.manifest.json +1 -1
  78. package/dist/manifests/section-heading.manifest.json +1 -1
  79. package/dist/manifests/section.manifest.json +1 -1
  80. package/dist/manifests/segmented-control.manifest.json +1 -1
  81. package/dist/manifests/select-menu.manifest.json +1 -1
  82. package/dist/manifests/select.manifest.json +1 -1
  83. package/dist/manifests/separator.manifest.json +1 -1
  84. package/dist/manifests/site-footer.manifest.json +1 -1
  85. package/dist/manifests/site-header.manifest.json +1 -1
  86. package/dist/manifests/skeleton.manifest.json +1 -1
  87. package/dist/manifests/spinner.manifest.json +1 -1
  88. package/dist/manifests/stat-band.manifest.json +1 -1
  89. package/dist/manifests/stepper.manifest.json +1 -1
  90. package/dist/manifests/switch.manifest.json +1 -1
  91. package/dist/manifests/table-card.manifest.json +1 -1
  92. package/dist/manifests/table-of-contents.manifest.json +1 -1
  93. package/dist/manifests/table.manifest.json +1 -1
  94. package/dist/manifests/tabs.manifest.json +1 -1
  95. package/dist/manifests/testimonial.manifest.json +1 -1
  96. package/dist/manifests/text.manifest.json +1 -1
  97. package/dist/manifests/textarea.manifest.json +1 -1
  98. package/dist/manifests/theme-toggle.manifest.json +1 -1
  99. package/dist/manifests/time-picker.manifest.json +1 -1
  100. package/dist/manifests/timeline.manifest.json +1 -1
  101. package/dist/manifests/toast.manifest.json +1 -1
  102. package/dist/manifests/tombstone-card.manifest.json +1 -1
  103. package/dist/manifests/tooltip.manifest.json +1 -1
  104. package/dist/src/components/bottom-nav/BottomNav.js +1 -1
  105. package/dist/src/components/bottom-nav/BottomNav.js.map +1 -1
  106. package/dist/src/components/bottom-nav/BottomNav.mjs +1 -1
  107. package/dist/src/components/bottom-nav/BottomNav.mjs.map +1 -1
  108. package/dist/src/components/button/Button.js +1 -1
  109. package/dist/src/components/button/Button.js.map +1 -1
  110. package/dist/src/components/button/Button.mjs +1 -1
  111. package/dist/src/components/button/Button.mjs.map +1 -1
  112. package/dist/src/components/contact-strip/ContactStrip.js +2 -2
  113. package/dist/src/components/contact-strip/ContactStrip.js.map +1 -1
  114. package/dist/src/components/contact-strip/ContactStrip.mjs +2 -2
  115. package/dist/src/components/contact-strip/ContactStrip.mjs.map +1 -1
  116. package/dist/src/components/date-picker-popover/DatePickerPopover.d.ts +3 -0
  117. package/dist/src/components/date-picker-popover/DatePickerPopover.js +5 -1
  118. package/dist/src/components/date-picker-popover/DatePickerPopover.js.map +1 -1
  119. package/dist/src/components/date-picker-popover/DatePickerPopover.mjs +5 -1
  120. package/dist/src/components/date-picker-popover/DatePickerPopover.mjs.map +1 -1
  121. package/dist/src/components/deal-card/DealCard.js +2 -2
  122. package/dist/src/components/deal-card/DealCard.js.map +1 -1
  123. package/dist/src/components/deal-card/DealCard.mjs +2 -2
  124. package/dist/src/components/deal-card/DealCard.mjs.map +1 -1
  125. package/dist/src/components/document-card/DocumentCard.js +1 -1
  126. package/dist/src/components/document-card/DocumentCard.js.map +1 -1
  127. package/dist/src/components/document-card/DocumentCard.mjs +1 -1
  128. package/dist/src/components/document-card/DocumentCard.mjs.map +1 -1
  129. package/dist/src/components/entity-card/EntityCard.js +2 -2
  130. package/dist/src/components/entity-card/EntityCard.js.map +1 -1
  131. package/dist/src/components/entity-card/EntityCard.mjs +2 -2
  132. package/dist/src/components/entity-card/EntityCard.mjs.map +1 -1
  133. package/dist/src/components/feature-grid/FeatureGrid.js +2 -2
  134. package/dist/src/components/feature-grid/FeatureGrid.js.map +1 -1
  135. package/dist/src/components/feature-grid/FeatureGrid.mjs +2 -2
  136. package/dist/src/components/feature-grid/FeatureGrid.mjs.map +1 -1
  137. package/dist/src/components/feature-row/FeatureRow.js +1 -1
  138. package/dist/src/components/feature-row/FeatureRow.js.map +1 -1
  139. package/dist/src/components/feature-row/FeatureRow.mjs +1 -1
  140. package/dist/src/components/feature-row/FeatureRow.mjs.map +1 -1
  141. package/dist/src/components/file-upload/FileUpload.d.ts +8 -2
  142. package/dist/src/components/file-upload/FileUpload.js +12 -2
  143. package/dist/src/components/file-upload/FileUpload.js.map +1 -1
  144. package/dist/src/components/file-upload/FileUpload.mjs +12 -2
  145. package/dist/src/components/file-upload/FileUpload.mjs.map +1 -1
  146. package/dist/src/components/filter-chips/FilterChips.js +1 -1
  147. package/dist/src/components/filter-chips/FilterChips.js.map +1 -1
  148. package/dist/src/components/filter-chips/FilterChips.mjs +1 -1
  149. package/dist/src/components/filter-chips/FilterChips.mjs.map +1 -1
  150. package/dist/src/components/filter-panel/FilterPanel.js +16 -12
  151. package/dist/src/components/filter-panel/FilterPanel.js.map +1 -1
  152. package/dist/src/components/filter-panel/FilterPanel.mjs +16 -12
  153. package/dist/src/components/filter-panel/FilterPanel.mjs.map +1 -1
  154. package/dist/src/components/hero/Hero.js +2 -2
  155. package/dist/src/components/hero/Hero.js.map +1 -1
  156. package/dist/src/components/hero/Hero.mjs +2 -2
  157. package/dist/src/components/hero/Hero.mjs.map +1 -1
  158. package/dist/src/components/image/Image.js +5 -0
  159. package/dist/src/components/image/Image.js.map +1 -1
  160. package/dist/src/components/image/Image.mjs +5 -0
  161. package/dist/src/components/image/Image.mjs.map +1 -1
  162. package/dist/src/components/list/List.js +5 -4
  163. package/dist/src/components/list/List.js.map +1 -1
  164. package/dist/src/components/list/List.mjs +5 -4
  165. package/dist/src/components/list/List.mjs.map +1 -1
  166. package/dist/src/components/menu/Menu.d.ts +2 -2
  167. package/dist/src/components/menu/Menu.js.map +1 -1
  168. package/dist/src/components/menu/Menu.mjs.map +1 -1
  169. package/dist/src/components/process-steps/ProcessSteps.js +1 -1
  170. package/dist/src/components/process-steps/ProcessSteps.js.map +1 -1
  171. package/dist/src/components/process-steps/ProcessSteps.mjs +1 -1
  172. package/dist/src/components/process-steps/ProcessSteps.mjs.map +1 -1
  173. package/dist/src/components/prose/Prose.js +1 -1
  174. package/dist/src/components/prose/Prose.js.map +1 -1
  175. package/dist/src/components/prose/Prose.mjs +1 -1
  176. package/dist/src/components/prose/Prose.mjs.map +1 -1
  177. package/dist/src/components/radio/Radio.js +1 -1
  178. package/dist/src/components/radio/Radio.js.map +1 -1
  179. package/dist/src/components/radio/Radio.mjs +1 -1
  180. package/dist/src/components/radio/Radio.mjs.map +1 -1
  181. package/dist/src/components/select-menu/SelectMenu.js +1 -1
  182. package/dist/src/components/select-menu/SelectMenu.js.map +1 -1
  183. package/dist/src/components/select-menu/SelectMenu.mjs +1 -1
  184. package/dist/src/components/select-menu/SelectMenu.mjs.map +1 -1
  185. package/dist/src/components/stepper/Stepper.js +1 -1
  186. package/dist/src/components/stepper/Stepper.js.map +1 -1
  187. package/dist/src/components/stepper/Stepper.mjs +1 -1
  188. package/dist/src/components/stepper/Stepper.mjs.map +1 -1
  189. package/dist/src/components/table-of-contents/TableOfContents.js +1 -1
  190. package/dist/src/components/table-of-contents/TableOfContents.js.map +1 -1
  191. package/dist/src/components/table-of-contents/TableOfContents.mjs +1 -1
  192. package/dist/src/components/table-of-contents/TableOfContents.mjs.map +1 -1
  193. package/dist/src/components/toast/Toast.js +1 -1
  194. package/dist/src/components/toast/Toast.js.map +1 -1
  195. package/dist/src/components/toast/Toast.mjs +1 -1
  196. package/dist/src/components/toast/Toast.mjs.map +1 -1
  197. package/dist/src/components/toast/Toaster.js +1 -1
  198. package/dist/src/components/toast/Toaster.js.map +1 -1
  199. package/dist/src/components/toast/Toaster.mjs +1 -1
  200. package/dist/src/components/toast/Toaster.mjs.map +1 -1
  201. package/dist/src/components/tombstone-card/TombstoneCard.js +1 -1
  202. package/dist/src/components/tombstone-card/TombstoneCard.js.map +1 -1
  203. package/dist/src/components/tombstone-card/TombstoneCard.mjs +1 -1
  204. package/dist/src/components/tombstone-card/TombstoneCard.mjs.map +1 -1
  205. package/dist/styles-full.css +1 -1
  206. package/dist/styles.css +1 -1
  207. package/package.json +6 -6
  208. package/src/components/bottom-nav/BottomNav.tsx +1 -1
  209. package/src/components/button/Button.tsx +1 -1
  210. package/src/components/calendar/Calendar.test.tsx +1 -1
  211. package/src/components/contact-strip/ContactStrip.tsx +2 -2
  212. package/src/components/date-picker-popover/DatePickerPopover.test.tsx +15 -0
  213. package/src/components/date-picker-popover/DatePickerPopover.tsx +7 -0
  214. package/src/components/deal-card/DealCard.tsx +2 -2
  215. package/src/components/document-card/DocumentCard.tsx +1 -1
  216. package/src/components/entity-card/EntityCard.tsx +2 -2
  217. package/src/components/feature-grid/FeatureGrid.tsx +2 -2
  218. package/src/components/feature-row/FeatureRow.tsx +1 -1
  219. package/src/components/file-upload/FileUpload.test.tsx +10 -0
  220. package/src/components/file-upload/FileUpload.tsx +18 -3
  221. package/src/components/filter-chips/FilterChips.tsx +1 -1
  222. package/src/components/filter-panel/FilterPanel.test.tsx +19 -0
  223. package/src/components/filter-panel/FilterPanel.tsx +18 -14
  224. package/src/components/hero/Hero.tsx +2 -2
  225. package/src/components/image/Image.test.tsx +24 -0
  226. package/src/components/image/Image.tsx +7 -0
  227. package/src/components/list/List.test.tsx +18 -0
  228. package/src/components/list/List.tsx +18 -12
  229. package/src/components/menu/Menu.tsx +2 -2
  230. package/src/components/process-steps/ProcessSteps.tsx +1 -1
  231. package/src/components/prose/Prose.tsx +1 -1
  232. package/src/components/radio/Radio.test.tsx +10 -0
  233. package/src/components/radio/Radio.tsx +1 -1
  234. package/src/components/select-menu/SelectMenu.tsx +1 -1
  235. package/src/components/stepper/Stepper.tsx +1 -1
  236. package/src/components/table-of-contents/TableOfContents.tsx +1 -1
  237. package/src/components/toast/Toast.tsx +1 -1
  238. package/src/components/toast/Toaster.tsx +1 -1
  239. package/src/components/tombstone-card/TombstoneCard.tsx +1 -1
  240. package/src/manifests/accordion.manifest.json +1 -1
  241. package/src/manifests/alert.manifest.json +1 -1
  242. package/src/manifests/announcement-bar.manifest.json +1 -1
  243. package/src/manifests/app-shell.manifest.json +1 -1
  244. package/src/manifests/applied-filters.manifest.json +1 -1
  245. package/src/manifests/article-card.manifest.json +1 -1
  246. package/src/manifests/auth-layout.manifest.json +1 -1
  247. package/src/manifests/autocomplete.manifest.json +1 -1
  248. package/src/manifests/avatar.manifest.json +1 -1
  249. package/src/manifests/badge.manifest.json +1 -1
  250. package/src/manifests/block.manifest.json +1 -1
  251. package/src/manifests/bottom-nav.manifest.json +1 -1
  252. package/src/manifests/breadcrumb.manifest.json +1 -1
  253. package/src/manifests/button-group.manifest.json +1 -1
  254. package/src/manifests/button.manifest.json +1 -1
  255. package/src/manifests/calendar.manifest.json +1 -1
  256. package/src/manifests/card.manifest.json +1 -1
  257. package/src/manifests/checkbox.manifest.json +1 -1
  258. package/src/manifests/comparison-table.manifest.json +1 -1
  259. package/src/manifests/confirm-dialog.manifest.json +1 -1
  260. package/src/manifests/contact-strip.manifest.json +1 -1
  261. package/src/manifests/container.manifest.json +1 -1
  262. package/src/manifests/cta-section.manifest.json +1 -1
  263. package/src/manifests/data-table.manifest.json +1 -1
  264. package/src/manifests/date-picker-popover.manifest.json +1 -1
  265. package/src/manifests/date-picker.manifest.json +1 -1
  266. package/src/manifests/date-range-picker.manifest.json +1 -1
  267. package/src/manifests/deal-card.manifest.json +1 -1
  268. package/src/manifests/dialog.manifest.json +1 -1
  269. package/src/manifests/document-card.manifest.json +1 -1
  270. package/src/manifests/drawer.manifest.json +1 -1
  271. package/src/manifests/empty-state.manifest.json +1 -1
  272. package/src/manifests/entity-card.manifest.json +1 -1
  273. package/src/manifests/feature-grid.manifest.json +1 -1
  274. package/src/manifests/feature-row.manifest.json +1 -1
  275. package/src/manifests/fieldset.manifest.json +1 -1
  276. package/src/manifests/file-upload.manifest.json +1 -1
  277. package/src/manifests/filter-bar.manifest.json +1 -1
  278. package/src/manifests/filter-chips.manifest.json +1 -1
  279. package/src/manifests/filter-panel.manifest.json +1 -1
  280. package/src/manifests/flex.manifest.json +1 -1
  281. package/src/manifests/form-field.manifest.json +1 -1
  282. package/src/manifests/form-layout.manifest.json +1 -1
  283. package/src/manifests/form.manifest.json +1 -1
  284. package/src/manifests/grid.manifest.json +1 -1
  285. package/src/manifests/heading.manifest.json +1 -1
  286. package/src/manifests/hero.manifest.json +1 -1
  287. package/src/manifests/image.manifest.json +1 -1
  288. package/src/manifests/input-group.manifest.json +1 -1
  289. package/src/manifests/input.manifest.json +1 -1
  290. package/src/manifests/label.manifest.json +1 -1
  291. package/src/manifests/link-tabs.manifest.json +1 -1
  292. package/src/manifests/link.manifest.json +1 -1
  293. package/src/manifests/list.manifest.json +1 -1
  294. package/src/manifests/load-more.manifest.json +1 -1
  295. package/src/manifests/logo-cloud.manifest.json +1 -1
  296. package/src/manifests/menu.manifest.json +1 -1
  297. package/src/manifests/metric-card.manifest.json +1 -1
  298. package/src/manifests/multi-select.manifest.json +1 -1
  299. package/src/manifests/newsletter.manifest.json +1 -1
  300. package/src/manifests/page-header.manifest.json +1 -1
  301. package/src/manifests/pagination.manifest.json +1 -1
  302. package/src/manifests/password-input.manifest.json +1 -1
  303. package/src/manifests/popover.manifest.json +1 -1
  304. package/src/manifests/process-steps.manifest.json +1 -1
  305. package/src/manifests/progress.manifest.json +1 -1
  306. package/src/manifests/prose.manifest.json +1 -1
  307. package/src/manifests/radio.manifest.json +1 -1
  308. package/src/manifests/range-slider.manifest.json +1 -1
  309. package/src/manifests/search.manifest.json +1 -1
  310. package/src/manifests/section-heading.manifest.json +1 -1
  311. package/src/manifests/section.manifest.json +1 -1
  312. package/src/manifests/segmented-control.manifest.json +1 -1
  313. package/src/manifests/select-menu.manifest.json +1 -1
  314. package/src/manifests/select.manifest.json +1 -1
  315. package/src/manifests/separator.manifest.json +1 -1
  316. package/src/manifests/site-footer.manifest.json +1 -1
  317. package/src/manifests/site-header.manifest.json +1 -1
  318. package/src/manifests/skeleton.manifest.json +1 -1
  319. package/src/manifests/spinner.manifest.json +1 -1
  320. package/src/manifests/stat-band.manifest.json +1 -1
  321. package/src/manifests/stepper.manifest.json +1 -1
  322. package/src/manifests/switch.manifest.json +1 -1
  323. package/src/manifests/table-card.manifest.json +1 -1
  324. package/src/manifests/table-of-contents.manifest.json +1 -1
  325. package/src/manifests/table.manifest.json +1 -1
  326. package/src/manifests/tabs.manifest.json +1 -1
  327. package/src/manifests/testimonial.manifest.json +1 -1
  328. package/src/manifests/text.manifest.json +1 -1
  329. package/src/manifests/textarea.manifest.json +1 -1
  330. package/src/manifests/theme-toggle.manifest.json +1 -1
  331. package/src/manifests/time-picker.manifest.json +1 -1
  332. package/src/manifests/timeline.manifest.json +1 -1
  333. package/src/manifests/toast.manifest.json +1 -1
  334. package/src/manifests/tombstone-card.manifest.json +1 -1
  335. package/src/manifests/tooltip.manifest.json +1 -1
@@ -204,7 +204,7 @@
204
204
  ],
205
205
  "package": "@slipstream-ui/core",
206
206
  "importPath": "@slipstream-ui/core",
207
- "version": "0.10.0",
207
+ "version": "0.10.2",
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.10.0",
72
+ "version": "0.10.2",
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.10.0",
183
+ "version": "0.10.2",
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.10.0",
7
+ "version": "0.10.2",
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.10.0",
112
+ "version": "0.10.2",
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.10.0",
7
+ "version": "0.10.2",
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.10.0",
184
+ "version": "0.10.2",
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.10.0",
7
+ "version": "0.10.2",
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.10.0",
164
+ "version": "0.10.2",
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.10.0",
7
+ "version": "0.10.2",
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.10.0",
7
+ "version": "0.10.2",
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.10.0",
7
+ "version": "0.10.2",
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.10.0",
7
+ "version": "0.10.2",
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.10.0",
133
+ "version": "0.10.2",
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.10.0",
87
+ "version": "0.10.2",
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.10.0",
7
+ "version": "0.10.2",
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.10.0",
7
+ "version": "0.10.2",
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.",
@@ -126,7 +126,7 @@
126
126
  ],
127
127
  "package": "@slipstream-ui/core",
128
128
  "importPath": "@slipstream-ui/core",
129
- "version": "0.10.0",
129
+ "version": "0.10.2",
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.10.0",
55
+ "version": "0.10.2",
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.10.0",
7
+ "version": "0.10.2",
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.10.0",
162
+ "version": "0.10.2",
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.10.0",
105
+ "version": "0.10.2",
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.10.0",
7
+ "version": "0.10.2",
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.10.0",
7
+ "version": "0.10.2",
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.10.0",
81
+ "version": "0.10.2",
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.10.0",
141
+ "version": "0.10.2",
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.10.0",
7
+ "version": "0.10.2",
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.10.0",
110
+ "version": "0.10.2",
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.10.0",
105
+ "version": "0.10.2",
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.10.0",
115
+ "version": "0.10.2",
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.10.0",
90
+ "version": "0.10.2",
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.10.0",
66
+ "version": "0.10.2",
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.10.0",
164
+ "version": "0.10.2",
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.10.0",
7
+ "version": "0.10.2",
8
8
  "sourceDir": "tombstone-card",
9
9
  "exportName": "TombstoneCard",
10
10
  "description": "Placeholder card for archived, closed or unavailable marketplace items.",
@@ -120,7 +120,7 @@
120
120
  ],
121
121
  "package": "@slipstream-ui/core",
122
122
  "importPath": "@slipstream-ui/core",
123
- "version": "0.10.0",
123
+ "version": "0.10.2",
124
124
  "sourceDir": "tooltip",
125
125
  "exportName": "Tooltip"
126
126
  }
@@ -72,7 +72,7 @@ function BottomNav({
72
72
  "aria-current": item.active ? "page" : void 0,
73
73
  className: (0, import_cn.cn)(
74
74
  tabClass,
75
- item.active ? "text-primary" : "text-muted-foreground hover:text-foreground"
75
+ item.active ? "text-primary-ink" : "text-muted-foreground hover:text-foreground"
76
76
  ),
77
77
  children: content
78
78
  }
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../src/components/bottom-nav/BottomNav.tsx"],"sourcesContent":["import * as React from 'react';\nimport { cn } from '../../utils/cn';\n\nexport type BottomNavItem = {\n /** Destination URL for the tab. */\n href: string;\n /** Visible tab label. */\n label: string;\n /** Icon shown above the label; always rendered aria-hidden. */\n icon?: React.ReactNode;\n /** Marks the current tab and sets aria-current=\"page\". */\n active?: boolean;\n /** Small count or dot shown in the tab's top corner. */\n badge?: React.ReactNode;\n /** Renders the tab as non-interactive. */\n disabled?: boolean;\n};\n\nexport type BottomNavProps = React.HTMLAttributes<HTMLElement> & {\n /** Tabs in order. Keep to 3-5 so every target stays thumb-reachable. */\n items: BottomNavItem[];\n /** Router link component (Next Link, react-router Link). */\n linkComponent?: React.ElementType;\n /** Prop used to pass the destination to `linkComponent`. */\n linkHrefProp?: 'href' | 'to';\n /** Landmark label. Default \"Primary\". */\n label?: string;\n /** Pin the bar to the bottom edge with safe-area padding (default true). */\n fixed?: boolean;\n /** Hide the bar from the md breakpoint up (default true). */\n mobileOnly?: boolean;\n};\n\nconst tabClass =\n 'relative flex min-h-14 w-full flex-col items-center justify-center gap-0.5 px-2 py-2 text-[11px] font-medium transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-inset';\n\n/**\n * Mobile bottom tab bar for the 3-5 primary destinations of an app shell.\n * A nav landmark with aria-current=\"page\" on the active tab, 44px minimum\n * targets, an optional count badge and safe-area padding so the bar clears\n * the iOS home indicator.\n */\nexport function BottomNav({\n items,\n linkComponent,\n linkHrefProp = 'href',\n label = 'Primary',\n fixed = true,\n mobileOnly = true,\n className,\n ...props\n}: BottomNavProps) {\n const LinkEl = linkComponent ?? 'a';\n const destination = (href: string) => (linkHrefProp === 'to' ? { to: href } : { href });\n\n return (\n <nav\n aria-label={label}\n className={cn(\n 'w-full border-t border-border bg-background pb-[env(safe-area-inset-bottom)]',\n fixed && 'fixed inset-x-0 bottom-0 z-40',\n mobileOnly && 'md:hidden',\n className\n )}\n {...props}\n >\n <ul\n className=\"mx-auto grid w-full max-w-lg\"\n style={{ gridTemplateColumns: `repeat(${Math.max(items.length, 1)}, minmax(0, 1fr))` }}\n >\n {items.map((item) => {\n const content = (\n <>\n {item.icon && (\n <span aria-hidden=\"true\" className=\"[&_svg]:size-5\">\n {item.icon}\n </span>\n )}\n <span>{item.label}</span>\n {item.badge != null && (\n <span className=\"absolute right-1/4 top-1 rounded-full bg-primary px-1.5 text-[10px] font-semibold leading-4 text-primary-foreground\">\n {item.badge}\n </span>\n )}\n </>\n );\n\n return (\n <li key={item.href}>\n {item.disabled ? (\n <span\n aria-disabled=\"true\"\n className={cn(tabClass, 'text-muted-foreground opacity-50')}\n >\n {content}\n </span>\n ) : (\n <LinkEl\n {...destination(item.href)}\n aria-current={item.active ? 'page' : undefined}\n className={cn(\n tabClass,\n item.active\n ? 'text-primary'\n : 'text-muted-foreground hover:text-foreground'\n )}\n >\n {content}\n </LinkEl>\n )}\n </li>\n );\n })}\n </ul>\n </nav>\n );\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAwEY;AAvEZ,gBAAmB;AAgCnB,MAAM,WACJ;AAQK,SAAS,UAAU;AAAA,EACxB;AAAA,EACA;AAAA,EACA,eAAe;AAAA,EACf,QAAQ;AAAA,EACR,QAAQ;AAAA,EACR,aAAa;AAAA,EACb;AAAA,EACA,GAAG;AACL,GAAmB;AACjB,QAAM,SAAS,iBAAiB;AAChC,QAAM,cAAc,CAAC,SAAkB,iBAAiB,OAAO,EAAE,IAAI,KAAK,IAAI,EAAE,KAAK;AAErF,SACE;AAAA,IAAC;AAAA;AAAA,MACC,cAAY;AAAA,MACZ,eAAW;AAAA,QACT;AAAA,QACA,SAAS;AAAA,QACT,cAAc;AAAA,QACd;AAAA,MACF;AAAA,MACC,GAAG;AAAA,MAEJ;AAAA,QAAC;AAAA;AAAA,UACC,WAAU;AAAA,UACV,OAAO,EAAE,qBAAqB,UAAU,KAAK,IAAI,MAAM,QAAQ,CAAC,CAAC,oBAAoB;AAAA,UAEpF,gBAAM,IAAI,CAAC,SAAS;AACnB,kBAAM,UACJ,4EACG;AAAA,mBAAK,QACJ,4CAAC,UAAK,eAAY,QAAO,WAAU,kBAChC,eAAK,MACR;AAAA,cAEF,4CAAC,UAAM,eAAK,OAAM;AAAA,cACjB,KAAK,SAAS,QACb,4CAAC,UAAK,WAAU,uHACb,eAAK,OACR;AAAA,eAEJ;AAGF,mBACE,4CAAC,QACE,eAAK,WACJ;AAAA,cAAC;AAAA;AAAA,gBACC,iBAAc;AAAA,gBACd,eAAW,cAAG,UAAU,kCAAkC;AAAA,gBAEzD;AAAA;AAAA,YACH,IAEA;AAAA,cAAC;AAAA;AAAA,gBACE,GAAG,YAAY,KAAK,IAAI;AAAA,gBACzB,gBAAc,KAAK,SAAS,SAAS;AAAA,gBACrC,eAAW;AAAA,kBACT;AAAA,kBACA,KAAK,SACD,iBACA;AAAA,gBACN;AAAA,gBAEC;AAAA;AAAA,YACH,KApBK,KAAK,IAsBd;AAAA,UAEJ,CAAC;AAAA;AAAA,MACH;AAAA;AAAA,EACF;AAEJ;","names":[]}
1
+ {"version":3,"sources":["../../../../src/components/bottom-nav/BottomNav.tsx"],"sourcesContent":["import * as React from 'react';\nimport { cn } from '../../utils/cn';\n\nexport type BottomNavItem = {\n /** Destination URL for the tab. */\n href: string;\n /** Visible tab label. */\n label: string;\n /** Icon shown above the label; always rendered aria-hidden. */\n icon?: React.ReactNode;\n /** Marks the current tab and sets aria-current=\"page\". */\n active?: boolean;\n /** Small count or dot shown in the tab's top corner. */\n badge?: React.ReactNode;\n /** Renders the tab as non-interactive. */\n disabled?: boolean;\n};\n\nexport type BottomNavProps = React.HTMLAttributes<HTMLElement> & {\n /** Tabs in order. Keep to 3-5 so every target stays thumb-reachable. */\n items: BottomNavItem[];\n /** Router link component (Next Link, react-router Link). */\n linkComponent?: React.ElementType;\n /** Prop used to pass the destination to `linkComponent`. */\n linkHrefProp?: 'href' | 'to';\n /** Landmark label. Default \"Primary\". */\n label?: string;\n /** Pin the bar to the bottom edge with safe-area padding (default true). */\n fixed?: boolean;\n /** Hide the bar from the md breakpoint up (default true). */\n mobileOnly?: boolean;\n};\n\nconst tabClass =\n 'relative flex min-h-14 w-full flex-col items-center justify-center gap-0.5 px-2 py-2 text-[11px] font-medium transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-inset';\n\n/**\n * Mobile bottom tab bar for the 3-5 primary destinations of an app shell.\n * A nav landmark with aria-current=\"page\" on the active tab, 44px minimum\n * targets, an optional count badge and safe-area padding so the bar clears\n * the iOS home indicator.\n */\nexport function BottomNav({\n items,\n linkComponent,\n linkHrefProp = 'href',\n label = 'Primary',\n fixed = true,\n mobileOnly = true,\n className,\n ...props\n}: BottomNavProps) {\n const LinkEl = linkComponent ?? 'a';\n const destination = (href: string) => (linkHrefProp === 'to' ? { to: href } : { href });\n\n return (\n <nav\n aria-label={label}\n className={cn(\n 'w-full border-t border-border bg-background pb-[env(safe-area-inset-bottom)]',\n fixed && 'fixed inset-x-0 bottom-0 z-40',\n mobileOnly && 'md:hidden',\n className\n )}\n {...props}\n >\n <ul\n className=\"mx-auto grid w-full max-w-lg\"\n style={{ gridTemplateColumns: `repeat(${Math.max(items.length, 1)}, minmax(0, 1fr))` }}\n >\n {items.map((item) => {\n const content = (\n <>\n {item.icon && (\n <span aria-hidden=\"true\" className=\"[&_svg]:size-5\">\n {item.icon}\n </span>\n )}\n <span>{item.label}</span>\n {item.badge != null && (\n <span className=\"absolute right-1/4 top-1 rounded-full bg-primary px-1.5 text-[10px] font-semibold leading-4 text-primary-foreground\">\n {item.badge}\n </span>\n )}\n </>\n );\n\n return (\n <li key={item.href}>\n {item.disabled ? (\n <span\n aria-disabled=\"true\"\n className={cn(tabClass, 'text-muted-foreground opacity-50')}\n >\n {content}\n </span>\n ) : (\n <LinkEl\n {...destination(item.href)}\n aria-current={item.active ? 'page' : undefined}\n className={cn(\n tabClass,\n item.active\n ? 'text-primary-ink'\n : 'text-muted-foreground hover:text-foreground'\n )}\n >\n {content}\n </LinkEl>\n )}\n </li>\n );\n })}\n </ul>\n </nav>\n );\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAwEY;AAvEZ,gBAAmB;AAgCnB,MAAM,WACJ;AAQK,SAAS,UAAU;AAAA,EACxB;AAAA,EACA;AAAA,EACA,eAAe;AAAA,EACf,QAAQ;AAAA,EACR,QAAQ;AAAA,EACR,aAAa;AAAA,EACb;AAAA,EACA,GAAG;AACL,GAAmB;AACjB,QAAM,SAAS,iBAAiB;AAChC,QAAM,cAAc,CAAC,SAAkB,iBAAiB,OAAO,EAAE,IAAI,KAAK,IAAI,EAAE,KAAK;AAErF,SACE;AAAA,IAAC;AAAA;AAAA,MACC,cAAY;AAAA,MACZ,eAAW;AAAA,QACT;AAAA,QACA,SAAS;AAAA,QACT,cAAc;AAAA,QACd;AAAA,MACF;AAAA,MACC,GAAG;AAAA,MAEJ;AAAA,QAAC;AAAA;AAAA,UACC,WAAU;AAAA,UACV,OAAO,EAAE,qBAAqB,UAAU,KAAK,IAAI,MAAM,QAAQ,CAAC,CAAC,oBAAoB;AAAA,UAEpF,gBAAM,IAAI,CAAC,SAAS;AACnB,kBAAM,UACJ,4EACG;AAAA,mBAAK,QACJ,4CAAC,UAAK,eAAY,QAAO,WAAU,kBAChC,eAAK,MACR;AAAA,cAEF,4CAAC,UAAM,eAAK,OAAM;AAAA,cACjB,KAAK,SAAS,QACb,4CAAC,UAAK,WAAU,uHACb,eAAK,OACR;AAAA,eAEJ;AAGF,mBACE,4CAAC,QACE,eAAK,WACJ;AAAA,cAAC;AAAA;AAAA,gBACC,iBAAc;AAAA,gBACd,eAAW,cAAG,UAAU,kCAAkC;AAAA,gBAEzD;AAAA;AAAA,YACH,IAEA;AAAA,cAAC;AAAA;AAAA,gBACE,GAAG,YAAY,KAAK,IAAI;AAAA,gBACzB,gBAAc,KAAK,SAAS,SAAS;AAAA,gBACrC,eAAW;AAAA,kBACT;AAAA,kBACA,KAAK,SACD,qBACA;AAAA,gBACN;AAAA,gBAEC;AAAA;AAAA,YACH,KApBK,KAAK,IAsBd;AAAA,UAEJ,CAAC;AAAA;AAAA,MACH;AAAA;AAAA,EACF;AAEJ;","names":[]}
@@ -49,7 +49,7 @@ function BottomNav({
49
49
  "aria-current": item.active ? "page" : void 0,
50
50
  className: cn(
51
51
  tabClass,
52
- item.active ? "text-primary" : "text-muted-foreground hover:text-foreground"
52
+ item.active ? "text-primary-ink" : "text-muted-foreground hover:text-foreground"
53
53
  ),
54
54
  children: content
55
55
  }
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../src/components/bottom-nav/BottomNav.tsx"],"sourcesContent":["import * as React from 'react';\nimport { cn } from '../../utils/cn';\n\nexport type BottomNavItem = {\n /** Destination URL for the tab. */\n href: string;\n /** Visible tab label. */\n label: string;\n /** Icon shown above the label; always rendered aria-hidden. */\n icon?: React.ReactNode;\n /** Marks the current tab and sets aria-current=\"page\". */\n active?: boolean;\n /** Small count or dot shown in the tab's top corner. */\n badge?: React.ReactNode;\n /** Renders the tab as non-interactive. */\n disabled?: boolean;\n};\n\nexport type BottomNavProps = React.HTMLAttributes<HTMLElement> & {\n /** Tabs in order. Keep to 3-5 so every target stays thumb-reachable. */\n items: BottomNavItem[];\n /** Router link component (Next Link, react-router Link). */\n linkComponent?: React.ElementType;\n /** Prop used to pass the destination to `linkComponent`. */\n linkHrefProp?: 'href' | 'to';\n /** Landmark label. Default \"Primary\". */\n label?: string;\n /** Pin the bar to the bottom edge with safe-area padding (default true). */\n fixed?: boolean;\n /** Hide the bar from the md breakpoint up (default true). */\n mobileOnly?: boolean;\n};\n\nconst tabClass =\n 'relative flex min-h-14 w-full flex-col items-center justify-center gap-0.5 px-2 py-2 text-[11px] font-medium transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-inset';\n\n/**\n * Mobile bottom tab bar for the 3-5 primary destinations of an app shell.\n * A nav landmark with aria-current=\"page\" on the active tab, 44px minimum\n * targets, an optional count badge and safe-area padding so the bar clears\n * the iOS home indicator.\n */\nexport function BottomNav({\n items,\n linkComponent,\n linkHrefProp = 'href',\n label = 'Primary',\n fixed = true,\n mobileOnly = true,\n className,\n ...props\n}: BottomNavProps) {\n const LinkEl = linkComponent ?? 'a';\n const destination = (href: string) => (linkHrefProp === 'to' ? { to: href } : { href });\n\n return (\n <nav\n aria-label={label}\n className={cn(\n 'w-full border-t border-border bg-background pb-[env(safe-area-inset-bottom)]',\n fixed && 'fixed inset-x-0 bottom-0 z-40',\n mobileOnly && 'md:hidden',\n className\n )}\n {...props}\n >\n <ul\n className=\"mx-auto grid w-full max-w-lg\"\n style={{ gridTemplateColumns: `repeat(${Math.max(items.length, 1)}, minmax(0, 1fr))` }}\n >\n {items.map((item) => {\n const content = (\n <>\n {item.icon && (\n <span aria-hidden=\"true\" className=\"[&_svg]:size-5\">\n {item.icon}\n </span>\n )}\n <span>{item.label}</span>\n {item.badge != null && (\n <span className=\"absolute right-1/4 top-1 rounded-full bg-primary px-1.5 text-[10px] font-semibold leading-4 text-primary-foreground\">\n {item.badge}\n </span>\n )}\n </>\n );\n\n return (\n <li key={item.href}>\n {item.disabled ? (\n <span\n aria-disabled=\"true\"\n className={cn(tabClass, 'text-muted-foreground opacity-50')}\n >\n {content}\n </span>\n ) : (\n <LinkEl\n {...destination(item.href)}\n aria-current={item.active ? 'page' : undefined}\n className={cn(\n tabClass,\n item.active\n ? 'text-primary'\n : 'text-muted-foreground hover:text-foreground'\n )}\n >\n {content}\n </LinkEl>\n )}\n </li>\n );\n })}\n </ul>\n </nav>\n );\n}\n"],"mappings":"AAwEY,mBAEI,KAFJ;AAvEZ,SAAS,UAAU;AAgCnB,MAAM,WACJ;AAQK,SAAS,UAAU;AAAA,EACxB;AAAA,EACA;AAAA,EACA,eAAe;AAAA,EACf,QAAQ;AAAA,EACR,QAAQ;AAAA,EACR,aAAa;AAAA,EACb;AAAA,EACA,GAAG;AACL,GAAmB;AACjB,QAAM,SAAS,iBAAiB;AAChC,QAAM,cAAc,CAAC,SAAkB,iBAAiB,OAAO,EAAE,IAAI,KAAK,IAAI,EAAE,KAAK;AAErF,SACE;AAAA,IAAC;AAAA;AAAA,MACC,cAAY;AAAA,MACZ,WAAW;AAAA,QACT;AAAA,QACA,SAAS;AAAA,QACT,cAAc;AAAA,QACd;AAAA,MACF;AAAA,MACC,GAAG;AAAA,MAEJ;AAAA,QAAC;AAAA;AAAA,UACC,WAAU;AAAA,UACV,OAAO,EAAE,qBAAqB,UAAU,KAAK,IAAI,MAAM,QAAQ,CAAC,CAAC,oBAAoB;AAAA,UAEpF,gBAAM,IAAI,CAAC,SAAS;AACnB,kBAAM,UACJ,iCACG;AAAA,mBAAK,QACJ,oBAAC,UAAK,eAAY,QAAO,WAAU,kBAChC,eAAK,MACR;AAAA,cAEF,oBAAC,UAAM,eAAK,OAAM;AAAA,cACjB,KAAK,SAAS,QACb,oBAAC,UAAK,WAAU,uHACb,eAAK,OACR;AAAA,eAEJ;AAGF,mBACE,oBAAC,QACE,eAAK,WACJ;AAAA,cAAC;AAAA;AAAA,gBACC,iBAAc;AAAA,gBACd,WAAW,GAAG,UAAU,kCAAkC;AAAA,gBAEzD;AAAA;AAAA,YACH,IAEA;AAAA,cAAC;AAAA;AAAA,gBACE,GAAG,YAAY,KAAK,IAAI;AAAA,gBACzB,gBAAc,KAAK,SAAS,SAAS;AAAA,gBACrC,WAAW;AAAA,kBACT;AAAA,kBACA,KAAK,SACD,iBACA;AAAA,gBACN;AAAA,gBAEC;AAAA;AAAA,YACH,KApBK,KAAK,IAsBd;AAAA,UAEJ,CAAC;AAAA;AAAA,MACH;AAAA;AAAA,EACF;AAEJ;","names":[]}
1
+ {"version":3,"sources":["../../../../src/components/bottom-nav/BottomNav.tsx"],"sourcesContent":["import * as React from 'react';\nimport { cn } from '../../utils/cn';\n\nexport type BottomNavItem = {\n /** Destination URL for the tab. */\n href: string;\n /** Visible tab label. */\n label: string;\n /** Icon shown above the label; always rendered aria-hidden. */\n icon?: React.ReactNode;\n /** Marks the current tab and sets aria-current=\"page\". */\n active?: boolean;\n /** Small count or dot shown in the tab's top corner. */\n badge?: React.ReactNode;\n /** Renders the tab as non-interactive. */\n disabled?: boolean;\n};\n\nexport type BottomNavProps = React.HTMLAttributes<HTMLElement> & {\n /** Tabs in order. Keep to 3-5 so every target stays thumb-reachable. */\n items: BottomNavItem[];\n /** Router link component (Next Link, react-router Link). */\n linkComponent?: React.ElementType;\n /** Prop used to pass the destination to `linkComponent`. */\n linkHrefProp?: 'href' | 'to';\n /** Landmark label. Default \"Primary\". */\n label?: string;\n /** Pin the bar to the bottom edge with safe-area padding (default true). */\n fixed?: boolean;\n /** Hide the bar from the md breakpoint up (default true). */\n mobileOnly?: boolean;\n};\n\nconst tabClass =\n 'relative flex min-h-14 w-full flex-col items-center justify-center gap-0.5 px-2 py-2 text-[11px] font-medium transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-inset';\n\n/**\n * Mobile bottom tab bar for the 3-5 primary destinations of an app shell.\n * A nav landmark with aria-current=\"page\" on the active tab, 44px minimum\n * targets, an optional count badge and safe-area padding so the bar clears\n * the iOS home indicator.\n */\nexport function BottomNav({\n items,\n linkComponent,\n linkHrefProp = 'href',\n label = 'Primary',\n fixed = true,\n mobileOnly = true,\n className,\n ...props\n}: BottomNavProps) {\n const LinkEl = linkComponent ?? 'a';\n const destination = (href: string) => (linkHrefProp === 'to' ? { to: href } : { href });\n\n return (\n <nav\n aria-label={label}\n className={cn(\n 'w-full border-t border-border bg-background pb-[env(safe-area-inset-bottom)]',\n fixed && 'fixed inset-x-0 bottom-0 z-40',\n mobileOnly && 'md:hidden',\n className\n )}\n {...props}\n >\n <ul\n className=\"mx-auto grid w-full max-w-lg\"\n style={{ gridTemplateColumns: `repeat(${Math.max(items.length, 1)}, minmax(0, 1fr))` }}\n >\n {items.map((item) => {\n const content = (\n <>\n {item.icon && (\n <span aria-hidden=\"true\" className=\"[&_svg]:size-5\">\n {item.icon}\n </span>\n )}\n <span>{item.label}</span>\n {item.badge != null && (\n <span className=\"absolute right-1/4 top-1 rounded-full bg-primary px-1.5 text-[10px] font-semibold leading-4 text-primary-foreground\">\n {item.badge}\n </span>\n )}\n </>\n );\n\n return (\n <li key={item.href}>\n {item.disabled ? (\n <span\n aria-disabled=\"true\"\n className={cn(tabClass, 'text-muted-foreground opacity-50')}\n >\n {content}\n </span>\n ) : (\n <LinkEl\n {...destination(item.href)}\n aria-current={item.active ? 'page' : undefined}\n className={cn(\n tabClass,\n item.active\n ? 'text-primary-ink'\n : 'text-muted-foreground hover:text-foreground'\n )}\n >\n {content}\n </LinkEl>\n )}\n </li>\n );\n })}\n </ul>\n </nav>\n );\n}\n"],"mappings":"AAwEY,mBAEI,KAFJ;AAvEZ,SAAS,UAAU;AAgCnB,MAAM,WACJ;AAQK,SAAS,UAAU;AAAA,EACxB;AAAA,EACA;AAAA,EACA,eAAe;AAAA,EACf,QAAQ;AAAA,EACR,QAAQ;AAAA,EACR,aAAa;AAAA,EACb;AAAA,EACA,GAAG;AACL,GAAmB;AACjB,QAAM,SAAS,iBAAiB;AAChC,QAAM,cAAc,CAAC,SAAkB,iBAAiB,OAAO,EAAE,IAAI,KAAK,IAAI,EAAE,KAAK;AAErF,SACE;AAAA,IAAC;AAAA;AAAA,MACC,cAAY;AAAA,MACZ,WAAW;AAAA,QACT;AAAA,QACA,SAAS;AAAA,QACT,cAAc;AAAA,QACd;AAAA,MACF;AAAA,MACC,GAAG;AAAA,MAEJ;AAAA,QAAC;AAAA;AAAA,UACC,WAAU;AAAA,UACV,OAAO,EAAE,qBAAqB,UAAU,KAAK,IAAI,MAAM,QAAQ,CAAC,CAAC,oBAAoB;AAAA,UAEpF,gBAAM,IAAI,CAAC,SAAS;AACnB,kBAAM,UACJ,iCACG;AAAA,mBAAK,QACJ,oBAAC,UAAK,eAAY,QAAO,WAAU,kBAChC,eAAK,MACR;AAAA,cAEF,oBAAC,UAAM,eAAK,OAAM;AAAA,cACjB,KAAK,SAAS,QACb,oBAAC,UAAK,WAAU,uHACb,eAAK,OACR;AAAA,eAEJ;AAGF,mBACE,oBAAC,QACE,eAAK,WACJ;AAAA,cAAC;AAAA;AAAA,gBACC,iBAAc;AAAA,gBACd,WAAW,GAAG,UAAU,kCAAkC;AAAA,gBAEzD;AAAA;AAAA,YACH,IAEA;AAAA,cAAC;AAAA;AAAA,gBACE,GAAG,YAAY,KAAK,IAAI;AAAA,gBACzB,gBAAc,KAAK,SAAS,SAAS;AAAA,gBACrC,WAAW;AAAA,kBACT;AAAA,kBACA,KAAK,SACD,qBACA;AAAA,gBACN;AAAA,gBAEC;AAAA;AAAA,YACH,KApBK,KAAK,IAsBd;AAAA,UAEJ,CAAC;AAAA;AAAA,MACH;AAAA;AAAA,EACF;AAEJ;","names":[]}
@@ -60,7 +60,7 @@ const buttonVariants = (0, import_class_variance_authority.cva)(
60
60
  "outline-info": "border border-info/50 bg-background text-info-ink hover:border-info hover:bg-info/10",
61
61
  secondary: "bg-secondary text-secondary-foreground hover:bg-secondary/80",
62
62
  ghost: "hover:bg-accent hover:text-accent-foreground",
63
- link: "text-primary underline-offset-4 hover:underline",
63
+ link: "text-primary-ink underline-offset-4 hover:underline",
64
64
  // High-contrast fills for hero and other always-dark surfaces. These
65
65
  // do not read the theme surface, so they stay legible in both modes.
66
66
  // Fixed ink, not --primary: in dark mode --primary lightens and would
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../src/components/button/Button.tsx"],"sourcesContent":["import * as React from 'react';\nimport { Slot } from '@radix-ui/react-slot';\nimport { cva, type VariantProps } from 'class-variance-authority';\nimport { cn } from '../../utils/cn';\n\nconst buttonVariants = cva(\n 'inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0',\n {\n variants: {\n variant: {\n default: 'bg-primary text-primary-foreground hover:bg-primary/90',\n primary: 'bg-primary text-primary-foreground hover:bg-primary/90',\n destructive: 'bg-destructive text-destructive-foreground hover:bg-destructive/90',\n danger: 'bg-destructive text-destructive-foreground hover:bg-destructive/90',\n // Semantic status variants — foregrounds are the paired AA tokens\n // (white on dark green, ink on amber/cyan) in both themes.\n success: 'bg-success text-success-foreground hover:bg-success/90',\n warning: 'bg-warning text-warning-foreground hover:bg-warning/90',\n info: 'bg-info text-info-foreground hover:bg-info/90',\n outline: 'border border-input bg-background hover:bg-accent hover:text-accent-foreground',\n // Colored outlines: semantic border + AA ink label on the page\n // surface, with a faint tint on hover - mirrors the Alert recipe.\n 'outline-destructive':\n 'border border-destructive/50 bg-background text-destructive hover:border-destructive hover:bg-destructive/10',\n 'outline-success':\n 'border border-success/50 bg-background text-success hover:border-success hover:bg-success/10',\n 'outline-warning':\n 'border border-warning/50 bg-background text-warning-ink hover:border-warning hover:bg-warning/10',\n 'outline-info':\n 'border border-info/50 bg-background text-info-ink hover:border-info hover:bg-info/10',\n secondary: 'bg-secondary text-secondary-foreground hover:bg-secondary/80',\n ghost: 'hover:bg-accent hover:text-accent-foreground',\n link: 'text-primary underline-offset-4 hover:underline',\n // High-contrast fills for hero and other always-dark surfaces. These\n // do not read the theme surface, so they stay legible in both modes.\n // Fixed ink, not --primary: in dark mode --primary lightens and would\n // sit at low contrast on the white surface.\n contrast: 'bg-white text-slate-900 shadow-sm hover:bg-slate-100',\n onDark:\n 'border border-white/45 bg-transparent text-white hover:border-white/70 hover:bg-white/10',\n },\n size: {\n default: 'h-10 px-4 py-2',\n sm: 'h-9 rounded-md px-3',\n lg: 'h-11 rounded-md px-8',\n icon: 'h-10 w-10',\n },\n },\n defaultVariants: {\n variant: 'default',\n size: 'default',\n },\n }\n);\n\nexport type ButtonProps = React.ButtonHTMLAttributes<HTMLButtonElement> & VariantProps<typeof buttonVariants> & {\n asChild?: boolean;\n /** Shows a spinner, disables the button and sets aria-busy while an action runs. */\n loading?: boolean;\n /** Screen-reader text while loading (default \"Loading\"). */\n loadingLabel?: string;\n};\n\nconst Button = React.forwardRef<HTMLButtonElement, ButtonProps>(\n ({ className, variant, size, asChild = false, loading = false, loadingLabel = 'Loading', disabled, children, ...props }, ref) => {\n const Comp = asChild ? Slot : 'button';\n if (asChild) {\n return (\n <Comp className={cn(buttonVariants({ variant, size, className }))} ref={ref} {...props}>\n {children}\n </Comp>\n );\n }\n return (\n <button\n className={cn(buttonVariants({ variant, size, className }))}\n ref={ref}\n disabled={disabled || loading}\n aria-busy={loading || undefined}\n {...props}\n >\n {loading && (\n <span\n aria-hidden=\"true\"\n className=\"h-4 w-4 shrink-0 animate-spin rounded-full border-2 border-current border-t-transparent\"\n />\n )}\n {loading && <span className=\"sr-only\">{loadingLabel}</span>}\n {children}\n </button>\n );\n }\n);\nButton.displayName = 'Button';\n\nexport { Button, buttonVariants };\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAoEQ;AApER,YAAuB;AACvB,wBAAqB;AACrB,sCAAuC;AACvC,gBAAmB;AAEnB,MAAM,qBAAiB;AAAA,EACrB;AAAA,EACA;AAAA,IACE,UAAU;AAAA,MACR,SAAS;AAAA,QACP,SAAS;AAAA,QACT,SAAS;AAAA,QACT,aAAa;AAAA,QACb,QAAQ;AAAA;AAAA;AAAA,QAGR,SAAS;AAAA,QACT,SAAS;AAAA,QACT,MAAM;AAAA,QACN,SAAS;AAAA;AAAA;AAAA,QAGT,uBACE;AAAA,QACF,mBACE;AAAA,QACF,mBACE;AAAA,QACF,gBACE;AAAA,QACF,WAAW;AAAA,QACX,OAAO;AAAA,QACP,MAAM;AAAA;AAAA;AAAA;AAAA;AAAA,QAKN,UAAU;AAAA,QACV,QACE;AAAA,MACJ;AAAA,MACA,MAAM;AAAA,QACJ,SAAS;AAAA,QACT,IAAI;AAAA,QACJ,IAAI;AAAA,QACJ,MAAM;AAAA,MACR;AAAA,IACF;AAAA,IACA,iBAAiB;AAAA,MACf,SAAS;AAAA,MACT,MAAM;AAAA,IACR;AAAA,EACF;AACF;AAUA,MAAM,SAAS,MAAM;AAAA,EACnB,CAAC,EAAE,WAAW,SAAS,MAAM,UAAU,OAAO,UAAU,OAAO,eAAe,WAAW,UAAU,UAAU,GAAG,MAAM,GAAG,QAAQ;AAC/H,UAAM,OAAO,UAAU,yBAAO;AAC9B,QAAI,SAAS;AACX,aACE,4CAAC,QAAK,eAAW,cAAG,eAAe,EAAE,SAAS,MAAM,UAAU,CAAC,CAAC,GAAG,KAAW,GAAG,OAC9E,UACH;AAAA,IAEJ;AACA,WACE;AAAA,MAAC;AAAA;AAAA,QACC,eAAW,cAAG,eAAe,EAAE,SAAS,MAAM,UAAU,CAAC,CAAC;AAAA,QAC1D;AAAA,QACA,UAAU,YAAY;AAAA,QACtB,aAAW,WAAW;AAAA,QACrB,GAAG;AAAA,QAEH;AAAA,qBACC;AAAA,YAAC;AAAA;AAAA,cACC,eAAY;AAAA,cACZ,WAAU;AAAA;AAAA,UACZ;AAAA,UAED,WAAW,4CAAC,UAAK,WAAU,WAAW,wBAAa;AAAA,UACnD;AAAA;AAAA;AAAA,IACH;AAAA,EAEJ;AACF;AACA,OAAO,cAAc;","names":[]}
1
+ {"version":3,"sources":["../../../../src/components/button/Button.tsx"],"sourcesContent":["import * as React from 'react';\nimport { Slot } from '@radix-ui/react-slot';\nimport { cva, type VariantProps } from 'class-variance-authority';\nimport { cn } from '../../utils/cn';\n\nconst buttonVariants = cva(\n 'inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0',\n {\n variants: {\n variant: {\n default: 'bg-primary text-primary-foreground hover:bg-primary/90',\n primary: 'bg-primary text-primary-foreground hover:bg-primary/90',\n destructive: 'bg-destructive text-destructive-foreground hover:bg-destructive/90',\n danger: 'bg-destructive text-destructive-foreground hover:bg-destructive/90',\n // Semantic status variants — foregrounds are the paired AA tokens\n // (white on dark green, ink on amber/cyan) in both themes.\n success: 'bg-success text-success-foreground hover:bg-success/90',\n warning: 'bg-warning text-warning-foreground hover:bg-warning/90',\n info: 'bg-info text-info-foreground hover:bg-info/90',\n outline: 'border border-input bg-background hover:bg-accent hover:text-accent-foreground',\n // Colored outlines: semantic border + AA ink label on the page\n // surface, with a faint tint on hover - mirrors the Alert recipe.\n 'outline-destructive':\n 'border border-destructive/50 bg-background text-destructive hover:border-destructive hover:bg-destructive/10',\n 'outline-success':\n 'border border-success/50 bg-background text-success hover:border-success hover:bg-success/10',\n 'outline-warning':\n 'border border-warning/50 bg-background text-warning-ink hover:border-warning hover:bg-warning/10',\n 'outline-info':\n 'border border-info/50 bg-background text-info-ink hover:border-info hover:bg-info/10',\n secondary: 'bg-secondary text-secondary-foreground hover:bg-secondary/80',\n ghost: 'hover:bg-accent hover:text-accent-foreground',\n link: 'text-primary-ink underline-offset-4 hover:underline',\n // High-contrast fills for hero and other always-dark surfaces. These\n // do not read the theme surface, so they stay legible in both modes.\n // Fixed ink, not --primary: in dark mode --primary lightens and would\n // sit at low contrast on the white surface.\n contrast: 'bg-white text-slate-900 shadow-sm hover:bg-slate-100',\n onDark:\n 'border border-white/45 bg-transparent text-white hover:border-white/70 hover:bg-white/10',\n },\n size: {\n default: 'h-10 px-4 py-2',\n sm: 'h-9 rounded-md px-3',\n lg: 'h-11 rounded-md px-8',\n icon: 'h-10 w-10',\n },\n },\n defaultVariants: {\n variant: 'default',\n size: 'default',\n },\n }\n);\n\nexport type ButtonProps = React.ButtonHTMLAttributes<HTMLButtonElement> & VariantProps<typeof buttonVariants> & {\n asChild?: boolean;\n /** Shows a spinner, disables the button and sets aria-busy while an action runs. */\n loading?: boolean;\n /** Screen-reader text while loading (default \"Loading\"). */\n loadingLabel?: string;\n};\n\nconst Button = React.forwardRef<HTMLButtonElement, ButtonProps>(\n ({ className, variant, size, asChild = false, loading = false, loadingLabel = 'Loading', disabled, children, ...props }, ref) => {\n const Comp = asChild ? Slot : 'button';\n if (asChild) {\n return (\n <Comp className={cn(buttonVariants({ variant, size, className }))} ref={ref} {...props}>\n {children}\n </Comp>\n );\n }\n return (\n <button\n className={cn(buttonVariants({ variant, size, className }))}\n ref={ref}\n disabled={disabled || loading}\n aria-busy={loading || undefined}\n {...props}\n >\n {loading && (\n <span\n aria-hidden=\"true\"\n className=\"h-4 w-4 shrink-0 animate-spin rounded-full border-2 border-current border-t-transparent\"\n />\n )}\n {loading && <span className=\"sr-only\">{loadingLabel}</span>}\n {children}\n </button>\n );\n }\n);\nButton.displayName = 'Button';\n\nexport { Button, buttonVariants };\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAoEQ;AApER,YAAuB;AACvB,wBAAqB;AACrB,sCAAuC;AACvC,gBAAmB;AAEnB,MAAM,qBAAiB;AAAA,EACrB;AAAA,EACA;AAAA,IACE,UAAU;AAAA,MACR,SAAS;AAAA,QACP,SAAS;AAAA,QACT,SAAS;AAAA,QACT,aAAa;AAAA,QACb,QAAQ;AAAA;AAAA;AAAA,QAGR,SAAS;AAAA,QACT,SAAS;AAAA,QACT,MAAM;AAAA,QACN,SAAS;AAAA;AAAA;AAAA,QAGT,uBACE;AAAA,QACF,mBACE;AAAA,QACF,mBACE;AAAA,QACF,gBACE;AAAA,QACF,WAAW;AAAA,QACX,OAAO;AAAA,QACP,MAAM;AAAA;AAAA;AAAA;AAAA;AAAA,QAKN,UAAU;AAAA,QACV,QACE;AAAA,MACJ;AAAA,MACA,MAAM;AAAA,QACJ,SAAS;AAAA,QACT,IAAI;AAAA,QACJ,IAAI;AAAA,QACJ,MAAM;AAAA,MACR;AAAA,IACF;AAAA,IACA,iBAAiB;AAAA,MACf,SAAS;AAAA,MACT,MAAM;AAAA,IACR;AAAA,EACF;AACF;AAUA,MAAM,SAAS,MAAM;AAAA,EACnB,CAAC,EAAE,WAAW,SAAS,MAAM,UAAU,OAAO,UAAU,OAAO,eAAe,WAAW,UAAU,UAAU,GAAG,MAAM,GAAG,QAAQ;AAC/H,UAAM,OAAO,UAAU,yBAAO;AAC9B,QAAI,SAAS;AACX,aACE,4CAAC,QAAK,eAAW,cAAG,eAAe,EAAE,SAAS,MAAM,UAAU,CAAC,CAAC,GAAG,KAAW,GAAG,OAC9E,UACH;AAAA,IAEJ;AACA,WACE;AAAA,MAAC;AAAA;AAAA,QACC,eAAW,cAAG,eAAe,EAAE,SAAS,MAAM,UAAU,CAAC,CAAC;AAAA,QAC1D;AAAA,QACA,UAAU,YAAY;AAAA,QACtB,aAAW,WAAW;AAAA,QACrB,GAAG;AAAA,QAEH;AAAA,qBACC;AAAA,YAAC;AAAA;AAAA,cACC,eAAY;AAAA,cACZ,WAAU;AAAA;AAAA,UACZ;AAAA,UAED,WAAW,4CAAC,UAAK,WAAU,WAAW,wBAAa;AAAA,UACnD;AAAA;AAAA;AAAA,IACH;AAAA,EAEJ;AACF;AACA,OAAO,cAAc;","names":[]}
@@ -26,7 +26,7 @@ const buttonVariants = cva(
26
26
  "outline-info": "border border-info/50 bg-background text-info-ink hover:border-info hover:bg-info/10",
27
27
  secondary: "bg-secondary text-secondary-foreground hover:bg-secondary/80",
28
28
  ghost: "hover:bg-accent hover:text-accent-foreground",
29
- link: "text-primary underline-offset-4 hover:underline",
29
+ link: "text-primary-ink underline-offset-4 hover:underline",
30
30
  // High-contrast fills for hero and other always-dark surfaces. These
31
31
  // do not read the theme surface, so they stay legible in both modes.
32
32
  // Fixed ink, not --primary: in dark mode --primary lightens and would
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../src/components/button/Button.tsx"],"sourcesContent":["import * as React from 'react';\nimport { Slot } from '@radix-ui/react-slot';\nimport { cva, type VariantProps } from 'class-variance-authority';\nimport { cn } from '../../utils/cn';\n\nconst buttonVariants = cva(\n 'inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0',\n {\n variants: {\n variant: {\n default: 'bg-primary text-primary-foreground hover:bg-primary/90',\n primary: 'bg-primary text-primary-foreground hover:bg-primary/90',\n destructive: 'bg-destructive text-destructive-foreground hover:bg-destructive/90',\n danger: 'bg-destructive text-destructive-foreground hover:bg-destructive/90',\n // Semantic status variants — foregrounds are the paired AA tokens\n // (white on dark green, ink on amber/cyan) in both themes.\n success: 'bg-success text-success-foreground hover:bg-success/90',\n warning: 'bg-warning text-warning-foreground hover:bg-warning/90',\n info: 'bg-info text-info-foreground hover:bg-info/90',\n outline: 'border border-input bg-background hover:bg-accent hover:text-accent-foreground',\n // Colored outlines: semantic border + AA ink label on the page\n // surface, with a faint tint on hover - mirrors the Alert recipe.\n 'outline-destructive':\n 'border border-destructive/50 bg-background text-destructive hover:border-destructive hover:bg-destructive/10',\n 'outline-success':\n 'border border-success/50 bg-background text-success hover:border-success hover:bg-success/10',\n 'outline-warning':\n 'border border-warning/50 bg-background text-warning-ink hover:border-warning hover:bg-warning/10',\n 'outline-info':\n 'border border-info/50 bg-background text-info-ink hover:border-info hover:bg-info/10',\n secondary: 'bg-secondary text-secondary-foreground hover:bg-secondary/80',\n ghost: 'hover:bg-accent hover:text-accent-foreground',\n link: 'text-primary underline-offset-4 hover:underline',\n // High-contrast fills for hero and other always-dark surfaces. These\n // do not read the theme surface, so they stay legible in both modes.\n // Fixed ink, not --primary: in dark mode --primary lightens and would\n // sit at low contrast on the white surface.\n contrast: 'bg-white text-slate-900 shadow-sm hover:bg-slate-100',\n onDark:\n 'border border-white/45 bg-transparent text-white hover:border-white/70 hover:bg-white/10',\n },\n size: {\n default: 'h-10 px-4 py-2',\n sm: 'h-9 rounded-md px-3',\n lg: 'h-11 rounded-md px-8',\n icon: 'h-10 w-10',\n },\n },\n defaultVariants: {\n variant: 'default',\n size: 'default',\n },\n }\n);\n\nexport type ButtonProps = React.ButtonHTMLAttributes<HTMLButtonElement> & VariantProps<typeof buttonVariants> & {\n asChild?: boolean;\n /** Shows a spinner, disables the button and sets aria-busy while an action runs. */\n loading?: boolean;\n /** Screen-reader text while loading (default \"Loading\"). */\n loadingLabel?: string;\n};\n\nconst Button = React.forwardRef<HTMLButtonElement, ButtonProps>(\n ({ className, variant, size, asChild = false, loading = false, loadingLabel = 'Loading', disabled, children, ...props }, ref) => {\n const Comp = asChild ? Slot : 'button';\n if (asChild) {\n return (\n <Comp className={cn(buttonVariants({ variant, size, className }))} ref={ref} {...props}>\n {children}\n </Comp>\n );\n }\n return (\n <button\n className={cn(buttonVariants({ variant, size, className }))}\n ref={ref}\n disabled={disabled || loading}\n aria-busy={loading || undefined}\n {...props}\n >\n {loading && (\n <span\n aria-hidden=\"true\"\n className=\"h-4 w-4 shrink-0 animate-spin rounded-full border-2 border-current border-t-transparent\"\n />\n )}\n {loading && <span className=\"sr-only\">{loadingLabel}</span>}\n {children}\n </button>\n );\n }\n);\nButton.displayName = 'Button';\n\nexport { Button, buttonVariants };\n"],"mappings":"AAoEQ,cAMF,YANE;AApER,YAAY,WAAW;AACvB,SAAS,YAAY;AACrB,SAAS,WAA8B;AACvC,SAAS,UAAU;AAEnB,MAAM,iBAAiB;AAAA,EACrB;AAAA,EACA;AAAA,IACE,UAAU;AAAA,MACR,SAAS;AAAA,QACP,SAAS;AAAA,QACT,SAAS;AAAA,QACT,aAAa;AAAA,QACb,QAAQ;AAAA;AAAA;AAAA,QAGR,SAAS;AAAA,QACT,SAAS;AAAA,QACT,MAAM;AAAA,QACN,SAAS;AAAA;AAAA;AAAA,QAGT,uBACE;AAAA,QACF,mBACE;AAAA,QACF,mBACE;AAAA,QACF,gBACE;AAAA,QACF,WAAW;AAAA,QACX,OAAO;AAAA,QACP,MAAM;AAAA;AAAA;AAAA;AAAA;AAAA,QAKN,UAAU;AAAA,QACV,QACE;AAAA,MACJ;AAAA,MACA,MAAM;AAAA,QACJ,SAAS;AAAA,QACT,IAAI;AAAA,QACJ,IAAI;AAAA,QACJ,MAAM;AAAA,MACR;AAAA,IACF;AAAA,IACA,iBAAiB;AAAA,MACf,SAAS;AAAA,MACT,MAAM;AAAA,IACR;AAAA,EACF;AACF;AAUA,MAAM,SAAS,MAAM;AAAA,EACnB,CAAC,EAAE,WAAW,SAAS,MAAM,UAAU,OAAO,UAAU,OAAO,eAAe,WAAW,UAAU,UAAU,GAAG,MAAM,GAAG,QAAQ;AAC/H,UAAM,OAAO,UAAU,OAAO;AAC9B,QAAI,SAAS;AACX,aACE,oBAAC,QAAK,WAAW,GAAG,eAAe,EAAE,SAAS,MAAM,UAAU,CAAC,CAAC,GAAG,KAAW,GAAG,OAC9E,UACH;AAAA,IAEJ;AACA,WACE;AAAA,MAAC;AAAA;AAAA,QACC,WAAW,GAAG,eAAe,EAAE,SAAS,MAAM,UAAU,CAAC,CAAC;AAAA,QAC1D;AAAA,QACA,UAAU,YAAY;AAAA,QACtB,aAAW,WAAW;AAAA,QACrB,GAAG;AAAA,QAEH;AAAA,qBACC;AAAA,YAAC;AAAA;AAAA,cACC,eAAY;AAAA,cACZ,WAAU;AAAA;AAAA,UACZ;AAAA,UAED,WAAW,oBAAC,UAAK,WAAU,WAAW,wBAAa;AAAA,UACnD;AAAA;AAAA;AAAA,IACH;AAAA,EAEJ;AACF;AACA,OAAO,cAAc;","names":[]}
1
+ {"version":3,"sources":["../../../../src/components/button/Button.tsx"],"sourcesContent":["import * as React from 'react';\nimport { Slot } from '@radix-ui/react-slot';\nimport { cva, type VariantProps } from 'class-variance-authority';\nimport { cn } from '../../utils/cn';\n\nconst buttonVariants = cva(\n 'inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0',\n {\n variants: {\n variant: {\n default: 'bg-primary text-primary-foreground hover:bg-primary/90',\n primary: 'bg-primary text-primary-foreground hover:bg-primary/90',\n destructive: 'bg-destructive text-destructive-foreground hover:bg-destructive/90',\n danger: 'bg-destructive text-destructive-foreground hover:bg-destructive/90',\n // Semantic status variants — foregrounds are the paired AA tokens\n // (white on dark green, ink on amber/cyan) in both themes.\n success: 'bg-success text-success-foreground hover:bg-success/90',\n warning: 'bg-warning text-warning-foreground hover:bg-warning/90',\n info: 'bg-info text-info-foreground hover:bg-info/90',\n outline: 'border border-input bg-background hover:bg-accent hover:text-accent-foreground',\n // Colored outlines: semantic border + AA ink label on the page\n // surface, with a faint tint on hover - mirrors the Alert recipe.\n 'outline-destructive':\n 'border border-destructive/50 bg-background text-destructive hover:border-destructive hover:bg-destructive/10',\n 'outline-success':\n 'border border-success/50 bg-background text-success hover:border-success hover:bg-success/10',\n 'outline-warning':\n 'border border-warning/50 bg-background text-warning-ink hover:border-warning hover:bg-warning/10',\n 'outline-info':\n 'border border-info/50 bg-background text-info-ink hover:border-info hover:bg-info/10',\n secondary: 'bg-secondary text-secondary-foreground hover:bg-secondary/80',\n ghost: 'hover:bg-accent hover:text-accent-foreground',\n link: 'text-primary-ink underline-offset-4 hover:underline',\n // High-contrast fills for hero and other always-dark surfaces. These\n // do not read the theme surface, so they stay legible in both modes.\n // Fixed ink, not --primary: in dark mode --primary lightens and would\n // sit at low contrast on the white surface.\n contrast: 'bg-white text-slate-900 shadow-sm hover:bg-slate-100',\n onDark:\n 'border border-white/45 bg-transparent text-white hover:border-white/70 hover:bg-white/10',\n },\n size: {\n default: 'h-10 px-4 py-2',\n sm: 'h-9 rounded-md px-3',\n lg: 'h-11 rounded-md px-8',\n icon: 'h-10 w-10',\n },\n },\n defaultVariants: {\n variant: 'default',\n size: 'default',\n },\n }\n);\n\nexport type ButtonProps = React.ButtonHTMLAttributes<HTMLButtonElement> & VariantProps<typeof buttonVariants> & {\n asChild?: boolean;\n /** Shows a spinner, disables the button and sets aria-busy while an action runs. */\n loading?: boolean;\n /** Screen-reader text while loading (default \"Loading\"). */\n loadingLabel?: string;\n};\n\nconst Button = React.forwardRef<HTMLButtonElement, ButtonProps>(\n ({ className, variant, size, asChild = false, loading = false, loadingLabel = 'Loading', disabled, children, ...props }, ref) => {\n const Comp = asChild ? Slot : 'button';\n if (asChild) {\n return (\n <Comp className={cn(buttonVariants({ variant, size, className }))} ref={ref} {...props}>\n {children}\n </Comp>\n );\n }\n return (\n <button\n className={cn(buttonVariants({ variant, size, className }))}\n ref={ref}\n disabled={disabled || loading}\n aria-busy={loading || undefined}\n {...props}\n >\n {loading && (\n <span\n aria-hidden=\"true\"\n className=\"h-4 w-4 shrink-0 animate-spin rounded-full border-2 border-current border-t-transparent\"\n />\n )}\n {loading && <span className=\"sr-only\">{loadingLabel}</span>}\n {children}\n </button>\n );\n }\n);\nButton.displayName = 'Button';\n\nexport { Button, buttonVariants };\n"],"mappings":"AAoEQ,cAMF,YANE;AApER,YAAY,WAAW;AACvB,SAAS,YAAY;AACrB,SAAS,WAA8B;AACvC,SAAS,UAAU;AAEnB,MAAM,iBAAiB;AAAA,EACrB;AAAA,EACA;AAAA,IACE,UAAU;AAAA,MACR,SAAS;AAAA,QACP,SAAS;AAAA,QACT,SAAS;AAAA,QACT,aAAa;AAAA,QACb,QAAQ;AAAA;AAAA;AAAA,QAGR,SAAS;AAAA,QACT,SAAS;AAAA,QACT,MAAM;AAAA,QACN,SAAS;AAAA;AAAA;AAAA,QAGT,uBACE;AAAA,QACF,mBACE;AAAA,QACF,mBACE;AAAA,QACF,gBACE;AAAA,QACF,WAAW;AAAA,QACX,OAAO;AAAA,QACP,MAAM;AAAA;AAAA;AAAA;AAAA;AAAA,QAKN,UAAU;AAAA,QACV,QACE;AAAA,MACJ;AAAA,MACA,MAAM;AAAA,QACJ,SAAS;AAAA,QACT,IAAI;AAAA,QACJ,IAAI;AAAA,QACJ,MAAM;AAAA,MACR;AAAA,IACF;AAAA,IACA,iBAAiB;AAAA,MACf,SAAS;AAAA,MACT,MAAM;AAAA,IACR;AAAA,EACF;AACF;AAUA,MAAM,SAAS,MAAM;AAAA,EACnB,CAAC,EAAE,WAAW,SAAS,MAAM,UAAU,OAAO,UAAU,OAAO,eAAe,WAAW,UAAU,UAAU,GAAG,MAAM,GAAG,QAAQ;AAC/H,UAAM,OAAO,UAAU,OAAO;AAC9B,QAAI,SAAS;AACX,aACE,oBAAC,QAAK,WAAW,GAAG,eAAe,EAAE,SAAS,MAAM,UAAU,CAAC,CAAC,GAAG,KAAW,GAAG,OAC9E,UACH;AAAA,IAEJ;AACA,WACE;AAAA,MAAC;AAAA;AAAA,QACC,WAAW,GAAG,eAAe,EAAE,SAAS,MAAM,UAAU,CAAC,CAAC;AAAA,QAC1D;AAAA,QACA,UAAU,YAAY;AAAA,QACtB,aAAW,WAAW;AAAA,QACrB,GAAG;AAAA,QAEH;AAAA,qBACC;AAAA,YAAC;AAAA;AAAA,cACC,eAAY;AAAA,cACZ,WAAU;AAAA;AAAA,UACZ;AAAA,UAED,WAAW,oBAAC,UAAK,WAAU,WAAW,wBAAa;AAAA,UACnD;AAAA;AAAA;AAAA,IACH;AAAA,EAEJ;AACF;AACA,OAAO,cAAc;","names":[]}
@@ -41,10 +41,10 @@ const columnClasses = {
41
41
  const ContactStrip = React.forwardRef(function ContactStrip2({ items, columns = 2, align = "left", linkComponent, className, ...props }, ref) {
42
42
  const Link = linkComponent ?? "a";
43
43
  return /* @__PURE__ */ (0, import_jsx_runtime.jsx)("ul", { ref, className: (0, import_cn.cn)("grid gap-6", columnClasses[columns], className), ...props, children: items.map((item) => /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("li", { className: (0, import_cn.cn)("flex min-w-0 items-start gap-3", align === "center" && "justify-center text-center"), children: [
44
- item.icon && /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { className: "mt-0.5 flex h-8 w-8 shrink-0 items-center justify-center rounded-lg bg-primary/10 text-primary [&_svg]:size-4", children: item.icon }),
44
+ item.icon && /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { className: "mt-0.5 flex h-8 w-8 shrink-0 items-center justify-center rounded-lg bg-primary/10 text-primary-ink [&_svg]:size-4", children: item.icon }),
45
45
  /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { className: "min-w-0", children: [
46
46
  /* @__PURE__ */ (0, import_jsx_runtime.jsx)("p", { className: "text-xs font-semibold uppercase tracking-wider text-muted-foreground", children: item.label }),
47
- item.href ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Link, { href: item.href, className: "mt-0.5 block break-words text-sm font-medium text-primary underline-offset-4 hover:underline", children: item.value }) : /* @__PURE__ */ (0, import_jsx_runtime.jsx)("p", { className: "mt-0.5 break-words text-sm font-medium", children: item.value })
47
+ item.href ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Link, { href: item.href, className: "mt-0.5 block break-words text-sm font-medium text-primary-ink underline-offset-4 hover:underline", children: item.value }) : /* @__PURE__ */ (0, import_jsx_runtime.jsx)("p", { className: "mt-0.5 break-words text-sm font-medium", children: item.value })
48
48
  ] })
49
49
  ] }, item.label)) });
50
50
  });
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../src/components/contact-strip/ContactStrip.tsx"],"sourcesContent":["import * as React from 'react';\nimport { cn } from '../../utils/cn';\n\nexport type ContactItem = {\n label: string;\n value: string;\n href?: string;\n icon?: React.ReactNode;\n};\n\nexport type ContactStripProps = React.HTMLAttributes<HTMLUListElement> & {\n /** Contact rows to display. */\n items: ContactItem[];\n /** Desktop column count (2-3). Default 2. */\n columns?: 2 | 3;\n /** Content alignment. Default 'left'. */\n align?: 'left' | 'center';\n /** Custom link element for routers. */\n linkComponent?: React.ElementType;\n};\n\nconst columnClasses: Record<NonNullable<ContactStripProps['columns']>, string> = {\n 2: 'sm:grid-cols-2',\n 3: 'sm:grid-cols-3',\n};\n\n/**\n * Compact contact details strip for the end of a marketing page. Each row\n * pairs a short label with a phone, email, address or link.\n */\nexport const ContactStrip = React.forwardRef<HTMLUListElement, ContactStripProps>(function ContactStrip(\n { items, columns = 2, align = 'left', linkComponent, className, ...props },\n ref\n) {\n const Link = linkComponent ?? 'a';\n\n return (\n <ul ref={ref} className={cn('grid gap-6', columnClasses[columns], className)} {...props}>\n {items.map((item) => (\n <li key={item.label} className={cn('flex min-w-0 items-start gap-3', align === 'center' && 'justify-center text-center')}>\n {item.icon && (\n <span className=\"mt-0.5 flex h-8 w-8 shrink-0 items-center justify-center rounded-lg bg-primary/10 text-primary [&_svg]:size-4\">\n {item.icon}\n </span>\n )}\n <div className=\"min-w-0\">\n <p className=\"text-xs font-semibold uppercase tracking-wider text-muted-foreground\">{item.label}</p>\n {item.href ? (\n <Link href={item.href} className=\"mt-0.5 block break-words text-sm font-medium text-primary underline-offset-4 hover:underline\">\n {item.value}\n </Link>\n ) : (\n <p className=\"mt-0.5 break-words text-sm font-medium\">{item.value}</p>\n )}\n </div>\n </li>\n ))}\n </ul>\n );\n});\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAyCY;AAzCZ,YAAuB;AACvB,gBAAmB;AAoBnB,MAAM,gBAA2E;AAAA,EAC/E,GAAG;AAAA,EACH,GAAG;AACL;AAMO,MAAM,eAAe,MAAM,WAAgD,SAASA,cACzF,EAAE,OAAO,UAAU,GAAG,QAAQ,QAAQ,eAAe,WAAW,GAAG,MAAM,GACzE,KACA;AACA,QAAM,OAAO,iBAAiB;AAE9B,SACE,4CAAC,QAAG,KAAU,eAAW,cAAG,cAAc,cAAc,OAAO,GAAG,SAAS,GAAI,GAAG,OAC/E,gBAAM,IAAI,CAAC,SACV,6CAAC,QAAoB,eAAW,cAAG,kCAAkC,UAAU,YAAY,4BAA4B,GACpH;AAAA,SAAK,QACJ,4CAAC,UAAK,WAAU,iHACb,eAAK,MACR;AAAA,IAEF,6CAAC,SAAI,WAAU,WACb;AAAA,kDAAC,OAAE,WAAU,wEAAwE,eAAK,OAAM;AAAA,MAC/F,KAAK,OACJ,4CAAC,QAAK,MAAM,KAAK,MAAM,WAAU,gGAC9B,eAAK,OACR,IAEA,4CAAC,OAAE,WAAU,0CAA0C,eAAK,OAAM;AAAA,OAEtE;AAAA,OAfO,KAAK,KAgBd,CACD,GACH;AAEJ,CAAC;","names":["ContactStrip"]}
1
+ {"version":3,"sources":["../../../../src/components/contact-strip/ContactStrip.tsx"],"sourcesContent":["import * as React from 'react';\nimport { cn } from '../../utils/cn';\n\nexport type ContactItem = {\n label: string;\n value: string;\n href?: string;\n icon?: React.ReactNode;\n};\n\nexport type ContactStripProps = React.HTMLAttributes<HTMLUListElement> & {\n /** Contact rows to display. */\n items: ContactItem[];\n /** Desktop column count (2-3). Default 2. */\n columns?: 2 | 3;\n /** Content alignment. Default 'left'. */\n align?: 'left' | 'center';\n /** Custom link element for routers. */\n linkComponent?: React.ElementType;\n};\n\nconst columnClasses: Record<NonNullable<ContactStripProps['columns']>, string> = {\n 2: 'sm:grid-cols-2',\n 3: 'sm:grid-cols-3',\n};\n\n/**\n * Compact contact details strip for the end of a marketing page. Each row\n * pairs a short label with a phone, email, address or link.\n */\nexport const ContactStrip = React.forwardRef<HTMLUListElement, ContactStripProps>(function ContactStrip(\n { items, columns = 2, align = 'left', linkComponent, className, ...props },\n ref\n) {\n const Link = linkComponent ?? 'a';\n\n return (\n <ul ref={ref} className={cn('grid gap-6', columnClasses[columns], className)} {...props}>\n {items.map((item) => (\n <li key={item.label} className={cn('flex min-w-0 items-start gap-3', align === 'center' && 'justify-center text-center')}>\n {item.icon && (\n <span className=\"mt-0.5 flex h-8 w-8 shrink-0 items-center justify-center rounded-lg bg-primary/10 text-primary-ink [&_svg]:size-4\">\n {item.icon}\n </span>\n )}\n <div className=\"min-w-0\">\n <p className=\"text-xs font-semibold uppercase tracking-wider text-muted-foreground\">{item.label}</p>\n {item.href ? (\n <Link href={item.href} className=\"mt-0.5 block break-words text-sm font-medium text-primary-ink underline-offset-4 hover:underline\">\n {item.value}\n </Link>\n ) : (\n <p className=\"mt-0.5 break-words text-sm font-medium\">{item.value}</p>\n )}\n </div>\n </li>\n ))}\n </ul>\n );\n});\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAyCY;AAzCZ,YAAuB;AACvB,gBAAmB;AAoBnB,MAAM,gBAA2E;AAAA,EAC/E,GAAG;AAAA,EACH,GAAG;AACL;AAMO,MAAM,eAAe,MAAM,WAAgD,SAASA,cACzF,EAAE,OAAO,UAAU,GAAG,QAAQ,QAAQ,eAAe,WAAW,GAAG,MAAM,GACzE,KACA;AACA,QAAM,OAAO,iBAAiB;AAE9B,SACE,4CAAC,QAAG,KAAU,eAAW,cAAG,cAAc,cAAc,OAAO,GAAG,SAAS,GAAI,GAAG,OAC/E,gBAAM,IAAI,CAAC,SACV,6CAAC,QAAoB,eAAW,cAAG,kCAAkC,UAAU,YAAY,4BAA4B,GACpH;AAAA,SAAK,QACJ,4CAAC,UAAK,WAAU,qHACb,eAAK,MACR;AAAA,IAEF,6CAAC,SAAI,WAAU,WACb;AAAA,kDAAC,OAAE,WAAU,wEAAwE,eAAK,OAAM;AAAA,MAC/F,KAAK,OACJ,4CAAC,QAAK,MAAM,KAAK,MAAM,WAAU,oGAC9B,eAAK,OACR,IAEA,4CAAC,OAAE,WAAU,0CAA0C,eAAK,OAAM;AAAA,OAEtE;AAAA,OAfO,KAAK,KAgBd,CACD,GACH;AAEJ,CAAC;","names":["ContactStrip"]}
@@ -8,10 +8,10 @@ const columnClasses = {
8
8
  const ContactStrip = React.forwardRef(function ContactStrip2({ items, columns = 2, align = "left", linkComponent, className, ...props }, ref) {
9
9
  const Link = linkComponent ?? "a";
10
10
  return /* @__PURE__ */ jsx("ul", { ref, className: cn("grid gap-6", columnClasses[columns], className), ...props, children: items.map((item) => /* @__PURE__ */ jsxs("li", { className: cn("flex min-w-0 items-start gap-3", align === "center" && "justify-center text-center"), children: [
11
- item.icon && /* @__PURE__ */ jsx("span", { className: "mt-0.5 flex h-8 w-8 shrink-0 items-center justify-center rounded-lg bg-primary/10 text-primary [&_svg]:size-4", children: item.icon }),
11
+ item.icon && /* @__PURE__ */ jsx("span", { className: "mt-0.5 flex h-8 w-8 shrink-0 items-center justify-center rounded-lg bg-primary/10 text-primary-ink [&_svg]:size-4", children: item.icon }),
12
12
  /* @__PURE__ */ jsxs("div", { className: "min-w-0", children: [
13
13
  /* @__PURE__ */ jsx("p", { className: "text-xs font-semibold uppercase tracking-wider text-muted-foreground", children: item.label }),
14
- item.href ? /* @__PURE__ */ jsx(Link, { href: item.href, className: "mt-0.5 block break-words text-sm font-medium text-primary underline-offset-4 hover:underline", children: item.value }) : /* @__PURE__ */ jsx("p", { className: "mt-0.5 break-words text-sm font-medium", children: item.value })
14
+ item.href ? /* @__PURE__ */ jsx(Link, { href: item.href, className: "mt-0.5 block break-words text-sm font-medium text-primary-ink underline-offset-4 hover:underline", children: item.value }) : /* @__PURE__ */ jsx("p", { className: "mt-0.5 break-words text-sm font-medium", children: item.value })
15
15
  ] })
16
16
  ] }, item.label)) });
17
17
  });
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../src/components/contact-strip/ContactStrip.tsx"],"sourcesContent":["import * as React from 'react';\nimport { cn } from '../../utils/cn';\n\nexport type ContactItem = {\n label: string;\n value: string;\n href?: string;\n icon?: React.ReactNode;\n};\n\nexport type ContactStripProps = React.HTMLAttributes<HTMLUListElement> & {\n /** Contact rows to display. */\n items: ContactItem[];\n /** Desktop column count (2-3). Default 2. */\n columns?: 2 | 3;\n /** Content alignment. Default 'left'. */\n align?: 'left' | 'center';\n /** Custom link element for routers. */\n linkComponent?: React.ElementType;\n};\n\nconst columnClasses: Record<NonNullable<ContactStripProps['columns']>, string> = {\n 2: 'sm:grid-cols-2',\n 3: 'sm:grid-cols-3',\n};\n\n/**\n * Compact contact details strip for the end of a marketing page. Each row\n * pairs a short label with a phone, email, address or link.\n */\nexport const ContactStrip = React.forwardRef<HTMLUListElement, ContactStripProps>(function ContactStrip(\n { items, columns = 2, align = 'left', linkComponent, className, ...props },\n ref\n) {\n const Link = linkComponent ?? 'a';\n\n return (\n <ul ref={ref} className={cn('grid gap-6', columnClasses[columns], className)} {...props}>\n {items.map((item) => (\n <li key={item.label} className={cn('flex min-w-0 items-start gap-3', align === 'center' && 'justify-center text-center')}>\n {item.icon && (\n <span className=\"mt-0.5 flex h-8 w-8 shrink-0 items-center justify-center rounded-lg bg-primary/10 text-primary [&_svg]:size-4\">\n {item.icon}\n </span>\n )}\n <div className=\"min-w-0\">\n <p className=\"text-xs font-semibold uppercase tracking-wider text-muted-foreground\">{item.label}</p>\n {item.href ? (\n <Link href={item.href} className=\"mt-0.5 block break-words text-sm font-medium text-primary underline-offset-4 hover:underline\">\n {item.value}\n </Link>\n ) : (\n <p className=\"mt-0.5 break-words text-sm font-medium\">{item.value}</p>\n )}\n </div>\n </li>\n ))}\n </ul>\n );\n});\n"],"mappings":"AAyCY,cAIF,YAJE;AAzCZ,YAAY,WAAW;AACvB,SAAS,UAAU;AAoBnB,MAAM,gBAA2E;AAAA,EAC/E,GAAG;AAAA,EACH,GAAG;AACL;AAMO,MAAM,eAAe,MAAM,WAAgD,SAASA,cACzF,EAAE,OAAO,UAAU,GAAG,QAAQ,QAAQ,eAAe,WAAW,GAAG,MAAM,GACzE,KACA;AACA,QAAM,OAAO,iBAAiB;AAE9B,SACE,oBAAC,QAAG,KAAU,WAAW,GAAG,cAAc,cAAc,OAAO,GAAG,SAAS,GAAI,GAAG,OAC/E,gBAAM,IAAI,CAAC,SACV,qBAAC,QAAoB,WAAW,GAAG,kCAAkC,UAAU,YAAY,4BAA4B,GACpH;AAAA,SAAK,QACJ,oBAAC,UAAK,WAAU,iHACb,eAAK,MACR;AAAA,IAEF,qBAAC,SAAI,WAAU,WACb;AAAA,0BAAC,OAAE,WAAU,wEAAwE,eAAK,OAAM;AAAA,MAC/F,KAAK,OACJ,oBAAC,QAAK,MAAM,KAAK,MAAM,WAAU,gGAC9B,eAAK,OACR,IAEA,oBAAC,OAAE,WAAU,0CAA0C,eAAK,OAAM;AAAA,OAEtE;AAAA,OAfO,KAAK,KAgBd,CACD,GACH;AAEJ,CAAC;","names":["ContactStrip"]}
1
+ {"version":3,"sources":["../../../../src/components/contact-strip/ContactStrip.tsx"],"sourcesContent":["import * as React from 'react';\nimport { cn } from '../../utils/cn';\n\nexport type ContactItem = {\n label: string;\n value: string;\n href?: string;\n icon?: React.ReactNode;\n};\n\nexport type ContactStripProps = React.HTMLAttributes<HTMLUListElement> & {\n /** Contact rows to display. */\n items: ContactItem[];\n /** Desktop column count (2-3). Default 2. */\n columns?: 2 | 3;\n /** Content alignment. Default 'left'. */\n align?: 'left' | 'center';\n /** Custom link element for routers. */\n linkComponent?: React.ElementType;\n};\n\nconst columnClasses: Record<NonNullable<ContactStripProps['columns']>, string> = {\n 2: 'sm:grid-cols-2',\n 3: 'sm:grid-cols-3',\n};\n\n/**\n * Compact contact details strip for the end of a marketing page. Each row\n * pairs a short label with a phone, email, address or link.\n */\nexport const ContactStrip = React.forwardRef<HTMLUListElement, ContactStripProps>(function ContactStrip(\n { items, columns = 2, align = 'left', linkComponent, className, ...props },\n ref\n) {\n const Link = linkComponent ?? 'a';\n\n return (\n <ul ref={ref} className={cn('grid gap-6', columnClasses[columns], className)} {...props}>\n {items.map((item) => (\n <li key={item.label} className={cn('flex min-w-0 items-start gap-3', align === 'center' && 'justify-center text-center')}>\n {item.icon && (\n <span className=\"mt-0.5 flex h-8 w-8 shrink-0 items-center justify-center rounded-lg bg-primary/10 text-primary-ink [&_svg]:size-4\">\n {item.icon}\n </span>\n )}\n <div className=\"min-w-0\">\n <p className=\"text-xs font-semibold uppercase tracking-wider text-muted-foreground\">{item.label}</p>\n {item.href ? (\n <Link href={item.href} className=\"mt-0.5 block break-words text-sm font-medium text-primary-ink underline-offset-4 hover:underline\">\n {item.value}\n </Link>\n ) : (\n <p className=\"mt-0.5 break-words text-sm font-medium\">{item.value}</p>\n )}\n </div>\n </li>\n ))}\n </ul>\n );\n});\n"],"mappings":"AAyCY,cAIF,YAJE;AAzCZ,YAAY,WAAW;AACvB,SAAS,UAAU;AAoBnB,MAAM,gBAA2E;AAAA,EAC/E,GAAG;AAAA,EACH,GAAG;AACL;AAMO,MAAM,eAAe,MAAM,WAAgD,SAASA,cACzF,EAAE,OAAO,UAAU,GAAG,QAAQ,QAAQ,eAAe,WAAW,GAAG,MAAM,GACzE,KACA;AACA,QAAM,OAAO,iBAAiB;AAE9B,SACE,oBAAC,QAAG,KAAU,WAAW,GAAG,cAAc,cAAc,OAAO,GAAG,SAAS,GAAI,GAAG,OAC/E,gBAAM,IAAI,CAAC,SACV,qBAAC,QAAoB,WAAW,GAAG,kCAAkC,UAAU,YAAY,4BAA4B,GACpH;AAAA,SAAK,QACJ,oBAAC,UAAK,WAAU,qHACb,eAAK,MACR;AAAA,IAEF,qBAAC,SAAI,WAAU,WACb;AAAA,0BAAC,OAAE,WAAU,wEAAwE,eAAK,OAAM;AAAA,MAC/F,KAAK,OACJ,oBAAC,QAAK,MAAM,KAAK,MAAM,WAAU,oGAC9B,eAAK,OACR,IAEA,oBAAC,OAAE,WAAU,0CAA0C,eAAK,OAAM;AAAA,OAEtE;AAAA,OAfO,KAAK,KAgBd,CACD,GACH;AAEJ,CAAC;","names":["ContactStrip"]}