@slipstream-ui/core 0.11.4 → 0.11.6

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 (246) hide show
  1. package/dist/index.d.mts +100 -3
  2. package/dist/index.d.ts +100 -3
  3. package/dist/index.js +589 -441
  4. package/dist/index.js.map +1 -1
  5. package/dist/index.mjs +484 -337
  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 +1 -1
  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 +151 -0
  30. package/dist/manifests/cta-section.manifest.json +1 -1
  31. package/dist/manifests/data-table.manifest.json +1 -1
  32. package/dist/manifests/date-picker-popover.manifest.json +1 -1
  33. package/dist/manifests/date-picker.manifest.json +1 -1
  34. package/dist/manifests/date-range-picker.manifest.json +1 -1
  35. package/dist/manifests/deal-card.manifest.json +1 -1
  36. package/dist/manifests/dialog.manifest.json +1 -1
  37. package/dist/manifests/document-card.manifest.json +1 -1
  38. package/dist/manifests/drawer.manifest.json +1 -1
  39. package/dist/manifests/empty-state.manifest.json +45 -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 +7 -1
  56. package/dist/manifests/input-group.manifest.json +1 -1
  57. package/dist/manifests/input.manifest.json +1 -1
  58. package/dist/manifests/label.manifest.json +1 -1
  59. package/dist/manifests/link-tabs.manifest.json +1 -1
  60. package/dist/manifests/link.manifest.json +1 -1
  61. package/dist/manifests/list.manifest.json +1 -1
  62. package/dist/manifests/load-more.manifest.json +1 -1
  63. package/dist/manifests/logo-cloud.manifest.json +1 -1
  64. package/dist/manifests/menu.manifest.json +1 -1
  65. package/dist/manifests/metric-card.manifest.json +1 -1
  66. package/dist/manifests/multi-select.manifest.json +1 -1
  67. package/dist/manifests/newsletter.manifest.json +1 -1
  68. package/dist/manifests/page-header.manifest.json +1 -1
  69. package/dist/manifests/pagination.manifest.json +1 -1
  70. package/dist/manifests/password-input.manifest.json +1 -1
  71. package/dist/manifests/popover.manifest.json +1 -1
  72. package/dist/manifests/process-steps.manifest.json +1 -1
  73. package/dist/manifests/progress.manifest.json +1 -1
  74. package/dist/manifests/prose.manifest.json +1 -1
  75. package/dist/manifests/radio.manifest.json +1 -1
  76. package/dist/manifests/range-slider.manifest.json +1 -1
  77. package/dist/manifests/search.manifest.json +1 -1
  78. package/dist/manifests/section-heading.manifest.json +1 -1
  79. package/dist/manifests/section.manifest.json +1 -1
  80. package/dist/manifests/segmented-control.manifest.json +29 -2
  81. package/dist/manifests/select-menu.manifest.json +1 -1
  82. package/dist/manifests/select.manifest.json +1 -1
  83. package/dist/manifests/separator.manifest.json +1 -1
  84. package/dist/manifests/site-footer.manifest.json +1 -1
  85. package/dist/manifests/site-header.manifest.json +1 -1
  86. package/dist/manifests/skeleton.manifest.json +1 -1
  87. package/dist/manifests/spinner.manifest.json +1 -1
  88. package/dist/manifests/stat-band.manifest.json +23 -1
  89. package/dist/manifests/stepper.manifest.json +1 -1
  90. package/dist/manifests/switch.manifest.json +1 -1
  91. package/dist/manifests/table-card.manifest.json +1 -1
  92. package/dist/manifests/table-of-contents.manifest.json +1 -1
  93. package/dist/manifests/table.manifest.json +1 -1
  94. package/dist/manifests/tabs.manifest.json +1 -1
  95. package/dist/manifests/testimonial.manifest.json +1 -1
  96. package/dist/manifests/text.manifest.json +1 -1
  97. package/dist/manifests/textarea.manifest.json +1 -1
  98. package/dist/manifests/theme-toggle.manifest.json +1 -1
  99. package/dist/manifests/time-picker.manifest.json +1 -1
  100. package/dist/manifests/timeline.manifest.json +1 -1
  101. package/dist/manifests/toast.manifest.json +1 -1
  102. package/dist/manifests/tombstone-card.manifest.json +1 -1
  103. package/dist/manifests/tooltip.manifest.json +1 -1
  104. package/dist/src/components/cover-image/CoverImage.d.ts +34 -0
  105. package/dist/src/components/cover-image/CoverImage.js +94 -0
  106. package/dist/src/components/cover-image/CoverImage.js.map +1 -0
  107. package/dist/src/components/cover-image/CoverImage.mjs +70 -0
  108. package/dist/src/components/cover-image/CoverImage.mjs.map +1 -0
  109. package/dist/src/components/cover-image/index.d.ts +1 -0
  110. package/dist/src/components/cover-image/index.js +29 -0
  111. package/dist/src/components/cover-image/index.js.map +1 -0
  112. package/dist/src/components/cover-image/index.mjs +5 -0
  113. package/dist/src/components/cover-image/index.mjs.map +1 -0
  114. package/dist/src/components/empty-state/EmptyState.d.ts +24 -0
  115. package/dist/src/components/empty-state/EmptyState.js +16 -6
  116. package/dist/src/components/empty-state/EmptyState.js.map +1 -1
  117. package/dist/src/components/empty-state/EmptyState.mjs +16 -6
  118. package/dist/src/components/empty-state/EmptyState.mjs.map +1 -1
  119. package/dist/src/components/image/Image.d.ts +3 -1
  120. package/dist/src/components/image/Image.js +2 -0
  121. package/dist/src/components/image/Image.js.map +1 -1
  122. package/dist/src/components/image/Image.mjs +2 -0
  123. package/dist/src/components/image/Image.mjs.map +1 -1
  124. package/dist/src/components/segmented-control/SegmentedControl.d.ts +21 -0
  125. package/dist/src/components/segmented-control/SegmentedControl.js +47 -16
  126. package/dist/src/components/segmented-control/SegmentedControl.js.map +1 -1
  127. package/dist/src/components/segmented-control/SegmentedControl.mjs +48 -17
  128. package/dist/src/components/segmented-control/SegmentedControl.mjs.map +1 -1
  129. package/dist/src/components/stat-band/StatBand.d.ts +16 -0
  130. package/dist/src/components/stat-band/StatBand.js +46 -9
  131. package/dist/src/components/stat-band/StatBand.js.map +1 -1
  132. package/dist/src/components/stat-band/StatBand.mjs +46 -9
  133. package/dist/src/components/stat-band/StatBand.mjs.map +1 -1
  134. package/dist/src/index.d.ts +1 -0
  135. package/dist/styles-full.css +1 -1
  136. package/dist/styles.css +1 -1
  137. package/package.json +2 -2
  138. package/src/components/cover-image/CoverImage.test.tsx +88 -0
  139. package/src/components/cover-image/CoverImage.tsx +109 -0
  140. package/src/components/cover-image/index.ts +1 -0
  141. package/src/components/empty-state/EmptyState.test.tsx +33 -0
  142. package/src/components/empty-state/EmptyState.tsx +34 -6
  143. package/src/components/image/Image.tsx +4 -0
  144. package/src/components/segmented-control/SegmentedControl.test.tsx +64 -0
  145. package/src/components/segmented-control/SegmentedControl.tsx +69 -15
  146. package/src/components/stat-band/StatBand.test.tsx +26 -0
  147. package/src/components/stat-band/StatBand.tsx +52 -7
  148. package/src/index.ts +1 -0
  149. package/src/manifests/accordion.manifest.json +1 -1
  150. package/src/manifests/alert.manifest.json +1 -1
  151. package/src/manifests/announcement-bar.manifest.json +1 -1
  152. package/src/manifests/app-shell.manifest.json +1 -1
  153. package/src/manifests/applied-filters.manifest.json +1 -1
  154. package/src/manifests/article-card.manifest.json +1 -1
  155. package/src/manifests/auth-layout.manifest.json +1 -1
  156. package/src/manifests/autocomplete.manifest.json +1 -1
  157. package/src/manifests/avatar.manifest.json +1 -1
  158. package/src/manifests/badge.manifest.json +1 -1
  159. package/src/manifests/block.manifest.json +1 -1
  160. package/src/manifests/bottom-nav.manifest.json +1 -1
  161. package/src/manifests/breadcrumb.manifest.json +1 -1
  162. package/src/manifests/button-group.manifest.json +1 -1
  163. package/src/manifests/button.manifest.json +1 -1
  164. package/src/manifests/calendar.manifest.json +1 -1
  165. package/src/manifests/card.manifest.json +1 -1
  166. package/src/manifests/checkbox.manifest.json +1 -1
  167. package/src/manifests/comparison-table.manifest.json +1 -1
  168. package/src/manifests/confirm-dialog.manifest.json +1 -1
  169. package/src/manifests/contact-strip.manifest.json +1 -1
  170. package/src/manifests/container.manifest.json +1 -1
  171. package/src/manifests/cover-image.manifest.json +151 -0
  172. package/src/manifests/cta-section.manifest.json +1 -1
  173. package/src/manifests/data-table.manifest.json +1 -1
  174. package/src/manifests/date-picker-popover.manifest.json +1 -1
  175. package/src/manifests/date-picker.manifest.json +1 -1
  176. package/src/manifests/date-range-picker.manifest.json +1 -1
  177. package/src/manifests/deal-card.manifest.json +1 -1
  178. package/src/manifests/dialog.manifest.json +1 -1
  179. package/src/manifests/document-card.manifest.json +1 -1
  180. package/src/manifests/drawer.manifest.json +1 -1
  181. package/src/manifests/empty-state.manifest.json +45 -1
  182. package/src/manifests/entity-card.manifest.json +1 -1
  183. package/src/manifests/feature-grid.manifest.json +1 -1
  184. package/src/manifests/feature-row.manifest.json +1 -1
  185. package/src/manifests/fieldset.manifest.json +1 -1
  186. package/src/manifests/file-upload.manifest.json +1 -1
  187. package/src/manifests/filter-bar.manifest.json +1 -1
  188. package/src/manifests/filter-chips.manifest.json +1 -1
  189. package/src/manifests/filter-panel.manifest.json +1 -1
  190. package/src/manifests/flex.manifest.json +1 -1
  191. package/src/manifests/form-field.manifest.json +1 -1
  192. package/src/manifests/form-layout.manifest.json +1 -1
  193. package/src/manifests/form.manifest.json +1 -1
  194. package/src/manifests/grid.manifest.json +1 -1
  195. package/src/manifests/heading.manifest.json +1 -1
  196. package/src/manifests/hero.manifest.json +1 -1
  197. package/src/manifests/image.manifest.json +7 -1
  198. package/src/manifests/input-group.manifest.json +1 -1
  199. package/src/manifests/input.manifest.json +1 -1
  200. package/src/manifests/label.manifest.json +1 -1
  201. package/src/manifests/link-tabs.manifest.json +1 -1
  202. package/src/manifests/link.manifest.json +1 -1
  203. package/src/manifests/list.manifest.json +1 -1
  204. package/src/manifests/load-more.manifest.json +1 -1
  205. package/src/manifests/logo-cloud.manifest.json +1 -1
  206. package/src/manifests/menu.manifest.json +1 -1
  207. package/src/manifests/metric-card.manifest.json +1 -1
  208. package/src/manifests/multi-select.manifest.json +1 -1
  209. package/src/manifests/newsletter.manifest.json +1 -1
  210. package/src/manifests/page-header.manifest.json +1 -1
  211. package/src/manifests/pagination.manifest.json +1 -1
  212. package/src/manifests/password-input.manifest.json +1 -1
  213. package/src/manifests/popover.manifest.json +1 -1
  214. package/src/manifests/process-steps.manifest.json +1 -1
  215. package/src/manifests/progress.manifest.json +1 -1
  216. package/src/manifests/prose.manifest.json +1 -1
  217. package/src/manifests/radio.manifest.json +1 -1
  218. package/src/manifests/range-slider.manifest.json +1 -1
  219. package/src/manifests/search.manifest.json +1 -1
  220. package/src/manifests/section-heading.manifest.json +1 -1
  221. package/src/manifests/section.manifest.json +1 -1
  222. package/src/manifests/segmented-control.manifest.json +29 -2
  223. package/src/manifests/select-menu.manifest.json +1 -1
  224. package/src/manifests/select.manifest.json +1 -1
  225. package/src/manifests/separator.manifest.json +1 -1
  226. package/src/manifests/site-footer.manifest.json +1 -1
  227. package/src/manifests/site-header.manifest.json +1 -1
  228. package/src/manifests/skeleton.manifest.json +1 -1
  229. package/src/manifests/spinner.manifest.json +1 -1
  230. package/src/manifests/stat-band.manifest.json +23 -1
  231. package/src/manifests/stepper.manifest.json +1 -1
  232. package/src/manifests/switch.manifest.json +1 -1
  233. package/src/manifests/table-card.manifest.json +1 -1
  234. package/src/manifests/table-of-contents.manifest.json +1 -1
  235. package/src/manifests/table.manifest.json +1 -1
  236. package/src/manifests/tabs.manifest.json +1 -1
  237. package/src/manifests/testimonial.manifest.json +1 -1
  238. package/src/manifests/text.manifest.json +1 -1
  239. package/src/manifests/textarea.manifest.json +1 -1
  240. package/src/manifests/theme-toggle.manifest.json +1 -1
  241. package/src/manifests/time-picker.manifest.json +1 -1
  242. package/src/manifests/timeline.manifest.json +1 -1
  243. package/src/manifests/toast.manifest.json +1 -1
  244. package/src/manifests/tombstone-card.manifest.json +1 -1
  245. package/src/manifests/tooltip.manifest.json +1 -1
  246. package/src/styles.css +5 -0
