@slipstream-ui/core 0.11.8 → 0.11.10

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 (272) hide show
  1. package/dist/index.d.mts +176 -9
  2. package/dist/index.d.ts +176 -9
  3. package/dist/index.js +1297 -905
  4. package/dist/index.js.map +1 -1
  5. package/dist/index.mjs +1294 -905
  6. package/dist/index.mjs.map +1 -1
  7. package/dist/manifests/accordion.manifest.json +1 -1
  8. package/dist/manifests/alert.manifest.json +1 -1
  9. package/dist/manifests/announcement-bar.manifest.json +1 -1
  10. package/dist/manifests/app-shell.manifest.json +1 -1
  11. package/dist/manifests/applied-filters.manifest.json +1 -1
  12. package/dist/manifests/article-card.manifest.json +1 -1
  13. package/dist/manifests/auth-layout.manifest.json +1 -1
  14. package/dist/manifests/autocomplete.manifest.json +1 -1
  15. package/dist/manifests/avatar.manifest.json +1 -1
  16. package/dist/manifests/badge.manifest.json +1 -1
  17. package/dist/manifests/block.manifest.json +1 -1
  18. package/dist/manifests/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 +4 -2
  22. package/dist/manifests/calendar.manifest.json +1 -1
  23. package/dist/manifests/card.manifest.json +1 -1
  24. package/dist/manifests/checkbox.manifest.json +1 -1
  25. package/dist/manifests/comparison-table.manifest.json +1 -1
  26. package/dist/manifests/confirm-dialog.manifest.json +1 -1
  27. package/dist/manifests/contact-strip.manifest.json +1 -1
  28. package/dist/manifests/container.manifest.json +1 -1
  29. package/dist/manifests/cover-image.manifest.json +1 -1
  30. package/dist/manifests/cta-section.manifest.json +1 -1
  31. package/dist/manifests/data-table.manifest.json +22 -1
  32. package/dist/manifests/date-picker-popover.manifest.json +1 -1
  33. package/dist/manifests/date-picker.manifest.json +1 -1
  34. package/dist/manifests/date-range-picker.manifest.json +1 -1
  35. package/dist/manifests/deal-card.manifest.json +1 -1
  36. package/dist/manifests/dialog.manifest.json +1 -1
  37. package/dist/manifests/document-card.manifest.json +1 -1
  38. package/dist/manifests/drawer.manifest.json +1 -1
  39. package/dist/manifests/empty-state.manifest.json +1 -1
  40. package/dist/manifests/entity-card.manifest.json +1 -1
  41. package/dist/manifests/feature-grid.manifest.json +1 -1
  42. package/dist/manifests/feature-row.manifest.json +1 -1
  43. package/dist/manifests/fieldset.manifest.json +1 -1
  44. package/dist/manifests/file-upload.manifest.json +1 -1
  45. package/dist/manifests/filter-bar.manifest.json +1 -1
  46. package/dist/manifests/filter-chips.manifest.json +1 -1
  47. package/dist/manifests/filter-panel.manifest.json +1 -1
  48. package/dist/manifests/flex.manifest.json +1 -1
  49. package/dist/manifests/form-field.manifest.json +1 -1
  50. package/dist/manifests/form-layout.manifest.json +1 -1
  51. package/dist/manifests/form.manifest.json +1 -1
  52. package/dist/manifests/grid.manifest.json +1 -1
  53. package/dist/manifests/heading.manifest.json +1 -1
  54. package/dist/manifests/hero.manifest.json +1 -1
  55. package/dist/manifests/image.manifest.json +1 -1
  56. package/dist/manifests/input-group.manifest.json +1 -1
  57. package/dist/manifests/input.manifest.json +1 -1
  58. package/dist/manifests/label.manifest.json +1 -1
  59. package/dist/manifests/link-tabs.manifest.json +1 -1
  60. package/dist/manifests/link.manifest.json +1 -1
  61. package/dist/manifests/list-toolbar.manifest.json +120 -0
  62. package/dist/manifests/list.manifest.json +1 -1
  63. package/dist/manifests/load-more.manifest.json +1 -1
  64. package/dist/manifests/logo-cloud.manifest.json +1 -1
  65. package/dist/manifests/media-card.manifest.json +161 -0
  66. package/dist/manifests/menu.manifest.json +1 -1
  67. package/dist/manifests/metric-card.manifest.json +1 -1
  68. package/dist/manifests/month-schedule.manifest.json +217 -0
  69. package/dist/manifests/multi-select.manifest.json +1 -1
  70. package/dist/manifests/newsletter.manifest.json +1 -1
  71. package/dist/manifests/page-header.manifest.json +1 -1
  72. package/dist/manifests/pagination.manifest.json +1 -1
  73. package/dist/manifests/password-input.manifest.json +1 -1
  74. package/dist/manifests/popover.manifest.json +1 -1
  75. package/dist/manifests/process-steps.manifest.json +1 -1
  76. package/dist/manifests/progress.manifest.json +1 -1
  77. package/dist/manifests/prose.manifest.json +1 -1
  78. package/dist/manifests/radio.manifest.json +1 -1
  79. package/dist/manifests/range-slider.manifest.json +1 -1
  80. package/dist/manifests/search.manifest.json +1 -1
  81. package/dist/manifests/section-heading.manifest.json +1 -1
  82. package/dist/manifests/section.manifest.json +1 -1
  83. package/dist/manifests/segmented-control.manifest.json +4 -4
  84. package/dist/manifests/select-menu.manifest.json +1 -1
  85. package/dist/manifests/select.manifest.json +1 -1
  86. package/dist/manifests/separator.manifest.json +1 -1
  87. package/dist/manifests/site-footer.manifest.json +1 -1
  88. package/dist/manifests/site-header.manifest.json +1 -1
  89. package/dist/manifests/skeleton.manifest.json +1 -1
  90. package/dist/manifests/spinner.manifest.json +1 -1
  91. package/dist/manifests/stat-band.manifest.json +1 -1
  92. package/dist/manifests/stepper.manifest.json +1 -1
  93. package/dist/manifests/switch.manifest.json +1 -1
  94. package/dist/manifests/table-card.manifest.json +1 -1
  95. package/dist/manifests/table-of-contents.manifest.json +1 -1
  96. package/dist/manifests/table.manifest.json +1 -1
  97. package/dist/manifests/tabs.manifest.json +1 -1
  98. package/dist/manifests/testimonial.manifest.json +1 -1
  99. package/dist/manifests/text.manifest.json +1 -1
  100. package/dist/manifests/textarea.manifest.json +1 -1
  101. package/dist/manifests/theme-toggle.manifest.json +1 -1
  102. package/dist/manifests/time-picker.manifest.json +1 -1
  103. package/dist/manifests/timeline.manifest.json +1 -1
  104. package/dist/manifests/toast.manifest.json +1 -1
  105. package/dist/manifests/tombstone-card.manifest.json +1 -1
  106. package/dist/manifests/tooltip.manifest.json +1 -1
  107. package/dist/src/components/button/Button.d.ts +2 -2
  108. package/dist/src/components/button/Button.js +1 -0
  109. package/dist/src/components/button/Button.js.map +1 -1
  110. package/dist/src/components/button/Button.mjs +1 -0
  111. package/dist/src/components/button/Button.mjs.map +1 -1
  112. package/dist/src/components/data-table/DataTable.d.ts +12 -1
  113. package/dist/src/components/data-table/DataTable.js +189 -112
  114. package/dist/src/components/data-table/DataTable.js.map +1 -1
  115. package/dist/src/components/data-table/DataTable.mjs +189 -112
  116. package/dist/src/components/data-table/DataTable.mjs.map +1 -1
  117. package/dist/src/components/list-toolbar/ListToolbar.d.ts +25 -0
  118. package/dist/src/components/list-toolbar/ListToolbar.js +68 -0
  119. package/dist/src/components/list-toolbar/ListToolbar.js.map +1 -0
  120. package/dist/src/components/list-toolbar/ListToolbar.mjs +44 -0
  121. package/dist/src/components/list-toolbar/ListToolbar.mjs.map +1 -0
  122. package/dist/src/components/list-toolbar/index.d.ts +1 -0
  123. package/dist/src/components/list-toolbar/index.js +23 -0
  124. package/dist/src/components/list-toolbar/index.js.map +1 -0
  125. package/dist/src/components/list-toolbar/index.mjs +2 -0
  126. package/dist/src/components/list-toolbar/index.mjs.map +1 -0
  127. package/dist/src/components/media-card/MediaCard.d.ts +61 -0
  128. package/dist/src/components/media-card/MediaCard.js +88 -0
  129. package/dist/src/components/media-card/MediaCard.js.map +1 -0
  130. package/dist/src/components/media-card/MediaCard.mjs +54 -0
  131. package/dist/src/components/media-card/MediaCard.mjs.map +1 -0
  132. package/dist/src/components/media-card/index.d.ts +1 -0
  133. package/dist/src/components/media-card/index.js +23 -0
  134. package/dist/src/components/media-card/index.js.map +1 -0
  135. package/dist/src/components/media-card/index.mjs +2 -0
  136. package/dist/src/components/media-card/index.mjs.map +1 -0
  137. package/dist/src/components/month-schedule/MonthSchedule.d.ts +56 -0
  138. package/dist/src/components/month-schedule/MonthSchedule.js +245 -0
  139. package/dist/src/components/month-schedule/MonthSchedule.js.map +1 -0
  140. package/dist/src/components/month-schedule/MonthSchedule.mjs +219 -0
  141. package/dist/src/components/month-schedule/MonthSchedule.mjs.map +1 -0
  142. package/dist/src/components/month-schedule/index.d.ts +1 -0
  143. package/dist/src/components/month-schedule/index.js +23 -0
  144. package/dist/src/components/month-schedule/index.js.map +1 -0
  145. package/dist/src/components/month-schedule/index.mjs +2 -0
  146. package/dist/src/components/month-schedule/index.mjs.map +1 -0
  147. package/dist/src/components/segmented-control/SegmentedControl.d.ts +20 -4
  148. package/dist/src/components/segmented-control/SegmentedControl.js +17 -3
  149. package/dist/src/components/segmented-control/SegmentedControl.js.map +1 -1
  150. package/dist/src/components/segmented-control/SegmentedControl.mjs +17 -3
  151. package/dist/src/components/segmented-control/SegmentedControl.mjs.map +1 -1
  152. package/dist/src/index.d.ts +3 -0
  153. package/dist/styles-full.css +1 -1
  154. package/dist/styles.css +1 -1
  155. package/package.json +3 -3
  156. package/src/components/button/Button.ssr.test.tsx +1 -1
  157. package/src/components/button/Button.test.tsx +6 -0
  158. package/src/components/button/Button.tsx +1 -0
  159. package/src/components/data-table/DataTable.test.tsx +99 -0
  160. package/src/components/data-table/DataTable.tsx +115 -1
  161. package/src/components/list-toolbar/ListToolbar.test.tsx +50 -0
  162. package/src/components/list-toolbar/ListToolbar.tsx +64 -0
  163. package/src/components/list-toolbar/index.ts +1 -0
  164. package/src/components/media-card/MediaCard.test.tsx +97 -0
  165. package/src/components/media-card/MediaCard.tsx +116 -0
  166. package/src/components/media-card/index.ts +1 -0
  167. package/src/components/month-schedule/MonthSchedule.test.tsx +137 -0
  168. package/src/components/month-schedule/MonthSchedule.tsx +332 -0
  169. package/src/components/month-schedule/index.ts +1 -0
  170. package/src/components/segmented-control/SegmentedControl.test.tsx +51 -0
  171. package/src/components/segmented-control/SegmentedControl.tsx +36 -4
  172. package/src/index.ts +3 -0
  173. package/src/manifests/accordion.manifest.json +1 -1
  174. package/src/manifests/alert.manifest.json +1 -1
  175. package/src/manifests/announcement-bar.manifest.json +1 -1
  176. package/src/manifests/app-shell.manifest.json +1 -1
  177. package/src/manifests/applied-filters.manifest.json +1 -1
  178. package/src/manifests/article-card.manifest.json +1 -1
  179. package/src/manifests/auth-layout.manifest.json +1 -1
  180. package/src/manifests/autocomplete.manifest.json +1 -1
  181. package/src/manifests/avatar.manifest.json +1 -1
  182. package/src/manifests/badge.manifest.json +1 -1
  183. package/src/manifests/block.manifest.json +1 -1
  184. package/src/manifests/bottom-nav.manifest.json +1 -1
  185. package/src/manifests/breadcrumb.manifest.json +1 -1
  186. package/src/manifests/button-group.manifest.json +1 -1
  187. package/src/manifests/button.manifest.json +4 -2
  188. package/src/manifests/calendar.manifest.json +1 -1
  189. package/src/manifests/card.manifest.json +1 -1
  190. package/src/manifests/checkbox.manifest.json +1 -1
  191. package/src/manifests/comparison-table.manifest.json +1 -1
  192. package/src/manifests/confirm-dialog.manifest.json +1 -1
  193. package/src/manifests/contact-strip.manifest.json +1 -1
  194. package/src/manifests/container.manifest.json +1 -1
  195. package/src/manifests/cover-image.manifest.json +1 -1
  196. package/src/manifests/cta-section.manifest.json +1 -1
  197. package/src/manifests/data-table.manifest.json +22 -1
  198. package/src/manifests/date-picker-popover.manifest.json +1 -1
  199. package/src/manifests/date-picker.manifest.json +1 -1
  200. package/src/manifests/date-range-picker.manifest.json +1 -1
  201. package/src/manifests/deal-card.manifest.json +1 -1
  202. package/src/manifests/dialog.manifest.json +1 -1
  203. package/src/manifests/document-card.manifest.json +1 -1
  204. package/src/manifests/drawer.manifest.json +1 -1
  205. package/src/manifests/empty-state.manifest.json +1 -1
  206. package/src/manifests/entity-card.manifest.json +1 -1
  207. package/src/manifests/feature-grid.manifest.json +1 -1
  208. package/src/manifests/feature-row.manifest.json +1 -1
  209. package/src/manifests/fieldset.manifest.json +1 -1
  210. package/src/manifests/file-upload.manifest.json +1 -1
  211. package/src/manifests/filter-bar.manifest.json +1 -1
  212. package/src/manifests/filter-chips.manifest.json +1 -1
  213. package/src/manifests/filter-panel.manifest.json +1 -1
  214. package/src/manifests/flex.manifest.json +1 -1
  215. package/src/manifests/form-field.manifest.json +1 -1
  216. package/src/manifests/form-layout.manifest.json +1 -1
  217. package/src/manifests/form.manifest.json +1 -1
  218. package/src/manifests/grid.manifest.json +1 -1
  219. package/src/manifests/heading.manifest.json +1 -1
  220. package/src/manifests/hero.manifest.json +1 -1
  221. package/src/manifests/image.manifest.json +1 -1
  222. package/src/manifests/input-group.manifest.json +1 -1
  223. package/src/manifests/input.manifest.json +1 -1
  224. package/src/manifests/label.manifest.json +1 -1
  225. package/src/manifests/link-tabs.manifest.json +1 -1
  226. package/src/manifests/link.manifest.json +1 -1
  227. package/src/manifests/list-toolbar.manifest.json +120 -0
  228. package/src/manifests/list.manifest.json +1 -1
  229. package/src/manifests/load-more.manifest.json +1 -1
  230. package/src/manifests/logo-cloud.manifest.json +1 -1
  231. package/src/manifests/media-card.manifest.json +161 -0
  232. package/src/manifests/menu.manifest.json +1 -1
  233. package/src/manifests/metric-card.manifest.json +1 -1
  234. package/src/manifests/month-schedule.manifest.json +217 -0
  235. package/src/manifests/multi-select.manifest.json +1 -1
  236. package/src/manifests/newsletter.manifest.json +1 -1
  237. package/src/manifests/page-header.manifest.json +1 -1
  238. package/src/manifests/pagination.manifest.json +1 -1
  239. package/src/manifests/password-input.manifest.json +1 -1
  240. package/src/manifests/popover.manifest.json +1 -1
  241. package/src/manifests/process-steps.manifest.json +1 -1
  242. package/src/manifests/progress.manifest.json +1 -1
  243. package/src/manifests/prose.manifest.json +1 -1
  244. package/src/manifests/radio.manifest.json +1 -1
  245. package/src/manifests/range-slider.manifest.json +1 -1
  246. package/src/manifests/search.manifest.json +1 -1
  247. package/src/manifests/section-heading.manifest.json +1 -1
  248. package/src/manifests/section.manifest.json +1 -1
  249. package/src/manifests/segmented-control.manifest.json +4 -4
  250. package/src/manifests/select-menu.manifest.json +1 -1
  251. package/src/manifests/select.manifest.json +1 -1
  252. package/src/manifests/separator.manifest.json +1 -1
  253. package/src/manifests/site-footer.manifest.json +1 -1
  254. package/src/manifests/site-header.manifest.json +1 -1
  255. package/src/manifests/skeleton.manifest.json +1 -1
  256. package/src/manifests/spinner.manifest.json +1 -1
  257. package/src/manifests/stat-band.manifest.json +1 -1
  258. package/src/manifests/stepper.manifest.json +1 -1
  259. package/src/manifests/switch.manifest.json +1 -1
  260. package/src/manifests/table-card.manifest.json +1 -1
  261. package/src/manifests/table-of-contents.manifest.json +1 -1
  262. package/src/manifests/table.manifest.json +1 -1
  263. package/src/manifests/tabs.manifest.json +1 -1
  264. package/src/manifests/testimonial.manifest.json +1 -1
  265. package/src/manifests/text.manifest.json +1 -1
  266. package/src/manifests/textarea.manifest.json +1 -1
  267. package/src/manifests/theme-toggle.manifest.json +1 -1
  268. package/src/manifests/time-picker.manifest.json +1 -1
  269. package/src/manifests/timeline.manifest.json +1 -1
  270. package/src/manifests/toast.manifest.json +1 -1
  271. package/src/manifests/tombstone-card.manifest.json +1 -1
  272. package/src/manifests/tooltip.manifest.json +1 -1
