@botiverse/raft-ui 0.48.0 → 0.49.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.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  import { cn } from "./cn.mjs";
2
- import { $i as useMobileViewport, $r as DropdownMenuFooter, $t as MessageReactionTooltipName, A as useDragSensors, Aa as useThemeScopeProps, Ai as Checkbox, An as MessageItemGutter, Ar as PopoverContent, At as MessageMultiSelectToolbar, Bi as ListRowMeta, Bn as RadioGroup, Bt as MessageReferenceUnavailable, Ca as Button, Ci as PanelSection, Cn as MessageItemContent, Ct as MessageEmbedHeader, Di as ScrollAreaScrollbar, Dn as MessageItemSearchMatch, Dr as PopoverBackdrop, Dt as MessageTextSelectionToolbarSeparator, Ea as defaultNativeButton, Ei as ScrollAreaCorner, En as MessageItemFooter, Er as PopoverArrow, Et as MessageTextSelectionToolbarButton, Fa as useStackedActions, Fi as ListRowBottom, Fn as AvatarFallback, Fr as PopoverSeparator, Ft as MessageReferenceLabel, Gi as TooltipContent, Gn as InputGroupAddon, Gt as MessageReactionErrorIndicator, H as useLiftContainer, Hi as ListRowTop, Hn as RadioGroupItem, Ht as MessageReactionAddButton, Ia as controlIconInset, Ii as ListRowChevron, In as AvatarGroup, Ir as PopoverTitle, It as MessageReferencePending, J as dragInstructions, Ji as TooltipTrigger, Jr as MobileNavRoot, Jt as MessageReactionPickerStatic, K as SILENT_DRAG_ANNOUNCEMENTS, Ki as TooltipPortal, Kn as InputGroupInput, Kr as MobileNavItem, Kt as MessageReactionGlyph, L as DragLift, La as headEdgePull, Li as ListRowDescription, Lr as PopoverTrigger, Lt as MessageReferenceReadMark, Ma as ThemeStateContext, Mi as PRESENCE_COLOR, Mn as searchHit, Mr as PopoverHeader, Mt as MessageReferenceChip, Na as tv, Ni as ListRow, Nn as Avatar, Nr as PopoverPopup, Oa as useParentOverlayKind, Oi as ScrollAreaThumb, On as MessageItemAvatarSlot, Ot as MessageMultiSelect, Pa as stackedActions, Pi as ListRowBody, Pn as AvatarBadge, Pr as PopoverPortal, Pt as MessageReferenceIndicator, Qn as PreviewCard, Qr as DropdownMenuContent, Qt as MessageReactionTooltipMeta, Ra as headEdges, Ri as ListRowGroup, Rn as AvatarGroupCount, Rr as PopoverViewport, Rt as MessageReferenceSuffix, S as Skeleton, Sa as DialogSheetReset, Si as PanelScrollViewport, Sn as MessageItemBody, St as MessageEmbedFooter, Ta as Spinner, Ti as ScrollAreaContent, Tn as MessageItemEmbedded, Tt as MessageTextSelectionToolbar, Ui as ListRowValue, Un as chipRemoveBase, Ut as MessageReactionChip, V as useDragSiblingTransition, Vi as ListRowTitle, Vn as RadioGroupIndicator, Vt as inlineChip, W as drag, Wi as Tooltip, Wn as InputGroup, Wt as MessageReactionCount, Xi as Badge, Xr as DropdownMenuCheckboxItem, Xt as MessageReactionQuickRow, Yi as usePopupCollisionPadding, Yr as DropdownMenu, Yt as MessageReactionQuickButton, Zr as DropdownMenuCheckboxItemIndicator, Zt as MessageReactionTooltipContent, _ as InboxItemTrailing, _a as useMergedRef, _i as Panel, _n as MessageItemSenderBadges, _t as MessageQuotedPreviewThread, a as InboxItemContext, aa as DialogFooter, ai as DropdownMenuPopup, an as MessageItemReadReceipt, at as MessageQuotedPreview, b as useLatestRef, ba as TextLinkExternalIcon, bi as PanelHeaderRoot, bn as MessageItemTime, bt as MessageEmbed, c as InboxItemLeading, ca as DialogNav, ci as DropdownMenuRadioItem, cn as MessageItemToolbarButton, cr as PreviewCardPopup, ct as MessageQuotedPreviewAuthor, d as InboxItemMetadata, di as DropdownMenuShortcut, dr as PreviewCardTitle, dt as MessageQuotedPreviewAuthorName, ea as Dialog, ei as DropdownMenuItem, en as MessageReactionTooltipNameText, er as PreviewCardArrow, et as MessageListDateDivider, f as InboxItemSelection, fa as DialogSurface, fi as DropdownMenuSubmenu, fr as PreviewCardTrigger, ft as MessageQuotedPreviewChannel, g as InboxItemTitle, ga as panelToggleAction, gi as KbdGroup, gn as MessageItemSender, gt as MessageQuotedPreviewText, h as InboxItemTimestamp, ha as PanelAction, hi as Kbd, hn as MessageItemMeta, ht as MessageQuotedPreviewLoading, i as InboxItemContent, ia as DialogDescription, in as MessageItemBadgeSeparator, it as MessageList, ja as useTheme, ji as CheckboxIndicator, jn as MessageItem, jr as PopoverDescription, jt as MessageMultiSelectToolbarActions, ka as withOverlayLayer, ki as ScrollAreaViewport, kn as MessageItemContinuationTime, kr as PopoverClose, kt as MessageMultiSelectCheckbox, l as InboxItemMarks, la as DialogOverlay, li as DropdownMenuRadioItemIndicator, lr as PreviewCardPortal, m as InboxItemSubtitle, ma as DialogTrigger, mi as DropdownMenuTrigger, mn as MessageItemInlineStatus, mt as MessageQuotedPreviewHeader, n as InboxItemActions, na as DialogClose, ni as DropdownMenuItemLabel, nn as MessageReactionTooltipSeparator, nr as PreviewCardContent, nt as MessageListHistoryLimited, o as InboxItemHeading, oi as DropdownMenuPortal, on as MessageItemSavedIndicator, or as PreviewCardHeader, ot as MessageQuotedPreviewAttachment, p as InboxItemSender, pa as DialogTitle, pi as DropdownMenuSubmenuTrigger, pn as MessageItemHeader, pt as MessageQuotedPreviewContent, q as createDragAnnouncements, qi as TooltipProvider, qn as useOverflowTitle, qr as MobileNavLabel, qt as MessageReactionPickerContent, r as InboxItemBody, ra as DialogContent, ri as DropdownMenuLabel, rn as MessageItemBadge, rr as PreviewCardDescription, rt as MessageListNotice, s as InboxItemHoverTarget, sa as DialogHeader, si as DropdownMenuRadioGroup, sn as MessageItemToolbar, st as MessageQuotedPreviewAttachments, t as InboxItem, ta as DialogBody, ti as DropdownMenuItemCount, tn as MessageReactionTooltipNames, tt as MessageListEndFade, u as InboxItemMessage, ua as DialogPortal, ui as DropdownMenuSeparator, ur as PreviewCardSeparator, ut as MessageQuotedPreviewAuthorMeta, v as InboxItemTrigger, va as useTapActivation, vi as PanelBody, vn as MessageItemSenderButton, vt as MessageQuotedPreviewTimestamp, w as DropPlaceholder, wa as buttonVariants, wi as ScrollArea, wn as MessageItemEdited, wr as Popover, wt as messageEmbed, x as hudTextAction, xa as textLinkVariants, xi as PanelScrollContent, xn as MessageItemAttachments, xt as MessageEmbedContent, ya as TextLink, yi as PanelFooter, yn as MessageItemSenderGroup, yt as MessageQuotedPreviewUnavailable, za as decisionWidth, zi as ListRowIcon, zn as AvatarImage, zt as MessageReferenceText } from "./inbox-item-DbZusMRA.mjs";
2
+ import { $i as Badge, $r as DropdownMenuFooter, $t as MessageReactionTooltipName, A as useDragSensors, Ai as Checkbox, An as MessageItemGutter, Ar as PopoverContent, At as MessageMultiSelectToolbar, Ba as headEdgePull, Bi as ListRowMeta, Bn as RadioGroup, Bt as MessageReferenceUnavailable, Ca as TextLinkExternalIcon, Ci as PanelSection, Cn as MessageItemContent, Ct as MessageEmbedHeader, Da as buttonVariants, Di as ScrollAreaScrollbar, Dn as MessageItemSearchMatch, Dr as PopoverBackdrop, Dt as MessageTextSelectionToolbarSeparator, Ea as Button, Ei as ScrollAreaCorner, En as MessageItemFooter, Er as PopoverArrow, Et as MessageTextSelectionToolbarButton, Fa as ThemeStateContext, Fi as ListRowBottom, Fn as AvatarFallback, Fr as PopoverSeparator, Ft as MessageReferenceLabel, Gi as listCellFocus, Gn as InputGroupAddon, Gt as MessageReactionErrorIndicator, H as useLiftContainer, Ha as listColumnMargin, Hi as ListRowTop, Hn as RadioGroupItem, Ht as MessageReactionAddButton, Ia as tv, Ii as ListRowChevron, In as AvatarGroup, Ir as PopoverTitle, It as MessageReferencePending, J as dragInstructions, Ji as TooltipContent, Jr as MobileNavRoot, Jt as MessageReactionPickerStatic, K as SILENT_DRAG_ANNOUNCEMENTS, Ki as listCellStates, Kn as InputGroupInput, Kr as MobileNavItem, Kt as MessageReactionGlyph, L as DragLift, La as stackedActions, Li as ListRowDescription, Lr as PopoverTrigger, Lt as MessageReferenceReadMark, Ma as withOverlayLayer, Mi as PRESENCE_COLOR, Mn as searchHit, Mr as PopoverHeader, Mt as MessageReferenceChip, Na as useThemeScopeProps, Ni as ListRow, Nn as Avatar, Nr as PopoverPopup, Oa as Spinner, Oi as ScrollAreaThumb, On as MessageItemAvatarSlot, Ot as MessageMultiSelect, Pa as useTheme, Pi as ListRowBody, Pn as AvatarBadge, Pr as PopoverPortal, Pt as MessageReferenceIndicator, Qi as usePopupCollisionPadding, Qn as PreviewCard, Qr as DropdownMenuContent, Qt as MessageReactionTooltipMeta, Ra as useStackedActions, Ri as ListRowGroup, Rn as AvatarGroupCount, Rr as PopoverViewport, Rt as MessageReferenceSuffix, S as Skeleton, Sa as TextLink, Si as PanelScrollViewport, Sn as MessageItemBody, St as MessageEmbedFooter, Ta as DialogSheetReset, Ti as ScrollAreaContent, Tn as MessageItemEmbedded, Tt as MessageTextSelectionToolbar, Ua as decisionWidth, Ui as ListRowValue, Un as chipRemoveBase, Ut as MessageReactionChip, V as useDragSiblingTransition, Va as headEdges, Vi as ListRowTitle, Vn as RadioGroupIndicator, Vt as inlineChip, W as drag, Wi as listCell, Wn as InputGroup, Wt as MessageReactionCount, Xi as TooltipProvider, Xr as DropdownMenuCheckboxItem, Xt as MessageReactionQuickRow, Yi as TooltipPortal, Yr as DropdownMenu, Yt as MessageReactionQuickButton, Zi as TooltipTrigger, Zr as DropdownMenuCheckboxItemIndicator, Zt as MessageReactionTooltipContent, _ as InboxItemTrailing, _a as DialogTrigger, _i as Panel, _n as MessageItemSenderBadges, _t as MessageQuotedPreviewThread, a as InboxItemContext, aa as DialogClose, ai as DropdownMenuPopup, an as MessageItemReadReceipt, at as MessageQuotedPreview, b as useLatestRef, ba as useMergedRef, bi as PanelHeaderRoot, bn as MessageItemTime, bt as MessageEmbed, c as InboxItemLeading, ca as DialogFooter, ci as DropdownMenuRadioItem, cn as MessageItemToolbarButton, cr as PreviewCardPopup, ct as MessageQuotedPreviewAuthor, d as InboxItemMetadata, da as DialogNav, di as DropdownMenuShortcut, dr as PreviewCardTitle, dt as MessageQuotedPreviewAuthorName, ei as DropdownMenuItem, en as MessageReactionTooltipNameText, er as PreviewCardArrow, et as MessageListDateDivider, f as InboxItemSelection, fa as DialogOverlay, fi as DropdownMenuSubmenu, fr as PreviewCardTrigger, ft as MessageQuotedPreviewChannel, g as InboxItemTitle, ga as DialogTitle, gi as KbdGroup, gn as MessageItemSender, gt as MessageQuotedPreviewText, h as InboxItemTimestamp, ha as DialogSurface, hi as Kbd, hn as MessageItemMeta, ht as MessageQuotedPreviewLoading, i as InboxItemContent, ia as DialogBody, in as MessageItemBadgeSeparator, it as MessageList, ja as useParentOverlayKind, ji as CheckboxIndicator, jn as MessageItem, jr as PopoverDescription, jt as MessageMultiSelectToolbarActions, ka as defaultNativeButton, ki as ScrollAreaViewport, kn as MessageItemContinuationTime, kr as PopoverClose, kt as MessageMultiSelectCheckbox, l as InboxItemMarks, li as DropdownMenuRadioItemIndicator, lr as PreviewCardPortal, m as InboxItemSubtitle, mi as DropdownMenuTrigger, mn as MessageItemInlineStatus, mt as MessageQuotedPreviewHeader, n as InboxItemActions, na as useMobileViewport, ni as DropdownMenuItemLabel, nn as MessageReactionTooltipSeparator, nr as PreviewCardContent, nt as MessageListHistoryLimited, o as InboxItemHeading, oa as DialogContent, oi as DropdownMenuPortal, on as MessageItemSavedIndicator, or as PreviewCardHeader, ot as MessageQuotedPreviewAttachment, p as InboxItemSender, pa as DialogPortal, pi as DropdownMenuSubmenuTrigger, pn as MessageItemHeader, pt as MessageQuotedPreviewContent, q as createDragAnnouncements, qi as Tooltip, qn as useOverflowTitle, qr as MobileNavLabel, qt as MessageReactionPickerContent, r as InboxItemBody, ra as Dialog, ri as DropdownMenuLabel, rn as MessageItemBadge, rr as PreviewCardDescription, rt as MessageListNotice, s as InboxItemHoverTarget, sa as DialogDescription, si as DropdownMenuRadioGroup, sn as MessageItemToolbar, st as MessageQuotedPreviewAttachments, t as InboxItem, ti as DropdownMenuItemCount, tn as MessageReactionTooltipNames, tt as MessageListEndFade, u as InboxItemMessage, ua as DialogHeader, ui as DropdownMenuSeparator, ur as PreviewCardSeparator, ut as MessageQuotedPreviewAuthorMeta, v as InboxItemTrigger, va as PanelAction, vi as PanelBody, vn as MessageItemSenderButton, vt as MessageQuotedPreviewTimestamp, w as DropPlaceholder, wa as textLinkVariants, wi as ScrollArea, wn as MessageItemEdited, wr as Popover, wt as messageEmbed, x as hudTextAction, xa as useTapActivation, xi as PanelScrollContent, xn as MessageItemAttachments, xt as MessageEmbedContent, ya as panelToggleAction, yi as PanelFooter, yn as MessageItemSenderGroup, yt as MessageQuotedPreviewUnavailable, za as controlIconInset, zi as ListRowIcon, zn as AvatarImage, zt as MessageReferenceText } from "./inbox-item-DHJOrxB8.mjs";
3
3
  import { Dialog as Dialog$1 } from "@base-ui/react/dialog";