package/dist/index.js CHANGED
@@ -67,6 +67,7 @@ __export(index_exports, {
67
67
  ConfirmDialog: () => ConfirmDialog,
68
68
  ContactStrip: () => ContactStrip,
69
69
  Container: () => Container,
70
+ CoverImage: () => CoverImage,
70
71
  DataTable: () => DataTable,
71
72
  DatePicker: () => DatePicker,
72
73
  DatePickerPopover: () => DatePickerPopover,
@@ -4903,6 +4904,7 @@ function Image2({
4903
4904
  height = 630,
4904
4905
  className,
4905
4906
  imgClassName,
4907
+ sizes,
4906
4908
  style
4907
4909
  }) {
4908
4910
  const [stage, setStage] = React50.useState(0);
@@ -4924,6 +4926,7 @@ function Image2({
4924
4926
  loading: priority ? "eager" : "lazy",
4925
4927
  fetchPriority: priority ? "high" : "auto",
4926
4928
  decoding: "async",
4929
+ sizes,
4927
4930
  className: cn(className, imgClassName),
4928
4931
  style,
4929
4932
  onError
@@ -4932,9 +4935,75 @@ function Image2({
4932
4935
  }
4933
4936
  Image2.displayName = "Image";
4934
4937
 
4938
+ // src/components/cover-image/CoverImage.tsx
4939
+ var import_jsx_runtime51 = require("react/jsx-runtime");
4940
+ var aspectClasses = {
4941
+ video: "aspect-video",
4942
+ square: "aspect-square",
4943
+ wide: "aspect-[2/1]"
4944
+ };
4945
+ var gradients = [
4946
+ "linear-gradient(135deg, hsl(var(--primary) / 0.18), hsl(var(--info) / 0.10))",
4947
+ "linear-gradient(135deg, hsl(var(--info) / 0.16), hsl(var(--primary) / 0.08))",
4948
+ "linear-gradient(135deg, hsl(var(--warning) / 0.14), hsl(var(--primary) / 0.10))",
4949
+ "linear-gradient(135deg, hsl(var(--success) / 0.14), hsl(var(--info) / 0.08))"
4950
+ ];
4951
+ function hashSeed(seed) {
4952
+ let hash = 0;
4953
+ for (let i = 0; i < seed.length; i += 1) {
4954
+ hash = hash * 31 + seed.charCodeAt(i) >>> 0;
4955
+ }
4956
+ return hash;
4957
+ }
4958
+ function seededGradient(seed) {
4959
+ return { backgroundImage: gradients[hashSeed(seed) % gradients.length] };
4960
+ }
4961
+ function CoverImage({
4962
+ src,
4963
+ alt,
4964
+ aspect = "video",
4965
+ seed,
4966
+ priority = false,
4967
+ sizes,
4968
+ fallback,
4969
+ mark,
4970
+ className
4971
+ }) {
4972
+ const preset = aspectClasses[aspect];
4973
+ const aspectStyle = preset === void 0 && typeof aspect === "string" ? { aspectRatio: aspect } : void 0;
4974
+ const fallbackNode = fallback ?? /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(
4975
+ "div",
4976
+ {
4977
+ className: "flex h-full w-full items-center justify-center",
4978
+ style: seededGradient(seed ?? alt),
4979
+ "aria-hidden": "true",
4980
+ children: mark && /* @__PURE__ */ (0, import_jsx_runtime51.jsx)("span", { className: "text-muted-foreground [&_svg]:size-8", children: mark })
4981
+ }
4982
+ );
4983
+ return /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(
4984
+ "div",
4985
+ {
4986
+ className: cn("relative overflow-hidden rounded-lg bg-muted", preset, className),
4987
+ style: aspectStyle,
4988
+ children: src ? /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(
4989
+ Image2,
4990
+ {
4991
+ src,
4992
+ alt,
4993
+ priority,
4994
+ sizes,
4995
+ fallback: fallbackNode,
4996
+ className: "h-full w-full object-cover"
4997
+ }
4998
+ ) : fallbackNode
4999
+ }
5000
+ );
5001
+ }
5002
+ CoverImage.displayName = "CoverImage";
5003
+
4935
5004
  // src/components/text/Text.tsx
4936
5005
  var React51 = __toESM(require("react"));
4937
- var import_jsx_runtime51 = require("react/jsx-runtime");
5006
+ var import_jsx_runtime52 = require("react/jsx-runtime");
4938
5007
  var sizeClasses4 = {
4939
5008
  xs: "text-xs",
4940
5009
  sm: "text-sm",
@@ -4951,7 +5020,7 @@ var weightClasses = {
4951
5020
  var Text = React51.forwardRef(
4952
5021
  ({ inline, size = "base", weight, muted, className, ...props }, ref) => {
4953
5022
  const Tag = inline ? "span" : "p";
4954
- return /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(
5023
+ return /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(
4955
5024
  Tag,
4956
5025
  {
4957
5026
  ref,
@@ -4971,7 +5040,7 @@ Text.displayName = "Text";
4971
5040
 
4972
5041
  // src/components/heading/Heading.tsx
4973
5042
  var React52 = __toESM(require("react"));
4974
- var import_jsx_runtime52 = require("react/jsx-runtime");
5043
+ var import_jsx_runtime53 = require("react/jsx-runtime");
4975
5044
  var levelClasses = {
4976
5045
  1: "text-4xl",
4977
5046
  2: "text-3xl",
@@ -4991,7 +5060,7 @@ var sizeClasses5 = {
4991
5060
  var Heading = React52.forwardRef(
4992
5061
  ({ level, size, muted, className, ...props }, ref) => {
4993
5062
  const Tag = `h${level}`;
4994
- return /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(
5063
+ return /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
4995
5064
  Tag,
4996
5065
  {
4997
5066
  ref,
@@ -5010,17 +5079,19 @@ Heading.displayName = "Heading";
5010
5079
 
5011
5080
  // src/components/empty-state/EmptyState.tsx
5012
5081
  var React53 = __toESM(require("react"));
5013
- var import_jsx_runtime53 = require("react/jsx-runtime");
5082
+ var import_jsx_runtime54 = require("react/jsx-runtime");
5014
5083
  function isActionObject(value) {
5015
5084
  return typeof value === "object" && value !== null && !React53.isValidElement(value) && "label" in value;
5016
5085
  }
5017
- function renderAction(action) {
5086
+ function renderAction(action, linkComponent, linkHrefProp = "href") {
5018
5087
  if (!isActionObject(action)) return action;
5019
5088
  const { label, onClick, href, variant } = action;
5020
5089
  if (href) {
5021
- return /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(Button, { variant, asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime53.jsx)("a", { href, children: label }) });
5090
+ const LinkEl = linkComponent ?? "a";
5091
+ const destination = linkHrefProp === "to" ? { to: href } : { href };
5092
+ return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(Button, { variant, asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(LinkEl, { ...destination, children: label }) });
5022
5093
  }
5023
- return /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(Button, { variant, onClick, children: label });
5094
+ return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(Button, { variant, onClick, children: label });
5024
5095
  }
5025
5096
  var EmptyState = React53.forwardRef(function EmptyState2({
5026
5097
  icon,
@@ -5031,27 +5102,35 @@ var EmptyState = React53.forwardRef(function EmptyState2({
5031
5102
  secondaryAction,
5032
5103
  titleAs: Title = "p",
5033
5104
  size = "md",
5105
+ align = "center",
5106
+ tone = "plain",
5107
+ linkComponent,
5108
+ linkHrefProp = "href",
5034
5109
  className,
5035
5110
  children,
5036
5111
  ...props
5037
5112
  }, ref) {
5038
- const primaryAction = renderAction(action) ?? actions;
5039
- return /* @__PURE__ */ (0, import_jsx_runtime53.jsxs)(
5113
+ const primaryAction = renderAction(action, linkComponent, linkHrefProp) ?? actions;
5114
+ const start = align === "start";
5115
+ return /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)(
5040
5116
  "div",
5041
5117
  {
5042
5118
  ref,
5043
5119
  className: cn(
5044
- "flex flex-col items-center justify-center rounded-lg border border-dashed border-border text-center",
5120
+ "flex flex-col rounded-lg text-center",
5121
+ start ? "items-start text-left" : "items-center text-center",
5122
+ "justify-center",
5123
+ tone === "panel" ? "border border-border bg-muted" : "border border-dashed border-border",
5045
5124
  size === "md" ? "gap-3 px-6 py-12" : "gap-2 px-4 py-6",
5046
5125
  className
5047
5126
  ),
5048
5127
  ...props,
5049
5128
  children: [
5050
- icon && /* @__PURE__ */ (0, import_jsx_runtime53.jsx)("div", { className: "text-muted-foreground [&_svg]:size-8", children: icon }),
5051
- /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(Title, { className: cn("font-semibold", size === "md" ? "text-base" : "text-sm"), children: title }),
5052
- description && /* @__PURE__ */ (0, import_jsx_runtime53.jsx)("p", { className: "max-w-sm text-sm text-muted-foreground", children: description }),
5129
+ icon && /* @__PURE__ */ (0, import_jsx_runtime54.jsx)("div", { className: "text-muted-foreground [&_svg]:size-8", children: icon }),
5130
+ /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(Title, { className: cn("font-semibold", size === "md" ? "text-base" : "text-sm"), children: title }),
5131
+ description && /* @__PURE__ */ (0, import_jsx_runtime54.jsx)("p", { className: cn("max-w-sm text-sm text-muted-foreground", start && "max-w-md"), children: description }),
5053
5132
  children,
5054
- (primaryAction || secondaryAction) && /* @__PURE__ */ (0, import_jsx_runtime53.jsxs)("div", { className: "mt-1 flex flex-wrap items-center justify-center gap-2", children: [
5133
+ (primaryAction || secondaryAction) && /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)("div", { className: cn("mt-1 flex flex-wrap items-center gap-2", start ? "justify-start" : "justify-center"), children: [
5055
5134
  primaryAction,
5056
5135
  secondaryAction
5057
5136
  ] })
@@ -5062,7 +5141,7 @@ var EmptyState = React53.forwardRef(function EmptyState2({
5062
5141
 
5063
5142
  // src/components/page-header/PageHeader.tsx
5064
5143
  var React54 = __toESM(require("react"));
5065
- var import_jsx_runtime54 = require("react/jsx-runtime");
5144
+ var import_jsx_runtime55 = require("react/jsx-runtime");
5066
5145
  var sizeClasses6 = {
5067
5146
  sm: "text-xl",
5068
5147
  md: "text-2xl",
@@ -5071,17 +5150,17 @@ var sizeClasses6 = {
5071
5150
  };
5072
5151
  var PageHeader = React54.forwardRef(function PageHeader2({ title, description, subtitle, breadcrumbs, actions, eyebrow, size = "md", align = "left", titleClassName, descriptionClassName, eyebrowClassName, className, children, ...props }, ref) {
5073
5152
  const supporting = description ?? subtitle;
5074
- return /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)("div", { ref, className: cn("flex flex-col gap-2", align === "center" && "items-center text-center", className), ...props, children: [
5075
- breadcrumbs && /* @__PURE__ */ (0, import_jsx_runtime54.jsx)("div", { className: "text-sm text-muted-foreground", children: breadcrumbs }),
5076
- eyebrow && /* @__PURE__ */ (0, import_jsx_runtime54.jsx)("div", { className: cn("text-xs font-medium uppercase tracking-wide text-primary-ink", eyebrowClassName), children: eyebrow }),
5077
- /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)("div", { className: cn("flex w-full flex-wrap items-start justify-between gap-3", align === "center" && "justify-center"), children: [
5078
- /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)("div", { className: cn("min-w-0", align === "center" && "flex flex-col items-center"), children: [
5079
- /* @__PURE__ */ (0, import_jsx_runtime54.jsx)("h1", { className: cn("font-semibold tracking-tight", sizeClasses6[size], titleClassName), children: title }),
5080
- supporting && /* @__PURE__ */ (0, import_jsx_runtime54.jsx)("p", { className: cn("mt-2 max-w-2xl text-base text-muted-foreground", descriptionClassName), children: supporting })
5153
+ return /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)("div", { ref, className: cn("flex flex-col gap-2", align === "center" && "items-center text-center", className), ...props, children: [
5154
+ breadcrumbs && /* @__PURE__ */ (0, import_jsx_runtime55.jsx)("div", { className: "text-sm text-muted-foreground", children: breadcrumbs }),
5155
+ eyebrow && /* @__PURE__ */ (0, import_jsx_runtime55.jsx)("div", { className: cn("text-xs font-medium uppercase tracking-wide text-primary-ink", eyebrowClassName), children: eyebrow }),
5156
+ /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)("div", { className: cn("flex w-full flex-wrap items-start justify-between gap-3", align === "center" && "justify-center"), children: [
5157
+ /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)("div", { className: cn("min-w-0", align === "center" && "flex flex-col items-center"), children: [
5158
+ /* @__PURE__ */ (0, import_jsx_runtime55.jsx)("h1", { className: cn("font-semibold tracking-tight", sizeClasses6[size], titleClassName), children: title }),
5159
+ supporting && /* @__PURE__ */ (0, import_jsx_runtime55.jsx)("p", { className: cn("mt-2 max-w-2xl text-base text-muted-foreground", descriptionClassName), children: supporting })
5081
5160
  ] }),
5082
- actions && /* @__PURE__ */ (0, import_jsx_runtime54.jsx)("div", { className: "flex shrink-0 items-center gap-2", children: actions })
5161
+ actions && /* @__PURE__ */ (0, import_jsx_runtime55.jsx)("div", { className: "flex shrink-0 items-center gap-2", children: actions })
5083
5162
  ] }),
5084
- children && /* @__PURE__ */ (0, import_jsx_runtime54.jsx)("div", { className: "mt-2", children })
5163
+ children && /* @__PURE__ */ (0, import_jsx_runtime55.jsx)("div", { className: "mt-2", children })
5085
5164
  ] });
5086
5165
  });
5087
5166
 
@@ -5102,7 +5181,7 @@ function documentHead({
5102
5181
 
5103
5182
  // src/components/section-heading/SectionHeading.tsx
5104
5183
  var React55 = __toESM(require("react"));
5105
- var import_jsx_runtime55 = require("react/jsx-runtime");
5184
+ var import_jsx_runtime56 = require("react/jsx-runtime");
5106
5185
  var sizeClasses7 = {
5107
5186
  sm: "text-lg",
5108
5187
  md: "text-2xl",
@@ -5110,7 +5189,7 @@ var sizeClasses7 = {
5110
5189
  };
5111
5190
  var SectionHeading = React55.forwardRef(function SectionHeading2({ title, description, eyebrow, actions, level = 2, align = "left", size = "md", titleClassName, descriptionClassName, eyebrowClassName, className, ...props }, ref) {
5112
5191
  const Heading2 = `h${level}`;
5113
- return /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)(
5192
+ return /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)(
5114
5193
  "div",
5115
5194
  {
5116
5195
  ref,
@@ -5121,12 +5200,12 @@ var SectionHeading = React55.forwardRef(function SectionHeading2({ title, descri
5121
5200
  ),
5122
5201
  ...props,
5123
5202
  children: [
5124
- /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)("div", { className: cn("min-w-0", align === "center" && "flex flex-col items-center"), children: [
5125
- eyebrow && /* @__PURE__ */ (0, import_jsx_runtime55.jsx)("div", { className: cn("mb-1 text-xs font-medium uppercase tracking-wide text-primary-ink", eyebrowClassName), children: eyebrow }),
5126
- /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(Heading2, { className: cn("font-semibold tracking-tight", sizeClasses7[size], titleClassName), children: title }),
5127
- description && /* @__PURE__ */ (0, import_jsx_runtime55.jsx)("p", { className: cn("mt-2 max-w-2xl text-muted-foreground", align === "center" ? "mx-auto" : "", descriptionClassName), children: description })
5203
+ /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)("div", { className: cn("min-w-0", align === "center" && "flex flex-col items-center"), children: [
5204
+ eyebrow && /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("div", { className: cn("mb-1 text-xs font-medium uppercase tracking-wide text-primary-ink", eyebrowClassName), children: eyebrow }),
5205
+ /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(Heading2, { className: cn("font-semibold tracking-tight", sizeClasses7[size], titleClassName), children: title }),
5206
+ description && /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("p", { className: cn("mt-2 max-w-2xl text-muted-foreground", align === "center" ? "mx-auto" : "", descriptionClassName), children: description })
5128
5207
  ] }),
5129
- actions && /* @__PURE__ */ (0, import_jsx_runtime55.jsx)("div", { className: "flex shrink-0 items-center gap-2", children: actions })
5208
+ actions && /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("div", { className: "flex shrink-0 items-center gap-2", children: actions })
5130
5209
  ]
5131
5210
  }
5132
5211
  );
@@ -5134,7 +5213,7 @@ var SectionHeading = React55.forwardRef(function SectionHeading2({ title, descri
5134
5213
 
5135
5214
  // src/components/metric-card/MetricCard.tsx
5136
5215
  var React56 = __toESM(require("react"));
5137
- var import_jsx_runtime56 = require("react/jsx-runtime");
5216
+ var import_jsx_runtime57 = require("react/jsx-runtime");
5138
5217
  var trendClasses = {
5139
5218
  up: "text-success",
5140
5219
  down: "text-destructive",
@@ -5151,7 +5230,7 @@ var MetricCard = React56.forwardRef(function MetricCard2({ label, value, hint, t
5151
5230
  const heading = label ?? title;
5152
5231
  const supporting = hint ?? description;
5153
5232
  if (loading) {
5154
- return /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)(
5233
+ return /* @__PURE__ */ (0, import_jsx_runtime57.jsxs)(
5155
5234
  "div",
5156
5235
  {
5157
5236
  ref,
@@ -5159,41 +5238,41 @@ var MetricCard = React56.forwardRef(function MetricCard2({ label, value, hint, t
5159
5238
  className: cn("rounded-xl border border-border bg-card p-5", className),
5160
5239
  ...props,
5161
5240
  children: [
5162
- /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)("div", { className: "flex items-start justify-between gap-3", children: [
5163
- heading && /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("p", { className: "text-sm text-muted-foreground", children: heading }),
5164
- icon && /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("span", { className: "text-muted-foreground [&_svg]:size-4", children: icon })
5241
+ /* @__PURE__ */ (0, import_jsx_runtime57.jsxs)("div", { className: "flex items-start justify-between gap-3", children: [
5242
+ heading && /* @__PURE__ */ (0, import_jsx_runtime57.jsx)("p", { className: "text-sm text-muted-foreground", children: heading }),
5243
+ icon && /* @__PURE__ */ (0, import_jsx_runtime57.jsx)("span", { className: "text-muted-foreground [&_svg]:size-4", children: icon })
5165
5244
  ] }),
5166
- /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("span", { "aria-hidden": "true", className: "mt-3 block h-7 w-24 animate-pulse rounded-md bg-muted" }),
5167
- /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("span", { className: "sr-only", children: "Loading" })
5245
+ /* @__PURE__ */ (0, import_jsx_runtime57.jsx)("span", { "aria-hidden": "true", className: "mt-3 block h-7 w-24 animate-pulse rounded-md bg-muted" }),
5246
+ /* @__PURE__ */ (0, import_jsx_runtime57.jsx)("span", { className: "sr-only", children: "Loading" })
5168
5247
  ]
5169
5248
  }
5170
5249
  );
5171
5250
  }
5172
- return /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)("div", { ref, className: cn("rounded-xl border border-border bg-card p-5", className), ...props, children: [
5173
- /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)("div", { className: "flex items-start justify-between gap-3", children: [
5174
- heading && /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("p", { className: "text-sm text-muted-foreground", children: heading }),
5175
- icon && /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("span", { className: "text-muted-foreground [&_svg]:size-4", children: icon })
5251
+ return /* @__PURE__ */ (0, import_jsx_runtime57.jsxs)("div", { ref, className: cn("rounded-xl border border-border bg-card p-5", className), ...props, children: [
5252
+ /* @__PURE__ */ (0, import_jsx_runtime57.jsxs)("div", { className: "flex items-start justify-between gap-3", children: [
5253
+ heading && /* @__PURE__ */ (0, import_jsx_runtime57.jsx)("p", { className: "text-sm text-muted-foreground", children: heading }),
5254
+ icon && /* @__PURE__ */ (0, import_jsx_runtime57.jsx)("span", { className: "text-muted-foreground [&_svg]:size-4", children: icon })
5176
5255
  ] }),
5177
- /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("p", { className: cn("mt-2 text-2xl font-semibold tabular-nums", toneClasses[tone]), children: value }),
5178
- (delta || supporting) && /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)("p", { className: "mt-1 flex items-center gap-2 text-sm", children: [
5179
- delta && /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)("span", { className: cn("font-medium tabular-nums", trendClasses[trend]), children: [
5180
- /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("span", { "aria-hidden": "true", children: trendGlyph[trend] }),
5256
+ /* @__PURE__ */ (0, import_jsx_runtime57.jsx)("p", { className: cn("mt-2 text-2xl font-semibold tabular-nums", toneClasses[tone]), children: value }),
5257
+ (delta || supporting) && /* @__PURE__ */ (0, import_jsx_runtime57.jsxs)("p", { className: "mt-1 flex items-center gap-2 text-sm", children: [
5258
+ delta && /* @__PURE__ */ (0, import_jsx_runtime57.jsxs)("span", { className: cn("font-medium tabular-nums", trendClasses[trend]), children: [
5259
+ /* @__PURE__ */ (0, import_jsx_runtime57.jsx)("span", { "aria-hidden": "true", children: trendGlyph[trend] }),
5181
5260
  " ",
5182
5261
  delta
5183
5262
  ] }),
5184
- supporting && /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("span", { className: "text-muted-foreground", children: supporting })
5263
+ supporting && /* @__PURE__ */ (0, import_jsx_runtime57.jsx)("span", { className: "text-muted-foreground", children: supporting })
5185
5264
  ] })
5186
5265
  ] });
5187
5266
  });
5188
5267
 
5189
5268
  // src/components/password-input/PasswordInput.tsx
5190
5269
  var React57 = __toESM(require("react"));
5191
- var import_jsx_runtime57 = require("react/jsx-runtime");
5270
+ var import_jsx_runtime58 = require("react/jsx-runtime");
5192
5271
  var PasswordInput = React57.forwardRef(function PasswordInput2({ className, showLabel = "Show password", hideLabel = "Hide password", ...props }, ref) {
5193
5272
  const [visible, setVisible] = React57.useState(false);
5194
- return /* @__PURE__ */ (0, import_jsx_runtime57.jsxs)("div", { className: cn("relative flex items-center", className), children: [
5195
- /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(Input, { ref, type: visible ? "text" : "password", className: "pr-24", ...props }),
5196
- /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(
5273
+ return /* @__PURE__ */ (0, import_jsx_runtime58.jsxs)("div", { className: cn("relative flex items-center", className), children: [
5274
+ /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(Input, { ref, type: visible ? "text" : "password", className: "pr-24", ...props }),
5275
+ /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(
5197
5276
  Button,
5198
5277
  {
5199
5278
  type: "button",
@@ -5211,7 +5290,7 @@ var PasswordInput = React57.forwardRef(function PasswordInput2({ className, show
5211
5290
 
5212
5291
  // src/components/auth-layout/AuthLayout.tsx
5213
5292
  var React58 = __toESM(require("react"));
5214
- var import_jsx_runtime58 = require("react/jsx-runtime");
5293
+ var import_jsx_runtime59 = require("react/jsx-runtime");
5215
5294
  var sizeClasses8 = {
5216
5295
  sm: "max-w-sm",
5217
5296
  md: "max-w-md",
@@ -5236,7 +5315,7 @@ var AuthLayout = React58.forwardRef(function AuthLayout2({
5236
5315
  const supporting = description ?? subtitle;
5237
5316
  const mark = brand ?? logo;
5238
5317
  const widthStyle = maxWidth === void 0 ? void 0 : { maxWidth: typeof maxWidth === "number" ? `${maxWidth}px` : maxWidth };
5239
- const form = /* @__PURE__ */ (0, import_jsx_runtime58.jsxs)(
5318
+ const form = /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)(
5240
5319
  "div",
5241
5320
  {
5242
5321
  className: cn(
@@ -5245,8 +5324,8 @@ var AuthLayout = React58.forwardRef(function AuthLayout2({
5245
5324
  ),
5246
5325
  style: widthStyle,
5247
5326
  children: [
5248
- mark && /* @__PURE__ */ (0, import_jsx_runtime58.jsx)("div", { className: "mb-6", children: mark }),
5249
- /* @__PURE__ */ (0, import_jsx_runtime58.jsxs)(
5327
+ mark && /* @__PURE__ */ (0, import_jsx_runtime59.jsx)("div", { className: "mb-6", children: mark }),
5328
+ /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)(
5250
5329
  "div",
5251
5330
  {
5252
5331
  className: cn(
@@ -5255,31 +5334,31 @@ var AuthLayout = React58.forwardRef(function AuthLayout2({
5255
5334
  ),
5256
5335
  style: widthStyle,
5257
5336
  children: [
5258
- /* @__PURE__ */ (0, import_jsx_runtime58.jsx)("h1", { className: "text-xl font-semibold tracking-tight", children: title }),
5259
- supporting && /* @__PURE__ */ (0, import_jsx_runtime58.jsx)("p", { className: "mt-1 text-sm text-muted-foreground", children: supporting }),
5260
- /* @__PURE__ */ (0, import_jsx_runtime58.jsx)("div", { className: "mt-6", children })
5337
+ /* @__PURE__ */ (0, import_jsx_runtime59.jsx)("h1", { className: "text-xl font-semibold tracking-tight", children: title }),
5338
+ supporting && /* @__PURE__ */ (0, import_jsx_runtime59.jsx)("p", { className: "mt-1 text-sm text-muted-foreground", children: supporting }),
5339
+ /* @__PURE__ */ (0, import_jsx_runtime59.jsx)("div", { className: "mt-6", children })
5261
5340
  ]
5262
5341
  }
5263
5342
  ),
5264
- footer && /* @__PURE__ */ (0, import_jsx_runtime58.jsx)("div", { className: "mt-6 text-center text-sm text-muted-foreground", children: footer })
5343
+ footer && /* @__PURE__ */ (0, import_jsx_runtime59.jsx)("div", { className: "mt-6 text-center text-sm text-muted-foreground", children: footer })
5265
5344
  ]
5266
5345
  }
5267
5346
  );
5268
5347
  if (split) {
5269
- return /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(
5348
+ return /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
5270
5349
  "div",
5271
5350
  {
5272
5351
  ref,
5273
5352
  className: cn("min-h-screen bg-muted/30 px-4 py-12 lg:px-8", className),
5274
5353
  ...props,
5275
- children: /* @__PURE__ */ (0, import_jsx_runtime58.jsxs)("div", { className: "mx-auto grid min-h-[calc(100vh-6rem)] w-full max-w-6xl items-center gap-10 lg:grid-cols-[minmax(0,1fr)_minmax(0,1.1fr)]", children: [
5354
+ children: /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)("div", { className: "mx-auto grid min-h-[calc(100vh-6rem)] w-full max-w-6xl items-center gap-10 lg:grid-cols-[minmax(0,1fr)_minmax(0,1.1fr)]", children: [
5276
5355
  form,
5277
- /* @__PURE__ */ (0, import_jsx_runtime58.jsx)("aside", { className: "w-full", children: aside })
5356
+ /* @__PURE__ */ (0, import_jsx_runtime59.jsx)("aside", { className: "w-full", children: aside })
5278
5357
  ] })
5279
5358
  }
5280
5359
  );
5281
5360
  }
5282
- return /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(
5361
+ return /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
5283
5362
  "div",
5284
5363
  {
5285
5364
  ref,
@@ -5295,7 +5374,7 @@ var AuthLayout = React58.forwardRef(function AuthLayout2({
5295
5374
 
5296
5375
  // src/components/filter-bar/FilterBar.tsx
5297
5376
  var React59 = __toESM(require("react"));
5298
- var import_jsx_runtime59 = require("react/jsx-runtime");
5377
+ var import_jsx_runtime60 = require("react/jsx-runtime");
5299
5378
  var FilterBar = React59.forwardRef(function FilterBar2({
5300
5379
  searchValue,
5301
5380
  onSearchChange,
@@ -5311,7 +5390,7 @@ var FilterBar = React59.forwardRef(function FilterBar2({
5311
5390
  children,
5312
5391
  ...props
5313
5392
  }, ref) {
5314
- return /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)(
5393
+ return /* @__PURE__ */ (0, import_jsx_runtime60.jsxs)(
5315
5394
  "div",
5316
5395
  {
5317
5396
  ref,
@@ -5322,7 +5401,7 @@ var FilterBar = React59.forwardRef(function FilterBar2({
5322
5401
  ),
5323
5402
  ...props,
5324
5403
  children: [
5325
- onSearchChange !== void 0 && /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
5404
+ onSearchChange !== void 0 && /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(
5326
5405
  Input,
5327
5406
  {
5328
5407
  type: "search",
@@ -5333,21 +5412,21 @@ var FilterBar = React59.forwardRef(function FilterBar2({
5333
5412
  className: "h-9 w-full min-w-40 flex-1 sm:w-auto"
5334
5413
  }
5335
5414
  ),
5336
- /* @__PURE__ */ (0, import_jsx_runtime59.jsx)("div", { className: "flex flex-wrap items-center gap-2", children }),
5337
- onOpenFilters && /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)(Button, { type: "button", variant: "outline", size: "sm", onClick: onOpenFilters, children: [
5415
+ /* @__PURE__ */ (0, import_jsx_runtime60.jsx)("div", { className: "flex flex-wrap items-center gap-2", children }),
5416
+ onOpenFilters && /* @__PURE__ */ (0, import_jsx_runtime60.jsxs)(Button, { type: "button", variant: "outline", size: "sm", onClick: onOpenFilters, children: [
5338
5417
  filtersLabel,
5339
5418
  activeCount > 0 ? ` (${activeCount})` : ""
5340
5419
  ] }),
5341
- onReset && /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)(Button, { type: "button", variant: "ghost", size: "sm", onClick: onReset, children: [
5420
+ onReset && /* @__PURE__ */ (0, import_jsx_runtime60.jsxs)(Button, { type: "button", variant: "ghost", size: "sm", onClick: onReset, children: [
5342
5421
  "Reset",
5343
5422
  activeCount > 0 ? ` (${activeCount})` : ""
5344
5423
  ] }),
5345
- resultsCount !== void 0 && /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)("span", { className: "ml-auto text-sm text-muted-foreground", children: [
5424
+ resultsCount !== void 0 && /* @__PURE__ */ (0, import_jsx_runtime60.jsxs)("span", { className: "ml-auto text-sm text-muted-foreground", children: [
5346
5425
  resultsCount,
5347
5426
  " ",
5348
5427
  resultsLabel
5349
5428
  ] }),
5350
- trailing && /* @__PURE__ */ (0, import_jsx_runtime59.jsx)("div", { className: cn("flex items-center gap-2", resultsCount === void 0 && "ml-auto"), children: trailing })
5429
+ trailing && /* @__PURE__ */ (0, import_jsx_runtime60.jsx)("div", { className: cn("flex items-center gap-2", resultsCount === void 0 && "ml-auto"), children: trailing })
5351
5430
  ]
5352
5431
  }
5353
5432
  );
@@ -5355,7 +5434,7 @@ var FilterBar = React59.forwardRef(function FilterBar2({
5355
5434
 
5356
5435
  // src/components/date-picker/DatePicker.tsx
5357
5436
  var React60 = __toESM(require("react"));
5358
- var import_jsx_runtime60 = require("react/jsx-runtime");
5437
+ var import_jsx_runtime61 = require("react/jsx-runtime");
5359
5438
  var DatePicker = React60.forwardRef(function DatePicker2({ value, defaultValue, onValueChange, onChange, clearable = false, clearLabel = "Clear date", className, ...props }, ref) {
5360
5439
  const [internal, setInternal] = React60.useState(defaultValue ?? "");
5361
5440
  const current = value ?? internal;
@@ -5363,8 +5442,8 @@ var DatePicker = React60.forwardRef(function DatePicker2({ value, defaultValue,
5363
5442
  if (value === void 0) setInternal(next);
5364
5443
  onValueChange?.(next);
5365
5444
  };
5366
- return /* @__PURE__ */ (0, import_jsx_runtime60.jsxs)("div", { className: cn("relative flex items-center", className), children: [
5367
- /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(
5445
+ return /* @__PURE__ */ (0, import_jsx_runtime61.jsxs)("div", { className: cn("relative flex items-center", className), children: [
5446
+ /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(
5368
5447
  Input,
5369
5448
  {
5370
5449
  ref,
@@ -5378,7 +5457,7 @@ var DatePicker = React60.forwardRef(function DatePicker2({ value, defaultValue,
5378
5457
  ...props
5379
5458
  }
5380
5459
  ),
5381
- clearable && current && /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(
5460
+ clearable && current && /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(
5382
5461
  "button",
5383
5462
  {
5384
5463
  type: "button",
@@ -5464,7 +5543,7 @@ function computePosition({
5464
5543
  }
5465
5544
 
5466
5545
  // src/components/popover/Popover.tsx
5467
- var import_jsx_runtime61 = require("react/jsx-runtime");
5546
+ var import_jsx_runtime62 = require("react/jsx-runtime");
5468
5547
  var PopoverContext = React61.createContext({
5469
5548
  open: false,
5470
5549
  setOpen: () => {
@@ -5499,7 +5578,7 @@ var Popover = React61.forwardRef(
5499
5578
  },
5500
5579
  [open, onOpenChange]
5501
5580
  );
5502
- return /* @__PURE__ */ (0, import_jsx_runtime61.jsx)("div", { ref: setRefs, className: cn("relative inline-block", className), children: /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(
5581
+ return /* @__PURE__ */ (0, import_jsx_runtime62.jsx)("div", { ref: setRefs, className: cn("relative inline-block", className), children: /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
5503
5582
  PopoverContext.Provider,
5504
5583
  {
5505
5584
  value: { open: current, setOpen, triggerId, contentId, wrapperRef, anchorRef, triggerRef },
@@ -5520,7 +5599,7 @@ var PopoverTrigger = React61.forwardRef(
5520
5599
  },
5521
5600
  [ref, triggerRef]
5522
5601
  );
5523
- return /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(
5602
+ return /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
5524
5603
  "button",
5525
5604
  {
5526
5605
  ref: setRefs,
@@ -5556,7 +5635,7 @@ var PopoverAnchor = React61.forwardRef(
5556
5635
  },
5557
5636
  [anchorRef, ref]
5558
5637
  );
5559
- return /* @__PURE__ */ (0, import_jsx_runtime61.jsx)("span", { ref: setRefs, className: cn("inline-block", className), ...props, children });
5638
+ return /* @__PURE__ */ (0, import_jsx_runtime62.jsx)("span", { ref: setRefs, className: cn("inline-block", className), ...props, children });
5560
5639
  }
5561
5640
  );
5562
5641
  PopoverAnchor.displayName = "PopoverAnchor";
@@ -5656,7 +5735,7 @@ var PopoverContent = React61.forwardRef(
5656
5735
  }, [open, pos]);
5657
5736
  if (!open || typeof document === "undefined") return null;
5658
5737
  return (0, import_react_dom7.createPortal)(
5659
- /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(
5738
+ /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
5660
5739
  "div",
5661
5740
  {
5662
5741
  ref: (node) => {
@@ -5701,7 +5780,7 @@ var PopoverContent = React61.forwardRef(
5701
5780
  PopoverContent.displayName = "PopoverContent";
5702
5781
 
5703
5782
  // src/components/date-picker-popover/DatePickerPopover.tsx
5704
- var import_jsx_runtime62 = require("react/jsx-runtime");
5783
+ var import_jsx_runtime63 = require("react/jsx-runtime");
5705
5784
  var DatePickerPopover = React62.forwardRef(
5706
5785
  ({
5707
5786
  value,
@@ -5734,9 +5813,9 @@ var DatePickerPopover = React62.forwardRef(
5734
5813
  [ref]
5735
5814
  );
5736
5815
  const label = value ? formatDateLabel(value, locale) : placeholder;
5737
- return /* @__PURE__ */ (0, import_jsx_runtime62.jsxs)(import_jsx_runtime62.Fragment, { children: [
5738
- /* @__PURE__ */ (0, import_jsx_runtime62.jsxs)(Popover, { open, onOpenChange: setOpen, children: [
5739
- /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
5816
+ return /* @__PURE__ */ (0, import_jsx_runtime63.jsxs)(import_jsx_runtime63.Fragment, { children: [
5817
+ /* @__PURE__ */ (0, import_jsx_runtime63.jsxs)(Popover, { open, onOpenChange: setOpen, children: [
5818
+ /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(
5740
5819
  PopoverTrigger,
5741
5820
  {
5742
5821
  ref: setTriggerRef,
@@ -5754,7 +5833,7 @@ var DatePickerPopover = React62.forwardRef(
5754
5833
  children: label
5755
5834
  }
5756
5835
  ),
5757
- /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(PopoverContent, { side, align, matchTriggerWidth: true, className: "w-auto p-3", children: /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
5836
+ /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(PopoverContent, { side, align, matchTriggerWidth: true, className: "w-auto p-3", children: /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(
5758
5837
  Calendar,
5759
5838
  {
5760
5839
  value,
@@ -5772,7 +5851,7 @@ var DatePickerPopover = React62.forwardRef(
5772
5851
  }
5773
5852
  ) })
5774
5853
  ] }),
5775
- name ? /* @__PURE__ */ (0, import_jsx_runtime62.jsx)("input", { type: "hidden", name, value: value ?? "", required }) : null
5854
+ name ? /* @__PURE__ */ (0, import_jsx_runtime63.jsx)("input", { type: "hidden", name, value: value ?? "", required }) : null
5776
5855
  ] });
5777
5856
  }
5778
5857
  );
@@ -5780,7 +5859,7 @@ DatePickerPopover.displayName = "DatePickerPopover";
5780
5859
 
5781
5860
  // src/components/time-picker/TimePicker.tsx
5782
5861
  var React63 = __toESM(require("react"));
5783
- var import_jsx_runtime63 = require("react/jsx-runtime");
5862
+ var import_jsx_runtime64 = require("react/jsx-runtime");
5784
5863
  var TimePicker = React63.forwardRef(function TimePicker2({ value, defaultValue, onValueChange, onChange, clearable = false, clearLabel = "Clear time", className, ...props }, ref) {
5785
5864
  const [internal, setInternal] = React63.useState(defaultValue ?? "");
5786
5865
  const current = value ?? internal;
@@ -5788,8 +5867,8 @@ var TimePicker = React63.forwardRef(function TimePicker2({ value, defaultValue,
5788
5867
  if (value === void 0) setInternal(next);
5789
5868
  onValueChange?.(next);
5790
5869
  };
5791
- return /* @__PURE__ */ (0, import_jsx_runtime63.jsxs)("div", { className: cn("relative flex items-center", className), children: [
5792
- /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(
5870
+ return /* @__PURE__ */ (0, import_jsx_runtime64.jsxs)("div", { className: cn("relative flex items-center", className), children: [
5871
+ /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(
5793
5872
  Input,
5794
5873
  {
5795
5874
  ref,
@@ -5803,7 +5882,7 @@ var TimePicker = React63.forwardRef(function TimePicker2({ value, defaultValue,
5803
5882
  ...props
5804
5883
  }
5805
5884
  ),
5806
- clearable && current && /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(
5885
+ clearable && current && /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(
5807
5886
  "button",
5808
5887
  {
5809
5888
  type: "button",
@@ -5818,7 +5897,7 @@ var TimePicker = React63.forwardRef(function TimePicker2({ value, defaultValue,
5818
5897
 
5819
5898
  // src/components/stepper/Stepper.tsx
5820
5899
  var React64 = __toESM(require("react"));
5821
- var import_jsx_runtime64 = require("react/jsx-runtime");
5900
+ var import_jsx_runtime65 = require("react/jsx-runtime");
5822
5901
  var Stepper = React64.forwardRef(function Stepper2({
5823
5902
  steps,
5824
5903
  current,
@@ -5842,7 +5921,7 @@ var Stepper = React64.forwardRef(function Stepper2({
5842
5921
  const verticalTitlePad = size === "sm" ? "pt-0.5" : "pt-1";
5843
5922
  const connectorTop = variant === "dots" ? size === "sm" ? "mt-1" : "mt-[5px]" : size === "sm" ? "mt-3" : "mt-3.5";
5844
5923
  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";
5845
- return /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(
5924
+ return /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
5846
5925
  "ol",
5847
5926
  {
5848
5927
  ref,
@@ -5856,7 +5935,7 @@ var Stepper = React64.forwardRef(function Stepper2({
5856
5935
  const isLast = index === steps.length - 1;
5857
5936
  const titleCentered = alignTitles === "center" && !step.description;
5858
5937
  const below = !vertical && labelPlacement === "below";
5859
- const marker = /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(
5938
+ const marker = /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
5860
5939
  "span",
5861
5940
  {
5862
5941
  "aria-hidden": "true",
@@ -5878,8 +5957,8 @@ var Stepper = React64.forwardRef(function Stepper2({
5878
5957
  children: variant === "numbered" ? state === "complete" ? "\u2713" : index + 1 : null
5879
5958
  }
5880
5959
  );
5881
- const label = /* @__PURE__ */ (0, import_jsx_runtime64.jsxs)("span", { className: "min-w-0", children: [
5882
- /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(
5960
+ const label = /* @__PURE__ */ (0, import_jsx_runtime65.jsxs)("span", { className: "min-w-0", children: [
5961
+ /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
5883
5962
  "span",
5884
5963
  {
5885
5964
  className: cn(
@@ -5891,7 +5970,7 @@ var Stepper = React64.forwardRef(function Stepper2({
5891
5970
  children: step.label
5892
5971
  }
5893
5972
  ),
5894
- step.description && /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(
5973
+ step.description && /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
5895
5974
  "span",
5896
5975
  {
5897
5976
  className: cn(
@@ -5902,9 +5981,9 @@ var Stepper = React64.forwardRef(function Stepper2({
5902
5981
  children: step.description
5903
5982
  }
5904
5983
  ),
5905
- /* @__PURE__ */ (0, import_jsx_runtime64.jsx)("span", { className: "sr-only", children: state === "complete" ? labels?.completed ?? " (completed)" : state === "current" ? labels?.current ?? " (current step)" : labels?.upcoming ?? " (upcoming)" })
5984
+ /* @__PURE__ */ (0, import_jsx_runtime65.jsx)("span", { className: "sr-only", children: state === "complete" ? labels?.completed ?? " (completed)" : state === "current" ? labels?.current ?? " (current step)" : labels?.upcoming ?? " (upcoming)" })
5906
5985
  ] });
5907
- const renderRow = (children, rowClassName) => interactive ? /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(
5986
+ const renderRow = (children, rowClassName) => interactive ? /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
5908
5987
  "button",
5909
5988
  {
5910
5989
  type: "button",
@@ -5913,29 +5992,29 @@ var Stepper = React64.forwardRef(function Stepper2({
5913
5992
  className: cn(rowClassName, focusClass),
5914
5993
  children
5915
5994
  }
5916
- ) : /* @__PURE__ */ (0, import_jsx_runtime64.jsx)("div", { "aria-current": state === "current" ? "step" : void 0, className: rowClassName, children });
5995
+ ) : /* @__PURE__ */ (0, import_jsx_runtime65.jsx)("div", { "aria-current": state === "current" ? "step" : void 0, className: rowClassName, children });
5917
5996
  if (vertical) {
5918
- return /* @__PURE__ */ (0, import_jsx_runtime64.jsx)("li", { className: "flex", children: renderRow(
5919
- /* @__PURE__ */ (0, import_jsx_runtime64.jsxs)(import_jsx_runtime64.Fragment, { children: [
5920
- /* @__PURE__ */ (0, import_jsx_runtime64.jsxs)("div", { className: "flex flex-col items-center", children: [
5997
+ return /* @__PURE__ */ (0, import_jsx_runtime65.jsx)("li", { className: "flex", children: renderRow(
5998
+ /* @__PURE__ */ (0, import_jsx_runtime65.jsxs)(import_jsx_runtime65.Fragment, { children: [
5999
+ /* @__PURE__ */ (0, import_jsx_runtime65.jsxs)("div", { className: "flex flex-col items-center", children: [
5921
6000
  marker,
5922
- !isLast && /* @__PURE__ */ (0, import_jsx_runtime64.jsx)("span", { "aria-hidden": "true", className: "my-1 w-px flex-1 rounded-full bg-border" })
6001
+ !isLast && /* @__PURE__ */ (0, import_jsx_runtime65.jsx)("span", { "aria-hidden": "true", className: "my-1 w-px flex-1 rounded-full bg-border" })
5923
6002
  ] }),
5924
- /* @__PURE__ */ (0, import_jsx_runtime64.jsx)("div", { className: cn("min-w-0 pb-6", titleCentered && verticalTitlePad), children: label })
6003
+ /* @__PURE__ */ (0, import_jsx_runtime65.jsx)("div", { className: cn("min-w-0 pb-6", titleCentered && verticalTitlePad), children: label })
5925
6004
  ] }),
5926
6005
  "flex w-full items-stretch gap-3 text-left"
5927
6006
  ) }, step.label);
5928
6007
  }
5929
6008
  if (below) {
5930
- return /* @__PURE__ */ (0, import_jsx_runtime64.jsxs)("li", { className: "flex min-w-0 flex-1 items-start gap-2", children: [
6009
+ return /* @__PURE__ */ (0, import_jsx_runtime65.jsxs)("li", { className: "flex min-w-0 flex-1 items-start gap-2", children: [
5931
6010
  renderRow(
5932
- /* @__PURE__ */ (0, import_jsx_runtime64.jsxs)(import_jsx_runtime64.Fragment, { children: [
6011
+ /* @__PURE__ */ (0, import_jsx_runtime65.jsxs)(import_jsx_runtime65.Fragment, { children: [
5933
6012
  marker,
5934
6013
  label
5935
6014
  ] }),
5936
6015
  "flex min-w-0 flex-1 flex-col items-center gap-2 text-center"
5937
6016
  ),
5938
- !isLast && /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(
6017
+ !isLast && /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
5939
6018
  "span",
5940
6019
  {
5941
6020
  "aria-hidden": "true",
@@ -5944,15 +6023,15 @@ var Stepper = React64.forwardRef(function Stepper2({
5944
6023
  )
5945
6024
  ] }, step.label);
5946
6025
  }
5947
- return /* @__PURE__ */ (0, import_jsx_runtime64.jsxs)("li", { className: "flex min-w-0 items-start gap-2", children: [
6026
+ return /* @__PURE__ */ (0, import_jsx_runtime65.jsxs)("li", { className: "flex min-w-0 items-start gap-2", children: [
5948
6027
  renderRow(
5949
- /* @__PURE__ */ (0, import_jsx_runtime64.jsxs)(import_jsx_runtime64.Fragment, { children: [
6028
+ /* @__PURE__ */ (0, import_jsx_runtime65.jsxs)(import_jsx_runtime65.Fragment, { children: [
5950
6029
  marker,
5951
6030
  label
5952
6031
  ] }),
5953
6032
  cn("flex min-w-0 text-left", gapClass, titleCentered ? "items-center" : "items-start")
5954
6033
  ),
5955
- !isLast && /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(
6034
+ !isLast && /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
5956
6035
  "span",
5957
6036
  {
5958
6037
  "aria-hidden": "true",
@@ -5967,7 +6046,7 @@ var Stepper = React64.forwardRef(function Stepper2({
5967
6046
 
5968
6047
  // src/components/file-upload/FileUpload.tsx
5969
6048
  var React65 = __toESM(require("react"));
5970
- var import_jsx_runtime65 = require("react/jsx-runtime");
6049
+ var import_jsx_runtime66 = require("react/jsx-runtime");
5971
6050
  function formatSize(bytes) {
5972
6051
  if (bytes < 1024) return `${bytes} B`;
5973
6052
  if (bytes < 1024 * 1024) return `${(bytes / 1024).toFixed(1)} KB`;
@@ -6014,8 +6093,8 @@ var FileUpload = React65.forwardRef(function FileUpload2({
6014
6093
  const list = Array.from(incoming);
6015
6094
  commit(multiple ? [...current, ...list] : list.slice(0, 1));
6016
6095
  };
6017
- return /* @__PURE__ */ (0, import_jsx_runtime65.jsxs)("div", { className: cn("flex flex-col gap-3", className), children: [
6018
- /* @__PURE__ */ (0, import_jsx_runtime65.jsxs)(
6096
+ return /* @__PURE__ */ (0, import_jsx_runtime66.jsxs)("div", { className: cn("flex flex-col gap-3", className), children: [
6097
+ /* @__PURE__ */ (0, import_jsx_runtime66.jsxs)(
6019
6098
  "div",
6020
6099
  {
6021
6100
  onDragOver: (event) => {
@@ -6036,9 +6115,9 @@ var FileUpload = React65.forwardRef(function FileUpload2({
6036
6115
  disabled && "opacity-50"
6037
6116
  ),
6038
6117
  children: [
6039
- /* @__PURE__ */ (0, import_jsx_runtime65.jsxs)("label", { htmlFor: inputId, className: cn("block text-sm", disabled ? "cursor-not-allowed" : "cursor-pointer"), children: [
6118
+ /* @__PURE__ */ (0, import_jsx_runtime66.jsxs)("label", { htmlFor: inputId, className: cn("block text-sm", disabled ? "cursor-not-allowed" : "cursor-pointer"), children: [
6040
6119
  label,
6041
- /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
6120
+ /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(
6042
6121
  "input",
6043
6122
  {
6044
6123
  ref,
@@ -6056,15 +6135,15 @@ var FileUpload = React65.forwardRef(function FileUpload2({
6056
6135
  }
6057
6136
  )
6058
6137
  ] }),
6059
- /* @__PURE__ */ (0, import_jsx_runtime65.jsx)("p", { className: "mt-1 text-xs text-muted-foreground", children: hint ?? (accept ? `Accepted: ${accept}` : "Any file type") })
6138
+ /* @__PURE__ */ (0, import_jsx_runtime66.jsx)("p", { className: "mt-1 text-xs text-muted-foreground", children: hint ?? (accept ? `Accepted: ${accept}` : "Any file type") })
6060
6139
  ]
6061
6140
  }
6062
6141
  ),
6063
- current.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime65.jsx)("ul", { "aria-label": selectedFilesLabel, className: "space-y-2", children: current.map((file) => /* @__PURE__ */ (0, import_jsx_runtime65.jsxs)("li", { className: "flex items-center justify-between gap-3 rounded-md border border-border px-3 py-2", children: [
6064
- /* @__PURE__ */ (0, import_jsx_runtime65.jsxs)("div", { className: "min-w-0", children: [
6065
- /* @__PURE__ */ (0, import_jsx_runtime65.jsx)("p", { className: "truncate text-sm", children: file.name }),
6066
- /* @__PURE__ */ (0, import_jsx_runtime65.jsx)("p", { className: "text-xs text-muted-foreground", children: formatSize(file.size) }),
6067
- progress?.[file.name] !== void 0 && /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
6142
+ current.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime66.jsx)("ul", { "aria-label": selectedFilesLabel, className: "space-y-2", children: current.map((file) => /* @__PURE__ */ (0, import_jsx_runtime66.jsxs)("li", { className: "flex items-center justify-between gap-3 rounded-md border border-border px-3 py-2", children: [
6143
+ /* @__PURE__ */ (0, import_jsx_runtime66.jsxs)("div", { className: "min-w-0", children: [
6144
+ /* @__PURE__ */ (0, import_jsx_runtime66.jsx)("p", { className: "truncate text-sm", children: file.name }),
6145
+ /* @__PURE__ */ (0, import_jsx_runtime66.jsx)("p", { className: "text-xs text-muted-foreground", children: formatSize(file.size) }),
6146
+ progress?.[file.name] !== void 0 && /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(
6068
6147
  "div",
6069
6148
  {
6070
6149
  role: "progressbar",
@@ -6073,11 +6152,11 @@ var FileUpload = React65.forwardRef(function FileUpload2({
6073
6152
  "aria-valuemax": 100,
6074
6153
  "aria-label": uploadingLabel(file),
6075
6154
  className: "mt-1 h-1.5 w-40 overflow-hidden rounded-full bg-muted",
6076
- children: /* @__PURE__ */ (0, import_jsx_runtime65.jsx)("div", { className: "h-full bg-primary", style: { width: `${progress[file.name]}%` } })
6155
+ children: /* @__PURE__ */ (0, import_jsx_runtime66.jsx)("div", { className: "h-full bg-primary", style: { width: `${progress[file.name]}%` } })
6077
6156
  }
6078
6157
  )
6079
6158
  ] }),
6080
- /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
6159
+ /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(
6081
6160
  "button",
6082
6161
  {
6083
6162
  type: "button",
@@ -6093,17 +6172,17 @@ var FileUpload = React65.forwardRef(function FileUpload2({
6093
6172
 
6094
6173
  // src/components/timeline/Timeline.tsx
6095
6174
  var React66 = __toESM(require("react"));
6096
- var import_jsx_runtime66 = require("react/jsx-runtime");
6175
+ var import_jsx_runtime67 = require("react/jsx-runtime");
6097
6176
  var Timeline = React66.forwardRef(function Timeline2({ items, className, ...props }, ref) {
6098
- return /* @__PURE__ */ (0, import_jsx_runtime66.jsx)("ol", { ref, className: cn("relative flex flex-col gap-6", className), ...props, children: items.map((item, index) => /* @__PURE__ */ (0, import_jsx_runtime66.jsxs)("li", { className: "relative flex gap-4", children: [
6099
- index < items.length - 1 && /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(
6177
+ return /* @__PURE__ */ (0, import_jsx_runtime67.jsx)("ol", { ref, className: cn("relative flex flex-col gap-6", className), ...props, children: items.map((item, index) => /* @__PURE__ */ (0, import_jsx_runtime67.jsxs)("li", { className: "relative flex gap-4", children: [
6178
+ index < items.length - 1 && /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(
6100
6179
  "span",
6101
6180
  {
6102
6181
  "aria-hidden": "true",
6103
6182
  className: "absolute left-[5.5px] top-4 -bottom-7 w-px bg-border"
6104
6183
  }
6105
6184
  ),
6106
- /* @__PURE__ */ (0, import_jsx_runtime66.jsx)("div", { className: "relative z-10 flex flex-col items-center", children: /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(
6185
+ /* @__PURE__ */ (0, import_jsx_runtime67.jsx)("div", { className: "relative z-10 flex flex-col items-center", children: /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(
6107
6186
  "span",
6108
6187
  {
6109
6188
  "aria-hidden": "true",
@@ -6113,22 +6192,22 @@ var Timeline = React66.forwardRef(function Timeline2({ items, className, ...prop
6113
6192
  )
6114
6193
  }
6115
6194
  ) }),
6116
- /* @__PURE__ */ (0, import_jsx_runtime66.jsxs)("div", { className: "min-w-0 pb-1", children: [
6117
- item.period && /* @__PURE__ */ (0, import_jsx_runtime66.jsx)("p", { className: "text-xs font-medium uppercase tracking-wide text-muted-foreground", children: item.period }),
6118
- /* @__PURE__ */ (0, import_jsx_runtime66.jsx)("p", { className: cn("text-sm font-semibold", item.muted && "text-muted-foreground"), children: item.title }),
6119
- item.description && /* @__PURE__ */ (0, import_jsx_runtime66.jsx)("p", { className: "mt-1 text-sm text-muted-foreground", children: item.description }),
6120
- item.icon && /* @__PURE__ */ (0, import_jsx_runtime66.jsx)("div", { className: "mt-1 text-muted-foreground [&_svg]:size-4", children: item.icon })
6195
+ /* @__PURE__ */ (0, import_jsx_runtime67.jsxs)("div", { className: "min-w-0 pb-1", children: [
6196
+ item.period && /* @__PURE__ */ (0, import_jsx_runtime67.jsx)("p", { className: "text-xs font-medium uppercase tracking-wide text-muted-foreground", children: item.period }),
6197
+ /* @__PURE__ */ (0, import_jsx_runtime67.jsx)("p", { className: cn("text-sm font-semibold", item.muted && "text-muted-foreground"), children: item.title }),
6198
+ item.description && /* @__PURE__ */ (0, import_jsx_runtime67.jsx)("p", { className: "mt-1 text-sm text-muted-foreground", children: item.description }),
6199
+ item.icon && /* @__PURE__ */ (0, import_jsx_runtime67.jsx)("div", { className: "mt-1 text-muted-foreground [&_svg]:size-4", children: item.icon })
6121
6200
  ] })
6122
6201
  ] }, `${item.title}-${index}`)) });
6123
6202
  });
6124
6203
 
6125
6204
  // src/components/block/Block.tsx
6126
6205
  var React67 = __toESM(require("react"));
6127
- var import_jsx_runtime67 = require("react/jsx-runtime");
6206
+ var import_jsx_runtime68 = require("react/jsx-runtime");
6128
6207
  var Block = React67.forwardRef(
6129
6208
  ({ as = "div", inline, muted, className, ...props }, ref) => {
6130
6209
  const Tag = inline ? "span" : as;
6131
- return /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(
6210
+ return /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(
6132
6211
  Tag,
6133
6212
  {
6134
6213
  ref,
@@ -6142,7 +6221,7 @@ Block.displayName = "Block";
6142
6221
 
6143
6222
  // src/components/flex/Flex.tsx
6144
6223
  var React68 = __toESM(require("react"));
6145
- var import_jsx_runtime68 = require("react/jsx-runtime");
6224
+ var import_jsx_runtime69 = require("react/jsx-runtime");
6146
6225
  var justifyClasses = {
6147
6226
  start: "justify-start",
6148
6227
  center: "justify-center",
@@ -6162,7 +6241,7 @@ var Flex = React68.forwardRef(
6162
6241
  ({ direction = "row", align, justify, wrap, gap = "md", as = "div", className, style, ...props }, ref) => {
6163
6242
  const Tag = as;
6164
6243
  const gapResolved = resolveGap(gap);
6165
- return /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(
6244
+ return /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(
6166
6245
  Tag,
6167
6246
  {
6168
6247
  ref,
@@ -6197,7 +6276,7 @@ var FlexItem = React68.forwardRef(
6197
6276
  ...shrink === false ? { flexShrink: 0 } : typeof shrink === "string" && shrink ? { flexShrink: Number(shrink) || shrink } : {},
6198
6277
  ...basis ? { flexBasis: basis } : {}
6199
6278
  };
6200
- return /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(
6279
+ return /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(
6201
6280
  Tag,
6202
6281
  {
6203
6282
  ref,
@@ -6212,7 +6291,7 @@ FlexItem.displayName = "FlexItem";
6212
6291
 
6213
6292
  // src/components/grid/Grid.tsx
6214
6293
  var React69 = __toESM(require("react"));
6215
- var import_jsx_runtime69 = require("react/jsx-runtime");
6294
+ var import_jsx_runtime70 = require("react/jsx-runtime");
6216
6295
  var BASE_COLS = {
6217
6296
  1: "grid-cols-1",
6218
6297
  2: "grid-cols-2",
@@ -6281,7 +6360,7 @@ var Grid = React69.forwardRef(
6281
6360
  ({ cols, smCols, mdCols, lgCols, minCol, gap = "md", as = "div", className, style, ...props }, ref) => {
6282
6361
  const Tag = as;
6283
6362
  const gapResolved = resolveGap(gap);
6284
- return /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(
6363
+ return /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(
6285
6364
  Tag,
6286
6365
  {
6287
6366
  ref,
@@ -6308,7 +6387,7 @@ Grid.displayName = "Grid";
6308
6387
  var GridItem = React69.forwardRef(
6309
6388
  ({ span, smSpan, mdSpan, lgSpan, as = "div", className, ...props }, ref) => {
6310
6389
  const Tag = as;
6311
- return /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(
6390
+ return /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(
6312
6391
  Tag,
6313
6392
  {
6314
6393
  ref,
@@ -6328,7 +6407,7 @@ GridItem.displayName = "GridItem";
6328
6407
 
6329
6408
  // src/components/container/Container.tsx
6330
6409
  var React70 = __toESM(require("react"));
6331
- var import_jsx_runtime70 = require("react/jsx-runtime");
6410
+ var import_jsx_runtime71 = require("react/jsx-runtime");
6332
6411
  var widthClasses = {
6333
6412
  sm: "max-w-3xl",
6334
6413
  md: "max-w-5xl",
@@ -6344,7 +6423,7 @@ var paddingClasses = {
6344
6423
  };
6345
6424
  var Container = React70.forwardRef(function Container2({ width = "lg", padding = "md", as = "div", className, ...props }, ref) {
6346
6425
  const Tag = as;
6347
- return /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(
6426
+ return /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(
6348
6427
  Tag,
6349
6428
  {
6350
6429
  ref,
@@ -6356,7 +6435,7 @@ var Container = React70.forwardRef(function Container2({ width = "lg", padding =
6356
6435
 
6357
6436
  // src/components/section/Section.tsx
6358
6437
  var React71 = __toESM(require("react"));
6359
- var import_jsx_runtime71 = require("react/jsx-runtime");
6438
+ var import_jsx_runtime72 = require("react/jsx-runtime");
6360
6439
  var toneClasses2 = {
6361
6440
  default: "bg-background text-foreground",
6362
6441
  muted: "bg-muted/40 text-foreground",
@@ -6410,7 +6489,7 @@ var Section = React71.forwardRef(function Section2({
6410
6489
  }, ref) {
6411
6490
  const Tag = as;
6412
6491
  const toneStyle = tone === "inverse" ? inverseVars : tone === "brand" ? brandVars : void 0;
6413
- return /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(
6492
+ return /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(
6414
6493
  Tag,
6415
6494
  {
6416
6495
  ref,
@@ -6418,14 +6497,14 @@ var Section = React71.forwardRef(function Section2({
6418
6497
  className: cn("w-full", toneClasses2[tone], paddingClasses2[padding], className),
6419
6498
  style: { ...toneStyle, ...style },
6420
6499
  ...props,
6421
- children: container ? /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(Container, { width, className: containerClassName, children }) : children
6500
+ children: container ? /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(Container, { width, className: containerClassName, children }) : children
6422
6501
  }
6423
6502
  );
6424
6503
  });
6425
6504
 
6426
6505
  // src/components/hero/Hero.tsx
6427
6506
  var React72 = __toESM(require("react"));
6428
- var import_jsx_runtime72 = require("react/jsx-runtime");
6507
+ var import_jsx_runtime73 = require("react/jsx-runtime");
6429
6508
  var titleSizes = {
6430
6509
  md: "text-3xl sm:text-4xl md:text-5xl",
6431
6510
  lg: "text-4xl sm:text-5xl md:text-6xl lg:leading-[1.05]"
@@ -6456,7 +6535,7 @@ var Hero = React72.forwardRef(function Hero2({
6456
6535
  const Heading2 = `h${level}`;
6457
6536
  const centered = layout === "centered" || align === "center";
6458
6537
  const overlay = layout === "overlay";
6459
- const copy = /* @__PURE__ */ (0, import_jsx_runtime72.jsxs)(
6538
+ const copy = /* @__PURE__ */ (0, import_jsx_runtime73.jsxs)(
6460
6539
  "div",
6461
6540
  {
6462
6541
  className: cn(
@@ -6465,7 +6544,7 @@ var Hero = React72.forwardRef(function Hero2({
6465
6544
  overlay && "max-w-2xl"
6466
6545
  ),
6467
6546
  children: [
6468
- badge && /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(
6547
+ badge && /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(
6469
6548
  "div",
6470
6549
  {
6471
6550
  className: cn(
@@ -6476,7 +6555,7 @@ var Hero = React72.forwardRef(function Hero2({
6476
6555
  children: badge
6477
6556
  }
6478
6557
  ),
6479
- eyebrow && /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(
6558
+ eyebrow && /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(
6480
6559
  "p",
6481
6560
  {
6482
6561
  className: cn(
@@ -6487,7 +6566,7 @@ var Hero = React72.forwardRef(function Hero2({
6487
6566
  children: eyebrow
6488
6567
  }
6489
6568
  ),
6490
- /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(
6569
+ /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(
6491
6570
  Heading2,
6492
6571
  {
6493
6572
  className: cn(
@@ -6499,7 +6578,7 @@ var Hero = React72.forwardRef(function Hero2({
6499
6578
  children: title
6500
6579
  }
6501
6580
  ),
6502
- description && /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(
6581
+ description && /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(
6503
6582
  "p",
6504
6583
  {
6505
6584
  className: cn(
@@ -6511,7 +6590,7 @@ var Hero = React72.forwardRef(function Hero2({
6511
6590
  children: description
6512
6591
  }
6513
6592
  ),
6514
- actions && /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(
6593
+ actions && /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(
6515
6594
  "div",
6516
6595
  {
6517
6596
  className: cn(
@@ -6525,7 +6604,7 @@ var Hero = React72.forwardRef(function Hero2({
6525
6604
  }
6526
6605
  );
6527
6606
  if (overlay) {
6528
- return /* @__PURE__ */ (0, import_jsx_runtime72.jsxs)(
6607
+ return /* @__PURE__ */ (0, import_jsx_runtime73.jsxs)(
6529
6608
  Tag,
6530
6609
  {
6531
6610
  ref,
@@ -6535,7 +6614,7 @@ var Hero = React72.forwardRef(function Hero2({
6535
6614
  ),
6536
6615
  ...props,
6537
6616
  children: [
6538
- media && /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(
6617
+ media && /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(
6539
6618
  "div",
6540
6619
  {
6541
6620
  className: cn(
@@ -6545,20 +6624,20 @@ var Hero = React72.forwardRef(function Hero2({
6545
6624
  children: media
6546
6625
  }
6547
6626
  ),
6548
- /* @__PURE__ */ (0, import_jsx_runtime72.jsx)("div", { "aria-hidden": "true", className: "absolute inset-0 -z-10 bg-foreground/60" }),
6549
- /* @__PURE__ */ (0, import_jsx_runtime72.jsx)("div", { className: "relative w-full px-4 sm:px-6 lg:px-10", children: copy })
6627
+ /* @__PURE__ */ (0, import_jsx_runtime73.jsx)("div", { "aria-hidden": "true", className: "absolute inset-0 -z-10 bg-foreground/60" }),
6628
+ /* @__PURE__ */ (0, import_jsx_runtime73.jsx)("div", { className: "relative w-full px-4 sm:px-6 lg:px-10", children: copy })
6550
6629
  ]
6551
6630
  }
6552
6631
  );
6553
6632
  }
6554
6633
  if (layout === "centered") {
6555
- return /* @__PURE__ */ (0, import_jsx_runtime72.jsxs)(Tag, { ref, className: cn("w-full", className), ...props, children: [
6634
+ return /* @__PURE__ */ (0, import_jsx_runtime73.jsxs)(Tag, { ref, className: cn("w-full", className), ...props, children: [
6556
6635
  copy,
6557
- media && /* @__PURE__ */ (0, import_jsx_runtime72.jsx)("div", { className: cn("mt-12 min-w-0", mediaClassName), children: media })
6636
+ media && /* @__PURE__ */ (0, import_jsx_runtime73.jsx)("div", { className: cn("mt-12 min-w-0", mediaClassName), children: media })
6558
6637
  ] });
6559
6638
  }
6560
6639
  if (layout === "stacked") {
6561
- return /* @__PURE__ */ (0, import_jsx_runtime72.jsxs)(
6640
+ return /* @__PURE__ */ (0, import_jsx_runtime73.jsxs)(
6562
6641
  Tag,
6563
6642
  {
6564
6643
  ref,
@@ -6566,20 +6645,20 @@ var Hero = React72.forwardRef(function Hero2({
6566
6645
  ...props,
6567
6646
  children: [
6568
6647
  copy,
6569
- media && /* @__PURE__ */ (0, import_jsx_runtime72.jsx)("div", { className: cn("min-w-0 w-full", mediaClassName), children: media })
6648
+ media && /* @__PURE__ */ (0, import_jsx_runtime73.jsx)("div", { className: cn("min-w-0 w-full", mediaClassName), children: media })
6570
6649
  ]
6571
6650
  }
6572
6651
  );
6573
6652
  }
6574
- return /* @__PURE__ */ (0, import_jsx_runtime72.jsxs)(
6653
+ return /* @__PURE__ */ (0, import_jsx_runtime73.jsxs)(
6575
6654
  Tag,
6576
6655
  {
6577
6656
  ref,
6578
6657
  className: cn("grid w-full items-center gap-10 lg:grid-cols-2 lg:gap-16 xl:gap-20", className),
6579
6658
  ...props,
6580
6659
  children: [
6581
- /* @__PURE__ */ (0, import_jsx_runtime72.jsx)("div", { className: cn(mediaPosition === "left" && "lg:order-2"), children: copy }),
6582
- media && /* @__PURE__ */ (0, import_jsx_runtime72.jsx)("div", { className: cn("min-w-0", mediaPosition === "left" && "lg:order-1", mediaClassName), children: media })
6660
+ /* @__PURE__ */ (0, import_jsx_runtime73.jsx)("div", { className: cn(mediaPosition === "left" && "lg:order-2"), children: copy }),
6661
+ media && /* @__PURE__ */ (0, import_jsx_runtime73.jsx)("div", { className: cn("min-w-0", mediaPosition === "left" && "lg:order-1", mediaClassName), children: media })
6583
6662
  ]
6584
6663
  }
6585
6664
  );
@@ -6587,7 +6666,7 @@ var Hero = React72.forwardRef(function Hero2({
6587
6666
 
6588
6667
  // src/components/stat-band/StatBand.tsx
6589
6668
  var React73 = __toESM(require("react"));
6590
- var import_jsx_runtime73 = require("react/jsx-runtime");
6669
+ var import_jsx_runtime74 = require("react/jsx-runtime");
6591
6670
  var columnClasses = {
6592
6671
  2: "sm:grid-cols-2",
6593
6672
  3: "sm:grid-cols-2 lg:grid-cols-3",
@@ -6598,31 +6677,68 @@ var valueClasses = {
6598
6677
  md: "text-3xl",
6599
6678
  lg: "text-4xl sm:text-5xl"
6600
6679
  };
6601
- var StatBand = React73.forwardRef(function StatBand2({ items, columns = 3, align = "center", size = "md", divided = true, className, ...props }, ref) {
6602
- return /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(
6680
+ var panelValueClasses = {
6681
+ sm: "text-lg",
6682
+ md: "text-xl sm:text-2xl",
6683
+ lg: "text-2xl sm:text-3xl"
6684
+ };
6685
+ var StatBand = React73.forwardRef(function StatBand2({
6686
+ items,
6687
+ columns = 3,
6688
+ align = "center",
6689
+ size = "md",
6690
+ divided = true,
6691
+ variant = "plain",
6692
+ valueClassName,
6693
+ className,
6694
+ ...props
6695
+ }, ref) {
6696
+ const panel = variant === "panel";
6697
+ return /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(
6603
6698
  "dl",
6604
6699
  {
6605
6700
  ref,
6606
6701
  className: cn(
6607
- "grid w-full gap-8",
6702
+ "grid w-full",
6703
+ panel ? "gap-0 rounded-lg border border-border bg-card" : "gap-8",
6608
6704
  columnClasses[columns],
6609
- divided && "sm:divide-x sm:divide-border",
6705
+ divided && (panel ? "divide-y divide-border sm:divide-x sm:divide-y-0" : "sm:divide-x sm:divide-border"),
6610
6706
  className
6611
6707
  ),
6612
6708
  ...props,
6613
- children: items.map((item) => /* @__PURE__ */ (0, import_jsx_runtime73.jsxs)(
6709
+ children: items.map((item) => /* @__PURE__ */ (0, import_jsx_runtime74.jsxs)(
6614
6710
  "div",
6615
6711
  {
6616
6712
  className: cn(
6617
- "flex min-w-0 flex-col gap-1 sm:px-6 sm:first:pl-0 sm:last:pr-0",
6713
+ "flex min-w-0 flex-col gap-1",
6714
+ panel ? "px-4 py-3 sm:px-5 sm:py-4" : "sm:px-6 sm:first:pl-0 sm:last:pr-0",
6618
6715
  align === "center" ? "items-center text-center" : "items-start text-left"
6619
6716
  ),
6620
6717
  children: [
6621
- /* @__PURE__ */ (0, import_jsx_runtime73.jsxs)("dt", { className: "order-2 text-sm font-medium text-muted-foreground", children: [
6622
- item.label,
6623
- item.hint && /* @__PURE__ */ (0, import_jsx_runtime73.jsx)("span", { className: "mt-1 block text-xs font-normal", children: item.hint })
6624
- ] }),
6625
- /* @__PURE__ */ (0, import_jsx_runtime73.jsx)("dd", { className: cn("order-1 m-0 font-semibold tracking-tight tabular-nums", valueClasses[size]), children: item.value })
6718
+ /* @__PURE__ */ (0, import_jsx_runtime74.jsxs)(
6719
+ "dt",
6720
+ {
6721
+ className: cn(
6722
+ "order-2 text-muted-foreground",
6723
+ panel ? "text-xs font-medium uppercase tracking-wide" : "text-sm font-medium"
6724
+ ),
6725
+ children: [
6726
+ item.label,
6727
+ item.hint && /* @__PURE__ */ (0, import_jsx_runtime74.jsx)("span", { className: cn("mt-1 block font-normal", panel ? "text-xs normal-case tracking-normal" : "text-xs"), children: item.hint })
6728
+ ]
6729
+ }
6730
+ ),
6731
+ /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(
6732
+ "dd",
6733
+ {
6734
+ className: cn(
6735
+ "order-1 m-0 font-semibold tracking-tight tabular-nums",
6736
+ panel ? panelValueClasses[size] : valueClasses[size],
6737
+ valueClassName
6738
+ ),
6739
+ children: item.value
6740
+ }
6741
+ )
6626
6742
  ]
6627
6743
  },
6628
6744
  item.label
@@ -6633,7 +6749,7 @@ var StatBand = React73.forwardRef(function StatBand2({ items, columns = 3, align
6633
6749
 
6634
6750
  // src/components/cta-section/CTASection.tsx
6635
6751
  var React74 = __toESM(require("react"));
6636
- var import_jsx_runtime74 = require("react/jsx-runtime");
6752
+ var import_jsx_runtime75 = require("react/jsx-runtime");
6637
6753
  var sizePadding = {
6638
6754
  sm: "md",
6639
6755
  md: "lg",
@@ -6651,7 +6767,7 @@ var CTASection = React74.forwardRef(function CTASection2({
6651
6767
  className,
6652
6768
  ...props
6653
6769
  }, ref) {
6654
- return /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(
6770
+ return /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(
6655
6771
  Section,
6656
6772
  {
6657
6773
  ref,
@@ -6660,7 +6776,7 @@ var CTASection = React74.forwardRef(function CTASection2({
6660
6776
  width,
6661
6777
  className,
6662
6778
  ...props,
6663
- children: /* @__PURE__ */ (0, import_jsx_runtime74.jsxs)(
6779
+ children: /* @__PURE__ */ (0, import_jsx_runtime75.jsxs)(
6664
6780
  "div",
6665
6781
  {
6666
6782
  className: cn(
@@ -6668,10 +6784,10 @@ var CTASection = React74.forwardRef(function CTASection2({
6668
6784
  align === "center" ? "items-center text-center" : "items-start text-left"
6669
6785
  ),
6670
6786
  children: [
6671
- eyebrow && /* @__PURE__ */ (0, import_jsx_runtime74.jsx)("p", { className: "text-xs font-semibold uppercase tracking-widest text-primary-ink", children: eyebrow }),
6672
- /* @__PURE__ */ (0, import_jsx_runtime74.jsx)("h2", { className: "max-w-3xl text-3xl font-semibold tracking-tight text-balance sm:text-4xl", children: title }),
6673
- description && /* @__PURE__ */ (0, import_jsx_runtime74.jsx)("p", { className: cn("max-w-2xl text-base leading-relaxed text-muted-foreground sm:text-lg"), children: description }),
6674
- actions && /* @__PURE__ */ (0, import_jsx_runtime74.jsx)("div", { className: cn("mt-2 flex flex-wrap items-center gap-3", align === "center" && "justify-center"), children: actions })
6787
+ eyebrow && /* @__PURE__ */ (0, import_jsx_runtime75.jsx)("p", { className: "text-xs font-semibold uppercase tracking-widest text-primary-ink", children: eyebrow }),
6788
+ /* @__PURE__ */ (0, import_jsx_runtime75.jsx)("h2", { className: "max-w-3xl text-3xl font-semibold tracking-tight text-balance sm:text-4xl", children: title }),
6789
+ description && /* @__PURE__ */ (0, import_jsx_runtime75.jsx)("p", { className: cn("max-w-2xl text-base leading-relaxed text-muted-foreground sm:text-lg"), children: description }),
6790
+ actions && /* @__PURE__ */ (0, import_jsx_runtime75.jsx)("div", { className: cn("mt-2 flex flex-wrap items-center gap-3", align === "center" && "justify-center"), children: actions })
6675
6791
  ]
6676
6792
  }
6677
6793
  )
@@ -6681,9 +6797,9 @@ var CTASection = React74.forwardRef(function CTASection2({
6681
6797
 
6682
6798
  // src/components/comparison-table/ComparisonTable.tsx
6683
6799
  var React75 = __toESM(require("react"));
6684
- var import_jsx_runtime75 = require("react/jsx-runtime");
6800
+ var import_jsx_runtime76 = require("react/jsx-runtime");
6685
6801
  function CheckMark() {
6686
- return /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(
6802
+ return /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(
6687
6803
  "svg",
6688
6804
  {
6689
6805
  "aria-hidden": "true",
@@ -6694,12 +6810,12 @@ function CheckMark() {
6694
6810
  strokeLinecap: "round",
6695
6811
  strokeLinejoin: "round",
6696
6812
  className: "mx-auto h-5 w-5 text-success",
6697
- children: /* @__PURE__ */ (0, import_jsx_runtime75.jsx)("path", { d: "m4 10.5 4 4 8-9" })
6813
+ children: /* @__PURE__ */ (0, import_jsx_runtime76.jsx)("path", { d: "m4 10.5 4 4 8-9" })
6698
6814
  }
6699
6815
  );
6700
6816
  }
6701
6817
  function DashMark() {
6702
- return /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(
6818
+ return /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(
6703
6819
  "svg",
6704
6820
  {
6705
6821
  "aria-hidden": "true",
@@ -6709,7 +6825,7 @@ function DashMark() {
6709
6825
  strokeWidth: "2.2",
6710
6826
  strokeLinecap: "round",
6711
6827
  className: "mx-auto h-5 w-5 text-muted-foreground/60",
6712
- children: /* @__PURE__ */ (0, import_jsx_runtime75.jsx)("path", { d: "M5 10h10" })
6828
+ children: /* @__PURE__ */ (0, import_jsx_runtime76.jsx)("path", { d: "M5 10h10" })
6713
6829
  }
6714
6830
  );
6715
6831
  }
@@ -6725,11 +6841,11 @@ var ComparisonTable = React75.forwardRef(
6725
6841
  }, ref) {
6726
6842
  const yes = valueLabels?.yes ?? "Included";
6727
6843
  const no = valueLabels?.no ?? "Not included";
6728
- return /* @__PURE__ */ (0, import_jsx_runtime75.jsx)("div", { className: "w-full overflow-x-auto rounded-xl border border-border bg-card", children: /* @__PURE__ */ (0, import_jsx_runtime75.jsxs)("table", { ref, className: cn("w-full border-collapse text-sm", className), ...props, children: [
6729
- /* @__PURE__ */ (0, import_jsx_runtime75.jsx)("caption", { className: "sr-only", children: caption }),
6730
- /* @__PURE__ */ (0, import_jsx_runtime75.jsx)("thead", { children: /* @__PURE__ */ (0, import_jsx_runtime75.jsxs)("tr", { className: "border-b border-border", children: [
6731
- /* @__PURE__ */ (0, import_jsx_runtime75.jsx)("th", { scope: "col", className: "min-w-48 px-5 py-4 text-left font-medium text-muted-foreground", children: featureLabel }),
6732
- columns.map((column) => /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(
6844
+ return /* @__PURE__ */ (0, import_jsx_runtime76.jsx)("div", { className: "w-full overflow-x-auto rounded-xl border border-border bg-card", children: /* @__PURE__ */ (0, import_jsx_runtime76.jsxs)("table", { ref, className: cn("w-full border-collapse text-sm", className), ...props, children: [
6845
+ /* @__PURE__ */ (0, import_jsx_runtime76.jsx)("caption", { className: "sr-only", children: caption }),
6846
+ /* @__PURE__ */ (0, import_jsx_runtime76.jsx)("thead", { children: /* @__PURE__ */ (0, import_jsx_runtime76.jsxs)("tr", { className: "border-b border-border", children: [
6847
+ /* @__PURE__ */ (0, import_jsx_runtime76.jsx)("th", { scope: "col", className: "min-w-48 px-5 py-4 text-left font-medium text-muted-foreground", children: featureLabel }),
6848
+ columns.map((column) => /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(
6733
6849
  "th",
6734
6850
  {
6735
6851
  scope: "col",
@@ -6742,21 +6858,21 @@ var ComparisonTable = React75.forwardRef(
6742
6858
  column.label
6743
6859
  ))
6744
6860
  ] }) }),
6745
- /* @__PURE__ */ (0, import_jsx_runtime75.jsx)("tbody", { children: rows.map((row) => /* @__PURE__ */ (0, import_jsx_runtime75.jsxs)("tr", { className: "border-b border-border last:border-b-0", children: [
6746
- /* @__PURE__ */ (0, import_jsx_runtime75.jsxs)("th", { scope: "row", className: "px-5 py-4 text-left font-medium", children: [
6861
+ /* @__PURE__ */ (0, import_jsx_runtime76.jsx)("tbody", { children: rows.map((row) => /* @__PURE__ */ (0, import_jsx_runtime76.jsxs)("tr", { className: "border-b border-border last:border-b-0", children: [
6862
+ /* @__PURE__ */ (0, import_jsx_runtime76.jsxs)("th", { scope: "row", className: "px-5 py-4 text-left font-medium", children: [
6747
6863
  row.feature,
6748
- row.hint && /* @__PURE__ */ (0, import_jsx_runtime75.jsx)("span", { className: "mt-1 block text-xs font-normal text-muted-foreground", children: row.hint })
6864
+ row.hint && /* @__PURE__ */ (0, import_jsx_runtime76.jsx)("span", { className: "mt-1 block text-xs font-normal text-muted-foreground", children: row.hint })
6749
6865
  ] }),
6750
6866
  columns.map((column, index) => {
6751
6867
  const value = row.values[index];
6752
- return /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(
6868
+ return /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(
6753
6869
  "td",
6754
6870
  {
6755
6871
  className: cn("px-5 py-4 text-center align-middle", column.highlight && "bg-primary/5"),
6756
- children: typeof value === "boolean" ? /* @__PURE__ */ (0, import_jsx_runtime75.jsxs)(import_jsx_runtime75.Fragment, { children: [
6757
- value ? /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(CheckMark, {}) : /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(DashMark, {}),
6758
- /* @__PURE__ */ (0, import_jsx_runtime75.jsx)("span", { className: "sr-only", children: value ? yes : no })
6759
- ] }) : /* @__PURE__ */ (0, import_jsx_runtime75.jsx)("span", { children: value ?? "" })
6872
+ children: typeof value === "boolean" ? /* @__PURE__ */ (0, import_jsx_runtime76.jsxs)(import_jsx_runtime76.Fragment, { children: [
6873
+ value ? /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(CheckMark, {}) : /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(DashMark, {}),
6874
+ /* @__PURE__ */ (0, import_jsx_runtime76.jsx)("span", { className: "sr-only", children: value ? yes : no })
6875
+ ] }) : /* @__PURE__ */ (0, import_jsx_runtime76.jsx)("span", { children: value ?? "" })
6760
6876
  },
6761
6877
  `${row.feature}-${column.label}`
6762
6878
  );
@@ -6768,7 +6884,7 @@ var ComparisonTable = React75.forwardRef(
6768
6884
 
6769
6885
  // src/components/logo-cloud/LogoCloud.tsx
6770
6886
  var React76 = __toESM(require("react"));
6771
- var import_jsx_runtime76 = require("react/jsx-runtime");
6887
+ var import_jsx_runtime77 = require("react/jsx-runtime");
6772
6888
  var columnClasses2 = {
6773
6889
  3: "grid-cols-2 sm:grid-cols-3",
6774
6890
  4: "grid-cols-2 sm:grid-cols-4",
@@ -6798,8 +6914,8 @@ var LogoCloud = React76.forwardRef(function LogoCloud2({
6798
6914
  sizeClasses9[size],
6799
6915
  grayscale && "opacity-70 grayscale hover:opacity-100 hover:grayscale-0"
6800
6916
  );
6801
- return /* @__PURE__ */ (0, import_jsx_runtime76.jsxs)("div", { ref, className: cn("w-full", className), ...props, children: [
6802
- caption && /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(
6917
+ return /* @__PURE__ */ (0, import_jsx_runtime77.jsxs)("div", { ref, className: cn("w-full", className), ...props, children: [
6918
+ caption && /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(
6803
6919
  "p",
6804
6920
  {
6805
6921
  className: cn(
@@ -6809,12 +6925,12 @@ var LogoCloud = React76.forwardRef(function LogoCloud2({
6809
6925
  children: caption
6810
6926
  }
6811
6927
  ),
6812
- /* @__PURE__ */ (0, import_jsx_runtime76.jsx)("ul", { className: cn("grid items-center gap-x-8 gap-y-6", columnClasses2[columns], align === "center" && "justify-items-center"), children: items.map((item) => {
6813
- const content = /* @__PURE__ */ (0, import_jsx_runtime76.jsxs)(import_jsx_runtime76.Fragment, { children: [
6814
- /* @__PURE__ */ (0, import_jsx_runtime76.jsx)("span", { className: logoClass, "aria-hidden": "true", children: item.logo }),
6815
- /* @__PURE__ */ (0, import_jsx_runtime76.jsx)("span", { className: "sr-only", children: item.name })
6928
+ /* @__PURE__ */ (0, import_jsx_runtime77.jsx)("ul", { className: cn("grid items-center gap-x-8 gap-y-6", columnClasses2[columns], align === "center" && "justify-items-center"), children: items.map((item) => {
6929
+ const content = /* @__PURE__ */ (0, import_jsx_runtime77.jsxs)(import_jsx_runtime77.Fragment, { children: [
6930
+ /* @__PURE__ */ (0, import_jsx_runtime77.jsx)("span", { className: logoClass, "aria-hidden": "true", children: item.logo }),
6931
+ /* @__PURE__ */ (0, import_jsx_runtime77.jsx)("span", { className: "sr-only", children: item.name })
6816
6932
  ] });
6817
- return /* @__PURE__ */ (0, import_jsx_runtime76.jsx)("li", { className: cn("min-w-0", align === "center" ? "justify-self-center" : "justify-self-start"), children: item.href ? /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(
6933
+ return /* @__PURE__ */ (0, import_jsx_runtime77.jsx)("li", { className: cn("min-w-0", align === "center" ? "justify-self-center" : "justify-self-start"), children: item.href ? /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(
6818
6934
  Link3,
6819
6935
  {
6820
6936
  ...linkHrefProp === "to" ? { to: item.href } : { href: item.href },
@@ -6828,7 +6944,7 @@ var LogoCloud = React76.forwardRef(function LogoCloud2({
6828
6944
 
6829
6945
  // src/components/feature-grid/FeatureGrid.tsx
6830
6946
  var React77 = __toESM(require("react"));
6831
- var import_jsx_runtime77 = require("react/jsx-runtime");
6947
+ var import_jsx_runtime78 = require("react/jsx-runtime");
6832
6948
  var columnClasses3 = {
6833
6949
  2: "sm:grid-cols-2",
6834
6950
  3: "sm:grid-cols-2 lg:grid-cols-3",
@@ -6841,22 +6957,22 @@ var FeatureGrid = React77.forwardRef(function FeatureGrid2({ features, columns =
6841
6957
  variant === "card" && "border border-border bg-card shadow-sm transition-colors hover:border-primary/40",
6842
6958
  align === "center" && "items-center text-center"
6843
6959
  );
6844
- const content = (feature) => /* @__PURE__ */ (0, import_jsx_runtime77.jsxs)(import_jsx_runtime77.Fragment, { children: [
6845
- feature.icon && /* @__PURE__ */ (0, import_jsx_runtime77.jsx)("span", { className: "flex h-10 w-10 shrink-0 items-center justify-center rounded-lg bg-primary/10 text-primary-ink [&_svg]:size-5", children: feature.icon }),
6846
- /* @__PURE__ */ (0, import_jsx_runtime77.jsx)("h3", { className: "text-base font-semibold tracking-tight", children: feature.title }),
6847
- feature.description && /* @__PURE__ */ (0, import_jsx_runtime77.jsx)("p", { className: "text-sm leading-relaxed text-muted-foreground", children: feature.description }),
6848
- feature.href && feature.actionLabel && /* @__PURE__ */ (0, import_jsx_runtime77.jsxs)("span", { className: "mt-auto pt-2 text-sm font-medium text-primary-ink", children: [
6960
+ const content = (feature) => /* @__PURE__ */ (0, import_jsx_runtime78.jsxs)(import_jsx_runtime78.Fragment, { children: [
6961
+ feature.icon && /* @__PURE__ */ (0, import_jsx_runtime78.jsx)("span", { className: "flex h-10 w-10 shrink-0 items-center justify-center rounded-lg bg-primary/10 text-primary-ink [&_svg]:size-5", children: feature.icon }),
6962
+ /* @__PURE__ */ (0, import_jsx_runtime78.jsx)("h3", { className: "text-base font-semibold tracking-tight", children: feature.title }),
6963
+ feature.description && /* @__PURE__ */ (0, import_jsx_runtime78.jsx)("p", { className: "text-sm leading-relaxed text-muted-foreground", children: feature.description }),
6964
+ feature.href && feature.actionLabel && /* @__PURE__ */ (0, import_jsx_runtime78.jsxs)("span", { className: "mt-auto pt-2 text-sm font-medium text-primary-ink", children: [
6849
6965
  feature.actionLabel,
6850
6966
  " ",
6851
- /* @__PURE__ */ (0, import_jsx_runtime77.jsx)("span", { "aria-hidden": "true", children: "\u2192" })
6967
+ /* @__PURE__ */ (0, import_jsx_runtime78.jsx)("span", { "aria-hidden": "true", children: "\u2192" })
6852
6968
  ] })
6853
6969
  ] });
6854
- return /* @__PURE__ */ (0, import_jsx_runtime77.jsx)("ul", { ref, className: cn("grid gap-6", columnClasses3[columns], className), ...props, children: features.map((feature) => /* @__PURE__ */ (0, import_jsx_runtime77.jsx)("li", { className: "min-w-0", children: feature.href ? /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(Link3, { href: feature.href, className: cn(cardClass, "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background"), children: content(feature) }) : /* @__PURE__ */ (0, import_jsx_runtime77.jsx)("div", { className: cardClass, children: content(feature) }) }, feature.title)) });
6970
+ return /* @__PURE__ */ (0, import_jsx_runtime78.jsx)("ul", { ref, className: cn("grid gap-6", columnClasses3[columns], className), ...props, children: features.map((feature) => /* @__PURE__ */ (0, import_jsx_runtime78.jsx)("li", { className: "min-w-0", children: feature.href ? /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(Link3, { href: feature.href, className: cn(cardClass, "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background"), children: content(feature) }) : /* @__PURE__ */ (0, import_jsx_runtime78.jsx)("div", { className: cardClass, children: content(feature) }) }, feature.title)) });
6855
6971
  });
6856
6972
 
6857
6973
  // src/components/feature-row/FeatureRow.tsx
6858
6974
  var React78 = __toESM(require("react"));
6859
- var import_jsx_runtime78 = require("react/jsx-runtime");
6975
+ var import_jsx_runtime79 = require("react/jsx-runtime");
6860
6976
  var titleSizes2 = {
6861
6977
  md: "text-3xl",
6862
6978
  lg: "text-3xl sm:text-4xl"
@@ -6874,20 +6990,20 @@ var FeatureRow = React78.forwardRef(function FeatureRow2({
6874
6990
  ...props
6875
6991
  }, ref) {
6876
6992
  const Heading2 = `h${level}`;
6877
- return /* @__PURE__ */ (0, import_jsx_runtime78.jsxs)(
6993
+ return /* @__PURE__ */ (0, import_jsx_runtime79.jsxs)(
6878
6994
  "div",
6879
6995
  {
6880
6996
  ref,
6881
6997
  className: cn("grid items-center gap-10 lg:grid-cols-2 lg:gap-16", className),
6882
6998
  ...props,
6883
6999
  children: [
6884
- /* @__PURE__ */ (0, import_jsx_runtime78.jsxs)("div", { className: cn("min-w-0", mediaPosition === "left" && "lg:order-2"), children: [
6885
- eyebrow && /* @__PURE__ */ (0, import_jsx_runtime78.jsx)("p", { className: "mb-3 text-xs font-semibold uppercase tracking-widest text-primary-ink", children: eyebrow }),
6886
- /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(Heading2, { className: cn("font-semibold tracking-tight text-balance", titleSizes2[size]), children: title }),
6887
- description && /* @__PURE__ */ (0, import_jsx_runtime78.jsx)("div", { className: "mt-4 max-w-xl text-base leading-relaxed text-muted-foreground sm:text-lg", children: description }),
6888
- actions && /* @__PURE__ */ (0, import_jsx_runtime78.jsx)("div", { className: "mt-7 flex flex-wrap items-center gap-3", children: actions })
7000
+ /* @__PURE__ */ (0, import_jsx_runtime79.jsxs)("div", { className: cn("min-w-0", mediaPosition === "left" && "lg:order-2"), children: [
7001
+ eyebrow && /* @__PURE__ */ (0, import_jsx_runtime79.jsx)("p", { className: "mb-3 text-xs font-semibold uppercase tracking-widest text-primary-ink", children: eyebrow }),
7002
+ /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(Heading2, { className: cn("font-semibold tracking-tight text-balance", titleSizes2[size]), children: title }),
7003
+ description && /* @__PURE__ */ (0, import_jsx_runtime79.jsx)("div", { className: "mt-4 max-w-xl text-base leading-relaxed text-muted-foreground sm:text-lg", children: description }),
7004
+ actions && /* @__PURE__ */ (0, import_jsx_runtime79.jsx)("div", { className: "mt-7 flex flex-wrap items-center gap-3", children: actions })
6889
7005
  ] }),
6890
- /* @__PURE__ */ (0, import_jsx_runtime78.jsx)("div", { className: cn("min-w-0", mediaPosition === "left" && "lg:order-1"), children: media })
7006
+ /* @__PURE__ */ (0, import_jsx_runtime79.jsx)("div", { className: cn("min-w-0", mediaPosition === "left" && "lg:order-1"), children: media })
6891
7007
  ]
6892
7008
  }
6893
7009
  );
@@ -6895,14 +7011,14 @@ var FeatureRow = React78.forwardRef(function FeatureRow2({
6895
7011
 
6896
7012
  // src/components/testimonial/Testimonial.tsx
6897
7013
  var React79 = __toESM(require("react"));
6898
- var import_jsx_runtime79 = require("react/jsx-runtime");
7014
+ var import_jsx_runtime80 = require("react/jsx-runtime");
6899
7015
  var quoteSizes = {
6900
7016
  sm: "text-base",
6901
7017
  md: "text-lg",
6902
7018
  lg: "text-xl sm:text-2xl"
6903
7019
  };
6904
7020
  var Testimonial = React79.forwardRef(function Testimonial2({ quote, name, role, company, avatar, logo, variant = "card", size = "md", className, ...props }, ref) {
6905
- return /* @__PURE__ */ (0, import_jsx_runtime79.jsxs)(
7021
+ return /* @__PURE__ */ (0, import_jsx_runtime80.jsxs)(
6906
7022
  "figure",
6907
7023
  {
6908
7024
  ref,
@@ -6913,17 +7029,17 @@ var Testimonial = React79.forwardRef(function Testimonial2({ quote, name, role,
6913
7029
  ),
6914
7030
  ...props,
6915
7031
  children: [
6916
- logo && /* @__PURE__ */ (0, import_jsx_runtime79.jsx)("div", { className: "flex items-center", children: logo }),
6917
- /* @__PURE__ */ (0, import_jsx_runtime79.jsx)("blockquote", { className: cn("flex-1 leading-relaxed", quoteSizes[size]), children: /* @__PURE__ */ (0, import_jsx_runtime79.jsxs)("p", { children: [
7032
+ logo && /* @__PURE__ */ (0, import_jsx_runtime80.jsx)("div", { className: "flex items-center", children: logo }),
7033
+ /* @__PURE__ */ (0, import_jsx_runtime80.jsx)("blockquote", { className: cn("flex-1 leading-relaxed", quoteSizes[size]), children: /* @__PURE__ */ (0, import_jsx_runtime80.jsxs)("p", { children: [
6918
7034
  "\u201C",
6919
7035
  quote,
6920
7036
  "\u201D"
6921
7037
  ] }) }),
6922
- /* @__PURE__ */ (0, import_jsx_runtime79.jsxs)("figcaption", { className: "flex items-center gap-3", children: [
6923
- avatar && /* @__PURE__ */ (0, import_jsx_runtime79.jsx)("div", { className: "shrink-0", children: avatar }),
6924
- /* @__PURE__ */ (0, import_jsx_runtime79.jsxs)("div", { className: "min-w-0", children: [
6925
- /* @__PURE__ */ (0, import_jsx_runtime79.jsx)("p", { className: "text-sm font-semibold", children: name }),
6926
- (role || company) && /* @__PURE__ */ (0, import_jsx_runtime79.jsx)("p", { className: "text-xs text-muted-foreground", children: [role, company].filter(Boolean).join(", ") })
7038
+ /* @__PURE__ */ (0, import_jsx_runtime80.jsxs)("figcaption", { className: "flex items-center gap-3", children: [
7039
+ avatar && /* @__PURE__ */ (0, import_jsx_runtime80.jsx)("div", { className: "shrink-0", children: avatar }),
7040
+ /* @__PURE__ */ (0, import_jsx_runtime80.jsxs)("div", { className: "min-w-0", children: [
7041
+ /* @__PURE__ */ (0, import_jsx_runtime80.jsx)("p", { className: "text-sm font-semibold", children: name }),
7042
+ (role || company) && /* @__PURE__ */ (0, import_jsx_runtime80.jsx)("p", { className: "text-xs text-muted-foreground", children: [role, company].filter(Boolean).join(", ") })
6927
7043
  ] })
6928
7044
  ] })
6929
7045
  ]
@@ -6933,7 +7049,7 @@ var Testimonial = React79.forwardRef(function Testimonial2({ quote, name, role,
6933
7049
 
6934
7050
  // src/components/process-steps/ProcessSteps.tsx
6935
7051
  var React80 = __toESM(require("react"));
6936
- var import_jsx_runtime80 = require("react/jsx-runtime");
7052
+ var import_jsx_runtime81 = require("react/jsx-runtime");
6937
7053
  var columnClasses4 = {
6938
7054
  2: "sm:grid-cols-2",
6939
7055
  3: "sm:grid-cols-2 lg:grid-cols-3",
@@ -6941,15 +7057,15 @@ var columnClasses4 = {
6941
7057
  };
6942
7058
  var ProcessSteps = React80.forwardRef(function ProcessSteps2({ steps, columns = 3, numbered = true, align = "left", headingLevel = 3, className, ...props }, ref) {
6943
7059
  const HeadingTag = { 2: "h2", 3: "h3", 4: "h4" }[headingLevel];
6944
- return /* @__PURE__ */ (0, import_jsx_runtime80.jsx)("ol", { ref, className: cn("grid gap-8", columnClasses4[columns], className), ...props, children: steps.map((step, index) => /* @__PURE__ */ (0, import_jsx_runtime80.jsxs)(
7060
+ return /* @__PURE__ */ (0, import_jsx_runtime81.jsx)("ol", { ref, className: cn("grid gap-8", columnClasses4[columns], className), ...props, children: steps.map((step, index) => /* @__PURE__ */ (0, import_jsx_runtime81.jsxs)(
6945
7061
  "li",
6946
7062
  {
6947
7063
  className: cn("flex min-w-0 flex-col gap-4", align === "center" && "items-center text-center"),
6948
7064
  children: [
6949
- /* @__PURE__ */ (0, import_jsx_runtime80.jsx)("span", { className: "flex h-10 w-10 shrink-0 items-center justify-center rounded-full bg-primary/10 text-sm font-semibold text-primary-ink [&_svg]:size-5", children: step.icon ?? (numbered ? String(index + 1).padStart(2, "0") : null) }),
6950
- /* @__PURE__ */ (0, import_jsx_runtime80.jsxs)("div", { className: "min-w-0", children: [
6951
- /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(HeadingTag, { className: "text-base font-semibold tracking-tight", children: step.title }),
6952
- step.description && /* @__PURE__ */ (0, import_jsx_runtime80.jsx)("p", { className: "mt-1 text-sm leading-relaxed text-muted-foreground", children: step.description })
7065
+ /* @__PURE__ */ (0, import_jsx_runtime81.jsx)("span", { className: "flex h-10 w-10 shrink-0 items-center justify-center rounded-full bg-primary/10 text-sm font-semibold text-primary-ink [&_svg]:size-5", children: step.icon ?? (numbered ? String(index + 1).padStart(2, "0") : null) }),
7066
+ /* @__PURE__ */ (0, import_jsx_runtime81.jsxs)("div", { className: "min-w-0", children: [
7067
+ /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(HeadingTag, { className: "text-base font-semibold tracking-tight", children: step.title }),
7068
+ step.description && /* @__PURE__ */ (0, import_jsx_runtime81.jsx)("p", { className: "mt-1 text-sm leading-relaxed text-muted-foreground", children: step.description })
6953
7069
  ] })
6954
7070
  ]
6955
7071
  },
@@ -6959,7 +7075,7 @@ var ProcessSteps = React80.forwardRef(function ProcessSteps2({ steps, columns =
6959
7075
 
6960
7076
  // src/components/article-card/ArticleCard.tsx
6961
7077
  var React81 = __toESM(require("react"));
6962
- var import_jsx_runtime81 = require("react/jsx-runtime");
7078
+ var import_jsx_runtime82 = require("react/jsx-runtime");
6963
7079
  var ArticleCard = React81.forwardRef(function ArticleCard2({
6964
7080
  title,
6965
7081
  description,
@@ -6974,7 +7090,7 @@ var ArticleCard = React81.forwardRef(function ArticleCard2({
6974
7090
  }, ref) {
6975
7091
  const Link3 = linkComponent ?? "a";
6976
7092
  const compact = variant === "compact";
6977
- return /* @__PURE__ */ (0, import_jsx_runtime81.jsx)("article", { ref, className: cn("h-full", className), ...props, children: /* @__PURE__ */ (0, import_jsx_runtime81.jsxs)(
7093
+ return /* @__PURE__ */ (0, import_jsx_runtime82.jsx)("article", { ref, className: cn("h-full", className), ...props, children: /* @__PURE__ */ (0, import_jsx_runtime82.jsxs)(
6978
7094
  Link3,
6979
7095
  {
6980
7096
  href,
@@ -6983,12 +7099,12 @@ var ArticleCard = React81.forwardRef(function ArticleCard2({
6983
7099
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background"
6984
7100
  ),
6985
7101
  children: [
6986
- media && !compact && /* @__PURE__ */ (0, import_jsx_runtime81.jsx)("div", { className: "aspect-[16/10] w-full overflow-hidden bg-muted [&_img]:h-full [&_img]:w-full [&_img]:object-cover", children: media }),
6987
- /* @__PURE__ */ (0, import_jsx_runtime81.jsxs)("div", { className: cn("flex flex-1 flex-col gap-2", compact ? "p-4" : "p-5"), children: [
6988
- eyebrow && /* @__PURE__ */ (0, import_jsx_runtime81.jsx)("p", { className: "text-xs font-semibold uppercase tracking-widest text-primary-ink", children: eyebrow }),
6989
- /* @__PURE__ */ (0, import_jsx_runtime81.jsx)("h3", { className: cn("font-semibold tracking-tight transition-colors group-hover:text-primary-ink", compact ? "text-base" : "text-lg"), children: title }),
6990
- description && /* @__PURE__ */ (0, import_jsx_runtime81.jsx)("p", { className: "line-clamp-3 text-sm leading-relaxed text-muted-foreground", children: description }),
6991
- meta && /* @__PURE__ */ (0, import_jsx_runtime81.jsx)("div", { className: "mt-auto pt-2 text-xs text-muted-foreground", children: meta })
7102
+ media && !compact && /* @__PURE__ */ (0, import_jsx_runtime82.jsx)("div", { className: "aspect-[16/10] w-full overflow-hidden bg-muted [&_img]:h-full [&_img]:w-full [&_img]:object-cover", children: media }),
7103
+ /* @__PURE__ */ (0, import_jsx_runtime82.jsxs)("div", { className: cn("flex flex-1 flex-col gap-2", compact ? "p-4" : "p-5"), children: [
7104
+ eyebrow && /* @__PURE__ */ (0, import_jsx_runtime82.jsx)("p", { className: "text-xs font-semibold uppercase tracking-widest text-primary-ink", children: eyebrow }),
7105
+ /* @__PURE__ */ (0, import_jsx_runtime82.jsx)("h3", { className: cn("font-semibold tracking-tight transition-colors group-hover:text-primary-ink", compact ? "text-base" : "text-lg"), children: title }),
7106
+ description && /* @__PURE__ */ (0, import_jsx_runtime82.jsx)("p", { className: "line-clamp-3 text-sm leading-relaxed text-muted-foreground", children: description }),
7107
+ meta && /* @__PURE__ */ (0, import_jsx_runtime82.jsx)("div", { className: "mt-auto pt-2 text-xs text-muted-foreground", children: meta })
6992
7108
  ] })
6993
7109
  ]
6994
7110
  }
@@ -6997,7 +7113,7 @@ var ArticleCard = React81.forwardRef(function ArticleCard2({
6997
7113
 
6998
7114
  // src/components/newsletter/Newsletter.tsx
6999
7115
  var React82 = __toESM(require("react"));
7000
- var import_jsx_runtime82 = require("react/jsx-runtime");
7116
+ var import_jsx_runtime83 = require("react/jsx-runtime");
7001
7117
  var Newsletter = React82.forwardRef(function Newsletter2({
7002
7118
  title,
7003
7119
  description,
@@ -7029,13 +7145,13 @@ var Newsletter = React82.forwardRef(function Newsletter2({
7029
7145
  setStatus("error");
7030
7146
  }
7031
7147
  };
7032
- return /* @__PURE__ */ (0, import_jsx_runtime82.jsxs)("div", { className: "w-full", children: [
7033
- /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(Heading2, { className: "text-2xl font-semibold tracking-tight", children: title }),
7034
- description && /* @__PURE__ */ (0, import_jsx_runtime82.jsx)("p", { className: "mt-2 max-w-2xl text-sm leading-relaxed text-muted-foreground", children: description }),
7035
- /* @__PURE__ */ (0, import_jsx_runtime82.jsxs)("form", { ref, onSubmit: handleSubmit, className: cn("mt-5", className), ...props, children: [
7036
- /* @__PURE__ */ (0, import_jsx_runtime82.jsxs)("div", { className: cn("flex gap-2", layout === "inline" ? "flex-col sm:flex-row" : "flex-col"), children: [
7037
- /* @__PURE__ */ (0, import_jsx_runtime82.jsx)("label", { htmlFor: id, className: "sr-only", children: label }),
7038
- /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(
7148
+ return /* @__PURE__ */ (0, import_jsx_runtime83.jsxs)("div", { className: "w-full", children: [
7149
+ /* @__PURE__ */ (0, import_jsx_runtime83.jsx)(Heading2, { className: "text-2xl font-semibold tracking-tight", children: title }),
7150
+ description && /* @__PURE__ */ (0, import_jsx_runtime83.jsx)("p", { className: "mt-2 max-w-2xl text-sm leading-relaxed text-muted-foreground", children: description }),
7151
+ /* @__PURE__ */ (0, import_jsx_runtime83.jsxs)("form", { ref, onSubmit: handleSubmit, className: cn("mt-5", className), ...props, children: [
7152
+ /* @__PURE__ */ (0, import_jsx_runtime83.jsxs)("div", { className: cn("flex gap-2", layout === "inline" ? "flex-col sm:flex-row" : "flex-col"), children: [
7153
+ /* @__PURE__ */ (0, import_jsx_runtime83.jsx)("label", { htmlFor: id, className: "sr-only", children: label }),
7154
+ /* @__PURE__ */ (0, import_jsx_runtime83.jsx)(
7039
7155
  Input,
7040
7156
  {
7041
7157
  id,
@@ -7050,12 +7166,12 @@ var Newsletter = React82.forwardRef(function Newsletter2({
7050
7166
  className: "sm:flex-1"
7051
7167
  }
7052
7168
  ),
7053
- /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(Button, { type: "submit", loading: status === "loading", className: "shrink-0", children: buttonLabel })
7169
+ /* @__PURE__ */ (0, import_jsx_runtime83.jsx)(Button, { type: "submit", loading: status === "loading", className: "shrink-0", children: buttonLabel })
7054
7170
  ] }),
7055
- consent && /* @__PURE__ */ (0, import_jsx_runtime82.jsx)("div", { className: "mt-3 text-xs leading-relaxed text-muted-foreground", children: consent }),
7056
- /* @__PURE__ */ (0, import_jsx_runtime82.jsxs)("div", { "aria-live": "polite", className: "mt-2 min-h-5 text-sm", children: [
7057
- status === "success" && /* @__PURE__ */ (0, import_jsx_runtime82.jsx)("p", { className: "text-success", children: successMessage }),
7058
- status === "error" && /* @__PURE__ */ (0, import_jsx_runtime82.jsx)("p", { role: "alert", className: "text-destructive", children: errorMessage })
7171
+ consent && /* @__PURE__ */ (0, import_jsx_runtime83.jsx)("div", { className: "mt-3 text-xs leading-relaxed text-muted-foreground", children: consent }),
7172
+ /* @__PURE__ */ (0, import_jsx_runtime83.jsxs)("div", { "aria-live": "polite", className: "mt-2 min-h-5 text-sm", children: [
7173
+ status === "success" && /* @__PURE__ */ (0, import_jsx_runtime83.jsx)("p", { className: "text-success", children: successMessage }),
7174
+ status === "error" && /* @__PURE__ */ (0, import_jsx_runtime83.jsx)("p", { role: "alert", className: "text-destructive", children: errorMessage })
7059
7175
  ] })
7060
7176
  ] })
7061
7177
  ] });
@@ -7063,25 +7179,25 @@ var Newsletter = React82.forwardRef(function Newsletter2({
7063
7179
 
7064
7180
  // src/components/contact-strip/ContactStrip.tsx
7065
7181
  var React83 = __toESM(require("react"));
7066
- var import_jsx_runtime83 = require("react/jsx-runtime");
7182
+ var import_jsx_runtime84 = require("react/jsx-runtime");
7067
7183
  var columnClasses5 = {
7068
7184
  2: "sm:grid-cols-2",
7069
7185
  3: "sm:grid-cols-3"
7070
7186
  };
7071
7187
  var ContactStrip = React83.forwardRef(function ContactStrip2({ items, columns = 2, align = "left", linkComponent, className, ...props }, ref) {
7072
7188
  const Link3 = linkComponent ?? "a";
7073
- return /* @__PURE__ */ (0, import_jsx_runtime83.jsx)("ul", { ref, className: cn("grid gap-6", columnClasses5[columns], className), ...props, children: items.map((item) => /* @__PURE__ */ (0, import_jsx_runtime83.jsxs)("li", { className: cn("flex min-w-0 items-start gap-3", align === "center" && "justify-center text-center"), children: [
7074
- item.icon && /* @__PURE__ */ (0, import_jsx_runtime83.jsx)("span", { className: "mt-0.5 flex h-8 w-8 shrink-0 items-center justify-center rounded-lg bg-primary/10 text-primary-ink [&_svg]:size-4", children: item.icon }),
7075
- /* @__PURE__ */ (0, import_jsx_runtime83.jsxs)("div", { className: "min-w-0", children: [
7076
- /* @__PURE__ */ (0, import_jsx_runtime83.jsx)("p", { className: "text-xs font-semibold uppercase tracking-wider text-muted-foreground", children: item.label }),
7077
- item.href ? /* @__PURE__ */ (0, import_jsx_runtime83.jsx)(Link3, { href: item.href, className: "mt-0.5 block break-words text-sm font-medium text-primary-ink underline-offset-4 hover:underline", children: item.value }) : /* @__PURE__ */ (0, import_jsx_runtime83.jsx)("p", { className: "mt-0.5 break-words text-sm font-medium", children: item.value })
7189
+ return /* @__PURE__ */ (0, import_jsx_runtime84.jsx)("ul", { ref, className: cn("grid gap-6", columnClasses5[columns], className), ...props, children: items.map((item) => /* @__PURE__ */ (0, import_jsx_runtime84.jsxs)("li", { className: cn("flex min-w-0 items-start gap-3", align === "center" && "justify-center text-center"), children: [
7190
+ item.icon && /* @__PURE__ */ (0, import_jsx_runtime84.jsx)("span", { className: "mt-0.5 flex h-8 w-8 shrink-0 items-center justify-center rounded-lg bg-primary/10 text-primary-ink [&_svg]:size-4", children: item.icon }),
7191
+ /* @__PURE__ */ (0, import_jsx_runtime84.jsxs)("div", { className: "min-w-0", children: [
7192
+ /* @__PURE__ */ (0, import_jsx_runtime84.jsx)("p", { className: "text-xs font-semibold uppercase tracking-wider text-muted-foreground", children: item.label }),
7193
+ item.href ? /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(Link3, { href: item.href, className: "mt-0.5 block break-words text-sm font-medium text-primary-ink underline-offset-4 hover:underline", children: item.value }) : /* @__PURE__ */ (0, import_jsx_runtime84.jsx)("p", { className: "mt-0.5 break-words text-sm font-medium", children: item.value })
7078
7194
  ] })
7079
7195
  ] }, item.label)) });
7080
7196
  });
7081
7197
 
7082
7198
  // src/components/announcement-bar/AnnouncementBar.tsx
7083
7199
  var React84 = __toESM(require("react"));
7084
- var import_jsx_runtime84 = require("react/jsx-runtime");
7200
+ var import_jsx_runtime85 = require("react/jsx-runtime");
7085
7201
  var toneClasses3 = {
7086
7202
  muted: "bg-muted text-foreground",
7087
7203
  brand: "bg-primary text-primary-foreground",
@@ -7107,7 +7223,7 @@ var AnnouncementBar = React84.forwardRef(
7107
7223
  setDismissed(true);
7108
7224
  onDismiss?.();
7109
7225
  };
7110
- return /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(
7226
+ return /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(
7111
7227
  "div",
7112
7228
  {
7113
7229
  ref,
@@ -7120,9 +7236,9 @@ var AnnouncementBar = React84.forwardRef(
7120
7236
  className
7121
7237
  ),
7122
7238
  ...props,
7123
- children: /* @__PURE__ */ (0, import_jsx_runtime84.jsxs)("div", { className: "mx-auto flex w-full max-w-7xl items-center justify-center gap-3 px-4 py-2 text-sm sm:px-6", children: [
7124
- /* @__PURE__ */ (0, import_jsx_runtime84.jsx)("p", { className: "min-w-0 text-center", children: message }),
7125
- href && actionLabel && /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(
7239
+ children: /* @__PURE__ */ (0, import_jsx_runtime85.jsxs)("div", { className: "mx-auto flex w-full max-w-7xl items-center justify-center gap-3 px-4 py-2 text-sm sm:px-6", children: [
7240
+ /* @__PURE__ */ (0, import_jsx_runtime85.jsx)("p", { className: "min-w-0 text-center", children: message }),
7241
+ href && actionLabel && /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(
7126
7242
  Link3,
7127
7243
  {
7128
7244
  href,
@@ -7130,14 +7246,14 @@ var AnnouncementBar = React84.forwardRef(
7130
7246
  children: actionLabel
7131
7247
  }
7132
7248
  ),
7133
- dismissible && /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(
7249
+ dismissible && /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(
7134
7250
  "button",
7135
7251
  {
7136
7252
  type: "button",
7137
7253
  onClick: dismiss2,
7138
7254
  "aria-label": "Dismiss announcement",
7139
7255
  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",
7140
- children: /* @__PURE__ */ (0, import_jsx_runtime84.jsx)("svg", { "aria-hidden": "true", viewBox: "0 0 20 20", className: "h-4 w-4", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", children: /* @__PURE__ */ (0, import_jsx_runtime84.jsx)("path", { d: "m5 5 10 10M15 5 5 15" }) })
7256
+ children: /* @__PURE__ */ (0, import_jsx_runtime85.jsx)("svg", { "aria-hidden": "true", viewBox: "0 0 20 20", className: "h-4 w-4", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", children: /* @__PURE__ */ (0, import_jsx_runtime85.jsx)("path", { d: "m5 5 10 10M15 5 5 15" }) })
7141
7257
  }
7142
7258
  )
7143
7259
  ] })
@@ -7148,7 +7264,7 @@ var AnnouncementBar = React84.forwardRef(
7148
7264
 
7149
7265
  // src/components/deal-card/DealCard.tsx
7150
7266
  var React85 = __toESM(require("react"));
7151
- var import_jsx_runtime85 = require("react/jsx-runtime");
7267
+ var import_jsx_runtime86 = require("react/jsx-runtime");
7152
7268
  var statusConfig = {
7153
7269
  available: { label: "Available", variant: "success" },
7154
7270
  "under-nda": { label: "Under NDA", variant: "info" },
@@ -7176,29 +7292,29 @@ var DealCard = React85.forwardRef(function DealCard2({
7176
7292
  }, ref) {
7177
7293
  const Link3 = linkComponent ?? "a";
7178
7294
  const statusInfo = statusConfig[status];
7179
- return /* @__PURE__ */ (0, import_jsx_runtime85.jsxs)(Card, { ref, className: cn("flex h-full flex-col overflow-hidden", className), ...props, children: [
7180
- /* @__PURE__ */ (0, import_jsx_runtime85.jsxs)(CardHeader, { className: "gap-2 p-5 pb-3", children: [
7181
- /* @__PURE__ */ (0, import_jsx_runtime85.jsxs)("div", { className: "flex items-start justify-between gap-2", children: [
7182
- /* @__PURE__ */ (0, import_jsx_runtime85.jsx)("p", { className: "text-xs font-semibold uppercase tracking-widest text-primary-ink", children: sector }),
7183
- /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(Badge, { variant: statusInfo.variant, children: statusInfo.label })
7295
+ return /* @__PURE__ */ (0, import_jsx_runtime86.jsxs)(Card, { ref, className: cn("flex h-full flex-col overflow-hidden", className), ...props, children: [
7296
+ /* @__PURE__ */ (0, import_jsx_runtime86.jsxs)(CardHeader, { className: "gap-2 p-5 pb-3", children: [
7297
+ /* @__PURE__ */ (0, import_jsx_runtime86.jsxs)("div", { className: "flex items-start justify-between gap-2", children: [
7298
+ /* @__PURE__ */ (0, import_jsx_runtime86.jsx)("p", { className: "text-xs font-semibold uppercase tracking-widest text-primary-ink", children: sector }),
7299
+ /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(Badge, { variant: statusInfo.variant, children: statusInfo.label })
7184
7300
  ] }),
7185
- /* @__PURE__ */ (0, import_jsx_runtime85.jsx)("h3", { className: "text-lg font-semibold leading-snug tracking-tight", children: href ? /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(Link3, { href, className: "rounded-sm hover:text-primary-ink focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring", children: title }) : title }),
7186
- location && /* @__PURE__ */ (0, import_jsx_runtime85.jsx)("p", { className: "text-xs text-muted-foreground", children: location })
7301
+ /* @__PURE__ */ (0, import_jsx_runtime86.jsx)("h3", { className: "text-lg font-semibold leading-snug tracking-tight", children: href ? /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(Link3, { href, className: "rounded-sm hover:text-primary-ink focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring", children: title }) : title }),
7302
+ location && /* @__PURE__ */ (0, import_jsx_runtime86.jsx)("p", { className: "text-xs text-muted-foreground", children: location })
7187
7303
  ] }),
7188
- /* @__PURE__ */ (0, import_jsx_runtime85.jsxs)(CardContent, { className: "flex-1 px-5 pb-3", children: [
7189
- description && /* @__PURE__ */ (0, import_jsx_runtime85.jsx)("p", { className: "line-clamp-2 text-sm leading-relaxed text-muted-foreground", children: description }),
7190
- /* @__PURE__ */ (0, import_jsx_runtime85.jsx)("dl", { className: "mt-4 grid grid-cols-3 gap-3", children: metrics.map((metric) => /* @__PURE__ */ (0, import_jsx_runtime85.jsxs)("div", { className: "min-w-0", children: [
7191
- /* @__PURE__ */ (0, import_jsx_runtime85.jsx)("dt", { className: "text-xs text-muted-foreground", children: metric.label }),
7192
- /* @__PURE__ */ (0, import_jsx_runtime85.jsx)("dd", { className: "mt-0.5 truncate text-sm font-semibold tabular-nums", children: metric.value })
7304
+ /* @__PURE__ */ (0, import_jsx_runtime86.jsxs)(CardContent, { className: "flex-1 px-5 pb-3", children: [
7305
+ description && /* @__PURE__ */ (0, import_jsx_runtime86.jsx)("p", { className: "line-clamp-2 text-sm leading-relaxed text-muted-foreground", children: description }),
7306
+ /* @__PURE__ */ (0, import_jsx_runtime86.jsx)("dl", { className: "mt-4 grid grid-cols-3 gap-3", children: metrics.map((metric) => /* @__PURE__ */ (0, import_jsx_runtime86.jsxs)("div", { className: "min-w-0", children: [
7307
+ /* @__PURE__ */ (0, import_jsx_runtime86.jsx)("dt", { className: "text-xs text-muted-foreground", children: metric.label }),
7308
+ /* @__PURE__ */ (0, import_jsx_runtime86.jsx)("dd", { className: "mt-0.5 truncate text-sm font-semibold tabular-nums", children: metric.value })
7193
7309
  ] }, metric.label)) }),
7194
- (ndaAvailable || cimAvailable) && /* @__PURE__ */ (0, import_jsx_runtime85.jsxs)("div", { className: "mt-4 flex flex-wrap gap-1.5", children: [
7195
- ndaAvailable && /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(Badge, { variant: "info", children: "NDA available" }),
7196
- cimAvailable && /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(Badge, { variant: "secondary", children: "CIM available" })
7310
+ (ndaAvailable || cimAvailable) && /* @__PURE__ */ (0, import_jsx_runtime86.jsxs)("div", { className: "mt-4 flex flex-wrap gap-1.5", children: [
7311
+ ndaAvailable && /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(Badge, { variant: "info", children: "NDA available" }),
7312
+ cimAvailable && /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(Badge, { variant: "secondary", children: "CIM available" })
7197
7313
  ] })
7198
7314
  ] }),
7199
- /* @__PURE__ */ (0, import_jsx_runtime85.jsxs)(CardFooter, { className: "flex flex-wrap items-center gap-2 border-t border-border px-5 py-3", children: [
7200
- onRequestAccess && /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(Button, { type: "button", size: "sm", onClick: onRequestAccess, children: requestLabel }),
7201
- onSave && /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(
7315
+ /* @__PURE__ */ (0, import_jsx_runtime86.jsxs)(CardFooter, { className: "flex flex-wrap items-center gap-2 border-t border-border px-5 py-3", children: [
7316
+ onRequestAccess && /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(Button, { type: "button", size: "sm", onClick: onRequestAccess, children: requestLabel }),
7317
+ onSave && /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(
7202
7318
  Button,
7203
7319
  {
7204
7320
  type: "button",
@@ -7216,7 +7332,7 @@ var DealCard = React85.forwardRef(function DealCard2({
7216
7332
 
7217
7333
  // src/components/entity-card/EntityCard.tsx
7218
7334
  var React86 = __toESM(require("react"));
7219
- var import_jsx_runtime86 = require("react/jsx-runtime");
7335
+ var import_jsx_runtime87 = require("react/jsx-runtime");
7220
7336
  function initials(name) {
7221
7337
  return name.split(/\s+/).filter(Boolean).slice(0, 2).map((part) => part[0]?.toUpperCase() ?? "").join("");
7222
7338
  }
@@ -7238,11 +7354,11 @@ var EntityCard = React86.forwardRef(function EntityCard2({
7238
7354
  const Link3 = linkComponent ?? "a";
7239
7355
  const stretched = Boolean(cardHref);
7240
7356
  const nameHref = cardHref ?? href;
7241
- return /* @__PURE__ */ (0, import_jsx_runtime86.jsxs)(Card, { ref, className: cn("flex h-full flex-col", stretched && "relative isolate", className), ...props, children: [
7242
- /* @__PURE__ */ (0, import_jsx_runtime86.jsxs)(CardHeader, { className: "flex-row items-start gap-3 p-5 pb-3", children: [
7243
- /* @__PURE__ */ (0, import_jsx_runtime86.jsx)("div", { className: "shrink-0", children: logo ?? /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(Avatar, { children: /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(AvatarFallback, { children: initials(name) }) }) }),
7244
- /* @__PURE__ */ (0, import_jsx_runtime86.jsxs)("div", { className: "min-w-0 flex-1", children: [
7245
- /* @__PURE__ */ (0, import_jsx_runtime86.jsx)("h3", { className: "truncate text-base font-semibold tracking-tight", children: nameHref ? /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(
7357
+ return /* @__PURE__ */ (0, import_jsx_runtime87.jsxs)(Card, { ref, className: cn("flex h-full flex-col", stretched && "relative isolate", className), ...props, children: [
7358
+ /* @__PURE__ */ (0, import_jsx_runtime87.jsxs)(CardHeader, { className: "flex-row items-start gap-3 p-5 pb-3", children: [
7359
+ /* @__PURE__ */ (0, import_jsx_runtime87.jsx)("div", { className: "shrink-0", children: logo ?? /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(Avatar, { children: /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(AvatarFallback, { children: initials(name) }) }) }),
7360
+ /* @__PURE__ */ (0, import_jsx_runtime87.jsxs)("div", { className: "min-w-0 flex-1", children: [
7361
+ /* @__PURE__ */ (0, import_jsx_runtime87.jsx)("h3", { className: "truncate text-base font-semibold tracking-tight", children: nameHref ? /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(
7246
7362
  Link3,
7247
7363
  {
7248
7364
  href: nameHref,
@@ -7253,20 +7369,20 @@ var EntityCard = React86.forwardRef(function EntityCard2({
7253
7369
  children: name
7254
7370
  }
7255
7371
  ) : name }),
7256
- /* @__PURE__ */ (0, import_jsx_runtime86.jsx)("p", { className: "mt-0.5 truncate text-xs text-muted-foreground", children: entityType }),
7257
- location && /* @__PURE__ */ (0, import_jsx_runtime86.jsx)("p", { className: "mt-0.5 truncate text-xs text-muted-foreground", children: location })
7372
+ /* @__PURE__ */ (0, import_jsx_runtime87.jsx)("p", { className: "mt-0.5 truncate text-xs text-muted-foreground", children: entityType }),
7373
+ location && /* @__PURE__ */ (0, import_jsx_runtime87.jsx)("p", { className: "mt-0.5 truncate text-xs text-muted-foreground", children: location })
7258
7374
  ] })
7259
7375
  ] }),
7260
- /* @__PURE__ */ (0, import_jsx_runtime86.jsxs)(CardContent, { className: "flex-1 px-5 pb-3", children: [
7261
- description && /* @__PURE__ */ (0, import_jsx_runtime86.jsx)("p", { className: "line-clamp-3 text-sm leading-relaxed text-muted-foreground", children: description }),
7262
- tags && tags.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime86.jsx)("div", { className: "mt-3 flex flex-wrap gap-1.5", children: tags.map((tag) => /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(Badge, { variant: "secondary", children: tag }, tag)) }),
7263
- stats && stats.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime86.jsx)("dl", { className: "mt-4 grid grid-cols-2 gap-3", children: stats.map((stat) => /* @__PURE__ */ (0, import_jsx_runtime86.jsxs)("div", { className: "min-w-0", children: [
7264
- /* @__PURE__ */ (0, import_jsx_runtime86.jsx)("dt", { className: "text-xs text-muted-foreground", children: stat.label }),
7265
- /* @__PURE__ */ (0, import_jsx_runtime86.jsx)("dd", { className: "mt-0.5 truncate text-sm font-semibold tabular-nums", children: stat.value })
7376
+ /* @__PURE__ */ (0, import_jsx_runtime87.jsxs)(CardContent, { className: "flex-1 px-5 pb-3", children: [
7377
+ description && /* @__PURE__ */ (0, import_jsx_runtime87.jsx)("p", { className: "line-clamp-3 text-sm leading-relaxed text-muted-foreground", children: description }),
7378
+ tags && tags.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime87.jsx)("div", { className: "mt-3 flex flex-wrap gap-1.5", children: tags.map((tag) => /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(Badge, { variant: "secondary", children: tag }, tag)) }),
7379
+ stats && stats.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime87.jsx)("dl", { className: "mt-4 grid grid-cols-2 gap-3", children: stats.map((stat) => /* @__PURE__ */ (0, import_jsx_runtime87.jsxs)("div", { className: "min-w-0", children: [
7380
+ /* @__PURE__ */ (0, import_jsx_runtime87.jsx)("dt", { className: "text-xs text-muted-foreground", children: stat.label }),
7381
+ /* @__PURE__ */ (0, import_jsx_runtime87.jsx)("dd", { className: "mt-0.5 truncate text-sm font-semibold tabular-nums", children: stat.value })
7266
7382
  ] }, stat.label)) })
7267
7383
  ] }),
7268
- (href && !stretched || actions) && /* @__PURE__ */ (0, import_jsx_runtime86.jsxs)(CardFooter, { className: cn("flex flex-wrap items-center gap-2 border-t border-border px-5 py-3", stretched && "relative z-10"), children: [
7269
- href && !stretched && /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(
7384
+ (href && !stretched || actions) && /* @__PURE__ */ (0, import_jsx_runtime87.jsxs)(CardFooter, { className: cn("flex flex-wrap items-center gap-2 border-t border-border px-5 py-3", stretched && "relative z-10"), children: [
7385
+ href && !stretched && /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(
7270
7386
  Link3,
7271
7387
  {
7272
7388
  href,
@@ -7274,7 +7390,7 @@ var EntityCard = React86.forwardRef(function EntityCard2({
7274
7390
  children: "View profile"
7275
7391
  }
7276
7392
  ),
7277
- actions && /* @__PURE__ */ (0, import_jsx_runtime86.jsx)("div", { className: "ml-auto flex items-center gap-2", children: actions })
7393
+ actions && /* @__PURE__ */ (0, import_jsx_runtime87.jsx)("div", { className: "ml-auto flex items-center gap-2", children: actions })
7278
7394
  ] })
7279
7395
  ] });
7280
7396
  });
@@ -7282,7 +7398,7 @@ var ProfileCard = EntityCard;
7282
7398
 
7283
7399
  // src/components/tombstone-card/TombstoneCard.tsx
7284
7400
  var React87 = __toESM(require("react"));
7285
- var import_jsx_runtime87 = require("react/jsx-runtime");
7401
+ var import_jsx_runtime88 = require("react/jsx-runtime");
7286
7402
  var statusConfig2 = {
7287
7403
  archived: { label: "Archived", variant: "secondary" },
7288
7404
  unavailable: { label: "Unavailable", variant: "warning" },
@@ -7301,20 +7417,20 @@ var TombstoneCard = React87.forwardRef(function TombstoneCard2({
7301
7417
  }, ref) {
7302
7418
  const Link3 = linkComponent ?? "a";
7303
7419
  const statusInfo = statusConfig2[status];
7304
- return /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(
7420
+ return /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(
7305
7421
  Card,
7306
7422
  {
7307
7423
  ref,
7308
7424
  className: cn("flex h-full flex-col border-dashed bg-muted/30 shadow-none", className),
7309
7425
  ...props,
7310
- children: /* @__PURE__ */ (0, import_jsx_runtime87.jsxs)(CardContent, { className: "flex flex-1 flex-col gap-3 p-5", children: [
7311
- /* @__PURE__ */ (0, import_jsx_runtime87.jsxs)("div", { className: "flex items-start justify-between gap-2", children: [
7312
- logo && /* @__PURE__ */ (0, import_jsx_runtime87.jsx)("div", { className: "min-w-0 opacity-70", children: logo }),
7313
- /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(Badge, { variant: statusInfo.variant, children: statusInfo.label })
7426
+ children: /* @__PURE__ */ (0, import_jsx_runtime88.jsxs)(CardContent, { className: "flex flex-1 flex-col gap-3 p-5", children: [
7427
+ /* @__PURE__ */ (0, import_jsx_runtime88.jsxs)("div", { className: "flex items-start justify-between gap-2", children: [
7428
+ logo && /* @__PURE__ */ (0, import_jsx_runtime88.jsx)("div", { className: "min-w-0 opacity-70", children: logo }),
7429
+ /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(Badge, { variant: statusInfo.variant, children: statusInfo.label })
7314
7430
  ] }),
7315
- /* @__PURE__ */ (0, import_jsx_runtime87.jsx)("h3", { className: "text-base font-semibold tracking-tight text-foreground/80", children: title }),
7316
- reason && /* @__PURE__ */ (0, import_jsx_runtime87.jsx)("p", { className: "text-sm leading-relaxed text-muted-foreground", children: reason }),
7317
- href && /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(
7431
+ /* @__PURE__ */ (0, import_jsx_runtime88.jsx)("h3", { className: "text-base font-semibold tracking-tight text-foreground/80", children: title }),
7432
+ reason && /* @__PURE__ */ (0, import_jsx_runtime88.jsx)("p", { className: "text-sm leading-relaxed text-muted-foreground", children: reason }),
7433
+ href && /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(
7318
7434
  Link3,
7319
7435
  {
7320
7436
  href,
@@ -7329,7 +7445,7 @@ var TombstoneCard = React87.forwardRef(function TombstoneCard2({
7329
7445
 
7330
7446
  // src/components/document-card/DocumentCard.tsx
7331
7447
  var React88 = __toESM(require("react"));
7332
- var import_jsx_runtime88 = require("react/jsx-runtime");
7448
+ var import_jsx_runtime89 = require("react/jsx-runtime");
7333
7449
  var statusConfig3 = {
7334
7450
  available: { label: "Available", variant: "success" },
7335
7451
  restricted: { label: "Restricted", variant: "warning" },
@@ -7349,14 +7465,14 @@ var DocumentCard = React88.forwardRef(function DocumentCard2({
7349
7465
  }, ref) {
7350
7466
  const statusInfo = statusConfig3[status];
7351
7467
  const meta = [fileType, size, updatedAt].filter(Boolean).join(" \xB7 ");
7352
- return /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(Card, { ref, className: cn("w-full", className), ...props, children: /* @__PURE__ */ (0, import_jsx_runtime88.jsxs)(CardContent, { className: "flex items-center gap-3 p-4", children: [
7353
- /* @__PURE__ */ (0, import_jsx_runtime88.jsx)("span", { className: "flex h-10 w-10 shrink-0 items-center justify-center rounded-lg bg-primary/10 text-primary-ink [&_svg]:size-5", children: icon ?? /* @__PURE__ */ (0, import_jsx_runtime88.jsx)("span", { className: "text-[10px] font-bold uppercase tracking-wide", children: fileType }) }),
7354
- /* @__PURE__ */ (0, import_jsx_runtime88.jsxs)("div", { className: "min-w-0 flex-1", children: [
7355
- /* @__PURE__ */ (0, import_jsx_runtime88.jsx)("p", { className: "truncate text-sm font-medium", children: name }),
7356
- meta && /* @__PURE__ */ (0, import_jsx_runtime88.jsx)("p", { className: "mt-0.5 truncate text-xs text-muted-foreground", children: meta })
7468
+ return /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(Card, { ref, className: cn("w-full", className), ...props, children: /* @__PURE__ */ (0, import_jsx_runtime89.jsxs)(CardContent, { className: "flex items-center gap-3 p-4", children: [
7469
+ /* @__PURE__ */ (0, import_jsx_runtime89.jsx)("span", { className: "flex h-10 w-10 shrink-0 items-center justify-center rounded-lg bg-primary/10 text-primary-ink [&_svg]:size-5", children: icon ?? /* @__PURE__ */ (0, import_jsx_runtime89.jsx)("span", { className: "text-[10px] font-bold uppercase tracking-wide", children: fileType }) }),
7470
+ /* @__PURE__ */ (0, import_jsx_runtime89.jsxs)("div", { className: "min-w-0 flex-1", children: [
7471
+ /* @__PURE__ */ (0, import_jsx_runtime89.jsx)("p", { className: "truncate text-sm font-medium", children: name }),
7472
+ meta && /* @__PURE__ */ (0, import_jsx_runtime89.jsx)("p", { className: "mt-0.5 truncate text-xs text-muted-foreground", children: meta })
7357
7473
  ] }),
7358
- /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(Badge, { variant: statusInfo.variant, children: statusInfo.label }),
7359
- onDownload && /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(
7474
+ /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(Badge, { variant: statusInfo.variant, children: statusInfo.label }),
7475
+ onDownload && /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(
7360
7476
  Button,
7361
7477
  {
7362
7478
  type: "button",
@@ -7373,7 +7489,7 @@ var DocumentCard = React88.forwardRef(function DocumentCard2({
7373
7489
 
7374
7490
  // src/components/load-more/LoadMore.tsx
7375
7491
  var React89 = __toESM(require("react"));
7376
- var import_jsx_runtime89 = require("react/jsx-runtime");
7492
+ var import_jsx_runtime90 = require("react/jsx-runtime");
7377
7493
  var LoadMore = React89.forwardRef(function LoadMore2({
7378
7494
  hasMore,
7379
7495
  onLoadMore,
@@ -7384,12 +7500,12 @@ var LoadMore = React89.forwardRef(function LoadMore2({
7384
7500
  className,
7385
7501
  ...props
7386
7502
  }, ref) {
7387
- return /* @__PURE__ */ (0, import_jsx_runtime89.jsx)("div", { ref, "aria-live": "polite", className: cn("flex w-full justify-center py-4", className), ...props, children: hasMore ? /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(Button, { type: "button", variant: "outline", onClick: onLoadMore, loading, children: loading ? loadingLabel : loadLabel }) : /* @__PURE__ */ (0, import_jsx_runtime89.jsx)("p", { role: "status", className: "text-sm text-muted-foreground", children: endLabel }) });
7503
+ return /* @__PURE__ */ (0, import_jsx_runtime90.jsx)("div", { ref, "aria-live": "polite", className: cn("flex w-full justify-center py-4", className), ...props, children: hasMore ? /* @__PURE__ */ (0, import_jsx_runtime90.jsx)(Button, { type: "button", variant: "outline", onClick: onLoadMore, loading, children: loading ? loadingLabel : loadLabel }) : /* @__PURE__ */ (0, import_jsx_runtime90.jsx)("p", { role: "status", className: "text-sm text-muted-foreground", children: endLabel }) });
7388
7504
  });
7389
7505
 
7390
7506
  // src/components/segmented-control/SegmentedControl.tsx
7391
7507
  var React90 = __toESM(require("react"));
7392
- var import_jsx_runtime90 = require("react/jsx-runtime");
7508
+ var import_jsx_runtime91 = require("react/jsx-runtime");
7393
7509
  var sizeClasses10 = {
7394
7510
  sm: "h-8 px-2.5 text-xs",
7395
7511
  md: "h-9 px-3 text-sm",
@@ -7404,6 +7520,8 @@ var SegmentedControl = React90.forwardRef(
7404
7520
  multiple = false,
7405
7521
  size = "md",
7406
7522
  fullWidth = false,
7523
+ linkComponent,
7524
+ linkHrefProp = "href",
7407
7525
  className,
7408
7526
  "aria-label": ariaLabel = "Segmented control",
7409
7527
  ...props
@@ -7414,6 +7532,9 @@ var SegmentedControl = React90.forwardRef(
7414
7532
  );
7415
7533
  const current = isControlled ? value : internal;
7416
7534
  const selected = multiple ? Array.isArray(current) ? current : [] : typeof current === "string" ? current : "";
7535
+ const linkMode = options.some((option) => option.href !== void 0);
7536
+ const LinkEl = linkComponent ?? "a";
7537
+ const destination = (href) => linkHrefProp === "to" ? { to: href } : { href };
7417
7538
  const refs = React90.useRef([]);
7418
7539
  const commit = (next) => {
7419
7540
  if (!isControlled) setInternal(next);
@@ -7464,11 +7585,11 @@ var SegmentedControl = React90.forwardRef(
7464
7585
  moveFocus("last");
7465
7586
  }
7466
7587
  };
7467
- return /* @__PURE__ */ (0, import_jsx_runtime90.jsx)(
7588
+ return /* @__PURE__ */ (0, import_jsx_runtime91.jsx)(
7468
7589
  "div",
7469
7590
  {
7470
7591
  ref,
7471
- role: multiple ? "group" : "radiogroup",
7592
+ role: multiple || linkMode ? "group" : "radiogroup",
7472
7593
  "aria-label": ariaLabel,
7473
7594
  className: cn(
7474
7595
  "inline-flex items-center gap-1 rounded-lg border border-border bg-muted p-1",
@@ -7480,32 +7601,58 @@ var SegmentedControl = React90.forwardRef(
7480
7601
  const active = multiple ? Array.isArray(selected) && selected.includes(option.value) : selected === option.value;
7481
7602
  const firstEnabled = options.findIndex((entry) => !entry.disabled);
7482
7603
  const focusable = multiple || active || !selected && index === firstEnabled;
7483
- return /* @__PURE__ */ (0, import_jsx_runtime90.jsxs)(
7604
+ const segmentClass = cn(
7605
+ "inline-flex items-center justify-center gap-2 rounded-md font-medium transition-colors",
7606
+ "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background",
7607
+ "disabled:pointer-events-none disabled:opacity-50",
7608
+ sizeClasses10[size],
7609
+ fullWidth && "flex-1",
7610
+ active ? "bg-background text-foreground shadow-sm" : "text-muted-foreground hover:text-foreground"
7611
+ );
7612
+ const segmentContent = /* @__PURE__ */ (0, import_jsx_runtime91.jsxs)(import_jsx_runtime91.Fragment, { children: [
7613
+ option.icon && /* @__PURE__ */ (0, import_jsx_runtime91.jsx)("span", { className: "shrink-0 [&_svg]:size-4", children: option.icon }),
7614
+ /* @__PURE__ */ (0, import_jsx_runtime91.jsx)("span", { className: "truncate", children: option.label })
7615
+ ] });
7616
+ if (option.href !== void 0) {
7617
+ if (option.disabled || active) {
7618
+ return /* @__PURE__ */ (0, import_jsx_runtime91.jsx)(
7619
+ "span",
7620
+ {
7621
+ "aria-current": active ? "page" : void 0,
7622
+ "aria-disabled": option.disabled || void 0,
7623
+ className: cn(segmentClass, option.disabled && "opacity-50"),
7624
+ children: segmentContent
7625
+ },
7626
+ option.value
7627
+ );
7628
+ }
7629
+ return /* @__PURE__ */ (0, import_jsx_runtime91.jsx)(
7630
+ LinkEl,
7631
+ {
7632
+ ...destination(option.href),
7633
+ className: segmentClass,
7634
+ children: segmentContent
7635
+ },
7636
+ option.value
7637
+ );
7638
+ }
7639
+ return /* @__PURE__ */ (0, import_jsx_runtime91.jsx)(
7484
7640
  "button",
7485
7641
  {
7486
7642
  ref: (node) => {
7487
7643
  refs.current[index] = node;
7488
7644
  },
7489
7645
  type: "button",
7490
- role: multiple ? void 0 : "radio",
7491
- "aria-checked": multiple ? void 0 : active,
7646
+ role: multiple || linkMode ? void 0 : "radio",
7647
+ "aria-checked": multiple || linkMode ? void 0 : active,
7492
7648
  "aria-pressed": multiple ? active : void 0,
7649
+ "aria-current": linkMode && active ? "page" : void 0,
7493
7650
  disabled: option.disabled,
7494
7651
  tabIndex: focusable ? 0 : -1,
7495
7652
  onClick: () => select(option),
7496
7653
  onKeyDown,
7497
- className: cn(
7498
- "inline-flex items-center justify-center gap-2 rounded-md font-medium transition-colors",
7499
- "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background",
7500
- "disabled:pointer-events-none disabled:opacity-50",
7501
- sizeClasses10[size],
7502
- fullWidth && "flex-1",
7503
- active ? "bg-background text-foreground shadow-sm" : "text-muted-foreground hover:text-foreground"
7504
- ),
7505
- children: [
7506
- option.icon && /* @__PURE__ */ (0, import_jsx_runtime90.jsx)("span", { className: "shrink-0 [&_svg]:size-4", children: option.icon }),
7507
- /* @__PURE__ */ (0, import_jsx_runtime90.jsx)("span", { className: "truncate", children: option.label })
7508
- ]
7654
+ className: segmentClass,
7655
+ children: segmentContent
7509
7656
  },
7510
7657
  option.value
7511
7658
  );
@@ -7517,7 +7664,7 @@ var SegmentedControl = React90.forwardRef(
7517
7664
 
7518
7665
  // src/components/range-slider/RangeSlider.tsx
7519
7666
  var React91 = __toESM(require("react"));
7520
- var import_jsx_runtime91 = require("react/jsx-runtime");
7667
+ var import_jsx_runtime92 = require("react/jsx-runtime");
7521
7668
  var rangeInputClass = cn(
7522
7669
  "pointer-events-none absolute inset-x-0 top-1/2 h-6 w-full -translate-y-1/2 appearance-none bg-transparent",
7523
7670
  "[&::-webkit-slider-runnable-track]:h-1 [&::-webkit-slider-runnable-track]:rounded-full [&::-webkit-slider-runnable-track]:bg-transparent",
@@ -7557,21 +7704,21 @@ var RangeSlider = React91.forwardRef(function RangeSlider2({
7557
7704
  const span = max - min || 1;
7558
7705
  const lowPercent = (low - min) / span * 100;
7559
7706
  const highPercent = (high - min) / span * 100;
7560
- return /* @__PURE__ */ (0, import_jsx_runtime91.jsxs)("div", { ref, className: cn("w-full", className), ...props, children: [
7561
- showValues && /* @__PURE__ */ (0, import_jsx_runtime91.jsxs)("div", { className: "mb-2 flex items-center justify-between text-sm font-medium tabular-nums", children: [
7562
- /* @__PURE__ */ (0, import_jsx_runtime91.jsx)("span", { children: formatValue(low) }),
7563
- /* @__PURE__ */ (0, import_jsx_runtime91.jsx)("span", { children: formatValue(high) })
7707
+ return /* @__PURE__ */ (0, import_jsx_runtime92.jsxs)("div", { ref, className: cn("w-full", className), ...props, children: [
7708
+ showValues && /* @__PURE__ */ (0, import_jsx_runtime92.jsxs)("div", { className: "mb-2 flex items-center justify-between text-sm font-medium tabular-nums", children: [
7709
+ /* @__PURE__ */ (0, import_jsx_runtime92.jsx)("span", { children: formatValue(low) }),
7710
+ /* @__PURE__ */ (0, import_jsx_runtime92.jsx)("span", { children: formatValue(high) })
7564
7711
  ] }),
7565
- /* @__PURE__ */ (0, import_jsx_runtime91.jsxs)("div", { className: "relative h-6 w-full", children: [
7566
- /* @__PURE__ */ (0, import_jsx_runtime91.jsx)("div", { className: "absolute inset-x-0 top-1/2 h-1 -translate-y-1/2 rounded-full bg-border" }),
7567
- /* @__PURE__ */ (0, import_jsx_runtime91.jsx)(
7712
+ /* @__PURE__ */ (0, import_jsx_runtime92.jsxs)("div", { className: "relative h-6 w-full", children: [
7713
+ /* @__PURE__ */ (0, import_jsx_runtime92.jsx)("div", { className: "absolute inset-x-0 top-1/2 h-1 -translate-y-1/2 rounded-full bg-border" }),
7714
+ /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(
7568
7715
  "div",
7569
7716
  {
7570
7717
  className: "absolute top-1/2 h-1 -translate-y-1/2 rounded-full bg-primary",
7571
7718
  style: { left: `${lowPercent}%`, right: `${100 - highPercent}%` }
7572
7719
  }
7573
7720
  ),
7574
- /* @__PURE__ */ (0, import_jsx_runtime91.jsx)(
7721
+ /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(
7575
7722
  "input",
7576
7723
  {
7577
7724
  type: "range",
@@ -7586,7 +7733,7 @@ var RangeSlider = React91.forwardRef(function RangeSlider2({
7586
7733
  className: cn(rangeInputClass, "z-10")
7587
7734
  }
7588
7735
  ),
7589
- /* @__PURE__ */ (0, import_jsx_runtime91.jsx)(
7736
+ /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(
7590
7737
  "input",
7591
7738
  {
7592
7739
  type: "range",
@@ -7607,7 +7754,7 @@ var RangeSlider = React91.forwardRef(function RangeSlider2({
7607
7754
 
7608
7755
  // src/components/filter-chips/FilterChips.tsx
7609
7756
  var React92 = __toESM(require("react"));
7610
- var import_jsx_runtime92 = require("react/jsx-runtime");
7757
+ var import_jsx_runtime93 = require("react/jsx-runtime");
7611
7758
  var CHIP_SIZES = {
7612
7759
  sm: {
7613
7760
  chip: "gap-1 py-0.5 pl-2.5 pr-0.5 text-xs",
@@ -7639,10 +7786,10 @@ var FilterChips = React92.forwardRef(function FilterChips2({
7639
7786
  ...props
7640
7787
  }, ref) {
7641
7788
  if (filters.length === 0) {
7642
- return emptyLabel ? /* @__PURE__ */ (0, import_jsx_runtime92.jsx)("div", { ref, className: cn("text-sm text-muted-foreground", className), ...props, children: emptyLabel }) : null;
7789
+ return emptyLabel ? /* @__PURE__ */ (0, import_jsx_runtime93.jsx)("div", { ref, className: cn("text-sm text-muted-foreground", className), ...props, children: emptyLabel }) : null;
7643
7790
  }
7644
7791
  const scale = CHIP_SIZES[size];
7645
- return /* @__PURE__ */ (0, import_jsx_runtime92.jsxs)(
7792
+ return /* @__PURE__ */ (0, import_jsx_runtime93.jsxs)(
7646
7793
  "div",
7647
7794
  {
7648
7795
  ref,
@@ -7651,7 +7798,7 @@ var FilterChips = React92.forwardRef(function FilterChips2({
7651
7798
  className: cn("flex flex-wrap items-center gap-2", className),
7652
7799
  ...props,
7653
7800
  children: [
7654
- filters.map((filter) => /* @__PURE__ */ (0, import_jsx_runtime92.jsxs)(
7801
+ filters.map((filter) => /* @__PURE__ */ (0, import_jsx_runtime93.jsxs)(
7655
7802
  "span",
7656
7803
  {
7657
7804
  className: cn(
@@ -7659,15 +7806,15 @@ var FilterChips = React92.forwardRef(function FilterChips2({
7659
7806
  scale.chip
7660
7807
  ),
7661
7808
  children: [
7662
- /* @__PURE__ */ (0, import_jsx_runtime92.jsxs)("span", { className: "truncate", children: [
7663
- /* @__PURE__ */ (0, import_jsx_runtime92.jsxs)("span", { className: "text-muted-foreground", children: [
7809
+ /* @__PURE__ */ (0, import_jsx_runtime93.jsxs)("span", { className: "truncate", children: [
7810
+ /* @__PURE__ */ (0, import_jsx_runtime93.jsxs)("span", { className: "text-muted-foreground", children: [
7664
7811
  filter.label,
7665
7812
  ":"
7666
7813
  ] }),
7667
7814
  " ",
7668
- /* @__PURE__ */ (0, import_jsx_runtime92.jsx)("span", { className: "font-medium", children: filter.value ?? "Any" })
7815
+ /* @__PURE__ */ (0, import_jsx_runtime93.jsx)("span", { className: "font-medium", children: filter.value ?? "Any" })
7669
7816
  ] }),
7670
- filter.onRemove && /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(
7817
+ filter.onRemove && /* @__PURE__ */ (0, import_jsx_runtime93.jsx)(
7671
7818
  "button",
7672
7819
  {
7673
7820
  type: "button",
@@ -7677,14 +7824,14 @@ var FilterChips = React92.forwardRef(function FilterChips2({
7677
7824
  "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",
7678
7825
  scale.remove
7679
7826
  ),
7680
- children: /* @__PURE__ */ (0, import_jsx_runtime92.jsx)("svg", { "aria-hidden": "true", viewBox: "0 0 20 20", className: scale.icon, fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", children: /* @__PURE__ */ (0, import_jsx_runtime92.jsx)("path", { d: "m5 5 10 10M15 5 5 15" }) })
7827
+ children: /* @__PURE__ */ (0, import_jsx_runtime93.jsx)("svg", { "aria-hidden": "true", viewBox: "0 0 20 20", className: scale.icon, fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", children: /* @__PURE__ */ (0, import_jsx_runtime93.jsx)("path", { d: "m5 5 10 10M15 5 5 15" }) })
7681
7828
  }
7682
7829
  )
7683
7830
  ]
7684
7831
  },
7685
7832
  filter.key
7686
7833
  )),
7687
- onClearAll && /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(
7834
+ onClearAll && /* @__PURE__ */ (0, import_jsx_runtime93.jsx)(
7688
7835
  "button",
7689
7836
  {
7690
7837
  type: "button",
@@ -7703,7 +7850,7 @@ var FilterChips = React92.forwardRef(function FilterChips2({
7703
7850
 
7704
7851
  // src/components/multi-select/MultiSelect.tsx
7705
7852
  var React93 = __toESM(require("react"));
7706
- var import_jsx_runtime93 = require("react/jsx-runtime");
7853
+ var import_jsx_runtime94 = require("react/jsx-runtime");
7707
7854
  var MultiSelect = React93.forwardRef(function MultiSelect2({
7708
7855
  options,
7709
7856
  value,
@@ -7748,16 +7895,16 @@ var MultiSelect = React93.forwardRef(function MultiSelect2({
7748
7895
  }, [filtered]);
7749
7896
  const visibleChips = selectedOptions.slice(0, maxDisplay);
7750
7897
  const hiddenCount = selectedOptions.length - visibleChips.length;
7751
- return /* @__PURE__ */ (0, import_jsx_runtime93.jsxs)("div", { ref, className: cn("flex flex-col gap-2", className), ...props, children: [
7752
- label && /* @__PURE__ */ (0, import_jsx_runtime93.jsx)("span", { id: labelId, className: "text-sm font-medium", children: label }),
7753
- visibleChips.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime93.jsxs)("div", { className: "flex flex-wrap gap-1.5", children: [
7754
- visibleChips.map((option) => /* @__PURE__ */ (0, import_jsx_runtime93.jsxs)(
7898
+ return /* @__PURE__ */ (0, import_jsx_runtime94.jsxs)("div", { ref, className: cn("flex flex-col gap-2", className), ...props, children: [
7899
+ label && /* @__PURE__ */ (0, import_jsx_runtime94.jsx)("span", { id: labelId, className: "text-sm font-medium", children: label }),
7900
+ visibleChips.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime94.jsxs)("div", { className: "flex flex-wrap gap-1.5", children: [
7901
+ visibleChips.map((option) => /* @__PURE__ */ (0, import_jsx_runtime94.jsxs)(
7755
7902
  "span",
7756
7903
  {
7757
7904
  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",
7758
7905
  children: [
7759
- /* @__PURE__ */ (0, import_jsx_runtime93.jsx)("span", { className: "truncate", children: option.label }),
7760
- /* @__PURE__ */ (0, import_jsx_runtime93.jsx)(
7906
+ /* @__PURE__ */ (0, import_jsx_runtime94.jsx)("span", { className: "truncate", children: option.label }),
7907
+ /* @__PURE__ */ (0, import_jsx_runtime94.jsx)(
7761
7908
  "button",
7762
7909
  {
7763
7910
  type: "button",
@@ -7765,26 +7912,26 @@ var MultiSelect = React93.forwardRef(function MultiSelect2({
7765
7912
  disabled,
7766
7913
  "aria-label": `Remove ${option.label}`,
7767
7914
  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",
7768
- children: /* @__PURE__ */ (0, import_jsx_runtime93.jsx)("svg", { "aria-hidden": "true", viewBox: "0 0 20 20", className: "h-3 w-3", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", children: /* @__PURE__ */ (0, import_jsx_runtime93.jsx)("path", { d: "m5 5 10 10M15 5 5 15" }) })
7915
+ children: /* @__PURE__ */ (0, import_jsx_runtime94.jsx)("svg", { "aria-hidden": "true", viewBox: "0 0 20 20", className: "h-3 w-3", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", children: /* @__PURE__ */ (0, import_jsx_runtime94.jsx)("path", { d: "m5 5 10 10M15 5 5 15" }) })
7769
7916
  }
7770
7917
  )
7771
7918
  ]
7772
7919
  },
7773
7920
  option.value
7774
7921
  )),
7775
- hiddenCount > 0 && /* @__PURE__ */ (0, import_jsx_runtime93.jsxs)("span", { className: "self-center text-xs text-muted-foreground", children: [
7922
+ hiddenCount > 0 && /* @__PURE__ */ (0, import_jsx_runtime94.jsxs)("span", { className: "self-center text-xs text-muted-foreground", children: [
7776
7923
  "+",
7777
7924
  hiddenCount,
7778
7925
  " more"
7779
7926
  ] })
7780
7927
  ] }),
7781
- /* @__PURE__ */ (0, import_jsx_runtime93.jsxs)(Popover, { open, onOpenChange: setOpen, children: [
7782
- /* @__PURE__ */ (0, import_jsx_runtime93.jsxs)(PopoverTrigger, { "aria-labelledby": label ? labelId : void 0, disabled, className: "w-full justify-between", children: [
7783
- /* @__PURE__ */ (0, import_jsx_runtime93.jsx)("span", { children: selected.length > 0 ? `${selected.length} selected` : triggerLabel }),
7784
- /* @__PURE__ */ (0, import_jsx_runtime93.jsx)("span", { "aria-hidden": "true", className: "text-muted-foreground", children: "\u2304" })
7928
+ /* @__PURE__ */ (0, import_jsx_runtime94.jsxs)(Popover, { open, onOpenChange: setOpen, children: [
7929
+ /* @__PURE__ */ (0, import_jsx_runtime94.jsxs)(PopoverTrigger, { "aria-labelledby": label ? labelId : void 0, disabled, className: "w-full justify-between", children: [
7930
+ /* @__PURE__ */ (0, import_jsx_runtime94.jsx)("span", { children: selected.length > 0 ? `${selected.length} selected` : triggerLabel }),
7931
+ /* @__PURE__ */ (0, import_jsx_runtime94.jsx)("span", { "aria-hidden": "true", className: "text-muted-foreground", children: "\u2304" })
7785
7932
  ] }),
7786
- /* @__PURE__ */ (0, import_jsx_runtime93.jsxs)(PopoverContent, { className: "w-80 p-0", children: [
7787
- /* @__PURE__ */ (0, import_jsx_runtime93.jsx)("div", { className: "border-b border-border p-3", children: /* @__PURE__ */ (0, import_jsx_runtime93.jsx)(
7933
+ /* @__PURE__ */ (0, import_jsx_runtime94.jsxs)(PopoverContent, { className: "w-80 p-0", children: [
7934
+ /* @__PURE__ */ (0, import_jsx_runtime94.jsx)("div", { className: "border-b border-border p-3", children: /* @__PURE__ */ (0, import_jsx_runtime94.jsx)(
7788
7935
  Input,
7789
7936
  {
7790
7937
  type: "search",
@@ -7795,9 +7942,9 @@ var MultiSelect = React93.forwardRef(function MultiSelect2({
7795
7942
  autoFocus: true
7796
7943
  }
7797
7944
  ) }),
7798
- /* @__PURE__ */ (0, import_jsx_runtime93.jsx)("div", { className: "max-h-64 overflow-y-auto p-1", children: groups.length === 0 ? /* @__PURE__ */ (0, import_jsx_runtime93.jsx)("p", { className: "px-3 py-3 text-sm text-muted-foreground", children: emptyText }) : groups.map(({ option, heading }) => /* @__PURE__ */ (0, import_jsx_runtime93.jsxs)(React93.Fragment, { children: [
7799
- heading && /* @__PURE__ */ (0, import_jsx_runtime93.jsx)("p", { className: "px-3 pb-1 pt-2 text-xs font-medium uppercase tracking-wide text-muted-foreground", children: heading }),
7800
- /* @__PURE__ */ (0, import_jsx_runtime93.jsxs)(
7945
+ /* @__PURE__ */ (0, import_jsx_runtime94.jsx)("div", { className: "max-h-64 overflow-y-auto p-1", children: groups.length === 0 ? /* @__PURE__ */ (0, import_jsx_runtime94.jsx)("p", { className: "px-3 py-3 text-sm text-muted-foreground", children: emptyText }) : groups.map(({ option, heading }) => /* @__PURE__ */ (0, import_jsx_runtime94.jsxs)(React93.Fragment, { children: [
7946
+ heading && /* @__PURE__ */ (0, import_jsx_runtime94.jsx)("p", { className: "px-3 pb-1 pt-2 text-xs font-medium uppercase tracking-wide text-muted-foreground", children: heading }),
7947
+ /* @__PURE__ */ (0, import_jsx_runtime94.jsxs)(
7801
7948
  "label",
7802
7949
  {
7803
7950
  className: cn(
@@ -7805,7 +7952,7 @@ var MultiSelect = React93.forwardRef(function MultiSelect2({
7805
7952
  option.disabled && "cursor-not-allowed opacity-50"
7806
7953
  ),
7807
7954
  children: [
7808
- /* @__PURE__ */ (0, import_jsx_runtime93.jsx)(
7955
+ /* @__PURE__ */ (0, import_jsx_runtime94.jsx)(
7809
7956
  Checkbox,
7810
7957
  {
7811
7958
  checked: selected.includes(option.value),
@@ -7814,16 +7961,16 @@ var MultiSelect = React93.forwardRef(function MultiSelect2({
7814
7961
  className: "mt-0.5"
7815
7962
  }
7816
7963
  ),
7817
- /* @__PURE__ */ (0, import_jsx_runtime93.jsxs)("span", { className: "min-w-0", children: [
7818
- /* @__PURE__ */ (0, import_jsx_runtime93.jsx)("span", { className: "block", children: option.label }),
7819
- option.description && /* @__PURE__ */ (0, import_jsx_runtime93.jsx)("span", { className: "mt-0.5 block text-xs text-muted-foreground", children: option.description })
7964
+ /* @__PURE__ */ (0, import_jsx_runtime94.jsxs)("span", { className: "min-w-0", children: [
7965
+ /* @__PURE__ */ (0, import_jsx_runtime94.jsx)("span", { className: "block", children: option.label }),
7966
+ option.description && /* @__PURE__ */ (0, import_jsx_runtime94.jsx)("span", { className: "mt-0.5 block text-xs text-muted-foreground", children: option.description })
7820
7967
  ] })
7821
7968
  ]
7822
7969
  }
7823
7970
  )
7824
7971
  ] }, option.value)) }),
7825
- /* @__PURE__ */ (0, import_jsx_runtime93.jsxs)("div", { className: "flex items-center justify-between gap-2 border-t border-border p-2", children: [
7826
- /* @__PURE__ */ (0, import_jsx_runtime93.jsx)(
7972
+ /* @__PURE__ */ (0, import_jsx_runtime94.jsxs)("div", { className: "flex items-center justify-between gap-2 border-t border-border p-2", children: [
7973
+ /* @__PURE__ */ (0, import_jsx_runtime94.jsx)(
7827
7974
  Button,
7828
7975
  {
7829
7976
  type: "button",
@@ -7833,7 +7980,7 @@ var MultiSelect = React93.forwardRef(function MultiSelect2({
7833
7980
  children: "Select all"
7834
7981
  }
7835
7982
  ),
7836
- /* @__PURE__ */ (0, import_jsx_runtime93.jsx)(Button, { type: "button", variant: "ghost", size: "sm", onClick: () => commit([]), children: "Clear" })
7983
+ /* @__PURE__ */ (0, import_jsx_runtime94.jsx)(Button, { type: "button", variant: "ghost", size: "sm", onClick: () => commit([]), children: "Clear" })
7837
7984
  ] })
7838
7985
  ] })
7839
7986
  ] })
@@ -7842,7 +7989,7 @@ var MultiSelect = React93.forwardRef(function MultiSelect2({
7842
7989
 
7843
7990
  // src/components/filter-panel/FilterPanel.tsx
7844
7991
  var React94 = __toESM(require("react"));
7845
- var import_jsx_runtime94 = require("react/jsx-runtime");
7992
+ var import_jsx_runtime95 = require("react/jsx-runtime");
7846
7993
  var FilterPanel = React94.forwardRef(function FilterPanel2({
7847
7994
  sections,
7848
7995
  title = "Filters",
@@ -7872,16 +8019,16 @@ var FilterPanel = React94.forwardRef(function FilterPanel2({
7872
8019
  (current) => current.includes(index) ? current.filter((entry) => entry !== index) : [...current, index]
7873
8020
  );
7874
8021
  };
7875
- return /* @__PURE__ */ (0, import_jsx_runtime94.jsxs)(Tag, { ref, className: cn("w-full rounded-xl border border-border bg-card", className), ...props, children: [
7876
- (title || description) && /* @__PURE__ */ (0, import_jsx_runtime94.jsxs)("div", { className: "border-b border-border px-4 py-3", children: [
7877
- title && /* @__PURE__ */ (0, import_jsx_runtime94.jsx)("h2", { className: "text-sm font-semibold", children: title }),
7878
- description && /* @__PURE__ */ (0, import_jsx_runtime94.jsx)("p", { className: "mt-1 text-xs text-muted-foreground", children: description })
8022
+ return /* @__PURE__ */ (0, import_jsx_runtime95.jsxs)(Tag, { ref, className: cn("w-full rounded-xl border border-border bg-card", className), ...props, children: [
8023
+ (title || description) && /* @__PURE__ */ (0, import_jsx_runtime95.jsxs)("div", { className: "border-b border-border px-4 py-3", children: [
8024
+ title && /* @__PURE__ */ (0, import_jsx_runtime95.jsx)("h2", { className: "text-sm font-semibold", children: title }),
8025
+ description && /* @__PURE__ */ (0, import_jsx_runtime95.jsx)("p", { className: "mt-1 text-xs text-muted-foreground", children: description })
7879
8026
  ] }),
7880
- /* @__PURE__ */ (0, import_jsx_runtime94.jsx)("div", { className: "divide-y divide-border", children: sections.map((section, index) => {
8027
+ /* @__PURE__ */ (0, import_jsx_runtime95.jsx)("div", { className: "divide-y divide-border", children: sections.map((section, index) => {
7881
8028
  const expanded = isOpen(index);
7882
8029
  const sectionId = `filter-section-${index}`;
7883
- return /* @__PURE__ */ (0, import_jsx_runtime94.jsxs)("div", { className: "px-4 py-3", children: [
7884
- /* @__PURE__ */ (0, import_jsx_runtime94.jsx)("h3", { children: /* @__PURE__ */ (0, import_jsx_runtime94.jsxs)(
8030
+ return /* @__PURE__ */ (0, import_jsx_runtime95.jsxs)("div", { className: "px-4 py-3", children: [
8031
+ /* @__PURE__ */ (0, import_jsx_runtime95.jsx)("h3", { children: /* @__PURE__ */ (0, import_jsx_runtime95.jsxs)(
7885
8032
  "button",
7886
8033
  {
7887
8034
  type: "button",
@@ -7894,28 +8041,28 @@ var FilterPanel = React94.forwardRef(function FilterPanel2({
7894
8041
  collapsible && "rounded-sm focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
7895
8042
  ),
7896
8043
  children: [
7897
- /* @__PURE__ */ (0, import_jsx_runtime94.jsxs)("span", { children: [
8044
+ /* @__PURE__ */ (0, import_jsx_runtime95.jsxs)("span", { children: [
7898
8045
  section.title,
7899
- section.description && /* @__PURE__ */ (0, import_jsx_runtime94.jsx)("span", { className: "mt-0.5 block text-xs font-normal text-muted-foreground", children: section.description })
8046
+ section.description && /* @__PURE__ */ (0, import_jsx_runtime95.jsx)("span", { className: "mt-0.5 block text-xs font-normal text-muted-foreground", children: section.description })
7900
8047
  ] }),
7901
- collapsible && /* @__PURE__ */ (0, import_jsx_runtime94.jsx)("span", { "aria-hidden": "true", className: cn("text-muted-foreground transition-transform", expanded && "rotate-180"), children: "\u2304" })
8048
+ collapsible && /* @__PURE__ */ (0, import_jsx_runtime95.jsx)("span", { "aria-hidden": "true", className: cn("text-muted-foreground transition-transform", expanded && "rotate-180"), children: "\u2304" })
7902
8049
  ]
7903
8050
  }
7904
8051
  ) }),
7905
- expanded && /* @__PURE__ */ (0, import_jsx_runtime94.jsx)("div", { id: sectionId, className: "mt-3", children: section.content })
8052
+ expanded && /* @__PURE__ */ (0, import_jsx_runtime95.jsx)("div", { id: sectionId, className: "mt-3", children: section.content })
7906
8053
  ] }, index);
7907
8054
  }) }),
7908
- (onReset || onApply || actions) && /* @__PURE__ */ (0, import_jsx_runtime94.jsxs)("div", { className: "flex flex-wrap items-center gap-2 border-t border-border px-4 py-3", children: [
8055
+ (onReset || onApply || actions) && /* @__PURE__ */ (0, import_jsx_runtime95.jsxs)("div", { className: "flex flex-wrap items-center gap-2 border-t border-border px-4 py-3", children: [
7909
8056
  actions,
7910
- onReset && /* @__PURE__ */ (0, import_jsx_runtime94.jsx)(Button, { type: "button", variant: "ghost", size: "sm", onClick: onReset, className: "ml-auto", children: resetLabel }),
7911
- onApply && /* @__PURE__ */ (0, import_jsx_runtime94.jsx)(Button, { type: "button", size: "sm", onClick: onApply, children: applyLabel })
8057
+ onReset && /* @__PURE__ */ (0, import_jsx_runtime95.jsx)(Button, { type: "button", variant: "ghost", size: "sm", onClick: onReset, className: "ml-auto", children: resetLabel }),
8058
+ onApply && /* @__PURE__ */ (0, import_jsx_runtime95.jsx)(Button, { type: "button", size: "sm", onClick: onApply, children: applyLabel })
7912
8059
  ] })
7913
8060
  ] });
7914
8061
  });
7915
8062
 
7916
8063
  // src/components/date-range-picker/DateRangePicker.tsx
7917
8064
  var React95 = __toESM(require("react"));
7918
- var import_jsx_runtime95 = require("react/jsx-runtime");
8065
+ var import_jsx_runtime96 = require("react/jsx-runtime");
7919
8066
  var DEFAULT_PRESETS = [
7920
8067
  { label: "7 days", days: 7 },
7921
8068
  { label: "30 days", days: 30 },
@@ -7967,8 +8114,8 @@ var DateRangePicker = React95.forwardRef(
7967
8114
  }
7968
8115
  commit({ start: toIsoDate(start), end: toIsoDate(end) });
7969
8116
  };
7970
- return /* @__PURE__ */ (0, import_jsx_runtime95.jsxs)("div", { ref, className: cn("flex flex-col gap-3", className), ...props, children: [
7971
- showPresets && presets.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime95.jsx)("div", { className: "flex flex-wrap gap-2", children: presets.map((preset) => /* @__PURE__ */ (0, import_jsx_runtime95.jsx)(
8117
+ return /* @__PURE__ */ (0, import_jsx_runtime96.jsxs)("div", { ref, className: cn("flex flex-col gap-3", className), ...props, children: [
8118
+ showPresets && presets.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime96.jsx)("div", { className: "flex flex-wrap gap-2", children: presets.map((preset) => /* @__PURE__ */ (0, import_jsx_runtime96.jsx)(
7972
8119
  Button,
7973
8120
  {
7974
8121
  type: "button",
@@ -7980,10 +8127,10 @@ var DateRangePicker = React95.forwardRef(
7980
8127
  },
7981
8128
  preset.label
7982
8129
  )) }),
7983
- /* @__PURE__ */ (0, import_jsx_runtime95.jsxs)("div", { className: "grid gap-3 sm:grid-cols-2", children: [
7984
- /* @__PURE__ */ (0, import_jsx_runtime95.jsxs)("div", { children: [
7985
- /* @__PURE__ */ (0, import_jsx_runtime95.jsx)("label", { htmlFor: startId, className: "mb-1 block text-xs font-medium text-muted-foreground", children: startLabel }),
7986
- /* @__PURE__ */ (0, import_jsx_runtime95.jsx)(
8130
+ /* @__PURE__ */ (0, import_jsx_runtime96.jsxs)("div", { className: "grid gap-3 sm:grid-cols-2", children: [
8131
+ /* @__PURE__ */ (0, import_jsx_runtime96.jsxs)("div", { children: [
8132
+ /* @__PURE__ */ (0, import_jsx_runtime96.jsx)("label", { htmlFor: startId, className: "mb-1 block text-xs font-medium text-muted-foreground", children: startLabel }),
8133
+ /* @__PURE__ */ (0, import_jsx_runtime96.jsx)(
7987
8134
  DatePicker,
7988
8135
  {
7989
8136
  id: startId,
@@ -7995,9 +8142,9 @@ var DateRangePicker = React95.forwardRef(
7995
8142
  }
7996
8143
  )
7997
8144
  ] }),
7998
- /* @__PURE__ */ (0, import_jsx_runtime95.jsxs)("div", { children: [
7999
- /* @__PURE__ */ (0, import_jsx_runtime95.jsx)("label", { htmlFor: endId, className: "mb-1 block text-xs font-medium text-muted-foreground", children: endLabel }),
8000
- /* @__PURE__ */ (0, import_jsx_runtime95.jsx)(
8145
+ /* @__PURE__ */ (0, import_jsx_runtime96.jsxs)("div", { children: [
8146
+ /* @__PURE__ */ (0, import_jsx_runtime96.jsx)("label", { htmlFor: endId, className: "mb-1 block text-xs font-medium text-muted-foreground", children: endLabel }),
8147
+ /* @__PURE__ */ (0, import_jsx_runtime96.jsx)(
8001
8148
  DatePicker,
8002
8149
  {
8003
8150
  id: endId,
@@ -8016,7 +8163,7 @@ var DateRangePicker = React95.forwardRef(
8016
8163
 
8017
8164
  // src/components/applied-filters/AppliedFilters.tsx
8018
8165
  var React96 = __toESM(require("react"));
8019
- var import_jsx_runtime96 = require("react/jsx-runtime");
8166
+ var import_jsx_runtime97 = require("react/jsx-runtime");
8020
8167
  var AppliedFilters = React96.forwardRef(
8021
8168
  function AppliedFilters2({
8022
8169
  filters,
@@ -8030,9 +8177,9 @@ var AppliedFilters = React96.forwardRef(
8030
8177
  }, ref) {
8031
8178
  const summary = label ?? `${filters.length} active`;
8032
8179
  if (filters.length === 0) {
8033
- return emptyLabel ? /* @__PURE__ */ (0, import_jsx_runtime96.jsx)("div", { ref, className: cn("text-sm text-muted-foreground", className), ...props, children: emptyLabel }) : null;
8180
+ return emptyLabel ? /* @__PURE__ */ (0, import_jsx_runtime97.jsx)("div", { ref, className: cn("text-sm text-muted-foreground", className), ...props, children: emptyLabel }) : null;
8034
8181
  }
8035
- return /* @__PURE__ */ (0, import_jsx_runtime96.jsxs)(
8182
+ return /* @__PURE__ */ (0, import_jsx_runtime97.jsxs)(
8036
8183
  "div",
8037
8184
  {
8038
8185
  ref,
@@ -8040,9 +8187,9 @@ var AppliedFilters = React96.forwardRef(
8040
8187
  className: cn("flex flex-wrap items-center gap-2", className),
8041
8188
  ...props,
8042
8189
  children: [
8043
- /* @__PURE__ */ (0, import_jsx_runtime96.jsx)("span", { className: "text-xs font-medium uppercase tracking-wide text-muted-foreground", children: summary }),
8044
- /* @__PURE__ */ (0, import_jsx_runtime96.jsx)(FilterChips, { filters, onClearAll }),
8045
- onEdit && /* @__PURE__ */ (0, import_jsx_runtime96.jsx)(Button, { type: "button", variant: "ghost", size: "sm", onClick: onEdit, children: editLabel })
8190
+ /* @__PURE__ */ (0, import_jsx_runtime97.jsx)("span", { className: "text-xs font-medium uppercase tracking-wide text-muted-foreground", children: summary }),
8191
+ /* @__PURE__ */ (0, import_jsx_runtime97.jsx)(FilterChips, { filters, onClearAll }),
8192
+ onEdit && /* @__PURE__ */ (0, import_jsx_runtime97.jsx)(Button, { type: "button", variant: "ghost", size: "sm", onClick: onEdit, children: editLabel })
8046
8193
  ]
8047
8194
  }
8048
8195
  );
@@ -8053,7 +8200,7 @@ var AppliedFilters = React96.forwardRef(
8053
8200
  var React97 = __toESM(require("react"));
8054
8201
  var import_react_dom8 = require("react-dom");
8055
8202
  var import_react_slot5 = require("@radix-ui/react-slot");
8056
- var import_jsx_runtime97 = require("react/jsx-runtime");
8203
+ var import_jsx_runtime98 = require("react/jsx-runtime");
8057
8204
  var MenuContext = React97.createContext({
8058
8205
  open: false,
8059
8206
  setOpen: () => {
@@ -8085,7 +8232,7 @@ var Menu = React97.forwardRef(
8085
8232
  },
8086
8233
  [open, onOpenChange]
8087
8234
  );
8088
- return /* @__PURE__ */ (0, import_jsx_runtime97.jsx)("div", { ref: setRefs, className: cn("relative inline-block", className), children: /* @__PURE__ */ (0, import_jsx_runtime97.jsx)(
8235
+ return /* @__PURE__ */ (0, import_jsx_runtime98.jsx)("div", { ref: setRefs, className: cn("relative inline-block", className), children: /* @__PURE__ */ (0, import_jsx_runtime98.jsx)(
8089
8236
  MenuContext.Provider,
8090
8237
  {
8091
8238
  value: { open: current, setOpen, activeIndex, setActiveIndex, wrapperRef },
@@ -8098,7 +8245,7 @@ Menu.displayName = "Menu";
8098
8245
  var MenuTrigger = React97.forwardRef(
8099
8246
  ({ className, children, ...props }, ref) => {
8100
8247
  const { open, setOpen } = React97.useContext(MenuContext);
8101
- return /* @__PURE__ */ (0, import_jsx_runtime97.jsx)(
8248
+ return /* @__PURE__ */ (0, import_jsx_runtime98.jsx)(
8102
8249
  "button",
8103
8250
  {
8104
8251
  ref,
@@ -8200,7 +8347,7 @@ var MenuContent = React97.forwardRef(
8200
8347
  };
8201
8348
  if (!open || !pos || typeof document === "undefined") return null;
8202
8349
  return (0, import_react_dom8.createPortal)(
8203
- /* @__PURE__ */ (0, import_jsx_runtime97.jsx)(
8350
+ /* @__PURE__ */ (0, import_jsx_runtime98.jsx)(
8204
8351
  "div",
8205
8352
  {
8206
8353
  ref: (node) => {
@@ -8229,7 +8376,7 @@ var MenuItem = React97.forwardRef(
8229
8376
  const { setOpen } = React97.useContext(MenuContext);
8230
8377
  const Comp = asChild ? import_react_slot5.Slot : "button";
8231
8378
  const typeProp = asChild ? {} : { type: "button" };
8232
- return /* @__PURE__ */ (0, import_jsx_runtime97.jsx)(
8379
+ return /* @__PURE__ */ (0, import_jsx_runtime98.jsx)(
8233
8380
  Comp,
8234
8381
  {
8235
8382
  ref,
@@ -8252,11 +8399,11 @@ var MenuItem = React97.forwardRef(
8252
8399
  );
8253
8400
  MenuItem.displayName = "MenuItem";
8254
8401
  var MenuSeparator = React97.forwardRef(
8255
- ({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime97.jsx)("div", { ref, role: "separator", className: cn("-mx-1 my-1 h-px bg-border", className), ...props })
8402
+ ({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime98.jsx)("div", { ref, role: "separator", className: cn("-mx-1 my-1 h-px bg-border", className), ...props })
8256
8403
  );
8257
8404
  MenuSeparator.displayName = "MenuSeparator";
8258
8405
  var MenuLabel = React97.forwardRef(
8259
- ({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime97.jsx)(
8406
+ ({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime98.jsx)(
8260
8407
  "div",
8261
8408
  {
8262
8409
  ref,
@@ -8270,7 +8417,7 @@ MenuLabel.displayName = "MenuLabel";
8270
8417
  // src/components/alert/Alert.tsx
8271
8418
  var React98 = __toESM(require("react"));
8272
8419
  var import_class_variance_authority8 = require("class-variance-authority");
8273
- var import_jsx_runtime98 = require("react/jsx-runtime");
8420
+ var import_jsx_runtime99 = require("react/jsx-runtime");
8274
8421
  var alertVariants = (0, import_class_variance_authority8.cva)(
8275
8422
  "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",
8276
8423
  {
@@ -8291,7 +8438,7 @@ var alertVariants = (0, import_class_variance_authority8.cva)(
8291
8438
  }
8292
8439
  );
8293
8440
  var Alert = React98.forwardRef(
8294
- ({ className, variant, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime98.jsx)(
8441
+ ({ className, variant, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime99.jsx)(
8295
8442
  "div",
8296
8443
  {
8297
8444
  ref,
@@ -8303,7 +8450,7 @@ var Alert = React98.forwardRef(
8303
8450
  );
8304
8451
  Alert.displayName = "Alert";
8305
8452
  var AlertTitle = React98.forwardRef(
8306
- ({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime98.jsx)(
8453
+ ({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime99.jsx)(
8307
8454
  "h5",
8308
8455
  {
8309
8456
  ref,
@@ -8314,7 +8461,7 @@ var AlertTitle = React98.forwardRef(
8314
8461
  );
8315
8462
  AlertTitle.displayName = "AlertTitle";
8316
8463
  var AlertDescription = React98.forwardRef(
8317
- ({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime98.jsx)(
8464
+ ({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime99.jsx)(
8318
8465
  "div",
8319
8466
  {
8320
8467
  ref,
@@ -8327,22 +8474,22 @@ AlertDescription.displayName = "AlertDescription";
8327
8474
 
8328
8475
  // src/components/breadcrumb/Breadcrumb.tsx
8329
8476
  var React99 = __toESM(require("react"));
8330
- var import_jsx_runtime99 = require("react/jsx-runtime");
8477
+ var import_jsx_runtime100 = require("react/jsx-runtime");
8331
8478
  var Breadcrumb = React99.forwardRef(
8332
8479
  ({ items, label = "Breadcrumb", separator = "/", onItemClick, linkComponent, linkHrefProp = "href", truncateCurrent = false, className, ...props }, ref) => {
8333
8480
  const LinkEl = linkComponent ?? "a";
8334
- return /* @__PURE__ */ (0, import_jsx_runtime99.jsx)(
8481
+ return /* @__PURE__ */ (0, import_jsx_runtime100.jsx)(
8335
8482
  "nav",
8336
8483
  {
8337
8484
  ref,
8338
8485
  "aria-label": label,
8339
8486
  className: cn("flex items-center space-x-1.5 text-sm text-muted-foreground", className),
8340
8487
  ...props,
8341
- children: /* @__PURE__ */ (0, import_jsx_runtime99.jsx)("ol", { className: "flex flex-wrap items-center space-x-1.5", children: items.map((item, index) => {
8488
+ children: /* @__PURE__ */ (0, import_jsx_runtime100.jsx)("ol", { className: "flex flex-wrap items-center space-x-1.5", children: items.map((item, index) => {
8342
8489
  const isLast = index === items.length - 1;
8343
- return /* @__PURE__ */ (0, import_jsx_runtime99.jsxs)("li", { className: cn("flex items-center space-x-1.5", truncateCurrent && isLast && "min-w-0"), children: [
8344
- index > 0 && /* @__PURE__ */ (0, import_jsx_runtime99.jsx)("span", { "aria-hidden": "true", className: "text-muted-foreground/50", children: separator }),
8345
- item.href && !isLast ? /* @__PURE__ */ (0, import_jsx_runtime99.jsx)(
8490
+ return /* @__PURE__ */ (0, import_jsx_runtime100.jsxs)("li", { className: cn("flex items-center space-x-1.5", truncateCurrent && isLast && "min-w-0"), children: [
8491
+ index > 0 && /* @__PURE__ */ (0, import_jsx_runtime100.jsx)("span", { "aria-hidden": "true", className: "text-muted-foreground/50", children: separator }),
8492
+ item.href && !isLast ? /* @__PURE__ */ (0, import_jsx_runtime100.jsx)(
8346
8493
  LinkEl,
8347
8494
  {
8348
8495
  ...linkHrefProp === "to" ? { to: item.href } : { href: item.href },
@@ -8353,7 +8500,7 @@ var Breadcrumb = React99.forwardRef(
8353
8500
  } : void 0,
8354
8501
  children: item.label
8355
8502
  }
8356
- ) : /* @__PURE__ */ (0, import_jsx_runtime99.jsx)(
8503
+ ) : /* @__PURE__ */ (0, import_jsx_runtime100.jsx)(
8357
8504
  "span",
8358
8505
  {
8359
8506
  "aria-current": isLast ? "page" : void 0,
@@ -8408,6 +8555,7 @@ Breadcrumb.displayName = "Breadcrumb";
8408
8555
  ConfirmDialog,
8409
8556
  ContactStrip,
8410
8557
  Container,
8558
+ CoverImage,
8411
8559
  DataTable,
8412
8560
  DatePicker,
8413
8561
  DatePickerPopover,