@designa8/vibedesign-linear-internal-v1-b737 0.0.1 → 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs CHANGED
@@ -98,6 +98,7 @@ __export(src_exports, {
98
98
  Rating: () => Rating,
99
99
  SearchBar: () => SearchBar,
100
100
  SearchResultsList: () => SearchResultsList,
101
+ SegmentedControl: () => SegmentedControl,
101
102
  Sidebar: () => Sidebar,
102
103
  SidebarDesktop: () => SidebarDesktop,
103
104
  SidebarMobile: () => SidebarMobile,
@@ -234,7 +235,9 @@ var ICON_REGISTRY = {
234
235
  "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" }] },
235
236
  "circle": { viewBox: "0 0 24 24", nodes: [{ tag: "circle", cx: "12", cy: "12", r: "10" }] },
236
237
  "trash": { viewBox: "0 0 24 24", nodes: [{ tag: "path", d: "M3 6h18" }, { tag: "path", d: "M19 6v14c0 1-1 2-2 2H7c-1 0-2-1-2-2V6" }, { tag: "path", d: "M8 6V4c0-1 1-2 2-2h4c1 0 2 1 2 2v2" }] },
237
- "chart-bar": { viewBox: "0 0 24 24", nodes: [{ tag: "path", d: "M3 3v16a2 2 0 0 0 2 2h16" }, { tag: "path", d: "M7 16h8" }, { tag: "path", d: "M7 11h12" }, { tag: "path", d: "M7 6h3" }] }
238
+ "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" }] },
239
+ "layout-grid": { viewBox: "0 0 24 24", nodes: [{ tag: "rect", width: "7", height: "7", x: "3", y: "3", rx: "1" }, { tag: "rect", width: "7", height: "7", x: "14", y: "3", rx: "1" }, { tag: "rect", width: "7", height: "7", x: "14", y: "14", rx: "1" }, { tag: "rect", width: "7", height: "7", x: "3", y: "14", rx: "1" }] },
240
+ "smartphone": { viewBox: "0 0 24 24", nodes: [{ tag: "rect", width: "14", height: "20", x: "5", y: "2", rx: "2", ry: "2" }, { tag: "path", d: "M12 18h.01" }] }
238
241
  };
239
242
 
240
243
  // virtual-pkg:src/atoms/Icon/Icon.tsx
@@ -583,7 +586,8 @@ var variants = {
583
586
  ghost: "border-transparent bg-transparent text-body enabled:hover:bg-surface-soft enabled:hover:text-ink enabled:active:bg-surface-strong aria-pressed:bg-surface-strong aria-pressed:text-ink",
584
587
  danger: "border-semantic-error bg-semantic-error text-on-primary shadow-sm enabled:hover:opacity-90 enabled:active:opacity-80",
585
588
  field: "border-hairline bg-canvas text-ink enabled:hover:border-hairline-strong focus-visible:border-primary aria-expanded:border-primary aria-invalid:border-semantic-error disabled:bg-surface-soft disabled:border-hairline-soft",
586
- item: "border-transparent bg-transparent text-ink enabled:hover:bg-surface-soft enabled:active:bg-surface-strong focus-visible:bg-surface-soft aria-selected:bg-primary-soft aria-selected:font-weight-label"
589
+ item: "border-transparent bg-transparent text-ink enabled:hover:bg-surface-soft enabled:active:bg-surface-strong focus-visible:bg-surface-soft aria-selected:bg-primary-soft aria-selected:font-weight-label",
590
+ bare: "border-transparent bg-transparent text-body transition-colors aria-selected:text-on-primary not-aria-selected:enabled:hover:bg-surface-soft not-aria-selected:enabled:hover:text-ink focus-visible:ring-inset not-aria-selected:focus-visible:bg-surface-soft"
587
591
  };
