@nivaro/react 0.3.117 → 0.3.118

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (137) hide show
  1. package/dist/full.css +1 -1
  2. package/dist/hooks/useSessionRecorder.js +1 -1
  3. package/dist/index.d.ts +136 -14
  4. package/dist/index.js +488 -485
  5. package/dist/shared/components/ActivityEntry.js +130 -125
  6. package/dist/shared/components/AgentPresenceChip.js +36 -26
  7. package/dist/shared/components/CellCopyLayer.js +50 -45
  8. package/dist/shared/components/CollectionBrowserView.js +3757 -3695
  9. package/dist/shared/components/FilePreviewLightbox.js +96 -58
  10. package/dist/shared/components/InStep.js +18 -17
  11. package/dist/shared/components/ItemEditForm.js +4220 -4175
  12. package/dist/shared/components/JobsTray.js +8 -8
  13. package/dist/shared/components/LiveNewMatchesPill.js +21 -14
  14. package/dist/shared/components/LiveOffNote.js +3 -2
  15. package/dist/shared/components/LiveRowMark.js +53 -23
  16. package/dist/shared/components/LiveTraceView.js +162 -123
  17. package/dist/shared/components/MyWorkView.js +320 -299
  18. package/dist/shared/components/NotificationBell.js +14 -14
  19. package/dist/shared/components/OverflowRail.js +1 -1
  20. package/dist/shared/components/PageRenderer.js +120 -116
  21. package/dist/shared/components/ProfileView.js +203 -202
  22. package/dist/shared/components/RealtimeStatusBanner.js +31 -29
  23. package/dist/shared/components/RecordDrilldownSheet.js +7 -7
  24. package/dist/shared/components/RecordHoverCard.js +102 -84
  25. package/dist/shared/components/RecordReadView.js +146 -146
  26. package/dist/shared/components/ScreenRefreshButton.js +34 -32
  27. package/dist/shared/components/TipLayer.js +65 -58
  28. package/dist/shared/components/WidgetImageMenu.js +83 -43
  29. package/dist/shared/components/activity/RecordActivityStream.js +175 -173
  30. package/dist/shared/components/bulk/BulkSelectionNotices.js +142 -119
  31. package/dist/shared/components/change-proposals/ChangeProposalsPanel.js +158 -143
  32. package/dist/shared/components/change-proposals/ProposeChangeButton.js +17 -11
  33. package/dist/shared/components/change-proposals/ProposeChangeDialog.js +201 -173
  34. package/dist/shared/components/chat/ChatAnalyticsView.js +27 -27
  35. package/dist/shared/components/chat/HuddleAnalyticsTab.js +17 -17
  36. package/dist/shared/components/collections-directory/CollectionsToolbar.js +39 -41
  37. package/dist/shared/components/collections-directory/page-model.js +72 -67
  38. package/dist/shared/components/integrations/RecordIntegrationPreview.js +48 -56
  39. package/dist/shared/components/integrations/SendStatus.js +65 -59
  40. package/dist/shared/components/integrations/console/ReadyToSendView.js +275 -209
  41. package/dist/shared/components/integrations/console/SignalCard.js +237 -230
  42. package/dist/shared/components/item-edit/CatalogPickerField.js +227 -205
  43. package/dist/shared/components/item-edit/ChangedAfterApprovalBadge.js +131 -92
  44. package/dist/shared/components/item-edit/CloneDialog.js +191 -161
  45. package/dist/shared/components/item-edit/DerivedCauseNote.js +44 -30
  46. package/dist/shared/components/item-edit/DraftRecoveryBanner.js +153 -134
  47. package/dist/shared/components/item-edit/FieldComments.js +54 -53
  48. package/dist/shared/components/item-edit/FieldPointer.js +82 -67
  49. package/dist/shared/components/item-edit/FieldRow.js +106 -100
  50. package/dist/shared/components/item-edit/FieldSourceBadge.js +58 -56
  51. package/dist/shared/components/item-edit/FilePickerField.js +452 -387
  52. package/dist/shared/components/item-edit/HeaderSummaryChip.js +78 -56
  53. package/dist/shared/components/item-edit/HeaderTools.js +94 -85
  54. package/dist/shared/components/item-edit/InlineTableField.js +1242 -1218
  55. package/dist/shared/components/item-edit/ListNeighborNav.js +47 -50
  56. package/dist/shared/components/item-edit/LiveTraceSheet.js +15 -10
  57. package/dist/shared/components/item-edit/MembershipSetField.js +285 -254
  58. package/dist/shared/components/item-edit/OutboxReviewTray.js +155 -144
  59. package/dist/shared/components/item-edit/QueueReturnChip.js +15 -36
  60. package/dist/shared/components/item-edit/RecalcValue.js +57 -32
  61. package/dist/shared/components/item-edit/RecordHelpChip.js +21 -22
  62. package/dist/shared/components/item-edit/RecordLiveSync.js +283 -231
  63. package/dist/shared/components/item-edit/RelationCombobox.js +439 -393
  64. package/dist/shared/components/item-edit/RemoteChangeUi.js +292 -224
  65. package/dist/shared/components/item-edit/RemoteUploads.js +26 -20
  66. package/dist/shared/components/item-edit/RemovedLineNote.js +77 -67
  67. package/dist/shared/components/item-edit/RichTextEditorImpl.js +184 -179
  68. package/dist/shared/components/item-edit/ScheduledChangeChip.js +168 -134
  69. package/dist/shared/components/item-edit/SectionPresence.js +18 -10
  70. package/dist/shared/components/item-edit/SplitLinesButton.js +163 -139
  71. package/dist/shared/components/item-edit/UserChip.js +1 -1
  72. package/dist/shared/components/item-edit/file-live.js +69 -54
  73. package/dist/shared/components/item-edit/layout-switch.js +98 -89
  74. package/dist/shared/components/item-edit/partner-needs.js +12 -12
  75. package/dist/shared/components/item-edit/removed-line.js +31 -25
  76. package/dist/shared/components/layout-editor/pickers/field-picker.js +112 -104
  77. package/dist/shared/components/list/ListViewers.js +46 -35
  78. package/dist/shared/components/notifications/NotificationCenterView.js +479 -437
  79. package/dist/shared/components/panels/AccessDeniedPanel.js +176 -101
  80. package/dist/shared/components/panels/AlertBanners.js +82 -72
  81. package/dist/shared/components/panels/BranchLanes.js +22 -22
  82. package/dist/shared/components/panels/CommentImages.js +123 -102
  83. package/dist/shared/components/panels/CommentPanel.js +186 -185
  84. package/dist/shared/components/panels/ExternalRequestsChip.js +111 -119
  85. package/dist/shared/components/panels/OwnerOpenedLine.js +31 -24
  86. package/dist/shared/components/panels/PipelinePanel.js +2037 -1885
  87. package/dist/shared/components/panels/ResubmissionDiff.js +163 -142
  88. package/dist/shared/components/pipeline/OwnerMatrixSheet.js +400 -288
  89. package/dist/shared/components/pipeline/PipelineEditorView.js +7 -2
  90. package/dist/shared/components/profile/AgentNameField.js +107 -81
  91. package/dist/shared/components/profile/AgentsPanel.js +184 -184
  92. package/dist/shared/components/profile/PersonAccess.js +599 -495
  93. package/dist/shared/components/profile/SignInTroubleshooter.js +160 -127
  94. package/dist/shared/components/profile/SignedInDevices.js +17 -17
  95. package/dist/shared/components/profile/primitives.js +1 -1
  96. package/dist/shared/components/queue/OwnerAvatars.js +91 -54
  97. package/dist/shared/components/queue/QueueTeamStrip.js +56 -46
  98. package/dist/shared/components/queue/QueueWorklist.js +1002 -983
  99. package/dist/shared/components/support/AssignRules.js +1733 -0
  100. package/dist/shared/components/support/PersonPick.js +88 -0
  101. package/dist/shared/components/support/RequestList.js +790 -0
  102. package/dist/shared/components/support/ScreenShare.js +158 -152
  103. package/dist/shared/components/support/SupportRequestDialog.js +50 -48
  104. package/dist/shared/components/support/SupportView.js +140 -246
  105. package/dist/shared/components/support/TicketDetailSheet.js +82 -75
  106. package/dist/shared/components/support/TicketSlowScreens.js +9 -9
  107. package/dist/shared/components/support/assign-rules-text.js +171 -0
  108. package/dist/shared/components/support/support-list.js +125 -0
  109. package/dist/shared/components/ui/SimpleSelect.js +28 -20
  110. package/dist/shared/components/ui/checkbox.js +6 -6
  111. package/dist/shared/components/ui/select.js +43 -39
  112. package/dist/shared/components/ui/sheet.js +9 -9
  113. package/dist/shared/components/ui/switch.js +12 -11
  114. package/dist/shared/components/watch-list/WatchDock.js +532 -459
  115. package/dist/shared/components/watch-list/WatchExtras.js +332 -286
  116. package/dist/shared/components/watch-list/WatchRows.js +164 -140
  117. package/dist/shared/lib/activity-sentence.js +103 -91
  118. package/dist/shared/lib/agent-presence.js +27 -21
  119. package/dist/shared/lib/approval-progress.js +2 -2
  120. package/dist/shared/lib/copy-rules.js +31 -24
  121. package/dist/shared/lib/derived-causes.js +113 -78
  122. package/dist/shared/lib/grid-cursors.js +26 -26
  123. package/dist/shared/lib/label-flash.js +27 -0
  124. package/dist/shared/lib/list-return.js +137 -125
  125. package/dist/shared/lib/live-deltas.js +40 -34
  126. package/dist/shared/lib/live-groups.js +56 -52
  127. package/dist/shared/lib/live-preference.js +64 -59
  128. package/dist/shared/lib/live-screen.js +223 -192
  129. package/dist/shared/lib/partner-failure.js +11 -11
  130. package/dist/shared/lib/rollup-recalc.js +68 -64
  131. package/dist/shared/lib/screen-refresh.js +74 -68
  132. package/dist/shared/lib/screen-share.js +108 -104
  133. package/dist/shared/lib/send-status.js +77 -61
  134. package/dist/shared/lib/text-diff-window.js +29 -0
  135. package/dist/shared/lib/watch-list.js +210 -209
  136. package/dist/shared/lib/widget-image-render.js +72 -49
  137. package/package.json +1 -1