package/dist/index.mjs CHANGED
@@ -552,6 +552,7 @@ var buttonVariants = cva(
552
552
  size: {
553
553
  default: "h-10 px-4 py-2",
554
554
  sm: "h-9 rounded-md px-3",
555
+ xs: "h-8 rounded-md px-2.5 text-xs",
555
556
  lg: "h-11 rounded-md px-8",
556
557
  icon: "h-10 w-10"
557
558
  }
@@ -3432,14 +3433,218 @@ function partsOf(key) {
3432
3433
  return { year: parts?.year ?? 1970, month: parts?.month ?? 0 };
3433
3434
  }
3434
3435
 
3435
- // src/components/card/Card.tsx
3436
+ // src/components/month-schedule/MonthSchedule.tsx
3436
3437
  import * as React39 from "react";
3438
+ import { jsx as jsx38, jsxs as jsxs26 } from "react/jsx-runtime";
3439
+ var TYPE_TONES = [
3440
+ "outline-info",
3441
+ "outline-success",
3442
+ "outline-warning",
3443
+ "outline-danger",
3444
+ "outline"
3445
+ ];
3446
+ function typeTone(type, legend) {
3447
+ if (!type) return "outline";
3448
+ const index = legend?.findIndex((item) => item.type === type) ?? -1;
3449
+ if (index >= 0) return TYPE_TONES[index % TYPE_TONES.length];
3450
+ let hash = 0;
3451
+ for (let i = 0; i < type.length; i += 1) hash = hash * 31 + type.charCodeAt(i) >>> 0;
3452
+ return TYPE_TONES[hash % TYPE_TONES.length];
3453
+ }
3454
+ function monthOf(key) {
3455
+ const parts = parseDateKey(`${key}-01`);
3456
+ return { year: parts?.year ?? 1970, month: parts?.month ?? 0 };
3457
+ }
3458
+ function shiftMonth(monthKey, delta) {
3459
+ const { year, month } = monthOf(monthKey);
3460
+ const shifted = addMonths(`${year}-${String(month + 1).padStart(2, "0")}-01`, delta);
3461
+ return shifted.slice(0, 7);
3462
+ }
3463
+ function MonthSchedule({
3464
+ events,
3465
+ getDate,
3466
+ getLabel,
3467
+ getType,
3468
+ getHref,
3469
+ month,
3470
+ defaultMonth,
3471
+ onMonthChange,
3472
+ today,
3473
+ locale = "en-US",
3474
+ weekStartsOn = 0,
3475
+ maxPerDay = 3,
3476
+ legend,
3477
+ agendaBreakpoint = "md",
3478
+ linkComponent,
3479
+ linkHrefProp = "href",
3480
+ "aria-label": ariaLabel,
3481
+ className
3482
+ }) {
3483
+ const resolvedToday = today ?? todayKey();
3484
+ const Link3 = linkComponent ?? "a";
3485
+ const [internalMonth, setInternalMonth] = React39.useState(
3486
+ () => month ?? defaultMonth ?? resolvedToday.slice(0, 7)
3487
+ );
3488
+ const activeMonth = month ?? internalMonth;
3489
+ const { year, month: monthIndex } = monthOf(activeMonth);
3490
+ const byDay = React39.useMemo(() => {
3491
+ const map = /* @__PURE__ */ new Map();
3492
+ for (const event of events) {
3493
+ const key = getDate(event);
3494
+ const list = map.get(key);
3495
+ if (list) list.push(event);
3496
+ else map.set(key, [event]);
3497
+ }
3498
+ for (const list of map.values()) {
3499
+ list.sort((a, b) => getLabel(a).localeCompare(getLabel(b)));
3500
+ }
3501
+ return map;
3502
+ }, [events, getDate, getLabel]);
3503
+ const weeks = React39.useMemo(
3504
+ () => calendarWeeks(year, monthIndex, weekStartsOn),
3505
+ [year, monthIndex, weekStartsOn]
3506
+ );
3507
+ const weekdays = React39.useMemo(
3508
+ () => weekdayLabels(locale, weekStartsOn),
3509
+ [locale, weekStartsOn]
3510
+ );
3511
+ const monthName = monthLabel(year, monthIndex, locale);
3512
+ const agendaDays = React39.useMemo(
3513
+ () => [...byDay.keys()].filter((key) => key.startsWith(activeMonth)).sort().map((key) => ({ key, items: byDay.get(key) ?? [] })),
3514
+ [byDay, activeMonth]
3515
+ );
3516
+ const page = (delta) => {
3517
+ const next = shiftMonth(activeMonth, delta);
3518
+ if (month === void 0) setInternalMonth(next);
3519
+ onMonthChange?.(next);
3520
+ };
3521
+ const renderEvent = (event, key) => {
3522
+ const label = getLabel(event);
3523
+ const type = getType?.(event);
3524
+ const tone = typeTone(type, legend);
3525
+ const href = getHref?.(event);
3526
+ const chip = /* @__PURE__ */ jsx38(Badge, { variant: tone, size: "sm", className: "max-w-full truncate", children: label });
3527
+ if (!href) return /* @__PURE__ */ jsx38("span", { children: chip }, key);
3528
+ const destination = linkHrefProp === "to" ? { to: href } : { href };
3529
+ return /* @__PURE__ */ jsx38(
3530
+ Link3,
3531
+ {
3532
+ ...destination,
3533
+ className: "block max-w-full rounded-sm focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
3534
+ children: chip
3535
+ },
3536
+ key
3537
+ );
3538
+ };
3539
+ const gridHidden = agendaBreakpoint === "sm" ? "hidden sm:block" : "hidden md:block";
3540
+ const agendaHidden = agendaBreakpoint === "sm" ? "sm:hidden" : "md:hidden";
3541
+ return /* @__PURE__ */ jsxs26("div", { className: cn("w-full select-none", className), children: [
3542
+ /* @__PURE__ */ jsxs26("div", { className: "mb-2 flex items-center justify-between gap-2", children: [
3543
+ /* @__PURE__ */ jsx38(
3544
+ Button,
3545
+ {
3546
+ type: "button",
3547
+ variant: "ghost",
3548
+ size: "icon",
3549
+ "aria-label": "Previous month",
3550
+ onClick: () => page(-1),
3551
+ children: "\u2039"
3552
+ }
3553
+ ),
3554
+ /* @__PURE__ */ jsx38("div", { "aria-live": "polite", className: "text-sm font-semibold text-foreground", children: monthName }),
3555
+ /* @__PURE__ */ jsx38(
3556
+ Button,
3557
+ {
3558
+ type: "button",
3559
+ variant: "ghost",
3560
+ size: "icon",
3561
+ "aria-label": "Next month",
3562
+ onClick: () => page(1),
3563
+ children: "\u203A"
3564
+ }
3565
+ )
3566
+ ] }),
3567
+ /* @__PURE__ */ jsxs26(
3568
+ "div",
3569
+ {
3570
+ role: "grid",
3571
+ "aria-label": ariaLabel ?? monthName,
3572
+ className: cn("flex flex-col gap-1", gridHidden),
3573
+ children: [
3574
+ /* @__PURE__ */ jsx38("div", { role: "row", className: "grid grid-cols-7 gap-1 text-center text-xs text-muted-foreground", children: weekdays.map((weekday) => /* @__PURE__ */ jsx38("span", { role: "columnheader", "aria-label": weekday, className: "py-1", children: weekday }, weekday)) }),
3575
+ weeks.map((week) => /* @__PURE__ */ jsx38("div", { role: "row", className: "grid grid-cols-7 gap-1", children: week.map((day) => {
3576
+ const dayEvents = byDay.get(day.key) ?? [];
3577
+ const visible = dayEvents.slice(0, maxPerDay);
3578
+ const overflow = dayEvents.length - visible.length;
3579
+ const isToday = day.key === resolvedToday;
3580
+ return /* @__PURE__ */ jsxs26(
3581
+ "div",
3582
+ {
3583
+ role: "gridcell",
3584
+ "aria-current": isToday ? "date" : void 0,
3585
+ className: cn(
3586
+ "flex min-h-16 flex-col gap-0.5 rounded-md border border-transparent p-1",
3587
+ !day.inMonth && "opacity-50",
3588
+ isToday && "border-primary/40 bg-primary/5"
3589
+ ),
3590
+ children: [
3591
+ /* @__PURE__ */ jsx38(
3592
+ "span",
3593
+ {
3594
+ className: cn(
3595
+ "self-start px-1 text-xs tabular-nums",
3596
+ isToday ? "font-semibold text-primary-ink" : "text-muted-foreground"
3597
+ ),
3598
+ children: day.day
3599
+ }
3600
+ ),
3601
+ visible.map(
3602
+ (event, index) => renderEvent(event, `${day.key}-${index}-${getLabel(event)}`)
3603
+ ),
3604
+ overflow > 0 && /* @__PURE__ */ jsxs26("span", { className: "px-1 text-[11px] text-muted-foreground", children: [
3605
+ "+",
3606
+ overflow,
3607
+ " more"
3608
+ ] })
3609
+ ]
3610
+ },
3611
+ day.key
3612
+ );
3613
+ }) }, week[0]?.key))
3614
+ ]
3615
+ }
3616
+ ),
3617
+ /* @__PURE__ */ jsx38("div", { className: cn("flex flex-col gap-3", agendaHidden), children: agendaDays.length === 0 ? /* @__PURE__ */ jsx38("p", { className: "py-6 text-center text-sm text-muted-foreground", children: "No events this month." }) : agendaDays.map(({ key, items }) => /* @__PURE__ */ jsxs26("section", { "aria-label": formatDateLabel(key, locale), children: [
3618
+ /* @__PURE__ */ jsx38("h3", { className: "mb-1 text-xs font-semibold uppercase tracking-wide text-muted-foreground", children: formatDateLabel(key, locale) }),
3619
+ /* @__PURE__ */ jsx38("ul", { className: "flex flex-col gap-1", children: items.map((event, index) => {
3620
+ const label = getLabel(event);
3621
+ const type = getType?.(event);
3622
+ const tone = typeTone(type, legend);
3623
+ const href = getHref?.(event);
3624
+ const row = /* @__PURE__ */ jsx38(Badge, { variant: tone, size: "sm", className: "max-w-full truncate", children: label });
3625
+ return /* @__PURE__ */ jsx38("li", { children: href ? /* @__PURE__ */ jsx38(
3626
+ Link3,
3627
+ {
3628
+ ...linkHrefProp === "to" ? { to: href } : { href },
3629
+ className: "block max-w-full rounded-sm focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
3630
+ children: row
3631
+ }
3632
+ ) : row }, `${key}-${index}-${label}`);
3633
+ }) })
3634
+ ] }, key)) }),
3635
+ legend && legend.length > 0 && /* @__PURE__ */ jsx38("ul", { className: "mt-3 flex flex-wrap gap-x-4 gap-y-1", "aria-label": "Event types", children: legend.map((item) => /* @__PURE__ */ jsx38("li", { className: "flex items-center gap-1.5 text-xs text-muted-foreground", children: /* @__PURE__ */ jsx38(Badge, { variant: typeTone(item.type, legend), size: "sm", children: item.label }) }, item.type)) })
3636
+ ] });
3637
+ }
3638
+ MonthSchedule.displayName = "MonthSchedule";
3639
+
3640
+ // src/components/card/Card.tsx
3641
+ import * as React40 from "react";
3437
3642
  import { Slot as Slot3 } from "@radix-ui/react-slot";
3438
- import { jsx as jsx38 } from "react/jsx-runtime";
3439
- var Card = React39.forwardRef(
3643
+ import { jsx as jsx39 } from "react/jsx-runtime";
3644
+ var Card = React40.forwardRef(
3440
3645
  ({ className, asChild = false, ...props }, ref) => {
3441
3646
  const Comp = asChild ? Slot3 : "div";
3442
- return /* @__PURE__ */ jsx38(
3647
+ return /* @__PURE__ */ jsx39(
3443
3648
  Comp,
3444
3649
  {
3445
3650
  ref,
@@ -3450,12 +3655,12 @@ var Card = React39.forwardRef(
3450
3655
  }
3451
3656
  );
3452
3657
  Card.displayName = "Card";
3453
- var CardHeader = React39.forwardRef(
3454
- ({ className, ...props }, ref) => /* @__PURE__ */ jsx38("div", { ref, className: cn("flex flex-col space-y-1.5 p-6", className), ...props })
3658
+ var CardHeader = React40.forwardRef(
3659
+ ({ className, ...props }, ref) => /* @__PURE__ */ jsx39("div", { ref, className: cn("flex flex-col space-y-1.5 p-6", className), ...props })
3455
3660
  );
3456
3661
  CardHeader.displayName = "CardHeader";
3457
- var CardTitle = React39.forwardRef(
3458
- ({ className, ...props }, ref) => /* @__PURE__ */ jsx38(
3662
+ var CardTitle = React40.forwardRef(
3663
+ ({ className, ...props }, ref) => /* @__PURE__ */ jsx39(
3459
3664
  "h3",
3460
3665
  {
3461
3666
  ref,
@@ -3465,22 +3670,22 @@ var CardTitle = React39.forwardRef(
3465
3670
  )
3466
3671
  );
3467
3672
  CardTitle.displayName = "CardTitle";
3468
- var CardDescription = React39.forwardRef(
3469
- ({ className, ...props }, ref) => /* @__PURE__ */ jsx38("p", { ref, className: cn("text-sm text-muted-foreground", className), ...props })
3673
+ var CardDescription = React40.forwardRef(
3674
+ ({ className, ...props }, ref) => /* @__PURE__ */ jsx39("p", { ref, className: cn("text-sm text-muted-foreground", className), ...props })
3470
3675
  );
3471
3676
  CardDescription.displayName = "CardDescription";
3472
- var CardContent = React39.forwardRef(
3473
- ({ className, ...props }, ref) => /* @__PURE__ */ jsx38("div", { ref, className: cn("p-6 pt-0", className), ...props })
3677
+ var CardContent = React40.forwardRef(
3678
+ ({ className, ...props }, ref) => /* @__PURE__ */ jsx39("div", { ref, className: cn("p-6 pt-0", className), ...props })
3474
3679
  );
3475
3680
  CardContent.displayName = "CardContent";
3476
- var CardFooter = React39.forwardRef(
3477
- ({ className, ...props }, ref) => /* @__PURE__ */ jsx38("div", { ref, className: cn("flex items-center p-6 pt-0", className), ...props })
3681
+ var CardFooter = React40.forwardRef(
3682
+ ({ className, ...props }, ref) => /* @__PURE__ */ jsx39("div", { ref, className: cn("flex items-center p-6 pt-0", className), ...props })
3478
3683
  );
3479
3684
  CardFooter.displayName = "CardFooter";
3480
3685
 
3481
3686
  // src/components/confirm-dialog/ConfirmDialog.tsx
3482
- import * as React40 from "react";
3483
- import { jsx as jsx39, jsxs as jsxs26 } from "react/jsx-runtime";
3687
+ import * as React41 from "react";
3688
+ import { jsx as jsx40, jsxs as jsxs27 } from "react/jsx-runtime";
3484
3689
  function ConfirmDialog({
3485
3690
  open,
3486
3691
  onOpenChange,
@@ -3493,7 +3698,7 @@ function ConfirmDialog({
3493
3698
  closeOnConfirm = true,
3494
3699
  children
3495
3700
  }) {
3496
- const [pending, setPending] = React40.useState(false);
3701
+ const [pending, setPending] = React41.useState(false);
3497
3702
  const handleConfirm = async () => {
3498
3703
  try {
3499
3704
  setPending(true);
@@ -3503,7 +3708,7 @@ function ConfirmDialog({
3503
3708
  setPending(false);
3504
3709
  }
3505
3710
  };
3506
- return /* @__PURE__ */ jsx39(
3711
+ return /* @__PURE__ */ jsx40(
3507
3712
  Dialog,
3508
3713
  {
3509
3714
  open,
@@ -3514,9 +3719,9 @@ function ConfirmDialog({
3514
3719
  title,
3515
3720
  description,
3516
3721
  size: "sm",
3517
- footer: /* @__PURE__ */ jsxs26(DialogFooter, { children: [
3518
- /* @__PURE__ */ jsx39(Button, { variant: "ghost", onClick: () => onOpenChange(false), disabled: pending, children: cancelLabel }),
3519
- /* @__PURE__ */ jsx39(
3722
+ footer: /* @__PURE__ */ jsxs27(DialogFooter, { children: [
3723
+ /* @__PURE__ */ jsx40(Button, { variant: "ghost", onClick: () => onOpenChange(false), disabled: pending, children: cancelLabel }),
3724
+ /* @__PURE__ */ jsx40(
3520
3725
  Button,
3521
3726
  {
3522
3727
  variant: destructive ? "destructive" : "default",
@@ -3532,8 +3737,8 @@ function ConfirmDialog({
3532
3737
  }
3533
3738
 
3534
3739
  // src/components/table-of-contents/TableOfContents.tsx
3535
- import * as React41 from "react";
3536
- import { jsx as jsx40, jsxs as jsxs27 } from "react/jsx-runtime";
3740
+ import * as React42 from "react";
3741
+ import { jsx as jsx41, jsxs as jsxs28 } from "react/jsx-runtime";
3537
3742
  function TableOfContents({
3538
3743
  headings,
3539
3744
  activeId,
@@ -3545,17 +3750,17 @@ function TableOfContents({
3545
3750
  className,
3546
3751
  ...props
3547
3752
  }) {
3548
- return /* @__PURE__ */ jsxs27(
3753
+ return /* @__PURE__ */ jsxs28(
3549
3754
  "nav",
3550
3755
  {
3551
3756
  "aria-label": ariaLabel ?? label,
3552
3757
  className: cn("text-sm", sticky && "sticky top-20 max-h-[calc(100vh-6rem)] overflow-y-auto", className),
3553
3758
  ...props,
3554
3759
  children: [
3555
- /* @__PURE__ */ jsx40("p", { className: cn("mb-2 text-xs font-semibold uppercase tracking-wide text-muted-foreground", labelClassName), children: label }),
3556
- /* @__PURE__ */ jsx40("ul", { className: "space-y-1 border-l border-border", children: headings.map((heading) => {
3760
+ /* @__PURE__ */ jsx41("p", { className: cn("mb-2 text-xs font-semibold uppercase tracking-wide text-muted-foreground", labelClassName), children: label }),
3761
+ /* @__PURE__ */ jsx41("ul", { className: "space-y-1 border-l border-border", children: headings.map((heading) => {
3557
3762
  const active = heading.id === activeId;
3558
- return /* @__PURE__ */ jsx40("li", { style: { paddingLeft: `${(heading.level - 2) * 0.75}rem` }, children: /* @__PURE__ */ jsx40(
3763
+ return /* @__PURE__ */ jsx41("li", { style: { paddingLeft: `${(heading.level - 2) * 0.75}rem` }, children: /* @__PURE__ */ jsx41(
3559
3764
  "a",
3560
3765
  {
3561
3766
  href: `#${heading.id}`,
@@ -3574,10 +3779,10 @@ function TableOfContents({
3574
3779
  );
3575
3780
  }
3576
3781
  function useScrollSpy(ids, options) {
3577
- const [activeId, setActiveId] = React41.useState();
3782
+ const [activeId, setActiveId] = React42.useState();
3578
3783
  const idKey = ids.join("|");
3579
3784
  const rootMargin = options?.rootMargin ?? "0px 0px -70% 0px";
3580
- React41.useEffect(() => {
3785
+ React42.useEffect(() => {
3581
3786
  if (idKey.length === 0 || typeof IntersectionObserver === "undefined") return;
3582
3787
  const elements = idKey.split("|").map((id) => document.getElementById(id)).filter((element) => element !== null);
3583
3788
  if (elements.length === 0) return;
@@ -3592,7 +3797,7 @@ function useScrollSpy(ids, options) {
3592
3797
  elements.forEach((element) => observer.observe(element));
3593
3798
  return () => observer.disconnect();
3594
3799
  }, [idKey, rootMargin]);
3595
- React41.useEffect(() => {
3800
+ React42.useEffect(() => {
3596
3801
  if (typeof window === "undefined") return;
3597
3802
  const ids2 = idKey.split("|").filter(Boolean);
3598
3803
  const syncFromHash = () => {
@@ -3607,15 +3812,15 @@ function useScrollSpy(ids, options) {
3607
3812
  }
3608
3813
 
3609
3814
  // src/components/prose/Prose.tsx
3610
- import * as React42 from "react";
3611
- import { jsx as jsx41 } from "react/jsx-runtime";
3815
+ import * as React43 from "react";
3816
+ import { jsx as jsx42 } from "react/jsx-runtime";
3612
3817
  var sizeClasses3 = {
3613
3818
  sm: "text-sm [&_h2]:text-xl [&_h3]:text-lg",
3614
3819
  md: "text-base [&_h2]:text-2xl [&_h3]:text-xl",
3615
3820
  lg: "text-lg [&_h2]:text-3xl [&_h3]:text-2xl"
3616
3821
  };
3617
- var Prose = React42.forwardRef(function Prose2({ size = "md", className, ...props }, ref) {
3618
- return /* @__PURE__ */ jsx41(
3822
+ var Prose = React43.forwardRef(function Prose2({ size = "md", className, ...props }, ref) {
3823
+ return /* @__PURE__ */ jsx42(
3619
3824
  "div",
3620
3825
  {
3621
3826
  ref,
@@ -3654,7 +3859,7 @@ var Prose = React42.forwardRef(function Prose2({ size = "md", className, ...prop
3654
3859
  });
3655
3860
 
3656
3861
  // src/components/site-footer/SiteFooter.tsx
3657
- import { jsx as jsx42, jsxs as jsxs28 } from "react/jsx-runtime";
3862
+ import { jsx as jsx43, jsxs as jsxs29 } from "react/jsx-runtime";
3658
3863
  function isActive2(itemHref, activeHref, match) {
3659
3864
  if (!activeHref) return false;
3660
3865
  if (itemHref === activeHref) return true;
@@ -3676,18 +3881,18 @@ function SiteFooter({
3676
3881
  }) {
3677
3882
  const Link3 = linkComponent ?? "a";
3678
3883
  const destination = (href) => linkHrefProp === "to" ? { to: href } : { href };
3679
- return /* @__PURE__ */ jsxs28("footer", { className: cn("border-t border-border bg-muted/30", className), ...props, children: [
3680
- /* @__PURE__ */ jsxs28("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: [
3681
- /* @__PURE__ */ jsxs28("div", { className: "min-w-0", children: [
3884
+ return /* @__PURE__ */ jsxs29("footer", { className: cn("border-t border-border bg-muted/30", className), ...props, children: [
3885
+ /* @__PURE__ */ jsxs29("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: [
3886
+ /* @__PURE__ */ jsxs29("div", { className: "min-w-0", children: [
3682
3887
  brand,
3683
- tagline && /* @__PURE__ */ jsx42("p", { className: "mt-3 max-w-56 text-sm text-muted-foreground", children: tagline }),
3684
- contact && /* @__PURE__ */ jsx42("div", { className: "mt-3 max-w-56 text-sm text-muted-foreground", children: contact })
3888
+ tagline && /* @__PURE__ */ jsx43("p", { className: "mt-3 max-w-56 text-sm text-muted-foreground", children: tagline }),
3889
+ contact && /* @__PURE__ */ jsx43("div", { className: "mt-3 max-w-56 text-sm text-muted-foreground", children: contact })
3685
3890
  ] }),
3686
- columns.map((column) => /* @__PURE__ */ jsxs28("div", { children: [
3687
- /* @__PURE__ */ jsx42("h2", { className: "mb-3 text-xs font-semibold uppercase tracking-wider text-muted-foreground", children: column.title }),
3688
- /* @__PURE__ */ jsx42("ul", { className: "m-0 list-none space-y-2 p-0 text-sm", children: column.links.map((link) => {
3891
+ columns.map((column) => /* @__PURE__ */ jsxs29("div", { children: [
3892
+ /* @__PURE__ */ jsx43("h2", { className: "mb-3 text-xs font-semibold uppercase tracking-wider text-muted-foreground", children: column.title }),
3893
+ /* @__PURE__ */ jsx43("ul", { className: "m-0 list-none space-y-2 p-0 text-sm", children: column.links.map((link) => {
3689
3894
  const active = isActive2(link.href, activeHref, match);
3690
- return /* @__PURE__ */ jsx42("li", { children: /* @__PURE__ */ jsx42(
3895
+ return /* @__PURE__ */ jsx43("li", { children: /* @__PURE__ */ jsx43(
3691
3896
  Link3,
3692
3897
  {
3693
3898
  ...destination(link.href),
@@ -3703,13 +3908,13 @@ function SiteFooter({
3703
3908
  }) })
3704
3909
  ] }, column.title))
3705
3910
  ] }),
3706
- legal && /* @__PURE__ */ jsx42("div", { className: "border-t border-border", children: /* @__PURE__ */ jsx42("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 }) })
3911
+ legal && /* @__PURE__ */ jsx43("div", { className: "border-t border-border", children: /* @__PURE__ */ jsx43("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 }) })
3707
3912
  ] });
3708
3913
  }
3709
3914
 
3710
3915
  // src/components/site-header/SiteHeader.tsx
3711
- import * as React43 from "react";
3712
- import { Fragment as Fragment8, jsx as jsx43, jsxs as jsxs29 } from "react/jsx-runtime";
3916
+ import * as React44 from "react";
3917
+ import { Fragment as Fragment8, jsx as jsx44, jsxs as jsxs30 } from "react/jsx-runtime";
3713
3918
  function isActive3(itemHref, activeHref, match) {
3714
3919
  if (!activeHref) return false;
3715
3920
  if (itemHref === activeHref) return true;
@@ -3717,7 +3922,7 @@ function isActive3(itemHref, activeHref, match) {
3717
3922
  return activeHref === itemHref || activeHref.startsWith(itemHref.endsWith("/") ? itemHref : `${itemHref}/`);
3718
3923
  }
3719
3924
  function Caret() {
3720
- return /* @__PURE__ */ jsx43(
3925
+ return /* @__PURE__ */ jsx44(
3721
3926
  "svg",
3722
3927
  {
3723
3928
  "aria-hidden": "true",
@@ -3728,7 +3933,7 @@ function Caret() {
3728
3933
  strokeWidth: "1.75",
3729
3934
  strokeLinecap: "round",
3730
3935
  strokeLinejoin: "round",
3731
- children: /* @__PURE__ */ jsx43("path", { d: "m2.5 4.5 3.5 3.5 3.5-3.5" })
3936
+ children: /* @__PURE__ */ jsx44("path", { d: "m2.5 4.5 3.5 3.5 3.5-3.5" })
3732
3937
  }
3733
3938
  );
3734
3939
  }
@@ -3755,14 +3960,14 @@ function SiteHeader({
3755
3960
  className,
3756
3961
  ...props
3757
3962
  }) {
3758
- const [mobileOpen, setMobileOpen] = React43.useState(false);
3759
- const [openMenu, setOpenMenu] = React43.useState(null);
3760
- const pendingFocus = React43.useRef(null);
3761
- const generatedId = React43.useId();
3963
+ const [mobileOpen, setMobileOpen] = React44.useState(false);
3964
+ const [openMenu, setOpenMenu] = React44.useState(null);
3965
+ const pendingFocus = React44.useRef(null);
3966
+ const generatedId = React44.useId();
3762
3967
  const menuId = `${generatedId}-menu`;
3763
3968
  const Link3 = linkComponent ?? "a";
3764
3969
  const destination = (href) => linkHrefProp === "to" ? { to: href } : { href };
3765
- React43.useEffect(() => {
3970
+ React44.useEffect(() => {
3766
3971
  if (!openMenu) return;
3767
3972
  const onKey = (event) => {
3768
3973
  if (event.key === "Escape") setOpenMenu(null);
@@ -3779,7 +3984,7 @@ function SiteHeader({
3779
3984
  document.removeEventListener("pointerdown", onPointer);
3780
3985
  };
3781
3986
  }, [openMenu]);
3782
- React43.useEffect(() => {
3987
+ React44.useEffect(() => {
3783
3988
  if (!openMenu || !pendingFocus.current) return;
3784
3989
  const panel = document.getElementById(pendingFocus.current);
3785
3990
  pendingFocus.current = null;
@@ -3787,7 +3992,7 @@ function SiteHeader({
3787
3992
  }, [openMenu]);
3788
3993
  const navLink = (item, extra) => {
3789
3994
  const active = isActive3(item.href, activeHref, match);
3790
- return /* @__PURE__ */ jsx43(
3995
+ return /* @__PURE__ */ jsx44(
3791
3996
  Link3,
3792
3997
  {
3793
3998
  ...destination(item.href),
@@ -3801,17 +4006,17 @@ function SiteHeader({
3801
4006
  !extra && "text-sm hover:text-foreground",
3802
4007
  !extra && (active ? "font-medium text-foreground" : "text-muted-foreground")
3803
4008
  ),
3804
- children: extra === "panel" ? /* @__PURE__ */ jsxs29(Fragment8, { children: [
3805
- /* @__PURE__ */ jsx43("span", { className: "block text-sm font-medium", children: item.label }),
3806
- item.description && /* @__PURE__ */ jsx43("span", { className: "mt-0.5 block text-xs text-muted-foreground", children: item.description })
4009
+ children: extra === "panel" ? /* @__PURE__ */ jsxs30(Fragment8, { children: [
4010
+ /* @__PURE__ */ jsx44("span", { className: "block text-sm font-medium", children: item.label }),
4011
+ item.description && /* @__PURE__ */ jsx44("span", { className: "mt-0.5 block text-xs text-muted-foreground", children: item.description })
3807
4012
  ] }) : item.label
3808
4013
  },
3809
4014
  item.href
3810
4015
  );
3811
4016
  };
3812
4017
  const hasColumns = (item) => Array.isArray(item.columns) && item.columns.length > 0;
3813
- return /* @__PURE__ */ jsxs29(Fragment8, { children: [
3814
- /* @__PURE__ */ jsx43(
4018
+ return /* @__PURE__ */ jsxs30(Fragment8, { children: [
4019
+ /* @__PURE__ */ jsx44(
3815
4020
  "header",
3816
4021
  {
3817
4022
  className: cn(
@@ -3820,7 +4025,7 @@ function SiteHeader({
3820
4025
  className
3821
4026
  ),
3822
4027
  ...props,
3823
- children: /* @__PURE__ */ jsxs29(
4028
+ children: /* @__PURE__ */ jsxs30(
3824
4029
  "nav",
3825
4030
  {
3826
4031
  "aria-label": navLabel,
@@ -3829,8 +4034,8 @@ function SiteHeader({
3829
4034
  navClassName
3830
4035
  ),
3831
4036
  children: [
3832
- /* @__PURE__ */ jsxs29("div", { className: "flex min-w-0 items-center gap-6", children: [
3833
- /* @__PURE__ */ jsx43(
4037
+ /* @__PURE__ */ jsxs30("div", { className: "flex min-w-0 items-center gap-6", children: [
4038
+ /* @__PURE__ */ jsx44(
3834
4039
  Link3,
3835
4040
  {
3836
4041
  ...destination("/"),
@@ -3839,7 +4044,7 @@ function SiteHeader({
3839
4044
  children: brand
3840
4045
  }
3841
4046
  ),
3842
- /* @__PURE__ */ jsx43(
4047
+ /* @__PURE__ */ jsx44(
3843
4048
  "ul",
3844
4049
  {
3845
4050
  className: cn(
@@ -3848,11 +4053,11 @@ function SiteHeader({
3848
4053
  ),
3849
4054
  children: items.map((item) => {
3850
4055
  if (!hasColumns(item)) {
3851
- return /* @__PURE__ */ jsx43("li", { children: navLink(item) }, item.href);
4056
+ return /* @__PURE__ */ jsx44("li", { children: navLink(item) }, item.href);
3852
4057
  }
3853
4058
  const panelId = `${generatedId}-panel-${item.label.replace(/\s+/g, "-").toLowerCase()}`;
3854
4059
  const open = openMenu === item.label;
3855
- return /* @__PURE__ */ jsxs29(
4060
+ return /* @__PURE__ */ jsxs30(
3856
4061
  "li",
3857
4062
  {
3858
4063
  "data-site-nav-item": true,
@@ -3866,7 +4071,7 @@ function SiteHeader({
3866
4071
  }
3867
4072
  },
3868
4073
  children: [
3869
- /* @__PURE__ */ jsxs29(
4074
+ /* @__PURE__ */ jsxs30(
3870
4075
  "button",
3871
4076
  {
3872
4077
  type: "button",
@@ -3890,11 +4095,11 @@ function SiteHeader({
3890
4095
  ),
3891
4096
  children: [
3892
4097
  item.label,
3893
- /* @__PURE__ */ jsx43(Caret, {})
4098
+ /* @__PURE__ */ jsx44(Caret, {})
3894
4099
  ]
3895
4100
  }
3896
4101
  ),
3897
- /* @__PURE__ */ jsx43(
4102
+ /* @__PURE__ */ jsx44(
3898
4103
  "div",
3899
4104
  {
3900
4105
  id: panelId,
@@ -3904,9 +4109,9 @@ function SiteHeader({
3904
4109
  item.columns.length > 1 ? "grid-cols-2" : "grid-cols-1",
3905
4110
  "min-w-[22rem]"
3906
4111
  ),
3907
- children: item.columns.map((column, index) => /* @__PURE__ */ jsxs29("div", { className: "min-w-40", children: [
3908
- column.heading && /* @__PURE__ */ jsx43("p", { className: "mb-2 text-xs font-medium uppercase tracking-wide text-muted-foreground", children: column.heading }),
3909
- /* @__PURE__ */ jsx43("ul", { className: "flex flex-col gap-0.5", children: column.items.map((link) => /* @__PURE__ */ jsx43("li", { children: navLink(link, "panel") }, `${column.heading ?? index}-${link.href}-${link.label}`)) })
4112
+ children: item.columns.map((column, index) => /* @__PURE__ */ jsxs30("div", { className: "min-w-40", children: [
4113
+ column.heading && /* @__PURE__ */ jsx44("p", { className: "mb-2 text-xs font-medium uppercase tracking-wide text-muted-foreground", children: column.heading }),
4114
+ /* @__PURE__ */ jsx44("ul", { className: "flex flex-col gap-0.5", children: column.items.map((link) => /* @__PURE__ */ jsx44("li", { children: navLink(link, "panel") }, `${column.heading ?? index}-${link.href}-${link.label}`)) })
3910
4115
  ] }, column.heading ?? index))
3911
4116
  }
3912
4117
  )
@@ -3918,9 +4123,9 @@ function SiteHeader({
3918
4123
  }
3919
4124
  )
3920
4125
  ] }),
3921
- /* @__PURE__ */ jsxs29("div", { className: "flex items-center gap-2", children: [
4126
+ /* @__PURE__ */ jsxs30("div", { className: "flex items-center gap-2", children: [
3922
4127
  actions,
3923
- showMobileTrigger && /* @__PURE__ */ jsx43(
4128
+ showMobileTrigger && /* @__PURE__ */ jsx44(
3924
4129
  "button",
3925
4130
  {
3926
4131
  type: "button",
@@ -3933,7 +4138,7 @@ function SiteHeader({
3933
4138
  "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",
3934
4139
  desktopBreakpoint === "lg" ? "lg:hidden" : "md:hidden"
3935
4140
  ),
3936
- children: /* @__PURE__ */ jsx43(
4141
+ children: /* @__PURE__ */ jsx44(
3937
4142
  "svg",
3938
4143
  {
3939
4144
  "aria-hidden": "true",
@@ -3943,7 +4148,7 @@ function SiteHeader({
3943
4148
  stroke: "currentColor",
3944
4149
  strokeWidth: "2",
3945
4150
  strokeLinecap: "round",
3946
- children: mobileOpen ? /* @__PURE__ */ jsx43("path", { d: "M6 6l12 12M18 6L6 18" }) : /* @__PURE__ */ jsx43("path", { d: "M4 7h16M4 12h16M4 17h16" })
4151
+ children: mobileOpen ? /* @__PURE__ */ jsx44("path", { d: "M6 6l12 12M18 6L6 18" }) : /* @__PURE__ */ jsx44("path", { d: "M4 7h16M4 12h16M4 17h16" })
3947
4152
  }
3948
4153
  )
3949
4154
  }
@@ -3954,7 +4159,7 @@ function SiteHeader({
3954
4159
  )
3955
4160
  }
3956
4161
  ),
3957
- showMobileTrigger && /* @__PURE__ */ jsxs29(
4162
+ showMobileTrigger && /* @__PURE__ */ jsxs30(
3958
4163
  Drawer,
3959
4164
  {
3960
4165
  open: mobileOpen,
@@ -3965,16 +4170,16 @@ function SiteHeader({
3965
4170
  size: "sm",
3966
4171
  animate: true,
3967
4172
  children: [
3968
- /* @__PURE__ */ jsx43("nav", { id: menuId, "aria-label": mobileNavLabel, className: "flex flex-col gap-1", children: items.map(
3969
- (item) => hasColumns(item) ? /* @__PURE__ */ jsxs29("details", { className: "rounded-md", children: [
3970
- /* @__PURE__ */ jsx43("summary", { className: "cursor-pointer rounded-md px-3 py-2 text-base font-medium hover:bg-accent", children: item.label }),
3971
- /* @__PURE__ */ jsx43("div", { className: "mt-1 flex flex-col gap-2 pb-2", children: item.columns.map((column, index) => /* @__PURE__ */ jsxs29("div", { className: "px-3", children: [
3972
- column.heading && /* @__PURE__ */ jsx43("p", { className: "mb-1 text-xs font-medium uppercase tracking-wide text-muted-foreground", children: column.heading }),
3973
- /* @__PURE__ */ jsx43("ul", { className: "flex flex-col gap-1", children: column.items.map((link) => /* @__PURE__ */ jsx43("li", { children: navLink(link, "mobile") }, `${column.heading ?? index}-${link.href}-${link.label}`)) })
4173
+ /* @__PURE__ */ jsx44("nav", { id: menuId, "aria-label": mobileNavLabel, className: "flex flex-col gap-1", children: items.map(
4174
+ (item) => hasColumns(item) ? /* @__PURE__ */ jsxs30("details", { className: "rounded-md", children: [
4175
+ /* @__PURE__ */ jsx44("summary", { className: "cursor-pointer rounded-md px-3 py-2 text-base font-medium hover:bg-accent", children: item.label }),
4176
+ /* @__PURE__ */ jsx44("div", { className: "mt-1 flex flex-col gap-2 pb-2", children: item.columns.map((column, index) => /* @__PURE__ */ jsxs30("div", { className: "px-3", children: [
4177
+ column.heading && /* @__PURE__ */ jsx44("p", { className: "mb-1 text-xs font-medium uppercase tracking-wide text-muted-foreground", children: column.heading }),
4178
+ /* @__PURE__ */ jsx44("ul", { className: "flex flex-col gap-1", children: column.items.map((link) => /* @__PURE__ */ jsx44("li", { children: navLink(link, "mobile") }, `${column.heading ?? index}-${link.href}-${link.label}`)) })
3974
4179
  ] }, column.heading ?? index)) })
3975
4180
  ] }, item.label) : navLink(item, "mobile")
3976
4181
  ) }),
3977
- (mobileActions ?? actions) && /* @__PURE__ */ jsx43("div", { className: "mt-4 border-t border-border pt-4", children: mobileActions ?? actions })
4182
+ (mobileActions ?? actions) && /* @__PURE__ */ jsx44("div", { className: "mt-4 border-t border-border pt-4", children: mobileActions ?? actions })
3978
4183
  ]
3979
4184
  }
3980
4185
  )
@@ -3982,15 +4187,15 @@ function SiteHeader({
3982
4187
  }
3983
4188
 
3984
4189
  // src/components/accordion/Accordion.tsx
3985
- import * as React44 from "react";
3986
- import { jsx as jsx44, jsxs as jsxs30 } from "react/jsx-runtime";
3987
- var AccordionContext = React44.createContext({
4190
+ import * as React45 from "react";
4191
+ import { jsx as jsx45, jsxs as jsxs31 } from "react/jsx-runtime";
4192
+ var AccordionContext = React45.createContext({
3988
4193
  openItems: /* @__PURE__ */ new Set(),
3989
4194
  toggle: () => {
3990
4195
  },
3991
4196
  collapsible: true
3992
4197
  });
3993
- var Accordion = React44.forwardRef(
4198
+ var Accordion = React45.forwardRef(
3994
4199
  ({
3995
4200
  value,
3996
4201
  defaultValue = [],
@@ -4003,9 +4208,9 @@ var Accordion = React44.forwardRef(
4003
4208
  style,
4004
4209
  children
4005
4210
  }, ref) => {
4006
- const [internalOpen, setInternalOpen] = React44.useState(defaultValue);
4211
+ const [internalOpen, setInternalOpen] = React45.useState(defaultValue);
4007
4212
  const current = value ?? internalOpen;
4008
- const toggle = React44.useCallback(
4213
+ const toggle = React45.useCallback(
4009
4214
  (id) => {
4010
4215
  const next = current.includes(id) ? current.filter((item) => item !== id) : collapsible ? [id] : [...current, id];
4011
4216
  if (value === void 0) setInternalOpen(next);
@@ -4014,7 +4219,7 @@ var Accordion = React44.forwardRef(
4014
4219
  [current, collapsible, value, onValueChange]
4015
4220
  );
4016
4221
  const gapResolved = resolveGap(gap);
4017
- return /* @__PURE__ */ jsx44(
4222
+ return /* @__PURE__ */ jsx45(
4018
4223
  "div",
4019
4224
  {
4020
4225
  ref,
@@ -4027,28 +4232,28 @@ var Accordion = React44.forwardRef(
4027
4232
  className
4028
4233
  ),
4029
4234
  style: { ...gapResolved.style, ...style },
4030
- children: /* @__PURE__ */ jsx44(AccordionContext.Provider, { value: { openItems: new Set(current), toggle, collapsible }, children: items ? items.map((item) => /* @__PURE__ */ jsxs30(AccordionItem, { id: item.id, children: [
4031
- /* @__PURE__ */ jsx44(AccordionTrigger, { disabled: item.disabled, children: item.title }),
4032
- /* @__PURE__ */ jsx44(AccordionContent, { children: item.content })
4235
+ children: /* @__PURE__ */ jsx45(AccordionContext.Provider, { value: { openItems: new Set(current), toggle, collapsible }, children: items ? items.map((item) => /* @__PURE__ */ jsxs31(AccordionItem, { id: item.id, children: [
4236
+ /* @__PURE__ */ jsx45(AccordionTrigger, { disabled: item.disabled, children: item.title }),
4237
+ /* @__PURE__ */ jsx45(AccordionContent, { children: item.content })
4033
4238
  ] }, item.id)) : children })
4034
4239
  }
4035
4240
  );
4036
4241
  }
4037
4242
  );
4038
4243
  Accordion.displayName = "Accordion";
4039
- var AccordionItem = React44.forwardRef(
4040
- ({ id, className, children }, ref) => /* @__PURE__ */ jsx44("div", { ref, "data-accordion-item": id, className, children: /* @__PURE__ */ jsx44(AccordionItemContext.Provider, { value: { id }, children }) })
4244
+ var AccordionItem = React45.forwardRef(
4245
+ ({ id, className, children }, ref) => /* @__PURE__ */ jsx45("div", { ref, "data-accordion-item": id, className, children: /* @__PURE__ */ jsx45(AccordionItemContext.Provider, { value: { id }, children }) })
4041
4246
  );
4042
4247
  AccordionItem.displayName = "AccordionItem";
4043
- var AccordionItemContext = React44.createContext({ id: "" });
4044
- var AccordionTrigger = React44.forwardRef(
4248
+ var AccordionItemContext = React45.createContext({ id: "" });
4249
+ var AccordionTrigger = React45.forwardRef(
4045
4250
  ({ className, children, icon, ...props }, ref) => {
4046
- const { id } = React44.useContext(AccordionItemContext);
4047
- const { openItems, toggle } = React44.useContext(AccordionContext);
4251
+ const { id } = React45.useContext(AccordionItemContext);
4252
+ const { openItems, toggle } = React45.useContext(AccordionContext);
4048
4253
  const open = openItems.has(id);
4049
4254
  const panelId = `${id}-panel`;
4050
4255
  const triggerId = `${id}-trigger`;
4051
- return /* @__PURE__ */ jsxs30(
4256
+ return /* @__PURE__ */ jsxs31(
4052
4257
  "button",
4053
4258
  {
4054
4259
  ref,
@@ -4067,7 +4272,7 @@ var AccordionTrigger = React44.forwardRef(
4067
4272
  ...props,
4068
4273
  children: [
4069
4274
  children,
4070
- icon ?? /* @__PURE__ */ jsx44(
4275
+ icon ?? /* @__PURE__ */ jsx45(
4071
4276
  "svg",
4072
4277
  {
4073
4278
  "aria-hidden": "true",
@@ -4077,7 +4282,7 @@ var AccordionTrigger = React44.forwardRef(
4077
4282
  strokeWidth: "2",
4078
4283
  strokeLinecap: "round",
4079
4284
  className: cn("h-4 w-4 shrink-0 transition-transform duration-200", open && "rotate-180"),
4080
- children: /* @__PURE__ */ jsx44("polyline", { points: "6 9 12 15 18 9" })
4285
+ children: /* @__PURE__ */ jsx45("polyline", { points: "6 9 12 15 18 9" })
4081
4286
  }
4082
4287
  )
4083
4288
  ]
@@ -4086,14 +4291,14 @@ var AccordionTrigger = React44.forwardRef(
4086
4291
  }
4087
4292
  );
4088
4293
  AccordionTrigger.displayName = "AccordionTrigger";
4089
- var AccordionContent = React44.forwardRef(
4294
+ var AccordionContent = React45.forwardRef(
4090
4295
  ({ className, children, ...props }, ref) => {
4091
- const { id } = React44.useContext(AccordionItemContext);
4092
- const { openItems } = React44.useContext(AccordionContext);
4296
+ const { id } = React45.useContext(AccordionItemContext);
4297
+ const { openItems } = React45.useContext(AccordionContext);
4093
4298
  const open = openItems.has(id);
4094
- const [mounted, setMounted] = React44.useState(open);
4095
- const [expanded, setExpanded] = React44.useState(open);
4096
- React44.useEffect(() => {
4299
+ const [mounted, setMounted] = React45.useState(open);
4300
+ const [expanded, setExpanded] = React45.useState(open);
4301
+ React45.useEffect(() => {
4097
4302
  const reduce = typeof window.matchMedia === "function" && window.matchMedia("(prefers-reduced-motion: reduce)").matches;
4098
4303
  if (open) {
4099
4304
  setMounted(true);
@@ -4118,7 +4323,7 @@ var AccordionContent = React44.forwardRef(
4118
4323
  const timer = setTimeout(() => setMounted(false), 320);
4119
4324
  return () => clearTimeout(timer);
4120
4325
  }, [open]);
4121
- return /* @__PURE__ */ jsx44(
4326
+ return /* @__PURE__ */ jsx45(
4122
4327
  "div",
4123
4328
  {
4124
4329
  ref,
@@ -4137,7 +4342,7 @@ var AccordionContent = React44.forwardRef(
4137
4342
  className
4138
4343
  ),
4139
4344
  ...props,
4140
- children: /* @__PURE__ */ jsx44("div", { className: "overflow-hidden", children: /* @__PURE__ */ jsx44("div", { className: "px-4 pb-3 text-sm text-muted-foreground", children }) })
4345
+ children: /* @__PURE__ */ jsx45("div", { className: "overflow-hidden", children: /* @__PURE__ */ jsx45("div", { className: "px-4 pb-3 text-sm text-muted-foreground", children }) })
4141
4346
  }
4142
4347
  );
4143
4348
  }
@@ -4145,10 +4350,10 @@ var AccordionContent = React44.forwardRef(
4145
4350
  AccordionContent.displayName = "AccordionContent";
4146
4351
 
4147
4352
  // src/components/table/Table.tsx
4148
- import * as React45 from "react";
4149
- import { jsx as jsx45 } from "react/jsx-runtime";
4150
- var Table = React45.forwardRef(
4151
- ({ className, ...props }, ref) => /* @__PURE__ */ jsx45("div", { className: "relative w-full overflow-auto", children: /* @__PURE__ */ jsx45(
4353
+ import * as React46 from "react";
4354
+ import { jsx as jsx46 } from "react/jsx-runtime";
4355
+ var Table = React46.forwardRef(
4356
+ ({ className, ...props }, ref) => /* @__PURE__ */ jsx46("div", { className: "relative w-full overflow-auto", children: /* @__PURE__ */ jsx46(
4152
4357
  "table",
4153
4358
  {
4154
4359
  ref,
@@ -4158,16 +4363,16 @@ var Table = React45.forwardRef(
4158
4363
  ) })
4159
4364
  );
4160
4365
  Table.displayName = "Table";
4161
- var TableHeader = React45.forwardRef(
4162
- ({ className, ...props }, ref) => /* @__PURE__ */ jsx45("thead", { ref, className: cn("[&_tr]:border-b", className), ...props })
4366
+ var TableHeader = React46.forwardRef(
4367
+ ({ className, ...props }, ref) => /* @__PURE__ */ jsx46("thead", { ref, className: cn("[&_tr]:border-b", className), ...props })
4163
4368
  );
4164
4369
  TableHeader.displayName = "TableHeader";
4165
- var TableBody = React45.forwardRef(
4166
- ({ className, ...props }, ref) => /* @__PURE__ */ jsx45("tbody", { ref, className: cn("[&_tr:last-child]:border-0", className), ...props })
4370
+ var TableBody = React46.forwardRef(
4371
+ ({ className, ...props }, ref) => /* @__PURE__ */ jsx46("tbody", { ref, className: cn("[&_tr:last-child]:border-0", className), ...props })
4167
4372
  );
4168
4373
  TableBody.displayName = "TableBody";
4169
- var TableFooter = React45.forwardRef(
4170
- ({ className, ...props }, ref) => /* @__PURE__ */ jsx45(
4374
+ var TableFooter = React46.forwardRef(
4375
+ ({ className, ...props }, ref) => /* @__PURE__ */ jsx46(
4171
4376
  "tfoot",
4172
4377
  {
4173
4378
  ref,
@@ -4177,8 +4382,8 @@ var TableFooter = React45.forwardRef(
4177
4382
  )
4178
4383
  );
4179
4384
  TableFooter.displayName = "TableFooter";
4180
- var TableRow = React45.forwardRef(
4181
- ({ className, ...props }, ref) => /* @__PURE__ */ jsx45(
4385
+ var TableRow = React46.forwardRef(
4386
+ ({ className, ...props }, ref) => /* @__PURE__ */ jsx46(
4182
4387
  "tr",
4183
4388
  {
4184
4389
  ref,
@@ -4191,8 +4396,8 @@ var TableRow = React45.forwardRef(
4191
4396
  )
4192
4397
  );
4193
4398
  TableRow.displayName = "TableRow";
4194
- var TableHead = React45.forwardRef(
4195
- ({ className, ...props }, ref) => /* @__PURE__ */ jsx45(
4399
+ var TableHead = React46.forwardRef(
4400
+ ({ className, ...props }, ref) => /* @__PURE__ */ jsx46(
4196
4401
  "th",
4197
4402
  {
4198
4403
  ref,
@@ -4206,27 +4411,27 @@ var TableHead = React45.forwardRef(
4206
4411
  )
4207
4412
  );
4208
4413
  TableHead.displayName = "TableHead";
4209
- var TableCell = React45.forwardRef(
4210
- ({ className, ...props }, ref) => /* @__PURE__ */ jsx45("td", { ref, className: cn("px-3 py-2 align-middle", className), ...props })
4414
+ var TableCell = React46.forwardRef(
4415
+ ({ className, ...props }, ref) => /* @__PURE__ */ jsx46("td", { ref, className: cn("px-3 py-2 align-middle", className), ...props })
4211
4416
  );
4212
4417
  TableCell.displayName = "TableCell";
4213
- var TableCaption = React45.forwardRef(
4214
- ({ className, ...props }, ref) => /* @__PURE__ */ jsx45("caption", { ref, className: cn("mt-3 text-xs text-muted-foreground", className), ...props })
4418
+ var TableCaption = React46.forwardRef(
4419
+ ({ className, ...props }, ref) => /* @__PURE__ */ jsx46("caption", { ref, className: cn("mt-3 text-xs text-muted-foreground", className), ...props })
4215
4420
  );
4216
4421
  TableCaption.displayName = "TableCaption";
4217
4422
 
4218
4423
  // src/components/data-table/DataTable.tsx
4219
- import * as React47 from "react";
4424
+ import * as React48 from "react";
4220
4425
 
4221
4426
  // src/components/pagination/Pagination.tsx
4222
- import * as React46 from "react";
4223
- import { jsx as jsx46, jsxs as jsxs31 } from "react/jsx-runtime";
4427
+ import * as React47 from "react";
4428
+ import { jsx as jsx47, jsxs as jsxs32 } from "react/jsx-runtime";
4224
4429
  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";
4225
4430
  var controlDisabledClass = "pointer-events-none opacity-50";
4226
4431
  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";
4227
4432
  var pageActiveClass = "border-primary bg-primary text-primary-foreground font-medium";
4228
4433
  var pageIdleClass = "border-border hover:bg-muted";
4229
- var Pagination = React46.forwardRef(
4434
+ var Pagination = React47.forwardRef(
4230
4435
  ({
4231
4436
  page: pageProp,
4232
4437
  pageCount: pageCountProp,
@@ -4273,11 +4478,11 @@ var Pagination = React46.forwardRef(
4273
4478
  if (linkMode) {
4274
4479
  const href = hrefFor(target);
4275
4480
  if (disabled || href === void 0) {
4276
- return /* @__PURE__ */ jsx46("span", { "aria-label": label, "aria-disabled": "true", className: cn(controlClass, controlDisabledClass), children: content });
4481
+ return /* @__PURE__ */ jsx47("span", { "aria-label": label, "aria-disabled": "true", className: cn(controlClass, controlDisabledClass), children: content });
4277
4482
  }
4278
- return /* @__PURE__ */ jsx46(LinkEl, { ...destination(href), "aria-label": label, className: controlClass, children: content });
4483
+ return /* @__PURE__ */ jsx47(LinkEl, { ...destination(href), "aria-label": label, className: controlClass, children: content });
4279
4484
  }
4280
- return /* @__PURE__ */ jsx46(
4485
+ return /* @__PURE__ */ jsx47(
4281
4486
  "button",
4282
4487
  {
4283
4488
  type: "button",
@@ -4296,11 +4501,11 @@ var Pagination = React46.forwardRef(
4296
4501
  if (linkMode) {
4297
4502
  const href = hrefFor(entry);
4298
4503
  if (isCurrent || href === void 0) {
4299
- return /* @__PURE__ */ jsx46("span", { "aria-current": "page", "aria-label": label, className: classes, children: entry }, entry);
4504
+ return /* @__PURE__ */ jsx47("span", { "aria-current": "page", "aria-label": label, className: classes, children: entry }, entry);
4300
4505
  }
4301
- return /* @__PURE__ */ jsx46(LinkEl, { ...destination(href), "aria-label": label, className: classes, children: entry }, entry);
4506
+ return /* @__PURE__ */ jsx47(LinkEl, { ...destination(href), "aria-label": label, className: classes, children: entry }, entry);
4302
4507
  }
4303
- return /* @__PURE__ */ jsx46(
4508
+ return /* @__PURE__ */ jsx47(
4304
4509
  "button",
4305
4510
  {
4306
4511
  type: "button",
@@ -4313,7 +4518,7 @@ var Pagination = React46.forwardRef(
4313
4518
  entry
4314
4519
  );
4315
4520
  };
4316
- const nav = /* @__PURE__ */ jsxs31(
4521
+ const nav = /* @__PURE__ */ jsxs32(
4317
4522
  "nav",
4318
4523
  {
4319
4524
  ref,
@@ -4324,7 +4529,7 @@ var Pagination = React46.forwardRef(
4324
4529
  withFirst && step(1, labels?.first ?? "First page", icons?.first ?? "\xAB", page <= 1),
4325
4530
  step(page - 1, labels?.previous ?? "Previous page", icons?.previous ?? "<", page <= 1),
4326
4531
  pages.map(
4327
- (entry, index) => entry === "ellipsis" ? /* @__PURE__ */ jsx46(
4532
+ (entry, index) => entry === "ellipsis" ? /* @__PURE__ */ jsx47(
4328
4533
  "span",
4329
4534
  {
4330
4535
  "aria-hidden": "true",
@@ -4340,8 +4545,8 @@ var Pagination = React46.forwardRef(
4340
4545
  }
4341
4546
  );
4342
4547
  if (!summaryEnabled) return nav;
4343
- return /* @__PURE__ */ jsxs31("div", { className: cn("flex flex-wrap items-center justify-between gap-3", className), children: [
4344
- /* @__PURE__ */ jsx46("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}` }),
4548
+ return /* @__PURE__ */ jsxs32("div", { className: cn("flex flex-wrap items-center justify-between gap-3", className), children: [
4549
+ /* @__PURE__ */ jsx47("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}` }),
4345
4550
  nav
4346
4551
  ] });
4347
4552
  }
@@ -4349,7 +4554,14 @@ var Pagination = React46.forwardRef(
4349
4554
  Pagination.displayName = "Pagination";
4350
4555
 
4351
4556
  // src/components/data-table/DataTable.tsx
4352
- import { jsx as jsx47, jsxs as jsxs32 } from "react/jsx-runtime";
4557
+ import { jsx as jsx48, jsxs as jsxs33 } from "react/jsx-runtime";
4558
+ var cardBreakpointClasses = {
4559
+ sm: { table: "max-sm:hidden", cards: "sm:hidden" },
4560
+ md: { table: "max-md:hidden", cards: "md:hidden" },
4561
+ lg: { table: "max-lg:hidden", cards: "lg:hidden" },
4562
+ xl: { table: "max-xl:hidden", cards: "xl:hidden" },
4563
+ "2xl": { table: "max-2xl:hidden", cards: "2xl:hidden" }
4564
+ };
4353
4565
  function compareValues(a, b) {
4354
4566
  if (typeof a === "number" && typeof b === "number") return a - b;
4355
4567
  if (a instanceof Date && b instanceof Date) return a.getTime() - b.getTime();
@@ -4384,13 +4596,14 @@ function DataTable({
4384
4596
  stickyHeader,
4385
4597
  density = "default",
4386
4598
  zebra,
4599
+ cardLayout,
4387
4600
  loading,
4388
4601
  loadingRows,
4389
4602
  className
4390
4603
  }) {
4391
- const [internalSort, setInternalSort] = React47.useState(defaultSort);
4392
- const [internalPage, setInternalPage] = React47.useState(1);
4393
- const sort = React47.useMemo(() => {
4604
+ const [internalSort, setInternalSort] = React48.useState(defaultSort);
4605
+ const [internalPage, setInternalPage] = React48.useState(1);
4606
+ const sort = React48.useMemo(() => {
4394
4607
  if (sortKey !== void 0) {
4395
4608
  return sortKey === null ? null : { key: sortKey, dir: sortDir ?? "asc" };
4396
4609
  }
@@ -4407,7 +4620,7 @@ function DataTable({
4407
4620
  if (page === void 0) setInternalPage(next);
4408
4621
  onPageChange?.(next);
4409
4622
  };
4410
- const sorted = React47.useMemo(() => {
4623
+ const sorted = React48.useMemo(() => {
4411
4624
  if (!sort) return data;
4412
4625
  const column = columns.find((c) => c.key === sort.key);
4413
4626
  if (!column) return data;
@@ -4427,10 +4640,10 @@ function DataTable({
4427
4640
  const pageCount = pageCountProp ?? computedPageCount;
4428
4641
  const safePage = Math.min(currentPage, pageCount || 1);
4429
4642
  const visible = manualPagination ? data : pageSize ? sorted.slice((safePage - 1) * pageSize, safePage * pageSize) : sorted;
4430
- const [internalSelected, setInternalSelected] = React47.useState([]);
4643
+ const [internalSelected, setInternalSelected] = React48.useState([]);
4431
4644
  const selectionEnabled = selectedRowIds !== void 0 || onSelectedRowIdsChange !== void 0;
4432
4645
  const selectedIds = selectedRowIds ?? internalSelected;
4433
- const selectedSet = React47.useMemo(() => new Set(selectedIds), [selectedIds]);
4646
+ const selectedSet = React48.useMemo(() => new Set(selectedIds), [selectedIds]);
4434
4647
  const selectableVisible = isRowSelectable ? visible.filter(isRowSelectable) : visible;
4435
4648
  const allSelected = selectableVisible.length > 0 && selectableVisible.every((row) => selectedSet.has(rowId(row)));
4436
4649
  const someSelected = selectableVisible.some((row) => selectedSet.has(rowId(row)));
@@ -4457,136 +4670,205 @@ function DataTable({
4457
4670
  if (typeof raw === "string" || typeof raw === "number") return raw;
4458
4671
  return String(raw);
4459
4672
  };
4673
+ const cardBreakpoint = typeof cardLayout === "string" ? cardLayout : cardLayout ? "md" : null;
4674
+ const cardClasses = cardBreakpoint ? cardBreakpointClasses[cardBreakpoint] : null;
4460
4675
  const alignClass = (align) => align === "right" ? "text-right" : align === "center" ? "text-center" : "text-left";
4461
- return /* @__PURE__ */ jsxs32("div", { className: cn("w-full space-y-3", className), children: [
4462
- selectionEnabled && selectedIds.length > 0 && bulkActions && /* @__PURE__ */ jsxs32("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: [
4463
- /* @__PURE__ */ jsx47("span", { className: "font-medium", children: selectedLabel.replace("{count}", String(selectedIds.length)) }),
4464
- /* @__PURE__ */ jsx47("div", { className: "flex flex-wrap items-center gap-2", children: bulkActions })
4676
+ const cardCell = (row, column, index) => {
4677
+ const value = cellValue(row, column, index);
4678
+ if (column.onClick) {
4679
+ return /* @__PURE__ */ jsx48(
4680
+ "button",
4681
+ {
4682
+ type: "button",
4683
+ onClick: () => column.onClick(row),
4684
+ className: "block w-full rounded px-1.5 py-0.5 text-left transition-colors hover:text-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
4685
+ children: value
4686
+ }
4687
+ );
4688
+ }
4689
+ return value;
4690
+ };
4691
+ return /* @__PURE__ */ jsxs33("div", { className: cn("w-full space-y-3", className), children: [
4692
+ selectionEnabled && selectedIds.length > 0 && bulkActions && /* @__PURE__ */ jsxs33("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: [
4693
+ /* @__PURE__ */ jsx48("span", { className: "font-medium", children: selectedLabel.replace("{count}", String(selectedIds.length)) }),
4694
+ /* @__PURE__ */ jsx48("div", { className: "flex flex-wrap items-center gap-2", children: bulkActions })
4465
4695
  ] }),
4466
- /* @__PURE__ */ jsx47("div", { className: "w-full overflow-x-auto rounded-lg border border-border", children: /* @__PURE__ */ jsxs32(
4467
- "table",
4696
+ /* @__PURE__ */ jsx48(
4697
+ "div",
4468
4698
  {
4469
- className: cn("w-full caption-bottom", density === "compact" ? "text-xs" : "text-sm"),
4470
- children: [
4471
- caption && /* @__PURE__ */ jsx47("caption", { className: "px-3 py-2 text-left text-xs text-muted-foreground", children: caption }),
4472
- /* @__PURE__ */ jsx47("thead", { className: cn("bg-muted/50", stickyHeader && "sticky top-0 z-10 bg-background"), children: /* @__PURE__ */ jsxs32("tr", { children: [
4473
- selectionEnabled && /* @__PURE__ */ jsx47("th", { scope: "col", className: "w-10 border-b border-border px-3 py-2", children: /* @__PURE__ */ jsx47(
4474
- Checkbox,
4475
- {
4476
- "aria-label": selectAllLabel,
4477
- checked: allSelected,
4478
- ref: (node) => {
4479
- if (node) node.indeterminate = someSelected && !allSelected;
4480
- },
4481
- onCheckedChange: toggleAll
4482
- }
4483
- ) }),
4484
- columns.map((column) => {
4485
- const isSorted = sort?.key === column.key;
4486
- const ariaSort = !column.sortable ? void 0 : isSorted ? sort.dir === "asc" ? "ascending" : "descending" : "none";
4487
- return /* @__PURE__ */ jsx47(
4488
- "th",
4699
+ className: cn("w-full overflow-x-auto rounded-lg border border-border", cardClasses?.table),
4700
+ children: /* @__PURE__ */ jsxs33(
4701
+ "table",
4702
+ {
4703
+ className: cn("w-full caption-bottom", density === "compact" ? "text-xs" : "text-sm"),
4704
+ children: [
4705
+ caption && /* @__PURE__ */ jsx48("caption", { className: "px-3 py-2 text-left text-xs text-muted-foreground", children: caption }),
4706
+ /* @__PURE__ */ jsx48("thead", { className: cn("bg-muted/50", stickyHeader && "sticky top-0 z-10 bg-background"), children: /* @__PURE__ */ jsxs33("tr", { children: [
4707
+ selectionEnabled && /* @__PURE__ */ jsx48("th", { scope: "col", className: "w-10 border-b border-border px-3 py-2", children: /* @__PURE__ */ jsx48(
4708
+ Checkbox,
4709
+ {
4710
+ "aria-label": selectAllLabel,
4711
+ checked: allSelected,
4712
+ ref: (node) => {
4713
+ if (node) node.indeterminate = someSelected && !allSelected;
4714
+ },
4715
+ onCheckedChange: toggleAll
4716
+ }
4717
+ ) }),
4718
+ columns.map((column) => {
4719
+ const isSorted = sort?.key === column.key;
4720
+ const ariaSort = !column.sortable ? void 0 : isSorted ? sort.dir === "asc" ? "ascending" : "descending" : "none";
4721
+ return /* @__PURE__ */ jsx48(
4722
+ "th",
4723
+ {
4724
+ scope: "col",
4725
+ "aria-sort": ariaSort,
4726
+ className: cn(
4727
+ "border-b border-border px-3 py-2 font-medium",
4728
+ alignClass(column.align),
4729
+ column.className
4730
+ ),
4731
+ children: column.sortable ? /* @__PURE__ */ jsxs33(
4732
+ "button",
4733
+ {
4734
+ type: "button",
4735
+ onClick: () => applySort(column.key),
4736
+ 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",
4737
+ children: [
4738
+ column.header,
4739
+ /* @__PURE__ */ jsx48("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" })
4740
+ ]
4741
+ }
4742
+ ) : column.header
4743
+ },
4744
+ column.key
4745
+ );
4746
+ })
4747
+ ] }) }),
4748
+ /* @__PURE__ */ jsx48("tbody", { "aria-busy": loading || void 0, children: loading ? Array.from(
4749
+ { length: (loadingRows ?? pageSize ?? Math.min(visible.length, 5)) || 5 },
4750
+ (_, skeletonRow) => /* @__PURE__ */ jsxs33("tr", { children: [
4751
+ selectionEnabled && /* @__PURE__ */ jsx48("td", { className: cn("px-3 py-2", density === "compact" && "px-2 py-1"), children: /* @__PURE__ */ jsx48(Skeleton, { className: "h-4 w-4" }) }),
4752
+ columns.map((column) => /* @__PURE__ */ jsx48("td", { className: cn("px-3 py-2", density === "compact" && "px-2 py-1"), children: /* @__PURE__ */ jsx48(Skeleton, { className: density === "compact" ? "h-3 w-full" : "h-4 w-full" }) }, column.key))
4753
+ ] }, `skeleton-${skeletonRow}`)
4754
+ ) : visible.length === 0 ? /* @__PURE__ */ jsx48("tr", { children: /* @__PURE__ */ jsx48(
4755
+ "td",
4756
+ {
4757
+ colSpan: columns.length + (selectionEnabled ? 1 : 0),
4758
+ className: "px-3 py-8 text-center text-sm text-muted-foreground",
4759
+ children: emptyMessage
4760
+ }
4761
+ ) }) : visible.map((row, index) => /* @__PURE__ */ jsxs33(
4762
+ "tr",
4489
4763
  {
4490
- scope: "col",
4491
- "aria-sort": ariaSort,
4764
+ tabIndex: onRowClick ? 0 : void 0,
4765
+ onClick: onRowClick ? () => onRowClick(row) : void 0,
4766
+ onKeyDown: onRowClick ? (event) => {
4767
+ if (event.key === "Enter" || event.key === " ") {
4768
+ event.preventDefault();
4769
+ onRowClick(row);
4770
+ }
4771
+ } : void 0,
4492
4772
  className: cn(
4493
- "border-b border-border px-3 py-2 font-medium",
4494
- alignClass(column.align),
4495
- column.className
4773
+ "border-b border-border last:border-0",
4774
+ zebra && "[&:nth-child(odd)]:bg-muted/30",
4775
+ 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"
4496
4776
  ),
4497
- children: column.sortable ? /* @__PURE__ */ jsxs32(
4498
- "button",
4499
- {
4500
- type: "button",
4501
- onClick: () => applySort(column.key),
4502
- 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",
4503
- children: [
4504
- column.header,
4505
- /* @__PURE__ */ jsx47("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" })
4506
- ]
4507
- }
4508
- ) : column.header
4509
- },
4510
- column.key
4511
- );
4512
- })
4513
- ] }) }),
4514
- /* @__PURE__ */ jsx47("tbody", { "aria-busy": loading || void 0, children: loading ? Array.from(
4515
- { length: (loadingRows ?? pageSize ?? Math.min(visible.length, 5)) || 5 },
4516
- (_, skeletonRow) => /* @__PURE__ */ jsxs32("tr", { children: [
4517
- selectionEnabled && /* @__PURE__ */ jsx47("td", { className: cn("px-3 py-2", density === "compact" && "px-2 py-1"), children: /* @__PURE__ */ jsx47(Skeleton, { className: "h-4 w-4" }) }),
4518
- columns.map((column) => /* @__PURE__ */ jsx47("td", { className: cn("px-3 py-2", density === "compact" && "px-2 py-1"), children: /* @__PURE__ */ jsx47(Skeleton, { className: density === "compact" ? "h-3 w-full" : "h-4 w-full" }) }, column.key))
4519
- ] }, `skeleton-${skeletonRow}`)
4520
- ) : visible.length === 0 ? /* @__PURE__ */ jsx47("tr", { children: /* @__PURE__ */ jsx47(
4521
- "td",
4522
- {
4523
- colSpan: columns.length + (selectionEnabled ? 1 : 0),
4524
- className: "px-3 py-8 text-center text-sm text-muted-foreground",
4525
- children: emptyMessage
4526
- }
4527
- ) }) : visible.map((row, index) => /* @__PURE__ */ jsxs32(
4528
- "tr",
4529
- {
4530
- tabIndex: onRowClick ? 0 : void 0,
4531
- onClick: onRowClick ? () => onRowClick(row) : void 0,
4532
- onKeyDown: onRowClick ? (event) => {
4533
- if (event.key === "Enter" || event.key === " ") {
4534
- event.preventDefault();
4535
- onRowClick(row);
4536
- }
4537
- } : void 0,
4538
- className: cn(
4539
- "border-b border-border last:border-0",
4540
- zebra && "[&:nth-child(odd)]:bg-muted/30",
4541
- 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"
4542
- ),
4543
- children: [
4544
- selectionEnabled && /* @__PURE__ */ jsx47(
4545
- "td",
4546
- {
4547
- className: cn("align-middle", density === "compact" ? "px-2 py-1" : "px-3 py-2"),
4548
- onClick: (event) => event.stopPropagation(),
4549
- children: /* @__PURE__ */ jsx47(
4550
- Checkbox,
4777
+ children: [
4778
+ selectionEnabled && /* @__PURE__ */ jsx48(
4779
+ "td",
4551
4780
  {
4552
- "aria-label": `Select row ${rowId(row)}`,
4553
- checked: selectedSet.has(rowId(row)),
4554
- disabled: isRowSelectable ? !isRowSelectable(row) : void 0,
4555
- onCheckedChange: () => toggleRow(rowId(row))
4781
+ className: cn("align-middle", density === "compact" ? "px-2 py-1" : "px-3 py-2"),
4782
+ onClick: (event) => event.stopPropagation(),
4783
+ children: /* @__PURE__ */ jsx48(
4784
+ Checkbox,
4785
+ {
4786
+ "aria-label": `Select row ${rowId(row)}`,
4787
+ checked: selectedSet.has(rowId(row)),
4788
+ disabled: isRowSelectable ? !isRowSelectable(row) : void 0,
4789
+ onCheckedChange: () => toggleRow(rowId(row))
4790
+ }
4791
+ )
4556
4792
  }
4557
- )
4558
- }
4559
- ),
4560
- columns.map((column) => /* @__PURE__ */ jsx47(
4561
- "td",
4562
- {
4563
- className: cn(
4564
- "align-middle",
4565
- density === "compact" ? "px-2 py-1" : "px-3 py-2",
4566
- alignClass(column.align),
4567
- column.className
4568
4793
  ),
4569
- children: column.onClick ? /* @__PURE__ */ jsx47(
4570
- "button",
4794
+ columns.map((column) => /* @__PURE__ */ jsx48(
4795
+ "td",
4571
4796
  {
4572
- type: "button",
4573
- onClick: () => column.onClick(row),
4574
- className: "block w-full rounded px-1.5 py-0.5 text-left transition-colors hover:text-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
4575
- children: cellValue(row, column, index)
4576
- }
4577
- ) : cellValue(row, column, index)
4578
- },
4579
- column.key
4580
- ))
4581
- ]
4582
- },
4583
- rowId(row)
4584
- )) })
4797
+ className: cn(
4798
+ "align-middle",
4799
+ density === "compact" ? "px-2 py-1" : "px-3 py-2",
4800
+ alignClass(column.align),
4801
+ column.className
4802
+ ),
4803
+ children: column.onClick ? /* @__PURE__ */ jsx48(
4804
+ "button",
4805
+ {
4806
+ type: "button",
4807
+ onClick: () => column.onClick(row),
4808
+ className: "block w-full rounded px-1.5 py-0.5 text-left transition-colors hover:text-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
4809
+ children: cellValue(row, column, index)
4810
+ }
4811
+ ) : cellValue(row, column, index)
4812
+ },
4813
+ column.key
4814
+ ))
4815
+ ]
4816
+ },
4817
+ rowId(row)
4818
+ )) })
4819
+ ]
4820
+ }
4821
+ )
4822
+ }
4823
+ ),
4824
+ cardClasses && /* @__PURE__ */ jsx48("ul", { "aria-label": caption, "aria-busy": loading || void 0, className: cn("space-y-3", cardClasses.cards), children: loading ? Array.from(
4825
+ { length: (loadingRows ?? pageSize ?? Math.min(visible.length, 5)) || 5 },
4826
+ (_, skeletonRow) => /* @__PURE__ */ jsx48("li", { className: "rounded-lg border border-border p-3", children: /* @__PURE__ */ jsxs33("div", { className: "space-y-2", children: [
4827
+ /* @__PURE__ */ jsx48(Skeleton, { className: "h-4 w-1/3" }),
4828
+ /* @__PURE__ */ jsx48(Skeleton, { className: "h-4 w-full" }),
4829
+ /* @__PURE__ */ jsx48(Skeleton, { className: "h-4 w-2/3" })
4830
+ ] }) }, `skeleton-${skeletonRow}`)
4831
+ ) : visible.length === 0 ? /* @__PURE__ */ jsx48("li", { className: "rounded-lg border border-border px-3 py-8 text-center text-sm text-muted-foreground", children: emptyMessage }) : visible.map((row, index) => /* @__PURE__ */ jsx48("li", { children: /* @__PURE__ */ jsxs33(
4832
+ "div",
4833
+ {
4834
+ tabIndex: onRowClick ? 0 : void 0,
4835
+ onClick: onRowClick ? () => onRowClick(row) : void 0,
4836
+ onKeyDown: onRowClick ? (event) => {
4837
+ if (event.key === "Enter" || event.key === " ") {
4838
+ event.preventDefault();
4839
+ onRowClick(row);
4840
+ }
4841
+ } : void 0,
4842
+ className: cn(
4843
+ "rounded-lg border border-border",
4844
+ onRowClick && "cursor-pointer transition-colors hover:bg-muted/50 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
4845
+ ),
4846
+ children: [
4847
+ selectionEnabled && /* @__PURE__ */ jsx48(
4848
+ "div",
4849
+ {
4850
+ className: "flex items-center justify-end px-3 pt-2",
4851
+ onClick: (event) => event.stopPropagation(),
4852
+ children: /* @__PURE__ */ jsx48(
4853
+ Checkbox,
4854
+ {
4855
+ "aria-label": `Select row ${rowId(row)}`,
4856
+ checked: selectedSet.has(rowId(row)),
4857
+ disabled: isRowSelectable ? !isRowSelectable(row) : void 0,
4858
+ onCheckedChange: () => toggleRow(rowId(row))
4859
+ }
4860
+ )
4861
+ }
4862
+ ),
4863
+ /* @__PURE__ */ jsx48("dl", { className: "divide-y divide-border", children: columns.map((column) => /* @__PURE__ */ jsxs33("div", { className: "px-3 py-2", children: [
4864
+ /* @__PURE__ */ jsx48("dt", { className: "text-xs font-medium text-muted-foreground", children: column.header }),
4865
+ /* @__PURE__ */ jsx48("dd", { className: cn("mt-0.5 text-sm", alignClass(column.align)), children: cardCell(row, column, index) })
4866
+ ] }, column.key)) })
4585
4867
  ]
4586
4868
  }
4587
- ) }),
4588
- pageSize && pageCount > 1 && /* @__PURE__ */ jsxs32("div", { className: "flex flex-wrap items-center justify-between gap-x-4 gap-y-2", children: [
4589
- /* @__PURE__ */ jsxs32(
4869
+ ) }, rowId(row))) }),
4870
+ pageSize && pageCount > 1 && /* @__PURE__ */ jsxs33("div", { className: "flex flex-wrap items-center justify-between gap-x-4 gap-y-2", children: [
4871
+ /* @__PURE__ */ jsxs33(
4590
4872
  "p",
4591
4873
  {
4592
4874
  className: "min-h-8 leading-none text-xs text-muted-foreground",
@@ -4601,17 +4883,17 @@ function DataTable({
4601
4883
  ]
4602
4884
  }
4603
4885
  ),
4604
- /* @__PURE__ */ jsx47(Pagination, { page: safePage, pageCount, onPageChange: setPage })
4886
+ /* @__PURE__ */ jsx48(Pagination, { page: safePage, pageCount, onPageChange: setPage })
4605
4887
  ] })
4606
4888
  ] });
4607
4889
  }
4608
4890
 
4609
4891
  // src/components/list/List.tsx
4610
- import * as React48 from "react";
4611
- import { Fragment as Fragment9, jsx as jsx48, jsxs as jsxs33 } from "react/jsx-runtime";
4612
- var ListDensityContext = React48.createContext("default");
4613
- var List = React48.forwardRef(
4614
- ({ divided, bordered, size = "default", className, ...props }, ref) => /* @__PURE__ */ jsx48(ListDensityContext.Provider, { value: size, children: /* @__PURE__ */ jsx48(
4892
+ import * as React49 from "react";
4893
+ import { Fragment as Fragment9, jsx as jsx49, jsxs as jsxs34 } from "react/jsx-runtime";
4894
+ var ListDensityContext = React49.createContext("default");
4895
+ var List = React49.forwardRef(
4896
+ ({ divided, bordered, size = "default", className, ...props }, ref) => /* @__PURE__ */ jsx49(ListDensityContext.Provider, { value: size, children: /* @__PURE__ */ jsx49(
4615
4897
  "ul",
4616
4898
  {
4617
4899
  ref,
@@ -4626,9 +4908,9 @@ var List = React48.forwardRef(
4626
4908
  ) })
4627
4909
  );
4628
4910
  List.displayName = "List";
4629
- var ListItem = React48.forwardRef(
4911
+ var ListItem = React49.forwardRef(
4630
4912
  ({ leading, trailing, selected, onClick, description, disabled, className, children, ...props }, ref) => {
4631
- const density = React48.useContext(ListDensityContext);
4913
+ const density = React49.useContext(ListDensityContext);
4632
4914
  const padding = density === "compact" ? "px-3 py-1.5" : "px-3 py-2.5";
4633
4915
  const rowClass = cn(
4634
4916
  "flex w-full items-center gap-3 text-left text-sm",
@@ -4637,24 +4919,24 @@ var ListItem = React48.forwardRef(
4637
4919
  disabled && "opacity-50",
4638
4920
  className
4639
4921
  );
4640
- const body = /* @__PURE__ */ jsxs33(Fragment9, { children: [
4641
- leading && /* @__PURE__ */ jsx48("span", { className: "flex shrink-0 items-center", children: leading }),
4642
- /* @__PURE__ */ jsxs33("span", { className: "min-w-0 flex-1", children: [
4643
- /* @__PURE__ */ jsx48("span", { className: "block truncate", children }),
4644
- description && /* @__PURE__ */ jsx48("span", { className: "mt-0.5 block text-xs text-muted-foreground", children: description })
4922
+ const body = /* @__PURE__ */ jsxs34(Fragment9, { children: [
4923
+ leading && /* @__PURE__ */ jsx49("span", { className: "flex shrink-0 items-center", children: leading }),
4924
+ /* @__PURE__ */ jsxs34("span", { className: "min-w-0 flex-1", children: [
4925
+ /* @__PURE__ */ jsx49("span", { className: "block truncate", children }),
4926
+ description && /* @__PURE__ */ jsx49("span", { className: "mt-0.5 block text-xs text-muted-foreground", children: description })
4645
4927
  ] }),
4646
- trailing && /* @__PURE__ */ jsx48("span", { className: "flex shrink-0 items-center text-xs text-muted-foreground", children: trailing })
4928
+ trailing && /* @__PURE__ */ jsx49("span", { className: "flex shrink-0 items-center text-xs text-muted-foreground", children: trailing })
4647
4929
  ] });
4648
- return /* @__PURE__ */ jsx48("li", { ref, ...props, children: onClick ? /* @__PURE__ */ jsx48("button", { type: "button", onClick, disabled, className: cn(padding, rowClass), children: body }) : /* @__PURE__ */ jsx48("div", { className: cn(padding, rowClass), children: body }) });
4930
+ return /* @__PURE__ */ jsx49("li", { ref, ...props, children: onClick ? /* @__PURE__ */ jsx49("button", { type: "button", onClick, disabled, className: cn(padding, rowClass), children: body }) : /* @__PURE__ */ jsx49("div", { className: cn(padding, rowClass), children: body }) });
4649
4931
  }
4650
4932
  );
4651
4933
  ListItem.displayName = "ListItem";
4652
4934
 
4653
4935
  // src/components/link/Link.tsx
4654
- import * as React49 from "react";
4936
+ import * as React50 from "react";
4655
4937
  import { Slot as Slot4 } from "@radix-ui/react-slot";
4656
4938
  import { cva as cva7 } from "class-variance-authority";
4657
- import { Fragment as Fragment10, jsx as jsx49, jsxs as jsxs34 } from "react/jsx-runtime";
4939
+ import { Fragment as Fragment10, jsx as jsx50, jsxs as jsxs35 } from "react/jsx-runtime";
4658
4940
  var linkVariants = cva7("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", {
4659
4941
  variants: {
4660
4942
  variant: {
@@ -4668,12 +4950,12 @@ var linkVariants = cva7("inline-flex items-center gap-1 transition-colors focus-
4668
4950
  defaultVariants: { variant: "default" }
4669
4951
  });
4670
4952
  var ABSOLUTE = /^https?:\/\//i;
4671
- var Link = React49.forwardRef(function Link2({ className, variant, asChild = false, external, target, rel, children, ...props }, ref) {
4953
+ var Link = React50.forwardRef(function Link2({ className, variant, asChild = false, external, target, rel, children, ...props }, ref) {
4672
4954
  const isAbsolute = typeof props.href === "string" && ABSOLUTE.test(props.href);
4673
4955
  const isExternal = external ?? isAbsolute;
4674
4956
  const Comp = asChild ? Slot4 : "a";
4675
4957
  if (asChild) {
4676
- return /* @__PURE__ */ jsx49(
4958
+ return /* @__PURE__ */ jsx50(
4677
4959
  Comp,
4678
4960
  {
4679
4961
  ref,
@@ -4685,7 +4967,7 @@ var Link = React49.forwardRef(function Link2({ className, variant, asChild = fal
4685
4967
  }
4686
4968
  );
4687
4969
  }
4688
- return /* @__PURE__ */ jsxs34(
4970
+ return /* @__PURE__ */ jsxs35(
4689
4971
  Comp,
4690
4972
  {
4691
4973
  ref,
@@ -4695,9 +4977,9 @@ var Link = React49.forwardRef(function Link2({ className, variant, asChild = fal
4695
4977
  ...props,
4696
4978
  children: [
4697
4979
  children,
4698
- isExternal && variant !== "muted" && /* @__PURE__ */ jsxs34(Fragment10, { children: [
4699
- /* @__PURE__ */ jsx49("span", { "aria-hidden": "true", className: "text-[0.75em]", children: "\u2197" }),
4700
- /* @__PURE__ */ jsx49("span", { className: "sr-only", children: "(opens in a new tab)" })
4980
+ isExternal && variant !== "muted" && /* @__PURE__ */ jsxs35(Fragment10, { children: [
4981
+ /* @__PURE__ */ jsx50("span", { "aria-hidden": "true", className: "text-[0.75em]", children: "\u2197" }),
4982
+ /* @__PURE__ */ jsx50("span", { className: "sr-only", children: "(opens in a new tab)" })
4701
4983
  ] })
4702
4984
  ]
4703
4985
  }
@@ -4705,8 +4987,8 @@ var Link = React49.forwardRef(function Link2({ className, variant, asChild = fal
4705
4987
  });
4706
4988
 
4707
4989
  // src/components/image/Image.tsx
4708
- import * as React50 from "react";
4709
- import { Fragment as Fragment11, jsx as jsx50 } from "react/jsx-runtime";
4990
+ import * as React51 from "react";
4991
+ import { Fragment as Fragment11, jsx as jsx51 } from "react/jsx-runtime";
4710
4992
  function Image2({
4711
4993
  src,
4712
4994
  alt,
@@ -4720,16 +5002,16 @@ function Image2({
4720
5002
  sizes,
4721
5003
  style
4722
5004
  }) {
4723
- const [stage, setStage] = React50.useState(0);
4724
- const [prevUrls, setPrevUrls] = React50.useState({ src, fallbackSrc });
5005
+ const [stage, setStage] = React51.useState(0);
5006
+ const [prevUrls, setPrevUrls] = React51.useState({ src, fallbackSrc });
4725
5007
  if (prevUrls.src !== src || prevUrls.fallbackSrc !== fallbackSrc) {
4726
5008
  setPrevUrls({ src, fallbackSrc });
4727
5009
  setStage(0);
4728
5010
  }
4729
5011
  const onError = () => setStage((current2) => current2 === 0 && fallbackSrc ? 1 : 2);
4730
5012
  const current = stage === 0 ? src : stage === 1 ? fallbackSrc : null;
4731
- if (!current || stage === 2) return /* @__PURE__ */ jsx50(Fragment11, { children: fallback ?? null });
4732
- return /* @__PURE__ */ jsx50(
5013
+ if (!current || stage === 2) return /* @__PURE__ */ jsx51(Fragment11, { children: fallback ?? null });
5014
+ return /* @__PURE__ */ jsx51(
4733
5015
  "img",
4734
5016
  {
4735
5017
  src: current,
@@ -4749,7 +5031,7 @@ function Image2({
4749
5031
  Image2.displayName = "Image";
4750
5032
 
4751
5033
  // src/components/cover-image/CoverImage.tsx
4752
- import { jsx as jsx51 } from "react/jsx-runtime";
5034
+ import { jsx as jsx52 } from "react/jsx-runtime";
4753
5035
  var aspectClasses = {
4754
5036
  video: "aspect-video",
4755
5037
  square: "aspect-square",
@@ -4784,21 +5066,21 @@ function CoverImage({
4784
5066
  }) {
4785
5067
  const preset = aspectClasses[aspect];
4786
5068
  const aspectStyle = preset === void 0 && typeof aspect === "string" ? { aspectRatio: aspect } : void 0;
4787
- const fallbackNode = fallback ?? /* @__PURE__ */ jsx51(
5069
+ const fallbackNode = fallback ?? /* @__PURE__ */ jsx52(
4788
5070
  "div",
4789
5071
  {
4790
5072
  className: "flex h-full w-full items-center justify-center",
4791
5073
  style: seededGradient(seed ?? alt),
4792
5074
  "aria-hidden": "true",
4793
- children: mark && /* @__PURE__ */ jsx51("span", { className: "text-muted-foreground [&_svg]:size-8", children: mark })
5075
+ children: mark && /* @__PURE__ */ jsx52("span", { className: "text-muted-foreground [&_svg]:size-8", children: mark })
4794
5076
  }
4795
5077
  );
4796
- return /* @__PURE__ */ jsx51(
5078
+ return /* @__PURE__ */ jsx52(
4797
5079
  "div",
4798
5080
  {
4799
5081
  className: cn("relative overflow-hidden rounded-lg bg-muted", preset, className),
4800
5082
  style: aspectStyle,
4801
- children: src ? /* @__PURE__ */ jsx51(
5083
+ children: src ? /* @__PURE__ */ jsx52(
4802
5084
  Image2,
4803
5085
  {
4804
5086
  src,
@@ -4815,8 +5097,8 @@ function CoverImage({
4815
5097
  CoverImage.displayName = "CoverImage";
4816
5098
 
4817
5099
  // src/components/text/Text.tsx
4818
- import * as React51 from "react";
4819
- import { jsx as jsx52 } from "react/jsx-runtime";
5100
+ import * as React52 from "react";
5101
+ import { jsx as jsx53 } from "react/jsx-runtime";
4820
5102
  var sizeClasses4 = {
4821
5103
  xs: "text-xs",
4822
5104
  sm: "text-sm",
@@ -4830,10 +5112,10 @@ var weightClasses = {
4830
5112
  semibold: "font-semibold",
4831
5113
  bold: "font-bold"
4832
5114
  };
4833
- var Text = React51.forwardRef(
5115
+ var Text = React52.forwardRef(
4834
5116
  ({ inline, size = "base", weight, muted, className, ...props }, ref) => {
4835
5117
  const Tag = inline ? "span" : "p";
4836
- return /* @__PURE__ */ jsx52(
5118
+ return /* @__PURE__ */ jsx53(
4837
5119
  Tag,
4838
5120
  {
4839
5121
  ref,
@@ -4852,8 +5134,8 @@ var Text = React51.forwardRef(
4852
5134
  Text.displayName = "Text";
4853
5135
 
4854
5136
  // src/components/heading/Heading.tsx
4855
- import * as React52 from "react";
4856
- import { jsx as jsx53 } from "react/jsx-runtime";
5137
+ import * as React53 from "react";
5138
+ import { jsx as jsx54 } from "react/jsx-runtime";
4857
5139
  var levelClasses = {
4858
5140
  1: "text-4xl",
4859
5141
  2: "text-3xl",
@@ -4870,10 +5152,10 @@ var sizeClasses5 = {
4870
5152
  "2xl": "text-4xl",
4871
5153
  "3xl": "text-5xl"
4872
5154
  };
4873
- var Heading = React52.forwardRef(
5155
+ var Heading = React53.forwardRef(
4874
5156
  ({ level, size, muted, className, ...props }, ref) => {
4875
5157
  const Tag = `h${level}`;
4876
- return /* @__PURE__ */ jsx53(
5158
+ return /* @__PURE__ */ jsx54(
4877
5159
  Tag,
4878
5160
  {
4879
5161
  ref,
@@ -4891,10 +5173,10 @@ var Heading = React52.forwardRef(
4891
5173
  Heading.displayName = "Heading";
4892
5174
 
4893
5175
  // src/components/empty-state/EmptyState.tsx
4894
- import * as React53 from "react";
4895
- import { jsx as jsx54, jsxs as jsxs35 } from "react/jsx-runtime";
5176
+ import * as React54 from "react";
5177
+ import { jsx as jsx55, jsxs as jsxs36 } from "react/jsx-runtime";
4896
5178
  function isActionObject(value) {
4897
- return typeof value === "object" && value !== null && !React53.isValidElement(value) && "label" in value;
5179
+ return typeof value === "object" && value !== null && !React54.isValidElement(value) && "label" in value;
4898
5180
  }
4899
5181
  function renderAction(action, linkComponent, linkHrefProp = "href") {
4900
5182
  if (!isActionObject(action)) return action;
@@ -4902,11 +5184,11 @@ function renderAction(action, linkComponent, linkHrefProp = "href") {
4902
5184
  if (href) {
4903
5185
  const LinkEl = linkComponent ?? "a";
4904
5186
  const destination = linkHrefProp === "to" ? { to: href } : { href };
4905
- return /* @__PURE__ */ jsx54(Button, { variant, asChild: true, children: /* @__PURE__ */ jsx54(LinkEl, { ...destination, children: label }) });
5187
+ return /* @__PURE__ */ jsx55(Button, { variant, asChild: true, children: /* @__PURE__ */ jsx55(LinkEl, { ...destination, children: label }) });
4906
5188
  }
4907
- return /* @__PURE__ */ jsx54(Button, { variant, onClick, children: label });
5189
+ return /* @__PURE__ */ jsx55(Button, { variant, onClick, children: label });
4908
5190
  }
4909
- var EmptyState = React53.forwardRef(function EmptyState2({
5191
+ var EmptyState = React54.forwardRef(function EmptyState2({
4910
5192
  icon,
4911
5193
  title,
4912
5194
  description,
@@ -4925,7 +5207,7 @@ var EmptyState = React53.forwardRef(function EmptyState2({
4925
5207
  }, ref) {
4926
5208
  const primaryAction = renderAction(action, linkComponent, linkHrefProp) ?? actions;
4927
5209
  const start = align === "start";
4928
- return /* @__PURE__ */ jsxs35(
5210
+ return /* @__PURE__ */ jsxs36(
4929
5211
  "div",
4930
5212
  {
4931
5213
  ref,
@@ -4939,11 +5221,11 @@ var EmptyState = React53.forwardRef(function EmptyState2({
4939
5221
  ),
4940
5222
  ...props,
4941
5223
  children: [
4942
- icon && /* @__PURE__ */ jsx54("div", { className: "text-muted-foreground [&_svg]:size-8", children: icon }),
4943
- /* @__PURE__ */ jsx54(Title, { className: cn("font-semibold", size === "md" ? "text-base" : "text-sm"), children: title }),
4944
- description && /* @__PURE__ */ jsx54("p", { className: cn("max-w-sm text-sm text-muted-foreground", start && "max-w-md"), children: description }),
5224
+ icon && /* @__PURE__ */ jsx55("div", { className: "text-muted-foreground [&_svg]:size-8", children: icon }),
5225
+ /* @__PURE__ */ jsx55(Title, { className: cn("font-semibold", size === "md" ? "text-base" : "text-sm"), children: title }),
5226
+ description && /* @__PURE__ */ jsx55("p", { className: cn("max-w-sm text-sm text-muted-foreground", start && "max-w-md"), children: description }),
4945
5227
  children,
4946
- (primaryAction || secondaryAction) && /* @__PURE__ */ jsxs35("div", { className: cn("mt-1 flex flex-wrap items-center gap-2", start ? "justify-start" : "justify-center"), children: [
5228
+ (primaryAction || secondaryAction) && /* @__PURE__ */ jsxs36("div", { className: cn("mt-1 flex flex-wrap items-center gap-2", start ? "justify-start" : "justify-center"), children: [
4947
5229
  primaryAction,
4948
5230
  secondaryAction
4949
5231
  ] })
@@ -4953,27 +5235,27 @@ var EmptyState = React53.forwardRef(function EmptyState2({
4953
5235
  });
4954
5236
 
4955
5237
  // src/components/page-header/PageHeader.tsx
4956
- import * as React54 from "react";
4957
- import { jsx as jsx55, jsxs as jsxs36 } from "react/jsx-runtime";
5238
+ import * as React55 from "react";
5239
+ import { jsx as jsx56, jsxs as jsxs37 } from "react/jsx-runtime";
4958
5240
  var sizeClasses6 = {
4959
5241
  sm: "text-xl",
4960
5242
  md: "text-2xl",
4961
5243
  lg: "text-3xl",
4962
5244
  hero: "text-4xl sm:text-5xl lg:text-[3.4rem] lg:leading-[1.1]"
4963
5245
  };
4964
- var PageHeader = React54.forwardRef(function PageHeader2({ title, description, subtitle, breadcrumbs, actions, eyebrow, size = "md", as: Heading2 = "h1", align = "left", titleClassName, descriptionClassName, eyebrowClassName, className, children, ...props }, ref) {
5246
+ var PageHeader = React55.forwardRef(function PageHeader2({ title, description, subtitle, breadcrumbs, actions, eyebrow, size = "md", as: Heading2 = "h1", align = "left", titleClassName, descriptionClassName, eyebrowClassName, className, children, ...props }, ref) {
4965
5247
  const supporting = description ?? subtitle;
4966
- return /* @__PURE__ */ jsxs36("div", { ref, className: cn("flex flex-col gap-2", align === "center" && "items-center text-center", className), ...props, children: [
4967
- breadcrumbs && /* @__PURE__ */ jsx55("div", { className: "text-sm text-muted-foreground", children: breadcrumbs }),
4968
- eyebrow && /* @__PURE__ */ jsx55("div", { className: cn("text-xs font-medium uppercase tracking-wide text-primary-ink", eyebrowClassName), children: eyebrow }),
4969
- /* @__PURE__ */ jsxs36("div", { className: cn("flex w-full flex-wrap items-start justify-between gap-3", align === "center" && "justify-center"), children: [
4970
- /* @__PURE__ */ jsxs36("div", { className: cn("min-w-0", align === "center" && "flex flex-col items-center"), children: [
4971
- /* @__PURE__ */ jsx55(Heading2, { className: cn("font-semibold tracking-tight", sizeClasses6[size], titleClassName), children: title }),
4972
- supporting && /* @__PURE__ */ jsx55("p", { className: cn("mt-2 max-w-2xl text-base text-muted-foreground", descriptionClassName), children: supporting })
5248
+ return /* @__PURE__ */ jsxs37("div", { ref, className: cn("flex flex-col gap-2", align === "center" && "items-center text-center", className), ...props, children: [
5249
+ breadcrumbs && /* @__PURE__ */ jsx56("div", { className: "text-sm text-muted-foreground", children: breadcrumbs }),
5250
+ eyebrow && /* @__PURE__ */ jsx56("div", { className: cn("text-xs font-medium uppercase tracking-wide text-primary-ink", eyebrowClassName), children: eyebrow }),
5251
+ /* @__PURE__ */ jsxs37("div", { className: cn("flex w-full flex-wrap items-start justify-between gap-3", align === "center" && "justify-center"), children: [
5252
+ /* @__PURE__ */ jsxs37("div", { className: cn("min-w-0", align === "center" && "flex flex-col items-center"), children: [
5253
+ /* @__PURE__ */ jsx56(Heading2, { className: cn("font-semibold tracking-tight", sizeClasses6[size], titleClassName), children: title }),
5254
+ supporting && /* @__PURE__ */ jsx56("p", { className: cn("mt-2 max-w-2xl text-base text-muted-foreground", descriptionClassName), children: supporting })
4973
5255
  ] }),
4974
- actions && /* @__PURE__ */ jsx55("div", { className: "flex shrink-0 items-center gap-2", children: actions })
5256
+ actions && /* @__PURE__ */ jsx56("div", { className: "flex shrink-0 items-center gap-2", children: actions })
4975
5257
  ] }),
4976
- children && /* @__PURE__ */ jsx55("div", { className: "mt-2", children })
5258
+ children && /* @__PURE__ */ jsx56("div", { className: "mt-2", children })
4977
5259
  ] });
4978
5260
  });
4979
5261
 
@@ -4993,16 +5275,16 @@ function documentHead({
4993
5275
  }
4994
5276
 
4995
5277
  // src/components/section-heading/SectionHeading.tsx
4996
- import * as React55 from "react";
4997
- import { jsx as jsx56, jsxs as jsxs37 } from "react/jsx-runtime";
5278
+ import * as React56 from "react";
5279
+ import { jsx as jsx57, jsxs as jsxs38 } from "react/jsx-runtime";
4998
5280
  var sizeClasses7 = {
4999
5281
  sm: "text-lg",
5000
5282
  md: "text-2xl",
5001
5283
  lg: "text-3xl"
5002
5284
  };
5003
- var SectionHeading = React55.forwardRef(function SectionHeading2({ title, description, eyebrow, actions, level = 2, align = "left", size = "md", titleClassName, descriptionClassName, eyebrowClassName, className, ...props }, ref) {
5285
+ var SectionHeading = React56.forwardRef(function SectionHeading2({ title, description, eyebrow, actions, level = 2, align = "left", size = "md", titleClassName, descriptionClassName, eyebrowClassName, className, ...props }, ref) {
5004
5286
  const Heading2 = `h${level}`;
5005
- return /* @__PURE__ */ jsxs37(
5287
+ return /* @__PURE__ */ jsxs38(
5006
5288
  "div",
5007
5289
  {
5008
5290
  ref,
@@ -5013,20 +5295,20 @@ var SectionHeading = React55.forwardRef(function SectionHeading2({ title, descri
5013
5295
  ),
5014
5296
  ...props,
5015
5297
  children: [
5016
- /* @__PURE__ */ jsxs37("div", { className: cn("min-w-0", align === "center" && "flex flex-col items-center"), children: [
5017
- eyebrow && /* @__PURE__ */ jsx56("div", { className: cn("mb-1 text-xs font-medium uppercase tracking-wide text-primary-ink", eyebrowClassName), children: eyebrow }),
5018
- /* @__PURE__ */ jsx56(Heading2, { className: cn("font-semibold tracking-tight", sizeClasses7[size], titleClassName), children: title }),
5019
- description && /* @__PURE__ */ jsx56("p", { className: cn("mt-2 max-w-2xl text-muted-foreground", align === "center" ? "mx-auto" : "", descriptionClassName), children: description })
5298
+ /* @__PURE__ */ jsxs38("div", { className: cn("min-w-0", align === "center" && "flex flex-col items-center"), children: [
5299
+ eyebrow && /* @__PURE__ */ jsx57("div", { className: cn("mb-1 text-xs font-medium uppercase tracking-wide text-primary-ink", eyebrowClassName), children: eyebrow }),
5300
+ /* @__PURE__ */ jsx57(Heading2, { className: cn("font-semibold tracking-tight", sizeClasses7[size], titleClassName), children: title }),
5301
+ description && /* @__PURE__ */ jsx57("p", { className: cn("mt-2 max-w-2xl text-muted-foreground", align === "center" ? "mx-auto" : "", descriptionClassName), children: description })
5020
5302
  ] }),
5021
- actions && /* @__PURE__ */ jsx56("div", { className: "flex shrink-0 items-center gap-2", children: actions })
5303
+ actions && /* @__PURE__ */ jsx57("div", { className: "flex shrink-0 items-center gap-2", children: actions })
5022
5304
  ]
5023
5305
  }
5024
5306
  );
5025
5307
  });
5026
5308
 
5027
5309
  // src/components/metric-card/MetricCard.tsx
5028
- import * as React56 from "react";
5029
- import { jsx as jsx57, jsxs as jsxs38 } from "react/jsx-runtime";
5310
+ import * as React57 from "react";
5311
+ import { jsx as jsx58, jsxs as jsxs39 } from "react/jsx-runtime";
5030
5312
  var trendClasses = {
5031
5313
  up: "text-success",
5032
5314
  down: "text-destructive",
@@ -5039,11 +5321,11 @@ var toneClasses = {
5039
5321
  destructive: "text-destructive"
5040
5322
  };
5041
5323
  var trendGlyph = { up: "\u2191", down: "\u2193", flat: "\u2192" };
5042
- var MetricCard = React56.forwardRef(function MetricCard2({ label, value, hint, title, description, delta, trend = "flat", tone = "default", loading = false, icon, className, ...props }, ref) {
5324
+ var MetricCard = React57.forwardRef(function MetricCard2({ label, value, hint, title, description, delta, trend = "flat", tone = "default", loading = false, icon, className, ...props }, ref) {
5043
5325
  const heading = label ?? title;
5044
5326
  const supporting = hint ?? description;
5045
5327
  if (loading) {
5046
- return /* @__PURE__ */ jsxs38(
5328
+ return /* @__PURE__ */ jsxs39(
5047
5329
  "div",
5048
5330
  {
5049
5331
  ref,
@@ -5051,41 +5333,41 @@ var MetricCard = React56.forwardRef(function MetricCard2({ label, value, hint, t
5051
5333
  className: cn("rounded-xl border border-border bg-card p-5", className),
5052
5334
  ...props,
5053
5335
  children: [
5054
- /* @__PURE__ */ jsxs38("div", { className: "flex items-start justify-between gap-3", children: [
5055
- heading && /* @__PURE__ */ jsx57("p", { className: "text-sm text-muted-foreground", children: heading }),
5056
- icon && /* @__PURE__ */ jsx57("span", { className: "text-muted-foreground [&_svg]:size-4", children: icon })
5336
+ /* @__PURE__ */ jsxs39("div", { className: "flex items-start justify-between gap-3", children: [
5337
+ heading && /* @__PURE__ */ jsx58("p", { className: "text-sm text-muted-foreground", children: heading }),
5338
+ icon && /* @__PURE__ */ jsx58("span", { className: "text-muted-foreground [&_svg]:size-4", children: icon })
5057
5339
  ] }),
5058
- /* @__PURE__ */ jsx57("span", { "aria-hidden": "true", className: "mt-3 block h-7 w-24 animate-pulse rounded-md bg-muted" }),
5059
- /* @__PURE__ */ jsx57("span", { className: "sr-only", children: "Loading" })
5340
+ /* @__PURE__ */ jsx58("span", { "aria-hidden": "true", className: "mt-3 block h-7 w-24 animate-pulse rounded-md bg-muted" }),
5341
+ /* @__PURE__ */ jsx58("span", { className: "sr-only", children: "Loading" })
5060
5342
  ]
5061
5343
  }
5062
5344
  );
5063
5345
  }
5064
- return /* @__PURE__ */ jsxs38("div", { ref, className: cn("rounded-xl border border-border bg-card p-5", className), ...props, children: [
5065
- /* @__PURE__ */ jsxs38("div", { className: "flex items-start justify-between gap-3", children: [
5066
- heading && /* @__PURE__ */ jsx57("p", { className: "text-sm text-muted-foreground", children: heading }),
5067
- icon && /* @__PURE__ */ jsx57("span", { className: "text-muted-foreground [&_svg]:size-4", children: icon })
5346
+ return /* @__PURE__ */ jsxs39("div", { ref, className: cn("rounded-xl border border-border bg-card p-5", className), ...props, children: [
5347
+ /* @__PURE__ */ jsxs39("div", { className: "flex items-start justify-between gap-3", children: [
5348
+ heading && /* @__PURE__ */ jsx58("p", { className: "text-sm text-muted-foreground", children: heading }),
5349
+ icon && /* @__PURE__ */ jsx58("span", { className: "text-muted-foreground [&_svg]:size-4", children: icon })
5068
5350
  ] }),
5069
- /* @__PURE__ */ jsx57("p", { className: cn("mt-2 text-2xl font-semibold tabular-nums", toneClasses[tone]), children: value }),
5070
- (delta || supporting) && /* @__PURE__ */ jsxs38("p", { className: "mt-1 flex items-center gap-2 text-sm", children: [
5071
- delta && /* @__PURE__ */ jsxs38("span", { className: cn("font-medium tabular-nums", trendClasses[trend]), children: [
5072
- /* @__PURE__ */ jsx57("span", { "aria-hidden": "true", children: trendGlyph[trend] }),
5351
+ /* @__PURE__ */ jsx58("p", { className: cn("mt-2 text-2xl font-semibold tabular-nums", toneClasses[tone]), children: value }),
5352
+ (delta || supporting) && /* @__PURE__ */ jsxs39("p", { className: "mt-1 flex items-center gap-2 text-sm", children: [
5353
+ delta && /* @__PURE__ */ jsxs39("span", { className: cn("font-medium tabular-nums", trendClasses[trend]), children: [
5354
+ /* @__PURE__ */ jsx58("span", { "aria-hidden": "true", children: trendGlyph[trend] }),
5073
5355
  " ",
5074
5356
  delta
5075
5357
  ] }),
5076
- supporting && /* @__PURE__ */ jsx57("span", { className: "text-muted-foreground", children: supporting })
5358
+ supporting && /* @__PURE__ */ jsx58("span", { className: "text-muted-foreground", children: supporting })
5077
5359
  ] })
5078
5360
  ] });
5079
5361
  });
5080
5362
 
5081
5363
  // src/components/password-input/PasswordInput.tsx
5082
- import * as React57 from "react";
5083
- import { jsx as jsx58, jsxs as jsxs39 } from "react/jsx-runtime";
5084
- var PasswordInput = React57.forwardRef(function PasswordInput2({ className, showLabel = "Show password", hideLabel = "Hide password", ...props }, ref) {
5085
- const [visible, setVisible] = React57.useState(false);
5086
- return /* @__PURE__ */ jsxs39("div", { className: cn("relative flex items-center", className), children: [
5087
- /* @__PURE__ */ jsx58(Input, { ref, type: visible ? "text" : "password", className: "pr-24", ...props }),
5088
- /* @__PURE__ */ jsx58(
5364
+ import * as React58 from "react";
5365
+ import { jsx as jsx59, jsxs as jsxs40 } from "react/jsx-runtime";
5366
+ var PasswordInput = React58.forwardRef(function PasswordInput2({ className, showLabel = "Show password", hideLabel = "Hide password", ...props }, ref) {
5367
+ const [visible, setVisible] = React58.useState(false);
5368
+ return /* @__PURE__ */ jsxs40("div", { className: cn("relative flex items-center", className), children: [
5369
+ /* @__PURE__ */ jsx59(Input, { ref, type: visible ? "text" : "password", className: "pr-24", ...props }),
5370
+ /* @__PURE__ */ jsx59(
5089
5371
  Button,
5090
5372
  {
5091
5373
  type: "button",
@@ -5102,14 +5384,14 @@ var PasswordInput = React57.forwardRef(function PasswordInput2({ className, show
5102
5384
  });
5103
5385
 
5104
5386
  // src/components/auth-layout/AuthLayout.tsx
5105
- import * as React58 from "react";
5106
- import { jsx as jsx59, jsxs as jsxs40 } from "react/jsx-runtime";
5387
+ import * as React59 from "react";
5388
+ import { jsx as jsx60, jsxs as jsxs41 } from "react/jsx-runtime";
5107
5389
  var sizeClasses8 = {
5108
5390
  sm: "max-w-sm",
5109
5391
  md: "max-w-md",
5110
5392
  lg: "max-w-lg"
5111
5393
  };
5112
- var AuthLayout = React58.forwardRef(function AuthLayout2({
5394
+ var AuthLayout = React59.forwardRef(function AuthLayout2({
5113
5395
  title,
5114
5396
  description,
5115
5397
  subtitle,
@@ -5128,7 +5410,7 @@ var AuthLayout = React58.forwardRef(function AuthLayout2({
5128
5410
  const supporting = description ?? subtitle;
5129
5411
  const mark = brand ?? logo;
5130
5412
  const widthStyle = maxWidth === void 0 ? void 0 : { maxWidth: typeof maxWidth === "number" ? `${maxWidth}px` : maxWidth };
5131
- const form = /* @__PURE__ */ jsxs40(
5413
+ const form = /* @__PURE__ */ jsxs41(
5132
5414
  "div",
5133
5415
  {
5134
5416
  className: cn(
@@ -5137,8 +5419,8 @@ var AuthLayout = React58.forwardRef(function AuthLayout2({
5137
5419
  ),
5138
5420
  style: widthStyle,
5139
5421
  children: [
5140
- mark && /* @__PURE__ */ jsx59("div", { className: "mb-6", children: mark }),
5141
- /* @__PURE__ */ jsxs40(
5422
+ mark && /* @__PURE__ */ jsx60("div", { className: "mb-6", children: mark }),
5423
+ /* @__PURE__ */ jsxs41(
5142
5424
  "div",
5143
5425
  {
5144
5426
  className: cn(
@@ -5147,31 +5429,31 @@ var AuthLayout = React58.forwardRef(function AuthLayout2({
5147
5429
  ),
5148
5430
  style: widthStyle,
5149
5431
  children: [
5150
- /* @__PURE__ */ jsx59("h1", { className: "text-xl font-semibold tracking-tight", children: title }),
5151
- supporting && /* @__PURE__ */ jsx59("p", { className: "mt-1 text-sm text-muted-foreground", children: supporting }),
5152
- /* @__PURE__ */ jsx59("div", { className: "mt-6", children })
5432
+ /* @__PURE__ */ jsx60("h1", { className: "text-xl font-semibold tracking-tight", children: title }),
5433
+ supporting && /* @__PURE__ */ jsx60("p", { className: "mt-1 text-sm text-muted-foreground", children: supporting }),
5434
+ /* @__PURE__ */ jsx60("div", { className: "mt-6", children })
5153
5435
  ]
5154
5436
  }
5155
5437
  ),
5156
- footer && /* @__PURE__ */ jsx59("div", { className: "mt-6 text-center text-sm text-muted-foreground", children: footer })
5438
+ footer && /* @__PURE__ */ jsx60("div", { className: "mt-6 text-center text-sm text-muted-foreground", children: footer })
5157
5439
  ]
5158
5440
  }
5159
5441
  );
5160
5442
  if (split) {
5161
- return /* @__PURE__ */ jsx59(
5443
+ return /* @__PURE__ */ jsx60(
5162
5444
  "div",
5163
5445
  {
5164
5446
  ref,
5165
5447
  className: cn("min-h-screen bg-muted/30 px-4 py-12 lg:px-8", className),
5166
5448
  ...props,
5167
- children: /* @__PURE__ */ jsxs40("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: [
5449
+ children: /* @__PURE__ */ jsxs41("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: [
5168
5450
  form,
5169
- /* @__PURE__ */ jsx59("aside", { className: "w-full", children: aside })
5451
+ /* @__PURE__ */ jsx60("aside", { className: "w-full", children: aside })
5170
5452
  ] })
5171
5453
  }
5172
5454
  );
5173
5455
  }
5174
- return /* @__PURE__ */ jsx59(
5456
+ return /* @__PURE__ */ jsx60(
5175
5457
  "div",
5176
5458
  {
5177
5459
  ref,
@@ -5186,9 +5468,9 @@ var AuthLayout = React58.forwardRef(function AuthLayout2({
5186
5468
  });
5187
5469
 
5188
5470
  // src/components/filter-bar/FilterBar.tsx
5189
- import * as React59 from "react";
5190
- import { jsx as jsx60, jsxs as jsxs41 } from "react/jsx-runtime";
5191
- var FilterBar = React59.forwardRef(function FilterBar2({
5471
+ import * as React60 from "react";
5472
+ import { jsx as jsx61, jsxs as jsxs42 } from "react/jsx-runtime";
5473
+ var FilterBar = React60.forwardRef(function FilterBar2({
5192
5474
  searchValue,
5193
5475
  onSearchChange,
5194
5476
  searchPlaceholder = "Search\u2026",
@@ -5203,7 +5485,7 @@ var FilterBar = React59.forwardRef(function FilterBar2({
5203
5485
  children,
5204
5486
  ...props
5205
5487
  }, ref) {
5206
- return /* @__PURE__ */ jsxs41(
5488
+ return /* @__PURE__ */ jsxs42(
5207
5489
  "div",
5208
5490
  {
5209
5491
  ref,
@@ -5214,7 +5496,7 @@ var FilterBar = React59.forwardRef(function FilterBar2({
5214
5496
  ),
5215
5497
  ...props,
5216
5498
  children: [
5217
- onSearchChange !== void 0 && /* @__PURE__ */ jsx60(
5499
+ onSearchChange !== void 0 && /* @__PURE__ */ jsx61(
5218
5500
  Input,
5219
5501
  {
5220
5502
  type: "search",
@@ -5225,38 +5507,79 @@ var FilterBar = React59.forwardRef(function FilterBar2({
5225
5507
  className: "h-9 w-full min-w-40 flex-1 sm:w-auto"
5226
5508
  }
5227
5509
  ),
5228
- /* @__PURE__ */ jsx60("div", { className: "flex flex-wrap items-center gap-2", children }),
5229
- onOpenFilters && /* @__PURE__ */ jsxs41(Button, { type: "button", variant: "outline", size: "sm", onClick: onOpenFilters, children: [
5510
+ /* @__PURE__ */ jsx61("div", { className: "flex flex-wrap items-center gap-2", children }),
5511
+ onOpenFilters && /* @__PURE__ */ jsxs42(Button, { type: "button", variant: "outline", size: "sm", onClick: onOpenFilters, children: [
5230
5512
  filtersLabel,
5231
5513
  activeCount > 0 ? ` (${activeCount})` : ""
5232
5514
  ] }),
5233
- onReset && /* @__PURE__ */ jsxs41(Button, { type: "button", variant: "ghost", size: "sm", onClick: onReset, children: [
5515
+ onReset && /* @__PURE__ */ jsxs42(Button, { type: "button", variant: "ghost", size: "sm", onClick: onReset, children: [
5234
5516
  "Reset",
5235
5517
  activeCount > 0 ? ` (${activeCount})` : ""
5236
5518
  ] }),
5237
- resultsCount !== void 0 && /* @__PURE__ */ jsxs41("span", { className: "ml-auto text-sm text-muted-foreground", children: [
5519
+ resultsCount !== void 0 && /* @__PURE__ */ jsxs42("span", { className: "ml-auto text-sm text-muted-foreground", children: [
5238
5520
  resultsCount,
5239
5521
  " ",
5240
5522
  resultsLabel
5241
5523
  ] }),
5242
- trailing && /* @__PURE__ */ jsx60("div", { className: cn("flex items-center gap-2", resultsCount === void 0 && "ml-auto"), children: trailing })
5524
+ trailing && /* @__PURE__ */ jsx61("div", { className: cn("flex items-center gap-2", resultsCount === void 0 && "ml-auto"), children: trailing })
5243
5525
  ]
5244
5526
  }
5245
5527
  );
5246
5528
  });
5247
5529
 
5530
+ // src/components/list-toolbar/ListToolbar.tsx
5531
+ import { jsx as jsx62, jsxs as jsxs43 } from "react/jsx-runtime";
5532
+ var alignClasses = {
5533
+ between: "justify-between",
5534
+ start: "justify-start",
5535
+ center: "justify-center",
5536
+ end: "justify-end"
5537
+ };
5538
+ function ListToolbar({
5539
+ count,
5540
+ countLabel = "results",
5541
+ position,
5542
+ note,
5543
+ align = "between",
5544
+ className,
5545
+ children,
5546
+ ...props
5547
+ }) {
5548
+ const hasSummary = count !== void 0 || position !== void 0 || note !== void 0;
5549
+ return /* @__PURE__ */ jsxs43(
5550
+ "div",
5551
+ {
5552
+ className: cn("flex flex-wrap items-center gap-x-4 gap-y-2 text-sm", alignClasses[align], className),
5553
+ ...props,
5554
+ children: [
5555
+ hasSummary && /* @__PURE__ */ jsxs43("p", { className: "flex flex-wrap items-baseline gap-x-2 text-muted-foreground", "aria-live": "polite", children: [
5556
+ count !== void 0 && /* @__PURE__ */ jsxs43("span", { className: "font-medium text-foreground", children: [
5557
+ count,
5558
+ " ",
5559
+ countLabel
5560
+ ] }),
5561
+ position && /* @__PURE__ */ jsx62("span", { children: position }),
5562
+ note && /* @__PURE__ */ jsx62("span", { className: "text-xs", children: note })
5563
+ ] }),
5564
+ children && /* @__PURE__ */ jsx62("div", { className: "flex flex-wrap items-center gap-2", children })
5565
+ ]
5566
+ }
5567
+ );
5568
+ }
5569
+ ListToolbar.displayName = "ListToolbar";
5570
+
5248
5571
  // src/components/date-picker/DatePicker.tsx
5249
- import * as React60 from "react";
5250
- import { jsx as jsx61, jsxs as jsxs42 } from "react/jsx-runtime";
5251
- var DatePicker = React60.forwardRef(function DatePicker2({ value, defaultValue, onValueChange, onChange, clearable = false, clearLabel = "Clear date", className, ...props }, ref) {
5252
- const [internal, setInternal] = React60.useState(defaultValue ?? "");
5572
+ import * as React61 from "react";
5573
+ import { jsx as jsx63, jsxs as jsxs44 } from "react/jsx-runtime";
5574
+ var DatePicker = React61.forwardRef(function DatePicker2({ value, defaultValue, onValueChange, onChange, clearable = false, clearLabel = "Clear date", className, ...props }, ref) {
5575
+ const [internal, setInternal] = React61.useState(defaultValue ?? "");
5253
5576
  const current = value ?? internal;
5254
5577
  const commit = (next) => {
5255
5578
  if (value === void 0) setInternal(next);
5256
5579
  onValueChange?.(next);
5257
5580
  };
5258
- return /* @__PURE__ */ jsxs42("div", { className: cn("relative flex items-center", className), children: [
5259
- /* @__PURE__ */ jsx61(
5581
+ return /* @__PURE__ */ jsxs44("div", { className: cn("relative flex items-center", className), children: [
5582
+ /* @__PURE__ */ jsx63(
5260
5583
  Input,
5261
5584
  {
5262
5585
  ref,
@@ -5270,7 +5593,7 @@ var DatePicker = React60.forwardRef(function DatePicker2({ value, defaultValue,
5270
5593
  ...props
5271
5594
  }
5272
5595
  ),
5273
- clearable && current && /* @__PURE__ */ jsx61(
5596
+ clearable && current && /* @__PURE__ */ jsx63(
5274
5597
  "button",
5275
5598
  {
5276
5599
  type: "button",
@@ -5284,10 +5607,10 @@ var DatePicker = React60.forwardRef(function DatePicker2({ value, defaultValue,
5284
5607
  });
5285
5608
 
5286
5609
  // src/components/date-picker-popover/DatePickerPopover.tsx
5287
- import * as React62 from "react";
5610
+ import * as React63 from "react";
5288
5611
 
5289
5612
  // src/components/popover/Popover.tsx
5290
- import * as React61 from "react";
5613
+ import * as React62 from "react";
5291
5614
  import { createPortal as createPortal7 } from "react-dom";
5292
5615
 
5293
5616
  // src/utils/position.ts
@@ -5356,8 +5679,8 @@ function computePosition({
5356
5679
  }
5357
5680
 
5358
5681
  // src/components/popover/Popover.tsx
5359
- import { jsx as jsx62 } from "react/jsx-runtime";
5360
- var PopoverContext = React61.createContext({
5682
+ import { jsx as jsx64 } from "react/jsx-runtime";
5683
+ var PopoverContext = React62.createContext({
5361
5684
  open: false,
5362
5685
  setOpen: () => {
5363
5686
  },
@@ -5367,16 +5690,16 @@ var PopoverContext = React61.createContext({
5367
5690
  anchorRef: { current: null },
5368
5691
  triggerRef: { current: null }
5369
5692
  });
5370
- var Popover = React61.forwardRef(
5693
+ var Popover = React62.forwardRef(
5371
5694
  ({ open, onOpenChange, className, children }, ref) => {
5372
- const [internalOpen, setInternalOpen] = React61.useState(false);
5695
+ const [internalOpen, setInternalOpen] = React62.useState(false);
5373
5696
  const current = open ?? internalOpen;
5374
- const triggerId = React61.useId();
5375
- const contentId = React61.useId();
5376
- const wrapperRef = React61.useRef(null);
5377
- const anchorRef = React61.useRef(null);
5378
- const triggerRef = React61.useRef(null);
5379
- const setRefs = React61.useCallback(
5697
+ const triggerId = React62.useId();
5698
+ const contentId = React62.useId();
5699
+ const wrapperRef = React62.useRef(null);
5700
+ const anchorRef = React62.useRef(null);
5701
+ const triggerRef = React62.useRef(null);
5702
+ const setRefs = React62.useCallback(
5380
5703
  (node) => {
5381
5704
  wrapperRef.current = node;
5382
5705
  if (typeof ref === "function") ref(node);
@@ -5384,14 +5707,14 @@ var Popover = React61.forwardRef(
5384
5707
  },
5385
5708
  [ref]
5386
5709
  );
5387
- const setOpen = React61.useCallback(
5710
+ const setOpen = React62.useCallback(
5388
5711
  (next) => {
5389
5712
  if (open === void 0) setInternalOpen(next);
5390
5713
  onOpenChange?.(next);
5391
5714
  },
5392
5715
  [open, onOpenChange]
5393
5716
  );
5394
- return /* @__PURE__ */ jsx62("div", { ref: setRefs, className: cn("relative inline-block", className), children: /* @__PURE__ */ jsx62(
5717
+ return /* @__PURE__ */ jsx64("div", { ref: setRefs, className: cn("relative inline-block", className), children: /* @__PURE__ */ jsx64(
5395
5718
  PopoverContext.Provider,
5396
5719
  {
5397
5720
  value: { open: current, setOpen, triggerId, contentId, wrapperRef, anchorRef, triggerRef },
@@ -5401,10 +5724,10 @@ var Popover = React61.forwardRef(
5401
5724
  }
5402
5725
  );
5403
5726
  Popover.displayName = "Popover";
5404
- var PopoverTrigger = React61.forwardRef(
5727
+ var PopoverTrigger = React62.forwardRef(
5405
5728
  ({ className, children, onClick, id, ...props }, ref) => {
5406
- const { open, setOpen, triggerId, contentId, triggerRef } = React61.useContext(PopoverContext);
5407
- const setRefs = React61.useCallback(
5729
+ const { open, setOpen, triggerId, contentId, triggerRef } = React62.useContext(PopoverContext);
5730
+ const setRefs = React62.useCallback(
5408
5731
  (node) => {
5409
5732
  triggerRef.current = node;
5410
5733
  if (typeof ref === "function") ref(node);
@@ -5412,7 +5735,7 @@ var PopoverTrigger = React61.forwardRef(
5412
5735
  },
5413
5736
  [ref, triggerRef]
5414
5737
  );
5415
- return /* @__PURE__ */ jsx62(
5738
+ return /* @__PURE__ */ jsx64(
5416
5739
  "button",
5417
5740
  {
5418
5741
  ref: setRefs,
@@ -5437,10 +5760,10 @@ var PopoverTrigger = React61.forwardRef(
5437
5760
  }
5438
5761
  );
5439
5762
  PopoverTrigger.displayName = "PopoverTrigger";
5440
- var PopoverAnchor = React61.forwardRef(
5763
+ var PopoverAnchor = React62.forwardRef(
5441
5764
  ({ className, children, ...props }, ref) => {
5442
- const { anchorRef } = React61.useContext(PopoverContext);
5443
- const setRefs = React61.useCallback(
5765
+ const { anchorRef } = React62.useContext(PopoverContext);
5766
+ const setRefs = React62.useCallback(
5444
5767
  (node) => {
5445
5768
  anchorRef.current = node;
5446
5769
  if (typeof ref === "function") ref(node);
@@ -5448,7 +5771,7 @@ var PopoverAnchor = React61.forwardRef(
5448
5771
  },
5449
5772
  [anchorRef, ref]
5450
5773
  );
5451
- return /* @__PURE__ */ jsx62("span", { ref: setRefs, className: cn("inline-block", className), ...props, children });
5774
+ return /* @__PURE__ */ jsx64("span", { ref: setRefs, className: cn("inline-block", className), ...props, children });
5452
5775
  }
5453
5776
  );
5454
5777
  PopoverAnchor.displayName = "PopoverAnchor";
@@ -5461,7 +5784,7 @@ function rectOf(element) {
5461
5784
  height: rect.height || element.offsetHeight || 0
5462
5785
  };
5463
5786
  }
5464
- var PopoverContent = React61.forwardRef(
5787
+ var PopoverContent = React62.forwardRef(
5465
5788
  ({
5466
5789
  className,
5467
5790
  children,
@@ -5475,12 +5798,12 @@ var PopoverContent = React61.forwardRef(
5475
5798
  matchTriggerWidth = false,
5476
5799
  ...props
5477
5800
  }, ref) => {
5478
- const { open, setOpen, contentId, wrapperRef, anchorRef, triggerRef } = React61.useContext(PopoverContext);
5801
+ const { open, setOpen, contentId, wrapperRef, anchorRef, triggerRef } = React62.useContext(PopoverContext);
5479
5802
  const labelledBy = triggerRef.current?.id || void 0;
5480
- const contentRef = React61.useRef(null);
5481
- const [pos, setPos] = React61.useState(null);
5482
- const [width, setWidth] = React61.useState(void 0);
5483
- const updatePosition = React61.useCallback(() => {
5803
+ const contentRef = React62.useRef(null);
5804
+ const [pos, setPos] = React62.useState(null);
5805
+ const [width, setWidth] = React62.useState(void 0);
5806
+ const updatePosition = React62.useCallback(() => {
5484
5807
  const anchorEl = anchorRef.current ?? wrapperRef.current;
5485
5808
  const panel = contentRef.current;
5486
5809
  if (!anchorEl || !panel) return;
@@ -5509,17 +5832,17 @@ var PopoverContent = React61.forwardRef(
5509
5832
  sideOffset,
5510
5833
  wrapperRef
5511
5834
  ]);
5512
- React61.useLayoutEffect(() => {
5835
+ React62.useLayoutEffect(() => {
5513
5836
  if (!open) {
5514
5837
  setPos(null);
5515
5838
  return;
5516
5839
  }
5517
5840
  updatePosition();
5518
5841
  }, [open, updatePosition]);
5519
- React61.useEffect(() => {
5842
+ React62.useEffect(() => {
5520
5843
  if (open && !pos) updatePosition();
5521
5844
  }, [open, pos, updatePosition]);
5522
- React61.useEffect(() => {
5845
+ React62.useEffect(() => {
5523
5846
  if (!open) return;
5524
5847
  const onScroll = () => updatePosition();
5525
5848
  window.addEventListener("scroll", onScroll, true);
@@ -5533,7 +5856,7 @@ var PopoverContent = React61.forwardRef(
5533
5856
  observer?.disconnect();
5534
5857
  };
5535
5858
  }, [open, updatePosition]);
5536
- React61.useEffect(() => {
5859
+ React62.useEffect(() => {
5537
5860
  if (!open) return;
5538
5861
  function onPointerDown(event) {
5539
5862
  if (!contentRef.current?.contains(event.target)) setOpen(false);
@@ -5541,14 +5864,14 @@ var PopoverContent = React61.forwardRef(
5541
5864
  document.addEventListener("pointerdown", onPointerDown);
5542
5865
  return () => document.removeEventListener("pointerdown", onPointerDown);
5543
5866
  }, [open, setOpen]);
5544
- React61.useEffect(() => {
5867
+ React62.useEffect(() => {
5545
5868
  if (open && pos && contentRef.current) {
5546
5869
  contentRef.current.focus();
5547
5870
  }
5548
5871
  }, [open, pos]);
5549
5872
  if (!open || typeof document === "undefined") return null;
5550
5873
  return createPortal7(
5551
- /* @__PURE__ */ jsx62(
5874
+ /* @__PURE__ */ jsx64(
5552
5875
  "div",
5553
5876
  {
5554
5877
  ref: (node) => {
@@ -5593,8 +5916,8 @@ var PopoverContent = React61.forwardRef(
5593
5916
  PopoverContent.displayName = "PopoverContent";
5594
5917
 
5595
5918
  // src/components/date-picker-popover/DatePickerPopover.tsx
5596
- import { Fragment as Fragment12, jsx as jsx63, jsxs as jsxs43 } from "react/jsx-runtime";
5597
- var DatePickerPopover = React62.forwardRef(
5919
+ import { Fragment as Fragment12, jsx as jsx65, jsxs as jsxs45 } from "react/jsx-runtime";
5920
+ var DatePickerPopover = React63.forwardRef(
5598
5921
  ({
5599
5922
  value,
5600
5923
  onValueChange,
@@ -5615,9 +5938,9 @@ var DatePickerPopover = React62.forwardRef(
5615
5938
  "aria-describedby": ariaDescribedBy,
5616
5939
  "aria-invalid": ariaInvalid
5617
5940
  }, ref) => {
5618
- const [open, setOpen] = React62.useState(false);
5619
- const triggerRef = React62.useRef(null);
5620
- const setTriggerRef = React62.useCallback(
5941
+ const [open, setOpen] = React63.useState(false);
5942
+ const triggerRef = React63.useRef(null);
5943
+ const setTriggerRef = React63.useCallback(
5621
5944
  (node) => {
5622
5945
  triggerRef.current = node;
5623
5946
  if (typeof ref === "function") ref(node);
@@ -5626,9 +5949,9 @@ var DatePickerPopover = React62.forwardRef(
5626
5949
  [ref]
5627
5950
  );
5628
5951
  const label = value ? formatDateLabel(value, locale) : placeholder;
5629
- return /* @__PURE__ */ jsxs43(Fragment12, { children: [
5630
- /* @__PURE__ */ jsxs43(Popover, { open, onOpenChange: setOpen, children: [
5631
- /* @__PURE__ */ jsx63(
5952
+ return /* @__PURE__ */ jsxs45(Fragment12, { children: [
5953
+ /* @__PURE__ */ jsxs45(Popover, { open, onOpenChange: setOpen, children: [
5954
+ /* @__PURE__ */ jsx65(
5632
5955
  PopoverTrigger,
5633
5956
  {
5634
5957
  ref: setTriggerRef,
@@ -5646,7 +5969,7 @@ var DatePickerPopover = React62.forwardRef(
5646
5969
  children: label
5647
5970
  }
5648
5971
  ),
5649
- /* @__PURE__ */ jsx63(PopoverContent, { side, align, matchTriggerWidth: true, className: "w-auto p-3", children: /* @__PURE__ */ jsx63(
5972
+ /* @__PURE__ */ jsx65(PopoverContent, { side, align, matchTriggerWidth: true, className: "w-auto p-3", children: /* @__PURE__ */ jsx65(
5650
5973
  Calendar,
5651
5974
  {
5652
5975
  value,
@@ -5664,24 +5987,24 @@ var DatePickerPopover = React62.forwardRef(
5664
5987
  }
5665
5988
  ) })
5666
5989
  ] }),
5667
- name ? /* @__PURE__ */ jsx63("input", { type: "hidden", name, value: value ?? "", required }) : null
5990
+ name ? /* @__PURE__ */ jsx65("input", { type: "hidden", name, value: value ?? "", required }) : null
5668
5991
  ] });
5669
5992
  }
5670
5993
  );
5671
5994
  DatePickerPopover.displayName = "DatePickerPopover";
5672
5995
 
5673
5996
  // src/components/time-picker/TimePicker.tsx
5674
- import * as React63 from "react";
5675
- import { jsx as jsx64, jsxs as jsxs44 } from "react/jsx-runtime";
5676
- var TimePicker = React63.forwardRef(function TimePicker2({ value, defaultValue, onValueChange, onChange, clearable = false, clearLabel = "Clear time", className, ...props }, ref) {
5677
- const [internal, setInternal] = React63.useState(defaultValue ?? "");
5997
+ import * as React64 from "react";
5998
+ import { jsx as jsx66, jsxs as jsxs46 } from "react/jsx-runtime";
5999
+ var TimePicker = React64.forwardRef(function TimePicker2({ value, defaultValue, onValueChange, onChange, clearable = false, clearLabel = "Clear time", className, ...props }, ref) {
6000
+ const [internal, setInternal] = React64.useState(defaultValue ?? "");
5678
6001
  const current = value ?? internal;
5679
6002
  const commit = (next) => {
5680
6003
  if (value === void 0) setInternal(next);
5681
6004
  onValueChange?.(next);
5682
6005
  };
5683
- return /* @__PURE__ */ jsxs44("div", { className: cn("relative flex items-center", className), children: [
5684
- /* @__PURE__ */ jsx64(
6006
+ return /* @__PURE__ */ jsxs46("div", { className: cn("relative flex items-center", className), children: [
6007
+ /* @__PURE__ */ jsx66(
5685
6008
  Input,
5686
6009
  {
5687
6010
  ref,
@@ -5695,7 +6018,7 @@ var TimePicker = React63.forwardRef(function TimePicker2({ value, defaultValue,
5695
6018
  ...props
5696
6019
  }
5697
6020
  ),
5698
- clearable && current && /* @__PURE__ */ jsx64(
6021
+ clearable && current && /* @__PURE__ */ jsx66(
5699
6022
  "button",
5700
6023
  {
5701
6024
  type: "button",
@@ -5709,9 +6032,9 @@ var TimePicker = React63.forwardRef(function TimePicker2({ value, defaultValue,
5709
6032
  });
5710
6033
 
5711
6034
  // src/components/stepper/Stepper.tsx
5712
- import * as React64 from "react";
5713
- import { Fragment as Fragment13, jsx as jsx65, jsxs as jsxs45 } from "react/jsx-runtime";
5714
- var Stepper = React64.forwardRef(function Stepper2({
6035
+ import * as React65 from "react";
6036
+ import { Fragment as Fragment13, jsx as jsx67, jsxs as jsxs47 } from "react/jsx-runtime";
6037
+ var Stepper = React65.forwardRef(function Stepper2({
5715
6038
  steps,
5716
6039
  current,
5717
6040
  orientation = "horizontal",
@@ -5734,7 +6057,7 @@ var Stepper = React64.forwardRef(function Stepper2({
5734
6057
  const verticalTitlePad = size === "sm" ? "pt-0.5" : "pt-1";
5735
6058
  const connectorTop = variant === "dots" ? size === "sm" ? "mt-1" : "mt-[5px]" : size === "sm" ? "mt-3" : "mt-3.5";
5736
6059
  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";
5737
- return /* @__PURE__ */ jsx65(
6060
+ return /* @__PURE__ */ jsx67(
5738
6061
  "ol",
5739
6062
  {
5740
6063
  ref,
@@ -5748,7 +6071,7 @@ var Stepper = React64.forwardRef(function Stepper2({
5748
6071
  const isLast = index === steps.length - 1;
5749
6072
  const titleCentered = alignTitles === "center" && !step.description;
5750
6073
  const below = !vertical && labelPlacement === "below";
5751
- const marker = /* @__PURE__ */ jsx65(
6074
+ const marker = /* @__PURE__ */ jsx67(
5752
6075
  "span",
5753
6076
  {
5754
6077
  "aria-hidden": "true",
@@ -5770,8 +6093,8 @@ var Stepper = React64.forwardRef(function Stepper2({
5770
6093
  children: variant === "numbered" ? state === "complete" ? "\u2713" : index + 1 : null
5771
6094
  }
5772
6095
  );
5773
- const label = /* @__PURE__ */ jsxs45("span", { className: "min-w-0", children: [
5774
- /* @__PURE__ */ jsx65(
6096
+ const label = /* @__PURE__ */ jsxs47("span", { className: "min-w-0", children: [
6097
+ /* @__PURE__ */ jsx67(
5775
6098
  "span",
5776
6099
  {
5777
6100
  className: cn(
@@ -5783,7 +6106,7 @@ var Stepper = React64.forwardRef(function Stepper2({
5783
6106
  children: step.label
5784
6107
  }
5785
6108
  ),
5786
- step.description && /* @__PURE__ */ jsx65(
6109
+ step.description && /* @__PURE__ */ jsx67(
5787
6110
  "span",
5788
6111
  {
5789
6112
  className: cn(
@@ -5794,9 +6117,9 @@ var Stepper = React64.forwardRef(function Stepper2({
5794
6117
  children: step.description
5795
6118
  }
5796
6119
  ),
5797
- /* @__PURE__ */ jsx65("span", { className: "sr-only", children: state === "complete" ? labels?.completed ?? " (completed)" : state === "current" ? labels?.current ?? " (current step)" : labels?.upcoming ?? " (upcoming)" })
6120
+ /* @__PURE__ */ jsx67("span", { className: "sr-only", children: state === "complete" ? labels?.completed ?? " (completed)" : state === "current" ? labels?.current ?? " (current step)" : labels?.upcoming ?? " (upcoming)" })
5798
6121
  ] });
5799
- const renderRow = (children, rowClassName) => interactive ? /* @__PURE__ */ jsx65(
6122
+ const renderRow = (children, rowClassName) => interactive ? /* @__PURE__ */ jsx67(
5800
6123
  "button",
5801
6124
  {
5802
6125
  type: "button",
@@ -5805,29 +6128,29 @@ var Stepper = React64.forwardRef(function Stepper2({
5805
6128
  className: cn(rowClassName, focusClass),
5806
6129
  children
5807
6130
  }
5808
- ) : /* @__PURE__ */ jsx65("div", { "aria-current": state === "current" ? "step" : void 0, className: rowClassName, children });
6131
+ ) : /* @__PURE__ */ jsx67("div", { "aria-current": state === "current" ? "step" : void 0, className: rowClassName, children });
5809
6132
  if (vertical) {
5810
- return /* @__PURE__ */ jsx65("li", { className: "flex", children: renderRow(
5811
- /* @__PURE__ */ jsxs45(Fragment13, { children: [
5812
- /* @__PURE__ */ jsxs45("div", { className: "flex flex-col items-center", children: [
6133
+ return /* @__PURE__ */ jsx67("li", { className: "flex", children: renderRow(
6134
+ /* @__PURE__ */ jsxs47(Fragment13, { children: [
6135
+ /* @__PURE__ */ jsxs47("div", { className: "flex flex-col items-center", children: [
5813
6136
  marker,
5814
- !isLast && /* @__PURE__ */ jsx65("span", { "aria-hidden": "true", className: "my-1 w-px flex-1 rounded-full bg-border" })
6137
+ !isLast && /* @__PURE__ */ jsx67("span", { "aria-hidden": "true", className: "my-1 w-px flex-1 rounded-full bg-border" })
5815
6138
  ] }),
5816
- /* @__PURE__ */ jsx65("div", { className: cn("min-w-0 pb-6", titleCentered && verticalTitlePad), children: label })
6139
+ /* @__PURE__ */ jsx67("div", { className: cn("min-w-0 pb-6", titleCentered && verticalTitlePad), children: label })
5817
6140
  ] }),
5818
6141
  "flex w-full items-stretch gap-3 text-left"
5819
6142
  ) }, step.label);
5820
6143
  }
5821
6144
  if (below) {
5822
- return /* @__PURE__ */ jsxs45("li", { className: "flex min-w-0 flex-1 items-start gap-2", children: [
6145
+ return /* @__PURE__ */ jsxs47("li", { className: "flex min-w-0 flex-1 items-start gap-2", children: [
5823
6146
  renderRow(
5824
- /* @__PURE__ */ jsxs45(Fragment13, { children: [
6147
+ /* @__PURE__ */ jsxs47(Fragment13, { children: [
5825
6148
  marker,
5826
6149
  label
5827
6150
  ] }),
5828
6151
  "flex min-w-0 flex-1 flex-col items-center gap-2 text-center"
5829
6152
  ),
5830
- !isLast && /* @__PURE__ */ jsx65(
6153
+ !isLast && /* @__PURE__ */ jsx67(
5831
6154
  "span",
5832
6155
  {
5833
6156
  "aria-hidden": "true",
@@ -5836,15 +6159,15 @@ var Stepper = React64.forwardRef(function Stepper2({
5836
6159
  )
5837
6160
  ] }, step.label);
5838
6161
  }
5839
- return /* @__PURE__ */ jsxs45("li", { className: "flex min-w-0 items-start gap-2", children: [
6162
+ return /* @__PURE__ */ jsxs47("li", { className: "flex min-w-0 items-start gap-2", children: [
5840
6163
  renderRow(
5841
- /* @__PURE__ */ jsxs45(Fragment13, { children: [
6164
+ /* @__PURE__ */ jsxs47(Fragment13, { children: [
5842
6165
  marker,
5843
6166
  label
5844
6167
  ] }),
5845
6168
  cn("flex min-w-0 text-left", gapClass, titleCentered ? "items-center" : "items-start")
5846
6169
  ),
5847
- !isLast && /* @__PURE__ */ jsx65(
6170
+ !isLast && /* @__PURE__ */ jsx67(
5848
6171
  "span",
5849
6172
  {
5850
6173
  "aria-hidden": "true",
@@ -5858,14 +6181,14 @@ var Stepper = React64.forwardRef(function Stepper2({
5858
6181
  });
5859
6182
 
5860
6183
  // src/components/file-upload/FileUpload.tsx
5861
- import * as React65 from "react";
5862
- import { jsx as jsx66, jsxs as jsxs46 } from "react/jsx-runtime";
6184
+ import * as React66 from "react";
6185
+ import { jsx as jsx68, jsxs as jsxs48 } from "react/jsx-runtime";
5863
6186
  function formatSize(bytes) {
5864
6187
  if (bytes < 1024) return `${bytes} B`;
5865
6188
  if (bytes < 1024 * 1024) return `${(bytes / 1024).toFixed(1)} KB`;
5866
6189
  return `${(bytes / (1024 * 1024)).toFixed(1)} MB`;
5867
6190
  }
5868
- var FileUpload = React65.forwardRef(function FileUpload2({
6191
+ var FileUpload = React66.forwardRef(function FileUpload2({
5869
6192
  files,
5870
6193
  defaultFiles,
5871
6194
  onFilesChange,
@@ -5882,13 +6205,13 @@ var FileUpload = React65.forwardRef(function FileUpload2({
5882
6205
  id,
5883
6206
  ...props
5884
6207
  }, ref) {
5885
- const [internal, setInternal] = React65.useState(defaultFiles ?? []);
5886
- const [dragging, setDragging] = React65.useState(false);
6208
+ const [internal, setInternal] = React66.useState(defaultFiles ?? []);
6209
+ const [dragging, setDragging] = React66.useState(false);
5887
6210
  const current = files ?? internal;
5888
- const generatedId = React65.useId();
6211
+ const generatedId = React66.useId();
5889
6212
  const inputId = id ?? generatedId;
5890
- const fileIds = React65.useRef(/* @__PURE__ */ new WeakMap());
5891
- const nextFileId = React65.useRef(0);
6213
+ const fileIds = React66.useRef(/* @__PURE__ */ new WeakMap());
6214
+ const nextFileId = React66.useRef(0);
5892
6215
  const idFor = (file) => {
5893
6216
  let fileId = fileIds.current.get(file);
5894
6217
  if (!fileId) {
@@ -5906,8 +6229,8 @@ var FileUpload = React65.forwardRef(function FileUpload2({
5906
6229
  const list = Array.from(incoming);
5907
6230
  commit(multiple ? [...current, ...list] : list.slice(0, 1));
5908
6231
  };
5909
- return /* @__PURE__ */ jsxs46("div", { className: cn("flex flex-col gap-3", className), children: [
5910
- /* @__PURE__ */ jsxs46(
6232
+ return /* @__PURE__ */ jsxs48("div", { className: cn("flex flex-col gap-3", className), children: [
6233
+ /* @__PURE__ */ jsxs48(
5911
6234
  "div",
5912
6235
  {
5913
6236
  onDragOver: (event) => {
@@ -5928,9 +6251,9 @@ var FileUpload = React65.forwardRef(function FileUpload2({
5928
6251
  disabled && "opacity-50"
5929
6252
  ),
5930
6253
  children: [
5931
- /* @__PURE__ */ jsxs46("label", { htmlFor: inputId, className: cn("block text-sm", disabled ? "cursor-not-allowed" : "cursor-pointer"), children: [
6254
+ /* @__PURE__ */ jsxs48("label", { htmlFor: inputId, className: cn("block text-sm", disabled ? "cursor-not-allowed" : "cursor-pointer"), children: [
5932
6255
  label,
5933
- /* @__PURE__ */ jsx66(
6256
+ /* @__PURE__ */ jsx68(
5934
6257
  "input",
5935
6258
  {
5936
6259
  ref,
@@ -5948,15 +6271,15 @@ var FileUpload = React65.forwardRef(function FileUpload2({
5948
6271
  }
5949
6272
  )
5950
6273
  ] }),
5951
- /* @__PURE__ */ jsx66("p", { className: "mt-1 text-xs text-muted-foreground", children: hint ?? (accept ? `Accepted: ${accept}` : "Any file type") })
6274
+ /* @__PURE__ */ jsx68("p", { className: "mt-1 text-xs text-muted-foreground", children: hint ?? (accept ? `Accepted: ${accept}` : "Any file type") })
5952
6275
  ]
5953
6276
  }
5954
6277
  ),
5955
- current.length > 0 && /* @__PURE__ */ jsx66("ul", { "aria-label": selectedFilesLabel, className: "space-y-2", children: current.map((file) => /* @__PURE__ */ jsxs46("li", { className: "flex items-center justify-between gap-3 rounded-md border border-border px-3 py-2", children: [
5956
- /* @__PURE__ */ jsxs46("div", { className: "min-w-0", children: [
5957
- /* @__PURE__ */ jsx66("p", { className: "truncate text-sm", children: file.name }),
5958
- /* @__PURE__ */ jsx66("p", { className: "text-xs text-muted-foreground", children: formatSize(file.size) }),
5959
- progress?.[file.name] !== void 0 && /* @__PURE__ */ jsx66(
6278
+ current.length > 0 && /* @__PURE__ */ jsx68("ul", { "aria-label": selectedFilesLabel, className: "space-y-2", children: current.map((file) => /* @__PURE__ */ jsxs48("li", { className: "flex items-center justify-between gap-3 rounded-md border border-border px-3 py-2", children: [
6279
+ /* @__PURE__ */ jsxs48("div", { className: "min-w-0", children: [
6280
+ /* @__PURE__ */ jsx68("p", { className: "truncate text-sm", children: file.name }),
6281
+ /* @__PURE__ */ jsx68("p", { className: "text-xs text-muted-foreground", children: formatSize(file.size) }),
6282
+ progress?.[file.name] !== void 0 && /* @__PURE__ */ jsx68(
5960
6283
  "div",
5961
6284
  {
5962
6285
  role: "progressbar",
@@ -5965,11 +6288,11 @@ var FileUpload = React65.forwardRef(function FileUpload2({
5965
6288
  "aria-valuemax": 100,
5966
6289
  "aria-label": uploadingLabel(file),
5967
6290
  className: "mt-1 h-1.5 w-40 overflow-hidden rounded-full bg-muted",
5968
- children: /* @__PURE__ */ jsx66("div", { className: "h-full bg-primary", style: { width: `${progress[file.name]}%` } })
6291
+ children: /* @__PURE__ */ jsx68("div", { className: "h-full bg-primary", style: { width: `${progress[file.name]}%` } })
5969
6292
  }
5970
6293
  )
5971
6294
  ] }),
5972
- /* @__PURE__ */ jsx66(
6295
+ /* @__PURE__ */ jsx68(
5973
6296
  "button",
5974
6297
  {
5975
6298
  type: "button",
@@ -5984,18 +6307,18 @@ var FileUpload = React65.forwardRef(function FileUpload2({
5984
6307
  });
5985
6308
 
5986
6309
  // src/components/timeline/Timeline.tsx
5987
- import * as React66 from "react";
5988
- import { jsx as jsx67, jsxs as jsxs47 } from "react/jsx-runtime";
5989
- var Timeline = React66.forwardRef(function Timeline2({ items, className, ...props }, ref) {
5990
- return /* @__PURE__ */ jsx67("ol", { ref, className: cn("relative flex flex-col gap-6", className), ...props, children: items.map((item, index) => /* @__PURE__ */ jsxs47("li", { className: "relative flex gap-4", children: [
5991
- index < items.length - 1 && /* @__PURE__ */ jsx67(
6310
+ import * as React67 from "react";
6311
+ import { jsx as jsx69, jsxs as jsxs49 } from "react/jsx-runtime";
6312
+ var Timeline = React67.forwardRef(function Timeline2({ items, className, ...props }, ref) {
6313
+ return /* @__PURE__ */ jsx69("ol", { ref, className: cn("relative flex flex-col gap-6", className), ...props, children: items.map((item, index) => /* @__PURE__ */ jsxs49("li", { className: "relative flex gap-4", children: [
6314
+ index < items.length - 1 && /* @__PURE__ */ jsx69(
5992
6315
  "span",
5993
6316
  {
5994
6317
  "aria-hidden": "true",
5995
6318
  className: "absolute left-[5.5px] top-4 -bottom-7 w-px bg-border"
5996
6319
  }
5997
6320
  ),
5998
- /* @__PURE__ */ jsx67("div", { className: "relative z-10 flex flex-col items-center", children: /* @__PURE__ */ jsx67(
6321
+ /* @__PURE__ */ jsx69("div", { className: "relative z-10 flex flex-col items-center", children: /* @__PURE__ */ jsx69(
5999
6322
  "span",
6000
6323
  {
6001
6324
  "aria-hidden": "true",
@@ -6005,22 +6328,22 @@ var Timeline = React66.forwardRef(function Timeline2({ items, className, ...prop
6005
6328
  )
6006
6329
  }
6007
6330
  ) }),
6008
- /* @__PURE__ */ jsxs47("div", { className: "min-w-0 pb-1", children: [
6009
- item.period && /* @__PURE__ */ jsx67("p", { className: "text-xs font-medium uppercase tracking-wide text-muted-foreground", children: item.period }),
6010
- /* @__PURE__ */ jsx67("p", { className: cn("text-sm font-semibold", item.muted && "text-muted-foreground"), children: item.title }),
6011
- item.description && /* @__PURE__ */ jsx67("p", { className: "mt-1 text-sm text-muted-foreground", children: item.description }),
6012
- item.icon && /* @__PURE__ */ jsx67("div", { className: "mt-1 text-muted-foreground [&_svg]:size-4", children: item.icon })
6331
+ /* @__PURE__ */ jsxs49("div", { className: "min-w-0 pb-1", children: [
6332
+ item.period && /* @__PURE__ */ jsx69("p", { className: "text-xs font-medium uppercase tracking-wide text-muted-foreground", children: item.period }),
6333
+ /* @__PURE__ */ jsx69("p", { className: cn("text-sm font-semibold", item.muted && "text-muted-foreground"), children: item.title }),
6334
+ item.description && /* @__PURE__ */ jsx69("p", { className: "mt-1 text-sm text-muted-foreground", children: item.description }),
6335
+ item.icon && /* @__PURE__ */ jsx69("div", { className: "mt-1 text-muted-foreground [&_svg]:size-4", children: item.icon })
6013
6336
  ] })
6014
6337
  ] }, `${item.title}-${index}`)) });
6015
6338
  });
6016
6339
 
6017
6340
  // src/components/block/Block.tsx
6018
- import * as React67 from "react";
6019
- import { jsx as jsx68 } from "react/jsx-runtime";
6020
- var Block = React67.forwardRef(
6341
+ import * as React68 from "react";
6342
+ import { jsx as jsx70 } from "react/jsx-runtime";
6343
+ var Block = React68.forwardRef(
6021
6344
  ({ as = "div", inline, muted, className, ...props }, ref) => {
6022
6345
  const Tag = inline ? "span" : as;
6023
- return /* @__PURE__ */ jsx68(
6346
+ return /* @__PURE__ */ jsx70(
6024
6347
  Tag,
6025
6348
  {
6026
6349
  ref,
@@ -6033,8 +6356,8 @@ var Block = React67.forwardRef(
6033
6356
  Block.displayName = "Block";
6034
6357
 
6035
6358
  // src/components/flex/Flex.tsx
6036
- import * as React68 from "react";
6037
- import { jsx as jsx69 } from "react/jsx-runtime";
6359
+ import * as React69 from "react";
6360
+ import { jsx as jsx71 } from "react/jsx-runtime";
6038
6361
  var justifyClasses = {
6039
6362
  start: "justify-start",
6040
6363
  center: "justify-center",
@@ -6043,18 +6366,18 @@ var justifyClasses = {
6043
6366
  around: "justify-around",
6044
6367
  evenly: "justify-evenly"
6045
6368
  };
6046
- var alignClasses = {
6369
+ var alignClasses2 = {
6047
6370
  start: "items-start",
6048
6371
  center: "items-center",
6049
6372
  end: "items-end",
6050
6373
  stretch: "items-stretch",
6051
6374
  baseline: "items-baseline"
6052
6375
  };
6053
- var Flex = React68.forwardRef(
6376
+ var Flex = React69.forwardRef(
6054
6377
  ({ direction = "row", align, justify, wrap, gap = "md", as = "div", className, style, ...props }, ref) => {
6055
6378
  const Tag = as;
6056
6379
  const gapResolved = resolveGap(gap);
6057
- return /* @__PURE__ */ jsx69(
6380
+ return /* @__PURE__ */ jsx71(
6058
6381
  Tag,
6059
6382
  {
6060
6383
  ref,
@@ -6062,7 +6385,7 @@ var Flex = React68.forwardRef(
6062
6385
  "flex min-w-0",
6063
6386
  direction === "column" ? "flex-col" : "flex-row",
6064
6387
  wrap && "flex-wrap",
6065
- align && alignClasses[align],
6388
+ align && alignClasses2[align],
6066
6389
  justify && justifyClasses[justify],
6067
6390
  gapResolved.className,
6068
6391
  className
@@ -6081,7 +6404,7 @@ var selfAlignClasses = {
6081
6404
  stretch: "self-stretch",
6082
6405
  baseline: "self-baseline"
6083
6406
  };
6084
- var FlexItem = React68.forwardRef(
6407
+ var FlexItem = React69.forwardRef(
6085
6408
  ({ grow, shrink, basis, align, as = "div", className, ...props }, ref) => {
6086
6409
  const Tag = as;
6087
6410
  const style = {
@@ -6089,7 +6412,7 @@ var FlexItem = React68.forwardRef(
6089
6412
  ...shrink === false ? { flexShrink: 0 } : typeof shrink === "string" && shrink ? { flexShrink: Number(shrink) || shrink } : {},
6090
6413
  ...basis ? { flexBasis: basis } : {}
6091
6414
  };
6092
- return /* @__PURE__ */ jsx69(
6415
+ return /* @__PURE__ */ jsx71(
6093
6416
  Tag,
6094
6417
  {
6095
6418
  ref,
@@ -6103,8 +6426,8 @@ var FlexItem = React68.forwardRef(
6103
6426
  FlexItem.displayName = "FlexItem";
6104
6427
 
6105
6428
  // src/components/grid/Grid.tsx
6106
- import * as React69 from "react";
6107
- import { jsx as jsx70 } from "react/jsx-runtime";
6429
+ import * as React70 from "react";
6430
+ import { jsx as jsx72 } from "react/jsx-runtime";
6108
6431
  var BASE_COLS = {
6109
6432
  1: "grid-cols-1",
6110
6433
  2: "grid-cols-2",
@@ -6169,11 +6492,11 @@ var LG_COL_SPAN = {
6169
6492
  5: "lg:col-span-5",
6170
6493
  6: "lg:col-span-6"
6171
6494
  };
6172
- var Grid = React69.forwardRef(
6495
+ var Grid = React70.forwardRef(
6173
6496
  ({ cols, smCols, mdCols, lgCols, minCol, gap = "md", as = "div", className, style, ...props }, ref) => {
6174
6497
  const Tag = as;
6175
6498
  const gapResolved = resolveGap(gap);
6176
- return /* @__PURE__ */ jsx70(
6499
+ return /* @__PURE__ */ jsx72(
6177
6500
  Tag,
6178
6501
  {
6179
6502
  ref,
@@ -6197,10 +6520,10 @@ var Grid = React69.forwardRef(
6197
6520
  }
6198
6521
  );
6199
6522
  Grid.displayName = "Grid";
6200
- var GridItem = React69.forwardRef(
6523
+ var GridItem = React70.forwardRef(
6201
6524
  ({ span, smSpan, mdSpan, lgSpan, as = "div", className, ...props }, ref) => {
6202
6525
  const Tag = as;
6203
- return /* @__PURE__ */ jsx70(
6526
+ return /* @__PURE__ */ jsx72(
6204
6527
  Tag,
6205
6528
  {
6206
6529
  ref,
@@ -6219,8 +6542,8 @@ var GridItem = React69.forwardRef(
6219
6542
  GridItem.displayName = "GridItem";
6220
6543
 
6221
6544
  // src/components/container/Container.tsx
6222
- import * as React70 from "react";
6223
- import { jsx as jsx71 } from "react/jsx-runtime";
6545
+ import * as React71 from "react";
6546
+ import { jsx as jsx73 } from "react/jsx-runtime";
6224
6547
  var widthClasses = {
6225
6548
  sm: "max-w-3xl",
6226
6549
  md: "max-w-5xl",
@@ -6234,9 +6557,9 @@ var paddingClasses = {
6234
6557
  md: "px-4 sm:px-6",
6235
6558
  lg: "px-4 sm:px-6 lg:px-8"
6236
6559
  };
6237
- var Container = React70.forwardRef(function Container2({ width = "lg", padding = "md", as = "div", className, ...props }, ref) {
6560
+ var Container = React71.forwardRef(function Container2({ width = "lg", padding = "md", as = "div", className, ...props }, ref) {
6238
6561
  const Tag = as;
6239
- return /* @__PURE__ */ jsx71(
6562
+ return /* @__PURE__ */ jsx73(
6240
6563
  Tag,
6241
6564
  {
6242
6565
  ref,
@@ -6247,8 +6570,8 @@ var Container = React70.forwardRef(function Container2({ width = "lg", padding =
6247
6570
  });
6248
6571
 
6249
6572
  // src/components/section/Section.tsx
6250
- import * as React71 from "react";
6251
- import { jsx as jsx72 } from "react/jsx-runtime";
6573
+ import * as React72 from "react";
6574
+ import { jsx as jsx74 } from "react/jsx-runtime";
6252
6575
  var toneClasses2 = {
6253
6576
  default: "bg-background text-foreground",
6254
6577
  muted: "bg-muted/40 text-foreground",
@@ -6288,7 +6611,7 @@ var brandVars = {
6288
6611
  "--border": "var(--primary-foreground)",
6289
6612
  "--input": "var(--primary-foreground)"
6290
6613
  };
6291
- var Section = React71.forwardRef(function Section2({
6614
+ var Section = React72.forwardRef(function Section2({
6292
6615
  tone = "default",
6293
6616
  padding = "md",
6294
6617
  width = "lg",
@@ -6302,7 +6625,7 @@ var Section = React71.forwardRef(function Section2({
6302
6625
  }, ref) {
6303
6626
  const Tag = as;
6304
6627
  const toneStyle = tone === "inverse" ? inverseVars : tone === "brand" ? brandVars : void 0;
6305
- return /* @__PURE__ */ jsx72(
6628
+ return /* @__PURE__ */ jsx74(
6306
6629
  Tag,
6307
6630
  {
6308
6631
  ref,
@@ -6310,19 +6633,19 @@ var Section = React71.forwardRef(function Section2({
6310
6633
  className: cn("w-full", toneClasses2[tone], paddingClasses2[padding], className),
6311
6634
  style: { ...toneStyle, ...style },
6312
6635
  ...props,
6313
- children: container ? /* @__PURE__ */ jsx72(Container, { width, className: containerClassName, children }) : children
6636
+ children: container ? /* @__PURE__ */ jsx74(Container, { width, className: containerClassName, children }) : children
6314
6637
  }
6315
6638
  );
6316
6639
  });
6317
6640
 
6318
6641
  // src/components/hero/Hero.tsx
6319
- import * as React72 from "react";
6320
- import { jsx as jsx73, jsxs as jsxs48 } from "react/jsx-runtime";
6642
+ import * as React73 from "react";
6643
+ import { jsx as jsx75, jsxs as jsxs50 } from "react/jsx-runtime";
6321
6644
  var titleSizes = {
6322
6645
  md: "text-3xl sm:text-4xl md:text-5xl",
6323
6646
  lg: "text-4xl sm:text-5xl md:text-6xl lg:leading-[1.05]"
6324
6647
  };
6325
- var Hero = React72.forwardRef(function Hero2({
6648
+ var Hero = React73.forwardRef(function Hero2({
6326
6649
  title,
6327
6650
  description,
6328
6651
  eyebrow,
@@ -6348,7 +6671,7 @@ var Hero = React72.forwardRef(function Hero2({
6348
6671
  const Heading2 = `h${level}`;
6349
6672
  const centered = layout === "centered" || align === "center";
6350
6673
  const overlay = layout === "overlay";
6351
- const copy = /* @__PURE__ */ jsxs48(
6674
+ const copy = /* @__PURE__ */ jsxs50(
6352
6675
  "div",
6353
6676
  {
6354
6677
  className: cn(
@@ -6357,7 +6680,7 @@ var Hero = React72.forwardRef(function Hero2({
6357
6680
  overlay && "max-w-2xl"
6358
6681
  ),
6359
6682
  children: [
6360
- badge && /* @__PURE__ */ jsx73(
6683
+ badge && /* @__PURE__ */ jsx75(
6361
6684
  "div",
6362
6685
  {
6363
6686
  className: cn(
@@ -6368,7 +6691,7 @@ var Hero = React72.forwardRef(function Hero2({
6368
6691
  children: badge
6369
6692
  }
6370
6693
  ),
6371
- eyebrow && /* @__PURE__ */ jsx73(
6694
+ eyebrow && /* @__PURE__ */ jsx75(
6372
6695
  "p",
6373
6696
  {
6374
6697
  className: cn(
@@ -6379,7 +6702,7 @@ var Hero = React72.forwardRef(function Hero2({
6379
6702
  children: eyebrow
6380
6703
  }
6381
6704
  ),
6382
- /* @__PURE__ */ jsx73(
6705
+ /* @__PURE__ */ jsx75(
6383
6706
  Heading2,
6384
6707
  {
6385
6708
  className: cn(
@@ -6391,7 +6714,7 @@ var Hero = React72.forwardRef(function Hero2({
6391
6714
  children: title
6392
6715
  }
6393
6716
  ),
6394
- description && /* @__PURE__ */ jsx73(
6717
+ description && /* @__PURE__ */ jsx75(
6395
6718
  "p",
6396
6719
  {
6397
6720
  className: cn(
@@ -6403,7 +6726,7 @@ var Hero = React72.forwardRef(function Hero2({
6403
6726
  children: description
6404
6727
  }
6405
6728
  ),
6406
- actions && /* @__PURE__ */ jsx73(
6729
+ actions && /* @__PURE__ */ jsx75(
6407
6730
  "div",
6408
6731
  {
6409
6732
  className: cn(
@@ -6417,7 +6740,7 @@ var Hero = React72.forwardRef(function Hero2({
6417
6740
  }
6418
6741
  );
6419
6742
  if (overlay) {
6420
- return /* @__PURE__ */ jsxs48(
6743
+ return /* @__PURE__ */ jsxs50(
6421
6744
  Tag,
6422
6745
  {
6423
6746
  ref,
@@ -6427,7 +6750,7 @@ var Hero = React72.forwardRef(function Hero2({
6427
6750
  ),
6428
6751
  ...props,
6429
6752
  children: [
6430
- media && /* @__PURE__ */ jsx73(
6753
+ media && /* @__PURE__ */ jsx75(
6431
6754
  "div",
6432
6755
  {
6433
6756
  className: cn(
@@ -6437,20 +6760,20 @@ var Hero = React72.forwardRef(function Hero2({
6437
6760
  children: media
6438
6761
  }
6439
6762
  ),
6440
- /* @__PURE__ */ jsx73("div", { "aria-hidden": "true", className: "absolute inset-0 -z-10 bg-foreground/60" }),
6441
- /* @__PURE__ */ jsx73("div", { className: "relative w-full px-4 sm:px-6 lg:px-10", children: copy })
6763
+ /* @__PURE__ */ jsx75("div", { "aria-hidden": "true", className: "absolute inset-0 -z-10 bg-foreground/60" }),
6764
+ /* @__PURE__ */ jsx75("div", { className: "relative w-full px-4 sm:px-6 lg:px-10", children: copy })
6442
6765
  ]
6443
6766
  }
6444
6767
  );
6445
6768
  }
6446
6769
  if (layout === "centered") {
6447
- return /* @__PURE__ */ jsxs48(Tag, { ref, className: cn("w-full", className), ...props, children: [
6770
+ return /* @__PURE__ */ jsxs50(Tag, { ref, className: cn("w-full", className), ...props, children: [
6448
6771
  copy,
6449
- media && /* @__PURE__ */ jsx73("div", { className: cn("mt-12 min-w-0", mediaClassName), children: media })
6772
+ media && /* @__PURE__ */ jsx75("div", { className: cn("mt-12 min-w-0", mediaClassName), children: media })
6450
6773
  ] });
6451
6774
  }
6452
6775
  if (layout === "stacked") {
6453
- return /* @__PURE__ */ jsxs48(
6776
+ return /* @__PURE__ */ jsxs50(
6454
6777
  Tag,
6455
6778
  {
6456
6779
  ref,
@@ -6458,28 +6781,28 @@ var Hero = React72.forwardRef(function Hero2({
6458
6781
  ...props,
6459
6782
  children: [
6460
6783
  copy,
6461
- media && /* @__PURE__ */ jsx73("div", { className: cn("min-w-0 w-full", mediaClassName), children: media })
6784
+ media && /* @__PURE__ */ jsx75("div", { className: cn("min-w-0 w-full", mediaClassName), children: media })
6462
6785
  ]
6463
6786
  }
6464
6787
  );
6465
6788
  }
6466
- return /* @__PURE__ */ jsxs48(
6789
+ return /* @__PURE__ */ jsxs50(
6467
6790
  Tag,
6468
6791
  {
6469
6792
  ref,
6470
6793
  className: cn("grid w-full items-center gap-10 lg:grid-cols-2 lg:gap-16 xl:gap-20", className),
6471
6794
  ...props,
6472
6795
  children: [
6473
- /* @__PURE__ */ jsx73("div", { className: cn(mediaPosition === "left" && "lg:order-2"), children: copy }),
6474
- media && /* @__PURE__ */ jsx73("div", { className: cn("min-w-0", mediaPosition === "left" && "lg:order-1", mediaClassName), children: media })
6796
+ /* @__PURE__ */ jsx75("div", { className: cn(mediaPosition === "left" && "lg:order-2"), children: copy }),
6797
+ media && /* @__PURE__ */ jsx75("div", { className: cn("min-w-0", mediaPosition === "left" && "lg:order-1", mediaClassName), children: media })
6475
6798
  ]
6476
6799
  }
6477
6800
  );
6478
6801
  });
6479
6802
 
6480
6803
  // src/components/stat-band/StatBand.tsx
6481
- import * as React73 from "react";
6482
- import { jsx as jsx74, jsxs as jsxs49 } from "react/jsx-runtime";
6804
+ import * as React74 from "react";
6805
+ import { jsx as jsx76, jsxs as jsxs51 } from "react/jsx-runtime";
6483
6806
  var columnClasses = {
6484
6807
  2: "sm:grid-cols-2",
6485
6808
  3: "sm:grid-cols-2 lg:grid-cols-3",
@@ -6495,7 +6818,7 @@ var panelValueClasses = {
6495
6818
  md: "text-xl sm:text-2xl",
6496
6819
  lg: "text-2xl sm:text-3xl"
6497
6820
  };
6498
- var StatBand = React73.forwardRef(function StatBand2({
6821
+ var StatBand = React74.forwardRef(function StatBand2({
6499
6822
  items,
6500
6823
  columns = 3,
6501
6824
  align = "center",
@@ -6507,7 +6830,7 @@ var StatBand = React73.forwardRef(function StatBand2({
6507
6830
  ...props
6508
6831
  }, ref) {
6509
6832
  const panel = variant === "panel";
6510
- return /* @__PURE__ */ jsx74(
6833
+ return /* @__PURE__ */ jsx76(
6511
6834
  "dl",
6512
6835
  {
6513
6836
  ref,
@@ -6519,7 +6842,7 @@ var StatBand = React73.forwardRef(function StatBand2({
6519
6842
  className
6520
6843
  ),
6521
6844
  ...props,
6522
- children: items.map((item) => /* @__PURE__ */ jsxs49(
6845
+ children: items.map((item) => /* @__PURE__ */ jsxs51(
6523
6846
  "div",
6524
6847
  {
6525
6848
  className: cn(
@@ -6528,7 +6851,7 @@ var StatBand = React73.forwardRef(function StatBand2({
6528
6851
  align === "center" ? "items-center text-center" : "items-start text-left"
6529
6852
  ),
6530
6853
  children: [
6531
- /* @__PURE__ */ jsxs49(
6854
+ /* @__PURE__ */ jsxs51(
6532
6855
  "dt",
6533
6856
  {
6534
6857
  className: cn(
@@ -6537,11 +6860,11 @@ var StatBand = React73.forwardRef(function StatBand2({
6537
6860
  ),
6538
6861
  children: [
6539
6862
  item.label,
6540
- item.hint && /* @__PURE__ */ jsx74("span", { className: cn("mt-1 block font-normal", panel ? "text-xs normal-case tracking-normal" : "text-xs"), children: item.hint })
6863
+ item.hint && /* @__PURE__ */ jsx76("span", { className: cn("mt-1 block font-normal", panel ? "text-xs normal-case tracking-normal" : "text-xs"), children: item.hint })
6541
6864
  ]
6542
6865
  }
6543
6866
  ),
6544
- /* @__PURE__ */ jsx74(
6867
+ /* @__PURE__ */ jsx76(
6545
6868
  "dd",
6546
6869
  {
6547
6870
  className: cn(
@@ -6561,14 +6884,14 @@ var StatBand = React73.forwardRef(function StatBand2({
6561
6884
  });
6562
6885
 
6563
6886
  // src/components/cta-section/CTASection.tsx
6564
- import * as React74 from "react";
6565
- import { jsx as jsx75, jsxs as jsxs50 } from "react/jsx-runtime";
6887
+ import * as React75 from "react";
6888
+ import { jsx as jsx77, jsxs as jsxs52 } from "react/jsx-runtime";
6566
6889
  var sizePadding = {
6567
6890
  sm: "md",
6568
6891
  md: "lg",
6569
6892
  lg: "xl"
6570
6893
  };
6571
- var CTASection = React74.forwardRef(function CTASection2({
6894
+ var CTASection = React75.forwardRef(function CTASection2({
6572
6895
  title,
6573
6896
  description,
6574
6897
  eyebrow,
@@ -6580,7 +6903,7 @@ var CTASection = React74.forwardRef(function CTASection2({
6580
6903
  className,
6581
6904
  ...props
6582
6905
  }, ref) {
6583
- return /* @__PURE__ */ jsx75(
6906
+ return /* @__PURE__ */ jsx77(
6584
6907
  Section,
6585
6908
  {
6586
6909
  ref,
@@ -6589,7 +6912,7 @@ var CTASection = React74.forwardRef(function CTASection2({
6589
6912
  width,
6590
6913
  className,
6591
6914
  ...props,
6592
- children: /* @__PURE__ */ jsxs50(
6915
+ children: /* @__PURE__ */ jsxs52(
6593
6916
  "div",
6594
6917
  {
6595
6918
  className: cn(
@@ -6597,10 +6920,10 @@ var CTASection = React74.forwardRef(function CTASection2({
6597
6920
  align === "center" ? "items-center text-center" : "items-start text-left"
6598
6921
  ),
6599
6922
  children: [
6600
- eyebrow && /* @__PURE__ */ jsx75("p", { className: "text-xs font-semibold uppercase tracking-widest text-primary-ink", children: eyebrow }),
6601
- /* @__PURE__ */ jsx75("h2", { className: "max-w-3xl text-3xl font-semibold tracking-tight text-balance sm:text-4xl", children: title }),
6602
- description && /* @__PURE__ */ jsx75("p", { className: cn("max-w-2xl text-base leading-relaxed text-muted-foreground sm:text-lg"), children: description }),
6603
- actions && /* @__PURE__ */ jsx75("div", { className: cn("mt-2 flex flex-wrap items-center gap-3", align === "center" && "justify-center"), children: actions })
6923
+ eyebrow && /* @__PURE__ */ jsx77("p", { className: "text-xs font-semibold uppercase tracking-widest text-primary-ink", children: eyebrow }),
6924
+ /* @__PURE__ */ jsx77("h2", { className: "max-w-3xl text-3xl font-semibold tracking-tight text-balance sm:text-4xl", children: title }),
6925
+ description && /* @__PURE__ */ jsx77("p", { className: cn("max-w-2xl text-base leading-relaxed text-muted-foreground sm:text-lg"), children: description }),
6926
+ actions && /* @__PURE__ */ jsx77("div", { className: cn("mt-2 flex flex-wrap items-center gap-3", align === "center" && "justify-center"), children: actions })
6604
6927
  ]
6605
6928
  }
6606
6929
  )
@@ -6609,10 +6932,10 @@ var CTASection = React74.forwardRef(function CTASection2({
6609
6932
  });
6610
6933
 
6611
6934
  // src/components/comparison-table/ComparisonTable.tsx
6612
- import * as React75 from "react";
6613
- import { Fragment as Fragment14, jsx as jsx76, jsxs as jsxs51 } from "react/jsx-runtime";
6935
+ import * as React76 from "react";
6936
+ import { Fragment as Fragment14, jsx as jsx78, jsxs as jsxs53 } from "react/jsx-runtime";
6614
6937
  function CheckMark() {
6615
- return /* @__PURE__ */ jsx76(
6938
+ return /* @__PURE__ */ jsx78(
6616
6939
  "svg",
6617
6940
  {
6618
6941
  "aria-hidden": "true",
@@ -6623,12 +6946,12 @@ function CheckMark() {
6623
6946
  strokeLinecap: "round",
6624
6947
  strokeLinejoin: "round",
6625
6948
  className: "mx-auto h-5 w-5 text-success",
6626
- children: /* @__PURE__ */ jsx76("path", { d: "m4 10.5 4 4 8-9" })
6949
+ children: /* @__PURE__ */ jsx78("path", { d: "m4 10.5 4 4 8-9" })
6627
6950
  }
6628
6951
  );
6629
6952
  }
6630
6953
  function DashMark() {
6631
- return /* @__PURE__ */ jsx76(
6954
+ return /* @__PURE__ */ jsx78(
6632
6955
  "svg",
6633
6956
  {
6634
6957
  "aria-hidden": "true",
@@ -6638,11 +6961,11 @@ function DashMark() {
6638
6961
  strokeWidth: "2.2",
6639
6962
  strokeLinecap: "round",
6640
6963
  className: "mx-auto h-5 w-5 text-muted-foreground/60",
6641
- children: /* @__PURE__ */ jsx76("path", { d: "M5 10h10" })
6964
+ children: /* @__PURE__ */ jsx78("path", { d: "M5 10h10" })
6642
6965
  }
6643
6966
  );
6644
6967
  }
6645
- var ComparisonTable = React75.forwardRef(
6968
+ var ComparisonTable = React76.forwardRef(
6646
6969
  function ComparisonTable2({
6647
6970
  columns,
6648
6971
  rows,
@@ -6654,11 +6977,11 @@ var ComparisonTable = React75.forwardRef(
6654
6977
  }, ref) {
6655
6978
  const yes = valueLabels?.yes ?? "Included";
6656
6979
  const no = valueLabels?.no ?? "Not included";
6657
- return /* @__PURE__ */ jsx76("div", { className: "w-full overflow-x-auto rounded-xl border border-border bg-card", children: /* @__PURE__ */ jsxs51("table", { ref, className: cn("w-full border-collapse text-sm", className), ...props, children: [
6658
- /* @__PURE__ */ jsx76("caption", { className: "sr-only", children: caption }),
6659
- /* @__PURE__ */ jsx76("thead", { children: /* @__PURE__ */ jsxs51("tr", { className: "border-b border-border", children: [
6660
- /* @__PURE__ */ jsx76("th", { scope: "col", className: "min-w-48 px-5 py-4 text-left font-medium text-muted-foreground", children: featureLabel }),
6661
- columns.map((column) => /* @__PURE__ */ jsx76(
6980
+ return /* @__PURE__ */ jsx78("div", { className: "w-full overflow-x-auto rounded-xl border border-border bg-card", children: /* @__PURE__ */ jsxs53("table", { ref, className: cn("w-full border-collapse text-sm", className), ...props, children: [
6981
+ /* @__PURE__ */ jsx78("caption", { className: "sr-only", children: caption }),
6982
+ /* @__PURE__ */ jsx78("thead", { children: /* @__PURE__ */ jsxs53("tr", { className: "border-b border-border", children: [
6983
+ /* @__PURE__ */ jsx78("th", { scope: "col", className: "min-w-48 px-5 py-4 text-left font-medium text-muted-foreground", children: featureLabel }),
6984
+ columns.map((column) => /* @__PURE__ */ jsx78(
6662
6985
  "th",
6663
6986
  {
6664
6987
  scope: "col",
@@ -6671,21 +6994,21 @@ var ComparisonTable = React75.forwardRef(
6671
6994
  column.label
6672
6995
  ))
6673
6996
  ] }) }),
6674
- /* @__PURE__ */ jsx76("tbody", { children: rows.map((row) => /* @__PURE__ */ jsxs51("tr", { className: "border-b border-border last:border-b-0", children: [
6675
- /* @__PURE__ */ jsxs51("th", { scope: "row", className: "px-5 py-4 text-left font-medium", children: [
6997
+ /* @__PURE__ */ jsx78("tbody", { children: rows.map((row) => /* @__PURE__ */ jsxs53("tr", { className: "border-b border-border last:border-b-0", children: [
6998
+ /* @__PURE__ */ jsxs53("th", { scope: "row", className: "px-5 py-4 text-left font-medium", children: [
6676
6999
  row.feature,
6677
- row.hint && /* @__PURE__ */ jsx76("span", { className: "mt-1 block text-xs font-normal text-muted-foreground", children: row.hint })
7000
+ row.hint && /* @__PURE__ */ jsx78("span", { className: "mt-1 block text-xs font-normal text-muted-foreground", children: row.hint })
6678
7001
  ] }),
6679
7002
  columns.map((column, index) => {
6680
7003
  const value = row.values[index];
6681
- return /* @__PURE__ */ jsx76(
7004
+ return /* @__PURE__ */ jsx78(
6682
7005
  "td",
6683
7006
  {
6684
7007
  className: cn("px-5 py-4 text-center align-middle", column.highlight && "bg-primary/5"),
6685
- children: typeof value === "boolean" ? /* @__PURE__ */ jsxs51(Fragment14, { children: [
6686
- value ? /* @__PURE__ */ jsx76(CheckMark, {}) : /* @__PURE__ */ jsx76(DashMark, {}),
6687
- /* @__PURE__ */ jsx76("span", { className: "sr-only", children: value ? yes : no })
6688
- ] }) : /* @__PURE__ */ jsx76("span", { children: value ?? "" })
7008
+ children: typeof value === "boolean" ? /* @__PURE__ */ jsxs53(Fragment14, { children: [
7009
+ value ? /* @__PURE__ */ jsx78(CheckMark, {}) : /* @__PURE__ */ jsx78(DashMark, {}),
7010
+ /* @__PURE__ */ jsx78("span", { className: "sr-only", children: value ? yes : no })
7011
+ ] }) : /* @__PURE__ */ jsx78("span", { children: value ?? "" })
6689
7012
  },
6690
7013
  `${row.feature}-${column.label}`
6691
7014
  );
@@ -6696,8 +7019,8 @@ var ComparisonTable = React75.forwardRef(
6696
7019
  );
6697
7020
 
6698
7021
  // src/components/logo-cloud/LogoCloud.tsx
6699
- import * as React76 from "react";
6700
- import { Fragment as Fragment15, jsx as jsx77, jsxs as jsxs52 } from "react/jsx-runtime";
7022
+ import * as React77 from "react";
7023
+ import { Fragment as Fragment15, jsx as jsx79, jsxs as jsxs54 } from "react/jsx-runtime";
6701
7024
  var columnClasses2 = {
6702
7025
  3: "grid-cols-2 sm:grid-cols-3",
6703
7026
  4: "grid-cols-2 sm:grid-cols-4",
@@ -6709,7 +7032,7 @@ var sizeClasses9 = {
6709
7032
  md: "h-8",
6710
7033
  lg: "h-12"
6711
7034
  };
6712
- var LogoCloud = React76.forwardRef(function LogoCloud2({
7035
+ var LogoCloud = React77.forwardRef(function LogoCloud2({
6713
7036
  items,
6714
7037
  caption,
6715
7038
  columns = 4,
@@ -6727,8 +7050,8 @@ var LogoCloud = React76.forwardRef(function LogoCloud2({
6727
7050
  sizeClasses9[size],
6728
7051
  grayscale && "opacity-70 grayscale hover:opacity-100 hover:grayscale-0"
6729
7052
  );
6730
- return /* @__PURE__ */ jsxs52("div", { ref, className: cn("w-full", className), ...props, children: [
6731
- caption && /* @__PURE__ */ jsx77(
7053
+ return /* @__PURE__ */ jsxs54("div", { ref, className: cn("w-full", className), ...props, children: [
7054
+ caption && /* @__PURE__ */ jsx79(
6732
7055
  "p",
6733
7056
  {
6734
7057
  className: cn(
@@ -6738,12 +7061,12 @@ var LogoCloud = React76.forwardRef(function LogoCloud2({
6738
7061
  children: caption
6739
7062
  }
6740
7063
  ),
6741
- /* @__PURE__ */ jsx77("ul", { className: cn("grid items-center gap-x-8 gap-y-6", columnClasses2[columns], align === "center" && "justify-items-center"), children: items.map((item) => {
6742
- const content = /* @__PURE__ */ jsxs52(Fragment15, { children: [
6743
- /* @__PURE__ */ jsx77("span", { className: logoClass, "aria-hidden": "true", children: item.logo }),
6744
- /* @__PURE__ */ jsx77("span", { className: "sr-only", children: item.name })
7064
+ /* @__PURE__ */ jsx79("ul", { className: cn("grid items-center gap-x-8 gap-y-6", columnClasses2[columns], align === "center" && "justify-items-center"), children: items.map((item) => {
7065
+ const content = /* @__PURE__ */ jsxs54(Fragment15, { children: [
7066
+ /* @__PURE__ */ jsx79("span", { className: logoClass, "aria-hidden": "true", children: item.logo }),
7067
+ /* @__PURE__ */ jsx79("span", { className: "sr-only", children: item.name })
6745
7068
  ] });
6746
- return /* @__PURE__ */ jsx77("li", { className: cn("min-w-0", align === "center" ? "justify-self-center" : "justify-self-start"), children: item.href ? /* @__PURE__ */ jsx77(
7069
+ return /* @__PURE__ */ jsx79("li", { className: cn("min-w-0", align === "center" ? "justify-self-center" : "justify-self-start"), children: item.href ? /* @__PURE__ */ jsx79(
6747
7070
  Link3,
6748
7071
  {
6749
7072
  ...linkHrefProp === "to" ? { to: item.href } : { href: item.href },
@@ -6756,41 +7079,41 @@ var LogoCloud = React76.forwardRef(function LogoCloud2({
6756
7079
  });
6757
7080
 
6758
7081
  // src/components/feature-grid/FeatureGrid.tsx
6759
- import * as React77 from "react";
6760
- import { Fragment as Fragment16, jsx as jsx78, jsxs as jsxs53 } from "react/jsx-runtime";
7082
+ import * as React78 from "react";
7083
+ import { Fragment as Fragment16, jsx as jsx80, jsxs as jsxs55 } from "react/jsx-runtime";
6761
7084
  var columnClasses3 = {
6762
7085
  2: "sm:grid-cols-2",
6763
7086
  3: "sm:grid-cols-2 lg:grid-cols-3",
6764
7087
  4: "sm:grid-cols-2 lg:grid-cols-4"
6765
7088
  };
6766
- var FeatureGrid = React77.forwardRef(function FeatureGrid2({ features, columns = 3, variant = "card", align = "left", linkComponent, className, ...props }, ref) {
7089
+ var FeatureGrid = React78.forwardRef(function FeatureGrid2({ features, columns = 3, variant = "card", align = "left", linkComponent, className, ...props }, ref) {
6767
7090
  const Link3 = linkComponent ?? "a";
6768
7091
  const cardClass = cn(
6769
7092
  "group flex h-full flex-col gap-3 rounded-xl p-6",
6770
7093
  variant === "card" && "border border-border bg-card shadow-sm transition-colors hover:border-primary/40",
6771
7094
  align === "center" && "items-center text-center"
6772
7095
  );
6773
- const content = (feature) => /* @__PURE__ */ jsxs53(Fragment16, { children: [
6774
- feature.icon && /* @__PURE__ */ jsx78("span", { className: "flex h-10 w-10 shrink-0 items-center justify-center rounded-lg bg-primary/10 text-primary-ink [&_svg]:size-5", children: feature.icon }),
6775
- /* @__PURE__ */ jsx78("h3", { className: "text-base font-semibold tracking-tight", children: feature.title }),
6776
- feature.description && /* @__PURE__ */ jsx78("p", { className: "text-sm leading-relaxed text-muted-foreground", children: feature.description }),
6777
- feature.href && feature.actionLabel && /* @__PURE__ */ jsxs53("span", { className: "mt-auto pt-2 text-sm font-medium text-primary-ink", children: [
7096
+ const content = (feature) => /* @__PURE__ */ jsxs55(Fragment16, { children: [
7097
+ feature.icon && /* @__PURE__ */ jsx80("span", { className: "flex h-10 w-10 shrink-0 items-center justify-center rounded-lg bg-primary/10 text-primary-ink [&_svg]:size-5", children: feature.icon }),
7098
+ /* @__PURE__ */ jsx80("h3", { className: "text-base font-semibold tracking-tight", children: feature.title }),
7099
+ feature.description && /* @__PURE__ */ jsx80("p", { className: "text-sm leading-relaxed text-muted-foreground", children: feature.description }),
7100
+ feature.href && feature.actionLabel && /* @__PURE__ */ jsxs55("span", { className: "mt-auto pt-2 text-sm font-medium text-primary-ink", children: [
6778
7101
  feature.actionLabel,
6779
7102
  " ",
6780
- /* @__PURE__ */ jsx78("span", { "aria-hidden": "true", children: "\u2192" })
7103
+ /* @__PURE__ */ jsx80("span", { "aria-hidden": "true", children: "\u2192" })
6781
7104
  ] })
6782
7105
  ] });
6783
- return /* @__PURE__ */ jsx78("ul", { ref, className: cn("grid gap-6", columnClasses3[columns], className), ...props, children: features.map((feature) => /* @__PURE__ */ jsx78("li", { className: "min-w-0", children: feature.href ? /* @__PURE__ */ jsx78(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__ */ jsx78("div", { className: cardClass, children: content(feature) }) }, feature.title)) });
7106
+ return /* @__PURE__ */ jsx80("ul", { ref, className: cn("grid gap-6", columnClasses3[columns], className), ...props, children: features.map((feature) => /* @__PURE__ */ jsx80("li", { className: "min-w-0", children: feature.href ? /* @__PURE__ */ jsx80(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__ */ jsx80("div", { className: cardClass, children: content(feature) }) }, feature.title)) });
6784
7107
  });
6785
7108
 
6786
7109
  // src/components/feature-row/FeatureRow.tsx
6787
- import * as React78 from "react";
6788
- import { jsx as jsx79, jsxs as jsxs54 } from "react/jsx-runtime";
7110
+ import * as React79 from "react";
7111
+ import { jsx as jsx81, jsxs as jsxs56 } from "react/jsx-runtime";
6789
7112
  var titleSizes2 = {
6790
7113
  md: "text-3xl",
6791
7114
  lg: "text-3xl sm:text-4xl"
6792
7115
  };
6793
- var FeatureRow = React78.forwardRef(function FeatureRow2({
7116
+ var FeatureRow = React79.forwardRef(function FeatureRow2({
6794
7117
  title,
6795
7118
  description,
6796
7119
  eyebrow,
@@ -6803,35 +7126,35 @@ var FeatureRow = React78.forwardRef(function FeatureRow2({
6803
7126
  ...props
6804
7127
  }, ref) {
6805
7128
  const Heading2 = `h${level}`;
6806
- return /* @__PURE__ */ jsxs54(
7129
+ return /* @__PURE__ */ jsxs56(
6807
7130
  "div",
6808
7131
  {
6809
7132
  ref,
6810
7133
  className: cn("grid items-center gap-10 lg:grid-cols-2 lg:gap-16", className),
6811
7134
  ...props,
6812
7135
  children: [
6813
- /* @__PURE__ */ jsxs54("div", { className: cn("min-w-0", mediaPosition === "left" && "lg:order-2"), children: [
6814
- eyebrow && /* @__PURE__ */ jsx79("p", { className: "mb-3 text-xs font-semibold uppercase tracking-widest text-primary-ink", children: eyebrow }),
6815
- /* @__PURE__ */ jsx79(Heading2, { className: cn("font-semibold tracking-tight text-balance", titleSizes2[size]), children: title }),
6816
- description && /* @__PURE__ */ jsx79("div", { className: "mt-4 max-w-xl text-base leading-relaxed text-muted-foreground sm:text-lg", children: description }),
6817
- actions && /* @__PURE__ */ jsx79("div", { className: "mt-7 flex flex-wrap items-center gap-3", children: actions })
7136
+ /* @__PURE__ */ jsxs56("div", { className: cn("min-w-0", mediaPosition === "left" && "lg:order-2"), children: [
7137
+ eyebrow && /* @__PURE__ */ jsx81("p", { className: "mb-3 text-xs font-semibold uppercase tracking-widest text-primary-ink", children: eyebrow }),
7138
+ /* @__PURE__ */ jsx81(Heading2, { className: cn("font-semibold tracking-tight text-balance", titleSizes2[size]), children: title }),
7139
+ description && /* @__PURE__ */ jsx81("div", { className: "mt-4 max-w-xl text-base leading-relaxed text-muted-foreground sm:text-lg", children: description }),
7140
+ actions && /* @__PURE__ */ jsx81("div", { className: "mt-7 flex flex-wrap items-center gap-3", children: actions })
6818
7141
  ] }),
6819
- /* @__PURE__ */ jsx79("div", { className: cn("min-w-0", mediaPosition === "left" && "lg:order-1"), children: media })
7142
+ /* @__PURE__ */ jsx81("div", { className: cn("min-w-0", mediaPosition === "left" && "lg:order-1"), children: media })
6820
7143
  ]
6821
7144
  }
6822
7145
  );
6823
7146
  });
6824
7147
 
6825
7148
  // src/components/testimonial/Testimonial.tsx
6826
- import * as React79 from "react";
6827
- import { jsx as jsx80, jsxs as jsxs55 } from "react/jsx-runtime";
7149
+ import * as React80 from "react";
7150
+ import { jsx as jsx82, jsxs as jsxs57 } from "react/jsx-runtime";
6828
7151
  var quoteSizes = {
6829
7152
  sm: "text-base",
6830
7153
  md: "text-lg",
6831
7154
  lg: "text-xl sm:text-2xl"
6832
7155
  };
6833
- var Testimonial = React79.forwardRef(function Testimonial2({ quote, name, role, company, avatar, logo, variant = "card", size = "md", className, ...props }, ref) {
6834
- return /* @__PURE__ */ jsxs55(
7156
+ var Testimonial = React80.forwardRef(function Testimonial2({ quote, name, role, company, avatar, logo, variant = "card", size = "md", className, ...props }, ref) {
7157
+ return /* @__PURE__ */ jsxs57(
6835
7158
  "figure",
6836
7159
  {
6837
7160
  ref,
@@ -6842,17 +7165,17 @@ var Testimonial = React79.forwardRef(function Testimonial2({ quote, name, role,
6842
7165
  ),
6843
7166
  ...props,
6844
7167
  children: [
6845
- logo && /* @__PURE__ */ jsx80("div", { className: "flex items-center", children: logo }),
6846
- /* @__PURE__ */ jsx80("blockquote", { className: cn("flex-1 leading-relaxed", quoteSizes[size]), children: /* @__PURE__ */ jsxs55("p", { children: [
7168
+ logo && /* @__PURE__ */ jsx82("div", { className: "flex items-center", children: logo }),
7169
+ /* @__PURE__ */ jsx82("blockquote", { className: cn("flex-1 leading-relaxed", quoteSizes[size]), children: /* @__PURE__ */ jsxs57("p", { children: [
6847
7170
  "\u201C",
6848
7171
  quote,
6849
7172
  "\u201D"
6850
7173
  ] }) }),
6851
- /* @__PURE__ */ jsxs55("figcaption", { className: "flex items-center gap-3", children: [
6852
- avatar && /* @__PURE__ */ jsx80("div", { className: "shrink-0", children: avatar }),
6853
- /* @__PURE__ */ jsxs55("div", { className: "min-w-0", children: [
6854
- /* @__PURE__ */ jsx80("p", { className: "text-sm font-semibold", children: name }),
6855
- (role || company) && /* @__PURE__ */ jsx80("p", { className: "text-xs text-muted-foreground", children: [role, company].filter(Boolean).join(", ") })
7174
+ /* @__PURE__ */ jsxs57("figcaption", { className: "flex items-center gap-3", children: [
7175
+ avatar && /* @__PURE__ */ jsx82("div", { className: "shrink-0", children: avatar }),
7176
+ /* @__PURE__ */ jsxs57("div", { className: "min-w-0", children: [
7177
+ /* @__PURE__ */ jsx82("p", { className: "text-sm font-semibold", children: name }),
7178
+ (role || company) && /* @__PURE__ */ jsx82("p", { className: "text-xs text-muted-foreground", children: [role, company].filter(Boolean).join(", ") })
6856
7179
  ] })
6857
7180
  ] })
6858
7181
  ]
@@ -6861,24 +7184,24 @@ var Testimonial = React79.forwardRef(function Testimonial2({ quote, name, role,
6861
7184
  });
6862
7185
 
6863
7186
  // src/components/process-steps/ProcessSteps.tsx
6864
- import * as React80 from "react";
6865
- import { jsx as jsx81, jsxs as jsxs56 } from "react/jsx-runtime";
7187
+ import * as React81 from "react";
7188
+ import { jsx as jsx83, jsxs as jsxs58 } from "react/jsx-runtime";
6866
7189
  var columnClasses4 = {
6867
7190
  2: "sm:grid-cols-2",
6868
7191
  3: "sm:grid-cols-2 lg:grid-cols-3",
6869
7192
  4: "sm:grid-cols-2 lg:grid-cols-4"
6870
7193
  };
6871
- var ProcessSteps = React80.forwardRef(function ProcessSteps2({ steps, columns = 3, numbered = true, align = "left", headingLevel = 3, className, ...props }, ref) {
7194
+ var ProcessSteps = React81.forwardRef(function ProcessSteps2({ steps, columns = 3, numbered = true, align = "left", headingLevel = 3, className, ...props }, ref) {
6872
7195
  const HeadingTag = { 2: "h2", 3: "h3", 4: "h4" }[headingLevel];
6873
- return /* @__PURE__ */ jsx81("ol", { ref, className: cn("grid gap-8", columnClasses4[columns], className), ...props, children: steps.map((step, index) => /* @__PURE__ */ jsxs56(
7196
+ return /* @__PURE__ */ jsx83("ol", { ref, className: cn("grid gap-8", columnClasses4[columns], className), ...props, children: steps.map((step, index) => /* @__PURE__ */ jsxs58(
6874
7197
  "li",
6875
7198
  {
6876
7199
  className: cn("flex min-w-0 flex-col gap-4", align === "center" && "items-center text-center"),
6877
7200
  children: [
6878
- /* @__PURE__ */ jsx81("span", { className: "flex h-10 w-10 shrink-0 items-center justify-center rounded-full bg-primary/10 text-sm font-semibold text-primary-ink [&_svg]:size-5", children: step.icon ?? (numbered ? String(index + 1).padStart(2, "0") : null) }),
6879
- /* @__PURE__ */ jsxs56("div", { className: "min-w-0", children: [
6880
- /* @__PURE__ */ jsx81(HeadingTag, { className: "text-base font-semibold tracking-tight", children: step.title }),
6881
- step.description && /* @__PURE__ */ jsx81("p", { className: "mt-1 text-sm leading-relaxed text-muted-foreground", children: step.description })
7201
+ /* @__PURE__ */ jsx83("span", { className: "flex h-10 w-10 shrink-0 items-center justify-center rounded-full bg-primary/10 text-sm font-semibold text-primary-ink [&_svg]:size-5", children: step.icon ?? (numbered ? String(index + 1).padStart(2, "0") : null) }),
7202
+ /* @__PURE__ */ jsxs58("div", { className: "min-w-0", children: [
7203
+ /* @__PURE__ */ jsx83(HeadingTag, { className: "text-base font-semibold tracking-tight", children: step.title }),
7204
+ step.description && /* @__PURE__ */ jsx83("p", { className: "mt-1 text-sm leading-relaxed text-muted-foreground", children: step.description })
6882
7205
  ] })
6883
7206
  ]
6884
7207
  },
@@ -6887,9 +7210,9 @@ var ProcessSteps = React80.forwardRef(function ProcessSteps2({ steps, columns =
6887
7210
  });
6888
7211
 
6889
7212
  // src/components/article-card/ArticleCard.tsx
6890
- import * as React81 from "react";
6891
- import { jsx as jsx82, jsxs as jsxs57 } from "react/jsx-runtime";
6892
- var ArticleCard = React81.forwardRef(function ArticleCard2({
7213
+ import * as React82 from "react";
7214
+ import { jsx as jsx84, jsxs as jsxs59 } from "react/jsx-runtime";
7215
+ var ArticleCard = React82.forwardRef(function ArticleCard2({
6893
7216
  title,
6894
7217
  description,
6895
7218
  href,
@@ -6903,7 +7226,7 @@ var ArticleCard = React81.forwardRef(function ArticleCard2({
6903
7226
  }, ref) {
6904
7227
  const Link3 = linkComponent ?? "a";
6905
7228
  const compact = variant === "compact";
6906
- return /* @__PURE__ */ jsx82("article", { ref, className: cn("h-full", className), ...props, children: /* @__PURE__ */ jsxs57(
7229
+ return /* @__PURE__ */ jsx84("article", { ref, className: cn("h-full", className), ...props, children: /* @__PURE__ */ jsxs59(
6907
7230
  Link3,
6908
7231
  {
6909
7232
  href,
@@ -6912,22 +7235,71 @@ var ArticleCard = React81.forwardRef(function ArticleCard2({
6912
7235
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background"
6913
7236
  ),
6914
7237
  children: [
6915
- media && !compact && /* @__PURE__ */ jsx82("div", { className: "aspect-[16/10] w-full overflow-hidden bg-muted [&_img]:h-full [&_img]:w-full [&_img]:object-cover", children: media }),
6916
- /* @__PURE__ */ jsxs57("div", { className: cn("flex flex-1 flex-col gap-2", compact ? "p-4" : "p-5"), children: [
6917
- eyebrow && /* @__PURE__ */ jsx82("p", { className: "text-xs font-semibold uppercase tracking-widest text-primary-ink", children: eyebrow }),
6918
- /* @__PURE__ */ jsx82("h3", { className: cn("font-semibold tracking-tight transition-colors group-hover:text-primary-ink", compact ? "text-base" : "text-lg"), children: title }),
6919
- description && /* @__PURE__ */ jsx82("p", { className: "line-clamp-3 text-sm leading-relaxed text-muted-foreground", children: description }),
6920
- meta && /* @__PURE__ */ jsx82("div", { className: "mt-auto pt-2 text-xs text-muted-foreground", children: meta })
7238
+ media && !compact && /* @__PURE__ */ jsx84("div", { className: "aspect-[16/10] w-full overflow-hidden bg-muted [&_img]:h-full [&_img]:w-full [&_img]:object-cover", children: media }),
7239
+ /* @__PURE__ */ jsxs59("div", { className: cn("flex flex-1 flex-col gap-2", compact ? "p-4" : "p-5"), children: [
7240
+ eyebrow && /* @__PURE__ */ jsx84("p", { className: "text-xs font-semibold uppercase tracking-widest text-primary-ink", children: eyebrow }),
7241
+ /* @__PURE__ */ jsx84("h3", { className: cn("font-semibold tracking-tight transition-colors group-hover:text-primary-ink", compact ? "text-base" : "text-lg"), children: title }),
7242
+ description && /* @__PURE__ */ jsx84("p", { className: "line-clamp-3 text-sm leading-relaxed text-muted-foreground", children: description }),
7243
+ meta && /* @__PURE__ */ jsx84("div", { className: "mt-auto pt-2 text-xs text-muted-foreground", children: meta })
6921
7244
  ] })
6922
7245
  ]
6923
7246
  }
6924
7247
  ) });
6925
7248
  });
6926
7249
 
7250
+ // src/components/media-card/MediaCard.tsx
7251
+ import * as React83 from "react";
7252
+ import { Fragment as Fragment17, jsx as jsx85, jsxs as jsxs60 } from "react/jsx-runtime";
7253
+ var MediaCard = React83.forwardRef(function MediaCard2({
7254
+ title,
7255
+ description,
7256
+ href,
7257
+ cover,
7258
+ meta,
7259
+ chips,
7260
+ footer,
7261
+ layout = "vertical",
7262
+ linkComponent,
7263
+ linkHrefProp = "href",
7264
+ className,
7265
+ ...props
7266
+ }, ref) {
7267
+ const Link3 = linkComponent ?? "a";
7268
+ const destination = href ? linkHrefProp === "to" ? { to: href } : { href } : void 0;
7269
+ const row = layout === "row";
7270
+ const body = /* @__PURE__ */ jsxs60(Fragment17, { children: [
7271
+ cover && /* @__PURE__ */ jsx85(
7272
+ CoverImage,
7273
+ {
7274
+ ...cover,
7275
+ className: cn(
7276
+ row ? "w-36 shrink-0 sm:w-44" : "w-full",
7277
+ !row && "rounded-none border-b border-border"
7278
+ )
7279
+ }
7280
+ ),
7281
+ /* @__PURE__ */ jsxs60("div", { className: cn("flex min-w-0 flex-1 flex-col gap-2", row ? "p-4" : "p-5"), children: [
7282
+ chips && chips.length > 0 && /* @__PURE__ */ jsx85("div", { className: "flex flex-wrap gap-1.5", children: chips.map((chip) => /* @__PURE__ */ jsx85(Badge, { variant: chip.variant ?? "outline", size: "sm", dot: chip.dot, children: chip.label }, chip.label)) }),
7283
+ /* @__PURE__ */ jsx85("h3", { className: "font-semibold tracking-tight transition-colors group-hover:text-primary-ink", children: title }),
7284
+ description && /* @__PURE__ */ jsx85("div", { className: "line-clamp-3 text-sm leading-relaxed text-muted-foreground", children: description }),
7285
+ meta && /* @__PURE__ */ jsx85("div", { className: "text-xs text-muted-foreground", children: meta }),
7286
+ footer && /* @__PURE__ */ jsx85("div", { className: "mt-auto pt-2 text-xs text-muted-foreground", children: footer })
7287
+ ] })
7288
+ ] });
7289
+ const cardClass = cn(
7290
+ "group flex h-full overflow-hidden rounded-xl border border-border bg-card shadow-sm transition-colors hover:border-primary/40",
7291
+ "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background",
7292
+ row ? "flex-row" : "flex-col",
7293
+ className
7294
+ );
7295
+ return /* @__PURE__ */ jsx85("article", { ref, className: "h-full", ...props, children: href && destination ? /* @__PURE__ */ jsx85(Link3, { ...destination, className: cardClass, children: body }) : /* @__PURE__ */ jsx85("div", { className: cardClass, children: body }) });
7296
+ });
7297
+ MediaCard.displayName = "MediaCard";
7298
+
6927
7299
  // src/components/newsletter/Newsletter.tsx
6928
- import * as React82 from "react";
6929
- import { jsx as jsx83, jsxs as jsxs58 } from "react/jsx-runtime";
6930
- var Newsletter = React82.forwardRef(function Newsletter2({
7300
+ import * as React84 from "react";
7301
+ import { jsx as jsx86, jsxs as jsxs61 } from "react/jsx-runtime";
7302
+ var Newsletter = React84.forwardRef(function Newsletter2({
6931
7303
  title,
6932
7304
  description,
6933
7305
  placeholder = "you@example.com",
@@ -6942,9 +7314,9 @@ var Newsletter = React82.forwardRef(function Newsletter2({
6942
7314
  className,
6943
7315
  ...props
6944
7316
  }, ref) {
6945
- const id = React82.useId();
6946
- const [email, setEmail] = React82.useState("");
6947
- const [status, setStatus] = React82.useState("idle");
7317
+ const id = React84.useId();
7318
+ const [email, setEmail] = React84.useState("");
7319
+ const [status, setStatus] = React84.useState("idle");
6948
7320
  const Heading2 = `h${level}`;
6949
7321
  const handleSubmit = async (event) => {
6950
7322
  event.preventDefault();
@@ -6958,13 +7330,13 @@ var Newsletter = React82.forwardRef(function Newsletter2({
6958
7330
  setStatus("error");
6959
7331
  }
6960
7332
  };
6961
- return /* @__PURE__ */ jsxs58("div", { className: "w-full", children: [
6962
- /* @__PURE__ */ jsx83(Heading2, { className: "text-2xl font-semibold tracking-tight", children: title }),
6963
- description && /* @__PURE__ */ jsx83("p", { className: "mt-2 max-w-2xl text-sm leading-relaxed text-muted-foreground", children: description }),
6964
- /* @__PURE__ */ jsxs58("form", { ref, onSubmit: handleSubmit, className: cn("mt-5", className), ...props, children: [
6965
- /* @__PURE__ */ jsxs58("div", { className: cn("flex gap-2", layout === "inline" ? "flex-col sm:flex-row" : "flex-col"), children: [
6966
- /* @__PURE__ */ jsx83("label", { htmlFor: id, className: "sr-only", children: label }),
6967
- /* @__PURE__ */ jsx83(
7333
+ return /* @__PURE__ */ jsxs61("div", { className: "w-full", children: [
7334
+ /* @__PURE__ */ jsx86(Heading2, { className: "text-2xl font-semibold tracking-tight", children: title }),
7335
+ description && /* @__PURE__ */ jsx86("p", { className: "mt-2 max-w-2xl text-sm leading-relaxed text-muted-foreground", children: description }),
7336
+ /* @__PURE__ */ jsxs61("form", { ref, onSubmit: handleSubmit, className: cn("mt-5", className), ...props, children: [
7337
+ /* @__PURE__ */ jsxs61("div", { className: cn("flex gap-2", layout === "inline" ? "flex-col sm:flex-row" : "flex-col"), children: [
7338
+ /* @__PURE__ */ jsx86("label", { htmlFor: id, className: "sr-only", children: label }),
7339
+ /* @__PURE__ */ jsx86(
6968
7340
  Input,
6969
7341
  {
6970
7342
  id,
@@ -6979,44 +7351,44 @@ var Newsletter = React82.forwardRef(function Newsletter2({
6979
7351
  className: "sm:flex-1"
6980
7352
  }
6981
7353
  ),
6982
- /* @__PURE__ */ jsx83(Button, { type: "submit", loading: status === "loading", className: "shrink-0", children: buttonLabel })
7354
+ /* @__PURE__ */ jsx86(Button, { type: "submit", loading: status === "loading", className: "shrink-0", children: buttonLabel })
6983
7355
  ] }),
6984
- consent && /* @__PURE__ */ jsx83("div", { className: "mt-3 text-xs leading-relaxed text-muted-foreground", children: consent }),
6985
- /* @__PURE__ */ jsxs58("div", { "aria-live": "polite", className: "mt-2 min-h-5 text-sm", children: [
6986
- status === "success" && /* @__PURE__ */ jsx83("p", { className: "text-success", children: successMessage }),
6987
- status === "error" && /* @__PURE__ */ jsx83("p", { role: "alert", className: "text-destructive", children: errorMessage })
7356
+ consent && /* @__PURE__ */ jsx86("div", { className: "mt-3 text-xs leading-relaxed text-muted-foreground", children: consent }),
7357
+ /* @__PURE__ */ jsxs61("div", { "aria-live": "polite", className: "mt-2 min-h-5 text-sm", children: [
7358
+ status === "success" && /* @__PURE__ */ jsx86("p", { className: "text-success", children: successMessage }),
7359
+ status === "error" && /* @__PURE__ */ jsx86("p", { role: "alert", className: "text-destructive", children: errorMessage })
6988
7360
  ] })
6989
7361
  ] })
6990
7362
  ] });
6991
7363
  });
6992
7364
 
6993
7365
  // src/components/contact-strip/ContactStrip.tsx
6994
- import * as React83 from "react";
6995
- import { jsx as jsx84, jsxs as jsxs59 } from "react/jsx-runtime";
7366
+ import * as React85 from "react";
7367
+ import { jsx as jsx87, jsxs as jsxs62 } from "react/jsx-runtime";
6996
7368
  var columnClasses5 = {
6997
7369
  2: "sm:grid-cols-2",
6998
7370
  3: "sm:grid-cols-3"
6999
7371
  };
7000
- var ContactStrip = React83.forwardRef(function ContactStrip2({ items, columns = 2, align = "left", linkComponent, className, ...props }, ref) {
7372
+ var ContactStrip = React85.forwardRef(function ContactStrip2({ items, columns = 2, align = "left", linkComponent, className, ...props }, ref) {
7001
7373
  const Link3 = linkComponent ?? "a";
7002
- return /* @__PURE__ */ jsx84("ul", { ref, className: cn("grid gap-6", columnClasses5[columns], className), ...props, children: items.map((item) => /* @__PURE__ */ jsxs59("li", { className: cn("flex min-w-0 items-start gap-3", align === "center" && "justify-center text-center"), children: [
7003
- item.icon && /* @__PURE__ */ jsx84("span", { className: "mt-0.5 flex h-8 w-8 shrink-0 items-center justify-center rounded-lg bg-primary/10 text-primary-ink [&_svg]:size-4", children: item.icon }),
7004
- /* @__PURE__ */ jsxs59("div", { className: "min-w-0", children: [
7005
- /* @__PURE__ */ jsx84("p", { className: "text-xs font-semibold uppercase tracking-wider text-muted-foreground", children: item.label }),
7006
- item.href ? /* @__PURE__ */ jsx84(Link3, { href: item.href, className: "mt-0.5 block break-words text-sm font-medium text-primary-ink underline-offset-4 hover:underline", children: item.value }) : /* @__PURE__ */ jsx84("p", { className: "mt-0.5 break-words text-sm font-medium", children: item.value })
7374
+ return /* @__PURE__ */ jsx87("ul", { ref, className: cn("grid gap-6", columnClasses5[columns], className), ...props, children: items.map((item) => /* @__PURE__ */ jsxs62("li", { className: cn("flex min-w-0 items-start gap-3", align === "center" && "justify-center text-center"), children: [
7375
+ item.icon && /* @__PURE__ */ jsx87("span", { className: "mt-0.5 flex h-8 w-8 shrink-0 items-center justify-center rounded-lg bg-primary/10 text-primary-ink [&_svg]:size-4", children: item.icon }),
7376
+ /* @__PURE__ */ jsxs62("div", { className: "min-w-0", children: [
7377
+ /* @__PURE__ */ jsx87("p", { className: "text-xs font-semibold uppercase tracking-wider text-muted-foreground", children: item.label }),
7378
+ item.href ? /* @__PURE__ */ jsx87(Link3, { href: item.href, className: "mt-0.5 block break-words text-sm font-medium text-primary-ink underline-offset-4 hover:underline", children: item.value }) : /* @__PURE__ */ jsx87("p", { className: "mt-0.5 break-words text-sm font-medium", children: item.value })
7007
7379
  ] })
7008
7380
  ] }, item.label)) });
7009
7381
  });
7010
7382
 
7011
7383
  // src/components/announcement-bar/AnnouncementBar.tsx
7012
- import * as React84 from "react";
7013
- import { jsx as jsx85, jsxs as jsxs60 } from "react/jsx-runtime";
7384
+ import * as React86 from "react";
7385
+ import { jsx as jsx88, jsxs as jsxs63 } from "react/jsx-runtime";
7014
7386
  var toneClasses3 = {
7015
7387
  muted: "bg-muted text-foreground",
7016
7388
  brand: "bg-primary text-primary-foreground",
7017
7389
  inverse: "bg-inverse text-inverse-foreground"
7018
7390
  };
7019
- var AnnouncementBar = React84.forwardRef(
7391
+ var AnnouncementBar = React86.forwardRef(
7020
7392
  function AnnouncementBar2({
7021
7393
  message,
7022
7394
  href,
@@ -7029,14 +7401,14 @@ var AnnouncementBar = React84.forwardRef(
7029
7401
  className,
7030
7402
  ...props
7031
7403
  }, ref) {
7032
- const [dismissed, setDismissed] = React84.useState(false);
7404
+ const [dismissed, setDismissed] = React86.useState(false);
7033
7405
  const Link3 = linkComponent ?? "a";
7034
7406
  if (dismissed) return null;
7035
7407
  const dismiss2 = () => {
7036
7408
  setDismissed(true);
7037
7409
  onDismiss?.();
7038
7410
  };
7039
- return /* @__PURE__ */ jsx85(
7411
+ return /* @__PURE__ */ jsx88(
7040
7412
  "div",
7041
7413
  {
7042
7414
  ref,
@@ -7049,9 +7421,9 @@ var AnnouncementBar = React84.forwardRef(
7049
7421
  className
7050
7422
  ),
7051
7423
  ...props,
7052
- children: /* @__PURE__ */ jsxs60("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: [
7053
- /* @__PURE__ */ jsx85("p", { className: "min-w-0 text-center", children: message }),
7054
- href && actionLabel && /* @__PURE__ */ jsx85(
7424
+ children: /* @__PURE__ */ jsxs63("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: [
7425
+ /* @__PURE__ */ jsx88("p", { className: "min-w-0 text-center", children: message }),
7426
+ href && actionLabel && /* @__PURE__ */ jsx88(
7055
7427
  Link3,
7056
7428
  {
7057
7429
  href,
@@ -7059,14 +7431,14 @@ var AnnouncementBar = React84.forwardRef(
7059
7431
  children: actionLabel
7060
7432
  }
7061
7433
  ),
7062
- dismissible && /* @__PURE__ */ jsx85(
7434
+ dismissible && /* @__PURE__ */ jsx88(
7063
7435
  "button",
7064
7436
  {
7065
7437
  type: "button",
7066
7438
  onClick: dismiss2,
7067
7439
  "aria-label": "Dismiss announcement",
7068
7440
  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",
7069
- children: /* @__PURE__ */ jsx85("svg", { "aria-hidden": "true", viewBox: "0 0 20 20", className: "h-4 w-4", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", children: /* @__PURE__ */ jsx85("path", { d: "m5 5 10 10M15 5 5 15" }) })
7441
+ children: /* @__PURE__ */ jsx88("svg", { "aria-hidden": "true", viewBox: "0 0 20 20", className: "h-4 w-4", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", children: /* @__PURE__ */ jsx88("path", { d: "m5 5 10 10M15 5 5 15" }) })
7070
7442
  }
7071
7443
  )
7072
7444
  ] })
@@ -7076,15 +7448,15 @@ var AnnouncementBar = React84.forwardRef(
7076
7448
  );
7077
7449
 
7078
7450
  // src/components/deal-card/DealCard.tsx
7079
- import * as React85 from "react";
7080
- import { jsx as jsx86, jsxs as jsxs61 } from "react/jsx-runtime";
7451
+ import * as React87 from "react";
7452
+ import { jsx as jsx89, jsxs as jsxs64 } from "react/jsx-runtime";
7081
7453
  var statusConfig = {
7082
7454
  available: { label: "Available", variant: "success" },
7083
7455
  "under-nda": { label: "Under NDA", variant: "info" },
7084
7456
  closed: { label: "Closed", variant: "secondary" },
7085
7457
  draft: { label: "Draft", variant: "outline" }
7086
7458
  };
7087
- var DealCard = React85.forwardRef(function DealCard2({
7459
+ var DealCard = React87.forwardRef(function DealCard2({
7088
7460
  title,
7089
7461
  sector,
7090
7462
  location,
@@ -7105,29 +7477,29 @@ var DealCard = React85.forwardRef(function DealCard2({
7105
7477
  }, ref) {
7106
7478
  const Link3 = linkComponent ?? "a";
7107
7479
  const statusInfo = statusConfig[status];
7108
- return /* @__PURE__ */ jsxs61(Card, { ref, className: cn("flex h-full flex-col overflow-hidden", className), ...props, children: [
7109
- /* @__PURE__ */ jsxs61(CardHeader, { className: "gap-2 p-5 pb-3", children: [
7110
- /* @__PURE__ */ jsxs61("div", { className: "flex items-start justify-between gap-2", children: [
7111
- /* @__PURE__ */ jsx86("p", { className: "text-xs font-semibold uppercase tracking-widest text-primary-ink", children: sector }),
7112
- /* @__PURE__ */ jsx86(Badge, { variant: statusInfo.variant, children: statusInfo.label })
7480
+ return /* @__PURE__ */ jsxs64(Card, { ref, className: cn("flex h-full flex-col overflow-hidden", className), ...props, children: [
7481
+ /* @__PURE__ */ jsxs64(CardHeader, { className: "gap-2 p-5 pb-3", children: [
7482
+ /* @__PURE__ */ jsxs64("div", { className: "flex items-start justify-between gap-2", children: [
7483
+ /* @__PURE__ */ jsx89("p", { className: "text-xs font-semibold uppercase tracking-widest text-primary-ink", children: sector }),
7484
+ /* @__PURE__ */ jsx89(Badge, { variant: statusInfo.variant, children: statusInfo.label })
7113
7485
  ] }),
7114
- /* @__PURE__ */ jsx86("h3", { className: "text-lg font-semibold leading-snug tracking-tight", children: href ? /* @__PURE__ */ jsx86(Link3, { href, className: "rounded-sm hover:text-primary-ink focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring", children: title }) : title }),
7115
- location && /* @__PURE__ */ jsx86("p", { className: "text-xs text-muted-foreground", children: location })
7486
+ /* @__PURE__ */ jsx89("h3", { className: "text-lg font-semibold leading-snug tracking-tight", children: href ? /* @__PURE__ */ jsx89(Link3, { href, className: "rounded-sm hover:text-primary-ink focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring", children: title }) : title }),
7487
+ location && /* @__PURE__ */ jsx89("p", { className: "text-xs text-muted-foreground", children: location })
7116
7488
  ] }),
7117
- /* @__PURE__ */ jsxs61(CardContent, { className: "flex-1 px-5 pb-3", children: [
7118
- description && /* @__PURE__ */ jsx86("p", { className: "line-clamp-2 text-sm leading-relaxed text-muted-foreground", children: description }),
7119
- /* @__PURE__ */ jsx86("dl", { className: "mt-4 grid grid-cols-3 gap-3", children: metrics.map((metric) => /* @__PURE__ */ jsxs61("div", { className: "min-w-0", children: [
7120
- /* @__PURE__ */ jsx86("dt", { className: "text-xs text-muted-foreground", children: metric.label }),
7121
- /* @__PURE__ */ jsx86("dd", { className: "mt-0.5 truncate text-sm font-semibold tabular-nums", children: metric.value })
7489
+ /* @__PURE__ */ jsxs64(CardContent, { className: "flex-1 px-5 pb-3", children: [
7490
+ description && /* @__PURE__ */ jsx89("p", { className: "line-clamp-2 text-sm leading-relaxed text-muted-foreground", children: description }),
7491
+ /* @__PURE__ */ jsx89("dl", { className: "mt-4 grid grid-cols-3 gap-3", children: metrics.map((metric) => /* @__PURE__ */ jsxs64("div", { className: "min-w-0", children: [
7492
+ /* @__PURE__ */ jsx89("dt", { className: "text-xs text-muted-foreground", children: metric.label }),
7493
+ /* @__PURE__ */ jsx89("dd", { className: "mt-0.5 truncate text-sm font-semibold tabular-nums", children: metric.value })
7122
7494
  ] }, metric.label)) }),
7123
- (ndaAvailable || cimAvailable) && /* @__PURE__ */ jsxs61("div", { className: "mt-4 flex flex-wrap gap-1.5", children: [
7124
- ndaAvailable && /* @__PURE__ */ jsx86(Badge, { variant: "info", children: "NDA available" }),
7125
- cimAvailable && /* @__PURE__ */ jsx86(Badge, { variant: "secondary", children: "CIM available" })
7495
+ (ndaAvailable || cimAvailable) && /* @__PURE__ */ jsxs64("div", { className: "mt-4 flex flex-wrap gap-1.5", children: [
7496
+ ndaAvailable && /* @__PURE__ */ jsx89(Badge, { variant: "info", children: "NDA available" }),
7497
+ cimAvailable && /* @__PURE__ */ jsx89(Badge, { variant: "secondary", children: "CIM available" })
7126
7498
  ] })
7127
7499
  ] }),
7128
- /* @__PURE__ */ jsxs61(CardFooter, { className: "flex flex-wrap items-center gap-2 border-t border-border px-5 py-3", children: [
7129
- onRequestAccess && /* @__PURE__ */ jsx86(Button, { type: "button", size: "sm", onClick: onRequestAccess, children: requestLabel }),
7130
- onSave && /* @__PURE__ */ jsx86(
7500
+ /* @__PURE__ */ jsxs64(CardFooter, { className: "flex flex-wrap items-center gap-2 border-t border-border px-5 py-3", children: [
7501
+ onRequestAccess && /* @__PURE__ */ jsx89(Button, { type: "button", size: "sm", onClick: onRequestAccess, children: requestLabel }),
7502
+ onSave && /* @__PURE__ */ jsx89(
7131
7503
  Button,
7132
7504
  {
7133
7505
  type: "button",
@@ -7144,12 +7516,12 @@ var DealCard = React85.forwardRef(function DealCard2({
7144
7516
  });
7145
7517
 
7146
7518
  // src/components/entity-card/EntityCard.tsx
7147
- import * as React86 from "react";
7148
- import { jsx as jsx87, jsxs as jsxs62 } from "react/jsx-runtime";
7519
+ import * as React88 from "react";
7520
+ import { jsx as jsx90, jsxs as jsxs65 } from "react/jsx-runtime";
7149
7521
  function initials(name) {
7150
7522
  return name.split(/\s+/).filter(Boolean).slice(0, 2).map((part) => part[0]?.toUpperCase() ?? "").join("");
7151
7523
  }
7152
- var EntityCard = React86.forwardRef(function EntityCard2({
7524
+ var EntityCard = React88.forwardRef(function EntityCard2({
7153
7525
  name,
7154
7526
  entityType,
7155
7527
  location,
@@ -7167,11 +7539,11 @@ var EntityCard = React86.forwardRef(function EntityCard2({
7167
7539
  const Link3 = linkComponent ?? "a";
7168
7540
  const stretched = Boolean(cardHref);
7169
7541
  const nameHref = cardHref ?? href;
7170
- return /* @__PURE__ */ jsxs62(Card, { ref, className: cn("flex h-full flex-col", stretched && "relative isolate", className), ...props, children: [
7171
- /* @__PURE__ */ jsxs62(CardHeader, { className: "flex-row items-start gap-3 p-5 pb-3", children: [
7172
- /* @__PURE__ */ jsx87("div", { className: "shrink-0", children: logo ?? /* @__PURE__ */ jsx87(Avatar, { children: /* @__PURE__ */ jsx87(AvatarFallback, { children: initials(name) }) }) }),
7173
- /* @__PURE__ */ jsxs62("div", { className: "min-w-0 flex-1", children: [
7174
- /* @__PURE__ */ jsx87("h3", { className: "truncate text-base font-semibold tracking-tight", children: nameHref ? /* @__PURE__ */ jsx87(
7542
+ return /* @__PURE__ */ jsxs65(Card, { ref, className: cn("flex h-full flex-col", stretched && "relative isolate", className), ...props, children: [
7543
+ /* @__PURE__ */ jsxs65(CardHeader, { className: "flex-row items-start gap-3 p-5 pb-3", children: [
7544
+ /* @__PURE__ */ jsx90("div", { className: "shrink-0", children: logo ?? /* @__PURE__ */ jsx90(Avatar, { children: /* @__PURE__ */ jsx90(AvatarFallback, { children: initials(name) }) }) }),
7545
+ /* @__PURE__ */ jsxs65("div", { className: "min-w-0 flex-1", children: [
7546
+ /* @__PURE__ */ jsx90("h3", { className: "truncate text-base font-semibold tracking-tight", children: nameHref ? /* @__PURE__ */ jsx90(
7175
7547
  Link3,
7176
7548
  {
7177
7549
  href: nameHref,
@@ -7182,20 +7554,20 @@ var EntityCard = React86.forwardRef(function EntityCard2({
7182
7554
  children: name
7183
7555
  }
7184
7556
  ) : name }),
7185
- /* @__PURE__ */ jsx87("p", { className: "mt-0.5 truncate text-xs text-muted-foreground", children: entityType }),
7186
- location && /* @__PURE__ */ jsx87("p", { className: "mt-0.5 truncate text-xs text-muted-foreground", children: location })
7557
+ /* @__PURE__ */ jsx90("p", { className: "mt-0.5 truncate text-xs text-muted-foreground", children: entityType }),
7558
+ location && /* @__PURE__ */ jsx90("p", { className: "mt-0.5 truncate text-xs text-muted-foreground", children: location })
7187
7559
  ] })
7188
7560
  ] }),
7189
- /* @__PURE__ */ jsxs62(CardContent, { className: "flex-1 px-5 pb-3", children: [
7190
- description && /* @__PURE__ */ jsx87("p", { className: "line-clamp-3 text-sm leading-relaxed text-muted-foreground", children: description }),
7191
- tags && tags.length > 0 && /* @__PURE__ */ jsx87("div", { className: "mt-3 flex flex-wrap gap-1.5", children: tags.map((tag) => /* @__PURE__ */ jsx87(Badge, { variant: "secondary", children: tag }, tag)) }),
7192
- stats && stats.length > 0 && /* @__PURE__ */ jsx87("dl", { className: "mt-4 grid grid-cols-2 gap-3", children: stats.map((stat) => /* @__PURE__ */ jsxs62("div", { className: "min-w-0", children: [
7193
- /* @__PURE__ */ jsx87("dt", { className: "text-xs text-muted-foreground", children: stat.label }),
7194
- /* @__PURE__ */ jsx87("dd", { className: "mt-0.5 truncate text-sm font-semibold tabular-nums", children: stat.value })
7561
+ /* @__PURE__ */ jsxs65(CardContent, { className: "flex-1 px-5 pb-3", children: [
7562
+ description && /* @__PURE__ */ jsx90("p", { className: "line-clamp-3 text-sm leading-relaxed text-muted-foreground", children: description }),
7563
+ tags && tags.length > 0 && /* @__PURE__ */ jsx90("div", { className: "mt-3 flex flex-wrap gap-1.5", children: tags.map((tag) => /* @__PURE__ */ jsx90(Badge, { variant: "secondary", children: tag }, tag)) }),
7564
+ stats && stats.length > 0 && /* @__PURE__ */ jsx90("dl", { className: "mt-4 grid grid-cols-2 gap-3", children: stats.map((stat) => /* @__PURE__ */ jsxs65("div", { className: "min-w-0", children: [
7565
+ /* @__PURE__ */ jsx90("dt", { className: "text-xs text-muted-foreground", children: stat.label }),
7566
+ /* @__PURE__ */ jsx90("dd", { className: "mt-0.5 truncate text-sm font-semibold tabular-nums", children: stat.value })
7195
7567
  ] }, stat.label)) })
7196
7568
  ] }),
7197
- (href && !stretched || actions) && /* @__PURE__ */ jsxs62(CardFooter, { className: cn("flex flex-wrap items-center gap-2 border-t border-border px-5 py-3", stretched && "relative z-10"), children: [
7198
- href && !stretched && /* @__PURE__ */ jsx87(
7569
+ (href && !stretched || actions) && /* @__PURE__ */ jsxs65(CardFooter, { className: cn("flex flex-wrap items-center gap-2 border-t border-border px-5 py-3", stretched && "relative z-10"), children: [
7570
+ href && !stretched && /* @__PURE__ */ jsx90(
7199
7571
  Link3,
7200
7572
  {
7201
7573
  href,
@@ -7203,21 +7575,21 @@ var EntityCard = React86.forwardRef(function EntityCard2({
7203
7575
  children: "View profile"
7204
7576
  }
7205
7577
  ),
7206
- actions && /* @__PURE__ */ jsx87("div", { className: "ml-auto flex items-center gap-2", children: actions })
7578
+ actions && /* @__PURE__ */ jsx90("div", { className: "ml-auto flex items-center gap-2", children: actions })
7207
7579
  ] })
7208
7580
  ] });
7209
7581
  });
7210
7582
  var ProfileCard = EntityCard;
7211
7583
 
7212
7584
  // src/components/tombstone-card/TombstoneCard.tsx
7213
- import * as React87 from "react";
7214
- import { jsx as jsx88, jsxs as jsxs63 } from "react/jsx-runtime";
7585
+ import * as React89 from "react";
7586
+ import { jsx as jsx91, jsxs as jsxs66 } from "react/jsx-runtime";
7215
7587
  var statusConfig2 = {
7216
7588
  archived: { label: "Archived", variant: "secondary" },
7217
7589
  unavailable: { label: "Unavailable", variant: "warning" },
7218
7590
  closed: { label: "Closed", variant: "outline" }
7219
7591
  };
7220
- var TombstoneCard = React87.forwardRef(function TombstoneCard2({
7592
+ var TombstoneCard = React89.forwardRef(function TombstoneCard2({
7221
7593
  title,
7222
7594
  reason,
7223
7595
  status = "unavailable",
@@ -7230,20 +7602,20 @@ var TombstoneCard = React87.forwardRef(function TombstoneCard2({
7230
7602
  }, ref) {
7231
7603
  const Link3 = linkComponent ?? "a";
7232
7604
  const statusInfo = statusConfig2[status];
7233
- return /* @__PURE__ */ jsx88(
7605
+ return /* @__PURE__ */ jsx91(
7234
7606
  Card,
7235
7607
  {
7236
7608
  ref,
7237
7609
  className: cn("flex h-full flex-col border-dashed bg-muted/30 shadow-none", className),
7238
7610
  ...props,
7239
- children: /* @__PURE__ */ jsxs63(CardContent, { className: "flex flex-1 flex-col gap-3 p-5", children: [
7240
- /* @__PURE__ */ jsxs63("div", { className: "flex items-start justify-between gap-2", children: [
7241
- logo && /* @__PURE__ */ jsx88("div", { className: "min-w-0 opacity-70", children: logo }),
7242
- /* @__PURE__ */ jsx88(Badge, { variant: statusInfo.variant, children: statusInfo.label })
7611
+ children: /* @__PURE__ */ jsxs66(CardContent, { className: "flex flex-1 flex-col gap-3 p-5", children: [
7612
+ /* @__PURE__ */ jsxs66("div", { className: "flex items-start justify-between gap-2", children: [
7613
+ logo && /* @__PURE__ */ jsx91("div", { className: "min-w-0 opacity-70", children: logo }),
7614
+ /* @__PURE__ */ jsx91(Badge, { variant: statusInfo.variant, children: statusInfo.label })
7243
7615
  ] }),
7244
- /* @__PURE__ */ jsx88("h3", { className: "text-base font-semibold tracking-tight text-foreground/80", children: title }),
7245
- reason && /* @__PURE__ */ jsx88("p", { className: "text-sm leading-relaxed text-muted-foreground", children: reason }),
7246
- href && /* @__PURE__ */ jsx88(
7616
+ /* @__PURE__ */ jsx91("h3", { className: "text-base font-semibold tracking-tight text-foreground/80", children: title }),
7617
+ reason && /* @__PURE__ */ jsx91("p", { className: "text-sm leading-relaxed text-muted-foreground", children: reason }),
7618
+ href && /* @__PURE__ */ jsx91(
7247
7619
  Link3,
7248
7620
  {
7249
7621
  href,
@@ -7257,14 +7629,14 @@ var TombstoneCard = React87.forwardRef(function TombstoneCard2({
7257
7629
  });
7258
7630
 
7259
7631
  // src/components/document-card/DocumentCard.tsx
7260
- import * as React88 from "react";
7261
- import { jsx as jsx89, jsxs as jsxs64 } from "react/jsx-runtime";
7632
+ import * as React90 from "react";
7633
+ import { jsx as jsx92, jsxs as jsxs67 } from "react/jsx-runtime";
7262
7634
  var statusConfig3 = {
7263
7635
  available: { label: "Available", variant: "success" },
7264
7636
  restricted: { label: "Restricted", variant: "warning" },
7265
7637
  pending: { label: "Pending", variant: "info" }
7266
7638
  };
7267
- var DocumentCard = React88.forwardRef(function DocumentCard2({
7639
+ var DocumentCard = React90.forwardRef(function DocumentCard2({
7268
7640
  name,
7269
7641
  fileType,
7270
7642
  size,
@@ -7278,14 +7650,14 @@ var DocumentCard = React88.forwardRef(function DocumentCard2({
7278
7650
  }, ref) {
7279
7651
  const statusInfo = statusConfig3[status];
7280
7652
  const meta = [fileType, size, updatedAt].filter(Boolean).join(" \xB7 ");
7281
- return /* @__PURE__ */ jsx89(Card, { ref, className: cn("w-full", className), ...props, children: /* @__PURE__ */ jsxs64(CardContent, { className: "flex items-center gap-3 p-4", children: [
7282
- /* @__PURE__ */ jsx89("span", { className: "flex h-10 w-10 shrink-0 items-center justify-center rounded-lg bg-primary/10 text-primary-ink [&_svg]:size-5", children: icon ?? /* @__PURE__ */ jsx89("span", { className: "text-[10px] font-bold uppercase tracking-wide", children: fileType }) }),
7283
- /* @__PURE__ */ jsxs64("div", { className: "min-w-0 flex-1", children: [
7284
- /* @__PURE__ */ jsx89("p", { className: "truncate text-sm font-medium", children: name }),
7285
- meta && /* @__PURE__ */ jsx89("p", { className: "mt-0.5 truncate text-xs text-muted-foreground", children: meta })
7653
+ return /* @__PURE__ */ jsx92(Card, { ref, className: cn("w-full", className), ...props, children: /* @__PURE__ */ jsxs67(CardContent, { className: "flex items-center gap-3 p-4", children: [
7654
+ /* @__PURE__ */ jsx92("span", { className: "flex h-10 w-10 shrink-0 items-center justify-center rounded-lg bg-primary/10 text-primary-ink [&_svg]:size-5", children: icon ?? /* @__PURE__ */ jsx92("span", { className: "text-[10px] font-bold uppercase tracking-wide", children: fileType }) }),
7655
+ /* @__PURE__ */ jsxs67("div", { className: "min-w-0 flex-1", children: [
7656
+ /* @__PURE__ */ jsx92("p", { className: "truncate text-sm font-medium", children: name }),
7657
+ meta && /* @__PURE__ */ jsx92("p", { className: "mt-0.5 truncate text-xs text-muted-foreground", children: meta })
7286
7658
  ] }),
7287
- /* @__PURE__ */ jsx89(Badge, { variant: statusInfo.variant, children: statusInfo.label }),
7288
- onDownload && /* @__PURE__ */ jsx89(
7659
+ /* @__PURE__ */ jsx92(Badge, { variant: statusInfo.variant, children: statusInfo.label }),
7660
+ onDownload && /* @__PURE__ */ jsx92(
7289
7661
  Button,
7290
7662
  {
7291
7663
  type: "button",
@@ -7301,9 +7673,9 @@ var DocumentCard = React88.forwardRef(function DocumentCard2({
7301
7673
  });
7302
7674
 
7303
7675
  // src/components/load-more/LoadMore.tsx
7304
- import * as React89 from "react";
7305
- import { jsx as jsx90 } from "react/jsx-runtime";
7306
- var LoadMore = React89.forwardRef(function LoadMore2({
7676
+ import * as React91 from "react";
7677
+ import { jsx as jsx93 } from "react/jsx-runtime";
7678
+ var LoadMore = React91.forwardRef(function LoadMore2({
7307
7679
  hasMore,
7308
7680
  onLoadMore,
7309
7681
  loading = false,
@@ -7313,18 +7685,25 @@ var LoadMore = React89.forwardRef(function LoadMore2({
7313
7685
  className,
7314
7686
  ...props
7315
7687
  }, ref) {
7316
- return /* @__PURE__ */ jsx90("div", { ref, "aria-live": "polite", className: cn("flex w-full justify-center py-4", className), ...props, children: hasMore ? /* @__PURE__ */ jsx90(Button, { type: "button", variant: "outline", onClick: onLoadMore, loading, children: loading ? loadingLabel : loadLabel }) : /* @__PURE__ */ jsx90("p", { role: "status", className: "text-sm text-muted-foreground", children: endLabel }) });
7688
+ return /* @__PURE__ */ jsx93("div", { ref, "aria-live": "polite", className: cn("flex w-full justify-center py-4", className), ...props, children: hasMore ? /* @__PURE__ */ jsx93(Button, { type: "button", variant: "outline", onClick: onLoadMore, loading, children: loading ? loadingLabel : loadLabel }) : /* @__PURE__ */ jsx93("p", { role: "status", className: "text-sm text-muted-foreground", children: endLabel }) });
7317
7689
  });
7318
7690
 
7319
7691
  // src/components/segmented-control/SegmentedControl.tsx
7320
- import * as React90 from "react";
7321
- import { Fragment as Fragment17, jsx as jsx91, jsxs as jsxs65 } from "react/jsx-runtime";
7692
+ import * as React92 from "react";
7693
+ import { Fragment as Fragment18, jsx as jsx94, jsxs as jsxs68 } from "react/jsx-runtime";
7322
7694
  var sizeClasses10 = {
7323
7695
  sm: "h-8 px-2.5 text-xs",
7324
7696
  md: "h-9 px-3 text-sm",
7325
7697
  lg: "h-10 px-4 text-sm"
7326
7698
  };
7327
- var SegmentedControl = React90.forwardRef(
7699
+ var fullWidthBreakpoints = {
7700
+ sm: "max-sm",
7701
+ md: "max-md",
7702
+ lg: "max-lg",
7703
+ xl: "max-xl",
7704
+ "2xl": "max-2xl"
7705
+ };
7706
+ var SegmentedControl = React92.forwardRef(
7328
7707
  function SegmentedControl2({
7329
7708
  options,
7330
7709
  value,
@@ -7340,15 +7719,16 @@ var SegmentedControl = React90.forwardRef(
7340
7719
  ...props
7341
7720
  }, ref) {
7342
7721
  const isControlled = value !== void 0;
7343
- const [internal, setInternal] = React90.useState(
7722
+ const [internal, setInternal] = React92.useState(
7344
7723
  () => multiple ? Array.isArray(defaultValue) ? defaultValue : [] : typeof defaultValue === "string" ? defaultValue : ""
7345
7724
  );
7346
7725
  const current = isControlled ? value : internal;
7347
7726
  const selected = multiple ? Array.isArray(current) ? current : [] : typeof current === "string" ? current : "";
7727
+ const fullWidthBelow = typeof fullWidth === "string" ? fullWidthBreakpoints[fullWidth] : null;
7348
7728
  const linkMode = options.some((option) => option.href !== void 0);
7349
7729
  const LinkEl = linkComponent ?? "a";
7350
7730
  const destination = (href) => linkHrefProp === "to" ? { to: href } : { href };
7351
- const refs = React90.useRef([]);
7731
+ const refs = React92.useRef([]);
7352
7732
  const commit = (next) => {
7353
7733
  if (!isControlled) setInternal(next);
7354
7734
  onValueChange?.(next);
@@ -7398,7 +7778,7 @@ var SegmentedControl = React90.forwardRef(
7398
7778
  moveFocus("last");
7399
7779
  }
7400
7780
  };
7401
- return /* @__PURE__ */ jsx91(
7781
+ return /* @__PURE__ */ jsx94(
7402
7782
  "div",
7403
7783
  {
7404
7784
  ref,
@@ -7406,7 +7786,8 @@ var SegmentedControl = React90.forwardRef(
7406
7786
  "aria-label": ariaLabel,
7407
7787
  className: cn(
7408
7788
  "inline-flex items-center gap-1 rounded-lg border border-border bg-muted p-1",
7409
- fullWidth && "flex w-full",
7789
+ fullWidth === true && "flex w-full",
7790
+ fullWidthBelow && `${fullWidthBelow}:flex ${fullWidthBelow}:w-full`,
7410
7791
  className
7411
7792
  ),
7412
7793
  ...props,
@@ -7419,37 +7800,41 @@ var SegmentedControl = React90.forwardRef(
7419
7800
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background",
7420
7801
  "disabled:pointer-events-none disabled:opacity-50",
7421
7802
  sizeClasses10[size],
7422
- fullWidth && "flex-1",
7803
+ fullWidth === true && "flex-1",
7804
+ fullWidthBelow && `${fullWidthBelow}:flex-1`,
7423
7805
  active ? "bg-background text-foreground shadow-sm" : "text-muted-foreground hover:text-foreground"
7424
7806
  );
7425
- const segmentContent = /* @__PURE__ */ jsxs65(Fragment17, { children: [
7426
- option.icon && /* @__PURE__ */ jsx91("span", { className: "shrink-0 [&_svg]:size-4", children: option.icon }),
7427
- /* @__PURE__ */ jsx91("span", { className: "truncate", children: option.label })
7807
+ const segmentContent = /* @__PURE__ */ jsxs68(Fragment18, { children: [
7808
+ option.icon && /* @__PURE__ */ jsx94("span", { className: "shrink-0 [&_svg]:size-4", children: option.icon }),
7809
+ /* @__PURE__ */ jsx94("span", { className: "truncate", children: option.label }),
7810
+ option.hint && /* @__PURE__ */ jsx94("span", { "aria-hidden": "true", className: "shrink-0 text-[10px] font-normal text-muted-foreground/70", children: option.hint })
7428
7811
  ] });
7429
7812
  if (option.href !== void 0) {
7430
7813
  if (option.disabled || active) {
7431
- return /* @__PURE__ */ jsx91(
7814
+ return /* @__PURE__ */ jsx94(
7432
7815
  "span",
7433
7816
  {
7434
7817
  "aria-current": active ? "page" : void 0,
7435
7818
  "aria-disabled": option.disabled || void 0,
7819
+ "aria-description": option.hint,
7436
7820
  className: cn(segmentClass, option.disabled && "opacity-50"),
7437
7821
  children: segmentContent
7438
7822
  },
7439
7823
  option.value
7440
7824
  );
7441
7825
  }
7442
- return /* @__PURE__ */ jsx91(
7826
+ return /* @__PURE__ */ jsx94(
7443
7827
  LinkEl,
7444
7828
  {
7445
7829
  ...destination(option.href),
7830
+ "aria-description": option.hint,
7446
7831
  className: segmentClass,
7447
7832
  children: segmentContent
7448
7833
  },
7449
7834
  option.value
7450
7835
  );
7451
7836
  }
7452
- return /* @__PURE__ */ jsx91(
7837
+ return /* @__PURE__ */ jsx94(
7453
7838
  "button",
7454
7839
  {
7455
7840
  ref: (node) => {
@@ -7460,6 +7845,7 @@ var SegmentedControl = React90.forwardRef(
7460
7845
  "aria-checked": multiple || linkMode ? void 0 : active,
7461
7846
  "aria-pressed": multiple ? active : void 0,
7462
7847
  "aria-current": linkMode && active ? "page" : void 0,
7848
+ "aria-description": option.hint,
7463
7849
  disabled: option.disabled,
7464
7850
  tabIndex: focusable ? 0 : -1,
7465
7851
  onClick: () => select(option),
@@ -7476,8 +7862,8 @@ var SegmentedControl = React90.forwardRef(
7476
7862
  );
7477
7863
 
7478
7864
  // src/components/range-slider/RangeSlider.tsx
7479
- import * as React91 from "react";
7480
- import { jsx as jsx92, jsxs as jsxs66 } from "react/jsx-runtime";
7865
+ import * as React93 from "react";
7866
+ import { jsx as jsx95, jsxs as jsxs69 } from "react/jsx-runtime";
7481
7867
  var rangeInputClass = cn(
7482
7868
  "pointer-events-none absolute inset-x-0 top-1/2 h-6 w-full -translate-y-1/2 appearance-none bg-transparent",
7483
7869
  "[&::-webkit-slider-runnable-track]:h-1 [&::-webkit-slider-runnable-track]:rounded-full [&::-webkit-slider-runnable-track]:bg-transparent",
@@ -7487,7 +7873,7 @@ var rangeInputClass = cn(
7487
7873
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background",
7488
7874
  "disabled:cursor-not-allowed disabled:opacity-50"
7489
7875
  );
7490
- var RangeSlider = React91.forwardRef(function RangeSlider2({
7876
+ var RangeSlider = React93.forwardRef(function RangeSlider2({
7491
7877
  value,
7492
7878
  defaultValue,
7493
7879
  onValueChange,
@@ -7503,7 +7889,7 @@ var RangeSlider = React91.forwardRef(function RangeSlider2({
7503
7889
  ...props
7504
7890
  }, ref) {
7505
7891
  const clamp2 = (entry) => Math.min(Math.max(entry, min), max);
7506
- const [internal, setInternal] = React91.useState(() => {
7892
+ const [internal, setInternal] = React93.useState(() => {
7507
7893
  const initial = defaultValue ?? [min, max];
7508
7894
  return [clamp2(initial[0]), clamp2(initial[1])];
7509
7895
  });
@@ -7517,21 +7903,21 @@ var RangeSlider = React91.forwardRef(function RangeSlider2({
7517
7903
  const span = max - min || 1;
7518
7904
  const lowPercent = (low - min) / span * 100;
7519
7905
  const highPercent = (high - min) / span * 100;
7520
- return /* @__PURE__ */ jsxs66("div", { ref, className: cn("w-full", className), ...props, children: [
7521
- showValues && /* @__PURE__ */ jsxs66("div", { className: "mb-2 flex items-center justify-between text-sm font-medium tabular-nums", children: [
7522
- /* @__PURE__ */ jsx92("span", { children: formatValue(low) }),
7523
- /* @__PURE__ */ jsx92("span", { children: formatValue(high) })
7906
+ return /* @__PURE__ */ jsxs69("div", { ref, className: cn("w-full", className), ...props, children: [
7907
+ showValues && /* @__PURE__ */ jsxs69("div", { className: "mb-2 flex items-center justify-between text-sm font-medium tabular-nums", children: [
7908
+ /* @__PURE__ */ jsx95("span", { children: formatValue(low) }),
7909
+ /* @__PURE__ */ jsx95("span", { children: formatValue(high) })
7524
7910
  ] }),
7525
- /* @__PURE__ */ jsxs66("div", { className: "relative h-6 w-full", children: [
7526
- /* @__PURE__ */ jsx92("div", { className: "absolute inset-x-0 top-1/2 h-1 -translate-y-1/2 rounded-full bg-border" }),
7527
- /* @__PURE__ */ jsx92(
7911
+ /* @__PURE__ */ jsxs69("div", { className: "relative h-6 w-full", children: [
7912
+ /* @__PURE__ */ jsx95("div", { className: "absolute inset-x-0 top-1/2 h-1 -translate-y-1/2 rounded-full bg-border" }),
7913
+ /* @__PURE__ */ jsx95(
7528
7914
  "div",
7529
7915
  {
7530
7916
  className: "absolute top-1/2 h-1 -translate-y-1/2 rounded-full bg-primary",
7531
7917
  style: { left: `${lowPercent}%`, right: `${100 - highPercent}%` }
7532
7918
  }
7533
7919
  ),
7534
- /* @__PURE__ */ jsx92(
7920
+ /* @__PURE__ */ jsx95(
7535
7921
  "input",
7536
7922
  {
7537
7923
  type: "range",
@@ -7546,7 +7932,7 @@ var RangeSlider = React91.forwardRef(function RangeSlider2({
7546
7932
  className: cn(rangeInputClass, "z-10")
7547
7933
  }
7548
7934
  ),
7549
- /* @__PURE__ */ jsx92(
7935
+ /* @__PURE__ */ jsx95(
7550
7936
  "input",
7551
7937
  {
7552
7938
  type: "range",
@@ -7566,8 +7952,8 @@ var RangeSlider = React91.forwardRef(function RangeSlider2({
7566
7952
  });
7567
7953
 
7568
7954
  // src/components/filter-chips/FilterChips.tsx
7569
- import * as React92 from "react";
7570
- import { jsx as jsx93, jsxs as jsxs67 } from "react/jsx-runtime";
7955
+ import * as React94 from "react";
7956
+ import { jsx as jsx96, jsxs as jsxs70 } from "react/jsx-runtime";
7571
7957
  var CHIP_SIZES = {
7572
7958
  sm: {
7573
7959
  chip: "gap-1 py-0.5 pl-2.5 pr-0.5 text-xs",
@@ -7588,7 +7974,7 @@ var CHIP_SIZES = {
7588
7974
  clear: "text-base"
7589
7975
  }
7590
7976
  };
7591
- var FilterChips = React92.forwardRef(function FilterChips2({
7977
+ var FilterChips = React94.forwardRef(function FilterChips2({
7592
7978
  filters,
7593
7979
  size = "md",
7594
7980
  onClearAll,
@@ -7599,10 +7985,10 @@ var FilterChips = React92.forwardRef(function FilterChips2({
7599
7985
  ...props
7600
7986
  }, ref) {
7601
7987
  if (filters.length === 0) {
7602
- return emptyLabel ? /* @__PURE__ */ jsx93("div", { ref, className: cn("text-sm text-muted-foreground", className), ...props, children: emptyLabel }) : null;
7988
+ return emptyLabel ? /* @__PURE__ */ jsx96("div", { ref, className: cn("text-sm text-muted-foreground", className), ...props, children: emptyLabel }) : null;
7603
7989
  }
7604
7990
  const scale = CHIP_SIZES[size];
7605
- return /* @__PURE__ */ jsxs67(
7991
+ return /* @__PURE__ */ jsxs70(
7606
7992
  "div",
7607
7993
  {
7608
7994
  ref,
@@ -7611,7 +7997,7 @@ var FilterChips = React92.forwardRef(function FilterChips2({
7611
7997
  className: cn("flex flex-wrap items-center gap-2", className),
7612
7998
  ...props,
7613
7999
  children: [
7614
- filters.map((filter) => /* @__PURE__ */ jsxs67(
8000
+ filters.map((filter) => /* @__PURE__ */ jsxs70(
7615
8001
  "span",
7616
8002
  {
7617
8003
  className: cn(
@@ -7619,15 +8005,15 @@ var FilterChips = React92.forwardRef(function FilterChips2({
7619
8005
  scale.chip
7620
8006
  ),
7621
8007
  children: [
7622
- /* @__PURE__ */ jsxs67("span", { className: "truncate", children: [
7623
- /* @__PURE__ */ jsxs67("span", { className: "text-muted-foreground", children: [
8008
+ /* @__PURE__ */ jsxs70("span", { className: "truncate", children: [
8009
+ /* @__PURE__ */ jsxs70("span", { className: "text-muted-foreground", children: [
7624
8010
  filter.label,
7625
8011
  ":"
7626
8012
  ] }),
7627
8013
  " ",
7628
- /* @__PURE__ */ jsx93("span", { className: "font-medium", children: filter.value ?? "Any" })
8014
+ /* @__PURE__ */ jsx96("span", { className: "font-medium", children: filter.value ?? "Any" })
7629
8015
  ] }),
7630
- filter.onRemove && /* @__PURE__ */ jsx93(
8016
+ filter.onRemove && /* @__PURE__ */ jsx96(
7631
8017
  "button",
7632
8018
  {
7633
8019
  type: "button",
@@ -7637,14 +8023,14 @@ var FilterChips = React92.forwardRef(function FilterChips2({
7637
8023
  "rounded-full text-muted-foreground transition-colors hover:bg-background hover:text-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
7638
8024
  scale.remove
7639
8025
  ),
7640
- children: /* @__PURE__ */ jsx93("svg", { "aria-hidden": "true", viewBox: "0 0 20 20", className: scale.icon, fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", children: /* @__PURE__ */ jsx93("path", { d: "m5 5 10 10M15 5 5 15" }) })
8026
+ children: /* @__PURE__ */ jsx96("svg", { "aria-hidden": "true", viewBox: "0 0 20 20", className: scale.icon, fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", children: /* @__PURE__ */ jsx96("path", { d: "m5 5 10 10M15 5 5 15" }) })
7641
8027
  }
7642
8028
  )
7643
8029
  ]
7644
8030
  },
7645
8031
  filter.key
7646
8032
  )),
7647
- onClearAll && /* @__PURE__ */ jsx93(
8033
+ onClearAll && /* @__PURE__ */ jsx96(
7648
8034
  "button",
7649
8035
  {
7650
8036
  type: "button",
@@ -7662,9 +8048,9 @@ var FilterChips = React92.forwardRef(function FilterChips2({
7662
8048
  });
7663
8049
 
7664
8050
  // src/components/multi-select/MultiSelect.tsx
7665
- import * as React93 from "react";
7666
- import { jsx as jsx94, jsxs as jsxs68 } from "react/jsx-runtime";
7667
- var MultiSelect = React93.forwardRef(function MultiSelect2({
8051
+ import * as React95 from "react";
8052
+ import { jsx as jsx97, jsxs as jsxs71 } from "react/jsx-runtime";
8053
+ var MultiSelect = React95.forwardRef(function MultiSelect2({
7668
8054
  options,
7669
8055
  value,
7670
8056
  defaultValue,
@@ -7678,10 +8064,10 @@ var MultiSelect = React93.forwardRef(function MultiSelect2({
7678
8064
  className,
7679
8065
  ...props
7680
8066
  }, ref) {
7681
- const labelId = React93.useId();
7682
- const [internal, setInternal] = React93.useState(defaultValue ?? []);
7683
- const [query, setQuery] = React93.useState("");
7684
- const [open, setOpen] = React93.useState(false);
8067
+ const labelId = React95.useId();
8068
+ const [internal, setInternal] = React95.useState(defaultValue ?? []);
8069
+ const [query, setQuery] = React95.useState("");
8070
+ const [open, setOpen] = React95.useState(false);
7685
8071
  const selected = value ?? internal;
7686
8072
  const commit = (next) => {
7687
8073
  if (value === void 0) setInternal(next);
@@ -7698,7 +8084,7 @@ var MultiSelect = React93.forwardRef(function MultiSelect2({
7698
8084
  const q = query.trim().toLowerCase();
7699
8085
  return option.label.toLowerCase().includes(q) || option.value.toLowerCase().includes(q) || option.description?.toLowerCase().includes(q) || option.group?.toLowerCase().includes(q);
7700
8086
  }) : options;
7701
- const groups = React93.useMemo(() => {
8087
+ const groups = React95.useMemo(() => {
7702
8088
  let last;
7703
8089
  return filtered.map((option) => {
7704
8090
  const heading = option.group && option.group !== last ? option.group : void 0;
@@ -7708,16 +8094,16 @@ var MultiSelect = React93.forwardRef(function MultiSelect2({
7708
8094
  }, [filtered]);
7709
8095
  const visibleChips = selectedOptions.slice(0, maxDisplay);
7710
8096
  const hiddenCount = selectedOptions.length - visibleChips.length;
7711
- return /* @__PURE__ */ jsxs68("div", { ref, className: cn("flex flex-col gap-2", className), ...props, children: [
7712
- label && /* @__PURE__ */ jsx94("span", { id: labelId, className: "text-sm font-medium", children: label }),
7713
- visibleChips.length > 0 && /* @__PURE__ */ jsxs68("div", { className: "flex flex-wrap gap-1.5", children: [
7714
- visibleChips.map((option) => /* @__PURE__ */ jsxs68(
8097
+ return /* @__PURE__ */ jsxs71("div", { ref, className: cn("flex flex-col gap-2", className), ...props, children: [
8098
+ label && /* @__PURE__ */ jsx97("span", { id: labelId, className: "text-sm font-medium", children: label }),
8099
+ visibleChips.length > 0 && /* @__PURE__ */ jsxs71("div", { className: "flex flex-wrap gap-1.5", children: [
8100
+ visibleChips.map((option) => /* @__PURE__ */ jsxs71(
7715
8101
  "span",
7716
8102
  {
7717
8103
  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",
7718
8104
  children: [
7719
- /* @__PURE__ */ jsx94("span", { className: "truncate", children: option.label }),
7720
- /* @__PURE__ */ jsx94(
8105
+ /* @__PURE__ */ jsx97("span", { className: "truncate", children: option.label }),
8106
+ /* @__PURE__ */ jsx97(
7721
8107
  "button",
7722
8108
  {
7723
8109
  type: "button",
@@ -7725,26 +8111,26 @@ var MultiSelect = React93.forwardRef(function MultiSelect2({
7725
8111
  disabled,
7726
8112
  "aria-label": `Remove ${option.label}`,
7727
8113
  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",
7728
- children: /* @__PURE__ */ jsx94("svg", { "aria-hidden": "true", viewBox: "0 0 20 20", className: "h-3 w-3", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", children: /* @__PURE__ */ jsx94("path", { d: "m5 5 10 10M15 5 5 15" }) })
8114
+ children: /* @__PURE__ */ jsx97("svg", { "aria-hidden": "true", viewBox: "0 0 20 20", className: "h-3 w-3", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", children: /* @__PURE__ */ jsx97("path", { d: "m5 5 10 10M15 5 5 15" }) })
7729
8115
  }
7730
8116
  )
7731
8117
  ]
7732
8118
  },
7733
8119
  option.value
7734
8120
  )),
7735
- hiddenCount > 0 && /* @__PURE__ */ jsxs68("span", { className: "self-center text-xs text-muted-foreground", children: [
8121
+ hiddenCount > 0 && /* @__PURE__ */ jsxs71("span", { className: "self-center text-xs text-muted-foreground", children: [
7736
8122
  "+",
7737
8123
  hiddenCount,
7738
8124
  " more"
7739
8125
  ] })
7740
8126
  ] }),
7741
- /* @__PURE__ */ jsxs68(Popover, { open, onOpenChange: setOpen, children: [
7742
- /* @__PURE__ */ jsxs68(PopoverTrigger, { "aria-labelledby": label ? labelId : void 0, disabled, className: "w-full justify-between", children: [
7743
- /* @__PURE__ */ jsx94("span", { children: selected.length > 0 ? `${selected.length} selected` : triggerLabel }),
7744
- /* @__PURE__ */ jsx94("span", { "aria-hidden": "true", className: "text-muted-foreground", children: "\u2304" })
8127
+ /* @__PURE__ */ jsxs71(Popover, { open, onOpenChange: setOpen, children: [
8128
+ /* @__PURE__ */ jsxs71(PopoverTrigger, { "aria-labelledby": label ? labelId : void 0, disabled, className: "w-full justify-between", children: [
8129
+ /* @__PURE__ */ jsx97("span", { children: selected.length > 0 ? `${selected.length} selected` : triggerLabel }),
8130
+ /* @__PURE__ */ jsx97("span", { "aria-hidden": "true", className: "text-muted-foreground", children: "\u2304" })
7745
8131
  ] }),
7746
- /* @__PURE__ */ jsxs68(PopoverContent, { className: "w-80 p-0", children: [
7747
- /* @__PURE__ */ jsx94("div", { className: "border-b border-border p-3", children: /* @__PURE__ */ jsx94(
8132
+ /* @__PURE__ */ jsxs71(PopoverContent, { className: "w-80 p-0", children: [
8133
+ /* @__PURE__ */ jsx97("div", { className: "border-b border-border p-3", children: /* @__PURE__ */ jsx97(
7748
8134
  Input,
7749
8135
  {
7750
8136
  type: "search",
@@ -7755,9 +8141,9 @@ var MultiSelect = React93.forwardRef(function MultiSelect2({
7755
8141
  autoFocus: true
7756
8142
  }
7757
8143
  ) }),
7758
- /* @__PURE__ */ jsx94("div", { className: "max-h-64 overflow-y-auto p-1", children: groups.length === 0 ? /* @__PURE__ */ jsx94("p", { className: "px-3 py-3 text-sm text-muted-foreground", children: emptyText }) : groups.map(({ option, heading }) => /* @__PURE__ */ jsxs68(React93.Fragment, { children: [
7759
- heading && /* @__PURE__ */ jsx94("p", { className: "px-3 pb-1 pt-2 text-xs font-medium uppercase tracking-wide text-muted-foreground", children: heading }),
7760
- /* @__PURE__ */ jsxs68(
8144
+ /* @__PURE__ */ jsx97("div", { className: "max-h-64 overflow-y-auto p-1", children: groups.length === 0 ? /* @__PURE__ */ jsx97("p", { className: "px-3 py-3 text-sm text-muted-foreground", children: emptyText }) : groups.map(({ option, heading }) => /* @__PURE__ */ jsxs71(React95.Fragment, { children: [
8145
+ heading && /* @__PURE__ */ jsx97("p", { className: "px-3 pb-1 pt-2 text-xs font-medium uppercase tracking-wide text-muted-foreground", children: heading }),
8146
+ /* @__PURE__ */ jsxs71(
7761
8147
  "label",
7762
8148
  {
7763
8149
  className: cn(
@@ -7765,7 +8151,7 @@ var MultiSelect = React93.forwardRef(function MultiSelect2({
7765
8151
  option.disabled && "cursor-not-allowed opacity-50"
7766
8152
  ),
7767
8153
  children: [
7768
- /* @__PURE__ */ jsx94(
8154
+ /* @__PURE__ */ jsx97(
7769
8155
  Checkbox,
7770
8156
  {
7771
8157
  checked: selected.includes(option.value),
@@ -7774,16 +8160,16 @@ var MultiSelect = React93.forwardRef(function MultiSelect2({
7774
8160
  className: "mt-0.5"
7775
8161
  }
7776
8162
  ),
7777
- /* @__PURE__ */ jsxs68("span", { className: "min-w-0", children: [
7778
- /* @__PURE__ */ jsx94("span", { className: "block", children: option.label }),
7779
- option.description && /* @__PURE__ */ jsx94("span", { className: "mt-0.5 block text-xs text-muted-foreground", children: option.description })
8163
+ /* @__PURE__ */ jsxs71("span", { className: "min-w-0", children: [
8164
+ /* @__PURE__ */ jsx97("span", { className: "block", children: option.label }),
8165
+ option.description && /* @__PURE__ */ jsx97("span", { className: "mt-0.5 block text-xs text-muted-foreground", children: option.description })
7780
8166
  ] })
7781
8167
  ]
7782
8168
  }
7783
8169
  )
7784
8170
  ] }, option.value)) }),
7785
- /* @__PURE__ */ jsxs68("div", { className: "flex items-center justify-between gap-2 border-t border-border p-2", children: [
7786
- /* @__PURE__ */ jsx94(
8171
+ /* @__PURE__ */ jsxs71("div", { className: "flex items-center justify-between gap-2 border-t border-border p-2", children: [
8172
+ /* @__PURE__ */ jsx97(
7787
8173
  Button,
7788
8174
  {
7789
8175
  type: "button",
@@ -7793,7 +8179,7 @@ var MultiSelect = React93.forwardRef(function MultiSelect2({
7793
8179
  children: "Select all"
7794
8180
  }
7795
8181
  ),
7796
- /* @__PURE__ */ jsx94(Button, { type: "button", variant: "ghost", size: "sm", onClick: () => commit([]), children: "Clear" })
8182
+ /* @__PURE__ */ jsx97(Button, { type: "button", variant: "ghost", size: "sm", onClick: () => commit([]), children: "Clear" })
7797
8183
  ] })
7798
8184
  ] })
7799
8185
  ] })
@@ -7801,9 +8187,9 @@ var MultiSelect = React93.forwardRef(function MultiSelect2({
7801
8187
  });
7802
8188
 
7803
8189
  // src/components/filter-panel/FilterPanel.tsx
7804
- import * as React94 from "react";
7805
- import { jsx as jsx95, jsxs as jsxs69 } from "react/jsx-runtime";
7806
- var FilterPanel = React94.forwardRef(function FilterPanel2({
8190
+ import * as React96 from "react";
8191
+ import { jsx as jsx98, jsxs as jsxs72 } from "react/jsx-runtime";
8192
+ var FilterPanel = React96.forwardRef(function FilterPanel2({
7807
8193
  sections,
7808
8194
  title = "Filters",
7809
8195
  description,
@@ -7819,7 +8205,7 @@ var FilterPanel = React94.forwardRef(function FilterPanel2({
7819
8205
  ...props
7820
8206
  }, ref) {
7821
8207
  const Tag = as;
7822
- const [open, setOpen] = React94.useState(() => {
8208
+ const [open, setOpen] = React96.useState(() => {
7823
8209
  if (defaultOpen) {
7824
8210
  return sections.flatMap((section, index) => defaultOpen.includes(section.title) ? [index] : []);
7825
8211
  }
@@ -7832,16 +8218,16 @@ var FilterPanel = React94.forwardRef(function FilterPanel2({
7832
8218
  (current) => current.includes(index) ? current.filter((entry) => entry !== index) : [...current, index]
7833
8219
  );
7834
8220
  };
7835
- return /* @__PURE__ */ jsxs69(Tag, { ref, className: cn("w-full rounded-xl border border-border bg-card", className), ...props, children: [
7836
- (title || description) && /* @__PURE__ */ jsxs69("div", { className: "border-b border-border px-4 py-3", children: [
7837
- title && /* @__PURE__ */ jsx95("h2", { className: "text-sm font-semibold", children: title }),
7838
- description && /* @__PURE__ */ jsx95("p", { className: "mt-1 text-xs text-muted-foreground", children: description })
8221
+ return /* @__PURE__ */ jsxs72(Tag, { ref, className: cn("w-full rounded-xl border border-border bg-card", className), ...props, children: [
8222
+ (title || description) && /* @__PURE__ */ jsxs72("div", { className: "border-b border-border px-4 py-3", children: [
8223
+ title && /* @__PURE__ */ jsx98("h2", { className: "text-sm font-semibold", children: title }),
8224
+ description && /* @__PURE__ */ jsx98("p", { className: "mt-1 text-xs text-muted-foreground", children: description })
7839
8225
  ] }),
7840
- /* @__PURE__ */ jsx95("div", { className: "divide-y divide-border", children: sections.map((section, index) => {
8226
+ /* @__PURE__ */ jsx98("div", { className: "divide-y divide-border", children: sections.map((section, index) => {
7841
8227
  const expanded = isOpen(index);
7842
8228
  const sectionId = `filter-section-${index}`;
7843
- return /* @__PURE__ */ jsxs69("div", { className: "px-4 py-3", children: [
7844
- /* @__PURE__ */ jsx95("h3", { children: /* @__PURE__ */ jsxs69(
8229
+ return /* @__PURE__ */ jsxs72("div", { className: "px-4 py-3", children: [
8230
+ /* @__PURE__ */ jsx98("h3", { children: /* @__PURE__ */ jsxs72(
7845
8231
  "button",
7846
8232
  {
7847
8233
  type: "button",
@@ -7854,28 +8240,28 @@ var FilterPanel = React94.forwardRef(function FilterPanel2({
7854
8240
  collapsible && "rounded-sm focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
7855
8241
  ),
7856
8242
  children: [
7857
- /* @__PURE__ */ jsxs69("span", { children: [
8243
+ /* @__PURE__ */ jsxs72("span", { children: [
7858
8244
  section.title,
7859
- section.description && /* @__PURE__ */ jsx95("span", { className: "mt-0.5 block text-xs font-normal text-muted-foreground", children: section.description })
8245
+ section.description && /* @__PURE__ */ jsx98("span", { className: "mt-0.5 block text-xs font-normal text-muted-foreground", children: section.description })
7860
8246
  ] }),
7861
- collapsible && /* @__PURE__ */ jsx95("span", { "aria-hidden": "true", className: cn("text-muted-foreground transition-transform", expanded && "rotate-180"), children: "\u2304" })
8247
+ collapsible && /* @__PURE__ */ jsx98("span", { "aria-hidden": "true", className: cn("text-muted-foreground transition-transform", expanded && "rotate-180"), children: "\u2304" })
7862
8248
  ]
7863
8249
  }
7864
8250
  ) }),
7865
- expanded && /* @__PURE__ */ jsx95("div", { id: sectionId, className: "mt-3", children: section.content })
8251
+ expanded && /* @__PURE__ */ jsx98("div", { id: sectionId, className: "mt-3", children: section.content })
7866
8252
  ] }, index);
7867
8253
  }) }),
7868
- (onReset || onApply || actions) && /* @__PURE__ */ jsxs69("div", { className: "flex flex-wrap items-center gap-2 border-t border-border px-4 py-3", children: [
8254
+ (onReset || onApply || actions) && /* @__PURE__ */ jsxs72("div", { className: "flex flex-wrap items-center gap-2 border-t border-border px-4 py-3", children: [
7869
8255
  actions,
7870
- onReset && /* @__PURE__ */ jsx95(Button, { type: "button", variant: "ghost", size: "sm", onClick: onReset, className: "ml-auto", children: resetLabel }),
7871
- onApply && /* @__PURE__ */ jsx95(Button, { type: "button", size: "sm", onClick: onApply, children: applyLabel })
8256
+ onReset && /* @__PURE__ */ jsx98(Button, { type: "button", variant: "ghost", size: "sm", onClick: onReset, className: "ml-auto", children: resetLabel }),
8257
+ onApply && /* @__PURE__ */ jsx98(Button, { type: "button", size: "sm", onClick: onApply, children: applyLabel })
7872
8258
  ] })
7873
8259
  ] });
7874
8260
  });
7875
8261
 
7876
8262
  // src/components/date-range-picker/DateRangePicker.tsx
7877
- import * as React95 from "react";
7878
- import { jsx as jsx96, jsxs as jsxs70 } from "react/jsx-runtime";
8263
+ import * as React97 from "react";
8264
+ import { jsx as jsx99, jsxs as jsxs73 } from "react/jsx-runtime";
7879
8265
  var DEFAULT_PRESETS = [
7880
8266
  { label: "7 days", days: 7 },
7881
8267
  { label: "30 days", days: 30 },
@@ -7888,7 +8274,7 @@ function toIsoDate(date) {
7888
8274
  const day = String(date.getDate()).padStart(2, "0");
7889
8275
  return `${year}-${month}-${day}`;
7890
8276
  }
7891
- var DateRangePicker = React95.forwardRef(
8277
+ var DateRangePicker = React97.forwardRef(
7892
8278
  function DateRangePicker2({
7893
8279
  value,
7894
8280
  defaultValue,
@@ -7901,9 +8287,9 @@ var DateRangePicker = React95.forwardRef(
7901
8287
  className,
7902
8288
  ...props
7903
8289
  }, ref) {
7904
- const startId = React95.useId();
7905
- const endId = React95.useId();
7906
- const [internal, setInternal] = React95.useState(defaultValue ?? {});
8290
+ const startId = React97.useId();
8291
+ const endId = React97.useId();
8292
+ const [internal, setInternal] = React97.useState(defaultValue ?? {});
7907
8293
  const current = value ?? internal;
7908
8294
  const commit = (next) => {
7909
8295
  if (value === void 0) setInternal(next);
@@ -7927,8 +8313,8 @@ var DateRangePicker = React95.forwardRef(
7927
8313
  }
7928
8314
  commit({ start: toIsoDate(start), end: toIsoDate(end) });
7929
8315
  };
7930
- return /* @__PURE__ */ jsxs70("div", { ref, className: cn("flex flex-col gap-3", className), ...props, children: [
7931
- showPresets && presets.length > 0 && /* @__PURE__ */ jsx96("div", { className: "flex flex-wrap gap-2", children: presets.map((preset) => /* @__PURE__ */ jsx96(
8316
+ return /* @__PURE__ */ jsxs73("div", { ref, className: cn("flex flex-col gap-3", className), ...props, children: [
8317
+ showPresets && presets.length > 0 && /* @__PURE__ */ jsx99("div", { className: "flex flex-wrap gap-2", children: presets.map((preset) => /* @__PURE__ */ jsx99(
7932
8318
  Button,
7933
8319
  {
7934
8320
  type: "button",
@@ -7940,10 +8326,10 @@ var DateRangePicker = React95.forwardRef(
7940
8326
  },
7941
8327
  preset.label
7942
8328
  )) }),
7943
- /* @__PURE__ */ jsxs70("div", { className: "grid gap-3 sm:grid-cols-2", children: [
7944
- /* @__PURE__ */ jsxs70("div", { children: [
7945
- /* @__PURE__ */ jsx96("label", { htmlFor: startId, className: "mb-1 block text-xs font-medium text-muted-foreground", children: startLabel }),
7946
- /* @__PURE__ */ jsx96(
8329
+ /* @__PURE__ */ jsxs73("div", { className: "grid gap-3 sm:grid-cols-2", children: [
8330
+ /* @__PURE__ */ jsxs73("div", { children: [
8331
+ /* @__PURE__ */ jsx99("label", { htmlFor: startId, className: "mb-1 block text-xs font-medium text-muted-foreground", children: startLabel }),
8332
+ /* @__PURE__ */ jsx99(
7947
8333
  DatePicker,
7948
8334
  {
7949
8335
  id: startId,
@@ -7955,9 +8341,9 @@ var DateRangePicker = React95.forwardRef(
7955
8341
  }
7956
8342
  )
7957
8343
  ] }),
7958
- /* @__PURE__ */ jsxs70("div", { children: [
7959
- /* @__PURE__ */ jsx96("label", { htmlFor: endId, className: "mb-1 block text-xs font-medium text-muted-foreground", children: endLabel }),
7960
- /* @__PURE__ */ jsx96(
8344
+ /* @__PURE__ */ jsxs73("div", { children: [
8345
+ /* @__PURE__ */ jsx99("label", { htmlFor: endId, className: "mb-1 block text-xs font-medium text-muted-foreground", children: endLabel }),
8346
+ /* @__PURE__ */ jsx99(
7961
8347
  DatePicker,
7962
8348
  {
7963
8349
  id: endId,
@@ -7975,9 +8361,9 @@ var DateRangePicker = React95.forwardRef(
7975
8361
  );
7976
8362
 
7977
8363
  // src/components/applied-filters/AppliedFilters.tsx
7978
- import * as React96 from "react";
7979
- import { jsx as jsx97, jsxs as jsxs71 } from "react/jsx-runtime";
7980
- var AppliedFilters = React96.forwardRef(
8364
+ import * as React98 from "react";
8365
+ import { jsx as jsx100, jsxs as jsxs74 } from "react/jsx-runtime";
8366
+ var AppliedFilters = React98.forwardRef(
7981
8367
  function AppliedFilters2({
7982
8368
  filters,
7983
8369
  onClearAll,
@@ -7990,9 +8376,9 @@ var AppliedFilters = React96.forwardRef(
7990
8376
  }, ref) {
7991
8377
  const summary = label ?? `${filters.length} active`;
7992
8378
  if (filters.length === 0) {
7993
- return emptyLabel ? /* @__PURE__ */ jsx97("div", { ref, className: cn("text-sm text-muted-foreground", className), ...props, children: emptyLabel }) : null;
8379
+ return emptyLabel ? /* @__PURE__ */ jsx100("div", { ref, className: cn("text-sm text-muted-foreground", className), ...props, children: emptyLabel }) : null;
7994
8380
  }
7995
- return /* @__PURE__ */ jsxs71(
8381
+ return /* @__PURE__ */ jsxs74(
7996
8382
  "div",
7997
8383
  {
7998
8384
  ref,
@@ -8000,9 +8386,9 @@ var AppliedFilters = React96.forwardRef(
8000
8386
  className: cn("flex flex-wrap items-center gap-2", className),
8001
8387
  ...props,
8002
8388
  children: [
8003
- /* @__PURE__ */ jsx97("span", { className: "text-xs font-medium uppercase tracking-wide text-muted-foreground", children: summary }),
8004
- /* @__PURE__ */ jsx97(FilterChips, { filters, onClearAll }),
8005
- onEdit && /* @__PURE__ */ jsx97(Button, { type: "button", variant: "ghost", size: "sm", onClick: onEdit, children: editLabel })
8389
+ /* @__PURE__ */ jsx100("span", { className: "text-xs font-medium uppercase tracking-wide text-muted-foreground", children: summary }),
8390
+ /* @__PURE__ */ jsx100(FilterChips, { filters, onClearAll }),
8391
+ onEdit && /* @__PURE__ */ jsx100(Button, { type: "button", variant: "ghost", size: "sm", onClick: onEdit, children: editLabel })
8006
8392
  ]
8007
8393
  }
8008
8394
  );
@@ -8010,11 +8396,11 @@ var AppliedFilters = React96.forwardRef(
8010
8396
  );
8011
8397
 
8012
8398
  // src/components/menu/Menu.tsx
8013
- import * as React97 from "react";
8399
+ import * as React99 from "react";
8014
8400
  import { createPortal as createPortal8 } from "react-dom";
8015
8401
  import { Slot as Slot5 } from "@radix-ui/react-slot";
8016
- import { jsx as jsx98 } from "react/jsx-runtime";
8017
- var MenuContext = React97.createContext({
8402
+ import { jsx as jsx101 } from "react/jsx-runtime";
8403
+ var MenuContext = React99.createContext({
8018
8404
  open: false,
8019
8405
  setOpen: () => {
8020
8406
  },
@@ -8023,13 +8409,13 @@ var MenuContext = React97.createContext({
8023
8409
  },
8024
8410
  wrapperRef: { current: null }
8025
8411
  });
8026
- var Menu = React97.forwardRef(
8412
+ var Menu = React99.forwardRef(
8027
8413
  ({ open, onOpenChange, className, children }, ref) => {
8028
- const [internalOpen, setInternalOpen] = React97.useState(false);
8029
- const [activeIndex, setActiveIndex] = React97.useState(-1);
8414
+ const [internalOpen, setInternalOpen] = React99.useState(false);
8415
+ const [activeIndex, setActiveIndex] = React99.useState(-1);
8030
8416
  const current = open ?? internalOpen;
8031
- const wrapperRef = React97.useRef(null);
8032
- const setRefs = React97.useCallback(
8417
+ const wrapperRef = React99.useRef(null);
8418
+ const setRefs = React99.useCallback(
8033
8419
  (node) => {
8034
8420
  wrapperRef.current = node;
8035
8421
  if (typeof ref === "function") ref(node);
@@ -8037,7 +8423,7 @@ var Menu = React97.forwardRef(
8037
8423
  },
8038
8424
  [ref]
8039
8425
  );
8040
- const setOpen = React97.useCallback(
8426
+ const setOpen = React99.useCallback(
8041
8427
  (next) => {
8042
8428
  if (open === void 0) setInternalOpen(next);
8043
8429
  onOpenChange?.(next);
@@ -8045,7 +8431,7 @@ var Menu = React97.forwardRef(
8045
8431
  },
8046
8432
  [open, onOpenChange]
8047
8433
  );
8048
- return /* @__PURE__ */ jsx98("div", { ref: setRefs, className: cn("relative inline-block", className), children: /* @__PURE__ */ jsx98(
8434
+ return /* @__PURE__ */ jsx101("div", { ref: setRefs, className: cn("relative inline-block", className), children: /* @__PURE__ */ jsx101(
8049
8435
  MenuContext.Provider,
8050
8436
  {
8051
8437
  value: { open: current, setOpen, activeIndex, setActiveIndex, wrapperRef },
@@ -8055,10 +8441,10 @@ var Menu = React97.forwardRef(
8055
8441
  }
8056
8442
  );
8057
8443
  Menu.displayName = "Menu";
8058
- var MenuTrigger = React97.forwardRef(
8444
+ var MenuTrigger = React99.forwardRef(
8059
8445
  ({ className, children, ...props }, ref) => {
8060
- const { open, setOpen } = React97.useContext(MenuContext);
8061
- return /* @__PURE__ */ jsx98(
8446
+ const { open, setOpen } = React99.useContext(MenuContext);
8447
+ return /* @__PURE__ */ jsx101(
8062
8448
  "button",
8063
8449
  {
8064
8450
  ref,
@@ -8078,13 +8464,13 @@ var MenuTrigger = React97.forwardRef(
8078
8464
  }
8079
8465
  );
8080
8466
  MenuTrigger.displayName = "MenuTrigger";
8081
- var MenuContent = React97.forwardRef(
8467
+ var MenuContent = React99.forwardRef(
8082
8468
  ({ className, children, ...props }, ref) => {
8083
- const { open, setOpen, activeIndex, setActiveIndex, wrapperRef } = React97.useContext(MenuContext);
8084
- const contentRef = React97.useRef(null);
8085
- const [pos, setPos] = React97.useState(null);
8086
- const itemsRef = React97.useRef([]);
8087
- React97.useLayoutEffect(() => {
8469
+ const { open, setOpen, activeIndex, setActiveIndex, wrapperRef } = React99.useContext(MenuContext);
8470
+ const contentRef = React99.useRef(null);
8471
+ const [pos, setPos] = React99.useState(null);
8472
+ const itemsRef = React99.useRef([]);
8473
+ React99.useLayoutEffect(() => {
8088
8474
  if (!open) {
8089
8475
  setPos(null);
8090
8476
  return;
@@ -8104,7 +8490,7 @@ var MenuContent = React97.forwardRef(
8104
8490
  window.removeEventListener("resize", measure);
8105
8491
  };
8106
8492
  }, [open, setOpen, wrapperRef]);
8107
- React97.useEffect(() => {
8493
+ React99.useEffect(() => {
8108
8494
  if (!open) return;
8109
8495
  function onPointerDown(event) {
8110
8496
  if (!contentRef.current?.contains(event.target)) setOpen(false);
@@ -8112,7 +8498,7 @@ var MenuContent = React97.forwardRef(
8112
8498
  document.addEventListener("pointerdown", onPointerDown);
8113
8499
  return () => document.removeEventListener("pointerdown", onPointerDown);
8114
8500
  }, [open, setOpen]);
8115
- React97.useEffect(() => {
8501
+ React99.useEffect(() => {
8116
8502
  if (open && pos && contentRef.current) {
8117
8503
  itemsRef.current = Array.from(
8118
8504
  contentRef.current.querySelectorAll('[role="menuitem"]:not([disabled])')
@@ -8160,7 +8546,7 @@ var MenuContent = React97.forwardRef(
8160
8546
  };
8161
8547
  if (!open || !pos || typeof document === "undefined") return null;
8162
8548
  return createPortal8(
8163
- /* @__PURE__ */ jsx98(
8549
+ /* @__PURE__ */ jsx101(
8164
8550
  "div",
8165
8551
  {
8166
8552
  ref: (node) => {
@@ -8184,12 +8570,12 @@ var MenuContent = React97.forwardRef(
8184
8570
  }
8185
8571
  );
8186
8572
  MenuContent.displayName = "MenuContent";
8187
- var MenuItem = React97.forwardRef(
8573
+ var MenuItem = React99.forwardRef(
8188
8574
  ({ className, destructive, asChild = false, onClick, ...props }, ref) => {
8189
- const { setOpen } = React97.useContext(MenuContext);
8575
+ const { setOpen } = React99.useContext(MenuContext);
8190
8576
  const Comp = asChild ? Slot5 : "button";
8191
8577
  const typeProp = asChild ? {} : { type: "button" };
8192
- return /* @__PURE__ */ jsx98(
8578
+ return /* @__PURE__ */ jsx101(
8193
8579
  Comp,
8194
8580
  {
8195
8581
  ref,
@@ -8211,12 +8597,12 @@ var MenuItem = React97.forwardRef(
8211
8597
  }
8212
8598
  );
8213
8599
  MenuItem.displayName = "MenuItem";
8214
- var MenuSeparator = React97.forwardRef(
8215
- ({ className, ...props }, ref) => /* @__PURE__ */ jsx98("div", { ref, role: "separator", className: cn("-mx-1 my-1 h-px bg-border", className), ...props })
8600
+ var MenuSeparator = React99.forwardRef(
8601
+ ({ className, ...props }, ref) => /* @__PURE__ */ jsx101("div", { ref, role: "separator", className: cn("-mx-1 my-1 h-px bg-border", className), ...props })
8216
8602
  );
8217
8603
  MenuSeparator.displayName = "MenuSeparator";
8218
- var MenuLabel = React97.forwardRef(
8219
- ({ className, ...props }, ref) => /* @__PURE__ */ jsx98(
8604
+ var MenuLabel = React99.forwardRef(
8605
+ ({ className, ...props }, ref) => /* @__PURE__ */ jsx101(
8220
8606
  "div",
8221
8607
  {
8222
8608
  ref,
@@ -8228,9 +8614,9 @@ var MenuLabel = React97.forwardRef(
8228
8614
  MenuLabel.displayName = "MenuLabel";
8229
8615
 
8230
8616
  // src/components/alert/Alert.tsx
8231
- import * as React98 from "react";
8617
+ import * as React100 from "react";
8232
8618
  import { cva as cva8 } from "class-variance-authority";
8233
- import { jsx as jsx99 } from "react/jsx-runtime";
8619
+ import { jsx as jsx102 } from "react/jsx-runtime";
8234
8620
  var alertVariants = cva8(
8235
8621
  "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",
8236
8622
  {
@@ -8250,8 +8636,8 @@ var alertVariants = cva8(
8250
8636
  }
8251
8637
  }
8252
8638
  );
8253
- var Alert = React98.forwardRef(
8254
- ({ className, variant, ...props }, ref) => /* @__PURE__ */ jsx99(
8639
+ var Alert = React100.forwardRef(
8640
+ ({ className, variant, ...props }, ref) => /* @__PURE__ */ jsx102(
8255
8641
  "div",
8256
8642
  {
8257
8643
  ref,
@@ -8262,8 +8648,8 @@ var Alert = React98.forwardRef(
8262
8648
  )
8263
8649
  );
8264
8650
  Alert.displayName = "Alert";
8265
- var AlertTitle = React98.forwardRef(
8266
- ({ className, ...props }, ref) => /* @__PURE__ */ jsx99(
8651
+ var AlertTitle = React100.forwardRef(
8652
+ ({ className, ...props }, ref) => /* @__PURE__ */ jsx102(
8267
8653
  "h5",
8268
8654
  {
8269
8655
  ref,
@@ -8273,8 +8659,8 @@ var AlertTitle = React98.forwardRef(
8273
8659
  )
8274
8660
  );
8275
8661
  AlertTitle.displayName = "AlertTitle";
8276
- var AlertDescription = React98.forwardRef(
8277
- ({ className, ...props }, ref) => /* @__PURE__ */ jsx99(
8662
+ var AlertDescription = React100.forwardRef(
8663
+ ({ className, ...props }, ref) => /* @__PURE__ */ jsx102(
8278
8664
  "div",
8279
8665
  {
8280
8666
  ref,
@@ -8286,23 +8672,23 @@ var AlertDescription = React98.forwardRef(
8286
8672
  AlertDescription.displayName = "AlertDescription";
8287
8673
 
8288
8674
  // src/components/breadcrumb/Breadcrumb.tsx
8289
- import * as React99 from "react";
8290
- import { jsx as jsx100, jsxs as jsxs72 } from "react/jsx-runtime";
8291
- var Breadcrumb = React99.forwardRef(
8675
+ import * as React101 from "react";
8676
+ import { jsx as jsx103, jsxs as jsxs75 } from "react/jsx-runtime";
8677
+ var Breadcrumb = React101.forwardRef(
8292
8678
  ({ items, label = "Breadcrumb", separator = "/", onItemClick, linkComponent, linkHrefProp = "href", truncateCurrent = false, className, ...props }, ref) => {
8293
8679
  const LinkEl = linkComponent ?? "a";
8294
- return /* @__PURE__ */ jsx100(
8680
+ return /* @__PURE__ */ jsx103(
8295
8681
  "nav",
8296
8682
  {
8297
8683
  ref,
8298
8684
  "aria-label": label,
8299
8685
  className: cn("flex items-center space-x-1.5 text-sm text-muted-foreground", className),
8300
8686
  ...props,
8301
- children: /* @__PURE__ */ jsx100("ol", { className: "flex flex-wrap items-center space-x-1.5", children: items.map((item, index) => {
8687
+ children: /* @__PURE__ */ jsx103("ol", { className: "flex flex-wrap items-center space-x-1.5", children: items.map((item, index) => {
8302
8688
  const isLast = index === items.length - 1;
8303
- return /* @__PURE__ */ jsxs72("li", { className: cn("flex items-center space-x-1.5", truncateCurrent && isLast && "min-w-0"), children: [
8304
- index > 0 && /* @__PURE__ */ jsx100("span", { "aria-hidden": "true", className: "text-muted-foreground/50", children: separator }),
8305
- item.href && !isLast ? /* @__PURE__ */ jsx100(
8689
+ return /* @__PURE__ */ jsxs75("li", { className: cn("flex items-center space-x-1.5", truncateCurrent && isLast && "min-w-0"), children: [
8690
+ index > 0 && /* @__PURE__ */ jsx103("span", { "aria-hidden": "true", className: "text-muted-foreground/50", children: separator }),
8691
+ item.href && !isLast ? /* @__PURE__ */ jsx103(
8306
8692
  LinkEl,
8307
8693
  {
8308
8694
  ...linkHrefProp === "to" ? { to: item.href } : { href: item.href },
@@ -8313,7 +8699,7 @@ var Breadcrumb = React99.forwardRef(
8313
8699
  } : void 0,
8314
8700
  children: item.label
8315
8701
  }
8316
- ) : /* @__PURE__ */ jsx100(
8702
+ ) : /* @__PURE__ */ jsx103(
8317
8703
  "span",
8318
8704
  {
8319
8705
  "aria-current": isLast ? "page" : void 0,
@@ -8409,8 +8795,10 @@ export {
8409
8795
  LinkTabs,
8410
8796
  List,
8411
8797
  ListItem,
8798
+ ListToolbar,
8412
8799
  LoadMore,
8413
8800
  LogoCloud,
8801
+ MediaCard,
8414
8802
  Menu,
8415
8803
  MenuContent,
8416
8804
  MenuItem,
@@ -8418,6 +8806,7 @@ export {
8418
8806
  MenuSeparator,
8419
8807
  MenuTrigger,
8420
8808
  MetricCard,
8809
+ MonthSchedule,
8421
8810
  MultiSelect,
8422
8811
  Newsletter,
8423
8812
  PageHeader,