@botiverse/raft-ui 0.41.0 → 0.42.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/CHANGELOG.md +12 -0
- package/dist/{inbox-item-IkU1PDsA.mjs → inbox-item-DoDrLOrX.mjs} +49 -1
- package/dist/index.mjs +1 -1
- package/dist/styles.css +12 -4
- package/dist/wip.mjs +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,15 @@
|
|
|
1
|
+
## [0.42.0](https://github.com/botiverse/raft-design/compare/v0.41.0...v0.42.0) (2026-10-28)
|
|
2
|
+
|
|
3
|
+
### Design System
|
|
4
|
+
|
|
5
|
+
- **Frame insets:** a host shell that draws native window controls over the page (the desktop app's macOS traffic lights, Windows' caption buttons) publishes them on the root element as `--raft-frame-inset-start`, `--raft-frame-inset-end` and `--raft-frame-inset-top`; the web sets none. ([#856](https://github.com/botiverse/raft-design/pull/856))
|
|
6
|
+
- Docs: https://raft-design.botiverse.build/components/tooltip/
|
|
7
|
+
|
|
8
|
+
### Changed
|
|
9
|
+
|
|
10
|
+
- **Tooltip:** one that would open into `--raft-frame-inset-top` flips below its trigger; one beside its trigger moves down out of it. ([#856](https://github.com/botiverse/raft-design/pull/856))
|
|
11
|
+
- **frame-decor-top** (the top bar's theme strip) is placed from the bar's end plus `--raft-frame-inset-end`, and a bar drops it when the whole strip can't fit clear of its trailing actions. ([#856](https://github.com/botiverse/raft-design/pull/856))
|
|
12
|
+
|
|
1
13
|
## [0.41.0](https://github.com/botiverse/raft-design/compare/v0.40.0...v0.41.0) (2026-10-28)
|
|
2
14
|
|
|
3
15
|
### Design System
|
|
@@ -1797,13 +1797,61 @@ const CONTENT_COLLISION_AVOIDANCE = {
|
|
|
1797
1797
|
align: "shift",
|
|
1798
1798
|
fallbackAxisSide: "none"
|
|
1799
1799
|
};
|
|
1800
|
+
const DEFAULT_COLLISION_PADDING = 5;
|
|
1801
|
+
/**
|
|
1802
|
+
* The window's top band a host shell reserves for its own chrome (the desktop
|
|
1803
|
+
* app's caption buttons, drawn over the top bar), as --raft-frame-inset-top on
|
|
1804
|
+
* the root element: 0 when no shell sets it, as on the web. Read as px, or
|
|
1805
|
+
* measured when it is any other CSS length (a calc() is kept as written in the
|
|
1806
|
+
* computed value of an unregistered custom property).
|
|
1807
|
+
*/
|
|
1808
|
+
function readFrameInsetTop() {
|
|
1809
|
+
if (typeof document === "undefined") return 0;
|
|
1810
|
+
const root = document.documentElement;
|
|
1811
|
+
const value = getComputedStyle(root).getPropertyValue("--raft-frame-inset-top").trim();
|
|
1812
|
+
if (value === "") return 0;
|
|
1813
|
+
if (/^-?(\d+\.?\d*|\.\d+)px$/.test(value)) return Math.max(0, Number.parseFloat(value));
|
|
1814
|
+
const probe = document.createElement("div");
|
|
1815
|
+
probe.style.cssText = "position:fixed;top:0;left:0;width:0;visibility:hidden;pointer-events:none;height:var(--raft-frame-inset-top)";
|
|
1816
|
+
root.append(probe);
|
|
1817
|
+
const height = probe.getBoundingClientRect().height;
|
|
1818
|
+
probe.remove();
|
|
1819
|
+
return height;
|
|
1820
|
+
}
|
|
1821
|
+
/**
|
|
1822
|
+
* The collision padding with the frame's top band added: a tooltip that would
|
|
1823
|
+
* open into it flips below its trigger, and one beside its trigger shifts down
|
|
1824
|
+
* out of it.
|
|
1825
|
+
*/
|
|
1826
|
+
function frameCollisionPadding(padding, insetTop) {
|
|
1827
|
+
if (insetTop <= 0) return padding;
|
|
1828
|
+
const base = padding ?? DEFAULT_COLLISION_PADDING;
|
|
1829
|
+
if (typeof base === "number") return {
|
|
1830
|
+
top: Math.max(base, insetTop),
|
|
1831
|
+
right: base,
|
|
1832
|
+
bottom: base,
|
|
1833
|
+
left: base
|
|
1834
|
+
};
|
|
1835
|
+
return {
|
|
1836
|
+
...base,
|
|
1837
|
+
top: Math.max(base.top ?? 0, insetTop)
|
|
1838
|
+
};
|
|
1839
|
+
}
|
|
1840
|
+
function TooltipFramePositioner({ collisionPadding, ...props }) {
|
|
1841
|
+
const [insetTop] = useState(readFrameInsetTop);
|
|
1842
|
+
const padding = useMemo(() => frameCollisionPadding(collisionPadding, insetTop), [collisionPadding, insetTop]);
|
|
1843
|
+
return /* @__PURE__ */ jsx(Tooltip.Positioner, {
|
|
1844
|
+
collisionPadding: padding,
|
|
1845
|
+
...props
|
|
1846
|
+
});
|
|
1847
|
+
}
|
|
1800
1848
|
function TooltipContent({ align = "center", alignOffset = 0, anchor, arrowPadding, collisionAvoidance = CONTENT_COLLISION_AVOIDANCE, collisionBoundary, collisionPadding, disableAnchorTracking, positionMethod = "fixed", side = "top", sideOffset, sticky, container, portalProps, className, children, ...props }) {
|
|
1801
1849
|
const { positioner, content } = tooltip();
|
|
1802
1850
|
const portalContainer = container !== void 0 ? container : portalProps?.container;
|
|
1803
1851
|
return /* @__PURE__ */ jsx(TooltipPortal, {
|
|
1804
1852
|
...portalProps,
|
|
1805
1853
|
container: portalContainer,
|
|
1806
|
-
children: /* @__PURE__ */ jsx(
|
|
1854
|
+
children: /* @__PURE__ */ jsx(TooltipFramePositioner, {
|
|
1807
1855
|
align,
|
|
1808
1856
|
alignOffset,
|
|
1809
1857
|
anchor,
|
package/dist/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { cn } from "./cn.mjs";
|
|
2
|
-
import { $ as MessageListDateDivider, $i as DialogBody, $n as PreviewCardArrow, $r as DropdownMenuItem, $t as MessageReactionTooltipNameText, Aa as ThemeStateContext, Ai as CheckboxIndicator, An as MessageItem, Ar as PopoverDescription, At as MessageMultiSelectToolbarActions, B as useDragSiblingTransition, Bi as ListRowTitle, Bn as RadioGroupIndicator, Bt as inlineChip, C as DropPlaceholder, Ca as Spinner, Ci as ScrollArea, Cn as MessageItemEdited, Cr as Popover, Ct as messageEmbed, Da as withOverlayLayer, Di as ScrollAreaThumb, Dn as MessageItemAvatarSlot, Dt as MessageMultiSelect, Ea as useParentOverlayKind, Ei as ScrollAreaScrollbar, En as MessageItemSearchMatch, Er as PopoverBackdrop, Et as MessageTextSelectionToolbarSeparator, Fa as headEdgePull, Fi as ListRowChevron, Fn as AvatarGroup, Fr as PopoverTitle, Ft as MessageReferencePending, G as SILENT_DRAG_ANNOUNCEMENTS, Gi as TooltipPortal, Gn as InputGroupInput, Gr as MobileNavItem, Gt as MessageReactionGlyph, Hi as ListRowValue, Hn as chipRemoveBase, Ht as MessageReactionChip, I as DragLift, Ia as headEdges, Ii as ListRowDescription, Ir as PopoverTrigger, It as MessageReferenceReadMark, Ji as Badge, Jr as DropdownMenu, Jt as MessageReactionQuickButton, K as createDragAnnouncements, Ki as TooltipProvider, Kn as useOverflowTitle, Kr as MobileNavLabel, Kt as MessageReactionPickerContent, La as decisionWidth, Li as ListRowGroup, Ln as AvatarGroupCount, Lr as PopoverViewport, Lt as MessageReferenceSuffix, Ma as stackedActions, Mi as ListRow, Mn as Avatar, Mr as PopoverPopup, Na as useStackedActions, Ni as ListRowBody, Nn as AvatarBadge, Nr as PopoverPortal, Nt as MessageReferenceIndicator, Oa as useThemeScopeProps, Oi as ScrollAreaViewport, On as MessageItemContinuationTime, Or as PopoverClose, Ot as MessageMultiSelectCheckbox, Pa as controlIconInset, Pi as ListRowBottom, Pn as AvatarFallback, Pr as PopoverSeparator, Pt as MessageReferenceLabel, Qi as Dialog, Qr as DropdownMenuFooter, Qt as MessageReactionTooltipName, Ri as ListRowIcon, Rn as AvatarImage, Rt as MessageReferenceText, Sa as buttonVariants, Si as PanelSection, Sn as MessageItemContent, St as MessageEmbedHeader, Ti as ScrollAreaCorner, Tn as MessageItemFooter, Tr as PopoverArrow, Tt as MessageTextSelectionToolbarButton, U as drag, Ui as Tooltip, Un as InputGroup, Ut as MessageReactionCount, V as useLiftContainer, Vi as ListRowTop, Vn as RadioGroupItem, Vt as MessageReactionAddButton, Wi as TooltipContent, Wn as InputGroupAddon, Wt as MessageReactionErrorIndicator, Xr as DropdownMenuCheckboxItemIndicator, Xt as MessageReactionTooltipContent, Yr as DropdownMenuCheckboxItem, Yt as MessageReactionQuickRow, Zi as useMobileViewport, Zn as PreviewCard, Zr as DropdownMenuContent, Zt as MessageReactionTooltipMeta, _ as InboxItemTrailing, _a as TextLink, _i as PanelBody, _n as MessageItemSenderButton, _t as MessageQuotedPreviewTimestamp, a as InboxItemContext, aa as DialogHeader, ai as DropdownMenuPortal, an as MessageItemSavedIndicator, ar as PreviewCardHeader, at as MessageQuotedPreviewAttachment, b as useLatestRef, ba as DialogSheetReset, bi as PanelScrollContent, bn as MessageItemAttachments, bt as MessageEmbedContent, c as InboxItemLeading, ca as DialogPortal, ci as DropdownMenuRadioItemIndicator, cr as PreviewCardPortal, d as InboxItemMetadata, da as DialogTitle, di as DropdownMenuSubmenu, dr as PreviewCardTrigger, dt as MessageQuotedPreviewChannel, ea as DialogClose, ei as DropdownMenuItemCount, en as MessageReactionTooltipNames, et as MessageListEndFade, f as InboxItemSelection, fa as DialogTrigger, fi as DropdownMenuSubmenuTrigger, fn as MessageItemHeader, ft as MessageQuotedPreviewContent, g as InboxItemTitle, ga as useTapActivation, gi as Panel, gn as MessageItemSenderBadges, gt as MessageQuotedPreviewThread, h as InboxItemTimestamp, ha as useMergedRef, hi as KbdGroup, hn as MessageItemSender, ht as MessageQuotedPreviewText, i as InboxItemContent, ii as DropdownMenuPopup, in as MessageItemReadReceipt, it as MessageQuotedPreview, ja as tv, ji as PRESENCE_COLOR, jn as searchHit, jr as PopoverHeader, jt as MessageReferenceChip, k as useDragSensors, ka as useTheme, ki as Checkbox, kn as MessageItemGutter, kr as PopoverContent, kt as MessageMultiSelectToolbar, l as InboxItemMarks, li as DropdownMenuSeparator, lr as PreviewCardSeparator, lt as MessageQuotedPreviewAuthorMeta, m as InboxItemSubtitle, ma as panelToggleAction, mi as Kbd, mn as MessageItemMeta, mt as MessageQuotedPreviewLoading, n as InboxItemActions, na as DialogDescription, ni as DropdownMenuLabel, nn as MessageItemBadge, nr as PreviewCardDescription, nt as MessageListNotice, o as InboxItemHeading, oa as DialogNav, oi as DropdownMenuRadioGroup, on as MessageItemToolbar, ot as MessageQuotedPreviewAttachments, p as InboxItemSender, pa as PanelAction, pi as DropdownMenuTrigger, pn as MessageItemInlineStatus, pt as MessageQuotedPreviewHeader, q as dragInstructions, qi as TooltipTrigger, qr as MobileNavRoot, qt as MessageReactionPickerStatic, r as InboxItemBody, ra as DialogFooter, rn as MessageItemBadgeSeparator, rt as MessageList, s as InboxItemHoverTarget, sa as DialogOverlay, si as DropdownMenuRadioItem, sn as MessageItemToolbarButton, sr as PreviewCardPopup, st as MessageQuotedPreviewAuthor, t as InboxItem, ta as DialogContent, ti as DropdownMenuItemLabel, tn as MessageReactionTooltipSeparator, tr as PreviewCardContent, tt as MessageListHistoryLimited, u as InboxItemMessage, ua as DialogSurface, ui as DropdownMenuShortcut, ur as PreviewCardTitle, ut as MessageQuotedPreviewAuthorName, v as InboxItemTrigger, va as TextLinkExternalIcon, vi as PanelFooter, vn as MessageItemSenderGroup, vt as MessageQuotedPreviewUnavailable, wa as defaultNativeButton, wi as ScrollAreaContent, wn as MessageItemEmbedded, wt as MessageTextSelectionToolbar, x as Skeleton, xa as Button, xi as PanelScrollViewport, xn as MessageItemBody, xt as MessageEmbedFooter, ya as textLinkVariants, yi as PanelHeaderRoot, yn as MessageItemTime, yt as MessageEmbed, zi as ListRowMeta, zn as RadioGroup, zt as MessageReferenceUnavailable } from "./inbox-item-
|
|
2
|
+
import { $ as MessageListDateDivider, $i as DialogBody, $n as PreviewCardArrow, $r as DropdownMenuItem, $t as MessageReactionTooltipNameText, Aa as ThemeStateContext, Ai as CheckboxIndicator, An as MessageItem, Ar as PopoverDescription, At as MessageMultiSelectToolbarActions, B as useDragSiblingTransition, Bi as ListRowTitle, Bn as RadioGroupIndicator, Bt as inlineChip, C as DropPlaceholder, Ca as Spinner, Ci as ScrollArea, Cn as MessageItemEdited, Cr as Popover, Ct as messageEmbed, Da as withOverlayLayer, Di as ScrollAreaThumb, Dn as MessageItemAvatarSlot, Dt as MessageMultiSelect, Ea as useParentOverlayKind, Ei as ScrollAreaScrollbar, En as MessageItemSearchMatch, Er as PopoverBackdrop, Et as MessageTextSelectionToolbarSeparator, Fa as headEdgePull, Fi as ListRowChevron, Fn as AvatarGroup, Fr as PopoverTitle, Ft as MessageReferencePending, G as SILENT_DRAG_ANNOUNCEMENTS, Gi as TooltipPortal, Gn as InputGroupInput, Gr as MobileNavItem, Gt as MessageReactionGlyph, Hi as ListRowValue, Hn as chipRemoveBase, Ht as MessageReactionChip, I as DragLift, Ia as headEdges, Ii as ListRowDescription, Ir as PopoverTrigger, It as MessageReferenceReadMark, Ji as Badge, Jr as DropdownMenu, Jt as MessageReactionQuickButton, K as createDragAnnouncements, Ki as TooltipProvider, Kn as useOverflowTitle, Kr as MobileNavLabel, Kt as MessageReactionPickerContent, La as decisionWidth, Li as ListRowGroup, Ln as AvatarGroupCount, Lr as PopoverViewport, Lt as MessageReferenceSuffix, Ma as stackedActions, Mi as ListRow, Mn as Avatar, Mr as PopoverPopup, Na as useStackedActions, Ni as ListRowBody, Nn as AvatarBadge, Nr as PopoverPortal, Nt as MessageReferenceIndicator, Oa as useThemeScopeProps, Oi as ScrollAreaViewport, On as MessageItemContinuationTime, Or as PopoverClose, Ot as MessageMultiSelectCheckbox, Pa as controlIconInset, Pi as ListRowBottom, Pn as AvatarFallback, Pr as PopoverSeparator, Pt as MessageReferenceLabel, Qi as Dialog, Qr as DropdownMenuFooter, Qt as MessageReactionTooltipName, Ri as ListRowIcon, Rn as AvatarImage, Rt as MessageReferenceText, Sa as buttonVariants, Si as PanelSection, Sn as MessageItemContent, St as MessageEmbedHeader, Ti as ScrollAreaCorner, Tn as MessageItemFooter, Tr as PopoverArrow, Tt as MessageTextSelectionToolbarButton, U as drag, Ui as Tooltip, Un as InputGroup, Ut as MessageReactionCount, V as useLiftContainer, Vi as ListRowTop, Vn as RadioGroupItem, Vt as MessageReactionAddButton, Wi as TooltipContent, Wn as InputGroupAddon, Wt as MessageReactionErrorIndicator, Xr as DropdownMenuCheckboxItemIndicator, Xt as MessageReactionTooltipContent, Yr as DropdownMenuCheckboxItem, Yt as MessageReactionQuickRow, Zi as useMobileViewport, Zn as PreviewCard, Zr as DropdownMenuContent, Zt as MessageReactionTooltipMeta, _ as InboxItemTrailing, _a as TextLink, _i as PanelBody, _n as MessageItemSenderButton, _t as MessageQuotedPreviewTimestamp, a as InboxItemContext, aa as DialogHeader, ai as DropdownMenuPortal, an as MessageItemSavedIndicator, ar as PreviewCardHeader, at as MessageQuotedPreviewAttachment, b as useLatestRef, ba as DialogSheetReset, bi as PanelScrollContent, bn as MessageItemAttachments, bt as MessageEmbedContent, c as InboxItemLeading, ca as DialogPortal, ci as DropdownMenuRadioItemIndicator, cr as PreviewCardPortal, d as InboxItemMetadata, da as DialogTitle, di as DropdownMenuSubmenu, dr as PreviewCardTrigger, dt as MessageQuotedPreviewChannel, ea as DialogClose, ei as DropdownMenuItemCount, en as MessageReactionTooltipNames, et as MessageListEndFade, f as InboxItemSelection, fa as DialogTrigger, fi as DropdownMenuSubmenuTrigger, fn as MessageItemHeader, ft as MessageQuotedPreviewContent, g as InboxItemTitle, ga as useTapActivation, gi as Panel, gn as MessageItemSenderBadges, gt as MessageQuotedPreviewThread, h as InboxItemTimestamp, ha as useMergedRef, hi as KbdGroup, hn as MessageItemSender, ht as MessageQuotedPreviewText, i as InboxItemContent, ii as DropdownMenuPopup, in as MessageItemReadReceipt, it as MessageQuotedPreview, ja as tv, ji as PRESENCE_COLOR, jn as searchHit, jr as PopoverHeader, jt as MessageReferenceChip, k as useDragSensors, ka as useTheme, ki as Checkbox, kn as MessageItemGutter, kr as PopoverContent, kt as MessageMultiSelectToolbar, l as InboxItemMarks, li as DropdownMenuSeparator, lr as PreviewCardSeparator, lt as MessageQuotedPreviewAuthorMeta, m as InboxItemSubtitle, ma as panelToggleAction, mi as Kbd, mn as MessageItemMeta, mt as MessageQuotedPreviewLoading, n as InboxItemActions, na as DialogDescription, ni as DropdownMenuLabel, nn as MessageItemBadge, nr as PreviewCardDescription, nt as MessageListNotice, o as InboxItemHeading, oa as DialogNav, oi as DropdownMenuRadioGroup, on as MessageItemToolbar, ot as MessageQuotedPreviewAttachments, p as InboxItemSender, pa as PanelAction, pi as DropdownMenuTrigger, pn as MessageItemInlineStatus, pt as MessageQuotedPreviewHeader, q as dragInstructions, qi as TooltipTrigger, qr as MobileNavRoot, qt as MessageReactionPickerStatic, r as InboxItemBody, ra as DialogFooter, rn as MessageItemBadgeSeparator, rt as MessageList, s as InboxItemHoverTarget, sa as DialogOverlay, si as DropdownMenuRadioItem, sn as MessageItemToolbarButton, sr as PreviewCardPopup, st as MessageQuotedPreviewAuthor, t as InboxItem, ta as DialogContent, ti as DropdownMenuItemLabel, tn as MessageReactionTooltipSeparator, tr as PreviewCardContent, tt as MessageListHistoryLimited, u as InboxItemMessage, ua as DialogSurface, ui as DropdownMenuShortcut, ur as PreviewCardTitle, ut as MessageQuotedPreviewAuthorName, v as InboxItemTrigger, va as TextLinkExternalIcon, vi as PanelFooter, vn as MessageItemSenderGroup, vt as MessageQuotedPreviewUnavailable, wa as defaultNativeButton, wi as ScrollAreaContent, wn as MessageItemEmbedded, wt as MessageTextSelectionToolbar, x as Skeleton, xa as Button, xi as PanelScrollViewport, xn as MessageItemBody, xt as MessageEmbedFooter, ya as textLinkVariants, yi as PanelHeaderRoot, yn as MessageItemTime, yt as MessageEmbed, zi as ListRowMeta, zn as RadioGroup, zt as MessageReferenceUnavailable } from "./inbox-item-DoDrLOrX.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";
|
package/dist/styles.css
CHANGED
|
@@ -771,12 +771,20 @@ textarea:-webkit-autofill:disabled {
|
|
|
771
771
|
in with transition-colors. */
|
|
772
772
|
/* Theme decorations on the frame (themes.css): the theme's sprites on the top
|
|
773
773
|
bar's right and above the rail's foot; none without a decorated theme. */
|
|
774
|
-
/* The top bar's strip (190px)
|
|
775
|
-
right-hand controls
|
|
776
|
-
(
|
|
774
|
+
/* The top bar's strip (190px) ends --frame-decor-top-end (72px if unset)
|
|
775
|
+
left of the bar's right-hand controls' safe area, --raft-frame-inset-end
|
|
776
|
+
(the window's caption buttons on a desktop shell; 0 on the web). The bar
|
|
777
|
+
must reach the window's right edge: the position counts from its padding
|
|
778
|
+
box, so padding that reserves the same corner is not counted twice. The
|
|
779
|
+
consumer sets --frame-decor-top-end to its trailing actions' width plus
|
|
780
|
+
16px, measured from inside the safe area, and sets --frame-decor-top: none
|
|
781
|
+
on the bar when the room between the search field and those actions can't
|
|
782
|
+
hold the whole strip with 16px on each side; never half a strip. Only from
|
|
783
|
+
1024px, where the centred search field leaves room for it. */
|
|
777
784
|
@utility frame-decor-top {
|
|
778
785
|
background-repeat: no-repeat;
|
|
779
|
-
background-position: right
|
|
786
|
+
background-position: right
|
|
787
|
+
calc(var(--frame-decor-top-end, 72px) + var(--raft-frame-inset-end, 0px)) center;
|
|
780
788
|
@media (width >= 1024px) {
|
|
781
789
|
background-image: var(--frame-decor-top, none);
|
|
782
790
|
}
|
package/dist/wip.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { cn } from "./cn.mjs";
|
|
2
|
-
import { A as DRAG_AUTO_SCROLL_ZONE_PX, B as useDragSiblingTransition, Bi as ListRowTitle, Br as TOUCH_DRAG_DISTANCE_PX, C as DropPlaceholder, Ca as Spinner, D as listKeyboardCoordinates, Dr as PopoverBody, E as MOUSE_DRAG_DISTANCE_PX, Ea as useParentOverlayKind, F as DROP_GLIDE, G as SILENT_DRAG_ANNOUNCEMENTS, Gn as InputGroupInput, H as LIFT_CLASS, Hn as chipRemoveBase, Hr as TOUCH_DRAG_TOLERANCE_PX, I as DragLift, Ii as ListRowDescription, In as AvatarGroupButton, It as MessageReferenceReadMark, J as dragMessages, Jn as measureElement, K as createDragAnnouncements, Kn as useOverflowTitle, L as ORIGIN_OPACITY, M as DRAG_LIFT_Z_INDEX, Mi as ListRow, Mt as MessageReferenceIcon, N as DRAG_SETTLE, Ni as ListRowBody, O as useDragAcrossLists, Oa as useThemeScopeProps, P as DRAG_SIBLING_TRANSITION, Pi as ListRowBottom, Q as MessageListJumpPillGroup, Qi as Dialog, Qn as PreviewCardActions, R as cancelDrag, Rr as HoldThenMoveTouchSensor, S as DragRefusalHint, Sr as MobileNavServerPopoverRowLabel, T as DragRemeasure, Ta as OverlayLayerProvider, Ui as Tooltip, Un as InputGroup, Ur as useHoldThenMoveTouchSensor, Vi as ListRowTop, Vn as RadioGroupItem, Vr as TOUCH_DRAG_HOLD_MS, W as DEFAULT_DRAG_MESSAGES, Wi as TooltipContent, Wn as InputGroupAddon, Wr as useMouseOnlyPointerSensor, X as MessageListJumpPill, Xi as DialogSheetContent, Xn as readNow, Y as MessageListJumpControls, Yi as DialogCommit, Yn as observeTruncation, Z as MessageListJumpPillDismiss, _ as InboxItemTrailing, _a as TextLink, _r as MobileNavServerPopoverGroup, a as InboxItemContext, b as useLatestRef, br as MobileNavServerPopoverRowBody, c as InboxItemLeading, cn as MessageItemDelegatedAvatar, ct as MessageQuotedPreviewAuthorDelegatedBy, da as DialogTitle, dn as MessageItemDelegatedByName, ea as DialogClose, er as PreviewCardBody, fa as DialogTrigger, fr as MobileNavServerItem, g as InboxItemTitle, gr as MobileNavServerPopoverDestinations, h as InboxItemTimestamp, hr as MobileNavServerPopoverDestination, i as InboxItemContent, ia as DialogFooterNote, ir as PreviewCardFooter, j as DRAG_KEYBOARD_OFFSET_PX, ja as tv, k as useDragSensors, ka as useTheme, ki as Checkbox, la as DialogSheetBack, ln as MessageItemDelegatedBy, mr as MobileNavServerPopoverContent, o as InboxItemHeading, or as PreviewCardMeta, pr as MobileNavServerPopover, q as dragInstructions, qi as TooltipTrigger, qn as measureContent, r as InboxItemBody, ri as DropdownMenuLinkItem, rr as PreviewCardEyebrow, t as InboxItem, ta as DialogContent, un as MessageItemDelegatedByButton, vr as MobileNavServerPopoverList, w as DRAG_KEYBOARD_CODES, wa as defaultNativeButton, wr as PopoverActions, x as Skeleton, xa as Button$1, xr as MobileNavServerPopoverRowDescription, y as inboxItem, yr as MobileNavServerPopoverRow, z as keepGrabInside, zi as ListRowMeta, zn as RadioGroup, zr as MouseOnlyPointerSensor } from "./inbox-item-
|
|
2
|
+
import { A as DRAG_AUTO_SCROLL_ZONE_PX, B as useDragSiblingTransition, Bi as ListRowTitle, Br as TOUCH_DRAG_DISTANCE_PX, C as DropPlaceholder, Ca as Spinner, D as listKeyboardCoordinates, Dr as PopoverBody, E as MOUSE_DRAG_DISTANCE_PX, Ea as useParentOverlayKind, F as DROP_GLIDE, G as SILENT_DRAG_ANNOUNCEMENTS, Gn as InputGroupInput, H as LIFT_CLASS, Hn as chipRemoveBase, Hr as TOUCH_DRAG_TOLERANCE_PX, I as DragLift, Ii as ListRowDescription, In as AvatarGroupButton, It as MessageReferenceReadMark, J as dragMessages, Jn as measureElement, K as createDragAnnouncements, Kn as useOverflowTitle, L as ORIGIN_OPACITY, M as DRAG_LIFT_Z_INDEX, Mi as ListRow, Mt as MessageReferenceIcon, N as DRAG_SETTLE, Ni as ListRowBody, O as useDragAcrossLists, Oa as useThemeScopeProps, P as DRAG_SIBLING_TRANSITION, Pi as ListRowBottom, Q as MessageListJumpPillGroup, Qi as Dialog, Qn as PreviewCardActions, R as cancelDrag, Rr as HoldThenMoveTouchSensor, S as DragRefusalHint, Sr as MobileNavServerPopoverRowLabel, T as DragRemeasure, Ta as OverlayLayerProvider, Ui as Tooltip, Un as InputGroup, Ur as useHoldThenMoveTouchSensor, Vi as ListRowTop, Vn as RadioGroupItem, Vr as TOUCH_DRAG_HOLD_MS, W as DEFAULT_DRAG_MESSAGES, Wi as TooltipContent, Wn as InputGroupAddon, Wr as useMouseOnlyPointerSensor, X as MessageListJumpPill, Xi as DialogSheetContent, Xn as readNow, Y as MessageListJumpControls, Yi as DialogCommit, Yn as observeTruncation, Z as MessageListJumpPillDismiss, _ as InboxItemTrailing, _a as TextLink, _r as MobileNavServerPopoverGroup, a as InboxItemContext, b as useLatestRef, br as MobileNavServerPopoverRowBody, c as InboxItemLeading, cn as MessageItemDelegatedAvatar, ct as MessageQuotedPreviewAuthorDelegatedBy, da as DialogTitle, dn as MessageItemDelegatedByName, ea as DialogClose, er as PreviewCardBody, fa as DialogTrigger, fr as MobileNavServerItem, g as InboxItemTitle, gr as MobileNavServerPopoverDestinations, h as InboxItemTimestamp, hr as MobileNavServerPopoverDestination, i as InboxItemContent, ia as DialogFooterNote, ir as PreviewCardFooter, j as DRAG_KEYBOARD_OFFSET_PX, ja as tv, k as useDragSensors, ka as useTheme, ki as Checkbox, la as DialogSheetBack, ln as MessageItemDelegatedBy, mr as MobileNavServerPopoverContent, o as InboxItemHeading, or as PreviewCardMeta, pr as MobileNavServerPopover, q as dragInstructions, qi as TooltipTrigger, qn as measureContent, r as InboxItemBody, ri as DropdownMenuLinkItem, rr as PreviewCardEyebrow, t as InboxItem, ta as DialogContent, un as MessageItemDelegatedByButton, vr as MobileNavServerPopoverList, w as DRAG_KEYBOARD_CODES, wa as defaultNativeButton, wr as PopoverActions, x as Skeleton, xa as Button$1, xr as MobileNavServerPopoverRowDescription, y as inboxItem, yr as MobileNavServerPopoverRow, z as keepGrabInside, zi as ListRowMeta, zn as RadioGroup, zr as MouseOnlyPointerSensor } from "./inbox-item-DoDrLOrX.mjs";
|
|
3
3
|
import { Check, ChevronDown, LoaderCircle, Plus, Search, X } from "lucide-react";
|
|
4
4
|
import { createContext, use, useCallback, useContext, useEffect, useId, useLayoutEffect, useMemo, useRef, useState, useSyncExternalStore } from "react";
|
|
5
5
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|