@slipstream-ui/core 0.9.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 (379) hide show
  1. package/LICENSE +0 -4
  2. package/dist/index.d.mts +32 -4
  3. package/dist/index.d.ts +32 -4
  4. package/dist/index.js +162 -88
  5. package/dist/index.js.map +1 -1
  6. package/dist/index.mjs +162 -88
  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 +13 -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 +8 -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 +12 -1
  104. package/dist/src/components/accordion/Accordion.js +26 -19
  105. package/dist/src/components/accordion/Accordion.js.map +1 -1
  106. package/dist/src/components/accordion/Accordion.mjs +26 -19
  107. package/dist/src/components/accordion/Accordion.mjs.map +1 -1
  108. package/dist/src/components/bottom-nav/BottomNav.js +1 -1
  109. package/dist/src/components/bottom-nav/BottomNav.js.map +1 -1
  110. package/dist/src/components/bottom-nav/BottomNav.mjs +1 -1
  111. package/dist/src/components/bottom-nav/BottomNav.mjs.map +1 -1
  112. package/dist/src/components/button/Button.js +1 -1
  113. package/dist/src/components/button/Button.js.map +1 -1
  114. package/dist/src/components/button/Button.mjs +1 -1
  115. package/dist/src/components/button/Button.mjs.map +1 -1
  116. package/dist/src/components/checkbox/Checkbox.js +1 -1
  117. package/dist/src/components/checkbox/Checkbox.js.map +1 -1
  118. package/dist/src/components/checkbox/Checkbox.mjs +1 -1
  119. package/dist/src/components/checkbox/Checkbox.mjs.map +1 -1
  120. package/dist/src/components/contact-strip/ContactStrip.js +2 -2
  121. package/dist/src/components/contact-strip/ContactStrip.js.map +1 -1
  122. package/dist/src/components/contact-strip/ContactStrip.mjs +2 -2
  123. package/dist/src/components/contact-strip/ContactStrip.mjs.map +1 -1
  124. package/dist/src/components/date-picker-popover/DatePickerPopover.d.ts +3 -0
  125. package/dist/src/components/date-picker-popover/DatePickerPopover.js +5 -1
  126. package/dist/src/components/date-picker-popover/DatePickerPopover.js.map +1 -1
  127. package/dist/src/components/date-picker-popover/DatePickerPopover.mjs +5 -1
  128. package/dist/src/components/date-picker-popover/DatePickerPopover.mjs.map +1 -1
  129. package/dist/src/components/deal-card/DealCard.js +2 -2
  130. package/dist/src/components/deal-card/DealCard.js.map +1 -1
  131. package/dist/src/components/deal-card/DealCard.mjs +2 -2
  132. package/dist/src/components/deal-card/DealCard.mjs.map +1 -1
  133. package/dist/src/components/document-card/DocumentCard.js +1 -1
  134. package/dist/src/components/document-card/DocumentCard.js.map +1 -1
  135. package/dist/src/components/document-card/DocumentCard.mjs +1 -1
  136. package/dist/src/components/document-card/DocumentCard.mjs.map +1 -1
  137. package/dist/src/components/drawer/Drawer.js +2 -1
  138. package/dist/src/components/drawer/Drawer.js.map +1 -1
  139. package/dist/src/components/drawer/Drawer.mjs +2 -1
  140. package/dist/src/components/drawer/Drawer.mjs.map +1 -1
  141. package/dist/src/components/entity-card/EntityCard.js +2 -2
  142. package/dist/src/components/entity-card/EntityCard.js.map +1 -1
  143. package/dist/src/components/entity-card/EntityCard.mjs +2 -2
  144. package/dist/src/components/entity-card/EntityCard.mjs.map +1 -1
  145. package/dist/src/components/feature-grid/FeatureGrid.js +2 -2
  146. package/dist/src/components/feature-grid/FeatureGrid.js.map +1 -1
  147. package/dist/src/components/feature-grid/FeatureGrid.mjs +2 -2
  148. package/dist/src/components/feature-grid/FeatureGrid.mjs.map +1 -1
  149. package/dist/src/components/feature-row/FeatureRow.js +1 -1
  150. package/dist/src/components/feature-row/FeatureRow.js.map +1 -1
  151. package/dist/src/components/feature-row/FeatureRow.mjs +1 -1
  152. package/dist/src/components/feature-row/FeatureRow.mjs.map +1 -1
  153. package/dist/src/components/file-upload/FileUpload.d.ts +8 -2
  154. package/dist/src/components/file-upload/FileUpload.js +12 -2
  155. package/dist/src/components/file-upload/FileUpload.js.map +1 -1
  156. package/dist/src/components/file-upload/FileUpload.mjs +12 -2
  157. package/dist/src/components/file-upload/FileUpload.mjs.map +1 -1
  158. package/dist/src/components/filter-chips/FilterChips.d.ts +4 -0
  159. package/dist/src/components/filter-chips/FilterChips.js +35 -4
  160. package/dist/src/components/filter-chips/FilterChips.js.map +1 -1
  161. package/dist/src/components/filter-chips/FilterChips.mjs +35 -4
  162. package/dist/src/components/filter-chips/FilterChips.mjs.map +1 -1
  163. package/dist/src/components/filter-panel/FilterPanel.js +16 -12
  164. package/dist/src/components/filter-panel/FilterPanel.js.map +1 -1
  165. package/dist/src/components/filter-panel/FilterPanel.mjs +16 -12
  166. package/dist/src/components/filter-panel/FilterPanel.mjs.map +1 -1
  167. package/dist/src/components/hero/Hero.js +2 -2
  168. package/dist/src/components/hero/Hero.js.map +1 -1
  169. package/dist/src/components/hero/Hero.mjs +2 -2
  170. package/dist/src/components/hero/Hero.mjs.map +1 -1
  171. package/dist/src/components/image/Image.js +5 -0
  172. package/dist/src/components/image/Image.js.map +1 -1
  173. package/dist/src/components/image/Image.mjs +5 -0
  174. package/dist/src/components/image/Image.mjs.map +1 -1
  175. package/dist/src/components/list/List.js +5 -4
  176. package/dist/src/components/list/List.js.map +1 -1
  177. package/dist/src/components/list/List.mjs +5 -4
  178. package/dist/src/components/list/List.mjs.map +1 -1
  179. package/dist/src/components/menu/Menu.d.ts +2 -2
  180. package/dist/src/components/menu/Menu.js.map +1 -1
  181. package/dist/src/components/menu/Menu.mjs.map +1 -1
  182. package/dist/src/components/process-steps/ProcessSteps.js +1 -1
  183. package/dist/src/components/process-steps/ProcessSteps.js.map +1 -1
  184. package/dist/src/components/process-steps/ProcessSteps.mjs +1 -1
  185. package/dist/src/components/process-steps/ProcessSteps.mjs.map +1 -1
  186. package/dist/src/components/prose/Prose.js +1 -1
  187. package/dist/src/components/prose/Prose.js.map +1 -1
  188. package/dist/src/components/prose/Prose.mjs +1 -1
  189. package/dist/src/components/prose/Prose.mjs.map +1 -1
  190. package/dist/src/components/radio/Radio.js +2 -2
  191. package/dist/src/components/radio/Radio.js.map +1 -1
  192. package/dist/src/components/radio/Radio.mjs +2 -2
  193. package/dist/src/components/radio/Radio.mjs.map +1 -1
  194. package/dist/src/components/range-slider/RangeSlider.js +3 -3
  195. package/dist/src/components/range-slider/RangeSlider.js.map +1 -1
  196. package/dist/src/components/range-slider/RangeSlider.mjs +3 -3
  197. package/dist/src/components/range-slider/RangeSlider.mjs.map +1 -1
  198. package/dist/src/components/select/Select.d.ts +10 -0
  199. package/dist/src/components/select/Select.js +2 -2
  200. package/dist/src/components/select/Select.js.map +1 -1
  201. package/dist/src/components/select/Select.mjs +2 -2
  202. package/dist/src/components/select/Select.mjs.map +1 -1
  203. package/dist/src/components/select-menu/SelectMenu.js +1 -1
  204. package/dist/src/components/select-menu/SelectMenu.js.map +1 -1
  205. package/dist/src/components/select-menu/SelectMenu.mjs +1 -1
  206. package/dist/src/components/select-menu/SelectMenu.mjs.map +1 -1
  207. package/dist/src/components/stepper/Stepper.js +1 -1
  208. package/dist/src/components/stepper/Stepper.js.map +1 -1
  209. package/dist/src/components/stepper/Stepper.mjs +1 -1
  210. package/dist/src/components/stepper/Stepper.mjs.map +1 -1
  211. package/dist/src/components/table-of-contents/TableOfContents.js +1 -1
  212. package/dist/src/components/table-of-contents/TableOfContents.js.map +1 -1
  213. package/dist/src/components/table-of-contents/TableOfContents.mjs +1 -1
  214. package/dist/src/components/table-of-contents/TableOfContents.mjs.map +1 -1
  215. package/dist/src/components/timeline/Timeline.js +17 -13
  216. package/dist/src/components/timeline/Timeline.js.map +1 -1
  217. package/dist/src/components/timeline/Timeline.mjs +17 -13
  218. package/dist/src/components/timeline/Timeline.mjs.map +1 -1
  219. package/dist/src/components/toast/Toast.js +1 -1
  220. package/dist/src/components/toast/Toast.js.map +1 -1
  221. package/dist/src/components/toast/Toast.mjs +1 -1
  222. package/dist/src/components/toast/Toast.mjs.map +1 -1
  223. package/dist/src/components/toast/Toaster.js +1 -1
  224. package/dist/src/components/toast/Toaster.js.map +1 -1
  225. package/dist/src/components/toast/Toaster.mjs +1 -1
  226. package/dist/src/components/toast/Toaster.mjs.map +1 -1
  227. package/dist/src/components/tombstone-card/TombstoneCard.js +1 -1
  228. package/dist/src/components/tombstone-card/TombstoneCard.js.map +1 -1
  229. package/dist/src/components/tombstone-card/TombstoneCard.mjs +1 -1
  230. package/dist/src/components/tombstone-card/TombstoneCard.mjs.map +1 -1
  231. package/dist/src/components/tooltip/Tooltip.d.ts +5 -0
  232. package/dist/src/components/tooltip/Tooltip.js +9 -2
  233. package/dist/src/components/tooltip/Tooltip.js.map +1 -1
  234. package/dist/src/components/tooltip/Tooltip.mjs +9 -2
  235. package/dist/src/components/tooltip/Tooltip.mjs.map +1 -1
  236. package/dist/styles-full.css +1 -1
  237. package/dist/styles.css +1 -1
  238. package/package.json +6 -6
  239. package/src/components/accordion/Accordion.test.tsx +14 -3
  240. package/src/components/accordion/Accordion.tsx +34 -21
  241. package/src/components/bottom-nav/BottomNav.tsx +1 -1
  242. package/src/components/button/Button.tsx +1 -1
  243. package/src/components/calendar/Calendar.test.tsx +1 -1
  244. package/src/components/checkbox/Checkbox.tsx +1 -1
  245. package/src/components/contact-strip/ContactStrip.tsx +2 -2
  246. package/src/components/date-picker-popover/DatePickerPopover.test.tsx +15 -0
  247. package/src/components/date-picker-popover/DatePickerPopover.tsx +7 -0
  248. package/src/components/deal-card/DealCard.tsx +2 -2
  249. package/src/components/document-card/DocumentCard.tsx +1 -1
  250. package/src/components/drawer/Drawer.test.tsx +12 -0
  251. package/src/components/drawer/Drawer.tsx +8 -1
  252. package/src/components/entity-card/EntityCard.tsx +2 -2
  253. package/src/components/feature-grid/FeatureGrid.tsx +2 -2
  254. package/src/components/feature-row/FeatureRow.tsx +1 -1
  255. package/src/components/file-upload/FileUpload.test.tsx +10 -0
  256. package/src/components/file-upload/FileUpload.tsx +18 -3
  257. package/src/components/filter-chips/FilterChips.test.tsx +11 -0
  258. package/src/components/filter-chips/FilterChips.tsx +40 -4
  259. package/src/components/filter-panel/FilterPanel.test.tsx +19 -0
  260. package/src/components/filter-panel/FilterPanel.tsx +18 -14
  261. package/src/components/hero/Hero.tsx +2 -2
  262. package/src/components/image/Image.test.tsx +24 -0
  263. package/src/components/image/Image.tsx +7 -0
  264. package/src/components/list/List.test.tsx +18 -0
  265. package/src/components/list/List.tsx +18 -12
  266. package/src/components/menu/Menu.tsx +2 -2
  267. package/src/components/process-steps/ProcessSteps.tsx +1 -1
  268. package/src/components/prose/Prose.tsx +1 -1
  269. package/src/components/radio/Radio.test.tsx +10 -0
  270. package/src/components/radio/Radio.tsx +2 -2
  271. package/src/components/range-slider/RangeSlider.tsx +3 -3
  272. package/src/components/select/Select.test.tsx +14 -0
  273. package/src/components/select/Select.tsx +7 -2
  274. package/src/components/select-menu/SelectMenu.tsx +1 -1
  275. package/src/components/stepper/Stepper.tsx +1 -1
  276. package/src/components/table-of-contents/TableOfContents.tsx +1 -1
  277. package/src/components/timeline/Timeline.test.tsx +11 -0
  278. package/src/components/timeline/Timeline.tsx +13 -2
  279. package/src/components/toast/Toast.tsx +1 -1
  280. package/src/components/toast/Toaster.tsx +1 -1
  281. package/src/components/tombstone-card/TombstoneCard.tsx +1 -1
  282. package/src/components/tooltip/Tooltip.test.tsx +15 -0
  283. package/src/components/tooltip/Tooltip.tsx +19 -2
  284. package/src/manifests/accordion.manifest.json +1 -1
  285. package/src/manifests/alert.manifest.json +1 -1
  286. package/src/manifests/announcement-bar.manifest.json +1 -1
  287. package/src/manifests/app-shell.manifest.json +1 -1
  288. package/src/manifests/applied-filters.manifest.json +1 -1
  289. package/src/manifests/article-card.manifest.json +1 -1
  290. package/src/manifests/auth-layout.manifest.json +1 -1
  291. package/src/manifests/autocomplete.manifest.json +1 -1
  292. package/src/manifests/avatar.manifest.json +1 -1
  293. package/src/manifests/badge.manifest.json +1 -1
  294. package/src/manifests/block.manifest.json +1 -1
  295. package/src/manifests/bottom-nav.manifest.json +1 -1
  296. package/src/manifests/breadcrumb.manifest.json +1 -1
  297. package/src/manifests/button-group.manifest.json +1 -1
  298. package/src/manifests/button.manifest.json +1 -1
  299. package/src/manifests/calendar.manifest.json +1 -1
  300. package/src/manifests/card.manifest.json +1 -1
  301. package/src/manifests/checkbox.manifest.json +1 -1
  302. package/src/manifests/comparison-table.manifest.json +1 -1
  303. package/src/manifests/confirm-dialog.manifest.json +1 -1
  304. package/src/manifests/contact-strip.manifest.json +1 -1
  305. package/src/manifests/container.manifest.json +1 -1
  306. package/src/manifests/cta-section.manifest.json +1 -1
  307. package/src/manifests/data-table.manifest.json +1 -1
  308. package/src/manifests/date-picker-popover.manifest.json +1 -1
  309. package/src/manifests/date-picker.manifest.json +1 -1
  310. package/src/manifests/date-range-picker.manifest.json +1 -1
  311. package/src/manifests/deal-card.manifest.json +1 -1
  312. package/src/manifests/dialog.manifest.json +1 -1
  313. package/src/manifests/document-card.manifest.json +1 -1
  314. package/src/manifests/drawer.manifest.json +1 -1
  315. package/src/manifests/empty-state.manifest.json +1 -1
  316. package/src/manifests/entity-card.manifest.json +1 -1
  317. package/src/manifests/feature-grid.manifest.json +1 -1
  318. package/src/manifests/feature-row.manifest.json +1 -1
  319. package/src/manifests/fieldset.manifest.json +1 -1
  320. package/src/manifests/file-upload.manifest.json +1 -1
  321. package/src/manifests/filter-bar.manifest.json +1 -1
  322. package/src/manifests/filter-chips.manifest.json +13 -1
  323. package/src/manifests/filter-panel.manifest.json +1 -1
  324. package/src/manifests/flex.manifest.json +1 -1
  325. package/src/manifests/form-field.manifest.json +1 -1
  326. package/src/manifests/form-layout.manifest.json +1 -1
  327. package/src/manifests/form.manifest.json +1 -1
  328. package/src/manifests/grid.manifest.json +1 -1
  329. package/src/manifests/heading.manifest.json +1 -1
  330. package/src/manifests/hero.manifest.json +1 -1
  331. package/src/manifests/image.manifest.json +1 -1
  332. package/src/manifests/input-group.manifest.json +1 -1
  333. package/src/manifests/input.manifest.json +1 -1
  334. package/src/manifests/label.manifest.json +1 -1
  335. package/src/manifests/link-tabs.manifest.json +1 -1
  336. package/src/manifests/link.manifest.json +1 -1
  337. package/src/manifests/list.manifest.json +1 -1
  338. package/src/manifests/load-more.manifest.json +1 -1
  339. package/src/manifests/logo-cloud.manifest.json +1 -1
  340. package/src/manifests/menu.manifest.json +1 -1
  341. package/src/manifests/metric-card.manifest.json +1 -1
  342. package/src/manifests/multi-select.manifest.json +1 -1
  343. package/src/manifests/newsletter.manifest.json +1 -1
  344. package/src/manifests/page-header.manifest.json +1 -1
  345. package/src/manifests/pagination.manifest.json +1 -1
  346. package/src/manifests/password-input.manifest.json +1 -1
  347. package/src/manifests/popover.manifest.json +1 -1
  348. package/src/manifests/process-steps.manifest.json +1 -1
  349. package/src/manifests/progress.manifest.json +1 -1
  350. package/src/manifests/prose.manifest.json +1 -1
  351. package/src/manifests/radio.manifest.json +1 -1
  352. package/src/manifests/range-slider.manifest.json +1 -1
  353. package/src/manifests/search.manifest.json +1 -1
  354. package/src/manifests/section-heading.manifest.json +1 -1
  355. package/src/manifests/section.manifest.json +1 -1
  356. package/src/manifests/segmented-control.manifest.json +1 -1
  357. package/src/manifests/select-menu.manifest.json +1 -1
  358. package/src/manifests/select.manifest.json +8 -1
  359. package/src/manifests/separator.manifest.json +1 -1
  360. package/src/manifests/site-footer.manifest.json +1 -1
  361. package/src/manifests/site-header.manifest.json +1 -1
  362. package/src/manifests/skeleton.manifest.json +1 -1
  363. package/src/manifests/spinner.manifest.json +1 -1
  364. package/src/manifests/stat-band.manifest.json +1 -1
  365. package/src/manifests/stepper.manifest.json +1 -1
  366. package/src/manifests/switch.manifest.json +1 -1
  367. package/src/manifests/table-card.manifest.json +1 -1
  368. package/src/manifests/table-of-contents.manifest.json +1 -1
  369. package/src/manifests/table.manifest.json +1 -1
  370. package/src/manifests/tabs.manifest.json +1 -1
  371. package/src/manifests/testimonial.manifest.json +1 -1
  372. package/src/manifests/text.manifest.json +1 -1
  373. package/src/manifests/textarea.manifest.json +1 -1
  374. package/src/manifests/theme-toggle.manifest.json +1 -1
  375. package/src/manifests/time-picker.manifest.json +1 -1
  376. package/src/manifests/timeline.manifest.json +1 -1
  377. package/src/manifests/toast.manifest.json +1 -1
  378. package/src/manifests/tombstone-card.manifest.json +1 -1
  379. package/src/manifests/tooltip.manifest.json +12 -1
