@kortix/ui 0.15.7 → 0.15.8

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 (181) hide show
  1. package/README.md +7 -7
  2. package/dist/_vendor/kortix-shared.js +36 -1
  3. package/dist/_vendor/shared/my-kortix-agent.d.ts +7 -0
  4. package/dist/_vendor/shared/pixel-mark.d.ts +18 -0
  5. package/dist/customize/connectors/catalog/connector-categories.d.ts +2 -2
  6. package/dist/customize/connectors/catalog/connector-categories.js +2 -2
  7. package/dist/customize/connectors/detail/connector-modal.js +1 -1
  8. package/dist/customize/sections/gateway-view.d.ts +1 -1
  9. package/dist/customize/sections/gateway-view.js +1 -1
  10. package/dist/customize/sections/view/account-secret-resources-panel.js +4 -2
  11. package/dist/customize/sections/view/agent-editor-basics-fields.js +1 -1
  12. package/dist/customize/sections/view/gateway/gateway-logs.d.ts +1 -1
  13. package/dist/customize/sections/view/git-view.js +1 -1
  14. package/dist/customize/sections/view/permission-editor.js +1 -1
  15. package/dist/customize/sections/view/subscription-usage.d.ts +3 -32
  16. package/dist/customize/sections/view/subscription-usage.js +2 -86
  17. package/dist/customize/shared/entity/entity-modal.js +8 -10
  18. package/dist/files/project/components/drive-toolbar.d.ts +1 -1
  19. package/dist/files/project/components/drive-toolbar.js +1 -1
  20. package/dist/files/project/store/version-store.d.ts +1 -1
  21. package/dist/files/renderers/shared/scroll-area-compat.d.ts +6 -6
  22. package/dist/files/renderers/shared/scroll-area-compat.js +7 -9
  23. package/dist/files/renderers/shared/select-compat.js +3 -7
  24. package/dist/files/viewer/file-preview-modal.d.ts +10 -11
  25. package/dist/files/viewer/file-preview-modal.js +17 -18
  26. package/dist/i18n/en.d.ts +3 -0
  27. package/dist/i18n/en.js +7 -4
  28. package/dist/index.js +1 -1
  29. package/dist/internal/account-hub/account-hub-location.js +2 -2
  30. package/dist/internal/account-hub/use-account-members.d.ts +28 -1
  31. package/dist/internal/account-hub/use-account-members.js +27 -10
  32. package/dist/internal/components/agent-mark.d.ts +1 -8
  33. package/dist/internal/components/agent-mark.js +2 -19
  34. package/dist/internal/lib/navigation/modified-click.js +2 -2
  35. package/dist/internal/lib/pixel-mark.d.ts +3 -20
  36. package/dist/internal/lib/pixel-mark.js +3 -34
  37. package/dist/internal/stores/active-space-store.d.ts +1 -1
  38. package/dist/internal/stores/browser-recents-store.d.ts +1 -1
  39. package/dist/internal/stores/current-account-store.d.ts +1 -1
  40. package/dist/internal/stores/first-chat-store.d.ts +1 -1
  41. package/dist/internal/stores/mobile-app-promo-store.d.ts +1 -1
  42. package/dist/internal/stores/session-browser-store.d.ts +1 -1
  43. package/dist/internal/stores/session-expanded-store.d.ts +1 -1
  44. package/dist/internal/stores/session-filter-store.d.ts +1 -1
  45. package/dist/internal/stores/session-history-view-store.d.ts +1 -1
  46. package/dist/internal/stores/session-hover-store.d.ts +1 -1
  47. package/dist/internal/stores/session-hover-store.js +1 -1
  48. package/dist/internal/stores/session-panel-memory-store.d.ts +1 -1
  49. package/dist/internal/stores/sound-store.d.ts +1 -1
  50. package/dist/internal/stores/tab-store.d.ts +1 -1
  51. package/dist/internal/stores/user-preferences-store.d.ts +1 -1
  52. package/dist/internal/stores/web-notification-store.d.ts +1 -1
  53. package/dist/lib/base-ui-compat.d.ts +149 -0
  54. package/dist/lib/base-ui-compat.js +339 -0
  55. package/dist/lib/portal-container.d.ts +3 -7
  56. package/dist/lib/portal-container.js +5 -3
  57. package/dist/lib/z-stack.d.ts +4 -4
  58. package/dist/lib/z-stack.js +5 -5
  59. package/dist/primitives/accordion.d.ts +36 -5
  60. package/dist/primitives/accordion.js +41 -8
  61. package/dist/primitives/alert-dialog.d.ts +33 -11
  62. package/dist/primitives/alert-dialog.js +41 -19
  63. package/dist/primitives/avatar.d.ts +5 -2
  64. package/dist/primitives/avatar.js +3 -3
  65. package/dist/primitives/badge.js +1 -1
  66. package/dist/primitives/breadcrumb.js +1 -1
  67. package/dist/primitives/button-group.js +3 -3
  68. package/dist/primitives/button.js +1 -1
  69. package/dist/primitives/checkbox.d.ts +14 -5
  70. package/dist/primitives/checkbox.js +24 -9
  71. package/dist/primitives/collapsible.d.ts +16 -4
  72. package/dist/primitives/collapsible.js +18 -7
  73. package/dist/primitives/command-core.d.ts +121 -0
  74. package/dist/primitives/command-core.js +642 -0
  75. package/dist/primitives/command.d.ts +38 -4
  76. package/dist/primitives/command.js +22 -13
  77. package/dist/primitives/context-menu.d.ts +61 -31
  78. package/dist/primitives/context-menu.js +40 -53
  79. package/dist/primitives/dialog.d.ts +48 -10
  80. package/dist/primitives/dialog.js +48 -19
  81. package/dist/primitives/disclosure.d.ts +1 -1
  82. package/dist/primitives/disclosure.js +2 -2
  83. package/dist/primitives/drawer.d.ts +28 -9
  84. package/dist/primitives/drawer.js +42 -18
  85. package/dist/primitives/dropdown-menu.d.ts +55 -33
  86. package/dist/primitives/dropdown-menu.js +46 -82
  87. package/dist/primitives/faded-scroll-area.js +2 -1
  88. package/dist/primitives/hint.js +3 -3
  89. package/dist/primitives/hover-card.d.ts +17 -5
  90. package/dist/primitives/hover-card.js +45 -8
  91. package/dist/primitives/item.js +2 -2
  92. package/dist/primitives/label.d.ts +5 -2
  93. package/dist/primitives/label.js +10 -3
  94. package/dist/primitives/menu-base.d.ts +150 -0
  95. package/dist/primitives/menu-base.js +171 -0
  96. package/dist/primitives/menu-recipe.d.ts +1 -1
  97. package/dist/primitives/menu-recipe.js +2 -7
  98. package/dist/primitives/modal.d.ts +19 -52
  99. package/dist/primitives/modal.js +24 -28
  100. package/dist/primitives/navigation-menu.d.ts +36 -11
  101. package/dist/primitives/navigation-menu.js +31 -12
  102. package/dist/primitives/popover.d.ts +31 -6
  103. package/dist/primitives/popover.js +79 -12
  104. package/dist/primitives/preview-image.d.ts +18 -7
  105. package/dist/primitives/preview-image.js +14 -11
  106. package/dist/primitives/progress.d.ts +4 -2
  107. package/dist/primitives/progress.js +4 -3
  108. package/dist/primitives/project-icon-picker.js +2 -2
  109. package/dist/primitives/radio-group.d.ts +28 -5
  110. package/dist/primitives/radio-group.js +18 -10
  111. package/dist/primitives/scroll-area.d.ts +2 -2
  112. package/dist/primitives/scroll-area.js +8 -3
  113. package/dist/primitives/select.d.ts +55 -12
  114. package/dist/primitives/select.js +93 -36
  115. package/dist/primitives/separator.d.ts +6 -2
  116. package/dist/primitives/separator.js +10 -2
  117. package/dist/primitives/sheet.d.ts +17 -10
  118. package/dist/primitives/sheet.js +19 -22
  119. package/dist/primitives/sidebar-menu-primitives.js +8 -8
  120. package/dist/primitives/slider-native.d.ts +2 -2
  121. package/dist/primitives/slider-native.js +11 -9
  122. package/dist/primitives/slider.d.ts +24 -6
  123. package/dist/primitives/slider.js +26 -24
  124. package/dist/primitives/slot.d.ts +6 -0
  125. package/dist/primitives/slot.js +7 -0
  126. package/dist/primitives/split-sheet.js +1 -1
  127. package/dist/primitives/stepper.js +1 -1
  128. package/dist/primitives/switch.d.ts +16 -3
  129. package/dist/primitives/switch.js +7 -6
  130. package/dist/primitives/tabs.d.ts +36 -20
  131. package/dist/primitives/tabs.js +131 -102
  132. package/dist/primitives/toggle.d.ts +16 -3
  133. package/dist/primitives/toggle.js +8 -3
  134. package/dist/primitives/tooltip.d.ts +24 -5
  135. package/dist/primitives/tooltip.js +32 -10
  136. package/dist/primitives/type-to-confirm-dialog.d.ts +1 -1
  137. package/dist/primitives/type-to-confirm-dialog.js +1 -1
  138. package/dist/session/composer/animated-placeholder.js +1 -1
  139. package/dist/session/composer/chat-input/chat-input-control.js +3 -3
  140. package/dist/session/composer/editor/composer-editor.js +1 -1
  141. package/dist/session/composer/menus/menu-shell.d.ts +1 -1
  142. package/dist/session/composer/menus/menu-shell.js +1 -1
  143. package/dist/session/composer/menus/mount.js +1 -1
  144. package/dist/session/composer/reasoning-effort-selector.js +1 -1
  145. package/dist/session/header/session-site-header.js +2 -2
  146. package/dist/session/header/subagent-hover-card.js +2 -2
  147. package/dist/session/media/image-preview.js +1 -1
  148. package/dist/session/models/model-selector.d.ts +1 -1
  149. package/dist/session/models/model-selector.js +18 -12
  150. package/dist/session/models/subscription-switcher.d.ts +37 -0
  151. package/dist/session/models/subscription-switcher.js +97 -0
  152. package/dist/session/models/subscription-windows.d.ts +40 -0
  153. package/dist/session/models/subscription-windows.js +86 -0
  154. package/dist/session/overrides/session-overrides-control.js +3 -3
  155. package/dist/session/panel/diff-dialog.js +1 -1
  156. package/dist/session/panel/easy/detail-view.js +3 -3
  157. package/dist/session/panel/mobile-tool-drawer.js +2 -2
  158. package/dist/session/panel/panel-fallback.js +1 -1
  159. package/dist/session/panel/session-files-explorer.d.ts +1 -1
  160. package/dist/session/panel/session-files-explorer.js +1 -1
  161. package/dist/session/thread/session-chat.js +2 -2
  162. package/dist/session/thread/session-context-message-explorer.js +1 -1
  163. package/dist/session/thread/turn-share.js +3 -4
  164. package/dist/session/tool/shared/show-helpers.js +1 -1
  165. package/dist/session/turn/message-time-label.js +1 -1
  166. package/dist/styles.css +1 -1
  167. package/dist/test-utils/intl.d.ts +3 -0
  168. package/dist/workspace/projects/modal/project-icon-field.js +9 -23
  169. package/dist/workspace/review/review-center.js +1 -1
  170. package/dist/workspace/sessions/session-row.js +1 -1
  171. package/dist/workspace/sidebar/project-session-list.js +2 -2
  172. package/dist/workspace/sidebar/session-brief-hover-card.d.ts +1 -1
  173. package/dist/workspace/sidebar/session-brief-hover-card.js +3 -3
  174. package/dist/workspace/sidebar/session-title.d.ts +2 -2
  175. package/dist/workspace/sidebar/session-title.js +2 -2
  176. package/dist/workspace/sidebar/workspace-menu-section.js +1 -1
  177. package/dist/workspace/spaces/space-links.js +1 -1
  178. package/dist/workspace/spaces/space-threads-tab.js +1 -1
  179. package/package.json +16 -35
  180. package/skills/kortix-ui/SKILL.md +1 -1
  181. package/skills/kortix-ui/references/custom-dashboard.md +1 -1
