@designa8/vibedesign-linear-internal-v1-2-176b 0.1.2 → 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.js CHANGED
@@ -109,7 +109,8 @@ var ICON_REGISTRY = {
109
109
  "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" }] },
110
110
  "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" }] },
111
111
  "circle": { viewBox: "0 0 24 24", nodes: [{ tag: "circle", cx: "12", cy: "12", r: "10" }] },
112
- "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" }] }
112
+ "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" }] },
113
+ "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" }] }
113
114
  };
114
115
 
115
116
  // virtual-pkg:src/atoms/Icon/Icon.tsx
@@ -5216,11 +5217,119 @@ var HeroSection = React51.forwardRef(
5216
5217
  );
5217
5218
  HeroSection.displayName = "HeroSection";
5218
5219
 
5219
- // virtual-pkg:src/atoms/ListItem/ListItem.tsx
5220
+ // virtual-pkg:src/atoms/IssueCard/IssueCard.tsx
5220
5221
  import * as React52 from "react";
5221
5222
  import { jsx as jsx52, jsxs as jsxs46 } from "react/jsx-runtime";
5223
+ var MAX_LABELS = 3;
5224
+ var IssueCard = React52.forwardRef(
5225
+ ({
5226
+ id,
5227
+ title,
5228
+ status,
5229
+ priority,
5230
+ labels,
5231
+ assignee,
5232
+ meta,
5233
+ actions,
5234
+ href,
5235
+ onClick,
5236
+ selected = false,
5237
+ dragging = false,
5238
+ className,
5239
+ ...rest
5240
+ }, ref) => {
5241
+ const interactive = Boolean(href) || Boolean(onClick);
5242
+ 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";
5243
+ const rootClass = [
5244
+ "group/issue relative flex w-full select-none flex-col gap-xs rounded-lg border p-md text-left transition duration-150 ease-out",
5245
+ surface,
5246
+ dragging ? "-rotate-1 shadow-lg" : "shadow-card",
5247
+ interactive ? "cursor-pointer" : "",
5248
+ className
5249
+ ].filter(Boolean).join(" ");
5250
+ const visibleLabels = labels?.slice(0, MAX_LABELS) ?? [];
5251
+ const hiddenLabelCount = (labels?.length ?? 0) - visibleLabels.length;
5252
+ const hasFooter = Boolean(meta) || Boolean(assignee);
5253
+ const triggerLabel = typeof title === "string" ? `${id}: ${title}` : `Issue ${id}`;
5254
+ const triggerClass = [
5255
+ "absolute inset-0 rounded-lg",
5256
+ "cursor-pointer transition duration-150 ease-out outline-none",
5257
+ "focus-visible:ring-2 focus-visible:ring-focus-blue focus-visible:ring-offset-2 focus-visible:ring-offset-canvas"
5258
+ ].join(" ");
5259
+ const handleTriggerKeyDown = (event) => {
5260
+ if (!onClick) return;
5261
+ if (event.key === "Enter" || event.key === " " || event.key === "Spacebar") {
5262
+ event.preventDefault();
5263
+ onClick(event);
5264
+ }
5265
+ };
5266
+ return /* @__PURE__ */ jsxs46(
5267
+ "div",
5268
+ {
5269
+ ref,
5270
+ "data-selected": selected || void 0,
5271
+ "data-dragging": dragging || void 0,
5272
+ className: rootClass,
5273
+ ...rest,
5274
+ children: [
5275
+ /* @__PURE__ */ jsxs46("div", { className: "flex items-start justify-between gap-sm", children: [
5276
+ /* @__PURE__ */ jsxs46("div", { className: "flex min-w-0 items-center gap-xs", children: [
5277
+ priority ? /* @__PURE__ */ jsx52("span", { className: "flex shrink-0 items-center", children: priority }) : null,
5278
+ /* @__PURE__ */ jsx52("span", { className: "truncate text-caption tabular-nums text-muted", children: id })
5279
+ ] }),
5280
+ actions ? /* @__PURE__ */ jsx52("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
5281
+ ] }),
5282
+ /* @__PURE__ */ jsxs46("div", { className: "flex items-start gap-xs", children: [
5283
+ status ? /* @__PURE__ */ jsx52("span", { className: "mt-xxs flex shrink-0 items-center", children: status }) : null,
5284
+ /* @__PURE__ */ jsx52("p", { className: "line-clamp-2 min-w-0 text-body-md text-ink", children: title })
5285
+ ] }),
5286
+ visibleLabels.length > 0 ? /* @__PURE__ */ jsxs46("div", { className: "mt-xxs flex flex-wrap items-center gap-xs", children: [
5287
+ visibleLabels.map((label) => /* @__PURE__ */ jsx52(Badge, { tone: label.tone, size: "sm", children: label.name }, label.name)),
5288
+ hiddenLabelCount > 0 ? /* @__PURE__ */ jsxs46(Badge, { tone: "neutral", size: "sm", children: [
5289
+ /* @__PURE__ */ jsxs46("span", { className: "tabular-nums", children: [
5290
+ "+",
5291
+ hiddenLabelCount
5292
+ ] }),
5293
+ /* @__PURE__ */ jsx52("span", { className: "sr-only", children: " more labels" })
5294
+ ] }) : null
5295
+ ] }) : null,
5296
+ hasFooter ? /* @__PURE__ */ jsxs46("div", { className: "mt-xxs flex items-center justify-between gap-sm", children: [
5297
+ /* @__PURE__ */ jsx52("span", { className: "truncate text-caption text-muted-soft", children: meta }),
5298
+ assignee ? /* @__PURE__ */ jsx52(Avatar, { size: "xs", name: assignee.name, src: assignee.src, className: "shrink-0" }) : null
5299
+ ] }) : null,
5300
+ href ? /* @__PURE__ */ jsx52(
5301
+ "a",
5302
+ {
5303
+ href,
5304
+ onClick,
5305
+ "aria-label": triggerLabel,
5306
+ "aria-current": selected ? "true" : void 0,
5307
+ className: triggerClass
5308
+ }
5309
+ ) : onClick ? /* @__PURE__ */ jsx52(
5310
+ "a",
5311
+ {
5312
+ role: "button",
5313
+ tabIndex: 0,
5314
+ onClick,
5315
+ onKeyDown: handleTriggerKeyDown,
5316
+ "aria-label": triggerLabel,
5317
+ "aria-pressed": selected,
5318
+ className: triggerClass
5319
+ }
5320
+ ) : null
5321
+ ]
5322
+ }
5323
+ );
5324
+ }
5325
+ );
5326
+ IssueCard.displayName = "IssueCard";
5327
+
5328
+ // virtual-pkg:src/atoms/ListItem/ListItem.tsx
5329
+ import * as React53 from "react";
5330
+ import { jsx as jsx53, jsxs as jsxs47 } from "react/jsx-runtime";
5222
5331
  var cn40 = (...parts) => parts.filter(Boolean).join(" ");
5223
- var ListItem = React52.forwardRef(
5332
+ var ListItem = React53.forwardRef(
5224
5333
  ({
5225
5334
  title,
5226
5335
  meta,
@@ -5234,7 +5343,7 @@ var ListItem = React52.forwardRef(
5234
5343
  onClick,
5235
5344
  className,
5236
5345
  ...rest
5237
- }, ref) => /* @__PURE__ */ jsxs46(
5346
+ }, ref) => /* @__PURE__ */ jsxs47(
5238
5347
  "a",
5239
5348
  {
5240
5349
  ref,
@@ -5262,12 +5371,12 @@ var ListItem = React52.forwardRef(
5262
5371
  ),
5263
5372
  ...rest,
5264
5373
  children: [
5265
- leading ?? (icon && /* @__PURE__ */ jsx52(Icon, { name: icon, size: 18, className: "shrink-0 text-ink group-data-[disabled]:text-muted" })),
5266
- /* @__PURE__ */ jsxs46("span", { className: "flex min-w-0 flex-1 flex-col", children: [
5267
- /* @__PURE__ */ jsx52("span", { className: "truncate text-body-md text-ink group-data-[disabled]:text-muted", children: title }),
5268
- meta && /* @__PURE__ */ jsx52("span", { className: "truncate text-body-sm text-muted", children: meta })
5374
+ leading ?? (icon && /* @__PURE__ */ jsx53(Icon, { name: icon, size: 18, className: "shrink-0 text-ink group-data-[disabled]:text-muted" })),
5375
+ /* @__PURE__ */ jsxs47("span", { className: "flex min-w-0 flex-1 flex-col", children: [
5376
+ /* @__PURE__ */ jsx53("span", { className: "truncate text-body-md text-ink group-data-[disabled]:text-muted", children: title }),
5377
+ meta && /* @__PURE__ */ jsx53("span", { className: "truncate text-body-sm text-muted", children: meta })
5269
5378
  ] }),
5270
- trailing === void 0 ? /* @__PURE__ */ jsx52(
5379
+ trailing === void 0 ? /* @__PURE__ */ jsx53(
5271
5380
  Icon,
5272
5381
  {
5273
5382
  name: "chevron-right",
@@ -5282,16 +5391,16 @@ var ListItem = React52.forwardRef(
5282
5391
  ListItem.displayName = "ListItem";
5283
5392
 
5284
5393
  // virtual-pkg:src/atoms/Modal/Modal.tsx
5285
- import * as React53 from "react";
5394
+ import * as React54 from "react";
5286
5395
  import { createPortal as createPortal6 } from "react-dom";
5287
- import { jsx as jsx53, jsxs as jsxs47 } from "react/jsx-runtime";
5396
+ import { jsx as jsx54, jsxs as jsxs48 } from "react/jsx-runtime";
5288
5397
  var cn41 = (...parts) => parts.filter(Boolean).join(" ");
5289
5398
  var WIDTH = {
5290
5399
  sm: "sm:w-[var(--container-modal-sm,400px)]",
5291
5400
  md: "sm:w-[var(--container-modal,520px)]",
5292
5401
  lg: "sm:w-[var(--container-modal-lg,680px)]"
5293
5402
  };
5294
- var Modal = React53.forwardRef(
5403
+ var Modal = React54.forwardRef(
5295
5404
  ({
5296
5405
  open,
5297
5406
  onOpenChange,
@@ -5310,12 +5419,12 @@ var Modal = React53.forwardRef(
5310
5419
  children,
5311
5420
  ...rest
5312
5421
  }, ref) => {
5313
- const titleId = React53.useId();
5314
- const descId = React53.useId();
5315
- const panelRef = React53.useRef(null);
5316
- const [mounted, setMounted] = React53.useState(false);
5317
- React53.useEffect(() => setMounted(true), []);
5318
- React53.useEffect(() => {
5422
+ const titleId = React54.useId();
5423
+ const descId = React54.useId();
5424
+ const panelRef = React54.useRef(null);
5425
+ const [mounted, setMounted] = React54.useState(false);
5426
+ React54.useEffect(() => setMounted(true), []);
5427
+ React54.useEffect(() => {
5319
5428
  if (!open) return;
5320
5429
  const onKey = (e) => {
5321
5430
  if (e.key === "Escape") onOpenChange(false);
@@ -5348,7 +5457,7 @@ var Modal = React53.forwardRef(
5348
5457
  const visibleTitle = hasTitle && !headerHidden;
5349
5458
  const srOnlyTitle = hasTitle && headerHidden && !ariaLabel;
5350
5459
  const labelledBy = visibleTitle || srOnlyTitle ? titleId : void 0;
5351
- const node = /* @__PURE__ */ jsxs47(
5460
+ const node = /* @__PURE__ */ jsxs48(
5352
5461
  "div",
5353
5462
  {
5354
5463
  "data-state": state,
@@ -5359,7 +5468,7 @@ var Modal = React53.forwardRef(
5359
5468
  ),
5360
5469
  style: { zIndex: "var(--z-modal, 1200)" },
5361
5470
  children: [
5362
- /* @__PURE__ */ jsx53(
5471
+ /* @__PURE__ */ jsx54(
5363
5472
  "div",
5364
5473
  {
5365
5474
  "data-state": state,
@@ -5367,7 +5476,7 @@ var Modal = React53.forwardRef(
5367
5476
  className: "fixed inset-0 bg-scrim/40 transition-opacity duration-200 ease-out data-[state=open]:opacity-100 data-[state=closed]:opacity-0"
5368
5477
  }
5369
5478
  ),
5370
- /* @__PURE__ */ jsxs47(
5479
+ /* @__PURE__ */ jsxs48(
5371
5480
  "div",
5372
5481
  {
5373
5482
  ref: (el) => {
@@ -5391,13 +5500,13 @@ var Modal = React53.forwardRef(
5391
5500
  ),
5392
5501
  ...rest,
5393
5502
  children: [
5394
- srOnlyTitle && /* @__PURE__ */ jsx53("span", { id: titleId, className: "sr-only", children: title }),
5395
- hasHeader && /* @__PURE__ */ jsxs47("div", { className: "flex shrink-0 items-start justify-between gap-sm px-lg pb-sm pt-lg", children: [
5396
- /* @__PURE__ */ jsxs47("div", { className: "flex min-w-0 flex-1 flex-col gap-xxs", children: [
5397
- hasTitle && /* @__PURE__ */ jsx53("h2", { id: titleId, className: "text-heading-sm text-ink", children: title }),
5398
- description && /* @__PURE__ */ jsx53("p", { id: descId, className: "text-body-sm text-muted", children: description })
5503
+ srOnlyTitle && /* @__PURE__ */ jsx54("span", { id: titleId, className: "sr-only", children: title }),
5504
+ hasHeader && /* @__PURE__ */ jsxs48("div", { className: "flex shrink-0 items-start justify-between gap-sm px-lg pb-sm pt-lg", children: [
5505
+ /* @__PURE__ */ jsxs48("div", { className: "flex min-w-0 flex-1 flex-col gap-xxs", children: [
5506
+ hasTitle && /* @__PURE__ */ jsx54("h2", { id: titleId, className: "text-heading-sm text-ink", children: title }),
5507
+ description && /* @__PURE__ */ jsx54("p", { id: descId, className: "text-body-sm text-muted", children: description })
5399
5508
  ] }),
5400
- showClose && /* @__PURE__ */ jsx53(
5509
+ showClose && /* @__PURE__ */ jsx54(
5401
5510
  IconButton,
5402
5511
  {
5403
5512
  icon: "x",
@@ -5408,7 +5517,7 @@ var Modal = React53.forwardRef(
5408
5517
  }
5409
5518
  )
5410
5519
  ] }),
5411
- children != null && children !== false && /* @__PURE__ */ jsx53(
5520
+ children != null && children !== false && /* @__PURE__ */ jsx54(
5412
5521
  "div",
5413
5522
  {
5414
5523
  className: cn41(
@@ -5419,7 +5528,7 @@ var Modal = React53.forwardRef(
5419
5528
  children
5420
5529
  }
5421
5530
  ),
5422
- footer && /* @__PURE__ */ jsx53("div", { className: "flex shrink-0 items-center justify-end gap-sm px-lg pb-lg pt-xs", children: footer })
5531
+ footer && /* @__PURE__ */ jsx54("div", { className: "flex shrink-0 items-center justify-end gap-sm px-lg pb-lg pt-xs", children: footer })
5423
5532
  ]
5424
5533
  }
5425
5534
  )
@@ -5432,14 +5541,14 @@ var Modal = React53.forwardRef(
5432
5541
  Modal.displayName = "Modal";
5433
5542
 
5434
5543
  // virtual-pkg:src/atoms/Navbar/Navbar.tsx
5435
- import * as React56 from "react";
5544
+ import * as React57 from "react";
5436
5545
 
5437
5546
  // virtual-pkg:src/atoms/NavbarDesktop/NavbarDesktop.tsx
5438
- import * as React54 from "react";
5547
+ import * as React55 from "react";
5439
5548
  import { createPortal as createPortal7 } from "react-dom";
5440
- import { jsx as jsx54, jsxs as jsxs48 } from "react/jsx-runtime";
5549
+ import { jsx as jsx55, jsxs as jsxs49 } from "react/jsx-runtime";
5441
5550
  var cn42 = (...parts) => parts.filter(Boolean).join(" ");
5442
- var NavbarDesktop = React54.forwardRef(
5551
+ var NavbarDesktop = React55.forwardRef(
5443
5552
  ({
5444
5553
  brandName = "Linear",
5445
5554
  brandHref = "#",
@@ -5455,26 +5564,26 @@ var NavbarDesktop = React54.forwardRef(
5455
5564
  className,
5456
5565
  ...rest
5457
5566
  }, ref) => {
5458
- const menuId = React54.useId();
5459
- const triggerRef = React54.useRef(null);
5460
- const panelRef = React54.useRef(null);
5461
- const [innerOpen, setInnerOpen] = React54.useState(false);
5462
- const [mounted, setMounted] = React54.useState(false);
5463
- const [rect, setRect] = React54.useState(null);
5567
+ const menuId = React55.useId();
5568
+ const triggerRef = React55.useRef(null);
5569
+ const panelRef = React55.useRef(null);
5570
+ const [innerOpen, setInnerOpen] = React55.useState(false);
5571
+ const [mounted, setMounted] = React55.useState(false);
5572
+ const [rect, setRect] = React55.useState(null);
5464
5573
  const open = menuOpen ?? innerOpen;
5465
- React54.useEffect(() => setMounted(true), []);
5466
- const setOpen = React54.useCallback(
5574
+ React55.useEffect(() => setMounted(true), []);
5575
+ const setOpen = React55.useCallback(
5467
5576
  (next) => {
5468
5577
  if (menuOpen === void 0) setInnerOpen(next);
5469
5578
  onMenuOpenChange?.(next);
5470
5579
  },
5471
5580
  [menuOpen, onMenuOpenChange]
5472
5581
  );
5473
- const place2 = React54.useCallback(() => {
5582
+ const place2 = React55.useCallback(() => {
5474
5583
  const box = triggerRef.current?.getBoundingClientRect();
5475
5584
  if (box) setRect({ top: box.bottom + 6, right: window.innerWidth - box.right });
5476
5585
  }, []);
5477
- React54.useLayoutEffect(() => {
5586
+ React55.useLayoutEffect(() => {
5478
5587
  if (!open) return;
5479
5588
  place2();
5480
5589
  window.addEventListener("resize", place2);
@@ -5484,7 +5593,7 @@ var NavbarDesktop = React54.forwardRef(
5484
5593
  window.removeEventListener("scroll", place2, true);
5485
5594
  };
5486
5595
  }, [open, place2]);
5487
- React54.useEffect(() => {
5596
+ React55.useEffect(() => {
5488
5597
  if (!open) return;
5489
5598
  const onDown = (e) => {
5490
5599
  const t = e.target;
@@ -5514,7 +5623,7 @@ var NavbarDesktop = React54.forwardRef(
5514
5623
  const next = e.key === "ArrowDown" ? (idx + 1) % rows.length : (idx - 1 + rows.length) % rows.length;
5515
5624
  rows[next]?.focus();
5516
5625
  };
5517
- const panel = /* @__PURE__ */ jsx54(
5626
+ const panel = /* @__PURE__ */ jsx55(
5518
5627
  "div",
5519
5628
  {
5520
5629
  ref: panelRef,
@@ -5531,9 +5640,9 @@ var NavbarDesktop = React54.forwardRef(
5531
5640
  zIndex: "var(--z-popover, 1300)"
5532
5641
  },
5533
5642
  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",
5534
- children: menuItems.map((m) => /* @__PURE__ */ jsxs48(React54.Fragment, { children: [
5535
- m.separated && /* @__PURE__ */ jsx54(Divider, { className: "my-xs" }),
5536
- /* @__PURE__ */ jsx54(
5643
+ children: menuItems.map((m) => /* @__PURE__ */ jsxs49(React55.Fragment, { children: [
5644
+ m.separated && /* @__PURE__ */ jsx55(Divider, { className: "my-xs" }),
5645
+ /* @__PURE__ */ jsx55(
5537
5646
  MenuItem,
5538
5647
  {
5539
5648
  icon: m.icon,
@@ -5550,7 +5659,7 @@ var NavbarDesktop = React54.forwardRef(
5550
5659
  ] }, m.label))
5551
5660
  }
5552
5661
  );
5553
- return /* @__PURE__ */ jsxs48(
5662
+ return /* @__PURE__ */ jsxs49(
5554
5663
  "header",
5555
5664
  {
5556
5665
  ref,
@@ -5560,11 +5669,11 @@ var NavbarDesktop = React54.forwardRef(
5560
5669
  ),
5561
5670
  ...rest,
5562
5671
  children: [
5563
- /* @__PURE__ */ jsx54(Logo, { name: brandName, href: brandHref, size: "md", className: "shrink-0" }),
5564
- /* @__PURE__ */ jsx54("span", { className: "flex h-5 shrink-0", children: /* @__PURE__ */ jsx54(Divider, { orientation: "vertical" }) }),
5565
- /* @__PURE__ */ jsx54("nav", { "aria-label": "Primary", className: "flex min-w-0 flex-1 items-center gap-xxs overflow-x-auto", children: items.map((item) => {
5672
+ /* @__PURE__ */ jsx55(Logo, { name: brandName, href: brandHref, size: "md", className: "shrink-0" }),
5673
+ /* @__PURE__ */ jsx55("span", { className: "flex h-5 shrink-0", children: /* @__PURE__ */ jsx55(Divider, { orientation: "vertical" }) }),
5674
+ /* @__PURE__ */ jsx55("nav", { "aria-label": "Primary", className: "flex min-w-0 flex-1 items-center gap-xxs overflow-x-auto", children: items.map((item) => {
5566
5675
  const current = item.href === activeHref;
5567
- return /* @__PURE__ */ jsxs48(
5676
+ return /* @__PURE__ */ jsxs49(
5568
5677
  "a",
5569
5678
  {
5570
5679
  href: item.href,
@@ -5575,16 +5684,16 @@ var NavbarDesktop = React54.forwardRef(
5575
5684
  current ? "bg-surface-strong text-ink font-weight-label" : "text-body hover:bg-surface-soft hover:text-ink active:bg-surface-strong"
5576
5685
  ),
5577
5686
  children: [
5578
- item.icon && /* @__PURE__ */ jsx54(Icon, { name: item.icon, size: 16 }),
5687
+ item.icon && /* @__PURE__ */ jsx55(Icon, { name: item.icon, size: 16 }),
5579
5688
  item.label
5580
5689
  ]
5581
5690
  },
5582
5691
  item.href
5583
5692
  );
5584
5693
  }) }),
5585
- /* @__PURE__ */ jsxs48("div", { className: "flex shrink-0 items-center gap-xs", children: [
5586
- onSearch && /* @__PURE__ */ jsx54(IconButton, { icon: "search", variant: "ghost", "aria-label": "Search", onClick: onSearch }),
5587
- /* @__PURE__ */ jsx54(
5694
+ /* @__PURE__ */ jsxs49("div", { className: "flex shrink-0 items-center gap-xs", children: [
5695
+ onSearch && /* @__PURE__ */ jsx55(IconButton, { icon: "search", variant: "ghost", "aria-label": "Search", onClick: onSearch }),
5696
+ /* @__PURE__ */ jsx55(
5588
5697
  Button,
5589
5698
  {
5590
5699
  ref: triggerRef,
@@ -5598,8 +5707,8 @@ var NavbarDesktop = React54.forwardRef(
5598
5707
  if (!open) place2();
5599
5708
  setOpen(!open);
5600
5709
  },
5601
- leadingIcon: /* @__PURE__ */ jsx54(Avatar, { name: userName, src: userAvatarSrc, size: "sm" }),
5602
- trailingIcon: /* @__PURE__ */ jsx54(
5710
+ leadingIcon: /* @__PURE__ */ jsx55(Avatar, { name: userName, src: userAvatarSrc, size: "sm" }),
5711
+ trailingIcon: /* @__PURE__ */ jsx55(
5603
5712
  Icon,
5604
5713
  {
5605
5714
  name: "chevron-down",
@@ -5619,11 +5728,11 @@ var NavbarDesktop = React54.forwardRef(
5619
5728
  NavbarDesktop.displayName = "NavbarDesktop";
5620
5729
 
5621
5730
  // virtual-pkg:src/atoms/NavbarMobile/NavbarMobile.tsx
5622
- import * as React55 from "react";
5623
- import { Fragment as Fragment6, jsx as jsx55, jsxs as jsxs49 } from "react/jsx-runtime";
5731
+ import * as React56 from "react";
5732
+ import { Fragment as Fragment6, jsx as jsx56, jsxs as jsxs50 } from "react/jsx-runtime";
5624
5733
  var cn43 = (...parts) => parts.filter(Boolean).join(" ");
5625
5734
  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";
5626
- var NavbarMobile = React55.forwardRef(
5735
+ var NavbarMobile = React56.forwardRef(
5627
5736
  ({
5628
5737
  brandName = "Linear",
5629
5738
  brandHref = "#",
@@ -5639,14 +5748,14 @@ var NavbarMobile = React55.forwardRef(
5639
5748
  className,
5640
5749
  ...rest
5641
5750
  }, ref) => {
5642
- const panelId = React55.useId();
5643
- const [innerOpen, setInnerOpen] = React55.useState(defaultOpen);
5751
+ const panelId = React56.useId();
5752
+ const [innerOpen, setInnerOpen] = React56.useState(defaultOpen);
5644
5753
  const open = openProp ?? innerOpen;
5645
5754
  const setOpen = (next) => {
5646
5755
  if (openProp === void 0) setInnerOpen(next);
5647
5756
  onOpenChange?.(next);
5648
5757
  };
5649
- React55.useEffect(() => {
5758
+ React56.useEffect(() => {
5650
5759
  if (!open) return;
5651
5760
  const onKey = (e) => {
5652
5761
  if (e.key === "Escape") {
@@ -5658,7 +5767,7 @@ var NavbarMobile = React55.forwardRef(
5658
5767
  return () => document.removeEventListener("keydown", onKey);
5659
5768
  }, [open, openProp, onOpenChange]);
5660
5769
  const state = open ? "open" : "closed";
5661
- return /* @__PURE__ */ jsxs49(
5770
+ return /* @__PURE__ */ jsxs50(
5662
5771
  "header",
5663
5772
  {
5664
5773
  ref,
@@ -5666,9 +5775,9 @@ var NavbarMobile = React55.forwardRef(
5666
5775
  className: cn43("w-full border-b border-hairline bg-canvas text-ink", className),
5667
5776
  ...rest,
5668
5777
  children: [
5669
- /* @__PURE__ */ jsxs49("div", { className: "flex h-14 items-center justify-between gap-sm px-base", children: [
5670
- /* @__PURE__ */ jsx55(Logo, { name: brandName, href: brandHref, size: "md" }),
5671
- /* @__PURE__ */ jsx55(
5778
+ /* @__PURE__ */ jsxs50("div", { className: "flex h-14 items-center justify-between gap-sm px-base", children: [
5779
+ /* @__PURE__ */ jsx56(Logo, { name: brandName, href: brandHref, size: "md" }),
5780
+ /* @__PURE__ */ jsx56(
5672
5781
  IconButton,
5673
5782
  {
5674
5783
  icon: open ? "x" : "menu",
@@ -5680,22 +5789,22 @@ var NavbarMobile = React55.forwardRef(
5680
5789
  }
5681
5790
  )
5682
5791
  ] }),
5683
- /* @__PURE__ */ jsx55(
5792
+ /* @__PURE__ */ jsx56(
5684
5793
  "div",
5685
5794
  {
5686
5795
  id: panelId,
5687
5796
  "data-state": state,
5688
5797
  "aria-hidden": open ? void 0 : true,
5689
5798
  className: "grid transition-[grid-template-rows] duration-200 ease-out data-[state=open]:grid-rows-[1fr] data-[state=closed]:grid-rows-[0fr]",
5690
- children: /* @__PURE__ */ jsx55("div", { className: "min-h-0 overflow-hidden", children: /* @__PURE__ */ jsxs49(
5799
+ children: /* @__PURE__ */ jsx56("div", { className: "min-h-0 overflow-hidden", children: /* @__PURE__ */ jsxs50(
5691
5800
  "div",
5692
5801
  {
5693
5802
  "data-state": state,
5694
5803
  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",
5695
5804
  children: [
5696
- /* @__PURE__ */ jsx55("nav", { "aria-label": "Primary", className: "flex flex-col gap-xxs", children: items.map((item) => {
5805
+ /* @__PURE__ */ jsx56("nav", { "aria-label": "Primary", className: "flex flex-col gap-xxs", children: items.map((item) => {
5697
5806
  const current = item.href === activeHref;
5698
- return /* @__PURE__ */ jsxs49(
5807
+ return /* @__PURE__ */ jsxs50(
5699
5808
  "a",
5700
5809
  {
5701
5810
  href: item.href,
@@ -5710,31 +5819,31 @@ var NavbarMobile = React55.forwardRef(
5710
5819
  current ? "bg-surface-strong text-ink font-weight-label" : "text-ink hover:bg-surface-soft active:bg-surface-strong"
5711
5820
  ),
5712
5821
  children: [
5713
- item.icon && /* @__PURE__ */ jsx55(Icon, { name: item.icon, size: 16, className: "text-body" }),
5822
+ item.icon && /* @__PURE__ */ jsx56(Icon, { name: item.icon, size: 16, className: "text-body" }),
5714
5823
  item.label
5715
5824
  ]
5716
5825
  },
5717
5826
  item.href
5718
5827
  );
5719
5828
  }) }),
5720
- (userName || accountActions.length > 0) && /* @__PURE__ */ jsxs49(Fragment6, { children: [
5721
- /* @__PURE__ */ jsx55(Divider, { className: "my-sm" }),
5722
- userName && /* @__PURE__ */ jsxs49("div", { className: "flex items-center gap-sm px-base py-sm", children: [
5723
- /* @__PURE__ */ jsx55(Avatar, { name: userName, src: userAvatarSrc, size: "xs" }),
5724
- /* @__PURE__ */ jsx55("span", { className: "truncate text-body-md text-ink", children: userName })
5829
+ (userName || accountActions.length > 0) && /* @__PURE__ */ jsxs50(Fragment6, { children: [
5830
+ /* @__PURE__ */ jsx56(Divider, { className: "my-sm" }),
5831
+ userName && /* @__PURE__ */ jsxs50("div", { className: "flex items-center gap-sm px-base py-sm", children: [
5832
+ /* @__PURE__ */ jsx56(Avatar, { name: userName, src: userAvatarSrc, size: "xs" }),
5833
+ /* @__PURE__ */ jsx56("span", { className: "truncate text-body-md text-ink", children: userName })
5725
5834
  ] }),
5726
- /* @__PURE__ */ jsx55("div", { "aria-label": "Account", role: "group", className: "flex flex-col gap-xxs", children: accountActions.map((a) => /* @__PURE__ */ jsx55(
5835
+ /* @__PURE__ */ jsx56("div", { "aria-label": "Account", role: "group", className: "flex flex-col gap-xxs", children: accountActions.map((a) => /* @__PURE__ */ jsx56(
5727
5836
  Button,
5728
5837
  {
5729
5838
  variant: "item",
5730
5839
  size: "lg",
5731
5840
  tabIndex: open ? 0 : -1,
5732
- leadingIcon: a.icon ? /* @__PURE__ */ jsx55(Icon, { name: a.icon, size: 16, className: a.tone === "destructive" ? "text-semantic-error" : "text-body" }) : void 0,
5841
+ leadingIcon: a.icon ? /* @__PURE__ */ jsx56(Icon, { name: a.icon, size: 16, className: a.tone === "destructive" ? "text-semantic-error" : "text-body" }) : void 0,
5733
5842
  onClick: () => {
5734
5843
  a.onSelect?.();
5735
5844
  setOpen(false);
5736
5845
  },
5737
- children: /* @__PURE__ */ jsx55("span", { className: a.tone === "destructive" ? "text-semantic-error" : void 0, children: a.label })
5846
+ children: /* @__PURE__ */ jsx56("span", { className: a.tone === "destructive" ? "text-semantic-error" : void 0, children: a.label })
5738
5847
  },
5739
5848
  a.label
5740
5849
  )) })
@@ -5752,8 +5861,8 @@ var NavbarMobile = React55.forwardRef(
5752
5861
  NavbarMobile.displayName = "NavbarMobile";
5753
5862
 
5754
5863
  // virtual-pkg:src/atoms/Navbar/Navbar.tsx
5755
- import { jsx as jsx56, jsxs as jsxs50 } from "react/jsx-runtime";
5756
- var Navbar = React56.forwardRef(
5864
+ import { jsx as jsx57, jsxs as jsxs51 } from "react/jsx-runtime";
5865
+ var Navbar = React57.forwardRef(
5757
5866
  ({
5758
5867
  brandName,
5759
5868
  brandHref,
@@ -5772,8 +5881,8 @@ var Navbar = React56.forwardRef(
5772
5881
  className
5773
5882
  }, ref) => {
5774
5883
  const accountActions = mobileAccountActions ?? menuItems.map((m) => ({ label: m.label, icon: m.icon, tone: m.tone, onSelect: m.onSelect }));
5775
- return /* @__PURE__ */ jsxs50("div", { ref, className: ["w-full", className].filter(Boolean).join(" "), children: [
5776
- /* @__PURE__ */ jsx56("div", { className: "hidden md:block", children: /* @__PURE__ */ jsx56(
5884
+ return /* @__PURE__ */ jsxs51("div", { ref, className: ["w-full", className].filter(Boolean).join(" "), children: [
5885
+ /* @__PURE__ */ jsx57("div", { className: "hidden md:block", children: /* @__PURE__ */ jsx57(
5777
5886
  NavbarDesktop,
5778
5887
  {
5779
5888
  brandName,
@@ -5789,7 +5898,7 @@ var Navbar = React56.forwardRef(
5789
5898
  onMenuOpenChange
5790
5899
  }
5791
5900
  ) }),
5792
- /* @__PURE__ */ jsx56("div", { className: "md:hidden", children: /* @__PURE__ */ jsx56(
5901
+ /* @__PURE__ */ jsx57("div", { className: "md:hidden", children: /* @__PURE__ */ jsx57(
5793
5902
  NavbarMobile,
5794
5903
  {
5795
5904
  brandName,
@@ -5810,17 +5919,17 @@ var Navbar = React56.forwardRef(
5810
5919
  Navbar.displayName = "Navbar";
5811
5920
 
5812
5921
  // virtual-pkg:src/atoms/NavigationMenu/NavigationMenu.tsx
5813
- import * as React59 from "react";
5922
+ import * as React60 from "react";
5814
5923
 
5815
5924
  // virtual-pkg:src/atoms/NavigationMenuDesktop/NavigationMenuDesktop.tsx
5816
- import * as React57 from "react";
5925
+ import * as React58 from "react";
5817
5926
  import { createPortal as createPortal8 } from "react-dom";
5818
- import { Fragment as Fragment8, jsx as jsx57, jsxs as jsxs51 } from "react/jsx-runtime";
5927
+ import { Fragment as Fragment8, jsx as jsx58, jsxs as jsxs52 } from "react/jsx-runtime";
5819
5928
  var cn44 = (...parts) => parts.filter(Boolean).join(" ");
5820
5929
  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";
5821
5930
  var useScrolled = (enabled, threshold = 16) => {
5822
- const [scrolled, setScrolled] = React57.useState(false);
5823
- React57.useEffect(() => {
5931
+ const [scrolled, setScrolled] = React58.useState(false);
5932
+ React58.useEffect(() => {
5824
5933
  if (!enabled) {
5825
5934
  setScrolled(false);
5826
5935
  return;
@@ -5832,7 +5941,7 @@ var useScrolled = (enabled, threshold = 16) => {
5832
5941
  }, [enabled, threshold]);
5833
5942
  return scrolled;
5834
5943
  };
5835
- var NavigationMenuDesktop = React57.forwardRef(
5944
+ var NavigationMenuDesktop = React58.forwardRef(
5836
5945
  ({
5837
5946
  brandName = "Linear",
5838
5947
  brandHref = "#",
@@ -5847,23 +5956,23 @@ var NavigationMenuDesktop = React57.forwardRef(
5847
5956
  className,
5848
5957
  ...rest
5849
5958
  }, ref) => {
5850
- const baseId = React57.useId();
5851
- const [innerOpen, setInnerOpen] = React57.useState(null);
5959
+ const baseId = React58.useId();
5960
+ const [innerOpen, setInnerOpen] = React58.useState(null);
5852
5961
  const openId = openIdProp !== void 0 ? openIdProp : innerOpen;
5853
- const [mounted, setMounted] = React57.useState(false);
5854
- const [rects, setRects] = React57.useState({});
5855
- const triggerRefs = React57.useRef({});
5856
- const panelRefs = React57.useRef({});
5962
+ const [mounted, setMounted] = React58.useState(false);
5963
+ const [rects, setRects] = React58.useState({});
5964
+ const triggerRefs = React58.useRef({});
5965
+ const panelRefs = React58.useRef({});
5857
5966
  const scrolled = useScrolled(transparent);
5858
- React57.useEffect(() => setMounted(true), []);
5859
- const setOpenId = React57.useCallback(
5967
+ React58.useEffect(() => setMounted(true), []);
5968
+ const setOpenId = React58.useCallback(
5860
5969
  (id) => {
5861
5970
  if (openIdProp === void 0) setInnerOpen(id);
5862
5971
  onOpenIdChange?.(id);
5863
5972
  },
5864
5973
  [openIdProp, onOpenIdChange]
5865
5974
  );
5866
- const place2 = React57.useCallback((id) => {
5975
+ const place2 = React58.useCallback((id) => {
5867
5976
  const el = triggerRefs.current[id];
5868
5977
  const box = el?.getBoundingClientRect();
5869
5978
  if (!box) return;
@@ -5872,7 +5981,7 @@ var NavigationMenuDesktop = React57.forwardRef(
5872
5981
  const left = Math.max(16, Math.min(box.left, window.innerWidth - width - 16));
5873
5982
  setRects((prev) => ({ ...prev, [id]: { top: box.bottom + 6, left } }));
5874
5983
  }, [items]);
5875
- React57.useLayoutEffect(() => {
5984
+ React58.useLayoutEffect(() => {
5876
5985
  if (!openId) return;
5877
5986
  place2(openId);
5878
5987
  const onMove = () => place2(openId);
@@ -5886,7 +5995,7 @@ var NavigationMenuDesktop = React57.forwardRef(
5886
5995
  window.removeEventListener("scroll", onMove, true);
5887
5996
  };
5888
5997
  }, [openId, place2]);
5889
- React57.useEffect(() => {
5998
+ React58.useEffect(() => {
5890
5999
  if (!openId) return;
5891
6000
  const onDown = (e) => {
5892
6001
  const t = e.target;
@@ -5921,7 +6030,7 @@ var NavigationMenuDesktop = React57.forwardRef(
5921
6030
  zIndex: "var(--z-popover, 1300)"
5922
6031
  };
5923
6032
  if (item.columns) {
5924
- return /* @__PURE__ */ jsx57(
6033
+ return /* @__PURE__ */ jsx58(
5925
6034
  "div",
5926
6035
  {
5927
6036
  ref: (el) => {
@@ -5933,11 +6042,11 @@ var NavigationMenuDesktop = React57.forwardRef(
5933
6042
  "data-state": open ? "open" : "closed",
5934
6043
  style: { ...style, width: "min(760px, calc(100vw - 32px))" },
5935
6044
  className: cn44("origin-top rounded-xl border border-hairline bg-canvas p-lg text-ink shadow-overlay", panelMotion),
5936
- children: /* @__PURE__ */ jsx57("div", { className: "grid grid-cols-3 gap-lg", children: item.columns.map((col) => /* @__PURE__ */ jsxs51("div", { className: "flex min-w-0 flex-col gap-xs", children: [
5937
- /* @__PURE__ */ jsx57("p", { className: "px-sm text-label text-ink", children: col.title }),
5938
- /* @__PURE__ */ jsx57("ul", { className: "flex flex-col", children: col.links.map((link) => {
6045
+ children: /* @__PURE__ */ jsx58("div", { className: "grid grid-cols-3 gap-lg", children: item.columns.map((col) => /* @__PURE__ */ jsxs52("div", { className: "flex min-w-0 flex-col gap-xs", children: [
6046
+ /* @__PURE__ */ jsx58("p", { className: "px-sm text-label text-ink", children: col.title }),
6047
+ /* @__PURE__ */ jsx58("ul", { className: "flex flex-col", children: col.links.map((link) => {
5939
6048
  const current = link.href === activeHref;
5940
- return /* @__PURE__ */ jsx57("li", { children: /* @__PURE__ */ jsx57(
6049
+ return /* @__PURE__ */ jsx58("li", { children: /* @__PURE__ */ jsx58(
5941
6050
  "a",
5942
6051
  {
5943
6052
  href: link.href,
@@ -5957,7 +6066,7 @@ var NavigationMenuDesktop = React57.forwardRef(
5957
6066
  item.id
5958
6067
  );
5959
6068
  }
5960
- return /* @__PURE__ */ jsx57(
6069
+ return /* @__PURE__ */ jsx58(
5961
6070
  "div",
5962
6071
  {
5963
6072
  ref: (el) => {
@@ -5971,9 +6080,9 @@ var NavigationMenuDesktop = React57.forwardRef(
5971
6080
  className: cn44("origin-top rounded-lg border border-hairline bg-canvas p-xs text-ink shadow-overlay", panelMotion),
5972
6081
  children: (item.menu ?? []).map((link) => {
5973
6082
  const current = link.href === activeHref;
5974
- return /* @__PURE__ */ jsxs51(React57.Fragment, { children: [
5975
- link.separated && /* @__PURE__ */ jsx57(Divider, { className: "my-xs" }),
5976
- /* @__PURE__ */ jsx57(
6083
+ return /* @__PURE__ */ jsxs52(React58.Fragment, { children: [
6084
+ link.separated && /* @__PURE__ */ jsx58(Divider, { className: "my-xs" }),
6085
+ /* @__PURE__ */ jsx58(
5977
6086
  "a",
5978
6087
  {
5979
6088
  href: link.href,
@@ -5995,7 +6104,7 @@ var NavigationMenuDesktop = React57.forwardRef(
5995
6104
  );
5996
6105
  };
5997
6106
  const solid = !transparent || scrolled;
5998
- return /* @__PURE__ */ jsxs51(
6107
+ return /* @__PURE__ */ jsxs52(
5999
6108
  "header",
6000
6109
  {
6001
6110
  ref,
@@ -6008,14 +6117,14 @@ var NavigationMenuDesktop = React57.forwardRef(
6008
6117
  ),
6009
6118
  ...rest,
6010
6119
  children: [
6011
- /* @__PURE__ */ jsx57(Logo, { name: brandName, href: brandHref, size: "md", className: "shrink-0" }),
6012
- /* @__PURE__ */ jsx57("span", { className: "flex h-5 shrink-0", children: /* @__PURE__ */ jsx57(Divider, { orientation: "vertical" }) }),
6013
- /* @__PURE__ */ jsx57("nav", { "aria-label": "Primary", className: "flex min-w-0 flex-1 items-center gap-xxs overflow-hidden", children: items.map((item) => {
6120
+ /* @__PURE__ */ jsx58(Logo, { name: brandName, href: brandHref, size: "md", className: "shrink-0" }),
6121
+ /* @__PURE__ */ jsx58("span", { className: "flex h-5 shrink-0", children: /* @__PURE__ */ jsx58(Divider, { orientation: "vertical" }) }),
6122
+ /* @__PURE__ */ jsx58("nav", { "aria-label": "Primary", className: "flex min-w-0 flex-1 items-center gap-xxs overflow-hidden", children: items.map((item) => {
6014
6123
  const hasPanel = Boolean(item.menu?.length || item.columns?.length);
6015
6124
  const current = item.id === activeId;
6016
6125
  const open = openId === item.id;
6017
6126
  if (!hasPanel) {
6018
- return /* @__PURE__ */ jsxs51(
6127
+ return /* @__PURE__ */ jsxs52(
6019
6128
  "a",
6020
6129
  {
6021
6130
  href: item.href ?? "#",
@@ -6029,14 +6138,14 @@ var NavigationMenuDesktop = React57.forwardRef(
6029
6138
  current ? "bg-surface-strong text-ink" : "text-body hover:bg-surface-soft hover:text-ink active:bg-surface-strong"
6030
6139
  ),
6031
6140
  children: [
6032
- item.icon && /* @__PURE__ */ jsx57(Icon, { name: item.icon, size: 16 }),
6141
+ item.icon && /* @__PURE__ */ jsx58(Icon, { name: item.icon, size: 16 }),
6033
6142
  item.label
6034
6143
  ]
6035
6144
  },
6036
6145
  item.id
6037
6146
  );
6038
6147
  }
6039
- return /* @__PURE__ */ jsx57(
6148
+ return /* @__PURE__ */ jsx58(
6040
6149
  Button,
6041
6150
  {
6042
6151
  ref: (el) => {
@@ -6051,8 +6160,8 @@ var NavigationMenuDesktop = React57.forwardRef(
6051
6160
  if (!open) place2(item.id);
6052
6161
  setOpenId(open ? null : item.id);
6053
6162
  },
6054
- leadingIcon: item.icon ? /* @__PURE__ */ jsx57(Icon, { name: item.icon, size: 16 }) : void 0,
6055
- trailingIcon: /* @__PURE__ */ jsx57(
6163
+ leadingIcon: item.icon ? /* @__PURE__ */ jsx58(Icon, { name: item.icon, size: 16 }) : void 0,
6164
+ trailingIcon: /* @__PURE__ */ jsx58(
6056
6165
  Icon,
6057
6166
  {
6058
6167
  name: "chevron-down",
@@ -6065,9 +6174,9 @@ var NavigationMenuDesktop = React57.forwardRef(
6065
6174
  item.id
6066
6175
  );
6067
6176
  }) }),
6068
- actions !== void 0 && /* @__PURE__ */ jsx57("div", { className: "flex shrink-0 items-center gap-sm", children: actions }),
6177
+ actions !== void 0 && /* @__PURE__ */ jsx58("div", { className: "flex shrink-0 items-center gap-sm", children: actions }),
6069
6178
  mounted ? createPortal8(
6070
- /* @__PURE__ */ jsx57(Fragment8, { children: items.filter((i) => i.menu?.length || i.columns?.length).map(renderPanel) }),
6179
+ /* @__PURE__ */ jsx58(Fragment8, { children: items.filter((i) => i.menu?.length || i.columns?.length).map(renderPanel) }),
6071
6180
  document.body
6072
6181
  ) : null
6073
6182
  ]
@@ -6078,13 +6187,13 @@ var NavigationMenuDesktop = React57.forwardRef(
6078
6187
  NavigationMenuDesktop.displayName = "NavigationMenuDesktop";
6079
6188
 
6080
6189
  // virtual-pkg:src/atoms/NavigationMenuMobile/NavigationMenuMobile.tsx
6081
- import * as React58 from "react";
6082
- import { jsx as jsx58, jsxs as jsxs52 } from "react/jsx-runtime";
6190
+ import * as React59 from "react";
6191
+ import { jsx as jsx59, jsxs as jsxs53 } from "react/jsx-runtime";
6083
6192
  var cn45 = (...parts) => parts.filter(Boolean).join(" ");
6084
6193
  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";
6085
6194
  var useScrolled2 = (enabled, threshold = 16) => {
6086
- const [scrolled, setScrolled] = React58.useState(false);
6087
- React58.useEffect(() => {
6195
+ const [scrolled, setScrolled] = React59.useState(false);
6196
+ React59.useEffect(() => {
6088
6197
  if (!enabled) {
6089
6198
  setScrolled(false);
6090
6199
  return;
@@ -6096,7 +6205,7 @@ var useScrolled2 = (enabled, threshold = 16) => {
6096
6205
  }, [enabled, threshold]);
6097
6206
  return scrolled;
6098
6207
  };
6099
- var NavigationMenuMobile = React58.forwardRef(
6208
+ var NavigationMenuMobile = React59.forwardRef(
6100
6209
  ({
6101
6210
  brandName = "Linear",
6102
6211
  brandHref = "#",
@@ -6116,25 +6225,25 @@ var NavigationMenuMobile = React58.forwardRef(
6116
6225
  className,
6117
6226
  ...rest
6118
6227
  }, ref) => {
6119
- const autoId = React58.useId();
6228
+ const autoId = React59.useId();
6120
6229
  const panelId = panelIdProp ?? `${autoId}-panel`;
6121
- const [innerOpen, setInnerOpen] = React58.useState(defaultOpen);
6230
+ const [innerOpen, setInnerOpen] = React59.useState(defaultOpen);
6122
6231
  const open = openProp ?? innerOpen;
6123
- const setOpen = React58.useCallback(
6232
+ const setOpen = React59.useCallback(
6124
6233
  (next) => {
6125
6234
  if (openProp === void 0) setInnerOpen(next);
6126
6235
  onOpenChange?.(next);
6127
6236
  },
6128
6237
  [openProp, onOpenChange]
6129
6238
  );
6130
- const [innerSection, setInnerSection] = React58.useState(null);
6239
+ const [innerSection, setInnerSection] = React59.useState(null);
6131
6240
  const section = sectionProp !== void 0 ? sectionProp : innerSection;
6132
6241
  const setSection = (id) => {
6133
6242
  if (sectionProp === void 0) setInnerSection(id);
6134
6243
  onSectionIdChange?.(id);
6135
6244
  };
6136
6245
  const scrolled = useScrolled2(transparent);
6137
- React58.useEffect(() => {
6246
+ React59.useEffect(() => {
6138
6247
  if (!open) return;
6139
6248
  const onKey = (e) => {
6140
6249
  if (e.key === "Escape") setOpen(false);
@@ -6146,9 +6255,9 @@ var NavigationMenuMobile = React58.forwardRef(
6146
6255
  const solid = !transparent || scrolled || open;
6147
6256
  const subLink = (link, tabbable) => {
6148
6257
  const current = link.href === activeHref;
6149
- return /* @__PURE__ */ jsxs52("li", { children: [
6150
- link.separated && /* @__PURE__ */ jsx58(Divider, { className: "my-xs" }),
6151
- /* @__PURE__ */ jsx58(
6258
+ return /* @__PURE__ */ jsxs53("li", { children: [
6259
+ link.separated && /* @__PURE__ */ jsx59(Divider, { className: "my-xs" }),
6260
+ /* @__PURE__ */ jsx59(
6152
6261
  "a",
6153
6262
  {
6154
6263
  href: link.href,
@@ -6167,7 +6276,7 @@ var NavigationMenuMobile = React58.forwardRef(
6167
6276
  )
6168
6277
  ] }, link.href);
6169
6278
  };
6170
- return /* @__PURE__ */ jsxs52(
6279
+ return /* @__PURE__ */ jsxs53(
6171
6280
  "header",
6172
6281
  {
6173
6282
  ref,
@@ -6181,11 +6290,11 @@ var NavigationMenuMobile = React58.forwardRef(
6181
6290
  ),
6182
6291
  ...rest,
6183
6292
  children: [
6184
- /* @__PURE__ */ jsxs52("div", { className: "flex h-14 min-w-0 items-center justify-between gap-sm px-base", children: [
6185
- /* @__PURE__ */ jsx58(Logo, { name: brandName, href: brandHref, size: "md", className: "shrink-0" }),
6186
- /* @__PURE__ */ jsxs52("div", { className: "flex min-w-0 flex-1 items-center justify-end gap-xs", children: [
6187
- actions !== void 0 && /* @__PURE__ */ jsx58("div", { className: "flex shrink-0 items-center gap-xs", children: actions }),
6188
- trigger ?? /* @__PURE__ */ jsx58(
6293
+ /* @__PURE__ */ jsxs53("div", { className: "flex h-14 min-w-0 items-center justify-between gap-sm px-base", children: [
6294
+ /* @__PURE__ */ jsx59(Logo, { name: brandName, href: brandHref, size: "md", className: "shrink-0" }),
6295
+ /* @__PURE__ */ jsxs53("div", { className: "flex min-w-0 flex-1 items-center justify-end gap-xs", children: [
6296
+ actions !== void 0 && /* @__PURE__ */ jsx59("div", { className: "flex shrink-0 items-center gap-xs", children: actions }),
6297
+ trigger ?? /* @__PURE__ */ jsx59(
6189
6298
  IconButton,
6190
6299
  {
6191
6300
  icon: open ? "x" : "menu",
@@ -6198,7 +6307,7 @@ var NavigationMenuMobile = React58.forwardRef(
6198
6307
  )
6199
6308
  ] })
6200
6309
  ] }),
6201
- /* @__PURE__ */ jsx58(
6310
+ /* @__PURE__ */ jsx59(
6202
6311
  "div",
6203
6312
  {
6204
6313
  id: panelId,
@@ -6208,18 +6317,18 @@ var NavigationMenuMobile = React58.forwardRef(
6208
6317
  "grid transition-[grid-template-rows] duration-200 ease-out data-[state=open]:grid-rows-[1fr] data-[state=closed]:grid-rows-[0fr]",
6209
6318
  open && "bg-canvas"
6210
6319
  ),
6211
- children: /* @__PURE__ */ jsx58("div", { className: "min-h-0 overflow-hidden", children: /* @__PURE__ */ jsxs52(
6320
+ children: /* @__PURE__ */ jsx59("div", { className: "min-h-0 overflow-hidden", children: /* @__PURE__ */ jsxs53(
6212
6321
  "nav",
6213
6322
  {
6214
6323
  "aria-label": "Primary",
6215
6324
  "data-state": state,
6216
6325
  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",
6217
6326
  children: [
6218
- /* @__PURE__ */ jsx58("ul", { className: "flex flex-col gap-xxs", children: items.map((item) => {
6327
+ /* @__PURE__ */ jsx59("ul", { className: "flex flex-col gap-xxs", children: items.map((item) => {
6219
6328
  const hasSub = Boolean(item.menu?.length || item.columns?.length);
6220
6329
  if (!hasSub) {
6221
6330
  const current = item.href === activeHref;
6222
- return /* @__PURE__ */ jsx58("li", { children: /* @__PURE__ */ jsxs52(
6331
+ return /* @__PURE__ */ jsx59("li", { children: /* @__PURE__ */ jsxs53(
6223
6332
  "a",
6224
6333
  {
6225
6334
  href: item.href ?? "#",
@@ -6234,7 +6343,7 @@ var NavigationMenuMobile = React58.forwardRef(
6234
6343
  current ? "bg-surface-strong text-ink" : "text-ink hover:bg-surface-soft active:bg-surface-strong"
6235
6344
  ),
6236
6345
  children: [
6237
- item.icon && /* @__PURE__ */ jsx58(Icon, { name: item.icon, size: 16, className: "text-body" }),
6346
+ item.icon && /* @__PURE__ */ jsx59(Icon, { name: item.icon, size: 16, className: "text-body" }),
6238
6347
  item.label
6239
6348
  ]
6240
6349
  }
@@ -6242,8 +6351,8 @@ var NavigationMenuMobile = React58.forwardRef(
6242
6351
  }
6243
6352
  const expanded = section === item.id;
6244
6353
  const subId = `${autoId}-${item.id}`;
6245
- return /* @__PURE__ */ jsxs52("li", { children: [
6246
- /* @__PURE__ */ jsx58(
6354
+ return /* @__PURE__ */ jsxs53("li", { children: [
6355
+ /* @__PURE__ */ jsx59(
6247
6356
  Button,
6248
6357
  {
6249
6358
  variant: "item",
@@ -6252,8 +6361,8 @@ var NavigationMenuMobile = React58.forwardRef(
6252
6361
  "aria-expanded": expanded,
6253
6362
  "aria-controls": subId,
6254
6363
  onClick: () => setSection(expanded ? null : item.id),
6255
- leadingIcon: item.icon ? /* @__PURE__ */ jsx58(Icon, { name: item.icon, size: 16, className: "text-body" }) : void 0,
6256
- trailingIcon: /* @__PURE__ */ jsx58(
6364
+ leadingIcon: item.icon ? /* @__PURE__ */ jsx59(Icon, { name: item.icon, size: 16, className: "text-body" }) : void 0,
6365
+ trailingIcon: /* @__PURE__ */ jsx59(
6257
6366
  Icon,
6258
6367
  {
6259
6368
  name: "chevron-down",
@@ -6264,7 +6373,7 @@ var NavigationMenuMobile = React58.forwardRef(
6264
6373
  children: item.label
6265
6374
  }
6266
6375
  ),
6267
- /* @__PURE__ */ jsx58(
6376
+ /* @__PURE__ */ jsx59(
6268
6377
  "div",
6269
6378
  {
6270
6379
  id: subId,
@@ -6272,18 +6381,18 @@ var NavigationMenuMobile = React58.forwardRef(
6272
6381
  "aria-label": item.label,
6273
6382
  "data-state": expanded ? "open" : "closed",
6274
6383
  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",
6275
- children: /* @__PURE__ */ jsx58("div", { className: "min-h-0 overflow-hidden", children: /* @__PURE__ */ jsxs52("div", { className: "py-xs pl-lg", children: [
6276
- item.menu && /* @__PURE__ */ jsx58("ul", { className: "flex flex-col gap-xxs", children: item.menu.map((l) => subLink(l, open && expanded)) }),
6277
- item.columns?.map((col) => /* @__PURE__ */ jsxs52("div", { className: "pb-xs", children: [
6278
- /* @__PURE__ */ jsx58("p", { className: "px-base pb-xxs pt-sm text-caption text-muted", children: col.title }),
6279
- /* @__PURE__ */ jsx58("ul", { className: "flex flex-col gap-xxs", children: col.links.map((l) => subLink(l, open && expanded)) })
6384
+ children: /* @__PURE__ */ jsx59("div", { className: "min-h-0 overflow-hidden", children: /* @__PURE__ */ jsxs53("div", { className: "py-xs pl-lg", children: [
6385
+ item.menu && /* @__PURE__ */ jsx59("ul", { className: "flex flex-col gap-xxs", children: item.menu.map((l) => subLink(l, open && expanded)) }),
6386
+ item.columns?.map((col) => /* @__PURE__ */ jsxs53("div", { className: "pb-xs", children: [
6387
+ /* @__PURE__ */ jsx59("p", { className: "px-base pb-xxs pt-sm text-caption text-muted", children: col.title }),
6388
+ /* @__PURE__ */ jsx59("ul", { className: "flex flex-col gap-xxs", children: col.links.map((l) => subLink(l, open && expanded)) })
6280
6389
  ] }, col.title))
6281
6390
  ] }) })
6282
6391
  }
6283
6392
  )
6284
6393
  ] }, item.id);
6285
6394
  }) }),
6286
- menuFooter !== void 0 && /* @__PURE__ */ jsx58("div", { className: "mt-sm flex flex-col gap-xs border-t border-hairline px-base pb-xs pt-sm", children: menuFooter })
6395
+ menuFooter !== void 0 && /* @__PURE__ */ jsx59("div", { className: "mt-sm flex flex-col gap-xs border-t border-hairline px-base pb-xs pt-sm", children: menuFooter })
6287
6396
  ]
6288
6397
  }
6289
6398
  ) })
@@ -6297,8 +6406,8 @@ var NavigationMenuMobile = React58.forwardRef(
6297
6406
  NavigationMenuMobile.displayName = "NavigationMenuMobile";
6298
6407
 
6299
6408
  // virtual-pkg:src/atoms/NavigationMenu/NavigationMenu.tsx
6300
- import { jsx as jsx59, jsxs as jsxs53 } from "react/jsx-runtime";
6301
- var NavigationMenu = React59.forwardRef(
6409
+ import { jsx as jsx60, jsxs as jsxs54 } from "react/jsx-runtime";
6410
+ var NavigationMenu = React60.forwardRef(
6302
6411
  ({
6303
6412
  brandName,
6304
6413
  brandHref,
@@ -6318,22 +6427,22 @@ var NavigationMenu = React59.forwardRef(
6318
6427
  transparent = false,
6319
6428
  className
6320
6429
  }, ref) => {
6321
- const autoId = React59.useId();
6430
+ const autoId = React60.useId();
6322
6431
  const panelId = `${autoId}-panel`;
6323
- const [innerOpen, setInnerOpen] = React59.useState(false);
6432
+ const [innerOpen, setInnerOpen] = React60.useState(false);
6324
6433
  const open = mobileOpen ?? innerOpen;
6325
- const setMobileOpen = React59.useCallback(
6434
+ const setMobileOpen = React60.useCallback(
6326
6435
  (next) => {
6327
6436
  if (mobileOpen === void 0) setInnerOpen(next);
6328
6437
  onMobileOpenChange?.(next);
6329
6438
  },
6330
6439
  [mobileOpen, onMobileOpenChange]
6331
6440
  );
6332
- const closeAll = React59.useCallback(() => {
6441
+ const closeAll = React60.useCallback(() => {
6333
6442
  onOpenIdChange?.(null);
6334
6443
  setMobileOpen(false);
6335
6444
  }, [onOpenIdChange, setMobileOpen]);
6336
- return /* @__PURE__ */ jsxs53(
6445
+ return /* @__PURE__ */ jsxs54(
6337
6446
  "div",
6338
6447
  {
6339
6448
  ref,
@@ -6342,7 +6451,7 @@ var NavigationMenu = React59.forwardRef(
6342
6451
  },
6343
6452
  className: ["w-full rounded-none", className].filter(Boolean).join(" "),
6344
6453
  children: [
6345
- /* @__PURE__ */ jsx59("div", { className: "hidden md:block", children: /* @__PURE__ */ jsx59(
6454
+ /* @__PURE__ */ jsx60("div", { className: "hidden md:block", children: /* @__PURE__ */ jsx60(
6346
6455
  NavigationMenuDesktop,
6347
6456
  {
6348
6457
  brandName,
@@ -6357,7 +6466,7 @@ var NavigationMenu = React59.forwardRef(
6357
6466
  transparent
6358
6467
  }
6359
6468
  ) }),
6360
- /* @__PURE__ */ jsx59("div", { className: "md:hidden", children: /* @__PURE__ */ jsx59(
6469
+ /* @__PURE__ */ jsx60("div", { className: "md:hidden", children: /* @__PURE__ */ jsx60(
6361
6470
  NavigationMenuMobile,
6362
6471
  {
6363
6472
  brandName,
@@ -6373,7 +6482,7 @@ var NavigationMenu = React59.forwardRef(
6373
6482
  menuFooter: mobileMenuFooter,
6374
6483
  transparent,
6375
6484
  panelId,
6376
- trigger: /* @__PURE__ */ jsx59(
6485
+ trigger: /* @__PURE__ */ jsx60(
6377
6486
  IconButton,
6378
6487
  {
6379
6488
  icon: open ? "x" : "menu",
@@ -6394,8 +6503,8 @@ var NavigationMenu = React59.forwardRef(
6394
6503
  NavigationMenu.displayName = "NavigationMenu";
6395
6504
 
6396
6505
  // virtual-pkg:src/atoms/NotificationFeed/NotificationFeed.tsx
6397
- import * as React60 from "react";
6398
- import { jsx as jsx60, jsxs as jsxs54 } from "react/jsx-runtime";
6506
+ import * as React61 from "react";
6507
+ import { jsx as jsx61, jsxs as jsxs55 } from "react/jsx-runtime";
6399
6508
  var FILTERS = [
6400
6509
  { value: "all", label: "All" },
6401
6510
  { value: "unread", label: "Unread" },
@@ -6409,7 +6518,7 @@ function matches(entry, filter) {
6409
6518
  if (filter === "assignments") return entry.kind === "assignment";
6410
6519
  return true;
6411
6520
  }
6412
- var NotificationFeed = React60.forwardRef(
6521
+ var NotificationFeed = React61.forwardRef(
6413
6522
  ({
6414
6523
  title = "Inbox",
6415
6524
  notifications,
@@ -6423,10 +6532,10 @@ var NotificationFeed = React60.forwardRef(
6423
6532
  className,
6424
6533
  ...rest
6425
6534
  }, ref) => {
6426
- const headingId = React60.useId();
6535
+ const headingId = React61.useId();
6427
6536
  const unreadCount = notifications.filter((n) => n.unread).length;
6428
6537
  const visible = notifications.filter((n) => matches(n, filter));
6429
- return /* @__PURE__ */ jsxs54(
6538
+ return /* @__PURE__ */ jsxs55(
6430
6539
  "section",
6431
6540
  {
6432
6541
  ref,
@@ -6437,14 +6546,14 @@ var NotificationFeed = React60.forwardRef(
6437
6546
  ),
6438
6547
  ...rest,
6439
6548
  children: [
6440
- /* @__PURE__ */ jsxs54("header", { className: "flex min-w-0 items-center gap-md px-base py-md", children: [
6441
- /* @__PURE__ */ jsx60("h2", { id: headingId, className: "shrink-0 text-heading-sm text-ink", children: title }),
6442
- /* @__PURE__ */ jsx60("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__ */ jsx60(Chip, { selected: filter === f.value, onSelectedChange: () => onFilterChange?.(f.value), children: /* @__PURE__ */ jsxs54("span", { className: "inline-flex items-center gap-xs", children: [
6549
+ /* @__PURE__ */ jsxs55("header", { className: "flex min-w-0 items-center gap-md px-base py-md", children: [
6550
+ /* @__PURE__ */ jsx61("h2", { id: headingId, className: "shrink-0 text-heading-sm text-ink", children: title }),
6551
+ /* @__PURE__ */ jsx61("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__ */ jsx61(Chip, { selected: filter === f.value, onSelectedChange: () => onFilterChange?.(f.value), children: /* @__PURE__ */ jsxs55("span", { className: "inline-flex items-center gap-xs", children: [
6443
6552
  f.label,
6444
- f.value === "unread" && unreadCount > 0 ? /* @__PURE__ */ jsx60(Badge, { size: "sm", tone: "primary", children: unreadCount }) : null
6553
+ f.value === "unread" && unreadCount > 0 ? /* @__PURE__ */ jsx61(Badge, { size: "sm", tone: "primary", children: unreadCount }) : null
6445
6554
  ] }) }, f.value)) }),
6446
- /* @__PURE__ */ jsxs54("div", { className: "flex shrink-0 items-center gap-xs", children: [
6447
- /* @__PURE__ */ jsx60(
6555
+ /* @__PURE__ */ jsxs55("div", { className: "flex shrink-0 items-center gap-xs", children: [
6556
+ /* @__PURE__ */ jsx61(
6448
6557
  IconButton,
6449
6558
  {
6450
6559
  icon: "check",
@@ -6454,22 +6563,22 @@ var NotificationFeed = React60.forwardRef(
6454
6563
  onClick: onMarkAllRead
6455
6564
  }
6456
6565
  ),
6457
- /* @__PURE__ */ jsx60(IconButton, { icon: "ellipsis", variant: "ghost", "aria-label": "More options", onClick: onMoreClick })
6566
+ /* @__PURE__ */ jsx61(IconButton, { icon: "ellipsis", variant: "ghost", "aria-label": "More options", onClick: onMoreClick })
6458
6567
  ] })
6459
6568
  ] }),
6460
- visible.length === 0 ? /* @__PURE__ */ jsxs54("div", { className: "flex flex-col items-center justify-center gap-xs px-base pb-xl pt-lg text-center", children: [
6461
- /* @__PURE__ */ jsx60(Icon, { name: "inbox", size: 36, strokeWidth: 1.5, className: "text-muted-soft" }),
6462
- /* @__PURE__ */ jsx60("p", { className: "mt-sm text-heading-sm text-ink", children: emptyTitle }),
6463
- /* @__PURE__ */ jsx60("p", { className: "text-body-sm text-muted", children: emptyDescription })
6464
- ] }) : /* @__PURE__ */ jsx60("ul", { className: "flex flex-col px-sm pb-sm", "aria-label": "Notifications", children: visible.map((n) => /* @__PURE__ */ jsx60("li", { children: /* @__PURE__ */ jsx60(
6569
+ visible.length === 0 ? /* @__PURE__ */ jsxs55("div", { className: "flex flex-col items-center justify-center gap-xs px-base pb-xl pt-lg text-center", children: [
6570
+ /* @__PURE__ */ jsx61(Icon, { name: "inbox", size: 36, strokeWidth: 1.5, className: "text-muted-soft" }),
6571
+ /* @__PURE__ */ jsx61("p", { className: "mt-sm text-heading-sm text-ink", children: emptyTitle }),
6572
+ /* @__PURE__ */ jsx61("p", { className: "text-body-sm text-muted", children: emptyDescription })
6573
+ ] }) : /* @__PURE__ */ jsx61("ul", { className: "flex flex-col px-sm pb-sm", "aria-label": "Notifications", children: visible.map((n) => /* @__PURE__ */ jsx61("li", { children: /* @__PURE__ */ jsx61(
6465
6574
  ListItem,
6466
6575
  {
6467
6576
  variant: "plain",
6468
6577
  href: n.href,
6469
6578
  onClick: () => onNotificationClick?.(n),
6470
6579
  "aria-label": typeof n.title === "string" ? `${n.unread ? "Unread: " : ""}${n.title}` : void 0,
6471
- leading: /* @__PURE__ */ jsxs54("span", { className: "flex shrink-0 items-center gap-sm", children: [
6472
- /* @__PURE__ */ jsx60(
6580
+ leading: /* @__PURE__ */ jsxs55("span", { className: "flex shrink-0 items-center gap-sm", children: [
6581
+ /* @__PURE__ */ jsx61(
6473
6582
  "span",
6474
6583
  {
6475
6584
  "aria-hidden": "true",
@@ -6479,11 +6588,11 @@ var NotificationFeed = React60.forwardRef(
6479
6588
  )
6480
6589
  }
6481
6590
  ),
6482
- /* @__PURE__ */ jsx60(Icon, { name: n.icon, size: 18, className: "text-body" })
6591
+ /* @__PURE__ */ jsx61(Icon, { name: n.icon, size: 18, className: "text-body" })
6483
6592
  ] }),
6484
6593
  title: n.title,
6485
6594
  meta: n.description,
6486
- trailing: /* @__PURE__ */ jsx60("span", { className: "shrink-0 self-start pt-xxs text-body-sm text-muted tabular-nums", children: n.time })
6595
+ trailing: /* @__PURE__ */ jsx61("span", { className: "shrink-0 self-start pt-xxs text-body-sm text-muted tabular-nums", children: n.time })
6487
6596
  }
6488
6597
  ) }, n.id)) })
6489
6598
  ]
@@ -6494,14 +6603,14 @@ var NotificationFeed = React60.forwardRef(
6494
6603
  NotificationFeed.displayName = "NotificationFeed";
6495
6604
 
6496
6605
  // virtual-pkg:src/atoms/PricingTable/PricingTable.tsx
6497
- import * as React64 from "react";
6606
+ import * as React65 from "react";
6498
6607
 
6499
6608
  // virtual-pkg:src/atoms/PricingTableDesktop/PricingTableDesktop.tsx
6500
- import * as React62 from "react";
6609
+ import * as React63 from "react";
6501
6610
 
6502
6611
  // virtual-pkg:src/atoms/Switch/Switch.tsx
6503
- import * as React61 from "react";
6504
- import { jsx as jsx61, jsxs as jsxs55 } from "react/jsx-runtime";
6612
+ import * as React62 from "react";
6613
+ import { jsx as jsx62, jsxs as jsxs56 } from "react/jsx-runtime";
6505
6614
  var TRACK = {
6506
6615
  sm: "h-4 w-7",
6507
6616
  md: "h-5 w-9"
@@ -6514,7 +6623,7 @@ var TRAVEL = {
6514
6623
  sm: "translate-x-3",
6515
6624
  md: "translate-x-4"
6516
6625
  };
6517
- var Switch = React61.forwardRef(
6626
+ var Switch = React62.forwardRef(
6518
6627
  ({
6519
6628
  checked,
6520
6629
  defaultChecked,
@@ -6529,11 +6638,11 @@ var Switch = React61.forwardRef(
6529
6638
  className,
6530
6639
  ...rest
6531
6640
  }, ref) => {
6532
- const autoId = React61.useId();
6641
+ const autoId = React62.useId();
6533
6642
  const inputId = id ?? `switch-${autoId}`;
6534
6643
  const descId = description ? `${inputId}-desc` : void 0;
6535
6644
  const isControlled = checked !== void 0;
6536
- const [inner, setInner] = React61.useState(Boolean(defaultChecked));
6645
+ const [inner, setInner] = React62.useState(Boolean(defaultChecked));
6537
6646
  const on = isControlled ? Boolean(checked) : inner;
6538
6647
  const handleChange = (e) => {
6539
6648
  if (!isControlled) setInner(e.target.checked);
@@ -6541,7 +6650,7 @@ var Switch = React61.forwardRef(
6541
6650
  onChange?.(e);
6542
6651
  };
6543
6652
  const labelled = Boolean(label);
6544
- return /* @__PURE__ */ jsxs55(
6653
+ return /* @__PURE__ */ jsxs56(
6545
6654
  "label",
6546
6655
  {
6547
6656
  htmlFor: inputId,
@@ -6552,15 +6661,15 @@ var Switch = React61.forwardRef(
6552
6661
  className
6553
6662
  ].filter(Boolean).join(" "),
6554
6663
  children: [
6555
- labelled ? /* @__PURE__ */ jsxs55("span", { className: "flex min-w-0 items-start gap-md", children: [
6556
- leading ? /* @__PURE__ */ jsx61("span", { className: "mt-xxs inline-flex shrink-0 text-ink", children: leading }) : null,
6557
- /* @__PURE__ */ jsxs55("span", { className: "flex min-w-0 flex-col", children: [
6558
- /* @__PURE__ */ jsx61("span", { className: "text-body-md text-ink", children: label }),
6559
- description ? /* @__PURE__ */ jsx61("span", { id: descId, className: "text-body-sm text-muted", children: description }) : null
6664
+ labelled ? /* @__PURE__ */ jsxs56("span", { className: "flex min-w-0 items-start gap-md", children: [
6665
+ leading ? /* @__PURE__ */ jsx62("span", { className: "mt-xxs inline-flex shrink-0 text-ink", children: leading }) : null,
6666
+ /* @__PURE__ */ jsxs56("span", { className: "flex min-w-0 flex-col", children: [
6667
+ /* @__PURE__ */ jsx62("span", { className: "text-body-md text-ink", children: label }),
6668
+ description ? /* @__PURE__ */ jsx62("span", { id: descId, className: "text-body-sm text-muted", children: description }) : null
6560
6669
  ] })
6561
6670
  ] }) : null,
6562
- /* @__PURE__ */ jsxs55("span", { className: "relative inline-flex shrink-0 items-center", children: [
6563
- /* @__PURE__ */ jsx61(
6671
+ /* @__PURE__ */ jsxs56("span", { className: "relative inline-flex shrink-0 items-center", children: [
6672
+ /* @__PURE__ */ jsx62(
6564
6673
  "input",
6565
6674
  {
6566
6675
  ref,
@@ -6576,7 +6685,7 @@ var Switch = React61.forwardRef(
6576
6685
  ...rest
6577
6686
  }
6578
6687
  ),
6579
- /* @__PURE__ */ jsx61(
6688
+ /* @__PURE__ */ jsx62(
6580
6689
  "span",
6581
6690
  {
6582
6691
  "aria-hidden": "true",
@@ -6588,7 +6697,7 @@ var Switch = React61.forwardRef(
6588
6697
  disabled && !labelled ? "opacity-50" : "",
6589
6698
  TRACK[size]
6590
6699
  ].join(" "),
6591
- children: /* @__PURE__ */ jsx61(
6700
+ children: /* @__PURE__ */ jsx62(
6592
6701
  "span",
6593
6702
  {
6594
6703
  className: [
@@ -6609,10 +6718,10 @@ var Switch = React61.forwardRef(
6609
6718
  Switch.displayName = "Switch";
6610
6719
 
6611
6720
  // virtual-pkg:src/atoms/PricingTableDesktop/PricingTableDesktop.tsx
6612
- import { jsx as jsx62, jsxs as jsxs56 } from "react/jsx-runtime";
6721
+ import { jsx as jsx63, jsxs as jsxs57 } from "react/jsx-runtime";
6613
6722
  var cn47 = (...parts) => parts.filter(Boolean).join(" ");
6614
6723
  function useBilling(billing, defaultBilling, onBillingChange) {
6615
- const [inner, setInner] = React62.useState(defaultBilling);
6724
+ const [inner, setInner] = React63.useState(defaultBilling);
6616
6725
  const value = billing ?? inner;
6617
6726
  const set = (b) => {
6618
6727
  if (billing === void 0) setInner(b);
@@ -6627,7 +6736,7 @@ var BILLING_OPTIONS = [
6627
6736
  function priceOf(tier, billing) {
6628
6737
  return billing === "yearly" ? tier.yearlyPrice ?? tier.monthlyPrice : tier.monthlyPrice;
6629
6738
  }
6630
- var PricingTableDesktop = React62.forwardRef(
6739
+ var PricingTableDesktop = React63.forwardRef(
6631
6740
  ({
6632
6741
  tiers,
6633
6742
  billing,
@@ -6640,7 +6749,7 @@ var PricingTableDesktop = React62.forwardRef(
6640
6749
  ...rest
6641
6750
  }, ref) => {
6642
6751
  const [period, setPeriod] = useBilling(billing, defaultBilling, onBillingChange);
6643
- return /* @__PURE__ */ jsxs56(
6752
+ return /* @__PURE__ */ jsxs57(
6644
6753
  "section",
6645
6754
  {
6646
6755
  ref,
@@ -6648,7 +6757,7 @@ var PricingTableDesktop = React62.forwardRef(
6648
6757
  className: cn47("flex w-full flex-col items-center gap-lg text-ink", className),
6649
6758
  ...rest,
6650
6759
  children: [
6651
- showBillingToggle ? /* @__PURE__ */ jsx62("div", { className: "flex w-full justify-center", children: /* @__PURE__ */ jsx62(
6760
+ showBillingToggle ? /* @__PURE__ */ jsx63("div", { className: "flex w-full justify-center", children: /* @__PURE__ */ jsx63(
6652
6761
  ButtonGroup,
6653
6762
  {
6654
6763
  tone: "primary",
@@ -6659,14 +6768,14 @@ var PricingTableDesktop = React62.forwardRef(
6659
6768
  "aria-label": "Billing period"
6660
6769
  }
6661
6770
  ) }) : null,
6662
- /* @__PURE__ */ jsx62(
6771
+ /* @__PURE__ */ jsx63(
6663
6772
  "ul",
6664
6773
  {
6665
6774
  className: "grid w-full rounded-lg border border-hairline bg-canvas shadow-card",
6666
6775
  style: { gridTemplateColumns: `repeat(${tiers.length}, minmax(0, 1fr))` },
6667
6776
  children: tiers.map((tier, i) => {
6668
6777
  const price = priceOf(tier, period);
6669
- return /* @__PURE__ */ jsxs56(
6778
+ return /* @__PURE__ */ jsxs57(
6670
6779
  "li",
6671
6780
  {
6672
6781
  className: cn47(
@@ -6675,10 +6784,10 @@ var PricingTableDesktop = React62.forwardRef(
6675
6784
  tier.highlighted && "-m-px rounded-lg border border-primary bg-canvas shadow-md"
6676
6785
  ),
6677
6786
  children: [
6678
- /* @__PURE__ */ jsxs56("div", { className: "flex flex-col gap-xxs", children: [
6679
- /* @__PURE__ */ jsx62("h3", { className: "text-heading-sm text-ink", children: tier.name }),
6680
- /* @__PURE__ */ jsxs56("p", { className: "text-body-md text-body", children: [
6681
- /* @__PURE__ */ jsxs56("span", { className: "font-weight-label text-ink", children: [
6787
+ /* @__PURE__ */ jsxs57("div", { className: "flex flex-col gap-xxs", children: [
6788
+ /* @__PURE__ */ jsx63("h3", { className: "text-heading-sm text-ink", children: tier.name }),
6789
+ /* @__PURE__ */ jsxs57("p", { className: "text-body-md text-body", children: [
6790
+ /* @__PURE__ */ jsxs57("span", { className: "font-weight-label text-ink", children: [
6682
6791
  currency,
6683
6792
  price
6684
6793
  ] }),
@@ -6686,8 +6795,8 @@ var PricingTableDesktop = React62.forwardRef(
6686
6795
  tier.unit ?? "per user/month"
6687
6796
  ] })
6688
6797
  ] }),
6689
- /* @__PURE__ */ jsx62("div", { className: "flex min-h-6 items-center", children: tier.note ? /* @__PURE__ */ jsx62("span", { className: "text-body-sm text-muted", children: tier.note }) : /* @__PURE__ */ jsxs56("div", { className: "flex items-center gap-sm", children: [
6690
- /* @__PURE__ */ jsx62(
6798
+ /* @__PURE__ */ jsx63("div", { className: "flex min-h-6 items-center", children: tier.note ? /* @__PURE__ */ jsx63("span", { className: "text-body-sm text-muted", children: tier.note }) : /* @__PURE__ */ jsxs57("div", { className: "flex items-center gap-sm", children: [
6799
+ /* @__PURE__ */ jsx63(
6691
6800
  Switch,
6692
6801
  {
6693
6802
  size: "sm",
@@ -6696,9 +6805,9 @@ var PricingTableDesktop = React62.forwardRef(
6696
6805
  onCheckedChange: (c) => setPeriod(c ? "yearly" : "monthly")
6697
6806
  }
6698
6807
  ),
6699
- /* @__PURE__ */ jsx62("span", { className: "text-body-sm text-body", children: period === "yearly" ? "Billed yearly" : "Billed monthly" })
6808
+ /* @__PURE__ */ jsx63("span", { className: "text-body-sm text-body", children: period === "yearly" ? "Billed yearly" : "Billed monthly" })
6700
6809
  ] }) }),
6701
- tier.current ? /* @__PURE__ */ jsx62(Button, { variant: "secondary", fullWidth: true, disabled: true, children: "Current plan" }) : /* @__PURE__ */ jsx62(
6810
+ tier.current ? /* @__PURE__ */ jsx63(Button, { variant: "secondary", fullWidth: true, disabled: true, children: "Current plan" }) : /* @__PURE__ */ jsx63(
6702
6811
  Button,
6703
6812
  {
6704
6813
  variant: "primary",
@@ -6722,10 +6831,10 @@ var PricingTableDesktop = React62.forwardRef(
6722
6831
  PricingTableDesktop.displayName = "PricingTableDesktop";
6723
6832
 
6724
6833
  // virtual-pkg:src/atoms/PricingTableMobile/PricingTableMobile.tsx
6725
- import * as React63 from "react";
6726
- import { jsx as jsx63, jsxs as jsxs57 } from "react/jsx-runtime";
6834
+ import * as React64 from "react";
6835
+ import { jsx as jsx64, jsxs as jsxs58 } from "react/jsx-runtime";
6727
6836
  var cn48 = (...parts) => parts.filter(Boolean).join(" ");
6728
- var PricingTableMobile = React63.forwardRef(
6837
+ var PricingTableMobile = React64.forwardRef(
6729
6838
  ({
6730
6839
  tiers,
6731
6840
  billing,
@@ -6738,7 +6847,7 @@ var PricingTableMobile = React63.forwardRef(
6738
6847
  ...rest
6739
6848
  }, ref) => {
6740
6849
  const [period, setPeriod] = useBilling(billing, defaultBilling, onBillingChange);
6741
- return /* @__PURE__ */ jsxs57(
6850
+ return /* @__PURE__ */ jsxs58(
6742
6851
  "section",
6743
6852
  {
6744
6853
  ref,
@@ -6746,7 +6855,7 @@ var PricingTableMobile = React63.forwardRef(
6746
6855
  className: cn48("flex w-full flex-col gap-base text-ink", className),
6747
6856
  ...rest,
6748
6857
  children: [
6749
- showBillingToggle ? /* @__PURE__ */ jsx63(
6858
+ showBillingToggle ? /* @__PURE__ */ jsx64(
6750
6859
  ButtonGroup,
6751
6860
  {
6752
6861
  tone: "primary",
@@ -6757,7 +6866,7 @@ var PricingTableMobile = React63.forwardRef(
6757
6866
  "aria-label": "Billing period"
6758
6867
  }
6759
6868
  ) : null,
6760
- /* @__PURE__ */ jsx63("ul", { className: "flex w-full flex-col gap-md", children: tiers.map((tier) => /* @__PURE__ */ jsxs57(
6869
+ /* @__PURE__ */ jsx64("ul", { className: "flex w-full flex-col gap-md", children: tiers.map((tier) => /* @__PURE__ */ jsxs58(
6761
6870
  "li",
6762
6871
  {
6763
6872
  className: cn48(
@@ -6765,10 +6874,10 @@ var PricingTableMobile = React63.forwardRef(
6765
6874
  tier.highlighted ? "border-primary" : "border-hairline"
6766
6875
  ),
6767
6876
  children: [
6768
- /* @__PURE__ */ jsxs57("div", { className: "flex flex-col gap-xxs", children: [
6769
- /* @__PURE__ */ jsx63("h3", { className: "text-heading-sm text-ink", children: tier.name }),
6770
- /* @__PURE__ */ jsxs57("p", { className: "text-body-md text-body", children: [
6771
- /* @__PURE__ */ jsxs57("span", { className: "font-weight-label text-ink", children: [
6877
+ /* @__PURE__ */ jsxs58("div", { className: "flex flex-col gap-xxs", children: [
6878
+ /* @__PURE__ */ jsx64("h3", { className: "text-heading-sm text-ink", children: tier.name }),
6879
+ /* @__PURE__ */ jsxs58("p", { className: "text-body-md text-body", children: [
6880
+ /* @__PURE__ */ jsxs58("span", { className: "font-weight-label text-ink", children: [
6772
6881
  currency,
6773
6882
  priceOf(tier, period)
6774
6883
  ] }),
@@ -6776,8 +6885,8 @@ var PricingTableMobile = React63.forwardRef(
6776
6885
  tier.unit ?? "per user/month"
6777
6886
  ] })
6778
6887
  ] }),
6779
- tier.note ? /* @__PURE__ */ jsx63("span", { className: "text-body-sm text-muted", children: tier.note }) : /* @__PURE__ */ jsxs57("div", { className: "flex items-center gap-sm", children: [
6780
- /* @__PURE__ */ jsx63(
6888
+ tier.note ? /* @__PURE__ */ jsx64("span", { className: "text-body-sm text-muted", children: tier.note }) : /* @__PURE__ */ jsxs58("div", { className: "flex items-center gap-sm", children: [
6889
+ /* @__PURE__ */ jsx64(
6781
6890
  Switch,
6782
6891
  {
6783
6892
  size: "sm",
@@ -6786,9 +6895,9 @@ var PricingTableMobile = React63.forwardRef(
6786
6895
  onCheckedChange: (c) => setPeriod(c ? "yearly" : "monthly")
6787
6896
  }
6788
6897
  ),
6789
- /* @__PURE__ */ jsx63("span", { className: "text-body-sm text-body", children: period === "yearly" ? "Billed yearly" : "Billed monthly" })
6898
+ /* @__PURE__ */ jsx64("span", { className: "text-body-sm text-body", children: period === "yearly" ? "Billed yearly" : "Billed monthly" })
6790
6899
  ] }),
6791
- tier.current ? /* @__PURE__ */ jsx63(Button, { variant: "secondary", size: "lg", fullWidth: true, disabled: true, children: "Current plan" }) : /* @__PURE__ */ jsx63(
6900
+ tier.current ? /* @__PURE__ */ jsx64(Button, { variant: "secondary", size: "lg", fullWidth: true, disabled: true, children: "Current plan" }) : /* @__PURE__ */ jsx64(
6792
6901
  Button,
6793
6902
  {
6794
6903
  variant: "primary",
@@ -6810,12 +6919,12 @@ var PricingTableMobile = React63.forwardRef(
6810
6919
  PricingTableMobile.displayName = "PricingTableMobile";
6811
6920
 
6812
6921
  // virtual-pkg:src/atoms/PricingTable/PricingTable.tsx
6813
- import { jsx as jsx64, jsxs as jsxs58 } from "react/jsx-runtime";
6814
- var PricingTable = React64.forwardRef(
6922
+ import { jsx as jsx65, jsxs as jsxs59 } from "react/jsx-runtime";
6923
+ var PricingTable = React65.forwardRef(
6815
6924
  ({ billing, defaultBilling = "monthly", onBillingChange, showBillingToggle = true, className, ...props }, ref) => {
6816
6925
  const [period, setPeriod] = useBilling(billing, defaultBilling, onBillingChange);
6817
- return /* @__PURE__ */ jsxs58("div", { ref, className: ["w-full", className].filter(Boolean).join(" "), children: [
6818
- /* @__PURE__ */ jsx64("div", { className: "hidden md:block", children: /* @__PURE__ */ jsx64(
6926
+ return /* @__PURE__ */ jsxs59("div", { ref, className: ["w-full", className].filter(Boolean).join(" "), children: [
6927
+ /* @__PURE__ */ jsx65("div", { className: "hidden md:block", children: /* @__PURE__ */ jsx65(
6819
6928
  PricingTableDesktop,
6820
6929
  {
6821
6930
  ...props,
@@ -6824,7 +6933,7 @@ var PricingTable = React64.forwardRef(
6824
6933
  showBillingToggle
6825
6934
  }
6826
6935
  ) }),
6827
- /* @__PURE__ */ jsx64("div", { className: "md:hidden", children: /* @__PURE__ */ jsx64(
6936
+ /* @__PURE__ */ jsx65("div", { className: "md:hidden", children: /* @__PURE__ */ jsx65(
6828
6937
  PricingTableMobile,
6829
6938
  {
6830
6939
  ...props,
@@ -6839,14 +6948,14 @@ var PricingTable = React64.forwardRef(
6839
6948
  PricingTable.displayName = "PricingTable";
6840
6949
 
6841
6950
  // virtual-pkg:src/atoms/ProductCardGrid/ProductCardGrid.tsx
6842
- import * as React65 from "react";
6843
- import { jsx as jsx65, jsxs as jsxs59 } from "react/jsx-runtime";
6951
+ import * as React66 from "react";
6952
+ import { jsx as jsx66, jsxs as jsxs60 } from "react/jsx-runtime";
6844
6953
  var COLS = {
6845
6954
  2: "grid-cols-1 sm:grid-cols-2",
6846
6955
  3: "grid-cols-1 sm:grid-cols-2 md:grid-cols-3",
6847
6956
  4: "grid-cols-2 md:grid-cols-4"
6848
6957
  };
6849
- var ProductCardGrid = React65.forwardRef(
6958
+ var ProductCardGrid = React66.forwardRef(
6850
6959
  ({
6851
6960
  items,
6852
6961
  columns = 3,
@@ -6858,19 +6967,19 @@ var ProductCardGrid = React65.forwardRef(
6858
6967
  label = "Products",
6859
6968
  className,
6860
6969
  ...rest
6861
- }, ref) => /* @__PURE__ */ jsx65(
6970
+ }, ref) => /* @__PURE__ */ jsx66(
6862
6971
  "section",
6863
6972
  {
6864
6973
  ref,
6865
6974
  "aria-label": label,
6866
6975
  className: ["w-full", className].filter(Boolean).join(" "),
6867
6976
  ...rest,
6868
- children: items.length === 0 ? /* @__PURE__ */ jsxs59("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: [
6869
- /* @__PURE__ */ jsx65(Icon, { name: emptyIcon, size: 24, className: "text-muted" }),
6870
- /* @__PURE__ */ jsx65("h3", { className: "mt-xs text-heading-sm text-ink", children: emptyTitle }),
6871
- emptyDescription ? /* @__PURE__ */ jsx65("p", { className: "text-body-md text-muted", children: emptyDescription }) : null,
6872
- onEmptyAction ? /* @__PURE__ */ jsx65(Button, { variant: "primary", className: "mt-sm", onClick: onEmptyAction, children: emptyActionLabel }) : null
6873
- ] }) : /* @__PURE__ */ jsx65("ul", { className: ["grid gap-gutter", COLS[columns]].join(" "), children: items.map((item) => /* @__PURE__ */ jsx65("li", { className: "flex min-w-0", children: /* @__PURE__ */ jsx65(
6977
+ children: items.length === 0 ? /* @__PURE__ */ jsxs60("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: [
6978
+ /* @__PURE__ */ jsx66(Icon, { name: emptyIcon, size: 24, className: "text-muted" }),
6979
+ /* @__PURE__ */ jsx66("h3", { className: "mt-xs text-heading-sm text-ink", children: emptyTitle }),
6980
+ emptyDescription ? /* @__PURE__ */ jsx66("p", { className: "text-body-md text-muted", children: emptyDescription }) : null,
6981
+ onEmptyAction ? /* @__PURE__ */ jsx66(Button, { variant: "primary", className: "mt-sm", onClick: onEmptyAction, children: emptyActionLabel }) : null
6982
+ ] }) : /* @__PURE__ */ jsx66("ul", { className: ["grid gap-gutter", COLS[columns]].join(" "), children: items.map((item) => /* @__PURE__ */ jsx66("li", { className: "flex min-w-0", children: /* @__PURE__ */ jsx66(
6874
6983
  Card,
6875
6984
  {
6876
6985
  layout: "tile",
@@ -6879,7 +6988,7 @@ var ProductCardGrid = React65.forwardRef(
6879
6988
  icon: item.icon ?? "box",
6880
6989
  href: item.href,
6881
6990
  linkLabel: `Open ${item.title}`,
6882
- badge: item.badge ? /* @__PURE__ */ jsx65(Badge, { tone: "primary", size: "md", children: item.badge }) : void 0
6991
+ badge: item.badge ? /* @__PURE__ */ jsx66(Badge, { tone: "primary", size: "md", children: item.badge }) : void 0
6883
6992
  }
6884
6993
  ) }, item.id)) })
6885
6994
  }
@@ -6888,14 +6997,14 @@ var ProductCardGrid = React65.forwardRef(
6888
6997
  ProductCardGrid.displayName = "ProductCardGrid";
6889
6998
 
6890
6999
  // virtual-pkg:src/atoms/Radio/Radio.tsx
6891
- import * as React66 from "react";
6892
- import { jsx as jsx66, jsxs as jsxs60 } from "react/jsx-runtime";
7000
+ import * as React67 from "react";
7001
+ import { jsx as jsx67, jsxs as jsxs61 } from "react/jsx-runtime";
6893
7002
  var cn49 = (...parts) => parts.filter(Boolean).join(" ");
6894
7003
  var RING = { sm: "h-3.5 w-3.5", md: "h-4 w-4" };
6895
7004
  var DOT2 = { sm: "h-1.5 w-1.5", md: "h-2 w-2" };
6896
7005
  var SWATCH = { sm: "h-5 w-5", md: "h-6 w-6" };
6897
7006
  var TEXT2 = { sm: "text-body-sm", md: "text-body-md" };
6898
- var Radio = React66.forwardRef(
7007
+ var Radio = React67.forwardRef(
6899
7008
  ({
6900
7009
  checked,
6901
7010
  defaultChecked,
@@ -6913,18 +7022,18 @@ var Radio = React66.forwardRef(
6913
7022
  "aria-label": ariaLabel,
6914
7023
  ...rest
6915
7024
  }, ref) => {
6916
- const autoId = React66.useId();
7025
+ const autoId = React67.useId();
6917
7026
  const inputId = id ?? `radio-${autoId}`;
6918
7027
  const descId = description ? `${inputId}-desc` : void 0;
6919
7028
  const isControlled = checked !== void 0;
6920
- const [inner, setInner] = React66.useState(Boolean(defaultChecked));
7029
+ const [inner, setInner] = React67.useState(Boolean(defaultChecked));
6921
7030
  const on = isControlled ? Boolean(checked) : inner;
6922
7031
  const handleChange = (e) => {
6923
7032
  if (!isControlled) setInner(e.target.checked);
6924
7033
  if (e.target.checked) onValueChange?.(String(value ?? ""));
6925
7034
  onChange?.(e);
6926
7035
  };
6927
- const input = /* @__PURE__ */ jsx66(
7036
+ const input = /* @__PURE__ */ jsx67(
6928
7037
  "input",
6929
7038
  {
6930
7039
  ref,
@@ -6941,9 +7050,9 @@ var Radio = React66.forwardRef(
6941
7050
  ...rest
6942
7051
  }
6943
7052
  );
6944
- const control = swatch ? /* @__PURE__ */ jsxs60("span", { className: cn49("relative inline-flex", SWATCH[size]), children: [
7053
+ const control = swatch ? /* @__PURE__ */ jsxs61("span", { className: cn49("relative inline-flex", SWATCH[size]), children: [
6945
7054
  input,
6946
- /* @__PURE__ */ jsx66(
7055
+ /* @__PURE__ */ jsx67(
6947
7056
  "span",
6948
7057
  {
6949
7058
  "aria-hidden": "true",
@@ -6955,9 +7064,9 @@ var Radio = React66.forwardRef(
6955
7064
  )
6956
7065
  }
6957
7066
  )
6958
- ] }) : /* @__PURE__ */ jsxs60("span", { className: cn49("relative inline-flex", RING[size]), children: [
7067
+ ] }) : /* @__PURE__ */ jsxs61("span", { className: cn49("relative inline-flex", RING[size]), children: [
6959
7068
  input,
6960
- /* @__PURE__ */ jsx66(
7069
+ /* @__PURE__ */ jsx67(
6961
7070
  "span",
6962
7071
  {
6963
7072
  "aria-hidden": "true",
@@ -6967,7 +7076,7 @@ var Radio = React66.forwardRef(
6967
7076
  on ? "border-primary" : invalid ? "border-semantic-error" : "border-hairline-strong group-hover:border-muted-soft",
6968
7077
  disabled && !on && "bg-surface-soft border-hairline shadow-none"
6969
7078
  ),
6970
- children: /* @__PURE__ */ jsx66(
7079
+ children: /* @__PURE__ */ jsx67(
6971
7080
  "span",
6972
7081
  {
6973
7082
  className: cn49(
@@ -6980,7 +7089,7 @@ var Radio = React66.forwardRef(
6980
7089
  }
6981
7090
  )
6982
7091
  ] });
6983
- return /* @__PURE__ */ jsxs60(
7092
+ return /* @__PURE__ */ jsxs61(
6984
7093
  "label",
6985
7094
  {
6986
7095
  htmlFor: inputId,
@@ -6990,7 +7099,7 @@ var Radio = React66.forwardRef(
6990
7099
  className
6991
7100
  ),
6992
7101
  children: [
6993
- /* @__PURE__ */ jsx66(
7102
+ /* @__PURE__ */ jsx67(
6994
7103
  "span",
6995
7104
  {
6996
7105
  className: cn49(
@@ -7001,9 +7110,9 @@ var Radio = React66.forwardRef(
7001
7110
  children: control
7002
7111
  }
7003
7112
  ),
7004
- (label || description) && /* @__PURE__ */ jsxs60("span", { className: "flex min-w-0 flex-col gap-xxs", children: [
7005
- label && /* @__PURE__ */ jsx66("span", { className: TEXT2[size], children: label }),
7006
- description && /* @__PURE__ */ jsx66("span", { id: descId, className: "text-body-sm text-muted", children: description })
7113
+ (label || description) && /* @__PURE__ */ jsxs61("span", { className: "flex min-w-0 flex-col gap-xxs", children: [
7114
+ label && /* @__PURE__ */ jsx67("span", { className: TEXT2[size], children: label }),
7115
+ description && /* @__PURE__ */ jsx67("span", { id: descId, className: "text-body-sm text-muted", children: description })
7007
7116
  ] })
7008
7117
  ]
7009
7118
  }
@@ -7013,20 +7122,20 @@ var Radio = React66.forwardRef(
7013
7122
  Radio.displayName = "Radio";
7014
7123
 
7015
7124
  // virtual-pkg:src/atoms/Rating/Rating.tsx
7016
- import * as React67 from "react";
7017
- import { jsx as jsx67, jsxs as jsxs61 } from "react/jsx-runtime";
7125
+ import * as React68 from "react";
7126
+ import { jsx as jsx68, jsxs as jsxs62 } from "react/jsx-runtime";
7018
7127
  var cn50 = (...parts) => parts.filter(Boolean).join(" ");
7019
7128
  var starPx = { sm: 14, md: 18 };
7020
7129
  function Star({ fill, px }) {
7021
7130
  const pct = Math.max(0, Math.min(1, fill)) * 100;
7022
- return /* @__PURE__ */ jsxs61(
7131
+ return /* @__PURE__ */ jsxs62(
7023
7132
  "span",
7024
7133
  {
7025
7134
  className: "relative inline-flex shrink-0",
7026
7135
  style: { width: px, height: px },
7027
7136
  "aria-hidden": "true",
7028
7137
  children: [
7029
- /* @__PURE__ */ jsx67(
7138
+ /* @__PURE__ */ jsx68(
7030
7139
  Icon,
7031
7140
  {
7032
7141
  name: "star",
@@ -7036,12 +7145,12 @@ function Star({ fill, px }) {
7036
7145
  className: "text-hairline-strong"
7037
7146
  }
7038
7147
  ),
7039
- /* @__PURE__ */ jsx67(
7148
+ /* @__PURE__ */ jsx68(
7040
7149
  "span",
7041
7150
  {
7042
7151
  className: "absolute inset-y-0 left-0 overflow-hidden transition-[width] duration-200 ease-out",
7043
7152
  style: { width: `${pct}%` },
7044
- children: /* @__PURE__ */ jsx67(
7153
+ children: /* @__PURE__ */ jsx68(
7045
7154
  Icon,
7046
7155
  {
7047
7156
  name: "star",
@@ -7057,7 +7166,7 @@ function Star({ fill, px }) {
7057
7166
  }
7058
7167
  );
7059
7168
  }
7060
- var Rating = React67.forwardRef(
7169
+ var Rating = React68.forwardRef(
7061
7170
  ({
7062
7171
  value,
7063
7172
  defaultValue = 0,
@@ -7072,8 +7181,8 @@ var Rating = React67.forwardRef(
7072
7181
  className,
7073
7182
  ...rest
7074
7183
  }, ref) => {
7075
- const [inner, setInner] = React67.useState(defaultValue);
7076
- const [hover, setHover] = React67.useState(null);
7184
+ const [inner, setInner] = React68.useState(defaultValue);
7185
+ const [hover, setHover] = React68.useState(null);
7077
7186
  const current = value ?? inner;
7078
7187
  const shown = hover ?? current;
7079
7188
  const px = starPx[size];
@@ -7083,29 +7192,29 @@ var Rating = React67.forwardRef(
7083
7192
  onChange?.(next);
7084
7193
  };
7085
7194
  const stars = Array.from({ length: max }, (_, i) => i + 1);
7086
- return /* @__PURE__ */ jsxs61(
7195
+ return /* @__PURE__ */ jsxs62(
7087
7196
  "div",
7088
7197
  {
7089
7198
  ref,
7090
7199
  className: cn50("inline-flex items-center gap-sm", className),
7091
7200
  ...rest,
7092
7201
  children: [
7093
- readOnly ? /* @__PURE__ */ jsx67(
7202
+ readOnly ? /* @__PURE__ */ jsx68(
7094
7203
  "span",
7095
7204
  {
7096
7205
  role: "img",
7097
7206
  "aria-label": `${label}: ${current.toFixed(2)} out of ${max}`,
7098
7207
  className: "inline-flex items-center gap-xs",
7099
- children: stars.map((n) => /* @__PURE__ */ jsx67(Star, { fill: current - (n - 1), px }, n))
7208
+ children: stars.map((n) => /* @__PURE__ */ jsx68(Star, { fill: current - (n - 1), px }, n))
7100
7209
  }
7101
- ) : /* @__PURE__ */ jsx67(
7210
+ ) : /* @__PURE__ */ jsx68(
7102
7211
  "div",
7103
7212
  {
7104
7213
  role: "radiogroup",
7105
7214
  "aria-label": label,
7106
7215
  className: "inline-flex items-center",
7107
7216
  onMouseLeave: () => setHover(null),
7108
- children: stars.map((n) => /* @__PURE__ */ jsx67(
7217
+ children: stars.map((n) => /* @__PURE__ */ jsx68(
7109
7218
  Button,
7110
7219
  {
7111
7220
  variant: "ghost",
@@ -7119,15 +7228,15 @@ var Rating = React67.forwardRef(
7119
7228
  onFocus: () => setHover(n),
7120
7229
  onBlur: () => setHover(null),
7121
7230
  onClick: () => pick(n),
7122
- children: /* @__PURE__ */ jsx67(Star, { fill: shown >= n ? 1 : 0, px })
7231
+ children: /* @__PURE__ */ jsx68(Star, { fill: shown >= n ? 1 : 0, px })
7123
7232
  },
7124
7233
  n
7125
7234
  ))
7126
7235
  }
7127
7236
  ),
7128
- showValue && /* @__PURE__ */ jsxs61("span", { className: "inline-flex items-baseline gap-xs text-body-md", children: [
7129
- /* @__PURE__ */ jsx67("span", { className: "text-ink", children: current.toFixed(2) }),
7130
- count !== void 0 && /* @__PURE__ */ jsxs61("span", { className: "text-muted", children: [
7237
+ showValue && /* @__PURE__ */ jsxs62("span", { className: "inline-flex items-baseline gap-xs text-body-md", children: [
7238
+ /* @__PURE__ */ jsx68("span", { className: "text-ink", children: current.toFixed(2) }),
7239
+ count !== void 0 && /* @__PURE__ */ jsxs62("span", { className: "text-muted", children: [
7131
7240
  "(",
7132
7241
  count,
7133
7242
  ")"
@@ -7141,10 +7250,10 @@ var Rating = React67.forwardRef(
7141
7250
  Rating.displayName = "Rating";
7142
7251
 
7143
7252
  // virtual-pkg:src/atoms/SearchBar/SearchBar.tsx
7144
- import * as React68 from "react";
7145
- import { jsx as jsx68, jsxs as jsxs62 } from "react/jsx-runtime";
7253
+ import * as React69 from "react";
7254
+ import { jsx as jsx69, jsxs as jsxs63 } from "react/jsx-runtime";
7146
7255
  var cn51 = (...parts) => parts.filter(Boolean).join(" ");
7147
- var SearchBar = React68.forwardRef(
7256
+ var SearchBar = React69.forwardRef(
7148
7257
  ({
7149
7258
  value,
7150
7259
  defaultValue = "",
@@ -7162,14 +7271,14 @@ var SearchBar = React68.forwardRef(
7162
7271
  "aria-label": ariaLabel = "Search",
7163
7272
  ...inputProps
7164
7273
  }, ref) => {
7165
- const [inner, setInner] = React68.useState(defaultValue);
7274
+ const [inner, setInner] = React69.useState(defaultValue);
7166
7275
  const query = value ?? inner;
7167
7276
  const setQuery = (next) => {
7168
7277
  if (value === void 0) setInner(next);
7169
7278
  onValueChange?.(next);
7170
7279
  };
7171
7280
  const showHint = typeof resultCount === "number" && query.length > 0;
7172
- return /* @__PURE__ */ jsxs62(
7281
+ return /* @__PURE__ */ jsxs63(
7173
7282
  "form",
7174
7283
  {
7175
7284
  role: "search",
@@ -7179,7 +7288,7 @@ var SearchBar = React68.forwardRef(
7179
7288
  onSearch?.(query);
7180
7289
  },
7181
7290
  children: [
7182
- /* @__PURE__ */ jsx68(
7291
+ /* @__PURE__ */ jsx69(
7183
7292
  Input,
7184
7293
  {
7185
7294
  ref,
@@ -7196,13 +7305,13 @@ var SearchBar = React68.forwardRef(
7196
7305
  setQuery("");
7197
7306
  }
7198
7307
  },
7199
- leading: /* @__PURE__ */ jsx68(Icon, { name: "search", size: 16 }),
7200
- trailing: clearable ? /* @__PURE__ */ jsx68(
7308
+ leading: /* @__PURE__ */ jsx69(Icon, { name: "search", size: 16 }),
7309
+ trailing: clearable ? /* @__PURE__ */ jsx69(
7201
7310
  "span",
7202
7311
  {
7203
7312
  "data-state": query ? "open" : "closed",
7204
7313
  className: "inline-flex transition duration-150 ease-out data-[state=open]:opacity-100 data-[state=closed]:pointer-events-none data-[state=closed]:opacity-0",
7205
- children: /* @__PURE__ */ jsx68(
7314
+ children: /* @__PURE__ */ jsx69(
7206
7315
  IconButton,
7207
7316
  {
7208
7317
  type: "button",
@@ -7219,13 +7328,13 @@ var SearchBar = React68.forwardRef(
7219
7328
  }
7220
7329
  )
7221
7330
  }
7222
- ) : /* @__PURE__ */ jsx68(
7331
+ ) : /* @__PURE__ */ jsx69(
7223
7332
  "span",
7224
7333
  {
7225
7334
  "data-state": showHint ? "open" : "closed",
7226
7335
  "aria-live": "polite",
7227
7336
  className: "transition duration-150 ease-out data-[state=open]:opacity-100 data-[state=closed]:pointer-events-none data-[state=closed]:opacity-0",
7228
- children: typeof resultCount === "number" ? /* @__PURE__ */ jsxs62(Badge, { tone: "neutral", size: "sm", children: [
7337
+ children: typeof resultCount === "number" ? /* @__PURE__ */ jsxs63(Badge, { tone: "neutral", size: "sm", children: [
7229
7338
  resultCount,
7230
7339
  " ",
7231
7340
  resultCount === 1 ? "result" : "results"
@@ -7236,7 +7345,7 @@ var SearchBar = React68.forwardRef(
7236
7345
  ...inputProps
7237
7346
  }
7238
7347
  ),
7239
- actionLabel ? /* @__PURE__ */ jsx68(Button, { type: "button", variant: "secondary", size, disabled, onClick: onAction, children: actionLabel }) : null
7348
+ actionLabel ? /* @__PURE__ */ jsx69(Button, { type: "button", variant: "secondary", size, disabled, onClick: onAction, children: actionLabel }) : null
7240
7349
  ]
7241
7350
  }
7242
7351
  );
@@ -7245,16 +7354,16 @@ var SearchBar = React68.forwardRef(
7245
7354
  SearchBar.displayName = "SearchBar";
7246
7355
 
7247
7356
  // virtual-pkg:src/atoms/SearchResultsList/SearchResultsList.tsx
7248
- import * as React71 from "react";
7357
+ import * as React72 from "react";
7249
7358
 
7250
7359
  // virtual-pkg:src/atoms/Skeleton/Skeleton.tsx
7251
- import React69 from "react";
7252
- import { jsx as jsx69, jsxs as jsxs63 } from "react/jsx-runtime";
7360
+ import React70 from "react";
7361
+ import { jsx as jsx70, jsxs as jsxs64 } from "react/jsx-runtime";
7253
7362
  function cn52(...parts) {
7254
7363
  return parts.filter(Boolean).join(" ");
7255
7364
  }
7256
7365
  function Bone({ className, animated }) {
7257
- return /* @__PURE__ */ jsx69(
7366
+ return /* @__PURE__ */ jsx70(
7258
7367
  "span",
7259
7368
  {
7260
7369
  "aria-hidden": "true",
@@ -7262,12 +7371,12 @@ function Bone({ className, animated }) {
7262
7371
  }
7263
7372
  );
7264
7373
  }
7265
- var Skeleton = React69.forwardRef(
7374
+ var Skeleton = React70.forwardRef(
7266
7375
  ({ variant = "block", lines = 3, animated = true, label = "Loading", className, ...rest }, ref) => {
7267
7376
  const a11y = { role: "status", "aria-live": "polite", "aria-busy": true };
7268
- const sr = /* @__PURE__ */ jsx69("span", { className: "sr-only", children: label });
7377
+ const sr = /* @__PURE__ */ jsx70("span", { className: "sr-only", children: label });
7269
7378
  if (variant === "card") {
7270
- return /* @__PURE__ */ jsxs63(
7379
+ return /* @__PURE__ */ jsxs64(
7271
7380
  "div",
7272
7381
  {
7273
7382
  ref,
@@ -7278,10 +7387,10 @@ var Skeleton = React69.forwardRef(
7278
7387
  ),
7279
7388
  ...rest,
7280
7389
  children: [
7281
- /* @__PURE__ */ jsx69(Bone, { animated, className: "size-14 shrink-0 rounded-md" }),
7282
- /* @__PURE__ */ jsxs63("div", { className: "flex min-w-0 flex-1 flex-col gap-sm", children: [
7283
- /* @__PURE__ */ jsx69(Bone, { animated, className: "h-3 w-full rounded-xs" }),
7284
- /* @__PURE__ */ jsx69(Bone, { animated, className: "h-3 w-1/2 rounded-xs" })
7390
+ /* @__PURE__ */ jsx70(Bone, { animated, className: "size-14 shrink-0 rounded-md" }),
7391
+ /* @__PURE__ */ jsxs64("div", { className: "flex min-w-0 flex-1 flex-col gap-sm", children: [
7392
+ /* @__PURE__ */ jsx70(Bone, { animated, className: "h-3 w-full rounded-xs" }),
7393
+ /* @__PURE__ */ jsx70(Bone, { animated, className: "h-3 w-1/2 rounded-xs" })
7285
7394
  ] }),
7286
7395
  sr
7287
7396
  ]
@@ -7289,19 +7398,19 @@ var Skeleton = React69.forwardRef(
7289
7398
  );
7290
7399
  }
7291
7400
  if (variant === "list-row") {
7292
- return /* @__PURE__ */ jsxs63("div", { ref, ...a11y, className: cn52("flex w-full items-center gap-md py-xs", className), ...rest, children: [
7293
- /* @__PURE__ */ jsx69(Bone, { animated, className: "size-8 shrink-0 rounded-sm" }),
7294
- /* @__PURE__ */ jsxs63("div", { className: "flex min-w-0 flex-1 flex-col gap-sm", children: [
7295
- /* @__PURE__ */ jsx69(Bone, { animated, className: "h-2.5 w-full rounded-xs" }),
7296
- /* @__PURE__ */ jsx69(Bone, { animated, className: "h-2.5 w-3/5 rounded-xs" })
7401
+ return /* @__PURE__ */ jsxs64("div", { ref, ...a11y, className: cn52("flex w-full items-center gap-md py-xs", className), ...rest, children: [
7402
+ /* @__PURE__ */ jsx70(Bone, { animated, className: "size-8 shrink-0 rounded-sm" }),
7403
+ /* @__PURE__ */ jsxs64("div", { className: "flex min-w-0 flex-1 flex-col gap-sm", children: [
7404
+ /* @__PURE__ */ jsx70(Bone, { animated, className: "h-2.5 w-full rounded-xs" }),
7405
+ /* @__PURE__ */ jsx70(Bone, { animated, className: "h-2.5 w-3/5 rounded-xs" })
7297
7406
  ] }),
7298
7407
  sr
7299
7408
  ] });
7300
7409
  }
7301
7410
  if (variant === "paragraph") {
7302
7411
  const count = Math.max(1, lines);
7303
- return /* @__PURE__ */ jsxs63("div", { ref, ...a11y, className: cn52("flex w-full flex-col gap-sm", className), ...rest, children: [
7304
- Array.from({ length: count }).map((_, i) => /* @__PURE__ */ jsx69(
7412
+ return /* @__PURE__ */ jsxs64("div", { ref, ...a11y, className: cn52("flex w-full flex-col gap-sm", className), ...rest, children: [
7413
+ Array.from({ length: count }).map((_, i) => /* @__PURE__ */ jsx70(
7305
7414
  Bone,
7306
7415
  {
7307
7416
  animated,
@@ -7314,7 +7423,7 @@ var Skeleton = React69.forwardRef(
7314
7423
  }
7315
7424
  const has = (prefix) => Boolean(className && prefix.test(className));
7316
7425
  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");
7317
- return /* @__PURE__ */ jsx69(
7426
+ return /* @__PURE__ */ jsx70(
7318
7427
  "div",
7319
7428
  {
7320
7429
  ref,
@@ -7329,8 +7438,8 @@ var Skeleton = React69.forwardRef(
7329
7438
  Skeleton.displayName = "Skeleton";
7330
7439
 
7331
7440
  // virtual-pkg:src/atoms/Spinner/Spinner.tsx
7332
- import * as React70 from "react";
7333
- import { jsx as jsx70, jsxs as jsxs64 } from "react/jsx-runtime";
7441
+ import * as React71 from "react";
7442
+ import { jsx as jsx71, jsxs as jsxs65 } from "react/jsx-runtime";
7334
7443
  var RING2 = {
7335
7444
  sm: "h-4 w-4 border-2",
7336
7445
  md: "h-6 w-6 border-2",
@@ -7347,7 +7456,7 @@ var TEXT3 = {
7347
7456
  md: "text-body-md",
7348
7457
  lg: "text-body-md"
7349
7458
  };
7350
- var Spinner = React70.forwardRef(
7459
+ var Spinner = React71.forwardRef(
7351
7460
  ({
7352
7461
  variant = "ring",
7353
7462
  size = "md",
@@ -7360,14 +7469,14 @@ var Spinner = React70.forwardRef(
7360
7469
  }, ref) => {
7361
7470
  const ringTone = tone === "primary" ? "border-primary-soft border-t-primary border-r-primary" : "border-current/20 border-t-current border-r-current";
7362
7471
  const dotTone = tone === "primary" ? "bg-primary" : "bg-current";
7363
- const indicator = variant === "dots" ? /* @__PURE__ */ jsx70("span", { "aria-hidden": "true", className: ["inline-flex items-center", DOT_GAP[size]].join(" "), children: [0, 1, 2].map((i) => /* @__PURE__ */ jsx70(
7472
+ const indicator = variant === "dots" ? /* @__PURE__ */ jsx71("span", { "aria-hidden": "true", className: ["inline-flex items-center", DOT_GAP[size]].join(" "), children: [0, 1, 2].map((i) => /* @__PURE__ */ jsx71(
7364
7473
  "span",
7365
7474
  {
7366
7475
  className: ["block rounded-full animate-pulse", DOT3[size], dotTone].join(" "),
7367
7476
  style: { animationDelay: `${i * 160}ms`, animationDuration: "1s" }
7368
7477
  },
7369
7478
  i
7370
- )) }) : /* @__PURE__ */ jsx70(
7479
+ )) }) : /* @__PURE__ */ jsx71(
7371
7480
  "span",
7372
7481
  {
7373
7482
  "aria-hidden": "true",
@@ -7375,7 +7484,7 @@ var Spinner = React70.forwardRef(
7375
7484
  style: { animationDuration: "800ms" }
7376
7485
  }
7377
7486
  );
7378
- return /* @__PURE__ */ jsxs64(
7487
+ return /* @__PURE__ */ jsxs65(
7379
7488
  "span",
7380
7489
  {
7381
7490
  ref,
@@ -7390,7 +7499,7 @@ var Spinner = React70.forwardRef(
7390
7499
  ...rest,
7391
7500
  children: [
7392
7501
  indicator,
7393
- label ? /* @__PURE__ */ jsx70("span", { className: [TEXT3[size], "text-ink"].join(" "), children: label }) : null
7502
+ label ? /* @__PURE__ */ jsx71("span", { className: [TEXT3[size], "text-ink"].join(" "), children: label }) : null
7394
7503
  ]
7395
7504
  }
7396
7505
  );
@@ -7399,7 +7508,7 @@ var Spinner = React70.forwardRef(
7399
7508
  Spinner.displayName = "Spinner";
7400
7509
 
7401
7510
  // virtual-pkg:src/atoms/SearchResultsList/SearchResultsList.tsx
7402
- import { Fragment as Fragment9, jsx as jsx71, jsxs as jsxs65 } from "react/jsx-runtime";
7511
+ import { Fragment as Fragment9, jsx as jsx72, jsxs as jsxs66 } from "react/jsx-runtime";
7403
7512
  var DEFAULT_SCOPES = [
7404
7513
  { value: "all", label: "All" },
7405
7514
  { value: "issues", label: "Issues" },
@@ -7407,7 +7516,7 @@ var DEFAULT_SCOPES = [
7407
7516
  { value: "documents", label: "Documents" }
7408
7517
  ];
7409
7518
  var cn53 = (...parts) => parts.filter(Boolean).join(" ");
7410
- var SearchResultsList = React71.forwardRef(
7519
+ var SearchResultsList = React72.forwardRef(
7411
7520
  ({
7412
7521
  query,
7413
7522
  onQueryChange,
@@ -7425,7 +7534,7 @@ var SearchResultsList = React71.forwardRef(
7425
7534
  }, ref) => {
7426
7535
  const showEmpty = !loading && results.length === 0;
7427
7536
  const resolvedEmptyDescription = emptyDescription ?? (query ? `Nothing matches \u201C${query}\u201D. Try a different term or scope.` : "Type to search.");
7428
- return /* @__PURE__ */ jsxs65(
7537
+ return /* @__PURE__ */ jsxs66(
7429
7538
  "div",
7430
7539
  {
7431
7540
  ref,
@@ -7435,8 +7544,8 @@ var SearchResultsList = React71.forwardRef(
7435
7544
  ),
7436
7545
  ...rest,
7437
7546
  children: [
7438
- /* @__PURE__ */ jsxs65("div", { className: "flex min-w-0 flex-wrap items-center gap-sm px-base py-md", children: [
7439
- /* @__PURE__ */ jsx71("div", { className: "min-w-0 flex-1 basis-56", children: /* @__PURE__ */ jsx71(
7547
+ /* @__PURE__ */ jsxs66("div", { className: "flex min-w-0 flex-wrap items-center gap-sm px-base py-md", children: [
7548
+ /* @__PURE__ */ jsx72("div", { className: "min-w-0 flex-1 basis-56", children: /* @__PURE__ */ jsx72(
7440
7549
  SearchBar,
7441
7550
  {
7442
7551
  value: query,
@@ -7447,7 +7556,7 @@ var SearchResultsList = React71.forwardRef(
7447
7556
  "aria-label": "Search"
7448
7557
  }
7449
7558
  ) }),
7450
- /* @__PURE__ */ jsx71("div", { role: "group", "aria-label": "Search scope", className: "flex shrink-0 flex-wrap items-center gap-xs", children: scopes.map((s) => /* @__PURE__ */ jsx71(
7559
+ /* @__PURE__ */ jsx72("div", { role: "group", "aria-label": "Search scope", className: "flex shrink-0 flex-wrap items-center gap-xs", children: scopes.map((s) => /* @__PURE__ */ jsx72(
7451
7560
  Chip,
7452
7561
  {
7453
7562
  selected: s.value === scope,
@@ -7457,30 +7566,30 @@ var SearchResultsList = React71.forwardRef(
7457
7566
  s.value
7458
7567
  )) })
7459
7568
  ] }),
7460
- /* @__PURE__ */ jsx71("div", { "aria-live": "polite", "aria-busy": loading || void 0, className: "min-h-40 px-sm pb-sm", children: loading ? /* @__PURE__ */ jsxs65("div", { className: "flex flex-col gap-xs", children: [
7461
- [0, 1, 2].map((i) => /* @__PURE__ */ jsxs65("div", { className: "flex items-center gap-md px-base py-sm", children: [
7462
- /* @__PURE__ */ jsx71(Spinner, { size: "sm", tone: "current", className: "text-muted-soft" }),
7463
- /* @__PURE__ */ jsxs65("div", { className: "flex min-w-0 flex-1 flex-col gap-xs", children: [
7464
- /* @__PURE__ */ jsx71(Skeleton, { variant: "text", className: "w-3/5" }),
7465
- /* @__PURE__ */ jsx71(Skeleton, { variant: "text", className: "w-2/5" })
7569
+ /* @__PURE__ */ jsx72("div", { "aria-live": "polite", "aria-busy": loading || void 0, className: "min-h-40 px-sm pb-sm", children: loading ? /* @__PURE__ */ jsxs66("div", { className: "flex flex-col gap-xs", children: [
7570
+ [0, 1, 2].map((i) => /* @__PURE__ */ jsxs66("div", { className: "flex items-center gap-md px-base py-sm", children: [
7571
+ /* @__PURE__ */ jsx72(Spinner, { size: "sm", tone: "current", className: "text-muted-soft" }),
7572
+ /* @__PURE__ */ jsxs66("div", { className: "flex min-w-0 flex-1 flex-col gap-xs", children: [
7573
+ /* @__PURE__ */ jsx72(Skeleton, { variant: "text", className: "w-3/5" }),
7574
+ /* @__PURE__ */ jsx72(Skeleton, { variant: "text", className: "w-2/5" })
7466
7575
  ] })
7467
7576
  ] }, i)),
7468
- /* @__PURE__ */ jsx71("span", { className: "sr-only", children: "Searching\u2026" })
7469
- ] }) : showEmpty ? /* @__PURE__ */ jsxs65("div", { className: "flex flex-col items-center justify-center gap-xs px-base py-xl text-center", children: [
7470
- /* @__PURE__ */ jsx71(Icon, { name: "search", size: 36, strokeWidth: 1.5, className: "text-muted-soft" }),
7471
- /* @__PURE__ */ jsx71("p", { className: "mt-sm text-heading-sm text-ink", children: emptyTitle }),
7472
- /* @__PURE__ */ jsx71("p", { className: "text-body-sm text-muted", children: resolvedEmptyDescription })
7473
- ] }) : /* @__PURE__ */ jsx71("ul", { className: "flex flex-col", "aria-label": "Search results", children: results.map((r) => /* @__PURE__ */ jsx71("li", { children: /* @__PURE__ */ jsx71(
7577
+ /* @__PURE__ */ jsx72("span", { className: "sr-only", children: "Searching\u2026" })
7578
+ ] }) : showEmpty ? /* @__PURE__ */ jsxs66("div", { className: "flex flex-col items-center justify-center gap-xs px-base py-xl text-center", children: [
7579
+ /* @__PURE__ */ jsx72(Icon, { name: "search", size: 36, strokeWidth: 1.5, className: "text-muted-soft" }),
7580
+ /* @__PURE__ */ jsx72("p", { className: "mt-sm text-heading-sm text-ink", children: emptyTitle }),
7581
+ /* @__PURE__ */ jsx72("p", { className: "text-body-sm text-muted", children: resolvedEmptyDescription })
7582
+ ] }) : /* @__PURE__ */ jsx72("ul", { className: "flex flex-col", "aria-label": "Search results", children: results.map((r) => /* @__PURE__ */ jsx72("li", { children: /* @__PURE__ */ jsx72(
7474
7583
  ListItem,
7475
7584
  {
7476
7585
  variant: "plain",
7477
7586
  href: r.href,
7478
7587
  onClick: () => onResultClick?.(r),
7479
- leading: /* @__PURE__ */ jsx71(Icon, { name: r.icon, size: 18, className: cn53("shrink-0", r.iconClassName ?? "text-muted") }),
7588
+ leading: /* @__PURE__ */ jsx72(Icon, { name: r.icon, size: 18, className: cn53("shrink-0", r.iconClassName ?? "text-muted") }),
7480
7589
  trailing: null,
7481
- title: /* @__PURE__ */ jsxs65(Fragment9, { children: [
7482
- /* @__PURE__ */ jsx71("span", { className: "block truncate text-body-sm text-muted", children: r.type }),
7483
- /* @__PURE__ */ jsx71("span", { className: "block truncate", children: r.title })
7590
+ title: /* @__PURE__ */ jsxs66(Fragment9, { children: [
7591
+ /* @__PURE__ */ jsx72("span", { className: "block truncate text-body-sm text-muted", children: r.type }),
7592
+ /* @__PURE__ */ jsx72("span", { className: "block truncate", children: r.title })
7484
7593
  ] })
7485
7594
  }
7486
7595
  ) }, r.id)) }) })
@@ -7492,15 +7601,15 @@ var SearchResultsList = React71.forwardRef(
7492
7601
  SearchResultsList.displayName = "SearchResultsList";
7493
7602
 
7494
7603
  // virtual-pkg:src/atoms/Sidebar/Sidebar.tsx
7495
- import * as React75 from "react";
7604
+ import * as React76 from "react";
7496
7605
 
7497
7606
  // virtual-pkg:src/atoms/SidebarDesktop/SidebarDesktop.tsx
7498
- import * as React73 from "react";
7607
+ import * as React74 from "react";
7499
7608
 
7500
7609
  // virtual-pkg:src/atoms/Tooltip/Tooltip.tsx
7501
- import React72 from "react";
7610
+ import React73 from "react";
7502
7611
  import { createPortal as createPortal9 } from "react-dom";
7503
- import { jsx as jsx72, jsxs as jsxs66 } from "react/jsx-runtime";
7612
+ import { jsx as jsx73, jsxs as jsxs67 } from "react/jsx-runtime";
7504
7613
  function cn54(...parts) {
7505
7614
  return parts.filter(Boolean).join(" ");
7506
7615
  }
@@ -7529,7 +7638,7 @@ var arrowPos = {
7529
7638
  left: "top-1/2 -right-1 -translate-y-1/2",
7530
7639
  right: "top-1/2 -left-1 -translate-y-1/2"
7531
7640
  };
7532
- var Tooltip = React72.forwardRef(
7641
+ var Tooltip = React73.forwardRef(
7533
7642
  ({
7534
7643
  children,
7535
7644
  content,
@@ -7543,20 +7652,20 @@ var Tooltip = React72.forwardRef(
7543
7652
  disabled = false,
7544
7653
  className
7545
7654
  }, ref) => {
7546
- const [inner, setInner] = React72.useState(defaultOpen);
7655
+ const [inner, setInner] = React73.useState(defaultOpen);
7547
7656
  const open = !disabled && (openProp ?? inner);
7548
- const [coords, setCoords] = React72.useState(null);
7549
- const [mounted, setMounted] = React72.useState(false);
7550
- const anchorRef = React72.useRef(null);
7551
- const timer = React72.useRef(void 0);
7552
- const id = React72.useId();
7553
- React72.useEffect(() => setMounted(true), []);
7657
+ const [coords, setCoords] = React73.useState(null);
7658
+ const [mounted, setMounted] = React73.useState(false);
7659
+ const anchorRef = React73.useRef(null);
7660
+ const timer = React73.useRef(void 0);
7661
+ const id = React73.useId();
7662
+ React73.useEffect(() => setMounted(true), []);
7554
7663
  const setRefs = (node) => {
7555
7664
  anchorRef.current = node;
7556
7665
  if (typeof ref === "function") ref(node);
7557
7666
  else if (ref) ref.current = node;
7558
7667
  };
7559
- const setOpen = React72.useCallback(
7668
+ const setOpen = React73.useCallback(
7560
7669
  (next) => {
7561
7670
  window.clearTimeout(timer.current);
7562
7671
  if (openProp === void 0) setInner(next);
@@ -7564,11 +7673,11 @@ var Tooltip = React72.forwardRef(
7564
7673
  },
7565
7674
  [openProp, onOpenChange]
7566
7675
  );
7567
- const measure = React72.useCallback(() => {
7676
+ const measure = React73.useCallback(() => {
7568
7677
  const el = anchorRef.current;
7569
7678
  if (el) setCoords(place(el.getBoundingClientRect(), placement));
7570
7679
  }, [placement]);
7571
- React72.useLayoutEffect(() => {
7680
+ React73.useLayoutEffect(() => {
7572
7681
  if (!open) return;
7573
7682
  measure();
7574
7683
  window.addEventListener("scroll", measure, true);
@@ -7578,7 +7687,7 @@ var Tooltip = React72.forwardRef(
7578
7687
  window.removeEventListener("resize", measure);
7579
7688
  };
7580
7689
  }, [open, measure]);
7581
- React72.useEffect(() => {
7690
+ React73.useEffect(() => {
7582
7691
  if (!open) return;
7583
7692
  const onKey = (e) => {
7584
7693
  if (e.key === "Escape") setOpen(false);
@@ -7586,11 +7695,11 @@ var Tooltip = React72.forwardRef(
7586
7695
  document.addEventListener("keydown", onKey);
7587
7696
  return () => document.removeEventListener("keydown", onKey);
7588
7697
  }, [open, setOpen]);
7589
- React72.useEffect(() => () => window.clearTimeout(timer.current), []);
7590
- const trigger = React72.cloneElement(children, {
7698
+ React73.useEffect(() => () => window.clearTimeout(timer.current), []);
7699
+ const trigger = React73.cloneElement(children, {
7591
7700
  "aria-describedby": open ? id : void 0
7592
7701
  });
7593
- const panel = /* @__PURE__ */ jsx72(
7702
+ const panel = /* @__PURE__ */ jsx73(
7594
7703
  "div",
7595
7704
  {
7596
7705
  style: {
@@ -7601,7 +7710,7 @@ var Tooltip = React72.forwardRef(
7601
7710
  zIndex: "var(--z-tooltip, 1500)",
7602
7711
  pointerEvents: "none"
7603
7712
  },
7604
- children: /* @__PURE__ */ jsxs66(
7713
+ children: /* @__PURE__ */ jsxs67(
7605
7714
  "div",
7606
7715
  {
7607
7716
  id,
@@ -7615,7 +7724,7 @@ var Tooltip = React72.forwardRef(
7615
7724
  ),
7616
7725
  children: [
7617
7726
  content,
7618
- variant === "default" && shortcut && shortcut.length > 0 ? /* @__PURE__ */ jsx72("span", { className: "flex items-center gap-xxs", children: shortcut.map((key) => /* @__PURE__ */ jsx72(
7727
+ variant === "default" && shortcut && shortcut.length > 0 ? /* @__PURE__ */ jsx73("span", { className: "flex items-center gap-xxs", children: shortcut.map((key) => /* @__PURE__ */ jsx73(
7619
7728
  "kbd",
7620
7729
  {
7621
7730
  className: "inline-flex min-w-5 items-center justify-center rounded-xs bg-inverse-ink/15 px-xs text-caption text-inverse-ink",
@@ -7623,7 +7732,7 @@ var Tooltip = React72.forwardRef(
7623
7732
  },
7624
7733
  key
7625
7734
  )) }) : null,
7626
- variant === "default" ? /* @__PURE__ */ jsx72(
7735
+ variant === "default" ? /* @__PURE__ */ jsx73(
7627
7736
  "span",
7628
7737
  {
7629
7738
  "aria-hidden": "true",
@@ -7635,7 +7744,7 @@ var Tooltip = React72.forwardRef(
7635
7744
  )
7636
7745
  }
7637
7746
  );
7638
- return /* @__PURE__ */ jsxs66(
7747
+ return /* @__PURE__ */ jsxs67(
7639
7748
  "span",
7640
7749
  {
7641
7750
  ref: setRefs,
@@ -7658,11 +7767,11 @@ var Tooltip = React72.forwardRef(
7658
7767
  Tooltip.displayName = "Tooltip";
7659
7768
 
7660
7769
  // virtual-pkg:src/atoms/SidebarDesktop/SidebarDesktop.tsx
7661
- import { jsx as jsx73, jsxs as jsxs67 } from "react/jsx-runtime";
7770
+ import { jsx as jsx74, jsxs as jsxs68 } from "react/jsx-runtime";
7662
7771
  var cn55 = (...parts) => parts.filter(Boolean).join(" ");
7663
7772
  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";
7664
7773
  var hasBadge = (badge) => badge !== void 0 && badge !== null && badge !== false;
7665
- var SidebarDesktop = React73.forwardRef(
7774
+ var SidebarDesktop = React74.forwardRef(
7666
7775
  ({
7667
7776
  brandName = "Linear",
7668
7777
  brandHref = "#",
@@ -7686,15 +7795,15 @@ var SidebarDesktop = React73.forwardRef(
7686
7795
  children,
7687
7796
  ...rest
7688
7797
  }, ref) => {
7689
- const baseId = React73.useId();
7690
- const [innerCollapsed, setInnerCollapsed] = React73.useState(defaultCollapsed);
7798
+ const baseId = React74.useId();
7799
+ const [innerCollapsed, setInnerCollapsed] = React74.useState(defaultCollapsed);
7691
7800
  const collapsed = collapsedProp ?? innerCollapsed;
7692
7801
  const toggle = () => {
7693
7802
  const next = !collapsed;
7694
7803
  if (collapsedProp === void 0) setInnerCollapsed(next);
7695
7804
  onCollapsedChange?.(next);
7696
7805
  };
7697
- const [expanded, setExpanded] = React73.useState(
7806
+ const [expanded, setExpanded] = React74.useState(
7698
7807
  () => new Set(
7699
7808
  defaultExpanded ?? sections.filter((s) => s.label).map((s) => s.id)
7700
7809
  )
@@ -7706,9 +7815,9 @@ var SidebarDesktop = React73.forwardRef(
7706
7815
  else next.add(id);
7707
7816
  return next;
7708
7817
  });
7709
- const renderIcon = (link) => link.icon ? /* @__PURE__ */ jsxs67("span", { className: "relative inline-flex shrink-0 items-center justify-center", children: [
7710
- /* @__PURE__ */ jsx73(Icon, { name: link.icon, size: 16, className: "text-body" }),
7711
- collapsed && hasBadge(link.badge) && /* @__PURE__ */ jsx73(
7818
+ const renderIcon = (link) => link.icon ? /* @__PURE__ */ jsxs68("span", { className: "relative inline-flex shrink-0 items-center justify-center", children: [
7819
+ /* @__PURE__ */ jsx74(Icon, { name: link.icon, size: 16, className: "text-body" }),
7820
+ collapsed && hasBadge(link.badge) && /* @__PURE__ */ jsx74(
7712
7821
  "span",
7713
7822
  {
7714
7823
  "aria-hidden": "true",
@@ -7718,7 +7827,7 @@ var SidebarDesktop = React73.forwardRef(
7718
7827
  ] }) : null;
7719
7828
  const renderLink = (link, nested = false) => {
7720
7829
  const current = link.id === activeId;
7721
- const anchor = /* @__PURE__ */ jsxs67(
7830
+ const anchor = /* @__PURE__ */ jsxs68(
7722
7831
  "a",
7723
7832
  {
7724
7833
  href: link.href ?? `#${link.id}`,
@@ -7732,20 +7841,20 @@ var SidebarDesktop = React73.forwardRef(
7732
7841
  ),
7733
7842
  children: [
7734
7843
  renderIcon(link),
7735
- !collapsed && /* @__PURE__ */ jsx73("span", { className: "min-w-0 flex-1 truncate", children: link.label }),
7736
- !collapsed && hasBadge(link.badge) && /* @__PURE__ */ jsx73("span", { className: "shrink-0 text-caption text-muted tabular-nums", children: link.badge })
7844
+ !collapsed && /* @__PURE__ */ jsx74("span", { className: "min-w-0 flex-1 truncate", children: link.label }),
7845
+ !collapsed && hasBadge(link.badge) && /* @__PURE__ */ jsx74("span", { className: "shrink-0 text-caption text-muted tabular-nums", children: link.badge })
7737
7846
  ]
7738
7847
  }
7739
7848
  );
7740
- return /* @__PURE__ */ jsx73("li", { className: collapsed ? "flex justify-center" : void 0, children: collapsed ? /* @__PURE__ */ jsx73(Tooltip, { content: link.label, placement: "right", children: anchor }) : anchor }, link.id);
7849
+ return /* @__PURE__ */ jsx74("li", { className: collapsed ? "flex justify-center" : void 0, children: collapsed ? /* @__PURE__ */ jsx74(Tooltip, { content: link.label, placement: "right", children: anchor }) : anchor }, link.id);
7741
7850
  };
7742
7851
  const renderGroup = (link) => {
7743
7852
  const open = isOpen(link.id);
7744
7853
  const panelId = `${baseId}-${link.id}`;
7745
7854
  const kids = link.children ?? [];
7746
7855
  if (collapsed) {
7747
- return /* @__PURE__ */ jsxs67(React73.Fragment, { children: [
7748
- /* @__PURE__ */ jsx73("li", { className: "flex justify-center", children: /* @__PURE__ */ jsx73(Tooltip, { content: link.label, placement: "right", children: /* @__PURE__ */ jsx73(
7856
+ return /* @__PURE__ */ jsxs68(React74.Fragment, { children: [
7857
+ /* @__PURE__ */ jsx74("li", { className: "flex justify-center", children: /* @__PURE__ */ jsx74(Tooltip, { content: link.label, placement: "right", children: /* @__PURE__ */ jsx74(
7749
7858
  IconButton,
7750
7859
  {
7751
7860
  icon: link.icon ?? "box",
@@ -7760,8 +7869,8 @@ var SidebarDesktop = React73.forwardRef(
7760
7869
  open && kids.map((k) => renderLink(k))
7761
7870
  ] }, link.id);
7762
7871
  }
7763
- return /* @__PURE__ */ jsxs67("li", { children: [
7764
- /* @__PURE__ */ jsx73(
7872
+ return /* @__PURE__ */ jsxs68("li", { children: [
7873
+ /* @__PURE__ */ jsx74(
7765
7874
  Button,
7766
7875
  {
7767
7876
  variant: "item",
@@ -7769,12 +7878,12 @@ var SidebarDesktop = React73.forwardRef(
7769
7878
  "aria-expanded": open,
7770
7879
  "aria-controls": panelId,
7771
7880
  onClick: () => flip(link.id),
7772
- leadingIcon: link.icon ? /* @__PURE__ */ jsx73(Icon, { name: link.icon, size: 16, className: "text-body" }) : void 0,
7881
+ leadingIcon: link.icon ? /* @__PURE__ */ jsx74(Icon, { name: link.icon, size: 16, className: "text-body" }) : void 0,
7773
7882
  className: "px-sm",
7774
- children: /* @__PURE__ */ jsxs67("span", { className: "inline-flex min-w-0 items-center gap-xs", children: [
7775
- /* @__PURE__ */ jsx73("span", { className: "truncate", children: link.label }),
7776
- hasBadge(link.badge) && /* @__PURE__ */ jsx73("span", { className: "shrink-0 text-caption text-muted tabular-nums", children: link.badge }),
7777
- /* @__PURE__ */ jsx73(
7883
+ children: /* @__PURE__ */ jsxs68("span", { className: "inline-flex min-w-0 items-center gap-xs", children: [
7884
+ /* @__PURE__ */ jsx74("span", { className: "truncate", children: link.label }),
7885
+ hasBadge(link.badge) && /* @__PURE__ */ jsx74("span", { className: "shrink-0 text-caption text-muted tabular-nums", children: link.badge }),
7886
+ /* @__PURE__ */ jsx74(
7778
7887
  Icon,
7779
7888
  {
7780
7889
  name: "chevron-down",
@@ -7785,21 +7894,21 @@ var SidebarDesktop = React73.forwardRef(
7785
7894
  ] })
7786
7895
  }
7787
7896
  ),
7788
- /* @__PURE__ */ jsx73(
7897
+ /* @__PURE__ */ jsx74(
7789
7898
  "div",
7790
7899
  {
7791
7900
  id: panelId,
7792
7901
  "data-state": open ? "open" : "closed",
7793
7902
  className: "grid transition-[grid-template-rows] duration-200 ease-out data-[state=open]:grid-rows-[1fr] data-[state=closed]:grid-rows-[0fr]",
7794
- children: /* @__PURE__ */ jsx73("ul", { className: "flex min-h-0 flex-col gap-xxs overflow-hidden pt-xxs", children: kids.map((k) => renderLink(k, true)) })
7903
+ children: /* @__PURE__ */ jsx74("ul", { className: "flex min-h-0 flex-col gap-xxs overflow-hidden pt-xxs", children: kids.map((k) => renderLink(k, true)) })
7795
7904
  }
7796
7905
  )
7797
7906
  ] }, link.id);
7798
7907
  };
7799
7908
  const renderItem = (link) => link.children?.length ? renderGroup(link) : renderLink(link);
7800
7909
  const showWorkspaceRow = Boolean(workspaceName) || !collapsed && headerActions != null;
7801
- return /* @__PURE__ */ jsxs67("div", { ref, className: cn55("flex h-full w-full min-h-0 bg-canvas text-ink", className), ...rest, children: [
7802
- /* @__PURE__ */ jsxs67(
7910
+ return /* @__PURE__ */ jsxs68("div", { ref, className: cn55("flex h-full w-full min-h-0 bg-canvas text-ink", className), ...rest, children: [
7911
+ /* @__PURE__ */ jsxs68(
7803
7912
  "aside",
7804
7913
  {
7805
7914
  "aria-label": "Sidebar",
@@ -7807,11 +7916,11 @@ var SidebarDesktop = React73.forwardRef(
7807
7916
  style: { width: collapsed ? 64 : 256 },
7808
7917
  className: "flex h-full shrink-0 flex-col overflow-hidden border-r border-hairline bg-surface transition-[width] duration-200 ease-out",
7809
7918
  children: [
7810
- collapsed ? /* @__PURE__ */ jsx73("div", { className: "flex shrink-0 justify-center pb-sm pt-md", children: /* @__PURE__ */ jsx73(IconButton, { icon: "panel-right", variant: "secondary", "aria-label": "Expand sidebar", "aria-expanded": false, onClick: toggle }) }) : /* @__PURE__ */ jsxs67("div", { className: "flex shrink-0 items-center justify-between gap-sm pb-sm pl-base pr-md pt-md", children: [
7811
- /* @__PURE__ */ jsx73(Logo, { name: brandName, href: brandHref, size: "md" }),
7812
- /* @__PURE__ */ jsx73(IconButton, { icon: "panel-left", variant: "secondary", "aria-label": "Collapse sidebar", "aria-expanded": true, onClick: toggle })
7919
+ collapsed ? /* @__PURE__ */ jsx74("div", { className: "flex shrink-0 justify-center pb-sm pt-md", children: /* @__PURE__ */ jsx74(IconButton, { icon: "panel-right", variant: "secondary", "aria-label": "Expand sidebar", "aria-expanded": false, onClick: toggle }) }) : /* @__PURE__ */ jsxs68("div", { className: "flex shrink-0 items-center justify-between gap-sm pb-sm pl-base pr-md pt-md", children: [
7920
+ /* @__PURE__ */ jsx74(Logo, { name: brandName, href: brandHref, size: "md" }),
7921
+ /* @__PURE__ */ jsx74(IconButton, { icon: "panel-left", variant: "secondary", "aria-label": "Collapse sidebar", "aria-expanded": true, onClick: toggle })
7813
7922
  ] }),
7814
- showWorkspaceRow && /* @__PURE__ */ jsxs67(
7923
+ showWorkspaceRow && /* @__PURE__ */ jsxs68(
7815
7924
  "div",
7816
7925
  {
7817
7926
  className: cn55(
@@ -7819,26 +7928,26 @@ var SidebarDesktop = React73.forwardRef(
7819
7928
  collapsed ? "flex justify-center" : "flex items-center gap-xxs px-sm"
7820
7929
  ),
7821
7930
  children: [
7822
- workspaceName ? collapsed ? /* @__PURE__ */ jsx73(Tooltip, { content: workspaceName, placement: "right", children: /* @__PURE__ */ jsx73(Button, { variant: "ghost", iconOnly: true, "aria-label": workspaceName, onClick: onWorkspaceClick, children: /* @__PURE__ */ jsx73(Avatar, { name: workspaceName, src: workspaceAvatarSrc, size: "sm" }) }) }) : /* @__PURE__ */ jsx73(
7931
+ workspaceName ? collapsed ? /* @__PURE__ */ jsx74(Tooltip, { content: workspaceName, placement: "right", children: /* @__PURE__ */ jsx74(Button, { variant: "ghost", iconOnly: true, "aria-label": workspaceName, onClick: onWorkspaceClick, children: /* @__PURE__ */ jsx74(Avatar, { name: workspaceName, src: workspaceAvatarSrc, size: "sm" }) }) }) : /* @__PURE__ */ jsx74(
7823
7932
  Button,
7824
7933
  {
7825
7934
  variant: "ghost",
7826
7935
  onClick: onWorkspaceClick,
7827
7936
  className: "min-w-0 flex-1 justify-start px-sm",
7828
- leadingIcon: /* @__PURE__ */ jsx73(Avatar, { name: workspaceName, src: workspaceAvatarSrc, size: "sm" }),
7829
- trailingIcon: /* @__PURE__ */ jsx73(Icon, { name: "chevron-down", size: 14, className: "text-muted" }),
7830
- children: /* @__PURE__ */ jsx73("span", { className: "min-w-0 truncate text-ink", children: workspaceName })
7937
+ leadingIcon: /* @__PURE__ */ jsx74(Avatar, { name: workspaceName, src: workspaceAvatarSrc, size: "sm" }),
7938
+ trailingIcon: /* @__PURE__ */ jsx74(Icon, { name: "chevron-down", size: 14, className: "text-muted" }),
7939
+ children: /* @__PURE__ */ jsx74("span", { className: "min-w-0 truncate text-ink", children: workspaceName })
7831
7940
  }
7832
- ) : /* @__PURE__ */ jsx73("span", { className: "min-w-0 flex-1" }),
7833
- !collapsed && headerActions != null && /* @__PURE__ */ jsx73("div", { className: "flex shrink-0 items-center gap-xxs", children: headerActions })
7941
+ ) : /* @__PURE__ */ jsx74("span", { className: "min-w-0 flex-1" }),
7942
+ !collapsed && headerActions != null && /* @__PURE__ */ jsx74("div", { className: "flex shrink-0 items-center gap-xxs", children: headerActions })
7834
7943
  ]
7835
7944
  }
7836
7945
  ),
7837
- /* @__PURE__ */ jsx73("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) => {
7946
+ /* @__PURE__ */ jsx74("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) => {
7838
7947
  const sectionOpen = !section.label || isOpen(section.id);
7839
7948
  const listId = `${baseId}-section-${section.id}`;
7840
- return /* @__PURE__ */ jsxs67("div", { className: i > 0 ? "mt-base" : void 0, children: [
7841
- section.label && !collapsed && /* @__PURE__ */ jsx73(
7949
+ return /* @__PURE__ */ jsxs68("div", { className: i > 0 ? "mt-base" : void 0, children: [
7950
+ section.label && !collapsed && /* @__PURE__ */ jsx74(
7842
7951
  Button,
7843
7952
  {
7844
7953
  variant: "item",
@@ -7847,9 +7956,9 @@ var SidebarDesktop = React73.forwardRef(
7847
7956
  "aria-controls": listId,
7848
7957
  onClick: () => flip(section.id),
7849
7958
  className: "px-sm",
7850
- children: /* @__PURE__ */ jsxs67("span", { className: "inline-flex items-center gap-xs text-muted", children: [
7959
+ children: /* @__PURE__ */ jsxs68("span", { className: "inline-flex items-center gap-xs text-muted", children: [
7851
7960
  section.label,
7852
- /* @__PURE__ */ jsx73(
7961
+ /* @__PURE__ */ jsx74(
7853
7962
  Icon,
7854
7963
  {
7855
7964
  name: "chevron-down",
@@ -7860,29 +7969,29 @@ var SidebarDesktop = React73.forwardRef(
7860
7969
  ] })
7861
7970
  }
7862
7971
  ),
7863
- /* @__PURE__ */ jsx73(
7972
+ /* @__PURE__ */ jsx74(
7864
7973
  "div",
7865
7974
  {
7866
7975
  id: listId,
7867
7976
  "data-state": sectionOpen || collapsed ? "open" : "closed",
7868
7977
  className: "grid transition-[grid-template-rows] duration-200 ease-out data-[state=open]:grid-rows-[1fr] data-[state=closed]:grid-rows-[0fr]",
7869
- children: /* @__PURE__ */ jsx73("ul", { className: "flex min-h-0 flex-col gap-xxs overflow-hidden", children: section.items.map(renderItem) })
7978
+ children: /* @__PURE__ */ jsx74("ul", { className: "flex min-h-0 flex-col gap-xxs overflow-hidden", children: section.items.map(renderItem) })
7870
7979
  }
7871
7980
  )
7872
7981
  ] }, section.id);
7873
7982
  }) }),
7874
- announcement && !collapsed && /* @__PURE__ */ jsx73("div", { className: "shrink-0 px-sm pb-sm", children: /* @__PURE__ */ jsxs67(
7983
+ announcement && !collapsed && /* @__PURE__ */ jsx74("div", { className: "shrink-0 px-sm pb-sm", children: /* @__PURE__ */ jsxs68(
7875
7984
  "a",
7876
7985
  {
7877
7986
  href: announcement.href ?? "#",
7878
7987
  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",
7879
7988
  children: [
7880
- /* @__PURE__ */ jsx73("span", { className: "text-caption text-muted", children: announcement.eyebrow }),
7881
- /* @__PURE__ */ jsx73("span", { className: "text-body-sm text-ink", children: announcement.title })
7989
+ /* @__PURE__ */ jsx74("span", { className: "text-caption text-muted", children: announcement.eyebrow }),
7990
+ /* @__PURE__ */ jsx74("span", { className: "text-body-sm text-ink", children: announcement.title })
7882
7991
  ]
7883
7992
  }
7884
7993
  ) }),
7885
- /* @__PURE__ */ jsxs67(
7994
+ /* @__PURE__ */ jsxs68(
7886
7995
  "div",
7887
7996
  {
7888
7997
  className: cn55(
@@ -7890,10 +7999,10 @@ var SidebarDesktop = React73.forwardRef(
7890
7999
  collapsed ? "flex-col items-center gap-xs" : "items-center justify-between px-md"
7891
8000
  ),
7892
8001
  children: [
7893
- userName && /* @__PURE__ */ jsx73(Avatar, { name: userName, src: userAvatarSrc, size: "sm" }),
7894
- /* @__PURE__ */ jsxs67("div", { className: cn55("flex items-center gap-xxs", collapsed && "flex-col"), children: [
7895
- /* @__PURE__ */ jsx73(IconButton, { icon: "message-circle", variant: "ghost", "aria-label": "Help and feedback", onClick: onHelpClick }),
7896
- /* @__PURE__ */ jsx73(IconButton, { icon: "settings", variant: "ghost", "aria-label": "Settings", onClick: onSettingsClick })
8002
+ userName && /* @__PURE__ */ jsx74(Avatar, { name: userName, src: userAvatarSrc, size: "sm" }),
8003
+ /* @__PURE__ */ jsxs68("div", { className: cn55("flex items-center gap-xxs", collapsed && "flex-col"), children: [
8004
+ /* @__PURE__ */ jsx74(IconButton, { icon: "message-circle", variant: "ghost", "aria-label": "Help and feedback", onClick: onHelpClick }),
8005
+ /* @__PURE__ */ jsx74(IconButton, { icon: "settings", variant: "ghost", "aria-label": "Settings", onClick: onSettingsClick })
7897
8006
  ] })
7898
8007
  ]
7899
8008
  }
@@ -7901,19 +8010,19 @@ var SidebarDesktop = React73.forwardRef(
7901
8010
  ]
7902
8011
  }
7903
8012
  ),
7904
- children !== void 0 && /* @__PURE__ */ jsx73("div", { className: "min-w-0 flex-1 overflow-auto", children })
8013
+ children !== void 0 && /* @__PURE__ */ jsx74("div", { className: "min-w-0 flex-1 overflow-auto", children })
7905
8014
  ] });
7906
8015
  }
7907
8016
  );
7908
8017
  SidebarDesktop.displayName = "SidebarDesktop";
7909
8018
 
7910
8019
  // virtual-pkg:src/atoms/SidebarMobile/SidebarMobile.tsx
7911
- import * as React74 from "react";
7912
- import { jsx as jsx74, jsxs as jsxs68 } from "react/jsx-runtime";
8020
+ import * as React75 from "react";
8021
+ import { jsx as jsx75, jsxs as jsxs69 } from "react/jsx-runtime";
7913
8022
  var cn56 = (...parts) => parts.filter(Boolean).join(" ");
7914
8023
  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";
7915
8024
  var hasBadge2 = (badge) => badge !== void 0 && badge !== null && badge !== false;
7916
- var SidebarMobile = React74.forwardRef(
8025
+ var SidebarMobile = React75.forwardRef(
7917
8026
  ({
7918
8027
  brandName = "Linear",
7919
8028
  brandHref = "#",
@@ -7937,17 +8046,17 @@ var SidebarMobile = React74.forwardRef(
7937
8046
  children,
7938
8047
  ...rest
7939
8048
  }, ref) => {
7940
- const baseId = React74.useId();
7941
- const [innerOpen, setInnerOpen] = React74.useState(defaultOpen);
8049
+ const baseId = React75.useId();
8050
+ const [innerOpen, setInnerOpen] = React75.useState(defaultOpen);
7942
8051
  const open = openProp ?? innerOpen;
7943
- const setOpen = React74.useCallback(
8052
+ const setOpen = React75.useCallback(
7944
8053
  (next) => {
7945
8054
  if (openProp === void 0) setInnerOpen(next);
7946
8055
  onOpenChange?.(next);
7947
8056
  },
7948
8057
  [openProp, onOpenChange]
7949
8058
  );
7950
- const [expanded, setExpanded] = React74.useState(
8059
+ const [expanded, setExpanded] = React75.useState(
7951
8060
  () => new Set(defaultExpanded ?? sections.filter((s) => s.label).map((s) => s.id))
7952
8061
  );
7953
8062
  const flip = (id) => setExpanded((prev) => {
@@ -7958,7 +8067,7 @@ var SidebarMobile = React74.forwardRef(
7958
8067
  });
7959
8068
  const renderLink = (link, nested = false) => {
7960
8069
  const current = link.id === activeId;
7961
- return /* @__PURE__ */ jsx74("li", { children: /* @__PURE__ */ jsxs68(
8070
+ return /* @__PURE__ */ jsx75("li", { children: /* @__PURE__ */ jsxs69(
7962
8071
  "a",
7963
8072
  {
7964
8073
  href: link.href ?? `#${link.id}`,
@@ -7973,9 +8082,9 @@ var SidebarMobile = React74.forwardRef(
7973
8082
  current ? "bg-surface-strong text-ink font-weight-label" : "text-ink hover:bg-surface-soft active:bg-surface-strong"
7974
8083
  ),
7975
8084
  children: [
7976
- link.icon && /* @__PURE__ */ jsx74(Icon, { name: link.icon, size: 16, className: "text-body" }),
7977
- /* @__PURE__ */ jsx74("span", { className: "min-w-0 flex-1 truncate", children: link.label }),
7978
- hasBadge2(link.badge) && /* @__PURE__ */ jsx74("span", { className: "shrink-0 text-caption text-muted tabular-nums", children: link.badge })
8085
+ link.icon && /* @__PURE__ */ jsx75(Icon, { name: link.icon, size: 16, className: "text-body" }),
8086
+ /* @__PURE__ */ jsx75("span", { className: "min-w-0 flex-1 truncate", children: link.label }),
8087
+ hasBadge2(link.badge) && /* @__PURE__ */ jsx75("span", { className: "shrink-0 text-caption text-muted tabular-nums", children: link.badge })
7979
8088
  ]
7980
8089
  }
7981
8090
  ) }, link.id);
@@ -7983,8 +8092,8 @@ var SidebarMobile = React74.forwardRef(
7983
8092
  const renderGroup = (link) => {
7984
8093
  const isOpen = expanded.has(link.id);
7985
8094
  const panelId = `${baseId}-${link.id}`;
7986
- return /* @__PURE__ */ jsxs68("li", { children: [
7987
- /* @__PURE__ */ jsx74(
8095
+ return /* @__PURE__ */ jsxs69("li", { children: [
8096
+ /* @__PURE__ */ jsx75(
7988
8097
  Button,
7989
8098
  {
7990
8099
  variant: "item",
@@ -7992,12 +8101,12 @@ var SidebarMobile = React74.forwardRef(
7992
8101
  "aria-expanded": isOpen,
7993
8102
  "aria-controls": panelId,
7994
8103
  onClick: () => flip(link.id),
7995
- leadingIcon: link.icon ? /* @__PURE__ */ jsx74(Icon, { name: link.icon, size: 16, className: "text-body" }) : void 0,
8104
+ leadingIcon: link.icon ? /* @__PURE__ */ jsx75(Icon, { name: link.icon, size: 16, className: "text-body" }) : void 0,
7996
8105
  className: "px-sm",
7997
- children: /* @__PURE__ */ jsxs68("span", { className: "inline-flex min-w-0 items-center gap-xs", children: [
7998
- /* @__PURE__ */ jsx74("span", { className: "truncate", children: link.label }),
7999
- hasBadge2(link.badge) && /* @__PURE__ */ jsx74("span", { className: "shrink-0 text-caption text-muted tabular-nums", children: link.badge }),
8000
- /* @__PURE__ */ jsx74(
8106
+ children: /* @__PURE__ */ jsxs69("span", { className: "inline-flex min-w-0 items-center gap-xs", children: [
8107
+ /* @__PURE__ */ jsx75("span", { className: "truncate", children: link.label }),
8108
+ hasBadge2(link.badge) && /* @__PURE__ */ jsx75("span", { className: "shrink-0 text-caption text-muted tabular-nums", children: link.badge }),
8109
+ /* @__PURE__ */ jsx75(
8001
8110
  Icon,
8002
8111
  {
8003
8112
  name: "chevron-down",
@@ -8008,23 +8117,23 @@ var SidebarMobile = React74.forwardRef(
8008
8117
  ] })
8009
8118
  }
8010
8119
  ),
8011
- /* @__PURE__ */ jsx74(
8120
+ /* @__PURE__ */ jsx75(
8012
8121
  "div",
8013
8122
  {
8014
8123
  id: panelId,
8015
8124
  "data-state": isOpen ? "open" : "closed",
8016
8125
  className: "grid transition-[grid-template-rows] duration-200 ease-out data-[state=open]:grid-rows-[1fr] data-[state=closed]:grid-rows-[0fr]",
8017
- children: /* @__PURE__ */ jsx74("ul", { className: "flex min-h-0 flex-col gap-xxs overflow-hidden pt-xxs", children: (link.children ?? []).map((k) => renderLink(k, true)) })
8126
+ children: /* @__PURE__ */ jsx75("ul", { className: "flex min-h-0 flex-col gap-xxs overflow-hidden pt-xxs", children: (link.children ?? []).map((k) => renderLink(k, true)) })
8018
8127
  }
8019
8128
  )
8020
8129
  ] }, link.id);
8021
8130
  };
8022
- return /* @__PURE__ */ jsxs68("div", { ref, className: cn56("flex w-full flex-col bg-canvas text-ink", className), ...rest, children: [
8023
- /* @__PURE__ */ jsxs68("header", { className: "flex h-14 w-full shrink-0 items-center justify-between gap-sm border-b border-hairline bg-canvas px-base", children: [
8024
- /* @__PURE__ */ jsx74(Logo, { name: brandName, href: brandHref, size: "md" }),
8025
- /* @__PURE__ */ jsxs68("div", { className: "flex min-w-0 items-center gap-xxs", children: [
8026
- mobileActions != null && /* @__PURE__ */ jsx74("div", { className: "flex items-center gap-xxs", children: mobileActions }),
8027
- /* @__PURE__ */ jsx74(
8131
+ return /* @__PURE__ */ jsxs69("div", { ref, className: cn56("flex w-full flex-col bg-canvas text-ink", className), ...rest, children: [
8132
+ /* @__PURE__ */ jsxs69("header", { className: "flex h-14 w-full shrink-0 items-center justify-between gap-sm border-b border-hairline bg-canvas px-base", children: [
8133
+ /* @__PURE__ */ jsx75(Logo, { name: brandName, href: brandHref, size: "md" }),
8134
+ /* @__PURE__ */ jsxs69("div", { className: "flex min-w-0 items-center gap-xxs", children: [
8135
+ mobileActions != null && /* @__PURE__ */ jsx75("div", { className: "flex items-center gap-xxs", children: mobileActions }),
8136
+ /* @__PURE__ */ jsx75(
8028
8137
  IconButton,
8029
8138
  {
8030
8139
  icon: "menu",
@@ -8036,8 +8145,8 @@ var SidebarMobile = React74.forwardRef(
8036
8145
  )
8037
8146
  ] })
8038
8147
  ] }),
8039
- children !== void 0 && /* @__PURE__ */ jsx74("div", { className: "min-w-0 flex-1", children }),
8040
- /* @__PURE__ */ jsxs68(
8148
+ children !== void 0 && /* @__PURE__ */ jsx75("div", { className: "min-w-0 flex-1", children }),
8149
+ /* @__PURE__ */ jsxs69(
8041
8150
  Drawer,
8042
8151
  {
8043
8152
  open,
@@ -8045,32 +8154,32 @@ var SidebarMobile = React74.forwardRef(
8045
8154
  side: "left",
8046
8155
  "aria-label": "Navigation",
8047
8156
  closeLabel: "Close navigation",
8048
- headerStart: /* @__PURE__ */ jsx74(Logo, { name: brandName, href: brandHref, size: "md" }),
8157
+ headerStart: /* @__PURE__ */ jsx75(Logo, { name: brandName, href: brandHref, size: "md" }),
8049
8158
  bodyClassName: "px-sm",
8050
- footer: /* @__PURE__ */ jsxs68("div", { className: "flex w-full items-center justify-between", children: [
8051
- userName ? /* @__PURE__ */ jsx74(Avatar, { name: userName, src: userAvatarSrc, size: "sm" }) : /* @__PURE__ */ jsx74("span", {}),
8052
- /* @__PURE__ */ jsxs68("div", { className: "flex items-center gap-xxs", children: [
8053
- /* @__PURE__ */ jsx74(IconButton, { icon: "message-circle", variant: "ghost", "aria-label": "Help and feedback", onClick: onHelpClick }),
8054
- /* @__PURE__ */ jsx74(IconButton, { icon: "settings", variant: "ghost", "aria-label": "Settings", onClick: onSettingsClick })
8159
+ footer: /* @__PURE__ */ jsxs69("div", { className: "flex w-full items-center justify-between", children: [
8160
+ userName ? /* @__PURE__ */ jsx75(Avatar, { name: userName, src: userAvatarSrc, size: "sm" }) : /* @__PURE__ */ jsx75("span", {}),
8161
+ /* @__PURE__ */ jsxs69("div", { className: "flex items-center gap-xxs", children: [
8162
+ /* @__PURE__ */ jsx75(IconButton, { icon: "message-circle", variant: "ghost", "aria-label": "Help and feedback", onClick: onHelpClick }),
8163
+ /* @__PURE__ */ jsx75(IconButton, { icon: "settings", variant: "ghost", "aria-label": "Settings", onClick: onSettingsClick })
8055
8164
  ] })
8056
8165
  ] }),
8057
8166
  children: [
8058
- workspaceName && /* @__PURE__ */ jsx74("div", { className: "pb-sm", children: /* @__PURE__ */ jsx74(
8167
+ workspaceName && /* @__PURE__ */ jsx75("div", { className: "pb-sm", children: /* @__PURE__ */ jsx75(
8059
8168
  Button,
8060
8169
  {
8061
8170
  variant: "ghost",
8062
8171
  onClick: onWorkspaceClick,
8063
8172
  className: "px-sm",
8064
- leadingIcon: /* @__PURE__ */ jsx74(Avatar, { name: workspaceName, src: workspaceAvatarSrc, size: "sm" }),
8065
- trailingIcon: /* @__PURE__ */ jsx74(Icon, { name: "chevron-down", size: 14, className: "text-muted" }),
8066
- children: /* @__PURE__ */ jsx74("span", { className: "text-ink", children: workspaceName })
8173
+ leadingIcon: /* @__PURE__ */ jsx75(Avatar, { name: workspaceName, src: workspaceAvatarSrc, size: "sm" }),
8174
+ trailingIcon: /* @__PURE__ */ jsx75(Icon, { name: "chevron-down", size: 14, className: "text-muted" }),
8175
+ children: /* @__PURE__ */ jsx75("span", { className: "text-ink", children: workspaceName })
8067
8176
  }
8068
8177
  ) }),
8069
- /* @__PURE__ */ jsx74("nav", { "aria-label": "Main", children: sections.map((section, i) => {
8178
+ /* @__PURE__ */ jsx75("nav", { "aria-label": "Main", children: sections.map((section, i) => {
8070
8179
  const sectionOpen = !section.label || expanded.has(section.id);
8071
8180
  const listId = `${baseId}-section-${section.id}`;
8072
- return /* @__PURE__ */ jsxs68("div", { className: i > 0 ? "mt-base" : void 0, children: [
8073
- section.label && /* @__PURE__ */ jsx74(
8181
+ return /* @__PURE__ */ jsxs69("div", { className: i > 0 ? "mt-base" : void 0, children: [
8182
+ section.label && /* @__PURE__ */ jsx75(
8074
8183
  Button,
8075
8184
  {
8076
8185
  variant: "item",
@@ -8079,9 +8188,9 @@ var SidebarMobile = React74.forwardRef(
8079
8188
  "aria-controls": listId,
8080
8189
  onClick: () => flip(section.id),
8081
8190
  className: "px-sm",
8082
- children: /* @__PURE__ */ jsxs68("span", { className: "inline-flex items-center gap-xs text-muted", children: [
8191
+ children: /* @__PURE__ */ jsxs69("span", { className: "inline-flex items-center gap-xs text-muted", children: [
8083
8192
  section.label,
8084
- /* @__PURE__ */ jsx74(
8193
+ /* @__PURE__ */ jsx75(
8085
8194
  Icon,
8086
8195
  {
8087
8196
  name: "chevron-down",
@@ -8092,25 +8201,25 @@ var SidebarMobile = React74.forwardRef(
8092
8201
  ] })
8093
8202
  }
8094
8203
  ),
8095
- /* @__PURE__ */ jsx74(
8204
+ /* @__PURE__ */ jsx75(
8096
8205
  "div",
8097
8206
  {
8098
8207
  id: listId,
8099
8208
  "data-state": sectionOpen ? "open" : "closed",
8100
8209
  className: "grid transition-[grid-template-rows] duration-200 ease-out data-[state=open]:grid-rows-[1fr] data-[state=closed]:grid-rows-[0fr]",
8101
- children: /* @__PURE__ */ jsx74("ul", { className: "flex min-h-0 flex-col gap-xxs overflow-hidden", children: section.items.map((l) => l.children?.length ? renderGroup(l) : renderLink(l)) })
8210
+ children: /* @__PURE__ */ jsx75("ul", { className: "flex min-h-0 flex-col gap-xxs overflow-hidden", children: section.items.map((l) => l.children?.length ? renderGroup(l) : renderLink(l)) })
8102
8211
  }
8103
8212
  )
8104
8213
  ] }, section.id);
8105
8214
  }) }),
8106
- announcement && /* @__PURE__ */ jsxs68(
8215
+ announcement && /* @__PURE__ */ jsxs69(
8107
8216
  "a",
8108
8217
  {
8109
8218
  href: announcement.href ?? "#",
8110
8219
  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",
8111
8220
  children: [
8112
- /* @__PURE__ */ jsx74("span", { className: "text-caption text-muted", children: announcement.eyebrow }),
8113
- /* @__PURE__ */ jsx74("span", { className: "text-body-sm text-ink", children: announcement.title })
8221
+ /* @__PURE__ */ jsx75("span", { className: "text-caption text-muted", children: announcement.eyebrow }),
8222
+ /* @__PURE__ */ jsx75("span", { className: "text-body-sm text-ink", children: announcement.title })
8114
8223
  ]
8115
8224
  }
8116
8225
  )
@@ -8123,8 +8232,8 @@ var SidebarMobile = React74.forwardRef(
8123
8232
  SidebarMobile.displayName = "SidebarMobile";
8124
8233
 
8125
8234
  // virtual-pkg:src/atoms/Sidebar/Sidebar.tsx
8126
- import { jsx as jsx75, jsxs as jsxs69 } from "react/jsx-runtime";
8127
- var Sidebar = React75.forwardRef(
8235
+ import { jsx as jsx76, jsxs as jsxs70 } from "react/jsx-runtime";
8236
+ var Sidebar = React76.forwardRef(
8128
8237
  ({
8129
8238
  collapsed,
8130
8239
  defaultCollapsed,
@@ -8136,13 +8245,13 @@ var Sidebar = React75.forwardRef(
8136
8245
  children,
8137
8246
  className,
8138
8247
  ...shared
8139
- }, ref) => /* @__PURE__ */ jsxs69(
8248
+ }, ref) => /* @__PURE__ */ jsxs70(
8140
8249
  "div",
8141
8250
  {
8142
8251
  ref,
8143
8252
  className: ["flex h-full w-full min-h-0 flex-col bg-canvas md:flex-row", className].filter(Boolean).join(" "),
8144
8253
  children: [
8145
- /* @__PURE__ */ jsx75("div", { className: "hidden h-full shrink-0 md:block", children: /* @__PURE__ */ jsx75(
8254
+ /* @__PURE__ */ jsx76("div", { className: "hidden h-full shrink-0 md:block", children: /* @__PURE__ */ jsx76(
8146
8255
  SidebarDesktop,
8147
8256
  {
8148
8257
  ...shared,
@@ -8152,7 +8261,7 @@ var Sidebar = React75.forwardRef(
8152
8261
  onCollapsedChange
8153
8262
  }
8154
8263
  ) }),
8155
- /* @__PURE__ */ jsx75("div", { className: "shrink-0 md:hidden", children: /* @__PURE__ */ jsx75(
8264
+ /* @__PURE__ */ jsx76("div", { className: "shrink-0 md:hidden", children: /* @__PURE__ */ jsx76(
8156
8265
  SidebarMobile,
8157
8266
  {
8158
8267
  ...shared,
@@ -8161,7 +8270,7 @@ var Sidebar = React75.forwardRef(
8161
8270
  onOpenChange: onMobileOpenChange
8162
8271
  }
8163
8272
  ) }),
8164
- children !== void 0 && /* @__PURE__ */ jsx75("div", { className: "min-h-0 min-w-0 flex-1 overflow-auto", children })
8273
+ children !== void 0 && /* @__PURE__ */ jsx76("div", { className: "min-h-0 min-w-0 flex-1 overflow-auto", children })
8165
8274
  ]
8166
8275
  }
8167
8276
  )
@@ -8169,8 +8278,8 @@ var Sidebar = React75.forwardRef(
8169
8278
  Sidebar.displayName = "Sidebar";
8170
8279
 
8171
8280
  // virtual-pkg:src/atoms/Slider/Slider.tsx
8172
- import React76 from "react";
8173
- import { Fragment as Fragment11, jsx as jsx76, jsxs as jsxs70 } from "react/jsx-runtime";
8281
+ import React77 from "react";
8282
+ import { Fragment as Fragment11, jsx as jsx77, jsxs as jsxs71 } from "react/jsx-runtime";
8174
8283
  function cn57(...parts) {
8175
8284
  return parts.filter(Boolean).join(" ");
8176
8285
  }
@@ -8178,7 +8287,7 @@ var THUMB2 = 20;
8178
8287
  var inputClass = "absolute inset-0 m-0 h-full w-full cursor-pointer appearance-none bg-transparent opacity-0 outline-none disabled:cursor-not-allowed [&::-webkit-slider-thumb]:h-5 [&::-webkit-slider-thumb]:w-5 [&::-webkit-slider-thumb]:appearance-none [&::-moz-range-thumb]:h-5 [&::-moz-range-thumb]:w-5";
8179
8288
  var rangeInputClass = "pointer-events-none [&::-webkit-slider-thumb]:pointer-events-auto [&::-moz-range-thumb]:pointer-events-auto";
8180
8289
  var thumbBase = "pointer-events-none absolute top-1/2 size-5 -translate-x-1/2 -translate-y-1/2 rounded-full border bg-canvas shadow-md transition-[box-shadow,border-color,transform] duration-150 ease-out";
8181
- var Slider = React76.forwardRef(
8290
+ var Slider = React77.forwardRef(
8182
8291
  ({
8183
8292
  value,
8184
8293
  defaultValue = 50,
@@ -8194,10 +8303,10 @@ var Slider = React76.forwardRef(
8194
8303
  "aria-label": ariaLabel,
8195
8304
  ...rest
8196
8305
  }, ref) => {
8197
- const [inner, setInner] = React76.useState(defaultValue);
8306
+ const [inner, setInner] = React77.useState(defaultValue);
8198
8307
  const current = value ?? inner;
8199
8308
  const isRange = Array.isArray(current);
8200
- const labelId = React76.useId();
8309
+ const labelId = React77.useId();
8201
8310
  const span = max - min || 1;
8202
8311
  const commit = (next) => {
8203
8312
  if (value === void 0) setInner(next);
@@ -8210,19 +8319,19 @@ var Slider = React76.forwardRef(
8210
8319
  const lowPct = pctOf(low);
8211
8320
  const highPct = pctOf(high);
8212
8321
  const thumbState = disabled ? "border-hairline bg-surface-soft shadow-none" : "border-hairline-strong";
8213
- return /* @__PURE__ */ jsxs70(
8322
+ return /* @__PURE__ */ jsxs71(
8214
8323
  "div",
8215
8324
  {
8216
8325
  ref,
8217
8326
  className: cn57("flex w-full flex-col items-center gap-md", disabled && "opacity-50", className),
8218
8327
  ...rest,
8219
8328
  children: [
8220
- /* @__PURE__ */ jsxs70("div", { className: "flex w-full flex-col gap-xxs", children: [
8221
- histogram && histogram.length > 0 ? /* @__PURE__ */ jsx76("div", { "aria-hidden": "true", className: "flex h-10 w-full items-end gap-xxs", style: { paddingInline: THUMB2 / 2 }, children: histogram.map((h, i) => {
8329
+ /* @__PURE__ */ jsxs71("div", { className: "flex w-full flex-col gap-xxs", children: [
8330
+ histogram && histogram.length > 0 ? /* @__PURE__ */ jsx77("div", { "aria-hidden": "true", className: "flex h-10 w-full items-end gap-xxs", style: { paddingInline: THUMB2 / 2 }, children: histogram.map((h, i) => {
8222
8331
  const peak = Math.max(...histogram, 1);
8223
8332
  const center = (i + 0.5) / histogram.length * 100;
8224
8333
  const inside = center >= lowPct && center <= highPct;
8225
- return /* @__PURE__ */ jsx76(
8334
+ return /* @__PURE__ */ jsx77(
8226
8335
  "span",
8227
8336
  {
8228
8337
  className: cn57(
@@ -8234,9 +8343,9 @@ var Slider = React76.forwardRef(
8234
8343
  i
8235
8344
  );
8236
8345
  }) }) : null,
8237
- /* @__PURE__ */ jsxs70("div", { className: "relative h-5 w-full", children: [
8238
- /* @__PURE__ */ jsx76("div", { className: "absolute left-0 right-0 top-1/2 h-1.5 -translate-y-1/2 rounded-full bg-surface-strong" }),
8239
- /* @__PURE__ */ jsx76(
8346
+ /* @__PURE__ */ jsxs71("div", { className: "relative h-5 w-full", children: [
8347
+ /* @__PURE__ */ jsx77("div", { className: "absolute left-0 right-0 top-1/2 h-1.5 -translate-y-1/2 rounded-full bg-surface-strong" }),
8348
+ /* @__PURE__ */ jsx77(
8240
8349
  "div",
8241
8350
  {
8242
8351
  "aria-hidden": "true",
@@ -8250,8 +8359,8 @@ var Slider = React76.forwardRef(
8250
8359
  }
8251
8360
  }
8252
8361
  ),
8253
- isRange ? /* @__PURE__ */ jsxs70(Fragment11, { children: [
8254
- /* @__PURE__ */ jsx76(
8362
+ isRange ? /* @__PURE__ */ jsxs71(Fragment11, { children: [
8363
+ /* @__PURE__ */ jsx77(
8255
8364
  "input",
8256
8365
  {
8257
8366
  type: "range",
@@ -8268,7 +8377,7 @@ var Slider = React76.forwardRef(
8268
8377
  style: { zIndex: lowPct > 90 ? 2 : 1 }
8269
8378
  }
8270
8379
  ),
8271
- /* @__PURE__ */ jsx76(
8380
+ /* @__PURE__ */ jsx77(
8272
8381
  "span",
8273
8382
  {
8274
8383
  "aria-hidden": "true",
@@ -8280,7 +8389,7 @@ var Slider = React76.forwardRef(
8280
8389
  style: { left: leftOf(lowPct) }
8281
8390
  }
8282
8391
  ),
8283
- /* @__PURE__ */ jsx76(
8392
+ /* @__PURE__ */ jsx77(
8284
8393
  "input",
8285
8394
  {
8286
8395
  type: "range",
@@ -8296,7 +8405,7 @@ var Slider = React76.forwardRef(
8296
8405
  className: cn57("peer/high", inputClass, rangeInputClass)
8297
8406
  }
8298
8407
  ),
8299
- /* @__PURE__ */ jsx76(
8408
+ /* @__PURE__ */ jsx77(
8300
8409
  "span",
8301
8410
  {
8302
8411
  "aria-hidden": "true",
@@ -8308,8 +8417,8 @@ var Slider = React76.forwardRef(
8308
8417
  style: { left: leftOf(highPct) }
8309
8418
  }
8310
8419
  )
8311
- ] }) : /* @__PURE__ */ jsxs70(Fragment11, { children: [
8312
- /* @__PURE__ */ jsx76(
8420
+ ] }) : /* @__PURE__ */ jsxs71(Fragment11, { children: [
8421
+ /* @__PURE__ */ jsx77(
8313
8422
  "input",
8314
8423
  {
8315
8424
  type: "range",
@@ -8325,7 +8434,7 @@ var Slider = React76.forwardRef(
8325
8434
  className: cn57("peer", inputClass)
8326
8435
  }
8327
8436
  ),
8328
- /* @__PURE__ */ jsx76(
8437
+ /* @__PURE__ */ jsx77(
8329
8438
  "span",
8330
8439
  {
8331
8440
  "aria-hidden": "true",
@@ -8340,7 +8449,7 @@ var Slider = React76.forwardRef(
8340
8449
  ] })
8341
8450
  ] })
8342
8451
  ] }),
8343
- label ? /* @__PURE__ */ jsx76("span", { id: labelId, className: "text-body-md text-muted", children: label }) : null
8452
+ label ? /* @__PURE__ */ jsx77("span", { id: labelId, className: "text-body-md text-muted", children: label }) : null
8344
8453
  ]
8345
8454
  }
8346
8455
  );
@@ -8349,8 +8458,8 @@ var Slider = React76.forwardRef(
8349
8458
  Slider.displayName = "Slider";
8350
8459
 
8351
8460
  // virtual-pkg:src/atoms/StepperItem/StepperItem.tsx
8352
- import * as React77 from "react";
8353
- import { jsx as jsx77, jsxs as jsxs71 } from "react/jsx-runtime";
8461
+ import * as React78 from "react";
8462
+ import { jsx as jsx78, jsxs as jsxs72 } from "react/jsx-runtime";
8354
8463
  var cn58 = (...parts) => parts.filter(Boolean).join(" ");
8355
8464
  var statusLabel = {
8356
8465
  upcoming: "Upcoming",
@@ -8360,8 +8469,8 @@ var statusLabel = {
8360
8469
  };
8361
8470
  function Indicator({ status }) {
8362
8471
  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";
8363
- return /* @__PURE__ */ jsxs71("span", { className: "grid h-5 w-5 shrink-0 place-items-center", "aria-hidden": "true", children: [
8364
- /* @__PURE__ */ jsx77(
8472
+ return /* @__PURE__ */ jsxs72("span", { className: "grid h-5 w-5 shrink-0 place-items-center", "aria-hidden": "true", children: [
8473
+ /* @__PURE__ */ jsx78(
8365
8474
  "span",
8366
8475
  {
8367
8476
  className: cn58(
@@ -8371,7 +8480,7 @@ function Indicator({ status }) {
8371
8480
  )
8372
8481
  }
8373
8482
  ),
8374
- /* @__PURE__ */ jsx77(
8483
+ /* @__PURE__ */ jsx78(
8375
8484
  "span",
8376
8485
  {
8377
8486
  className: cn58(
@@ -8379,10 +8488,10 @@ function Indicator({ status }) {
8379
8488
  "border-2 border-primary bg-canvas",
8380
8489
  status === "active" ? "scale-100 opacity-100" : "scale-90 opacity-0"
8381
8490
  ),
8382
- children: /* @__PURE__ */ jsx77("span", { className: "h-2 w-2 rounded-full bg-primary" })
8491
+ children: /* @__PURE__ */ jsx78("span", { className: "h-2 w-2 rounded-full bg-primary" })
8383
8492
  }
8384
8493
  ),
8385
- /* @__PURE__ */ jsx77(
8494
+ /* @__PURE__ */ jsx78(
8386
8495
  "span",
8387
8496
  {
8388
8497
  className: cn58(
@@ -8390,10 +8499,10 @@ function Indicator({ status }) {
8390
8499
  "bg-semantic-success-soft text-semantic-success",
8391
8500
  status === "complete" ? "scale-100 opacity-100" : "scale-90 opacity-0"
8392
8501
  ),
8393
- children: /* @__PURE__ */ jsx77(Icon, { name: "check", size: 11, strokeWidth: 3 })
8502
+ children: /* @__PURE__ */ jsx78(Icon, { name: "check", size: 11, strokeWidth: 3 })
8394
8503
  }
8395
8504
  ),
8396
- /* @__PURE__ */ jsx77(
8505
+ /* @__PURE__ */ jsx78(
8397
8506
  "span",
8398
8507
  {
8399
8508
  className: cn58(
@@ -8401,13 +8510,13 @@ function Indicator({ status }) {
8401
8510
  "text-semantic-error",
8402
8511
  status === "error" ? "scale-100 opacity-100" : "scale-90 opacity-0"
8403
8512
  ),
8404
- children: /* @__PURE__ */ jsx77(Icon, { name: "circle-alert", size: 16 })
8513
+ children: /* @__PURE__ */ jsx78(Icon, { name: "circle-alert", size: 16 })
8405
8514
  }
8406
8515
  )
8407
8516
  ] });
8408
8517
  }
8409
- var StepperItem = React77.forwardRef(
8410
- ({ status = "upcoming", title, meta, connector = false, className, children, ...rest }, ref) => /* @__PURE__ */ jsxs71(
8518
+ var StepperItem = React78.forwardRef(
8519
+ ({ status = "upcoming", title, meta, connector = false, className, children, ...rest }, ref) => /* @__PURE__ */ jsxs72(
8411
8520
  "li",
8412
8521
  {
8413
8522
  ref,
@@ -8415,9 +8524,9 @@ var StepperItem = React77.forwardRef(
8415
8524
  className: cn58("relative flex w-full gap-md", connector && "pb-base", className),
8416
8525
  ...rest,
8417
8526
  children: [
8418
- /* @__PURE__ */ jsxs71("div", { className: "flex flex-col items-center", children: [
8419
- /* @__PURE__ */ jsx77(Indicator, { status }),
8420
- connector && /* @__PURE__ */ jsx77(
8527
+ /* @__PURE__ */ jsxs72("div", { className: "flex flex-col items-center", children: [
8528
+ /* @__PURE__ */ jsx78(Indicator, { status }),
8529
+ connector && /* @__PURE__ */ jsx78(
8421
8530
  "span",
8422
8531
  {
8423
8532
  "aria-hidden": "true",
@@ -8428,17 +8537,17 @@ var StepperItem = React77.forwardRef(
8428
8537
  }
8429
8538
  )
8430
8539
  ] }),
8431
- /* @__PURE__ */ jsxs71("div", { className: "flex min-w-0 flex-1 flex-col gap-xxs pt-px", children: [
8432
- /* @__PURE__ */ jsxs71("span", { className: "text-body-md text-ink", children: [
8540
+ /* @__PURE__ */ jsxs72("div", { className: "flex min-w-0 flex-1 flex-col gap-xxs pt-px", children: [
8541
+ /* @__PURE__ */ jsxs72("span", { className: "text-body-md text-ink", children: [
8433
8542
  title,
8434
- /* @__PURE__ */ jsxs71("span", { className: "sr-only", children: [
8543
+ /* @__PURE__ */ jsxs72("span", { className: "sr-only", children: [
8435
8544
  " (",
8436
8545
  statusLabel[status],
8437
8546
  ")"
8438
8547
  ] })
8439
8548
  ] }),
8440
- meta && /* @__PURE__ */ jsx77("span", { className: "text-body-sm text-muted", children: meta }),
8441
- children != null && children !== false && /* @__PURE__ */ jsx77("div", { className: "w-full pt-sm", children })
8549
+ meta && /* @__PURE__ */ jsx78("span", { className: "text-body-sm text-muted", children: meta }),
8550
+ children != null && children !== false && /* @__PURE__ */ jsx78("div", { className: "w-full pt-sm", children })
8442
8551
  ] })
8443
8552
  ]
8444
8553
  }
@@ -8447,10 +8556,10 @@ var StepperItem = React77.forwardRef(
8447
8556
  StepperItem.displayName = "StepperItem";
8448
8557
 
8449
8558
  // virtual-pkg:src/atoms/Tab/Tab.tsx
8450
- import * as React78 from "react";
8451
- import { jsx as jsx78 } from "react/jsx-runtime";
8559
+ import * as React79 from "react";
8560
+ import { jsx as jsx79 } from "react/jsx-runtime";
8452
8561
  var cn59 = (...parts) => parts.filter(Boolean).join(" ");
8453
- var Tab = React78.forwardRef(
8562
+ var Tab = React79.forwardRef(
8454
8563
  ({
8455
8564
  selected = false,
8456
8565
  controls,
@@ -8461,7 +8570,7 @@ var Tab = React78.forwardRef(
8461
8570
  children,
8462
8571
  tabIndex,
8463
8572
  ...rest
8464
- }, ref) => /* @__PURE__ */ jsx78(
8573
+ }, ref) => /* @__PURE__ */ jsx79(
8465
8574
  Button,
8466
8575
  {
8467
8576
  ref,
@@ -8486,10 +8595,10 @@ var Tab = React78.forwardRef(
8486
8595
  Tab.displayName = "Tab";
8487
8596
 
8488
8597
  // virtual-pkg:src/atoms/Tabs/Tabs.tsx
8489
- import * as React79 from "react";
8490
- import { jsx as jsx79, jsxs as jsxs72 } from "react/jsx-runtime";
8598
+ import * as React80 from "react";
8599
+ import { jsx as jsx80, jsxs as jsxs73 } from "react/jsx-runtime";
8491
8600
  var cn60 = (...parts) => parts.filter(Boolean).join(" ");
8492
- var Tabs = React79.forwardRef(
8601
+ var Tabs = React80.forwardRef(
8493
8602
  ({
8494
8603
  items,
8495
8604
  value,
@@ -8500,19 +8609,19 @@ var Tabs = React79.forwardRef(
8500
8609
  className,
8501
8610
  ...rest
8502
8611
  }, ref) => {
8503
- const baseId = React79.useId();
8504
- const [inner, setInner] = React79.useState(defaultValue ?? items[0]?.value);
8612
+ const baseId = React80.useId();
8613
+ const [inner, setInner] = React80.useState(defaultValue ?? items[0]?.value);
8505
8614
  const selected = value ?? inner;
8506
- const tabRefs = React79.useRef({});
8507
- const [indicator, setIndicator] = React79.useState(null);
8508
- const measure = React79.useCallback(() => {
8615
+ const tabRefs = React80.useRef({});
8616
+ const [indicator, setIndicator] = React80.useState(null);
8617
+ const measure = React80.useCallback(() => {
8509
8618
  const el = selected ? tabRefs.current[selected] : null;
8510
8619
  if (el) setIndicator({ left: el.offsetLeft, width: el.offsetWidth });
8511
8620
  }, [selected]);
8512
- React79.useLayoutEffect(() => {
8621
+ React80.useLayoutEffect(() => {
8513
8622
  measure();
8514
8623
  }, [measure, items]);
8515
- React79.useEffect(() => {
8624
+ React80.useEffect(() => {
8516
8625
  window.addEventListener("resize", measure);
8517
8626
  const ro = typeof ResizeObserver !== "undefined" ? new ResizeObserver(() => measure()) : null;
8518
8627
  Object.values(tabRefs.current).forEach((el) => el && ro?.observe(el));
@@ -8542,7 +8651,7 @@ var Tabs = React79.forwardRef(
8542
8651
  };
8543
8652
  const tabId = (v) => `${baseId}-tab-${v}`;
8544
8653
  const panelId = (v) => `${baseId}-panel-${v}`;
8545
- return /* @__PURE__ */ jsxs72(
8654
+ return /* @__PURE__ */ jsxs73(
8546
8655
  "div",
8547
8656
  {
8548
8657
  ref,
@@ -8552,7 +8661,7 @@ var Tabs = React79.forwardRef(
8552
8661
  ),
8553
8662
  ...rest,
8554
8663
  children: [
8555
- /* @__PURE__ */ jsxs72(
8664
+ /* @__PURE__ */ jsxs73(
8556
8665
  "div",
8557
8666
  {
8558
8667
  role: "tablist",
@@ -8560,7 +8669,7 @@ var Tabs = React79.forwardRef(
8560
8669
  onKeyDown,
8561
8670
  className: "relative flex min-w-0 items-center gap-xs overflow-x-auto p-sm",
8562
8671
  children: [
8563
- /* @__PURE__ */ jsx79(
8672
+ /* @__PURE__ */ jsx80(
8564
8673
  "span",
8565
8674
  {
8566
8675
  "aria-hidden": "true",
@@ -8574,7 +8683,7 @@ var Tabs = React79.forwardRef(
8574
8683
  ),
8575
8684
  items.map((item) => {
8576
8685
  const isSelected = item.value === selected;
8577
- return /* @__PURE__ */ jsx79(
8686
+ return /* @__PURE__ */ jsx80(
8578
8687
  Tab,
8579
8688
  {
8580
8689
  ref: (el) => {
@@ -8590,9 +8699,9 @@ var Tabs = React79.forwardRef(
8590
8699
  disabled: item.disabled,
8591
8700
  leadingIcon: item.icon,
8592
8701
  onClick: () => select(item.value),
8593
- children: /* @__PURE__ */ jsxs72("span", { className: "inline-flex items-center gap-sm", children: [
8702
+ children: /* @__PURE__ */ jsxs73("span", { className: "inline-flex items-center gap-sm", children: [
8594
8703
  item.label,
8595
- item.badge != null ? /* @__PURE__ */ jsx79(Badge, { size: "sm", tone: isSelected ? "primary" : "neutral", children: item.badge }) : null
8704
+ item.badge != null ? /* @__PURE__ */ jsx80(Badge, { size: "sm", tone: isSelected ? "primary" : "neutral", children: item.badge }) : null
8596
8705
  ] })
8597
8706
  },
8598
8707
  item.value
@@ -8603,7 +8712,7 @@ var Tabs = React79.forwardRef(
8603
8712
  ),
8604
8713
  items.map((item) => {
8605
8714
  const isSelected = item.value === selected;
8606
- return /* @__PURE__ */ jsx79(
8715
+ return /* @__PURE__ */ jsx80(
8607
8716
  "div",
8608
8717
  {
8609
8718
  id: panelId(item.value),
@@ -8625,26 +8734,26 @@ var Tabs = React79.forwardRef(
8625
8734
  Tabs.displayName = "Tabs";
8626
8735
 
8627
8736
  // virtual-pkg:src/atoms/TestimonialBlock/TestimonialBlock.tsx
8628
- import * as React80 from "react";
8629
- import { jsx as jsx80, jsxs as jsxs73 } from "react/jsx-runtime";
8737
+ import * as React81 from "react";
8738
+ import { jsx as jsx81, jsxs as jsxs74 } from "react/jsx-runtime";
8630
8739
  var cn61 = (...parts) => parts.filter(Boolean).join(" ");
8631
8740
  function QuoteCard({ t }) {
8632
- return /* @__PURE__ */ jsxs73("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: [
8633
- /* @__PURE__ */ jsx80("blockquote", { className: "m-0", children: /* @__PURE__ */ jsxs73("p", { className: "text-body-lg text-ink", children: [
8741
+ return /* @__PURE__ */ jsxs74("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: [
8742
+ /* @__PURE__ */ jsx81("blockquote", { className: "m-0", children: /* @__PURE__ */ jsxs74("p", { className: "text-body-lg text-ink", children: [
8634
8743
  "\u201C",
8635
8744
  t.quote,
8636
8745
  "\u201D"
8637
8746
  ] }) }),
8638
- /* @__PURE__ */ jsxs73("figcaption", { className: "flex items-center gap-md", children: [
8639
- /* @__PURE__ */ jsx80(Avatar, { size: "lg", name: t.name, src: t.avatarSrc, alt: t.name }),
8640
- /* @__PURE__ */ jsxs73("div", { className: "flex min-w-0 flex-col", children: [
8641
- /* @__PURE__ */ jsx80("span", { className: "truncate text-body-sm font-weight-label text-ink", children: t.name }),
8642
- t.role ? /* @__PURE__ */ jsx80("span", { className: "truncate text-caption text-muted", children: t.role }) : null
8747
+ /* @__PURE__ */ jsxs74("figcaption", { className: "flex items-center gap-md", children: [
8748
+ /* @__PURE__ */ jsx81(Avatar, { size: "lg", name: t.name, src: t.avatarSrc, alt: t.name }),
8749
+ /* @__PURE__ */ jsxs74("div", { className: "flex min-w-0 flex-col", children: [
8750
+ /* @__PURE__ */ jsx81("span", { className: "truncate text-body-sm font-weight-label text-ink", children: t.name }),
8751
+ t.role ? /* @__PURE__ */ jsx81("span", { className: "truncate text-caption text-muted", children: t.role }) : null
8643
8752
  ] })
8644
8753
  ] })
8645
8754
  ] });
8646
8755
  }
8647
- var TestimonialBlock = React80.forwardRef(
8756
+ var TestimonialBlock = React81.forwardRef(
8648
8757
  ({
8649
8758
  testimonials = [],
8650
8759
  logos,
@@ -8654,7 +8763,7 @@ var TestimonialBlock = React80.forwardRef(
8654
8763
  ...rest
8655
8764
  }, ref) => {
8656
8765
  const many = testimonials.length > 1;
8657
- return /* @__PURE__ */ jsxs73(
8766
+ return /* @__PURE__ */ jsxs74(
8658
8767
  "section",
8659
8768
  {
8660
8769
  ref,
@@ -8662,18 +8771,18 @@ var TestimonialBlock = React80.forwardRef(
8662
8771
  className: cn61("flex w-full flex-col gap-xl", className),
8663
8772
  ...rest,
8664
8773
  children: [
8665
- logos && logos.length ? /* @__PURE__ */ jsxs73("div", { className: "flex flex-col items-center gap-lg py-base", children: [
8666
- /* @__PURE__ */ jsx80("p", { className: "text-body-md text-muted", children: logosTitle }),
8667
- /* @__PURE__ */ jsx80("ul", { className: "flex flex-wrap items-center justify-center gap-x-xl gap-y-base", children: logos.map((l) => /* @__PURE__ */ jsx80("li", { className: "text-ink", children: /* @__PURE__ */ jsx80(
8774
+ logos && logos.length ? /* @__PURE__ */ jsxs74("div", { className: "flex flex-col items-center gap-lg py-base", children: [
8775
+ /* @__PURE__ */ jsx81("p", { className: "text-body-md text-muted", children: logosTitle }),
8776
+ /* @__PURE__ */ jsx81("ul", { className: "flex flex-wrap items-center justify-center gap-x-xl gap-y-base", children: logos.map((l) => /* @__PURE__ */ jsx81("li", { className: "text-ink", children: /* @__PURE__ */ jsx81(
8668
8777
  Logo,
8669
8778
  {
8670
8779
  size: "md",
8671
8780
  name: l.name,
8672
- mark: l.icon ? /* @__PURE__ */ jsx80(Icon, { name: l.icon, size: 20 }) : void 0
8781
+ mark: l.icon ? /* @__PURE__ */ jsx81(Icon, { name: l.icon, size: 20 }) : void 0
8673
8782
  }
8674
8783
  ) }, l.name)) })
8675
8784
  ] }) : null,
8676
- testimonials.length ? /* @__PURE__ */ jsx80(
8785
+ testimonials.length ? /* @__PURE__ */ jsx81(
8677
8786
  "div",
8678
8787
  {
8679
8788
  className: cn61(
@@ -8681,7 +8790,7 @@ var TestimonialBlock = React80.forwardRef(
8681
8790
  many ? "grid-cols-1 md:grid-cols-2" : "grid-cols-1",
8682
8791
  testimonials.length > 2 && "lg:grid-cols-3"
8683
8792
  ),
8684
- children: testimonials.map((t) => /* @__PURE__ */ jsx80(QuoteCard, { t }, t.id))
8793
+ children: testimonials.map((t) => /* @__PURE__ */ jsx81(QuoteCard, { t }, t.id))
8685
8794
  }
8686
8795
  ) : null
8687
8796
  ]
@@ -8692,9 +8801,9 @@ var TestimonialBlock = React80.forwardRef(
8692
8801
  TestimonialBlock.displayName = "TestimonialBlock";
8693
8802
 
8694
8803
  // virtual-pkg:src/atoms/Toast/Toast.tsx
8695
- import * as React81 from "react";
8804
+ import * as React82 from "react";
8696
8805
  import { createPortal as createPortal10 } from "react-dom";
8697
- import { jsx as jsx81, jsxs as jsxs74 } from "react/jsx-runtime";
8806
+ import { jsx as jsx82, jsxs as jsxs75 } from "react/jsx-runtime";
8698
8807
  var cn62 = (...parts) => parts.filter(Boolean).join(" ");
8699
8808
  var toneIcon2 = {
8700
8809
  success: { name: "circle-check", color: "text-inverse-ink" },
@@ -8705,7 +8814,7 @@ var placementClass = {
8705
8814
  "bottom-center": "fixed bottom-lg left-1/2 -translate-x-1/2 w-[calc(100%-2rem)] sm:w-auto sm:min-w-[22rem]",
8706
8815
  "bottom-right": "fixed bottom-lg right-lg left-lg sm:left-auto sm:min-w-[22rem]"
8707
8816
  };
8708
- var Toast = React81.forwardRef(
8817
+ var Toast = React82.forwardRef(
8709
8818
  ({
8710
8819
  open = true,
8711
8820
  onOpenChange,
@@ -8719,16 +8828,16 @@ var Toast = React81.forwardRef(
8719
8828
  className,
8720
8829
  ...rest
8721
8830
  }, ref) => {
8722
- const [mounted, setMounted] = React81.useState(false);
8723
- React81.useEffect(() => setMounted(true), []);
8724
- React81.useEffect(() => {
8831
+ const [mounted, setMounted] = React82.useState(false);
8832
+ React82.useEffect(() => setMounted(true), []);
8833
+ React82.useEffect(() => {
8725
8834
  if (!open || !duration || !onOpenChange) return;
8726
8835
  const t = window.setTimeout(() => onOpenChange(false), duration);
8727
8836
  return () => window.clearTimeout(t);
8728
8837
  }, [open, duration, onOpenChange]);
8729
8838
  const glyph2 = toneIcon2[tone];
8730
8839
  const floating = placement !== "inline";
8731
- const card = /* @__PURE__ */ jsx81(
8840
+ const card = /* @__PURE__ */ jsx82(
8732
8841
  "div",
8733
8842
  {
8734
8843
  className: cn62(
@@ -8736,7 +8845,7 @@ var Toast = React81.forwardRef(
8736
8845
  "pointer-events-none"
8737
8846
  ),
8738
8847
  style: { zIndex: open ? "var(--z-toast, 1400)" : void 0 },
8739
- children: /* @__PURE__ */ jsxs74(
8848
+ children: /* @__PURE__ */ jsxs75(
8740
8849
  "div",
8741
8850
  {
8742
8851
  ref,
@@ -8754,9 +8863,9 @@ var Toast = React81.forwardRef(
8754
8863
  ),
8755
8864
  ...rest,
8756
8865
  children: [
8757
- /* @__PURE__ */ jsx81(Icon, { name: icon ?? glyph2.name, size: 18, className: cn62("shrink-0", glyph2.color) }),
8758
- /* @__PURE__ */ jsx81("p", { className: "min-w-0 flex-1 py-xxs text-body-md text-inverse-ink [&_strong]:font-weight-label", children: title }),
8759
- actionLabel ? /* @__PURE__ */ jsx81(
8866
+ /* @__PURE__ */ jsx82(Icon, { name: icon ?? glyph2.name, size: 18, className: cn62("shrink-0", glyph2.color) }),
8867
+ /* @__PURE__ */ jsx82("p", { className: "min-w-0 flex-1 py-xxs text-body-md text-inverse-ink [&_strong]:font-weight-label", children: title }),
8868
+ actionLabel ? /* @__PURE__ */ jsx82(
8760
8869
  Button,
8761
8870
  {
8762
8871
  variant: "ghost",
@@ -8769,7 +8878,7 @@ var Toast = React81.forwardRef(
8769
8878
  className: "shrink-0 text-inverse-ink enabled:hover:bg-inverse-ink/10 enabled:hover:text-inverse-ink",
8770
8879
  children: actionLabel
8771
8880
  }
8772
- ) : /* @__PURE__ */ jsx81("span", { className: "w-xs shrink-0", "aria-hidden": "true" })
8881
+ ) : /* @__PURE__ */ jsx82("span", { className: "w-xs shrink-0", "aria-hidden": "true" })
8773
8882
  ]
8774
8883
  }
8775
8884
  )
@@ -8783,8 +8892,8 @@ var Toast = React81.forwardRef(
8783
8892
  Toast.displayName = "Toast";
8784
8893
 
8785
8894
  // virtual-pkg:src/atoms/Typography/Typography.tsx
8786
- import React82 from "react";
8787
- import { jsx as jsx82 } from "react/jsx-runtime";
8895
+ import React83 from "react";
8896
+ import { jsx as jsx83 } from "react/jsx-runtime";
8788
8897
  function cn63(...parts) {
8789
8898
  return parts.filter(Boolean).join(" ");
8790
8899
  }
@@ -8831,10 +8940,10 @@ var toneClass2 = {
8831
8940
  primary: "text-primary",
8832
8941
  error: "text-semantic-error"
8833
8942
  };
8834
- var Typography = React82.forwardRef(
8943
+ var Typography = React83.forwardRef(
8835
8944
  ({ variant = "body", as, tone, truncate = false, className, children, ...rest }, ref) => {
8836
8945
  const Component = as ?? defaultElement[variant];
8837
- return /* @__PURE__ */ jsx82(
8946
+ return /* @__PURE__ */ jsx83(
8838
8947
  Component,
8839
8948
  {
8840
8949
  ref,
@@ -8854,10 +8963,10 @@ var Typography = React82.forwardRef(
8854
8963
  Typography.displayName = "Typography";
8855
8964
 
8856
8965
  // virtual-pkg:src/atoms/Wizard/Wizard.tsx
8857
- import * as React83 from "react";
8858
- import { jsx as jsx83, jsxs as jsxs75 } from "react/jsx-runtime";
8966
+ import * as React84 from "react";
8967
+ import { jsx as jsx84, jsxs as jsxs76 } from "react/jsx-runtime";
8859
8968
  var cn64 = (...parts) => parts.filter(Boolean).join(" ");
8860
- var Wizard = React83.forwardRef(
8969
+ var Wizard = React84.forwardRef(
8861
8970
  ({
8862
8971
  title,
8863
8972
  description,
@@ -8876,8 +8985,8 @@ var Wizard = React83.forwardRef(
8876
8985
  className,
8877
8986
  ...rest
8878
8987
  }, ref) => {
8879
- const titleId = React83.useId();
8880
- const [inner, setInner] = React83.useState(defaultStep);
8988
+ const titleId = React84.useId();
8989
+ const [inner, setInner] = React84.useState(defaultStep);
8881
8990
  const step = stepProp ?? inner;
8882
8991
  const go = (next) => {
8883
8992
  const clamped = Math.max(0, Math.min(steps.length, next));
@@ -8888,7 +8997,7 @@ var Wizard = React83.forwardRef(
8888
8997
  const current = steps[step];
8889
8998
  const blocked = !reviewing && current?.canContinue === false;
8890
8999
  const statusOf = (i) => i < step ? "complete" : i === step ? "active" : "upcoming";
8891
- return /* @__PURE__ */ jsx83("div", { ref, className: cn64("w-full", className), ...rest, children: /* @__PURE__ */ jsxs75(
9000
+ return /* @__PURE__ */ jsx84("div", { ref, className: cn64("w-full", className), ...rest, children: /* @__PURE__ */ jsxs76(
8892
9001
  "section",
8893
9002
  {
8894
9003
  "aria-labelledby": titleId,
@@ -8897,40 +9006,40 @@ var Wizard = React83.forwardRef(
8897
9006
  chrome === "card" && "rounded-xl border border-hairline bg-canvas p-lg shadow-card"
8898
9007
  ),
8899
9008
  children: [
8900
- /* @__PURE__ */ jsxs75("header", { className: "flex flex-col gap-xs", children: [
8901
- /* @__PURE__ */ jsx83("h2", { id: titleId, className: "text-heading-md font-weight-heading-sm text-ink", children: title }),
8902
- (description || docsHref) && /* @__PURE__ */ jsxs75("p", { className: "text-body-sm text-muted", children: [
9009
+ /* @__PURE__ */ jsxs76("header", { className: "flex flex-col gap-xs", children: [
9010
+ /* @__PURE__ */ jsx84("h2", { id: titleId, className: "text-heading-md font-weight-heading-sm text-ink", children: title }),
9011
+ (description || docsHref) && /* @__PURE__ */ jsxs76("p", { className: "text-body-sm text-muted", children: [
8903
9012
  description,
8904
9013
  " ",
8905
- docsHref && /* @__PURE__ */ jsx83(Link, { href: docsHref, variant: "standalone", arrow: true, external: true, children: docsLabel })
9014
+ docsHref && /* @__PURE__ */ jsx84(Link, { href: docsHref, variant: "standalone", arrow: true, external: true, children: docsLabel })
8906
9015
  ] })
8907
9016
  ] }),
8908
- /* @__PURE__ */ jsx83("ol", { className: "flex flex-col", "aria-label": "Steps", children: steps.map((s, i) => {
9017
+ /* @__PURE__ */ jsx84("ol", { className: "flex flex-col", "aria-label": "Steps", children: steps.map((s, i) => {
8909
9018
  const status = statusOf(i);
8910
9019
  const active = status === "active";
8911
- return /* @__PURE__ */ jsx83(
9020
+ return /* @__PURE__ */ jsx84(
8912
9021
  StepperItem,
8913
9022
  {
8914
9023
  status,
8915
9024
  title: s.title,
8916
9025
  meta: active ? s.description : status === "complete" ? s.summary : void 0,
8917
9026
  connector: i < steps.length - 1,
8918
- children: s.content ? /* @__PURE__ */ jsx83(
9027
+ children: s.content ? /* @__PURE__ */ jsx84(
8919
9028
  "div",
8920
9029
  {
8921
9030
  "data-state": active ? "open" : "closed",
8922
9031
  "aria-hidden": active ? void 0 : true,
8923
9032
  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",
8924
- children: /* @__PURE__ */ jsx83("div", { className: "min-h-0 overflow-hidden", children: /* @__PURE__ */ jsx83("div", { className: active ? "pb-xs" : "invisible", children: s.content }) })
9033
+ children: /* @__PURE__ */ jsx84("div", { className: "min-h-0 overflow-hidden", children: /* @__PURE__ */ jsx84("div", { className: active ? "pb-xs" : "invisible", children: s.content }) })
8925
9034
  }
8926
9035
  ) : null
8927
9036
  },
8928
9037
  s.id
8929
9038
  );
8930
9039
  }) }),
8931
- /* @__PURE__ */ jsxs75("footer", { className: "flex items-center justify-end gap-sm", children: [
8932
- step > 0 && /* @__PURE__ */ jsx83(Button, { variant: "secondary", onClick: () => go(step - 1), disabled: submitting, children: backLabel }),
8933
- reviewing ? /* @__PURE__ */ jsx83(Button, { variant: "primary", loading: submitting, onClick: onComplete, children: completeLabel }) : /* @__PURE__ */ jsx83(Button, { variant: "primary", disabled: blocked, onClick: () => go(step + 1), children: continueLabel })
9040
+ /* @__PURE__ */ jsxs76("footer", { className: "flex items-center justify-end gap-sm", children: [
9041
+ step > 0 && /* @__PURE__ */ jsx84(Button, { variant: "secondary", onClick: () => go(step - 1), disabled: submitting, children: backLabel }),
9042
+ reviewing ? /* @__PURE__ */ jsx84(Button, { variant: "primary", loading: submitting, onClick: onComplete, children: completeLabel }) : /* @__PURE__ */ jsx84(Button, { variant: "primary", disabled: blocked, onClick: () => go(step + 1), children: continueLabel })
8934
9043
  ] })
8935
9044
  ]
8936
9045
  }
@@ -8984,6 +9093,7 @@ export {
8984
9093
  IconButton,
8985
9094
  Image,
8986
9095
  Input,
9096
+ IssueCard,
8987
9097
  Label,
8988
9098
  Link,
8989
9099
  ListItem,