@@ -1,7 +1,7 @@
1
1
  import { jsxs as r, jsx as t } from "react/jsx-runtime";
2
2
  import { useQuery as C } from "@tanstack/react-query";
3
- import { Loader2 as v, AlertCircle as k, CircleSlash as g, Check as b, ChevronDown as _, ChevronUp as $, Timer as q, Download as J, X as F } from "lucide-react";
4
- import { useState as N, useEffect as D } from "react";
3
+ import { Loader2 as v, AlertCircle as g, CircleSlash as k, Check as b, ChevronDown as _, ChevronUp as $, Timer as q, Download as J, X as F } from "lucide-react";
4
+ import { useState as y, useEffect as D } from "react";
5
5
  import { createPortal as L } from "react-dom";
6
6
  import { useOptionalNivaroClient as S, useNavigation as T } from "../context.js";
7
7
  import { clock as E } from "../lib/background-runs.js";
@@ -13,7 +13,7 @@ import { useLiveEvent as Q } from "../lib/live.js";
13
13
  import { cn as X } from "../lib/utils.js";
14
14
  import { queueStanding as G } from "./imports/run-parts.js";
15
15
  function ce() {
16
- const e = S(), i = T(), s = U(), [l, d] = N(!0);
16
+ const e = S(), i = T(), s = U(), [l, d] = y(!0);
17
17
  Q("job:progress", (a) => K(a), { includeOwn: !0 });
18
18
  const h = s.some((a) => a.status === "running" || a.status === "queued"), { data: o } = C({
19
19
  queryKey: ["jobs-tray-seed"],
@@ -34,10 +34,10 @@ function ce() {
34
34
  "data-jobs-tray-tone": n.tone,
35
35
  "data-nvr-dock-aware": !0,
36
36
  "data-nvr-recording-hide": !0,
37
- className: "fixed bottom-4 left-1/2 z-[110] w-[min(420px,calc(100vw-2rem))] -translate-x-1/2 overflow-hidden rounded-xl border border-slate-200 bg-white text-slate-700 shadow-xl dark:border-[#334155] dark:bg-[#1e293b] dark:text-slate-200",
37
+ className: "fixed bottom-4 left-1/2 z-[110] max-sm:[body:has([data-page-drawer])_&]:hidden w-[min(420px,calc(100vw-2rem))] -translate-x-1/2 overflow-hidden rounded-xl border border-slate-200 bg-white text-slate-700 shadow-xl dark:border-[#334155] dark:bg-[#1e293b] dark:text-slate-200",
38
38
  children: [
39
39
  /* @__PURE__ */ r("div", { className: "flex items-center gap-2 px-3 py-2", children: [
40
- n.tone === "running" ? /* @__PURE__ */ t(v, { className: "h-3.5 w-3.5 shrink-0 animate-spin text-nvr-cyan" }) : n.tone === "failed" ? /* @__PURE__ */ t(k, { className: "h-3.5 w-3.5 shrink-0 text-rose-500" }) : n.tone === "cancelled" ? /* @__PURE__ */ t(g, { className: "h-3.5 w-3.5 shrink-0 text-slate-400" }) : /* @__PURE__ */ t(b, { className: "h-3.5 w-3.5 shrink-0 text-emerald-600 dark:text-emerald-400" }),
40
+ n.tone === "running" ? /* @__PURE__ */ t(v, { className: "h-3.5 w-3.5 shrink-0 animate-spin text-nvr-cyan" }) : n.tone === "failed" ? /* @__PURE__ */ t(g, { className: "h-3.5 w-3.5 shrink-0 text-rose-500" }) : n.tone === "cancelled" ? /* @__PURE__ */ t(k, { className: "h-3.5 w-3.5 shrink-0 text-slate-400" }) : /* @__PURE__ */ t(b, { className: "h-3.5 w-3.5 shrink-0 text-emerald-600 dark:text-emerald-400" }),
41
41
  /* @__PURE__ */ r(
42
42
  "button",
43
43
  {
@@ -100,7 +100,7 @@ function V({
100
100
  onOpen: i,
101
101
  onCancel: s
102
102
  }) {
103
- const [l, d] = N("idle"), h = e.status === "completed", o = e.status === "error", c = e.status === "queued", p = e.status === "canceled", n = e.progress ?? {}, u = Number(n.total), a = Number(n.done), m = Number.isFinite(u) && u > 0 && Number.isFinite(a) ? Math.max(0, Math.min(100, Math.round(a / u * 100))) : null, y = typeof n.phase == "string" ? n.phase : null, x = typeof n.unit == "string" ? ` ${n.unit}` : "", w = m != null ? `${a.toLocaleString()} of ${u.toLocaleString()}${x}` : x && Number.isFinite(a) && a > 0 ? `${a.toLocaleString()}${x}` : null, f = c ? G(
103
+ const [l, d] = y("idle"), h = e.status === "completed", o = e.status === "error", c = e.status === "queued", p = e.status === "canceled", n = e.progress ?? {}, u = Number(n.total), a = Number(n.done), m = Number.isFinite(u) && u > 0 && Number.isFinite(a) ? Math.max(0, Math.min(100, Math.round(a / u * 100))) : null, N = typeof n.phase == "string" ? n.phase : null, x = typeof n.unit == "string" ? ` ${n.unit}` : "", w = m != null ? `${a.toLocaleString()} of ${u.toLocaleString()}${x}` : x && Number.isFinite(a) && a > 0 ? `${a.toLocaleString()}${x}` : null, f = c ? G(
104
104
  e.position != null ? { position: e.position, eta_seconds: e.eta_seconds ?? null } : void 0
105
105
  ) : o ? (
106
106
  // Read, never shown as stored: a job's error is written for the log (lib/job-failure-text).
@@ -114,7 +114,7 @@ function V({
114
114
  ) : e.kind === "background-run" ? (
115
115
  // #2759 — a slow read the server is finishing: say how long it usually takes.
116
116
  Number(n.expected_ms) >= 1e3 ? `Usually takes about ${E(Number(n.expected_ms))}` : "Running on the server"
117
- ) : [y, w].filter(Boolean).join(" · ") || null;
117
+ ) : [N, w].filter(Boolean).join(" · ") || null;
118
118
  return /* @__PURE__ */ r(
119
119
  "li",
120
120
  {
@@ -122,7 +122,7 @@ function V({
122
122
  "data-job-status": e.status,
123
123
  className: "flex items-start gap-2.5 px-3 py-2",
124
124
  children: [
125
- /* @__PURE__ */ t("span", { className: "mt-0.5 shrink-0", children: o ? /* @__PURE__ */ t(k, { className: "h-3.5 w-3.5 text-rose-500" }) : h ? /* @__PURE__ */ t(b, { className: "h-3.5 w-3.5 text-emerald-600 dark:text-emerald-400" }) : p ? /* @__PURE__ */ t(g, { className: "h-3.5 w-3.5 text-slate-400" }) : c ? /* @__PURE__ */ t(q, { className: "h-3.5 w-3.5 text-slate-400" }) : /* @__PURE__ */ t(v, { className: "h-3.5 w-3.5 animate-spin text-nvr-cyan" }) }),
125
+ /* @__PURE__ */ t("span", { className: "mt-0.5 shrink-0", children: o ? /* @__PURE__ */ t(g, { className: "h-3.5 w-3.5 text-rose-500" }) : h ? /* @__PURE__ */ t(b, { className: "h-3.5 w-3.5 text-emerald-600 dark:text-emerald-400" }) : p ? /* @__PURE__ */ t(k, { className: "h-3.5 w-3.5 text-slate-400" }) : c ? /* @__PURE__ */ t(q, { className: "h-3.5 w-3.5 text-slate-400" }) : /* @__PURE__ */ t(v, { className: "h-3.5 w-3.5 animate-spin text-nvr-cyan" }) }),
126
126
  /* @__PURE__ */ r("div", { className: "min-w-0 flex-1", children: [
127
127
  /* @__PURE__ */ t("p", { className: "truncate text-[12.5px] font-medium", children: e.label }),
128
128
  f && /* @__PURE__ */ t(
@@ -1,25 +1,32 @@
1
1
  import { jsx as e, jsxs as t } from "react/jsx-runtime";
2
2
  import { newMatchesText as a } from "../lib/live-search.js";
3
- function o({
3
+ function l({
4
4
  count: n,
5
5
  onShow: r,
6
6
  className: i
7
7
  }) {
8
- return /* @__PURE__ */ e("div", { className: `sticky top-0 z-10 h-0 overflow-visible ${i ?? ""}`, "data-live-new": !0, children: /* @__PURE__ */ e("div", { className: "flex justify-center pt-2", children: n > 0 && /* @__PURE__ */ e("output", { "aria-live": "polite", children: /* @__PURE__ */ t(
9
- "button",
8
+ return /* @__PURE__ */ e("output", { "aria-live": "polite", className: "contents", children: n > 0 && /* @__PURE__ */ e(
9
+ "div",
10
10
  {
11
- type: "button",
12
- onClick: r,
13
- className: "inline-flex items-center gap-1.5 rounded-full border border-nvr-cyan/40 bg-white px-3 py-1 text-[12px] text-slate-700 shadow-sm transition-colors hover:bg-nvr-cyan/10 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-nvr-cyan dark:bg-card dark:text-foreground dark:hover:bg-nvr-cyan/15",
14
- children: [
15
- /* @__PURE__ */ e("span", { className: "h-1.5 w-1.5 rounded-full bg-nvr-cyan", "aria-hidden": !0 }),
16
- a(n),
17
- /* @__PURE__ */ e("span", { "aria-hidden": !0, children: "·" }),
18
- /* @__PURE__ */ e("span", { className: "font-medium underline underline-offset-2", children: "Show" })
19
- ]
11
+ className: `nvr-fade-in sticky top-0 z-10 flex justify-center py-1.5 ${i ?? ""}`,
12
+ "data-live-new": !0,
13
+ children: /* @__PURE__ */ t(
14
+ "button",
15
+ {
16
+ type: "button",
17
+ onClick: r,
18
+ className: "inline-flex items-center gap-1.5 rounded-full border border-nvr-cyan/40 bg-white px-3 py-1 text-[12px] text-slate-700 shadow-sm transition-colors hover:bg-nvr-cyan/10 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-nvr-cyan dark:bg-card dark:text-foreground dark:hover:bg-nvr-cyan/15",
19
+ children: [
20
+ /* @__PURE__ */ e("span", { className: "h-1.5 w-1.5 rounded-full bg-nvr-cyan", "aria-hidden": !0 }),
21
+ a(n),
22
+ /* @__PURE__ */ e("span", { "aria-hidden": !0, children: "·" }),
23
+ /* @__PURE__ */ e("span", { className: "font-medium underline underline-offset-2", children: "Show" })
24
+ ]
25
+ }
26
+ )
20
27
  }
21
- ) }) }) });
28
+ ) });
22
29
  }
23
30
  export {
24
- o as LiveNewMatchesPill
31
+ l as LiveNewMatchesPill
25
32
  };
@@ -14,7 +14,8 @@ function h({
14
14
  "aria-hidden": !0,
15
15
  "data-live-off-note": "dot",
16
16
  className: t(
17
- "absolute bottom-1 right-1 h-1.5 w-1.5 rounded-full bg-slate-400 ring-2 ring-[#0f172a]",
17
+ // Light enough to read on the always-dark rail (a slate-400 dot on navy was a speck).
18
+ "absolute bottom-1 right-1 h-1.5 w-1.5 rounded-full bg-slate-300 ring-2 ring-[#0f172a]",
18
19
  r
19
20
  )
20
21
  }
@@ -27,7 +28,7 @@ function h({
27
28
  "aria-label": a,
28
29
  className: t(
29
30
  "inline-flex h-6 shrink-0 select-none items-center gap-1 whitespace-nowrap rounded-full border px-2 text-[11px] font-medium leading-none",
30
- e === "header" && "border-slate-200 bg-white text-slate-500 dark:border-border dark:bg-card dark:text-muted-foreground",
31
+ e === "header" && "border-slate-200 bg-white text-slate-600 dark:border-border dark:bg-card dark:text-muted-foreground",
31
32
  e === "bar" && "border-current opacity-70",
32
33
  r
33
34
  ),
@@ -1,35 +1,65 @@
1
- import { jsx as t } from "react/jsx-runtime";
2
- import { EyeOff as f, ArrowDownUp as c, Lock as d } from "lucide-react";
3
- import { movingRowTitle as p } from "../lib/live-groups.js";
4
- import { lockLabel as w } from "../lib/live-list.js";
1
+ import { jsx as a, jsxs as l } from "react/jsx-runtime";
2
+ import { EyeOff as p, ArrowDownUp as m, Lock as h } from "lucide-react";
3
+ import { movingRowTitle as d } from "../lib/live-groups.js";
4
+ import { lockLabel as u } from "../lib/live-list.js";
5
5
  import { GONE_ROW_TITLE as x } from "../lib/live-list-flow.js";
6
6
  function k({
7
- lock: a,
8
- isNew: s,
9
- gone: e,
10
- movingTo: l,
11
- dataAttr: n = "data-live-mark",
12
- hang: m = !1
7
+ lock: e,
8
+ isNew: i,
9
+ gone: r,
10
+ movingTo: s,
11
+ dataAttr: c = "data-live-mark",
12
+ hang: o = !1
13
13
  }) {
14
- const r = !e && l != null;
15
- if (!a && !s && !e && !r) return null;
16
- const o = e ? "gone" : r ? "moving" : a ? "lock" : "new", i = e ? x : r ? p(l) : a ? w(a) : "New — just added to this list";
17
- return /* @__PURE__ */ t(
14
+ const t = !r && s != null;
15
+ if (!e && !i && !r && !t) return null;
16
+ const f = r ? "gone" : t ? "moving" : e ? "lock" : "new", n = r ? x : t ? d(s) : e ? u(e) : "New — just added to this list";
17
+ return /* @__PURE__ */ a(
18
18
  "span",
19
19
  {
20
- [n]: o,
21
- "data-tip": i,
22
- className: `inline-flex h-4 w-4 shrink-0 items-center justify-center ${m ? "-ml-[22px]" : ""}`,
23
- children: e ? /* @__PURE__ */ t(f, { className: "h-3 w-3 text-slate-700 dark:text-slate-100", "aria-label": i }) : r ? /* @__PURE__ */ t(c, { className: "h-3 w-3 text-[#0089ad] dark:text-nvr-cyan", "aria-label": i }) : a ? /* @__PURE__ */ t(
24
- d,
20
+ [c]: f,
21
+ "data-tip": n,
22
+ className: `inline-flex h-4 w-4 shrink-0 items-center justify-center ${o ? "-ml-[22px]" : ""}`,
23
+ children: r ? /* @__PURE__ */ a(p, { className: "h-3 w-3 text-slate-700 dark:text-slate-100", "aria-label": n }) : t ? (
24
+ // A filled disc, not a bare 10 px glyph: the row is held on purpose while the group
25
+ // counts above it already moved (rt9 review: it read as a count bug).
26
+ /* @__PURE__ */ a(
27
+ "span",
28
+ {
29
+ role: "img",
30
+ "aria-label": n,
31
+ className: "inline-flex h-4 w-4 items-center justify-center rounded-full bg-[#0089ad] text-white dark:bg-nvr-cyan dark:text-[#04222c]",
32
+ children: /* @__PURE__ */ a(m, { className: "h-2.5 w-2.5", "aria-hidden": !0 })
33
+ }
34
+ )
35
+ ) : e ? /* @__PURE__ */ a(
36
+ h,
25
37
  {
26
- className: `h-3 w-3 ${a.is_mine ? "text-slate-400" : "text-amber-500"}`,
27
- "aria-label": i
38
+ className: `h-3 w-3 ${e.is_mine ? "text-slate-400" : "text-amber-500"}`,
39
+ "aria-label": n
28
40
  }
29
- ) : /* @__PURE__ */ t("span", { className: "h-1.5 w-1.5 rounded-full bg-nvr-cyan", role: "img", "aria-label": "New" })
41
+ ) : /* @__PURE__ */ a("span", { className: "h-1.5 w-1.5 rounded-full bg-nvr-cyan", role: "img", "aria-label": "New" })
42
+ }
43
+ );
44
+ }
45
+ function y({ to: e, className: i }) {
46
+ return /* @__PURE__ */ l(
47
+ "span",
48
+ {
49
+ "data-moving-chip": !0,
50
+ "data-tip": d(e),
51
+ className: `nvr-fade-in inline-flex h-[18px] max-w-[11rem] shrink-0 items-center gap-1 rounded-full bg-[#e6f8fd] px-1.5 text-[10.5px] font-medium text-[#006d8a] ring-1 ring-inset ring-[#0089ad]/25 dark:bg-[#0c2a33] dark:text-nvr-cyan dark:ring-nvr-cyan/30 ${i ?? ""}`,
52
+ children: [
53
+ /* @__PURE__ */ a(m, { className: "h-2.5 w-2.5 shrink-0", "aria-hidden": !0 }),
54
+ /* @__PURE__ */ l("span", { className: "truncate", children: [
55
+ "Moving to ",
56
+ e
57
+ ] })
58
+ ]
30
59
  }
31
60
  );
32
61
  }
33
62
  export {
34
- k as LiveRowMark
63
+ k as LiveRowMark,
64
+ y as MovingRowChip
35
65
  };