package/dist/index.js CHANGED
@@ -468,11 +468,12 @@ function Drawer({
468
468
  "duration-200 motion-reduce:animate-none",
469
469
  exiting ? `animate-out ${slideOut[side]}` : `animate-in ${slideIn[side]}`
470
470
  ) : void 0;
471
+ const backdropMotion = animate ? cn("motion-reduce:animate-none", exiting ? "animate-out fade-out-0" : "animate-in fade-in-0") : void 0;
471
472
  return (0, import_react_dom.createPortal)(
472
473
  /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
473
474
  "div",
474
475
  {
475
- className: "fixed inset-0 z-50",
476
+ className: cn("fixed inset-0 z-50 bg-background/80", backdropMotion),
476
477
  onMouseDown: (event) => {
477
478
  if (closeOnBackdrop && event.target === event.currentTarget) requestClose();
478
479
  },
@@ -732,7 +733,7 @@ var buttonVariants = (0, import_class_variance_authority.cva)(
732
733
  "outline-info": "border border-info/50 bg-background text-info-ink hover:border-info hover:bg-info/10",
733
734
  secondary: "bg-secondary text-secondary-foreground hover:bg-secondary/80",
734
735
  ghost: "hover:bg-accent hover:text-accent-foreground",
735
- link: "text-primary underline-offset-4 hover:underline",
736
+ link: "text-primary-ink underline-offset-4 hover:underline",
736
737
  // High-contrast fills for hero and other always-dark surfaces. These
737
738
  // do not read the theme surface, so they stay legible in both modes.
738
739
  // Fixed ink, not --primary: in dark mode --primary lightens and would
@@ -863,13 +864,13 @@ Textarea.displayName = "Textarea";
863
864
  // src/components/select/Select.tsx
864
865
  var React9 = __toESM(require("react"));
865
866
  var import_jsx_runtime7 = require("react/jsx-runtime");
866
- var Select = React9.forwardRef(function Select2({ options, groups, label, placeholder, multiple = false, value, defaultValue, onChange, onValueChange, children, id, className, ...props }, ref) {
867
+ var Select = React9.forwardRef(function Select2({ options, groups, label, labelHidden = false, placeholder, multiple = false, value, defaultValue, onChange, onValueChange, children, id, className, ...props }, ref) {
867
868
  const generatedId = React9.useId();
868
869
  const selectId = id ?? generatedId;
869
870
  const labelId = `${selectId}-label`;
870
871
  const renderOption = (option) => /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("option", { value: option.value, disabled: option.disabled, children: option.label }, option.value);
871
872
  return /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)("div", { className: "flex w-full flex-col gap-1.5", children: [
872
- label && /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("label", { id: labelId, htmlFor: selectId, className: "text-sm font-medium", children: label }),
873
+ label && /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("label", { id: labelId, htmlFor: selectId, className: labelHidden ? "sr-only" : "text-sm font-medium", children: label }),
873
874
  /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(
874
875
  "select",
875
876
  {
@@ -1069,7 +1070,7 @@ function BottomNav({
1069
1070
  "aria-current": item.active ? "page" : void 0,
1070
1071
  className: cn(
1071
1072
  tabClass,
1072
- item.active ? "text-primary" : "text-muted-foreground hover:text-foreground"
1073
+ item.active ? "text-primary-ink" : "text-muted-foreground hover:text-foreground"
1073
1074
  ),
1074
1075
  children: content
1075
1076
  }
@@ -1233,7 +1234,7 @@ function ToastRegion({
1233
1234
  entry.action?.onClick();
1234
1235
  onDismiss(entry.id);
1235
1236
  },
1236
- className: "mt-2 text-sm font-medium text-primary hover:underline",
1237
+ className: "mt-2 text-sm font-medium text-primary-ink hover:underline",
1237
1238
  children: entry.action.label
1238
1239
  }
1239
1240
  )
@@ -1359,7 +1360,7 @@ function Toaster({ position = "bottom-right", label = "Notifications", dismissLa
1359
1360
  entry.action?.onClick();
1360
1361
  toast.dismiss(entry.id);
1361
1362
  },
1362
- className: "mt-2 text-sm font-medium text-primary hover:underline",
1363
+ className: "mt-2 text-sm font-medium text-primary-ink hover:underline",
1363
1364
  children: entry.action.label
1364
1365
  }
1365
1366
  )
@@ -1831,7 +1832,7 @@ var SelectMenu = React17.forwardRef(function SelectMenu2({
1831
1832
  /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("span", { className: "block", children: row.item.label }),
1832
1833
  row.item.description && /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("span", { className: "mt-0.5 block text-xs text-muted-foreground", children: row.item.description })
1833
1834
  ] }),
1834
- multiple && selectedValues.includes(row.item.value) && /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("span", { "aria-hidden": "true", className: "ml-auto text-primary", children: "\u2713" })
1835
+ multiple && selectedValues.includes(row.item.value) && /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("span", { "aria-hidden": "true", className: "ml-auto text-primary-ink", children: "\u2713" })
1835
1836
  ] })
1836
1837
  },
1837
1838
  row.item.value
@@ -2271,7 +2272,7 @@ var Checkbox = React21.forwardRef(
2271
2272
  onChange?.(event);
2272
2273
  },
2273
2274
  className: cn(
2274
- "peer h-4 w-4 shrink-0 rounded-sm border border-primary",
2275
+ "peer h-4 w-4 shrink-0 rounded-sm border border-primary accent-primary",
2275
2276
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background",
2276
2277
  "disabled:cursor-not-allowed disabled:opacity-50",
2277
2278
  "checked:bg-primary checked:text-primary-foreground",
@@ -2356,7 +2357,7 @@ var Radio = React23.forwardRef(
2356
2357
  onChange?.(event);
2357
2358
  },
2358
2359
  className: cn(
2359
- "h-4 w-4 shrink-0 rounded-full border border-primary",
2360
+ "h-4 w-4 shrink-0 rounded-full border border-primary accent-primary",
2360
2361
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background",
2361
2362
  "disabled:cursor-not-allowed disabled:opacity-50",
2362
2363
  "checked:bg-primary checked:text-primary-foreground",
@@ -2414,7 +2415,7 @@ var RadioGroupItem = React23.forwardRef(
2414
2415
  value,
2415
2416
  checked: group.value === value,
2416
2417
  onCheckedChange: (checked) => checked && group.onChange(value),
2417
- className,
2418
+ className: cn("peer", className),
2418
2419
  ...props
2419
2420
  }
2420
2421
  ),
@@ -2516,8 +2517,12 @@ var React27 = __toESM(require("react"));
2516
2517
  var import_react_dom6 = require("react-dom");
2517
2518
  var import_jsx_runtime26 = require("react/jsx-runtime");
2518
2519
  var GAP = 8;
2520
+ var VARIANTS = {
2521
+ default: "border-border bg-popover text-popover-foreground",
2522
+ inverse: "border-inverse-border bg-inverse text-inverse-foreground"
2523
+ };
2519
2524
  var Tooltip = React27.forwardRef(
2520
- ({ content, side = "top", delay = 300, className, children }, ref) => {
2525
+ ({ content, side = "top", delay = 300, variant = "default", className, children }, ref) => {
2521
2526
  const [open, setOpen] = React27.useState(false);
2522
2527
  const [pos, setPos] = React27.useState(null);
2523
2528
  const anchorRef = React27.useRef(null);
@@ -2583,7 +2588,10 @@ var Tooltip = React27.forwardRef(
2583
2588
  id,
2584
2589
  role: "tooltip",
2585
2590
  style: { position: "fixed", top: pos.top, left: pos.left, transform: pos.transform, zIndex: 60 },
2586
- className: "pointer-events-none w-max max-w-xs rounded-md border border-border bg-popover px-3 py-1.5 text-xs text-popover-foreground shadow-md",
2591
+ className: cn(
2592
+ "pointer-events-none w-max max-w-xs rounded-md border px-3 py-1.5 text-xs shadow-md",
2593
+ VARIANTS[variant]
2594
+ ),
2587
2595
  children: content
2588
2596
  }
2589
2597
  ),
@@ -3694,7 +3702,7 @@ function TableOfContents({
3694
3702
  onClick: () => onNavigate?.(heading.id),
3695
3703
  className: cn(
3696
3704
  "-ml-px block border-l py-1 pl-3 no-underline transition-colors",
3697
- active ? "border-primary font-medium text-primary underline" : "border-transparent text-muted-foreground hover:border-border hover:text-foreground"
3705
+ active ? "border-primary font-medium text-primary-ink underline" : "border-transparent text-muted-foreground hover:border-border hover:text-foreground"
3698
3706
  ),
3699
3707
  children: heading.text
3700
3708
  }
@@ -3760,7 +3768,7 @@ var Prose = React42.forwardRef(function Prose2({ size = "md", className, ...prop
3760
3768
  "[&_h4]:mb-2 [&_h4]:mt-6 [&_h4]:scroll-mt-24 [&_h4]:font-semibold",
3761
3769
  // Body copy
3762
3770
  "[&_p]:my-4 [&_p]:leading-7",
3763
- "[&_a]:text-primary [&_a]:underline [&_a]:decoration-primary/40 [&_a]:underline-offset-4 hover:[&_a]:decoration-primary",
3771
+ "[&_a]:text-primary-ink [&_a]:underline [&_a]:decoration-primary/40 [&_a]:underline-offset-4 hover:[&_a]:decoration-primary",
3764
3772
  "[&_strong]:font-semibold [&_strong]:text-foreground [&_em]:italic",
3765
3773
  "[&_ul]:my-4 [&_ul]:list-disc [&_ul]:space-y-1.5 [&_ul]:pl-6",
3766
3774
  "[&_ol]:my-4 [&_ol]:list-decimal [&_ol]:space-y-1.5 [&_ol]:pl-6",
@@ -4216,25 +4224,32 @@ var AccordionContent = React44.forwardRef(
4216
4224
  const { id } = React44.useContext(AccordionItemContext);
4217
4225
  const { openItems } = React44.useContext(AccordionContext);
4218
4226
  const open = openItems.has(id);
4227
+ const [mounted, setMounted] = React44.useState(open);
4219
4228
  const [expanded, setExpanded] = React44.useState(open);
4220
4229
  React44.useEffect(() => {
4221
- if (!open) {
4222
- setExpanded(false);
4223
- return;
4224
- }
4225
4230
  const reduce = typeof window.matchMedia === "function" && window.matchMedia("(prefers-reduced-motion: reduce)").matches;
4231
+ if (open) {
4232
+ setMounted(true);
4233
+ if (reduce) {
4234
+ setExpanded(true);
4235
+ return;
4236
+ }
4237
+ let second = 0;
4238
+ const first = requestAnimationFrame(() => {
4239
+ second = requestAnimationFrame(() => setExpanded(true));
4240
+ });
4241
+ return () => {
4242
+ cancelAnimationFrame(first);
4243
+ cancelAnimationFrame(second);
4244
+ };
4245
+ }
4246
+ setExpanded(false);
4226
4247
  if (reduce) {
4227
- setExpanded(true);
4248
+ setMounted(false);
4228
4249
  return;
4229
4250
  }
4230
- let second = 0;
4231
- const first = requestAnimationFrame(() => {
4232
- second = requestAnimationFrame(() => setExpanded(true));
4233
- });
4234
- return () => {
4235
- cancelAnimationFrame(first);
4236
- cancelAnimationFrame(second);
4237
- };
4251
+ const timer = setTimeout(() => setMounted(false), 320);
4252
+ return () => clearTimeout(timer);
4238
4253
  }, [open]);
4239
4254
  return /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
4240
4255
  "div",
@@ -4243,15 +4258,15 @@ var AccordionContent = React44.forwardRef(
4243
4258
  id: `${id}-panel`,
4244
4259
  role: "region",
4245
4260
  "aria-labelledby": `${id}-trigger`,
4246
- hidden: !open,
4261
+ "aria-hidden": open ? void 0 : true,
4262
+ hidden: !mounted,
4247
4263
  className: cn(
4248
- // No display utility while closed: author styles would beat the
4264
+ // No display utility while unmounted: author styles would beat the
4249
4265
  // UA [hidden] rule and keep the collapsed panel visible.
4250
- open && cn(
4251
- "grid transition-[grid-template-rows] duration-200 ease-out motion-reduce:transition-none",
4252
- expanded ? "grid-rows-[1fr]" : "grid-rows-[0fr]"
4266
+ mounted && cn(
4267
+ "grid transition-[grid-template-rows,opacity] duration-300 ease-out motion-reduce:transition-none",
4268
+ expanded ? "grid-rows-[1fr] opacity-100" : "grid-rows-[0fr] pointer-events-none opacity-0"
4253
4269
  ),
4254
- !open && "grid-rows-[0fr]",
4255
4270
  className
4256
4271
  ),
4257
4272
  ...props,
@@ -4727,8 +4742,9 @@ function DataTable({
4727
4742
  // src/components/list/List.tsx
4728
4743
  var React48 = __toESM(require("react"));
4729
4744
  var import_jsx_runtime48 = require("react/jsx-runtime");
4745
+ var ListDensityContext = React48.createContext("default");
4730
4746
  var List = React48.forwardRef(
4731
- ({ divided, bordered, size = "default", className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
4747
+ ({ divided, bordered, size = "default", className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(ListDensityContext.Provider, { value: size, children: /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
4732
4748
  "ul",
4733
4749
  {
4734
4750
  ref,
@@ -4736,17 +4752,17 @@ var List = React48.forwardRef(
4736
4752
  "flex flex-col",
4737
4753
  bordered && "overflow-hidden rounded-lg border border-border bg-card",
4738
4754
  divided && "divide-y divide-border",
4739
- size === "compact" ? "gap-0" : "gap-0",
4740
4755
  className
4741
4756
  ),
4742
4757
  ...props
4743
4758
  }
4744
- )
4759
+ ) })
4745
4760
  );
4746
4761
  List.displayName = "List";
4747
4762
  var ListItem = React48.forwardRef(
4748
4763
  ({ leading, trailing, selected, onClick, description, disabled, className, children, ...props }, ref) => {
4749
- const padding = "px-3 py-2.5";
4764
+ const density = React48.useContext(ListDensityContext);
4765
+ const padding = density === "compact" ? "px-3 py-1.5" : "px-3 py-2.5";
4750
4766
  const rowClass = cn(
4751
4767
  "flex w-full items-center gap-3 text-left text-sm",
4752
4768
  selected && "bg-accent text-accent-foreground",
@@ -4837,6 +4853,11 @@ function Image2({
4837
4853
  style
4838
4854
  }) {
4839
4855
  const [stage, setStage] = React50.useState(0);
4856
+ const [prevUrls, setPrevUrls] = React50.useState({ src, fallbackSrc });
4857
+ if (prevUrls.src !== src || prevUrls.fallbackSrc !== fallbackSrc) {
4858
+ setPrevUrls({ src, fallbackSrc });
4859
+ setStage(0);
4860
+ }
4840
4861
  const onError = () => setStage((current2) => current2 === 0 && fallbackSrc ? 1 : 2);
4841
4862
  const current = stage === 0 ? src : stage === 1 ? fallbackSrc : null;
4842
4863
  if (!current || stage === 2) return /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(import_jsx_runtime50.Fragment, { children: fallback ?? null });
@@ -5645,7 +5666,9 @@ var DatePickerPopover = React62.forwardRef(
5645
5666
  align = "start",
5646
5667
  id,
5647
5668
  className,
5648
- "aria-label": ariaLabel
5669
+ "aria-label": ariaLabel,
5670
+ "aria-describedby": ariaDescribedBy,
5671
+ "aria-invalid": ariaInvalid
5649
5672
  }, ref) => {
5650
5673
  const [open, setOpen] = React62.useState(false);
5651
5674
  const triggerRef = React62.useRef(null);
@@ -5667,6 +5690,8 @@ var DatePickerPopover = React62.forwardRef(
5667
5690
  id,
5668
5691
  disabled,
5669
5692
  "aria-label": ariaLabel,
5693
+ "aria-describedby": ariaDescribedBy,
5694
+ "aria-invalid": ariaInvalid,
5670
5695
  className: cn(
5671
5696
  buttonVariants({ variant: "outline" }),
5672
5697
  "w-full justify-start font-normal",
@@ -5793,7 +5818,7 @@ var Stepper = React64.forwardRef(function Stepper2({
5793
5818
  "rounded-full border font-medium",
5794
5819
  markerSizeClass,
5795
5820
  state === "complete" && "border-primary bg-primary text-primary-foreground",
5796
- state === "current" && "border-primary text-primary",
5821
+ state === "current" && "border-primary text-primary-ink",
5797
5822
  state === "upcoming" && "border-border text-muted-foreground"
5798
5823
  )
5799
5824
  ),
@@ -5917,6 +5942,16 @@ var FileUpload = React65.forwardRef(function FileUpload2({
5917
5942
  const current = files ?? internal;
5918
5943
  const generatedId = React65.useId();
5919
5944
  const inputId = id ?? generatedId;
5945
+ const fileIds = React65.useRef(/* @__PURE__ */ new WeakMap());
5946
+ const nextFileId = React65.useRef(0);
5947
+ const idFor = (file) => {
5948
+ let fileId = fileIds.current.get(file);
5949
+ if (!fileId) {
5950
+ fileId = `file-${nextFileId.current++}`;
5951
+ fileIds.current.set(file, fileId);
5952
+ }
5953
+ return fileId;
5954
+ };
5920
5955
  const commit = (next) => {
5921
5956
  if (files === void 0) setInternal(next);
5922
5957
  onFilesChange?.(next);
@@ -5993,13 +6028,13 @@ var FileUpload = React65.forwardRef(function FileUpload2({
5993
6028
  "button",
5994
6029
  {
5995
6030
  type: "button",
5996
- onClick: () => commit(current.filter((entry) => entry.name !== file.name)),
6031
+ onClick: () => commit(current.filter((entry) => entry !== file)),
5997
6032
  "aria-label": removeLabel(file),
5998
6033
  className: "rounded p-1 text-muted-foreground hover:text-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
5999
6034
  children: "\u2715"
6000
6035
  }
6001
6036
  )
6002
- ] }, file.name)) })
6037
+ ] }, idFor(file))) })
6003
6038
  ] });
6004
6039
  });
6005
6040
 
@@ -6008,19 +6043,23 @@ var React66 = __toESM(require("react"));
6008
6043
  var import_jsx_runtime66 = require("react/jsx-runtime");
6009
6044
  var Timeline = React66.forwardRef(function Timeline2({ items, className, ...props }, ref) {
6010
6045
  return /* @__PURE__ */ (0, import_jsx_runtime66.jsx)("ol", { ref, className: cn("relative flex flex-col gap-6", className), ...props, children: items.map((item, index) => /* @__PURE__ */ (0, import_jsx_runtime66.jsxs)("li", { className: "relative flex gap-4", children: [
6011
- /* @__PURE__ */ (0, import_jsx_runtime66.jsxs)("div", { className: "flex flex-col items-center", children: [
6012
- /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(
6013
- "span",
6014
- {
6015
- "aria-hidden": "true",
6016
- className: cn(
6017
- "mt-1 flex h-3 w-3 shrink-0 items-center justify-center rounded-full border-2",
6018
- item.muted ? "border-border bg-background" : "border-primary bg-primary"
6019
- )
6020
- }
6021
- ),
6022
- index < items.length - 1 && /* @__PURE__ */ (0, import_jsx_runtime66.jsx)("span", { "aria-hidden": "true", className: "mt-1 w-px flex-1 bg-border" })
6023
- ] }),
6046
+ index < items.length - 1 && /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(
6047
+ "span",
6048
+ {
6049
+ "aria-hidden": "true",
6050
+ className: "absolute left-[5.5px] top-4 -bottom-7 w-px bg-border"
6051
+ }
6052
+ ),
6053
+ /* @__PURE__ */ (0, import_jsx_runtime66.jsx)("div", { className: "relative z-10 flex flex-col items-center", children: /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(
6054
+ "span",
6055
+ {
6056
+ "aria-hidden": "true",
6057
+ className: cn(
6058
+ "mt-1 flex h-3 w-3 shrink-0 items-center justify-center rounded-full border-2",
6059
+ item.muted ? "border-border bg-background" : "border-primary bg-primary"
6060
+ )
6061
+ }
6062
+ ) }),
6024
6063
  /* @__PURE__ */ (0, import_jsx_runtime66.jsxs)("div", { className: "min-w-0 pb-1", children: [
6025
6064
  item.period && /* @__PURE__ */ (0, import_jsx_runtime66.jsx)("p", { className: "text-xs font-medium uppercase tracking-wide text-muted-foreground", children: item.period }),
6026
6065
  /* @__PURE__ */ (0, import_jsx_runtime66.jsx)("p", { className: cn("text-sm font-semibold", item.muted && "text-muted-foreground"), children: item.title }),
@@ -6378,7 +6417,7 @@ var Hero = React72.forwardRef(function Hero2({
6378
6417
  {
6379
6418
  className: cn(
6380
6419
  "mb-5 inline-flex rounded-full border px-3 py-1 text-xs font-medium",
6381
- overlay ? "border-background/30 bg-background/10 text-background" : "border-primary/30 bg-primary/10 text-primary",
6420
+ overlay ? "border-background/30 bg-background/10 text-background" : "border-primary/30 bg-primary/10 text-primary-ink",
6382
6421
  badgeClassName
6383
6422
  ),
6384
6423
  children: badge
@@ -6389,7 +6428,7 @@ var Hero = React72.forwardRef(function Hero2({
6389
6428
  {
6390
6429
  className: cn(
6391
6430
  "mb-3 text-xs font-semibold uppercase tracking-widest",
6392
- overlay ? "text-background/90" : "text-primary",
6431
+ overlay ? "text-background/90" : "text-primary-ink",
6393
6432
  eyebrowClassName
6394
6433
  ),
6395
6434
  children: eyebrow
@@ -6749,10 +6788,10 @@ var FeatureGrid = React77.forwardRef(function FeatureGrid2({ features, columns =
6749
6788
  align === "center" && "items-center text-center"
6750
6789
  );
6751
6790
  const content = (feature) => /* @__PURE__ */ (0, import_jsx_runtime77.jsxs)(import_jsx_runtime77.Fragment, { children: [
6752
- feature.icon && /* @__PURE__ */ (0, import_jsx_runtime77.jsx)("span", { className: "flex h-10 w-10 shrink-0 items-center justify-center rounded-lg bg-primary/10 text-primary [&_svg]:size-5", children: feature.icon }),
6791
+ feature.icon && /* @__PURE__ */ (0, import_jsx_runtime77.jsx)("span", { className: "flex h-10 w-10 shrink-0 items-center justify-center rounded-lg bg-primary/10 text-primary-ink [&_svg]:size-5", children: feature.icon }),
6753
6792
  /* @__PURE__ */ (0, import_jsx_runtime77.jsx)("h3", { className: "text-base font-semibold tracking-tight", children: feature.title }),
6754
6793
  feature.description && /* @__PURE__ */ (0, import_jsx_runtime77.jsx)("p", { className: "text-sm leading-relaxed text-muted-foreground", children: feature.description }),
6755
- feature.href && feature.actionLabel && /* @__PURE__ */ (0, import_jsx_runtime77.jsxs)("span", { className: "mt-auto pt-2 text-sm font-medium text-primary", children: [
6794
+ feature.href && feature.actionLabel && /* @__PURE__ */ (0, import_jsx_runtime77.jsxs)("span", { className: "mt-auto pt-2 text-sm font-medium text-primary-ink", children: [
6756
6795
  feature.actionLabel,
6757
6796
  " ",
6758
6797
  /* @__PURE__ */ (0, import_jsx_runtime77.jsx)("span", { "aria-hidden": "true", children: "\u2192" })
@@ -6789,7 +6828,7 @@ var FeatureRow = React78.forwardRef(function FeatureRow2({
6789
6828
  ...props,
6790
6829
  children: [
6791
6830
  /* @__PURE__ */ (0, import_jsx_runtime78.jsxs)("div", { className: cn("min-w-0", mediaPosition === "left" && "lg:order-2"), children: [
6792
- eyebrow && /* @__PURE__ */ (0, import_jsx_runtime78.jsx)("p", { className: "mb-3 text-xs font-semibold uppercase tracking-widest text-primary", children: eyebrow }),
6831
+ eyebrow && /* @__PURE__ */ (0, import_jsx_runtime78.jsx)("p", { className: "mb-3 text-xs font-semibold uppercase tracking-widest text-primary-ink", children: eyebrow }),
6793
6832
  /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(Heading2, { className: cn("font-semibold tracking-tight text-balance", titleSizes2[size]), children: title }),
6794
6833
  description && /* @__PURE__ */ (0, import_jsx_runtime78.jsx)("div", { className: "mt-4 max-w-xl text-base leading-relaxed text-muted-foreground sm:text-lg", children: description }),
6795
6834
  actions && /* @__PURE__ */ (0, import_jsx_runtime78.jsx)("div", { className: "mt-7 flex flex-wrap items-center gap-3", children: actions })
@@ -6852,7 +6891,7 @@ var ProcessSteps = React80.forwardRef(function ProcessSteps2({ steps, columns =
6852
6891
  {
6853
6892
  className: cn("flex min-w-0 flex-col gap-4", align === "center" && "items-center text-center"),
6854
6893
  children: [
6855
- /* @__PURE__ */ (0, import_jsx_runtime80.jsx)("span", { className: "flex h-10 w-10 shrink-0 items-center justify-center rounded-full bg-primary/10 text-sm font-semibold text-primary [&_svg]:size-5", children: step.icon ?? (numbered ? String(index + 1).padStart(2, "0") : null) }),
6894
+ /* @__PURE__ */ (0, import_jsx_runtime80.jsx)("span", { className: "flex h-10 w-10 shrink-0 items-center justify-center rounded-full bg-primary/10 text-sm font-semibold text-primary-ink [&_svg]:size-5", children: step.icon ?? (numbered ? String(index + 1).padStart(2, "0") : null) }),
6856
6895
  /* @__PURE__ */ (0, import_jsx_runtime80.jsxs)("div", { className: "min-w-0", children: [
6857
6896
  /* @__PURE__ */ (0, import_jsx_runtime80.jsx)("h3", { className: "text-base font-semibold tracking-tight", children: step.title }),
6858
6897
  step.description && /* @__PURE__ */ (0, import_jsx_runtime80.jsx)("p", { className: "mt-1 text-sm leading-relaxed text-muted-foreground", children: step.description })
@@ -6977,10 +7016,10 @@ var columnClasses5 = {
6977
7016
  var ContactStrip = React83.forwardRef(function ContactStrip2({ items, columns = 2, align = "left", linkComponent, className, ...props }, ref) {
6978
7017
  const Link3 = linkComponent ?? "a";
6979
7018
  return /* @__PURE__ */ (0, import_jsx_runtime83.jsx)("ul", { ref, className: cn("grid gap-6", columnClasses5[columns], className), ...props, children: items.map((item) => /* @__PURE__ */ (0, import_jsx_runtime83.jsxs)("li", { className: cn("flex min-w-0 items-start gap-3", align === "center" && "justify-center text-center"), children: [
6980
- item.icon && /* @__PURE__ */ (0, import_jsx_runtime83.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 }),
7019
+ item.icon && /* @__PURE__ */ (0, import_jsx_runtime83.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 }),
6981
7020
  /* @__PURE__ */ (0, import_jsx_runtime83.jsxs)("div", { className: "min-w-0", children: [
6982
7021
  /* @__PURE__ */ (0, import_jsx_runtime83.jsx)("p", { className: "text-xs font-semibold uppercase tracking-wider text-muted-foreground", children: item.label }),
6983
- item.href ? /* @__PURE__ */ (0, import_jsx_runtime83.jsx)(Link3, { 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_runtime83.jsx)("p", { className: "mt-0.5 break-words text-sm font-medium", children: item.value })
7022
+ item.href ? /* @__PURE__ */ (0, import_jsx_runtime83.jsx)(Link3, { 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_runtime83.jsx)("p", { className: "mt-0.5 break-words text-sm font-medium", children: item.value })
6984
7023
  ] })
6985
7024
  ] }, item.label)) });
6986
7025
  });
@@ -7085,10 +7124,10 @@ var DealCard = React85.forwardRef(function DealCard2({
7085
7124
  return /* @__PURE__ */ (0, import_jsx_runtime85.jsxs)(Card, { ref, className: cn("flex h-full flex-col overflow-hidden", className), ...props, children: [
7086
7125
  /* @__PURE__ */ (0, import_jsx_runtime85.jsxs)(CardHeader, { className: "gap-2 p-5 pb-3", children: [
7087
7126
  /* @__PURE__ */ (0, import_jsx_runtime85.jsxs)("div", { className: "flex items-start justify-between gap-2", children: [
7088
- /* @__PURE__ */ (0, import_jsx_runtime85.jsx)("p", { className: "text-xs font-semibold uppercase tracking-widest text-primary", children: sector }),
7127
+ /* @__PURE__ */ (0, import_jsx_runtime85.jsx)("p", { className: "text-xs font-semibold uppercase tracking-widest text-primary-ink", children: sector }),
7089
7128
  /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(Badge, { variant: statusInfo.variant, children: statusInfo.label })
7090
7129
  ] }),
7091
- /* @__PURE__ */ (0, import_jsx_runtime85.jsx)("h3", { className: "text-lg font-semibold leading-snug tracking-tight", children: href ? /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(Link3, { href, className: "rounded-sm hover:text-primary focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring", children: title }) : title }),
7130
+ /* @__PURE__ */ (0, import_jsx_runtime85.jsx)("h3", { className: "text-lg font-semibold leading-snug tracking-tight", children: href ? /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(Link3, { href, className: "rounded-sm hover:text-primary-ink focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring", children: title }) : title }),
7092
7131
  location && /* @__PURE__ */ (0, import_jsx_runtime85.jsx)("p", { className: "text-xs text-muted-foreground", children: location })
7093
7132
  ] }),
7094
7133
  /* @__PURE__ */ (0, import_jsx_runtime85.jsxs)(CardContent, { className: "flex-1 px-5 pb-3", children: [
@@ -7145,7 +7184,7 @@ var EntityCard = React86.forwardRef(function EntityCard2({
7145
7184
  /* @__PURE__ */ (0, import_jsx_runtime86.jsxs)(CardHeader, { className: "flex-row items-start gap-3 p-5 pb-3", children: [
7146
7185
  /* @__PURE__ */ (0, import_jsx_runtime86.jsx)("div", { className: "shrink-0", children: logo ?? /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(Avatar, { children: /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(AvatarFallback, { children: initials(name) }) }) }),
7147
7186
  /* @__PURE__ */ (0, import_jsx_runtime86.jsxs)("div", { className: "min-w-0 flex-1", children: [
7148
- /* @__PURE__ */ (0, import_jsx_runtime86.jsx)("h3", { className: "truncate text-base font-semibold tracking-tight", children: href ? /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(Link3, { href, className: "rounded-sm hover:text-primary focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring", children: name }) : name }),
7187
+ /* @__PURE__ */ (0, import_jsx_runtime86.jsx)("h3", { className: "truncate text-base font-semibold tracking-tight", children: href ? /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(Link3, { href, className: "rounded-sm hover:text-primary-ink focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring", children: name }) : name }),
7149
7188
  /* @__PURE__ */ (0, import_jsx_runtime86.jsx)("p", { className: "mt-0.5 truncate text-xs text-muted-foreground", children: entityType }),
7150
7189
  location && /* @__PURE__ */ (0, import_jsx_runtime86.jsx)("p", { className: "mt-0.5 truncate text-xs text-muted-foreground", children: location })
7151
7190
  ] })
@@ -7163,7 +7202,7 @@ var EntityCard = React86.forwardRef(function EntityCard2({
7163
7202
  Link3,
7164
7203
  {
7165
7204
  href,
7166
- className: "text-sm font-medium text-primary underline-offset-4 hover:underline focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
7205
+ className: "text-sm font-medium text-primary-ink underline-offset-4 hover:underline focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
7167
7206
  children: "View profile"
7168
7207
  }
7169
7208
  ),
@@ -7211,7 +7250,7 @@ var TombstoneCard = React87.forwardRef(function TombstoneCard2({
7211
7250
  Link3,
7212
7251
  {
7213
7252
  href,
7214
- className: "mt-auto text-sm font-medium text-primary underline-offset-4 hover:underline focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
7253
+ className: "mt-auto text-sm font-medium text-primary-ink underline-offset-4 hover:underline focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
7215
7254
  children: actionLabel
7216
7255
  }
7217
7256
  )
@@ -7243,7 +7282,7 @@ var DocumentCard = React88.forwardRef(function DocumentCard2({
7243
7282
  const statusInfo = statusConfig3[status];
7244
7283
  const meta = [fileType, size, updatedAt].filter(Boolean).join(" \xB7 ");
7245
7284
  return /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(Card, { ref, className: cn("w-full", className), ...props, children: /* @__PURE__ */ (0, import_jsx_runtime88.jsxs)(CardContent, { className: "flex items-center gap-3 p-4", children: [
7246
- /* @__PURE__ */ (0, import_jsx_runtime88.jsx)("span", { className: "flex h-10 w-10 shrink-0 items-center justify-center rounded-lg bg-primary/10 text-primary [&_svg]:size-5", children: icon ?? /* @__PURE__ */ (0, import_jsx_runtime88.jsx)("span", { className: "text-[10px] font-bold uppercase tracking-wide", children: fileType }) }),
7285
+ /* @__PURE__ */ (0, import_jsx_runtime88.jsx)("span", { className: "flex h-10 w-10 shrink-0 items-center justify-center rounded-lg bg-primary/10 text-primary-ink [&_svg]:size-5", children: icon ?? /* @__PURE__ */ (0, import_jsx_runtime88.jsx)("span", { className: "text-[10px] font-bold uppercase tracking-wide", children: fileType }) }),
7247
7286
  /* @__PURE__ */ (0, import_jsx_runtime88.jsxs)("div", { className: "min-w-0 flex-1", children: [
7248
7287
  /* @__PURE__ */ (0, import_jsx_runtime88.jsx)("p", { className: "truncate text-sm font-medium", children: name }),
7249
7288
  meta && /* @__PURE__ */ (0, import_jsx_runtime88.jsx)("p", { className: "mt-0.5 truncate text-xs text-muted-foreground", children: meta })
@@ -7414,9 +7453,9 @@ var import_jsx_runtime91 = require("react/jsx-runtime");
7414
7453
  var rangeInputClass = cn(
7415
7454
  "pointer-events-none absolute inset-x-0 top-1/2 h-6 w-full -translate-y-1/2 appearance-none bg-transparent",
7416
7455
  "[&::-webkit-slider-runnable-track]:h-1 [&::-webkit-slider-runnable-track]:rounded-full [&::-webkit-slider-runnable-track]:bg-transparent",
7417
- "[&::-webkit-slider-thumb]:pointer-events-auto [&::-webkit-slider-thumb]:mt-[-6px] [&::-webkit-slider-thumb]:h-4 [&::-webkit-slider-thumb]:w-4 [&::-webkit-slider-thumb]:cursor-grab [&::-webkit-slider-thumb]:appearance-none [&::-webkit-slider-thumb]:rounded-full [&::-webkit-slider-thumb]:border-2 [&::-webkit-slider-thumb]:border-primary [&::-webkit-slider-thumb]:bg-background [&::-webkit-slider-thumb]:shadow",
7456
+ "[&::-webkit-slider-thumb]:pointer-events-auto [&::-webkit-slider-thumb]:mt-[-6px] [&::-webkit-slider-thumb]:h-4 [&::-webkit-slider-thumb]:w-4 [&::-webkit-slider-thumb]:cursor-grab [&::-webkit-slider-thumb]:appearance-none [&::-webkit-slider-thumb]:rounded-full [&::-webkit-slider-thumb]:border-2 [&::-webkit-slider-thumb]:border-background [&::-webkit-slider-thumb]:bg-primary [&::-webkit-slider-thumb]:shadow-md",
7418
7457
  "[&::-moz-range-track]:h-1 [&::-moz-range-track]:rounded-full [&::-moz-range-track]:bg-transparent",
7419
- "[&::-moz-range-thumb]:pointer-events-auto [&::-moz-range-thumb]:h-4 [&::-moz-range-thumb]:w-4 [&::-moz-range-thumb]:cursor-grab [&::-moz-range-thumb]:rounded-full [&::-moz-range-thumb]:border-2 [&::-moz-range-thumb]:border-primary [&::-moz-range-thumb]:bg-background [&::-moz-range-thumb]:shadow",
7458
+ "[&::-moz-range-thumb]:pointer-events-auto [&::-moz-range-thumb]:h-4 [&::-moz-range-thumb]:w-4 [&::-moz-range-thumb]:cursor-grab [&::-moz-range-thumb]:rounded-full [&::-moz-range-thumb]:border-2 [&::-moz-range-thumb]:border-background [&::-moz-range-thumb]:bg-primary [&::-moz-range-thumb]:shadow-md",
7420
7459
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background",
7421
7460
  "disabled:cursor-not-allowed disabled:opacity-50"
7422
7461
  );
@@ -7456,7 +7495,7 @@ var RangeSlider = React91.forwardRef(function RangeSlider2({
7456
7495
  /* @__PURE__ */ (0, import_jsx_runtime91.jsx)("span", { children: formatValue(high) })
7457
7496
  ] }),
7458
7497
  /* @__PURE__ */ (0, import_jsx_runtime91.jsxs)("div", { className: "relative h-6 w-full", children: [
7459
- /* @__PURE__ */ (0, import_jsx_runtime91.jsx)("div", { className: "absolute inset-x-0 top-1/2 h-1 -translate-y-1/2 rounded-full bg-muted" }),
7498
+ /* @__PURE__ */ (0, import_jsx_runtime91.jsx)("div", { className: "absolute inset-x-0 top-1/2 h-1 -translate-y-1/2 rounded-full bg-border" }),
7460
7499
  /* @__PURE__ */ (0, import_jsx_runtime91.jsx)(
7461
7500
  "div",
7462
7501
  {
@@ -7501,8 +7540,29 @@ var RangeSlider = React91.forwardRef(function RangeSlider2({
7501
7540
  // src/components/filter-chips/FilterChips.tsx
7502
7541
  var React92 = __toESM(require("react"));
7503
7542
  var import_jsx_runtime92 = require("react/jsx-runtime");
7543
+ var CHIP_SIZES = {
7544
+ sm: {
7545
+ chip: "gap-1 py-0.5 pl-2.5 pr-0.5 text-xs",
7546
+ remove: "p-0.5",
7547
+ icon: "h-3 w-3",
7548
+ clear: "text-xs"
7549
+ },
7550
+ md: {
7551
+ chip: "gap-1.5 py-1 pl-3 pr-1 text-sm",
7552
+ remove: "p-1",
7553
+ icon: "h-3.5 w-3.5",
7554
+ clear: "text-sm"
7555
+ },
7556
+ lg: {
7557
+ chip: "gap-2 py-1.5 pl-3.5 pr-1.5 text-base",
7558
+ remove: "p-1.5",
7559
+ icon: "h-4 w-4",
7560
+ clear: "text-base"
7561
+ }
7562
+ };
7504
7563
  var FilterChips = React92.forwardRef(function FilterChips2({
7505
7564
  filters,
7565
+ size = "md",
7506
7566
  onClearAll,
7507
7567
  clearLabel = "Clear all",
7508
7568
  emptyLabel,
@@ -7513,6 +7573,7 @@ var FilterChips = React92.forwardRef(function FilterChips2({
7513
7573
  if (filters.length === 0) {
7514
7574
  return emptyLabel ? /* @__PURE__ */ (0, import_jsx_runtime92.jsx)("div", { ref, className: cn("text-sm text-muted-foreground", className), ...props, children: emptyLabel }) : null;
7515
7575
  }
7576
+ const scale = CHIP_SIZES[size];
7516
7577
  return /* @__PURE__ */ (0, import_jsx_runtime92.jsxs)(
7517
7578
  "div",
7518
7579
  {
@@ -7525,7 +7586,10 @@ var FilterChips = React92.forwardRef(function FilterChips2({
7525
7586
  filters.map((filter) => /* @__PURE__ */ (0, import_jsx_runtime92.jsxs)(
7526
7587
  "span",
7527
7588
  {
7528
- className: "inline-flex max-w-full items-center gap-1.5 rounded-full border border-border bg-muted/60 py-1 pl-3 pr-1 text-sm",
7589
+ className: cn(
7590
+ "inline-flex max-w-full items-center rounded-full border border-border bg-muted/60",
7591
+ scale.chip
7592
+ ),
7529
7593
  children: [
7530
7594
  /* @__PURE__ */ (0, import_jsx_runtime92.jsxs)("span", { className: "truncate", children: [
7531
7595
  /* @__PURE__ */ (0, import_jsx_runtime92.jsxs)("span", { className: "text-muted-foreground", children: [
@@ -7541,8 +7605,11 @@ var FilterChips = React92.forwardRef(function FilterChips2({
7541
7605
  type: "button",
7542
7606
  onClick: filter.onRemove,
7543
7607
  "aria-label": `Remove ${filter.label}${filter.value ? `: ${filter.value}` : ""}`,
7544
- className: "rounded-full p-1 text-muted-foreground transition-colors hover:bg-background hover:text-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
7545
- children: /* @__PURE__ */ (0, import_jsx_runtime92.jsx)("svg", { "aria-hidden": "true", viewBox: "0 0 20 20", className: "h-3.5 w-3.5", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", children: /* @__PURE__ */ (0, import_jsx_runtime92.jsx)("path", { d: "m5 5 10 10M15 5 5 15" }) })
7608
+ className: cn(
7609
+ "rounded-full text-muted-foreground transition-colors hover:bg-background hover:text-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
7610
+ scale.remove
7611
+ ),
7612
+ children: /* @__PURE__ */ (0, import_jsx_runtime92.jsx)("svg", { "aria-hidden": "true", viewBox: "0 0 20 20", className: scale.icon, fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", children: /* @__PURE__ */ (0, import_jsx_runtime92.jsx)("path", { d: "m5 5 10 10M15 5 5 15" }) })
7546
7613
  }
7547
7614
  )
7548
7615
  ]
@@ -7554,7 +7621,10 @@ var FilterChips = React92.forwardRef(function FilterChips2({
7554
7621
  {
7555
7622
  type: "button",
7556
7623
  onClick: onClearAll,
7557
- className: "rounded-sm px-1 text-sm font-medium text-primary underline-offset-4 hover:underline focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
7624
+ className: cn(
7625
+ "rounded-sm px-1 font-medium text-primary-ink underline-offset-4 hover:underline focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
7626
+ scale.clear
7627
+ ),
7558
7628
  children: clearLabel
7559
7629
  }
7560
7630
  )
@@ -7721,14 +7791,17 @@ var FilterPanel = React94.forwardRef(function FilterPanel2({
7721
7791
  ...props
7722
7792
  }, ref) {
7723
7793
  const Tag = as;
7724
- const [open, setOpen] = React94.useState(
7725
- defaultOpen ?? sections.filter((section) => section.defaultOpen).map((section) => section.title)
7726
- );
7727
- const isOpen = (section) => !collapsible || open.includes(section.title);
7728
- const toggle = (section) => {
7794
+ const [open, setOpen] = React94.useState(() => {
7795
+ if (defaultOpen) {
7796
+ return sections.flatMap((section, index) => defaultOpen.includes(section.title) ? [index] : []);
7797
+ }
7798
+ return sections.flatMap((section, index) => section.defaultOpen ? [index] : []);
7799
+ });
7800
+ const isOpen = (index) => !collapsible || open.includes(index);
7801
+ const toggle = (index) => {
7729
7802
  if (!collapsible) return;
7730
7803
  setOpen(
7731
- (current) => current.includes(section.title) ? current.filter((title2) => title2 !== section.title) : [...current, section.title]
7804
+ (current) => current.includes(index) ? current.filter((entry) => entry !== index) : [...current, index]
7732
7805
  );
7733
7806
  };
7734
7807
  return /* @__PURE__ */ (0, import_jsx_runtime94.jsxs)(Tag, { ref, className: cn("w-full rounded-xl border border-border bg-card", className), ...props, children: [
@@ -7736,16 +7809,17 @@ var FilterPanel = React94.forwardRef(function FilterPanel2({
7736
7809
  title && /* @__PURE__ */ (0, import_jsx_runtime94.jsx)("h2", { className: "text-sm font-semibold", children: title }),
7737
7810
  description && /* @__PURE__ */ (0, import_jsx_runtime94.jsx)("p", { className: "mt-1 text-xs text-muted-foreground", children: description })
7738
7811
  ] }),
7739
- /* @__PURE__ */ (0, import_jsx_runtime94.jsx)("div", { className: "divide-y divide-border", children: sections.map((section) => {
7740
- const expanded = isOpen(section);
7812
+ /* @__PURE__ */ (0, import_jsx_runtime94.jsx)("div", { className: "divide-y divide-border", children: sections.map((section, index) => {
7813
+ const expanded = isOpen(index);
7814
+ const sectionId = `filter-section-${index}`;
7741
7815
  return /* @__PURE__ */ (0, import_jsx_runtime94.jsxs)("div", { className: "px-4 py-3", children: [
7742
7816
  /* @__PURE__ */ (0, import_jsx_runtime94.jsx)("h3", { children: /* @__PURE__ */ (0, import_jsx_runtime94.jsxs)(
7743
7817
  "button",
7744
7818
  {
7745
7819
  type: "button",
7746
- onClick: () => toggle(section),
7820
+ onClick: () => toggle(index),
7747
7821
  "aria-expanded": expanded,
7748
- "aria-controls": `filter-section-${section.title.replace(/\s+/g, "-").toLowerCase()}`,
7822
+ "aria-controls": sectionId,
7749
7823
  disabled: !collapsible,
7750
7824
  className: cn(
7751
7825
  "flex w-full items-center justify-between gap-2 text-left text-sm font-medium",
@@ -7760,8 +7834,8 @@ var FilterPanel = React94.forwardRef(function FilterPanel2({
7760
7834
  ]
7761
7835
  }
7762
7836
  ) }),
7763
- expanded && /* @__PURE__ */ (0, import_jsx_runtime94.jsx)("div", { id: `filter-section-${section.title.replace(/\s+/g, "-").toLowerCase()}`, className: "mt-3", children: section.content })
7764
- ] }, section.title);
7837
+ expanded && /* @__PURE__ */ (0, import_jsx_runtime94.jsx)("div", { id: sectionId, className: "mt-3", children: section.content })
7838
+ ] }, index);
7765
7839
  }) }),
7766
7840
  (onReset || onApply || actions) && /* @__PURE__ */ (0, import_jsx_runtime94.jsxs)("div", { className: "flex flex-wrap items-center gap-2 border-t border-border px-4 py-3", children: [
7767
7841
  actions,