@slipstream-ui/core 0.8.0 → 0.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (325) hide show
  1. package/dist/index.d.mts +184 -8
  2. package/dist/index.d.ts +184 -8
  3. package/dist/index.js +1609 -887
  4. package/dist/index.js.map +1 -1
  5. package/dist/index.mjs +1651 -933
  6. package/dist/index.mjs.map +1 -1
  7. package/dist/manifests/accordion.manifest.json +2 -2
  8. package/dist/manifests/alert.manifest.json +1 -1
  9. package/dist/manifests/announcement-bar.manifest.json +1 -1
  10. package/dist/manifests/app-shell.manifest.json +1 -1
  11. package/dist/manifests/applied-filters.manifest.json +1 -1
  12. package/dist/manifests/article-card.manifest.json +1 -1
  13. package/dist/manifests/auth-layout.manifest.json +1 -1
  14. package/dist/manifests/autocomplete.manifest.json +1 -1
  15. package/dist/manifests/avatar.manifest.json +1 -1
  16. package/dist/manifests/badge.manifest.json +1 -1
  17. package/dist/manifests/block.manifest.json +1 -1
  18. package/dist/manifests/bottom-nav.manifest.json +1 -1
  19. package/dist/manifests/breadcrumb.manifest.json +1 -1
  20. package/dist/manifests/button-group.manifest.json +1 -1
  21. package/dist/manifests/button.manifest.json +1 -1
  22. package/dist/manifests/calendar.manifest.json +175 -0
  23. package/dist/manifests/card.manifest.json +1 -1
  24. package/dist/manifests/checkbox.manifest.json +1 -1
  25. package/dist/manifests/comparison-table.manifest.json +1 -1
  26. package/dist/manifests/confirm-dialog.manifest.json +1 -1
  27. package/dist/manifests/contact-strip.manifest.json +1 -1
  28. package/dist/manifests/container.manifest.json +1 -1
  29. package/dist/manifests/cta-section.manifest.json +1 -1
  30. package/dist/manifests/data-table.manifest.json +8 -1
  31. package/dist/manifests/date-picker-popover.manifest.json +202 -0
  32. package/dist/manifests/date-picker.manifest.json +1 -1
  33. package/dist/manifests/date-range-picker.manifest.json +1 -1
  34. package/dist/manifests/deal-card.manifest.json +1 -1
  35. package/dist/manifests/dialog.manifest.json +1 -1
  36. package/dist/manifests/document-card.manifest.json +1 -1
  37. package/dist/manifests/drawer.manifest.json +1 -1
  38. package/dist/manifests/empty-state.manifest.json +1 -1
  39. package/dist/manifests/entity-card.manifest.json +1 -1
  40. package/dist/manifests/feature-grid.manifest.json +1 -1
  41. package/dist/manifests/feature-row.manifest.json +1 -1
  42. package/dist/manifests/fieldset.manifest.json +1 -1
  43. package/dist/manifests/file-upload.manifest.json +1 -1
  44. package/dist/manifests/filter-bar.manifest.json +1 -1
  45. package/dist/manifests/filter-chips.manifest.json +1 -1
  46. package/dist/manifests/filter-panel.manifest.json +1 -1
  47. package/dist/manifests/flex.manifest.json +1 -1
  48. package/dist/manifests/form-field.manifest.json +1 -1
  49. package/dist/manifests/form-layout.manifest.json +1 -1
  50. package/dist/manifests/form.manifest.json +1 -1
  51. package/dist/manifests/grid.manifest.json +1 -1
  52. package/dist/manifests/heading.manifest.json +1 -1
  53. package/dist/manifests/hero.manifest.json +1 -1
  54. package/dist/manifests/image.manifest.json +142 -0
  55. package/dist/manifests/input-group.manifest.json +1 -1
  56. package/dist/manifests/input.manifest.json +1 -1
  57. package/dist/manifests/label.manifest.json +1 -1
  58. package/dist/manifests/link-tabs.manifest.json +1 -1
  59. package/dist/manifests/link.manifest.json +1 -1
  60. package/dist/manifests/list.manifest.json +1 -1
  61. package/dist/manifests/load-more.manifest.json +1 -1
  62. package/dist/manifests/logo-cloud.manifest.json +1 -1
  63. package/dist/manifests/menu.manifest.json +1 -1
  64. package/dist/manifests/metric-card.manifest.json +1 -1
  65. package/dist/manifests/multi-select.manifest.json +1 -1
  66. package/dist/manifests/newsletter.manifest.json +1 -1
  67. package/dist/manifests/page-header.manifest.json +1 -1
  68. package/dist/manifests/pagination.manifest.json +1 -1
  69. package/dist/manifests/password-input.manifest.json +1 -1
  70. package/dist/manifests/popover.manifest.json +86 -4
  71. package/dist/manifests/process-steps.manifest.json +1 -1
  72. package/dist/manifests/progress.manifest.json +1 -1
  73. package/dist/manifests/prose.manifest.json +1 -1
  74. package/dist/manifests/radio.manifest.json +1 -1
  75. package/dist/manifests/range-slider.manifest.json +1 -1
  76. package/dist/manifests/search.manifest.json +1 -1
  77. package/dist/manifests/section-heading.manifest.json +1 -1
  78. package/dist/manifests/section.manifest.json +1 -1
  79. package/dist/manifests/segmented-control.manifest.json +1 -1
  80. package/dist/manifests/select-menu.manifest.json +1 -1
  81. package/dist/manifests/select.manifest.json +1 -1
  82. package/dist/manifests/separator.manifest.json +1 -1
  83. package/dist/manifests/site-footer.manifest.json +1 -1
  84. package/dist/manifests/site-header.manifest.json +13 -3
  85. package/dist/manifests/skeleton.manifest.json +1 -1
  86. package/dist/manifests/spinner.manifest.json +1 -1
  87. package/dist/manifests/stat-band.manifest.json +1 -1
  88. package/dist/manifests/stepper.manifest.json +7 -1
  89. package/dist/manifests/switch.manifest.json +1 -1
  90. package/dist/manifests/table-card.manifest.json +1 -1
  91. package/dist/manifests/table-of-contents.manifest.json +1 -1
  92. package/dist/manifests/table.manifest.json +1 -1
  93. package/dist/manifests/tabs.manifest.json +1 -1
  94. package/dist/manifests/testimonial.manifest.json +1 -1
  95. package/dist/manifests/text.manifest.json +1 -1
  96. package/dist/manifests/textarea.manifest.json +1 -1
  97. package/dist/manifests/theme-toggle.manifest.json +1 -1
  98. package/dist/manifests/time-picker.manifest.json +1 -1
  99. package/dist/manifests/timeline.manifest.json +1 -1
  100. package/dist/manifests/toast.manifest.json +1 -1
  101. package/dist/manifests/tombstone-card.manifest.json +1 -1
  102. package/dist/manifests/tooltip.manifest.json +1 -1
  103. package/dist/src/components/alert/Alert.js +1 -1
  104. package/dist/src/components/alert/Alert.js.map +1 -1
  105. package/dist/src/components/alert/Alert.mjs +1 -1
  106. package/dist/src/components/alert/Alert.mjs.map +1 -1
  107. package/dist/src/components/app-shell/AppShell.js +1 -1
  108. package/dist/src/components/app-shell/AppShell.js.map +1 -1
  109. package/dist/src/components/app-shell/AppShell.mjs +1 -1
  110. package/dist/src/components/app-shell/AppShell.mjs.map +1 -1
  111. package/dist/src/components/article-card/ArticleCard.js +2 -2
  112. package/dist/src/components/article-card/ArticleCard.js.map +1 -1
  113. package/dist/src/components/article-card/ArticleCard.mjs +2 -2
  114. package/dist/src/components/article-card/ArticleCard.mjs.map +1 -1
  115. package/dist/src/components/calendar/Calendar.d.ts +34 -0
  116. package/dist/src/components/calendar/Calendar.js +233 -0
  117. package/dist/src/components/calendar/Calendar.js.map +1 -0
  118. package/dist/src/components/calendar/Calendar.mjs +208 -0
  119. package/dist/src/components/calendar/Calendar.mjs.map +1 -0
  120. package/dist/src/components/calendar/index.d.ts +1 -0
  121. package/dist/src/components/calendar/index.js +23 -0
  122. package/dist/src/components/calendar/index.js.map +1 -0
  123. package/dist/src/components/calendar/index.mjs +2 -0
  124. package/dist/src/components/calendar/index.mjs.map +1 -0
  125. package/dist/src/components/comparison-table/ComparisonTable.js +1 -1
  126. package/dist/src/components/comparison-table/ComparisonTable.js.map +1 -1
  127. package/dist/src/components/comparison-table/ComparisonTable.mjs +1 -1
  128. package/dist/src/components/comparison-table/ComparisonTable.mjs.map +1 -1
  129. package/dist/src/components/cta-section/CTASection.js +1 -1
  130. package/dist/src/components/cta-section/CTASection.js.map +1 -1
  131. package/dist/src/components/cta-section/CTASection.mjs +1 -1
  132. package/dist/src/components/cta-section/CTASection.mjs.map +1 -1
  133. package/dist/src/components/data-table/DataTable.d.ts +3 -1
  134. package/dist/src/components/data-table/DataTable.js +2 -4
  135. package/dist/src/components/data-table/DataTable.js.map +1 -1
  136. package/dist/src/components/data-table/DataTable.mjs +2 -4
  137. package/dist/src/components/data-table/DataTable.mjs.map +1 -1
  138. package/dist/src/components/date-picker-popover/DatePickerPopover.d.ts +33 -0
  139. package/dist/src/components/date-picker-popover/DatePickerPopover.js +117 -0
  140. package/dist/src/components/date-picker-popover/DatePickerPopover.js.map +1 -0
  141. package/dist/src/components/date-picker-popover/DatePickerPopover.mjs +83 -0
  142. package/dist/src/components/date-picker-popover/DatePickerPopover.mjs.map +1 -0
  143. package/dist/src/components/date-picker-popover/index.d.ts +1 -0
  144. package/dist/src/components/date-picker-popover/index.js +23 -0
  145. package/dist/src/components/date-picker-popover/index.js.map +1 -0
  146. package/dist/src/components/date-picker-popover/index.mjs +2 -0
  147. package/dist/src/components/date-picker-popover/index.mjs.map +1 -0
  148. package/dist/src/components/image/Image.d.ts +34 -0
  149. package/dist/src/components/image/Image.js +75 -0
  150. package/dist/src/components/image/Image.js.map +1 -0
  151. package/dist/src/components/image/Image.mjs +41 -0
  152. package/dist/src/components/image/Image.mjs.map +1 -0
  153. package/dist/src/components/image/index.d.ts +1 -0
  154. package/dist/src/components/image/index.js +29 -0
  155. package/dist/src/components/image/index.js.map +1 -0
  156. package/dist/src/components/image/index.mjs +5 -0
  157. package/dist/src/components/image/index.mjs.map +1 -0
  158. package/dist/src/components/link/Link.js +4 -4
  159. package/dist/src/components/link/Link.js.map +1 -1
  160. package/dist/src/components/link/Link.mjs +4 -4
  161. package/dist/src/components/link/Link.mjs.map +1 -1
  162. package/dist/src/components/page-header/PageHeader.js +1 -1
  163. package/dist/src/components/page-header/PageHeader.js.map +1 -1
  164. package/dist/src/components/page-header/PageHeader.mjs +1 -1
  165. package/dist/src/components/page-header/PageHeader.mjs.map +1 -1
  166. package/dist/src/components/popover/Popover.d.ts +36 -3
  167. package/dist/src/components/popover/Popover.js +118 -22
  168. package/dist/src/components/popover/Popover.js.map +1 -1
  169. package/dist/src/components/popover/Popover.mjs +117 -22
  170. package/dist/src/components/popover/Popover.mjs.map +1 -1
  171. package/dist/src/components/section-heading/SectionHeading.js +1 -1
  172. package/dist/src/components/section-heading/SectionHeading.js.map +1 -1
  173. package/dist/src/components/section-heading/SectionHeading.mjs +1 -1
  174. package/dist/src/components/section-heading/SectionHeading.mjs.map +1 -1
  175. package/dist/src/components/site-header/SiteHeader.d.ts +25 -3
  176. package/dist/src/components/site-header/SiteHeader.js +141 -6
  177. package/dist/src/components/site-header/SiteHeader.js.map +1 -1
  178. package/dist/src/components/site-header/SiteHeader.mjs +141 -6
  179. package/dist/src/components/site-header/SiteHeader.mjs.map +1 -1
  180. package/dist/src/components/stepper/Stepper.d.ts +18 -0
  181. package/dist/src/components/stepper/Stepper.js +2 -1
  182. package/dist/src/components/stepper/Stepper.js.map +1 -1
  183. package/dist/src/components/stepper/Stepper.mjs +2 -1
  184. package/dist/src/components/stepper/Stepper.mjs.map +1 -1
  185. package/dist/src/index.d.ts +3 -0
  186. package/dist/src/utils/date.d.ts +32 -0
  187. package/dist/src/utils/date.js +171 -0
  188. package/dist/src/utils/date.js.map +1 -0
  189. package/dist/src/utils/date.mjs +134 -0
  190. package/dist/src/utils/date.mjs.map +1 -0
  191. package/dist/src/utils/position.d.ts +42 -0
  192. package/dist/src/utils/position.js +91 -0
  193. package/dist/src/utils/position.js.map +1 -0
  194. package/dist/src/utils/position.mjs +67 -0
  195. package/dist/src/utils/position.mjs.map +1 -0
  196. package/dist/styles-full.css +1 -1
  197. package/dist/styles.css +1 -1
  198. package/package.json +1 -1
  199. package/src/components/alert/Alert.tsx +1 -1
  200. package/src/components/app-shell/AppShell.tsx +1 -1
  201. package/src/components/article-card/ArticleCard.tsx +2 -2
  202. package/src/components/calendar/Calendar.test.tsx +277 -0
  203. package/src/components/calendar/Calendar.tsx +273 -0
  204. package/src/components/calendar/index.ts +1 -0
  205. package/src/components/comparison-table/ComparisonTable.tsx +1 -1
  206. package/src/components/cta-section/CTASection.tsx +1 -1
  207. package/src/components/data-table/DataTable.test.tsx +21 -0
  208. package/src/components/data-table/DataTable.tsx +4 -1
  209. package/src/components/date-picker-popover/DatePickerPopover.test.tsx +223 -0
  210. package/src/components/date-picker-popover/DatePickerPopover.tsx +117 -0
  211. package/src/components/date-picker-popover/index.ts +1 -0
  212. package/src/components/image/Image.test.tsx +94 -0
  213. package/src/components/image/Image.tsx +71 -0
  214. package/src/components/image/index.ts +1 -0
  215. package/src/components/link/Link.test.tsx +2 -1
  216. package/src/components/link/Link.tsx +4 -4
  217. package/src/components/page-header/PageHeader.tsx +1 -1
  218. package/src/components/popover/Popover.test.tsx +307 -3
  219. package/src/components/popover/Popover.tsx +228 -91
  220. package/src/components/section-heading/SectionHeading.tsx +1 -1
  221. package/src/components/site-header/SiteHeader.test.tsx +103 -1
  222. package/src/components/site-header/SiteHeader.tsx +220 -16
  223. package/src/components/stepper/Stepper.test.tsx +12 -0
  224. package/src/components/stepper/Stepper.tsx +15 -1
  225. package/src/index.ts +3 -0
  226. package/src/manifests/accordion.manifest.json +2 -2
  227. package/src/manifests/alert.manifest.json +1 -1
  228. package/src/manifests/announcement-bar.manifest.json +1 -1
  229. package/src/manifests/app-shell.manifest.json +1 -1
  230. package/src/manifests/applied-filters.manifest.json +1 -1
  231. package/src/manifests/article-card.manifest.json +1 -1
  232. package/src/manifests/auth-layout.manifest.json +1 -1
  233. package/src/manifests/autocomplete.manifest.json +1 -1
  234. package/src/manifests/avatar.manifest.json +1 -1
  235. package/src/manifests/badge.manifest.json +1 -1
  236. package/src/manifests/block.manifest.json +1 -1
  237. package/src/manifests/bottom-nav.manifest.json +1 -1
  238. package/src/manifests/breadcrumb.manifest.json +1 -1
  239. package/src/manifests/button-group.manifest.json +1 -1
  240. package/src/manifests/button.manifest.json +1 -1
  241. package/src/manifests/calendar.manifest.json +175 -0
  242. package/src/manifests/card.manifest.json +1 -1
  243. package/src/manifests/checkbox.manifest.json +1 -1
  244. package/src/manifests/comparison-table.manifest.json +1 -1
  245. package/src/manifests/confirm-dialog.manifest.json +1 -1
  246. package/src/manifests/contact-strip.manifest.json +1 -1
  247. package/src/manifests/container.manifest.json +1 -1
  248. package/src/manifests/cta-section.manifest.json +1 -1
  249. package/src/manifests/data-table.manifest.json +8 -1
  250. package/src/manifests/date-picker-popover.manifest.json +202 -0
  251. package/src/manifests/date-picker.manifest.json +1 -1
  252. package/src/manifests/date-range-picker.manifest.json +1 -1
  253. package/src/manifests/deal-card.manifest.json +1 -1
  254. package/src/manifests/dialog.manifest.json +1 -1
  255. package/src/manifests/document-card.manifest.json +1 -1
  256. package/src/manifests/drawer.manifest.json +1 -1
  257. package/src/manifests/empty-state.manifest.json +1 -1
  258. package/src/manifests/entity-card.manifest.json +1 -1
  259. package/src/manifests/feature-grid.manifest.json +1 -1
  260. package/src/manifests/feature-row.manifest.json +1 -1
  261. package/src/manifests/fieldset.manifest.json +1 -1
  262. package/src/manifests/file-upload.manifest.json +1 -1
  263. package/src/manifests/filter-bar.manifest.json +1 -1
  264. package/src/manifests/filter-chips.manifest.json +1 -1
  265. package/src/manifests/filter-panel.manifest.json +1 -1
  266. package/src/manifests/flex.manifest.json +1 -1
  267. package/src/manifests/form-field.manifest.json +1 -1
  268. package/src/manifests/form-layout.manifest.json +1 -1
  269. package/src/manifests/form.manifest.json +1 -1
  270. package/src/manifests/grid.manifest.json +1 -1
  271. package/src/manifests/heading.manifest.json +1 -1
  272. package/src/manifests/hero.manifest.json +1 -1
  273. package/src/manifests/image.manifest.json +142 -0
  274. package/src/manifests/input-group.manifest.json +1 -1
  275. package/src/manifests/input.manifest.json +1 -1
  276. package/src/manifests/label.manifest.json +1 -1
  277. package/src/manifests/link-tabs.manifest.json +1 -1
  278. package/src/manifests/link.manifest.json +1 -1
  279. package/src/manifests/list.manifest.json +1 -1
  280. package/src/manifests/load-more.manifest.json +1 -1
  281. package/src/manifests/logo-cloud.manifest.json +1 -1
  282. package/src/manifests/menu.manifest.json +1 -1
  283. package/src/manifests/metric-card.manifest.json +1 -1
  284. package/src/manifests/multi-select.manifest.json +1 -1
  285. package/src/manifests/newsletter.manifest.json +1 -1
  286. package/src/manifests/page-header.manifest.json +1 -1
  287. package/src/manifests/pagination.manifest.json +1 -1
  288. package/src/manifests/password-input.manifest.json +1 -1
  289. package/src/manifests/popover.manifest.json +86 -4
  290. package/src/manifests/process-steps.manifest.json +1 -1
  291. package/src/manifests/progress.manifest.json +1 -1
  292. package/src/manifests/prose.manifest.json +1 -1
  293. package/src/manifests/radio.manifest.json +1 -1
  294. package/src/manifests/range-slider.manifest.json +1 -1
  295. package/src/manifests/search.manifest.json +1 -1
  296. package/src/manifests/section-heading.manifest.json +1 -1
  297. package/src/manifests/section.manifest.json +1 -1
  298. package/src/manifests/segmented-control.manifest.json +1 -1
  299. package/src/manifests/select-menu.manifest.json +1 -1
  300. package/src/manifests/select.manifest.json +1 -1
  301. package/src/manifests/separator.manifest.json +1 -1
  302. package/src/manifests/site-footer.manifest.json +1 -1
  303. package/src/manifests/site-header.manifest.json +13 -3
  304. package/src/manifests/skeleton.manifest.json +1 -1
  305. package/src/manifests/spinner.manifest.json +1 -1
  306. package/src/manifests/stat-band.manifest.json +1 -1
  307. package/src/manifests/stepper.manifest.json +7 -1
  308. package/src/manifests/switch.manifest.json +1 -1
  309. package/src/manifests/table-card.manifest.json +1 -1
  310. package/src/manifests/table-of-contents.manifest.json +1 -1
  311. package/src/manifests/table.manifest.json +1 -1
  312. package/src/manifests/tabs.manifest.json +1 -1
  313. package/src/manifests/testimonial.manifest.json +1 -1
  314. package/src/manifests/text.manifest.json +1 -1
  315. package/src/manifests/textarea.manifest.json +1 -1
  316. package/src/manifests/theme-toggle.manifest.json +1 -1
  317. package/src/manifests/time-picker.manifest.json +1 -1
  318. package/src/manifests/timeline.manifest.json +1 -1
  319. package/src/manifests/toast.manifest.json +1 -1
  320. package/src/manifests/tombstone-card.manifest.json +1 -1
  321. package/src/manifests/tooltip.manifest.json +1 -1
  322. package/src/utils/date.test.ts +190 -0
  323. package/src/utils/date.ts +162 -0
  324. package/src/utils/position.test.ts +227 -0
  325. package/src/utils/position.ts +129 -0