4
4
  import { AlertTriangle, Bell, Check, CheckCircle2, ChevronDown, ChevronLeft, ChevronRight, CircleCheck, Copy, FileText, Image, Info, TriangleAlert, Upload, X, Zap } from "lucide-react";
5
5
  import { Children, cloneElement, createContext, createElement, isValidElement, use, useCallback, useContext, useEffect, useId, useImperativeHandle, useLayoutEffect, useMemo, useRef, useState, useSyncExternalStore } from "react";
@@ -1402,6 +1402,7 @@ function CopyableCodeActionIcon({ copied }) {
1402
1402
  const sidebarRecipe = tv({ slots: {
1403
1403
  sidebarRoot: [
1404
1404
  "relative flex size-full min-h-0 select-none flex-col",
1405
+ listColumnMargin,
1405
1406
  "has-[>[data-slot=sidebar-live-activity]_[data-slot=live-agent-activity-bar]]:overflow-clip",
1406
1407
  "bg-layer-sidebar text-foreground max-md:bg-layer-canvas",
1407
1408
  "border-line-seam md:border-r",
@@ -1409,20 +1410,20 @@ const sidebarRecipe = tv({ slots: {
1409
1410
  ],
1410
1411
  sidebarHeader: [
1411
1412
  "flex items-center",
1412
- "h-(--shell-header-height,56px) shrink-0 gap-2 border-b border-line-seam px-5",
1413
+ "h-(--shell-header-height,56px) shrink-0 gap-2 border-b border-line-seam px-(--column-margin)",
1413
1414
  "bg-layer-sidebar text-foreground",
1414
- "max-md:bg-layer-frame max-md:px-4 max-md:text-foreground-on-frame",
1415
+ "max-md:bg-layer-frame max-md:text-foreground-on-frame",
1415
1416
  headEdgePull,
1416
1417
  "[@media(max-height:600px)]:h-12"
1417
1418
  ],
1418
1419
  sidebarHeaderMask: ["pointer-events-none absolute inset-x-0 top-0 -z-10 hidden"],
1419
1420
  sidebarHeaderMaskLayer: ["absolute inset-x-0 top-0"],
1420
1421
  sidebarHeaderTitle: ["truncate font-bold", "font-sans text-headline text-foreground max-md:text-foreground-on-frame"],
1421
- sidebarGroupLabel: ["px-2 pt-4 pb-1.5", "font-sans text-footnote font-bold normal-case tracking-normal text-foreground-hint"],
1422
+ sidebarGroupLabel: ["px-5 pt-4 pb-0", "font-sans text-footnote font-bold normal-case tracking-normal text-foreground-hint"],
1422
1423
  sidebarBody: ["relative flex min-h-0 flex-1 overflow-hidden", "bg-layer-sidebar max-md:bg-layer-canvas"],
1423
1424
  sidebarContent: ["relative flex min-h-0 min-w-0 flex-1"],
1424
1425
  sidebarViewport: ["size-full min-h-0 flex-1 overflow-x-hidden overflow-y-auto"],
1425
- sidebarContentInner: ["min-h-full min-w-0 w-full px-2", "pt-2 pb-(--sidebar-content-bottom,8px)"],
1426
+ sidebarContentInner: ["min-h-full min-w-0 w-full", "pt-2 pb-(--sidebar-content-bottom,8px)"],
1426
1427
  sidebarScrollbar: [
1427
1428
  "z-30 flex w-3 justify-center py-1 opacity-0 transition-opacity duration-150",
1428
1429
  "pointer-events-none",
@@ -1660,16 +1661,16 @@ function SidebarMenuCount({ className, render, ...props }) {
1660
1661
  const sidebarItemRecipe = tv({
1661
1662
  slots: {
1662
1663
  sidebarItem: [
1663
- "group/sidebar-item flex w-full items-center px-2 text-left",
1664
- "transition-colors",
1665
- "my-px h-9 gap-2 rounded-control border-[1.5px] border-transparent py-0 pr-2.5 pl-2",
1664
+ "group/sidebar-item flex w-full items-center text-left",
1665
+ listCell,
1666
+ "h-[38px] gap-2 rounded-none border-0 py-0",
1666
1667
  "md:py-0 md:[@media(max-height:600px)]:py-0",
1667
- "max-md:h-auto max-md:min-h-11 max-md:py-[8.5px]",
1668
+ "max-md:h-auto max-md:min-h-11 max-md:py-2.5",
1668
1669
  "font-sans text-subhead font-medium text-foreground",
1669
1670
  "max-md:text-body max-md:font-semibold",
1670
- "data-active:border-sticker-ink data-active:bg-selected data-active:font-bold data-active:text-sticker-ink data-active:ring-[1.5px] data-active:ring-sticker-edge",
1671
- "not-data-active:data-[tone=muted]:text-foreground-muted not-data-active:data-[tone=away]:text-foreground-hint",
1672
- "outline-none"
1671
+ "data-active:font-bold data-active:text-sticker-ink",
1672
+ "data-active:before:bg-selected data-active:before:inset-ring-[1.5px] data-active:before:inset-ring-sticker-ink data-active:before:ring-[1.5px] data-active:before:ring-sticker-edge",
1673
+ "not-data-active:data-[tone=muted]:text-foreground-muted not-data-active:data-[tone=away]:text-foreground-hint"
1673
1674
  ],
1674
1675
  sidebarItemIcon: [
1675
1676
  "flex shrink-0 items-center justify-center",
@@ -1698,7 +1699,7 @@ const sidebarItemRecipe = tv({
1698
1699
  sidebarItemStatus: ["shrink-0", "inline-flex items-center"],
1699
1700
  sidebarItemIndicator: [
1700
1701
  "shrink-0 items-center justify-center gap-0",
1701
- "[&:has(svg)]:px-0",
1702
+ "has-[svg]:px-0",
1702
1703
  "[&_svg]:shrink-0 [&_svg]:translate-y-0",
1703
1704
  "size-5 min-w-5 rounded-sticker border-0 p-0",
1704
1705
  "bg-you text-sticker-ink inset-ring-[1.5px] inset-ring-sticker-ink ring-[1.5px] ring-sticker-edge",
@@ -1724,9 +1725,10 @@ const sidebarItemRecipe = tv({
1724
1725
  variants: {
1725
1726
  interactive: {
1726
1727
  true: { sidebarItem: [
1727
- "hover:bg-fill-subtle active:bg-fill-medium not-data-active:data-popup-open:bg-fill-subtle",
1728
- "data-active:active:overlay-sticker-medium",
1729
- "focus-visible:shadow-focus"
1728
+ listCellStates,
1729
+ "data-active:active:before:overlay-sticker-medium",
1730
+ "not-data-active:focus-visible:keyboard:before:inset-ring-2 not-data-active:focus-visible:keyboard:before:inset-ring-foreground",
1731
+ "data-active:focus-visible:keyboard:before:shadow-[inset_0_0_0_3.5px_var(--foreground)]"
1730
1732
  ] },
1731
1733
  false: { sidebarItem: "cursor-default" }
1732
1734
  },
@@ -1734,7 +1736,7 @@ const sidebarItemRecipe = tv({
1734
1736
  false: {},
1735
1737
  true: { sidebarItem: [
1736
1738
  "h-auto items-start whitespace-normal",
1737
- "min-h-9 py-[6.5px] md:py-[6.5px] md:[@media(max-height:600px)]:py-[6.5px]",
1739
+ "min-h-[38px] py-[9px] md:py-[9px] md:[@media(max-height:600px)]:py-[9px]",
1738
1740
  "**:data-[slot=sidebar-item-channel-icon]:h-lh **:data-[slot=sidebar-item-icon]:h-lh",
1739
1741
  "**:data-[slot=sidebar-item-meta-icon]:h-lh",
1740
1742
  "*:data-[slot=avatar]:mt-[calc((1lh-19px)/2)]"
@@ -2499,16 +2501,16 @@ function SidebarItemThreadCount({ children, className, label = "threads with new
2499
2501
  //#region src/components/sidebar/sidebar-section.recipe.ts
2500
2502
  const sidebarSectionRecipe = tv({ slots: {
2501
2503
  sidebarSection: ["group/section", "px-0"],
2502
- sidebarList: [],
2504
+ sidebarList: ["flex flex-col gap-0.5 py-2"],
2503
2505
  sidebarSectionEmpty: [
2504
- "px-2 py-1.5",
2506
+ "px-5 py-2",
2505
2507
  "font-sans text-footnote",
2506
2508
  "text-foreground-hint"
2507
2509
  ],
2508
2510
  sidebarSectionHeader: [
2509
2511
  "flex items-center justify-between",
2510
2512
  "group/section-header",
2511
- "mt-0 mb-0 h-auto gap-2 px-2 pt-4 pb-1.5"
2513
+ "my-0 h-auto gap-2 px-5 pt-4 pb-0"
2512
2514
  ],
2513
2515
  sidebarSectionDisclosure: [
2514
2516
  "flex min-w-0 flex-1 items-center",
@@ -11913,8 +11915,8 @@ function PanelToggleAction({ className, ...props }) {
11913
11915
  * A notice strip that runs the full width of a panel, under its head (a
11914
11916
  * runtime error, a setting that failed to save). It is a region of its own,
11915
11917
  * so it is closed by the region seam, the same line the head draws above it
11916
- * — never the lighter in-region divider. Its edges are the panel's (20 / 16
11917
- * on a phone), and its trailing actions overhang the padding so a 32px
11918
+ * — never the lighter in-region divider. Its edges are the panel's (`--column-margin`:
11919
+ * 20 / 16 on a phone, 20 in a column of list cells), and its trailing actions overhang the padding so a 32px
11918
11920
  * button sits on the first text line instead of making the strip taller.
11919
11921
  *
11920
11922
  * Inside a card or a dialog, where a notice is part of the content, use
@@ -11924,7 +11926,7 @@ const panelNotice = tv({
11924
11926
  slots: {
11925
11927
  root: [
11926
11928
  "flex shrink-0 items-start",
11927
- "min-h-10 gap-2.5 border-b border-line-seam px-5 py-2.5 max-md:px-4",
11929
+ "min-h-10 gap-2.5 border-b border-line-seam px-(--column-margin) py-2.5",
11928
11930
  "font-sans text-callout font-semibold text-foreground",
11929
11931
  "[&>svg]:lead-icon",
11930
11932
  "*:data-[slot=spinner]:lead-icon *:data-[slot=spinner]:w-4 *:data-[slot=spinner]:leading-[inherit]"
@@ -16100,10 +16102,58 @@ function LegacyTaskPanelMetaValue({ className, render, ...props }) {
16100
16102
  });
16101
16103
  }
16102
16104
  //#endregion
16105
+ //#region src/lib/use-scrollbar-size.ts
16106
+ /**
16107
+ * Publishes a scroller's classic scrollbar width as `--scrollbar-size` on the
16108
+ * scroller, for the list cells inside it (lib/list-cell.ts): a cell gives
16109
+ * that much of its 8px end inset back, so its fill sits 8px from both outer
16110
+ * edges of the list whether the scrollbar takes room (a classic scrollbar,
16111
+ * `scrollbar-list`) or not (an overlay scrollbar: 0). CSS alone can't tell
16112
+ * the two apart. The width is kept current while the scroller or one of its
16113
+ * direct children resizes, which is when a scrollbar comes and goes: content
16114
+ * deeper down that grows also grows the child that holds it. A child whose
16115
+ * box keeps its size while its content overflows it would not be seen.
16116
+ *
16117
+ * Returns a ref callback for the scroller.
16118
+ */
16119
+ function useScrollbarSize() {
16120
+ const cleanup = useRef(null);
16121
+ return useCallback((el) => {
16122
+ cleanup.current?.();
16123
+ cleanup.current = null;
16124
+ if (!el || typeof ResizeObserver === "undefined") return;
16125
+ const update = () => {
16126
+ const style = getComputedStyle(el);
16127
+ const size = el.offsetWidth - el.clientWidth - parseFloat(style.borderLeftWidth || "0") - parseFloat(style.borderRightWidth || "0");
16128
+ el.style.setProperty("--scrollbar-size", `${Math.max(0, Math.round(size))}px`);
16129
+ };
16130
+ const resize = new ResizeObserver(update);
16131
+ const observeChildren = () => {
16132
+ for (const child of el.children) resize.observe(child);
16133
+ };
16134
+ resize.observe(el);
16135
+ observeChildren();
16136
+ const mutation = new MutationObserver(() => {
16137
+ observeChildren();
16138
+ update();
16139
+ });
16140
+ mutation.observe(el, { childList: true });
16141
+ update();
16142
+ cleanup.current = () => {
16143
+ resize.disconnect();
16144
+ mutation.disconnect();
16145
+ };
16146
+ }, []);
16147
+ }
16148
+ //#endregion
16103
16149
  //#region src/components/activity-inbox/activity-inbox-shell.recipe.ts
16104
16150
  const activityInboxShell = tv({ slots: {
16105
- panel: ["flex h-full min-h-0 flex-1 flex-col overflow-hidden", "bg-layer-canvas font-sans text-foreground"],
16106
- viewport: ["relative flex-1 overflow-y-auto", "bg-layer-canvas p-0 pb-[env(safe-area-inset-bottom,0px)]"],
16151
+ panel: [
16152
+ "flex h-full min-h-0 flex-1 flex-col overflow-hidden",
16153
+ "bg-layer-canvas font-sans text-foreground",
16154
+ listColumnMargin
16155
+ ],
16156
+ viewport: ["relative flex flex-1 flex-col gap-0.5 overflow-y-auto scrollbar-list *:shrink-0", "bg-layer-canvas px-0 pt-2 pb-[calc(8px+env(safe-area-inset-bottom,0px))]"],
16107
16157
  loadingMore: ["py-3 text-center", "text-caption text-foreground-hint"]
16108
16158
  } });
16109
16159
  //#endregion
@@ -16118,12 +16168,17 @@ function ActivityInboxPanel({ className, ...props }) {
16118
16168
  ...props
16119
16169
  });
16120
16170
  }
16121
- function ActivityInboxViewport({ className, ...props }) {
16171
+ /** The list's scroller. It publishes its scrollbar's width for the item
16172
+ * cells (useScrollbarSize), so their fills sit 8px from both edges. */
16173
+ function ActivityInboxViewport({ className, ref, ...props }) {
16122
16174
  const { viewport } = activityInboxShell();
16175
+ const scrollbarRef = useScrollbarSize();
16176
+ const [setRef] = useMergedRef(ref, scrollbarRef);
16123
16177
  return /* @__PURE__ */ jsx("div", {
16124
16178
  "data-slot": "activity-inbox-viewport",
16125
16179
  className: viewport({ className }),
16126
- ...props
16180
+ ...props,
16181
+ ref: setRef
16127
16182
  });
16128
16183
  }
16129
16184
  function ActivityInboxLoadingMore({ className, ...props }) {
@@ -16145,10 +16200,10 @@ const activityInboxSidebar = tv({ slots: {
16145
16200
  ],
16146
16201
  sidebarBody: ["bg-layer-canvas"],
16147
16202
  sidebarContent: [
16148
- "p-3",
16149
- "[&_[data-slot=sidebar-group-label]]:mt-5 [&_[data-slot=sidebar-group-label]]:mb-1",
16203
+ "py-0",
16204
+ "[&_[data-slot=sidebar-group-label]]:mt-3 [&_[data-slot=sidebar-group-label]]:mb-0",
16150
16205
  "**:data-[slot=sidebar-group-label]:flex **:data-[slot=sidebar-group-label]:items-center [&_[data-slot=sidebar-group-label]]:gap-2",
16151
- "[&_[data-slot=sidebar-group-label]]:px-2 [&_[data-slot=sidebar-group-label]]:py-0",
16206
+ "[&_[data-slot=sidebar-group-label]]:px-5 [&_[data-slot=sidebar-group-label]]:py-0",
16152
16207
  "**:data-[slot=sidebar-group-label]:font-sans **:data-[slot=sidebar-group-label]:text-footnote [&_[data-slot=sidebar-group-label]]:font-bold",
16153
16208
  "**:data-[slot=sidebar-group-label]:text-foreground-hint **:data-[slot=sidebar-group-label]:normal-case [&_[data-slot=sidebar-group-label]]:tracking-normal",
16154
16209
  "**:data-activity-inbox-show-all:whitespace-nowrap"
@@ -16175,10 +16230,10 @@ function ActivityInboxSidebar({ className, children, ...props }) {
16175
16230
  //#endregion
16176
16231
  //#region src/components/activity-inbox/activity-inbox-toolbar.recipe.ts
16177
16232
  const activityInboxToolbar = tv({ slots: {
16178
- controls: ["flex shrink-0 flex-nowrap items-center gap-2", "bg-layer-canvas px-4 py-3"],
16233
+ controls: ["flex shrink-0 flex-nowrap items-center gap-2", "bg-layer-canvas px-(--column-margin) py-3"],
16179
16234
  selectionToolbar: [
16180
16235
  "flex min-h-11 shrink-0 flex-wrap items-center gap-2 pt-1.5 pb-[5px]",
16181
- "border-b border-line-hairline bg-layer-canvas px-4",
16236
+ "border-b border-line-hairline bg-layer-canvas px-(--column-margin)",
16182
16237
  "**:data-[activity-inbox-action=sort]:text-foreground-muted",
16183
16238
  "**:data-[activity-inbox-action=sort]:hover:text-foreground"
16184
16239
  ],
@@ -16213,17 +16268,21 @@ function ActivityInboxSelectionCount({ className, ...props }) {
16213
16268
  //#endregion
16214
16269
  //#region src/components/search/search.recipe.ts
16215
16270
  const search = tv({ slots: {
16216
- frame: ["flex h-full min-h-0 flex-1 flex-col", "bg-layer-canvas text-foreground"],
16217
- filtersRow: ["shrink-0", "border-b border-line-seam bg-layer-canvas px-4 py-3"],
16218
- viewport: ["min-h-0 flex-1 overflow-y-auto p-4", "bg-layer-canvas px-0 pt-0 pb-4"],
16219
- summary: ["block", "mb-0 px-4 pt-2 font-sans text-footnote text-foreground-hint"],
16271
+ frame: [
16272
+ "flex h-full min-h-0 flex-1 flex-col",
16273
+ "bg-layer-canvas text-foreground",
16274
+ listColumnMargin
16275
+ ],
16276
+ filtersRow: ["shrink-0", "border-b border-line-seam bg-layer-canvas px-(--column-margin) py-3"],
16277
+ viewport: ["min-h-0 flex-1 overflow-y-auto scrollbar-list p-4", "bg-layer-canvas px-0 pt-0 pb-4"],
16278
+ summary: ["block", "mb-0 px-5 pt-2 font-sans text-footnote text-foreground-hint"],
16220
16279
  section: ["mb-0"],
16221
16280
  sectionHeading: [
16222
16281
  "py-2",
16223
- "flex items-center gap-2 px-4 pt-5 pb-2",
16282
+ "flex items-center gap-2 px-5 pt-3 pb-0",
16224
16283
  "font-sans text-footnote font-bold text-foreground-hint"
16225
16284
  ],
16226
- list: ["flex flex-col", "gap-0"]
16285
+ list: ["flex flex-col", "gap-0.5 py-2"]
16227
16286
  } });
16228
16287
  //#endregion
16229
16288
  //#region src/components/search/search.tsx
@@ -16244,12 +16303,17 @@ function SearchShellFilters({ className, ...props }) {
16244
16303
  ...props
16245
16304
  });
16246
16305
  }
16247
- function SearchShellViewport({ className, ...props }) {
16306
+ /** The results' scroller. It publishes its scrollbar's width for the result
16307
+ * cells (useScrollbarSize), so their fills sit 8px from both edges. */
16308
+ function SearchShellViewport({ className, ref, ...props }) {
16248
16309
  const { viewport } = search();
16310
+ const scrollbarRef = useScrollbarSize();
16311
+ const [setRef] = useMergedRef(ref, scrollbarRef);
16249
16312
  return /* @__PURE__ */ jsx("div", {
16250
16313
  "data-slot": "search-shell-viewport",
16251
16314
  className: viewport({ className }),
16252
- ...props
16315
+ ...props,
16316
+ ref: setRef
16253
16317
  });
16254
16318
  }
16255
16319
  function SearchResultsSummary({ className, render, ...props }) {
@@ -16304,15 +16368,14 @@ function SearchResultsList({ className, render, ...props }) {
16304
16368
  //#region src/components/search/search-entity.recipe.ts
16305
16369
  const searchEntity = tv({ slots: {
16306
16370
  entity: [
16307
- "flex min-w-0 w-full items-center gap-3 p-3 text-left transition-colors",
16308
- "relative rounded-none border-0 bg-transparent px-4 py-3 text-foreground shadow-none",
16371
+ "flex min-w-0 w-full items-center gap-3 text-left",
16372
+ "rounded-none border-0 py-3 text-foreground",
16309
16373
  "pointer-coarse:min-h-16",
16310
- "not-first:before:absolute not-first:before:top-0 not-first:before:right-0 not-first:before:left-[55px] not-first:before:border-t not-first:before:border-line-hairline",
16311
- "hover:bg-fill-subtle active:bg-fill-medium",
16312
- "not-data-[selected=true]:data-popup-open:bg-fill-subtle",
16313
- "disabled:cursor-default disabled:hover:bg-transparent disabled:active:bg-transparent",
16314
- "data-[selected=true]:bg-brand-soft data-[selected=true]:hover:bg-brand-soft",
16315
- "outline-none focus-visible:keyboard:inset-ring-2 focus-visible:keyboard:inset-ring-foreground"
16374
+ listCell,
16375
+ listCellStates,
16376
+ "disabled:cursor-default",
16377
+ "data-[selected=true]:before:bg-brand-soft",
16378
+ listCellFocus
16316
16379
  ],
16317
16380
  entityLeading: ["relative flex shrink-0"],
16318
16381
  entityIcon: [
@@ -16445,14 +16508,13 @@ function SearchEntityResultDescription({ muted = false, className, render, ...pr
16445
16508
  //#region src/components/search/search-message.recipe.ts
16446
16509
  const searchMessage = tv({ slots: {
16447
16510
  message: [
16448
- "w-full text-left transition-colors",
16449
- "relative block rounded-none border-0 bg-transparent px-4 py-3 text-foreground shadow-none",
16450
- "not-first:before:absolute not-first:before:top-0 not-first:before:right-0 not-first:before:left-4 not-first:before:border-t not-first:before:border-line-hairline",
16451
- "hover:bg-fill-subtle active:bg-fill-medium",
16452
- "not-data-[selected=true]:data-popup-open:bg-fill-subtle",
16453
- "disabled:cursor-default disabled:hover:bg-transparent disabled:active:bg-transparent",
16454
- "data-[selected=true]:bg-brand-soft data-[selected=true]:hover:bg-brand-soft",
16455
- "outline-none focus-visible:keyboard:inset-ring-2 focus-visible:keyboard:inset-ring-foreground"
16511
+ "w-full text-left",
16512
+ "block rounded-none border-0 py-3 text-foreground",
16513
+ listCell,
16514
+ listCellStates,
16515
+ "disabled:cursor-default",
16516
+ "data-[selected=true]:before:bg-brand-soft",
16517
+ listCellFocus
16456
16518
  ],
16457
16519
  messageHeader: [
16458
16520
  "flex items-center",
@@ -16460,14 +16522,14 @@ const searchMessage = tv({ slots: {
16460
16522
  "font-mono text-mono-meta text-foreground-hint"
16461
16523
  ],
16462
16524
  messageBody: ["min-w-0 line-clamp-2", "mt-0.5 font-sans text-callout text-foreground-muted"],
16463
- messageMeta: ["min-w-0 truncate"],
16525
+ messageMeta: ["min-w-0 shrink-1000 truncate"],
16464
16526
  messageThreadMeta: ["inline-flex items-center gap-1", "shrink-0 [&_svg]:size-3"],
16465
16527
  messageSender: [
16466
16528
  "inline-flex items-center",
16467
16529
  "order-first shrink-0 gap-1.5 whitespace-nowrap",
16468
16530
  "font-sans text-callout font-bold text-foreground"
16469
16531
  ],
16470
- messageTimestamp: ["ml-auto shrink-0 whitespace-nowrap"],
16532
+ messageTimestamp: ["ml-auto min-w-0 truncate"],
16471
16533
  messageMatch: searchHit
16472
16534
  } });
16473
16535
  //#endregion
@@ -16583,12 +16645,8 @@ function SearchMessageResultMatch({ className, render, ...props }) {
16583
16645
  //#endregion
16584
16646
  //#region src/components/search/search-thread.recipe.ts
16585
16647
  const searchThread = tv({ slots: {
16586
- thread: [
16587
- "overflow-hidden transition-colors",
16588
- "relative rounded-none border-0 bg-transparent text-foreground shadow-none",
16589
- "not-first:before:absolute not-first:before:top-0 not-first:before:right-0 not-first:before:left-4 not-first:before:border-t not-first:before:border-line-hairline"
16590
- ],
16591
- threadHeader: ["py-2", "px-4 pt-3 pb-1"],
16648
+ thread: ["overflow-hidden", "relative rounded-none border-0 bg-transparent text-foreground shadow-none"],
16649
+ threadHeader: ["py-2", "px-5 pt-3 pb-0"],
16592
16650
  threadMeta: [
16593
16651
  "flex flex-wrap items-center",
16594
16652
  "mb-0.5 gap-1.5",
@@ -16596,7 +16654,7 @@ const searchThread = tv({ slots: {
16596
16654
  ],
16597
16655
  threadTimestamp: ["normal-case", "ml-auto"],
16598
16656
  threadTitle: ["font-sans text-callout font-semibold text-foreground"],
16599
- threadMessages: ["flex flex-col", "border-t-0 bg-transparent"]
16657
+ threadMessages: ["flex flex-col gap-0.5 py-2", "border-t-0 bg-transparent"]
16600
16658
  } });
16601
16659
  //#endregion
16602
16660
  //#region src/components/search/search-thread.tsx
@@ -16993,4 +17051,4 @@ function ThemeProvider({ mode, defaultMode = "light", onModeChange, storageKey,
16993
17051
  });
16994
17052
  }
16995
17053
  //#endregion
16996
- export { ActivityInboxControls, ActivityInboxLoadingMore, ActivityInboxPanel, ActivityInboxSelectionCount, ActivityInboxSelectionToolbar, ActivityInboxSidebar, ActivityInboxViewport, AddCommentIcon, AlertDialog, AlertDialogAction, AlertDialogBody, AlertDialogCancel, AlertDialogClose, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AppRailFooter, AppRailHeader, AppRailItem, AppRailItemAttention, AppRailItemBadge, AppRailItemIcon, AppRailItemIndicator, AppRailItemLabel, AppRailNav, AppRailRoot, AppShellMainSlot, AppShellOverlaySlot, AppShellPanelSlot, AppShellRailSlot, AppShellRoot, AppShellSidebarSlot, AppShellSidebarTrigger, ArtifactIcon, Avatar, AvatarBadge, AvatarFallback, AvatarGroup, AvatarGroupCount, AvatarImage, Badge, Banner, BannerAction, BannerClose, BannerDescription, BannerTitle, Button, Card, CardContent, CardDescription, CardFooter, CardHeader, CardLeading, CardTitle, CardTrailing, ChatIcon, Checkbox, CheckboxIndicator, CodeBlock, CodeBlockAction, CodeBlockActions, CodeBlockBody, CodeBlockHeader, CodeBlockPre, CodeBlockTitle, Combobox, ComboboxChip, ComboboxChipRemove, ComboboxChips, ComboboxClear, ComboboxCollection, ComboboxContent, ComboboxControl, ComboboxEmpty, ComboboxGroup, ComboboxGroupLabel, ComboboxHeader, ComboboxInput, ComboboxInputGroup, ComboboxItem, ComboboxItemIndicator, ComboboxLabel, ComboboxList, ComboboxPopup, ComboboxPortal, ComboboxRow, ComboboxSeparator, ComboboxTrigger, ComboboxTriggerCount, ComboboxTriggerIndicator, ComboboxValue, CommentIcon, Composer, ComposerActions, ComposerAttachment, ComposerAttachmentBody, ComposerAttachmentFailedOverlay, ComposerAttachmentFile, ComposerAttachmentImage, ComposerAttachmentMeta, ComposerAttachmentRemove, ComposerAttachmentTitle, ComposerAttachmentUploadProgressBar, ComposerAttachmentUploadingOverlay, ComposerAttachments, ComposerAttachmentsScrollArea, ComposerDropOverlay, ComposerDropOverlayLabel, ComposerDropOverlayPrompt, ComposerIconButton, ComposerInput, ComposerMeta, ComposerRoot, ComposerSubmit, ComposerSuggestionAside, ComposerSuggestionContent, ComposerSuggestionGroup, ComposerSuggestionGroupLabel, ComposerSuggestionIcon, ComposerSuggestionList, ComposerSuggestionMeta, ComposerSuggestionOption, ComposerSuggestionTitle, ComposerToolbar, ComposerToolbarLabel, ContextMenu, ContextMenuCheckboxItem, ContextMenuCheckboxItemIndicator, ContextMenuContent, ContextMenuFooter, ContextMenuItem, ContextMenuItemLabel, ContextMenuLabel, ContextMenuPopup, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuRadioItemIndicator, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSubmenu, ContextMenuSubmenuTrigger, ContextMenuTrigger, ConversationPanelBody, ConversationPanelContent, ConversationPanelEmptyState, ConversationPanelEmptyStateBrand, ConversationPanelEmptyStateBrandMark, ConversationPanelFooter, ConversationPanelRoot, ConversationPanelTabs, CopyableCode, CopyableCodeAction, CopyableCodeRoot, CreateTaskIcon, DescriptionDetails, DescriptionItem, DescriptionList, DescriptionTerm, Dialog, DialogBody, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogNav, DialogOverlay, DialogPortal, DialogSurface, DialogTitle, DialogTrigger, DirectMessageIcon, Drawer, DrawerActions, DrawerBody, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuCheckboxItemIndicator, DropdownMenuContent, DropdownMenuFooter, DropdownMenuItem, DropdownMenuItemCount, DropdownMenuItemLabel, DropdownMenuLabel, DropdownMenuPopup, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuRadioItemIndicator, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSubmenu, DropdownMenuSubmenuTrigger, DropdownMenuTrigger, EmptyState, EmptyStateActions, EmptyStateContent, EmptyStateDescription, EmptyStateIcon, EmptyStateTitle, FeedbackIcon, Field, FieldControl, FieldDescription, FieldError, FieldItem, FieldLabel, FieldValidity, FileAction, FileActions, FileContent, FileImage, FileMeta, FileMetaItem, FileName, FilePreview, FilePreviewBadge, FilePreviewCode, FilePreviewDocument, FilePreviewFile, FilePreviewMedia, FileRow, FileRowOpen, FileThumbnail, FilesList, FilesPanel, FilesViewport, FloatButton, FloatButtonGroup, FollowArtifactIcon, FollowThreadIcon, FormSection, IconTile, InboxItem, InboxItemActions, InboxItemBody, InboxItemContent, InboxItemContext, InboxItemHeading, InboxItemHoverTarget, InboxItemLeading, InboxItemMarks, InboxItemMessage, InboxItemMetadata, InboxItemSelection, InboxItemSender, InboxItemSubtitle, InboxItemTimestamp, InboxItemTitle, InboxItemTrailing, InboxItemTrigger, InlineCode, Input, InputGroup, InputGroupAddon, InputGroupInput, JoinChannelIcon, JoinJointChannelIcon, JoinPrivateChannelIcon, Kbd, KbdGroup, LOCATED_MS, Label, LabelAsterisk, LabelOptional, LabelSub, LeaveChannelIcon, LeaveJointChannelIcon, LeavePrivateChannelIcon, LegacyTaskPanelActions, LegacyTaskPanelBody, LegacyTaskPanelField, LegacyTaskPanelFieldLabel, LegacyTaskPanelFieldText, LegacyTaskPanelFieldTitle, LegacyTaskPanelHeader, LegacyTaskPanelIcon, LegacyTaskPanelMeta, LegacyTaskPanelMetaLabel, LegacyTaskPanelMetaRow, LegacyTaskPanelMetaValue, LegacyTaskPanelRoot, LegacyTaskPanelSection, LegacyTaskPanelStatus, LegacyTaskPanelTitle, LegacyTaskPanelTitleMeta, Lightbox, LightboxActions, LightboxClose, LightboxContent, LightboxHeader, LightboxHeaderLabel, LightboxHeaderMeta, LightboxInfoActions, LightboxInfoBar, LightboxInfoDock, LightboxInfoTitle, LightboxMedia, LightboxNavigationButton, LightboxPortal, LightboxStage, LightboxThumbnail, LightboxThumbnailStrip, LightboxTitle, LightboxToolbar, LightboxTrigger, ListRow, ListRowBody, ListRowBottom, ListRowChevron, ListRowDescription, ListRowGroup, ListRowIcon, ListRowMeta, ListRowTitle, ListRowTop, ListRowValue, LiveAgentActivityBar, LiveAgentActivityBarAvatar, LiveAgentActivityBarContent, LiveAgentActivityBarRow, LiveAgentActivityBarStatus, LiveAgentActivityBarText, MarkdownBlockquote, MarkdownCell, MarkdownCheckbox, MarkdownHeaderCell, MarkdownHeading, MarkdownImage, MarkdownInlineCode, MarkdownLink, MarkdownList, MarkdownListItem, MarkdownMark, MarkdownOrderedList, MarkdownParagraph, MarkdownRule, MarkdownTable, MarkdownTableRow, MarkdownTableScroll, MessageActionCard, MessageActionCardActions, MessageActionCardActionsNote, MessageActionCardCollapseTrigger, MessageActionCardCompletion, MessageActionCardContent, MessageActionCardHeader, MessageActionCardHeaderDescription, MessageActionCardHeaderIcon, MessageActionCardHeaderStatus, MessageActionCardHeaderTitle, MessageActionCardHint, MessageActionCardHintLabel, MessageActionCardNotice, MessageActionCardProperties, MessageActionCardProperty, MessageActionCardPropertyLabel, MessageActionCardPropertyValue, MessageActionCardScope, MessageActionCardScopeDescription, MessageActionCardScopeList, MessageActionCardScopeListLabel, MessageActionCardScopeListViewport, MessageActionCardScopeName, MessageActionCardStatus, MessageAttachmentAction, MessageAttachmentCard, MessageAttachmentCommentSummary, MessageAttachmentDiffAddition, MessageAttachmentDiffDeletion, MessageAttachmentDiffSummary, MessageAttachmentGroup, MessageAttachmentMeta, MessageAttachmentMetaEnd, MessageAttachmentMetaStart, MessageAttachmentSummary, MessageAttachmentTitle, MessageEmbed, MessageEmbedContent, MessageEmbedFooter, MessageEmbedHeader, MessageForwardedBundle, MessageForwardedBundleAttachment, MessageForwardedBundleAttachmentMeta, MessageForwardedBundleAttachmentName, MessageForwardedBundleAttachments, MessageForwardedBundleFooter, MessageForwardedBundleFooterAction, MessageForwardedBundleGallery, MessageForwardedBundleGalleryTile, MessageForwardedBundleHeader, MessageForwardedBundleHeaderContent, MessageForwardedBundleHeaderCount, MessageForwardedBundleHeaderLabel, MessageForwardedBundleItem, MessageForwardedBundleItemAuthor, MessageForwardedBundleItemContent, MessageForwardedBundleItemMeta, MessageForwardedBundleItems, MessageForwardedBundleSource, MessageForwardedBundleSourceLabel, MessageIcon, MessageImageGallery, MessageImageGalleryAction, MessageImageGalleryItem, MessageImageGalleryMedia, MessageImageGalleryOverlay, MessageImageGalleryPreview, MessageImageGalleryRow, MessageItem, MessageItemAttachments, MessageItemAvatarSlot, MessageItemBadge, MessageItemBadgeSeparator, MessageItemBody, MessageItemContent, MessageItemContinuationTime, MessageItemEdited, MessageItemEmbedded, MessageItemFooter, MessageItemGutter, MessageItemHeader, MessageItemInlineStatus, MessageItemMeta, MessageItemReadReceipt, MessageItemSavedIndicator, MessageItemSearchMatch, MessageItemSender, MessageItemSenderBadges, MessageItemSenderButton, MessageItemSenderGroup, MessageItemTime, MessageItemToolbar, MessageItemToolbarButton, MessageItemTranslationAction, MessageItemTranslationFailedStatus, MessageItemTranslationOriginal, MessageItemTranslationOriginalLabel, MessageItemTranslationProgressTrack, MessageItemTranslationRetryAction, MessageItemTranslationStatus, MessageList, MessageListDateDivider, MessageListEndFade, MessageListHistoryLimited, MessageListNotice, MessageMultiSelect, MessageMultiSelectCheckbox, MessageMultiSelectToolbar, MessageMultiSelectToolbarActions, MessageQuotedPreview, MessageQuotedPreviewAttachment, MessageQuotedPreviewAttachments, MessageQuotedPreviewAuthor, MessageQuotedPreviewAuthorMeta, MessageQuotedPreviewAuthorName, MessageQuotedPreviewChannel, MessageQuotedPreviewContent, MessageQuotedPreviewHeader, MessageQuotedPreviewLoading, MessageQuotedPreviewText, MessageQuotedPreviewThread, MessageQuotedPreviewTimestamp, MessageQuotedPreviewUnavailable, MessageReactionAddButton, MessageReactionChip, MessageReactionCount, MessageReactionErrorIndicator, MessageReactionGlyph, MessageReactionPickerContent, MessageReactionPickerStatic, MessageReactionQuickButton, MessageReactionQuickRow, MessageReactionTooltipContent, MessageReactionTooltipMeta, MessageReactionTooltipName, MessageReactionTooltipNameText, MessageReactionTooltipNames, MessageReactionTooltipSeparator, MessageReferenceChip, MessageReferenceIndicator, MessageReferenceLabel, MessageReferencePending, MessageReferenceReadMark, MessageReferenceSuffix, MessageReferenceText, MessageReferenceUnavailable, MessageReplies, MessageRepliesItem, MessageRepliesItemContent, MessageRepliesItemSender, MessageRepliesItemTime, MessageRepliesSummary, MessageRepliesSummaryItem, MessageTextSelectionToolbar, MessageTextSelectionToolbarButton, MessageTextSelectionToolbarSeparator, MessageVideoPreview, MessageVideoPreviewAction, MessageVideoPreviewFailureAction, MessageVideoPreviewFailureContent, MessageVideoPreviewFailureIcon, MessageVideoPreviewFailureTitle, MessageVideoPreviewFallback, MessageVideoPreviewMedia, MobileNavItem, MobileNavLabel, MobileNavRoot, NotificationCenter, NotificationCenterActionButton, NotificationCenterCount, NotificationCenterEmptyState, NotificationCenterHeader, NotificationCenterItem, NotificationCenterItemActions, NotificationCenterItemBody, NotificationCenterItemContent, NotificationCenterItemIcon, NotificationCenterItemRow, NotificationCenterItemTitle, NotificationCenterList, NotificationCenterPopup, NotificationCenterScroller, NotificationCenterTitle, NotificationCenterTrigger, OtterIndicator, Panel, PanelAction, PanelActions, PanelActivity, PanelBody, PanelFooter, PanelHeader, PanelHeaderContent, PanelHeaderIcon, PanelHeaderRoot, PanelHeading, PanelMeta, PanelNotice, PanelNoticeActions, PanelNoticeContent, PanelScrollContent, PanelScrollViewport, PanelSection, PanelSectionHeader, PanelStatus, PanelTitle, PanelToggleAction, PickerTriggerButton, Popover, PopoverArrow, PopoverBackdrop, PopoverClose, PopoverContent, PopoverDescription, PopoverHeader, PopoverPopup, PopoverPortal, PopoverSeparator, PopoverTitle, PopoverTrigger, PopoverViewport, PreviewCard, PreviewCardArrow, PreviewCardContent, PreviewCardDescription, PreviewCardHeader, PreviewCardPopup, PreviewCardPortal, PreviewCardSeparator, PreviewCardTitle, PreviewCardTrigger, ProfilePanel, ProfilePanelBody, ProfilePanelHeader, ProfilePanelHeaderContent, ProfilePanelSection, Progress, ProgressHeader, ProgressIndicator, ProgressLabel, ProgressTrack, ProgressValue, RadioGroup, RadioGroupIndicator, RadioGroupItem, RaftLogo, RaftLogoLockup, RaftWordmark, ReopenTaskIcon, ResizableGroup, ResizableHandle, ResizablePanel, SINGLE_IMAGE_MAX_HEIGHT, SINGLE_IMAGE_MAX_WIDTH, ScrollArea, ScrollAreaContent, ScrollAreaCorner, ScrollAreaScrollbar, ScrollAreaThumb, ScrollAreaViewport, SearchEntityResult, SearchEntityResultActivity, SearchEntityResultContent, SearchEntityResultDescription, SearchEntityResultHeader, SearchEntityResultIcon, SearchEntityResultLeading, SearchEntityResultTitle, SearchMessageResult, SearchMessageResultBody, SearchMessageResultHeader, SearchMessageResultMatch, SearchMessageResultMeta, SearchMessageResultSender, SearchMessageResultThreadMeta, SearchMessageResultTimestamp, SearchResultsList, SearchResultsSection, SearchResultsSectionHeading, SearchResultsSummary, SearchShellFilters, SearchShellRoot, SearchShellViewport, SearchThreadMessageResult, SearchThreadResult, SearchThreadResultHeader, SearchThreadResultMessages, SearchThreadResultMeta, SearchThreadResultTimestamp, SearchThreadResultTitle, SearchTrigger, SearchTriggerLabel, SearchTriggerShortcut, SegmentedControl, SegmentedControlCount, SegmentedControlItem, SegmentedControlLabel, Select, SelectActionItem, SelectArrow, SelectContent, SelectGroup, SelectGroupLabel, SelectIcon, SelectItem, SelectItemDescription, SelectItemIndicator, SelectItemLeading, SelectItemText, SelectLabel, SelectList, SelectPopup, SelectPortal, SelectScrollDownArrow, SelectScrollUpArrow, SelectSeparator, SelectTrigger, SelectValue, Separator, SidebarBody, SidebarContent, SidebarControl, SidebarGroupLabel, SidebarHeader, SidebarHeaderTitle, SidebarItem, SidebarItemAside, SidebarItemChannelIcon, SidebarItemContent, SidebarItemCount, SidebarItemCountSeparator, SidebarItemIcon, SidebarItemIndicator, SidebarItemMeta, SidebarItemMetaIcon, SidebarItemStatus, SidebarItemSubtitle, SidebarItemThreadCount, SidebarItemTitle, SidebarList, SidebarLiveActivity, SidebarMenu, SidebarMenuAside, SidebarMenuCount, SidebarMenuIcon, SidebarMenuTitle, SidebarRoot, SidebarSection, SidebarSectionAttention, SidebarSectionChevron, SidebarSectionControl, SidebarSectionControls, SidebarSectionCount, SidebarSectionDisclosure, SidebarSectionEmpty, SidebarSectionHeader, SidebarSectionTitle, SidebarSectionTrailing, Skeleton, SortableComposerAttachment, SortableComposerAttachments, SortableComposerAttachmentsScroll, SortableTabsList, SortableTabsTab, Spinner, Status, Step, Steps, Switch, SwitchThumb, SystemMessage, SystemMessageContent, SystemMessageGroup, SystemMessageGroupChevron, SystemMessageGroupDisclosure, SystemMessageGroupHeader, SystemMessageGroupPanel, SystemMessageGroupSummary, SystemMessageTime, TASK_STATUS_IDS, Table, TableBody, TableCaption, TableCell, TableColgroup, TableColumn, TableHead, TableHeader, TableRow, Tabs, TabsLabel, TabsList, TabsPanel, TabsTab, TaskBoardColumn, TaskBoardColumnBadge, TaskBoardColumnChevron, TaskBoardColumnCount, TaskBoardColumnEmpty, TaskBoardColumnEmptyAllowed, TaskBoardColumnEmptyBlocked, TaskBoardColumnEmptyIdle, TaskBoardColumnHeading, TaskBoardColumnItems, TaskBoardColumnPanel, TaskBoardColumnTrigger, TaskBoardRoot, TaskCard, TaskCardBody, TaskCardChannel, TaskCardDescription, TaskCardLegacy, TaskCardMeta, TaskCardNumber, TaskCardRow, TaskCardStatus, TaskCardTitle, TaskChip, TaskClosedIcon, TaskDndProvider, TaskDoneIcon, TaskDragOverlay, TaskDraggable, TaskDropPlaceholder, TaskDropZone, TaskInProgressIcon, TaskInReviewIcon, TaskListRoot, TaskLoadingList, TaskLoadingRow, TaskSection, TaskSectionBadge, TaskSectionChevron, TaskSectionCount, TaskSectionEmpty, TaskSectionHeading, TaskSectionItems, TaskSectionPanel, TaskSectionTrigger, TaskStatusBadge, TaskStatusIcon, TaskTodoIcon, TasksPanelEmpty, TasksPanelRoot, TasksPanelToolbar, TasksPanelToolbarFilters, TasksPanelToolbarGroup, TasksPanelToolbarLabel, TasksPanelToolbarNewTask, TasksPanelToolbarView, TasksPanelViewport, Text, TextHeading, TextLink, TextLinkExternalIcon, TextMono, TextSans, Textarea, TextareaCounter, TextareaGroup, ThemeProvider, ThreadIcon, ThreadPanelActions, ThreadPanelBody, ThreadPanelContent, ThreadPanelFooter, ThreadPanelHeader, ThreadPanelOriginalMessage, ThreadPanelReplyCount, ThreadPanelReplySummary, ThreadPanelRoot, ThreadPanelSearch, ThreadPanelSearchCount, ThreadPanelSearchTrailing, ThreadPanelTitle, ThreadPanelTitleMeta, Timeline, TimelineContent, TimelineItem, TimelineTime, TimelineTitle, ToastAction, ToastActions, ToastArrow, ToastBody, ToastClose, ToastContent, ToastDescription, ToastIcon, ToastPortal, ToastPositioner, ToastProgress, ToastProvider, ToastRoot, ToastTitle, ToastViewport, ToggleGroup, ToggleGroupItem, ToggleGroupLabel, Tooltip, TooltipContent, TooltipPortal, TooltipProvider, TooltipTrigger, UnfollowArtifactIcon, UnfollowThreadIcon, VirtualList, WorkspaceButton, WorkspaceButtonName, buildMessageImageGalleryRows, buttonVariants, classifyMessageImageAspect, cn, createMessageTextSelectionAnchor, createToastManager, getTextSelectionFocusRect, installInputModality, taskStatusSoft, taskStatusStrong, textLinkVariants, toast, useComposerSuggestions, useLocated, useOrderedTabs, useTheme, useToastManager };
17054
+ export { ActivityInboxControls, ActivityInboxLoadingMore, ActivityInboxPanel, ActivityInboxSelectionCount, ActivityInboxSelectionToolbar, ActivityInboxSidebar, ActivityInboxViewport, AddCommentIcon, AlertDialog, AlertDialogAction, AlertDialogBody, AlertDialogCancel, AlertDialogClose, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AppRailFooter, AppRailHeader, AppRailItem, AppRailItemAttention, AppRailItemBadge, AppRailItemIcon, AppRailItemIndicator, AppRailItemLabel, AppRailNav, AppRailRoot, AppShellMainSlot, AppShellOverlaySlot, AppShellPanelSlot, AppShellRailSlot, AppShellRoot, AppShellSidebarSlot, AppShellSidebarTrigger, ArtifactIcon, Avatar, AvatarBadge, AvatarFallback, AvatarGroup, AvatarGroupCount, AvatarImage, Badge, Banner, BannerAction, BannerClose, BannerDescription, BannerTitle, Button, Card, CardContent, CardDescription, CardFooter, CardHeader, CardLeading, CardTitle, CardTrailing, ChatIcon, Checkbox, CheckboxIndicator, CodeBlock, CodeBlockAction, CodeBlockActions, CodeBlockBody, CodeBlockHeader, CodeBlockPre, CodeBlockTitle, Combobox, ComboboxChip, ComboboxChipRemove, ComboboxChips, ComboboxClear, ComboboxCollection, ComboboxContent, ComboboxControl, ComboboxEmpty, ComboboxGroup, ComboboxGroupLabel, ComboboxHeader, ComboboxInput, ComboboxInputGroup, ComboboxItem, ComboboxItemIndicator, ComboboxLabel, ComboboxList, ComboboxPopup, ComboboxPortal, ComboboxRow, ComboboxSeparator, ComboboxTrigger, ComboboxTriggerCount, ComboboxTriggerIndicator, ComboboxValue, CommentIcon, Composer, ComposerActions, ComposerAttachment, ComposerAttachmentBody, ComposerAttachmentFailedOverlay, ComposerAttachmentFile, ComposerAttachmentImage, ComposerAttachmentMeta, ComposerAttachmentRemove, ComposerAttachmentTitle, ComposerAttachmentUploadProgressBar, ComposerAttachmentUploadingOverlay, ComposerAttachments, ComposerAttachmentsScrollArea, ComposerDropOverlay, ComposerDropOverlayLabel, ComposerDropOverlayPrompt, ComposerIconButton, ComposerInput, ComposerMeta, ComposerRoot, ComposerSubmit, ComposerSuggestionAside, ComposerSuggestionContent, ComposerSuggestionGroup, ComposerSuggestionGroupLabel, ComposerSuggestionIcon, ComposerSuggestionList, ComposerSuggestionMeta, ComposerSuggestionOption, ComposerSuggestionTitle, ComposerToolbar, ComposerToolbarLabel, ContextMenu, ContextMenuCheckboxItem, ContextMenuCheckboxItemIndicator, ContextMenuContent, ContextMenuFooter, ContextMenuItem, ContextMenuItemLabel, ContextMenuLabel, ContextMenuPopup, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuRadioItemIndicator, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSubmenu, ContextMenuSubmenuTrigger, ContextMenuTrigger, ConversationPanelBody, ConversationPanelContent, ConversationPanelEmptyState, ConversationPanelEmptyStateBrand, ConversationPanelEmptyStateBrandMark, ConversationPanelFooter, ConversationPanelRoot, ConversationPanelTabs, CopyableCode, CopyableCodeAction, CopyableCodeRoot, CreateTaskIcon, DescriptionDetails, DescriptionItem, DescriptionList, DescriptionTerm, Dialog, DialogBody, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogNav, DialogOverlay, DialogPortal, DialogSurface, DialogTitle, DialogTrigger, DirectMessageIcon, Drawer, DrawerActions, DrawerBody, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuCheckboxItemIndicator, DropdownMenuContent, DropdownMenuFooter, DropdownMenuItem, DropdownMenuItemCount, DropdownMenuItemLabel, DropdownMenuLabel, DropdownMenuPopup, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuRadioItemIndicator, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSubmenu, DropdownMenuSubmenuTrigger, DropdownMenuTrigger, EmptyState, EmptyStateActions, EmptyStateContent, EmptyStateDescription, EmptyStateIcon, EmptyStateTitle, FeedbackIcon, Field, FieldControl, FieldDescription, FieldError, FieldItem, FieldLabel, FieldValidity, FileAction, FileActions, FileContent, FileImage, FileMeta, FileMetaItem, FileName, FilePreview, FilePreviewBadge, FilePreviewCode, FilePreviewDocument, FilePreviewFile, FilePreviewMedia, FileRow, FileRowOpen, FileThumbnail, FilesList, FilesPanel, FilesViewport, FloatButton, FloatButtonGroup, FollowArtifactIcon, FollowThreadIcon, FormSection, IconTile, InboxItem, InboxItemActions, InboxItemBody, InboxItemContent, InboxItemContext, InboxItemHeading, InboxItemHoverTarget, InboxItemLeading, InboxItemMarks, InboxItemMessage, InboxItemMetadata, InboxItemSelection, InboxItemSender, InboxItemSubtitle, InboxItemTimestamp, InboxItemTitle, InboxItemTrailing, InboxItemTrigger, InlineCode, Input, InputGroup, InputGroupAddon, InputGroupInput, JoinChannelIcon, JoinJointChannelIcon, JoinPrivateChannelIcon, Kbd, KbdGroup, LOCATED_MS, Label, LabelAsterisk, LabelOptional, LabelSub, LeaveChannelIcon, LeaveJointChannelIcon, LeavePrivateChannelIcon, LegacyTaskPanelActions, LegacyTaskPanelBody, LegacyTaskPanelField, LegacyTaskPanelFieldLabel, LegacyTaskPanelFieldText, LegacyTaskPanelFieldTitle, LegacyTaskPanelHeader, LegacyTaskPanelIcon, LegacyTaskPanelMeta, LegacyTaskPanelMetaLabel, LegacyTaskPanelMetaRow, LegacyTaskPanelMetaValue, LegacyTaskPanelRoot, LegacyTaskPanelSection, LegacyTaskPanelStatus, LegacyTaskPanelTitle, LegacyTaskPanelTitleMeta, Lightbox, LightboxActions, LightboxClose, LightboxContent, LightboxHeader, LightboxHeaderLabel, LightboxHeaderMeta, LightboxInfoActions, LightboxInfoBar, LightboxInfoDock, LightboxInfoTitle, LightboxMedia, LightboxNavigationButton, LightboxPortal, LightboxStage, LightboxThumbnail, LightboxThumbnailStrip, LightboxTitle, LightboxToolbar, LightboxTrigger, ListRow, ListRowBody, ListRowBottom, ListRowChevron, ListRowDescription, ListRowGroup, ListRowIcon, ListRowMeta, ListRowTitle, ListRowTop, ListRowValue, LiveAgentActivityBar, LiveAgentActivityBarAvatar, LiveAgentActivityBarContent, LiveAgentActivityBarRow, LiveAgentActivityBarStatus, LiveAgentActivityBarText, MarkdownBlockquote, MarkdownCell, MarkdownCheckbox, MarkdownHeaderCell, MarkdownHeading, MarkdownImage, MarkdownInlineCode, MarkdownLink, MarkdownList, MarkdownListItem, MarkdownMark, MarkdownOrderedList, MarkdownParagraph, MarkdownRule, MarkdownTable, MarkdownTableRow, MarkdownTableScroll, MessageActionCard, MessageActionCardActions, MessageActionCardActionsNote, MessageActionCardCollapseTrigger, MessageActionCardCompletion, MessageActionCardContent, MessageActionCardHeader, MessageActionCardHeaderDescription, MessageActionCardHeaderIcon, MessageActionCardHeaderStatus, MessageActionCardHeaderTitle, MessageActionCardHint, MessageActionCardHintLabel, MessageActionCardNotice, MessageActionCardProperties, MessageActionCardProperty, MessageActionCardPropertyLabel, MessageActionCardPropertyValue, MessageActionCardScope, MessageActionCardScopeDescription, MessageActionCardScopeList, MessageActionCardScopeListLabel, MessageActionCardScopeListViewport, MessageActionCardScopeName, MessageActionCardStatus, MessageAttachmentAction, MessageAttachmentCard, MessageAttachmentCommentSummary, MessageAttachmentDiffAddition, MessageAttachmentDiffDeletion, MessageAttachmentDiffSummary, MessageAttachmentGroup, MessageAttachmentMeta, MessageAttachmentMetaEnd, MessageAttachmentMetaStart, MessageAttachmentSummary, MessageAttachmentTitle, MessageEmbed, MessageEmbedContent, MessageEmbedFooter, MessageEmbedHeader, MessageForwardedBundle, MessageForwardedBundleAttachment, MessageForwardedBundleAttachmentMeta, MessageForwardedBundleAttachmentName, MessageForwardedBundleAttachments, MessageForwardedBundleFooter, MessageForwardedBundleFooterAction, MessageForwardedBundleGallery, MessageForwardedBundleGalleryTile, MessageForwardedBundleHeader, MessageForwardedBundleHeaderContent, MessageForwardedBundleHeaderCount, MessageForwardedBundleHeaderLabel, MessageForwardedBundleItem, MessageForwardedBundleItemAuthor, MessageForwardedBundleItemContent, MessageForwardedBundleItemMeta, MessageForwardedBundleItems, MessageForwardedBundleSource, MessageForwardedBundleSourceLabel, MessageIcon, MessageImageGallery, MessageImageGalleryAction, MessageImageGalleryItem, MessageImageGalleryMedia, MessageImageGalleryOverlay, MessageImageGalleryPreview, MessageImageGalleryRow, MessageItem, MessageItemAttachments, MessageItemAvatarSlot, MessageItemBadge, MessageItemBadgeSeparator, MessageItemBody, MessageItemContent, MessageItemContinuationTime, MessageItemEdited, MessageItemEmbedded, MessageItemFooter, MessageItemGutter, MessageItemHeader, MessageItemInlineStatus, MessageItemMeta, MessageItemReadReceipt, MessageItemSavedIndicator, MessageItemSearchMatch, MessageItemSender, MessageItemSenderBadges, MessageItemSenderButton, MessageItemSenderGroup, MessageItemTime, MessageItemToolbar, MessageItemToolbarButton, MessageItemTranslationAction, MessageItemTranslationFailedStatus, MessageItemTranslationOriginal, MessageItemTranslationOriginalLabel, MessageItemTranslationProgressTrack, MessageItemTranslationRetryAction, MessageItemTranslationStatus, MessageList, MessageListDateDivider, MessageListEndFade, MessageListHistoryLimited, MessageListNotice, MessageMultiSelect, MessageMultiSelectCheckbox, MessageMultiSelectToolbar, MessageMultiSelectToolbarActions, MessageQuotedPreview, MessageQuotedPreviewAttachment, MessageQuotedPreviewAttachments, MessageQuotedPreviewAuthor, MessageQuotedPreviewAuthorMeta, MessageQuotedPreviewAuthorName, MessageQuotedPreviewChannel, MessageQuotedPreviewContent, MessageQuotedPreviewHeader, MessageQuotedPreviewLoading, MessageQuotedPreviewText, MessageQuotedPreviewThread, MessageQuotedPreviewTimestamp, MessageQuotedPreviewUnavailable, MessageReactionAddButton, MessageReactionChip, MessageReactionCount, MessageReactionErrorIndicator, MessageReactionGlyph, MessageReactionPickerContent, MessageReactionPickerStatic, MessageReactionQuickButton, MessageReactionQuickRow, MessageReactionTooltipContent, MessageReactionTooltipMeta, MessageReactionTooltipName, MessageReactionTooltipNameText, MessageReactionTooltipNames, MessageReactionTooltipSeparator, MessageReferenceChip, MessageReferenceIndicator, MessageReferenceLabel, MessageReferencePending, MessageReferenceReadMark, MessageReferenceSuffix, MessageReferenceText, MessageReferenceUnavailable, MessageReplies, MessageRepliesItem, MessageRepliesItemContent, MessageRepliesItemSender, MessageRepliesItemTime, MessageRepliesSummary, MessageRepliesSummaryItem, MessageTextSelectionToolbar, MessageTextSelectionToolbarButton, MessageTextSelectionToolbarSeparator, MessageVideoPreview, MessageVideoPreviewAction, MessageVideoPreviewFailureAction, MessageVideoPreviewFailureContent, MessageVideoPreviewFailureIcon, MessageVideoPreviewFailureTitle, MessageVideoPreviewFallback, MessageVideoPreviewMedia, MobileNavItem, MobileNavLabel, MobileNavRoot, NotificationCenter, NotificationCenterActionButton, NotificationCenterCount, NotificationCenterEmptyState, NotificationCenterHeader, NotificationCenterItem, NotificationCenterItemActions, NotificationCenterItemBody, NotificationCenterItemContent, NotificationCenterItemIcon, NotificationCenterItemRow, NotificationCenterItemTitle, NotificationCenterList, NotificationCenterPopup, NotificationCenterScroller, NotificationCenterTitle, NotificationCenterTrigger, OtterIndicator, Panel, PanelAction, PanelActions, PanelActivity, PanelBody, PanelFooter, PanelHeader, PanelHeaderContent, PanelHeaderIcon, PanelHeaderRoot, PanelHeading, PanelMeta, PanelNotice, PanelNoticeActions, PanelNoticeContent, PanelScrollContent, PanelScrollViewport, PanelSection, PanelSectionHeader, PanelStatus, PanelTitle, PanelToggleAction, PickerTriggerButton, Popover, PopoverArrow, PopoverBackdrop, PopoverClose, PopoverContent, PopoverDescription, PopoverHeader, PopoverPopup, PopoverPortal, PopoverSeparator, PopoverTitle, PopoverTrigger, PopoverViewport, PreviewCard, PreviewCardArrow, PreviewCardContent, PreviewCardDescription, PreviewCardHeader, PreviewCardPopup, PreviewCardPortal, PreviewCardSeparator, PreviewCardTitle, PreviewCardTrigger, ProfilePanel, ProfilePanelBody, ProfilePanelHeader, ProfilePanelHeaderContent, ProfilePanelSection, Progress, ProgressHeader, ProgressIndicator, ProgressLabel, ProgressTrack, ProgressValue, RadioGroup, RadioGroupIndicator, RadioGroupItem, RaftLogo, RaftLogoLockup, RaftWordmark, ReopenTaskIcon, ResizableGroup, ResizableHandle, ResizablePanel, SINGLE_IMAGE_MAX_HEIGHT, SINGLE_IMAGE_MAX_WIDTH, ScrollArea, ScrollAreaContent, ScrollAreaCorner, ScrollAreaScrollbar, ScrollAreaThumb, ScrollAreaViewport, SearchEntityResult, SearchEntityResultActivity, SearchEntityResultContent, SearchEntityResultDescription, SearchEntityResultHeader, SearchEntityResultIcon, SearchEntityResultLeading, SearchEntityResultTitle, SearchMessageResult, SearchMessageResultBody, SearchMessageResultHeader, SearchMessageResultMatch, SearchMessageResultMeta, SearchMessageResultSender, SearchMessageResultThreadMeta, SearchMessageResultTimestamp, SearchResultsList, SearchResultsSection, SearchResultsSectionHeading, SearchResultsSummary, SearchShellFilters, SearchShellRoot, SearchShellViewport, SearchThreadMessageResult, SearchThreadResult, SearchThreadResultHeader, SearchThreadResultMessages, SearchThreadResultMeta, SearchThreadResultTimestamp, SearchThreadResultTitle, SearchTrigger, SearchTriggerLabel, SearchTriggerShortcut, SegmentedControl, SegmentedControlCount, SegmentedControlItem, SegmentedControlLabel, Select, SelectActionItem, SelectArrow, SelectContent, SelectGroup, SelectGroupLabel, SelectIcon, SelectItem, SelectItemDescription, SelectItemIndicator, SelectItemLeading, SelectItemText, SelectLabel, SelectList, SelectPopup, SelectPortal, SelectScrollDownArrow, SelectScrollUpArrow, SelectSeparator, SelectTrigger, SelectValue, Separator, SidebarBody, SidebarContent, SidebarControl, SidebarGroupLabel, SidebarHeader, SidebarHeaderTitle, SidebarItem, SidebarItemAside, SidebarItemChannelIcon, SidebarItemContent, SidebarItemCount, SidebarItemCountSeparator, SidebarItemIcon, SidebarItemIndicator, SidebarItemMeta, SidebarItemMetaIcon, SidebarItemStatus, SidebarItemSubtitle, SidebarItemThreadCount, SidebarItemTitle, SidebarList, SidebarLiveActivity, SidebarMenu, SidebarMenuAside, SidebarMenuCount, SidebarMenuIcon, SidebarMenuTitle, SidebarRoot, SidebarSection, SidebarSectionAttention, SidebarSectionChevron, SidebarSectionControl, SidebarSectionControls, SidebarSectionCount, SidebarSectionDisclosure, SidebarSectionEmpty, SidebarSectionHeader, SidebarSectionTitle, SidebarSectionTrailing, Skeleton, SortableComposerAttachment, SortableComposerAttachments, SortableComposerAttachmentsScroll, SortableTabsList, SortableTabsTab, Spinner, Status, Step, Steps, Switch, SwitchThumb, SystemMessage, SystemMessageContent, SystemMessageGroup, SystemMessageGroupChevron, SystemMessageGroupDisclosure, SystemMessageGroupHeader, SystemMessageGroupPanel, SystemMessageGroupSummary, SystemMessageTime, TASK_STATUS_IDS, Table, TableBody, TableCaption, TableCell, TableColgroup, TableColumn, TableHead, TableHeader, TableRow, Tabs, TabsLabel, TabsList, TabsPanel, TabsTab, TaskBoardColumn, TaskBoardColumnBadge, TaskBoardColumnChevron, TaskBoardColumnCount, TaskBoardColumnEmpty, TaskBoardColumnEmptyAllowed, TaskBoardColumnEmptyBlocked, TaskBoardColumnEmptyIdle, TaskBoardColumnHeading, TaskBoardColumnItems, TaskBoardColumnPanel, TaskBoardColumnTrigger, TaskBoardRoot, TaskCard, TaskCardBody, TaskCardChannel, TaskCardDescription, TaskCardLegacy, TaskCardMeta, TaskCardNumber, TaskCardRow, TaskCardStatus, TaskCardTitle, TaskChip, TaskClosedIcon, TaskDndProvider, TaskDoneIcon, TaskDragOverlay, TaskDraggable, TaskDropPlaceholder, TaskDropZone, TaskInProgressIcon, TaskInReviewIcon, TaskListRoot, TaskLoadingList, TaskLoadingRow, TaskSection, TaskSectionBadge, TaskSectionChevron, TaskSectionCount, TaskSectionEmpty, TaskSectionHeading, TaskSectionItems, TaskSectionPanel, TaskSectionTrigger, TaskStatusBadge, TaskStatusIcon, TaskTodoIcon, TasksPanelEmpty, TasksPanelRoot, TasksPanelToolbar, TasksPanelToolbarFilters, TasksPanelToolbarGroup, TasksPanelToolbarLabel, TasksPanelToolbarNewTask, TasksPanelToolbarView, TasksPanelViewport, Text, TextHeading, TextLink, TextLinkExternalIcon, TextMono, TextSans, Textarea, TextareaCounter, TextareaGroup, ThemeProvider, ThreadIcon, ThreadPanelActions, ThreadPanelBody, ThreadPanelContent, ThreadPanelFooter, ThreadPanelHeader, ThreadPanelOriginalMessage, ThreadPanelReplyCount, ThreadPanelReplySummary, ThreadPanelRoot, ThreadPanelSearch, ThreadPanelSearchCount, ThreadPanelSearchTrailing, ThreadPanelTitle, ThreadPanelTitleMeta, Timeline, TimelineContent, TimelineItem, TimelineTime, TimelineTitle, ToastAction, ToastActions, ToastArrow, ToastBody, ToastClose, ToastContent, ToastDescription, ToastIcon, ToastPortal, ToastPositioner, ToastProgress, ToastProvider, ToastRoot, ToastTitle, ToastViewport, ToggleGroup, ToggleGroupItem, ToggleGroupLabel, Tooltip, TooltipContent, TooltipPortal, TooltipProvider, TooltipTrigger, UnfollowArtifactIcon, UnfollowThreadIcon, VirtualList, WorkspaceButton, WorkspaceButtonName, buildMessageImageGalleryRows, buttonVariants, classifyMessageImageAspect, cn, createMessageTextSelectionAnchor, createToastManager, getTextSelectionFocusRect, installInputModality, taskStatusSoft, taskStatusStrong, textLinkVariants, toast, useComposerSuggestions, useLocated, useOrderedTabs, useScrollbarSize, useTheme, useToastManager };
package/dist/styles.css CHANGED
@@ -136,6 +136,24 @@
136
136
  --color-brutal-cream: var(--palette-cream-200);
137
137
  }
138
138
 
139
+ /* A column's content margin (design/foundations/alignment.md#usage): 16px on a
140
+ phone, 20px from 768px (`md`). Heads, notices and footers pad by it
141
+ (lib/head-edges.ts). A column of list cells sets it to 20px at every width
142
+ (`listColumnMargin`), where its rows' content starts (8px shape inset +
143
+ 12px), so its head, toolbar and rows share one line on a phone too. */
144
+ @layer theme {
145
+ :root,
146
+ :host {
147
+ --column-margin: 16px;
148
+ }
149
+ @media (width >= 48rem) {
150
+ :root,
151
+ :host {
152
+ --column-margin: 20px;
153
+ }
154
+ }
155
+ }
156
+
139
157
  /* Desktop type: from 768px (Tailwind's `md`, where the desktop layout begins)
140
158
  with a mouse or trackpad, the same query as the desktop metrics in
141
159
  foundation.css. Feishu's PC scale, 14/22 for reading, 12px for notes (on an
@@ -299,6 +317,9 @@
299
317
  --color-fill-subtle: var(--fill-subtle);
300
318
  --color-fill-medium: var(--fill-medium);
301
319
  --color-fill-frame-medium: var(--fill-frame-medium);
320
+ --color-fill-cell-hover: var(--fill-cell-hover);
321
+ --color-fill-cell-press: var(--fill-cell-press);
322
+ --color-fill-cell-selected: var(--fill-cell-selected);
302
323
  --color-layer-code: var(--layer-code);
303
324
  --color-foreground-link: var(--foreground-link);
304
325
  --color-sticker-ink: var(--sticker-ink);
@@ -625,7 +646,7 @@ textarea:-webkit-autofill:disabled {
625
646
  @keyframes raft-located {
626
647
  0%,
627
648
  60% {
628
- --located-fill: var(--info-soft);
649
+ --located-fill: var(--located-tint, var(--info-soft));
629
650
  animation-timing-function: ease-out;
630
651
  }
631
652
  100% {
@@ -636,20 +657,21 @@ textarea:-webkit-autofill:disabled {
636
657
  @keyframes raft-located-still {
637
658
  from,
638
659
  to {
639
- --located-fill: var(--info-soft);
660
+ --located-fill: var(--located-tint, var(--info-soft));
640
661
  }
641
662
  }
642
663
 
643
664
  /* The shorthand replaces any animation of the element's own while it is
644
665
  located; no raft-ui row has one. It runs on every located item, marked or
645
666
  not, so a mark that comes and goes (a popup opened and closed) doesn't
646
- start the highlight over. */
647
- [data-located] {
667
+ start the highlight over. A list cell runs it on its shape instead (below). */
668
+ [data-located]:not(.list-cell) {
648
669
  animation: var(--located-animation, raft-located) 2s linear;
649
670
  }
650
671
 
651
672
  [data-located]:not(
652
673
  [data-message-item],
674
+ .list-cell,
653
675
  :active,
654
676
  [data-selected]:not([data-selected="false"]),
655
677
  [data-active="true"],
@@ -660,6 +682,28 @@ textarea:-webkit-autofill:disabled {
660
682
  background-image: linear-gradient(var(--located-fill), var(--located-fill));
661
683
  }
662
684
 
685
+ /* A list cell (lib/list-cell.ts, marked with the `list-cell` class, which
686
+ survives a row rendered through another part's `render`, where its
687
+ data-slot doesn't) draws its states on its inset ::before shape and leaves
688
+ the row transparent, so its located fill is painted there too, in the
689
+ cell's selected tint (fill-cell-selected, stronger in dark). The animation
690
+ runs on the shape: the registered fill doesn't inherit. */
691
+ .list-cell[data-located]::before {
692
+ --located-tint: var(--fill-cell-selected);
693
+ animation: var(--located-animation, raft-located) 2s linear;
694
+ }
695
+
696
+ .list-cell[data-located]:not(
697
+ :active,
698
+ [data-selected]:not([data-selected="false"]),
699
+ [data-active]:not([data-active="false"]),
700
+ [aria-selected="true"],
701
+ [aria-current]:not([aria-current="false"]),
702
+ [data-popup-open]
703
+ )::before {
704
+ background-image: linear-gradient(var(--located-fill), var(--located-fill));
705
+ }
706
+
663
707
  /* Reduced motion: the same 2s, held still, then off without a fade. */
664
708
  @media (prefers-reduced-motion: reduce) {
665
709
  [data-located] {
@@ -890,6 +934,51 @@ textarea:-webkit-autofill:disabled {
890
934
  background-image: linear-gradient(var(--fill-subtle), var(--fill-subtle));
891
935
  }
892
936
 
937
+ /* The marker of a list cell (lib/list-cell.ts), read by the located rules
938
+ above. */
939
+ @utility list-cell {
940
+ --list-cell: 1;
941
+ }
942
+
943
+ /* The scrollbar of a scroller that holds list cells (design/patterns/
944
+ lists.md): an 8px classic scrollbar with a 4px thumb, so a cell's
945
+ end inset can come out of the scrollbar's own width and its fill sits 8px
946
+ from both edges of the list. Styling ::-webkit-scrollbar makes Chromium
947
+ draw this classic, always-visible 8px bar even where the platform's own
948
+ scrollbar would overlay (a phone, macOS by default), so the bar takes 8px
949
+ of room wherever the list scrolls. Pair it with useScrollbarSize, which
950
+ publishes the width the bar really takes (8px, or 0 where it doesn't
951
+ show), so the shape stays 8px from both edges either way. scrollbar-width and
952
+ scrollbar-color stay auto: either one switches Chromium off the
953
+ ::-webkit-scrollbar styling. Firefox takes its thin scrollbar, 8px. */
954
+ @utility scrollbar-list {
955
+ scrollbar-width: auto;
956
+ scrollbar-color: auto;
957
+ &::-webkit-scrollbar {
958
+ width: 8px;
959
+ height: 8px;
960
+ }
961
+ &::-webkit-scrollbar-track {
962
+ background: transparent;
963
+ }
964
+ &::-webkit-scrollbar-thumb {
965
+ min-height: 32px;
966
+ border: 2px solid transparent;
967
+ border-radius: 4px;
968
+ background: color-mix(in oklch, var(--foreground) 24%, transparent);
969
+ background-clip: padding-box;
970
+ }
971
+ @media (hover: hover) {
972
+ &:hover::-webkit-scrollbar-thumb {
973
+ background-color: color-mix(in oklch, var(--foreground) 36%, transparent);
974
+ }
975
+ }
976
+ @supports not selector(::-webkit-scrollbar) {
977
+ scrollbar-width: thin;
978
+ scrollbar-color: color-mix(in oklch, var(--foreground) 24%, transparent) transparent;
979
+ }
980
+ }
981
+
893
982
  /* Space and rules between siblings: stack-y-* / stack-x-* and rule-y / rule-x
894
983
  / rule-<colour>. Use these, never Tailwind's space-* and divide-*.
895
984