@@ -46,7 +46,7 @@ const CARD_FRAME = 'bg-popover border-border absolute inset-y-3 right-3 left-3 f
46
46
  * The prev/next row, shared by the desktop card and the mobile drawer so the
47
47
  * two never drift. Both pin it as a slim bar under the scrollable body —
48
48
  * `shrink-0` so it's always in view, never scrolled away with the content —
49
- * because horizontal swipe is out on mobile: vaul already owns the drawer's
49
+ * because horizontal swipe is out on mobile: the drawer already owns its
50
50
  * vertical gesture, and layering a horizontal recognizer inside it is a
51
51
  * conflict trap. The buttons carry mobile instead.
52
52
  */
@@ -73,7 +73,7 @@ const FOCUSABLE = 'a[href], button:not([disabled]), input:not([disabled]), selec
73
73
  * carries all three: a focused-element listener would miss most of the
74
74
  * detail's body, since that body can put focus anywhere — a code block, an
75
75
  * iframe's surrounding chrome, a button — same reasoning as the reference
76
- * browser chrome this pages next to. Desktop-only because mobile is a vaul
76
+ * browser chrome this pages next to. Desktop-only because mobile is a
77
77
  * drawer, which already owns Escape/swipe-down itself; a second listener
78
78
  * there would double-fire.