package/dist/index.js CHANGED
@@ -53,6 +53,7 @@ __export(index_exports, {
53
53
  Button: () => Button,
54
54
  ButtonGroup: () => ButtonGroup,
55
55
  CTASection: () => CTASection,
56
+ Calendar: () => Calendar,
56
57
  Card: () => Card,
57
58
  CardContent: () => CardContent,
58
59
  CardDescription: () => CardDescription,
@@ -68,6 +69,7 @@ __export(index_exports, {
68
69
  Container: () => Container,
69
70
  DataTable: () => DataTable,
70
71
  DatePicker: () => DatePicker,
72
+ DatePickerPopover: () => DatePickerPopover,
71
73
  DateRangePicker: () => DateRangePicker,
72
74
  DealCard: () => DealCard,
73
75
  Dialog: () => Dialog,
@@ -97,6 +99,7 @@ __export(index_exports, {
97
99
  GridItem: () => GridItem,
98
100
  Heading: () => Heading,
99
101
  Hero: () => Hero,
102
+ Image: () => Image2,
100
103
  Input: () => Input,
101
104
  InputGroup: () => InputGroup,
102
105
  InputGroupAddon: () => InputGroupAddon,
@@ -120,6 +123,7 @@ __export(index_exports, {
120
123
  Pagination: () => Pagination,
121
124
  PasswordInput: () => PasswordInput,
122
125
  Popover: () => Popover,
126
+ PopoverAnchor: () => PopoverAnchor,
123
127
  PopoverContent: () => PopoverContent,
124
128
  PopoverTrigger: () => PopoverTrigger,
125
129
  ProcessSteps: () => ProcessSteps,
@@ -544,7 +548,7 @@ function containsActive(item, activeHref) {
544
548
  return (item.children ?? []).some((child) => containsActive(child, activeHref));
545
549
  }
546
550
  var itemClass = "flex w-full items-center gap-2.5 rounded-md px-2.5 py-2 text-sm transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring";
547
- var activeClass = "bg-primary/10 font-medium text-primary";
551
+ var activeClass = "bg-primary/10 font-medium text-primary-ink";
548
552
  var idleClass = "text-muted-foreground hover:bg-accent hover:text-accent-foreground";
549
553
  function Sidebar({
550
554
  sections,
@@ -3251,14 +3255,322 @@ var ThemeToggle = React37.forwardRef(function ThemeToggle2({ theme, onThemeChang
3251
3255
  });
3252
3256
  ThemeToggle.displayName = "ThemeToggle";
3253
3257
 
3254
- // src/components/card/Card.tsx
3258
+ // src/components/calendar/Calendar.tsx
3255
3259
  var React38 = __toESM(require("react"));
3256
- var import_react_slot3 = require("@radix-ui/react-slot");
3260
+
3261
+ // src/utils/date.ts
3262
+ var DAY_MS = 864e5;
3263
+ function pad(value) {
3264
+ return String(value).padStart(2, "0");
3265
+ }
3266
+ function dateKeyOf(year, month, day) {
3267
+ return `${year}-${pad(month + 1)}-${pad(day)}`;
3268
+ }
3269
+ function parseDateKey(value) {
3270
+ const match = /^(\d{4})-(\d{2})-(\d{2})$/.exec(value);
3271
+ if (!match) return null;
3272
+ const year = Number(match[1]);
3273
+ const month = Number(match[2]) - 1;
3274
+ const day = Number(match[3]);
3275
+ if (month < 0 || month > 11 || day < 1 || day > daysInMonth(year, month)) return null;
3276
+ return { year, month, day };
3277
+ }
3278
+ function daysInMonth(year, month) {
3279
+ return new Date(Date.UTC(year, month + 1, 0)).getUTCDate();
3280
+ }
3281
+ function utc(key) {
3282
+ const parts = parseDateKey(key);
3283
+ if (!parts) return new Date(Date.UTC(1970, 0, 1));
3284
+ return new Date(Date.UTC(parts.year, parts.month, parts.day));
3285
+ }
3286
+ function toDateKey(date) {
3287
+ return dateKeyOf(date.getFullYear(), date.getMonth(), date.getDate());
3288
+ }
3289
+ function utcKey(date) {
3290
+ return dateKeyOf(date.getUTCFullYear(), date.getUTCMonth(), date.getUTCDate());
3291
+ }
3292
+ function todayKey(now = /* @__PURE__ */ new Date()) {
3293
+ return toDateKey(now);
3294
+ }
3295
+ function addDays(key, delta) {
3296
+ if (!parseDateKey(key)) return key;
3297
+ const date = utc(key);
3298
+ return utcKey(new Date(date.getTime() + delta * DAY_MS));
3299
+ }
3300
+ function addMonths(key, delta) {
3301
+ const parts = parseDateKey(key);
3302
+ if (!parts) return key;
3303
+ const index = parts.year * 12 + parts.month + delta;
3304
+ const year = Math.floor(index / 12);
3305
+ const month = index % 12;
3306
+ return dateKeyOf(year, month, Math.min(parts.day, daysInMonth(year, month)));
3307
+ }
3308
+ function startOfWeek(key, weekStartsOn = 0) {
3309
+ if (!parseDateKey(key)) return key;
3310
+ const date = utc(key);
3311
+ const offset = (date.getUTCDay() - weekStartsOn + 7) % 7;
3312
+ return addDays(key, -offset);
3313
+ }
3314
+ function moveDateKey(key, move, weekStartsOn = 0) {
3315
+ switch (move) {
3316
+ case "left":
3317
+ return addDays(key, -1);
3318
+ case "right":
3319
+ return addDays(key, 1);
3320
+ case "up":
3321
+ return addDays(key, -7);
3322
+ case "down":
3323
+ return addDays(key, 7);
3324
+ case "home":
3325
+ return startOfWeek(key, weekStartsOn);
3326
+ case "end":
3327
+ return addDays(startOfWeek(key, weekStartsOn), 6);
3328
+ case "pageup":
3329
+ return addMonths(key, -1);
3330
+ case "pagedown":
3331
+ return addMonths(key, 1);
3332
+ }
3333
+ }
3334
+ function calendarWeeks(year, month, weekStartsOn = 0) {
3335
+ const first = dateKeyOf(year, month, 1);
3336
+ const start = startOfWeek(first, weekStartsOn);
3337
+ return Array.from(
3338
+ { length: 6 },
3339
+ (_, week) => Array.from({ length: 7 }, (_2, day) => {
3340
+ const key = addDays(start, week * 7 + day);
3341
+ const parts = parseDateKey(key);
3342
+ return {
3343
+ key,
3344
+ day: parts?.day ?? 1,
3345
+ inMonth: parts?.month === month && parts?.year === year
3346
+ };
3347
+ })
3348
+ );
3349
+ }
3350
+ function monthLabel(year, month, locale = "en-US") {
3351
+ return new Intl.DateTimeFormat(locale, {
3352
+ month: "long",
3353
+ year: "numeric",
3354
+ timeZone: "UTC"
3355
+ }).format(new Date(Date.UTC(year, month, 1)));
3356
+ }
3357
+ function weekdayLabels(locale = "en-US", weekStartsOn = 0) {
3358
+ return Array.from(
3359
+ { length: 7 },
3360
+ (_, index) => new Intl.DateTimeFormat(locale, { weekday: "short", timeZone: "UTC" }).format(
3361
+ new Date(Date.UTC(2024, 0, 7 + weekStartsOn + index))
3362
+ )
3363
+ );
3364
+ }
3365
+ function formatDateLabel(key, locale = "en-US") {
3366
+ const parts = parseDateKey(key);
3367
+ if (!parts) return key;
3368
+ return new Intl.DateTimeFormat(locale, {
3369
+ dateStyle: "medium",
3370
+ timeZone: "UTC"
3371
+ }).format(new Date(Date.UTC(parts.year, parts.month, parts.day)));
3372
+ }
3373
+
3374
+ // src/components/calendar/Calendar.tsx
3257
3375
  var import_jsx_runtime37 = require("react/jsx-runtime");
3258
- var Card = React38.forwardRef(
3376
+ var MOVES = {
3377
+ ArrowLeft: "left",
3378
+ ArrowRight: "right",
3379
+ ArrowUp: "up",
3380
+ ArrowDown: "down",
3381
+ Home: "home",
3382
+ End: "end",
3383
+ PageUp: "pageup",
3384
+ PageDown: "pagedown"
3385
+ };
3386
+ var Calendar = React38.forwardRef(
3387
+ ({
3388
+ value,
3389
+ defaultValue,
3390
+ onValueChange,
3391
+ min,
3392
+ max,
3393
+ today,
3394
+ locale = "en-US",
3395
+ weekStartsOn = 0,
3396
+ isDateDisabled,
3397
+ showOutsideDays = true,
3398
+ autoFocus = false,
3399
+ disabled = false,
3400
+ className,
3401
+ "aria-label": ariaLabel,
3402
+ ...props
3403
+ }, ref) => {
3404
+ const resolvedToday = today ?? todayKey();
3405
+ const [internal, setInternal] = React38.useState(defaultValue ?? "");
3406
+ const selected = value ?? internal;
3407
+ const initial = selected || resolvedToday;
3408
+ const [view, setView] = React38.useState(() => {
3409
+ const parts = parseDateKey(initial);
3410
+ return { year: parts?.year ?? 1970, month: parts?.month ?? 0 };
3411
+ });
3412
+ const [focusKey, setFocusKey] = React38.useState(initial);
3413
+ const gridRef = React38.useRef(null);
3414
+ const keyboardNav = React38.useRef(false);
3415
+ React38.useEffect(() => {
3416
+ if (!selected) return;
3417
+ const parts = parseDateKey(selected);
3418
+ if (parts) setView({ year: parts.year, month: parts.month });
3419
+ setFocusKey(selected);
3420
+ }, [selected]);
3421
+ const weeks = React38.useMemo(
3422
+ () => calendarWeeks(view.year, view.month, weekStartsOn),
3423
+ [view.year, view.month, weekStartsOn]
3424
+ );
3425
+ const weekdays = React38.useMemo(
3426
+ () => weekdayLabels(locale, weekStartsOn),
3427
+ [locale, weekStartsOn]
3428
+ );
3429
+ const blocked = React38.useCallback(
3430
+ (key) => disabled || Boolean(min && key < min || max && key > max) || Boolean(isDateDisabled?.(key)),
3431
+ [disabled, isDateDisabled, max, min]
3432
+ );
3433
+ const choose = (key) => {
3434
+ if (blocked(key)) return;
3435
+ if (value === void 0) setInternal(key);
3436
+ setFocusKey(key);
3437
+ onValueChange?.(key);
3438
+ };
3439
+ const onGridKeyDown = (event) => {
3440
+ const move = MOVES[event.key];
3441
+ if (!move) return;
3442
+ event.preventDefault();
3443
+ const next = moveDateKey(focusKey, move, weekStartsOn);
3444
+ const parts = parseDateKey(next);
3445
+ if (parts) setView({ year: parts.year, month: parts.month });
3446
+ setFocusKey(next);
3447
+ keyboardNav.current = true;
3448
+ };
3449
+ React38.useEffect(() => {
3450
+ if (!keyboardNav.current) return;
3451
+ const target = gridRef.current?.querySelector(`[data-date="${focusKey}"]`);
3452
+ keyboardNav.current = false;
3453
+ target?.focus();
3454
+ }, [focusKey, view.year, view.month]);
3455
+ const visibleKeys = weeks.flat().filter((day) => day.inMonth);
3456
+ const tabbable = visibleKeys.some((day) => day.key === focusKey) ? focusKey : visibleKeys[0]?.key ?? "";
3457
+ React38.useEffect(() => {
3458
+ if (!autoFocus) return;
3459
+ const timer = setTimeout(() => {
3460
+ gridRef.current?.querySelector(`[data-date="${tabbable}"]`)?.focus();
3461
+ }, 0);
3462
+ return () => clearTimeout(timer);
3463
+ }, [autoFocus, tabbable, view.year, view.month]);
3464
+ const monthName = monthLabel(view.year, view.month, locale);
3465
+ return /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)(
3466
+ "div",
3467
+ {
3468
+ ref,
3469
+ className: cn("w-72 select-none", className),
3470
+ "data-disabled": disabled ? "" : void 0,
3471
+ ...props,
3472
+ children: [
3473
+ /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)("div", { className: "mb-2 flex items-center justify-between gap-2", children: [
3474
+ /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
3475
+ Button,
3476
+ {
3477
+ type: "button",
3478
+ variant: "ghost",
3479
+ size: "icon",
3480
+ "aria-label": "Previous month",
3481
+ disabled,
3482
+ onClick: () => setView(partsOf(addMonths(keyOf(view), -1))),
3483
+ children: "\u2039"
3484
+ }
3485
+ ),
3486
+ /* @__PURE__ */ (0, import_jsx_runtime37.jsx)("div", { "aria-live": "polite", className: "text-sm font-semibold text-foreground", children: monthName }),
3487
+ /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
3488
+ Button,
3489
+ {
3490
+ type: "button",
3491
+ variant: "ghost",
3492
+ size: "icon",
3493
+ "aria-label": "Next month",
3494
+ disabled,
3495
+ onClick: () => setView(partsOf(addMonths(keyOf(view), 1))),
3496
+ children: "\u203A"
3497
+ }
3498
+ )
3499
+ ] }),
3500
+ /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)(
3501
+ "div",
3502
+ {
3503
+ ref: gridRef,
3504
+ role: "grid",
3505
+ "aria-label": ariaLabel ?? monthName,
3506
+ onKeyDown: onGridKeyDown,
3507
+ className: "flex flex-col gap-1",
3508
+ children: [
3509
+ /* @__PURE__ */ (0, import_jsx_runtime37.jsx)("div", { role: "row", className: "grid grid-cols-7 gap-1 text-center text-xs text-muted-foreground", children: weekdays.map((weekday) => /* @__PURE__ */ (0, import_jsx_runtime37.jsx)("span", { role: "columnheader", "aria-label": weekday, className: "py-1", children: weekday }, weekday)) }),
3510
+ weeks.map((week) => /* @__PURE__ */ (0, import_jsx_runtime37.jsx)("div", { role: "row", className: "grid grid-cols-7 gap-1", children: week.map((day) => {
3511
+ const isSelected = day.key === selected;
3512
+ const isToday = day.key === resolvedToday;
3513
+ const isBlocked = blocked(day.key);
3514
+ const hidden = !day.inMonth && !showOutsideDays;
3515
+ if (hidden) {
3516
+ return /* @__PURE__ */ (0, import_jsx_runtime37.jsx)("div", { role: "gridcell", "aria-hidden": "true", className: "h-9 w-9" }, day.key);
3517
+ }
3518
+ return /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
3519
+ "div",
3520
+ {
3521
+ role: "gridcell",
3522
+ "aria-selected": isSelected,
3523
+ className: "flex justify-center",
3524
+ children: /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
3525
+ Button,
3526
+ {
3527
+ type: "button",
3528
+ size: "sm",
3529
+ variant: isSelected ? "primary" : "ghost",
3530
+ "data-date": day.key,
3531
+ tabIndex: day.key === tabbable ? 0 : -1,
3532
+ "aria-current": isToday ? "date" : void 0,
3533
+ "aria-disabled": isBlocked || void 0,
3534
+ "aria-label": formatDateLabel(day.key, locale),
3535
+ className: cn(
3536
+ "h-9 w-9 p-0 font-normal",
3537
+ !day.inMonth && "text-muted-foreground/80",
3538
+ isBlocked && "cursor-not-allowed opacity-40",
3539
+ isToday && !isSelected && "ring-1 ring-primary"
3540
+ ),
3541
+ onClick: () => choose(day.key),
3542
+ children: day.day
3543
+ }
3544
+ )
3545
+ },
3546
+ day.key
3547
+ );
3548
+ }) }, week[0]?.key))
3549
+ ]
3550
+ }
3551
+ )
3552
+ ]
3553
+ }
3554
+ );
3555
+ }
3556
+ );
3557
+ Calendar.displayName = "Calendar";
3558
+ function keyOf(view) {
3559
+ return `${view.year}-${String(view.month + 1).padStart(2, "0")}-01`;
3560
+ }
3561
+ function partsOf(key) {
3562
+ const parts = parseDateKey(key);
3563
+ return { year: parts?.year ?? 1970, month: parts?.month ?? 0 };
3564
+ }
3565
+
3566
+ // src/components/card/Card.tsx
3567
+ var React39 = __toESM(require("react"));
3568
+ var import_react_slot3 = require("@radix-ui/react-slot");
3569
+ var import_jsx_runtime38 = require("react/jsx-runtime");
3570
+ var Card = React39.forwardRef(
3259
3571
  ({ className, asChild = false, ...props }, ref) => {
3260
3572
  const Comp = asChild ? import_react_slot3.Slot : "div";
3261
- return /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
3573
+ return /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
3262
3574
  Comp,
3263
3575
  {
3264
3576
  ref,
@@ -3269,12 +3581,12 @@ var Card = React38.forwardRef(
3269
3581
  }
3270
3582
  );
3271
3583
  Card.displayName = "Card";
3272
- var CardHeader = React38.forwardRef(
3273
- ({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime37.jsx)("div", { ref, className: cn("flex flex-col space-y-1.5 p-6", className), ...props })
3584
+ var CardHeader = React39.forwardRef(
3585
+ ({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime38.jsx)("div", { ref, className: cn("flex flex-col space-y-1.5 p-6", className), ...props })
3274
3586
  );
3275
3587
  CardHeader.displayName = "CardHeader";
3276
- var CardTitle = React38.forwardRef(
3277
- ({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
3588
+ var CardTitle = React39.forwardRef(
3589
+ ({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
3278
3590
  "h3",
3279
3591
  {
3280
3592
  ref,
@@ -3284,22 +3596,22 @@ var CardTitle = React38.forwardRef(
3284
3596
  )
3285
3597
  );
3286
3598
  CardTitle.displayName = "CardTitle";
3287
- var CardDescription = React38.forwardRef(
3288
- ({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime37.jsx)("p", { ref, className: cn("text-sm text-muted-foreground", className), ...props })
3599
+ var CardDescription = React39.forwardRef(
3600
+ ({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime38.jsx)("p", { ref, className: cn("text-sm text-muted-foreground", className), ...props })
3289
3601
  );
3290
3602
  CardDescription.displayName = "CardDescription";
3291
- var CardContent = React38.forwardRef(
3292
- ({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime37.jsx)("div", { ref, className: cn("p-6 pt-0", className), ...props })
3603
+ var CardContent = React39.forwardRef(
3604
+ ({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime38.jsx)("div", { ref, className: cn("p-6 pt-0", className), ...props })
3293
3605
  );
3294
3606
  CardContent.displayName = "CardContent";
3295
- var CardFooter = React38.forwardRef(
3296
- ({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime37.jsx)("div", { ref, className: cn("flex items-center p-6 pt-0", className), ...props })
3607
+ var CardFooter = React39.forwardRef(
3608
+ ({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime38.jsx)("div", { ref, className: cn("flex items-center p-6 pt-0", className), ...props })
3297
3609
  );
3298
3610
  CardFooter.displayName = "CardFooter";
3299
3611
 
3300
3612
  // src/components/confirm-dialog/ConfirmDialog.tsx
3301
- var React39 = __toESM(require("react"));
3302
- var import_jsx_runtime38 = require("react/jsx-runtime");
3613
+ var React40 = __toESM(require("react"));
3614
+ var import_jsx_runtime39 = require("react/jsx-runtime");
3303
3615
  function ConfirmDialog({
3304
3616
  open,
3305
3617
  onOpenChange,
@@ -3312,7 +3624,7 @@ function ConfirmDialog({
3312
3624
  closeOnConfirm = true,
3313
3625
  children
3314
3626
  }) {
3315
- const [pending, setPending] = React39.useState(false);
3627
+ const [pending, setPending] = React40.useState(false);
3316
3628
  const handleConfirm = async () => {
3317
3629
  try {
3318
3630
  setPending(true);
@@ -3322,7 +3634,7 @@ function ConfirmDialog({
3322
3634
  setPending(false);
3323
3635
  }
3324
3636
  };
3325
- return /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
3637
+ return /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
3326
3638
  Dialog,
3327
3639
  {
3328
3640
  open,
@@ -3333,9 +3645,9 @@ function ConfirmDialog({
3333
3645
  title,
3334
3646
  description,
3335
3647
  size: "sm",
3336
- footer: /* @__PURE__ */ (0, import_jsx_runtime38.jsxs)(DialogFooter, { children: [
3337
- /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(Button, { variant: "ghost", onClick: () => onOpenChange(false), disabled: pending, children: cancelLabel }),
3338
- /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
3648
+ footer: /* @__PURE__ */ (0, import_jsx_runtime39.jsxs)(DialogFooter, { children: [
3649
+ /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(Button, { variant: "ghost", onClick: () => onOpenChange(false), disabled: pending, children: cancelLabel }),
3650
+ /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
3339
3651
  Button,
3340
3652
  {
3341
3653
  variant: destructive ? "destructive" : "default",
@@ -3351,8 +3663,8 @@ function ConfirmDialog({
3351
3663
  }
3352
3664
 
3353
3665
  // src/components/table-of-contents/TableOfContents.tsx
3354
- var React40 = __toESM(require("react"));
3355
- var import_jsx_runtime39 = require("react/jsx-runtime");
3666
+ var React41 = __toESM(require("react"));
3667
+ var import_jsx_runtime40 = require("react/jsx-runtime");
3356
3668
  function TableOfContents({
3357
3669
  headings,
3358
3670
  activeId,
@@ -3364,17 +3676,17 @@ function TableOfContents({
3364
3676
  className,
3365
3677
  ...props
3366
3678
  }) {
3367
- return /* @__PURE__ */ (0, import_jsx_runtime39.jsxs)(
3679
+ return /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)(
3368
3680
  "nav",
3369
3681
  {
3370
3682
  "aria-label": ariaLabel ?? label,
3371
3683
  className: cn("text-sm", sticky && "sticky top-20 max-h-[calc(100vh-6rem)] overflow-y-auto", className),
3372
3684
  ...props,
3373
3685
  children: [
3374
- /* @__PURE__ */ (0, import_jsx_runtime39.jsx)("p", { className: cn("mb-2 text-xs font-semibold uppercase tracking-wide text-muted-foreground", labelClassName), children: label }),
3375
- /* @__PURE__ */ (0, import_jsx_runtime39.jsx)("ul", { className: "space-y-1 border-l border-border", children: headings.map((heading) => {
3686
+ /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("p", { className: cn("mb-2 text-xs font-semibold uppercase tracking-wide text-muted-foreground", labelClassName), children: label }),
3687
+ /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("ul", { className: "space-y-1 border-l border-border", children: headings.map((heading) => {
3376
3688
  const active = heading.id === activeId;
3377
- return /* @__PURE__ */ (0, import_jsx_runtime39.jsx)("li", { style: { paddingLeft: `${(heading.level - 2) * 0.75}rem` }, children: /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
3689
+ return /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("li", { style: { paddingLeft: `${(heading.level - 2) * 0.75}rem` }, children: /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
3378
3690
  "a",
3379
3691
  {
3380
3692
  href: `#${heading.id}`,
@@ -3393,10 +3705,10 @@ function TableOfContents({
3393
3705
  );
3394
3706
  }
3395
3707
  function useScrollSpy(ids, options) {
3396
- const [activeId, setActiveId] = React40.useState();
3708
+ const [activeId, setActiveId] = React41.useState();
3397
3709
  const idKey = ids.join("|");
3398
3710
  const rootMargin = options?.rootMargin ?? "0px 0px -70% 0px";
3399
- React40.useEffect(() => {
3711
+ React41.useEffect(() => {
3400
3712
  if (idKey.length === 0 || typeof IntersectionObserver === "undefined") return;
3401
3713
  const elements = idKey.split("|").map((id) => document.getElementById(id)).filter((element) => element !== null);
3402
3714
  if (elements.length === 0) return;
@@ -3411,7 +3723,7 @@ function useScrollSpy(ids, options) {
3411
3723
  elements.forEach((element) => observer.observe(element));
3412
3724
  return () => observer.disconnect();
3413
3725
  }, [idKey, rootMargin]);
3414
- React40.useEffect(() => {
3726
+ React41.useEffect(() => {
3415
3727
  if (typeof window === "undefined") return;
3416
3728
  const ids2 = idKey.split("|").filter(Boolean);
3417
3729
  const syncFromHash = () => {
@@ -3426,15 +3738,15 @@ function useScrollSpy(ids, options) {
3426
3738
  }
3427
3739
 
3428
3740
  // src/components/prose/Prose.tsx
3429
- var React41 = __toESM(require("react"));
3430
- var import_jsx_runtime40 = require("react/jsx-runtime");
3741
+ var React42 = __toESM(require("react"));
3742
+ var import_jsx_runtime41 = require("react/jsx-runtime");
3431
3743
  var sizeClasses3 = {
3432
3744
  sm: "text-sm [&_h2]:text-xl [&_h3]:text-lg",
3433
3745
  md: "text-base [&_h2]:text-2xl [&_h3]:text-xl",
3434
3746
  lg: "text-lg [&_h2]:text-3xl [&_h3]:text-2xl"
3435
3747
  };
3436
- var Prose = React41.forwardRef(function Prose2({ size = "md", className, ...props }, ref) {
3437
- return /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
3748
+ var Prose = React42.forwardRef(function Prose2({ size = "md", className, ...props }, ref) {
3749
+ return /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
3438
3750
  "div",
3439
3751
  {
3440
3752
  ref,
@@ -3473,7 +3785,7 @@ var Prose = React41.forwardRef(function Prose2({ size = "md", className, ...prop
3473
3785
  });
3474
3786
 
3475
3787
  // src/components/site-footer/SiteFooter.tsx
3476
- var import_jsx_runtime41 = require("react/jsx-runtime");
3788
+ var import_jsx_runtime42 = require("react/jsx-runtime");
3477
3789
  function isActive2(itemHref, activeHref, match) {
3478
3790
  if (!activeHref) return false;
3479
3791
  if (itemHref === activeHref) return true;
@@ -3494,17 +3806,17 @@ function SiteFooter({
3494
3806
  }) {
3495
3807
  const Link3 = linkComponent ?? "a";
3496
3808
  const destination = (href) => linkHrefProp === "to" ? { to: href } : { href };
3497
- return /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)("footer", { className: cn("border-t border-border bg-muted/30", className), ...props, children: [
3498
- /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)("div", { className: "mx-auto grid w-full max-w-7xl gap-8 px-4 py-12 sm:grid-cols-2 sm:px-6 lg:grid-cols-4", children: [
3499
- /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)("div", { className: "min-w-0", children: [
3809
+ return /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)("footer", { className: cn("border-t border-border bg-muted/30", className), ...props, children: [
3810
+ /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)("div", { className: "mx-auto grid w-full max-w-7xl gap-8 px-4 py-12 sm:grid-cols-2 sm:px-6 lg:grid-cols-4", children: [
3811
+ /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)("div", { className: "min-w-0", children: [
3500
3812
  brand,
3501
- tagline && /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("p", { className: "mt-3 max-w-56 text-sm text-muted-foreground", children: tagline })
3813
+ tagline && /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("p", { className: "mt-3 max-w-56 text-sm text-muted-foreground", children: tagline })
3502
3814
  ] }),
3503
- columns.map((column) => /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)("div", { children: [
3504
- /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("h2", { className: "mb-3 text-xs font-semibold uppercase tracking-wider text-muted-foreground", children: column.title }),
3505
- /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("ul", { className: "m-0 list-none space-y-2 p-0 text-sm", children: column.links.map((link) => {
3815
+ columns.map((column) => /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)("div", { children: [
3816
+ /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("h2", { className: "mb-3 text-xs font-semibold uppercase tracking-wider text-muted-foreground", children: column.title }),
3817
+ /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("ul", { className: "m-0 list-none space-y-2 p-0 text-sm", children: column.links.map((link) => {
3506
3818
  const active = isActive2(link.href, activeHref, match);
3507
- return /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("li", { children: /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
3819
+ return /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("li", { children: /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
3508
3820
  Link3,
3509
3821
  {
3510
3822
  ...destination(link.href),
@@ -3520,19 +3832,35 @@ function SiteFooter({
3520
3832
  }) })
3521
3833
  ] }, column.title))
3522
3834
  ] }),
3523
- legal && /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("div", { className: "border-t border-border", children: /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("div", { className: "mx-auto flex w-full max-w-7xl flex-wrap items-center justify-between gap-2 px-4 py-4 text-xs text-muted-foreground sm:px-6", children: legal }) })
3835
+ legal && /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("div", { className: "border-t border-border", children: /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("div", { className: "mx-auto flex w-full max-w-7xl flex-wrap items-center justify-between gap-2 px-4 py-4 text-xs text-muted-foreground sm:px-6", children: legal }) })
3524
3836
  ] });
3525
3837
  }
3526
3838
 
3527
3839
  // src/components/site-header/SiteHeader.tsx
3528
- var React42 = __toESM(require("react"));
3529
- var import_jsx_runtime42 = require("react/jsx-runtime");
3840
+ var React43 = __toESM(require("react"));
3841
+ var import_jsx_runtime43 = require("react/jsx-runtime");
3530
3842
  function isActive3(itemHref, activeHref, match) {
3531
3843
  if (!activeHref) return false;
3532
3844
  if (itemHref === activeHref) return true;
3533
3845
  if (match === "exact") return false;
3534
3846
  return activeHref === itemHref || activeHref.startsWith(itemHref.endsWith("/") ? itemHref : `${itemHref}/`);
3535
3847
  }
3848
+ function Caret() {
3849
+ return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
3850
+ "svg",
3851
+ {
3852
+ "aria-hidden": "true",
3853
+ viewBox: "0 0 12 12",
3854
+ className: "h-2.5 w-2.5",
3855
+ fill: "none",
3856
+ stroke: "currentColor",
3857
+ strokeWidth: "1.75",
3858
+ strokeLinecap: "round",
3859
+ strokeLinejoin: "round",
3860
+ children: /* @__PURE__ */ (0, import_jsx_runtime43.jsx)("path", { d: "m2.5 4.5 3.5 3.5 3.5-3.5" })
3861
+ }
3862
+ );
3863
+ }
3536
3864
  function SiteHeader({
3537
3865
  brand,
3538
3866
  items,
@@ -3553,14 +3881,39 @@ function SiteHeader({
3553
3881
  className,
3554
3882
  ...props
3555
3883
  }) {
3556
- const [mobileOpen, setMobileOpen] = React42.useState(false);
3557
- const generatedId = React42.useId();
3884
+ const [mobileOpen, setMobileOpen] = React43.useState(false);
3885
+ const [openMenu, setOpenMenu] = React43.useState(null);
3886
+ const pendingFocus = React43.useRef(null);
3887
+ const generatedId = React43.useId();
3558
3888
  const menuId = `${generatedId}-menu`;
3559
3889
  const Link3 = linkComponent ?? "a";
3560
3890
  const destination = (href) => linkHrefProp === "to" ? { to: href } : { href };
3891
+ React43.useEffect(() => {
3892
+ if (!openMenu) return;
3893
+ const onKey = (event) => {
3894
+ if (event.key === "Escape") setOpenMenu(null);
3895
+ };
3896
+ const onPointer = (event) => {
3897
+ const target = event.target;
3898
+ if (!(target instanceof Element)) return;
3899
+ if (!target.closest("[data-site-nav-item]")) setOpenMenu(null);
3900
+ };
3901
+ document.addEventListener("keydown", onKey);
3902
+ document.addEventListener("pointerdown", onPointer);
3903
+ return () => {
3904
+ document.removeEventListener("keydown", onKey);
3905
+ document.removeEventListener("pointerdown", onPointer);
3906
+ };
3907
+ }, [openMenu]);
3908
+ React43.useEffect(() => {
3909
+ if (!openMenu || !pendingFocus.current) return;
3910
+ const panel = document.getElementById(pendingFocus.current);
3911
+ pendingFocus.current = null;
3912
+ panel?.querySelector("a[href]")?.focus();
3913
+ }, [openMenu]);
3561
3914
  const navLink = (item, extra) => {
3562
3915
  const active = isActive3(item.href, activeHref, match);
3563
- return /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
3916
+ return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
3564
3917
  Link3,
3565
3918
  {
3566
3919
  ...destination(item.href),
@@ -3569,16 +3922,22 @@ function SiteHeader({
3569
3922
  onClick: extra === "mobile" ? () => setMobileOpen(false) : void 0,
3570
3923
  className: cn(
3571
3924
  "rounded-sm transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
3572
- extra === "mobile" ? "block rounded-md px-3 py-2 text-base hover:bg-accent" : "text-sm hover:text-foreground",
3573
- active ? "font-medium text-foreground" : "text-muted-foreground"
3925
+ extra === "mobile" && "block rounded-md px-3 py-2 text-base hover:bg-accent",
3926
+ extra === "panel" && "block rounded-md p-2 hover:bg-accent",
3927
+ !extra && "text-sm hover:text-foreground",
3928
+ !extra && (active ? "font-medium text-foreground" : "text-muted-foreground")
3574
3929
  ),
3575
- children: item.label
3930
+ children: extra === "panel" ? /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)(import_jsx_runtime43.Fragment, { children: [
3931
+ /* @__PURE__ */ (0, import_jsx_runtime43.jsx)("span", { className: "block text-sm font-medium", children: item.label }),
3932
+ item.description && /* @__PURE__ */ (0, import_jsx_runtime43.jsx)("span", { className: "mt-0.5 block text-xs text-muted-foreground", children: item.description })
3933
+ ] }) : item.label
3576
3934
  },
3577
3935
  item.href
3578
3936
  );
3579
3937
  };
3580
- return /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)(import_jsx_runtime42.Fragment, { children: [
3581
- /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
3938
+ const hasColumns = (item) => Array.isArray(item.columns) && item.columns.length > 0;
3939
+ return /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)(import_jsx_runtime43.Fragment, { children: [
3940
+ /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
3582
3941
  "header",
3583
3942
  {
3584
3943
  className: cn(
@@ -3587,14 +3946,17 @@ function SiteHeader({
3587
3946
  className
3588
3947
  ),
3589
3948
  ...props,
3590
- children: /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)(
3949
+ children: /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)(
3591
3950
  "nav",
3592
3951
  {
3593
3952
  "aria-label": navLabel,
3594
- className: cn("mx-auto flex h-14 w-full max-w-7xl items-center justify-between gap-4 px-4 sm:px-6", navClassName),
3953
+ className: cn(
3954
+ "mx-auto flex h-14 w-full max-w-7xl items-center justify-between gap-4 px-4 sm:px-6",
3955
+ navClassName
3956
+ ),
3595
3957
  children: [
3596
- /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)("div", { className: "flex min-w-0 items-center gap-6", children: [
3597
- /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
3958
+ /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)("div", { className: "flex min-w-0 items-center gap-6", children: [
3959
+ /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
3598
3960
  Link3,
3599
3961
  {
3600
3962
  ...destination("/"),
@@ -3603,11 +3965,88 @@ function SiteHeader({
3603
3965
  children: brand
3604
3966
  }
3605
3967
  ),
3606
- /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("div", { className: cn("hidden items-center gap-5", desktopBreakpoint === "lg" ? "lg:flex" : "md:flex"), children: items.map((item) => navLink(item)) })
3968
+ /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
3969
+ "ul",
3970
+ {
3971
+ className: cn(
3972
+ "hidden items-center gap-5",
3973
+ desktopBreakpoint === "lg" ? "lg:flex" : "md:flex"
3974
+ ),
3975
+ children: items.map((item) => {
3976
+ if (!hasColumns(item)) {
3977
+ return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)("li", { children: navLink(item) }, item.href);
3978
+ }
3979
+ const panelId = `${generatedId}-panel-${item.label.replace(/\s+/g, "-").toLowerCase()}`;
3980
+ const open = openMenu === item.label;
3981
+ return /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)(
3982
+ "li",
3983
+ {
3984
+ "data-site-nav-item": true,
3985
+ className: "relative",
3986
+ onMouseEnter: () => setOpenMenu(item.label),
3987
+ onMouseLeave: () => setOpenMenu(null),
3988
+ onBlur: (event) => {
3989
+ const next = event.relatedTarget;
3990
+ if (!next || !event.currentTarget.contains(next)) {
3991
+ setOpenMenu(null);
3992
+ }
3993
+ },
3994
+ children: [
3995
+ /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)(
3996
+ "button",
3997
+ {
3998
+ type: "button",
3999
+ "aria-expanded": open,
4000
+ "aria-controls": panelId,
4001
+ onClick: () => setOpenMenu(item.label),
4002
+ onKeyDown: (event) => {
4003
+ if (event.key === "Escape") {
4004
+ setOpenMenu(null);
4005
+ event.currentTarget.focus();
4006
+ }
4007
+ if (event.key === "ArrowDown") {
4008
+ event.preventDefault();
4009
+ pendingFocus.current = panelId;
4010
+ setOpenMenu(item.label);
4011
+ }
4012
+ },
4013
+ className: cn(
4014
+ "flex items-center gap-1 rounded-sm text-sm transition-colors hover:text-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
4015
+ isActive3(item.href ?? "", activeHref, match) ? "font-medium text-foreground" : "text-muted-foreground"
4016
+ ),
4017
+ children: [
4018
+ item.label,
4019
+ /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(Caret, {})
4020
+ ]
4021
+ }
4022
+ ),
4023
+ /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
4024
+ "div",
4025
+ {
4026
+ id: panelId,
4027
+ hidden: !open,
4028
+ className: cn(
4029
+ "absolute left-0 top-full z-50 mt-2 grid gap-6 rounded-lg border border-border bg-popover p-5 shadow-lg",
4030
+ item.columns.length > 1 ? "grid-cols-2" : "grid-cols-1",
4031
+ "min-w-[22rem]"
4032
+ ),
4033
+ children: item.columns.map((column, index) => /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)("div", { className: "min-w-40", children: [
4034
+ column.heading && /* @__PURE__ */ (0, import_jsx_runtime43.jsx)("p", { className: "mb-2 text-xs font-medium uppercase tracking-wide text-muted-foreground", children: column.heading }),
4035
+ /* @__PURE__ */ (0, import_jsx_runtime43.jsx)("ul", { className: "flex flex-col gap-0.5", children: column.items.map((link) => /* @__PURE__ */ (0, import_jsx_runtime43.jsx)("li", { children: navLink(link, "panel") }, `${column.heading ?? index}-${link.href}-${link.label}`)) })
4036
+ ] }, column.heading ?? index))
4037
+ }
4038
+ )
4039
+ ]
4040
+ },
4041
+ item.label
4042
+ );
4043
+ })
4044
+ }
4045
+ )
3607
4046
  ] }),
3608
- /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)("div", { className: "flex items-center gap-2", children: [
4047
+ /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)("div", { className: "flex items-center gap-2", children: [
3609
4048
  actions,
3610
- showMobileTrigger && /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
4049
+ showMobileTrigger && /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
3611
4050
  "button",
3612
4051
  {
3613
4052
  type: "button",
@@ -3620,7 +4059,7 @@ function SiteHeader({
3620
4059
  "rounded-md border border-border p-2 text-muted-foreground hover:bg-muted focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
3621
4060
  desktopBreakpoint === "lg" ? "lg:hidden" : "md:hidden"
3622
4061
  ),
3623
- children: /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
4062
+ children: /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
3624
4063
  "svg",
3625
4064
  {
3626
4065
  "aria-hidden": "true",
@@ -3630,7 +4069,7 @@ function SiteHeader({
3630
4069
  stroke: "currentColor",
3631
4070
  strokeWidth: "2",
3632
4071
  strokeLinecap: "round",
3633
- children: mobileOpen ? /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("path", { d: "M6 6l12 12M18 6L6 18" }) : /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("path", { d: "M4 7h16M4 12h16M4 17h16" })
4072
+ children: mobileOpen ? /* @__PURE__ */ (0, import_jsx_runtime43.jsx)("path", { d: "M6 6l12 12M18 6L6 18" }) : /* @__PURE__ */ (0, import_jsx_runtime43.jsx)("path", { d: "M4 7h16M4 12h16M4 17h16" })
3634
4073
  }
3635
4074
  )
3636
4075
  }
@@ -3641,7 +4080,7 @@ function SiteHeader({
3641
4080
  )
3642
4081
  }
3643
4082
  ),
3644
- showMobileTrigger && /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)(
4083
+ showMobileTrigger && /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)(
3645
4084
  Drawer,
3646
4085
  {
3647
4086
  open: mobileOpen,
@@ -3651,8 +4090,16 @@ function SiteHeader({
3651
4090
  size: "sm",
3652
4091
  animate: true,
3653
4092
  children: [
3654
- /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("nav", { id: menuId, "aria-label": mobileNavLabel, className: "flex flex-col gap-1", children: items.map((item) => navLink(item, "mobile")) }),
3655
- (mobileActions ?? actions) && /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("div", { className: "mt-4 border-t border-border pt-4", children: mobileActions ?? actions })
4093
+ /* @__PURE__ */ (0, import_jsx_runtime43.jsx)("nav", { id: menuId, "aria-label": mobileNavLabel, className: "flex flex-col gap-1", children: items.map(
4094
+ (item) => hasColumns(item) ? /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)("details", { className: "rounded-md", children: [
4095
+ /* @__PURE__ */ (0, import_jsx_runtime43.jsx)("summary", { className: "cursor-pointer rounded-md px-3 py-2 text-base font-medium hover:bg-accent", children: item.label }),
4096
+ /* @__PURE__ */ (0, import_jsx_runtime43.jsx)("div", { className: "mt-1 flex flex-col gap-2 pb-2", children: item.columns.map((column, index) => /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)("div", { className: "px-3", children: [
4097
+ column.heading && /* @__PURE__ */ (0, import_jsx_runtime43.jsx)("p", { className: "mb-1 text-xs font-medium uppercase tracking-wide text-muted-foreground", children: column.heading }),
4098
+ /* @__PURE__ */ (0, import_jsx_runtime43.jsx)("ul", { className: "flex flex-col gap-1", children: column.items.map((link) => /* @__PURE__ */ (0, import_jsx_runtime43.jsx)("li", { children: navLink(link, "mobile") }, `${column.heading ?? index}-${link.href}-${link.label}`)) })
4099
+ ] }, column.heading ?? index)) })
4100
+ ] }, item.label) : navLink(item, "mobile")
4101
+ ) }),
4102
+ (mobileActions ?? actions) && /* @__PURE__ */ (0, import_jsx_runtime43.jsx)("div", { className: "mt-4 border-t border-border pt-4", children: mobileActions ?? actions })
3656
4103
  ]
3657
4104
  }
3658
4105
  )
@@ -3660,15 +4107,15 @@ function SiteHeader({
3660
4107
  }
3661
4108
 
3662
4109
  // src/components/accordion/Accordion.tsx
3663
- var React43 = __toESM(require("react"));
3664
- var import_jsx_runtime43 = require("react/jsx-runtime");
3665
- var AccordionContext = React43.createContext({
4110
+ var React44 = __toESM(require("react"));
4111
+ var import_jsx_runtime44 = require("react/jsx-runtime");
4112
+ var AccordionContext = React44.createContext({
3666
4113
  openItems: /* @__PURE__ */ new Set(),
3667
4114
  toggle: () => {
3668
4115
  },
3669
4116
  collapsible: true
3670
4117
  });
3671
- var Accordion = React43.forwardRef(
4118
+ var Accordion = React44.forwardRef(
3672
4119
  ({
3673
4120
  value,
3674
4121
  defaultValue = [],
@@ -3681,9 +4128,9 @@ var Accordion = React43.forwardRef(
3681
4128
  style,
3682
4129
  children
3683
4130
  }, ref) => {
3684
- const [internalOpen, setInternalOpen] = React43.useState(defaultValue);
4131
+ const [internalOpen, setInternalOpen] = React44.useState(defaultValue);
3685
4132
  const current = value ?? internalOpen;
3686
- const toggle = React43.useCallback(
4133
+ const toggle = React44.useCallback(
3687
4134
  (id) => {
3688
4135
  const next = current.includes(id) ? current.filter((item) => item !== id) : collapsible ? [id] : [...current, id];
3689
4136
  if (value === void 0) setInternalOpen(next);
@@ -3692,7 +4139,7 @@ var Accordion = React43.forwardRef(
3692
4139
  [current, collapsible, value, onValueChange]
3693
4140
  );
3694
4141
  const gapResolved = resolveGap(gap);
3695
- return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
4142
+ return /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
3696
4143
  "div",
3697
4144
  {
3698
4145
  ref,
@@ -3705,28 +4152,28 @@ var Accordion = React43.forwardRef(
3705
4152
  className
3706
4153
  ),
3707
4154
  style: { ...gapResolved.style, ...style },
3708
- children: /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(AccordionContext.Provider, { value: { openItems: new Set(current), toggle, collapsible }, children: items ? items.map((item) => /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)(AccordionItem, { id: item.id, children: [
3709
- /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(AccordionTrigger, { disabled: item.disabled, children: item.title }),
3710
- /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(AccordionContent, { children: item.content })
4155
+ children: /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(AccordionContext.Provider, { value: { openItems: new Set(current), toggle, collapsible }, children: items ? items.map((item) => /* @__PURE__ */ (0, import_jsx_runtime44.jsxs)(AccordionItem, { id: item.id, children: [
4156
+ /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(AccordionTrigger, { disabled: item.disabled, children: item.title }),
4157
+ /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(AccordionContent, { children: item.content })
3711
4158
  ] }, item.id)) : children })
3712
4159
  }
3713
4160
  );
3714
4161
  }
3715
4162
  );
3716
4163
  Accordion.displayName = "Accordion";
3717
- var AccordionItem = React43.forwardRef(
3718
- ({ id, className, children }, ref) => /* @__PURE__ */ (0, import_jsx_runtime43.jsx)("div", { ref, "data-accordion-item": id, className, children: /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(AccordionItemContext.Provider, { value: { id }, children }) })
4164
+ var AccordionItem = React44.forwardRef(
4165
+ ({ id, className, children }, ref) => /* @__PURE__ */ (0, import_jsx_runtime44.jsx)("div", { ref, "data-accordion-item": id, className, children: /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(AccordionItemContext.Provider, { value: { id }, children }) })
3719
4166
  );
3720
4167
  AccordionItem.displayName = "AccordionItem";
3721
- var AccordionItemContext = React43.createContext({ id: "" });
3722
- var AccordionTrigger = React43.forwardRef(
4168
+ var AccordionItemContext = React44.createContext({ id: "" });
4169
+ var AccordionTrigger = React44.forwardRef(
3723
4170
  ({ className, children, icon, ...props }, ref) => {
3724
- const { id } = React43.useContext(AccordionItemContext);
3725
- const { openItems, toggle } = React43.useContext(AccordionContext);
4171
+ const { id } = React44.useContext(AccordionItemContext);
4172
+ const { openItems, toggle } = React44.useContext(AccordionContext);
3726
4173
  const open = openItems.has(id);
3727
4174
  const panelId = `${id}-panel`;
3728
4175
  const triggerId = `${id}-trigger`;
3729
- return /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)(
4176
+ return /* @__PURE__ */ (0, import_jsx_runtime44.jsxs)(
3730
4177
  "button",
3731
4178
  {
3732
4179
  ref,
@@ -3745,7 +4192,7 @@ var AccordionTrigger = React43.forwardRef(
3745
4192
  ...props,
3746
4193
  children: [
3747
4194
  children,
3748
- icon ?? /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
4195
+ icon ?? /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
3749
4196
  "svg",
3750
4197
  {
3751
4198
  "aria-hidden": "true",
@@ -3755,7 +4202,7 @@ var AccordionTrigger = React43.forwardRef(
3755
4202
  strokeWidth: "2",
3756
4203
  strokeLinecap: "round",
3757
4204
  className: cn("h-4 w-4 shrink-0 transition-transform duration-200", open && "rotate-180"),
3758
- children: /* @__PURE__ */ (0, import_jsx_runtime43.jsx)("polyline", { points: "6 9 12 15 18 9" })
4205
+ children: /* @__PURE__ */ (0, import_jsx_runtime44.jsx)("polyline", { points: "6 9 12 15 18 9" })
3759
4206
  }
3760
4207
  )
3761
4208
  ]
@@ -3764,13 +4211,13 @@ var AccordionTrigger = React43.forwardRef(
3764
4211
  }
3765
4212
  );
3766
4213
  AccordionTrigger.displayName = "AccordionTrigger";
3767
- var AccordionContent = React43.forwardRef(
4214
+ var AccordionContent = React44.forwardRef(
3768
4215
  ({ className, children, ...props }, ref) => {
3769
- const { id } = React43.useContext(AccordionItemContext);
3770
- const { openItems } = React43.useContext(AccordionContext);
4216
+ const { id } = React44.useContext(AccordionItemContext);
4217
+ const { openItems } = React44.useContext(AccordionContext);
3771
4218
  const open = openItems.has(id);
3772
- const [expanded, setExpanded] = React43.useState(open);
3773
- React43.useEffect(() => {
4219
+ const [expanded, setExpanded] = React44.useState(open);
4220
+ React44.useEffect(() => {
3774
4221
  if (!open) {
3775
4222
  setExpanded(false);
3776
4223
  return;
@@ -3789,7 +4236,7 @@ var AccordionContent = React43.forwardRef(
3789
4236
  cancelAnimationFrame(second);
3790
4237
  };
3791
4238
  }, [open]);
3792
- return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
4239
+ return /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
3793
4240
  "div",
3794
4241
  {
3795
4242
  ref,
@@ -3808,7 +4255,7 @@ var AccordionContent = React43.forwardRef(
3808
4255
  className
3809
4256
  ),
3810
4257
  ...props,
3811
- children: /* @__PURE__ */ (0, import_jsx_runtime43.jsx)("div", { className: "overflow-hidden", children: /* @__PURE__ */ (0, import_jsx_runtime43.jsx)("div", { className: "px-4 pb-3 text-sm text-muted-foreground", children }) })
4258
+ children: /* @__PURE__ */ (0, import_jsx_runtime44.jsx)("div", { className: "overflow-hidden", children: /* @__PURE__ */ (0, import_jsx_runtime44.jsx)("div", { className: "px-4 pb-3 text-sm text-muted-foreground", children }) })
3812
4259
  }
3813
4260
  );
3814
4261
  }
@@ -3816,10 +4263,10 @@ var AccordionContent = React43.forwardRef(
3816
4263
  AccordionContent.displayName = "AccordionContent";
3817
4264
 
3818
4265
  // src/components/table/Table.tsx
3819
- var React44 = __toESM(require("react"));
3820
- var import_jsx_runtime44 = require("react/jsx-runtime");
3821
- var Table = React44.forwardRef(
3822
- ({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime44.jsx)("div", { className: "relative w-full overflow-auto", children: /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
4266
+ var React45 = __toESM(require("react"));
4267
+ var import_jsx_runtime45 = require("react/jsx-runtime");
4268
+ var Table = React45.forwardRef(
4269
+ ({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime45.jsx)("div", { className: "relative w-full overflow-auto", children: /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(
3823
4270
  "table",
3824
4271
  {
3825
4272
  ref,
@@ -3829,16 +4276,16 @@ var Table = React44.forwardRef(
3829
4276
  ) })
3830
4277
  );
3831
4278
  Table.displayName = "Table";
3832
- var TableHeader = React44.forwardRef(
3833
- ({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime44.jsx)("thead", { ref, className: cn("[&_tr]:border-b", className), ...props })
4279
+ var TableHeader = React45.forwardRef(
4280
+ ({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime45.jsx)("thead", { ref, className: cn("[&_tr]:border-b", className), ...props })
3834
4281
  );
3835
4282
  TableHeader.displayName = "TableHeader";
3836
- var TableBody = React44.forwardRef(
3837
- ({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime44.jsx)("tbody", { ref, className: cn("[&_tr:last-child]:border-0", className), ...props })
4283
+ var TableBody = React45.forwardRef(
4284
+ ({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime45.jsx)("tbody", { ref, className: cn("[&_tr:last-child]:border-0", className), ...props })
3838
4285
  );
3839
4286
  TableBody.displayName = "TableBody";
3840
- var TableFooter = React44.forwardRef(
3841
- ({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
4287
+ var TableFooter = React45.forwardRef(
4288
+ ({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(
3842
4289
  "tfoot",
3843
4290
  {
3844
4291
  ref,
@@ -3848,8 +4295,8 @@ var TableFooter = React44.forwardRef(
3848
4295
  )
3849
4296
  );
3850
4297
  TableFooter.displayName = "TableFooter";
3851
- var TableRow = React44.forwardRef(
3852
- ({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
4298
+ var TableRow = React45.forwardRef(
4299
+ ({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(
3853
4300
  "tr",
3854
4301
  {
3855
4302
  ref,
@@ -3862,8 +4309,8 @@ var TableRow = React44.forwardRef(
3862
4309
  )
3863
4310
  );
3864
4311
  TableRow.displayName = "TableRow";
3865
- var TableHead = React44.forwardRef(
3866
- ({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
4312
+ var TableHead = React45.forwardRef(
4313
+ ({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(
3867
4314
  "th",
3868
4315
  {
3869
4316
  ref,
@@ -3877,27 +4324,27 @@ var TableHead = React44.forwardRef(
3877
4324
  )
3878
4325
  );
3879
4326
  TableHead.displayName = "TableHead";
3880
- var TableCell = React44.forwardRef(
3881
- ({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime44.jsx)("td", { ref, className: cn("px-3 py-2 align-middle", className), ...props })
4327
+ var TableCell = React45.forwardRef(
4328
+ ({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime45.jsx)("td", { ref, className: cn("px-3 py-2 align-middle", className), ...props })
3882
4329
  );
3883
4330
  TableCell.displayName = "TableCell";
3884
- var TableCaption = React44.forwardRef(
3885
- ({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime44.jsx)("caption", { ref, className: cn("mt-3 text-xs text-muted-foreground", className), ...props })
4331
+ var TableCaption = React45.forwardRef(
4332
+ ({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime45.jsx)("caption", { ref, className: cn("mt-3 text-xs text-muted-foreground", className), ...props })
3886
4333
  );
3887
4334
  TableCaption.displayName = "TableCaption";
3888
4335
 
3889
4336
  // src/components/data-table/DataTable.tsx
3890
- var React46 = __toESM(require("react"));
4337
+ var React47 = __toESM(require("react"));
3891
4338
 
3892
4339
  // src/components/pagination/Pagination.tsx
3893
- var React45 = __toESM(require("react"));
3894
- var import_jsx_runtime45 = require("react/jsx-runtime");
4340
+ var React46 = __toESM(require("react"));
4341
+ var import_jsx_runtime46 = require("react/jsx-runtime");
3895
4342
  var controlClass = "inline-flex h-8 items-center rounded-md border border-border px-2.5 text-sm transition-colors hover:bg-muted focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50";
3896
4343
  var controlDisabledClass = "pointer-events-none opacity-50";
3897
4344
  var pageClass = "inline-flex h-8 w-8 items-center justify-center rounded-md border text-sm transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring";
3898
4345
  var pageActiveClass = "border-primary bg-primary text-primary-foreground font-medium";
3899
4346
  var pageIdleClass = "border-border hover:bg-muted";
3900
- var Pagination = React45.forwardRef(
4347
+ var Pagination = React46.forwardRef(
3901
4348
  ({
3902
4349
  page: pageProp,
3903
4350
  pageCount: pageCountProp,
@@ -3944,11 +4391,11 @@ var Pagination = React45.forwardRef(
3944
4391
  if (linkMode) {
3945
4392
  const href = hrefFor(target);
3946
4393
  if (disabled || href === void 0) {
3947
- return /* @__PURE__ */ (0, import_jsx_runtime45.jsx)("span", { "aria-label": label, "aria-disabled": "true", className: cn(controlClass, controlDisabledClass), children: content });
4394
+ return /* @__PURE__ */ (0, import_jsx_runtime46.jsx)("span", { "aria-label": label, "aria-disabled": "true", className: cn(controlClass, controlDisabledClass), children: content });
3948
4395
  }
3949
- return /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(LinkEl, { ...destination(href), "aria-label": label, className: controlClass, children: content });
4396
+ return /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(LinkEl, { ...destination(href), "aria-label": label, className: controlClass, children: content });
3950
4397
  }
3951
- return /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(
4398
+ return /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(
3952
4399
  "button",
3953
4400
  {
3954
4401
  type: "button",
@@ -3967,11 +4414,11 @@ var Pagination = React45.forwardRef(
3967
4414
  if (linkMode) {
3968
4415
  const href = hrefFor(entry);
3969
4416
  if (isCurrent || href === void 0) {
3970
- return /* @__PURE__ */ (0, import_jsx_runtime45.jsx)("span", { "aria-current": "page", "aria-label": label, className: classes, children: entry }, entry);
4417
+ return /* @__PURE__ */ (0, import_jsx_runtime46.jsx)("span", { "aria-current": "page", "aria-label": label, className: classes, children: entry }, entry);
3971
4418
  }
3972
- return /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(LinkEl, { ...destination(href), "aria-label": label, className: classes, children: entry }, entry);
4419
+ return /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(LinkEl, { ...destination(href), "aria-label": label, className: classes, children: entry }, entry);
3973
4420
  }
3974
- return /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(
4421
+ return /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(
3975
4422
  "button",
3976
4423
  {
3977
4424
  type: "button",
@@ -3984,7 +4431,7 @@ var Pagination = React45.forwardRef(
3984
4431
  entry
3985
4432
  );
3986
4433
  };
3987
- const nav = /* @__PURE__ */ (0, import_jsx_runtime45.jsxs)(
4434
+ const nav = /* @__PURE__ */ (0, import_jsx_runtime46.jsxs)(
3988
4435
  "nav",
3989
4436
  {
3990
4437
  ref,
@@ -3995,7 +4442,7 @@ var Pagination = React45.forwardRef(
3995
4442
  withFirst && step(1, labels?.first ?? "First page", icons?.first ?? "\xAB", page <= 1),
3996
4443
  step(page - 1, labels?.previous ?? "Previous page", icons?.previous ?? "<", page <= 1),
3997
4444
  pages.map(
3998
- (entry, index) => entry === "ellipsis" ? /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(
4445
+ (entry, index) => entry === "ellipsis" ? /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(
3999
4446
  "span",
4000
4447
  {
4001
4448
  "aria-hidden": "true",
@@ -4011,8 +4458,8 @@ var Pagination = React45.forwardRef(
4011
4458
  }
4012
4459
  );
4013
4460
  if (!summaryEnabled) return nav;
4014
- return /* @__PURE__ */ (0, import_jsx_runtime45.jsxs)("div", { className: cn("flex flex-wrap items-center justify-between gap-3", className), children: [
4015
- /* @__PURE__ */ (0, import_jsx_runtime45.jsx)("p", { className: "text-sm text-muted-foreground", children: rangeStart !== void 0 && rangeEnd !== void 0 && total !== void 0 ? `Showing ${rangeStart}\u2013${rangeEnd} of ${total} ${itemLabel}` : `Page ${page} of ${pageCount}` }),
4461
+ return /* @__PURE__ */ (0, import_jsx_runtime46.jsxs)("div", { className: cn("flex flex-wrap items-center justify-between gap-3", className), children: [
4462
+ /* @__PURE__ */ (0, import_jsx_runtime46.jsx)("p", { className: "text-sm text-muted-foreground", children: rangeStart !== void 0 && rangeEnd !== void 0 && total !== void 0 ? `Showing ${rangeStart}\u2013${rangeEnd} of ${total} ${itemLabel}` : `Page ${page} of ${pageCount}` }),
4016
4463
  nav
4017
4464
  ] });
4018
4465
  }
@@ -4020,7 +4467,7 @@ var Pagination = React45.forwardRef(
4020
4467
  Pagination.displayName = "Pagination";
4021
4468
 
4022
4469
  // src/components/data-table/DataTable.tsx
4023
- var import_jsx_runtime46 = require("react/jsx-runtime");
4470
+ var import_jsx_runtime47 = require("react/jsx-runtime");
4024
4471
  function compareValues(a, b) {
4025
4472
  if (typeof a === "number" && typeof b === "number") return a - b;
4026
4473
  if (a instanceof Date && b instanceof Date) return a.getTime() - b.getTime();
@@ -4051,6 +4498,7 @@ function DataTable({
4051
4498
  onRowClick,
4052
4499
  emptyMessage = "No results.",
4053
4500
  selectAllLabel = "Select all rows",
4501
+ selectedLabel = "{count} selected",
4054
4502
  stickyHeader,
4055
4503
  density = "default",
4056
4504
  zebra,
@@ -4058,9 +4506,9 @@ function DataTable({
4058
4506
  loadingRows,
4059
4507
  className
4060
4508
  }) {
4061
- const [internalSort, setInternalSort] = React46.useState(defaultSort);
4062
- const [internalPage, setInternalPage] = React46.useState(1);
4063
- const sort = React46.useMemo(() => {
4509
+ const [internalSort, setInternalSort] = React47.useState(defaultSort);
4510
+ const [internalPage, setInternalPage] = React47.useState(1);
4511
+ const sort = React47.useMemo(() => {
4064
4512
  if (sortKey !== void 0) {
4065
4513
  return sortKey === null ? null : { key: sortKey, dir: sortDir ?? "asc" };
4066
4514
  }
@@ -4077,7 +4525,7 @@ function DataTable({
4077
4525
  if (page === void 0) setInternalPage(next);
4078
4526
  onPageChange?.(next);
4079
4527
  };
4080
- const sorted = React46.useMemo(() => {
4528
+ const sorted = React47.useMemo(() => {
4081
4529
  if (!sort) return data;
4082
4530
  const column = columns.find((c) => c.key === sort.key);
4083
4531
  if (!column) return data;
@@ -4097,10 +4545,10 @@ function DataTable({
4097
4545
  const pageCount = pageCountProp ?? computedPageCount;
4098
4546
  const safePage = Math.min(currentPage, pageCount || 1);
4099
4547
  const visible = manualPagination ? data : pageSize ? sorted.slice((safePage - 1) * pageSize, safePage * pageSize) : sorted;
4100
- const [internalSelected, setInternalSelected] = React46.useState([]);
4548
+ const [internalSelected, setInternalSelected] = React47.useState([]);
4101
4549
  const selectionEnabled = selectedRowIds !== void 0 || onSelectedRowIdsChange !== void 0;
4102
4550
  const selectedIds = selectedRowIds ?? internalSelected;
4103
- const selectedSet = React46.useMemo(() => new Set(selectedIds), [selectedIds]);
4551
+ const selectedSet = React47.useMemo(() => new Set(selectedIds), [selectedIds]);
4104
4552
  const selectableVisible = isRowSelectable ? visible.filter(isRowSelectable) : visible;
4105
4553
  const allSelected = selectableVisible.length > 0 && selectableVisible.every((row) => selectedSet.has(rowId(row)));
4106
4554
  const someSelected = selectableVisible.some((row) => selectedSet.has(rowId(row)));
@@ -4128,22 +4576,19 @@ function DataTable({
4128
4576
  return String(raw);
4129
4577
  };
4130
4578
  const alignClass = (align) => align === "right" ? "text-right" : align === "center" ? "text-center" : "text-left";
4131
- return /* @__PURE__ */ (0, import_jsx_runtime46.jsxs)("div", { className: cn("w-full space-y-3", className), children: [
4132
- selectionEnabled && selectedIds.length > 0 && bulkActions && /* @__PURE__ */ (0, import_jsx_runtime46.jsxs)("div", { className: "flex flex-wrap items-center justify-between gap-2 rounded-lg border border-border bg-muted/40 px-3 py-2 text-sm", children: [
4133
- /* @__PURE__ */ (0, import_jsx_runtime46.jsxs)("span", { className: "font-medium", children: [
4134
- selectedIds.length,
4135
- " selected"
4136
- ] }),
4137
- /* @__PURE__ */ (0, import_jsx_runtime46.jsx)("div", { className: "flex flex-wrap items-center gap-2", children: bulkActions })
4579
+ return /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)("div", { className: cn("w-full space-y-3", className), children: [
4580
+ selectionEnabled && selectedIds.length > 0 && bulkActions && /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)("div", { className: "flex flex-wrap items-center justify-between gap-2 rounded-lg border border-border bg-muted/40 px-3 py-2 text-sm", children: [
4581
+ /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("span", { className: "font-medium", children: selectedLabel.replace("{count}", String(selectedIds.length)) }),
4582
+ /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("div", { className: "flex flex-wrap items-center gap-2", children: bulkActions })
4138
4583
  ] }),
4139
- /* @__PURE__ */ (0, import_jsx_runtime46.jsx)("div", { className: "w-full overflow-x-auto rounded-lg border border-border", children: /* @__PURE__ */ (0, import_jsx_runtime46.jsxs)(
4584
+ /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("div", { className: "w-full overflow-x-auto rounded-lg border border-border", children: /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)(
4140
4585
  "table",
4141
4586
  {
4142
4587
  className: cn("w-full caption-bottom", density === "compact" ? "text-xs" : "text-sm"),
4143
4588
  children: [
4144
- caption && /* @__PURE__ */ (0, import_jsx_runtime46.jsx)("caption", { className: "px-3 py-2 text-left text-xs text-muted-foreground", children: caption }),
4145
- /* @__PURE__ */ (0, import_jsx_runtime46.jsx)("thead", { className: cn("bg-muted/50", stickyHeader && "sticky top-0 z-10 bg-background"), children: /* @__PURE__ */ (0, import_jsx_runtime46.jsxs)("tr", { children: [
4146
- selectionEnabled && /* @__PURE__ */ (0, import_jsx_runtime46.jsx)("th", { scope: "col", className: "w-10 border-b border-border px-3 py-2", children: /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(
4589
+ caption && /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("caption", { className: "px-3 py-2 text-left text-xs text-muted-foreground", children: caption }),
4590
+ /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("thead", { className: cn("bg-muted/50", stickyHeader && "sticky top-0 z-10 bg-background"), children: /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)("tr", { children: [
4591
+ selectionEnabled && /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("th", { scope: "col", className: "w-10 border-b border-border px-3 py-2", children: /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
4147
4592
  Checkbox,
4148
4593
  {
4149
4594
  "aria-label": selectAllLabel,
@@ -4157,7 +4602,7 @@ function DataTable({
4157
4602
  columns.map((column) => {
4158
4603
  const isSorted = sort?.key === column.key;
4159
4604
  const ariaSort = !column.sortable ? void 0 : isSorted ? sort.dir === "asc" ? "ascending" : "descending" : "none";
4160
- return /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(
4605
+ return /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
4161
4606
  "th",
4162
4607
  {
4163
4608
  scope: "col",
@@ -4167,7 +4612,7 @@ function DataTable({
4167
4612
  alignClass(column.align),
4168
4613
  column.className
4169
4614
  ),
4170
- children: column.sortable ? /* @__PURE__ */ (0, import_jsx_runtime46.jsxs)(
4615
+ children: column.sortable ? /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)(
4171
4616
  "button",
4172
4617
  {
4173
4618
  type: "button",
@@ -4175,7 +4620,7 @@ function DataTable({
4175
4620
  className: "inline-flex items-center gap-1 rounded px-1 py-0.5 transition-colors hover:text-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
4176
4621
  children: [
4177
4622
  column.header,
4178
- /* @__PURE__ */ (0, import_jsx_runtime46.jsx)("span", { "aria-hidden": "true", className: "text-[10px] text-muted-foreground", children: renderSortIcon ? renderSortIcon(isSorted ? sort.dir === "asc" ? "asc" : "desc" : "none") : isSorted ? sort.dir === "asc" ? "\u25B2" : "\u25BC" : "\u2195" })
4623
+ /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("span", { "aria-hidden": "true", className: "text-[10px] text-muted-foreground", children: renderSortIcon ? renderSortIcon(isSorted ? sort.dir === "asc" ? "asc" : "desc" : "none") : isSorted ? sort.dir === "asc" ? "\u25B2" : "\u25BC" : "\u2195" })
4179
4624
  ]
4180
4625
  }
4181
4626
  ) : column.header
@@ -4184,20 +4629,20 @@ function DataTable({
4184
4629
  );
4185
4630
  })
4186
4631
  ] }) }),
4187
- /* @__PURE__ */ (0, import_jsx_runtime46.jsx)("tbody", { "aria-busy": loading || void 0, children: loading ? Array.from(
4632
+ /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("tbody", { "aria-busy": loading || void 0, children: loading ? Array.from(
4188
4633
  { length: (loadingRows ?? pageSize ?? Math.min(visible.length, 5)) || 5 },
4189
- (_, skeletonRow) => /* @__PURE__ */ (0, import_jsx_runtime46.jsxs)("tr", { children: [
4190
- selectionEnabled && /* @__PURE__ */ (0, import_jsx_runtime46.jsx)("td", { className: cn("px-3 py-2", density === "compact" && "px-2 py-1"), children: /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(Skeleton, { className: "h-4 w-4" }) }),
4191
- columns.map((column) => /* @__PURE__ */ (0, import_jsx_runtime46.jsx)("td", { className: cn("px-3 py-2", density === "compact" && "px-2 py-1"), children: /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(Skeleton, { className: density === "compact" ? "h-3 w-full" : "h-4 w-full" }) }, column.key))
4634
+ (_, skeletonRow) => /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)("tr", { children: [
4635
+ selectionEnabled && /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("td", { className: cn("px-3 py-2", density === "compact" && "px-2 py-1"), children: /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(Skeleton, { className: "h-4 w-4" }) }),
4636
+ columns.map((column) => /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("td", { className: cn("px-3 py-2", density === "compact" && "px-2 py-1"), children: /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(Skeleton, { className: density === "compact" ? "h-3 w-full" : "h-4 w-full" }) }, column.key))
4192
4637
  ] }, `skeleton-${skeletonRow}`)
4193
- ) : visible.length === 0 ? /* @__PURE__ */ (0, import_jsx_runtime46.jsx)("tr", { children: /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(
4638
+ ) : visible.length === 0 ? /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("tr", { children: /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
4194
4639
  "td",
4195
4640
  {
4196
4641
  colSpan: columns.length + (selectionEnabled ? 1 : 0),
4197
4642
  className: "px-3 py-8 text-center text-sm text-muted-foreground",
4198
4643
  children: emptyMessage
4199
4644
  }
4200
- ) }) : visible.map((row, index) => /* @__PURE__ */ (0, import_jsx_runtime46.jsxs)(
4645
+ ) }) : visible.map((row, index) => /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)(
4201
4646
  "tr",
4202
4647
  {
4203
4648
  tabIndex: onRowClick ? 0 : void 0,
@@ -4214,12 +4659,12 @@ function DataTable({
4214
4659
  onRowClick && "cursor-pointer transition-colors hover:bg-muted/50 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-ring"
4215
4660
  ),
4216
4661
  children: [
4217
- selectionEnabled && /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(
4662
+ selectionEnabled && /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
4218
4663
  "td",
4219
4664
  {
4220
4665
  className: cn("align-middle", density === "compact" ? "px-2 py-1" : "px-3 py-2"),
4221
4666
  onClick: (event) => event.stopPropagation(),
4222
- children: /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(
4667
+ children: /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
4223
4668
  Checkbox,
4224
4669
  {
4225
4670
  "aria-label": `Select row ${rowId(row)}`,
@@ -4230,7 +4675,7 @@ function DataTable({
4230
4675
  )
4231
4676
  }
4232
4677
  ),
4233
- columns.map((column) => /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(
4678
+ columns.map((column) => /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
4234
4679
  "td",
4235
4680
  {
4236
4681
  className: cn(
@@ -4239,7 +4684,7 @@ function DataTable({
4239
4684
  alignClass(column.align),
4240
4685
  column.className
4241
4686
  ),
4242
- children: column.onClick ? /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(
4687
+ children: column.onClick ? /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
4243
4688
  "button",
4244
4689
  {
4245
4690
  type: "button",
@@ -4258,8 +4703,8 @@ function DataTable({
4258
4703
  ]
4259
4704
  }
4260
4705
  ) }),
4261
- pageSize && pageCount > 1 && /* @__PURE__ */ (0, import_jsx_runtime46.jsxs)("div", { className: "flex flex-wrap items-center justify-between gap-x-4 gap-y-2", children: [
4262
- /* @__PURE__ */ (0, import_jsx_runtime46.jsxs)(
4706
+ pageSize && pageCount > 1 && /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)("div", { className: "flex flex-wrap items-center justify-between gap-x-4 gap-y-2", children: [
4707
+ /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)(
4263
4708
  "p",
4264
4709
  {
4265
4710
  className: "min-h-8 leading-none text-xs text-muted-foreground",
@@ -4274,16 +4719,16 @@ function DataTable({
4274
4719
  ]
4275
4720
  }
4276
4721
  ),
4277
- /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(Pagination, { page: safePage, pageCount, onPageChange: setPage })
4722
+ /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(Pagination, { page: safePage, pageCount, onPageChange: setPage })
4278
4723
  ] })
4279
4724
  ] });
4280
4725
  }
4281
4726
 
4282
4727
  // src/components/list/List.tsx
4283
- var React47 = __toESM(require("react"));
4284
- var import_jsx_runtime47 = require("react/jsx-runtime");
4285
- var List = React47.forwardRef(
4286
- ({ divided, bordered, size = "default", className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
4728
+ var React48 = __toESM(require("react"));
4729
+ var import_jsx_runtime48 = require("react/jsx-runtime");
4730
+ var List = React48.forwardRef(
4731
+ ({ divided, bordered, size = "default", className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
4287
4732
  "ul",
4288
4733
  {
4289
4734
  ref,
@@ -4299,7 +4744,7 @@ var List = React47.forwardRef(
4299
4744
  )
4300
4745
  );
4301
4746
  List.displayName = "List";
4302
- var ListItem = React47.forwardRef(
4747
+ var ListItem = React48.forwardRef(
4303
4748
  ({ leading, trailing, selected, onClick, description, disabled, className, children, ...props }, ref) => {
4304
4749
  const padding = "px-3 py-2.5";
4305
4750
  const rowClass = cn(
@@ -4309,43 +4754,43 @@ var ListItem = React47.forwardRef(
4309
4754
  disabled && "opacity-50",
4310
4755
  className
4311
4756
  );
4312
- const body = /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)(import_jsx_runtime47.Fragment, { children: [
4313
- leading && /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("span", { className: "flex shrink-0 items-center", children: leading }),
4314
- /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)("span", { className: "min-w-0 flex-1", children: [
4315
- /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("span", { className: "block truncate", children }),
4316
- description && /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("span", { className: "mt-0.5 block text-xs text-muted-foreground", children: description })
4757
+ const body = /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)(import_jsx_runtime48.Fragment, { children: [
4758
+ leading && /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("span", { className: "flex shrink-0 items-center", children: leading }),
4759
+ /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)("span", { className: "min-w-0 flex-1", children: [
4760
+ /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("span", { className: "block truncate", children }),
4761
+ description && /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("span", { className: "mt-0.5 block text-xs text-muted-foreground", children: description })
4317
4762
  ] }),
4318
- trailing && /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("span", { className: "flex shrink-0 items-center text-xs text-muted-foreground", children: trailing })
4763
+ trailing && /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("span", { className: "flex shrink-0 items-center text-xs text-muted-foreground", children: trailing })
4319
4764
  ] });
4320
- return /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("li", { ref, ...props, children: onClick ? /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("button", { type: "button", onClick, disabled, className: cn(padding, rowClass), children: body }) : /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("div", { className: cn(padding, rowClass), children: body }) });
4765
+ return /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("li", { ref, ...props, children: onClick ? /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("button", { type: "button", onClick, disabled, className: cn(padding, rowClass), children: body }) : /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("div", { className: cn(padding, rowClass), children: body }) });
4321
4766
  }
4322
4767
  );
4323
4768
  ListItem.displayName = "ListItem";
4324
4769
 
4325
4770
  // src/components/link/Link.tsx
4326
- var React48 = __toESM(require("react"));
4771
+ var React49 = __toESM(require("react"));
4327
4772
  var import_react_slot4 = require("@radix-ui/react-slot");
4328
4773
  var import_class_variance_authority7 = require("class-variance-authority");
4329
- var import_jsx_runtime48 = require("react/jsx-runtime");
4774
+ var import_jsx_runtime49 = require("react/jsx-runtime");
4330
4775
  var linkVariants = (0, import_class_variance_authority7.cva)("inline-flex items-center gap-1 transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background rounded-sm", {
4331
4776
  variants: {
4332
4777
  variant: {
4333
- default: "text-primary hover:underline underline-offset-4",
4778
+ default: "text-primary-ink hover:underline underline-offset-4",
4334
4779
  muted: "text-muted-foreground hover:text-foreground",
4335
- underline: "underline underline-offset-4 hover:text-primary",
4336
- arrow: "font-medium text-primary hover:underline underline-offset-4",
4337
- external: "text-primary hover:underline underline-offset-4"
4780
+ underline: "underline underline-offset-4 hover:text-primary-ink",
4781
+ arrow: "font-medium text-primary-ink hover:underline underline-offset-4",
4782
+ external: "text-primary-ink hover:underline underline-offset-4"
4338
4783
  }
4339
4784
  },
4340
4785
  defaultVariants: { variant: "default" }
4341
4786
  });
4342
4787
  var ABSOLUTE = /^https?:\/\//i;
4343
- var Link = React48.forwardRef(function Link2({ className, variant, asChild = false, external, target, rel, children, ...props }, ref) {
4788
+ var Link = React49.forwardRef(function Link2({ className, variant, asChild = false, external, target, rel, children, ...props }, ref) {
4344
4789
  const isAbsolute = typeof props.href === "string" && ABSOLUTE.test(props.href);
4345
4790
  const isExternal = external ?? isAbsolute;
4346
4791
  const Comp = asChild ? import_react_slot4.Slot : "a";
4347
4792
  if (asChild) {
4348
- return /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
4793
+ return /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(
4349
4794
  Comp,
4350
4795
  {
4351
4796
  ref,
@@ -4357,7 +4802,7 @@ var Link = React48.forwardRef(function Link2({ className, variant, asChild = fal
4357
4802
  }
4358
4803
  );
4359
4804
  }
4360
- return /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)(
4805
+ return /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)(
4361
4806
  Comp,
4362
4807
  {
4363
4808
  ref,
@@ -4367,18 +4812,55 @@ var Link = React48.forwardRef(function Link2({ className, variant, asChild = fal
4367
4812
  ...props,
4368
4813
  children: [
4369
4814
  children,
4370
- isExternal && variant !== "muted" && /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)(import_jsx_runtime48.Fragment, { children: [
4371
- /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("span", { "aria-hidden": "true", className: "text-[0.75em]", children: "\u2197" }),
4372
- /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("span", { className: "sr-only", children: "(opens in a new tab)" })
4815
+ isExternal && variant !== "muted" && /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)(import_jsx_runtime49.Fragment, { children: [
4816
+ /* @__PURE__ */ (0, import_jsx_runtime49.jsx)("span", { "aria-hidden": "true", className: "text-[0.75em]", children: "\u2197" }),
4817
+ /* @__PURE__ */ (0, import_jsx_runtime49.jsx)("span", { className: "sr-only", children: "(opens in a new tab)" })
4373
4818
  ] })
4374
4819
  ]
4375
4820
  }
4376
4821
  );
4377
4822
  });
4378
4823
 
4824
+ // src/components/image/Image.tsx
4825
+ var React50 = __toESM(require("react"));
4826
+ var import_jsx_runtime50 = require("react/jsx-runtime");
4827
+ function Image2({
4828
+ src,
4829
+ alt,
4830
+ fallbackSrc,
4831
+ fallback,
4832
+ priority = false,
4833
+ width = 1200,
4834
+ height = 630,
4835
+ className,
4836
+ imgClassName,
4837
+ style
4838
+ }) {
4839
+ const [stage, setStage] = React50.useState(0);
4840
+ const onError = () => setStage((current2) => current2 === 0 && fallbackSrc ? 1 : 2);
4841
+ const current = stage === 0 ? src : stage === 1 ? fallbackSrc : null;
4842
+ if (!current || stage === 2) return /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(import_jsx_runtime50.Fragment, { children: fallback ?? null });
4843
+ return /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(
4844
+ "img",
4845
+ {
4846
+ src: current,
4847
+ alt,
4848
+ width,
4849
+ height,
4850
+ loading: priority ? "eager" : "lazy",
4851
+ fetchPriority: priority ? "high" : "auto",
4852
+ decoding: "async",
4853
+ className: cn(className, imgClassName),
4854
+ style,
4855
+ onError
4856
+ }
4857
+ );
4858
+ }
4859
+ Image2.displayName = "Image";
4860
+
4379
4861
  // src/components/text/Text.tsx
4380
- var React49 = __toESM(require("react"));
4381
- var import_jsx_runtime49 = require("react/jsx-runtime");
4862
+ var React51 = __toESM(require("react"));
4863
+ var import_jsx_runtime51 = require("react/jsx-runtime");
4382
4864
  var sizeClasses4 = {
4383
4865
  xs: "text-xs",
4384
4866
  sm: "text-sm",
@@ -4392,10 +4874,10 @@ var weightClasses = {
4392
4874
  semibold: "font-semibold",
4393
4875
  bold: "font-bold"
4394
4876
  };
4395
- var Text = React49.forwardRef(
4877
+ var Text = React51.forwardRef(
4396
4878
  ({ inline, size = "base", weight, muted, className, ...props }, ref) => {
4397
4879
  const Tag = inline ? "span" : "p";
4398
- return /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(
4880
+ return /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(
4399
4881
  Tag,
4400
4882
  {
4401
4883
  ref,
@@ -4414,8 +4896,8 @@ var Text = React49.forwardRef(
4414
4896
  Text.displayName = "Text";
4415
4897
 
4416
4898
  // src/components/heading/Heading.tsx
4417
- var React50 = __toESM(require("react"));
4418
- var import_jsx_runtime50 = require("react/jsx-runtime");
4899
+ var React52 = __toESM(require("react"));
4900
+ var import_jsx_runtime52 = require("react/jsx-runtime");
4419
4901
  var levelClasses = {
4420
4902
  1: "text-4xl",
4421
4903
  2: "text-3xl",
@@ -4432,10 +4914,10 @@ var sizeClasses5 = {
4432
4914
  "2xl": "text-4xl",
4433
4915
  "3xl": "text-5xl"
4434
4916
  };
4435
- var Heading = React50.forwardRef(
4917
+ var Heading = React52.forwardRef(
4436
4918
  ({ level, size, muted, className, ...props }, ref) => {
4437
4919
  const Tag = `h${level}`;
4438
- return /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(
4920
+ return /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(
4439
4921
  Tag,
4440
4922
  {
4441
4923
  ref,
@@ -4453,20 +4935,20 @@ var Heading = React50.forwardRef(
4453
4935
  Heading.displayName = "Heading";
4454
4936
 
4455
4937
  // src/components/empty-state/EmptyState.tsx
4456
- var React51 = __toESM(require("react"));
4457
- var import_jsx_runtime51 = require("react/jsx-runtime");
4938
+ var React53 = __toESM(require("react"));
4939
+ var import_jsx_runtime53 = require("react/jsx-runtime");
4458
4940
  function isActionObject(value) {
4459
- return typeof value === "object" && value !== null && !React51.isValidElement(value) && "label" in value;
4941
+ return typeof value === "object" && value !== null && !React53.isValidElement(value) && "label" in value;
4460
4942
  }
4461
4943
  function renderAction(action) {
4462
4944
  if (!isActionObject(action)) return action;
4463
4945
  const { label, onClick, href, variant } = action;
4464
4946
  if (href) {
4465
- return /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(Button, { variant, asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime51.jsx)("a", { href, children: label }) });
4947
+ return /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(Button, { variant, asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime53.jsx)("a", { href, children: label }) });
4466
4948
  }
4467
- return /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(Button, { variant, onClick, children: label });
4949
+ return /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(Button, { variant, onClick, children: label });
4468
4950
  }
4469
- var EmptyState = React51.forwardRef(function EmptyState2({
4951
+ var EmptyState = React53.forwardRef(function EmptyState2({
4470
4952
  icon,
4471
4953
  title,
4472
4954
  description,
@@ -4480,7 +4962,7 @@ var EmptyState = React51.forwardRef(function EmptyState2({
4480
4962
  ...props
4481
4963
  }, ref) {
4482
4964
  const primaryAction = renderAction(action) ?? actions;
4483
- return /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)(
4965
+ return /* @__PURE__ */ (0, import_jsx_runtime53.jsxs)(
4484
4966
  "div",
4485
4967
  {
4486
4968
  ref,
@@ -4491,11 +4973,11 @@ var EmptyState = React51.forwardRef(function EmptyState2({
4491
4973
  ),
4492
4974
  ...props,
4493
4975
  children: [
4494
- icon && /* @__PURE__ */ (0, import_jsx_runtime51.jsx)("div", { className: "text-muted-foreground [&_svg]:size-8", children: icon }),
4495
- /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(Title, { className: cn("font-semibold", size === "md" ? "text-base" : "text-sm"), children: title }),
4496
- description && /* @__PURE__ */ (0, import_jsx_runtime51.jsx)("p", { className: "max-w-sm text-sm text-muted-foreground", children: description }),
4976
+ icon && /* @__PURE__ */ (0, import_jsx_runtime53.jsx)("div", { className: "text-muted-foreground [&_svg]:size-8", children: icon }),
4977
+ /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(Title, { className: cn("font-semibold", size === "md" ? "text-base" : "text-sm"), children: title }),
4978
+ description && /* @__PURE__ */ (0, import_jsx_runtime53.jsx)("p", { className: "max-w-sm text-sm text-muted-foreground", children: description }),
4497
4979
  children,
4498
- (primaryAction || secondaryAction) && /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)("div", { className: "mt-1 flex flex-wrap items-center justify-center gap-2", children: [
4980
+ (primaryAction || secondaryAction) && /* @__PURE__ */ (0, import_jsx_runtime53.jsxs)("div", { className: "mt-1 flex flex-wrap items-center justify-center gap-2", children: [
4499
4981
  primaryAction,
4500
4982
  secondaryAction
4501
4983
  ] })
@@ -4505,27 +4987,27 @@ var EmptyState = React51.forwardRef(function EmptyState2({
4505
4987
  });
4506
4988
 
4507
4989
  // src/components/page-header/PageHeader.tsx
4508
- var React52 = __toESM(require("react"));
4509
- var import_jsx_runtime52 = require("react/jsx-runtime");
4990
+ var React54 = __toESM(require("react"));
4991
+ var import_jsx_runtime54 = require("react/jsx-runtime");
4510
4992
  var sizeClasses6 = {
4511
4993
  sm: "text-xl",
4512
4994
  md: "text-2xl",
4513
4995
  lg: "text-3xl",
4514
4996
  hero: "text-4xl sm:text-5xl lg:text-[3.4rem] lg:leading-[1.1]"
4515
4997
  };
4516
- var PageHeader = React52.forwardRef(function PageHeader2({ title, description, subtitle, breadcrumbs, actions, eyebrow, size = "md", align = "left", titleClassName, descriptionClassName, eyebrowClassName, className, children, ...props }, ref) {
4998
+ var PageHeader = React54.forwardRef(function PageHeader2({ title, description, subtitle, breadcrumbs, actions, eyebrow, size = "md", align = "left", titleClassName, descriptionClassName, eyebrowClassName, className, children, ...props }, ref) {
4517
4999
  const supporting = description ?? subtitle;
4518
- return /* @__PURE__ */ (0, import_jsx_runtime52.jsxs)("div", { ref, className: cn("flex flex-col gap-2", align === "center" && "items-center text-center", className), ...props, children: [
4519
- breadcrumbs && /* @__PURE__ */ (0, import_jsx_runtime52.jsx)("div", { className: "text-sm text-muted-foreground", children: breadcrumbs }),
4520
- eyebrow && /* @__PURE__ */ (0, import_jsx_runtime52.jsx)("div", { className: cn("text-xs font-medium uppercase tracking-wide text-primary", eyebrowClassName), children: eyebrow }),
4521
- /* @__PURE__ */ (0, import_jsx_runtime52.jsxs)("div", { className: cn("flex w-full flex-wrap items-start justify-between gap-3", align === "center" && "justify-center"), children: [
4522
- /* @__PURE__ */ (0, import_jsx_runtime52.jsxs)("div", { className: cn("min-w-0", align === "center" && "flex flex-col items-center"), children: [
4523
- /* @__PURE__ */ (0, import_jsx_runtime52.jsx)("h1", { className: cn("font-semibold tracking-tight", sizeClasses6[size], titleClassName), children: title }),
4524
- supporting && /* @__PURE__ */ (0, import_jsx_runtime52.jsx)("p", { className: cn("mt-2 max-w-2xl text-base text-muted-foreground", descriptionClassName), children: supporting })
5000
+ return /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)("div", { ref, className: cn("flex flex-col gap-2", align === "center" && "items-center text-center", className), ...props, children: [
5001
+ breadcrumbs && /* @__PURE__ */ (0, import_jsx_runtime54.jsx)("div", { className: "text-sm text-muted-foreground", children: breadcrumbs }),
5002
+ eyebrow && /* @__PURE__ */ (0, import_jsx_runtime54.jsx)("div", { className: cn("text-xs font-medium uppercase tracking-wide text-primary-ink", eyebrowClassName), children: eyebrow }),
5003
+ /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)("div", { className: cn("flex w-full flex-wrap items-start justify-between gap-3", align === "center" && "justify-center"), children: [
5004
+ /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)("div", { className: cn("min-w-0", align === "center" && "flex flex-col items-center"), children: [
5005
+ /* @__PURE__ */ (0, import_jsx_runtime54.jsx)("h1", { className: cn("font-semibold tracking-tight", sizeClasses6[size], titleClassName), children: title }),
5006
+ supporting && /* @__PURE__ */ (0, import_jsx_runtime54.jsx)("p", { className: cn("mt-2 max-w-2xl text-base text-muted-foreground", descriptionClassName), children: supporting })
4525
5007
  ] }),
4526
- actions && /* @__PURE__ */ (0, import_jsx_runtime52.jsx)("div", { className: "flex shrink-0 items-center gap-2", children: actions })
5008
+ actions && /* @__PURE__ */ (0, import_jsx_runtime54.jsx)("div", { className: "flex shrink-0 items-center gap-2", children: actions })
4527
5009
  ] }),
4528
- children && /* @__PURE__ */ (0, import_jsx_runtime52.jsx)("div", { className: "mt-2", children })
5010
+ children && /* @__PURE__ */ (0, import_jsx_runtime54.jsx)("div", { className: "mt-2", children })
4529
5011
  ] });
4530
5012
  });
4531
5013
 
@@ -4545,16 +5027,16 @@ function documentHead({
4545
5027
  }
4546
5028
 
4547
5029
  // src/components/section-heading/SectionHeading.tsx
4548
- var React53 = __toESM(require("react"));
4549
- var import_jsx_runtime53 = require("react/jsx-runtime");
5030
+ var React55 = __toESM(require("react"));
5031
+ var import_jsx_runtime55 = require("react/jsx-runtime");
4550
5032
  var sizeClasses7 = {
4551
5033
  sm: "text-lg",
4552
5034
  md: "text-2xl",
4553
5035
  lg: "text-3xl"
4554
5036
  };
4555
- var SectionHeading = React53.forwardRef(function SectionHeading2({ title, description, eyebrow, actions, level = 2, align = "left", size = "md", titleClassName, descriptionClassName, eyebrowClassName, className, ...props }, ref) {
5037
+ var SectionHeading = React55.forwardRef(function SectionHeading2({ title, description, eyebrow, actions, level = 2, align = "left", size = "md", titleClassName, descriptionClassName, eyebrowClassName, className, ...props }, ref) {
4556
5038
  const Heading2 = `h${level}`;
4557
- return /* @__PURE__ */ (0, import_jsx_runtime53.jsxs)(
5039
+ return /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)(
4558
5040
  "div",
4559
5041
  {
4560
5042
  ref,
@@ -4565,20 +5047,20 @@ var SectionHeading = React53.forwardRef(function SectionHeading2({ title, descri
4565
5047
  ),
4566
5048
  ...props,
4567
5049
  children: [
4568
- /* @__PURE__ */ (0, import_jsx_runtime53.jsxs)("div", { className: cn("min-w-0", align === "center" && "flex flex-col items-center"), children: [
4569
- eyebrow && /* @__PURE__ */ (0, import_jsx_runtime53.jsx)("div", { className: cn("mb-1 text-xs font-medium uppercase tracking-wide text-primary", eyebrowClassName), children: eyebrow }),
4570
- /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(Heading2, { className: cn("font-semibold tracking-tight", sizeClasses7[size], titleClassName), children: title }),
4571
- description && /* @__PURE__ */ (0, import_jsx_runtime53.jsx)("p", { className: cn("mt-2 max-w-2xl text-muted-foreground", align === "center" ? "mx-auto" : "", descriptionClassName), children: description })
5050
+ /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)("div", { className: cn("min-w-0", align === "center" && "flex flex-col items-center"), children: [
5051
+ eyebrow && /* @__PURE__ */ (0, import_jsx_runtime55.jsx)("div", { className: cn("mb-1 text-xs font-medium uppercase tracking-wide text-primary-ink", eyebrowClassName), children: eyebrow }),
5052
+ /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(Heading2, { className: cn("font-semibold tracking-tight", sizeClasses7[size], titleClassName), children: title }),
5053
+ description && /* @__PURE__ */ (0, import_jsx_runtime55.jsx)("p", { className: cn("mt-2 max-w-2xl text-muted-foreground", align === "center" ? "mx-auto" : "", descriptionClassName), children: description })
4572
5054
  ] }),
4573
- actions && /* @__PURE__ */ (0, import_jsx_runtime53.jsx)("div", { className: "flex shrink-0 items-center gap-2", children: actions })
5055
+ actions && /* @__PURE__ */ (0, import_jsx_runtime55.jsx)("div", { className: "flex shrink-0 items-center gap-2", children: actions })
4574
5056
  ]
4575
5057
  }
4576
5058
  );
4577
5059
  });
4578
5060
 
4579
5061
  // src/components/metric-card/MetricCard.tsx
4580
- var React54 = __toESM(require("react"));
4581
- var import_jsx_runtime54 = require("react/jsx-runtime");
5062
+ var React56 = __toESM(require("react"));
5063
+ var import_jsx_runtime56 = require("react/jsx-runtime");
4582
5064
  var trendClasses = {
4583
5065
  up: "text-success",
4584
5066
  down: "text-destructive",
@@ -4591,11 +5073,11 @@ var toneClasses = {
4591
5073
  destructive: "text-destructive"
4592
5074
  };
4593
5075
  var trendGlyph = { up: "\u2191", down: "\u2193", flat: "\u2192" };
4594
- var MetricCard = React54.forwardRef(function MetricCard2({ label, value, hint, title, description, delta, trend = "flat", tone = "default", loading = false, icon, className, ...props }, ref) {
5076
+ var MetricCard = React56.forwardRef(function MetricCard2({ label, value, hint, title, description, delta, trend = "flat", tone = "default", loading = false, icon, className, ...props }, ref) {
4595
5077
  const heading = label ?? title;
4596
5078
  const supporting = hint ?? description;
4597
5079
  if (loading) {
4598
- return /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)(
5080
+ return /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)(
4599
5081
  "div",
4600
5082
  {
4601
5083
  ref,
@@ -4603,41 +5085,41 @@ var MetricCard = React54.forwardRef(function MetricCard2({ label, value, hint, t
4603
5085
  className: cn("rounded-xl border border-border bg-card p-5", className),
4604
5086
  ...props,
4605
5087
  children: [
4606
- /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)("div", { className: "flex items-start justify-between gap-3", children: [
4607
- heading && /* @__PURE__ */ (0, import_jsx_runtime54.jsx)("p", { className: "text-sm text-muted-foreground", children: heading }),
4608
- icon && /* @__PURE__ */ (0, import_jsx_runtime54.jsx)("span", { className: "text-muted-foreground [&_svg]:size-4", children: icon })
5088
+ /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)("div", { className: "flex items-start justify-between gap-3", children: [
5089
+ heading && /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("p", { className: "text-sm text-muted-foreground", children: heading }),
5090
+ icon && /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("span", { className: "text-muted-foreground [&_svg]:size-4", children: icon })
4609
5091
  ] }),
4610
- /* @__PURE__ */ (0, import_jsx_runtime54.jsx)("span", { "aria-hidden": "true", className: "mt-3 block h-7 w-24 animate-pulse rounded-md bg-muted" }),
4611
- /* @__PURE__ */ (0, import_jsx_runtime54.jsx)("span", { className: "sr-only", children: "Loading" })
5092
+ /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("span", { "aria-hidden": "true", className: "mt-3 block h-7 w-24 animate-pulse rounded-md bg-muted" }),
5093
+ /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("span", { className: "sr-only", children: "Loading" })
4612
5094
  ]
4613
5095
  }
4614
5096
  );
4615
5097
  }
4616
- return /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)("div", { ref, className: cn("rounded-xl border border-border bg-card p-5", className), ...props, children: [
4617
- /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)("div", { className: "flex items-start justify-between gap-3", children: [
4618
- heading && /* @__PURE__ */ (0, import_jsx_runtime54.jsx)("p", { className: "text-sm text-muted-foreground", children: heading }),
4619
- icon && /* @__PURE__ */ (0, import_jsx_runtime54.jsx)("span", { className: "text-muted-foreground [&_svg]:size-4", children: icon })
5098
+ return /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)("div", { ref, className: cn("rounded-xl border border-border bg-card p-5", className), ...props, children: [
5099
+ /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)("div", { className: "flex items-start justify-between gap-3", children: [
5100
+ heading && /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("p", { className: "text-sm text-muted-foreground", children: heading }),
5101
+ icon && /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("span", { className: "text-muted-foreground [&_svg]:size-4", children: icon })
4620
5102
  ] }),
4621
- /* @__PURE__ */ (0, import_jsx_runtime54.jsx)("p", { className: cn("mt-2 text-2xl font-semibold tabular-nums", toneClasses[tone]), children: value }),
4622
- (delta || supporting) && /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)("p", { className: "mt-1 flex items-center gap-2 text-sm", children: [
4623
- delta && /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)("span", { className: cn("font-medium tabular-nums", trendClasses[trend]), children: [
4624
- /* @__PURE__ */ (0, import_jsx_runtime54.jsx)("span", { "aria-hidden": "true", children: trendGlyph[trend] }),
5103
+ /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("p", { className: cn("mt-2 text-2xl font-semibold tabular-nums", toneClasses[tone]), children: value }),
5104
+ (delta || supporting) && /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)("p", { className: "mt-1 flex items-center gap-2 text-sm", children: [
5105
+ delta && /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)("span", { className: cn("font-medium tabular-nums", trendClasses[trend]), children: [
5106
+ /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("span", { "aria-hidden": "true", children: trendGlyph[trend] }),
4625
5107
  " ",
4626
5108
  delta
4627
5109
  ] }),
4628
- supporting && /* @__PURE__ */ (0, import_jsx_runtime54.jsx)("span", { className: "text-muted-foreground", children: supporting })
5110
+ supporting && /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("span", { className: "text-muted-foreground", children: supporting })
4629
5111
  ] })
4630
5112
  ] });
4631
5113
  });
4632
5114
 
4633
5115
  // src/components/password-input/PasswordInput.tsx
4634
- var React55 = __toESM(require("react"));
4635
- var import_jsx_runtime55 = require("react/jsx-runtime");
4636
- var PasswordInput = React55.forwardRef(function PasswordInput2({ className, showLabel = "Show password", hideLabel = "Hide password", ...props }, ref) {
4637
- const [visible, setVisible] = React55.useState(false);
4638
- return /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)("div", { className: cn("relative flex items-center", className), children: [
4639
- /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(Input, { ref, type: visible ? "text" : "password", className: "pr-24", ...props }),
4640
- /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
5116
+ var React57 = __toESM(require("react"));
5117
+ var import_jsx_runtime57 = require("react/jsx-runtime");
5118
+ var PasswordInput = React57.forwardRef(function PasswordInput2({ className, showLabel = "Show password", hideLabel = "Hide password", ...props }, ref) {
5119
+ const [visible, setVisible] = React57.useState(false);
5120
+ return /* @__PURE__ */ (0, import_jsx_runtime57.jsxs)("div", { className: cn("relative flex items-center", className), children: [
5121
+ /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(Input, { ref, type: visible ? "text" : "password", className: "pr-24", ...props }),
5122
+ /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(
4641
5123
  Button,
4642
5124
  {
4643
5125
  type: "button",
@@ -4654,14 +5136,14 @@ var PasswordInput = React55.forwardRef(function PasswordInput2({ className, show
4654
5136
  });
4655
5137
 
4656
5138
  // src/components/auth-layout/AuthLayout.tsx
4657
- var React56 = __toESM(require("react"));
4658
- var import_jsx_runtime56 = require("react/jsx-runtime");
5139
+ var React58 = __toESM(require("react"));
5140
+ var import_jsx_runtime58 = require("react/jsx-runtime");
4659
5141
  var sizeClasses8 = {
4660
5142
  sm: "max-w-sm",
4661
5143
  md: "max-w-md",
4662
5144
  lg: "max-w-lg"
4663
5145
  };
4664
- var AuthLayout = React56.forwardRef(function AuthLayout2({
5146
+ var AuthLayout = React58.forwardRef(function AuthLayout2({
4665
5147
  title,
4666
5148
  description,
4667
5149
  subtitle,
@@ -4680,7 +5162,7 @@ var AuthLayout = React56.forwardRef(function AuthLayout2({
4680
5162
  const supporting = description ?? subtitle;
4681
5163
  const mark = brand ?? logo;
4682
5164
  const widthStyle = maxWidth === void 0 ? void 0 : { maxWidth: typeof maxWidth === "number" ? `${maxWidth}px` : maxWidth };
4683
- const form = /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)(
5165
+ const form = /* @__PURE__ */ (0, import_jsx_runtime58.jsxs)(
4684
5166
  "div",
4685
5167
  {
4686
5168
  className: cn(
@@ -4689,8 +5171,8 @@ var AuthLayout = React56.forwardRef(function AuthLayout2({
4689
5171
  ),
4690
5172
  style: widthStyle,
4691
5173
  children: [
4692
- mark && /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("div", { className: "mb-6", children: mark }),
4693
- /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)(
5174
+ mark && /* @__PURE__ */ (0, import_jsx_runtime58.jsx)("div", { className: "mb-6", children: mark }),
5175
+ /* @__PURE__ */ (0, import_jsx_runtime58.jsxs)(
4694
5176
  "div",
4695
5177
  {
4696
5178
  className: cn(
@@ -4699,31 +5181,31 @@ var AuthLayout = React56.forwardRef(function AuthLayout2({
4699
5181
  ),
4700
5182
  style: widthStyle,
4701
5183
  children: [
4702
- /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("h1", { className: "text-xl font-semibold tracking-tight", children: title }),
4703
- supporting && /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("p", { className: "mt-1 text-sm text-muted-foreground", children: supporting }),
4704
- /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("div", { className: "mt-6", children })
5184
+ /* @__PURE__ */ (0, import_jsx_runtime58.jsx)("h1", { className: "text-xl font-semibold tracking-tight", children: title }),
5185
+ supporting && /* @__PURE__ */ (0, import_jsx_runtime58.jsx)("p", { className: "mt-1 text-sm text-muted-foreground", children: supporting }),
5186
+ /* @__PURE__ */ (0, import_jsx_runtime58.jsx)("div", { className: "mt-6", children })
4705
5187
  ]
4706
5188
  }
4707
5189
  ),
4708
- footer && /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("div", { className: "mt-6 text-center text-sm text-muted-foreground", children: footer })
5190
+ footer && /* @__PURE__ */ (0, import_jsx_runtime58.jsx)("div", { className: "mt-6 text-center text-sm text-muted-foreground", children: footer })
4709
5191
  ]
4710
5192
  }
4711
5193
  );
4712
5194
  if (split) {
4713
- return /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
5195
+ return /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(
4714
5196
  "div",
4715
5197
  {
4716
5198
  ref,
4717
5199
  className: cn("min-h-screen bg-muted/30 px-4 py-12 lg:px-8", className),
4718
5200
  ...props,
4719
- children: /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)("div", { className: "mx-auto grid min-h-[calc(100vh-6rem)] w-full max-w-6xl items-center gap-10 lg:grid-cols-[minmax(0,1fr)_minmax(0,1.1fr)]", children: [
5201
+ children: /* @__PURE__ */ (0, import_jsx_runtime58.jsxs)("div", { className: "mx-auto grid min-h-[calc(100vh-6rem)] w-full max-w-6xl items-center gap-10 lg:grid-cols-[minmax(0,1fr)_minmax(0,1.1fr)]", children: [
4720
5202
  form,
4721
- /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("aside", { className: "w-full", children: aside })
5203
+ /* @__PURE__ */ (0, import_jsx_runtime58.jsx)("aside", { className: "w-full", children: aside })
4722
5204
  ] })
4723
5205
  }
4724
5206
  );
4725
5207
  }
4726
- return /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
5208
+ return /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(
4727
5209
  "div",
4728
5210
  {
4729
5211
  ref,
@@ -4738,9 +5220,9 @@ var AuthLayout = React56.forwardRef(function AuthLayout2({
4738
5220
  });
4739
5221
 
4740
5222
  // src/components/filter-bar/FilterBar.tsx
4741
- var React57 = __toESM(require("react"));
4742
- var import_jsx_runtime57 = require("react/jsx-runtime");
4743
- var FilterBar = React57.forwardRef(function FilterBar2({
5223
+ var React59 = __toESM(require("react"));
5224
+ var import_jsx_runtime59 = require("react/jsx-runtime");
5225
+ var FilterBar = React59.forwardRef(function FilterBar2({
4744
5226
  searchValue,
4745
5227
  onSearchChange,
4746
5228
  searchPlaceholder = "Search\u2026",
@@ -4755,7 +5237,7 @@ var FilterBar = React57.forwardRef(function FilterBar2({
4755
5237
  children,
4756
5238
  ...props
4757
5239
  }, ref) {
4758
- return /* @__PURE__ */ (0, import_jsx_runtime57.jsxs)(
5240
+ return /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)(
4759
5241
  "div",
4760
5242
  {
4761
5243
  ref,
@@ -4766,7 +5248,7 @@ var FilterBar = React57.forwardRef(function FilterBar2({
4766
5248
  ),
4767
5249
  ...props,
4768
5250
  children: [
4769
- onSearchChange !== void 0 && /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(
5251
+ onSearchChange !== void 0 && /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
4770
5252
  Input,
4771
5253
  {
4772
5254
  type: "search",
@@ -4777,38 +5259,38 @@ var FilterBar = React57.forwardRef(function FilterBar2({
4777
5259
  className: "h-9 w-full min-w-40 flex-1 sm:w-auto"
4778
5260
  }
4779
5261
  ),
4780
- /* @__PURE__ */ (0, import_jsx_runtime57.jsx)("div", { className: "flex flex-wrap items-center gap-2", children }),
4781
- onOpenFilters && /* @__PURE__ */ (0, import_jsx_runtime57.jsxs)(Button, { type: "button", variant: "outline", size: "sm", onClick: onOpenFilters, children: [
5262
+ /* @__PURE__ */ (0, import_jsx_runtime59.jsx)("div", { className: "flex flex-wrap items-center gap-2", children }),
5263
+ onOpenFilters && /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)(Button, { type: "button", variant: "outline", size: "sm", onClick: onOpenFilters, children: [
4782
5264
  filtersLabel,
4783
5265
  activeCount > 0 ? ` (${activeCount})` : ""
4784
5266
  ] }),
4785
- onReset && /* @__PURE__ */ (0, import_jsx_runtime57.jsxs)(Button, { type: "button", variant: "ghost", size: "sm", onClick: onReset, children: [
5267
+ onReset && /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)(Button, { type: "button", variant: "ghost", size: "sm", onClick: onReset, children: [
4786
5268
  "Reset",
4787
5269
  activeCount > 0 ? ` (${activeCount})` : ""
4788
5270
  ] }),
4789
- resultsCount !== void 0 && /* @__PURE__ */ (0, import_jsx_runtime57.jsxs)("span", { className: "ml-auto text-sm text-muted-foreground", children: [
5271
+ resultsCount !== void 0 && /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)("span", { className: "ml-auto text-sm text-muted-foreground", children: [
4790
5272
  resultsCount,
4791
5273
  " ",
4792
5274
  resultsLabel
4793
5275
  ] }),
4794
- trailing && /* @__PURE__ */ (0, import_jsx_runtime57.jsx)("div", { className: cn("flex items-center gap-2", resultsCount === void 0 && "ml-auto"), children: trailing })
5276
+ trailing && /* @__PURE__ */ (0, import_jsx_runtime59.jsx)("div", { className: cn("flex items-center gap-2", resultsCount === void 0 && "ml-auto"), children: trailing })
4795
5277
  ]
4796
5278
  }
4797
5279
  );
4798
5280
  });
4799
5281
 
4800
5282
  // src/components/date-picker/DatePicker.tsx
4801
- var React58 = __toESM(require("react"));
4802
- var import_jsx_runtime58 = require("react/jsx-runtime");
4803
- var DatePicker = React58.forwardRef(function DatePicker2({ value, defaultValue, onValueChange, onChange, clearable = false, clearLabel = "Clear date", className, ...props }, ref) {
4804
- const [internal, setInternal] = React58.useState(defaultValue ?? "");
5283
+ var React60 = __toESM(require("react"));
5284
+ var import_jsx_runtime60 = require("react/jsx-runtime");
5285
+ var DatePicker = React60.forwardRef(function DatePicker2({ value, defaultValue, onValueChange, onChange, clearable = false, clearLabel = "Clear date", className, ...props }, ref) {
5286
+ const [internal, setInternal] = React60.useState(defaultValue ?? "");
4805
5287
  const current = value ?? internal;
4806
5288
  const commit = (next) => {
4807
5289
  if (value === void 0) setInternal(next);
4808
5290
  onValueChange?.(next);
4809
5291
  };
4810
- return /* @__PURE__ */ (0, import_jsx_runtime58.jsxs)("div", { className: cn("relative flex items-center", className), children: [
4811
- /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(
5292
+ return /* @__PURE__ */ (0, import_jsx_runtime60.jsxs)("div", { className: cn("relative flex items-center", className), children: [
5293
+ /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(
4812
5294
  Input,
4813
5295
  {
4814
5296
  ref,
@@ -4822,7 +5304,7 @@ var DatePicker = React58.forwardRef(function DatePicker2({ value, defaultValue,
4822
5304
  ...props
4823
5305
  }
4824
5306
  ),
4825
- clearable && current && /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(
5307
+ clearable && current && /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(
4826
5308
  "button",
4827
5309
  {
4828
5310
  type: "button",
@@ -4835,18 +5317,401 @@ var DatePicker = React58.forwardRef(function DatePicker2({ value, defaultValue,
4835
5317
  ] });
4836
5318
  });
4837
5319
 
5320
+ // src/components/date-picker-popover/DatePickerPopover.tsx
5321
+ var React62 = __toESM(require("react"));
5322
+
5323
+ // src/components/popover/Popover.tsx
5324
+ var React61 = __toESM(require("react"));
5325
+ var import_react_dom7 = require("react-dom");
5326
+
5327
+ // src/utils/position.ts
5328
+ var OPPOSITE = {
5329
+ top: "bottom",
5330
+ bottom: "top",
5331
+ left: "right",
5332
+ right: "left"
5333
+ };
5334
+ var isHorizontal = (side) => side === "left" || side === "right";
5335
+ function clamp(value, min, max) {
5336
+ if (max < min) return min;
5337
+ return Math.min(Math.max(value, min), max);
5338
+ }
5339
+ function spaceFor(side, anchor, viewport, padding) {
5340
+ switch (side) {
5341
+ case "top":
5342
+ return anchor.top - padding;
5343
+ case "bottom":
5344
+ return viewport.height - (anchor.top + anchor.height) - padding;
5345
+ case "left":
5346
+ return anchor.left - padding;
5347
+ case "right":
5348
+ return viewport.width - (anchor.left + anchor.width) - padding;
5349
+ }
5350
+ }
5351
+ function computePosition({
5352
+ anchor,
5353
+ content,
5354
+ viewport,
5355
+ side = "bottom",
5356
+ align = "start",
5357
+ sideOffset = 8,
5358
+ alignOffset = 0,
5359
+ collisionPadding = 8
5360
+ }) {
5361
+ const crossExtent = isHorizontal(side) ? content.height : content.width;
5362
+ const mainExtent = isHorizontal(side) ? content.width : content.height;
5363
+ const vertical = !isHorizontal(side);
5364
+ const preferredSpace = spaceFor(side, anchor, viewport, collisionPadding);
5365
+ const oppositeSpace = spaceFor(OPPOSITE[side], anchor, viewport, collisionPadding);
5366
+ const resolvedSide = preferredSpace < mainExtent && oppositeSpace > preferredSpace ? OPPOSITE[side] : side;
5367
+ const anchorCrossStart = vertical ? anchor.left : anchor.top;
5368
+ const anchorCrossSize = vertical ? anchor.width : anchor.height;
5369
+ let cross = align === "start" ? anchorCrossStart : align === "end" ? anchorCrossStart + anchorCrossSize - crossExtent : anchorCrossStart + (anchorCrossSize - crossExtent) / 2;
5370
+ cross += alignOffset;
5371
+ let main;
5372
+ switch (resolvedSide) {
5373
+ case "bottom":
5374
+ main = anchor.top + anchor.height + sideOffset;
5375
+ break;
5376
+ case "top":
5377
+ main = anchor.top - content.height - sideOffset;
5378
+ break;
5379
+ case "right":
5380
+ main = anchor.left + anchor.width + sideOffset;
5381
+ break;
5382
+ default:
5383
+ main = anchor.left - content.width - sideOffset;
5384
+ }
5385
+ const crossLimit = (vertical ? viewport.width : viewport.height) - crossExtent - collisionPadding;
5386
+ const boundedCross = clamp(cross, collisionPadding, crossLimit);
5387
+ const mainLimit = (vertical ? viewport.height : viewport.width) - mainExtent - collisionPadding;
5388
+ const boundedMain = clamp(main, collisionPadding, mainLimit);
5389
+ return vertical ? { top: boundedMain, left: boundedCross, side: resolvedSide } : { top: boundedCross, left: boundedMain, side: resolvedSide };
5390
+ }
5391
+
5392
+ // src/components/popover/Popover.tsx
5393
+ var import_jsx_runtime61 = require("react/jsx-runtime");
5394
+ var PopoverContext = React61.createContext({
5395
+ open: false,
5396
+ setOpen: () => {
5397
+ },
5398
+ triggerId: "",
5399
+ contentId: "",
5400
+ wrapperRef: { current: null },
5401
+ anchorRef: { current: null },
5402
+ triggerRef: { current: null }
5403
+ });
5404
+ var Popover = React61.forwardRef(
5405
+ ({ open, onOpenChange, className, children }, ref) => {
5406
+ const [internalOpen, setInternalOpen] = React61.useState(false);
5407
+ const current = open ?? internalOpen;
5408
+ const triggerId = React61.useId();
5409
+ const contentId = React61.useId();
5410
+ const wrapperRef = React61.useRef(null);
5411
+ const anchorRef = React61.useRef(null);
5412
+ const triggerRef = React61.useRef(null);
5413
+ const setRefs = React61.useCallback(
5414
+ (node) => {
5415
+ wrapperRef.current = node;
5416
+ if (typeof ref === "function") ref(node);
5417
+ else if (ref) ref.current = node;
5418
+ },
5419
+ [ref]
5420
+ );
5421
+ const setOpen = React61.useCallback(
5422
+ (next) => {
5423
+ if (open === void 0) setInternalOpen(next);
5424
+ onOpenChange?.(next);
5425
+ },
5426
+ [open, onOpenChange]
5427
+ );
5428
+ return /* @__PURE__ */ (0, import_jsx_runtime61.jsx)("div", { ref: setRefs, className: cn("relative inline-block", className), children: /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(
5429
+ PopoverContext.Provider,
5430
+ {
5431
+ value: { open: current, setOpen, triggerId, contentId, wrapperRef, anchorRef, triggerRef },
5432
+ children
5433
+ }
5434
+ ) });
5435
+ }
5436
+ );
5437
+ Popover.displayName = "Popover";
5438
+ var PopoverTrigger = React61.forwardRef(
5439
+ ({ className, children, onClick, id, ...props }, ref) => {
5440
+ const { open, setOpen, triggerId, contentId, triggerRef } = React61.useContext(PopoverContext);
5441
+ const setRefs = React61.useCallback(
5442
+ (node) => {
5443
+ triggerRef.current = node;
5444
+ if (typeof ref === "function") ref(node);
5445
+ else if (ref) ref.current = node;
5446
+ },
5447
+ [ref, triggerRef]
5448
+ );
5449
+ return /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(
5450
+ "button",
5451
+ {
5452
+ ref: setRefs,
5453
+ id: id ?? triggerId,
5454
+ type: "button",
5455
+ "aria-haspopup": "dialog",
5456
+ "aria-expanded": open,
5457
+ "aria-controls": open ? contentId : void 0,
5458
+ onClick: (event) => {
5459
+ onClick?.(event);
5460
+ setOpen(!open);
5461
+ },
5462
+ className: cn(
5463
+ "inline-flex items-center justify-center rounded-md border border-border bg-background px-3 py-1.5 text-sm font-medium transition-colors",
5464
+ "hover:bg-muted focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
5465
+ className
5466
+ ),
5467
+ ...props,
5468
+ children
5469
+ }
5470
+ );
5471
+ }
5472
+ );
5473
+ PopoverTrigger.displayName = "PopoverTrigger";
5474
+ var PopoverAnchor = React61.forwardRef(
5475
+ ({ className, children, ...props }, ref) => {
5476
+ const { anchorRef } = React61.useContext(PopoverContext);
5477
+ const setRefs = React61.useCallback(
5478
+ (node) => {
5479
+ anchorRef.current = node;
5480
+ if (typeof ref === "function") ref(node);
5481
+ else if (ref) ref.current = node;
5482
+ },
5483
+ [anchorRef, ref]
5484
+ );
5485
+ return /* @__PURE__ */ (0, import_jsx_runtime61.jsx)("span", { ref: setRefs, className: cn("inline-block", className), ...props, children });
5486
+ }
5487
+ );
5488
+ PopoverAnchor.displayName = "PopoverAnchor";
5489
+ function rectOf(element) {
5490
+ const rect = element.getBoundingClientRect();
5491
+ return {
5492
+ top: rect.top,
5493
+ left: rect.left,
5494
+ width: rect.width || element.offsetWidth || 0,
5495
+ height: rect.height || element.offsetHeight || 0
5496
+ };
5497
+ }
5498
+ var PopoverContent = React61.forwardRef(
5499
+ ({
5500
+ className,
5501
+ children,
5502
+ onKeyDown,
5503
+ style,
5504
+ side = "bottom",
5505
+ align = "start",
5506
+ sideOffset = 8,
5507
+ alignOffset = 0,
5508
+ collisionPadding = 8,
5509
+ matchTriggerWidth = false,
5510
+ ...props
5511
+ }, ref) => {
5512
+ const { open, setOpen, contentId, wrapperRef, anchorRef, triggerRef } = React61.useContext(PopoverContext);
5513
+ const labelledBy = triggerRef.current?.id || void 0;
5514
+ const contentRef = React61.useRef(null);
5515
+ const [pos, setPos] = React61.useState(null);
5516
+ const [width, setWidth] = React61.useState(void 0);
5517
+ const updatePosition = React61.useCallback(() => {
5518
+ const anchorEl = anchorRef.current ?? wrapperRef.current;
5519
+ const panel = contentRef.current;
5520
+ if (!anchorEl || !panel) return;
5521
+ const anchor = rectOf(anchorEl);
5522
+ const measured = rectOf(panel);
5523
+ setWidth(matchTriggerWidth ? anchor.width : void 0);
5524
+ setPos(
5525
+ computePosition({
5526
+ anchor,
5527
+ content: { width: measured.width, height: measured.height },
5528
+ viewport: { width: window.innerWidth, height: window.innerHeight },
5529
+ side,
5530
+ align,
5531
+ sideOffset,
5532
+ alignOffset,
5533
+ collisionPadding
5534
+ })
5535
+ );
5536
+ }, [
5537
+ align,
5538
+ alignOffset,
5539
+ anchorRef,
5540
+ collisionPadding,
5541
+ matchTriggerWidth,
5542
+ side,
5543
+ sideOffset,
5544
+ wrapperRef
5545
+ ]);
5546
+ React61.useLayoutEffect(() => {
5547
+ if (!open) {
5548
+ setPos(null);
5549
+ return;
5550
+ }
5551
+ updatePosition();
5552
+ }, [open, updatePosition]);
5553
+ React61.useEffect(() => {
5554
+ if (open && !pos) updatePosition();
5555
+ }, [open, pos, updatePosition]);
5556
+ React61.useEffect(() => {
5557
+ if (!open) return;
5558
+ const onScroll = () => updatePosition();
5559
+ window.addEventListener("scroll", onScroll, true);
5560
+ window.addEventListener("resize", onScroll);
5561
+ const panel = contentRef.current;
5562
+ const observer = typeof ResizeObserver === "undefined" || !panel ? null : new ResizeObserver(onScroll);
5563
+ if (panel && observer) observer.observe(panel);
5564
+ return () => {
5565
+ window.removeEventListener("scroll", onScroll, true);
5566
+ window.removeEventListener("resize", onScroll);
5567
+ observer?.disconnect();
5568
+ };
5569
+ }, [open, updatePosition]);
5570
+ React61.useEffect(() => {
5571
+ if (!open) return;
5572
+ function onPointerDown(event) {
5573
+ if (!contentRef.current?.contains(event.target)) setOpen(false);
5574
+ }
5575
+ document.addEventListener("pointerdown", onPointerDown);
5576
+ return () => document.removeEventListener("pointerdown", onPointerDown);
5577
+ }, [open, setOpen]);
5578
+ React61.useEffect(() => {
5579
+ if (open && pos && contentRef.current) {
5580
+ contentRef.current.focus();
5581
+ }
5582
+ }, [open, pos]);
5583
+ if (!open || typeof document === "undefined") return null;
5584
+ return (0, import_react_dom7.createPortal)(
5585
+ /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(
5586
+ "div",
5587
+ {
5588
+ ref: (node) => {
5589
+ contentRef.current = node;
5590
+ if (typeof ref === "function") ref(node);
5591
+ else if (ref) ref.current = node;
5592
+ },
5593
+ id: contentId,
5594
+ role: "dialog",
5595
+ "aria-labelledby": labelledBy,
5596
+ tabIndex: -1,
5597
+ "data-side": pos?.side ?? side,
5598
+ onKeyDown: (event) => {
5599
+ onKeyDown?.(event);
5600
+ if (event.key === "Escape") {
5601
+ event.stopPropagation();
5602
+ setOpen(false);
5603
+ (triggerRef.current ?? anchorRef.current)?.focus();
5604
+ }
5605
+ },
5606
+ style: {
5607
+ position: "fixed",
5608
+ top: pos?.top ?? 0,
5609
+ left: pos?.left ?? 0,
5610
+ width,
5611
+ visibility: pos ? "visible" : "hidden",
5612
+ zIndex: 50,
5613
+ ...style
5614
+ },
5615
+ className: cn(
5616
+ "w-72 rounded-md border border-border bg-popover p-4 text-popover-foreground shadow-md outline-none",
5617
+ className
5618
+ ),
5619
+ ...props,
5620
+ children
5621
+ }
5622
+ ),
5623
+ document.body
5624
+ );
5625
+ }
5626
+ );
5627
+ PopoverContent.displayName = "PopoverContent";
5628
+
5629
+ // src/components/date-picker-popover/DatePickerPopover.tsx
5630
+ var import_jsx_runtime62 = require("react/jsx-runtime");
5631
+ var DatePickerPopover = React62.forwardRef(
5632
+ ({
5633
+ value,
5634
+ onValueChange,
5635
+ min,
5636
+ max,
5637
+ today,
5638
+ locale = "en-US",
5639
+ weekStartsOn = 0,
5640
+ placeholder = "Pick a date",
5641
+ name,
5642
+ required,
5643
+ disabled,
5644
+ side = "bottom",
5645
+ align = "start",
5646
+ id,
5647
+ className,
5648
+ "aria-label": ariaLabel
5649
+ }, ref) => {
5650
+ const [open, setOpen] = React62.useState(false);
5651
+ const triggerRef = React62.useRef(null);
5652
+ const setTriggerRef = React62.useCallback(
5653
+ (node) => {
5654
+ triggerRef.current = node;
5655
+ if (typeof ref === "function") ref(node);
5656
+ else if (ref) ref.current = node;
5657
+ },
5658
+ [ref]
5659
+ );
5660
+ const label = value ? formatDateLabel(value, locale) : placeholder;
5661
+ return /* @__PURE__ */ (0, import_jsx_runtime62.jsxs)(import_jsx_runtime62.Fragment, { children: [
5662
+ /* @__PURE__ */ (0, import_jsx_runtime62.jsxs)(Popover, { open, onOpenChange: setOpen, children: [
5663
+ /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
5664
+ PopoverTrigger,
5665
+ {
5666
+ ref: setTriggerRef,
5667
+ id,
5668
+ disabled,
5669
+ "aria-label": ariaLabel,
5670
+ className: cn(
5671
+ buttonVariants({ variant: "outline" }),
5672
+ "w-full justify-start font-normal",
5673
+ !value && "text-muted-foreground",
5674
+ className
5675
+ ),
5676
+ children: label
5677
+ }
5678
+ ),
5679
+ /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(PopoverContent, { side, align, matchTriggerWidth: true, className: "w-auto p-3", children: /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
5680
+ Calendar,
5681
+ {
5682
+ value,
5683
+ min,
5684
+ max,
5685
+ today,
5686
+ locale,
5687
+ weekStartsOn,
5688
+ autoFocus: true,
5689
+ onValueChange: (next) => {
5690
+ onValueChange?.(next);
5691
+ setOpen(false);
5692
+ triggerRef.current?.focus();
5693
+ }
5694
+ }
5695
+ ) })
5696
+ ] }),
5697
+ name ? /* @__PURE__ */ (0, import_jsx_runtime62.jsx)("input", { type: "hidden", name, value: value ?? "", required }) : null
5698
+ ] });
5699
+ }
5700
+ );
5701
+ DatePickerPopover.displayName = "DatePickerPopover";
5702
+
4838
5703
  // src/components/time-picker/TimePicker.tsx
4839
- var React59 = __toESM(require("react"));
4840
- var import_jsx_runtime59 = require("react/jsx-runtime");
4841
- var TimePicker = React59.forwardRef(function TimePicker2({ value, defaultValue, onValueChange, onChange, clearable = false, clearLabel = "Clear time", className, ...props }, ref) {
4842
- const [internal, setInternal] = React59.useState(defaultValue ?? "");
5704
+ var React63 = __toESM(require("react"));
5705
+ var import_jsx_runtime63 = require("react/jsx-runtime");
5706
+ var TimePicker = React63.forwardRef(function TimePicker2({ value, defaultValue, onValueChange, onChange, clearable = false, clearLabel = "Clear time", className, ...props }, ref) {
5707
+ const [internal, setInternal] = React63.useState(defaultValue ?? "");
4843
5708
  const current = value ?? internal;
4844
5709
  const commit = (next) => {
4845
5710
  if (value === void 0) setInternal(next);
4846
5711
  onValueChange?.(next);
4847
5712
  };
4848
- return /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)("div", { className: cn("relative flex items-center", className), children: [
4849
- /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
5713
+ return /* @__PURE__ */ (0, import_jsx_runtime63.jsxs)("div", { className: cn("relative flex items-center", className), children: [
5714
+ /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(
4850
5715
  Input,
4851
5716
  {
4852
5717
  ref,
@@ -4860,7 +5725,7 @@ var TimePicker = React59.forwardRef(function TimePicker2({ value, defaultValue,
4860
5725
  ...props
4861
5726
  }
4862
5727
  ),
4863
- clearable && current && /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
5728
+ clearable && current && /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(
4864
5729
  "button",
4865
5730
  {
4866
5731
  type: "button",
@@ -4874,9 +5739,9 @@ var TimePicker = React59.forwardRef(function TimePicker2({ value, defaultValue,
4874
5739
  });
4875
5740
 
4876
5741
  // src/components/stepper/Stepper.tsx
4877
- var React60 = __toESM(require("react"));
4878
- var import_jsx_runtime60 = require("react/jsx-runtime");
4879
- var Stepper = React60.forwardRef(function Stepper2({
5742
+ var React64 = __toESM(require("react"));
5743
+ var import_jsx_runtime64 = require("react/jsx-runtime");
5744
+ var Stepper = React64.forwardRef(function Stepper2({
4880
5745
  steps,
4881
5746
  current,
4882
5747
  orientation = "horizontal",
@@ -4885,6 +5750,7 @@ var Stepper = React60.forwardRef(function Stepper2({
4885
5750
  labelPlacement = "inline",
4886
5751
  alignTitles = "center",
4887
5752
  onStepClick,
5753
+ labels,
4888
5754
  className,
4889
5755
  ...props
4890
5756
  }, ref) {
@@ -4898,7 +5764,7 @@ var Stepper = React60.forwardRef(function Stepper2({
4898
5764
  const verticalTitlePad = size === "sm" ? "pt-0.5" : "pt-1";
4899
5765
  const connectorTop = variant === "dots" ? size === "sm" ? "mt-1" : "mt-[5px]" : size === "sm" ? "mt-3" : "mt-3.5";
4900
5766
  const focusClass = "rounded-md focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background";
4901
- return /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(
5767
+ return /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(
4902
5768
  "ol",
4903
5769
  {
4904
5770
  ref,
@@ -4912,7 +5778,7 @@ var Stepper = React60.forwardRef(function Stepper2({
4912
5778
  const isLast = index === steps.length - 1;
4913
5779
  const titleCentered = alignTitles === "center" && !step.description;
4914
5780
  const below = !vertical && labelPlacement === "below";
4915
- const marker = /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(
5781
+ const marker = /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(
4916
5782
  "span",
4917
5783
  {
4918
5784
  "aria-hidden": "true",
@@ -4934,8 +5800,8 @@ var Stepper = React60.forwardRef(function Stepper2({
4934
5800
  children: variant === "numbered" ? state === "complete" ? "\u2713" : index + 1 : null
4935
5801
  }
4936
5802
  );
4937
- const label = /* @__PURE__ */ (0, import_jsx_runtime60.jsxs)("span", { className: "min-w-0", children: [
4938
- /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(
5803
+ const label = /* @__PURE__ */ (0, import_jsx_runtime64.jsxs)("span", { className: "min-w-0", children: [
5804
+ /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(
4939
5805
  "span",
4940
5806
  {
4941
5807
  className: cn(
@@ -4947,7 +5813,7 @@ var Stepper = React60.forwardRef(function Stepper2({
4947
5813
  children: step.label
4948
5814
  }
4949
5815
  ),
4950
- step.description && /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(
5816
+ step.description && /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(
4951
5817
  "span",
4952
5818
  {
4953
5819
  className: cn(
@@ -4958,9 +5824,9 @@ var Stepper = React60.forwardRef(function Stepper2({
4958
5824
  children: step.description
4959
5825
  }
4960
5826
  ),
4961
- /* @__PURE__ */ (0, import_jsx_runtime60.jsx)("span", { className: "sr-only", children: state === "complete" ? " (completed)" : state === "current" ? " (current step)" : " (upcoming)" })
5827
+ /* @__PURE__ */ (0, import_jsx_runtime64.jsx)("span", { className: "sr-only", children: state === "complete" ? labels?.completed ?? " (completed)" : state === "current" ? labels?.current ?? " (current step)" : labels?.upcoming ?? " (upcoming)" })
4962
5828
  ] });
4963
- const renderRow = (children, rowClassName) => interactive ? /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(
5829
+ const renderRow = (children, rowClassName) => interactive ? /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(
4964
5830
  "button",
4965
5831
  {
4966
5832
  type: "button",
@@ -4969,29 +5835,29 @@ var Stepper = React60.forwardRef(function Stepper2({
4969
5835
  className: cn(rowClassName, focusClass),
4970
5836
  children
4971
5837
  }
4972
- ) : /* @__PURE__ */ (0, import_jsx_runtime60.jsx)("div", { "aria-current": state === "current" ? "step" : void 0, className: rowClassName, children });
5838
+ ) : /* @__PURE__ */ (0, import_jsx_runtime64.jsx)("div", { "aria-current": state === "current" ? "step" : void 0, className: rowClassName, children });
4973
5839
  if (vertical) {
4974
- return /* @__PURE__ */ (0, import_jsx_runtime60.jsx)("li", { className: "flex", children: renderRow(
4975
- /* @__PURE__ */ (0, import_jsx_runtime60.jsxs)(import_jsx_runtime60.Fragment, { children: [
4976
- /* @__PURE__ */ (0, import_jsx_runtime60.jsxs)("div", { className: "flex flex-col items-center", children: [
5840
+ return /* @__PURE__ */ (0, import_jsx_runtime64.jsx)("li", { className: "flex", children: renderRow(
5841
+ /* @__PURE__ */ (0, import_jsx_runtime64.jsxs)(import_jsx_runtime64.Fragment, { children: [
5842
+ /* @__PURE__ */ (0, import_jsx_runtime64.jsxs)("div", { className: "flex flex-col items-center", children: [
4977
5843
  marker,
4978
- !isLast && /* @__PURE__ */ (0, import_jsx_runtime60.jsx)("span", { "aria-hidden": "true", className: "my-1 w-px flex-1 rounded-full bg-border" })
5844
+ !isLast && /* @__PURE__ */ (0, import_jsx_runtime64.jsx)("span", { "aria-hidden": "true", className: "my-1 w-px flex-1 rounded-full bg-border" })
4979
5845
  ] }),
4980
- /* @__PURE__ */ (0, import_jsx_runtime60.jsx)("div", { className: cn("min-w-0 pb-6", titleCentered && verticalTitlePad), children: label })
5846
+ /* @__PURE__ */ (0, import_jsx_runtime64.jsx)("div", { className: cn("min-w-0 pb-6", titleCentered && verticalTitlePad), children: label })
4981
5847
  ] }),
4982
5848
  "flex w-full items-stretch gap-3 text-left"
4983
5849
  ) }, step.label);
4984
5850
  }
4985
5851
  if (below) {
4986
- return /* @__PURE__ */ (0, import_jsx_runtime60.jsxs)("li", { className: "flex min-w-0 flex-1 items-start gap-2", children: [
5852
+ return /* @__PURE__ */ (0, import_jsx_runtime64.jsxs)("li", { className: "flex min-w-0 flex-1 items-start gap-2", children: [
4987
5853
  renderRow(
4988
- /* @__PURE__ */ (0, import_jsx_runtime60.jsxs)(import_jsx_runtime60.Fragment, { children: [
5854
+ /* @__PURE__ */ (0, import_jsx_runtime64.jsxs)(import_jsx_runtime64.Fragment, { children: [
4989
5855
  marker,
4990
5856
  label
4991
5857
  ] }),
4992
5858
  "flex min-w-0 flex-1 flex-col items-center gap-2 text-center"
4993
5859
  ),
4994
- !isLast && /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(
5860
+ !isLast && /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(
4995
5861
  "span",
4996
5862
  {
4997
5863
  "aria-hidden": "true",
@@ -5000,15 +5866,15 @@ var Stepper = React60.forwardRef(function Stepper2({
5000
5866
  )
5001
5867
  ] }, step.label);
5002
5868
  }
5003
- return /* @__PURE__ */ (0, import_jsx_runtime60.jsxs)("li", { className: "flex min-w-0 items-start gap-2", children: [
5869
+ return /* @__PURE__ */ (0, import_jsx_runtime64.jsxs)("li", { className: "flex min-w-0 items-start gap-2", children: [
5004
5870
  renderRow(
5005
- /* @__PURE__ */ (0, import_jsx_runtime60.jsxs)(import_jsx_runtime60.Fragment, { children: [
5871
+ /* @__PURE__ */ (0, import_jsx_runtime64.jsxs)(import_jsx_runtime64.Fragment, { children: [
5006
5872
  marker,
5007
5873
  label
5008
5874
  ] }),
5009
5875
  cn("flex min-w-0 text-left", gapClass, titleCentered ? "items-center" : "items-start")
5010
5876
  ),
5011
- !isLast && /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(
5877
+ !isLast && /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(
5012
5878
  "span",
5013
5879
  {
5014
5880
  "aria-hidden": "true",
@@ -5022,14 +5888,14 @@ var Stepper = React60.forwardRef(function Stepper2({
5022
5888
  });
5023
5889
 
5024
5890
  // src/components/file-upload/FileUpload.tsx
5025
- var React61 = __toESM(require("react"));
5026
- var import_jsx_runtime61 = require("react/jsx-runtime");
5891
+ var React65 = __toESM(require("react"));
5892
+ var import_jsx_runtime65 = require("react/jsx-runtime");
5027
5893
  function formatSize(bytes) {
5028
5894
  if (bytes < 1024) return `${bytes} B`;
5029
5895
  if (bytes < 1024 * 1024) return `${(bytes / 1024).toFixed(1)} KB`;
5030
5896
  return `${(bytes / (1024 * 1024)).toFixed(1)} MB`;
5031
5897
  }
5032
- var FileUpload = React61.forwardRef(function FileUpload2({
5898
+ var FileUpload = React65.forwardRef(function FileUpload2({
5033
5899
  files,
5034
5900
  defaultFiles,
5035
5901
  onFilesChange,
@@ -5046,10 +5912,10 @@ var FileUpload = React61.forwardRef(function FileUpload2({
5046
5912
  id,
5047
5913
  ...props
5048
5914
  }, ref) {
5049
- const [internal, setInternal] = React61.useState(defaultFiles ?? []);
5050
- const [dragging, setDragging] = React61.useState(false);
5915
+ const [internal, setInternal] = React65.useState(defaultFiles ?? []);
5916
+ const [dragging, setDragging] = React65.useState(false);
5051
5917
  const current = files ?? internal;
5052
- const generatedId = React61.useId();
5918
+ const generatedId = React65.useId();
5053
5919
  const inputId = id ?? generatedId;
5054
5920
  const commit = (next) => {
5055
5921
  if (files === void 0) setInternal(next);
@@ -5060,8 +5926,8 @@ var FileUpload = React61.forwardRef(function FileUpload2({
5060
5926
  const list = Array.from(incoming);
5061
5927
  commit(multiple ? [...current, ...list] : list.slice(0, 1));
5062
5928
  };
5063
- return /* @__PURE__ */ (0, import_jsx_runtime61.jsxs)("div", { className: cn("flex flex-col gap-3", className), children: [
5064
- /* @__PURE__ */ (0, import_jsx_runtime61.jsxs)(
5929
+ return /* @__PURE__ */ (0, import_jsx_runtime65.jsxs)("div", { className: cn("flex flex-col gap-3", className), children: [
5930
+ /* @__PURE__ */ (0, import_jsx_runtime65.jsxs)(
5065
5931
  "div",
5066
5932
  {
5067
5933
  onDragOver: (event) => {
@@ -5082,9 +5948,9 @@ var FileUpload = React61.forwardRef(function FileUpload2({
5082
5948
  disabled && "opacity-50"
5083
5949
  ),
5084
5950
  children: [
5085
- /* @__PURE__ */ (0, import_jsx_runtime61.jsxs)("label", { htmlFor: inputId, className: cn("block text-sm", disabled ? "cursor-not-allowed" : "cursor-pointer"), children: [
5951
+ /* @__PURE__ */ (0, import_jsx_runtime65.jsxs)("label", { htmlFor: inputId, className: cn("block text-sm", disabled ? "cursor-not-allowed" : "cursor-pointer"), children: [
5086
5952
  label,
5087
- /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(
5953
+ /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
5088
5954
  "input",
5089
5955
  {
5090
5956
  ref,
@@ -5102,15 +5968,15 @@ var FileUpload = React61.forwardRef(function FileUpload2({
5102
5968
  }
5103
5969
  )
5104
5970
  ] }),
5105
- /* @__PURE__ */ (0, import_jsx_runtime61.jsx)("p", { className: "mt-1 text-xs text-muted-foreground", children: hint ?? (accept ? `Accepted: ${accept}` : "Any file type") })
5971
+ /* @__PURE__ */ (0, import_jsx_runtime65.jsx)("p", { className: "mt-1 text-xs text-muted-foreground", children: hint ?? (accept ? `Accepted: ${accept}` : "Any file type") })
5106
5972
  ]
5107
5973
  }
5108
5974
  ),
5109
- current.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime61.jsx)("ul", { "aria-label": selectedFilesLabel, className: "space-y-2", children: current.map((file) => /* @__PURE__ */ (0, import_jsx_runtime61.jsxs)("li", { className: "flex items-center justify-between gap-3 rounded-md border border-border px-3 py-2", children: [
5110
- /* @__PURE__ */ (0, import_jsx_runtime61.jsxs)("div", { className: "min-w-0", children: [
5111
- /* @__PURE__ */ (0, import_jsx_runtime61.jsx)("p", { className: "truncate text-sm", children: file.name }),
5112
- /* @__PURE__ */ (0, import_jsx_runtime61.jsx)("p", { className: "text-xs text-muted-foreground", children: formatSize(file.size) }),
5113
- progress?.[file.name] !== void 0 && /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(
5975
+ current.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime65.jsx)("ul", { "aria-label": selectedFilesLabel, className: "space-y-2", children: current.map((file) => /* @__PURE__ */ (0, import_jsx_runtime65.jsxs)("li", { className: "flex items-center justify-between gap-3 rounded-md border border-border px-3 py-2", children: [
5976
+ /* @__PURE__ */ (0, import_jsx_runtime65.jsxs)("div", { className: "min-w-0", children: [
5977
+ /* @__PURE__ */ (0, import_jsx_runtime65.jsx)("p", { className: "truncate text-sm", children: file.name }),
5978
+ /* @__PURE__ */ (0, import_jsx_runtime65.jsx)("p", { className: "text-xs text-muted-foreground", children: formatSize(file.size) }),
5979
+ progress?.[file.name] !== void 0 && /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
5114
5980
  "div",
5115
5981
  {
5116
5982
  role: "progressbar",
@@ -5119,11 +5985,11 @@ var FileUpload = React61.forwardRef(function FileUpload2({
5119
5985
  "aria-valuemax": 100,
5120
5986
  "aria-label": uploadingLabel(file),
5121
5987
  className: "mt-1 h-1.5 w-40 overflow-hidden rounded-full bg-muted",
5122
- children: /* @__PURE__ */ (0, import_jsx_runtime61.jsx)("div", { className: "h-full bg-primary", style: { width: `${progress[file.name]}%` } })
5988
+ children: /* @__PURE__ */ (0, import_jsx_runtime65.jsx)("div", { className: "h-full bg-primary", style: { width: `${progress[file.name]}%` } })
5123
5989
  }
5124
5990
  )
5125
5991
  ] }),
5126
- /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(
5992
+ /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
5127
5993
  "button",
5128
5994
  {
5129
5995
  type: "button",
@@ -5138,12 +6004,12 @@ var FileUpload = React61.forwardRef(function FileUpload2({
5138
6004
  });
5139
6005
 
5140
6006
  // src/components/timeline/Timeline.tsx
5141
- var React62 = __toESM(require("react"));
5142
- var import_jsx_runtime62 = require("react/jsx-runtime");
5143
- var Timeline = React62.forwardRef(function Timeline2({ items, className, ...props }, ref) {
5144
- return /* @__PURE__ */ (0, import_jsx_runtime62.jsx)("ol", { ref, className: cn("relative flex flex-col gap-6", className), ...props, children: items.map((item, index) => /* @__PURE__ */ (0, import_jsx_runtime62.jsxs)("li", { className: "relative flex gap-4", children: [
5145
- /* @__PURE__ */ (0, import_jsx_runtime62.jsxs)("div", { className: "flex flex-col items-center", children: [
5146
- /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
6007
+ var React66 = __toESM(require("react"));
6008
+ var import_jsx_runtime66 = require("react/jsx-runtime");
6009
+ var Timeline = React66.forwardRef(function Timeline2({ items, className, ...props }, ref) {
6010
+ 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)(
5147
6013
  "span",
5148
6014
  {
5149
6015
  "aria-hidden": "true",
@@ -5153,24 +6019,24 @@ var Timeline = React62.forwardRef(function Timeline2({ items, className, ...prop
5153
6019
  )
5154
6020
  }
5155
6021
  ),
5156
- index < items.length - 1 && /* @__PURE__ */ (0, import_jsx_runtime62.jsx)("span", { "aria-hidden": "true", className: "mt-1 w-px flex-1 bg-border" })
6022
+ index < items.length - 1 && /* @__PURE__ */ (0, import_jsx_runtime66.jsx)("span", { "aria-hidden": "true", className: "mt-1 w-px flex-1 bg-border" })
5157
6023
  ] }),
5158
- /* @__PURE__ */ (0, import_jsx_runtime62.jsxs)("div", { className: "min-w-0 pb-1", children: [
5159
- item.period && /* @__PURE__ */ (0, import_jsx_runtime62.jsx)("p", { className: "text-xs font-medium uppercase tracking-wide text-muted-foreground", children: item.period }),
5160
- /* @__PURE__ */ (0, import_jsx_runtime62.jsx)("p", { className: cn("text-sm font-semibold", item.muted && "text-muted-foreground"), children: item.title }),
5161
- item.description && /* @__PURE__ */ (0, import_jsx_runtime62.jsx)("p", { className: "mt-1 text-sm text-muted-foreground", children: item.description }),
5162
- item.icon && /* @__PURE__ */ (0, import_jsx_runtime62.jsx)("div", { className: "mt-1 text-muted-foreground [&_svg]:size-4", children: item.icon })
6024
+ /* @__PURE__ */ (0, import_jsx_runtime66.jsxs)("div", { className: "min-w-0 pb-1", children: [
6025
+ item.period && /* @__PURE__ */ (0, import_jsx_runtime66.jsx)("p", { className: "text-xs font-medium uppercase tracking-wide text-muted-foreground", children: item.period }),
6026
+ /* @__PURE__ */ (0, import_jsx_runtime66.jsx)("p", { className: cn("text-sm font-semibold", item.muted && "text-muted-foreground"), children: item.title }),
6027
+ item.description && /* @__PURE__ */ (0, import_jsx_runtime66.jsx)("p", { className: "mt-1 text-sm text-muted-foreground", children: item.description }),
6028
+ item.icon && /* @__PURE__ */ (0, import_jsx_runtime66.jsx)("div", { className: "mt-1 text-muted-foreground [&_svg]:size-4", children: item.icon })
5163
6029
  ] })
5164
6030
  ] }, `${item.title}-${index}`)) });
5165
6031
  });
5166
6032
 
5167
6033
  // src/components/block/Block.tsx
5168
- var React63 = __toESM(require("react"));
5169
- var import_jsx_runtime63 = require("react/jsx-runtime");
5170
- var Block = React63.forwardRef(
6034
+ var React67 = __toESM(require("react"));
6035
+ var import_jsx_runtime67 = require("react/jsx-runtime");
6036
+ var Block = React67.forwardRef(
5171
6037
  ({ as = "div", inline, muted, className, ...props }, ref) => {
5172
6038
  const Tag = inline ? "span" : as;
5173
- return /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(
6039
+ return /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(
5174
6040
  Tag,
5175
6041
  {
5176
6042
  ref,
@@ -5183,8 +6049,8 @@ var Block = React63.forwardRef(
5183
6049
  Block.displayName = "Block";
5184
6050
 
5185
6051
  // src/components/flex/Flex.tsx
5186
- var React64 = __toESM(require("react"));
5187
- var import_jsx_runtime64 = require("react/jsx-runtime");
6052
+ var React68 = __toESM(require("react"));
6053
+ var import_jsx_runtime68 = require("react/jsx-runtime");
5188
6054
  var justifyClasses = {
5189
6055
  start: "justify-start",
5190
6056
  center: "justify-center",
@@ -5200,11 +6066,11 @@ var alignClasses = {
5200
6066
  stretch: "items-stretch",
5201
6067
  baseline: "items-baseline"
5202
6068
  };
5203
- var Flex = React64.forwardRef(
6069
+ var Flex = React68.forwardRef(
5204
6070
  ({ direction = "row", align, justify, wrap, gap = "md", as = "div", className, style, ...props }, ref) => {
5205
6071
  const Tag = as;
5206
6072
  const gapResolved = resolveGap(gap);
5207
- return /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(
6073
+ return /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(
5208
6074
  Tag,
5209
6075
  {
5210
6076
  ref,
@@ -5231,7 +6097,7 @@ var selfAlignClasses = {
5231
6097
  stretch: "self-stretch",
5232
6098
  baseline: "self-baseline"
5233
6099
  };
5234
- var FlexItem = React64.forwardRef(
6100
+ var FlexItem = React68.forwardRef(
5235
6101
  ({ grow, shrink, basis, align, as = "div", className, ...props }, ref) => {
5236
6102
  const Tag = as;
5237
6103
  const style = {
@@ -5239,7 +6105,7 @@ var FlexItem = React64.forwardRef(
5239
6105
  ...shrink === false ? { flexShrink: 0 } : typeof shrink === "string" && shrink ? { flexShrink: Number(shrink) || shrink } : {},
5240
6106
  ...basis ? { flexBasis: basis } : {}
5241
6107
  };
5242
- return /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(
6108
+ return /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(
5243
6109
  Tag,
5244
6110
  {
5245
6111
  ref,
@@ -5253,8 +6119,8 @@ var FlexItem = React64.forwardRef(
5253
6119
  FlexItem.displayName = "FlexItem";
5254
6120
 
5255
6121
  // src/components/grid/Grid.tsx
5256
- var React65 = __toESM(require("react"));
5257
- var import_jsx_runtime65 = require("react/jsx-runtime");
6122
+ var React69 = __toESM(require("react"));
6123
+ var import_jsx_runtime69 = require("react/jsx-runtime");
5258
6124
  var BASE_COLS = {
5259
6125
  1: "grid-cols-1",
5260
6126
  2: "grid-cols-2",
@@ -5319,11 +6185,11 @@ var LG_COL_SPAN = {
5319
6185
  5: "lg:col-span-5",
5320
6186
  6: "lg:col-span-6"
5321
6187
  };
5322
- var Grid = React65.forwardRef(
6188
+ var Grid = React69.forwardRef(
5323
6189
  ({ cols, smCols, mdCols, lgCols, minCol, gap = "md", as = "div", className, style, ...props }, ref) => {
5324
6190
  const Tag = as;
5325
6191
  const gapResolved = resolveGap(gap);
5326
- return /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
6192
+ return /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(
5327
6193
  Tag,
5328
6194
  {
5329
6195
  ref,
@@ -5347,10 +6213,10 @@ var Grid = React65.forwardRef(
5347
6213
  }
5348
6214
  );
5349
6215
  Grid.displayName = "Grid";
5350
- var GridItem = React65.forwardRef(
6216
+ var GridItem = React69.forwardRef(
5351
6217
  ({ span, smSpan, mdSpan, lgSpan, as = "div", className, ...props }, ref) => {
5352
6218
  const Tag = as;
5353
- return /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
6219
+ return /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(
5354
6220
  Tag,
5355
6221
  {
5356
6222
  ref,
@@ -5369,8 +6235,8 @@ var GridItem = React65.forwardRef(
5369
6235
  GridItem.displayName = "GridItem";
5370
6236
 
5371
6237
  // src/components/container/Container.tsx
5372
- var React66 = __toESM(require("react"));
5373
- var import_jsx_runtime66 = require("react/jsx-runtime");
6238
+ var React70 = __toESM(require("react"));
6239
+ var import_jsx_runtime70 = require("react/jsx-runtime");
5374
6240
  var widthClasses = {
5375
6241
  sm: "max-w-3xl",
5376
6242
  md: "max-w-5xl",
@@ -5384,9 +6250,9 @@ var paddingClasses = {
5384
6250
  md: "px-4 sm:px-6",
5385
6251
  lg: "px-4 sm:px-6 lg:px-8"
5386
6252
  };
5387
- var Container = React66.forwardRef(function Container2({ width = "lg", padding = "md", as = "div", className, ...props }, ref) {
6253
+ var Container = React70.forwardRef(function Container2({ width = "lg", padding = "md", as = "div", className, ...props }, ref) {
5388
6254
  const Tag = as;
5389
- return /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(
6255
+ return /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(
5390
6256
  Tag,
5391
6257
  {
5392
6258
  ref,
@@ -5397,8 +6263,8 @@ var Container = React66.forwardRef(function Container2({ width = "lg", padding =
5397
6263
  });
5398
6264
 
5399
6265
  // src/components/section/Section.tsx
5400
- var React67 = __toESM(require("react"));
5401
- var import_jsx_runtime67 = require("react/jsx-runtime");
6266
+ var React71 = __toESM(require("react"));
6267
+ var import_jsx_runtime71 = require("react/jsx-runtime");
5402
6268
  var toneClasses2 = {
5403
6269
  default: "bg-background text-foreground",
5404
6270
  muted: "bg-muted/40 text-foreground",
@@ -5438,7 +6304,7 @@ var brandVars = {
5438
6304
  "--border": "var(--primary-foreground)",
5439
6305
  "--input": "var(--primary-foreground)"
5440
6306
  };
5441
- var Section = React67.forwardRef(function Section2({
6307
+ var Section = React71.forwardRef(function Section2({
5442
6308
  tone = "default",
5443
6309
  padding = "md",
5444
6310
  width = "lg",
@@ -5452,7 +6318,7 @@ var Section = React67.forwardRef(function Section2({
5452
6318
  }, ref) {
5453
6319
  const Tag = as;
5454
6320
  const toneStyle = tone === "inverse" ? inverseVars : tone === "brand" ? brandVars : void 0;
5455
- return /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(
6321
+ return /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(
5456
6322
  Tag,
5457
6323
  {
5458
6324
  ref,
@@ -5460,19 +6326,19 @@ var Section = React67.forwardRef(function Section2({
5460
6326
  className: cn("w-full", toneClasses2[tone], paddingClasses2[padding], className),
5461
6327
  style: { ...toneStyle, ...style },
5462
6328
  ...props,
5463
- children: container ? /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(Container, { width, className: containerClassName, children }) : children
6329
+ children: container ? /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(Container, { width, className: containerClassName, children }) : children
5464
6330
  }
5465
6331
  );
5466
6332
  });
5467
6333
 
5468
6334
  // src/components/hero/Hero.tsx
5469
- var React68 = __toESM(require("react"));
5470
- var import_jsx_runtime68 = require("react/jsx-runtime");
6335
+ var React72 = __toESM(require("react"));
6336
+ var import_jsx_runtime72 = require("react/jsx-runtime");
5471
6337
  var titleSizes = {
5472
6338
  md: "text-3xl sm:text-4xl md:text-5xl",
5473
6339
  lg: "text-4xl sm:text-5xl md:text-6xl lg:leading-[1.05]"
5474
6340
  };
5475
- var Hero = React68.forwardRef(function Hero2({
6341
+ var Hero = React72.forwardRef(function Hero2({
5476
6342
  title,
5477
6343
  description,
5478
6344
  eyebrow,
@@ -5498,7 +6364,7 @@ var Hero = React68.forwardRef(function Hero2({
5498
6364
  const Heading2 = `h${level}`;
5499
6365
  const centered = layout === "centered" || align === "center";
5500
6366
  const overlay = layout === "overlay";
5501
- const copy = /* @__PURE__ */ (0, import_jsx_runtime68.jsxs)(
6367
+ const copy = /* @__PURE__ */ (0, import_jsx_runtime72.jsxs)(
5502
6368
  "div",
5503
6369
  {
5504
6370
  className: cn(
@@ -5507,7 +6373,7 @@ var Hero = React68.forwardRef(function Hero2({
5507
6373
  overlay && "max-w-2xl"
5508
6374
  ),
5509
6375
  children: [
5510
- badge && /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(
6376
+ badge && /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(
5511
6377
  "div",
5512
6378
  {
5513
6379
  className: cn(
@@ -5518,7 +6384,7 @@ var Hero = React68.forwardRef(function Hero2({
5518
6384
  children: badge
5519
6385
  }
5520
6386
  ),
5521
- eyebrow && /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(
6387
+ eyebrow && /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(
5522
6388
  "p",
5523
6389
  {
5524
6390
  className: cn(
@@ -5529,7 +6395,7 @@ var Hero = React68.forwardRef(function Hero2({
5529
6395
  children: eyebrow
5530
6396
  }
5531
6397
  ),
5532
- /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(
6398
+ /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(
5533
6399
  Heading2,
5534
6400
  {
5535
6401
  className: cn(
@@ -5541,7 +6407,7 @@ var Hero = React68.forwardRef(function Hero2({
5541
6407
  children: title
5542
6408
  }
5543
6409
  ),
5544
- description && /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(
6410
+ description && /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(
5545
6411
  "p",
5546
6412
  {
5547
6413
  className: cn(
@@ -5553,7 +6419,7 @@ var Hero = React68.forwardRef(function Hero2({
5553
6419
  children: description
5554
6420
  }
5555
6421
  ),
5556
- actions && /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(
6422
+ actions && /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(
5557
6423
  "div",
5558
6424
  {
5559
6425
  className: cn(
@@ -5567,7 +6433,7 @@ var Hero = React68.forwardRef(function Hero2({
5567
6433
  }
5568
6434
  );
5569
6435
  if (overlay) {
5570
- return /* @__PURE__ */ (0, import_jsx_runtime68.jsxs)(
6436
+ return /* @__PURE__ */ (0, import_jsx_runtime72.jsxs)(
5571
6437
  Tag,
5572
6438
  {
5573
6439
  ref,
@@ -5577,7 +6443,7 @@ var Hero = React68.forwardRef(function Hero2({
5577
6443
  ),
5578
6444
  ...props,
5579
6445
  children: [
5580
- media && /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(
6446
+ media && /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(
5581
6447
  "div",
5582
6448
  {
5583
6449
  className: cn(
@@ -5587,20 +6453,20 @@ var Hero = React68.forwardRef(function Hero2({
5587
6453
  children: media
5588
6454
  }
5589
6455
  ),
5590
- /* @__PURE__ */ (0, import_jsx_runtime68.jsx)("div", { "aria-hidden": "true", className: "absolute inset-0 -z-10 bg-foreground/60" }),
5591
- /* @__PURE__ */ (0, import_jsx_runtime68.jsx)("div", { className: "relative w-full px-4 sm:px-6 lg:px-10", children: copy })
6456
+ /* @__PURE__ */ (0, import_jsx_runtime72.jsx)("div", { "aria-hidden": "true", className: "absolute inset-0 -z-10 bg-foreground/60" }),
6457
+ /* @__PURE__ */ (0, import_jsx_runtime72.jsx)("div", { className: "relative w-full px-4 sm:px-6 lg:px-10", children: copy })
5592
6458
  ]
5593
6459
  }
5594
6460
  );
5595
6461
  }
5596
6462
  if (layout === "centered") {
5597
- return /* @__PURE__ */ (0, import_jsx_runtime68.jsxs)(Tag, { ref, className: cn("w-full", className), ...props, children: [
6463
+ return /* @__PURE__ */ (0, import_jsx_runtime72.jsxs)(Tag, { ref, className: cn("w-full", className), ...props, children: [
5598
6464
  copy,
5599
- media && /* @__PURE__ */ (0, import_jsx_runtime68.jsx)("div", { className: cn("mt-12 min-w-0", mediaClassName), children: media })
6465
+ media && /* @__PURE__ */ (0, import_jsx_runtime72.jsx)("div", { className: cn("mt-12 min-w-0", mediaClassName), children: media })
5600
6466
  ] });
5601
6467
  }
5602
6468
  if (layout === "stacked") {
5603
- return /* @__PURE__ */ (0, import_jsx_runtime68.jsxs)(
6469
+ return /* @__PURE__ */ (0, import_jsx_runtime72.jsxs)(
5604
6470
  Tag,
5605
6471
  {
5606
6472
  ref,
@@ -5608,28 +6474,28 @@ var Hero = React68.forwardRef(function Hero2({
5608
6474
  ...props,
5609
6475
  children: [
5610
6476
  copy,
5611
- media && /* @__PURE__ */ (0, import_jsx_runtime68.jsx)("div", { className: cn("min-w-0 w-full", mediaClassName), children: media })
6477
+ media && /* @__PURE__ */ (0, import_jsx_runtime72.jsx)("div", { className: cn("min-w-0 w-full", mediaClassName), children: media })
5612
6478
  ]
5613
6479
  }
5614
6480
  );
5615
6481
  }
5616
- return /* @__PURE__ */ (0, import_jsx_runtime68.jsxs)(
6482
+ return /* @__PURE__ */ (0, import_jsx_runtime72.jsxs)(
5617
6483
  Tag,
5618
6484
  {
5619
6485
  ref,
5620
6486
  className: cn("grid w-full items-center gap-10 lg:grid-cols-2 lg:gap-16 xl:gap-20", className),
5621
6487
  ...props,
5622
6488
  children: [
5623
- /* @__PURE__ */ (0, import_jsx_runtime68.jsx)("div", { className: cn(mediaPosition === "left" && "lg:order-2"), children: copy }),
5624
- media && /* @__PURE__ */ (0, import_jsx_runtime68.jsx)("div", { className: cn("min-w-0", mediaPosition === "left" && "lg:order-1", mediaClassName), children: media })
6489
+ /* @__PURE__ */ (0, import_jsx_runtime72.jsx)("div", { className: cn(mediaPosition === "left" && "lg:order-2"), children: copy }),
6490
+ media && /* @__PURE__ */ (0, import_jsx_runtime72.jsx)("div", { className: cn("min-w-0", mediaPosition === "left" && "lg:order-1", mediaClassName), children: media })
5625
6491
  ]
5626
6492
  }
5627
6493
  );
5628
6494
  });
5629
6495
 
5630
6496
  // src/components/stat-band/StatBand.tsx
5631
- var React69 = __toESM(require("react"));
5632
- var import_jsx_runtime69 = require("react/jsx-runtime");
6497
+ var React73 = __toESM(require("react"));
6498
+ var import_jsx_runtime73 = require("react/jsx-runtime");
5633
6499
  var columnClasses = {
5634
6500
  2: "sm:grid-cols-2",
5635
6501
  3: "sm:grid-cols-2 lg:grid-cols-3",
@@ -5640,8 +6506,8 @@ var valueClasses = {
5640
6506
  md: "text-3xl",
5641
6507
  lg: "text-4xl sm:text-5xl"
5642
6508
  };
5643
- var StatBand = React69.forwardRef(function StatBand2({ items, columns = 3, align = "center", size = "md", divided = true, className, ...props }, ref) {
5644
- return /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(
6509
+ var StatBand = React73.forwardRef(function StatBand2({ items, columns = 3, align = "center", size = "md", divided = true, className, ...props }, ref) {
6510
+ return /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(
5645
6511
  "dl",
5646
6512
  {
5647
6513
  ref,
@@ -5652,7 +6518,7 @@ var StatBand = React69.forwardRef(function StatBand2({ items, columns = 3, align
5652
6518
  className
5653
6519
  ),
5654
6520
  ...props,
5655
- children: items.map((item) => /* @__PURE__ */ (0, import_jsx_runtime69.jsxs)(
6521
+ children: items.map((item) => /* @__PURE__ */ (0, import_jsx_runtime73.jsxs)(
5656
6522
  "div",
5657
6523
  {
5658
6524
  className: cn(
@@ -5660,11 +6526,11 @@ var StatBand = React69.forwardRef(function StatBand2({ items, columns = 3, align
5660
6526
  align === "center" ? "items-center text-center" : "items-start text-left"
5661
6527
  ),
5662
6528
  children: [
5663
- /* @__PURE__ */ (0, import_jsx_runtime69.jsxs)("dt", { className: "order-2 text-sm font-medium text-muted-foreground", children: [
6529
+ /* @__PURE__ */ (0, import_jsx_runtime73.jsxs)("dt", { className: "order-2 text-sm font-medium text-muted-foreground", children: [
5664
6530
  item.label,
5665
- item.hint && /* @__PURE__ */ (0, import_jsx_runtime69.jsx)("span", { className: "mt-1 block text-xs font-normal", children: item.hint })
6531
+ item.hint && /* @__PURE__ */ (0, import_jsx_runtime73.jsx)("span", { className: "mt-1 block text-xs font-normal", children: item.hint })
5666
6532
  ] }),
5667
- /* @__PURE__ */ (0, import_jsx_runtime69.jsx)("dd", { className: cn("order-1 m-0 font-semibold tracking-tight tabular-nums", valueClasses[size]), children: item.value })
6533
+ /* @__PURE__ */ (0, import_jsx_runtime73.jsx)("dd", { className: cn("order-1 m-0 font-semibold tracking-tight tabular-nums", valueClasses[size]), children: item.value })
5668
6534
  ]
5669
6535
  },
5670
6536
  item.label
@@ -5674,14 +6540,14 @@ var StatBand = React69.forwardRef(function StatBand2({ items, columns = 3, align
5674
6540
  });
5675
6541
 
5676
6542
  // src/components/cta-section/CTASection.tsx
5677
- var React70 = __toESM(require("react"));
5678
- var import_jsx_runtime70 = require("react/jsx-runtime");
6543
+ var React74 = __toESM(require("react"));
6544
+ var import_jsx_runtime74 = require("react/jsx-runtime");
5679
6545
  var sizePadding = {
5680
6546
  sm: "md",
5681
6547
  md: "lg",
5682
6548
  lg: "xl"
5683
6549
  };
5684
- var CTASection = React70.forwardRef(function CTASection2({
6550
+ var CTASection = React74.forwardRef(function CTASection2({
5685
6551
  title,
5686
6552
  description,
5687
6553
  eyebrow,
@@ -5693,7 +6559,7 @@ var CTASection = React70.forwardRef(function CTASection2({
5693
6559
  className,
5694
6560
  ...props
5695
6561
  }, ref) {
5696
- return /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(
6562
+ return /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(
5697
6563
  Section,
5698
6564
  {
5699
6565
  ref,
@@ -5702,7 +6568,7 @@ var CTASection = React70.forwardRef(function CTASection2({
5702
6568
  width,
5703
6569
  className,
5704
6570
  ...props,
5705
- children: /* @__PURE__ */ (0, import_jsx_runtime70.jsxs)(
6571
+ children: /* @__PURE__ */ (0, import_jsx_runtime74.jsxs)(
5706
6572
  "div",
5707
6573
  {
5708
6574
  className: cn(
@@ -5710,10 +6576,10 @@ var CTASection = React70.forwardRef(function CTASection2({
5710
6576
  align === "center" ? "items-center text-center" : "items-start text-left"
5711
6577
  ),
5712
6578
  children: [
5713
- eyebrow && /* @__PURE__ */ (0, import_jsx_runtime70.jsx)("p", { className: "text-xs font-semibold uppercase tracking-widest text-primary", children: eyebrow }),
5714
- /* @__PURE__ */ (0, import_jsx_runtime70.jsx)("h2", { className: "max-w-3xl text-3xl font-semibold tracking-tight text-balance sm:text-4xl", children: title }),
5715
- description && /* @__PURE__ */ (0, import_jsx_runtime70.jsx)("p", { className: cn("max-w-2xl text-base leading-relaxed text-muted-foreground sm:text-lg"), children: description }),
5716
- actions && /* @__PURE__ */ (0, import_jsx_runtime70.jsx)("div", { className: cn("mt-2 flex flex-wrap items-center gap-3", align === "center" && "justify-center"), children: actions })
6579
+ eyebrow && /* @__PURE__ */ (0, import_jsx_runtime74.jsx)("p", { className: "text-xs font-semibold uppercase tracking-widest text-primary-ink", children: eyebrow }),
6580
+ /* @__PURE__ */ (0, import_jsx_runtime74.jsx)("h2", { className: "max-w-3xl text-3xl font-semibold tracking-tight text-balance sm:text-4xl", children: title }),
6581
+ description && /* @__PURE__ */ (0, import_jsx_runtime74.jsx)("p", { className: cn("max-w-2xl text-base leading-relaxed text-muted-foreground sm:text-lg"), children: description }),
6582
+ actions && /* @__PURE__ */ (0, import_jsx_runtime74.jsx)("div", { className: cn("mt-2 flex flex-wrap items-center gap-3", align === "center" && "justify-center"), children: actions })
5717
6583
  ]
5718
6584
  }
5719
6585
  )
@@ -5722,10 +6588,10 @@ var CTASection = React70.forwardRef(function CTASection2({
5722
6588
  });
5723
6589
 
5724
6590
  // src/components/comparison-table/ComparisonTable.tsx
5725
- var React71 = __toESM(require("react"));
5726
- var import_jsx_runtime71 = require("react/jsx-runtime");
6591
+ var React75 = __toESM(require("react"));
6592
+ var import_jsx_runtime75 = require("react/jsx-runtime");
5727
6593
  function CheckMark() {
5728
- return /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(
6594
+ return /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(
5729
6595
  "svg",
5730
6596
  {
5731
6597
  "aria-hidden": "true",
@@ -5736,12 +6602,12 @@ function CheckMark() {
5736
6602
  strokeLinecap: "round",
5737
6603
  strokeLinejoin: "round",
5738
6604
  className: "mx-auto h-5 w-5 text-success",
5739
- children: /* @__PURE__ */ (0, import_jsx_runtime71.jsx)("path", { d: "m4 10.5 4 4 8-9" })
6605
+ children: /* @__PURE__ */ (0, import_jsx_runtime75.jsx)("path", { d: "m4 10.5 4 4 8-9" })
5740
6606
  }
5741
6607
  );
5742
6608
  }
5743
6609
  function DashMark() {
5744
- return /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(
6610
+ return /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(
5745
6611
  "svg",
5746
6612
  {
5747
6613
  "aria-hidden": "true",
@@ -5751,11 +6617,11 @@ function DashMark() {
5751
6617
  strokeWidth: "2.2",
5752
6618
  strokeLinecap: "round",
5753
6619
  className: "mx-auto h-5 w-5 text-muted-foreground/60",
5754
- children: /* @__PURE__ */ (0, import_jsx_runtime71.jsx)("path", { d: "M5 10h10" })
6620
+ children: /* @__PURE__ */ (0, import_jsx_runtime75.jsx)("path", { d: "M5 10h10" })
5755
6621
  }
5756
6622
  );
5757
6623
  }
5758
- var ComparisonTable = React71.forwardRef(
6624
+ var ComparisonTable = React75.forwardRef(
5759
6625
  function ComparisonTable2({
5760
6626
  columns,
5761
6627
  rows,
@@ -5767,38 +6633,38 @@ var ComparisonTable = React71.forwardRef(
5767
6633
  }, ref) {
5768
6634
  const yes = valueLabels?.yes ?? "Included";
5769
6635
  const no = valueLabels?.no ?? "Not included";
5770
- return /* @__PURE__ */ (0, import_jsx_runtime71.jsx)("div", { className: "w-full overflow-x-auto rounded-xl border border-border bg-card", children: /* @__PURE__ */ (0, import_jsx_runtime71.jsxs)("table", { ref, className: cn("w-full border-collapse text-sm", className), ...props, children: [
5771
- /* @__PURE__ */ (0, import_jsx_runtime71.jsx)("caption", { className: "sr-only", children: caption }),
5772
- /* @__PURE__ */ (0, import_jsx_runtime71.jsx)("thead", { children: /* @__PURE__ */ (0, import_jsx_runtime71.jsxs)("tr", { className: "border-b border-border", children: [
5773
- /* @__PURE__ */ (0, import_jsx_runtime71.jsx)("th", { scope: "col", className: "min-w-48 px-5 py-4 text-left font-medium text-muted-foreground", children: featureLabel }),
5774
- columns.map((column) => /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(
6636
+ return /* @__PURE__ */ (0, import_jsx_runtime75.jsx)("div", { className: "w-full overflow-x-auto rounded-xl border border-border bg-card", children: /* @__PURE__ */ (0, import_jsx_runtime75.jsxs)("table", { ref, className: cn("w-full border-collapse text-sm", className), ...props, children: [
6637
+ /* @__PURE__ */ (0, import_jsx_runtime75.jsx)("caption", { className: "sr-only", children: caption }),
6638
+ /* @__PURE__ */ (0, import_jsx_runtime75.jsx)("thead", { children: /* @__PURE__ */ (0, import_jsx_runtime75.jsxs)("tr", { className: "border-b border-border", children: [
6639
+ /* @__PURE__ */ (0, import_jsx_runtime75.jsx)("th", { scope: "col", className: "min-w-48 px-5 py-4 text-left font-medium text-muted-foreground", children: featureLabel }),
6640
+ columns.map((column) => /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(
5775
6641
  "th",
5776
6642
  {
5777
6643
  scope: "col",
5778
6644
  className: cn(
5779
6645
  "min-w-40 px-5 py-4 text-center font-semibold",
5780
- column.highlight && "bg-primary/10 text-primary"
6646
+ column.highlight && "bg-primary/10 text-primary-ink"
5781
6647
  ),
5782
6648
  children: column.label
5783
6649
  },
5784
6650
  column.label
5785
6651
  ))
5786
6652
  ] }) }),
5787
- /* @__PURE__ */ (0, import_jsx_runtime71.jsx)("tbody", { children: rows.map((row) => /* @__PURE__ */ (0, import_jsx_runtime71.jsxs)("tr", { className: "border-b border-border last:border-b-0", children: [
5788
- /* @__PURE__ */ (0, import_jsx_runtime71.jsxs)("th", { scope: "row", className: "px-5 py-4 text-left font-medium", children: [
6653
+ /* @__PURE__ */ (0, import_jsx_runtime75.jsx)("tbody", { children: rows.map((row) => /* @__PURE__ */ (0, import_jsx_runtime75.jsxs)("tr", { className: "border-b border-border last:border-b-0", children: [
6654
+ /* @__PURE__ */ (0, import_jsx_runtime75.jsxs)("th", { scope: "row", className: "px-5 py-4 text-left font-medium", children: [
5789
6655
  row.feature,
5790
- row.hint && /* @__PURE__ */ (0, import_jsx_runtime71.jsx)("span", { className: "mt-1 block text-xs font-normal text-muted-foreground", children: row.hint })
6656
+ row.hint && /* @__PURE__ */ (0, import_jsx_runtime75.jsx)("span", { className: "mt-1 block text-xs font-normal text-muted-foreground", children: row.hint })
5791
6657
  ] }),
5792
6658
  columns.map((column, index) => {
5793
6659
  const value = row.values[index];
5794
- return /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(
6660
+ return /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(
5795
6661
  "td",
5796
6662
  {
5797
6663
  className: cn("px-5 py-4 text-center align-middle", column.highlight && "bg-primary/5"),
5798
- children: typeof value === "boolean" ? /* @__PURE__ */ (0, import_jsx_runtime71.jsxs)(import_jsx_runtime71.Fragment, { children: [
5799
- value ? /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(CheckMark, {}) : /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(DashMark, {}),
5800
- /* @__PURE__ */ (0, import_jsx_runtime71.jsx)("span", { className: "sr-only", children: value ? yes : no })
5801
- ] }) : /* @__PURE__ */ (0, import_jsx_runtime71.jsx)("span", { children: value ?? "" })
6664
+ children: typeof value === "boolean" ? /* @__PURE__ */ (0, import_jsx_runtime75.jsxs)(import_jsx_runtime75.Fragment, { children: [
6665
+ value ? /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(CheckMark, {}) : /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(DashMark, {}),
6666
+ /* @__PURE__ */ (0, import_jsx_runtime75.jsx)("span", { className: "sr-only", children: value ? yes : no })
6667
+ ] }) : /* @__PURE__ */ (0, import_jsx_runtime75.jsx)("span", { children: value ?? "" })
5802
6668
  },
5803
6669
  `${row.feature}-${column.label}`
5804
6670
  );
@@ -5809,8 +6675,8 @@ var ComparisonTable = React71.forwardRef(
5809
6675
  );
5810
6676
 
5811
6677
  // src/components/logo-cloud/LogoCloud.tsx
5812
- var React72 = __toESM(require("react"));
5813
- var import_jsx_runtime72 = require("react/jsx-runtime");
6678
+ var React76 = __toESM(require("react"));
6679
+ var import_jsx_runtime76 = require("react/jsx-runtime");
5814
6680
  var columnClasses2 = {
5815
6681
  3: "grid-cols-2 sm:grid-cols-3",
5816
6682
  4: "grid-cols-2 sm:grid-cols-4",
@@ -5822,7 +6688,7 @@ var sizeClasses9 = {
5822
6688
  md: "h-8",
5823
6689
  lg: "h-12"
5824
6690
  };
5825
- var LogoCloud = React72.forwardRef(function LogoCloud2({
6691
+ var LogoCloud = React76.forwardRef(function LogoCloud2({
5826
6692
  items,
5827
6693
  caption,
5828
6694
  columns = 4,
@@ -5839,8 +6705,8 @@ var LogoCloud = React72.forwardRef(function LogoCloud2({
5839
6705
  sizeClasses9[size],
5840
6706
  grayscale && "opacity-70 grayscale hover:opacity-100 hover:grayscale-0"
5841
6707
  );
5842
- return /* @__PURE__ */ (0, import_jsx_runtime72.jsxs)("div", { ref, className: cn("w-full", className), ...props, children: [
5843
- caption && /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(
6708
+ return /* @__PURE__ */ (0, import_jsx_runtime76.jsxs)("div", { ref, className: cn("w-full", className), ...props, children: [
6709
+ caption && /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(
5844
6710
  "p",
5845
6711
  {
5846
6712
  className: cn(
@@ -5850,12 +6716,12 @@ var LogoCloud = React72.forwardRef(function LogoCloud2({
5850
6716
  children: caption
5851
6717
  }
5852
6718
  ),
5853
- /* @__PURE__ */ (0, import_jsx_runtime72.jsx)("ul", { className: cn("grid items-center gap-x-8 gap-y-6", columnClasses2[columns], align === "center" && "justify-items-center"), children: items.map((item) => {
5854
- const content = /* @__PURE__ */ (0, import_jsx_runtime72.jsxs)(import_jsx_runtime72.Fragment, { children: [
5855
- /* @__PURE__ */ (0, import_jsx_runtime72.jsx)("span", { className: logoClass, "aria-hidden": "true", children: item.logo }),
5856
- /* @__PURE__ */ (0, import_jsx_runtime72.jsx)("span", { className: "sr-only", children: item.name })
6719
+ /* @__PURE__ */ (0, import_jsx_runtime76.jsx)("ul", { className: cn("grid items-center gap-x-8 gap-y-6", columnClasses2[columns], align === "center" && "justify-items-center"), children: items.map((item) => {
6720
+ const content = /* @__PURE__ */ (0, import_jsx_runtime76.jsxs)(import_jsx_runtime76.Fragment, { children: [
6721
+ /* @__PURE__ */ (0, import_jsx_runtime76.jsx)("span", { className: logoClass, "aria-hidden": "true", children: item.logo }),
6722
+ /* @__PURE__ */ (0, import_jsx_runtime76.jsx)("span", { className: "sr-only", children: item.name })
5857
6723
  ] });
5858
- return /* @__PURE__ */ (0, import_jsx_runtime72.jsx)("li", { className: cn("min-w-0", align === "center" ? "justify-self-center" : "justify-self-start"), children: item.href ? /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(
6724
+ return /* @__PURE__ */ (0, import_jsx_runtime76.jsx)("li", { className: cn("min-w-0", align === "center" ? "justify-self-center" : "justify-self-start"), children: item.href ? /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(
5859
6725
  Link3,
5860
6726
  {
5861
6727
  href: item.href,
@@ -5868,41 +6734,41 @@ var LogoCloud = React72.forwardRef(function LogoCloud2({
5868
6734
  });
5869
6735
 
5870
6736
  // src/components/feature-grid/FeatureGrid.tsx
5871
- var React73 = __toESM(require("react"));
5872
- var import_jsx_runtime73 = require("react/jsx-runtime");
6737
+ var React77 = __toESM(require("react"));
6738
+ var import_jsx_runtime77 = require("react/jsx-runtime");
5873
6739
  var columnClasses3 = {
5874
6740
  2: "sm:grid-cols-2",
5875
6741
  3: "sm:grid-cols-2 lg:grid-cols-3",
5876
6742
  4: "sm:grid-cols-2 lg:grid-cols-4"
5877
6743
  };
5878
- var FeatureGrid = React73.forwardRef(function FeatureGrid2({ features, columns = 3, variant = "card", align = "left", linkComponent, className, ...props }, ref) {
6744
+ var FeatureGrid = React77.forwardRef(function FeatureGrid2({ features, columns = 3, variant = "card", align = "left", linkComponent, className, ...props }, ref) {
5879
6745
  const Link3 = linkComponent ?? "a";
5880
6746
  const cardClass = cn(
5881
6747
  "group flex h-full flex-col gap-3 rounded-xl p-6",
5882
6748
  variant === "card" && "border border-border bg-card shadow-sm transition-colors hover:border-primary/40",
5883
6749
  align === "center" && "items-center text-center"
5884
6750
  );
5885
- const content = (feature) => /* @__PURE__ */ (0, import_jsx_runtime73.jsxs)(import_jsx_runtime73.Fragment, { children: [
5886
- feature.icon && /* @__PURE__ */ (0, import_jsx_runtime73.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 }),
5887
- /* @__PURE__ */ (0, import_jsx_runtime73.jsx)("h3", { className: "text-base font-semibold tracking-tight", children: feature.title }),
5888
- feature.description && /* @__PURE__ */ (0, import_jsx_runtime73.jsx)("p", { className: "text-sm leading-relaxed text-muted-foreground", children: feature.description }),
5889
- feature.href && feature.actionLabel && /* @__PURE__ */ (0, import_jsx_runtime73.jsxs)("span", { className: "mt-auto pt-2 text-sm font-medium text-primary", children: [
6751
+ 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 }),
6753
+ /* @__PURE__ */ (0, import_jsx_runtime77.jsx)("h3", { className: "text-base font-semibold tracking-tight", children: feature.title }),
6754
+ 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: [
5890
6756
  feature.actionLabel,
5891
6757
  " ",
5892
- /* @__PURE__ */ (0, import_jsx_runtime73.jsx)("span", { "aria-hidden": "true", children: "\u2192" })
6758
+ /* @__PURE__ */ (0, import_jsx_runtime77.jsx)("span", { "aria-hidden": "true", children: "\u2192" })
5893
6759
  ] })
5894
6760
  ] });
5895
- return /* @__PURE__ */ (0, import_jsx_runtime73.jsx)("ul", { ref, className: cn("grid gap-6", columnClasses3[columns], className), ...props, children: features.map((feature) => /* @__PURE__ */ (0, import_jsx_runtime73.jsx)("li", { className: "min-w-0", children: feature.href ? /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(Link3, { href: feature.href, className: cn(cardClass, "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background"), children: content(feature) }) : /* @__PURE__ */ (0, import_jsx_runtime73.jsx)("div", { className: cardClass, children: content(feature) }) }, feature.title)) });
6761
+ return /* @__PURE__ */ (0, import_jsx_runtime77.jsx)("ul", { ref, className: cn("grid gap-6", columnClasses3[columns], className), ...props, children: features.map((feature) => /* @__PURE__ */ (0, import_jsx_runtime77.jsx)("li", { className: "min-w-0", children: feature.href ? /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(Link3, { href: feature.href, className: cn(cardClass, "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background"), children: content(feature) }) : /* @__PURE__ */ (0, import_jsx_runtime77.jsx)("div", { className: cardClass, children: content(feature) }) }, feature.title)) });
5896
6762
  });
5897
6763
 
5898
6764
  // src/components/feature-row/FeatureRow.tsx
5899
- var React74 = __toESM(require("react"));
5900
- var import_jsx_runtime74 = require("react/jsx-runtime");
6765
+ var React78 = __toESM(require("react"));
6766
+ var import_jsx_runtime78 = require("react/jsx-runtime");
5901
6767
  var titleSizes2 = {
5902
6768
  md: "text-3xl",
5903
6769
  lg: "text-3xl sm:text-4xl"
5904
6770
  };
5905
- var FeatureRow = React74.forwardRef(function FeatureRow2({
6771
+ var FeatureRow = React78.forwardRef(function FeatureRow2({
5906
6772
  title,
5907
6773
  description,
5908
6774
  eyebrow,
@@ -5915,35 +6781,35 @@ var FeatureRow = React74.forwardRef(function FeatureRow2({
5915
6781
  ...props
5916
6782
  }, ref) {
5917
6783
  const Heading2 = `h${level}`;
5918
- return /* @__PURE__ */ (0, import_jsx_runtime74.jsxs)(
6784
+ return /* @__PURE__ */ (0, import_jsx_runtime78.jsxs)(
5919
6785
  "div",
5920
6786
  {
5921
6787
  ref,
5922
6788
  className: cn("grid items-center gap-10 lg:grid-cols-2 lg:gap-16", className),
5923
6789
  ...props,
5924
6790
  children: [
5925
- /* @__PURE__ */ (0, import_jsx_runtime74.jsxs)("div", { className: cn("min-w-0", mediaPosition === "left" && "lg:order-2"), children: [
5926
- eyebrow && /* @__PURE__ */ (0, import_jsx_runtime74.jsx)("p", { className: "mb-3 text-xs font-semibold uppercase tracking-widest text-primary", children: eyebrow }),
5927
- /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(Heading2, { className: cn("font-semibold tracking-tight text-balance", titleSizes2[size]), children: title }),
5928
- description && /* @__PURE__ */ (0, import_jsx_runtime74.jsx)("div", { className: "mt-4 max-w-xl text-base leading-relaxed text-muted-foreground sm:text-lg", children: description }),
5929
- actions && /* @__PURE__ */ (0, import_jsx_runtime74.jsx)("div", { className: "mt-7 flex flex-wrap items-center gap-3", children: actions })
6791
+ /* @__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 }),
6793
+ /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(Heading2, { className: cn("font-semibold tracking-tight text-balance", titleSizes2[size]), children: title }),
6794
+ 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
+ actions && /* @__PURE__ */ (0, import_jsx_runtime78.jsx)("div", { className: "mt-7 flex flex-wrap items-center gap-3", children: actions })
5930
6796
  ] }),
5931
- /* @__PURE__ */ (0, import_jsx_runtime74.jsx)("div", { className: cn("min-w-0", mediaPosition === "left" && "lg:order-1"), children: media })
6797
+ /* @__PURE__ */ (0, import_jsx_runtime78.jsx)("div", { className: cn("min-w-0", mediaPosition === "left" && "lg:order-1"), children: media })
5932
6798
  ]
5933
6799
  }
5934
6800
  );
5935
6801
  });
5936
6802
 
5937
6803
  // src/components/testimonial/Testimonial.tsx
5938
- var React75 = __toESM(require("react"));
5939
- var import_jsx_runtime75 = require("react/jsx-runtime");
6804
+ var React79 = __toESM(require("react"));
6805
+ var import_jsx_runtime79 = require("react/jsx-runtime");
5940
6806
  var quoteSizes = {
5941
6807
  sm: "text-base",
5942
6808
  md: "text-lg",
5943
6809
  lg: "text-xl sm:text-2xl"
5944
6810
  };
5945
- var Testimonial = React75.forwardRef(function Testimonial2({ quote, name, role, company, avatar, logo, variant = "card", size = "md", className, ...props }, ref) {
5946
- return /* @__PURE__ */ (0, import_jsx_runtime75.jsxs)(
6811
+ var Testimonial = React79.forwardRef(function Testimonial2({ quote, name, role, company, avatar, logo, variant = "card", size = "md", className, ...props }, ref) {
6812
+ return /* @__PURE__ */ (0, import_jsx_runtime79.jsxs)(
5947
6813
  "figure",
5948
6814
  {
5949
6815
  ref,
@@ -5954,17 +6820,17 @@ var Testimonial = React75.forwardRef(function Testimonial2({ quote, name, role,
5954
6820
  ),
5955
6821
  ...props,
5956
6822
  children: [
5957
- logo && /* @__PURE__ */ (0, import_jsx_runtime75.jsx)("div", { className: "flex items-center", children: logo }),
5958
- /* @__PURE__ */ (0, import_jsx_runtime75.jsx)("blockquote", { className: cn("flex-1 leading-relaxed", quoteSizes[size]), children: /* @__PURE__ */ (0, import_jsx_runtime75.jsxs)("p", { children: [
6823
+ logo && /* @__PURE__ */ (0, import_jsx_runtime79.jsx)("div", { className: "flex items-center", children: logo }),
6824
+ /* @__PURE__ */ (0, import_jsx_runtime79.jsx)("blockquote", { className: cn("flex-1 leading-relaxed", quoteSizes[size]), children: /* @__PURE__ */ (0, import_jsx_runtime79.jsxs)("p", { children: [
5959
6825
  "\u201C",
5960
6826
  quote,
5961
6827
  "\u201D"
5962
6828
  ] }) }),
5963
- /* @__PURE__ */ (0, import_jsx_runtime75.jsxs)("figcaption", { className: "flex items-center gap-3", children: [
5964
- avatar && /* @__PURE__ */ (0, import_jsx_runtime75.jsx)("div", { className: "shrink-0", children: avatar }),
5965
- /* @__PURE__ */ (0, import_jsx_runtime75.jsxs)("div", { className: "min-w-0", children: [
5966
- /* @__PURE__ */ (0, import_jsx_runtime75.jsx)("p", { className: "text-sm font-semibold", children: name }),
5967
- (role || company) && /* @__PURE__ */ (0, import_jsx_runtime75.jsx)("p", { className: "text-xs text-muted-foreground", children: [role, company].filter(Boolean).join(", ") })
6829
+ /* @__PURE__ */ (0, import_jsx_runtime79.jsxs)("figcaption", { className: "flex items-center gap-3", children: [
6830
+ avatar && /* @__PURE__ */ (0, import_jsx_runtime79.jsx)("div", { className: "shrink-0", children: avatar }),
6831
+ /* @__PURE__ */ (0, import_jsx_runtime79.jsxs)("div", { className: "min-w-0", children: [
6832
+ /* @__PURE__ */ (0, import_jsx_runtime79.jsx)("p", { className: "text-sm font-semibold", children: name }),
6833
+ (role || company) && /* @__PURE__ */ (0, import_jsx_runtime79.jsx)("p", { className: "text-xs text-muted-foreground", children: [role, company].filter(Boolean).join(", ") })
5968
6834
  ] })
5969
6835
  ] })
5970
6836
  ]
@@ -5973,23 +6839,23 @@ var Testimonial = React75.forwardRef(function Testimonial2({ quote, name, role,
5973
6839
  });
5974
6840
 
5975
6841
  // src/components/process-steps/ProcessSteps.tsx
5976
- var React76 = __toESM(require("react"));
5977
- var import_jsx_runtime76 = require("react/jsx-runtime");
6842
+ var React80 = __toESM(require("react"));
6843
+ var import_jsx_runtime80 = require("react/jsx-runtime");
5978
6844
  var columnClasses4 = {
5979
6845
  2: "sm:grid-cols-2",
5980
6846
  3: "sm:grid-cols-2 lg:grid-cols-3",
5981
6847
  4: "sm:grid-cols-2 lg:grid-cols-4"
5982
6848
  };
5983
- var ProcessSteps = React76.forwardRef(function ProcessSteps2({ steps, columns = 3, numbered = true, align = "left", className, ...props }, ref) {
5984
- return /* @__PURE__ */ (0, import_jsx_runtime76.jsx)("ol", { ref, className: cn("grid gap-8", columnClasses4[columns], className), ...props, children: steps.map((step, index) => /* @__PURE__ */ (0, import_jsx_runtime76.jsxs)(
6849
+ var ProcessSteps = React80.forwardRef(function ProcessSteps2({ steps, columns = 3, numbered = true, align = "left", className, ...props }, ref) {
6850
+ return /* @__PURE__ */ (0, import_jsx_runtime80.jsx)("ol", { ref, className: cn("grid gap-8", columnClasses4[columns], className), ...props, children: steps.map((step, index) => /* @__PURE__ */ (0, import_jsx_runtime80.jsxs)(
5985
6851
  "li",
5986
6852
  {
5987
6853
  className: cn("flex min-w-0 flex-col gap-4", align === "center" && "items-center text-center"),
5988
6854
  children: [
5989
- /* @__PURE__ */ (0, import_jsx_runtime76.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) }),
5990
- /* @__PURE__ */ (0, import_jsx_runtime76.jsxs)("div", { className: "min-w-0", children: [
5991
- /* @__PURE__ */ (0, import_jsx_runtime76.jsx)("h3", { className: "text-base font-semibold tracking-tight", children: step.title }),
5992
- step.description && /* @__PURE__ */ (0, import_jsx_runtime76.jsx)("p", { className: "mt-1 text-sm leading-relaxed text-muted-foreground", children: step.description })
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) }),
6856
+ /* @__PURE__ */ (0, import_jsx_runtime80.jsxs)("div", { className: "min-w-0", children: [
6857
+ /* @__PURE__ */ (0, import_jsx_runtime80.jsx)("h3", { className: "text-base font-semibold tracking-tight", children: step.title }),
6858
+ step.description && /* @__PURE__ */ (0, import_jsx_runtime80.jsx)("p", { className: "mt-1 text-sm leading-relaxed text-muted-foreground", children: step.description })
5993
6859
  ] })
5994
6860
  ]
5995
6861
  },
@@ -5998,9 +6864,9 @@ var ProcessSteps = React76.forwardRef(function ProcessSteps2({ steps, columns =
5998
6864
  });
5999
6865
 
6000
6866
  // src/components/article-card/ArticleCard.tsx
6001
- var React77 = __toESM(require("react"));
6002
- var import_jsx_runtime77 = require("react/jsx-runtime");
6003
- var ArticleCard = React77.forwardRef(function ArticleCard2({
6867
+ var React81 = __toESM(require("react"));
6868
+ var import_jsx_runtime81 = require("react/jsx-runtime");
6869
+ var ArticleCard = React81.forwardRef(function ArticleCard2({
6004
6870
  title,
6005
6871
  description,
6006
6872
  href,
@@ -6014,7 +6880,7 @@ var ArticleCard = React77.forwardRef(function ArticleCard2({
6014
6880
  }, ref) {
6015
6881
  const Link3 = linkComponent ?? "a";
6016
6882
  const compact = variant === "compact";
6017
- return /* @__PURE__ */ (0, import_jsx_runtime77.jsx)("article", { ref, className: cn("h-full", className), ...props, children: /* @__PURE__ */ (0, import_jsx_runtime77.jsxs)(
6883
+ return /* @__PURE__ */ (0, import_jsx_runtime81.jsx)("article", { ref, className: cn("h-full", className), ...props, children: /* @__PURE__ */ (0, import_jsx_runtime81.jsxs)(
6018
6884
  Link3,
6019
6885
  {
6020
6886
  href,
@@ -6023,12 +6889,12 @@ var ArticleCard = React77.forwardRef(function ArticleCard2({
6023
6889
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background"
6024
6890
  ),
6025
6891
  children: [
6026
- media && !compact && /* @__PURE__ */ (0, import_jsx_runtime77.jsx)("div", { className: "aspect-[16/10] w-full overflow-hidden bg-muted [&_img]:h-full [&_img]:w-full [&_img]:object-cover", children: media }),
6027
- /* @__PURE__ */ (0, import_jsx_runtime77.jsxs)("div", { className: cn("flex flex-1 flex-col gap-2", compact ? "p-4" : "p-5"), children: [
6028
- eyebrow && /* @__PURE__ */ (0, import_jsx_runtime77.jsx)("p", { className: "text-xs font-semibold uppercase tracking-widest text-primary", children: eyebrow }),
6029
- /* @__PURE__ */ (0, import_jsx_runtime77.jsx)("h3", { className: cn("font-semibold tracking-tight transition-colors group-hover:text-primary", compact ? "text-base" : "text-lg"), children: title }),
6030
- description && /* @__PURE__ */ (0, import_jsx_runtime77.jsx)("p", { className: "line-clamp-3 text-sm leading-relaxed text-muted-foreground", children: description }),
6031
- meta && /* @__PURE__ */ (0, import_jsx_runtime77.jsx)("div", { className: "mt-auto pt-2 text-xs text-muted-foreground", children: meta })
6892
+ media && !compact && /* @__PURE__ */ (0, import_jsx_runtime81.jsx)("div", { className: "aspect-[16/10] w-full overflow-hidden bg-muted [&_img]:h-full [&_img]:w-full [&_img]:object-cover", children: media }),
6893
+ /* @__PURE__ */ (0, import_jsx_runtime81.jsxs)("div", { className: cn("flex flex-1 flex-col gap-2", compact ? "p-4" : "p-5"), children: [
6894
+ eyebrow && /* @__PURE__ */ (0, import_jsx_runtime81.jsx)("p", { className: "text-xs font-semibold uppercase tracking-widest text-primary-ink", children: eyebrow }),
6895
+ /* @__PURE__ */ (0, import_jsx_runtime81.jsx)("h3", { className: cn("font-semibold tracking-tight transition-colors group-hover:text-primary-ink", compact ? "text-base" : "text-lg"), children: title }),
6896
+ description && /* @__PURE__ */ (0, import_jsx_runtime81.jsx)("p", { className: "line-clamp-3 text-sm leading-relaxed text-muted-foreground", children: description }),
6897
+ meta && /* @__PURE__ */ (0, import_jsx_runtime81.jsx)("div", { className: "mt-auto pt-2 text-xs text-muted-foreground", children: meta })
6032
6898
  ] })
6033
6899
  ]
6034
6900
  }
@@ -6036,9 +6902,9 @@ var ArticleCard = React77.forwardRef(function ArticleCard2({
6036
6902
  });
6037
6903
 
6038
6904
  // src/components/newsletter/Newsletter.tsx
6039
- var React78 = __toESM(require("react"));
6040
- var import_jsx_runtime78 = require("react/jsx-runtime");
6041
- var Newsletter = React78.forwardRef(function Newsletter2({
6905
+ var React82 = __toESM(require("react"));
6906
+ var import_jsx_runtime82 = require("react/jsx-runtime");
6907
+ var Newsletter = React82.forwardRef(function Newsletter2({
6042
6908
  title,
6043
6909
  description,
6044
6910
  placeholder = "you@example.com",
@@ -6053,9 +6919,9 @@ var Newsletter = React78.forwardRef(function Newsletter2({
6053
6919
  className,
6054
6920
  ...props
6055
6921
  }, ref) {
6056
- const id = React78.useId();
6057
- const [email, setEmail] = React78.useState("");
6058
- const [status, setStatus] = React78.useState("idle");
6922
+ const id = React82.useId();
6923
+ const [email, setEmail] = React82.useState("");
6924
+ const [status, setStatus] = React82.useState("idle");
6059
6925
  const Heading2 = `h${level}`;
6060
6926
  const handleSubmit = async (event) => {
6061
6927
  event.preventDefault();
@@ -6069,13 +6935,13 @@ var Newsletter = React78.forwardRef(function Newsletter2({
6069
6935
  setStatus("error");
6070
6936
  }
6071
6937
  };
6072
- return /* @__PURE__ */ (0, import_jsx_runtime78.jsxs)("div", { className: "w-full", children: [
6073
- /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(Heading2, { className: "text-2xl font-semibold tracking-tight", children: title }),
6074
- description && /* @__PURE__ */ (0, import_jsx_runtime78.jsx)("p", { className: "mt-2 max-w-2xl text-sm leading-relaxed text-muted-foreground", children: description }),
6075
- /* @__PURE__ */ (0, import_jsx_runtime78.jsxs)("form", { ref, onSubmit: handleSubmit, className: cn("mt-5", className), ...props, children: [
6076
- /* @__PURE__ */ (0, import_jsx_runtime78.jsxs)("div", { className: cn("flex gap-2", layout === "inline" ? "flex-col sm:flex-row" : "flex-col"), children: [
6077
- /* @__PURE__ */ (0, import_jsx_runtime78.jsx)("label", { htmlFor: id, className: "sr-only", children: label }),
6078
- /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(
6938
+ return /* @__PURE__ */ (0, import_jsx_runtime82.jsxs)("div", { className: "w-full", children: [
6939
+ /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(Heading2, { className: "text-2xl font-semibold tracking-tight", children: title }),
6940
+ description && /* @__PURE__ */ (0, import_jsx_runtime82.jsx)("p", { className: "mt-2 max-w-2xl text-sm leading-relaxed text-muted-foreground", children: description }),
6941
+ /* @__PURE__ */ (0, import_jsx_runtime82.jsxs)("form", { ref, onSubmit: handleSubmit, className: cn("mt-5", className), ...props, children: [
6942
+ /* @__PURE__ */ (0, import_jsx_runtime82.jsxs)("div", { className: cn("flex gap-2", layout === "inline" ? "flex-col sm:flex-row" : "flex-col"), children: [
6943
+ /* @__PURE__ */ (0, import_jsx_runtime82.jsx)("label", { htmlFor: id, className: "sr-only", children: label }),
6944
+ /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(
6079
6945
  Input,
6080
6946
  {
6081
6947
  id,
@@ -6090,44 +6956,44 @@ var Newsletter = React78.forwardRef(function Newsletter2({
6090
6956
  className: "sm:flex-1"
6091
6957
  }
6092
6958
  ),
6093
- /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(Button, { type: "submit", loading: status === "loading", className: "shrink-0", children: buttonLabel })
6959
+ /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(Button, { type: "submit", loading: status === "loading", className: "shrink-0", children: buttonLabel })
6094
6960
  ] }),
6095
- consent && /* @__PURE__ */ (0, import_jsx_runtime78.jsx)("div", { className: "mt-3 text-xs leading-relaxed text-muted-foreground", children: consent }),
6096
- /* @__PURE__ */ (0, import_jsx_runtime78.jsxs)("div", { "aria-live": "polite", className: "mt-2 min-h-5 text-sm", children: [
6097
- status === "success" && /* @__PURE__ */ (0, import_jsx_runtime78.jsx)("p", { className: "text-success", children: successMessage }),
6098
- status === "error" && /* @__PURE__ */ (0, import_jsx_runtime78.jsx)("p", { role: "alert", className: "text-destructive", children: errorMessage })
6961
+ consent && /* @__PURE__ */ (0, import_jsx_runtime82.jsx)("div", { className: "mt-3 text-xs leading-relaxed text-muted-foreground", children: consent }),
6962
+ /* @__PURE__ */ (0, import_jsx_runtime82.jsxs)("div", { "aria-live": "polite", className: "mt-2 min-h-5 text-sm", children: [
6963
+ status === "success" && /* @__PURE__ */ (0, import_jsx_runtime82.jsx)("p", { className: "text-success", children: successMessage }),
6964
+ status === "error" && /* @__PURE__ */ (0, import_jsx_runtime82.jsx)("p", { role: "alert", className: "text-destructive", children: errorMessage })
6099
6965
  ] })
6100
6966
  ] })
6101
6967
  ] });
6102
6968
  });
6103
6969
 
6104
6970
  // src/components/contact-strip/ContactStrip.tsx
6105
- var React79 = __toESM(require("react"));
6106
- var import_jsx_runtime79 = require("react/jsx-runtime");
6971
+ var React83 = __toESM(require("react"));
6972
+ var import_jsx_runtime83 = require("react/jsx-runtime");
6107
6973
  var columnClasses5 = {
6108
6974
  2: "sm:grid-cols-2",
6109
6975
  3: "sm:grid-cols-3"
6110
6976
  };
6111
- var ContactStrip = React79.forwardRef(function ContactStrip2({ items, columns = 2, align = "left", linkComponent, className, ...props }, ref) {
6977
+ var ContactStrip = React83.forwardRef(function ContactStrip2({ items, columns = 2, align = "left", linkComponent, className, ...props }, ref) {
6112
6978
  const Link3 = linkComponent ?? "a";
6113
- return /* @__PURE__ */ (0, import_jsx_runtime79.jsx)("ul", { ref, className: cn("grid gap-6", columnClasses5[columns], className), ...props, children: items.map((item) => /* @__PURE__ */ (0, import_jsx_runtime79.jsxs)("li", { className: cn("flex min-w-0 items-start gap-3", align === "center" && "justify-center text-center"), children: [
6114
- item.icon && /* @__PURE__ */ (0, import_jsx_runtime79.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 }),
6115
- /* @__PURE__ */ (0, import_jsx_runtime79.jsxs)("div", { className: "min-w-0", children: [
6116
- /* @__PURE__ */ (0, import_jsx_runtime79.jsx)("p", { className: "text-xs font-semibold uppercase tracking-wider text-muted-foreground", children: item.label }),
6117
- item.href ? /* @__PURE__ */ (0, import_jsx_runtime79.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_runtime79.jsx)("p", { className: "mt-0.5 break-words text-sm font-medium", children: item.value })
6979
+ 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 }),
6981
+ /* @__PURE__ */ (0, import_jsx_runtime83.jsxs)("div", { className: "min-w-0", children: [
6982
+ /* @__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 })
6118
6984
  ] })
6119
6985
  ] }, item.label)) });
6120
6986
  });
6121
6987
 
6122
6988
  // src/components/announcement-bar/AnnouncementBar.tsx
6123
- var React80 = __toESM(require("react"));
6124
- var import_jsx_runtime80 = require("react/jsx-runtime");
6989
+ var React84 = __toESM(require("react"));
6990
+ var import_jsx_runtime84 = require("react/jsx-runtime");
6125
6991
  var toneClasses3 = {
6126
6992
  muted: "bg-muted text-foreground",
6127
6993
  brand: "bg-primary text-primary-foreground",
6128
6994
  inverse: "bg-inverse text-inverse-foreground"
6129
6995
  };
6130
- var AnnouncementBar = React80.forwardRef(
6996
+ var AnnouncementBar = React84.forwardRef(
6131
6997
  function AnnouncementBar2({
6132
6998
  message,
6133
6999
  href,
@@ -6140,14 +7006,14 @@ var AnnouncementBar = React80.forwardRef(
6140
7006
  className,
6141
7007
  ...props
6142
7008
  }, ref) {
6143
- const [dismissed, setDismissed] = React80.useState(false);
7009
+ const [dismissed, setDismissed] = React84.useState(false);
6144
7010
  const Link3 = linkComponent ?? "a";
6145
7011
  if (dismissed) return null;
6146
7012
  const dismiss2 = () => {
6147
7013
  setDismissed(true);
6148
7014
  onDismiss?.();
6149
7015
  };
6150
- return /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(
7016
+ return /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(
6151
7017
  "div",
6152
7018
  {
6153
7019
  ref,
@@ -6160,9 +7026,9 @@ var AnnouncementBar = React80.forwardRef(
6160
7026
  className
6161
7027
  ),
6162
7028
  ...props,
6163
- children: /* @__PURE__ */ (0, import_jsx_runtime80.jsxs)("div", { className: "mx-auto flex w-full max-w-7xl items-center justify-center gap-3 px-4 py-2 text-sm sm:px-6", children: [
6164
- /* @__PURE__ */ (0, import_jsx_runtime80.jsx)("p", { className: "min-w-0 text-center", children: message }),
6165
- href && actionLabel && /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(
7029
+ children: /* @__PURE__ */ (0, import_jsx_runtime84.jsxs)("div", { className: "mx-auto flex w-full max-w-7xl items-center justify-center gap-3 px-4 py-2 text-sm sm:px-6", children: [
7030
+ /* @__PURE__ */ (0, import_jsx_runtime84.jsx)("p", { className: "min-w-0 text-center", children: message }),
7031
+ href && actionLabel && /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(
6166
7032
  Link3,
6167
7033
  {
6168
7034
  href,
@@ -6170,14 +7036,14 @@ var AnnouncementBar = React80.forwardRef(
6170
7036
  children: actionLabel
6171
7037
  }
6172
7038
  ),
6173
- dismissible && /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(
7039
+ dismissible && /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(
6174
7040
  "button",
6175
7041
  {
6176
7042
  type: "button",
6177
7043
  onClick: dismiss2,
6178
7044
  "aria-label": "Dismiss announcement",
6179
7045
  className: "shrink-0 rounded p-1 opacity-70 transition-opacity hover:opacity-100 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-current",
6180
- children: /* @__PURE__ */ (0, import_jsx_runtime80.jsx)("svg", { "aria-hidden": "true", viewBox: "0 0 20 20", className: "h-4 w-4", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", children: /* @__PURE__ */ (0, import_jsx_runtime80.jsx)("path", { d: "m5 5 10 10M15 5 5 15" }) })
7046
+ children: /* @__PURE__ */ (0, import_jsx_runtime84.jsx)("svg", { "aria-hidden": "true", viewBox: "0 0 20 20", className: "h-4 w-4", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", children: /* @__PURE__ */ (0, import_jsx_runtime84.jsx)("path", { d: "m5 5 10 10M15 5 5 15" }) })
6181
7047
  }
6182
7048
  )
6183
7049
  ] })
@@ -6187,15 +7053,15 @@ var AnnouncementBar = React80.forwardRef(
6187
7053
  );
6188
7054
 
6189
7055
  // src/components/deal-card/DealCard.tsx
6190
- var React81 = __toESM(require("react"));
6191
- var import_jsx_runtime81 = require("react/jsx-runtime");
7056
+ var React85 = __toESM(require("react"));
7057
+ var import_jsx_runtime85 = require("react/jsx-runtime");
6192
7058
  var statusConfig = {
6193
7059
  available: { label: "Available", variant: "success" },
6194
7060
  "under-nda": { label: "Under NDA", variant: "info" },
6195
7061
  closed: { label: "Closed", variant: "secondary" },
6196
7062
  draft: { label: "Draft", variant: "outline" }
6197
7063
  };
6198
- var DealCard = React81.forwardRef(function DealCard2({
7064
+ var DealCard = React85.forwardRef(function DealCard2({
6199
7065
  title,
6200
7066
  sector,
6201
7067
  location,
@@ -6216,29 +7082,29 @@ var DealCard = React81.forwardRef(function DealCard2({
6216
7082
  }, ref) {
6217
7083
  const Link3 = linkComponent ?? "a";
6218
7084
  const statusInfo = statusConfig[status];
6219
- return /* @__PURE__ */ (0, import_jsx_runtime81.jsxs)(Card, { ref, className: cn("flex h-full flex-col overflow-hidden", className), ...props, children: [
6220
- /* @__PURE__ */ (0, import_jsx_runtime81.jsxs)(CardHeader, { className: "gap-2 p-5 pb-3", children: [
6221
- /* @__PURE__ */ (0, import_jsx_runtime81.jsxs)("div", { className: "flex items-start justify-between gap-2", children: [
6222
- /* @__PURE__ */ (0, import_jsx_runtime81.jsx)("p", { className: "text-xs font-semibold uppercase tracking-widest text-primary", children: sector }),
6223
- /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(Badge, { variant: statusInfo.variant, children: statusInfo.label })
7085
+ return /* @__PURE__ */ (0, import_jsx_runtime85.jsxs)(Card, { ref, className: cn("flex h-full flex-col overflow-hidden", className), ...props, children: [
7086
+ /* @__PURE__ */ (0, import_jsx_runtime85.jsxs)(CardHeader, { className: "gap-2 p-5 pb-3", children: [
7087
+ /* @__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 }),
7089
+ /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(Badge, { variant: statusInfo.variant, children: statusInfo.label })
6224
7090
  ] }),
6225
- /* @__PURE__ */ (0, import_jsx_runtime81.jsx)("h3", { className: "text-lg font-semibold leading-snug tracking-tight", children: href ? /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(Link3, { href, className: "rounded-sm hover:text-primary focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring", children: title }) : title }),
6226
- location && /* @__PURE__ */ (0, import_jsx_runtime81.jsx)("p", { className: "text-xs text-muted-foreground", children: location })
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 }),
7092
+ location && /* @__PURE__ */ (0, import_jsx_runtime85.jsx)("p", { className: "text-xs text-muted-foreground", children: location })
6227
7093
  ] }),
6228
- /* @__PURE__ */ (0, import_jsx_runtime81.jsxs)(CardContent, { className: "flex-1 px-5 pb-3", children: [
6229
- description && /* @__PURE__ */ (0, import_jsx_runtime81.jsx)("p", { className: "line-clamp-2 text-sm leading-relaxed text-muted-foreground", children: description }),
6230
- /* @__PURE__ */ (0, import_jsx_runtime81.jsx)("dl", { className: "mt-4 grid grid-cols-3 gap-3", children: metrics.map((metric) => /* @__PURE__ */ (0, import_jsx_runtime81.jsxs)("div", { className: "min-w-0", children: [
6231
- /* @__PURE__ */ (0, import_jsx_runtime81.jsx)("dt", { className: "text-xs text-muted-foreground", children: metric.label }),
6232
- /* @__PURE__ */ (0, import_jsx_runtime81.jsx)("dd", { className: "mt-0.5 truncate text-sm font-semibold tabular-nums", children: metric.value })
7094
+ /* @__PURE__ */ (0, import_jsx_runtime85.jsxs)(CardContent, { className: "flex-1 px-5 pb-3", children: [
7095
+ description && /* @__PURE__ */ (0, import_jsx_runtime85.jsx)("p", { className: "line-clamp-2 text-sm leading-relaxed text-muted-foreground", children: description }),
7096
+ /* @__PURE__ */ (0, import_jsx_runtime85.jsx)("dl", { className: "mt-4 grid grid-cols-3 gap-3", children: metrics.map((metric) => /* @__PURE__ */ (0, import_jsx_runtime85.jsxs)("div", { className: "min-w-0", children: [
7097
+ /* @__PURE__ */ (0, import_jsx_runtime85.jsx)("dt", { className: "text-xs text-muted-foreground", children: metric.label }),
7098
+ /* @__PURE__ */ (0, import_jsx_runtime85.jsx)("dd", { className: "mt-0.5 truncate text-sm font-semibold tabular-nums", children: metric.value })
6233
7099
  ] }, metric.label)) }),
6234
- (ndaAvailable || cimAvailable) && /* @__PURE__ */ (0, import_jsx_runtime81.jsxs)("div", { className: "mt-4 flex flex-wrap gap-1.5", children: [
6235
- ndaAvailable && /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(Badge, { variant: "info", children: "NDA available" }),
6236
- cimAvailable && /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(Badge, { variant: "secondary", children: "CIM available" })
7100
+ (ndaAvailable || cimAvailable) && /* @__PURE__ */ (0, import_jsx_runtime85.jsxs)("div", { className: "mt-4 flex flex-wrap gap-1.5", children: [
7101
+ ndaAvailable && /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(Badge, { variant: "info", children: "NDA available" }),
7102
+ cimAvailable && /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(Badge, { variant: "secondary", children: "CIM available" })
6237
7103
  ] })
6238
7104
  ] }),
6239
- /* @__PURE__ */ (0, import_jsx_runtime81.jsxs)(CardFooter, { className: "flex flex-wrap items-center gap-2 border-t border-border px-5 py-3", children: [
6240
- onRequestAccess && /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(Button, { type: "button", size: "sm", onClick: onRequestAccess, children: requestLabel }),
6241
- onSave && /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(
7105
+ /* @__PURE__ */ (0, import_jsx_runtime85.jsxs)(CardFooter, { className: "flex flex-wrap items-center gap-2 border-t border-border px-5 py-3", children: [
7106
+ onRequestAccess && /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(Button, { type: "button", size: "sm", onClick: onRequestAccess, children: requestLabel }),
7107
+ onSave && /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(
6242
7108
  Button,
6243
7109
  {
6244
7110
  type: "button",
@@ -6255,12 +7121,12 @@ var DealCard = React81.forwardRef(function DealCard2({
6255
7121
  });
6256
7122
 
6257
7123
  // src/components/entity-card/EntityCard.tsx
6258
- var React82 = __toESM(require("react"));
6259
- var import_jsx_runtime82 = require("react/jsx-runtime");
7124
+ var React86 = __toESM(require("react"));
7125
+ var import_jsx_runtime86 = require("react/jsx-runtime");
6260
7126
  function initials(name) {
6261
7127
  return name.split(/\s+/).filter(Boolean).slice(0, 2).map((part) => part[0]?.toUpperCase() ?? "").join("");
6262
7128
  }
6263
- var EntityCard = React82.forwardRef(function EntityCard2({
7129
+ var EntityCard = React86.forwardRef(function EntityCard2({
6264
7130
  name,
6265
7131
  entityType,
6266
7132
  location,
@@ -6275,25 +7141,25 @@ var EntityCard = React82.forwardRef(function EntityCard2({
6275
7141
  ...props
6276
7142
  }, ref) {
6277
7143
  const Link3 = linkComponent ?? "a";
6278
- return /* @__PURE__ */ (0, import_jsx_runtime82.jsxs)(Card, { ref, className: cn("flex h-full flex-col", className), ...props, children: [
6279
- /* @__PURE__ */ (0, import_jsx_runtime82.jsxs)(CardHeader, { className: "flex-row items-start gap-3 p-5 pb-3", children: [
6280
- /* @__PURE__ */ (0, import_jsx_runtime82.jsx)("div", { className: "shrink-0", children: logo ?? /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(Avatar, { children: /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(AvatarFallback, { children: initials(name) }) }) }),
6281
- /* @__PURE__ */ (0, import_jsx_runtime82.jsxs)("div", { className: "min-w-0 flex-1", children: [
6282
- /* @__PURE__ */ (0, import_jsx_runtime82.jsx)("h3", { className: "truncate text-base font-semibold tracking-tight", children: href ? /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(Link3, { href, className: "rounded-sm hover:text-primary focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring", children: name }) : name }),
6283
- /* @__PURE__ */ (0, import_jsx_runtime82.jsx)("p", { className: "mt-0.5 truncate text-xs text-muted-foreground", children: entityType }),
6284
- location && /* @__PURE__ */ (0, import_jsx_runtime82.jsx)("p", { className: "mt-0.5 truncate text-xs text-muted-foreground", children: location })
7144
+ return /* @__PURE__ */ (0, import_jsx_runtime86.jsxs)(Card, { ref, className: cn("flex h-full flex-col", className), ...props, children: [
7145
+ /* @__PURE__ */ (0, import_jsx_runtime86.jsxs)(CardHeader, { className: "flex-row items-start gap-3 p-5 pb-3", children: [
7146
+ /* @__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
+ /* @__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 }),
7149
+ /* @__PURE__ */ (0, import_jsx_runtime86.jsx)("p", { className: "mt-0.5 truncate text-xs text-muted-foreground", children: entityType }),
7150
+ location && /* @__PURE__ */ (0, import_jsx_runtime86.jsx)("p", { className: "mt-0.5 truncate text-xs text-muted-foreground", children: location })
6285
7151
  ] })
6286
7152
  ] }),
6287
- /* @__PURE__ */ (0, import_jsx_runtime82.jsxs)(CardContent, { className: "flex-1 px-5 pb-3", children: [
6288
- description && /* @__PURE__ */ (0, import_jsx_runtime82.jsx)("p", { className: "line-clamp-3 text-sm leading-relaxed text-muted-foreground", children: description }),
6289
- tags && tags.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime82.jsx)("div", { className: "mt-3 flex flex-wrap gap-1.5", children: tags.map((tag) => /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(Badge, { variant: "secondary", children: tag }, tag)) }),
6290
- stats && stats.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime82.jsx)("dl", { className: "mt-4 grid grid-cols-2 gap-3", children: stats.map((stat) => /* @__PURE__ */ (0, import_jsx_runtime82.jsxs)("div", { className: "min-w-0", children: [
6291
- /* @__PURE__ */ (0, import_jsx_runtime82.jsx)("dt", { className: "text-xs text-muted-foreground", children: stat.label }),
6292
- /* @__PURE__ */ (0, import_jsx_runtime82.jsx)("dd", { className: "mt-0.5 truncate text-sm font-semibold tabular-nums", children: stat.value })
7153
+ /* @__PURE__ */ (0, import_jsx_runtime86.jsxs)(CardContent, { className: "flex-1 px-5 pb-3", children: [
7154
+ description && /* @__PURE__ */ (0, import_jsx_runtime86.jsx)("p", { className: "line-clamp-3 text-sm leading-relaxed text-muted-foreground", children: description }),
7155
+ tags && tags.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime86.jsx)("div", { className: "mt-3 flex flex-wrap gap-1.5", children: tags.map((tag) => /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(Badge, { variant: "secondary", children: tag }, tag)) }),
7156
+ stats && stats.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime86.jsx)("dl", { className: "mt-4 grid grid-cols-2 gap-3", children: stats.map((stat) => /* @__PURE__ */ (0, import_jsx_runtime86.jsxs)("div", { className: "min-w-0", children: [
7157
+ /* @__PURE__ */ (0, import_jsx_runtime86.jsx)("dt", { className: "text-xs text-muted-foreground", children: stat.label }),
7158
+ /* @__PURE__ */ (0, import_jsx_runtime86.jsx)("dd", { className: "mt-0.5 truncate text-sm font-semibold tabular-nums", children: stat.value })
6293
7159
  ] }, stat.label)) })
6294
7160
  ] }),
6295
- (href || actions) && /* @__PURE__ */ (0, import_jsx_runtime82.jsxs)(CardFooter, { className: "flex flex-wrap items-center gap-2 border-t border-border px-5 py-3", children: [
6296
- href && /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(
7161
+ (href || actions) && /* @__PURE__ */ (0, import_jsx_runtime86.jsxs)(CardFooter, { className: "flex flex-wrap items-center gap-2 border-t border-border px-5 py-3", children: [
7162
+ href && /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(
6297
7163
  Link3,
6298
7164
  {
6299
7165
  href,
@@ -6301,21 +7167,21 @@ var EntityCard = React82.forwardRef(function EntityCard2({
6301
7167
  children: "View profile"
6302
7168
  }
6303
7169
  ),
6304
- actions && /* @__PURE__ */ (0, import_jsx_runtime82.jsx)("div", { className: "ml-auto flex items-center gap-2", children: actions })
7170
+ actions && /* @__PURE__ */ (0, import_jsx_runtime86.jsx)("div", { className: "ml-auto flex items-center gap-2", children: actions })
6305
7171
  ] })
6306
7172
  ] });
6307
7173
  });
6308
7174
  var ProfileCard = EntityCard;
6309
7175
 
6310
7176
  // src/components/tombstone-card/TombstoneCard.tsx
6311
- var React83 = __toESM(require("react"));
6312
- var import_jsx_runtime83 = require("react/jsx-runtime");
7177
+ var React87 = __toESM(require("react"));
7178
+ var import_jsx_runtime87 = require("react/jsx-runtime");
6313
7179
  var statusConfig2 = {
6314
7180
  archived: { label: "Archived", variant: "secondary" },
6315
7181
  unavailable: { label: "Unavailable", variant: "warning" },
6316
7182
  closed: { label: "Closed", variant: "outline" }
6317
7183
  };
6318
- var TombstoneCard = React83.forwardRef(function TombstoneCard2({
7184
+ var TombstoneCard = React87.forwardRef(function TombstoneCard2({
6319
7185
  title,
6320
7186
  reason,
6321
7187
  status = "unavailable",
@@ -6328,20 +7194,20 @@ var TombstoneCard = React83.forwardRef(function TombstoneCard2({
6328
7194
  }, ref) {
6329
7195
  const Link3 = linkComponent ?? "a";
6330
7196
  const statusInfo = statusConfig2[status];
6331
- return /* @__PURE__ */ (0, import_jsx_runtime83.jsx)(
7197
+ return /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(
6332
7198
  Card,
6333
7199
  {
6334
7200
  ref,
6335
7201
  className: cn("flex h-full flex-col border-dashed bg-muted/30 shadow-none", className),
6336
7202
  ...props,
6337
- children: /* @__PURE__ */ (0, import_jsx_runtime83.jsxs)(CardContent, { className: "flex flex-1 flex-col gap-3 p-5", children: [
6338
- /* @__PURE__ */ (0, import_jsx_runtime83.jsxs)("div", { className: "flex items-start justify-between gap-2", children: [
6339
- logo && /* @__PURE__ */ (0, import_jsx_runtime83.jsx)("div", { className: "min-w-0 opacity-70", children: logo }),
6340
- /* @__PURE__ */ (0, import_jsx_runtime83.jsx)(Badge, { variant: statusInfo.variant, children: statusInfo.label })
7203
+ children: /* @__PURE__ */ (0, import_jsx_runtime87.jsxs)(CardContent, { className: "flex flex-1 flex-col gap-3 p-5", children: [
7204
+ /* @__PURE__ */ (0, import_jsx_runtime87.jsxs)("div", { className: "flex items-start justify-between gap-2", children: [
7205
+ logo && /* @__PURE__ */ (0, import_jsx_runtime87.jsx)("div", { className: "min-w-0 opacity-70", children: logo }),
7206
+ /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(Badge, { variant: statusInfo.variant, children: statusInfo.label })
6341
7207
  ] }),
6342
- /* @__PURE__ */ (0, import_jsx_runtime83.jsx)("h3", { className: "text-base font-semibold tracking-tight text-foreground/80", children: title }),
6343
- reason && /* @__PURE__ */ (0, import_jsx_runtime83.jsx)("p", { className: "text-sm leading-relaxed text-muted-foreground", children: reason }),
6344
- href && /* @__PURE__ */ (0, import_jsx_runtime83.jsx)(
7208
+ /* @__PURE__ */ (0, import_jsx_runtime87.jsx)("h3", { className: "text-base font-semibold tracking-tight text-foreground/80", children: title }),
7209
+ reason && /* @__PURE__ */ (0, import_jsx_runtime87.jsx)("p", { className: "text-sm leading-relaxed text-muted-foreground", children: reason }),
7210
+ href && /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(
6345
7211
  Link3,
6346
7212
  {
6347
7213
  href,
@@ -6355,14 +7221,14 @@ var TombstoneCard = React83.forwardRef(function TombstoneCard2({
6355
7221
  });
6356
7222
 
6357
7223
  // src/components/document-card/DocumentCard.tsx
6358
- var React84 = __toESM(require("react"));
6359
- var import_jsx_runtime84 = require("react/jsx-runtime");
7224
+ var React88 = __toESM(require("react"));
7225
+ var import_jsx_runtime88 = require("react/jsx-runtime");
6360
7226
  var statusConfig3 = {
6361
7227
  available: { label: "Available", variant: "success" },
6362
7228
  restricted: { label: "Restricted", variant: "warning" },
6363
7229
  pending: { label: "Pending", variant: "info" }
6364
7230
  };
6365
- var DocumentCard = React84.forwardRef(function DocumentCard2({
7231
+ var DocumentCard = React88.forwardRef(function DocumentCard2({
6366
7232
  name,
6367
7233
  fileType,
6368
7234
  size,
@@ -6376,14 +7242,14 @@ var DocumentCard = React84.forwardRef(function DocumentCard2({
6376
7242
  }, ref) {
6377
7243
  const statusInfo = statusConfig3[status];
6378
7244
  const meta = [fileType, size, updatedAt].filter(Boolean).join(" \xB7 ");
6379
- return /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(Card, { ref, className: cn("w-full", className), ...props, children: /* @__PURE__ */ (0, import_jsx_runtime84.jsxs)(CardContent, { className: "flex items-center gap-3 p-4", children: [
6380
- /* @__PURE__ */ (0, import_jsx_runtime84.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_runtime84.jsx)("span", { className: "text-[10px] font-bold uppercase tracking-wide", children: fileType }) }),
6381
- /* @__PURE__ */ (0, import_jsx_runtime84.jsxs)("div", { className: "min-w-0 flex-1", children: [
6382
- /* @__PURE__ */ (0, import_jsx_runtime84.jsx)("p", { className: "truncate text-sm font-medium", children: name }),
6383
- meta && /* @__PURE__ */ (0, import_jsx_runtime84.jsx)("p", { className: "mt-0.5 truncate text-xs text-muted-foreground", children: meta })
7245
+ 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 }) }),
7247
+ /* @__PURE__ */ (0, import_jsx_runtime88.jsxs)("div", { className: "min-w-0 flex-1", children: [
7248
+ /* @__PURE__ */ (0, import_jsx_runtime88.jsx)("p", { className: "truncate text-sm font-medium", children: name }),
7249
+ meta && /* @__PURE__ */ (0, import_jsx_runtime88.jsx)("p", { className: "mt-0.5 truncate text-xs text-muted-foreground", children: meta })
6384
7250
  ] }),
6385
- /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(Badge, { variant: statusInfo.variant, children: statusInfo.label }),
6386
- onDownload && /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(
7251
+ /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(Badge, { variant: statusInfo.variant, children: statusInfo.label }),
7252
+ onDownload && /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(
6387
7253
  Button,
6388
7254
  {
6389
7255
  type: "button",
@@ -6399,9 +7265,9 @@ var DocumentCard = React84.forwardRef(function DocumentCard2({
6399
7265
  });
6400
7266
 
6401
7267
  // src/components/load-more/LoadMore.tsx
6402
- var React85 = __toESM(require("react"));
6403
- var import_jsx_runtime85 = require("react/jsx-runtime");
6404
- var LoadMore = React85.forwardRef(function LoadMore2({
7268
+ var React89 = __toESM(require("react"));
7269
+ var import_jsx_runtime89 = require("react/jsx-runtime");
7270
+ var LoadMore = React89.forwardRef(function LoadMore2({
6405
7271
  hasMore,
6406
7272
  onLoadMore,
6407
7273
  loading = false,
@@ -6411,18 +7277,18 @@ var LoadMore = React85.forwardRef(function LoadMore2({
6411
7277
  className,
6412
7278
  ...props
6413
7279
  }, ref) {
6414
- return /* @__PURE__ */ (0, import_jsx_runtime85.jsx)("div", { ref, "aria-live": "polite", className: cn("flex w-full justify-center py-4", className), ...props, children: hasMore ? /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(Button, { type: "button", variant: "outline", onClick: onLoadMore, loading, children: loading ? loadingLabel : loadLabel }) : /* @__PURE__ */ (0, import_jsx_runtime85.jsx)("p", { role: "status", className: "text-sm text-muted-foreground", children: endLabel }) });
7280
+ return /* @__PURE__ */ (0, import_jsx_runtime89.jsx)("div", { ref, "aria-live": "polite", className: cn("flex w-full justify-center py-4", className), ...props, children: hasMore ? /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(Button, { type: "button", variant: "outline", onClick: onLoadMore, loading, children: loading ? loadingLabel : loadLabel }) : /* @__PURE__ */ (0, import_jsx_runtime89.jsx)("p", { role: "status", className: "text-sm text-muted-foreground", children: endLabel }) });
6415
7281
  });
6416
7282
 
6417
7283
  // src/components/segmented-control/SegmentedControl.tsx
6418
- var React86 = __toESM(require("react"));
6419
- var import_jsx_runtime86 = require("react/jsx-runtime");
7284
+ var React90 = __toESM(require("react"));
7285
+ var import_jsx_runtime90 = require("react/jsx-runtime");
6420
7286
  var sizeClasses10 = {
6421
7287
  sm: "h-8 px-2.5 text-xs",
6422
7288
  md: "h-9 px-3 text-sm",
6423
7289
  lg: "h-10 px-4 text-sm"
6424
7290
  };
6425
- var SegmentedControl = React86.forwardRef(
7291
+ var SegmentedControl = React90.forwardRef(
6426
7292
  function SegmentedControl2({
6427
7293
  options,
6428
7294
  value,
@@ -6436,12 +7302,12 @@ var SegmentedControl = React86.forwardRef(
6436
7302
  ...props
6437
7303
  }, ref) {
6438
7304
  const isControlled = value !== void 0;
6439
- const [internal, setInternal] = React86.useState(
7305
+ const [internal, setInternal] = React90.useState(
6440
7306
  () => multiple ? Array.isArray(defaultValue) ? defaultValue : [] : typeof defaultValue === "string" ? defaultValue : ""
6441
7307
  );
6442
7308
  const current = isControlled ? value : internal;
6443
7309
  const selected = multiple ? Array.isArray(current) ? current : [] : typeof current === "string" ? current : "";
6444
- const refs = React86.useRef([]);
7310
+ const refs = React90.useRef([]);
6445
7311
  const commit = (next) => {
6446
7312
  if (!isControlled) setInternal(next);
6447
7313
  onValueChange?.(next);
@@ -6491,7 +7357,7 @@ var SegmentedControl = React86.forwardRef(
6491
7357
  moveFocus("last");
6492
7358
  }
6493
7359
  };
6494
- return /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(
7360
+ return /* @__PURE__ */ (0, import_jsx_runtime90.jsx)(
6495
7361
  "div",
6496
7362
  {
6497
7363
  ref,
@@ -6507,7 +7373,7 @@ var SegmentedControl = React86.forwardRef(
6507
7373
  const active = multiple ? Array.isArray(selected) && selected.includes(option.value) : selected === option.value;
6508
7374
  const firstEnabled = options.findIndex((entry) => !entry.disabled);
6509
7375
  const focusable = multiple || active || !selected && index === firstEnabled;
6510
- return /* @__PURE__ */ (0, import_jsx_runtime86.jsxs)(
7376
+ return /* @__PURE__ */ (0, import_jsx_runtime90.jsxs)(
6511
7377
  "button",
6512
7378
  {
6513
7379
  ref: (node) => {
@@ -6530,8 +7396,8 @@ var SegmentedControl = React86.forwardRef(
6530
7396
  active ? "bg-background text-foreground shadow-sm" : "text-muted-foreground hover:text-foreground"
6531
7397
  ),
6532
7398
  children: [
6533
- option.icon && /* @__PURE__ */ (0, import_jsx_runtime86.jsx)("span", { className: "shrink-0 [&_svg]:size-4", children: option.icon }),
6534
- /* @__PURE__ */ (0, import_jsx_runtime86.jsx)("span", { className: "truncate", children: option.label })
7399
+ option.icon && /* @__PURE__ */ (0, import_jsx_runtime90.jsx)("span", { className: "shrink-0 [&_svg]:size-4", children: option.icon }),
7400
+ /* @__PURE__ */ (0, import_jsx_runtime90.jsx)("span", { className: "truncate", children: option.label })
6535
7401
  ]
6536
7402
  },
6537
7403
  option.value
@@ -6543,8 +7409,8 @@ var SegmentedControl = React86.forwardRef(
6543
7409
  );
6544
7410
 
6545
7411
  // src/components/range-slider/RangeSlider.tsx
6546
- var React87 = __toESM(require("react"));
6547
- var import_jsx_runtime87 = require("react/jsx-runtime");
7412
+ var React91 = __toESM(require("react"));
7413
+ var import_jsx_runtime91 = require("react/jsx-runtime");
6548
7414
  var rangeInputClass = cn(
6549
7415
  "pointer-events-none absolute inset-x-0 top-1/2 h-6 w-full -translate-y-1/2 appearance-none bg-transparent",
6550
7416
  "[&::-webkit-slider-runnable-track]:h-1 [&::-webkit-slider-runnable-track]:rounded-full [&::-webkit-slider-runnable-track]:bg-transparent",
@@ -6554,7 +7420,7 @@ var rangeInputClass = cn(
6554
7420
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background",
6555
7421
  "disabled:cursor-not-allowed disabled:opacity-50"
6556
7422
  );
6557
- var RangeSlider = React87.forwardRef(function RangeSlider2({
7423
+ var RangeSlider = React91.forwardRef(function RangeSlider2({
6558
7424
  value,
6559
7425
  defaultValue,
6560
7426
  onValueChange,
@@ -6569,14 +7435,14 @@ var RangeSlider = React87.forwardRef(function RangeSlider2({
6569
7435
  className,
6570
7436
  ...props
6571
7437
  }, ref) {
6572
- const clamp = (entry) => Math.min(Math.max(entry, min), max);
6573
- const [internal, setInternal] = React87.useState(() => {
7438
+ const clamp2 = (entry) => Math.min(Math.max(entry, min), max);
7439
+ const [internal, setInternal] = React91.useState(() => {
6574
7440
  const initial = defaultValue ?? [min, max];
6575
- return [clamp(initial[0]), clamp(initial[1])];
7441
+ return [clamp2(initial[0]), clamp2(initial[1])];
6576
7442
  });
6577
7443
  const current = value ?? internal;
6578
- const low = Math.min(clamp(current[0]), clamp(current[1]));
6579
- const high = Math.max(clamp(current[0]), clamp(current[1]));
7444
+ const low = Math.min(clamp2(current[0]), clamp2(current[1]));
7445
+ const high = Math.max(clamp2(current[0]), clamp2(current[1]));
6580
7446
  const commit = (next) => {
6581
7447
  if (value === void 0) setInternal(next);
6582
7448
  onValueChange?.(next);
@@ -6584,21 +7450,21 @@ var RangeSlider = React87.forwardRef(function RangeSlider2({
6584
7450
  const span = max - min || 1;
6585
7451
  const lowPercent = (low - min) / span * 100;
6586
7452
  const highPercent = (high - min) / span * 100;
6587
- return /* @__PURE__ */ (0, import_jsx_runtime87.jsxs)("div", { ref, className: cn("w-full", className), ...props, children: [
6588
- showValues && /* @__PURE__ */ (0, import_jsx_runtime87.jsxs)("div", { className: "mb-2 flex items-center justify-between text-sm font-medium tabular-nums", children: [
6589
- /* @__PURE__ */ (0, import_jsx_runtime87.jsx)("span", { children: formatValue(low) }),
6590
- /* @__PURE__ */ (0, import_jsx_runtime87.jsx)("span", { children: formatValue(high) })
7453
+ return /* @__PURE__ */ (0, import_jsx_runtime91.jsxs)("div", { ref, className: cn("w-full", className), ...props, children: [
7454
+ showValues && /* @__PURE__ */ (0, import_jsx_runtime91.jsxs)("div", { className: "mb-2 flex items-center justify-between text-sm font-medium tabular-nums", children: [
7455
+ /* @__PURE__ */ (0, import_jsx_runtime91.jsx)("span", { children: formatValue(low) }),
7456
+ /* @__PURE__ */ (0, import_jsx_runtime91.jsx)("span", { children: formatValue(high) })
6591
7457
  ] }),
6592
- /* @__PURE__ */ (0, import_jsx_runtime87.jsxs)("div", { className: "relative h-6 w-full", children: [
6593
- /* @__PURE__ */ (0, import_jsx_runtime87.jsx)("div", { className: "absolute inset-x-0 top-1/2 h-1 -translate-y-1/2 rounded-full bg-muted" }),
6594
- /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(
7458
+ /* @__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" }),
7460
+ /* @__PURE__ */ (0, import_jsx_runtime91.jsx)(
6595
7461
  "div",
6596
7462
  {
6597
7463
  className: "absolute top-1/2 h-1 -translate-y-1/2 rounded-full bg-primary",
6598
7464
  style: { left: `${lowPercent}%`, right: `${100 - highPercent}%` }
6599
7465
  }
6600
7466
  ),
6601
- /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(
7467
+ /* @__PURE__ */ (0, import_jsx_runtime91.jsx)(
6602
7468
  "input",
6603
7469
  {
6604
7470
  type: "range",
@@ -6613,7 +7479,7 @@ var RangeSlider = React87.forwardRef(function RangeSlider2({
6613
7479
  className: cn(rangeInputClass, "z-10")
6614
7480
  }
6615
7481
  ),
6616
- /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(
7482
+ /* @__PURE__ */ (0, import_jsx_runtime91.jsx)(
6617
7483
  "input",
6618
7484
  {
6619
7485
  type: "range",
@@ -6633,9 +7499,9 @@ var RangeSlider = React87.forwardRef(function RangeSlider2({
6633
7499
  });
6634
7500
 
6635
7501
  // src/components/filter-chips/FilterChips.tsx
6636
- var React88 = __toESM(require("react"));
6637
- var import_jsx_runtime88 = require("react/jsx-runtime");
6638
- var FilterChips = React88.forwardRef(function FilterChips2({
7502
+ var React92 = __toESM(require("react"));
7503
+ var import_jsx_runtime92 = require("react/jsx-runtime");
7504
+ var FilterChips = React92.forwardRef(function FilterChips2({
6639
7505
  filters,
6640
7506
  onClearAll,
6641
7507
  clearLabel = "Clear all",
@@ -6645,9 +7511,9 @@ var FilterChips = React88.forwardRef(function FilterChips2({
6645
7511
  ...props
6646
7512
  }, ref) {
6647
7513
  if (filters.length === 0) {
6648
- return emptyLabel ? /* @__PURE__ */ (0, import_jsx_runtime88.jsx)("div", { ref, className: cn("text-sm text-muted-foreground", className), ...props, children: emptyLabel }) : null;
7514
+ return emptyLabel ? /* @__PURE__ */ (0, import_jsx_runtime92.jsx)("div", { ref, className: cn("text-sm text-muted-foreground", className), ...props, children: emptyLabel }) : null;
6649
7515
  }
6650
- return /* @__PURE__ */ (0, import_jsx_runtime88.jsxs)(
7516
+ return /* @__PURE__ */ (0, import_jsx_runtime92.jsxs)(
6651
7517
  "div",
6652
7518
  {
6653
7519
  ref,
@@ -6656,34 +7522,34 @@ var FilterChips = React88.forwardRef(function FilterChips2({
6656
7522
  className: cn("flex flex-wrap items-center gap-2", className),
6657
7523
  ...props,
6658
7524
  children: [
6659
- filters.map((filter) => /* @__PURE__ */ (0, import_jsx_runtime88.jsxs)(
7525
+ filters.map((filter) => /* @__PURE__ */ (0, import_jsx_runtime92.jsxs)(
6660
7526
  "span",
6661
7527
  {
6662
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",
6663
7529
  children: [
6664
- /* @__PURE__ */ (0, import_jsx_runtime88.jsxs)("span", { className: "truncate", children: [
6665
- /* @__PURE__ */ (0, import_jsx_runtime88.jsxs)("span", { className: "text-muted-foreground", children: [
7530
+ /* @__PURE__ */ (0, import_jsx_runtime92.jsxs)("span", { className: "truncate", children: [
7531
+ /* @__PURE__ */ (0, import_jsx_runtime92.jsxs)("span", { className: "text-muted-foreground", children: [
6666
7532
  filter.label,
6667
7533
  ":"
6668
7534
  ] }),
6669
7535
  " ",
6670
- /* @__PURE__ */ (0, import_jsx_runtime88.jsx)("span", { className: "font-medium", children: filter.value ?? "Any" })
7536
+ /* @__PURE__ */ (0, import_jsx_runtime92.jsx)("span", { className: "font-medium", children: filter.value ?? "Any" })
6671
7537
  ] }),
6672
- filter.onRemove && /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(
7538
+ filter.onRemove && /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(
6673
7539
  "button",
6674
7540
  {
6675
7541
  type: "button",
6676
7542
  onClick: filter.onRemove,
6677
7543
  "aria-label": `Remove ${filter.label}${filter.value ? `: ${filter.value}` : ""}`,
6678
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",
6679
- children: /* @__PURE__ */ (0, import_jsx_runtime88.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_runtime88.jsx)("path", { d: "m5 5 10 10M15 5 5 15" }) })
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" }) })
6680
7546
  }
6681
7547
  )
6682
7548
  ]
6683
7549
  },
6684
7550
  filter.key
6685
7551
  )),
6686
- onClearAll && /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(
7552
+ onClearAll && /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(
6687
7553
  "button",
6688
7554
  {
6689
7555
  type: "button",
@@ -6698,157 +7564,9 @@ var FilterChips = React88.forwardRef(function FilterChips2({
6698
7564
  });
6699
7565
 
6700
7566
  // src/components/multi-select/MultiSelect.tsx
6701
- var React90 = __toESM(require("react"));
6702
-
6703
- // src/components/popover/Popover.tsx
6704
- var React89 = __toESM(require("react"));
6705
- var import_react_dom7 = require("react-dom");
6706
- var import_jsx_runtime89 = require("react/jsx-runtime");
6707
- var PopoverContext = React89.createContext({
6708
- open: false,
6709
- setOpen: () => {
6710
- },
6711
- triggerId: "",
6712
- contentId: "",
6713
- wrapperRef: { current: null }
6714
- });
6715
- var Popover = React89.forwardRef(
6716
- ({ open, onOpenChange, className, children }, ref) => {
6717
- const [internalOpen, setInternalOpen] = React89.useState(false);
6718
- const current = open ?? internalOpen;
6719
- const triggerId = React89.useId();
6720
- const contentId = React89.useId();
6721
- const wrapperRef = React89.useRef(null);
6722
- const setRefs = React89.useCallback(
6723
- (node) => {
6724
- wrapperRef.current = node;
6725
- if (typeof ref === "function") ref(node);
6726
- else if (ref) ref.current = node;
6727
- },
6728
- [ref]
6729
- );
6730
- const setOpen = React89.useCallback(
6731
- (next) => {
6732
- if (open === void 0) setInternalOpen(next);
6733
- onOpenChange?.(next);
6734
- },
6735
- [open, onOpenChange]
6736
- );
6737
- return /* @__PURE__ */ (0, import_jsx_runtime89.jsx)("div", { ref: setRefs, className: cn("relative inline-block", className), children: /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(
6738
- PopoverContext.Provider,
6739
- {
6740
- value: { open: current, setOpen, triggerId, contentId, wrapperRef },
6741
- children
6742
- }
6743
- ) });
6744
- }
6745
- );
6746
- Popover.displayName = "Popover";
6747
- var PopoverTrigger = React89.forwardRef(
6748
- ({ className, children, onClick, ...props }, ref) => {
6749
- const { open, setOpen, triggerId, contentId } = React89.useContext(PopoverContext);
6750
- return /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(
6751
- "button",
6752
- {
6753
- ref,
6754
- id: triggerId,
6755
- type: "button",
6756
- "aria-haspopup": "dialog",
6757
- "aria-expanded": open,
6758
- "aria-controls": open ? contentId : void 0,
6759
- onClick: (event) => {
6760
- onClick?.(event);
6761
- setOpen(!open);
6762
- },
6763
- className: cn(
6764
- "inline-flex items-center justify-center rounded-md border border-border bg-background px-3 py-1.5 text-sm font-medium transition-colors",
6765
- "hover:bg-muted focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
6766
- className
6767
- ),
6768
- ...props,
6769
- children
6770
- }
6771
- );
6772
- }
6773
- );
6774
- PopoverTrigger.displayName = "PopoverTrigger";
6775
- var PopoverContent = React89.forwardRef(
6776
- ({ className, children, onKeyDown, ...props }, ref) => {
6777
- const { open, setOpen, triggerId, contentId, wrapperRef } = React89.useContext(PopoverContext);
6778
- const contentRef = React89.useRef(null);
6779
- const [pos, setPos] = React89.useState(null);
6780
- React89.useLayoutEffect(() => {
6781
- if (!open) {
6782
- setPos(null);
6783
- return;
6784
- }
6785
- const GAP2 = 8;
6786
- const measure = () => {
6787
- const rect = wrapperRef.current?.getBoundingClientRect();
6788
- if (!rect) return;
6789
- setPos({ top: rect.bottom + GAP2, right: Math.max(8, window.innerWidth - rect.right) });
6790
- };
6791
- measure();
6792
- const onScroll = () => setOpen(false);
6793
- window.addEventListener("scroll", onScroll, true);
6794
- window.addEventListener("resize", measure);
6795
- return () => {
6796
- window.removeEventListener("scroll", onScroll, true);
6797
- window.removeEventListener("resize", measure);
6798
- };
6799
- }, [open, setOpen, wrapperRef]);
6800
- React89.useEffect(() => {
6801
- if (!open) return;
6802
- function onPointerDown(event) {
6803
- if (!contentRef.current?.contains(event.target)) setOpen(false);
6804
- }
6805
- document.addEventListener("pointerdown", onPointerDown);
6806
- return () => document.removeEventListener("pointerdown", onPointerDown);
6807
- }, [open, setOpen]);
6808
- React89.useEffect(() => {
6809
- if (open && pos && contentRef.current) {
6810
- contentRef.current.focus();
6811
- }
6812
- }, [open, pos]);
6813
- if (!open || !pos || typeof document === "undefined") return null;
6814
- return (0, import_react_dom7.createPortal)(
6815
- /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(
6816
- "div",
6817
- {
6818
- ref: (node) => {
6819
- contentRef.current = node;
6820
- if (typeof ref === "function") ref(node);
6821
- else if (ref) ref.current = node;
6822
- },
6823
- id: contentId,
6824
- role: "dialog",
6825
- "aria-labelledby": triggerId,
6826
- tabIndex: -1,
6827
- onKeyDown: (event) => {
6828
- onKeyDown?.(event);
6829
- if (event.key === "Escape") {
6830
- event.stopPropagation();
6831
- setOpen(false);
6832
- }
6833
- },
6834
- style: { position: "fixed", top: pos.top, right: pos.right, zIndex: 50 },
6835
- className: cn(
6836
- "w-72 rounded-md border border-border bg-popover p-4 text-popover-foreground shadow-md outline-none",
6837
- className
6838
- ),
6839
- ...props,
6840
- children
6841
- }
6842
- ),
6843
- document.body
6844
- );
6845
- }
6846
- );
6847
- PopoverContent.displayName = "PopoverContent";
6848
-
6849
- // src/components/multi-select/MultiSelect.tsx
6850
- var import_jsx_runtime90 = require("react/jsx-runtime");
6851
- var MultiSelect = React90.forwardRef(function MultiSelect2({
7567
+ var React93 = __toESM(require("react"));
7568
+ var import_jsx_runtime93 = require("react/jsx-runtime");
7569
+ var MultiSelect = React93.forwardRef(function MultiSelect2({
6852
7570
  options,
6853
7571
  value,
6854
7572
  defaultValue,
@@ -6862,10 +7580,10 @@ var MultiSelect = React90.forwardRef(function MultiSelect2({
6862
7580
  className,
6863
7581
  ...props
6864
7582
  }, ref) {
6865
- const labelId = React90.useId();
6866
- const [internal, setInternal] = React90.useState(defaultValue ?? []);
6867
- const [query, setQuery] = React90.useState("");
6868
- const [open, setOpen] = React90.useState(false);
7583
+ const labelId = React93.useId();
7584
+ const [internal, setInternal] = React93.useState(defaultValue ?? []);
7585
+ const [query, setQuery] = React93.useState("");
7586
+ const [open, setOpen] = React93.useState(false);
6869
7587
  const selected = value ?? internal;
6870
7588
  const commit = (next) => {
6871
7589
  if (value === void 0) setInternal(next);
@@ -6882,7 +7600,7 @@ var MultiSelect = React90.forwardRef(function MultiSelect2({
6882
7600
  const q = query.trim().toLowerCase();
6883
7601
  return option.label.toLowerCase().includes(q) || option.value.toLowerCase().includes(q) || option.description?.toLowerCase().includes(q) || option.group?.toLowerCase().includes(q);
6884
7602
  }) : options;
6885
- const groups = React90.useMemo(() => {
7603
+ const groups = React93.useMemo(() => {
6886
7604
  let last;
6887
7605
  return filtered.map((option) => {
6888
7606
  const heading = option.group && option.group !== last ? option.group : void 0;
@@ -6892,16 +7610,16 @@ var MultiSelect = React90.forwardRef(function MultiSelect2({
6892
7610
  }, [filtered]);
6893
7611
  const visibleChips = selectedOptions.slice(0, maxDisplay);
6894
7612
  const hiddenCount = selectedOptions.length - visibleChips.length;
6895
- return /* @__PURE__ */ (0, import_jsx_runtime90.jsxs)("div", { ref, className: cn("flex flex-col gap-2", className), ...props, children: [
6896
- label && /* @__PURE__ */ (0, import_jsx_runtime90.jsx)("span", { id: labelId, className: "text-sm font-medium", children: label }),
6897
- visibleChips.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime90.jsxs)("div", { className: "flex flex-wrap gap-1.5", children: [
6898
- visibleChips.map((option) => /* @__PURE__ */ (0, import_jsx_runtime90.jsxs)(
7613
+ return /* @__PURE__ */ (0, import_jsx_runtime93.jsxs)("div", { ref, className: cn("flex flex-col gap-2", className), ...props, children: [
7614
+ label && /* @__PURE__ */ (0, import_jsx_runtime93.jsx)("span", { id: labelId, className: "text-sm font-medium", children: label }),
7615
+ visibleChips.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime93.jsxs)("div", { className: "flex flex-wrap gap-1.5", children: [
7616
+ visibleChips.map((option) => /* @__PURE__ */ (0, import_jsx_runtime93.jsxs)(
6899
7617
  "span",
6900
7618
  {
6901
7619
  className: "inline-flex max-w-full items-center gap-1 rounded-full border border-border bg-muted/60 py-0.5 pl-2.5 pr-1 text-xs",
6902
7620
  children: [
6903
- /* @__PURE__ */ (0, import_jsx_runtime90.jsx)("span", { className: "truncate", children: option.label }),
6904
- /* @__PURE__ */ (0, import_jsx_runtime90.jsx)(
7621
+ /* @__PURE__ */ (0, import_jsx_runtime93.jsx)("span", { className: "truncate", children: option.label }),
7622
+ /* @__PURE__ */ (0, import_jsx_runtime93.jsx)(
6905
7623
  "button",
6906
7624
  {
6907
7625
  type: "button",
@@ -6909,26 +7627,26 @@ var MultiSelect = React90.forwardRef(function MultiSelect2({
6909
7627
  disabled,
6910
7628
  "aria-label": `Remove ${option.label}`,
6911
7629
  className: "rounded-full p-1 text-muted-foreground hover:bg-background hover:text-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring disabled:pointer-events-none",
6912
- children: /* @__PURE__ */ (0, import_jsx_runtime90.jsx)("svg", { "aria-hidden": "true", viewBox: "0 0 20 20", className: "h-3 w-3", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", children: /* @__PURE__ */ (0, import_jsx_runtime90.jsx)("path", { d: "m5 5 10 10M15 5 5 15" }) })
7630
+ children: /* @__PURE__ */ (0, import_jsx_runtime93.jsx)("svg", { "aria-hidden": "true", viewBox: "0 0 20 20", className: "h-3 w-3", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", children: /* @__PURE__ */ (0, import_jsx_runtime93.jsx)("path", { d: "m5 5 10 10M15 5 5 15" }) })
6913
7631
  }
6914
7632
  )
6915
7633
  ]
6916
7634
  },
6917
7635
  option.value
6918
7636
  )),
6919
- hiddenCount > 0 && /* @__PURE__ */ (0, import_jsx_runtime90.jsxs)("span", { className: "self-center text-xs text-muted-foreground", children: [
7637
+ hiddenCount > 0 && /* @__PURE__ */ (0, import_jsx_runtime93.jsxs)("span", { className: "self-center text-xs text-muted-foreground", children: [
6920
7638
  "+",
6921
7639
  hiddenCount,
6922
7640
  " more"
6923
7641
  ] })
6924
7642
  ] }),
6925
- /* @__PURE__ */ (0, import_jsx_runtime90.jsxs)(Popover, { open, onOpenChange: setOpen, children: [
6926
- /* @__PURE__ */ (0, import_jsx_runtime90.jsxs)(PopoverTrigger, { "aria-labelledby": label ? labelId : void 0, disabled, className: "w-full justify-between", children: [
6927
- /* @__PURE__ */ (0, import_jsx_runtime90.jsx)("span", { children: selected.length > 0 ? `${selected.length} selected` : triggerLabel }),
6928
- /* @__PURE__ */ (0, import_jsx_runtime90.jsx)("span", { "aria-hidden": "true", className: "text-muted-foreground", children: "\u2304" })
7643
+ /* @__PURE__ */ (0, import_jsx_runtime93.jsxs)(Popover, { open, onOpenChange: setOpen, children: [
7644
+ /* @__PURE__ */ (0, import_jsx_runtime93.jsxs)(PopoverTrigger, { "aria-labelledby": label ? labelId : void 0, disabled, className: "w-full justify-between", children: [
7645
+ /* @__PURE__ */ (0, import_jsx_runtime93.jsx)("span", { children: selected.length > 0 ? `${selected.length} selected` : triggerLabel }),
7646
+ /* @__PURE__ */ (0, import_jsx_runtime93.jsx)("span", { "aria-hidden": "true", className: "text-muted-foreground", children: "\u2304" })
6929
7647
  ] }),
6930
- /* @__PURE__ */ (0, import_jsx_runtime90.jsxs)(PopoverContent, { className: "w-80 p-0", children: [
6931
- /* @__PURE__ */ (0, import_jsx_runtime90.jsx)("div", { className: "border-b border-border p-3", children: /* @__PURE__ */ (0, import_jsx_runtime90.jsx)(
7648
+ /* @__PURE__ */ (0, import_jsx_runtime93.jsxs)(PopoverContent, { className: "w-80 p-0", children: [
7649
+ /* @__PURE__ */ (0, import_jsx_runtime93.jsx)("div", { className: "border-b border-border p-3", children: /* @__PURE__ */ (0, import_jsx_runtime93.jsx)(
6932
7650
  Input,
6933
7651
  {
6934
7652
  type: "search",
@@ -6939,9 +7657,9 @@ var MultiSelect = React90.forwardRef(function MultiSelect2({
6939
7657
  autoFocus: true
6940
7658
  }
6941
7659
  ) }),
6942
- /* @__PURE__ */ (0, import_jsx_runtime90.jsx)("div", { className: "max-h-64 overflow-y-auto p-1", children: groups.length === 0 ? /* @__PURE__ */ (0, import_jsx_runtime90.jsx)("p", { className: "px-3 py-3 text-sm text-muted-foreground", children: emptyText }) : groups.map(({ option, heading }) => /* @__PURE__ */ (0, import_jsx_runtime90.jsxs)(React90.Fragment, { children: [
6943
- heading && /* @__PURE__ */ (0, import_jsx_runtime90.jsx)("p", { className: "px-3 pb-1 pt-2 text-xs font-medium uppercase tracking-wide text-muted-foreground", children: heading }),
6944
- /* @__PURE__ */ (0, import_jsx_runtime90.jsxs)(
7660
+ /* @__PURE__ */ (0, import_jsx_runtime93.jsx)("div", { className: "max-h-64 overflow-y-auto p-1", children: groups.length === 0 ? /* @__PURE__ */ (0, import_jsx_runtime93.jsx)("p", { className: "px-3 py-3 text-sm text-muted-foreground", children: emptyText }) : groups.map(({ option, heading }) => /* @__PURE__ */ (0, import_jsx_runtime93.jsxs)(React93.Fragment, { children: [
7661
+ heading && /* @__PURE__ */ (0, import_jsx_runtime93.jsx)("p", { className: "px-3 pb-1 pt-2 text-xs font-medium uppercase tracking-wide text-muted-foreground", children: heading }),
7662
+ /* @__PURE__ */ (0, import_jsx_runtime93.jsxs)(
6945
7663
  "label",
6946
7664
  {
6947
7665
  className: cn(
@@ -6949,7 +7667,7 @@ var MultiSelect = React90.forwardRef(function MultiSelect2({
6949
7667
  option.disabled && "cursor-not-allowed opacity-50"
6950
7668
  ),
6951
7669
  children: [
6952
- /* @__PURE__ */ (0, import_jsx_runtime90.jsx)(
7670
+ /* @__PURE__ */ (0, import_jsx_runtime93.jsx)(
6953
7671
  Checkbox,
6954
7672
  {
6955
7673
  checked: selected.includes(option.value),
@@ -6958,16 +7676,16 @@ var MultiSelect = React90.forwardRef(function MultiSelect2({
6958
7676
  className: "mt-0.5"
6959
7677
  }
6960
7678
  ),
6961
- /* @__PURE__ */ (0, import_jsx_runtime90.jsxs)("span", { className: "min-w-0", children: [
6962
- /* @__PURE__ */ (0, import_jsx_runtime90.jsx)("span", { className: "block", children: option.label }),
6963
- option.description && /* @__PURE__ */ (0, import_jsx_runtime90.jsx)("span", { className: "mt-0.5 block text-xs text-muted-foreground", children: option.description })
7679
+ /* @__PURE__ */ (0, import_jsx_runtime93.jsxs)("span", { className: "min-w-0", children: [
7680
+ /* @__PURE__ */ (0, import_jsx_runtime93.jsx)("span", { className: "block", children: option.label }),
7681
+ option.description && /* @__PURE__ */ (0, import_jsx_runtime93.jsx)("span", { className: "mt-0.5 block text-xs text-muted-foreground", children: option.description })
6964
7682
  ] })
6965
7683
  ]
6966
7684
  }
6967
7685
  )
6968
7686
  ] }, option.value)) }),
6969
- /* @__PURE__ */ (0, import_jsx_runtime90.jsxs)("div", { className: "flex items-center justify-between gap-2 border-t border-border p-2", children: [
6970
- /* @__PURE__ */ (0, import_jsx_runtime90.jsx)(
7687
+ /* @__PURE__ */ (0, import_jsx_runtime93.jsxs)("div", { className: "flex items-center justify-between gap-2 border-t border-border p-2", children: [
7688
+ /* @__PURE__ */ (0, import_jsx_runtime93.jsx)(
6971
7689
  Button,
6972
7690
  {
6973
7691
  type: "button",
@@ -6977,7 +7695,7 @@ var MultiSelect = React90.forwardRef(function MultiSelect2({
6977
7695
  children: "Select all"
6978
7696
  }
6979
7697
  ),
6980
- /* @__PURE__ */ (0, import_jsx_runtime90.jsx)(Button, { type: "button", variant: "ghost", size: "sm", onClick: () => commit([]), children: "Clear" })
7698
+ /* @__PURE__ */ (0, import_jsx_runtime93.jsx)(Button, { type: "button", variant: "ghost", size: "sm", onClick: () => commit([]), children: "Clear" })
6981
7699
  ] })
6982
7700
  ] })
6983
7701
  ] })
@@ -6985,9 +7703,9 @@ var MultiSelect = React90.forwardRef(function MultiSelect2({
6985
7703
  });
6986
7704
 
6987
7705
  // src/components/filter-panel/FilterPanel.tsx
6988
- var React91 = __toESM(require("react"));
6989
- var import_jsx_runtime91 = require("react/jsx-runtime");
6990
- var FilterPanel = React91.forwardRef(function FilterPanel2({
7706
+ var React94 = __toESM(require("react"));
7707
+ var import_jsx_runtime94 = require("react/jsx-runtime");
7708
+ var FilterPanel = React94.forwardRef(function FilterPanel2({
6991
7709
  sections,
6992
7710
  title = "Filters",
6993
7711
  description,
@@ -7003,7 +7721,7 @@ var FilterPanel = React91.forwardRef(function FilterPanel2({
7003
7721
  ...props
7004
7722
  }, ref) {
7005
7723
  const Tag = as;
7006
- const [open, setOpen] = React91.useState(
7724
+ const [open, setOpen] = React94.useState(
7007
7725
  defaultOpen ?? sections.filter((section) => section.defaultOpen).map((section) => section.title)
7008
7726
  );
7009
7727
  const isOpen = (section) => !collapsible || open.includes(section.title);
@@ -7013,15 +7731,15 @@ var FilterPanel = React91.forwardRef(function FilterPanel2({
7013
7731
  (current) => current.includes(section.title) ? current.filter((title2) => title2 !== section.title) : [...current, section.title]
7014
7732
  );
7015
7733
  };
7016
- return /* @__PURE__ */ (0, import_jsx_runtime91.jsxs)(Tag, { ref, className: cn("w-full rounded-xl border border-border bg-card", className), ...props, children: [
7017
- (title || description) && /* @__PURE__ */ (0, import_jsx_runtime91.jsxs)("div", { className: "border-b border-border px-4 py-3", children: [
7018
- title && /* @__PURE__ */ (0, import_jsx_runtime91.jsx)("h2", { className: "text-sm font-semibold", children: title }),
7019
- description && /* @__PURE__ */ (0, import_jsx_runtime91.jsx)("p", { className: "mt-1 text-xs text-muted-foreground", children: description })
7734
+ return /* @__PURE__ */ (0, import_jsx_runtime94.jsxs)(Tag, { ref, className: cn("w-full rounded-xl border border-border bg-card", className), ...props, children: [
7735
+ (title || description) && /* @__PURE__ */ (0, import_jsx_runtime94.jsxs)("div", { className: "border-b border-border px-4 py-3", children: [
7736
+ title && /* @__PURE__ */ (0, import_jsx_runtime94.jsx)("h2", { className: "text-sm font-semibold", children: title }),
7737
+ description && /* @__PURE__ */ (0, import_jsx_runtime94.jsx)("p", { className: "mt-1 text-xs text-muted-foreground", children: description })
7020
7738
  ] }),
7021
- /* @__PURE__ */ (0, import_jsx_runtime91.jsx)("div", { className: "divide-y divide-border", children: sections.map((section) => {
7739
+ /* @__PURE__ */ (0, import_jsx_runtime94.jsx)("div", { className: "divide-y divide-border", children: sections.map((section) => {
7022
7740
  const expanded = isOpen(section);
7023
- return /* @__PURE__ */ (0, import_jsx_runtime91.jsxs)("div", { className: "px-4 py-3", children: [
7024
- /* @__PURE__ */ (0, import_jsx_runtime91.jsx)("h3", { children: /* @__PURE__ */ (0, import_jsx_runtime91.jsxs)(
7741
+ return /* @__PURE__ */ (0, import_jsx_runtime94.jsxs)("div", { className: "px-4 py-3", children: [
7742
+ /* @__PURE__ */ (0, import_jsx_runtime94.jsx)("h3", { children: /* @__PURE__ */ (0, import_jsx_runtime94.jsxs)(
7025
7743
  "button",
7026
7744
  {
7027
7745
  type: "button",
@@ -7034,28 +7752,28 @@ var FilterPanel = React91.forwardRef(function FilterPanel2({
7034
7752
  collapsible && "rounded-sm focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
7035
7753
  ),
7036
7754
  children: [
7037
- /* @__PURE__ */ (0, import_jsx_runtime91.jsxs)("span", { children: [
7755
+ /* @__PURE__ */ (0, import_jsx_runtime94.jsxs)("span", { children: [
7038
7756
  section.title,
7039
- section.description && /* @__PURE__ */ (0, import_jsx_runtime91.jsx)("span", { className: "mt-0.5 block text-xs font-normal text-muted-foreground", children: section.description })
7757
+ section.description && /* @__PURE__ */ (0, import_jsx_runtime94.jsx)("span", { className: "mt-0.5 block text-xs font-normal text-muted-foreground", children: section.description })
7040
7758
  ] }),
7041
- collapsible && /* @__PURE__ */ (0, import_jsx_runtime91.jsx)("span", { "aria-hidden": "true", className: cn("text-muted-foreground transition-transform", expanded && "rotate-180"), children: "\u2304" })
7759
+ collapsible && /* @__PURE__ */ (0, import_jsx_runtime94.jsx)("span", { "aria-hidden": "true", className: cn("text-muted-foreground transition-transform", expanded && "rotate-180"), children: "\u2304" })
7042
7760
  ]
7043
7761
  }
7044
7762
  ) }),
7045
- expanded && /* @__PURE__ */ (0, import_jsx_runtime91.jsx)("div", { id: `filter-section-${section.title.replace(/\s+/g, "-").toLowerCase()}`, className: "mt-3", children: section.content })
7763
+ expanded && /* @__PURE__ */ (0, import_jsx_runtime94.jsx)("div", { id: `filter-section-${section.title.replace(/\s+/g, "-").toLowerCase()}`, className: "mt-3", children: section.content })
7046
7764
  ] }, section.title);
7047
7765
  }) }),
7048
- (onReset || onApply || actions) && /* @__PURE__ */ (0, import_jsx_runtime91.jsxs)("div", { className: "flex flex-wrap items-center gap-2 border-t border-border px-4 py-3", children: [
7766
+ (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: [
7049
7767
  actions,
7050
- onReset && /* @__PURE__ */ (0, import_jsx_runtime91.jsx)(Button, { type: "button", variant: "ghost", size: "sm", onClick: onReset, className: "ml-auto", children: resetLabel }),
7051
- onApply && /* @__PURE__ */ (0, import_jsx_runtime91.jsx)(Button, { type: "button", size: "sm", onClick: onApply, children: applyLabel })
7768
+ onReset && /* @__PURE__ */ (0, import_jsx_runtime94.jsx)(Button, { type: "button", variant: "ghost", size: "sm", onClick: onReset, className: "ml-auto", children: resetLabel }),
7769
+ onApply && /* @__PURE__ */ (0, import_jsx_runtime94.jsx)(Button, { type: "button", size: "sm", onClick: onApply, children: applyLabel })
7052
7770
  ] })
7053
7771
  ] });
7054
7772
  });
7055
7773
 
7056
7774
  // src/components/date-range-picker/DateRangePicker.tsx
7057
- var React92 = __toESM(require("react"));
7058
- var import_jsx_runtime92 = require("react/jsx-runtime");
7775
+ var React95 = __toESM(require("react"));
7776
+ var import_jsx_runtime95 = require("react/jsx-runtime");
7059
7777
  var DEFAULT_PRESETS = [
7060
7778
  { label: "7 days", days: 7 },
7061
7779
  { label: "30 days", days: 30 },
@@ -7068,7 +7786,7 @@ function toIsoDate(date) {
7068
7786
  const day = String(date.getDate()).padStart(2, "0");
7069
7787
  return `${year}-${month}-${day}`;
7070
7788
  }
7071
- var DateRangePicker = React92.forwardRef(
7789
+ var DateRangePicker = React95.forwardRef(
7072
7790
  function DateRangePicker2({
7073
7791
  value,
7074
7792
  defaultValue,
@@ -7081,9 +7799,9 @@ var DateRangePicker = React92.forwardRef(
7081
7799
  className,
7082
7800
  ...props
7083
7801
  }, ref) {
7084
- const startId = React92.useId();
7085
- const endId = React92.useId();
7086
- const [internal, setInternal] = React92.useState(defaultValue ?? {});
7802
+ const startId = React95.useId();
7803
+ const endId = React95.useId();
7804
+ const [internal, setInternal] = React95.useState(defaultValue ?? {});
7087
7805
  const current = value ?? internal;
7088
7806
  const commit = (next) => {
7089
7807
  if (value === void 0) setInternal(next);
@@ -7107,8 +7825,8 @@ var DateRangePicker = React92.forwardRef(
7107
7825
  }
7108
7826
  commit({ start: toIsoDate(start), end: toIsoDate(end) });
7109
7827
  };
7110
- return /* @__PURE__ */ (0, import_jsx_runtime92.jsxs)("div", { ref, className: cn("flex flex-col gap-3", className), ...props, children: [
7111
- showPresets && presets.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime92.jsx)("div", { className: "flex flex-wrap gap-2", children: presets.map((preset) => /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(
7828
+ return /* @__PURE__ */ (0, import_jsx_runtime95.jsxs)("div", { ref, className: cn("flex flex-col gap-3", className), ...props, children: [
7829
+ showPresets && presets.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime95.jsx)("div", { className: "flex flex-wrap gap-2", children: presets.map((preset) => /* @__PURE__ */ (0, import_jsx_runtime95.jsx)(
7112
7830
  Button,
7113
7831
  {
7114
7832
  type: "button",
@@ -7120,10 +7838,10 @@ var DateRangePicker = React92.forwardRef(
7120
7838
  },
7121
7839
  preset.label
7122
7840
  )) }),
7123
- /* @__PURE__ */ (0, import_jsx_runtime92.jsxs)("div", { className: "grid gap-3 sm:grid-cols-2", children: [
7124
- /* @__PURE__ */ (0, import_jsx_runtime92.jsxs)("div", { children: [
7125
- /* @__PURE__ */ (0, import_jsx_runtime92.jsx)("label", { htmlFor: startId, className: "mb-1 block text-xs font-medium text-muted-foreground", children: startLabel }),
7126
- /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(
7841
+ /* @__PURE__ */ (0, import_jsx_runtime95.jsxs)("div", { className: "grid gap-3 sm:grid-cols-2", children: [
7842
+ /* @__PURE__ */ (0, import_jsx_runtime95.jsxs)("div", { children: [
7843
+ /* @__PURE__ */ (0, import_jsx_runtime95.jsx)("label", { htmlFor: startId, className: "mb-1 block text-xs font-medium text-muted-foreground", children: startLabel }),
7844
+ /* @__PURE__ */ (0, import_jsx_runtime95.jsx)(
7127
7845
  DatePicker,
7128
7846
  {
7129
7847
  id: startId,
@@ -7135,9 +7853,9 @@ var DateRangePicker = React92.forwardRef(
7135
7853
  }
7136
7854
  )
7137
7855
  ] }),
7138
- /* @__PURE__ */ (0, import_jsx_runtime92.jsxs)("div", { children: [
7139
- /* @__PURE__ */ (0, import_jsx_runtime92.jsx)("label", { htmlFor: endId, className: "mb-1 block text-xs font-medium text-muted-foreground", children: endLabel }),
7140
- /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(
7856
+ /* @__PURE__ */ (0, import_jsx_runtime95.jsxs)("div", { children: [
7857
+ /* @__PURE__ */ (0, import_jsx_runtime95.jsx)("label", { htmlFor: endId, className: "mb-1 block text-xs font-medium text-muted-foreground", children: endLabel }),
7858
+ /* @__PURE__ */ (0, import_jsx_runtime95.jsx)(
7141
7859
  DatePicker,
7142
7860
  {
7143
7861
  id: endId,
@@ -7155,9 +7873,9 @@ var DateRangePicker = React92.forwardRef(
7155
7873
  );
7156
7874
 
7157
7875
  // src/components/applied-filters/AppliedFilters.tsx
7158
- var React93 = __toESM(require("react"));
7159
- var import_jsx_runtime93 = require("react/jsx-runtime");
7160
- var AppliedFilters = React93.forwardRef(
7876
+ var React96 = __toESM(require("react"));
7877
+ var import_jsx_runtime96 = require("react/jsx-runtime");
7878
+ var AppliedFilters = React96.forwardRef(
7161
7879
  function AppliedFilters2({
7162
7880
  filters,
7163
7881
  onClearAll,
@@ -7170,9 +7888,9 @@ var AppliedFilters = React93.forwardRef(
7170
7888
  }, ref) {
7171
7889
  const summary = label ?? `${filters.length} active`;
7172
7890
  if (filters.length === 0) {
7173
- return emptyLabel ? /* @__PURE__ */ (0, import_jsx_runtime93.jsx)("div", { ref, className: cn("text-sm text-muted-foreground", className), ...props, children: emptyLabel }) : null;
7891
+ return emptyLabel ? /* @__PURE__ */ (0, import_jsx_runtime96.jsx)("div", { ref, className: cn("text-sm text-muted-foreground", className), ...props, children: emptyLabel }) : null;
7174
7892
  }
7175
- return /* @__PURE__ */ (0, import_jsx_runtime93.jsxs)(
7893
+ return /* @__PURE__ */ (0, import_jsx_runtime96.jsxs)(
7176
7894
  "div",
7177
7895
  {
7178
7896
  ref,
@@ -7180,9 +7898,9 @@ var AppliedFilters = React93.forwardRef(
7180
7898
  className: cn("flex flex-wrap items-center gap-2", className),
7181
7899
  ...props,
7182
7900
  children: [
7183
- /* @__PURE__ */ (0, import_jsx_runtime93.jsx)("span", { className: "text-xs font-medium uppercase tracking-wide text-muted-foreground", children: summary }),
7184
- /* @__PURE__ */ (0, import_jsx_runtime93.jsx)(FilterChips, { filters, onClearAll }),
7185
- onEdit && /* @__PURE__ */ (0, import_jsx_runtime93.jsx)(Button, { type: "button", variant: "ghost", size: "sm", onClick: onEdit, children: editLabel })
7901
+ /* @__PURE__ */ (0, import_jsx_runtime96.jsx)("span", { className: "text-xs font-medium uppercase tracking-wide text-muted-foreground", children: summary }),
7902
+ /* @__PURE__ */ (0, import_jsx_runtime96.jsx)(FilterChips, { filters, onClearAll }),
7903
+ onEdit && /* @__PURE__ */ (0, import_jsx_runtime96.jsx)(Button, { type: "button", variant: "ghost", size: "sm", onClick: onEdit, children: editLabel })
7186
7904
  ]
7187
7905
  }
7188
7906
  );
@@ -7190,11 +7908,11 @@ var AppliedFilters = React93.forwardRef(
7190
7908
  );
7191
7909
 
7192
7910
  // src/components/menu/Menu.tsx
7193
- var React94 = __toESM(require("react"));
7911
+ var React97 = __toESM(require("react"));
7194
7912
  var import_react_dom8 = require("react-dom");
7195
7913
  var import_react_slot5 = require("@radix-ui/react-slot");
7196
- var import_jsx_runtime94 = require("react/jsx-runtime");
7197
- var MenuContext = React94.createContext({
7914
+ var import_jsx_runtime97 = require("react/jsx-runtime");
7915
+ var MenuContext = React97.createContext({
7198
7916
  open: false,
7199
7917
  setOpen: () => {
7200
7918
  },
@@ -7203,13 +7921,13 @@ var MenuContext = React94.createContext({
7203
7921
  },
7204
7922
  wrapperRef: { current: null }
7205
7923
  });
7206
- var Menu = React94.forwardRef(
7924
+ var Menu = React97.forwardRef(
7207
7925
  ({ open, onOpenChange, className, children }, ref) => {
7208
- const [internalOpen, setInternalOpen] = React94.useState(false);
7209
- const [activeIndex, setActiveIndex] = React94.useState(-1);
7926
+ const [internalOpen, setInternalOpen] = React97.useState(false);
7927
+ const [activeIndex, setActiveIndex] = React97.useState(-1);
7210
7928
  const current = open ?? internalOpen;
7211
- const wrapperRef = React94.useRef(null);
7212
- const setRefs = React94.useCallback(
7929
+ const wrapperRef = React97.useRef(null);
7930
+ const setRefs = React97.useCallback(
7213
7931
  (node) => {
7214
7932
  wrapperRef.current = node;
7215
7933
  if (typeof ref === "function") ref(node);
@@ -7217,7 +7935,7 @@ var Menu = React94.forwardRef(
7217
7935
  },
7218
7936
  [ref]
7219
7937
  );
7220
- const setOpen = React94.useCallback(
7938
+ const setOpen = React97.useCallback(
7221
7939
  (next) => {
7222
7940
  if (open === void 0) setInternalOpen(next);
7223
7941
  onOpenChange?.(next);
@@ -7225,7 +7943,7 @@ var Menu = React94.forwardRef(
7225
7943
  },
7226
7944
  [open, onOpenChange]
7227
7945
  );
7228
- return /* @__PURE__ */ (0, import_jsx_runtime94.jsx)("div", { ref: setRefs, className: cn("relative inline-block", className), children: /* @__PURE__ */ (0, import_jsx_runtime94.jsx)(
7946
+ return /* @__PURE__ */ (0, import_jsx_runtime97.jsx)("div", { ref: setRefs, className: cn("relative inline-block", className), children: /* @__PURE__ */ (0, import_jsx_runtime97.jsx)(
7229
7947
  MenuContext.Provider,
7230
7948
  {
7231
7949
  value: { open: current, setOpen, activeIndex, setActiveIndex, wrapperRef },
@@ -7235,10 +7953,10 @@ var Menu = React94.forwardRef(
7235
7953
  }
7236
7954
  );
7237
7955
  Menu.displayName = "Menu";
7238
- var MenuTrigger = React94.forwardRef(
7956
+ var MenuTrigger = React97.forwardRef(
7239
7957
  ({ className, children, ...props }, ref) => {
7240
- const { open, setOpen } = React94.useContext(MenuContext);
7241
- return /* @__PURE__ */ (0, import_jsx_runtime94.jsx)(
7958
+ const { open, setOpen } = React97.useContext(MenuContext);
7959
+ return /* @__PURE__ */ (0, import_jsx_runtime97.jsx)(
7242
7960
  "button",
7243
7961
  {
7244
7962
  ref,
@@ -7258,13 +7976,13 @@ var MenuTrigger = React94.forwardRef(
7258
7976
  }
7259
7977
  );
7260
7978
  MenuTrigger.displayName = "MenuTrigger";
7261
- var MenuContent = React94.forwardRef(
7979
+ var MenuContent = React97.forwardRef(
7262
7980
  ({ className, children, ...props }, ref) => {
7263
- const { open, setOpen, activeIndex, setActiveIndex, wrapperRef } = React94.useContext(MenuContext);
7264
- const contentRef = React94.useRef(null);
7265
- const [pos, setPos] = React94.useState(null);
7266
- const itemsRef = React94.useRef([]);
7267
- React94.useLayoutEffect(() => {
7981
+ const { open, setOpen, activeIndex, setActiveIndex, wrapperRef } = React97.useContext(MenuContext);
7982
+ const contentRef = React97.useRef(null);
7983
+ const [pos, setPos] = React97.useState(null);
7984
+ const itemsRef = React97.useRef([]);
7985
+ React97.useLayoutEffect(() => {
7268
7986
  if (!open) {
7269
7987
  setPos(null);
7270
7988
  return;
@@ -7284,7 +8002,7 @@ var MenuContent = React94.forwardRef(
7284
8002
  window.removeEventListener("resize", measure);
7285
8003
  };
7286
8004
  }, [open, setOpen, wrapperRef]);
7287
- React94.useEffect(() => {
8005
+ React97.useEffect(() => {
7288
8006
  if (!open) return;
7289
8007
  function onPointerDown(event) {
7290
8008
  if (!contentRef.current?.contains(event.target)) setOpen(false);
@@ -7292,7 +8010,7 @@ var MenuContent = React94.forwardRef(
7292
8010
  document.addEventListener("pointerdown", onPointerDown);
7293
8011
  return () => document.removeEventListener("pointerdown", onPointerDown);
7294
8012
  }, [open, setOpen]);
7295
- React94.useEffect(() => {
8013
+ React97.useEffect(() => {
7296
8014
  if (open && pos && contentRef.current) {
7297
8015
  itemsRef.current = Array.from(
7298
8016
  contentRef.current.querySelectorAll('[role="menuitem"]:not([disabled])')
@@ -7328,7 +8046,7 @@ var MenuContent = React94.forwardRef(
7328
8046
  };
7329
8047
  if (!open || !pos || typeof document === "undefined") return null;
7330
8048
  return (0, import_react_dom8.createPortal)(
7331
- /* @__PURE__ */ (0, import_jsx_runtime94.jsx)(
8049
+ /* @__PURE__ */ (0, import_jsx_runtime97.jsx)(
7332
8050
  "div",
7333
8051
  {
7334
8052
  ref: (node) => {
@@ -7352,12 +8070,12 @@ var MenuContent = React94.forwardRef(
7352
8070
  }
7353
8071
  );
7354
8072
  MenuContent.displayName = "MenuContent";
7355
- var MenuItem = React94.forwardRef(
8073
+ var MenuItem = React97.forwardRef(
7356
8074
  ({ className, destructive, asChild = false, onClick, ...props }, ref) => {
7357
- const { setOpen } = React94.useContext(MenuContext);
8075
+ const { setOpen } = React97.useContext(MenuContext);
7358
8076
  const Comp = asChild ? import_react_slot5.Slot : "button";
7359
8077
  const typeProp = asChild ? {} : { type: "button" };
7360
- return /* @__PURE__ */ (0, import_jsx_runtime94.jsx)(
8078
+ return /* @__PURE__ */ (0, import_jsx_runtime97.jsx)(
7361
8079
  Comp,
7362
8080
  {
7363
8081
  ref,
@@ -7379,12 +8097,12 @@ var MenuItem = React94.forwardRef(
7379
8097
  }
7380
8098
  );
7381
8099
  MenuItem.displayName = "MenuItem";
7382
- var MenuSeparator = React94.forwardRef(
7383
- ({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime94.jsx)("div", { ref, role: "separator", className: cn("-mx-1 my-1 h-px bg-border", className), ...props })
8100
+ var MenuSeparator = React97.forwardRef(
8101
+ ({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime97.jsx)("div", { ref, role: "separator", className: cn("-mx-1 my-1 h-px bg-border", className), ...props })
7384
8102
  );
7385
8103
  MenuSeparator.displayName = "MenuSeparator";
7386
- var MenuLabel = React94.forwardRef(
7387
- ({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime94.jsx)(
8104
+ var MenuLabel = React97.forwardRef(
8105
+ ({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime97.jsx)(
7388
8106
  "div",
7389
8107
  {
7390
8108
  ref,
@@ -7396,9 +8114,9 @@ var MenuLabel = React94.forwardRef(
7396
8114
  MenuLabel.displayName = "MenuLabel";
7397
8115
 
7398
8116
  // src/components/alert/Alert.tsx
7399
- var React95 = __toESM(require("react"));
8117
+ var React98 = __toESM(require("react"));
7400
8118
  var import_class_variance_authority8 = require("class-variance-authority");
7401
- var import_jsx_runtime95 = require("react/jsx-runtime");
8119
+ var import_jsx_runtime98 = require("react/jsx-runtime");
7402
8120
  var alertVariants = (0, import_class_variance_authority8.cva)(
7403
8121
  "relative w-full rounded-lg border px-4 py-3 text-sm [&>svg+div]:translate-y-[-3px] [&>svg]:absolute [&>svg]:left-4 [&>svg]:top-4 [&>svg]:text-foreground [&>svg~*]:pl-7",
7404
8122
  {
@@ -7408,7 +8126,7 @@ var alertVariants = (0, import_class_variance_authority8.cva)(
7408
8126
  destructive: "border-destructive/50 text-destructive bg-destructive/10 [&>svg]:text-destructive",
7409
8127
  /** Alias kept for Bootstrap/shadcn-style codebases. */
7410
8128
  danger: "border-destructive/50 text-destructive bg-destructive/10 [&>svg]:text-destructive",
7411
- success: "border-success/50 text-success bg-success/10 [&>svg]:text-success",
8129
+ success: "border-success/50 text-success-ink bg-success/10 [&>svg]:text-success-ink",
7412
8130
  warning: "border-warning/50 text-warning-ink bg-warning/10 [&>svg]:text-warning-ink",
7413
8131
  info: "border-info/50 text-info-ink bg-info/10 [&>svg]:text-info-ink"
7414
8132
  }
@@ -7418,8 +8136,8 @@ var alertVariants = (0, import_class_variance_authority8.cva)(
7418
8136
  }
7419
8137
  }
7420
8138
  );
7421
- var Alert = React95.forwardRef(
7422
- ({ className, variant, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime95.jsx)(
8139
+ var Alert = React98.forwardRef(
8140
+ ({ className, variant, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime98.jsx)(
7423
8141
  "div",
7424
8142
  {
7425
8143
  ref,
@@ -7430,8 +8148,8 @@ var Alert = React95.forwardRef(
7430
8148
  )
7431
8149
  );
7432
8150
  Alert.displayName = "Alert";
7433
- var AlertTitle = React95.forwardRef(
7434
- ({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime95.jsx)(
8151
+ var AlertTitle = React98.forwardRef(
8152
+ ({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime98.jsx)(
7435
8153
  "h5",
7436
8154
  {
7437
8155
  ref,
@@ -7441,8 +8159,8 @@ var AlertTitle = React95.forwardRef(
7441
8159
  )
7442
8160
  );
7443
8161
  AlertTitle.displayName = "AlertTitle";
7444
- var AlertDescription = React95.forwardRef(
7445
- ({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime95.jsx)(
8162
+ var AlertDescription = React98.forwardRef(
8163
+ ({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime98.jsx)(
7446
8164
  "div",
7447
8165
  {
7448
8166
  ref,
@@ -7454,23 +8172,23 @@ var AlertDescription = React95.forwardRef(
7454
8172
  AlertDescription.displayName = "AlertDescription";
7455
8173
 
7456
8174
  // src/components/breadcrumb/Breadcrumb.tsx
7457
- var React96 = __toESM(require("react"));
7458
- var import_jsx_runtime96 = require("react/jsx-runtime");
7459
- var Breadcrumb = React96.forwardRef(
8175
+ var React99 = __toESM(require("react"));
8176
+ var import_jsx_runtime99 = require("react/jsx-runtime");
8177
+ var Breadcrumb = React99.forwardRef(
7460
8178
  ({ items, label = "Breadcrumb", separator = "/", onItemClick, linkComponent, linkHrefProp = "href", truncateCurrent = false, className, ...props }, ref) => {
7461
8179
  const LinkEl = linkComponent ?? "a";
7462
- return /* @__PURE__ */ (0, import_jsx_runtime96.jsx)(
8180
+ return /* @__PURE__ */ (0, import_jsx_runtime99.jsx)(
7463
8181
  "nav",
7464
8182
  {
7465
8183
  ref,
7466
8184
  "aria-label": label,
7467
8185
  className: cn("flex items-center space-x-1.5 text-sm text-muted-foreground", className),
7468
8186
  ...props,
7469
- children: /* @__PURE__ */ (0, import_jsx_runtime96.jsx)("ol", { className: "flex flex-wrap items-center space-x-1.5", children: items.map((item, index) => {
8187
+ children: /* @__PURE__ */ (0, import_jsx_runtime99.jsx)("ol", { className: "flex flex-wrap items-center space-x-1.5", children: items.map((item, index) => {
7470
8188
  const isLast = index === items.length - 1;
7471
- return /* @__PURE__ */ (0, import_jsx_runtime96.jsxs)("li", { className: cn("flex items-center space-x-1.5", truncateCurrent && isLast && "min-w-0"), children: [
7472
- index > 0 && /* @__PURE__ */ (0, import_jsx_runtime96.jsx)("span", { "aria-hidden": "true", className: "text-muted-foreground/50", children: separator }),
7473
- item.href && !isLast ? /* @__PURE__ */ (0, import_jsx_runtime96.jsx)(
8189
+ return /* @__PURE__ */ (0, import_jsx_runtime99.jsxs)("li", { className: cn("flex items-center space-x-1.5", truncateCurrent && isLast && "min-w-0"), children: [
8190
+ index > 0 && /* @__PURE__ */ (0, import_jsx_runtime99.jsx)("span", { "aria-hidden": "true", className: "text-muted-foreground/50", children: separator }),
8191
+ item.href && !isLast ? /* @__PURE__ */ (0, import_jsx_runtime99.jsx)(
7474
8192
  LinkEl,
7475
8193
  {
7476
8194
  ...linkHrefProp === "to" ? { to: item.href } : { href: item.href },
@@ -7481,7 +8199,7 @@ var Breadcrumb = React96.forwardRef(
7481
8199
  } : void 0,
7482
8200
  children: item.label
7483
8201
  }
7484
- ) : /* @__PURE__ */ (0, import_jsx_runtime96.jsx)(
8202
+ ) : /* @__PURE__ */ (0, import_jsx_runtime99.jsx)(
7485
8203
  "span",
7486
8204
  {
7487
8205
  "aria-current": isLast ? "page" : void 0,
@@ -7522,6 +8240,7 @@ Breadcrumb.displayName = "Breadcrumb";
7522
8240
  Button,
7523
8241
  ButtonGroup,
7524
8242
  CTASection,
8243
+ Calendar,
7525
8244
  Card,
7526
8245
  CardContent,
7527
8246
  CardDescription,
@@ -7537,6 +8256,7 @@ Breadcrumb.displayName = "Breadcrumb";
7537
8256
  Container,
7538
8257
  DataTable,
7539
8258
  DatePicker,
8259
+ DatePickerPopover,
7540
8260
  DateRangePicker,
7541
8261
  DealCard,
7542
8262
  Dialog,
@@ -7566,6 +8286,7 @@ Breadcrumb.displayName = "Breadcrumb";
7566
8286
  GridItem,
7567
8287
  Heading,
7568
8288
  Hero,
8289
+ Image,
7569
8290
  Input,
7570
8291
  InputGroup,
7571
8292
  InputGroupAddon,
@@ -7589,6 +8310,7 @@ Breadcrumb.displayName = "Breadcrumb";
7589
8310
  Pagination,
7590
8311
  PasswordInput,
7591
8312
  Popover,
8313
+ PopoverAnchor,
7592
8314
  PopoverContent,
7593
8315
  PopoverTrigger,
7594
8316
  ProcessSteps,