588
592
  var sizes = {
589
593
  sm: "h-7 gap-xs rounded-sm px-sm text-body-sm",
@@ -962,7 +966,8 @@ var TONE = {
962
966
  success: "bg-semantic-success-soft text-semantic-success",
963
967
  warning: "bg-semantic-warning-soft text-semantic-warning",
964
968
  error: "bg-semantic-error-soft text-semantic-error",
965
- info: "bg-semantic-info-soft text-semantic-info"
969
+ info: "bg-semantic-info-soft text-semantic-info",
970
+ "on-primary": "bg-on-primary/20 text-on-primary"
966
971
  };
967
972
  var SIZE = {
968
973
  sm: "h-5 gap-xs rounded-sm px-xs text-caption",
@@ -2690,7 +2695,7 @@ var TableHeaderCell = React28.forwardRef(
2690
2695
  ...rest
2691
2696
  }, ref) => {
2692
2697
  const sorted = sortDirection !== "none";
2693
- const frame = cn21(
2698
+ const frame2 = cn21(
2694
2699
  "w-full overflow-hidden rounded-md border transition duration-200 ease-out",
2695
2700
  sorted ? "border-transparent bg-primary-soft" : framed ? "border-hairline bg-canvas" : "border-transparent bg-transparent"
2696
2701
  );
@@ -2726,7 +2731,7 @@ var TableHeaderCell = React28.forwardRef(
2726
2731
  "aria-sort": sortable ? sortDirection : void 0,
2727
2732
  className: cn21("p-0 text-left align-middle", className),
2728
2733
  ...rest,
2729
- children: /* @__PURE__ */ (0, import_jsx_runtime28.jsx)("div", { className: frame, children: sortable ? /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
2734
+ children: /* @__PURE__ */ (0, import_jsx_runtime28.jsx)("div", { className: frame2, children: sortable ? /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
2730
2735
  Button,
2731
2736
  {
2732
2737
  variant: "ghost",
@@ -4179,11 +4184,11 @@ var DropdownMenu = React39.forwardRef(
4179
4184
  React39.useLayoutEffect(() => {
4180
4185
  if (!open) return;
4181
4186
  place2();
4182
- const frame = window.requestAnimationFrame(place2);
4187
+ const frame2 = window.requestAnimationFrame(place2);
4183
4188
  window.addEventListener("resize", place2);
4184
4189
  window.addEventListener("scroll", place2, true);
4185
4190
  return () => {
4186
- window.cancelAnimationFrame(frame);
4191
+ window.cancelAnimationFrame(frame2);
4187
4192
  window.removeEventListener("resize", place2);
4188
4193
  window.removeEventListener("scroll", place2, true);
4189
4194
  };
@@ -7756,17 +7761,144 @@ var SearchResultsList = React72.forwardRef(
7756
7761
  );
7757
7762
  SearchResultsList.displayName = "SearchResultsList";
7758
7763
 
7764
+ // virtual-pkg:src/atoms/SegmentedControl/SegmentedControl.tsx
7765
+ var React73 = __toESM(require("react"));
7766
+ var import_jsx_runtime73 = require("react/jsx-runtime");
7767
+ var cn54 = (...parts) => parts.filter(Boolean).join(" ");
7768
+ var segmentInteraction = "cursor-pointer transition duration-150 ease-out not-aria-selected:hover:bg-surface-soft focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-focus-blue disabled:cursor-not-allowed disabled:opacity-50";
7769
+ var frame = {
7770
+ sm: "gap-xxs p-xxs",
7771
+ md: "gap-xs p-xs"
7772
+ };
7773
+ var pillRadius = {
7774
+ sm: "rounded-sm",
7775
+ md: "rounded-md"
7776
+ };
7777
+ var SegmentedControl = React73.forwardRef(
7778
+ ({ items, value, onValueChange, size = "sm", bare = false, className, ...rest }, ref) => {
7779
+ const trackRef = React73.useRef(null);
7780
+ const itemRefs = React73.useRef({});
7781
+ const [pill, setPill] = React73.useState(null);
7782
+ const valueKey = items.map((item) => item.value).join("|");
7783
+ React73.useLayoutEffect(() => {
7784
+ const el = value !== void 0 ? itemRefs.current[value] : null;
7785
+ if (!el) {
7786
+ setPill(null);
7787
+ return;
7788
+ }
7789
+ const measure = () => setPill({ offset: el.offsetLeft, width: el.offsetWidth });
7790
+ measure();
7791
+ if (typeof ResizeObserver === "undefined") return;
7792
+ const observer = new ResizeObserver(measure);
7793
+ observer.observe(el);
7794
+ if (trackRef.current) observer.observe(trackRef.current);
7795
+ return () => observer.disconnect();
7796
+ }, [value, valueKey, size, bare]);
7797
+ const firstEnabled = items.find((item) => !item.disabled)?.value;
7798
+ const onKeyDown = (event) => {
7799
+ const enabled = items.filter((item) => !item.disabled);
7800
+ if (enabled.length === 0) return;
7801
+ const index = enabled.findIndex((item) => item.value === value);
7802
+ let next;
7803
+ if (event.key === "ArrowRight") next = enabled[(index + 1) % enabled.length];
7804
+ else if (event.key === "ArrowLeft")
7805
+ next = enabled[(index - 1 + enabled.length) % enabled.length];
7806
+ else if (event.key === "Home") next = enabled[0];
7807
+ else if (event.key === "End") next = enabled[enabled.length - 1];
7808
+ if (!next) return;
7809
+ event.preventDefault();
7810
+ onValueChange(next.value);
7811
+ itemRefs.current[next.value]?.focus();
7812
+ };
7813
+ return /* @__PURE__ */ (0, import_jsx_runtime73.jsx)("div", { ref, className: cn54("w-full", className), ...rest, children: /* @__PURE__ */ (0, import_jsx_runtime73.jsxs)(
7814
+ "div",
7815
+ {
7816
+ ref: trackRef,
7817
+ role: "tablist",
7818
+ "aria-orientation": "horizontal",
7819
+ onKeyDown,
7820
+ className: cn54(
7821
+ "relative isolate inline-flex max-w-full items-center overflow-x-auto rounded-lg",
7822
+ frame[size],
7823
+ bare ? "bg-transparent" : "border border-hairline bg-canvas shadow-sm",
7824
+ "[scrollbar-width:none] [&::-webkit-scrollbar]:hidden"
7825
+ ),
7826
+ children: [
7827
+ !bare ? /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(
7828
+ "span",
7829
+ {
7830
+ "aria-hidden": "true",
7831
+ className: cn54(
7832
+ "pointer-events-none absolute top-xxs bottom-xxs left-0 -z-10 bg-primary shadow-sm transition-[transform,width] duration-200 ease-out",
7833
+ pillRadius[size]
7834
+ ),
7835
+ style: pill ? { width: pill.width, transform: `translateX(${pill.offset}px)` } : { width: 0, opacity: 0 }
7836
+ }
7837
+ ) : null,
7838
+ items.map((item) => {
7839
+ const active = item.value === value;
7840
+ const iconOnly = Boolean(item.icon) && item.label == null;
7841
+ const glyphSize2 = size === "sm" ? 14 : 16;
7842
+ return /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(
7843
+ Button,
7844
+ {
7845
+ ref: (el) => {
7846
+ itemRefs.current[item.value] = el;
7847
+ },
7848
+ type: "button",
7849
+ role: "tab",
7850
+ "aria-selected": active,
7851
+ "aria-label": iconOnly ? item["aria-label"] ?? item.value : void 0,
7852
+ tabIndex: active || value === void 0 && item.value === firstEnabled ? 0 : -1,
7853
+ variant: bare ? active ? "primary" : "ghost" : "bare",
7854
+ size,
7855
+ iconOnly,
7856
+ disabled: item.disabled,
7857
+ onClick: () => onValueChange(item.value),
7858
+ className: segmentInteraction,
7859
+ children: iconOnly ? /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(Icon, { name: item.icon, size: glyphSize2 }) : /* @__PURE__ */ (0, import_jsx_runtime73.jsxs)("span", { className: "inline-flex min-w-0 items-center gap-xs", children: [
7860
+ item.dotClassName ? /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(
7861
+ "span",
7862
+ {
7863
+ "aria-hidden": "true",
7864
+ className: cn54("h-2 w-2 shrink-0 rounded-full", item.dotClassName)
7865
+ }
7866
+ ) : null,
7867
+ item.icon ? /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(Icon, { name: item.icon, size: glyphSize2 }) : null,
7868
+ /* @__PURE__ */ (0, import_jsx_runtime73.jsx)("span", { className: "truncate", children: item.label }),
7869
+ item.count !== void 0 ? /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(
7870
+ Badge,
7871
+ {
7872
+ size: "sm",
7873
+ tone: active ? "on-primary" : "neutral",
7874
+ "aria-label": `${item.count} items`,
7875
+ className: "min-w-5 justify-center",
7876
+ children: item.count
7877
+ }
7878
+ ) : null
7879
+ ] })
7880
+ },
7881
+ item.value
7882
+ );
7883
+ })
7884
+ ]
7885
+ }
7886
+ ) });
7887
+ }
7888
+ );
7889
+ SegmentedControl.displayName = "SegmentedControl";
7890
+
7759
7891
  // virtual-pkg:src/atoms/Sidebar/Sidebar.tsx
7760
- var React76 = __toESM(require("react"));
7892
+ var React77 = __toESM(require("react"));
7761
7893
 
7762
7894
  // virtual-pkg:src/atoms/SidebarDesktop/SidebarDesktop.tsx
7763
- var React74 = __toESM(require("react"));
7895
+ var React75 = __toESM(require("react"));
7764
7896
 
7765
7897
  // virtual-pkg:src/atoms/Tooltip/Tooltip.tsx
7766
7898
  var import_react5 = __toESM(require("react"));
7767
7899
  var import_react_dom9 = require("react-dom");
7768
- var import_jsx_runtime73 = require("react/jsx-runtime");
7769
- function cn54(...parts) {
7900
+ var import_jsx_runtime74 = require("react/jsx-runtime");
7901
+ function cn55(...parts) {
7770
7902
  return parts.filter(Boolean).join(" ");
7771
7903
  }
7772
7904
  var GAP2 = 8;
@@ -7855,7 +7987,7 @@ var Tooltip = import_react5.default.forwardRef(
7855
7987
  const trigger = import_react5.default.cloneElement(children, {
7856
7988
  "aria-describedby": open ? id : void 0
7857
7989
  });
7858
- const panel = /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(
7990
+ const panel = /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(
7859
7991
  "div",
7860
7992
  {
7861
7993
  style: {
@@ -7866,13 +7998,13 @@ var Tooltip = import_react5.default.forwardRef(
7866
7998
  zIndex: "var(--z-tooltip, 1500)",
7867
7999
  pointerEvents: "none"
7868
8000
  },
7869
- children: /* @__PURE__ */ (0, import_jsx_runtime73.jsxs)(
8001
+ children: /* @__PURE__ */ (0, import_jsx_runtime74.jsxs)(
7870
8002
  "div",
7871
8003
  {
7872
8004
  id,
7873
8005
  role: "tooltip",
7874
8006
  "data-state": open && coords ? "open" : "closed",
7875
- className: cn54(
8007
+ className: cn55(
7876
8008
  "relative transition duration-150 ease-out data-[state=open]:translate-x-0 data-[state=open]:translate-y-0 data-[state=open]:opacity-100 data-[state=closed]:opacity-0",
7877
8009
  nudgeClosed[placement],
7878
8010
  variant === "card" ? "min-w-[8rem] rounded-lg border border-hairline bg-canvas px-md py-sm text-ink shadow-lg" : "flex items-center gap-sm whitespace-nowrap rounded-md bg-inverse-canvas px-sm py-xs text-body-sm text-inverse-ink shadow-md",
@@ -7880,7 +8012,7 @@ var Tooltip = import_react5.default.forwardRef(
7880
8012
  ),
7881
8013
  children: [
7882
8014
  content,
7883
- variant === "default" && shortcut && shortcut.length > 0 ? /* @__PURE__ */ (0, import_jsx_runtime73.jsx)("span", { className: "flex items-center gap-xxs", children: shortcut.map((key) => /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(
8015
+ variant === "default" && shortcut && shortcut.length > 0 ? /* @__PURE__ */ (0, import_jsx_runtime74.jsx)("span", { className: "flex items-center gap-xxs", children: shortcut.map((key) => /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(
7884
8016
  "kbd",
7885
8017
  {
7886
8018
  className: "inline-flex min-w-5 items-center justify-center rounded-xs bg-inverse-ink/15 px-xs text-caption text-inverse-ink",
@@ -7888,11 +8020,11 @@ var Tooltip = import_react5.default.forwardRef(
7888
8020
  },
7889
8021
  key
7890
8022
  )) }) : null,
7891
- variant === "default" ? /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(
8023
+ variant === "default" ? /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(
7892
8024
  "span",
7893
8025
  {
7894
8026
  "aria-hidden": "true",
7895
- className: cn54("absolute size-2 rotate-45 rounded-none bg-inverse-canvas", arrowPos[placement])
8027
+ className: cn55("absolute size-2 rotate-45 rounded-none bg-inverse-canvas", arrowPos[placement])
7896
8028
  }
7897
8029
  ) : null
7898
8030
  ]
@@ -7900,7 +8032,7 @@ var Tooltip = import_react5.default.forwardRef(
7900
8032
  )
7901
8033
  }
7902
8034
  );
7903
- return /* @__PURE__ */ (0, import_jsx_runtime73.jsxs)(
8035
+ return /* @__PURE__ */ (0, import_jsx_runtime74.jsxs)(
7904
8036
  "span",
7905
8037
  {
7906
8038
  ref: setRefs,
@@ -7923,11 +8055,11 @@ var Tooltip = import_react5.default.forwardRef(
7923
8055
  Tooltip.displayName = "Tooltip";
7924
8056
 
7925
8057
  // virtual-pkg:src/atoms/SidebarDesktop/SidebarDesktop.tsx
7926
- var import_jsx_runtime74 = require("react/jsx-runtime");
7927
- var cn55 = (...parts) => parts.filter(Boolean).join(" ");
8058
+ var import_jsx_runtime75 = require("react/jsx-runtime");
8059
+ var cn56 = (...parts) => parts.filter(Boolean).join(" ");
7928
8060
  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";
7929
8061
  var hasBadge = (badge) => badge !== void 0 && badge !== null && badge !== false;
7930
- var SidebarDesktop = React74.forwardRef(
8062
+ var SidebarDesktop = React75.forwardRef(
7931
8063
  ({
7932
8064
  brandName = "Linear",
7933
8065
  brandHref = "#",
@@ -7952,15 +8084,15 @@ var SidebarDesktop = React74.forwardRef(
7952
8084
  children,
7953
8085
  ...rest
7954
8086
  }, ref) => {
7955
- const baseId = React74.useId();
7956
- const [innerCollapsed, setInnerCollapsed] = React74.useState(defaultCollapsed);
8087
+ const baseId = React75.useId();
8088
+ const [innerCollapsed, setInnerCollapsed] = React75.useState(defaultCollapsed);
7957
8089
  const collapsed = collapsedProp ?? innerCollapsed;
7958
8090
  const toggle = () => {
7959
8091
  const next = !collapsed;
7960
8092
  if (collapsedProp === void 0) setInnerCollapsed(next);
7961
8093
  onCollapsedChange?.(next);
7962
8094
  };
7963
- const [expanded, setExpanded] = React74.useState(
8095
+ const [expanded, setExpanded] = React75.useState(
7964
8096
  () => new Set(
7965
8097
  defaultExpanded ?? sections.filter((s) => s.label).map((s) => s.id)
7966
8098
  )
@@ -7976,9 +8108,9 @@ var SidebarDesktop = React74.forwardRef(
7976
8108
  const showSettingsAction = onSettingsClick !== void 0;
7977
8109
  const showFooterActions = showHelpAction || showSettingsAction;
7978
8110
  const showFooterRow = showFooter && (Boolean(userName) || showFooterActions);
7979
- const renderIcon = (link) => link.icon ? /* @__PURE__ */ (0, import_jsx_runtime74.jsxs)("span", { className: "relative inline-flex shrink-0 items-center justify-center", children: [
7980
- /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(Icon, { name: link.icon, size: 16, className: "text-body" }),
7981
- collapsed && hasBadge(link.badge) && /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(
8111
+ const renderIcon = (link) => link.icon ? /* @__PURE__ */ (0, import_jsx_runtime75.jsxs)("span", { className: "relative inline-flex shrink-0 items-center justify-center", children: [
8112
+ /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(Icon, { name: link.icon, size: 16, className: "text-body" }),
8113
+ collapsed && hasBadge(link.badge) && /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(
7982
8114
  "span",
7983
8115
  {
7984
8116
  "aria-hidden": "true",
@@ -7988,34 +8120,34 @@ var SidebarDesktop = React74.forwardRef(
7988
8120
  ] }) : null;
7989
8121
  const renderLink = (link, nested = false) => {
7990
8122
  const current = link.id === activeId;
7991
- const anchor = /* @__PURE__ */ (0, import_jsx_runtime74.jsxs)(
8123
+ const anchor = /* @__PURE__ */ (0, import_jsx_runtime75.jsxs)(
7992
8124
  "a",
7993
8125
  {
7994
8126
  href: link.href ?? `#${link.id}`,
7995
8127
  "aria-current": current ? "page" : void 0,
7996
8128
  "aria-label": collapsed ? link.label : void 0,
7997
8129
  onClick: (e) => onNavigate?.(link, e),
7998
- className: cn55(
8130
+ className: cn56(
7999
8131
  linkBase,
8000
- collapsed ? "w-9 justify-center" : cn55("w-full gap-sm px-sm", nested && "pl-xl"),
8132
+ collapsed ? "w-9 justify-center" : cn56("w-full gap-sm px-sm", nested && "pl-xl"),
8001
8133
  current ? "bg-surface-strong text-ink font-weight-label" : "text-ink hover:bg-surface-soft active:bg-surface-strong"
8002
8134
  ),
8003
8135
  children: [
8004
8136
  renderIcon(link),
8005
- !collapsed && /* @__PURE__ */ (0, import_jsx_runtime74.jsx)("span", { className: "min-w-0 flex-1 truncate", children: link.label }),
8006
- !collapsed && hasBadge(link.badge) && /* @__PURE__ */ (0, import_jsx_runtime74.jsx)("span", { className: "shrink-0 text-caption text-muted tabular-nums", children: link.badge })
8137
+ !collapsed && /* @__PURE__ */ (0, import_jsx_runtime75.jsx)("span", { className: "min-w-0 flex-1 truncate", children: link.label }),
8138
+ !collapsed && hasBadge(link.badge) && /* @__PURE__ */ (0, import_jsx_runtime75.jsx)("span", { className: "shrink-0 text-caption text-muted tabular-nums", children: link.badge })
8007
8139
  ]
8008
8140
  }
8009
8141
  );
8010
- return /* @__PURE__ */ (0, import_jsx_runtime74.jsx)("li", { className: collapsed ? "flex justify-center" : void 0, children: collapsed ? /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(Tooltip, { content: link.label, placement: "right", children: anchor }) : anchor }, link.id);
8142
+ return /* @__PURE__ */ (0, import_jsx_runtime75.jsx)("li", { className: collapsed ? "flex justify-center" : void 0, children: collapsed ? /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(Tooltip, { content: link.label, placement: "right", children: anchor }) : anchor }, link.id);
8011
8143
  };
8012
8144
  const renderGroup = (link) => {
8013
8145
  const open = isOpen(link.id);
8014
8146
  const panelId = `${baseId}-${link.id}`;
8015
8147
  const kids = link.children ?? [];
8016
8148
  if (collapsed) {
8017
- return /* @__PURE__ */ (0, import_jsx_runtime74.jsxs)(React74.Fragment, { children: [
8018
- /* @__PURE__ */ (0, import_jsx_runtime74.jsx)("li", { className: "flex justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(Tooltip, { content: link.label, placement: "right", children: /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(
8149
+ return /* @__PURE__ */ (0, import_jsx_runtime75.jsxs)(React75.Fragment, { children: [
8150
+ /* @__PURE__ */ (0, import_jsx_runtime75.jsx)("li", { className: "flex justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(Tooltip, { content: link.label, placement: "right", children: /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(
8019
8151
  IconButton,
8020
8152
  {
8021
8153
  icon: link.icon ?? "box",
@@ -8030,8 +8162,8 @@ var SidebarDesktop = React74.forwardRef(
8030
8162
  open && kids.map((k) => renderLink(k))
8031
8163
  ] }, link.id);
8032
8164
  }
8033
- return /* @__PURE__ */ (0, import_jsx_runtime74.jsxs)("li", { children: [
8034
- /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(
8165
+ return /* @__PURE__ */ (0, import_jsx_runtime75.jsxs)("li", { children: [
8166
+ /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(
8035
8167
  Button,
8036
8168
  {
8037
8169
  variant: "item",
@@ -8039,37 +8171,37 @@ var SidebarDesktop = React74.forwardRef(
8039
8171
  "aria-expanded": open,
8040
8172
  "aria-controls": panelId,
8041
8173
  onClick: () => flip(link.id),
8042
- leadingIcon: link.icon ? /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(Icon, { name: link.icon, size: 16, className: "text-body" }) : void 0,
8174
+ leadingIcon: link.icon ? /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(Icon, { name: link.icon, size: 16, className: "text-body" }) : void 0,
8043
8175
  className: "px-sm",
8044
- children: /* @__PURE__ */ (0, import_jsx_runtime74.jsxs)("span", { className: "inline-flex min-w-0 items-center gap-xs", children: [
8045
- /* @__PURE__ */ (0, import_jsx_runtime74.jsx)("span", { className: "truncate", children: link.label }),
8046
- hasBadge(link.badge) && /* @__PURE__ */ (0, import_jsx_runtime74.jsx)("span", { className: "shrink-0 text-caption text-muted tabular-nums", children: link.badge }),
8047
- /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(
8176
+ children: /* @__PURE__ */ (0, import_jsx_runtime75.jsxs)("span", { className: "inline-flex min-w-0 items-center gap-xs", children: [
8177
+ /* @__PURE__ */ (0, import_jsx_runtime75.jsx)("span", { className: "truncate", children: link.label }),
8178
+ hasBadge(link.badge) && /* @__PURE__ */ (0, import_jsx_runtime75.jsx)("span", { className: "shrink-0 text-caption text-muted tabular-nums", children: link.badge }),
8179
+ /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(
8048
8180
  Icon,
8049
8181
  {
8050
8182
  name: "chevron-down",
8051
8183
  size: 12,
8052
- className: cn55("text-muted transition-transform duration-200 ease-out", !open && "-rotate-90")
8184
+ className: cn56("text-muted transition-transform duration-200 ease-out", !open && "-rotate-90")
8053
8185
  }
8054
8186
  )
8055
8187
  ] })
8056
8188
  }
8057
8189
  ),
8058
- /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(
8190
+ /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(
8059
8191
  "div",
8060
8192
  {
8061
8193
  id: panelId,
8062
8194
  "data-state": open ? "open" : "closed",
8063
8195
  className: "grid transition-[grid-template-rows] duration-200 ease-out data-[state=open]:grid-rows-[1fr] data-[state=closed]:grid-rows-[0fr]",
8064
- children: /* @__PURE__ */ (0, import_jsx_runtime74.jsx)("ul", { className: "flex min-h-0 flex-col gap-xxs overflow-hidden pt-xxs", children: kids.map((k) => renderLink(k, true)) })
8196
+ children: /* @__PURE__ */ (0, import_jsx_runtime75.jsx)("ul", { className: "flex min-h-0 flex-col gap-xxs overflow-hidden pt-xxs", children: kids.map((k) => renderLink(k, true)) })
8065
8197
  }
8066
8198
  )
8067
8199
  ] }, link.id);
8068
8200
  };
8069
8201
  const renderItem = (link) => link.children?.length ? renderGroup(link) : renderLink(link);
8070
8202
  const showWorkspaceRow = Boolean(workspaceName) || !collapsed && headerActions != null;
8071
- return /* @__PURE__ */ (0, import_jsx_runtime74.jsxs)("div", { ref, className: cn55("flex h-full w-full min-h-0 bg-canvas text-ink", className), ...rest, children: [
8072
- /* @__PURE__ */ (0, import_jsx_runtime74.jsxs)(
8203
+ return /* @__PURE__ */ (0, import_jsx_runtime75.jsxs)("div", { ref, className: cn56("flex h-full w-full min-h-0 bg-canvas text-ink", className), ...rest, children: [
8204
+ /* @__PURE__ */ (0, import_jsx_runtime75.jsxs)(
8073
8205
  "aside",
8074
8206
  {
8075
8207
  "aria-label": "Sidebar",
@@ -8077,38 +8209,38 @@ var SidebarDesktop = React74.forwardRef(
8077
8209
  style: { width: collapsed ? 64 : 256 },
8078
8210
  className: "flex h-full shrink-0 flex-col overflow-hidden border-r border-hairline bg-surface transition-[width] duration-200 ease-out",
8079
8211
  children: [
8080
- collapsed ? /* @__PURE__ */ (0, import_jsx_runtime74.jsx)("div", { className: "flex shrink-0 justify-center pb-sm pt-md", children: /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(IconButton, { icon: "panel-right", variant: "secondary", "aria-label": "Expand sidebar", "aria-expanded": false, onClick: toggle }) }) : /* @__PURE__ */ (0, import_jsx_runtime74.jsxs)("div", { className: "flex shrink-0 items-center justify-between gap-sm pb-sm pl-base pr-md pt-md", children: [
8081
- /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(Logo, { name: brandName, href: brandHref, size: "md" }),
8082
- /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(IconButton, { icon: "panel-left", variant: "secondary", "aria-label": "Collapse sidebar", "aria-expanded": true, onClick: toggle })
8212
+ collapsed ? /* @__PURE__ */ (0, import_jsx_runtime75.jsx)("div", { className: "flex shrink-0 justify-center pb-sm pt-md", children: /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(IconButton, { icon: "panel-right", variant: "secondary", "aria-label": "Expand sidebar", "aria-expanded": false, onClick: toggle }) }) : /* @__PURE__ */ (0, import_jsx_runtime75.jsxs)("div", { className: "flex shrink-0 items-center justify-between gap-sm pb-sm pl-base pr-md pt-md", children: [
8213
+ /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(Logo, { name: brandName, href: brandHref, size: "md" }),
8214
+ /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(IconButton, { icon: "panel-left", variant: "secondary", "aria-label": "Collapse sidebar", "aria-expanded": true, onClick: toggle })
8083
8215
  ] }),
8084
- showWorkspaceRow && /* @__PURE__ */ (0, import_jsx_runtime74.jsxs)(
8216
+ showWorkspaceRow && /* @__PURE__ */ (0, import_jsx_runtime75.jsxs)(
8085
8217
  "div",
8086
8218
  {
8087
- className: cn55(
8219
+ className: cn56(
8088
8220
  "shrink-0 pb-sm",
8089
8221
  collapsed ? "flex justify-center" : "flex items-center gap-xxs px-sm"
8090
8222
  ),
8091
8223
  children: [
8092
- workspaceName ? collapsed ? /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(Tooltip, { content: workspaceName, placement: "right", children: /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(Button, { variant: "ghost", iconOnly: true, "aria-label": workspaceName, onClick: onWorkspaceClick, children: /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(Avatar, { name: workspaceName, src: workspaceAvatarSrc, size: "sm" }) }) }) : /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(
8224
+ workspaceName ? collapsed ? /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(Tooltip, { content: workspaceName, placement: "right", children: /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(Button, { variant: "ghost", iconOnly: true, "aria-label": workspaceName, onClick: onWorkspaceClick, children: /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(Avatar, { name: workspaceName, src: workspaceAvatarSrc, size: "sm" }) }) }) : /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(
8093
8225
  Button,
8094
8226
  {
8095
8227
  variant: "ghost",
8096
8228
  onClick: onWorkspaceClick,
8097
8229
  className: "min-w-0 flex-1 justify-start px-sm",
8098
- leadingIcon: /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(Avatar, { name: workspaceName, src: workspaceAvatarSrc, size: "sm" }),
8099
- trailingIcon: /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(Icon, { name: "chevron-down", size: 14, className: "text-muted" }),
8100
- children: /* @__PURE__ */ (0, import_jsx_runtime74.jsx)("span", { className: "min-w-0 truncate text-ink", children: workspaceName })
8230
+ leadingIcon: /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(Avatar, { name: workspaceName, src: workspaceAvatarSrc, size: "sm" }),
8231
+ trailingIcon: /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(Icon, { name: "chevron-down", size: 14, className: "text-muted" }),
8232
+ children: /* @__PURE__ */ (0, import_jsx_runtime75.jsx)("span", { className: "min-w-0 truncate text-ink", children: workspaceName })
8101
8233
  }
8102
- ) : /* @__PURE__ */ (0, import_jsx_runtime74.jsx)("span", { className: "min-w-0 flex-1" }),
8103
- !collapsed && headerActions != null && /* @__PURE__ */ (0, import_jsx_runtime74.jsx)("div", { className: "flex shrink-0 items-center gap-xxs", children: headerActions })
8234
+ ) : /* @__PURE__ */ (0, import_jsx_runtime75.jsx)("span", { className: "min-w-0 flex-1" }),
8235
+ !collapsed && headerActions != null && /* @__PURE__ */ (0, import_jsx_runtime75.jsx)("div", { className: "flex shrink-0 items-center gap-xxs", children: headerActions })
8104
8236
  ]
8105
8237
  }
8106
8238
  ),
8107
- /* @__PURE__ */ (0, import_jsx_runtime74.jsx)("nav", { "aria-label": "Main", className: cn55("min-h-0 flex-1 overflow-y-auto overscroll-contain pb-sm", collapsed ? "px-0" : "px-sm"), children: sections.map((section, i) => {
8239
+ /* @__PURE__ */ (0, import_jsx_runtime75.jsx)("nav", { "aria-label": "Main", className: cn56("min-h-0 flex-1 overflow-y-auto overscroll-contain pb-sm", collapsed ? "px-0" : "px-sm"), children: sections.map((section, i) => {
8108
8240
  const sectionOpen = !section.label || isOpen(section.id);
8109
8241
  const listId = `${baseId}-section-${section.id}`;
8110
- return /* @__PURE__ */ (0, import_jsx_runtime74.jsxs)("div", { className: i > 0 ? "mt-base" : void 0, children: [
8111
- section.label && !collapsed && /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(
8242
+ return /* @__PURE__ */ (0, import_jsx_runtime75.jsxs)("div", { className: i > 0 ? "mt-base" : void 0, children: [
8243
+ section.label && !collapsed && /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(
8112
8244
  Button,
8113
8245
  {
8114
8246
  variant: "item",
@@ -8117,52 +8249,52 @@ var SidebarDesktop = React74.forwardRef(
8117
8249
  "aria-controls": listId,
8118
8250
  onClick: () => flip(section.id),
8119
8251
  className: "px-sm",
8120
- children: /* @__PURE__ */ (0, import_jsx_runtime74.jsxs)("span", { className: "inline-flex items-center gap-xs text-muted", children: [
8252
+ children: /* @__PURE__ */ (0, import_jsx_runtime75.jsxs)("span", { className: "inline-flex items-center gap-xs text-muted", children: [
8121
8253
  section.label,
8122
- /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(
8254
+ /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(
8123
8255
  Icon,
8124
8256
  {
8125
8257
  name: "chevron-down",
8126
8258
  size: 12,
8127
- className: cn55("transition-transform duration-200 ease-out", !sectionOpen && "-rotate-90")
8259
+ className: cn56("transition-transform duration-200 ease-out", !sectionOpen && "-rotate-90")
8128
8260
  }
8129
8261
  )
8130
8262
  ] })
8131
8263
  }
8132
8264
  ),
8133
- /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(
8265
+ /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(
8134
8266
  "div",
8135
8267
  {
8136
8268
  id: listId,
8137
8269
  "data-state": sectionOpen || collapsed ? "open" : "closed",
8138
8270
  className: "grid transition-[grid-template-rows] duration-200 ease-out data-[state=open]:grid-rows-[1fr] data-[state=closed]:grid-rows-[0fr]",
8139
- children: /* @__PURE__ */ (0, import_jsx_runtime74.jsx)("ul", { className: "flex min-h-0 flex-col gap-xxs overflow-hidden", children: section.items.map(renderItem) })
8271
+ children: /* @__PURE__ */ (0, import_jsx_runtime75.jsx)("ul", { className: "flex min-h-0 flex-col gap-xxs overflow-hidden", children: section.items.map(renderItem) })
8140
8272
  }
8141
8273
  )
8142
8274
  ] }, section.id);
8143
8275
  }) }),
8144
- announcement && !collapsed && /* @__PURE__ */ (0, import_jsx_runtime74.jsx)("div", { className: "shrink-0 px-sm pb-sm", children: /* @__PURE__ */ (0, import_jsx_runtime74.jsxs)(
8276
+ announcement && !collapsed && /* @__PURE__ */ (0, import_jsx_runtime75.jsx)("div", { className: "shrink-0 px-sm pb-sm", children: /* @__PURE__ */ (0, import_jsx_runtime75.jsxs)(
8145
8277
  "a",
8146
8278
  {
8147
8279
  href: announcement.href ?? "#",
8148
8280
  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",
8149
8281
  children: [
8150
- /* @__PURE__ */ (0, import_jsx_runtime74.jsx)("span", { className: "text-caption text-muted", children: announcement.eyebrow }),
8151
- /* @__PURE__ */ (0, import_jsx_runtime74.jsx)("span", { className: "text-body-sm text-ink", children: announcement.title })
8282
+ /* @__PURE__ */ (0, import_jsx_runtime75.jsx)("span", { className: "text-caption text-muted", children: announcement.eyebrow }),
8283
+ /* @__PURE__ */ (0, import_jsx_runtime75.jsx)("span", { className: "text-body-sm text-ink", children: announcement.title })
8152
8284
  ]
8153
8285
  }
8154
8286
  ) }),
8155
- showFooterRow && /* @__PURE__ */ (0, import_jsx_runtime74.jsxs)(
8287
+ showFooterRow && /* @__PURE__ */ (0, import_jsx_runtime75.jsxs)(
8156
8288
  "div",
8157
8289
  {
8158
- className: cn55(
8290
+ className: cn56(
8159
8291
  "flex shrink-0 border-t border-hairline py-sm",
8160
8292
  collapsed ? "flex-col items-center gap-xs" : "items-center justify-between px-md"
8161
8293
  ),
8162
8294
  children: [
8163
- userName && /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(Avatar, { name: userName, src: userAvatarSrc, size: "sm" }),
8164
- showFooterActions && /* @__PURE__ */ (0, import_jsx_runtime74.jsxs)("div", { className: cn55("flex items-center gap-xxs", collapsed && "flex-col"), children: [
8165
- showHelpAction && /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(
8295
+ userName && /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(Avatar, { name: userName, src: userAvatarSrc, size: "sm" }),
8296
+ showFooterActions && /* @__PURE__ */ (0, import_jsx_runtime75.jsxs)("div", { className: cn56("flex items-center gap-xxs", collapsed && "flex-col"), children: [
8297
+ showHelpAction && /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(
8166
8298
  IconButton,
8167
8299
  {
8168
8300
  icon: "message-circle",
@@ -8171,7 +8303,7 @@ var SidebarDesktop = React74.forwardRef(
8171
8303
  onClick: onHelpClick
8172
8304
  }
8173
8305
  ),
8174
- showSettingsAction && /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(IconButton, { icon: "settings", variant: "ghost", "aria-label": "Settings", onClick: onSettingsClick })
8306
+ showSettingsAction && /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(IconButton, { icon: "settings", variant: "ghost", "aria-label": "Settings", onClick: onSettingsClick })
8175
8307
  ] })
8176
8308
  ]
8177
8309
  }
@@ -8179,19 +8311,19 @@ var SidebarDesktop = React74.forwardRef(
8179
8311
  ]
8180
8312
  }
8181
8313
  ),
8182
- children !== void 0 && /* @__PURE__ */ (0, import_jsx_runtime74.jsx)("div", { className: "min-w-0 flex-1 overflow-auto", children })
8314
+ children !== void 0 && /* @__PURE__ */ (0, import_jsx_runtime75.jsx)("div", { className: "min-w-0 flex-1 overflow-auto", children })
8183
8315
  ] });
8184
8316
  }
8185
8317
  );
8186
8318
  SidebarDesktop.displayName = "SidebarDesktop";
8187
8319
 
8188
8320
  // virtual-pkg:src/atoms/SidebarMobile/SidebarMobile.tsx
8189
- var React75 = __toESM(require("react"));
8190
- var import_jsx_runtime75 = require("react/jsx-runtime");
8191
- var cn56 = (...parts) => parts.filter(Boolean).join(" ");
8321
+ var React76 = __toESM(require("react"));
8322
+ var import_jsx_runtime76 = require("react/jsx-runtime");
8323
+ var cn57 = (...parts) => parts.filter(Boolean).join(" ");
8192
8324
  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";
8193
8325
  var hasBadge2 = (badge) => badge !== void 0 && badge !== null && badge !== false;
8194
- var SidebarMobile = React75.forwardRef(
8326
+ var SidebarMobile = React76.forwardRef(
8195
8327
  ({
8196
8328
  brandName = "Linear",
8197
8329
  brandHref = "#",
@@ -8216,17 +8348,17 @@ var SidebarMobile = React75.forwardRef(
8216
8348
  children,
8217
8349
  ...rest
8218
8350
  }, ref) => {
8219
- const baseId = React75.useId();
8220
- const [innerOpen, setInnerOpen] = React75.useState(defaultOpen);
8351
+ const baseId = React76.useId();
8352
+ const [innerOpen, setInnerOpen] = React76.useState(defaultOpen);
8221
8353
  const open = openProp ?? innerOpen;
8222
- const setOpen = React75.useCallback(
8354
+ const setOpen = React76.useCallback(
8223
8355
  (next) => {
8224
8356
  if (openProp === void 0) setInnerOpen(next);
8225
8357
  onOpenChange?.(next);
8226
8358
  },
8227
8359
  [openProp, onOpenChange]
8228
8360
  );
8229
- const [expanded, setExpanded] = React75.useState(
8361
+ const [expanded, setExpanded] = React76.useState(
8230
8362
  () => new Set(defaultExpanded ?? sections.filter((s) => s.label).map((s) => s.id))
8231
8363
  );
8232
8364
  const flip = (id) => setExpanded((prev) => {
@@ -8241,7 +8373,7 @@ var SidebarMobile = React75.forwardRef(
8241
8373
  const showFooterRow = showFooter && (Boolean(userName) || showFooterActions);
8242
8374
  const renderLink = (link, nested = false) => {
8243
8375
  const current = link.id === activeId;
8244
- return /* @__PURE__ */ (0, import_jsx_runtime75.jsx)("li", { children: /* @__PURE__ */ (0, import_jsx_runtime75.jsxs)(
8376
+ return /* @__PURE__ */ (0, import_jsx_runtime76.jsx)("li", { children: /* @__PURE__ */ (0, import_jsx_runtime76.jsxs)(
8245
8377
  "a",
8246
8378
  {
8247
8379
  href: link.href ?? `#${link.id}`,
@@ -8250,15 +8382,15 @@ var SidebarMobile = React75.forwardRef(
8250
8382
  onNavigate?.(link, e);
8251
8383
  setOpen(false);
8252
8384
  },
8253
- className: cn56(
8385
+ className: cn57(
8254
8386
  linkBase2,
8255
8387
  nested && "pl-xl",
8256
8388
  current ? "bg-surface-strong text-ink font-weight-label" : "text-ink hover:bg-surface-soft active:bg-surface-strong"
8257
8389
  ),
8258
8390
  children: [
8259
- link.icon && /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(Icon, { name: link.icon, size: 16, className: "text-body" }),
8260
- /* @__PURE__ */ (0, import_jsx_runtime75.jsx)("span", { className: "min-w-0 flex-1 truncate", children: link.label }),
8261
- hasBadge2(link.badge) && /* @__PURE__ */ (0, import_jsx_runtime75.jsx)("span", { className: "shrink-0 text-caption text-muted tabular-nums", children: link.badge })
8391
+ link.icon && /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(Icon, { name: link.icon, size: 16, className: "text-body" }),
8392
+ /* @__PURE__ */ (0, import_jsx_runtime76.jsx)("span", { className: "min-w-0 flex-1 truncate", children: link.label }),
8393
+ hasBadge2(link.badge) && /* @__PURE__ */ (0, import_jsx_runtime76.jsx)("span", { className: "shrink-0 text-caption text-muted tabular-nums", children: link.badge })
8262
8394
  ]
8263
8395
  }
8264
8396
  ) }, link.id);
@@ -8266,8 +8398,8 @@ var SidebarMobile = React75.forwardRef(
8266
8398
  const renderGroup = (link) => {
8267
8399
  const isOpen = expanded.has(link.id);
8268
8400
  const panelId = `${baseId}-${link.id}`;
8269
- return /* @__PURE__ */ (0, import_jsx_runtime75.jsxs)("li", { children: [
8270
- /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(
8401
+ return /* @__PURE__ */ (0, import_jsx_runtime76.jsxs)("li", { children: [
8402
+ /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(
8271
8403
  Button,
8272
8404
  {
8273
8405
  variant: "item",
@@ -8275,39 +8407,39 @@ var SidebarMobile = React75.forwardRef(
8275
8407
  "aria-expanded": isOpen,
8276
8408
  "aria-controls": panelId,
8277
8409
  onClick: () => flip(link.id),
8278
- leadingIcon: link.icon ? /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(Icon, { name: link.icon, size: 16, className: "text-body" }) : void 0,
8410
+ leadingIcon: link.icon ? /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(Icon, { name: link.icon, size: 16, className: "text-body" }) : void 0,
8279
8411
  className: "px-sm",
8280
- children: /* @__PURE__ */ (0, import_jsx_runtime75.jsxs)("span", { className: "inline-flex min-w-0 items-center gap-xs", children: [
8281
- /* @__PURE__ */ (0, import_jsx_runtime75.jsx)("span", { className: "truncate", children: link.label }),
8282
- hasBadge2(link.badge) && /* @__PURE__ */ (0, import_jsx_runtime75.jsx)("span", { className: "shrink-0 text-caption text-muted tabular-nums", children: link.badge }),
8283
- /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(
8412
+ children: /* @__PURE__ */ (0, import_jsx_runtime76.jsxs)("span", { className: "inline-flex min-w-0 items-center gap-xs", children: [
8413
+ /* @__PURE__ */ (0, import_jsx_runtime76.jsx)("span", { className: "truncate", children: link.label }),
8414
+ hasBadge2(link.badge) && /* @__PURE__ */ (0, import_jsx_runtime76.jsx)("span", { className: "shrink-0 text-caption text-muted tabular-nums", children: link.badge }),
8415
+ /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(
8284
8416
  Icon,
8285
8417
  {
8286
8418
  name: "chevron-down",
8287
8419
  size: 12,
8288
- className: cn56("text-muted transition-transform duration-200 ease-out", !isOpen && "-rotate-90")
8420
+ className: cn57("text-muted transition-transform duration-200 ease-out", !isOpen && "-rotate-90")
8289
8421
  }
8290
8422
  )
8291
8423
  ] })
8292
8424
  }
8293
8425
  ),
8294
- /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(
8426
+ /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(
8295
8427
  "div",
8296
8428
  {
8297
8429
  id: panelId,
8298
8430
  "data-state": isOpen ? "open" : "closed",
8299
8431
  className: "grid transition-[grid-template-rows] duration-200 ease-out data-[state=open]:grid-rows-[1fr] data-[state=closed]:grid-rows-[0fr]",
8300
- children: /* @__PURE__ */ (0, import_jsx_runtime75.jsx)("ul", { className: "flex min-h-0 flex-col gap-xxs overflow-hidden pt-xxs", children: (link.children ?? []).map((k) => renderLink(k, true)) })
8432
+ children: /* @__PURE__ */ (0, import_jsx_runtime76.jsx)("ul", { className: "flex min-h-0 flex-col gap-xxs overflow-hidden pt-xxs", children: (link.children ?? []).map((k) => renderLink(k, true)) })
8301
8433
  }
8302
8434
  )
8303
8435
  ] }, link.id);
8304
8436
  };
8305
- return /* @__PURE__ */ (0, import_jsx_runtime75.jsxs)("div", { ref, className: cn56("flex w-full flex-col bg-canvas text-ink", className), ...rest, children: [
8306
- /* @__PURE__ */ (0, import_jsx_runtime75.jsxs)("header", { className: "flex h-14 w-full shrink-0 items-center justify-between gap-sm border-b border-hairline bg-canvas px-base", children: [
8307
- /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(Logo, { name: brandName, href: brandHref, size: "md" }),
8308
- /* @__PURE__ */ (0, import_jsx_runtime75.jsxs)("div", { className: "flex min-w-0 items-center gap-xxs", children: [
8309
- mobileActions != null && /* @__PURE__ */ (0, import_jsx_runtime75.jsx)("div", { className: "flex items-center gap-xxs", children: mobileActions }),
8310
- /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(
8437
+ return /* @__PURE__ */ (0, import_jsx_runtime76.jsxs)("div", { ref, className: cn57("flex w-full flex-col bg-canvas text-ink", className), ...rest, children: [
8438
+ /* @__PURE__ */ (0, import_jsx_runtime76.jsxs)("header", { className: "flex h-14 w-full shrink-0 items-center justify-between gap-sm border-b border-hairline bg-canvas px-base", children: [
8439
+ /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(Logo, { name: brandName, href: brandHref, size: "md" }),
8440
+ /* @__PURE__ */ (0, import_jsx_runtime76.jsxs)("div", { className: "flex min-w-0 items-center gap-xxs", children: [
8441
+ mobileActions != null && /* @__PURE__ */ (0, import_jsx_runtime76.jsx)("div", { className: "flex items-center gap-xxs", children: mobileActions }),
8442
+ /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(
8311
8443
  IconButton,
8312
8444
  {
8313
8445
  icon: "menu",
@@ -8319,8 +8451,8 @@ var SidebarMobile = React75.forwardRef(
8319
8451
  )
8320
8452
  ] })
8321
8453
  ] }),
8322
- children !== void 0 && /* @__PURE__ */ (0, import_jsx_runtime75.jsx)("div", { className: "min-w-0 flex-1", children }),
8323
- /* @__PURE__ */ (0, import_jsx_runtime75.jsxs)(
8454
+ children !== void 0 && /* @__PURE__ */ (0, import_jsx_runtime76.jsx)("div", { className: "min-w-0 flex-1", children }),
8455
+ /* @__PURE__ */ (0, import_jsx_runtime76.jsxs)(
8324
8456
  Drawer,
8325
8457
  {
8326
8458
  open,
@@ -8328,12 +8460,12 @@ var SidebarMobile = React75.forwardRef(
8328
8460
  side: "left",
8329
8461
  "aria-label": "Navigation",
8330
8462
  closeLabel: "Close navigation",
8331
- headerStart: /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(Logo, { name: brandName, href: brandHref, size: "md" }),
8463
+ headerStart: /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(Logo, { name: brandName, href: brandHref, size: "md" }),
8332
8464
  bodyClassName: "px-sm",
8333
- footer: showFooterRow ? /* @__PURE__ */ (0, import_jsx_runtime75.jsxs)("div", { className: "flex w-full items-center justify-between", children: [
8334
- userName ? /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(Avatar, { name: userName, src: userAvatarSrc, size: "sm" }) : /* @__PURE__ */ (0, import_jsx_runtime75.jsx)("span", {}),
8335
- showFooterActions && /* @__PURE__ */ (0, import_jsx_runtime75.jsxs)("div", { className: "flex items-center gap-xxs", children: [
8336
- showHelpAction && /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(
8465
+ footer: showFooterRow ? /* @__PURE__ */ (0, import_jsx_runtime76.jsxs)("div", { className: "flex w-full items-center justify-between", children: [
8466
+ userName ? /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(Avatar, { name: userName, src: userAvatarSrc, size: "sm" }) : /* @__PURE__ */ (0, import_jsx_runtime76.jsx)("span", {}),
8467
+ showFooterActions && /* @__PURE__ */ (0, import_jsx_runtime76.jsxs)("div", { className: "flex items-center gap-xxs", children: [
8468
+ showHelpAction && /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(
8337
8469
  IconButton,
8338
8470
  {
8339
8471
  icon: "message-circle",
@@ -8342,26 +8474,26 @@ var SidebarMobile = React75.forwardRef(
8342
8474
  onClick: onHelpClick
8343
8475
  }
8344
8476
  ),
8345
- showSettingsAction && /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(IconButton, { icon: "settings", variant: "ghost", "aria-label": "Settings", onClick: onSettingsClick })
8477
+ showSettingsAction && /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(IconButton, { icon: "settings", variant: "ghost", "aria-label": "Settings", onClick: onSettingsClick })
8346
8478
  ] })
8347
8479
  ] }) : void 0,
8348
8480
  children: [
8349
- workspaceName && /* @__PURE__ */ (0, import_jsx_runtime75.jsx)("div", { className: "pb-sm", children: /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(
8481
+ workspaceName && /* @__PURE__ */ (0, import_jsx_runtime76.jsx)("div", { className: "pb-sm", children: /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(
8350
8482
  Button,
8351
8483
  {
8352
8484
  variant: "ghost",
8353
8485
  onClick: onWorkspaceClick,
8354
8486
  className: "px-sm",
8355
- leadingIcon: /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(Avatar, { name: workspaceName, src: workspaceAvatarSrc, size: "sm" }),
8356
- trailingIcon: /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(Icon, { name: "chevron-down", size: 14, className: "text-muted" }),
8357
- children: /* @__PURE__ */ (0, import_jsx_runtime75.jsx)("span", { className: "text-ink", children: workspaceName })
8487
+ leadingIcon: /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(Avatar, { name: workspaceName, src: workspaceAvatarSrc, size: "sm" }),
8488
+ trailingIcon: /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(Icon, { name: "chevron-down", size: 14, className: "text-muted" }),
8489
+ children: /* @__PURE__ */ (0, import_jsx_runtime76.jsx)("span", { className: "text-ink", children: workspaceName })
8358
8490
  }
8359
8491
  ) }),
8360
- /* @__PURE__ */ (0, import_jsx_runtime75.jsx)("nav", { "aria-label": "Main", children: sections.map((section, i) => {
8492
+ /* @__PURE__ */ (0, import_jsx_runtime76.jsx)("nav", { "aria-label": "Main", children: sections.map((section, i) => {
8361
8493
  const sectionOpen = !section.label || expanded.has(section.id);
8362
8494
  const listId = `${baseId}-section-${section.id}`;
8363
- return /* @__PURE__ */ (0, import_jsx_runtime75.jsxs)("div", { className: i > 0 ? "mt-base" : void 0, children: [
8364
- section.label && /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(
8495
+ return /* @__PURE__ */ (0, import_jsx_runtime76.jsxs)("div", { className: i > 0 ? "mt-base" : void 0, children: [
8496
+ section.label && /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(
8365
8497
  Button,
8366
8498
  {
8367
8499
  variant: "item",
@@ -8370,38 +8502,38 @@ var SidebarMobile = React75.forwardRef(
8370
8502
  "aria-controls": listId,
8371
8503
  onClick: () => flip(section.id),
8372
8504
  className: "px-sm",
8373
- children: /* @__PURE__ */ (0, import_jsx_runtime75.jsxs)("span", { className: "inline-flex items-center gap-xs text-muted", children: [
8505
+ children: /* @__PURE__ */ (0, import_jsx_runtime76.jsxs)("span", { className: "inline-flex items-center gap-xs text-muted", children: [
8374
8506
  section.label,
8375
- /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(
8507
+ /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(
8376
8508
  Icon,
8377
8509
  {
8378
8510
  name: "chevron-down",
8379
8511
  size: 12,
8380
- className: cn56("transition-transform duration-200 ease-out", !sectionOpen && "-rotate-90")
8512
+ className: cn57("transition-transform duration-200 ease-out", !sectionOpen && "-rotate-90")
8381
8513
  }
8382
8514
  )
8383
8515
  ] })
8384
8516
  }
8385
8517
  ),
8386
- /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(
8518
+ /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(
8387
8519
  "div",
8388
8520
  {
8389
8521
  id: listId,
8390
8522
  "data-state": sectionOpen ? "open" : "closed",
8391
8523
  className: "grid transition-[grid-template-rows] duration-200 ease-out data-[state=open]:grid-rows-[1fr] data-[state=closed]:grid-rows-[0fr]",
8392
- children: /* @__PURE__ */ (0, import_jsx_runtime75.jsx)("ul", { className: "flex min-h-0 flex-col gap-xxs overflow-hidden", children: section.items.map((l) => l.children?.length ? renderGroup(l) : renderLink(l)) })
8524
+ children: /* @__PURE__ */ (0, import_jsx_runtime76.jsx)("ul", { className: "flex min-h-0 flex-col gap-xxs overflow-hidden", children: section.items.map((l) => l.children?.length ? renderGroup(l) : renderLink(l)) })
8393
8525
  }
8394
8526
  )
8395
8527
  ] }, section.id);
8396
8528
  }) }),
8397
- announcement && /* @__PURE__ */ (0, import_jsx_runtime75.jsxs)(
8529
+ announcement && /* @__PURE__ */ (0, import_jsx_runtime76.jsxs)(
8398
8530
  "a",
8399
8531
  {
8400
8532
  href: announcement.href ?? "#",
8401
8533
  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",
8402
8534
  children: [
8403
- /* @__PURE__ */ (0, import_jsx_runtime75.jsx)("span", { className: "text-caption text-muted", children: announcement.eyebrow }),
8404
- /* @__PURE__ */ (0, import_jsx_runtime75.jsx)("span", { className: "text-body-sm text-ink", children: announcement.title })
8535
+ /* @__PURE__ */ (0, import_jsx_runtime76.jsx)("span", { className: "text-caption text-muted", children: announcement.eyebrow }),
8536
+ /* @__PURE__ */ (0, import_jsx_runtime76.jsx)("span", { className: "text-body-sm text-ink", children: announcement.title })
8405
8537
  ]
8406
8538
  }
8407
8539
  )
@@ -8414,8 +8546,8 @@ var SidebarMobile = React75.forwardRef(
8414
8546
  SidebarMobile.displayName = "SidebarMobile";
8415
8547
 
8416
8548
  // virtual-pkg:src/atoms/Sidebar/Sidebar.tsx
8417
- var import_jsx_runtime76 = require("react/jsx-runtime");
8418
- var Sidebar = React76.forwardRef(
8549
+ var import_jsx_runtime77 = require("react/jsx-runtime");
8550
+ var Sidebar = React77.forwardRef(
8419
8551
  ({
8420
8552
  collapsed,
8421
8553
  defaultCollapsed,
@@ -8428,13 +8560,13 @@ var Sidebar = React76.forwardRef(
8428
8560
  children,
8429
8561
  className,
8430
8562
  ...shared
8431
- }, ref) => /* @__PURE__ */ (0, import_jsx_runtime76.jsxs)(
8563
+ }, ref) => /* @__PURE__ */ (0, import_jsx_runtime77.jsxs)(
8432
8564
  "div",
8433
8565
  {
8434
8566
  ref,
8435
8567
  className: ["flex h-full w-full min-h-0 flex-col bg-canvas md:flex-row", className].filter(Boolean).join(" "),
8436
8568
  children: [
8437
- /* @__PURE__ */ (0, import_jsx_runtime76.jsx)("div", { className: "hidden h-full shrink-0 md:block", children: /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(
8569
+ /* @__PURE__ */ (0, import_jsx_runtime77.jsx)("div", { className: "hidden h-full shrink-0 md:block", children: /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(
8438
8570
  SidebarDesktop,
8439
8571
  {
8440
8572
  ...shared,
@@ -8445,7 +8577,7 @@ var Sidebar = React76.forwardRef(
8445
8577
  onCollapsedChange
8446
8578
  }
8447
8579
  ) }),
8448
- /* @__PURE__ */ (0, import_jsx_runtime76.jsx)("div", { className: "shrink-0 md:hidden", children: /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(
8580
+ /* @__PURE__ */ (0, import_jsx_runtime77.jsx)("div", { className: "shrink-0 md:hidden", children: /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(
8449
8581
  SidebarMobile,
8450
8582
  {
8451
8583
  ...shared,
@@ -8455,7 +8587,7 @@ var Sidebar = React76.forwardRef(
8455
8587
  onOpenChange: onMobileOpenChange
8456
8588
  }
8457
8589
  ) }),
8458
- children !== void 0 && /* @__PURE__ */ (0, import_jsx_runtime76.jsx)("div", { className: "min-h-0 min-w-0 flex-1 overflow-auto", children })
8590
+ children !== void 0 && /* @__PURE__ */ (0, import_jsx_runtime77.jsx)("div", { className: "min-h-0 min-w-0 flex-1 overflow-auto", children })
8459
8591
  ]
8460
8592
  }
8461
8593
  )
@@ -8464,8 +8596,8 @@ Sidebar.displayName = "Sidebar";
8464
8596
 
8465
8597
  // virtual-pkg:src/atoms/Slider/Slider.tsx
8466
8598
  var import_react6 = __toESM(require("react"));
8467
- var import_jsx_runtime77 = require("react/jsx-runtime");
8468
- function cn57(...parts) {
8599
+ var import_jsx_runtime78 = require("react/jsx-runtime");
8600
+ function cn58(...parts) {
8469
8601
  return parts.filter(Boolean).join(" ");
8470
8602
  }
8471
8603
  var THUMB2 = 20;
@@ -8504,22 +8636,22 @@ var Slider = import_react6.default.forwardRef(
8504
8636
  const lowPct = pctOf(low);
8505
8637
  const highPct = pctOf(high);
8506
8638
  const thumbState = disabled ? "border-hairline bg-surface-soft shadow-none" : "border-hairline-strong";
8507
- return /* @__PURE__ */ (0, import_jsx_runtime77.jsxs)(
8639
+ return /* @__PURE__ */ (0, import_jsx_runtime78.jsxs)(
8508
8640
  "div",
8509
8641
  {
8510
8642
  ref,
8511
- className: cn57("flex w-full flex-col items-center gap-md", disabled && "opacity-50", className),
8643
+ className: cn58("flex w-full flex-col items-center gap-md", disabled && "opacity-50", className),
8512
8644
  ...rest,
8513
8645
  children: [
8514
- /* @__PURE__ */ (0, import_jsx_runtime77.jsxs)("div", { className: "flex w-full flex-col gap-xxs", children: [
8515
- histogram && histogram.length > 0 ? /* @__PURE__ */ (0, import_jsx_runtime77.jsx)("div", { "aria-hidden": "true", className: "flex h-10 w-full items-end gap-xxs", style: { paddingInline: THUMB2 / 2 }, children: histogram.map((h, i) => {
8646
+ /* @__PURE__ */ (0, import_jsx_runtime78.jsxs)("div", { className: "flex w-full flex-col gap-xxs", children: [
8647
+ histogram && histogram.length > 0 ? /* @__PURE__ */ (0, import_jsx_runtime78.jsx)("div", { "aria-hidden": "true", className: "flex h-10 w-full items-end gap-xxs", style: { paddingInline: THUMB2 / 2 }, children: histogram.map((h, i) => {
8516
8648
  const peak = Math.max(...histogram, 1);
8517
8649
  const center = (i + 0.5) / histogram.length * 100;
8518
8650
  const inside = center >= lowPct && center <= highPct;
8519
- return /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(
8651
+ return /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(
8520
8652
  "span",
8521
8653
  {
8522
- className: cn57(
8654
+ className: cn58(
8523
8655
  "flex-1 rounded-t-xs transition-colors duration-200 ease-out",
8524
8656
  inside ? "bg-hairline-strong" : "bg-surface-strong"
8525
8657
  ),
@@ -8528,13 +8660,13 @@ var Slider = import_react6.default.forwardRef(
8528
8660
  i
8529
8661
  );
8530
8662
  }) }) : null,
8531
- /* @__PURE__ */ (0, import_jsx_runtime77.jsxs)("div", { className: "relative h-5 w-full", children: [
8532
- /* @__PURE__ */ (0, import_jsx_runtime77.jsx)("div", { className: "absolute left-0 right-0 top-1/2 h-1.5 -translate-y-1/2 rounded-full bg-surface-strong" }),
8533
- /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(
8663
+ /* @__PURE__ */ (0, import_jsx_runtime78.jsxs)("div", { className: "relative h-5 w-full", children: [
8664
+ /* @__PURE__ */ (0, import_jsx_runtime78.jsx)("div", { className: "absolute left-0 right-0 top-1/2 h-1.5 -translate-y-1/2 rounded-full bg-surface-strong" }),
8665
+ /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(
8534
8666
  "div",
8535
8667
  {
8536
8668
  "aria-hidden": "true",
8537
- className: cn57(
8669
+ className: cn58(
8538
8670
  "absolute top-1/2 h-1.5 -translate-y-1/2 rounded-full transition-[left,width] duration-150 ease-out",
8539
8671
  disabled ? "bg-hairline-strong" : "bg-primary"
8540
8672
  ),
@@ -8544,8 +8676,8 @@ var Slider = import_react6.default.forwardRef(
8544
8676
  }
8545
8677
  }
8546
8678
  ),
8547
- isRange ? /* @__PURE__ */ (0, import_jsx_runtime77.jsxs)(import_jsx_runtime77.Fragment, { children: [
8548
- /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(
8679
+ isRange ? /* @__PURE__ */ (0, import_jsx_runtime78.jsxs)(import_jsx_runtime78.Fragment, { children: [
8680
+ /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(
8549
8681
  "input",
8550
8682
  {
8551
8683
  type: "range",
@@ -8558,15 +8690,15 @@ var Slider = import_react6.default.forwardRef(
8558
8690
  "aria-label": `${ariaLabel ?? "Value"} minimum`,
8559
8691
  "aria-labelledby": label ? labelId : void 0,
8560
8692
  onChange: (e) => commit([Math.min(Number(e.target.value), high), high]),
8561
- className: cn57("peer/low", inputClass, rangeInputClass),
8693
+ className: cn58("peer/low", inputClass, rangeInputClass),
8562
8694
  style: { zIndex: lowPct > 90 ? 2 : 1 }
8563
8695
  }
8564
8696
  ),
8565
- /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(
8697
+ /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(
8566
8698
  "span",
8567
8699
  {
8568
8700
  "aria-hidden": "true",
8569
- className: cn57(
8701
+ className: cn58(
8570
8702
  thumbBase,
8571
8703
  thumbState,
8572
8704
  "peer-focus-visible/low:border-2 peer-focus-visible/low:border-primary peer-focus-visible/low:ring-4 peer-focus-visible/low:ring-primary/25 peer-active/low:scale-110"
@@ -8574,7 +8706,7 @@ var Slider = import_react6.default.forwardRef(
8574
8706
  style: { left: leftOf(lowPct) }
8575
8707
  }
8576
8708
  ),
8577
- /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(
8709
+ /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(
8578
8710
  "input",
8579
8711
  {
8580
8712
  type: "range",
@@ -8587,14 +8719,14 @@ var Slider = import_react6.default.forwardRef(
8587
8719
  "aria-label": `${ariaLabel ?? "Value"} maximum`,
8588
8720
  "aria-labelledby": label ? labelId : void 0,
8589
8721
  onChange: (e) => commit([low, Math.max(Number(e.target.value), low)]),
8590
- className: cn57("peer/high", inputClass, rangeInputClass)
8722
+ className: cn58("peer/high", inputClass, rangeInputClass)
8591
8723
  }
8592
8724
  ),
8593
- /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(
8725
+ /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(
8594
8726
  "span",
8595
8727
  {
8596
8728
  "aria-hidden": "true",
8597
- className: cn57(
8729
+ className: cn58(
8598
8730
  thumbBase,
8599
8731
  thumbState,
8600
8732
  "peer-focus-visible/high:border-2 peer-focus-visible/high:border-primary peer-focus-visible/high:ring-4 peer-focus-visible/high:ring-primary/25 peer-active/high:scale-110"
@@ -8602,8 +8734,8 @@ var Slider = import_react6.default.forwardRef(
8602
8734
  style: { left: leftOf(highPct) }
8603
8735
  }
8604
8736
  )
8605
- ] }) : /* @__PURE__ */ (0, import_jsx_runtime77.jsxs)(import_jsx_runtime77.Fragment, { children: [
8606
- /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(
8737
+ ] }) : /* @__PURE__ */ (0, import_jsx_runtime78.jsxs)(import_jsx_runtime78.Fragment, { children: [
8738
+ /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(
8607
8739
  "input",
8608
8740
  {
8609
8741
  type: "range",
@@ -8616,14 +8748,14 @@ var Slider = import_react6.default.forwardRef(
8616
8748
  "aria-label": label ? void 0 : ariaLabel ?? "Value",
8617
8749
  "aria-labelledby": label ? labelId : void 0,
8618
8750
  onChange: (e) => commit(Number(e.target.value)),
8619
- className: cn57("peer", inputClass)
8751
+ className: cn58("peer", inputClass)
8620
8752
  }
8621
8753
  ),
8622
- /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(
8754
+ /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(
8623
8755
  "span",
8624
8756
  {
8625
8757
  "aria-hidden": "true",
8626
- className: cn57(
8758
+ className: cn58(
8627
8759
  thumbBase,
8628
8760
  thumbState,
8629
8761
  "peer-focus-visible:border-2 peer-focus-visible:border-primary peer-focus-visible:ring-4 peer-focus-visible:ring-primary/25 peer-active:scale-110"
@@ -8634,7 +8766,7 @@ var Slider = import_react6.default.forwardRef(
8634
8766
  ] })
8635
8767
  ] })
8636
8768
  ] }),
8637
- label ? /* @__PURE__ */ (0, import_jsx_runtime77.jsx)("span", { id: labelId, className: "text-body-md text-muted", children: label }) : null
8769
+ label ? /* @__PURE__ */ (0, import_jsx_runtime78.jsx)("span", { id: labelId, className: "text-body-md text-muted", children: label }) : null
8638
8770
  ]
8639
8771
  }
8640
8772
  );
@@ -8643,9 +8775,9 @@ var Slider = import_react6.default.forwardRef(
8643
8775
  Slider.displayName = "Slider";
8644
8776
 
8645
8777
  // virtual-pkg:src/atoms/StepperItem/StepperItem.tsx
8646
- var React78 = __toESM(require("react"));
8647
- var import_jsx_runtime78 = require("react/jsx-runtime");
8648
- var cn58 = (...parts) => parts.filter(Boolean).join(" ");
8778
+ var React79 = __toESM(require("react"));
8779
+ var import_jsx_runtime79 = require("react/jsx-runtime");
8780
+ var cn59 = (...parts) => parts.filter(Boolean).join(" ");
8649
8781
  var statusLabel = {
8650
8782
  upcoming: "Upcoming",
8651
8783
  active: "In progress",
@@ -8654,85 +8786,85 @@ var statusLabel = {
8654
8786
  };
8655
8787
  function Indicator({ status }) {
8656
8788
  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";
8657
- return /* @__PURE__ */ (0, import_jsx_runtime78.jsxs)("span", { className: "grid h-5 w-5 shrink-0 place-items-center", "aria-hidden": "true", children: [
8658
- /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(
8789
+ return /* @__PURE__ */ (0, import_jsx_runtime79.jsxs)("span", { className: "grid h-5 w-5 shrink-0 place-items-center", "aria-hidden": "true", children: [
8790
+ /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(
8659
8791
  "span",
8660
8792
  {
8661
- className: cn58(
8793
+ className: cn59(
8662
8794
  shell,
8663
8795
  "border border-hairline-strong bg-canvas",
8664
8796
  status === "upcoming" ? "scale-100 opacity-100" : "scale-90 opacity-0"
8665
8797
  )
8666
8798
  }
8667
8799
  ),
8668
- /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(
8800
+ /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(
8669
8801
  "span",
8670
8802
  {
8671
- className: cn58(
8803
+ className: cn59(
8672
8804
  shell,
8673
8805
  "border-2 border-primary bg-canvas",
8674
8806
  status === "active" ? "scale-100 opacity-100" : "scale-90 opacity-0"
8675
8807
  ),
8676
- children: /* @__PURE__ */ (0, import_jsx_runtime78.jsx)("span", { className: "h-2 w-2 rounded-full bg-primary" })
8808
+ children: /* @__PURE__ */ (0, import_jsx_runtime79.jsx)("span", { className: "h-2 w-2 rounded-full bg-primary" })
8677
8809
  }
8678
8810
  ),
8679
- /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(
8811
+ /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(
8680
8812
  "span",
8681
8813
  {
8682
- className: cn58(
8814
+ className: cn59(
8683
8815
  shell,
8684
8816
  "bg-semantic-success-soft text-semantic-success",
8685
8817
  status === "complete" ? "scale-100 opacity-100" : "scale-90 opacity-0"
8686
8818
  ),
8687
- children: /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(Icon, { name: "check", size: 11, strokeWidth: 3 })
8819
+ children: /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(Icon, { name: "check", size: 11, strokeWidth: 3 })
8688
8820
  }
8689
8821
  ),
8690
- /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(
8822
+ /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(
8691
8823
  "span",
8692
8824
  {
8693
- className: cn58(
8825
+ className: cn59(
8694
8826
  shell,
8695
8827
  "text-semantic-error",
8696
8828
  status === "error" ? "scale-100 opacity-100" : "scale-90 opacity-0"
8697
8829
  ),
8698
- children: /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(Icon, { name: "circle-alert", size: 16 })
8830
+ children: /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(Icon, { name: "circle-alert", size: 16 })
8699
8831
  }
8700
8832
  )
8701
8833
  ] });
8702
8834
  }
8703
- var StepperItem = React78.forwardRef(
8704
- ({ status = "upcoming", title, meta, connector = false, className, children, ...rest }, ref) => /* @__PURE__ */ (0, import_jsx_runtime78.jsxs)(
8835
+ var StepperItem = React79.forwardRef(
8836
+ ({ status = "upcoming", title, meta, connector = false, className, children, ...rest }, ref) => /* @__PURE__ */ (0, import_jsx_runtime79.jsxs)(
8705
8837
  "li",
8706
8838
  {
8707
8839
  ref,
8708
8840
  "aria-current": status === "active" ? "step" : void 0,
8709
- className: cn58("relative flex w-full gap-md", connector && "pb-base", className),
8841
+ className: cn59("relative flex w-full gap-md", connector && "pb-base", className),
8710
8842
  ...rest,
8711
8843
  children: [
8712
- /* @__PURE__ */ (0, import_jsx_runtime78.jsxs)("div", { className: "flex flex-col items-center", children: [
8713
- /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(Indicator, { status }),
8714
- connector && /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(
8844
+ /* @__PURE__ */ (0, import_jsx_runtime79.jsxs)("div", { className: "flex flex-col items-center", children: [
8845
+ /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(Indicator, { status }),
8846
+ connector && /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(
8715
8847
  "span",
8716
8848
  {
8717
8849
  "aria-hidden": "true",
8718
- className: cn58(
8850
+ className: cn59(
8719
8851
  "mt-xs w-px flex-1 transition-colors duration-200 ease-out",
8720
8852
  status === "complete" ? "bg-semantic-success" : "bg-hairline"
8721
8853
  )
8722
8854
  }
8723
8855
  )
8724
8856
  ] }),
8725
- /* @__PURE__ */ (0, import_jsx_runtime78.jsxs)("div", { className: "flex min-w-0 flex-1 flex-col gap-xxs pt-px", children: [
8726
- /* @__PURE__ */ (0, import_jsx_runtime78.jsxs)("span", { className: "text-body-md text-ink", children: [
8857
+ /* @__PURE__ */ (0, import_jsx_runtime79.jsxs)("div", { className: "flex min-w-0 flex-1 flex-col gap-xxs pt-px", children: [
8858
+ /* @__PURE__ */ (0, import_jsx_runtime79.jsxs)("span", { className: "text-body-md text-ink", children: [
8727
8859
  title,
8728
- /* @__PURE__ */ (0, import_jsx_runtime78.jsxs)("span", { className: "sr-only", children: [
8860
+ /* @__PURE__ */ (0, import_jsx_runtime79.jsxs)("span", { className: "sr-only", children: [
8729
8861
  " (",
8730
8862
  statusLabel[status],
8731
8863
  ")"
8732
8864
  ] })
8733
8865
  ] }),
8734
- meta && /* @__PURE__ */ (0, import_jsx_runtime78.jsx)("span", { className: "text-body-sm text-muted", children: meta }),
8735
- children != null && children !== false && /* @__PURE__ */ (0, import_jsx_runtime78.jsx)("div", { className: "w-full pt-sm", children })
8866
+ meta && /* @__PURE__ */ (0, import_jsx_runtime79.jsx)("span", { className: "text-body-sm text-muted", children: meta }),
8867
+ children != null && children !== false && /* @__PURE__ */ (0, import_jsx_runtime79.jsx)("div", { className: "w-full pt-sm", children })
8736
8868
  ] })
8737
8869
  ]
8738
8870
  }
@@ -8741,10 +8873,10 @@ var StepperItem = React78.forwardRef(
8741
8873
  StepperItem.displayName = "StepperItem";
8742
8874
 
8743
8875
  // virtual-pkg:src/atoms/Tab/Tab.tsx
8744
- var React79 = __toESM(require("react"));
8745
- var import_jsx_runtime79 = require("react/jsx-runtime");
8746
- var cn59 = (...parts) => parts.filter(Boolean).join(" ");
8747
- var Tab = React79.forwardRef(
8876
+ var React80 = __toESM(require("react"));
8877
+ var import_jsx_runtime80 = require("react/jsx-runtime");
8878
+ var cn60 = (...parts) => parts.filter(Boolean).join(" ");
8879
+ var Tab = React80.forwardRef(
8748
8880
  ({
8749
8881
  selected = false,
8750
8882
  controls,
@@ -8755,7 +8887,7 @@ var Tab = React79.forwardRef(
8755
8887
  children,
8756
8888
  tabIndex,
8757
8889
  ...rest
8758
- }, ref) => /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(
8890
+ }, ref) => /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(
8759
8891
  Button,
8760
8892
  {
8761
8893
  ref,
@@ -8766,7 +8898,7 @@ var Tab = React79.forwardRef(
8766
8898
  "aria-controls": controls,
8767
8899
  tabIndex: tabIndex ?? (selected ? 0 : -1),
8768
8900
  leadingIcon,
8769
- className: cn59(
8901
+ className: cn60(
8770
8902
  "cursor-pointer transition duration-150 ease-out hover:bg-surface-soft active:scale-[0.98] focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-focus-blue disabled:cursor-not-allowed disabled:opacity-50",
8771
8903
  "text-ink disabled:text-muted",
8772
8904
  sharedIndicator ? "relative aria-selected:bg-transparent aria-selected:hover:bg-transparent aria-selected:font-weight-label aria-selected:text-ink" : "aria-selected:bg-primary-soft aria-selected:font-weight-label aria-selected:text-ink",
@@ -8780,10 +8912,10 @@ var Tab = React79.forwardRef(
8780
8912
  Tab.displayName = "Tab";
8781
8913
 
8782
8914
  // virtual-pkg:src/atoms/Tabs/Tabs.tsx
8783
- var React80 = __toESM(require("react"));
8784
- var import_jsx_runtime80 = require("react/jsx-runtime");
8785
- var cn60 = (...parts) => parts.filter(Boolean).join(" ");
8786
- var Tabs = React80.forwardRef(
8915
+ var React81 = __toESM(require("react"));
8916
+ var import_jsx_runtime81 = require("react/jsx-runtime");
8917
+ var cn61 = (...parts) => parts.filter(Boolean).join(" ");
8918
+ var Tabs = React81.forwardRef(
8787
8919
  ({
8788
8920
  items,
8789
8921
  value,
@@ -8794,19 +8926,19 @@ var Tabs = React80.forwardRef(
8794
8926
  className,
8795
8927
  ...rest
8796
8928
  }, ref) => {
8797
- const baseId = React80.useId();
8798
- const [inner, setInner] = React80.useState(defaultValue ?? items[0]?.value);
8929
+ const baseId = React81.useId();
8930
+ const [inner, setInner] = React81.useState(defaultValue ?? items[0]?.value);
8799
8931
  const selected = value ?? inner;
8800
- const tabRefs = React80.useRef({});
8801
- const [indicator, setIndicator] = React80.useState(null);
8802
- const measure = React80.useCallback(() => {
8932
+ const tabRefs = React81.useRef({});
8933
+ const [indicator, setIndicator] = React81.useState(null);
8934
+ const measure = React81.useCallback(() => {
8803
8935
  const el = selected ? tabRefs.current[selected] : null;
8804
8936
  if (el) setIndicator({ left: el.offsetLeft, width: el.offsetWidth });
8805
8937
  }, [selected]);
8806
- React80.useLayoutEffect(() => {
8938
+ React81.useLayoutEffect(() => {
8807
8939
  measure();
8808
8940
  }, [measure, items]);
8809
- React80.useEffect(() => {
8941
+ React81.useEffect(() => {
8810
8942
  window.addEventListener("resize", measure);
8811
8943
  const ro = typeof ResizeObserver !== "undefined" ? new ResizeObserver(() => measure()) : null;
8812
8944
  Object.values(tabRefs.current).forEach((el) => el && ro?.observe(el));
@@ -8836,17 +8968,17 @@ var Tabs = React80.forwardRef(
8836
8968
  };
8837
8969
  const tabId = (v) => `${baseId}-tab-${v}`;
8838
8970
  const panelId = (v) => `${baseId}-panel-${v}`;
8839
- return /* @__PURE__ */ (0, import_jsx_runtime80.jsxs)(
8971
+ return /* @__PURE__ */ (0, import_jsx_runtime81.jsxs)(
8840
8972
  "div",
8841
8973
  {
8842
8974
  ref,
8843
- className: cn60(
8975
+ className: cn61(
8844
8976
  "flex w-full min-w-0 flex-col rounded-lg border border-hairline bg-surface text-ink shadow-card",
8845
8977
  className
8846
8978
  ),
8847
8979
  ...rest,
8848
8980
  children: [
8849
- /* @__PURE__ */ (0, import_jsx_runtime80.jsxs)(
8981
+ /* @__PURE__ */ (0, import_jsx_runtime81.jsxs)(
8850
8982
  "div",
8851
8983
  {
8852
8984
  role: "tablist",
@@ -8854,7 +8986,7 @@ var Tabs = React80.forwardRef(
8854
8986
  onKeyDown,
8855
8987
  className: "relative flex min-w-0 items-center gap-xs overflow-x-auto p-sm",
8856
8988
  children: [
8857
- /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(
8989
+ /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(
8858
8990
  "span",
8859
8991
  {
8860
8992
  "aria-hidden": "true",
@@ -8868,7 +9000,7 @@ var Tabs = React80.forwardRef(
8868
9000
  ),
8869
9001
  items.map((item) => {
8870
9002
  const isSelected = item.value === selected;
8871
- return /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(
9003
+ return /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(
8872
9004
  Tab,
8873
9005
  {
8874
9006
  ref: (el) => {
@@ -8884,9 +9016,9 @@ var Tabs = React80.forwardRef(
8884
9016
  disabled: item.disabled,
8885
9017
  leadingIcon: item.icon,
8886
9018
  onClick: () => select(item.value),
8887
- children: /* @__PURE__ */ (0, import_jsx_runtime80.jsxs)("span", { className: "inline-flex items-center gap-sm", children: [
9019
+ children: /* @__PURE__ */ (0, import_jsx_runtime81.jsxs)("span", { className: "inline-flex items-center gap-sm", children: [
8888
9020
  item.label,
8889
- item.badge != null ? /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(Badge, { size: "sm", tone: isSelected ? "primary" : "neutral", children: item.badge }) : null
9021
+ item.badge != null ? /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(Badge, { size: "sm", tone: isSelected ? "primary" : "neutral", children: item.badge }) : null
8890
9022
  ] })
8891
9023
  },
8892
9024
  item.value
@@ -8897,7 +9029,7 @@ var Tabs = React80.forwardRef(
8897
9029
  ),
8898
9030
  items.map((item) => {
8899
9031
  const isSelected = item.value === selected;
8900
- return /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(
9032
+ return /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(
8901
9033
  "div",
8902
9034
  {
8903
9035
  id: panelId(item.value),
@@ -8919,26 +9051,26 @@ var Tabs = React80.forwardRef(
8919
9051
  Tabs.displayName = "Tabs";
8920
9052
 
8921
9053
  // virtual-pkg:src/atoms/TestimonialBlock/TestimonialBlock.tsx
8922
- var React81 = __toESM(require("react"));
8923
- var import_jsx_runtime81 = require("react/jsx-runtime");
8924
- var cn61 = (...parts) => parts.filter(Boolean).join(" ");
9054
+ var React82 = __toESM(require("react"));
9055
+ var import_jsx_runtime82 = require("react/jsx-runtime");
9056
+ var cn62 = (...parts) => parts.filter(Boolean).join(" ");
8925
9057
  function QuoteCard({ t }) {
8926
- return /* @__PURE__ */ (0, import_jsx_runtime81.jsxs)("figure", { className: "m-0 flex h-full flex-col justify-between gap-base rounded-lg border border-hairline bg-canvas p-lg shadow-card", children: [
8927
- /* @__PURE__ */ (0, import_jsx_runtime81.jsx)("blockquote", { className: "m-0", children: /* @__PURE__ */ (0, import_jsx_runtime81.jsxs)("p", { className: "text-body-lg text-ink", children: [
9058
+ return /* @__PURE__ */ (0, import_jsx_runtime82.jsxs)("figure", { className: "m-0 flex h-full flex-col justify-between gap-base rounded-lg border border-hairline bg-canvas p-lg shadow-card", children: [
9059
+ /* @__PURE__ */ (0, import_jsx_runtime82.jsx)("blockquote", { className: "m-0", children: /* @__PURE__ */ (0, import_jsx_runtime82.jsxs)("p", { className: "text-body-lg text-ink", children: [
8928
9060
  "\u201C",
8929
9061
  t.quote,
8930
9062
  "\u201D"
8931
9063
  ] }) }),
8932
- /* @__PURE__ */ (0, import_jsx_runtime81.jsxs)("figcaption", { className: "flex items-center gap-md", children: [
8933
- /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(Avatar, { size: "lg", name: t.name, src: t.avatarSrc, alt: t.name }),
8934
- /* @__PURE__ */ (0, import_jsx_runtime81.jsxs)("div", { className: "flex min-w-0 flex-col", children: [
8935
- /* @__PURE__ */ (0, import_jsx_runtime81.jsx)("span", { className: "truncate text-body-sm font-weight-label text-ink", children: t.name }),
8936
- t.role ? /* @__PURE__ */ (0, import_jsx_runtime81.jsx)("span", { className: "truncate text-caption text-muted", children: t.role }) : null
9064
+ /* @__PURE__ */ (0, import_jsx_runtime82.jsxs)("figcaption", { className: "flex items-center gap-md", children: [
9065
+ /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(Avatar, { size: "lg", name: t.name, src: t.avatarSrc, alt: t.name }),
9066
+ /* @__PURE__ */ (0, import_jsx_runtime82.jsxs)("div", { className: "flex min-w-0 flex-col", children: [
9067
+ /* @__PURE__ */ (0, import_jsx_runtime82.jsx)("span", { className: "truncate text-body-sm font-weight-label text-ink", children: t.name }),
9068
+ t.role ? /* @__PURE__ */ (0, import_jsx_runtime82.jsx)("span", { className: "truncate text-caption text-muted", children: t.role }) : null
8937
9069
  ] })
8938
9070
  ] })
8939
9071
  ] });
8940
9072
  }
8941
- var TestimonialBlock = React81.forwardRef(
9073
+ var TestimonialBlock = React82.forwardRef(
8942
9074
  ({
8943
9075
  testimonials = [],
8944
9076
  logos,
@@ -8948,34 +9080,34 @@ var TestimonialBlock = React81.forwardRef(
8948
9080
  ...rest
8949
9081
  }, ref) => {
8950
9082
  const many = testimonials.length > 1;
8951
- return /* @__PURE__ */ (0, import_jsx_runtime81.jsxs)(
9083
+ return /* @__PURE__ */ (0, import_jsx_runtime82.jsxs)(
8952
9084
  "section",
8953
9085
  {
8954
9086
  ref,
8955
9087
  "aria-label": label,
8956
- className: cn61("flex w-full flex-col gap-xl", className),
9088
+ className: cn62("flex w-full flex-col gap-xl", className),
8957
9089
  ...rest,
8958
9090
  children: [
8959
- logos && logos.length ? /* @__PURE__ */ (0, import_jsx_runtime81.jsxs)("div", { className: "flex flex-col items-center gap-lg py-base", children: [
8960
- /* @__PURE__ */ (0, import_jsx_runtime81.jsx)("p", { className: "text-body-md text-muted", children: logosTitle }),
8961
- /* @__PURE__ */ (0, import_jsx_runtime81.jsx)("ul", { className: "flex flex-wrap items-center justify-center gap-x-xl gap-y-base", children: logos.map((l) => /* @__PURE__ */ (0, import_jsx_runtime81.jsx)("li", { className: "text-ink", children: /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(
9091
+ logos && logos.length ? /* @__PURE__ */ (0, import_jsx_runtime82.jsxs)("div", { className: "flex flex-col items-center gap-lg py-base", children: [
9092
+ /* @__PURE__ */ (0, import_jsx_runtime82.jsx)("p", { className: "text-body-md text-muted", children: logosTitle }),
9093
+ /* @__PURE__ */ (0, import_jsx_runtime82.jsx)("ul", { className: "flex flex-wrap items-center justify-center gap-x-xl gap-y-base", children: logos.map((l) => /* @__PURE__ */ (0, import_jsx_runtime82.jsx)("li", { className: "text-ink", children: /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(
8962
9094
  Logo,
8963
9095
  {
8964
9096
  size: "md",
8965
9097
  name: l.name,
8966
- mark: l.icon ? /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(Icon, { name: l.icon, size: 20 }) : void 0
9098
+ mark: l.icon ? /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(Icon, { name: l.icon, size: 20 }) : void 0
8967
9099
  }
8968
9100
  ) }, l.name)) })
8969
9101
  ] }) : null,
8970
- testimonials.length ? /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(
9102
+ testimonials.length ? /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(
8971
9103
  "div",
8972
9104
  {
8973
- className: cn61(
9105
+ className: cn62(
8974
9106
  "grid gap-gutter",
8975
9107
  many ? "grid-cols-1 md:grid-cols-2" : "grid-cols-1",
8976
9108
  testimonials.length > 2 && "lg:grid-cols-3"
8977
9109
  ),
8978
- children: testimonials.map((t) => /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(QuoteCard, { t }, t.id))
9110
+ children: testimonials.map((t) => /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(QuoteCard, { t }, t.id))
8979
9111
  }
8980
9112
  ) : null
8981
9113
  ]
@@ -8986,10 +9118,10 @@ var TestimonialBlock = React81.forwardRef(
8986
9118
  TestimonialBlock.displayName = "TestimonialBlock";
8987
9119
 
8988
9120
  // virtual-pkg:src/atoms/Toast/Toast.tsx
8989
- var React82 = __toESM(require("react"));
9121
+ var React83 = __toESM(require("react"));
8990
9122
  var import_react_dom10 = require("react-dom");
8991
- var import_jsx_runtime82 = require("react/jsx-runtime");
8992
- var cn62 = (...parts) => parts.filter(Boolean).join(" ");
9123
+ var import_jsx_runtime83 = require("react/jsx-runtime");
9124
+ var cn63 = (...parts) => parts.filter(Boolean).join(" ");
8993
9125
  var toneIcon2 = {
8994
9126
  success: { name: "circle-check", color: "text-inverse-ink" },
8995
9127
  error: { name: "circle-x", color: "text-semantic-error" },
@@ -8999,7 +9131,7 @@ var placementClass = {
8999
9131
  "bottom-center": "fixed bottom-lg left-1/2 -translate-x-1/2 w-[calc(100%-2rem)] sm:w-auto sm:min-w-[22rem]",
9000
9132
  "bottom-right": "fixed bottom-lg right-lg left-lg sm:left-auto sm:min-w-[22rem]"
9001
9133
  };
9002
- var Toast = React82.forwardRef(
9134
+ var Toast = React83.forwardRef(
9003
9135
  ({
9004
9136
  open = true,
9005
9137
  onOpenChange,
@@ -9013,24 +9145,24 @@ var Toast = React82.forwardRef(
9013
9145
  className,
9014
9146
  ...rest
9015
9147
  }, ref) => {
9016
- const [mounted, setMounted] = React82.useState(false);
9017
- React82.useEffect(() => setMounted(true), []);
9018
- React82.useEffect(() => {
9148
+ const [mounted, setMounted] = React83.useState(false);
9149
+ React83.useEffect(() => setMounted(true), []);
9150
+ React83.useEffect(() => {
9019
9151
  if (!open || !duration || !onOpenChange) return;
9020
9152
  const t = window.setTimeout(() => onOpenChange(false), duration);
9021
9153
  return () => window.clearTimeout(t);
9022
9154
  }, [open, duration, onOpenChange]);
9023
9155
  const glyph2 = toneIcon2[tone];
9024
9156
  const floating = placement !== "inline";
9025
- const card = /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(
9157
+ const card = /* @__PURE__ */ (0, import_jsx_runtime83.jsx)(
9026
9158
  "div",
9027
9159
  {
9028
- className: cn62(
9160
+ className: cn63(
9029
9161
  floating ? placementClass[placement] : "w-full",
9030
9162
  "pointer-events-none"
9031
9163
  ),
9032
9164
  style: { zIndex: open ? "var(--z-toast, 1400)" : void 0 },
9033
- children: /* @__PURE__ */ (0, import_jsx_runtime82.jsxs)(
9165
+ children: /* @__PURE__ */ (0, import_jsx_runtime83.jsxs)(
9034
9166
  "div",
9035
9167
  {
9036
9168
  ref,
@@ -9041,16 +9173,16 @@ var Toast = React82.forwardRef(
9041
9173
  onKeyDown: (e) => {
9042
9174
  if (e.key === "Escape") onOpenChange?.(false);
9043
9175
  },
9044
- className: cn62(
9176
+ className: cn63(
9045
9177
  "flex min-h-11 w-full items-center gap-md rounded-lg bg-inverse-canvas py-sm pl-base pr-sm text-inverse-ink shadow-overlay",
9046
9178
  "transition duration-200 ease-out data-[state=open]:pointer-events-auto data-[state=open]:translate-y-0 data-[state=open]:opacity-100 data-[state=closed]:translate-y-2 data-[state=closed]:opacity-0",
9047
9179
  className
9048
9180
  ),
9049
9181
  ...rest,
9050
9182
  children: [
9051
- /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(Icon, { name: icon ?? glyph2.name, size: 18, className: cn62("shrink-0", glyph2.color) }),
9052
- /* @__PURE__ */ (0, import_jsx_runtime82.jsx)("p", { className: "min-w-0 flex-1 py-xxs text-body-md text-inverse-ink [&_strong]:font-weight-label", children: title }),
9053
- actionLabel ? /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(
9183
+ /* @__PURE__ */ (0, import_jsx_runtime83.jsx)(Icon, { name: icon ?? glyph2.name, size: 18, className: cn63("shrink-0", glyph2.color) }),
9184
+ /* @__PURE__ */ (0, import_jsx_runtime83.jsx)("p", { className: "min-w-0 flex-1 py-xxs text-body-md text-inverse-ink [&_strong]:font-weight-label", children: title }),
9185
+ actionLabel ? /* @__PURE__ */ (0, import_jsx_runtime83.jsx)(
9054
9186
  Button,
9055
9187
  {
9056
9188
  variant: "ghost",
@@ -9063,7 +9195,7 @@ var Toast = React82.forwardRef(
9063
9195
  className: "shrink-0 text-inverse-ink enabled:hover:bg-inverse-ink/10 enabled:hover:text-inverse-ink",
9064
9196
  children: actionLabel
9065
9197
  }
9066
- ) : /* @__PURE__ */ (0, import_jsx_runtime82.jsx)("span", { className: "w-xs shrink-0", "aria-hidden": "true" })
9198
+ ) : /* @__PURE__ */ (0, import_jsx_runtime83.jsx)("span", { className: "w-xs shrink-0", "aria-hidden": "true" })
9067
9199
  ]
9068
9200
  }
9069
9201
  )
@@ -9078,8 +9210,8 @@ Toast.displayName = "Toast";
9078
9210
 
9079
9211
  // virtual-pkg:src/atoms/Typography/Typography.tsx
9080
9212
  var import_react7 = __toESM(require("react"));
9081
- var import_jsx_runtime83 = require("react/jsx-runtime");
9082
- function cn63(...parts) {
9213
+ var import_jsx_runtime84 = require("react/jsx-runtime");
9214
+ function cn64(...parts) {
9083
9215
  return parts.filter(Boolean).join(" ");
9084
9216
  }
9085
9217
  var variantClass = {
@@ -9128,11 +9260,11 @@ var toneClass2 = {
9128
9260
  var Typography = import_react7.default.forwardRef(
9129
9261
  ({ variant = "body", as, tone, truncate = false, className, children, ...rest }, ref) => {
9130
9262
  const Component = as ?? defaultElement[variant];
9131
- return /* @__PURE__ */ (0, import_jsx_runtime83.jsx)(
9263
+ return /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(
9132
9264
  Component,
9133
9265
  {
9134
9266
  ref,
9135
- className: cn63(
9267
+ className: cn64(
9136
9268
  "m-0",
9137
9269
  variantClass[variant],
9138
9270
  toneClass2[tone ?? defaultTone[variant]],
@@ -9148,10 +9280,10 @@ var Typography = import_react7.default.forwardRef(
9148
9280
  Typography.displayName = "Typography";
9149
9281
 
9150
9282
  // virtual-pkg:src/atoms/Wizard/Wizard.tsx
9151
- var React84 = __toESM(require("react"));
9152
- var import_jsx_runtime84 = require("react/jsx-runtime");
9153
- var cn64 = (...parts) => parts.filter(Boolean).join(" ");
9154
- var Wizard = React84.forwardRef(
9283
+ var React85 = __toESM(require("react"));
9284
+ var import_jsx_runtime85 = require("react/jsx-runtime");
9285
+ var cn65 = (...parts) => parts.filter(Boolean).join(" ");
9286
+ var Wizard = React85.forwardRef(
9155
9287
  ({
9156
9288
  title,
9157
9289
  description,
@@ -9170,8 +9302,8 @@ var Wizard = React84.forwardRef(
9170
9302
  className,
9171
9303
  ...rest
9172
9304
  }, ref) => {
9173
- const titleId = React84.useId();
9174
- const [inner, setInner] = React84.useState(defaultStep);
9305
+ const titleId = React85.useId();
9306
+ const [inner, setInner] = React85.useState(defaultStep);
9175
9307
  const step = stepProp ?? inner;
9176
9308
  const go = (next) => {
9177
9309
  const clamped = Math.max(0, Math.min(steps.length, next));
@@ -9182,49 +9314,49 @@ var Wizard = React84.forwardRef(
9182
9314
  const current = steps[step];
9183
9315
  const blocked = !reviewing && current?.canContinue === false;
9184
9316
  const statusOf = (i) => i < step ? "complete" : i === step ? "active" : "upcoming";
9185
- return /* @__PURE__ */ (0, import_jsx_runtime84.jsx)("div", { ref, className: cn64("w-full", className), ...rest, children: /* @__PURE__ */ (0, import_jsx_runtime84.jsxs)(
9317
+ return /* @__PURE__ */ (0, import_jsx_runtime85.jsx)("div", { ref, className: cn65("w-full", className), ...rest, children: /* @__PURE__ */ (0, import_jsx_runtime85.jsxs)(
9186
9318
  "section",
9187
9319
  {
9188
9320
  "aria-labelledby": titleId,
9189
- className: cn64(
9321
+ className: cn65(
9190
9322
  "mx-auto flex w-full flex-col gap-lg text-ink",
9191
9323
  chrome === "card" && "rounded-xl border border-hairline bg-canvas p-lg shadow-card"
9192
9324
  ),
9193
9325
  children: [
9194
- /* @__PURE__ */ (0, import_jsx_runtime84.jsxs)("header", { className: "flex flex-col gap-xs", children: [
9195
- /* @__PURE__ */ (0, import_jsx_runtime84.jsx)("h2", { id: titleId, className: "text-heading-md font-weight-heading-sm text-ink", children: title }),
9196
- (description || docsHref) && /* @__PURE__ */ (0, import_jsx_runtime84.jsxs)("p", { className: "text-body-sm text-muted", children: [
9326
+ /* @__PURE__ */ (0, import_jsx_runtime85.jsxs)("header", { className: "flex flex-col gap-xs", children: [
9327
+ /* @__PURE__ */ (0, import_jsx_runtime85.jsx)("h2", { id: titleId, className: "text-heading-md font-weight-heading-sm text-ink", children: title }),
9328
+ (description || docsHref) && /* @__PURE__ */ (0, import_jsx_runtime85.jsxs)("p", { className: "text-body-sm text-muted", children: [
9197
9329
  description,
9198
9330
  " ",
9199
- docsHref && /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(Link, { href: docsHref, variant: "standalone", arrow: true, external: true, children: docsLabel })
9331
+ docsHref && /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(Link, { href: docsHref, variant: "standalone", arrow: true, external: true, children: docsLabel })
9200
9332
  ] })
9201
9333
  ] }),
9202
- /* @__PURE__ */ (0, import_jsx_runtime84.jsx)("ol", { className: "flex flex-col", "aria-label": "Steps", children: steps.map((s, i) => {
9334
+ /* @__PURE__ */ (0, import_jsx_runtime85.jsx)("ol", { className: "flex flex-col", "aria-label": "Steps", children: steps.map((s, i) => {
9203
9335
  const status = statusOf(i);
9204
9336
  const active = status === "active";
9205
- return /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(
9337
+ return /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(
9206
9338
  StepperItem,
9207
9339
  {
9208
9340
  status,
9209
9341
  title: s.title,
9210
9342
  meta: active ? s.description : status === "complete" ? s.summary : void 0,
9211
9343
  connector: i < steps.length - 1,
9212
- children: s.content ? /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(
9344
+ children: s.content ? /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(
9213
9345
  "div",
9214
9346
  {
9215
9347
  "data-state": active ? "open" : "closed",
9216
9348
  "aria-hidden": active ? void 0 : true,
9217
9349
  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",
9218
- children: /* @__PURE__ */ (0, import_jsx_runtime84.jsx)("div", { className: "min-h-0 overflow-hidden", children: /* @__PURE__ */ (0, import_jsx_runtime84.jsx)("div", { className: active ? "pb-xs" : "invisible", children: s.content }) })
9350
+ children: /* @__PURE__ */ (0, import_jsx_runtime85.jsx)("div", { className: "min-h-0 overflow-hidden", children: /* @__PURE__ */ (0, import_jsx_runtime85.jsx)("div", { className: active ? "pb-xs" : "invisible", children: s.content }) })
9219
9351
  }
9220
9352
  ) : null
9221
9353
  },
9222
9354
  s.id
9223
9355
  );
9224
9356
  }) }),
9225
- /* @__PURE__ */ (0, import_jsx_runtime84.jsxs)("footer", { className: "flex items-center justify-end gap-sm", children: [
9226
- step > 0 && /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(Button, { variant: "secondary", onClick: () => go(step - 1), disabled: submitting, children: backLabel }),
9227
- reviewing ? /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(Button, { variant: "primary", loading: submitting, onClick: onComplete, children: completeLabel }) : /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(Button, { variant: "primary", disabled: blocked, onClick: () => go(step + 1), children: continueLabel })
9357
+ /* @__PURE__ */ (0, import_jsx_runtime85.jsxs)("footer", { className: "flex items-center justify-end gap-sm", children: [
9358
+ step > 0 && /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(Button, { variant: "secondary", onClick: () => go(step - 1), disabled: submitting, children: backLabel }),
9359
+ reviewing ? /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(Button, { variant: "primary", loading: submitting, onClick: onComplete, children: completeLabel }) : /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(Button, { variant: "primary", disabled: blocked, onClick: () => go(step + 1), children: continueLabel })
9228
9360
  ] })
9229
9361
  ]
9230
9362
  }