@designa8/vibedesign-linear-internal-v1-2-176b 0.1.3 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs CHANGED
@@ -74,6 +74,7 @@ __export(src_exports, {
74
74
  IconButton: () => IconButton,
75
75
  Image: () => Image,
76
76
  Input: () => Input,
77
+ IssueCard: () => IssueCard,
77
78
  Label: () => Label,
78
79
  Link: () => Link,
79
80
  ListItem: () => ListItem,
@@ -232,7 +233,8 @@ var ICON_REGISTRY = {
232
233
  "users": { viewBox: "0 0 24 24", nodes: [{ tag: "path", d: "M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2" }, { tag: "circle", cx: "9", cy: "7", r: "4" }, { tag: "path", d: "M22 21v-2a4 4 0 0 0-3-3.87" }, { tag: "path", d: "M16 3.13a4 4 0 0 1 0 7.75" }] },
233
234
  "user-plus": { viewBox: "0 0 24 24", nodes: [{ tag: "path", d: "M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2" }, { tag: "circle", cx: "9", cy: "7", r: "4" }, { tag: "line", x1: "19", x2: "19", y1: "8", y2: "14" }, { tag: "line", x1: "22", x2: "16", y1: "11", y2: "11" }] },
234
235
  "circle": { viewBox: "0 0 24 24", nodes: [{ tag: "circle", cx: "12", cy: "12", r: "10" }] },
235
- "trash": { viewBox: "0 0 24 24", nodes: [{ tag: "path", d: "M3 6h18" }, { tag: "path", d: "M19 6v14c0 1-1 2-2 2H7c-1 0-2-1-2-2V6" }, { tag: "path", d: "M8 6V4c0-1 1-2 2-2h4c1 0 2 1 2 2v2" }] }
236
+ "trash": { viewBox: "0 0 24 24", nodes: [{ tag: "path", d: "M3 6h18" }, { tag: "path", d: "M19 6v14c0 1-1 2-2 2H7c-1 0-2-1-2-2V6" }, { tag: "path", d: "M8 6V4c0-1 1-2 2-2h4c1 0 2 1 2 2v2" }] },
237
+ "chart-bar": { viewBox: "0 0 24 24", nodes: [{ tag: "path", d: "M3 3v16a2 2 0 0 0 2 2h16" }, { tag: "path", d: "M7 16h8" }, { tag: "path", d: "M7 11h12" }, { tag: "path", d: "M7 6h3" }] }
236
238
  };
237
239
 
238
240
  // virtual-pkg:src/atoms/Icon/Icon.tsx
@@ -5339,11 +5341,119 @@ var HeroSection = React51.forwardRef(
5339
5341
  );
5340
5342
  HeroSection.displayName = "HeroSection";
5341
5343
 
5342
- // virtual-pkg:src/atoms/ListItem/ListItem.tsx
5344
+ // virtual-pkg:src/atoms/IssueCard/IssueCard.tsx
5343
5345
  var React52 = __toESM(require("react"));
5344
5346
  var import_jsx_runtime52 = require("react/jsx-runtime");
5347
+ var MAX_LABELS = 3;
5348
+ var IssueCard = React52.forwardRef(
5349
+ ({
5350
+ id,
5351
+ title,
5352
+ status,
5353
+ priority,
5354
+ labels,
5355
+ assignee,
5356
+ meta,
5357
+ actions,
5358
+ href,
5359
+ onClick,
5360
+ selected = false,
5361
+ dragging = false,
5362
+ className,
5363
+ ...rest
5364
+ }, ref) => {
5365
+ const interactive = Boolean(href) || Boolean(onClick);
5366
+ const surface = selected ? "border-primary bg-primary-soft hover:border-primary hover:bg-primary-soft" : "border-hairline bg-canvas hover:border-hairline-strong hover:bg-surface-soft";
5367
+ const rootClass = [
5368
+ "group/issue relative flex w-full select-none flex-col gap-xs rounded-lg border p-md text-left transition duration-150 ease-out",
5369
+ surface,
5370
+ dragging ? "-rotate-1 shadow-lg" : "shadow-card",
5371
+ interactive ? "cursor-pointer" : "",
5372
+ className
5373
+ ].filter(Boolean).join(" ");
5374
+ const visibleLabels = labels?.slice(0, MAX_LABELS) ?? [];
5375
+ const hiddenLabelCount = (labels?.length ?? 0) - visibleLabels.length;
5376
+ const hasFooter = Boolean(meta) || Boolean(assignee);
5377
+ const triggerLabel = typeof title === "string" ? `${id}: ${title}` : `Issue ${id}`;
5378
+ const triggerClass = [
5379
+ "absolute inset-0 rounded-lg",
5380
+ "cursor-pointer transition duration-150 ease-out outline-none",
5381
+ "focus-visible:ring-2 focus-visible:ring-focus-blue focus-visible:ring-offset-2 focus-visible:ring-offset-canvas"
5382
+ ].join(" ");
5383
+ const handleTriggerKeyDown = (event) => {
5384
+ if (!onClick) return;
5385
+ if (event.key === "Enter" || event.key === " " || event.key === "Spacebar") {
5386
+ event.preventDefault();
5387
+ onClick(event);
5388
+ }
5389
+ };
5390
+ return /* @__PURE__ */ (0, import_jsx_runtime52.jsxs)(
5391
+ "div",
5392
+ {
5393
+ ref,
5394
+ "data-selected": selected || void 0,
5395
+ "data-dragging": dragging || void 0,
5396
+ className: rootClass,
5397
+ ...rest,
5398
+ children: [
5399
+ /* @__PURE__ */ (0, import_jsx_runtime52.jsxs)("div", { className: "flex items-start justify-between gap-sm", children: [
5400
+ /* @__PURE__ */ (0, import_jsx_runtime52.jsxs)("div", { className: "flex min-w-0 items-center gap-xs", children: [
5401
+ priority ? /* @__PURE__ */ (0, import_jsx_runtime52.jsx)("span", { className: "flex shrink-0 items-center", children: priority }) : null,
5402
+ /* @__PURE__ */ (0, import_jsx_runtime52.jsx)("span", { className: "truncate text-caption tabular-nums text-muted", children: id })
5403
+ ] }),
5404
+ actions ? /* @__PURE__ */ (0, import_jsx_runtime52.jsx)("div", { className: "relative z-10 shrink-0 opacity-0 transition-opacity duration-200 ease-out group-hover/issue:opacity-100 group-focus-within/issue:opacity-100 [@media(hover:none)]:opacity-100", children: actions }) : null
5405
+ ] }),
5406
+ /* @__PURE__ */ (0, import_jsx_runtime52.jsxs)("div", { className: "flex items-start gap-xs", children: [
5407
+ status ? /* @__PURE__ */ (0, import_jsx_runtime52.jsx)("span", { className: "mt-xxs flex shrink-0 items-center", children: status }) : null,
5408
+ /* @__PURE__ */ (0, import_jsx_runtime52.jsx)("p", { className: "line-clamp-2 min-w-0 text-body-md text-ink", children: title })
5409
+ ] }),
5410
+ visibleLabels.length > 0 ? /* @__PURE__ */ (0, import_jsx_runtime52.jsxs)("div", { className: "mt-xxs flex flex-wrap items-center gap-xs", children: [
5411
+ visibleLabels.map((label) => /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(Badge, { tone: label.tone, size: "sm", children: label.name }, label.name)),
5412
+ hiddenLabelCount > 0 ? /* @__PURE__ */ (0, import_jsx_runtime52.jsxs)(Badge, { tone: "neutral", size: "sm", children: [
5413
+ /* @__PURE__ */ (0, import_jsx_runtime52.jsxs)("span", { className: "tabular-nums", children: [
5414
+ "+",
5415
+ hiddenLabelCount
5416
+ ] }),
5417
+ /* @__PURE__ */ (0, import_jsx_runtime52.jsx)("span", { className: "sr-only", children: " more labels" })
5418
+ ] }) : null
5419
+ ] }) : null,
5420
+ hasFooter ? /* @__PURE__ */ (0, import_jsx_runtime52.jsxs)("div", { className: "mt-xxs flex items-center justify-between gap-sm", children: [
5421
+ /* @__PURE__ */ (0, import_jsx_runtime52.jsx)("span", { className: "truncate text-caption text-muted-soft", children: meta }),
5422
+ assignee ? /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(Avatar, { size: "xs", name: assignee.name, src: assignee.src, className: "shrink-0" }) : null
5423
+ ] }) : null,
5424
+ href ? /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(
5425
+ "a",
5426
+ {
5427
+ href,
5428
+ onClick,
5429
+ "aria-label": triggerLabel,
5430
+ "aria-current": selected ? "true" : void 0,
5431
+ className: triggerClass
5432
+ }
5433
+ ) : onClick ? /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(
5434
+ "a",
5435
+ {
5436
+ role: "button",
5437
+ tabIndex: 0,
5438
+ onClick,
5439
+ onKeyDown: handleTriggerKeyDown,
5440
+ "aria-label": triggerLabel,
5441
+ "aria-pressed": selected,
5442
+ className: triggerClass
5443
+ }
5444
+ ) : null
5445
+ ]
5446
+ }
5447
+ );
5448
+ }
5449
+ );
5450
+ IssueCard.displayName = "IssueCard";
5451
+
5452
+ // virtual-pkg:src/atoms/ListItem/ListItem.tsx
5453
+ var React53 = __toESM(require("react"));
5454
+ var import_jsx_runtime53 = require("react/jsx-runtime");
5345
5455
  var cn40 = (...parts) => parts.filter(Boolean).join(" ");
5346
- var ListItem = React52.forwardRef(
5456
+ var ListItem = React53.forwardRef(
5347
5457
  ({
5348
5458
  title,
5349
5459
  meta,
@@ -5357,7 +5467,7 @@ var ListItem = React52.forwardRef(
5357
5467
  onClick,
5358
5468
  className,
5359
5469
  ...rest
5360
- }, ref) => /* @__PURE__ */ (0, import_jsx_runtime52.jsxs)(
5470
+ }, ref) => /* @__PURE__ */ (0, import_jsx_runtime53.jsxs)(
5361
5471
  "a",
5362
5472
  {
5363
5473
  ref,
@@ -5385,12 +5495,12 @@ var ListItem = React52.forwardRef(
5385
5495
  ),
5386
5496
  ...rest,
5387
5497
  children: [
5388
- leading ?? (icon && /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(Icon, { name: icon, size: 18, className: "shrink-0 text-ink group-data-[disabled]:text-muted" })),
5389
- /* @__PURE__ */ (0, import_jsx_runtime52.jsxs)("span", { className: "flex min-w-0 flex-1 flex-col", children: [
5390
- /* @__PURE__ */ (0, import_jsx_runtime52.jsx)("span", { className: "truncate text-body-md text-ink group-data-[disabled]:text-muted", children: title }),
5391
- meta && /* @__PURE__ */ (0, import_jsx_runtime52.jsx)("span", { className: "truncate text-body-sm text-muted", children: meta })
5498
+ leading ?? (icon && /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(Icon, { name: icon, size: 18, className: "shrink-0 text-ink group-data-[disabled]:text-muted" })),
5499
+ /* @__PURE__ */ (0, import_jsx_runtime53.jsxs)("span", { className: "flex min-w-0 flex-1 flex-col", children: [
5500
+ /* @__PURE__ */ (0, import_jsx_runtime53.jsx)("span", { className: "truncate text-body-md text-ink group-data-[disabled]:text-muted", children: title }),
5501
+ meta && /* @__PURE__ */ (0, import_jsx_runtime53.jsx)("span", { className: "truncate text-body-sm text-muted", children: meta })
5392
5502
  ] }),
5393
- trailing === void 0 ? /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(
5503
+ trailing === void 0 ? /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
5394
5504
  Icon,
5395
5505
  {
5396
5506
  name: "chevron-right",
@@ -5405,16 +5515,16 @@ var ListItem = React52.forwardRef(
5405
5515
  ListItem.displayName = "ListItem";
5406
5516
 
5407
5517
  // virtual-pkg:src/atoms/Modal/Modal.tsx
5408
- var React53 = __toESM(require("react"));
5518
+ var React54 = __toESM(require("react"));
5409
5519
  var import_react_dom6 = require("react-dom");
5410
- var import_jsx_runtime53 = require("react/jsx-runtime");
5520
+ var import_jsx_runtime54 = require("react/jsx-runtime");
5411
5521
  var cn41 = (...parts) => parts.filter(Boolean).join(" ");
5412
5522
  var WIDTH = {
5413
5523
  sm: "sm:w-[var(--container-modal-sm,400px)]",
5414
5524
  md: "sm:w-[var(--container-modal,520px)]",
5415
5525
  lg: "sm:w-[var(--container-modal-lg,680px)]"
5416
5526
  };
5417
- var Modal = React53.forwardRef(
5527
+ var Modal = React54.forwardRef(
5418
5528
  ({
5419
5529
  open,
5420
5530
  onOpenChange,
@@ -5433,12 +5543,12 @@ var Modal = React53.forwardRef(
5433
5543
  children,
5434
5544
  ...rest
5435
5545
  }, ref) => {
5436
- const titleId = React53.useId();
5437
- const descId = React53.useId();
5438
- const panelRef = React53.useRef(null);
5439
- const [mounted, setMounted] = React53.useState(false);
5440
- React53.useEffect(() => setMounted(true), []);
5441
- React53.useEffect(() => {
5546
+ const titleId = React54.useId();
5547
+ const descId = React54.useId();
5548
+ const panelRef = React54.useRef(null);
5549
+ const [mounted, setMounted] = React54.useState(false);
5550
+ React54.useEffect(() => setMounted(true), []);
5551
+ React54.useEffect(() => {
5442
5552
  if (!open) return;
5443
5553
  const onKey = (e) => {
5444
5554
  if (e.key === "Escape") onOpenChange(false);
@@ -5471,7 +5581,7 @@ var Modal = React53.forwardRef(
5471
5581
  const visibleTitle = hasTitle && !headerHidden;
5472
5582
  const srOnlyTitle = hasTitle && headerHidden && !ariaLabel;
5473
5583
  const labelledBy = visibleTitle || srOnlyTitle ? titleId : void 0;
5474
- const node = /* @__PURE__ */ (0, import_jsx_runtime53.jsxs)(
5584
+ const node = /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)(
5475
5585
  "div",
5476
5586
  {
5477
5587
  "data-state": state,
@@ -5482,7 +5592,7 @@ var Modal = React53.forwardRef(
5482
5592
  ),
5483
5593
  style: { zIndex: "var(--z-modal, 1200)" },
5484
5594
  children: [
5485
- /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
5595
+ /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
5486
5596
  "div",
5487
5597
  {
5488
5598
  "data-state": state,
@@ -5490,7 +5600,7 @@ var Modal = React53.forwardRef(
5490
5600
  className: "fixed inset-0 bg-scrim/40 transition-opacity duration-200 ease-out data-[state=open]:opacity-100 data-[state=closed]:opacity-0"
5491
5601
  }
5492
5602
  ),
5493
- /* @__PURE__ */ (0, import_jsx_runtime53.jsxs)(
5603
+ /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)(
5494
5604
  "div",
5495
5605
  {
5496
5606
  ref: (el) => {
@@ -5514,13 +5624,13 @@ var Modal = React53.forwardRef(
5514
5624
  ),
5515
5625
  ...rest,
5516
5626
  children: [
5517
- srOnlyTitle && /* @__PURE__ */ (0, import_jsx_runtime53.jsx)("span", { id: titleId, className: "sr-only", children: title }),
5518
- hasHeader && /* @__PURE__ */ (0, import_jsx_runtime53.jsxs)("div", { className: "flex shrink-0 items-start justify-between gap-sm px-lg pb-sm pt-lg", children: [
5519
- /* @__PURE__ */ (0, import_jsx_runtime53.jsxs)("div", { className: "flex min-w-0 flex-1 flex-col gap-xxs", children: [
5520
- hasTitle && /* @__PURE__ */ (0, import_jsx_runtime53.jsx)("h2", { id: titleId, className: "text-heading-sm text-ink", children: title }),
5521
- description && /* @__PURE__ */ (0, import_jsx_runtime53.jsx)("p", { id: descId, className: "text-body-sm text-muted", children: description })
5627
+ srOnlyTitle && /* @__PURE__ */ (0, import_jsx_runtime54.jsx)("span", { id: titleId, className: "sr-only", children: title }),
5628
+ hasHeader && /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)("div", { className: "flex shrink-0 items-start justify-between gap-sm px-lg pb-sm pt-lg", children: [
5629
+ /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)("div", { className: "flex min-w-0 flex-1 flex-col gap-xxs", children: [
5630
+ hasTitle && /* @__PURE__ */ (0, import_jsx_runtime54.jsx)("h2", { id: titleId, className: "text-heading-sm text-ink", children: title }),
5631
+ description && /* @__PURE__ */ (0, import_jsx_runtime54.jsx)("p", { id: descId, className: "text-body-sm text-muted", children: description })
5522
5632
  ] }),
5523
- showClose && /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
5633
+ showClose && /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
5524
5634
  IconButton,
5525
5635
  {
5526
5636
  icon: "x",
@@ -5531,7 +5641,7 @@ var Modal = React53.forwardRef(
5531
5641
  }
5532
5642
  )
5533
5643
  ] }),
5534
- children != null && children !== false && /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
5644
+ children != null && children !== false && /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
5535
5645
  "div",
5536
5646
  {
5537
5647
  className: cn41(
@@ -5542,7 +5652,7 @@ var Modal = React53.forwardRef(
5542
5652
  children
5543
5653
  }
5544
5654
  ),
5545
- footer && /* @__PURE__ */ (0, import_jsx_runtime53.jsx)("div", { className: "flex shrink-0 items-center justify-end gap-sm px-lg pb-lg pt-xs", children: footer })
5655
+ footer && /* @__PURE__ */ (0, import_jsx_runtime54.jsx)("div", { className: "flex shrink-0 items-center justify-end gap-sm px-lg pb-lg pt-xs", children: footer })
5546
5656
  ]
5547
5657
  }
5548
5658
  )
@@ -5555,14 +5665,14 @@ var Modal = React53.forwardRef(
5555
5665
  Modal.displayName = "Modal";
5556
5666
 
5557
5667
  // virtual-pkg:src/atoms/Navbar/Navbar.tsx
5558
- var React56 = __toESM(require("react"));
5668
+ var React57 = __toESM(require("react"));
5559
5669
 
5560
5670
  // virtual-pkg:src/atoms/NavbarDesktop/NavbarDesktop.tsx
5561
- var React54 = __toESM(require("react"));
5671
+ var React55 = __toESM(require("react"));
5562
5672
  var import_react_dom7 = require("react-dom");
5563
- var import_jsx_runtime54 = require("react/jsx-runtime");
5673
+ var import_jsx_runtime55 = require("react/jsx-runtime");
5564
5674
  var cn42 = (...parts) => parts.filter(Boolean).join(" ");
5565
- var NavbarDesktop = React54.forwardRef(
5675
+ var NavbarDesktop = React55.forwardRef(
5566
5676
  ({
5567
5677
  brandName = "Linear",
5568
5678
  brandHref = "#",
@@ -5578,26 +5688,26 @@ var NavbarDesktop = React54.forwardRef(
5578
5688
  className,
5579
5689
  ...rest
5580
5690
  }, ref) => {
5581
- const menuId = React54.useId();
5582
- const triggerRef = React54.useRef(null);
5583
- const panelRef = React54.useRef(null);
5584
- const [innerOpen, setInnerOpen] = React54.useState(false);
5585
- const [mounted, setMounted] = React54.useState(false);
5586
- const [rect, setRect] = React54.useState(null);
5691
+ const menuId = React55.useId();
5692
+ const triggerRef = React55.useRef(null);
5693
+ const panelRef = React55.useRef(null);
5694
+ const [innerOpen, setInnerOpen] = React55.useState(false);
5695
+ const [mounted, setMounted] = React55.useState(false);
5696
+ const [rect, setRect] = React55.useState(null);
5587
5697
  const open = menuOpen ?? innerOpen;
5588
- React54.useEffect(() => setMounted(true), []);
5589
- const setOpen = React54.useCallback(
5698
+ React55.useEffect(() => setMounted(true), []);
5699
+ const setOpen = React55.useCallback(
5590
5700
  (next) => {
5591
5701
  if (menuOpen === void 0) setInnerOpen(next);
5592
5702
  onMenuOpenChange?.(next);
5593
5703
  },
5594
5704
  [menuOpen, onMenuOpenChange]
5595
5705
  );
5596
- const place2 = React54.useCallback(() => {
5706
+ const place2 = React55.useCallback(() => {
5597
5707
  const box = triggerRef.current?.getBoundingClientRect();
5598
5708
  if (box) setRect({ top: box.bottom + 6, right: window.innerWidth - box.right });
5599
5709
  }, []);
5600
- React54.useLayoutEffect(() => {
5710
+ React55.useLayoutEffect(() => {
5601
5711
  if (!open) return;
5602
5712
  place2();
5603
5713
  window.addEventListener("resize", place2);
@@ -5607,7 +5717,7 @@ var NavbarDesktop = React54.forwardRef(
5607
5717
  window.removeEventListener("scroll", place2, true);
5608
5718
  };
5609
5719
  }, [open, place2]);
5610
- React54.useEffect(() => {
5720
+ React55.useEffect(() => {
5611
5721
  if (!open) return;
5612
5722
  const onDown = (e) => {
5613
5723
  const t = e.target;
@@ -5637,7 +5747,7 @@ var NavbarDesktop = React54.forwardRef(
5637
5747
  const next = e.key === "ArrowDown" ? (idx + 1) % rows.length : (idx - 1 + rows.length) % rows.length;
5638
5748
  rows[next]?.focus();
5639
5749
  };
5640
- const panel = /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
5750
+ const panel = /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
5641
5751
  "div",
5642
5752
  {
5643
5753
  ref: panelRef,
@@ -5654,9 +5764,9 @@ var NavbarDesktop = React54.forwardRef(
5654
5764
  zIndex: "var(--z-popover, 1300)"
5655
5765
  },
5656
5766
  className: "origin-top-right rounded-lg border border-hairline bg-canvas p-xs text-ink shadow-overlay transition duration-200 ease-out data-[state=open]:translate-y-0 data-[state=open]:opacity-100 data-[state=closed]:pointer-events-none data-[state=closed]:invisible data-[state=closed]:-translate-y-1 data-[state=closed]:opacity-0",
5657
- children: menuItems.map((m) => /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)(React54.Fragment, { children: [
5658
- m.separated && /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(Divider, { className: "my-xs" }),
5659
- /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
5767
+ children: menuItems.map((m) => /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)(React55.Fragment, { children: [
5768
+ m.separated && /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(Divider, { className: "my-xs" }),
5769
+ /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
5660
5770
  MenuItem,
5661
5771
  {
5662
5772
  icon: m.icon,
@@ -5673,7 +5783,7 @@ var NavbarDesktop = React54.forwardRef(
5673
5783
  ] }, m.label))
5674
5784
  }
5675
5785
  );
5676
- return /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)(
5786
+ return /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)(
5677
5787
  "header",
5678
5788
  {
5679
5789
  ref,
@@ -5683,11 +5793,11 @@ var NavbarDesktop = React54.forwardRef(
5683
5793
  ),
5684
5794
  ...rest,
5685
5795
  children: [
5686
- /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(Logo, { name: brandName, href: brandHref, size: "md", className: "shrink-0" }),
5687
- /* @__PURE__ */ (0, import_jsx_runtime54.jsx)("span", { className: "flex h-5 shrink-0", children: /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(Divider, { orientation: "vertical" }) }),
5688
- /* @__PURE__ */ (0, import_jsx_runtime54.jsx)("nav", { "aria-label": "Primary", className: "flex min-w-0 flex-1 items-center gap-xxs overflow-x-auto", children: items.map((item) => {
5796
+ /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(Logo, { name: brandName, href: brandHref, size: "md", className: "shrink-0" }),
5797
+ /* @__PURE__ */ (0, import_jsx_runtime55.jsx)("span", { className: "flex h-5 shrink-0", children: /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(Divider, { orientation: "vertical" }) }),
5798
+ /* @__PURE__ */ (0, import_jsx_runtime55.jsx)("nav", { "aria-label": "Primary", className: "flex min-w-0 flex-1 items-center gap-xxs overflow-x-auto", children: items.map((item) => {
5689
5799
  const current = item.href === activeHref;
5690
- return /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)(
5800
+ return /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)(
5691
5801
  "a",
5692
5802
  {
5693
5803
  href: item.href,
@@ -5698,16 +5808,16 @@ var NavbarDesktop = React54.forwardRef(
5698
5808
  current ? "bg-surface-strong text-ink font-weight-label" : "text-body hover:bg-surface-soft hover:text-ink active:bg-surface-strong"
5699
5809
  ),
5700
5810
  children: [
5701
- item.icon && /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(Icon, { name: item.icon, size: 16 }),
5811
+ item.icon && /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(Icon, { name: item.icon, size: 16 }),
5702
5812
  item.label
5703
5813
  ]
5704
5814
  },
5705
5815
  item.href
5706
5816
  );
5707
5817
  }) }),
5708
- /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)("div", { className: "flex shrink-0 items-center gap-xs", children: [
5709
- onSearch && /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(IconButton, { icon: "search", variant: "ghost", "aria-label": "Search", onClick: onSearch }),
5710
- /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
5818
+ /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)("div", { className: "flex shrink-0 items-center gap-xs", children: [
5819
+ onSearch && /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(IconButton, { icon: "search", variant: "ghost", "aria-label": "Search", onClick: onSearch }),
5820
+ /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
5711
5821
  Button,
5712
5822
  {
5713
5823
  ref: triggerRef,
@@ -5721,8 +5831,8 @@ var NavbarDesktop = React54.forwardRef(
5721
5831
  if (!open) place2();
5722
5832
  setOpen(!open);
5723
5833
  },
5724
- leadingIcon: /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(Avatar, { name: userName, src: userAvatarSrc, size: "sm" }),
5725
- trailingIcon: /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
5834
+ leadingIcon: /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(Avatar, { name: userName, src: userAvatarSrc, size: "sm" }),
5835
+ trailingIcon: /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
5726
5836
  Icon,
5727
5837
  {
5728
5838
  name: "chevron-down",
@@ -5742,11 +5852,11 @@ var NavbarDesktop = React54.forwardRef(
5742
5852
  NavbarDesktop.displayName = "NavbarDesktop";
5743
5853
 
5744
5854
  // virtual-pkg:src/atoms/NavbarMobile/NavbarMobile.tsx
5745
- var React55 = __toESM(require("react"));
5746
- var import_jsx_runtime55 = require("react/jsx-runtime");
5855
+ var React56 = __toESM(require("react"));
5856
+ var import_jsx_runtime56 = require("react/jsx-runtime");
5747
5857
  var cn43 = (...parts) => parts.filter(Boolean).join(" ");
5748
5858
  var rowClass = "flex h-9 w-full items-center gap-sm rounded-md px-base text-left text-body-md cursor-pointer transition-colors duration-150 ease-out focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-focus-blue";
5749
- var NavbarMobile = React55.forwardRef(
5859
+ var NavbarMobile = React56.forwardRef(
5750
5860
  ({
5751
5861
  brandName = "Linear",
5752
5862
  brandHref = "#",
@@ -5762,14 +5872,14 @@ var NavbarMobile = React55.forwardRef(
5762
5872
  className,
5763
5873
  ...rest
5764
5874
  }, ref) => {
5765
- const panelId = React55.useId();
5766
- const [innerOpen, setInnerOpen] = React55.useState(defaultOpen);
5875
+ const panelId = React56.useId();
5876
+ const [innerOpen, setInnerOpen] = React56.useState(defaultOpen);
5767
5877
  const open = openProp ?? innerOpen;
5768
5878
  const setOpen = (next) => {
5769
5879
  if (openProp === void 0) setInnerOpen(next);
5770
5880
  onOpenChange?.(next);
5771
5881
  };
5772
- React55.useEffect(() => {
5882
+ React56.useEffect(() => {
5773
5883
  if (!open) return;
5774
5884
  const onKey = (e) => {
5775
5885
  if (e.key === "Escape") {
@@ -5781,7 +5891,7 @@ var NavbarMobile = React55.forwardRef(
5781
5891
  return () => document.removeEventListener("keydown", onKey);
5782
5892
  }, [open, openProp, onOpenChange]);
5783
5893
  const state = open ? "open" : "closed";
5784
- return /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)(
5894
+ return /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)(
5785
5895
  "header",
5786
5896
  {
5787
5897
  ref,
@@ -5789,9 +5899,9 @@ var NavbarMobile = React55.forwardRef(
5789
5899
  className: cn43("w-full border-b border-hairline bg-canvas text-ink", className),
5790
5900
  ...rest,
5791
5901
  children: [
5792
- /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)("div", { className: "flex h-14 items-center justify-between gap-sm px-base", children: [
5793
- /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(Logo, { name: brandName, href: brandHref, size: "md" }),
5794
- /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
5902
+ /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)("div", { className: "flex h-14 items-center justify-between gap-sm px-base", children: [
5903
+ /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(Logo, { name: brandName, href: brandHref, size: "md" }),
5904
+ /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
5795
5905
  IconButton,
5796
5906
  {
5797
5907
  icon: open ? "x" : "menu",
@@ -5803,22 +5913,22 @@ var NavbarMobile = React55.forwardRef(
5803
5913
  }
5804
5914
  )
5805
5915
  ] }),
5806
- /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
5916
+ /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
5807
5917
  "div",
5808
5918
  {
5809
5919
  id: panelId,
5810
5920
  "data-state": state,
5811
5921
  "aria-hidden": open ? void 0 : true,
5812
5922
  className: "grid transition-[grid-template-rows] duration-200 ease-out data-[state=open]:grid-rows-[1fr] data-[state=closed]:grid-rows-[0fr]",
5813
- children: /* @__PURE__ */ (0, import_jsx_runtime55.jsx)("div", { className: "min-h-0 overflow-hidden", children: /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)(
5923
+ children: /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("div", { className: "min-h-0 overflow-hidden", children: /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)(
5814
5924
  "div",
5815
5925
  {
5816
5926
  "data-state": state,
5817
5927
  className: "border-t border-hairline px-sm py-sm transition duration-200 ease-out data-[state=open]:translate-y-0 data-[state=open]:opacity-100 data-[state=closed]:invisible data-[state=closed]:-translate-y-1 data-[state=closed]:opacity-0",
5818
5928
  children: [
5819
- /* @__PURE__ */ (0, import_jsx_runtime55.jsx)("nav", { "aria-label": "Primary", className: "flex flex-col gap-xxs", children: items.map((item) => {
5929
+ /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("nav", { "aria-label": "Primary", className: "flex flex-col gap-xxs", children: items.map((item) => {
5820
5930
  const current = item.href === activeHref;
5821
- return /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)(
5931
+ return /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)(
5822
5932
  "a",
5823
5933
  {
5824
5934
  href: item.href,
@@ -5833,31 +5943,31 @@ var NavbarMobile = React55.forwardRef(
5833
5943
  current ? "bg-surface-strong text-ink font-weight-label" : "text-ink hover:bg-surface-soft active:bg-surface-strong"
5834
5944
  ),
5835
5945
  children: [
5836
- item.icon && /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(Icon, { name: item.icon, size: 16, className: "text-body" }),
5946
+ item.icon && /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(Icon, { name: item.icon, size: 16, className: "text-body" }),
5837
5947
  item.label
5838
5948
  ]
5839
5949
  },
5840
5950
  item.href
5841
5951
  );
5842
5952
  }) }),
5843
- (userName || accountActions.length > 0) && /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)(import_jsx_runtime55.Fragment, { children: [
5844
- /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(Divider, { className: "my-sm" }),
5845
- userName && /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)("div", { className: "flex items-center gap-sm px-base py-sm", children: [
5846
- /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(Avatar, { name: userName, src: userAvatarSrc, size: "xs" }),
5847
- /* @__PURE__ */ (0, import_jsx_runtime55.jsx)("span", { className: "truncate text-body-md text-ink", children: userName })
5953
+ (userName || accountActions.length > 0) && /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)(import_jsx_runtime56.Fragment, { children: [
5954
+ /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(Divider, { className: "my-sm" }),
5955
+ userName && /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)("div", { className: "flex items-center gap-sm px-base py-sm", children: [
5956
+ /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(Avatar, { name: userName, src: userAvatarSrc, size: "xs" }),
5957
+ /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("span", { className: "truncate text-body-md text-ink", children: userName })
5848
5958
  ] }),
5849
- /* @__PURE__ */ (0, import_jsx_runtime55.jsx)("div", { "aria-label": "Account", role: "group", className: "flex flex-col gap-xxs", children: accountActions.map((a) => /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
5959
+ /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("div", { "aria-label": "Account", role: "group", className: "flex flex-col gap-xxs", children: accountActions.map((a) => /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
5850
5960
  Button,
5851
5961
  {
5852
5962
  variant: "item",
5853
5963
  size: "lg",
5854
5964
  tabIndex: open ? 0 : -1,
5855
- leadingIcon: a.icon ? /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(Icon, { name: a.icon, size: 16, className: a.tone === "destructive" ? "text-semantic-error" : "text-body" }) : void 0,
5965
+ leadingIcon: a.icon ? /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(Icon, { name: a.icon, size: 16, className: a.tone === "destructive" ? "text-semantic-error" : "text-body" }) : void 0,
5856
5966
  onClick: () => {
5857
5967
  a.onSelect?.();
5858
5968
  setOpen(false);
5859
5969
  },
5860
- children: /* @__PURE__ */ (0, import_jsx_runtime55.jsx)("span", { className: a.tone === "destructive" ? "text-semantic-error" : void 0, children: a.label })
5970
+ children: /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("span", { className: a.tone === "destructive" ? "text-semantic-error" : void 0, children: a.label })
5861
5971
  },
5862
5972
  a.label
5863
5973
  )) })
@@ -5875,8 +5985,8 @@ var NavbarMobile = React55.forwardRef(
5875
5985
  NavbarMobile.displayName = "NavbarMobile";
5876
5986
 
5877
5987
  // virtual-pkg:src/atoms/Navbar/Navbar.tsx
5878
- var import_jsx_runtime56 = require("react/jsx-runtime");
5879
- var Navbar = React56.forwardRef(
5988
+ var import_jsx_runtime57 = require("react/jsx-runtime");
5989
+ var Navbar = React57.forwardRef(
5880
5990
  ({
5881
5991
  brandName,
5882
5992
  brandHref,
@@ -5895,8 +6005,8 @@ var Navbar = React56.forwardRef(
5895
6005
  className
5896
6006
  }, ref) => {
5897
6007
  const accountActions = mobileAccountActions ?? menuItems.map((m) => ({ label: m.label, icon: m.icon, tone: m.tone, onSelect: m.onSelect }));
5898
- return /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)("div", { ref, className: ["w-full", className].filter(Boolean).join(" "), children: [
5899
- /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("div", { className: "hidden md:block", children: /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
6008
+ return /* @__PURE__ */ (0, import_jsx_runtime57.jsxs)("div", { ref, className: ["w-full", className].filter(Boolean).join(" "), children: [
6009
+ /* @__PURE__ */ (0, import_jsx_runtime57.jsx)("div", { className: "hidden md:block", children: /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(
5900
6010
  NavbarDesktop,
5901
6011
  {
5902
6012
  brandName,
@@ -5912,7 +6022,7 @@ var Navbar = React56.forwardRef(
5912
6022
  onMenuOpenChange
5913
6023
  }
5914
6024
  ) }),
5915
- /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("div", { className: "md:hidden", children: /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
6025
+ /* @__PURE__ */ (0, import_jsx_runtime57.jsx)("div", { className: "md:hidden", children: /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(
5916
6026
  NavbarMobile,
5917
6027
  {
5918
6028
  brandName,
@@ -5933,17 +6043,17 @@ var Navbar = React56.forwardRef(
5933
6043
  Navbar.displayName = "Navbar";
5934
6044
 
5935
6045
  // virtual-pkg:src/atoms/NavigationMenu/NavigationMenu.tsx
5936
- var React59 = __toESM(require("react"));
6046
+ var React60 = __toESM(require("react"));
5937
6047
 
5938
6048
  // virtual-pkg:src/atoms/NavigationMenuDesktop/NavigationMenuDesktop.tsx
5939
- var React57 = __toESM(require("react"));
6049
+ var React58 = __toESM(require("react"));
5940
6050
  var import_react_dom8 = require("react-dom");
5941
- var import_jsx_runtime57 = require("react/jsx-runtime");
6051
+ var import_jsx_runtime58 = require("react/jsx-runtime");
5942
6052
  var cn44 = (...parts) => parts.filter(Boolean).join(" ");
5943
6053
  var panelMotion = "transition duration-200 ease-out data-[state=open]:translate-y-0 data-[state=open]:opacity-100 data-[state=closed]:pointer-events-none data-[state=closed]:invisible data-[state=closed]:-translate-y-1 data-[state=closed]:opacity-0";
5944
6054
  var useScrolled = (enabled, threshold = 16) => {
5945
- const [scrolled, setScrolled] = React57.useState(false);
5946
- React57.useEffect(() => {
6055
+ const [scrolled, setScrolled] = React58.useState(false);
6056
+ React58.useEffect(() => {
5947
6057
  if (!enabled) {
5948
6058
  setScrolled(false);
5949
6059
  return;
@@ -5955,7 +6065,7 @@ var useScrolled = (enabled, threshold = 16) => {
5955
6065
  }, [enabled, threshold]);
5956
6066
  return scrolled;
5957
6067
  };
5958
- var NavigationMenuDesktop = React57.forwardRef(
6068
+ var NavigationMenuDesktop = React58.forwardRef(
5959
6069
  ({
5960
6070
  brandName = "Linear",
5961
6071
  brandHref = "#",
@@ -5970,23 +6080,23 @@ var NavigationMenuDesktop = React57.forwardRef(
5970
6080
  className,
5971
6081
  ...rest
5972
6082
  }, ref) => {
5973
- const baseId = React57.useId();
5974
- const [innerOpen, setInnerOpen] = React57.useState(null);
6083
+ const baseId = React58.useId();
6084
+ const [innerOpen, setInnerOpen] = React58.useState(null);
5975
6085
  const openId = openIdProp !== void 0 ? openIdProp : innerOpen;
5976
- const [mounted, setMounted] = React57.useState(false);
5977
- const [rects, setRects] = React57.useState({});
5978
- const triggerRefs = React57.useRef({});
5979
- const panelRefs = React57.useRef({});
6086
+ const [mounted, setMounted] = React58.useState(false);
6087
+ const [rects, setRects] = React58.useState({});
6088
+ const triggerRefs = React58.useRef({});
6089
+ const panelRefs = React58.useRef({});
5980
6090
  const scrolled = useScrolled(transparent);
5981
- React57.useEffect(() => setMounted(true), []);
5982
- const setOpenId = React57.useCallback(
6091
+ React58.useEffect(() => setMounted(true), []);
6092
+ const setOpenId = React58.useCallback(
5983
6093
  (id) => {
5984
6094
  if (openIdProp === void 0) setInnerOpen(id);
5985
6095
  onOpenIdChange?.(id);
5986
6096
  },
5987
6097
  [openIdProp, onOpenIdChange]
5988
6098
  );
5989
- const place2 = React57.useCallback((id) => {
6099
+ const place2 = React58.useCallback((id) => {
5990
6100
  const el = triggerRefs.current[id];
5991
6101
  const box = el?.getBoundingClientRect();
5992
6102
  if (!box) return;
@@ -5995,7 +6105,7 @@ var NavigationMenuDesktop = React57.forwardRef(
5995
6105
  const left = Math.max(16, Math.min(box.left, window.innerWidth - width - 16));
5996
6106
  setRects((prev) => ({ ...prev, [id]: { top: box.bottom + 6, left } }));
5997
6107
  }, [items]);
5998
- React57.useLayoutEffect(() => {
6108
+ React58.useLayoutEffect(() => {
5999
6109
  if (!openId) return;
6000
6110
  place2(openId);
6001
6111
  const onMove = () => place2(openId);
@@ -6009,7 +6119,7 @@ var NavigationMenuDesktop = React57.forwardRef(
6009
6119
  window.removeEventListener("scroll", onMove, true);
6010
6120
  };
6011
6121
  }, [openId, place2]);
6012
- React57.useEffect(() => {
6122
+ React58.useEffect(() => {
6013
6123
  if (!openId) return;
6014
6124
  const onDown = (e) => {
6015
6125
  const t = e.target;
@@ -6044,7 +6154,7 @@ var NavigationMenuDesktop = React57.forwardRef(
6044
6154
  zIndex: "var(--z-popover, 1300)"
6045
6155
  };
6046
6156
  if (item.columns) {
6047
- return /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(
6157
+ return /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(
6048
6158
  "div",
6049
6159
  {
6050
6160
  ref: (el) => {
@@ -6056,11 +6166,11 @@ var NavigationMenuDesktop = React57.forwardRef(
6056
6166
  "data-state": open ? "open" : "closed",
6057
6167
  style: { ...style, width: "min(760px, calc(100vw - 32px))" },
6058
6168
  className: cn44("origin-top rounded-xl border border-hairline bg-canvas p-lg text-ink shadow-overlay", panelMotion),
6059
- children: /* @__PURE__ */ (0, import_jsx_runtime57.jsx)("div", { className: "grid grid-cols-3 gap-lg", children: item.columns.map((col) => /* @__PURE__ */ (0, import_jsx_runtime57.jsxs)("div", { className: "flex min-w-0 flex-col gap-xs", children: [
6060
- /* @__PURE__ */ (0, import_jsx_runtime57.jsx)("p", { className: "px-sm text-label text-ink", children: col.title }),
6061
- /* @__PURE__ */ (0, import_jsx_runtime57.jsx)("ul", { className: "flex flex-col", children: col.links.map((link) => {
6169
+ children: /* @__PURE__ */ (0, import_jsx_runtime58.jsx)("div", { className: "grid grid-cols-3 gap-lg", children: item.columns.map((col) => /* @__PURE__ */ (0, import_jsx_runtime58.jsxs)("div", { className: "flex min-w-0 flex-col gap-xs", children: [
6170
+ /* @__PURE__ */ (0, import_jsx_runtime58.jsx)("p", { className: "px-sm text-label text-ink", children: col.title }),
6171
+ /* @__PURE__ */ (0, import_jsx_runtime58.jsx)("ul", { className: "flex flex-col", children: col.links.map((link) => {
6062
6172
  const current = link.href === activeHref;
6063
- return /* @__PURE__ */ (0, import_jsx_runtime57.jsx)("li", { children: /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(
6173
+ return /* @__PURE__ */ (0, import_jsx_runtime58.jsx)("li", { children: /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(
6064
6174
  "a",
6065
6175
  {
6066
6176
  href: link.href,
@@ -6080,7 +6190,7 @@ var NavigationMenuDesktop = React57.forwardRef(
6080
6190
  item.id
6081
6191
  );
6082
6192
  }
6083
- return /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(
6193
+ return /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(
6084
6194
  "div",
6085
6195
  {
6086
6196
  ref: (el) => {
@@ -6094,9 +6204,9 @@ var NavigationMenuDesktop = React57.forwardRef(
6094
6204
  className: cn44("origin-top rounded-lg border border-hairline bg-canvas p-xs text-ink shadow-overlay", panelMotion),
6095
6205
  children: (item.menu ?? []).map((link) => {
6096
6206
  const current = link.href === activeHref;
6097
- return /* @__PURE__ */ (0, import_jsx_runtime57.jsxs)(React57.Fragment, { children: [
6098
- link.separated && /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(Divider, { className: "my-xs" }),
6099
- /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(
6207
+ return /* @__PURE__ */ (0, import_jsx_runtime58.jsxs)(React58.Fragment, { children: [
6208
+ link.separated && /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(Divider, { className: "my-xs" }),
6209
+ /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(
6100
6210
  "a",
6101
6211
  {
6102
6212
  href: link.href,
@@ -6118,7 +6228,7 @@ var NavigationMenuDesktop = React57.forwardRef(
6118
6228
  );
6119
6229
  };
6120
6230
  const solid = !transparent || scrolled;
6121
- return /* @__PURE__ */ (0, import_jsx_runtime57.jsxs)(
6231
+ return /* @__PURE__ */ (0, import_jsx_runtime58.jsxs)(
6122
6232
  "header",
6123
6233
  {
6124
6234
  ref,
@@ -6131,14 +6241,14 @@ var NavigationMenuDesktop = React57.forwardRef(
6131
6241
  ),
6132
6242
  ...rest,
6133
6243
  children: [
6134
- /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(Logo, { name: brandName, href: brandHref, size: "md", className: "shrink-0" }),
6135
- /* @__PURE__ */ (0, import_jsx_runtime57.jsx)("span", { className: "flex h-5 shrink-0", children: /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(Divider, { orientation: "vertical" }) }),
6136
- /* @__PURE__ */ (0, import_jsx_runtime57.jsx)("nav", { "aria-label": "Primary", className: "flex min-w-0 flex-1 items-center gap-xxs overflow-hidden", children: items.map((item) => {
6244
+ /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(Logo, { name: brandName, href: brandHref, size: "md", className: "shrink-0" }),
6245
+ /* @__PURE__ */ (0, import_jsx_runtime58.jsx)("span", { className: "flex h-5 shrink-0", children: /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(Divider, { orientation: "vertical" }) }),
6246
+ /* @__PURE__ */ (0, import_jsx_runtime58.jsx)("nav", { "aria-label": "Primary", className: "flex min-w-0 flex-1 items-center gap-xxs overflow-hidden", children: items.map((item) => {
6137
6247
  const hasPanel = Boolean(item.menu?.length || item.columns?.length);
6138
6248
  const current = item.id === activeId;
6139
6249
  const open = openId === item.id;
6140
6250
  if (!hasPanel) {
6141
- return /* @__PURE__ */ (0, import_jsx_runtime57.jsxs)(
6251
+ return /* @__PURE__ */ (0, import_jsx_runtime58.jsxs)(
6142
6252
  "a",
6143
6253
  {
6144
6254
  href: item.href ?? "#",
@@ -6152,14 +6262,14 @@ var NavigationMenuDesktop = React57.forwardRef(
6152
6262
  current ? "bg-surface-strong text-ink" : "text-body hover:bg-surface-soft hover:text-ink active:bg-surface-strong"
6153
6263
  ),
6154
6264
  children: [
6155
- item.icon && /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(Icon, { name: item.icon, size: 16 }),
6265
+ item.icon && /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(Icon, { name: item.icon, size: 16 }),
6156
6266
  item.label
6157
6267
  ]
6158
6268
  },
6159
6269
  item.id
6160
6270
  );
6161
6271
  }
6162
- return /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(
6272
+ return /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(
6163
6273
  Button,
6164
6274
  {
6165
6275
  ref: (el) => {
@@ -6174,8 +6284,8 @@ var NavigationMenuDesktop = React57.forwardRef(
6174
6284
  if (!open) place2(item.id);
6175
6285
  setOpenId(open ? null : item.id);
6176
6286
  },
6177
- leadingIcon: item.icon ? /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(Icon, { name: item.icon, size: 16 }) : void 0,
6178
- trailingIcon: /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(
6287
+ leadingIcon: item.icon ? /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(Icon, { name: item.icon, size: 16 }) : void 0,
6288
+ trailingIcon: /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(
6179
6289
  Icon,
6180
6290
  {
6181
6291
  name: "chevron-down",
@@ -6188,9 +6298,9 @@ var NavigationMenuDesktop = React57.forwardRef(
6188
6298
  item.id
6189
6299
  );
6190
6300
  }) }),
6191
- actions !== void 0 && /* @__PURE__ */ (0, import_jsx_runtime57.jsx)("div", { className: "flex shrink-0 items-center gap-sm", children: actions }),
6301
+ actions !== void 0 && /* @__PURE__ */ (0, import_jsx_runtime58.jsx)("div", { className: "flex shrink-0 items-center gap-sm", children: actions }),
6192
6302
  mounted ? (0, import_react_dom8.createPortal)(
6193
- /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(import_jsx_runtime57.Fragment, { children: items.filter((i) => i.menu?.length || i.columns?.length).map(renderPanel) }),
6303
+ /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(import_jsx_runtime58.Fragment, { children: items.filter((i) => i.menu?.length || i.columns?.length).map(renderPanel) }),
6194
6304
  document.body
6195
6305
  ) : null
6196
6306
  ]
@@ -6201,13 +6311,13 @@ var NavigationMenuDesktop = React57.forwardRef(
6201
6311
  NavigationMenuDesktop.displayName = "NavigationMenuDesktop";
6202
6312
 
6203
6313
  // virtual-pkg:src/atoms/NavigationMenuMobile/NavigationMenuMobile.tsx
6204
- var React58 = __toESM(require("react"));
6205
- var import_jsx_runtime58 = require("react/jsx-runtime");
6314
+ var React59 = __toESM(require("react"));
6315
+ var import_jsx_runtime59 = require("react/jsx-runtime");
6206
6316
  var cn45 = (...parts) => parts.filter(Boolean).join(" ");
6207
6317
  var rowClass2 = "flex h-9 w-full items-center gap-sm rounded-md border border-transparent px-base text-left text-body-md cursor-pointer transition-colors duration-150 ease-out focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-focus-blue";
6208
6318
  var useScrolled2 = (enabled, threshold = 16) => {
6209
- const [scrolled, setScrolled] = React58.useState(false);
6210
- React58.useEffect(() => {
6319
+ const [scrolled, setScrolled] = React59.useState(false);
6320
+ React59.useEffect(() => {
6211
6321
  if (!enabled) {
6212
6322
  setScrolled(false);
6213
6323
  return;
@@ -6219,7 +6329,7 @@ var useScrolled2 = (enabled, threshold = 16) => {
6219
6329
  }, [enabled, threshold]);
6220
6330
  return scrolled;
6221
6331
  };
6222
- var NavigationMenuMobile = React58.forwardRef(
6332
+ var NavigationMenuMobile = React59.forwardRef(
6223
6333
  ({
6224
6334
  brandName = "Linear",
6225
6335
  brandHref = "#",
@@ -6239,25 +6349,25 @@ var NavigationMenuMobile = React58.forwardRef(
6239
6349
  className,
6240
6350
  ...rest
6241
6351
  }, ref) => {
6242
- const autoId = React58.useId();
6352
+ const autoId = React59.useId();
6243
6353
  const panelId = panelIdProp ?? `${autoId}-panel`;
6244
- const [innerOpen, setInnerOpen] = React58.useState(defaultOpen);
6354
+ const [innerOpen, setInnerOpen] = React59.useState(defaultOpen);
6245
6355
  const open = openProp ?? innerOpen;
6246
- const setOpen = React58.useCallback(
6356
+ const setOpen = React59.useCallback(
6247
6357
  (next) => {
6248
6358
  if (openProp === void 0) setInnerOpen(next);
6249
6359
  onOpenChange?.(next);
6250
6360
  },
6251
6361
  [openProp, onOpenChange]
6252
6362
  );
6253
- const [innerSection, setInnerSection] = React58.useState(null);
6363
+ const [innerSection, setInnerSection] = React59.useState(null);
6254
6364
  const section = sectionProp !== void 0 ? sectionProp : innerSection;
6255
6365
  const setSection = (id) => {
6256
6366
  if (sectionProp === void 0) setInnerSection(id);
6257
6367
  onSectionIdChange?.(id);
6258
6368
  };
6259
6369
  const scrolled = useScrolled2(transparent);
6260
- React58.useEffect(() => {
6370
+ React59.useEffect(() => {
6261
6371
  if (!open) return;
6262
6372
  const onKey = (e) => {
6263
6373
  if (e.key === "Escape") setOpen(false);
@@ -6269,9 +6379,9 @@ var NavigationMenuMobile = React58.forwardRef(
6269
6379
  const solid = !transparent || scrolled || open;
6270
6380
  const subLink = (link, tabbable) => {
6271
6381
  const current = link.href === activeHref;
6272
- return /* @__PURE__ */ (0, import_jsx_runtime58.jsxs)("li", { children: [
6273
- link.separated && /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(Divider, { className: "my-xs" }),
6274
- /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(
6382
+ return /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)("li", { children: [
6383
+ link.separated && /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(Divider, { className: "my-xs" }),
6384
+ /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
6275
6385
  "a",
6276
6386
  {
6277
6387
  href: link.href,
@@ -6290,7 +6400,7 @@ var NavigationMenuMobile = React58.forwardRef(
6290
6400
  )
6291
6401
  ] }, link.href);
6292
6402
  };
6293
- return /* @__PURE__ */ (0, import_jsx_runtime58.jsxs)(
6403
+ return /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)(
6294
6404
  "header",
6295
6405
  {
6296
6406
  ref,
@@ -6304,11 +6414,11 @@ var NavigationMenuMobile = React58.forwardRef(
6304
6414
  ),
6305
6415
  ...rest,
6306
6416
  children: [
6307
- /* @__PURE__ */ (0, import_jsx_runtime58.jsxs)("div", { className: "flex h-14 min-w-0 items-center justify-between gap-sm px-base", children: [
6308
- /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(Logo, { name: brandName, href: brandHref, size: "md", className: "shrink-0" }),
6309
- /* @__PURE__ */ (0, import_jsx_runtime58.jsxs)("div", { className: "flex min-w-0 flex-1 items-center justify-end gap-xs", children: [
6310
- actions !== void 0 && /* @__PURE__ */ (0, import_jsx_runtime58.jsx)("div", { className: "flex shrink-0 items-center gap-xs", children: actions }),
6311
- trigger ?? /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(
6417
+ /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)("div", { className: "flex h-14 min-w-0 items-center justify-between gap-sm px-base", children: [
6418
+ /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(Logo, { name: brandName, href: brandHref, size: "md", className: "shrink-0" }),
6419
+ /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)("div", { className: "flex min-w-0 flex-1 items-center justify-end gap-xs", children: [
6420
+ actions !== void 0 && /* @__PURE__ */ (0, import_jsx_runtime59.jsx)("div", { className: "flex shrink-0 items-center gap-xs", children: actions }),
6421
+ trigger ?? /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
6312
6422
  IconButton,
6313
6423
  {
6314
6424
  icon: open ? "x" : "menu",
@@ -6321,7 +6431,7 @@ var NavigationMenuMobile = React58.forwardRef(
6321
6431
  )
6322
6432
  ] })
6323
6433
  ] }),
6324
- /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(
6434
+ /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
6325
6435
  "div",
6326
6436
  {
6327
6437
  id: panelId,
@@ -6331,18 +6441,18 @@ var NavigationMenuMobile = React58.forwardRef(
6331
6441
  "grid transition-[grid-template-rows] duration-200 ease-out data-[state=open]:grid-rows-[1fr] data-[state=closed]:grid-rows-[0fr]",
6332
6442
  open && "bg-canvas"
6333
6443
  ),
6334
- children: /* @__PURE__ */ (0, import_jsx_runtime58.jsx)("div", { className: "min-h-0 overflow-hidden", children: /* @__PURE__ */ (0, import_jsx_runtime58.jsxs)(
6444
+ children: /* @__PURE__ */ (0, import_jsx_runtime59.jsx)("div", { className: "min-h-0 overflow-hidden", children: /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)(
6335
6445
  "nav",
6336
6446
  {
6337
6447
  "aria-label": "Primary",
6338
6448
  "data-state": state,
6339
6449
  className: "border-t border-hairline px-sm py-sm transition duration-200 ease-out data-[state=open]:translate-y-0 data-[state=open]:opacity-100 data-[state=closed]:invisible data-[state=closed]:-translate-y-1 data-[state=closed]:opacity-0",
6340
6450
  children: [
6341
- /* @__PURE__ */ (0, import_jsx_runtime58.jsx)("ul", { className: "flex flex-col gap-xxs", children: items.map((item) => {
6451
+ /* @__PURE__ */ (0, import_jsx_runtime59.jsx)("ul", { className: "flex flex-col gap-xxs", children: items.map((item) => {
6342
6452
  const hasSub = Boolean(item.menu?.length || item.columns?.length);
6343
6453
  if (!hasSub) {
6344
6454
  const current = item.href === activeHref;
6345
- return /* @__PURE__ */ (0, import_jsx_runtime58.jsx)("li", { children: /* @__PURE__ */ (0, import_jsx_runtime58.jsxs)(
6455
+ return /* @__PURE__ */ (0, import_jsx_runtime59.jsx)("li", { children: /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)(
6346
6456
  "a",
6347
6457
  {
6348
6458
  href: item.href ?? "#",
@@ -6357,7 +6467,7 @@ var NavigationMenuMobile = React58.forwardRef(
6357
6467
  current ? "bg-surface-strong text-ink" : "text-ink hover:bg-surface-soft active:bg-surface-strong"
6358
6468
  ),
6359
6469
  children: [
6360
- item.icon && /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(Icon, { name: item.icon, size: 16, className: "text-body" }),
6470
+ item.icon && /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(Icon, { name: item.icon, size: 16, className: "text-body" }),
6361
6471
  item.label
6362
6472
  ]
6363
6473
  }
@@ -6365,8 +6475,8 @@ var NavigationMenuMobile = React58.forwardRef(
6365
6475
  }
6366
6476
  const expanded = section === item.id;
6367
6477
  const subId = `${autoId}-${item.id}`;
6368
- return /* @__PURE__ */ (0, import_jsx_runtime58.jsxs)("li", { children: [
6369
- /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(
6478
+ return /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)("li", { children: [
6479
+ /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
6370
6480
  Button,
6371
6481
  {
6372
6482
  variant: "item",
@@ -6375,8 +6485,8 @@ var NavigationMenuMobile = React58.forwardRef(
6375
6485
  "aria-expanded": expanded,
6376
6486
  "aria-controls": subId,
6377
6487
  onClick: () => setSection(expanded ? null : item.id),
6378
- leadingIcon: item.icon ? /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(Icon, { name: item.icon, size: 16, className: "text-body" }) : void 0,
6379
- trailingIcon: /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(
6488
+ leadingIcon: item.icon ? /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(Icon, { name: item.icon, size: 16, className: "text-body" }) : void 0,
6489
+ trailingIcon: /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
6380
6490
  Icon,
6381
6491
  {
6382
6492
  name: "chevron-down",
@@ -6387,7 +6497,7 @@ var NavigationMenuMobile = React58.forwardRef(
6387
6497
  children: item.label
6388
6498
  }
6389
6499
  ),
6390
- /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(
6500
+ /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
6391
6501
  "div",
6392
6502
  {
6393
6503
  id: subId,
@@ -6395,18 +6505,18 @@ var NavigationMenuMobile = React58.forwardRef(
6395
6505
  "aria-label": item.label,
6396
6506
  "data-state": expanded ? "open" : "closed",
6397
6507
  className: "grid transition-[grid-template-rows,opacity] duration-200 ease-out data-[state=open]:grid-rows-[1fr] data-[state=open]:opacity-100 data-[state=closed]:grid-rows-[0fr] data-[state=closed]:opacity-0",
6398
- children: /* @__PURE__ */ (0, import_jsx_runtime58.jsx)("div", { className: "min-h-0 overflow-hidden", children: /* @__PURE__ */ (0, import_jsx_runtime58.jsxs)("div", { className: "py-xs pl-lg", children: [
6399
- item.menu && /* @__PURE__ */ (0, import_jsx_runtime58.jsx)("ul", { className: "flex flex-col gap-xxs", children: item.menu.map((l) => subLink(l, open && expanded)) }),
6400
- item.columns?.map((col) => /* @__PURE__ */ (0, import_jsx_runtime58.jsxs)("div", { className: "pb-xs", children: [
6401
- /* @__PURE__ */ (0, import_jsx_runtime58.jsx)("p", { className: "px-base pb-xxs pt-sm text-caption text-muted", children: col.title }),
6402
- /* @__PURE__ */ (0, import_jsx_runtime58.jsx)("ul", { className: "flex flex-col gap-xxs", children: col.links.map((l) => subLink(l, open && expanded)) })
6508
+ children: /* @__PURE__ */ (0, import_jsx_runtime59.jsx)("div", { className: "min-h-0 overflow-hidden", children: /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)("div", { className: "py-xs pl-lg", children: [
6509
+ item.menu && /* @__PURE__ */ (0, import_jsx_runtime59.jsx)("ul", { className: "flex flex-col gap-xxs", children: item.menu.map((l) => subLink(l, open && expanded)) }),
6510
+ item.columns?.map((col) => /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)("div", { className: "pb-xs", children: [
6511
+ /* @__PURE__ */ (0, import_jsx_runtime59.jsx)("p", { className: "px-base pb-xxs pt-sm text-caption text-muted", children: col.title }),
6512
+ /* @__PURE__ */ (0, import_jsx_runtime59.jsx)("ul", { className: "flex flex-col gap-xxs", children: col.links.map((l) => subLink(l, open && expanded)) })
6403
6513
  ] }, col.title))
6404
6514
  ] }) })
6405
6515
  }
6406
6516
  )
6407
6517
  ] }, item.id);
6408
6518
  }) }),
6409
- menuFooter !== void 0 && /* @__PURE__ */ (0, import_jsx_runtime58.jsx)("div", { className: "mt-sm flex flex-col gap-xs border-t border-hairline px-base pb-xs pt-sm", children: menuFooter })
6519
+ menuFooter !== void 0 && /* @__PURE__ */ (0, import_jsx_runtime59.jsx)("div", { className: "mt-sm flex flex-col gap-xs border-t border-hairline px-base pb-xs pt-sm", children: menuFooter })
6410
6520
  ]
6411
6521
  }
6412
6522
  ) })
@@ -6420,8 +6530,8 @@ var NavigationMenuMobile = React58.forwardRef(
6420
6530
  NavigationMenuMobile.displayName = "NavigationMenuMobile";
6421
6531
 
6422
6532
  // virtual-pkg:src/atoms/NavigationMenu/NavigationMenu.tsx
6423
- var import_jsx_runtime59 = require("react/jsx-runtime");
6424
- var NavigationMenu = React59.forwardRef(
6533
+ var import_jsx_runtime60 = require("react/jsx-runtime");
6534
+ var NavigationMenu = React60.forwardRef(
6425
6535
  ({
6426
6536
  brandName,
6427
6537
  brandHref,
@@ -6441,22 +6551,22 @@ var NavigationMenu = React59.forwardRef(
6441
6551
  transparent = false,
6442
6552
  className
6443
6553
  }, ref) => {
6444
- const autoId = React59.useId();
6554
+ const autoId = React60.useId();
6445
6555
  const panelId = `${autoId}-panel`;
6446
- const [innerOpen, setInnerOpen] = React59.useState(false);
6556
+ const [innerOpen, setInnerOpen] = React60.useState(false);
6447
6557
  const open = mobileOpen ?? innerOpen;
6448
- const setMobileOpen = React59.useCallback(
6558
+ const setMobileOpen = React60.useCallback(
6449
6559
  (next) => {
6450
6560
  if (mobileOpen === void 0) setInnerOpen(next);
6451
6561
  onMobileOpenChange?.(next);
6452
6562
  },
6453
6563
  [mobileOpen, onMobileOpenChange]
6454
6564
  );
6455
- const closeAll = React59.useCallback(() => {
6565
+ const closeAll = React60.useCallback(() => {
6456
6566
  onOpenIdChange?.(null);
6457
6567
  setMobileOpen(false);
6458
6568
  }, [onOpenIdChange, setMobileOpen]);
6459
- return /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)(
6569
+ return /* @__PURE__ */ (0, import_jsx_runtime60.jsxs)(
6460
6570
  "div",
6461
6571
  {
6462
6572
  ref,
@@ -6465,7 +6575,7 @@ var NavigationMenu = React59.forwardRef(
6465
6575
  },
6466
6576
  className: ["w-full rounded-none", className].filter(Boolean).join(" "),
6467
6577
  children: [
6468
- /* @__PURE__ */ (0, import_jsx_runtime59.jsx)("div", { className: "hidden md:block", children: /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
6578
+ /* @__PURE__ */ (0, import_jsx_runtime60.jsx)("div", { className: "hidden md:block", children: /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(
6469
6579
  NavigationMenuDesktop,
6470
6580
  {
6471
6581
  brandName,
@@ -6480,7 +6590,7 @@ var NavigationMenu = React59.forwardRef(
6480
6590
  transparent
6481
6591
  }
6482
6592
  ) }),
6483
- /* @__PURE__ */ (0, import_jsx_runtime59.jsx)("div", { className: "md:hidden", children: /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
6593
+ /* @__PURE__ */ (0, import_jsx_runtime60.jsx)("div", { className: "md:hidden", children: /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(
6484
6594
  NavigationMenuMobile,
6485
6595
  {
6486
6596
  brandName,
@@ -6496,7 +6606,7 @@ var NavigationMenu = React59.forwardRef(
6496
6606
  menuFooter: mobileMenuFooter,
6497
6607
  transparent,
6498
6608
  panelId,
6499
- trigger: /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
6609
+ trigger: /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(
6500
6610
  IconButton,
6501
6611
  {
6502
6612
  icon: open ? "x" : "menu",
@@ -6517,8 +6627,8 @@ var NavigationMenu = React59.forwardRef(
6517
6627
  NavigationMenu.displayName = "NavigationMenu";
6518
6628
 
6519
6629
  // virtual-pkg:src/atoms/NotificationFeed/NotificationFeed.tsx
6520
- var React60 = __toESM(require("react"));
6521
- var import_jsx_runtime60 = require("react/jsx-runtime");
6630
+ var React61 = __toESM(require("react"));
6631
+ var import_jsx_runtime61 = require("react/jsx-runtime");
6522
6632
  var FILTERS = [
6523
6633
  { value: "all", label: "All" },
6524
6634
  { value: "unread", label: "Unread" },
@@ -6532,7 +6642,7 @@ function matches(entry, filter) {
6532
6642
  if (filter === "assignments") return entry.kind === "assignment";
6533
6643
  return true;
6534
6644
  }
6535
- var NotificationFeed = React60.forwardRef(
6645
+ var NotificationFeed = React61.forwardRef(
6536
6646
  ({
6537
6647
  title = "Inbox",
6538
6648
  notifications,
@@ -6546,10 +6656,10 @@ var NotificationFeed = React60.forwardRef(
6546
6656
  className,
6547
6657
  ...rest
6548
6658
  }, ref) => {
6549
- const headingId = React60.useId();
6659
+ const headingId = React61.useId();
6550
6660
  const unreadCount = notifications.filter((n) => n.unread).length;
6551
6661
  const visible = notifications.filter((n) => matches(n, filter));
6552
- return /* @__PURE__ */ (0, import_jsx_runtime60.jsxs)(
6662
+ return /* @__PURE__ */ (0, import_jsx_runtime61.jsxs)(
6553
6663
  "section",
6554
6664
  {
6555
6665
  ref,
@@ -6560,14 +6670,14 @@ var NotificationFeed = React60.forwardRef(
6560
6670
  ),
6561
6671
  ...rest,
6562
6672
  children: [
6563
- /* @__PURE__ */ (0, import_jsx_runtime60.jsxs)("header", { className: "flex min-w-0 items-center gap-md px-base py-md", children: [
6564
- /* @__PURE__ */ (0, import_jsx_runtime60.jsx)("h2", { id: headingId, className: "shrink-0 text-heading-sm text-ink", children: title }),
6565
- /* @__PURE__ */ (0, import_jsx_runtime60.jsx)("div", { role: "group", "aria-label": "Filter notifications", className: "flex min-w-0 flex-1 flex-wrap items-center gap-xs", children: FILTERS.map((f) => /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(Chip, { selected: filter === f.value, onSelectedChange: () => onFilterChange?.(f.value), children: /* @__PURE__ */ (0, import_jsx_runtime60.jsxs)("span", { className: "inline-flex items-center gap-xs", children: [
6673
+ /* @__PURE__ */ (0, import_jsx_runtime61.jsxs)("header", { className: "flex min-w-0 items-center gap-md px-base py-md", children: [
6674
+ /* @__PURE__ */ (0, import_jsx_runtime61.jsx)("h2", { id: headingId, className: "shrink-0 text-heading-sm text-ink", children: title }),
6675
+ /* @__PURE__ */ (0, import_jsx_runtime61.jsx)("div", { role: "group", "aria-label": "Filter notifications", className: "flex min-w-0 flex-1 flex-wrap items-center gap-xs", children: FILTERS.map((f) => /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(Chip, { selected: filter === f.value, onSelectedChange: () => onFilterChange?.(f.value), children: /* @__PURE__ */ (0, import_jsx_runtime61.jsxs)("span", { className: "inline-flex items-center gap-xs", children: [
6566
6676
  f.label,
6567
- f.value === "unread" && unreadCount > 0 ? /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(Badge, { size: "sm", tone: "primary", children: unreadCount }) : null
6677
+ f.value === "unread" && unreadCount > 0 ? /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(Badge, { size: "sm", tone: "primary", children: unreadCount }) : null
6568
6678
  ] }) }, f.value)) }),
6569
- /* @__PURE__ */ (0, import_jsx_runtime60.jsxs)("div", { className: "flex shrink-0 items-center gap-xs", children: [
6570
- /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(
6679
+ /* @__PURE__ */ (0, import_jsx_runtime61.jsxs)("div", { className: "flex shrink-0 items-center gap-xs", children: [
6680
+ /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(
6571
6681
  IconButton,
6572
6682
  {
6573
6683
  icon: "check",
@@ -6577,22 +6687,22 @@ var NotificationFeed = React60.forwardRef(
6577
6687
  onClick: onMarkAllRead
6578
6688
  }
6579
6689
  ),
6580
- /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(IconButton, { icon: "ellipsis", variant: "ghost", "aria-label": "More options", onClick: onMoreClick })
6690
+ /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(IconButton, { icon: "ellipsis", variant: "ghost", "aria-label": "More options", onClick: onMoreClick })
6581
6691
  ] })
6582
6692
  ] }),
6583
- visible.length === 0 ? /* @__PURE__ */ (0, import_jsx_runtime60.jsxs)("div", { className: "flex flex-col items-center justify-center gap-xs px-base pb-xl pt-lg text-center", children: [
6584
- /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(Icon, { name: "inbox", size: 36, strokeWidth: 1.5, className: "text-muted-soft" }),
6585
- /* @__PURE__ */ (0, import_jsx_runtime60.jsx)("p", { className: "mt-sm text-heading-sm text-ink", children: emptyTitle }),
6586
- /* @__PURE__ */ (0, import_jsx_runtime60.jsx)("p", { className: "text-body-sm text-muted", children: emptyDescription })
6587
- ] }) : /* @__PURE__ */ (0, import_jsx_runtime60.jsx)("ul", { className: "flex flex-col px-sm pb-sm", "aria-label": "Notifications", children: visible.map((n) => /* @__PURE__ */ (0, import_jsx_runtime60.jsx)("li", { children: /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(
6693
+ visible.length === 0 ? /* @__PURE__ */ (0, import_jsx_runtime61.jsxs)("div", { className: "flex flex-col items-center justify-center gap-xs px-base pb-xl pt-lg text-center", children: [
6694
+ /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(Icon, { name: "inbox", size: 36, strokeWidth: 1.5, className: "text-muted-soft" }),
6695
+ /* @__PURE__ */ (0, import_jsx_runtime61.jsx)("p", { className: "mt-sm text-heading-sm text-ink", children: emptyTitle }),
6696
+ /* @__PURE__ */ (0, import_jsx_runtime61.jsx)("p", { className: "text-body-sm text-muted", children: emptyDescription })
6697
+ ] }) : /* @__PURE__ */ (0, import_jsx_runtime61.jsx)("ul", { className: "flex flex-col px-sm pb-sm", "aria-label": "Notifications", children: visible.map((n) => /* @__PURE__ */ (0, import_jsx_runtime61.jsx)("li", { children: /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(
6588
6698
  ListItem,
6589
6699
  {
6590
6700
  variant: "plain",
6591
6701
  href: n.href,
6592
6702
  onClick: () => onNotificationClick?.(n),
6593
6703
  "aria-label": typeof n.title === "string" ? `${n.unread ? "Unread: " : ""}${n.title}` : void 0,
6594
- leading: /* @__PURE__ */ (0, import_jsx_runtime60.jsxs)("span", { className: "flex shrink-0 items-center gap-sm", children: [
6595
- /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(
6704
+ leading: /* @__PURE__ */ (0, import_jsx_runtime61.jsxs)("span", { className: "flex shrink-0 items-center gap-sm", children: [
6705
+ /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(
6596
6706
  "span",
6597
6707
  {
6598
6708
  "aria-hidden": "true",
@@ -6602,11 +6712,11 @@ var NotificationFeed = React60.forwardRef(
6602
6712
  )
6603
6713
  }
6604
6714
  ),
6605
- /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(Icon, { name: n.icon, size: 18, className: "text-body" })
6715
+ /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(Icon, { name: n.icon, size: 18, className: "text-body" })
6606
6716
  ] }),
6607
6717
  title: n.title,
6608
6718
  meta: n.description,
6609
- trailing: /* @__PURE__ */ (0, import_jsx_runtime60.jsx)("span", { className: "shrink-0 self-start pt-xxs text-body-sm text-muted tabular-nums", children: n.time })
6719
+ trailing: /* @__PURE__ */ (0, import_jsx_runtime61.jsx)("span", { className: "shrink-0 self-start pt-xxs text-body-sm text-muted tabular-nums", children: n.time })
6610
6720
  }
6611
6721
  ) }, n.id)) })
6612
6722
  ]
@@ -6617,14 +6727,14 @@ var NotificationFeed = React60.forwardRef(
6617
6727
  NotificationFeed.displayName = "NotificationFeed";
6618
6728
 
6619
6729
  // virtual-pkg:src/atoms/PricingTable/PricingTable.tsx
6620
- var React64 = __toESM(require("react"));
6730
+ var React65 = __toESM(require("react"));
6621
6731
 
6622
6732
  // virtual-pkg:src/atoms/PricingTableDesktop/PricingTableDesktop.tsx
6623
- var React62 = __toESM(require("react"));
6733
+ var React63 = __toESM(require("react"));
6624
6734
 
6625
6735
  // virtual-pkg:src/atoms/Switch/Switch.tsx
6626
- var React61 = __toESM(require("react"));
6627
- var import_jsx_runtime61 = require("react/jsx-runtime");
6736
+ var React62 = __toESM(require("react"));
6737
+ var import_jsx_runtime62 = require("react/jsx-runtime");
6628
6738
  var TRACK = {
6629
6739
  sm: "h-4 w-7",
6630
6740
  md: "h-5 w-9"
@@ -6637,7 +6747,7 @@ var TRAVEL = {
6637
6747
  sm: "translate-x-3",
6638
6748
  md: "translate-x-4"
6639
6749
  };
6640
- var Switch = React61.forwardRef(
6750
+ var Switch = React62.forwardRef(
6641
6751
  ({
6642
6752
  checked,
6643
6753
  defaultChecked,
@@ -6652,11 +6762,11 @@ var Switch = React61.forwardRef(
6652
6762
  className,
6653
6763
  ...rest
6654
6764
  }, ref) => {
6655
- const autoId = React61.useId();
6765
+ const autoId = React62.useId();
6656
6766
  const inputId = id ?? `switch-${autoId}`;
6657
6767
  const descId = description ? `${inputId}-desc` : void 0;
6658
6768
  const isControlled = checked !== void 0;
6659
- const [inner, setInner] = React61.useState(Boolean(defaultChecked));
6769
+ const [inner, setInner] = React62.useState(Boolean(defaultChecked));
6660
6770
  const on = isControlled ? Boolean(checked) : inner;
6661
6771
  const handleChange = (e) => {
6662
6772
  if (!isControlled) setInner(e.target.checked);
@@ -6664,7 +6774,7 @@ var Switch = React61.forwardRef(
6664
6774
  onChange?.(e);
6665
6775
  };
6666
6776
  const labelled = Boolean(label);
6667
- return /* @__PURE__ */ (0, import_jsx_runtime61.jsxs)(
6777
+ return /* @__PURE__ */ (0, import_jsx_runtime62.jsxs)(
6668
6778
  "label",
6669
6779
  {
6670
6780
  htmlFor: inputId,
@@ -6675,15 +6785,15 @@ var Switch = React61.forwardRef(
6675
6785
  className
6676
6786
  ].filter(Boolean).join(" "),
6677
6787
  children: [
6678
- labelled ? /* @__PURE__ */ (0, import_jsx_runtime61.jsxs)("span", { className: "flex min-w-0 items-start gap-md", children: [
6679
- leading ? /* @__PURE__ */ (0, import_jsx_runtime61.jsx)("span", { className: "mt-xxs inline-flex shrink-0 text-ink", children: leading }) : null,
6680
- /* @__PURE__ */ (0, import_jsx_runtime61.jsxs)("span", { className: "flex min-w-0 flex-col", children: [
6681
- /* @__PURE__ */ (0, import_jsx_runtime61.jsx)("span", { className: "text-body-md text-ink", children: label }),
6682
- description ? /* @__PURE__ */ (0, import_jsx_runtime61.jsx)("span", { id: descId, className: "text-body-sm text-muted", children: description }) : null
6788
+ labelled ? /* @__PURE__ */ (0, import_jsx_runtime62.jsxs)("span", { className: "flex min-w-0 items-start gap-md", children: [
6789
+ leading ? /* @__PURE__ */ (0, import_jsx_runtime62.jsx)("span", { className: "mt-xxs inline-flex shrink-0 text-ink", children: leading }) : null,
6790
+ /* @__PURE__ */ (0, import_jsx_runtime62.jsxs)("span", { className: "flex min-w-0 flex-col", children: [
6791
+ /* @__PURE__ */ (0, import_jsx_runtime62.jsx)("span", { className: "text-body-md text-ink", children: label }),
6792
+ description ? /* @__PURE__ */ (0, import_jsx_runtime62.jsx)("span", { id: descId, className: "text-body-sm text-muted", children: description }) : null
6683
6793
  ] })
6684
6794
  ] }) : null,
6685
- /* @__PURE__ */ (0, import_jsx_runtime61.jsxs)("span", { className: "relative inline-flex shrink-0 items-center", children: [
6686
- /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(
6795
+ /* @__PURE__ */ (0, import_jsx_runtime62.jsxs)("span", { className: "relative inline-flex shrink-0 items-center", children: [
6796
+ /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
6687
6797
  "input",
6688
6798
  {
6689
6799
  ref,
@@ -6699,7 +6809,7 @@ var Switch = React61.forwardRef(
6699
6809
  ...rest
6700
6810
  }
6701
6811
  ),
6702
- /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(
6812
+ /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
6703
6813
  "span",
6704
6814
  {
6705
6815
  "aria-hidden": "true",
@@ -6711,7 +6821,7 @@ var Switch = React61.forwardRef(
6711
6821
  disabled && !labelled ? "opacity-50" : "",
6712
6822
  TRACK[size]
6713
6823
  ].join(" "),
6714
- children: /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(
6824
+ children: /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
6715
6825
  "span",
6716
6826
  {
6717
6827
  className: [
@@ -6732,10 +6842,10 @@ var Switch = React61.forwardRef(
6732
6842
  Switch.displayName = "Switch";
6733
6843
 
6734
6844
  // virtual-pkg:src/atoms/PricingTableDesktop/PricingTableDesktop.tsx
6735
- var import_jsx_runtime62 = require("react/jsx-runtime");
6845
+ var import_jsx_runtime63 = require("react/jsx-runtime");
6736
6846
  var cn47 = (...parts) => parts.filter(Boolean).join(" ");
6737
6847
  function useBilling(billing, defaultBilling, onBillingChange) {
6738
- const [inner, setInner] = React62.useState(defaultBilling);
6848
+ const [inner, setInner] = React63.useState(defaultBilling);
6739
6849
  const value = billing ?? inner;
6740
6850
  const set = (b) => {
6741
6851
  if (billing === void 0) setInner(b);
@@ -6750,7 +6860,7 @@ var BILLING_OPTIONS = [
6750
6860
  function priceOf(tier, billing) {
6751
6861
  return billing === "yearly" ? tier.yearlyPrice ?? tier.monthlyPrice : tier.monthlyPrice;
6752
6862
  }
6753
- var PricingTableDesktop = React62.forwardRef(
6863
+ var PricingTableDesktop = React63.forwardRef(
6754
6864
  ({
6755
6865
  tiers,
6756
6866
  billing,
@@ -6763,7 +6873,7 @@ var PricingTableDesktop = React62.forwardRef(
6763
6873
  ...rest
6764
6874
  }, ref) => {
6765
6875
  const [period, setPeriod] = useBilling(billing, defaultBilling, onBillingChange);
6766
- return /* @__PURE__ */ (0, import_jsx_runtime62.jsxs)(
6876
+ return /* @__PURE__ */ (0, import_jsx_runtime63.jsxs)(
6767
6877
  "section",
6768
6878
  {
6769
6879
  ref,
@@ -6771,7 +6881,7 @@ var PricingTableDesktop = React62.forwardRef(
6771
6881
  className: cn47("flex w-full flex-col items-center gap-lg text-ink", className),
6772
6882
  ...rest,
6773
6883
  children: [
6774
- showBillingToggle ? /* @__PURE__ */ (0, import_jsx_runtime62.jsx)("div", { className: "flex w-full justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
6884
+ showBillingToggle ? /* @__PURE__ */ (0, import_jsx_runtime63.jsx)("div", { className: "flex w-full justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(
6775
6885
  ButtonGroup,
6776
6886
  {
6777
6887
  tone: "primary",
@@ -6782,14 +6892,14 @@ var PricingTableDesktop = React62.forwardRef(
6782
6892
  "aria-label": "Billing period"
6783
6893
  }
6784
6894
  ) }) : null,
6785
- /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
6895
+ /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(
6786
6896
  "ul",
6787
6897
  {
6788
6898
  className: "grid w-full rounded-lg border border-hairline bg-canvas shadow-card",
6789
6899
  style: { gridTemplateColumns: `repeat(${tiers.length}, minmax(0, 1fr))` },
6790
6900
  children: tiers.map((tier, i) => {
6791
6901
  const price = priceOf(tier, period);
6792
- return /* @__PURE__ */ (0, import_jsx_runtime62.jsxs)(
6902
+ return /* @__PURE__ */ (0, import_jsx_runtime63.jsxs)(
6793
6903
  "li",
6794
6904
  {
6795
6905
  className: cn47(
@@ -6798,10 +6908,10 @@ var PricingTableDesktop = React62.forwardRef(
6798
6908
  tier.highlighted && "-m-px rounded-lg border border-primary bg-canvas shadow-md"
6799
6909
  ),
6800
6910
  children: [
6801
- /* @__PURE__ */ (0, import_jsx_runtime62.jsxs)("div", { className: "flex flex-col gap-xxs", children: [
6802
- /* @__PURE__ */ (0, import_jsx_runtime62.jsx)("h3", { className: "text-heading-sm text-ink", children: tier.name }),
6803
- /* @__PURE__ */ (0, import_jsx_runtime62.jsxs)("p", { className: "text-body-md text-body", children: [
6804
- /* @__PURE__ */ (0, import_jsx_runtime62.jsxs)("span", { className: "font-weight-label text-ink", children: [
6911
+ /* @__PURE__ */ (0, import_jsx_runtime63.jsxs)("div", { className: "flex flex-col gap-xxs", children: [
6912
+ /* @__PURE__ */ (0, import_jsx_runtime63.jsx)("h3", { className: "text-heading-sm text-ink", children: tier.name }),
6913
+ /* @__PURE__ */ (0, import_jsx_runtime63.jsxs)("p", { className: "text-body-md text-body", children: [
6914
+ /* @__PURE__ */ (0, import_jsx_runtime63.jsxs)("span", { className: "font-weight-label text-ink", children: [
6805
6915
  currency,
6806
6916
  price
6807
6917
  ] }),
@@ -6809,8 +6919,8 @@ var PricingTableDesktop = React62.forwardRef(
6809
6919
  tier.unit ?? "per user/month"
6810
6920
  ] })
6811
6921
  ] }),
6812
- /* @__PURE__ */ (0, import_jsx_runtime62.jsx)("div", { className: "flex min-h-6 items-center", children: tier.note ? /* @__PURE__ */ (0, import_jsx_runtime62.jsx)("span", { className: "text-body-sm text-muted", children: tier.note }) : /* @__PURE__ */ (0, import_jsx_runtime62.jsxs)("div", { className: "flex items-center gap-sm", children: [
6813
- /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
6922
+ /* @__PURE__ */ (0, import_jsx_runtime63.jsx)("div", { className: "flex min-h-6 items-center", children: tier.note ? /* @__PURE__ */ (0, import_jsx_runtime63.jsx)("span", { className: "text-body-sm text-muted", children: tier.note }) : /* @__PURE__ */ (0, import_jsx_runtime63.jsxs)("div", { className: "flex items-center gap-sm", children: [
6923
+ /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(
6814
6924
  Switch,
6815
6925
  {
6816
6926
  size: "sm",
@@ -6819,9 +6929,9 @@ var PricingTableDesktop = React62.forwardRef(
6819
6929
  onCheckedChange: (c) => setPeriod(c ? "yearly" : "monthly")
6820
6930
  }
6821
6931
  ),
6822
- /* @__PURE__ */ (0, import_jsx_runtime62.jsx)("span", { className: "text-body-sm text-body", children: period === "yearly" ? "Billed yearly" : "Billed monthly" })
6932
+ /* @__PURE__ */ (0, import_jsx_runtime63.jsx)("span", { className: "text-body-sm text-body", children: period === "yearly" ? "Billed yearly" : "Billed monthly" })
6823
6933
  ] }) }),
6824
- tier.current ? /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(Button, { variant: "secondary", fullWidth: true, disabled: true, children: "Current plan" }) : /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
6934
+ tier.current ? /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(Button, { variant: "secondary", fullWidth: true, disabled: true, children: "Current plan" }) : /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(
6825
6935
  Button,
6826
6936
  {
6827
6937
  variant: "primary",
@@ -6845,10 +6955,10 @@ var PricingTableDesktop = React62.forwardRef(
6845
6955
  PricingTableDesktop.displayName = "PricingTableDesktop";
6846
6956
 
6847
6957
  // virtual-pkg:src/atoms/PricingTableMobile/PricingTableMobile.tsx
6848
- var React63 = __toESM(require("react"));
6849
- var import_jsx_runtime63 = require("react/jsx-runtime");
6958
+ var React64 = __toESM(require("react"));
6959
+ var import_jsx_runtime64 = require("react/jsx-runtime");
6850
6960
  var cn48 = (...parts) => parts.filter(Boolean).join(" ");
6851
- var PricingTableMobile = React63.forwardRef(
6961
+ var PricingTableMobile = React64.forwardRef(
6852
6962
  ({
6853
6963
  tiers,
6854
6964
  billing,
@@ -6861,7 +6971,7 @@ var PricingTableMobile = React63.forwardRef(
6861
6971
  ...rest
6862
6972
  }, ref) => {
6863
6973
  const [period, setPeriod] = useBilling(billing, defaultBilling, onBillingChange);
6864
- return /* @__PURE__ */ (0, import_jsx_runtime63.jsxs)(
6974
+ return /* @__PURE__ */ (0, import_jsx_runtime64.jsxs)(
6865
6975
  "section",
6866
6976
  {
6867
6977
  ref,
@@ -6869,7 +6979,7 @@ var PricingTableMobile = React63.forwardRef(
6869
6979
  className: cn48("flex w-full flex-col gap-base text-ink", className),
6870
6980
  ...rest,
6871
6981
  children: [
6872
- showBillingToggle ? /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(
6982
+ showBillingToggle ? /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(
6873
6983
  ButtonGroup,
6874
6984
  {
6875
6985
  tone: "primary",
@@ -6880,7 +6990,7 @@ var PricingTableMobile = React63.forwardRef(
6880
6990
  "aria-label": "Billing period"
6881
6991
  }
6882
6992
  ) : null,
6883
- /* @__PURE__ */ (0, import_jsx_runtime63.jsx)("ul", { className: "flex w-full flex-col gap-md", children: tiers.map((tier) => /* @__PURE__ */ (0, import_jsx_runtime63.jsxs)(
6993
+ /* @__PURE__ */ (0, import_jsx_runtime64.jsx)("ul", { className: "flex w-full flex-col gap-md", children: tiers.map((tier) => /* @__PURE__ */ (0, import_jsx_runtime64.jsxs)(
6884
6994
  "li",
6885
6995
  {
6886
6996
  className: cn48(
@@ -6888,10 +6998,10 @@ var PricingTableMobile = React63.forwardRef(
6888
6998
  tier.highlighted ? "border-primary" : "border-hairline"
6889
6999
  ),
6890
7000
  children: [
6891
- /* @__PURE__ */ (0, import_jsx_runtime63.jsxs)("div", { className: "flex flex-col gap-xxs", children: [
6892
- /* @__PURE__ */ (0, import_jsx_runtime63.jsx)("h3", { className: "text-heading-sm text-ink", children: tier.name }),
6893
- /* @__PURE__ */ (0, import_jsx_runtime63.jsxs)("p", { className: "text-body-md text-body", children: [
6894
- /* @__PURE__ */ (0, import_jsx_runtime63.jsxs)("span", { className: "font-weight-label text-ink", children: [
7001
+ /* @__PURE__ */ (0, import_jsx_runtime64.jsxs)("div", { className: "flex flex-col gap-xxs", children: [
7002
+ /* @__PURE__ */ (0, import_jsx_runtime64.jsx)("h3", { className: "text-heading-sm text-ink", children: tier.name }),
7003
+ /* @__PURE__ */ (0, import_jsx_runtime64.jsxs)("p", { className: "text-body-md text-body", children: [
7004
+ /* @__PURE__ */ (0, import_jsx_runtime64.jsxs)("span", { className: "font-weight-label text-ink", children: [
6895
7005
  currency,
6896
7006
  priceOf(tier, period)
6897
7007
  ] }),
@@ -6899,8 +7009,8 @@ var PricingTableMobile = React63.forwardRef(
6899
7009
  tier.unit ?? "per user/month"
6900
7010
  ] })
6901
7011
  ] }),
6902
- tier.note ? /* @__PURE__ */ (0, import_jsx_runtime63.jsx)("span", { className: "text-body-sm text-muted", children: tier.note }) : /* @__PURE__ */ (0, import_jsx_runtime63.jsxs)("div", { className: "flex items-center gap-sm", children: [
6903
- /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(
7012
+ tier.note ? /* @__PURE__ */ (0, import_jsx_runtime64.jsx)("span", { className: "text-body-sm text-muted", children: tier.note }) : /* @__PURE__ */ (0, import_jsx_runtime64.jsxs)("div", { className: "flex items-center gap-sm", children: [
7013
+ /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(
6904
7014
  Switch,
6905
7015
  {
6906
7016
  size: "sm",
@@ -6909,9 +7019,9 @@ var PricingTableMobile = React63.forwardRef(
6909
7019
  onCheckedChange: (c) => setPeriod(c ? "yearly" : "monthly")
6910
7020
  }
6911
7021
  ),
6912
- /* @__PURE__ */ (0, import_jsx_runtime63.jsx)("span", { className: "text-body-sm text-body", children: period === "yearly" ? "Billed yearly" : "Billed monthly" })
7022
+ /* @__PURE__ */ (0, import_jsx_runtime64.jsx)("span", { className: "text-body-sm text-body", children: period === "yearly" ? "Billed yearly" : "Billed monthly" })
6913
7023
  ] }),
6914
- tier.current ? /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(Button, { variant: "secondary", size: "lg", fullWidth: true, disabled: true, children: "Current plan" }) : /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(
7024
+ tier.current ? /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(Button, { variant: "secondary", size: "lg", fullWidth: true, disabled: true, children: "Current plan" }) : /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(
6915
7025
  Button,
6916
7026
  {
6917
7027
  variant: "primary",
@@ -6933,12 +7043,12 @@ var PricingTableMobile = React63.forwardRef(
6933
7043
  PricingTableMobile.displayName = "PricingTableMobile";
6934
7044
 
6935
7045
  // virtual-pkg:src/atoms/PricingTable/PricingTable.tsx
6936
- var import_jsx_runtime64 = require("react/jsx-runtime");
6937
- var PricingTable = React64.forwardRef(
7046
+ var import_jsx_runtime65 = require("react/jsx-runtime");
7047
+ var PricingTable = React65.forwardRef(
6938
7048
  ({ billing, defaultBilling = "monthly", onBillingChange, showBillingToggle = true, className, ...props }, ref) => {
6939
7049
  const [period, setPeriod] = useBilling(billing, defaultBilling, onBillingChange);
6940
- return /* @__PURE__ */ (0, import_jsx_runtime64.jsxs)("div", { ref, className: ["w-full", className].filter(Boolean).join(" "), children: [
6941
- /* @__PURE__ */ (0, import_jsx_runtime64.jsx)("div", { className: "hidden md:block", children: /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(
7050
+ return /* @__PURE__ */ (0, import_jsx_runtime65.jsxs)("div", { ref, className: ["w-full", className].filter(Boolean).join(" "), children: [
7051
+ /* @__PURE__ */ (0, import_jsx_runtime65.jsx)("div", { className: "hidden md:block", children: /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
6942
7052
  PricingTableDesktop,
6943
7053
  {
6944
7054
  ...props,
@@ -6947,7 +7057,7 @@ var PricingTable = React64.forwardRef(
6947
7057
  showBillingToggle
6948
7058
  }
6949
7059
  ) }),
6950
- /* @__PURE__ */ (0, import_jsx_runtime64.jsx)("div", { className: "md:hidden", children: /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(
7060
+ /* @__PURE__ */ (0, import_jsx_runtime65.jsx)("div", { className: "md:hidden", children: /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
6951
7061
  PricingTableMobile,
6952
7062
  {
6953
7063
  ...props,
@@ -6962,14 +7072,14 @@ var PricingTable = React64.forwardRef(
6962
7072
  PricingTable.displayName = "PricingTable";
6963
7073
 
6964
7074
  // virtual-pkg:src/atoms/ProductCardGrid/ProductCardGrid.tsx
6965
- var React65 = __toESM(require("react"));
6966
- var import_jsx_runtime65 = require("react/jsx-runtime");
7075
+ var React66 = __toESM(require("react"));
7076
+ var import_jsx_runtime66 = require("react/jsx-runtime");
6967
7077
  var COLS = {
6968
7078
  2: "grid-cols-1 sm:grid-cols-2",
6969
7079
  3: "grid-cols-1 sm:grid-cols-2 md:grid-cols-3",
6970
7080
  4: "grid-cols-2 md:grid-cols-4"
6971
7081
  };
6972
- var ProductCardGrid = React65.forwardRef(
7082
+ var ProductCardGrid = React66.forwardRef(
6973
7083
  ({
6974
7084
  items,
6975
7085
  columns = 3,
@@ -6981,19 +7091,19 @@ var ProductCardGrid = React65.forwardRef(
6981
7091
  label = "Products",
6982
7092
  className,
6983
7093
  ...rest
6984
- }, ref) => /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
7094
+ }, ref) => /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(
6985
7095
  "section",
6986
7096
  {
6987
7097
  ref,
6988
7098
  "aria-label": label,
6989
7099
  className: ["w-full", className].filter(Boolean).join(" "),
6990
7100
  ...rest,
6991
- children: items.length === 0 ? /* @__PURE__ */ (0, import_jsx_runtime65.jsxs)("div", { className: "flex w-full flex-col items-center justify-center gap-xs rounded-lg border border-dashed border-hairline-strong bg-canvas px-lg py-xl text-center", children: [
6992
- /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(Icon, { name: emptyIcon, size: 24, className: "text-muted" }),
6993
- /* @__PURE__ */ (0, import_jsx_runtime65.jsx)("h3", { className: "mt-xs text-heading-sm text-ink", children: emptyTitle }),
6994
- emptyDescription ? /* @__PURE__ */ (0, import_jsx_runtime65.jsx)("p", { className: "text-body-md text-muted", children: emptyDescription }) : null,
6995
- onEmptyAction ? /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(Button, { variant: "primary", className: "mt-sm", onClick: onEmptyAction, children: emptyActionLabel }) : null
6996
- ] }) : /* @__PURE__ */ (0, import_jsx_runtime65.jsx)("ul", { className: ["grid gap-gutter", COLS[columns]].join(" "), children: items.map((item) => /* @__PURE__ */ (0, import_jsx_runtime65.jsx)("li", { className: "flex min-w-0", children: /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
7101
+ children: items.length === 0 ? /* @__PURE__ */ (0, import_jsx_runtime66.jsxs)("div", { className: "flex w-full flex-col items-center justify-center gap-xs rounded-lg border border-dashed border-hairline-strong bg-canvas px-lg py-xl text-center", children: [
7102
+ /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(Icon, { name: emptyIcon, size: 24, className: "text-muted" }),
7103
+ /* @__PURE__ */ (0, import_jsx_runtime66.jsx)("h3", { className: "mt-xs text-heading-sm text-ink", children: emptyTitle }),
7104
+ emptyDescription ? /* @__PURE__ */ (0, import_jsx_runtime66.jsx)("p", { className: "text-body-md text-muted", children: emptyDescription }) : null,
7105
+ onEmptyAction ? /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(Button, { variant: "primary", className: "mt-sm", onClick: onEmptyAction, children: emptyActionLabel }) : null
7106
+ ] }) : /* @__PURE__ */ (0, import_jsx_runtime66.jsx)("ul", { className: ["grid gap-gutter", COLS[columns]].join(" "), children: items.map((item) => /* @__PURE__ */ (0, import_jsx_runtime66.jsx)("li", { className: "flex min-w-0", children: /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(
6997
7107
  Card,
6998
7108
  {
6999
7109
  layout: "tile",
@@ -7002,7 +7112,7 @@ var ProductCardGrid = React65.forwardRef(
7002
7112
  icon: item.icon ?? "box",
7003
7113
  href: item.href,
7004
7114
  linkLabel: `Open ${item.title}`,
7005
- badge: item.badge ? /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(Badge, { tone: "primary", size: "md", children: item.badge }) : void 0
7115
+ badge: item.badge ? /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(Badge, { tone: "primary", size: "md", children: item.badge }) : void 0
7006
7116
  }
7007
7117
  ) }, item.id)) })
7008
7118
  }
@@ -7011,14 +7121,14 @@ var ProductCardGrid = React65.forwardRef(
7011
7121
  ProductCardGrid.displayName = "ProductCardGrid";
7012
7122
 
7013
7123
  // virtual-pkg:src/atoms/Radio/Radio.tsx
7014
- var React66 = __toESM(require("react"));
7015
- var import_jsx_runtime66 = require("react/jsx-runtime");
7124
+ var React67 = __toESM(require("react"));
7125
+ var import_jsx_runtime67 = require("react/jsx-runtime");
7016
7126
  var cn49 = (...parts) => parts.filter(Boolean).join(" ");
7017
7127
  var RING = { sm: "h-3.5 w-3.5", md: "h-4 w-4" };
7018
7128
  var DOT2 = { sm: "h-1.5 w-1.5", md: "h-2 w-2" };
7019
7129
  var SWATCH = { sm: "h-5 w-5", md: "h-6 w-6" };
7020
7130
  var TEXT2 = { sm: "text-body-sm", md: "text-body-md" };
7021
- var Radio = React66.forwardRef(
7131
+ var Radio = React67.forwardRef(
7022
7132
  ({
7023
7133
  checked,
7024
7134
  defaultChecked,
@@ -7036,18 +7146,18 @@ var Radio = React66.forwardRef(
7036
7146
  "aria-label": ariaLabel,
7037
7147
  ...rest
7038
7148
  }, ref) => {
7039
- const autoId = React66.useId();
7149
+ const autoId = React67.useId();
7040
7150
  const inputId = id ?? `radio-${autoId}`;
7041
7151
  const descId = description ? `${inputId}-desc` : void 0;
7042
7152
  const isControlled = checked !== void 0;
7043
- const [inner, setInner] = React66.useState(Boolean(defaultChecked));
7153
+ const [inner, setInner] = React67.useState(Boolean(defaultChecked));
7044
7154
  const on = isControlled ? Boolean(checked) : inner;
7045
7155
  const handleChange = (e) => {
7046
7156
  if (!isControlled) setInner(e.target.checked);
7047
7157
  if (e.target.checked) onValueChange?.(String(value ?? ""));
7048
7158
  onChange?.(e);
7049
7159
  };
7050
- const input = /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(
7160
+ const input = /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(
7051
7161
  "input",
7052
7162
  {
7053
7163
  ref,
@@ -7064,9 +7174,9 @@ var Radio = React66.forwardRef(
7064
7174
  ...rest
7065
7175
  }
7066
7176
  );
7067
- const control = swatch ? /* @__PURE__ */ (0, import_jsx_runtime66.jsxs)("span", { className: cn49("relative inline-flex", SWATCH[size]), children: [
7177
+ const control = swatch ? /* @__PURE__ */ (0, import_jsx_runtime67.jsxs)("span", { className: cn49("relative inline-flex", SWATCH[size]), children: [
7068
7178
  input,
7069
- /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(
7179
+ /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(
7070
7180
  "span",
7071
7181
  {
7072
7182
  "aria-hidden": "true",
@@ -7078,9 +7188,9 @@ var Radio = React66.forwardRef(
7078
7188
  )
7079
7189
  }
7080
7190
  )
7081
- ] }) : /* @__PURE__ */ (0, import_jsx_runtime66.jsxs)("span", { className: cn49("relative inline-flex", RING[size]), children: [
7191
+ ] }) : /* @__PURE__ */ (0, import_jsx_runtime67.jsxs)("span", { className: cn49("relative inline-flex", RING[size]), children: [
7082
7192
  input,
7083
- /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(
7193
+ /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(
7084
7194
  "span",
7085
7195
  {
7086
7196
  "aria-hidden": "true",
@@ -7090,7 +7200,7 @@ var Radio = React66.forwardRef(
7090
7200
  on ? "border-primary" : invalid ? "border-semantic-error" : "border-hairline-strong group-hover:border-muted-soft",
7091
7201
  disabled && !on && "bg-surface-soft border-hairline shadow-none"
7092
7202
  ),
7093
- children: /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(
7203
+ children: /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(
7094
7204
  "span",
7095
7205
  {
7096
7206
  className: cn49(
@@ -7103,7 +7213,7 @@ var Radio = React66.forwardRef(
7103
7213
  }
7104
7214
  )
7105
7215
  ] });
7106
- return /* @__PURE__ */ (0, import_jsx_runtime66.jsxs)(
7216
+ return /* @__PURE__ */ (0, import_jsx_runtime67.jsxs)(
7107
7217
  "label",
7108
7218
  {
7109
7219
  htmlFor: inputId,
@@ -7113,7 +7223,7 @@ var Radio = React66.forwardRef(
7113
7223
  className
7114
7224
  ),
7115
7225
  children: [
7116
- /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(
7226
+ /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(
7117
7227
  "span",
7118
7228
  {
7119
7229
  className: cn49(
@@ -7124,9 +7234,9 @@ var Radio = React66.forwardRef(
7124
7234
  children: control
7125
7235
  }
7126
7236
  ),
7127
- (label || description) && /* @__PURE__ */ (0, import_jsx_runtime66.jsxs)("span", { className: "flex min-w-0 flex-col gap-xxs", children: [
7128
- label && /* @__PURE__ */ (0, import_jsx_runtime66.jsx)("span", { className: TEXT2[size], children: label }),
7129
- description && /* @__PURE__ */ (0, import_jsx_runtime66.jsx)("span", { id: descId, className: "text-body-sm text-muted", children: description })
7237
+ (label || description) && /* @__PURE__ */ (0, import_jsx_runtime67.jsxs)("span", { className: "flex min-w-0 flex-col gap-xxs", children: [
7238
+ label && /* @__PURE__ */ (0, import_jsx_runtime67.jsx)("span", { className: TEXT2[size], children: label }),
7239
+ description && /* @__PURE__ */ (0, import_jsx_runtime67.jsx)("span", { id: descId, className: "text-body-sm text-muted", children: description })
7130
7240
  ] })
7131
7241
  ]
7132
7242
  }
@@ -7136,20 +7246,20 @@ var Radio = React66.forwardRef(
7136
7246
  Radio.displayName = "Radio";
7137
7247
 
7138
7248
  // virtual-pkg:src/atoms/Rating/Rating.tsx
7139
- var React67 = __toESM(require("react"));
7140
- var import_jsx_runtime67 = require("react/jsx-runtime");
7249
+ var React68 = __toESM(require("react"));
7250
+ var import_jsx_runtime68 = require("react/jsx-runtime");
7141
7251
  var cn50 = (...parts) => parts.filter(Boolean).join(" ");
7142
7252
  var starPx = { sm: 14, md: 18 };
7143
7253
  function Star({ fill, px }) {
7144
7254
  const pct = Math.max(0, Math.min(1, fill)) * 100;
7145
- return /* @__PURE__ */ (0, import_jsx_runtime67.jsxs)(
7255
+ return /* @__PURE__ */ (0, import_jsx_runtime68.jsxs)(
7146
7256
  "span",
7147
7257
  {
7148
7258
  className: "relative inline-flex shrink-0",
7149
7259
  style: { width: px, height: px },
7150
7260
  "aria-hidden": "true",
7151
7261
  children: [
7152
- /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(
7262
+ /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(
7153
7263
  Icon,
7154
7264
  {
7155
7265
  name: "star",
@@ -7159,12 +7269,12 @@ function Star({ fill, px }) {
7159
7269
  className: "text-hairline-strong"
7160
7270
  }
7161
7271
  ),
7162
- /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(
7272
+ /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(
7163
7273
  "span",
7164
7274
  {
7165
7275
  className: "absolute inset-y-0 left-0 overflow-hidden transition-[width] duration-200 ease-out",
7166
7276
  style: { width: `${pct}%` },
7167
- children: /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(
7277
+ children: /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(
7168
7278
  Icon,
7169
7279
  {
7170
7280
  name: "star",
@@ -7180,7 +7290,7 @@ function Star({ fill, px }) {
7180
7290
  }
7181
7291
  );
7182
7292
  }
7183
- var Rating = React67.forwardRef(
7293
+ var Rating = React68.forwardRef(
7184
7294
  ({
7185
7295
  value,
7186
7296
  defaultValue = 0,
@@ -7195,8 +7305,8 @@ var Rating = React67.forwardRef(
7195
7305
  className,
7196
7306
  ...rest
7197
7307
  }, ref) => {
7198
- const [inner, setInner] = React67.useState(defaultValue);
7199
- const [hover, setHover] = React67.useState(null);
7308
+ const [inner, setInner] = React68.useState(defaultValue);
7309
+ const [hover, setHover] = React68.useState(null);
7200
7310
  const current = value ?? inner;
7201
7311
  const shown = hover ?? current;
7202
7312
  const px = starPx[size];
@@ -7206,29 +7316,29 @@ var Rating = React67.forwardRef(
7206
7316
  onChange?.(next);
7207
7317
  };
7208
7318
  const stars = Array.from({ length: max }, (_, i) => i + 1);
7209
- return /* @__PURE__ */ (0, import_jsx_runtime67.jsxs)(
7319
+ return /* @__PURE__ */ (0, import_jsx_runtime68.jsxs)(
7210
7320
  "div",
7211
7321
  {
7212
7322
  ref,
7213
7323
  className: cn50("inline-flex items-center gap-sm", className),
7214
7324
  ...rest,
7215
7325
  children: [
7216
- readOnly ? /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(
7326
+ readOnly ? /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(
7217
7327
  "span",
7218
7328
  {
7219
7329
  role: "img",
7220
7330
  "aria-label": `${label}: ${current.toFixed(2)} out of ${max}`,
7221
7331
  className: "inline-flex items-center gap-xs",
7222
- children: stars.map((n) => /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(Star, { fill: current - (n - 1), px }, n))
7332
+ children: stars.map((n) => /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(Star, { fill: current - (n - 1), px }, n))
7223
7333
  }
7224
- ) : /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(
7334
+ ) : /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(
7225
7335
  "div",
7226
7336
  {
7227
7337
  role: "radiogroup",
7228
7338
  "aria-label": label,
7229
7339
  className: "inline-flex items-center",
7230
7340
  onMouseLeave: () => setHover(null),
7231
- children: stars.map((n) => /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(
7341
+ children: stars.map((n) => /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(
7232
7342
  Button,
7233
7343
  {
7234
7344
  variant: "ghost",
@@ -7242,15 +7352,15 @@ var Rating = React67.forwardRef(
7242
7352
  onFocus: () => setHover(n),
7243
7353
  onBlur: () => setHover(null),
7244
7354
  onClick: () => pick(n),
7245
- children: /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(Star, { fill: shown >= n ? 1 : 0, px })
7355
+ children: /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(Star, { fill: shown >= n ? 1 : 0, px })
7246
7356
  },
7247
7357
  n
7248
7358
  ))
7249
7359
  }
7250
7360
  ),
7251
- showValue && /* @__PURE__ */ (0, import_jsx_runtime67.jsxs)("span", { className: "inline-flex items-baseline gap-xs text-body-md", children: [
7252
- /* @__PURE__ */ (0, import_jsx_runtime67.jsx)("span", { className: "text-ink", children: current.toFixed(2) }),
7253
- count !== void 0 && /* @__PURE__ */ (0, import_jsx_runtime67.jsxs)("span", { className: "text-muted", children: [
7361
+ showValue && /* @__PURE__ */ (0, import_jsx_runtime68.jsxs)("span", { className: "inline-flex items-baseline gap-xs text-body-md", children: [
7362
+ /* @__PURE__ */ (0, import_jsx_runtime68.jsx)("span", { className: "text-ink", children: current.toFixed(2) }),
7363
+ count !== void 0 && /* @__PURE__ */ (0, import_jsx_runtime68.jsxs)("span", { className: "text-muted", children: [
7254
7364
  "(",
7255
7365
  count,
7256
7366
  ")"
@@ -7264,10 +7374,10 @@ var Rating = React67.forwardRef(
7264
7374
  Rating.displayName = "Rating";
7265
7375
 
7266
7376
  // virtual-pkg:src/atoms/SearchBar/SearchBar.tsx
7267
- var React68 = __toESM(require("react"));
7268
- var import_jsx_runtime68 = require("react/jsx-runtime");
7377
+ var React69 = __toESM(require("react"));
7378
+ var import_jsx_runtime69 = require("react/jsx-runtime");
7269
7379
  var cn51 = (...parts) => parts.filter(Boolean).join(" ");
7270
- var SearchBar = React68.forwardRef(
7380
+ var SearchBar = React69.forwardRef(
7271
7381
  ({
7272
7382
  value,
7273
7383
  defaultValue = "",
@@ -7285,14 +7395,14 @@ var SearchBar = React68.forwardRef(
7285
7395
  "aria-label": ariaLabel = "Search",
7286
7396
  ...inputProps
7287
7397
  }, ref) => {
7288
- const [inner, setInner] = React68.useState(defaultValue);
7398
+ const [inner, setInner] = React69.useState(defaultValue);
7289
7399
  const query = value ?? inner;
7290
7400
  const setQuery = (next) => {
7291
7401
  if (value === void 0) setInner(next);
7292
7402
  onValueChange?.(next);
7293
7403
  };
7294
7404
  const showHint = typeof resultCount === "number" && query.length > 0;
7295
- return /* @__PURE__ */ (0, import_jsx_runtime68.jsxs)(
7405
+ return /* @__PURE__ */ (0, import_jsx_runtime69.jsxs)(
7296
7406
  "form",
7297
7407
  {
7298
7408
  role: "search",
@@ -7302,7 +7412,7 @@ var SearchBar = React68.forwardRef(
7302
7412
  onSearch?.(query);
7303
7413
  },
7304
7414
  children: [
7305
- /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(
7415
+ /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(
7306
7416
  Input,
7307
7417
  {
7308
7418
  ref,
@@ -7319,13 +7429,13 @@ var SearchBar = React68.forwardRef(
7319
7429
  setQuery("");
7320
7430
  }
7321
7431
  },
7322
- leading: /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(Icon, { name: "search", size: 16 }),
7323
- trailing: clearable ? /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(
7432
+ leading: /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(Icon, { name: "search", size: 16 }),
7433
+ trailing: clearable ? /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(
7324
7434
  "span",
7325
7435
  {
7326
7436
  "data-state": query ? "open" : "closed",
7327
7437
  className: "inline-flex transition duration-150 ease-out data-[state=open]:opacity-100 data-[state=closed]:pointer-events-none data-[state=closed]:opacity-0",
7328
- children: /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(
7438
+ children: /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(
7329
7439
  IconButton,
7330
7440
  {
7331
7441
  type: "button",
@@ -7342,13 +7452,13 @@ var SearchBar = React68.forwardRef(
7342
7452
  }
7343
7453
  )
7344
7454
  }
7345
- ) : /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(
7455
+ ) : /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(
7346
7456
  "span",
7347
7457
  {
7348
7458
  "data-state": showHint ? "open" : "closed",
7349
7459
  "aria-live": "polite",
7350
7460
  className: "transition duration-150 ease-out data-[state=open]:opacity-100 data-[state=closed]:pointer-events-none data-[state=closed]:opacity-0",
7351
- children: typeof resultCount === "number" ? /* @__PURE__ */ (0, import_jsx_runtime68.jsxs)(Badge, { tone: "neutral", size: "sm", children: [
7461
+ children: typeof resultCount === "number" ? /* @__PURE__ */ (0, import_jsx_runtime69.jsxs)(Badge, { tone: "neutral", size: "sm", children: [
7352
7462
  resultCount,
7353
7463
  " ",
7354
7464
  resultCount === 1 ? "result" : "results"
@@ -7359,7 +7469,7 @@ var SearchBar = React68.forwardRef(
7359
7469
  ...inputProps
7360
7470
  }
7361
7471
  ),
7362
- actionLabel ? /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(Button, { type: "button", variant: "secondary", size, disabled, onClick: onAction, children: actionLabel }) : null
7472
+ actionLabel ? /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(Button, { type: "button", variant: "secondary", size, disabled, onClick: onAction, children: actionLabel }) : null
7363
7473
  ]
7364
7474
  }
7365
7475
  );
@@ -7368,16 +7478,16 @@ var SearchBar = React68.forwardRef(
7368
7478
  SearchBar.displayName = "SearchBar";
7369
7479
 
7370
7480
  // virtual-pkg:src/atoms/SearchResultsList/SearchResultsList.tsx
7371
- var React71 = __toESM(require("react"));
7481
+ var React72 = __toESM(require("react"));
7372
7482
 
7373
7483
  // virtual-pkg:src/atoms/Skeleton/Skeleton.tsx
7374
7484
  var import_react4 = __toESM(require("react"));
7375
- var import_jsx_runtime69 = require("react/jsx-runtime");
7485
+ var import_jsx_runtime70 = require("react/jsx-runtime");
7376
7486
  function cn52(...parts) {
7377
7487
  return parts.filter(Boolean).join(" ");
7378
7488
  }
7379
7489
  function Bone({ className, animated }) {
7380
- return /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(
7490
+ return /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(
7381
7491
  "span",
7382
7492
  {
7383
7493
  "aria-hidden": "true",
@@ -7388,9 +7498,9 @@ function Bone({ className, animated }) {
7388
7498
  var Skeleton = import_react4.default.forwardRef(
7389
7499
  ({ variant = "block", lines = 3, animated = true, label = "Loading", className, ...rest }, ref) => {
7390
7500
  const a11y = { role: "status", "aria-live": "polite", "aria-busy": true };
7391
- const sr = /* @__PURE__ */ (0, import_jsx_runtime69.jsx)("span", { className: "sr-only", children: label });
7501
+ const sr = /* @__PURE__ */ (0, import_jsx_runtime70.jsx)("span", { className: "sr-only", children: label });
7392
7502
  if (variant === "card") {
7393
- return /* @__PURE__ */ (0, import_jsx_runtime69.jsxs)(
7503
+ return /* @__PURE__ */ (0, import_jsx_runtime70.jsxs)(
7394
7504
  "div",
7395
7505
  {
7396
7506
  ref,
@@ -7401,10 +7511,10 @@ var Skeleton = import_react4.default.forwardRef(
7401
7511
  ),
7402
7512
  ...rest,
7403
7513
  children: [
7404
- /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(Bone, { animated, className: "size-14 shrink-0 rounded-md" }),
7405
- /* @__PURE__ */ (0, import_jsx_runtime69.jsxs)("div", { className: "flex min-w-0 flex-1 flex-col gap-sm", children: [
7406
- /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(Bone, { animated, className: "h-3 w-full rounded-xs" }),
7407
- /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(Bone, { animated, className: "h-3 w-1/2 rounded-xs" })
7514
+ /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(Bone, { animated, className: "size-14 shrink-0 rounded-md" }),
7515
+ /* @__PURE__ */ (0, import_jsx_runtime70.jsxs)("div", { className: "flex min-w-0 flex-1 flex-col gap-sm", children: [
7516
+ /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(Bone, { animated, className: "h-3 w-full rounded-xs" }),
7517
+ /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(Bone, { animated, className: "h-3 w-1/2 rounded-xs" })
7408
7518
  ] }),
7409
7519
  sr
7410
7520
  ]
@@ -7412,19 +7522,19 @@ var Skeleton = import_react4.default.forwardRef(
7412
7522
  );
7413
7523
  }
7414
7524
  if (variant === "list-row") {
7415
- return /* @__PURE__ */ (0, import_jsx_runtime69.jsxs)("div", { ref, ...a11y, className: cn52("flex w-full items-center gap-md py-xs", className), ...rest, children: [
7416
- /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(Bone, { animated, className: "size-8 shrink-0 rounded-sm" }),
7417
- /* @__PURE__ */ (0, import_jsx_runtime69.jsxs)("div", { className: "flex min-w-0 flex-1 flex-col gap-sm", children: [
7418
- /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(Bone, { animated, className: "h-2.5 w-full rounded-xs" }),
7419
- /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(Bone, { animated, className: "h-2.5 w-3/5 rounded-xs" })
7525
+ return /* @__PURE__ */ (0, import_jsx_runtime70.jsxs)("div", { ref, ...a11y, className: cn52("flex w-full items-center gap-md py-xs", className), ...rest, children: [
7526
+ /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(Bone, { animated, className: "size-8 shrink-0 rounded-sm" }),
7527
+ /* @__PURE__ */ (0, import_jsx_runtime70.jsxs)("div", { className: "flex min-w-0 flex-1 flex-col gap-sm", children: [
7528
+ /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(Bone, { animated, className: "h-2.5 w-full rounded-xs" }),
7529
+ /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(Bone, { animated, className: "h-2.5 w-3/5 rounded-xs" })
7420
7530
  ] }),
7421
7531
  sr
7422
7532
  ] });
7423
7533
  }
7424
7534
  if (variant === "paragraph") {
7425
7535
  const count = Math.max(1, lines);
7426
- return /* @__PURE__ */ (0, import_jsx_runtime69.jsxs)("div", { ref, ...a11y, className: cn52("flex w-full flex-col gap-sm", className), ...rest, children: [
7427
- Array.from({ length: count }).map((_, i) => /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(
7536
+ return /* @__PURE__ */ (0, import_jsx_runtime70.jsxs)("div", { ref, ...a11y, className: cn52("flex w-full flex-col gap-sm", className), ...rest, children: [
7537
+ Array.from({ length: count }).map((_, i) => /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(
7428
7538
  Bone,
7429
7539
  {
7430
7540
  animated,
@@ -7437,7 +7547,7 @@ var Skeleton = import_react4.default.forwardRef(
7437
7547
  }
7438
7548
  const has = (prefix) => Boolean(className && prefix.test(className));
7439
7549
  const shape = variant === "circle" ? cn52(!has(/(^|\s)size-/) && "size-8", "rounded-full") : variant === "text" ? cn52(!has(/(^|\s)h-/) && "h-2.5", !has(/(^|\s)w-/) && "w-full", "rounded-xs") : cn52(!has(/(^|\s)h-/) && "h-16", !has(/(^|\s)w-/) && "w-full", "rounded-md");
7440
- return /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(
7550
+ return /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(
7441
7551
  "div",
7442
7552
  {
7443
7553
  ref,
@@ -7452,8 +7562,8 @@ var Skeleton = import_react4.default.forwardRef(
7452
7562
  Skeleton.displayName = "Skeleton";
7453
7563
 
7454
7564
  // virtual-pkg:src/atoms/Spinner/Spinner.tsx
7455
- var React70 = __toESM(require("react"));
7456
- var import_jsx_runtime70 = require("react/jsx-runtime");
7565
+ var React71 = __toESM(require("react"));
7566
+ var import_jsx_runtime71 = require("react/jsx-runtime");
7457
7567
  var RING2 = {
7458
7568
  sm: "h-4 w-4 border-2",
7459
7569
  md: "h-6 w-6 border-2",
@@ -7470,7 +7580,7 @@ var TEXT3 = {
7470
7580
  md: "text-body-md",
7471
7581
  lg: "text-body-md"
7472
7582
  };
7473
- var Spinner = React70.forwardRef(
7583
+ var Spinner = React71.forwardRef(
7474
7584
  ({
7475
7585
  variant = "ring",
7476
7586
  size = "md",
@@ -7483,14 +7593,14 @@ var Spinner = React70.forwardRef(
7483
7593
  }, ref) => {
7484
7594
  const ringTone = tone === "primary" ? "border-primary-soft border-t-primary border-r-primary" : "border-current/20 border-t-current border-r-current";
7485
7595
  const dotTone = tone === "primary" ? "bg-primary" : "bg-current";
7486
- const indicator = variant === "dots" ? /* @__PURE__ */ (0, import_jsx_runtime70.jsx)("span", { "aria-hidden": "true", className: ["inline-flex items-center", DOT_GAP[size]].join(" "), children: [0, 1, 2].map((i) => /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(
7596
+ const indicator = variant === "dots" ? /* @__PURE__ */ (0, import_jsx_runtime71.jsx)("span", { "aria-hidden": "true", className: ["inline-flex items-center", DOT_GAP[size]].join(" "), children: [0, 1, 2].map((i) => /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(
7487
7597
  "span",
7488
7598
  {
7489
7599
  className: ["block rounded-full animate-pulse", DOT3[size], dotTone].join(" "),
7490
7600
  style: { animationDelay: `${i * 160}ms`, animationDuration: "1s" }
7491
7601
  },
7492
7602
  i
7493
- )) }) : /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(
7603
+ )) }) : /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(
7494
7604
  "span",
7495
7605
  {
7496
7606
  "aria-hidden": "true",
@@ -7498,7 +7608,7 @@ var Spinner = React70.forwardRef(
7498
7608
  style: { animationDuration: "800ms" }
7499
7609
  }
7500
7610
  );
7501
- return /* @__PURE__ */ (0, import_jsx_runtime70.jsxs)(
7611
+ return /* @__PURE__ */ (0, import_jsx_runtime71.jsxs)(
7502
7612
  "span",
7503
7613
  {
7504
7614
  ref,
@@ -7513,7 +7623,7 @@ var Spinner = React70.forwardRef(
7513
7623
  ...rest,
7514
7624
  children: [
7515
7625
  indicator,
7516
- label ? /* @__PURE__ */ (0, import_jsx_runtime70.jsx)("span", { className: [TEXT3[size], "text-ink"].join(" "), children: label }) : null
7626
+ label ? /* @__PURE__ */ (0, import_jsx_runtime71.jsx)("span", { className: [TEXT3[size], "text-ink"].join(" "), children: label }) : null
7517
7627
  ]
7518
7628
  }
7519
7629
  );
@@ -7522,7 +7632,7 @@ var Spinner = React70.forwardRef(
7522
7632
  Spinner.displayName = "Spinner";
7523
7633
 
7524
7634
  // virtual-pkg:src/atoms/SearchResultsList/SearchResultsList.tsx
7525
- var import_jsx_runtime71 = require("react/jsx-runtime");
7635
+ var import_jsx_runtime72 = require("react/jsx-runtime");
7526
7636
  var DEFAULT_SCOPES = [
7527
7637
  { value: "all", label: "All" },
7528
7638
  { value: "issues", label: "Issues" },
@@ -7530,7 +7640,7 @@ var DEFAULT_SCOPES = [
7530
7640
  { value: "documents", label: "Documents" }
7531
7641
  ];
7532
7642
  var cn53 = (...parts) => parts.filter(Boolean).join(" ");
7533
- var SearchResultsList = React71.forwardRef(
7643
+ var SearchResultsList = React72.forwardRef(
7534
7644
  ({
7535
7645
  query,
7536
7646
  onQueryChange,
@@ -7548,7 +7658,7 @@ var SearchResultsList = React71.forwardRef(
7548
7658
  }, ref) => {
7549
7659
  const showEmpty = !loading && results.length === 0;
7550
7660
  const resolvedEmptyDescription = emptyDescription ?? (query ? `Nothing matches \u201C${query}\u201D. Try a different term or scope.` : "Type to search.");
7551
- return /* @__PURE__ */ (0, import_jsx_runtime71.jsxs)(
7661
+ return /* @__PURE__ */ (0, import_jsx_runtime72.jsxs)(
7552
7662
  "div",
7553
7663
  {
7554
7664
  ref,
@@ -7558,8 +7668,8 @@ var SearchResultsList = React71.forwardRef(
7558
7668
  ),
7559
7669
  ...rest,
7560
7670
  children: [
7561
- /* @__PURE__ */ (0, import_jsx_runtime71.jsxs)("div", { className: "flex min-w-0 flex-wrap items-center gap-sm px-base py-md", children: [
7562
- /* @__PURE__ */ (0, import_jsx_runtime71.jsx)("div", { className: "min-w-0 flex-1 basis-56", children: /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(
7671
+ /* @__PURE__ */ (0, import_jsx_runtime72.jsxs)("div", { className: "flex min-w-0 flex-wrap items-center gap-sm px-base py-md", children: [
7672
+ /* @__PURE__ */ (0, import_jsx_runtime72.jsx)("div", { className: "min-w-0 flex-1 basis-56", children: /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(
7563
7673
  SearchBar,
7564
7674
  {
7565
7675
  value: query,
@@ -7570,7 +7680,7 @@ var SearchResultsList = React71.forwardRef(
7570
7680
  "aria-label": "Search"
7571
7681
  }
7572
7682
  ) }),
7573
- /* @__PURE__ */ (0, import_jsx_runtime71.jsx)("div", { role: "group", "aria-label": "Search scope", className: "flex shrink-0 flex-wrap items-center gap-xs", children: scopes.map((s) => /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(
7683
+ /* @__PURE__ */ (0, import_jsx_runtime72.jsx)("div", { role: "group", "aria-label": "Search scope", className: "flex shrink-0 flex-wrap items-center gap-xs", children: scopes.map((s) => /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(
7574
7684
  Chip,
7575
7685
  {
7576
7686
  selected: s.value === scope,
@@ -7580,30 +7690,30 @@ var SearchResultsList = React71.forwardRef(
7580
7690
  s.value
7581
7691
  )) })
7582
7692
  ] }),
7583
- /* @__PURE__ */ (0, import_jsx_runtime71.jsx)("div", { "aria-live": "polite", "aria-busy": loading || void 0, className: "min-h-40 px-sm pb-sm", children: loading ? /* @__PURE__ */ (0, import_jsx_runtime71.jsxs)("div", { className: "flex flex-col gap-xs", children: [
7584
- [0, 1, 2].map((i) => /* @__PURE__ */ (0, import_jsx_runtime71.jsxs)("div", { className: "flex items-center gap-md px-base py-sm", children: [
7585
- /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(Spinner, { size: "sm", tone: "current", className: "text-muted-soft" }),
7586
- /* @__PURE__ */ (0, import_jsx_runtime71.jsxs)("div", { className: "flex min-w-0 flex-1 flex-col gap-xs", children: [
7587
- /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(Skeleton, { variant: "text", className: "w-3/5" }),
7588
- /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(Skeleton, { variant: "text", className: "w-2/5" })
7693
+ /* @__PURE__ */ (0, import_jsx_runtime72.jsx)("div", { "aria-live": "polite", "aria-busy": loading || void 0, className: "min-h-40 px-sm pb-sm", children: loading ? /* @__PURE__ */ (0, import_jsx_runtime72.jsxs)("div", { className: "flex flex-col gap-xs", children: [
7694
+ [0, 1, 2].map((i) => /* @__PURE__ */ (0, import_jsx_runtime72.jsxs)("div", { className: "flex items-center gap-md px-base py-sm", children: [
7695
+ /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(Spinner, { size: "sm", tone: "current", className: "text-muted-soft" }),
7696
+ /* @__PURE__ */ (0, import_jsx_runtime72.jsxs)("div", { className: "flex min-w-0 flex-1 flex-col gap-xs", children: [
7697
+ /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(Skeleton, { variant: "text", className: "w-3/5" }),
7698
+ /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(Skeleton, { variant: "text", className: "w-2/5" })
7589
7699
  ] })
7590
7700
  ] }, i)),
7591
- /* @__PURE__ */ (0, import_jsx_runtime71.jsx)("span", { className: "sr-only", children: "Searching\u2026" })
7592
- ] }) : showEmpty ? /* @__PURE__ */ (0, import_jsx_runtime71.jsxs)("div", { className: "flex flex-col items-center justify-center gap-xs px-base py-xl text-center", children: [
7593
- /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(Icon, { name: "search", size: 36, strokeWidth: 1.5, className: "text-muted-soft" }),
7594
- /* @__PURE__ */ (0, import_jsx_runtime71.jsx)("p", { className: "mt-sm text-heading-sm text-ink", children: emptyTitle }),
7595
- /* @__PURE__ */ (0, import_jsx_runtime71.jsx)("p", { className: "text-body-sm text-muted", children: resolvedEmptyDescription })
7596
- ] }) : /* @__PURE__ */ (0, import_jsx_runtime71.jsx)("ul", { className: "flex flex-col", "aria-label": "Search results", children: results.map((r) => /* @__PURE__ */ (0, import_jsx_runtime71.jsx)("li", { children: /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(
7701
+ /* @__PURE__ */ (0, import_jsx_runtime72.jsx)("span", { className: "sr-only", children: "Searching\u2026" })
7702
+ ] }) : showEmpty ? /* @__PURE__ */ (0, import_jsx_runtime72.jsxs)("div", { className: "flex flex-col items-center justify-center gap-xs px-base py-xl text-center", children: [
7703
+ /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(Icon, { name: "search", size: 36, strokeWidth: 1.5, className: "text-muted-soft" }),
7704
+ /* @__PURE__ */ (0, import_jsx_runtime72.jsx)("p", { className: "mt-sm text-heading-sm text-ink", children: emptyTitle }),
7705
+ /* @__PURE__ */ (0, import_jsx_runtime72.jsx)("p", { className: "text-body-sm text-muted", children: resolvedEmptyDescription })
7706
+ ] }) : /* @__PURE__ */ (0, import_jsx_runtime72.jsx)("ul", { className: "flex flex-col", "aria-label": "Search results", children: results.map((r) => /* @__PURE__ */ (0, import_jsx_runtime72.jsx)("li", { children: /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(
7597
7707
  ListItem,
7598
7708
  {
7599
7709
  variant: "plain",
7600
7710
  href: r.href,
7601
7711
  onClick: () => onResultClick?.(r),
7602
- leading: /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(Icon, { name: r.icon, size: 18, className: cn53("shrink-0", r.iconClassName ?? "text-muted") }),
7712
+ leading: /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(Icon, { name: r.icon, size: 18, className: cn53("shrink-0", r.iconClassName ?? "text-muted") }),
7603
7713
  trailing: null,
7604
- title: /* @__PURE__ */ (0, import_jsx_runtime71.jsxs)(import_jsx_runtime71.Fragment, { children: [
7605
- /* @__PURE__ */ (0, import_jsx_runtime71.jsx)("span", { className: "block truncate text-body-sm text-muted", children: r.type }),
7606
- /* @__PURE__ */ (0, import_jsx_runtime71.jsx)("span", { className: "block truncate", children: r.title })
7714
+ title: /* @__PURE__ */ (0, import_jsx_runtime72.jsxs)(import_jsx_runtime72.Fragment, { children: [
7715
+ /* @__PURE__ */ (0, import_jsx_runtime72.jsx)("span", { className: "block truncate text-body-sm text-muted", children: r.type }),
7716
+ /* @__PURE__ */ (0, import_jsx_runtime72.jsx)("span", { className: "block truncate", children: r.title })
7607
7717
  ] })
7608
7718
  }
7609
7719
  ) }, r.id)) }) })
@@ -7615,15 +7725,15 @@ var SearchResultsList = React71.forwardRef(
7615
7725
  SearchResultsList.displayName = "SearchResultsList";
7616
7726
 
7617
7727
  // virtual-pkg:src/atoms/Sidebar/Sidebar.tsx
7618
- var React75 = __toESM(require("react"));
7728
+ var React76 = __toESM(require("react"));
7619
7729
 
7620
7730
  // virtual-pkg:src/atoms/SidebarDesktop/SidebarDesktop.tsx
7621
- var React73 = __toESM(require("react"));
7731
+ var React74 = __toESM(require("react"));
7622
7732
 
7623
7733
  // virtual-pkg:src/atoms/Tooltip/Tooltip.tsx
7624
7734
  var import_react5 = __toESM(require("react"));
7625
7735
  var import_react_dom9 = require("react-dom");
7626
- var import_jsx_runtime72 = require("react/jsx-runtime");
7736
+ var import_jsx_runtime73 = require("react/jsx-runtime");
7627
7737
  function cn54(...parts) {
7628
7738
  return parts.filter(Boolean).join(" ");
7629
7739
  }
@@ -7713,7 +7823,7 @@ var Tooltip = import_react5.default.forwardRef(
7713
7823
  const trigger = import_react5.default.cloneElement(children, {
7714
7824
  "aria-describedby": open ? id : void 0
7715
7825
  });
7716
- const panel = /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(
7826
+ const panel = /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(
7717
7827
  "div",
7718
7828
  {
7719
7829
  style: {
@@ -7724,7 +7834,7 @@ var Tooltip = import_react5.default.forwardRef(
7724
7834
  zIndex: "var(--z-tooltip, 1500)",
7725
7835
  pointerEvents: "none"
7726
7836
  },
7727
- children: /* @__PURE__ */ (0, import_jsx_runtime72.jsxs)(
7837
+ children: /* @__PURE__ */ (0, import_jsx_runtime73.jsxs)(
7728
7838
  "div",
7729
7839
  {
7730
7840
  id,
@@ -7738,7 +7848,7 @@ var Tooltip = import_react5.default.forwardRef(
7738
7848
  ),
7739
7849
  children: [
7740
7850
  content,
7741
- variant === "default" && shortcut && shortcut.length > 0 ? /* @__PURE__ */ (0, import_jsx_runtime72.jsx)("span", { className: "flex items-center gap-xxs", children: shortcut.map((key) => /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(
7851
+ variant === "default" && shortcut && shortcut.length > 0 ? /* @__PURE__ */ (0, import_jsx_runtime73.jsx)("span", { className: "flex items-center gap-xxs", children: shortcut.map((key) => /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(
7742
7852
  "kbd",
7743
7853
  {
7744
7854
  className: "inline-flex min-w-5 items-center justify-center rounded-xs bg-inverse-ink/15 px-xs text-caption text-inverse-ink",
@@ -7746,7 +7856,7 @@ var Tooltip = import_react5.default.forwardRef(
7746
7856
  },
7747
7857
  key
7748
7858
  )) }) : null,
7749
- variant === "default" ? /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(
7859
+ variant === "default" ? /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(
7750
7860
  "span",
7751
7861
  {
7752
7862
  "aria-hidden": "true",
@@ -7758,7 +7868,7 @@ var Tooltip = import_react5.default.forwardRef(
7758
7868
  )
7759
7869
  }
7760
7870
  );
7761
- return /* @__PURE__ */ (0, import_jsx_runtime72.jsxs)(
7871
+ return /* @__PURE__ */ (0, import_jsx_runtime73.jsxs)(
7762
7872
  "span",
7763
7873
  {
7764
7874
  ref: setRefs,
@@ -7781,11 +7891,11 @@ var Tooltip = import_react5.default.forwardRef(
7781
7891
  Tooltip.displayName = "Tooltip";
7782
7892
 
7783
7893
  // virtual-pkg:src/atoms/SidebarDesktop/SidebarDesktop.tsx
7784
- var import_jsx_runtime73 = require("react/jsx-runtime");
7894
+ var import_jsx_runtime74 = require("react/jsx-runtime");
7785
7895
  var cn55 = (...parts) => parts.filter(Boolean).join(" ");
7786
7896
  var linkBase = "flex h-8 items-center rounded-md border border-transparent text-body-md cursor-pointer transition-colors duration-150 ease-out focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-focus-blue";
7787
7897
  var hasBadge = (badge) => badge !== void 0 && badge !== null && badge !== false;
7788
- var SidebarDesktop = React73.forwardRef(
7898
+ var SidebarDesktop = React74.forwardRef(
7789
7899
  ({
7790
7900
  brandName = "Linear",
7791
7901
  brandHref = "#",
@@ -7809,15 +7919,15 @@ var SidebarDesktop = React73.forwardRef(
7809
7919
  children,
7810
7920
  ...rest
7811
7921
  }, ref) => {
7812
- const baseId = React73.useId();
7813
- const [innerCollapsed, setInnerCollapsed] = React73.useState(defaultCollapsed);
7922
+ const baseId = React74.useId();
7923
+ const [innerCollapsed, setInnerCollapsed] = React74.useState(defaultCollapsed);
7814
7924
  const collapsed = collapsedProp ?? innerCollapsed;
7815
7925
  const toggle = () => {
7816
7926
  const next = !collapsed;
7817
7927
  if (collapsedProp === void 0) setInnerCollapsed(next);
7818
7928
  onCollapsedChange?.(next);
7819
7929
  };
7820
- const [expanded, setExpanded] = React73.useState(
7930
+ const [expanded, setExpanded] = React74.useState(
7821
7931
  () => new Set(
7822
7932
  defaultExpanded ?? sections.filter((s) => s.label).map((s) => s.id)
7823
7933
  )
@@ -7829,9 +7939,9 @@ var SidebarDesktop = React73.forwardRef(
7829
7939
  else next.add(id);
7830
7940
  return next;
7831
7941
  });
7832
- const renderIcon = (link) => link.icon ? /* @__PURE__ */ (0, import_jsx_runtime73.jsxs)("span", { className: "relative inline-flex shrink-0 items-center justify-center", children: [
7833
- /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(Icon, { name: link.icon, size: 16, className: "text-body" }),
7834
- collapsed && hasBadge(link.badge) && /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(
7942
+ const renderIcon = (link) => link.icon ? /* @__PURE__ */ (0, import_jsx_runtime74.jsxs)("span", { className: "relative inline-flex shrink-0 items-center justify-center", children: [
7943
+ /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(Icon, { name: link.icon, size: 16, className: "text-body" }),
7944
+ collapsed && hasBadge(link.badge) && /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(
7835
7945
  "span",
7836
7946
  {
7837
7947
  "aria-hidden": "true",
@@ -7841,7 +7951,7 @@ var SidebarDesktop = React73.forwardRef(
7841
7951
  ] }) : null;
7842
7952
  const renderLink = (link, nested = false) => {
7843
7953
  const current = link.id === activeId;
7844
- const anchor = /* @__PURE__ */ (0, import_jsx_runtime73.jsxs)(
7954
+ const anchor = /* @__PURE__ */ (0, import_jsx_runtime74.jsxs)(
7845
7955
  "a",
7846
7956
  {
7847
7957
  href: link.href ?? `#${link.id}`,
@@ -7855,20 +7965,20 @@ var SidebarDesktop = React73.forwardRef(
7855
7965
  ),
7856
7966
  children: [
7857
7967
  renderIcon(link),
7858
- !collapsed && /* @__PURE__ */ (0, import_jsx_runtime73.jsx)("span", { className: "min-w-0 flex-1 truncate", children: link.label }),
7859
- !collapsed && hasBadge(link.badge) && /* @__PURE__ */ (0, import_jsx_runtime73.jsx)("span", { className: "shrink-0 text-caption text-muted tabular-nums", children: link.badge })
7968
+ !collapsed && /* @__PURE__ */ (0, import_jsx_runtime74.jsx)("span", { className: "min-w-0 flex-1 truncate", children: link.label }),
7969
+ !collapsed && hasBadge(link.badge) && /* @__PURE__ */ (0, import_jsx_runtime74.jsx)("span", { className: "shrink-0 text-caption text-muted tabular-nums", children: link.badge })
7860
7970
  ]
7861
7971
  }
7862
7972
  );
7863
- return /* @__PURE__ */ (0, import_jsx_runtime73.jsx)("li", { className: collapsed ? "flex justify-center" : void 0, children: collapsed ? /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(Tooltip, { content: link.label, placement: "right", children: anchor }) : anchor }, link.id);
7973
+ return /* @__PURE__ */ (0, import_jsx_runtime74.jsx)("li", { className: collapsed ? "flex justify-center" : void 0, children: collapsed ? /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(Tooltip, { content: link.label, placement: "right", children: anchor }) : anchor }, link.id);
7864
7974
  };
7865
7975
  const renderGroup = (link) => {
7866
7976
  const open = isOpen(link.id);
7867
7977
  const panelId = `${baseId}-${link.id}`;
7868
7978
  const kids = link.children ?? [];
7869
7979
  if (collapsed) {
7870
- return /* @__PURE__ */ (0, import_jsx_runtime73.jsxs)(React73.Fragment, { children: [
7871
- /* @__PURE__ */ (0, import_jsx_runtime73.jsx)("li", { className: "flex justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(Tooltip, { content: link.label, placement: "right", children: /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(
7980
+ return /* @__PURE__ */ (0, import_jsx_runtime74.jsxs)(React74.Fragment, { children: [
7981
+ /* @__PURE__ */ (0, import_jsx_runtime74.jsx)("li", { className: "flex justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(Tooltip, { content: link.label, placement: "right", children: /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(
7872
7982
  IconButton,
7873
7983
  {
7874
7984
  icon: link.icon ?? "box",
@@ -7883,8 +7993,8 @@ var SidebarDesktop = React73.forwardRef(
7883
7993
  open && kids.map((k) => renderLink(k))
7884
7994
  ] }, link.id);
7885
7995
  }
7886
- return /* @__PURE__ */ (0, import_jsx_runtime73.jsxs)("li", { children: [
7887
- /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(
7996
+ return /* @__PURE__ */ (0, import_jsx_runtime74.jsxs)("li", { children: [
7997
+ /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(
7888
7998
  Button,
7889
7999
  {
7890
8000
  variant: "item",
@@ -7892,12 +8002,12 @@ var SidebarDesktop = React73.forwardRef(
7892
8002
  "aria-expanded": open,
7893
8003
  "aria-controls": panelId,
7894
8004
  onClick: () => flip(link.id),
7895
- leadingIcon: link.icon ? /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(Icon, { name: link.icon, size: 16, className: "text-body" }) : void 0,
8005
+ leadingIcon: link.icon ? /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(Icon, { name: link.icon, size: 16, className: "text-body" }) : void 0,
7896
8006
  className: "px-sm",
7897
- children: /* @__PURE__ */ (0, import_jsx_runtime73.jsxs)("span", { className: "inline-flex min-w-0 items-center gap-xs", children: [
7898
- /* @__PURE__ */ (0, import_jsx_runtime73.jsx)("span", { className: "truncate", children: link.label }),
7899
- hasBadge(link.badge) && /* @__PURE__ */ (0, import_jsx_runtime73.jsx)("span", { className: "shrink-0 text-caption text-muted tabular-nums", children: link.badge }),
7900
- /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(
8007
+ children: /* @__PURE__ */ (0, import_jsx_runtime74.jsxs)("span", { className: "inline-flex min-w-0 items-center gap-xs", children: [
8008
+ /* @__PURE__ */ (0, import_jsx_runtime74.jsx)("span", { className: "truncate", children: link.label }),
8009
+ hasBadge(link.badge) && /* @__PURE__ */ (0, import_jsx_runtime74.jsx)("span", { className: "shrink-0 text-caption text-muted tabular-nums", children: link.badge }),
8010
+ /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(
7901
8011
  Icon,
7902
8012
  {
7903
8013
  name: "chevron-down",
@@ -7908,21 +8018,21 @@ var SidebarDesktop = React73.forwardRef(
7908
8018
  ] })
7909
8019
  }
7910
8020
  ),
7911
- /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(
8021
+ /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(
7912
8022
  "div",
7913
8023
  {
7914
8024
  id: panelId,
7915
8025
  "data-state": open ? "open" : "closed",
7916
8026
  className: "grid transition-[grid-template-rows] duration-200 ease-out data-[state=open]:grid-rows-[1fr] data-[state=closed]:grid-rows-[0fr]",
7917
- children: /* @__PURE__ */ (0, import_jsx_runtime73.jsx)("ul", { className: "flex min-h-0 flex-col gap-xxs overflow-hidden pt-xxs", children: kids.map((k) => renderLink(k, true)) })
8027
+ children: /* @__PURE__ */ (0, import_jsx_runtime74.jsx)("ul", { className: "flex min-h-0 flex-col gap-xxs overflow-hidden pt-xxs", children: kids.map((k) => renderLink(k, true)) })
7918
8028
  }
7919
8029
  )
7920
8030
  ] }, link.id);
7921
8031
  };
7922
8032
  const renderItem = (link) => link.children?.length ? renderGroup(link) : renderLink(link);
7923
8033
  const showWorkspaceRow = Boolean(workspaceName) || !collapsed && headerActions != null;
7924
- return /* @__PURE__ */ (0, import_jsx_runtime73.jsxs)("div", { ref, className: cn55("flex h-full w-full min-h-0 bg-canvas text-ink", className), ...rest, children: [
7925
- /* @__PURE__ */ (0, import_jsx_runtime73.jsxs)(
8034
+ return /* @__PURE__ */ (0, import_jsx_runtime74.jsxs)("div", { ref, className: cn55("flex h-full w-full min-h-0 bg-canvas text-ink", className), ...rest, children: [
8035
+ /* @__PURE__ */ (0, import_jsx_runtime74.jsxs)(
7926
8036
  "aside",
7927
8037
  {
7928
8038
  "aria-label": "Sidebar",
@@ -7930,11 +8040,11 @@ var SidebarDesktop = React73.forwardRef(
7930
8040
  style: { width: collapsed ? 64 : 256 },
7931
8041
  className: "flex h-full shrink-0 flex-col overflow-hidden border-r border-hairline bg-surface transition-[width] duration-200 ease-out",
7932
8042
  children: [
7933
- collapsed ? /* @__PURE__ */ (0, import_jsx_runtime73.jsx)("div", { className: "flex shrink-0 justify-center pb-sm pt-md", children: /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(IconButton, { icon: "panel-right", variant: "secondary", "aria-label": "Expand sidebar", "aria-expanded": false, onClick: toggle }) }) : /* @__PURE__ */ (0, import_jsx_runtime73.jsxs)("div", { className: "flex shrink-0 items-center justify-between gap-sm pb-sm pl-base pr-md pt-md", children: [
7934
- /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(Logo, { name: brandName, href: brandHref, size: "md" }),
7935
- /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(IconButton, { icon: "panel-left", variant: "secondary", "aria-label": "Collapse sidebar", "aria-expanded": true, onClick: toggle })
8043
+ collapsed ? /* @__PURE__ */ (0, import_jsx_runtime74.jsx)("div", { className: "flex shrink-0 justify-center pb-sm pt-md", children: /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(IconButton, { icon: "panel-right", variant: "secondary", "aria-label": "Expand sidebar", "aria-expanded": false, onClick: toggle }) }) : /* @__PURE__ */ (0, import_jsx_runtime74.jsxs)("div", { className: "flex shrink-0 items-center justify-between gap-sm pb-sm pl-base pr-md pt-md", children: [
8044
+ /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(Logo, { name: brandName, href: brandHref, size: "md" }),
8045
+ /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(IconButton, { icon: "panel-left", variant: "secondary", "aria-label": "Collapse sidebar", "aria-expanded": true, onClick: toggle })
7936
8046
  ] }),
7937
- showWorkspaceRow && /* @__PURE__ */ (0, import_jsx_runtime73.jsxs)(
8047
+ showWorkspaceRow && /* @__PURE__ */ (0, import_jsx_runtime74.jsxs)(
7938
8048
  "div",
7939
8049
  {
7940
8050
  className: cn55(
@@ -7942,26 +8052,26 @@ var SidebarDesktop = React73.forwardRef(
7942
8052
  collapsed ? "flex justify-center" : "flex items-center gap-xxs px-sm"
7943
8053
  ),
7944
8054
  children: [
7945
- workspaceName ? collapsed ? /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(Tooltip, { content: workspaceName, placement: "right", children: /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(Button, { variant: "ghost", iconOnly: true, "aria-label": workspaceName, onClick: onWorkspaceClick, children: /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(Avatar, { name: workspaceName, src: workspaceAvatarSrc, size: "sm" }) }) }) : /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(
8055
+ workspaceName ? collapsed ? /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(Tooltip, { content: workspaceName, placement: "right", children: /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(Button, { variant: "ghost", iconOnly: true, "aria-label": workspaceName, onClick: onWorkspaceClick, children: /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(Avatar, { name: workspaceName, src: workspaceAvatarSrc, size: "sm" }) }) }) : /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(
7946
8056
  Button,
7947
8057
  {
7948
8058
  variant: "ghost",
7949
8059
  onClick: onWorkspaceClick,
7950
8060
  className: "min-w-0 flex-1 justify-start px-sm",
7951
- leadingIcon: /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(Avatar, { name: workspaceName, src: workspaceAvatarSrc, size: "sm" }),
7952
- trailingIcon: /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(Icon, { name: "chevron-down", size: 14, className: "text-muted" }),
7953
- children: /* @__PURE__ */ (0, import_jsx_runtime73.jsx)("span", { className: "min-w-0 truncate text-ink", children: workspaceName })
8061
+ leadingIcon: /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(Avatar, { name: workspaceName, src: workspaceAvatarSrc, size: "sm" }),
8062
+ trailingIcon: /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(Icon, { name: "chevron-down", size: 14, className: "text-muted" }),
8063
+ children: /* @__PURE__ */ (0, import_jsx_runtime74.jsx)("span", { className: "min-w-0 truncate text-ink", children: workspaceName })
7954
8064
  }
7955
- ) : /* @__PURE__ */ (0, import_jsx_runtime73.jsx)("span", { className: "min-w-0 flex-1" }),
7956
- !collapsed && headerActions != null && /* @__PURE__ */ (0, import_jsx_runtime73.jsx)("div", { className: "flex shrink-0 items-center gap-xxs", children: headerActions })
8065
+ ) : /* @__PURE__ */ (0, import_jsx_runtime74.jsx)("span", { className: "min-w-0 flex-1" }),
8066
+ !collapsed && headerActions != null && /* @__PURE__ */ (0, import_jsx_runtime74.jsx)("div", { className: "flex shrink-0 items-center gap-xxs", children: headerActions })
7957
8067
  ]
7958
8068
  }
7959
8069
  ),
7960
- /* @__PURE__ */ (0, import_jsx_runtime73.jsx)("nav", { "aria-label": "Main", className: cn55("min-h-0 flex-1 overflow-y-auto overscroll-contain pb-sm", collapsed ? "px-0" : "px-sm"), children: sections.map((section, i) => {
8070
+ /* @__PURE__ */ (0, import_jsx_runtime74.jsx)("nav", { "aria-label": "Main", className: cn55("min-h-0 flex-1 overflow-y-auto overscroll-contain pb-sm", collapsed ? "px-0" : "px-sm"), children: sections.map((section, i) => {
7961
8071
  const sectionOpen = !section.label || isOpen(section.id);
7962
8072
  const listId = `${baseId}-section-${section.id}`;
7963
- return /* @__PURE__ */ (0, import_jsx_runtime73.jsxs)("div", { className: i > 0 ? "mt-base" : void 0, children: [
7964
- section.label && !collapsed && /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(
8073
+ return /* @__PURE__ */ (0, import_jsx_runtime74.jsxs)("div", { className: i > 0 ? "mt-base" : void 0, children: [
8074
+ section.label && !collapsed && /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(
7965
8075
  Button,
7966
8076
  {
7967
8077
  variant: "item",
@@ -7970,9 +8080,9 @@ var SidebarDesktop = React73.forwardRef(
7970
8080
  "aria-controls": listId,
7971
8081
  onClick: () => flip(section.id),
7972
8082
  className: "px-sm",
7973
- children: /* @__PURE__ */ (0, import_jsx_runtime73.jsxs)("span", { className: "inline-flex items-center gap-xs text-muted", children: [
8083
+ children: /* @__PURE__ */ (0, import_jsx_runtime74.jsxs)("span", { className: "inline-flex items-center gap-xs text-muted", children: [
7974
8084
  section.label,
7975
- /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(
8085
+ /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(
7976
8086
  Icon,
7977
8087
  {
7978
8088
  name: "chevron-down",
@@ -7983,29 +8093,29 @@ var SidebarDesktop = React73.forwardRef(
7983
8093
  ] })
7984
8094
  }
7985
8095
  ),
7986
- /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(
8096
+ /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(
7987
8097
  "div",
7988
8098
  {
7989
8099
  id: listId,
7990
8100
  "data-state": sectionOpen || collapsed ? "open" : "closed",
7991
8101
  className: "grid transition-[grid-template-rows] duration-200 ease-out data-[state=open]:grid-rows-[1fr] data-[state=closed]:grid-rows-[0fr]",
7992
- children: /* @__PURE__ */ (0, import_jsx_runtime73.jsx)("ul", { className: "flex min-h-0 flex-col gap-xxs overflow-hidden", children: section.items.map(renderItem) })
8102
+ children: /* @__PURE__ */ (0, import_jsx_runtime74.jsx)("ul", { className: "flex min-h-0 flex-col gap-xxs overflow-hidden", children: section.items.map(renderItem) })
7993
8103
  }
7994
8104
  )
7995
8105
  ] }, section.id);
7996
8106
  }) }),
7997
- announcement && !collapsed && /* @__PURE__ */ (0, import_jsx_runtime73.jsx)("div", { className: "shrink-0 px-sm pb-sm", children: /* @__PURE__ */ (0, import_jsx_runtime73.jsxs)(
8107
+ announcement && !collapsed && /* @__PURE__ */ (0, import_jsx_runtime74.jsx)("div", { className: "shrink-0 px-sm pb-sm", children: /* @__PURE__ */ (0, import_jsx_runtime74.jsxs)(
7998
8108
  "a",
7999
8109
  {
8000
8110
  href: announcement.href ?? "#",
8001
8111
  className: "flex flex-col gap-xxs rounded-lg border border-hairline bg-canvas px-md py-sm cursor-pointer transition-colors duration-150 ease-out hover:bg-surface-soft focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-focus-blue",
8002
8112
  children: [
8003
- /* @__PURE__ */ (0, import_jsx_runtime73.jsx)("span", { className: "text-caption text-muted", children: announcement.eyebrow }),
8004
- /* @__PURE__ */ (0, import_jsx_runtime73.jsx)("span", { className: "text-body-sm text-ink", children: announcement.title })
8113
+ /* @__PURE__ */ (0, import_jsx_runtime74.jsx)("span", { className: "text-caption text-muted", children: announcement.eyebrow }),
8114
+ /* @__PURE__ */ (0, import_jsx_runtime74.jsx)("span", { className: "text-body-sm text-ink", children: announcement.title })
8005
8115
  ]
8006
8116
  }
8007
8117
  ) }),
8008
- /* @__PURE__ */ (0, import_jsx_runtime73.jsxs)(
8118
+ /* @__PURE__ */ (0, import_jsx_runtime74.jsxs)(
8009
8119
  "div",
8010
8120
  {
8011
8121
  className: cn55(
@@ -8013,10 +8123,10 @@ var SidebarDesktop = React73.forwardRef(
8013
8123
  collapsed ? "flex-col items-center gap-xs" : "items-center justify-between px-md"
8014
8124
  ),
8015
8125
  children: [
8016
- userName && /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(Avatar, { name: userName, src: userAvatarSrc, size: "sm" }),
8017
- /* @__PURE__ */ (0, import_jsx_runtime73.jsxs)("div", { className: cn55("flex items-center gap-xxs", collapsed && "flex-col"), children: [
8018
- /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(IconButton, { icon: "message-circle", variant: "ghost", "aria-label": "Help and feedback", onClick: onHelpClick }),
8019
- /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(IconButton, { icon: "settings", variant: "ghost", "aria-label": "Settings", onClick: onSettingsClick })
8126
+ userName && /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(Avatar, { name: userName, src: userAvatarSrc, size: "sm" }),
8127
+ /* @__PURE__ */ (0, import_jsx_runtime74.jsxs)("div", { className: cn55("flex items-center gap-xxs", collapsed && "flex-col"), children: [
8128
+ /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(IconButton, { icon: "message-circle", variant: "ghost", "aria-label": "Help and feedback", onClick: onHelpClick }),
8129
+ /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(IconButton, { icon: "settings", variant: "ghost", "aria-label": "Settings", onClick: onSettingsClick })
8020
8130
  ] })
8021
8131
  ]
8022
8132
  }
@@ -8024,19 +8134,19 @@ var SidebarDesktop = React73.forwardRef(
8024
8134
  ]
8025
8135
  }
8026
8136
  ),
8027
- children !== void 0 && /* @__PURE__ */ (0, import_jsx_runtime73.jsx)("div", { className: "min-w-0 flex-1 overflow-auto", children })
8137
+ children !== void 0 && /* @__PURE__ */ (0, import_jsx_runtime74.jsx)("div", { className: "min-w-0 flex-1 overflow-auto", children })
8028
8138
  ] });
8029
8139
  }
8030
8140
  );
8031
8141
  SidebarDesktop.displayName = "SidebarDesktop";
8032
8142
 
8033
8143
  // virtual-pkg:src/atoms/SidebarMobile/SidebarMobile.tsx
8034
- var React74 = __toESM(require("react"));
8035
- var import_jsx_runtime74 = require("react/jsx-runtime");
8144
+ var React75 = __toESM(require("react"));
8145
+ var import_jsx_runtime75 = require("react/jsx-runtime");
8036
8146
  var cn56 = (...parts) => parts.filter(Boolean).join(" ");
8037
8147
  var linkBase2 = "flex h-9 w-full items-center gap-sm rounded-md border border-transparent px-sm text-body-md cursor-pointer transition-colors duration-150 ease-out focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-focus-blue";
8038
8148
  var hasBadge2 = (badge) => badge !== void 0 && badge !== null && badge !== false;
8039
- var SidebarMobile = React74.forwardRef(
8149
+ var SidebarMobile = React75.forwardRef(
8040
8150
  ({
8041
8151
  brandName = "Linear",
8042
8152
  brandHref = "#",
@@ -8060,17 +8170,17 @@ var SidebarMobile = React74.forwardRef(
8060
8170
  children,
8061
8171
  ...rest
8062
8172
  }, ref) => {
8063
- const baseId = React74.useId();
8064
- const [innerOpen, setInnerOpen] = React74.useState(defaultOpen);
8173
+ const baseId = React75.useId();
8174
+ const [innerOpen, setInnerOpen] = React75.useState(defaultOpen);
8065
8175
  const open = openProp ?? innerOpen;
8066
- const setOpen = React74.useCallback(
8176
+ const setOpen = React75.useCallback(
8067
8177
  (next) => {
8068
8178
  if (openProp === void 0) setInnerOpen(next);
8069
8179
  onOpenChange?.(next);
8070
8180
  },
8071
8181
  [openProp, onOpenChange]
8072
8182
  );
8073
- const [expanded, setExpanded] = React74.useState(
8183
+ const [expanded, setExpanded] = React75.useState(
8074
8184
  () => new Set(defaultExpanded ?? sections.filter((s) => s.label).map((s) => s.id))
8075
8185
  );
8076
8186
  const flip = (id) => setExpanded((prev) => {
@@ -8081,7 +8191,7 @@ var SidebarMobile = React74.forwardRef(
8081
8191
  });
8082
8192
  const renderLink = (link, nested = false) => {
8083
8193
  const current = link.id === activeId;
8084
- return /* @__PURE__ */ (0, import_jsx_runtime74.jsx)("li", { children: /* @__PURE__ */ (0, import_jsx_runtime74.jsxs)(
8194
+ return /* @__PURE__ */ (0, import_jsx_runtime75.jsx)("li", { children: /* @__PURE__ */ (0, import_jsx_runtime75.jsxs)(
8085
8195
  "a",
8086
8196
  {
8087
8197
  href: link.href ?? `#${link.id}`,
@@ -8096,9 +8206,9 @@ var SidebarMobile = React74.forwardRef(
8096
8206
  current ? "bg-surface-strong text-ink font-weight-label" : "text-ink hover:bg-surface-soft active:bg-surface-strong"
8097
8207
  ),
8098
8208
  children: [
8099
- link.icon && /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(Icon, { name: link.icon, size: 16, className: "text-body" }),
8100
- /* @__PURE__ */ (0, import_jsx_runtime74.jsx)("span", { className: "min-w-0 flex-1 truncate", children: link.label }),
8101
- hasBadge2(link.badge) && /* @__PURE__ */ (0, import_jsx_runtime74.jsx)("span", { className: "shrink-0 text-caption text-muted tabular-nums", children: link.badge })
8209
+ link.icon && /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(Icon, { name: link.icon, size: 16, className: "text-body" }),
8210
+ /* @__PURE__ */ (0, import_jsx_runtime75.jsx)("span", { className: "min-w-0 flex-1 truncate", children: link.label }),
8211
+ hasBadge2(link.badge) && /* @__PURE__ */ (0, import_jsx_runtime75.jsx)("span", { className: "shrink-0 text-caption text-muted tabular-nums", children: link.badge })
8102
8212
  ]
8103
8213
  }
8104
8214
  ) }, link.id);
@@ -8106,8 +8216,8 @@ var SidebarMobile = React74.forwardRef(
8106
8216
  const renderGroup = (link) => {
8107
8217
  const isOpen = expanded.has(link.id);
8108
8218
  const panelId = `${baseId}-${link.id}`;
8109
- return /* @__PURE__ */ (0, import_jsx_runtime74.jsxs)("li", { children: [
8110
- /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(
8219
+ return /* @__PURE__ */ (0, import_jsx_runtime75.jsxs)("li", { children: [
8220
+ /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(
8111
8221
  Button,
8112
8222
  {
8113
8223
  variant: "item",
@@ -8115,12 +8225,12 @@ var SidebarMobile = React74.forwardRef(
8115
8225
  "aria-expanded": isOpen,
8116
8226
  "aria-controls": panelId,
8117
8227
  onClick: () => flip(link.id),
8118
- leadingIcon: link.icon ? /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(Icon, { name: link.icon, size: 16, className: "text-body" }) : void 0,
8228
+ leadingIcon: link.icon ? /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(Icon, { name: link.icon, size: 16, className: "text-body" }) : void 0,
8119
8229
  className: "px-sm",
8120
- children: /* @__PURE__ */ (0, import_jsx_runtime74.jsxs)("span", { className: "inline-flex min-w-0 items-center gap-xs", children: [
8121
- /* @__PURE__ */ (0, import_jsx_runtime74.jsx)("span", { className: "truncate", children: link.label }),
8122
- hasBadge2(link.badge) && /* @__PURE__ */ (0, import_jsx_runtime74.jsx)("span", { className: "shrink-0 text-caption text-muted tabular-nums", children: link.badge }),
8123
- /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(
8230
+ children: /* @__PURE__ */ (0, import_jsx_runtime75.jsxs)("span", { className: "inline-flex min-w-0 items-center gap-xs", children: [
8231
+ /* @__PURE__ */ (0, import_jsx_runtime75.jsx)("span", { className: "truncate", children: link.label }),
8232
+ hasBadge2(link.badge) && /* @__PURE__ */ (0, import_jsx_runtime75.jsx)("span", { className: "shrink-0 text-caption text-muted tabular-nums", children: link.badge }),
8233
+ /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(
8124
8234
  Icon,
8125
8235
  {
8126
8236
  name: "chevron-down",
@@ -8131,23 +8241,23 @@ var SidebarMobile = React74.forwardRef(
8131
8241
  ] })
8132
8242
  }
8133
8243
  ),
8134
- /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(
8244
+ /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(
8135
8245
  "div",
8136
8246
  {
8137
8247
  id: panelId,
8138
8248
  "data-state": isOpen ? "open" : "closed",
8139
8249
  className: "grid transition-[grid-template-rows] duration-200 ease-out data-[state=open]:grid-rows-[1fr] data-[state=closed]:grid-rows-[0fr]",
8140
- children: /* @__PURE__ */ (0, import_jsx_runtime74.jsx)("ul", { className: "flex min-h-0 flex-col gap-xxs overflow-hidden pt-xxs", children: (link.children ?? []).map((k) => renderLink(k, true)) })
8250
+ children: /* @__PURE__ */ (0, import_jsx_runtime75.jsx)("ul", { className: "flex min-h-0 flex-col gap-xxs overflow-hidden pt-xxs", children: (link.children ?? []).map((k) => renderLink(k, true)) })
8141
8251
  }
8142
8252
  )
8143
8253
  ] }, link.id);
8144
8254
  };
8145
- return /* @__PURE__ */ (0, import_jsx_runtime74.jsxs)("div", { ref, className: cn56("flex w-full flex-col bg-canvas text-ink", className), ...rest, children: [
8146
- /* @__PURE__ */ (0, import_jsx_runtime74.jsxs)("header", { className: "flex h-14 w-full shrink-0 items-center justify-between gap-sm border-b border-hairline bg-canvas px-base", children: [
8147
- /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(Logo, { name: brandName, href: brandHref, size: "md" }),
8148
- /* @__PURE__ */ (0, import_jsx_runtime74.jsxs)("div", { className: "flex min-w-0 items-center gap-xxs", children: [
8149
- mobileActions != null && /* @__PURE__ */ (0, import_jsx_runtime74.jsx)("div", { className: "flex items-center gap-xxs", children: mobileActions }),
8150
- /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(
8255
+ return /* @__PURE__ */ (0, import_jsx_runtime75.jsxs)("div", { ref, className: cn56("flex w-full flex-col bg-canvas text-ink", className), ...rest, children: [
8256
+ /* @__PURE__ */ (0, import_jsx_runtime75.jsxs)("header", { className: "flex h-14 w-full shrink-0 items-center justify-between gap-sm border-b border-hairline bg-canvas px-base", children: [
8257
+ /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(Logo, { name: brandName, href: brandHref, size: "md" }),
8258
+ /* @__PURE__ */ (0, import_jsx_runtime75.jsxs)("div", { className: "flex min-w-0 items-center gap-xxs", children: [
8259
+ mobileActions != null && /* @__PURE__ */ (0, import_jsx_runtime75.jsx)("div", { className: "flex items-center gap-xxs", children: mobileActions }),
8260
+ /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(
8151
8261
  IconButton,
8152
8262
  {
8153
8263
  icon: "menu",
@@ -8159,8 +8269,8 @@ var SidebarMobile = React74.forwardRef(
8159
8269
  )
8160
8270
  ] })
8161
8271
  ] }),
8162
- children !== void 0 && /* @__PURE__ */ (0, import_jsx_runtime74.jsx)("div", { className: "min-w-0 flex-1", children }),
8163
- /* @__PURE__ */ (0, import_jsx_runtime74.jsxs)(
8272
+ children !== void 0 && /* @__PURE__ */ (0, import_jsx_runtime75.jsx)("div", { className: "min-w-0 flex-1", children }),
8273
+ /* @__PURE__ */ (0, import_jsx_runtime75.jsxs)(
8164
8274
  Drawer,
8165
8275
  {
8166
8276
  open,
@@ -8168,32 +8278,32 @@ var SidebarMobile = React74.forwardRef(
8168
8278
  side: "left",
8169
8279
  "aria-label": "Navigation",
8170
8280
  closeLabel: "Close navigation",
8171
- headerStart: /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(Logo, { name: brandName, href: brandHref, size: "md" }),
8281
+ headerStart: /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(Logo, { name: brandName, href: brandHref, size: "md" }),
8172
8282
  bodyClassName: "px-sm",
8173
- footer: /* @__PURE__ */ (0, import_jsx_runtime74.jsxs)("div", { className: "flex w-full items-center justify-between", children: [
8174
- userName ? /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(Avatar, { name: userName, src: userAvatarSrc, size: "sm" }) : /* @__PURE__ */ (0, import_jsx_runtime74.jsx)("span", {}),
8175
- /* @__PURE__ */ (0, import_jsx_runtime74.jsxs)("div", { className: "flex items-center gap-xxs", children: [
8176
- /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(IconButton, { icon: "message-circle", variant: "ghost", "aria-label": "Help and feedback", onClick: onHelpClick }),
8177
- /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(IconButton, { icon: "settings", variant: "ghost", "aria-label": "Settings", onClick: onSettingsClick })
8283
+ footer: /* @__PURE__ */ (0, import_jsx_runtime75.jsxs)("div", { className: "flex w-full items-center justify-between", children: [
8284
+ userName ? /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(Avatar, { name: userName, src: userAvatarSrc, size: "sm" }) : /* @__PURE__ */ (0, import_jsx_runtime75.jsx)("span", {}),
8285
+ /* @__PURE__ */ (0, import_jsx_runtime75.jsxs)("div", { className: "flex items-center gap-xxs", children: [
8286
+ /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(IconButton, { icon: "message-circle", variant: "ghost", "aria-label": "Help and feedback", onClick: onHelpClick }),
8287
+ /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(IconButton, { icon: "settings", variant: "ghost", "aria-label": "Settings", onClick: onSettingsClick })
8178
8288
  ] })
8179
8289
  ] }),
8180
8290
  children: [
8181
- workspaceName && /* @__PURE__ */ (0, import_jsx_runtime74.jsx)("div", { className: "pb-sm", children: /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(
8291
+ workspaceName && /* @__PURE__ */ (0, import_jsx_runtime75.jsx)("div", { className: "pb-sm", children: /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(
8182
8292
  Button,
8183
8293
  {
8184
8294
  variant: "ghost",
8185
8295
  onClick: onWorkspaceClick,
8186
8296
  className: "px-sm",
8187
- leadingIcon: /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(Avatar, { name: workspaceName, src: workspaceAvatarSrc, size: "sm" }),
8188
- trailingIcon: /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(Icon, { name: "chevron-down", size: 14, className: "text-muted" }),
8189
- children: /* @__PURE__ */ (0, import_jsx_runtime74.jsx)("span", { className: "text-ink", children: workspaceName })
8297
+ leadingIcon: /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(Avatar, { name: workspaceName, src: workspaceAvatarSrc, size: "sm" }),
8298
+ trailingIcon: /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(Icon, { name: "chevron-down", size: 14, className: "text-muted" }),
8299
+ children: /* @__PURE__ */ (0, import_jsx_runtime75.jsx)("span", { className: "text-ink", children: workspaceName })
8190
8300
  }
8191
8301
  ) }),
8192
- /* @__PURE__ */ (0, import_jsx_runtime74.jsx)("nav", { "aria-label": "Main", children: sections.map((section, i) => {
8302
+ /* @__PURE__ */ (0, import_jsx_runtime75.jsx)("nav", { "aria-label": "Main", children: sections.map((section, i) => {
8193
8303
  const sectionOpen = !section.label || expanded.has(section.id);
8194
8304
  const listId = `${baseId}-section-${section.id}`;
8195
- return /* @__PURE__ */ (0, import_jsx_runtime74.jsxs)("div", { className: i > 0 ? "mt-base" : void 0, children: [
8196
- section.label && /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(
8305
+ return /* @__PURE__ */ (0, import_jsx_runtime75.jsxs)("div", { className: i > 0 ? "mt-base" : void 0, children: [
8306
+ section.label && /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(
8197
8307
  Button,
8198
8308
  {
8199
8309
  variant: "item",
@@ -8202,9 +8312,9 @@ var SidebarMobile = React74.forwardRef(
8202
8312
  "aria-controls": listId,
8203
8313
  onClick: () => flip(section.id),
8204
8314
  className: "px-sm",
8205
- children: /* @__PURE__ */ (0, import_jsx_runtime74.jsxs)("span", { className: "inline-flex items-center gap-xs text-muted", children: [
8315
+ children: /* @__PURE__ */ (0, import_jsx_runtime75.jsxs)("span", { className: "inline-flex items-center gap-xs text-muted", children: [
8206
8316
  section.label,
8207
- /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(
8317
+ /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(
8208
8318
  Icon,
8209
8319
  {
8210
8320
  name: "chevron-down",
@@ -8215,25 +8325,25 @@ var SidebarMobile = React74.forwardRef(
8215
8325
  ] })
8216
8326
  }
8217
8327
  ),
8218
- /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(
8328
+ /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(
8219
8329
  "div",
8220
8330
  {
8221
8331
  id: listId,
8222
8332
  "data-state": sectionOpen ? "open" : "closed",
8223
8333
  className: "grid transition-[grid-template-rows] duration-200 ease-out data-[state=open]:grid-rows-[1fr] data-[state=closed]:grid-rows-[0fr]",
8224
- children: /* @__PURE__ */ (0, import_jsx_runtime74.jsx)("ul", { className: "flex min-h-0 flex-col gap-xxs overflow-hidden", children: section.items.map((l) => l.children?.length ? renderGroup(l) : renderLink(l)) })
8334
+ children: /* @__PURE__ */ (0, import_jsx_runtime75.jsx)("ul", { className: "flex min-h-0 flex-col gap-xxs overflow-hidden", children: section.items.map((l) => l.children?.length ? renderGroup(l) : renderLink(l)) })
8225
8335
  }
8226
8336
  )
8227
8337
  ] }, section.id);
8228
8338
  }) }),
8229
- announcement && /* @__PURE__ */ (0, import_jsx_runtime74.jsxs)(
8339
+ announcement && /* @__PURE__ */ (0, import_jsx_runtime75.jsxs)(
8230
8340
  "a",
8231
8341
  {
8232
8342
  href: announcement.href ?? "#",
8233
8343
  className: "mt-base flex flex-col gap-xxs rounded-lg border border-hairline bg-canvas px-md py-sm cursor-pointer transition-colors duration-150 ease-out hover:bg-surface-soft focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-focus-blue",
8234
8344
  children: [
8235
- /* @__PURE__ */ (0, import_jsx_runtime74.jsx)("span", { className: "text-caption text-muted", children: announcement.eyebrow }),
8236
- /* @__PURE__ */ (0, import_jsx_runtime74.jsx)("span", { className: "text-body-sm text-ink", children: announcement.title })
8345
+ /* @__PURE__ */ (0, import_jsx_runtime75.jsx)("span", { className: "text-caption text-muted", children: announcement.eyebrow }),
8346
+ /* @__PURE__ */ (0, import_jsx_runtime75.jsx)("span", { className: "text-body-sm text-ink", children: announcement.title })
8237
8347
  ]
8238
8348
  }
8239
8349
  )
@@ -8246,8 +8356,8 @@ var SidebarMobile = React74.forwardRef(
8246
8356
  SidebarMobile.displayName = "SidebarMobile";
8247
8357
 
8248
8358
  // virtual-pkg:src/atoms/Sidebar/Sidebar.tsx
8249
- var import_jsx_runtime75 = require("react/jsx-runtime");
8250
- var Sidebar = React75.forwardRef(
8359
+ var import_jsx_runtime76 = require("react/jsx-runtime");
8360
+ var Sidebar = React76.forwardRef(
8251
8361
  ({
8252
8362
  collapsed,
8253
8363
  defaultCollapsed,
@@ -8259,13 +8369,13 @@ var Sidebar = React75.forwardRef(
8259
8369
  children,
8260
8370
  className,
8261
8371
  ...shared
8262
- }, ref) => /* @__PURE__ */ (0, import_jsx_runtime75.jsxs)(
8372
+ }, ref) => /* @__PURE__ */ (0, import_jsx_runtime76.jsxs)(
8263
8373
  "div",
8264
8374
  {
8265
8375
  ref,
8266
8376
  className: ["flex h-full w-full min-h-0 flex-col bg-canvas md:flex-row", className].filter(Boolean).join(" "),
8267
8377
  children: [
8268
- /* @__PURE__ */ (0, import_jsx_runtime75.jsx)("div", { className: "hidden h-full shrink-0 md:block", children: /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(
8378
+ /* @__PURE__ */ (0, import_jsx_runtime76.jsx)("div", { className: "hidden h-full shrink-0 md:block", children: /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(
8269
8379
  SidebarDesktop,
8270
8380
  {
8271
8381
  ...shared,
@@ -8275,7 +8385,7 @@ var Sidebar = React75.forwardRef(
8275
8385
  onCollapsedChange
8276
8386
  }
8277
8387
  ) }),
8278
- /* @__PURE__ */ (0, import_jsx_runtime75.jsx)("div", { className: "shrink-0 md:hidden", children: /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(
8388
+ /* @__PURE__ */ (0, import_jsx_runtime76.jsx)("div", { className: "shrink-0 md:hidden", children: /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(
8279
8389
  SidebarMobile,
8280
8390
  {
8281
8391
  ...shared,
@@ -8284,7 +8394,7 @@ var Sidebar = React75.forwardRef(
8284
8394
  onOpenChange: onMobileOpenChange
8285
8395
  }
8286
8396
  ) }),
8287
- children !== void 0 && /* @__PURE__ */ (0, import_jsx_runtime75.jsx)("div", { className: "min-h-0 min-w-0 flex-1 overflow-auto", children })
8397
+ children !== void 0 && /* @__PURE__ */ (0, import_jsx_runtime76.jsx)("div", { className: "min-h-0 min-w-0 flex-1 overflow-auto", children })
8288
8398
  ]
8289
8399
  }
8290
8400
  )
@@ -8293,7 +8403,7 @@ Sidebar.displayName = "Sidebar";
8293
8403
 
8294
8404
  // virtual-pkg:src/atoms/Slider/Slider.tsx
8295
8405
  var import_react6 = __toESM(require("react"));
8296
- var import_jsx_runtime76 = require("react/jsx-runtime");
8406
+ var import_jsx_runtime77 = require("react/jsx-runtime");
8297
8407
  function cn57(...parts) {
8298
8408
  return parts.filter(Boolean).join(" ");
8299
8409
  }
@@ -8333,19 +8443,19 @@ var Slider = import_react6.default.forwardRef(
8333
8443
  const lowPct = pctOf(low);
8334
8444
  const highPct = pctOf(high);
8335
8445
  const thumbState = disabled ? "border-hairline bg-surface-soft shadow-none" : "border-hairline-strong";
8336
- return /* @__PURE__ */ (0, import_jsx_runtime76.jsxs)(
8446
+ return /* @__PURE__ */ (0, import_jsx_runtime77.jsxs)(
8337
8447
  "div",
8338
8448
  {
8339
8449
  ref,
8340
8450
  className: cn57("flex w-full flex-col items-center gap-md", disabled && "opacity-50", className),
8341
8451
  ...rest,
8342
8452
  children: [
8343
- /* @__PURE__ */ (0, import_jsx_runtime76.jsxs)("div", { className: "flex w-full flex-col gap-xxs", children: [
8344
- histogram && histogram.length > 0 ? /* @__PURE__ */ (0, import_jsx_runtime76.jsx)("div", { "aria-hidden": "true", className: "flex h-10 w-full items-end gap-xxs", style: { paddingInline: THUMB2 / 2 }, children: histogram.map((h, i) => {
8453
+ /* @__PURE__ */ (0, import_jsx_runtime77.jsxs)("div", { className: "flex w-full flex-col gap-xxs", children: [
8454
+ histogram && histogram.length > 0 ? /* @__PURE__ */ (0, import_jsx_runtime77.jsx)("div", { "aria-hidden": "true", className: "flex h-10 w-full items-end gap-xxs", style: { paddingInline: THUMB2 / 2 }, children: histogram.map((h, i) => {
8345
8455
  const peak = Math.max(...histogram, 1);
8346
8456
  const center = (i + 0.5) / histogram.length * 100;
8347
8457
  const inside = center >= lowPct && center <= highPct;
8348
- return /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(
8458
+ return /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(
8349
8459
  "span",
8350
8460
  {
8351
8461
  className: cn57(
@@ -8357,9 +8467,9 @@ var Slider = import_react6.default.forwardRef(
8357
8467
  i
8358
8468
  );
8359
8469
  }) }) : null,
8360
- /* @__PURE__ */ (0, import_jsx_runtime76.jsxs)("div", { className: "relative h-5 w-full", children: [
8361
- /* @__PURE__ */ (0, import_jsx_runtime76.jsx)("div", { className: "absolute left-0 right-0 top-1/2 h-1.5 -translate-y-1/2 rounded-full bg-surface-strong" }),
8362
- /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(
8470
+ /* @__PURE__ */ (0, import_jsx_runtime77.jsxs)("div", { className: "relative h-5 w-full", children: [
8471
+ /* @__PURE__ */ (0, import_jsx_runtime77.jsx)("div", { className: "absolute left-0 right-0 top-1/2 h-1.5 -translate-y-1/2 rounded-full bg-surface-strong" }),
8472
+ /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(
8363
8473
  "div",
8364
8474
  {
8365
8475
  "aria-hidden": "true",
@@ -8373,8 +8483,8 @@ var Slider = import_react6.default.forwardRef(
8373
8483
  }
8374
8484
  }
8375
8485
  ),
8376
- isRange ? /* @__PURE__ */ (0, import_jsx_runtime76.jsxs)(import_jsx_runtime76.Fragment, { children: [
8377
- /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(
8486
+ isRange ? /* @__PURE__ */ (0, import_jsx_runtime77.jsxs)(import_jsx_runtime77.Fragment, { children: [
8487
+ /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(
8378
8488
  "input",
8379
8489
  {
8380
8490
  type: "range",
@@ -8391,7 +8501,7 @@ var Slider = import_react6.default.forwardRef(
8391
8501
  style: { zIndex: lowPct > 90 ? 2 : 1 }
8392
8502
  }
8393
8503
  ),
8394
- /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(
8504
+ /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(
8395
8505
  "span",
8396
8506
  {
8397
8507
  "aria-hidden": "true",
@@ -8403,7 +8513,7 @@ var Slider = import_react6.default.forwardRef(
8403
8513
  style: { left: leftOf(lowPct) }
8404
8514
  }
8405
8515
  ),
8406
- /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(
8516
+ /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(
8407
8517
  "input",
8408
8518
  {
8409
8519
  type: "range",
@@ -8419,7 +8529,7 @@ var Slider = import_react6.default.forwardRef(
8419
8529
  className: cn57("peer/high", inputClass, rangeInputClass)
8420
8530
  }
8421
8531
  ),
8422
- /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(
8532
+ /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(
8423
8533
  "span",
8424
8534
  {
8425
8535
  "aria-hidden": "true",
@@ -8431,8 +8541,8 @@ var Slider = import_react6.default.forwardRef(
8431
8541
  style: { left: leftOf(highPct) }
8432
8542
  }
8433
8543
  )
8434
- ] }) : /* @__PURE__ */ (0, import_jsx_runtime76.jsxs)(import_jsx_runtime76.Fragment, { children: [
8435
- /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(
8544
+ ] }) : /* @__PURE__ */ (0, import_jsx_runtime77.jsxs)(import_jsx_runtime77.Fragment, { children: [
8545
+ /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(
8436
8546
  "input",
8437
8547
  {
8438
8548
  type: "range",
@@ -8448,7 +8558,7 @@ var Slider = import_react6.default.forwardRef(
8448
8558
  className: cn57("peer", inputClass)
8449
8559
  }
8450
8560
  ),
8451
- /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(
8561
+ /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(
8452
8562
  "span",
8453
8563
  {
8454
8564
  "aria-hidden": "true",
@@ -8463,7 +8573,7 @@ var Slider = import_react6.default.forwardRef(
8463
8573
  ] })
8464
8574
  ] })
8465
8575
  ] }),
8466
- label ? /* @__PURE__ */ (0, import_jsx_runtime76.jsx)("span", { id: labelId, className: "text-body-md text-muted", children: label }) : null
8576
+ label ? /* @__PURE__ */ (0, import_jsx_runtime77.jsx)("span", { id: labelId, className: "text-body-md text-muted", children: label }) : null
8467
8577
  ]
8468
8578
  }
8469
8579
  );
@@ -8472,8 +8582,8 @@ var Slider = import_react6.default.forwardRef(
8472
8582
  Slider.displayName = "Slider";
8473
8583
 
8474
8584
  // virtual-pkg:src/atoms/StepperItem/StepperItem.tsx
8475
- var React77 = __toESM(require("react"));
8476
- var import_jsx_runtime77 = require("react/jsx-runtime");
8585
+ var React78 = __toESM(require("react"));
8586
+ var import_jsx_runtime78 = require("react/jsx-runtime");
8477
8587
  var cn58 = (...parts) => parts.filter(Boolean).join(" ");
8478
8588
  var statusLabel = {
8479
8589
  upcoming: "Upcoming",
@@ -8483,8 +8593,8 @@ var statusLabel = {
8483
8593
  };
8484
8594
  function Indicator({ status }) {
8485
8595
  const shell = "col-start-1 row-start-1 inline-flex h-4 w-4 shrink-0 items-center justify-center rounded-full transition duration-200 ease-out";
8486
- return /* @__PURE__ */ (0, import_jsx_runtime77.jsxs)("span", { className: "grid h-5 w-5 shrink-0 place-items-center", "aria-hidden": "true", children: [
8487
- /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(
8596
+ return /* @__PURE__ */ (0, import_jsx_runtime78.jsxs)("span", { className: "grid h-5 w-5 shrink-0 place-items-center", "aria-hidden": "true", children: [
8597
+ /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(
8488
8598
  "span",
8489
8599
  {
8490
8600
  className: cn58(
@@ -8494,7 +8604,7 @@ function Indicator({ status }) {
8494
8604
  )
8495
8605
  }
8496
8606
  ),
8497
- /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(
8607
+ /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(
8498
8608
  "span",
8499
8609
  {
8500
8610
  className: cn58(
@@ -8502,10 +8612,10 @@ function Indicator({ status }) {
8502
8612
  "border-2 border-primary bg-canvas",
8503
8613
  status === "active" ? "scale-100 opacity-100" : "scale-90 opacity-0"
8504
8614
  ),
8505
- children: /* @__PURE__ */ (0, import_jsx_runtime77.jsx)("span", { className: "h-2 w-2 rounded-full bg-primary" })
8615
+ children: /* @__PURE__ */ (0, import_jsx_runtime78.jsx)("span", { className: "h-2 w-2 rounded-full bg-primary" })
8506
8616
  }
8507
8617
  ),
8508
- /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(
8618
+ /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(
8509
8619
  "span",
8510
8620
  {
8511
8621
  className: cn58(
@@ -8513,10 +8623,10 @@ function Indicator({ status }) {
8513
8623
  "bg-semantic-success-soft text-semantic-success",
8514
8624
  status === "complete" ? "scale-100 opacity-100" : "scale-90 opacity-0"
8515
8625
  ),
8516
- children: /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(Icon, { name: "check", size: 11, strokeWidth: 3 })
8626
+ children: /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(Icon, { name: "check", size: 11, strokeWidth: 3 })
8517
8627
  }
8518
8628
  ),
8519
- /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(
8629
+ /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(
8520
8630
  "span",
8521
8631
  {
8522
8632
  className: cn58(
@@ -8524,13 +8634,13 @@ function Indicator({ status }) {
8524
8634
  "text-semantic-error",
8525
8635
  status === "error" ? "scale-100 opacity-100" : "scale-90 opacity-0"
8526
8636
  ),
8527
- children: /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(Icon, { name: "circle-alert", size: 16 })
8637
+ children: /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(Icon, { name: "circle-alert", size: 16 })
8528
8638
  }
8529
8639
  )
8530
8640
  ] });
8531
8641
  }
8532
- var StepperItem = React77.forwardRef(
8533
- ({ status = "upcoming", title, meta, connector = false, className, children, ...rest }, ref) => /* @__PURE__ */ (0, import_jsx_runtime77.jsxs)(
8642
+ var StepperItem = React78.forwardRef(
8643
+ ({ status = "upcoming", title, meta, connector = false, className, children, ...rest }, ref) => /* @__PURE__ */ (0, import_jsx_runtime78.jsxs)(
8534
8644
  "li",
8535
8645
  {
8536
8646
  ref,
@@ -8538,9 +8648,9 @@ var StepperItem = React77.forwardRef(
8538
8648
  className: cn58("relative flex w-full gap-md", connector && "pb-base", className),
8539
8649
  ...rest,
8540
8650
  children: [
8541
- /* @__PURE__ */ (0, import_jsx_runtime77.jsxs)("div", { className: "flex flex-col items-center", children: [
8542
- /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(Indicator, { status }),
8543
- connector && /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(
8651
+ /* @__PURE__ */ (0, import_jsx_runtime78.jsxs)("div", { className: "flex flex-col items-center", children: [
8652
+ /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(Indicator, { status }),
8653
+ connector && /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(
8544
8654
  "span",
8545
8655
  {
8546
8656
  "aria-hidden": "true",
@@ -8551,17 +8661,17 @@ var StepperItem = React77.forwardRef(
8551
8661
  }
8552
8662
  )
8553
8663
  ] }),
8554
- /* @__PURE__ */ (0, import_jsx_runtime77.jsxs)("div", { className: "flex min-w-0 flex-1 flex-col gap-xxs pt-px", children: [
8555
- /* @__PURE__ */ (0, import_jsx_runtime77.jsxs)("span", { className: "text-body-md text-ink", children: [
8664
+ /* @__PURE__ */ (0, import_jsx_runtime78.jsxs)("div", { className: "flex min-w-0 flex-1 flex-col gap-xxs pt-px", children: [
8665
+ /* @__PURE__ */ (0, import_jsx_runtime78.jsxs)("span", { className: "text-body-md text-ink", children: [
8556
8666
  title,
8557
- /* @__PURE__ */ (0, import_jsx_runtime77.jsxs)("span", { className: "sr-only", children: [
8667
+ /* @__PURE__ */ (0, import_jsx_runtime78.jsxs)("span", { className: "sr-only", children: [
8558
8668
  " (",
8559
8669
  statusLabel[status],
8560
8670
  ")"
8561
8671
  ] })
8562
8672
  ] }),
8563
- meta && /* @__PURE__ */ (0, import_jsx_runtime77.jsx)("span", { className: "text-body-sm text-muted", children: meta }),
8564
- children != null && children !== false && /* @__PURE__ */ (0, import_jsx_runtime77.jsx)("div", { className: "w-full pt-sm", children })
8673
+ meta && /* @__PURE__ */ (0, import_jsx_runtime78.jsx)("span", { className: "text-body-sm text-muted", children: meta }),
8674
+ children != null && children !== false && /* @__PURE__ */ (0, import_jsx_runtime78.jsx)("div", { className: "w-full pt-sm", children })
8565
8675
  ] })
8566
8676
  ]
8567
8677
  }
@@ -8570,10 +8680,10 @@ var StepperItem = React77.forwardRef(
8570
8680
  StepperItem.displayName = "StepperItem";
8571
8681
 
8572
8682
  // virtual-pkg:src/atoms/Tab/Tab.tsx
8573
- var React78 = __toESM(require("react"));
8574
- var import_jsx_runtime78 = require("react/jsx-runtime");
8683
+ var React79 = __toESM(require("react"));
8684
+ var import_jsx_runtime79 = require("react/jsx-runtime");
8575
8685
  var cn59 = (...parts) => parts.filter(Boolean).join(" ");
8576
- var Tab = React78.forwardRef(
8686
+ var Tab = React79.forwardRef(
8577
8687
  ({
8578
8688
  selected = false,
8579
8689
  controls,
@@ -8584,7 +8694,7 @@ var Tab = React78.forwardRef(
8584
8694
  children,
8585
8695
  tabIndex,
8586
8696
  ...rest
8587
- }, ref) => /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(
8697
+ }, ref) => /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(
8588
8698
  Button,
8589
8699
  {
8590
8700
  ref,
@@ -8609,10 +8719,10 @@ var Tab = React78.forwardRef(
8609
8719
  Tab.displayName = "Tab";
8610
8720
 
8611
8721
  // virtual-pkg:src/atoms/Tabs/Tabs.tsx
8612
- var React79 = __toESM(require("react"));
8613
- var import_jsx_runtime79 = require("react/jsx-runtime");
8722
+ var React80 = __toESM(require("react"));
8723
+ var import_jsx_runtime80 = require("react/jsx-runtime");
8614
8724
  var cn60 = (...parts) => parts.filter(Boolean).join(" ");
8615
- var Tabs = React79.forwardRef(
8725
+ var Tabs = React80.forwardRef(
8616
8726
  ({
8617
8727
  items,
8618
8728
  value,
@@ -8623,19 +8733,19 @@ var Tabs = React79.forwardRef(
8623
8733
  className,
8624
8734
  ...rest
8625
8735
  }, ref) => {
8626
- const baseId = React79.useId();
8627
- const [inner, setInner] = React79.useState(defaultValue ?? items[0]?.value);
8736
+ const baseId = React80.useId();
8737
+ const [inner, setInner] = React80.useState(defaultValue ?? items[0]?.value);
8628
8738
  const selected = value ?? inner;
8629
- const tabRefs = React79.useRef({});
8630
- const [indicator, setIndicator] = React79.useState(null);
8631
- const measure = React79.useCallback(() => {
8739
+ const tabRefs = React80.useRef({});
8740
+ const [indicator, setIndicator] = React80.useState(null);
8741
+ const measure = React80.useCallback(() => {
8632
8742
  const el = selected ? tabRefs.current[selected] : null;
8633
8743
  if (el) setIndicator({ left: el.offsetLeft, width: el.offsetWidth });
8634
8744
  }, [selected]);
8635
- React79.useLayoutEffect(() => {
8745
+ React80.useLayoutEffect(() => {
8636
8746
  measure();
8637
8747
  }, [measure, items]);
8638
- React79.useEffect(() => {
8748
+ React80.useEffect(() => {
8639
8749
  window.addEventListener("resize", measure);
8640
8750
  const ro = typeof ResizeObserver !== "undefined" ? new ResizeObserver(() => measure()) : null;
8641
8751
  Object.values(tabRefs.current).forEach((el) => el && ro?.observe(el));
@@ -8665,7 +8775,7 @@ var Tabs = React79.forwardRef(
8665
8775
  };
8666
8776
  const tabId = (v) => `${baseId}-tab-${v}`;
8667
8777
  const panelId = (v) => `${baseId}-panel-${v}`;
8668
- return /* @__PURE__ */ (0, import_jsx_runtime79.jsxs)(
8778
+ return /* @__PURE__ */ (0, import_jsx_runtime80.jsxs)(
8669
8779
  "div",
8670
8780
  {
8671
8781
  ref,
@@ -8675,7 +8785,7 @@ var Tabs = React79.forwardRef(
8675
8785
  ),
8676
8786
  ...rest,
8677
8787
  children: [
8678
- /* @__PURE__ */ (0, import_jsx_runtime79.jsxs)(
8788
+ /* @__PURE__ */ (0, import_jsx_runtime80.jsxs)(
8679
8789
  "div",
8680
8790
  {
8681
8791
  role: "tablist",
@@ -8683,7 +8793,7 @@ var Tabs = React79.forwardRef(
8683
8793
  onKeyDown,
8684
8794
  className: "relative flex min-w-0 items-center gap-xs overflow-x-auto p-sm",
8685
8795
  children: [
8686
- /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(
8796
+ /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(
8687
8797
  "span",
8688
8798
  {
8689
8799
  "aria-hidden": "true",
@@ -8697,7 +8807,7 @@ var Tabs = React79.forwardRef(
8697
8807
  ),
8698
8808
  items.map((item) => {
8699
8809
  const isSelected = item.value === selected;
8700
- return /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(
8810
+ return /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(
8701
8811
  Tab,
8702
8812
  {
8703
8813
  ref: (el) => {
@@ -8713,9 +8823,9 @@ var Tabs = React79.forwardRef(
8713
8823
  disabled: item.disabled,
8714
8824
  leadingIcon: item.icon,
8715
8825
  onClick: () => select(item.value),
8716
- children: /* @__PURE__ */ (0, import_jsx_runtime79.jsxs)("span", { className: "inline-flex items-center gap-sm", children: [
8826
+ children: /* @__PURE__ */ (0, import_jsx_runtime80.jsxs)("span", { className: "inline-flex items-center gap-sm", children: [
8717
8827
  item.label,
8718
- item.badge != null ? /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(Badge, { size: "sm", tone: isSelected ? "primary" : "neutral", children: item.badge }) : null
8828
+ item.badge != null ? /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(Badge, { size: "sm", tone: isSelected ? "primary" : "neutral", children: item.badge }) : null
8719
8829
  ] })
8720
8830
  },
8721
8831
  item.value
@@ -8726,7 +8836,7 @@ var Tabs = React79.forwardRef(
8726
8836
  ),
8727
8837
  items.map((item) => {
8728
8838
  const isSelected = item.value === selected;
8729
- return /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(
8839
+ return /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(
8730
8840
  "div",
8731
8841
  {
8732
8842
  id: panelId(item.value),
@@ -8748,26 +8858,26 @@ var Tabs = React79.forwardRef(
8748
8858
  Tabs.displayName = "Tabs";
8749
8859
 
8750
8860
  // virtual-pkg:src/atoms/TestimonialBlock/TestimonialBlock.tsx
8751
- var React80 = __toESM(require("react"));
8752
- var import_jsx_runtime80 = require("react/jsx-runtime");
8861
+ var React81 = __toESM(require("react"));
8862
+ var import_jsx_runtime81 = require("react/jsx-runtime");
8753
8863
  var cn61 = (...parts) => parts.filter(Boolean).join(" ");
8754
8864
  function QuoteCard({ t }) {
8755
- return /* @__PURE__ */ (0, import_jsx_runtime80.jsxs)("figure", { className: "m-0 flex h-full flex-col justify-between gap-base rounded-lg border border-hairline bg-canvas p-lg shadow-card", children: [
8756
- /* @__PURE__ */ (0, import_jsx_runtime80.jsx)("blockquote", { className: "m-0", children: /* @__PURE__ */ (0, import_jsx_runtime80.jsxs)("p", { className: "text-body-lg text-ink", children: [
8865
+ return /* @__PURE__ */ (0, import_jsx_runtime81.jsxs)("figure", { className: "m-0 flex h-full flex-col justify-between gap-base rounded-lg border border-hairline bg-canvas p-lg shadow-card", children: [
8866
+ /* @__PURE__ */ (0, import_jsx_runtime81.jsx)("blockquote", { className: "m-0", children: /* @__PURE__ */ (0, import_jsx_runtime81.jsxs)("p", { className: "text-body-lg text-ink", children: [
8757
8867
  "\u201C",
8758
8868
  t.quote,
8759
8869
  "\u201D"
8760
8870
  ] }) }),
8761
- /* @__PURE__ */ (0, import_jsx_runtime80.jsxs)("figcaption", { className: "flex items-center gap-md", children: [
8762
- /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(Avatar, { size: "lg", name: t.name, src: t.avatarSrc, alt: t.name }),
8763
- /* @__PURE__ */ (0, import_jsx_runtime80.jsxs)("div", { className: "flex min-w-0 flex-col", children: [
8764
- /* @__PURE__ */ (0, import_jsx_runtime80.jsx)("span", { className: "truncate text-body-sm font-weight-label text-ink", children: t.name }),
8765
- t.role ? /* @__PURE__ */ (0, import_jsx_runtime80.jsx)("span", { className: "truncate text-caption text-muted", children: t.role }) : null
8871
+ /* @__PURE__ */ (0, import_jsx_runtime81.jsxs)("figcaption", { className: "flex items-center gap-md", children: [
8872
+ /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(Avatar, { size: "lg", name: t.name, src: t.avatarSrc, alt: t.name }),
8873
+ /* @__PURE__ */ (0, import_jsx_runtime81.jsxs)("div", { className: "flex min-w-0 flex-col", children: [
8874
+ /* @__PURE__ */ (0, import_jsx_runtime81.jsx)("span", { className: "truncate text-body-sm font-weight-label text-ink", children: t.name }),
8875
+ t.role ? /* @__PURE__ */ (0, import_jsx_runtime81.jsx)("span", { className: "truncate text-caption text-muted", children: t.role }) : null
8766
8876
  ] })
8767
8877
  ] })
8768
8878
  ] });
8769
8879
  }
8770
- var TestimonialBlock = React80.forwardRef(
8880
+ var TestimonialBlock = React81.forwardRef(
8771
8881
  ({
8772
8882
  testimonials = [],
8773
8883
  logos,
@@ -8777,7 +8887,7 @@ var TestimonialBlock = React80.forwardRef(
8777
8887
  ...rest
8778
8888
  }, ref) => {
8779
8889
  const many = testimonials.length > 1;
8780
- return /* @__PURE__ */ (0, import_jsx_runtime80.jsxs)(
8890
+ return /* @__PURE__ */ (0, import_jsx_runtime81.jsxs)(
8781
8891
  "section",
8782
8892
  {
8783
8893
  ref,
@@ -8785,18 +8895,18 @@ var TestimonialBlock = React80.forwardRef(
8785
8895
  className: cn61("flex w-full flex-col gap-xl", className),
8786
8896
  ...rest,
8787
8897
  children: [
8788
- logos && logos.length ? /* @__PURE__ */ (0, import_jsx_runtime80.jsxs)("div", { className: "flex flex-col items-center gap-lg py-base", children: [
8789
- /* @__PURE__ */ (0, import_jsx_runtime80.jsx)("p", { className: "text-body-md text-muted", children: logosTitle }),
8790
- /* @__PURE__ */ (0, import_jsx_runtime80.jsx)("ul", { className: "flex flex-wrap items-center justify-center gap-x-xl gap-y-base", children: logos.map((l) => /* @__PURE__ */ (0, import_jsx_runtime80.jsx)("li", { className: "text-ink", children: /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(
8898
+ logos && logos.length ? /* @__PURE__ */ (0, import_jsx_runtime81.jsxs)("div", { className: "flex flex-col items-center gap-lg py-base", children: [
8899
+ /* @__PURE__ */ (0, import_jsx_runtime81.jsx)("p", { className: "text-body-md text-muted", children: logosTitle }),
8900
+ /* @__PURE__ */ (0, import_jsx_runtime81.jsx)("ul", { className: "flex flex-wrap items-center justify-center gap-x-xl gap-y-base", children: logos.map((l) => /* @__PURE__ */ (0, import_jsx_runtime81.jsx)("li", { className: "text-ink", children: /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(
8791
8901
  Logo,
8792
8902
  {
8793
8903
  size: "md",
8794
8904
  name: l.name,
8795
- mark: l.icon ? /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(Icon, { name: l.icon, size: 20 }) : void 0
8905
+ mark: l.icon ? /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(Icon, { name: l.icon, size: 20 }) : void 0
8796
8906
  }
8797
8907
  ) }, l.name)) })
8798
8908
  ] }) : null,
8799
- testimonials.length ? /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(
8909
+ testimonials.length ? /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(
8800
8910
  "div",
8801
8911
  {
8802
8912
  className: cn61(
@@ -8804,7 +8914,7 @@ var TestimonialBlock = React80.forwardRef(
8804
8914
  many ? "grid-cols-1 md:grid-cols-2" : "grid-cols-1",
8805
8915
  testimonials.length > 2 && "lg:grid-cols-3"
8806
8916
  ),
8807
- children: testimonials.map((t) => /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(QuoteCard, { t }, t.id))
8917
+ children: testimonials.map((t) => /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(QuoteCard, { t }, t.id))
8808
8918
  }
8809
8919
  ) : null
8810
8920
  ]
@@ -8815,9 +8925,9 @@ var TestimonialBlock = React80.forwardRef(
8815
8925
  TestimonialBlock.displayName = "TestimonialBlock";
8816
8926
 
8817
8927
  // virtual-pkg:src/atoms/Toast/Toast.tsx
8818
- var React81 = __toESM(require("react"));
8928
+ var React82 = __toESM(require("react"));
8819
8929
  var import_react_dom10 = require("react-dom");
8820
- var import_jsx_runtime81 = require("react/jsx-runtime");
8930
+ var import_jsx_runtime82 = require("react/jsx-runtime");
8821
8931
  var cn62 = (...parts) => parts.filter(Boolean).join(" ");
8822
8932
  var toneIcon2 = {
8823
8933
  success: { name: "circle-check", color: "text-inverse-ink" },
@@ -8828,7 +8938,7 @@ var placementClass = {
8828
8938
  "bottom-center": "fixed bottom-lg left-1/2 -translate-x-1/2 w-[calc(100%-2rem)] sm:w-auto sm:min-w-[22rem]",
8829
8939
  "bottom-right": "fixed bottom-lg right-lg left-lg sm:left-auto sm:min-w-[22rem]"
8830
8940
  };
8831
- var Toast = React81.forwardRef(
8941
+ var Toast = React82.forwardRef(
8832
8942
  ({
8833
8943
  open = true,
8834
8944
  onOpenChange,
@@ -8842,16 +8952,16 @@ var Toast = React81.forwardRef(
8842
8952
  className,
8843
8953
  ...rest
8844
8954
  }, ref) => {
8845
- const [mounted, setMounted] = React81.useState(false);
8846
- React81.useEffect(() => setMounted(true), []);
8847
- React81.useEffect(() => {
8955
+ const [mounted, setMounted] = React82.useState(false);
8956
+ React82.useEffect(() => setMounted(true), []);
8957
+ React82.useEffect(() => {
8848
8958
  if (!open || !duration || !onOpenChange) return;
8849
8959
  const t = window.setTimeout(() => onOpenChange(false), duration);
8850
8960
  return () => window.clearTimeout(t);
8851
8961
  }, [open, duration, onOpenChange]);
8852
8962
  const glyph2 = toneIcon2[tone];
8853
8963
  const floating = placement !== "inline";
8854
- const card = /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(
8964
+ const card = /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(
8855
8965
  "div",
8856
8966
  {
8857
8967
  className: cn62(
@@ -8859,7 +8969,7 @@ var Toast = React81.forwardRef(
8859
8969
  "pointer-events-none"
8860
8970
  ),
8861
8971
  style: { zIndex: open ? "var(--z-toast, 1400)" : void 0 },
8862
- children: /* @__PURE__ */ (0, import_jsx_runtime81.jsxs)(
8972
+ children: /* @__PURE__ */ (0, import_jsx_runtime82.jsxs)(
8863
8973
  "div",
8864
8974
  {
8865
8975
  ref,
@@ -8877,9 +8987,9 @@ var Toast = React81.forwardRef(
8877
8987
  ),
8878
8988
  ...rest,
8879
8989
  children: [
8880
- /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(Icon, { name: icon ?? glyph2.name, size: 18, className: cn62("shrink-0", glyph2.color) }),
8881
- /* @__PURE__ */ (0, import_jsx_runtime81.jsx)("p", { className: "min-w-0 flex-1 py-xxs text-body-md text-inverse-ink [&_strong]:font-weight-label", children: title }),
8882
- actionLabel ? /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(
8990
+ /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(Icon, { name: icon ?? glyph2.name, size: 18, className: cn62("shrink-0", glyph2.color) }),
8991
+ /* @__PURE__ */ (0, import_jsx_runtime82.jsx)("p", { className: "min-w-0 flex-1 py-xxs text-body-md text-inverse-ink [&_strong]:font-weight-label", children: title }),
8992
+ actionLabel ? /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(
8883
8993
  Button,
8884
8994
  {
8885
8995
  variant: "ghost",
@@ -8892,7 +9002,7 @@ var Toast = React81.forwardRef(
8892
9002
  className: "shrink-0 text-inverse-ink enabled:hover:bg-inverse-ink/10 enabled:hover:text-inverse-ink",
8893
9003
  children: actionLabel
8894
9004
  }
8895
- ) : /* @__PURE__ */ (0, import_jsx_runtime81.jsx)("span", { className: "w-xs shrink-0", "aria-hidden": "true" })
9005
+ ) : /* @__PURE__ */ (0, import_jsx_runtime82.jsx)("span", { className: "w-xs shrink-0", "aria-hidden": "true" })
8896
9006
  ]
8897
9007
  }
8898
9008
  )
@@ -8907,7 +9017,7 @@ Toast.displayName = "Toast";
8907
9017
 
8908
9018
  // virtual-pkg:src/atoms/Typography/Typography.tsx
8909
9019
  var import_react7 = __toESM(require("react"));
8910
- var import_jsx_runtime82 = require("react/jsx-runtime");
9020
+ var import_jsx_runtime83 = require("react/jsx-runtime");
8911
9021
  function cn63(...parts) {
8912
9022
  return parts.filter(Boolean).join(" ");
8913
9023
  }
@@ -8957,7 +9067,7 @@ var toneClass2 = {
8957
9067
  var Typography = import_react7.default.forwardRef(
8958
9068
  ({ variant = "body", as, tone, truncate = false, className, children, ...rest }, ref) => {
8959
9069
  const Component = as ?? defaultElement[variant];
8960
- return /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(
9070
+ return /* @__PURE__ */ (0, import_jsx_runtime83.jsx)(
8961
9071
  Component,
8962
9072
  {
8963
9073
  ref,
@@ -8977,10 +9087,10 @@ var Typography = import_react7.default.forwardRef(
8977
9087
  Typography.displayName = "Typography";
8978
9088
 
8979
9089
  // virtual-pkg:src/atoms/Wizard/Wizard.tsx
8980
- var React83 = __toESM(require("react"));
8981
- var import_jsx_runtime83 = require("react/jsx-runtime");
9090
+ var React84 = __toESM(require("react"));
9091
+ var import_jsx_runtime84 = require("react/jsx-runtime");
8982
9092
  var cn64 = (...parts) => parts.filter(Boolean).join(" ");
8983
- var Wizard = React83.forwardRef(
9093
+ var Wizard = React84.forwardRef(
8984
9094
  ({
8985
9095
  title,
8986
9096
  description,
@@ -8999,8 +9109,8 @@ var Wizard = React83.forwardRef(
8999
9109
  className,
9000
9110
  ...rest
9001
9111
  }, ref) => {
9002
- const titleId = React83.useId();
9003
- const [inner, setInner] = React83.useState(defaultStep);
9112
+ const titleId = React84.useId();
9113
+ const [inner, setInner] = React84.useState(defaultStep);
9004
9114
  const step = stepProp ?? inner;
9005
9115
  const go = (next) => {
9006
9116
  const clamped = Math.max(0, Math.min(steps.length, next));
@@ -9011,7 +9121,7 @@ var Wizard = React83.forwardRef(
9011
9121
  const current = steps[step];
9012
9122
  const blocked = !reviewing && current?.canContinue === false;
9013
9123
  const statusOf = (i) => i < step ? "complete" : i === step ? "active" : "upcoming";
9014
- return /* @__PURE__ */ (0, import_jsx_runtime83.jsx)("div", { ref, className: cn64("w-full", className), ...rest, children: /* @__PURE__ */ (0, import_jsx_runtime83.jsxs)(
9124
+ return /* @__PURE__ */ (0, import_jsx_runtime84.jsx)("div", { ref, className: cn64("w-full", className), ...rest, children: /* @__PURE__ */ (0, import_jsx_runtime84.jsxs)(
9015
9125
  "section",
9016
9126
  {
9017
9127
  "aria-labelledby": titleId,
@@ -9020,40 +9130,40 @@ var Wizard = React83.forwardRef(
9020
9130
  chrome === "card" && "rounded-xl border border-hairline bg-canvas p-lg shadow-card"
9021
9131
  ),
9022
9132
  children: [
9023
- /* @__PURE__ */ (0, import_jsx_runtime83.jsxs)("header", { className: "flex flex-col gap-xs", children: [
9024
- /* @__PURE__ */ (0, import_jsx_runtime83.jsx)("h2", { id: titleId, className: "text-heading-md font-weight-heading-sm text-ink", children: title }),
9025
- (description || docsHref) && /* @__PURE__ */ (0, import_jsx_runtime83.jsxs)("p", { className: "text-body-sm text-muted", children: [
9133
+ /* @__PURE__ */ (0, import_jsx_runtime84.jsxs)("header", { className: "flex flex-col gap-xs", children: [
9134
+ /* @__PURE__ */ (0, import_jsx_runtime84.jsx)("h2", { id: titleId, className: "text-heading-md font-weight-heading-sm text-ink", children: title }),
9135
+ (description || docsHref) && /* @__PURE__ */ (0, import_jsx_runtime84.jsxs)("p", { className: "text-body-sm text-muted", children: [
9026
9136
  description,
9027
9137
  " ",
9028
- docsHref && /* @__PURE__ */ (0, import_jsx_runtime83.jsx)(Link, { href: docsHref, variant: "standalone", arrow: true, external: true, children: docsLabel })
9138
+ docsHref && /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(Link, { href: docsHref, variant: "standalone", arrow: true, external: true, children: docsLabel })
9029
9139
  ] })
9030
9140
  ] }),
9031
- /* @__PURE__ */ (0, import_jsx_runtime83.jsx)("ol", { className: "flex flex-col", "aria-label": "Steps", children: steps.map((s, i) => {
9141
+ /* @__PURE__ */ (0, import_jsx_runtime84.jsx)("ol", { className: "flex flex-col", "aria-label": "Steps", children: steps.map((s, i) => {
9032
9142
  const status = statusOf(i);
9033
9143
  const active = status === "active";
9034
- return /* @__PURE__ */ (0, import_jsx_runtime83.jsx)(
9144
+ return /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(
9035
9145
  StepperItem,
9036
9146
  {
9037
9147
  status,
9038
9148
  title: s.title,
9039
9149
  meta: active ? s.description : status === "complete" ? s.summary : void 0,
9040
9150
  connector: i < steps.length - 1,
9041
- children: s.content ? /* @__PURE__ */ (0, import_jsx_runtime83.jsx)(
9151
+ children: s.content ? /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(
9042
9152
  "div",
9043
9153
  {
9044
9154
  "data-state": active ? "open" : "closed",
9045
9155
  "aria-hidden": active ? void 0 : true,
9046
9156
  className: "grid transition-[grid-template-rows,opacity] duration-200 ease-out data-[state=open]:grid-rows-[1fr] data-[state=open]:opacity-100 data-[state=closed]:grid-rows-[0fr] data-[state=closed]:opacity-0",
9047
- children: /* @__PURE__ */ (0, import_jsx_runtime83.jsx)("div", { className: "min-h-0 overflow-hidden", children: /* @__PURE__ */ (0, import_jsx_runtime83.jsx)("div", { className: active ? "pb-xs" : "invisible", children: s.content }) })
9157
+ children: /* @__PURE__ */ (0, import_jsx_runtime84.jsx)("div", { className: "min-h-0 overflow-hidden", children: /* @__PURE__ */ (0, import_jsx_runtime84.jsx)("div", { className: active ? "pb-xs" : "invisible", children: s.content }) })
9048
9158
  }
9049
9159
  ) : null
9050
9160
  },
9051
9161
  s.id
9052
9162
  );
9053
9163
  }) }),
9054
- /* @__PURE__ */ (0, import_jsx_runtime83.jsxs)("footer", { className: "flex items-center justify-end gap-sm", children: [
9055
- step > 0 && /* @__PURE__ */ (0, import_jsx_runtime83.jsx)(Button, { variant: "secondary", onClick: () => go(step - 1), disabled: submitting, children: backLabel }),
9056
- reviewing ? /* @__PURE__ */ (0, import_jsx_runtime83.jsx)(Button, { variant: "primary", loading: submitting, onClick: onComplete, children: completeLabel }) : /* @__PURE__ */ (0, import_jsx_runtime83.jsx)(Button, { variant: "primary", disabled: blocked, onClick: () => go(step + 1), children: continueLabel })
9164
+ /* @__PURE__ */ (0, import_jsx_runtime84.jsxs)("footer", { className: "flex items-center justify-end gap-sm", children: [
9165
+ step > 0 && /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(Button, { variant: "secondary", onClick: () => go(step - 1), disabled: submitting, children: backLabel }),
9166
+ reviewing ? /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(Button, { variant: "primary", loading: submitting, onClick: onComplete, children: completeLabel }) : /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(Button, { variant: "primary", disabled: blocked, onClick: () => go(step + 1), children: continueLabel })
9057
9167
  ] })
9058
9168
  ]
9059
9169
  }