79
79
  */
@@ -246,7 +246,7 @@ export function DetailLayer({ detail, onBack, isMobile, persistentLayer, childre
246
246
  const restoreFocusRef = useRef(null);
247
247
  const wasOpenRef = useRef(false);
248
248
  // Desktop only — mobile has no keyboard to speak of, and the drawer's own
249
- // buttons (plus vaul's own Escape/swipe handling) carry it instead (see
249
+ // buttons (plus the drawer's own Escape/swipe handling) carry it instead (see
250
250
  // `DetailNav`'s comment).
251
251
  useDetailKeyboard(detail, isMobile, onBack, detailRef);
252
252
  // Once-true latch: the persistent layer costs nothing until it is first
@@ -13,8 +13,8 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
13
13
  *
14
14
  * Bodies are the same self-contained surfaces Advanced mode's panel tabs
15
15
  * mount (`SessionTerminalPanel`, `BrowserPanel`, `SessionFilesExplorer`,
16
- * `SessionAuditPanel`), so both panel modes get identical tools here. vaul
17
- * unmounts the content on close, so the terminal reconnects per open — the
16
+ * `SessionAuditPanel`), so both panel modes get identical tools here. The
17
+ * drawer unmounts the content on close, so the terminal reconnects per open — the
18
18
  * tradeoff every mobile drawer in this feature already accepts.
19
19
  */
20
20
  import { Drawer, DrawerContent, DrawerHeader, DrawerTitle } from '../../primitives/drawer.js';
@@ -14,7 +14,7 @@ import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-run
14
14
  *
15
15
  * It renders nothing while a side panel is mounted. See `panel-fallback-store.ts`.
16
16
  */
17
- import { VisuallyHidden } from '@radix-ui/react-visually-hidden';
17
+ import { VisuallyHidden } from '../../lib/base-ui-compat.js';
18
18
  import { lazy, Suspense, useEffect } from 'react';
19
19
  import { FilePreviewHost } from '../../files/file-preview-host.js';
20
20
  import { useTranslations } from '../../i18n/index.js';
@@ -6,7 +6,7 @@ export type { SessionPanelMode };
6
6
  * • All files — the Drive-style explorer pointed at the live sandbox.
7
7
  * • Changes — the diff for everything this session changed.
8
8
  *
9
- * It is a plain Radix `Tabs`. It used to be a hand-rolled tablist in a
9
+ * It is a plain `Tabs`. It used to be a hand-rolled tablist in a
10
10
  * `session-version-header.tsx` that reimplemented what `tabs.tsx` already
11
11
  * does — roving `tabIndex`, arrow/Home/End key handling, an absolutely
12
12
  * positioned underline `<span>`, and `panelId`/`sessionVersionTabId` threaded
@@ -23,7 +23,7 @@ import { useEffect, useRef, useState } from 'react';
23
23
  * • All files — the Drive-style explorer pointed at the live sandbox.
24
24
  * • Changes — the diff for everything this session changed.
25
25
  *
26
- * It is a plain Radix `Tabs`. It used to be a hand-rolled tablist in a
26
+ * It is a plain `Tabs`. It used to be a hand-rolled tablist in a
27
27
  * `session-version-header.tsx` that reimplemented what `tabs.tsx` already
28
28
  * does — roving `tabIndex`, arrow/Home/End key handling, an absolutely
29
29
  * positioned underline `<span>`, and `panelId`/`sessionVersionTabId` threaded
@@ -3039,7 +3039,7 @@ export function SessionChat({ sessionId, projectSessionId, sessionState, project
3039
3039
  // real consumed-signal is the `@`/`/` menu having been open at capture
3040
3040
  // time. shouldCountEscape (esc-to-stop.ts) owns the decision.
3041
3041
  const active = document.activeElement;
3042
- const focusInOverlay = active?.closest('[role="dialog"],[role="alertdialog"],[role="menu"],[data-radix-popper-content-wrapper]') != null;
3042
+ const focusInOverlay = active?.closest('[role="dialog"],[role="alertdialog"],[role="menu"],[data-kortix-floating]') != null;
3043
3043
  const fromComposerEditor = e.target instanceof Element && e.target.closest(COMPOSER_EDITOR_SELECTOR) !== null;
3044
3044
  if (!shouldCountEscape({
3045
3045
  fromComposerEditor,
@@ -3723,7 +3723,7 @@ export function SessionChat({ sessionId, projectSessionId, sessionState, project
3723
3723
  }
3724
3724
  return (
3725
3725
  // A read-only view (the sub-session modal) offers no fix inside a tool card.
3726
- _jsx(ReadOnlySessionContext.Provider, { value: !!readOnly, children: _jsx(AgentActivateContext.Provider, { value: agentActivate, children: _jsx(SessionPromptContext.Provider, { value: readOnly ? null : sendSessionPrompt, children: _jsx(ProjectFilesProvider, { value: { projectId: projectId ?? '', ref: outcomesBaseRef, defaultBranch: outcomesBaseRef }, children: _jsxs(ComposerDropZone, { className: cn('relative flex h-full flex-col',
3726
+ _jsx(ReadOnlySessionContext.Provider, { value: !!readOnly, children: _jsx(AgentActivateContext.Provider, { value: agentActivate, children: _jsx(SessionPromptContext.Provider, { value: readOnly ? null : sendSessionPrompt, children: _jsx(ProjectFilesProvider, { value: { projectId: projectId ?? '', ref: outcomesBaseRef, defaultBranch: outcomesBaseRef }, children: _jsxs(ComposerDropZone, { className: cn('relative flex h-full flex-col', 'pb-[env(safe-area-inset-bottom)]', // audit:allow device safe-area inset, not a spacing step — the composer column lifts above the home indicator in the installed PWA; desktop reports a 0px inset
3727
3727
  // Transparent in the welcome state so the root-level full-bleed wallpaper
3728
3728
  // (portaled into SessionLayout) reads through; solid once real content
3729
3729
  // takes over. Same base color either way, so non-welcome is unchanged.
@@ -71,7 +71,7 @@ export function CopyAllButton({ value, copyLabel, copiedLabel, }) {
71
71
  // ============================================================================
72
72
  // Raw message accordion item
73
73
  // ============================================================================
74
- /** Stringifies only while its accordion item is open — Radix unmounts closed content. */
74
+ /** Stringifies only while its accordion item is open — the accordion unmounts closed content. */
75
75
  function RawMessageJson({ value }) {
76
76
  const json = useMemo(() => JSON.stringify(value, null, 2), [value]);
77
77
  return (_jsxs("div", { className: "relative", children: [_jsx("pre", { className: "bg-muted/40 max-h-[400px] overflow-x-auto overflow-y-auto rounded-md p-3 font-mono text-xs break-all whitespace-pre-wrap select-text", children: json }), _jsx("div", { className: "absolute top-2 right-2", children: _jsx(CopyButton, { code: json, size: "sm" }) })] }));
@@ -15,17 +15,16 @@ import { getTurnShare, shareTurn, unshareTurn } from '@kortix/sdk';
15
15
  import { useProjectSession } from '@kortix/sdk/react';
16
16
  import { CheckIcon, ShareNetworkIcon, WarningCircleIcon } from '@phosphor-icons/react';
17
17
  import { useMutation, useQuery, useQueryClient } from '@tanstack/react-query';
18
- import { RadioGroup as RadioGroupPrimitive } from 'radix-ui';
19
18
  import { useEffect, useRef, useState } from 'react';
20
- import { Copy } from '../../icons/copy.js';
21
19
  import { useTranslations } from '../../i18n/index.js';
20
+ import { Copy } from '../../icons/copy.js';
22
21
  import { cn } from '../../lib/utils.js';
23
22
  import { Button } from '../../primitives/button.js';
24
23
  import Hint from '../../primitives/hint.js';
25
24
  import { Input } from '../../primitives/input.js';
26
25
  import { Label } from '../../primitives/label.js';
27
26
  import { Modal, ModalContent, ModalTitle } from '../../primitives/modal.js';
28
- import { RadioGroup } from '../../primitives/radio-group.js';
27
+ import { RadioGroup, RadioGroupItemBase } from '../../primitives/radio-group.js';
29
28
  import { Separator } from '../../primitives/separator.js';
30
29
  import { Switch } from '../../primitives/switch.js';
31
30
  import { successToast } from '../../primitives/toast.js';
@@ -158,5 +157,5 @@ const RESPONSE_LINES_UNDER_PROMPT = ['w-full', 'w-5/6', 'w-2/3'];
158
157
  * `rounded-sm` (14 - 7.4 ≈ 6.6px), so the corners stay concentric.
159
158
  */
160
159
  function ScopeTile({ value, title, hint, withPrompt, }) {
161
- return (_jsxs(RadioGroupPrimitive.Item, { value: value, className: cn('border-border flex flex-col gap-2.5 rounded-xl border p-2 text-left', 'hover:bg-hover transition-colors', 'data-[state=checked]:border-foreground', 'focus-visible:ring-ring outline-none focus-visible:ring-2', 'disabled:pointer-events-none disabled:opacity-50'), children: [_jsxs("span", { "aria-hidden": "true", className: "bg-background flex h-24 flex-col gap-1.5 rounded-sm p-3", children: [withPrompt ? _jsx("span", { className: "bg-muted ml-auto h-4 w-3/5 rounded-sm" }) : null, (withPrompt ? RESPONSE_LINES_UNDER_PROMPT : RESPONSE_LINES).map((width, index) => (_jsx("span", { className: cn('bg-border h-1.5 rounded-full', width) }, index)))] }), _jsxs("span", { className: "flex flex-col gap-0.5 px-1 pb-1", children: [_jsx("span", { className: "text-foreground text-sm font-medium", children: title }), _jsx("span", { className: "text-muted-foreground text-xs", children: hint })] })] }));
160
+ return (_jsxs(RadioGroupItemBase, { value: value, className: cn('border-border flex flex-col gap-2.5 rounded-xl border p-2 text-left', 'hover:bg-hover transition-colors', 'data-[state=checked]:border-foreground', 'focus-visible:ring-ring outline-none focus-visible:ring-2', 'disabled:pointer-events-none disabled:opacity-50 data-disabled:pointer-events-none data-disabled:opacity-50'), children: [_jsxs("span", { "aria-hidden": "true", className: "bg-background flex h-24 flex-col gap-1.5 rounded-sm p-3", children: [withPrompt ? _jsx("span", { className: "bg-muted ml-auto h-4 w-3/5 rounded-sm" }) : null, (withPrompt ? RESPONSE_LINES_UNDER_PROMPT : RESPONSE_LINES).map((width, index) => (_jsx("span", { className: cn('bg-border h-1.5 rounded-full', width) }, index)))] }), _jsxs("span", { className: "flex flex-col gap-0.5 px-1 pb-1", children: [_jsx("span", { className: "text-foreground text-sm font-medium", children: title }), _jsx("span", { className: "text-muted-foreground text-xs", children: hint })] })] }));
162
161
  }
@@ -287,7 +287,7 @@ export function showHoverDetails(target) {
287
287
  */
288
288
  export function ShowHoverCard({ target, children, }) {
289
289
  const [open, setOpen] = useState(false);
290
- // A press means "I am clicking", not "tell me about this file". Radix also
290
+ // A press means "I am clicking", not "tell me about this file". The card also
291
291
  // opens on focus, which a click gives the tab, so without this the card pops
292
292
  // up right after every tab switch. Cleared when the pointer leaves.
293
293
  const pressed = useRef(false);
@@ -98,6 +98,6 @@ export function MessageTimeLabel({ timestamp, className }) {
98
98
  // than ellipse.
99
99
  //
100
100
  // `Hint` wraps the `<time>` element directly rather than this component, so
101
- // Radix's `asChild` trigger clones a real DOM node and has a ref to attach.
101
+ // the `asChild` trigger clones a real DOM node and has a ref to attach.
102
102
  return (_jsx(Hint, { label: rendered.exact, side: "top", align: "center", children: _jsx("time", { dateTime: rendered.iso, "data-print-exact": rendered.exact, suppressHydrationWarning: true, className: cn('tabular-nums select-none', className), children: rendered.label }) }));
103
103
  }