@botiverse/raft-ui 0.14.0 → 0.16.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 +36 -0
- package/dist/{index-epyBg4aG.d.mts → index-DsVVBZ5T.d.mts} +9 -0
- package/dist/index.d.mts +19 -5
- package/dist/index.mjs +202 -12
- package/dist/{message-list-YsCZpkr7.mjs → message-list-03unCFnE.mjs} +4 -1
- package/dist/wip.d.mts +1 -1
- package/dist/wip.mjs +56 -39
- package/package.json +2 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,39 @@
|
|
|
1
|
+
## [0.16.0](https://github.com/botiverse/raft-design/compare/v0.15.0...v0.16.0) (2026-10-21)
|
|
2
|
+
|
|
3
|
+
### Breaking Changes
|
|
4
|
+
|
|
5
|
+
- **VirtualList** `items`: compared by reference. A row renders again only when its item, its index or one of the list's render props changes, so replace an item to change it instead of editing it in place. ([#658](https://github.com/botiverse/raft-design/pull/658))
|
|
6
|
+
- Why: keeping rows across range updates is what removes the per-frame re-render.
|
|
7
|
+
- Migrate: if your code edits an item object in place, or a render function reads mutable state outside the props, replace the item (a new object) when it changes.
|
|
8
|
+
- Docs: https://raft-design.botiverse.build/components/virtual-list/
|
|
9
|
+
|
|
10
|
+
### Changed
|
|
11
|
+
|
|
12
|
+
- **VirtualList**: scrolling no longer restyles or re-renders every mounted row. Rows that stay in range keep their elements; rows are mounted ahead of the view in batches and passed rows stay mounted for a while; only the rows that fill the view below are mounted; rows above the view are planned at the average measured height; resize passes where nothing changed size write nothing. ([#658](https://github.com/botiverse/raft-design/pull/658))
|
|
13
|
+
- Why: in a long chat timeline the list dropped more frames than a plain list while scrolling, most with a slow CPU: every row was restyled on almost every frame, and each range change re-rendered every row.
|
|
14
|
+
- Affects: with a 4x slower CPU, frames over 33ms scrolling 320 messages 9 → 0 down and 24 → 0 up, p95 33ms → 16.7ms; main-thread time per frame 10–17ms → 2–5ms. Up to 2.5 viewports of passed rows stay mounted; after a jump only the rows in view mount, as before.
|
|
15
|
+
- Docs: https://raft-design.botiverse.build/components/virtual-list/
|
|
16
|
+
|
|
17
|
+
## [0.15.0](https://github.com/botiverse/raft-design/compare/v0.14.0...v0.15.0) (2026-10-21)
|
|
18
|
+
|
|
19
|
+
### Design System
|
|
20
|
+
|
|
21
|
+
- **Server switcher**: on every surface (the web top bar, the phone web's Home and the mobile app) the server switcher is one button: the server's avatar, its name and a chevron, whatever sits beside it. The tilted ink pill on the phone web's Home is retired; build the switcher from `WorkspaceButton`, `Avatar type="server" size="sm"` and `WorkspaceButtonName`. ([#655](https://github.com/botiverse/raft-design/pull/655))
|
|
22
|
+
- Why: the switcher had three different shapes across the web top bar, the phone web and the mobile app, and the desktop button changed shape with the window width.
|
|
23
|
+
- Affects: avatar `sm` 27px, gaps 8px / 4px, name max 200px then an ellipsis, chevron 16px, on an on-frame `md` button (36px).
|
|
24
|
+
- Docs: https://raft-design.botiverse.build/patterns/navigation/#servers
|
|
25
|
+
|
|
26
|
+
### Added
|
|
27
|
+
|
|
28
|
+
- **WorkspaceButton** and **WorkspaceButtonName**: the server switcher's button. ([#655](https://github.com/botiverse/raft-design/pull/655))
|
|
29
|
+
- Why: one component keeps the switcher the same on every surface.
|
|
30
|
+
- Affects: on-frame `md` button, 36px; name max 200px.
|
|
31
|
+
- Docs: https://raft-design.botiverse.build/components/workspace-button/
|
|
32
|
+
- **Avatar** `type="server"`: a server's avatar, an ink fill with its initial in brand yellow. ([#655](https://github.com/botiverse/raft-design/pull/655))
|
|
33
|
+
- Why: each app drew a server's avatar as a person's avatar recoloured to ink.
|
|
34
|
+
- Affects: fill `sticker-ink`, initial `brand`.
|
|
35
|
+
- Docs: https://raft-design.botiverse.build/components/avatar/
|
|
36
|
+
|
|
1
37
|
## [0.14.0](https://github.com/botiverse/raft-design/compare/v0.13.0...v0.14.0) (2026-10-21)
|
|
2
38
|
|
|
3
39
|
### Design System
|
|
@@ -579,6 +579,9 @@ declare const avatar: import("tailwind-variants/lite").TVReturnType<{
|
|
|
579
579
|
human: {
|
|
580
580
|
root: string[];
|
|
581
581
|
};
|
|
582
|
+
server: {
|
|
583
|
+
root: string[];
|
|
584
|
+
};
|
|
582
585
|
};
|
|
583
586
|
size: {
|
|
584
587
|
xl: {
|
|
@@ -618,6 +621,9 @@ declare const avatar: import("tailwind-variants/lite").TVReturnType<{
|
|
|
618
621
|
human: {
|
|
619
622
|
root: string[];
|
|
620
623
|
};
|
|
624
|
+
server: {
|
|
625
|
+
root: string[];
|
|
626
|
+
};
|
|
621
627
|
};
|
|
622
628
|
size: {
|
|
623
629
|
xl: {
|
|
@@ -657,6 +663,9 @@ declare const avatar: import("tailwind-variants/lite").TVReturnType<{
|
|
|
657
663
|
human: {
|
|
658
664
|
root: string[];
|
|
659
665
|
};
|
|
666
|
+
server: {
|
|
667
|
+
root: string[];
|
|
668
|
+
};
|
|
660
669
|
};
|
|
661
670
|
size: {
|
|
662
671
|
xl: {
|
package/dist/index.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $ as MessageMultiSelect, $n as MessageItemProps, $r as DropdownMenuSeparatorProps, $t as MessageItemBadgeStatus, A as MessageQuotedPreviewChannel, Ai as DialogHeader, An as MessageItemTime, Ar as DropdownMenuContentProps, At as MessageReactionPickerContentProps, B as MessageQuotedPreviewTextProps, Bi as DialogSurfaceProps, Bn as MessageItemEmbedded, Br as DropdownMenuLabelProps, Bt as MessageReactionTooltipMetaProps, Ci as DialogCloseProps, Cn as MessageItemSenderBadges, Cr as TooltipTriggerProps, Ct as MessageReactionCount, D as MessageQuotedPreviewAuthorName, Di as DialogDescriptionProps, Dn as MessageItemSenderGroup, Dr as DropdownMenuCheckboxItemIndicatorProps, Dt as MessageReactionGlyph, E as MessageQuotedPreviewAuthorMetaProps, Ei as DialogDescription, En as MessageItemSenderButtonProps, Er as DropdownMenuCheckboxItemIndicator, Et as MessageReactionErrorIndicatorProps, F as MessageQuotedPreviewHeaderProps, Fi as DialogOverlayProps, Fn as MessageItemBodyProps, Fr as DropdownMenuItemCountProps, Ft as MessageReactionQuickRow, G as MessageQuotedPreviewUnavailable, Gi as Button, Gn as MessageItemSearchMatchProps, Gr as DropdownMenuProps, Gt as MessageReactionTooltipNames, H as MessageQuotedPreviewThreadProps, Hi as DialogTitleProps, Hn as MessageItemFooter, Hr as DropdownMenuPopupProps, Ht as MessageReactionTooltipNameProps, I as MessageQuotedPreviewLoading, Ii as DialogPortal, In as MessageItemContent, Ir as DropdownMenuItemLabel, It as MessageReactionQuickRowProps, J as MessageTextSelectionToolbarButton, Ji as VariantProps, Jn as MessageItemContinuationTime, Jr as DropdownMenuRadioItem, Jt as MessageReactionTooltipSeparatorProps, K as MessageQuotedPreviewUnavailableProps, Ki as ButtonProps, Kn as MessageItemAvatarSlot, Kr as DropdownMenuRadioGroup, Kt as MessageReactionTooltipNamesProps, L as MessageQuotedPreviewLoadingProps, Li as DialogPortalProps, Ln as MessageItemContentProps, Lr as DropdownMenuItemLabelProps, Lt as MessageReactionTooltipContent, M as MessageQuotedPreviewContent, Mi as DialogNav, Mn as MessageItemAttachments, Mr as DropdownMenuFooterProps, Mt as MessageReactionPickerStaticProps, N as MessageQuotedPreviewContentProps, Ni as DialogNavProps, Nn as MessageItemAttachmentsProps, Nr as DropdownMenuItem, Nt as MessageReactionQuickButton, O as MessageQuotedPreviewAuthorNameProps, Oi as DialogFooter, On as MessageItemSenderGroupProps, Or as DropdownMenuCheckboxItemProps, Ot as MessageReactionGlyphProps, P as MessageQuotedPreviewHeader, Pi as DialogOverlay, Pn as MessageItemBody, Pr as DropdownMenuItemCount, Pt as MessageReactionQuickButtonProps, Q as MessageTextSelectionToolbarSeparatorProps, Qn as MessageItem, Qr as DropdownMenuSeparator, Qt as MessageItemBadgeSeparatorProps, R as MessageQuotedPreviewProps, Ri as DialogProps, Rn as MessageItemEdited, Rr as DropdownMenuItemProps, Rt as MessageReactionTooltipContentProps, S as MessageQuotedPreviewAuthor, Si as DialogClose, Sn as MessageItemSender, Sr as TooltipTrigger, St as MessageReactionChipProps, T as MessageQuotedPreviewAuthorMeta, Ti as DialogContentProps, Tn as MessageItemSenderButton, Tr as DropdownMenuCheckboxItem, Tt as MessageReactionErrorIndicator, U as MessageQuotedPreviewTimestamp, Ui as DialogTrigger, Un as MessageItemFooterProps, Ur as DropdownMenuPortal, Ut as MessageReactionTooltipNameText, V as MessageQuotedPreviewThread, Vi as DialogTitle, Vn as MessageItemEmbeddedProps, Vr as DropdownMenuPopup, Vt as MessageReactionTooltipName, W as MessageQuotedPreviewTimestampProps, Wi as DialogTriggerProps, Wn as MessageItemSearchMatch, Wr as DropdownMenuPortalProps, Wt as MessageReactionTooltipNameTextProps, X as MessageTextSelectionToolbarProps, Xi as StyledProps, Xn as MessageItemGutter, Xr as DropdownMenuRadioItemIndicatorProps, Xt as MessageItemBadgeProps, Y as MessageTextSelectionToolbarButtonProps, Yi as DataAttributes$1, Yn as MessageItemContinuationTimeProps, Yr as DropdownMenuRadioItemIndicator, Yt as MessageItemBadge, Z as MessageTextSelectionToolbarSeparator, Zn as MessageItemGutterProps, Zr as DropdownMenuRadioItemProps, Zt as MessageItemBadgeSeparator, _ as MessageQuotedPreview, _i as CheckboxProps, _n as MessageItemHeaderProps, _r as TooltipPortal, _t as MessageReferenceChipVariant, ai as DropdownMenuSubmenuTriggerProps, an as MessageItemToolbarButton, ar as AvatarFallbackProps, at as MessageReferenceChip, b as MessageQuotedPreviewAttachments, bi as DialogBody, bn as MessageItemMeta, br as TooltipProvider, bt as MessageReactionAddButtonProps, ci as Kbd, cr as AvatarGroupCountProps, ct as MessageReferenceIndicatorProps, d as MessageListHistoryLimited, di as KbdProps, dr as AvatarImageProps, dt as MessageReferencePending, ei as DropdownMenuShortcut, en as MessageItemReadReceipt, er as Avatar, et as MessageMultiSelectCheckbox, f as MessageListHistoryLimitedProps, fi as Badge, fr as AvatarProps, ft as MessageReferencePendingProps, g as MessageListProps, gi as Checkbox, gn as MessageItemHeader, gr as TooltipContentProps, gt as MessageReferenceUnavailableProps, h as MessageList, hi as CheckboxIndicatorProps, hr as TooltipContent, ht as MessageReferenceUnavailable, ii as DropdownMenuSubmenuTrigger, in as MessageItemToolbar, ir as AvatarFallback, it as MessageMultiSelectToolbarProps, j as MessageQuotedPreviewChannelProps, ji as DialogHeaderProps, jn as MessageItemTimeProps, jr as DropdownMenuFooter, jt as MessageReactionPickerStatic, k as MessageQuotedPreviewAuthorProps, ki as DialogFooterProps, kn as MessageItemSenderProps, kr as DropdownMenuContent, kt as MessageReactionPickerContent, l as MessageListDateDivider, li as KbdGroup, lr as AvatarGroupProps, lt as MessageReferenceLabel, m as MessageListNoticeProps, mi as CheckboxIndicator, mr as Tooltip, mt as MessageReferenceTextProps, ni as DropdownMenuSubmenu, nn as MessageItemSavedIndicator, nr as AvatarBadgeOffset, nt as MessageMultiSelectProps, oi as DropdownMenuTrigger, on as MessageItemToolbarButtonProps, or as AvatarGroup, ot as MessageReferenceChipProps, p as MessageListNotice, pi as BadgeProps, pr as AvatarSize, pt as MessageReferenceText, q as MessageTextSelectionToolbar, qi as buttonVariants, qn as MessageItemAvatarSlotProps, qr as DropdownMenuRadioGroupProps, qt as MessageReactionTooltipSeparator, ri as DropdownMenuSubmenuProps, rn as MessageItemSavedIndicatorProps, rr as AvatarBadgeProps, rt as MessageMultiSelectToolbar, si as DropdownMenuTriggerProps, sn as MessageItemToolbarProps, sr as AvatarGroupCount, st as MessageReferenceIndicator, ti as DropdownMenuShortcutProps, tn as MessageItemReadReceiptProps, tr as AvatarBadge, tt as MessageMultiSelectCheckboxProps, u as MessageListDateDividerProps, ui as KbdGroupProps, ur as AvatarImage, ut as MessageReferenceLabelProps, v as MessageQuotedPreviewAttachment, vi as Presence, vn as MessageItemInlineStatus, vr as TooltipPortalProps, vt as MessageReferenceTextVariant, wi as DialogContent, wn as MessageItemSenderBadgesProps, wr as DropdownMenu, wt as MessageReactionCountProps, x as MessageQuotedPreviewAttachmentsProps, xi as DialogBodyProps, xn as MessageItemMetaProps, xr as TooltipProviderProps, xt as MessageReactionChip, y as MessageQuotedPreviewAttachmentProps, yi as Dialog, yn as MessageItemInlineStatusProps, yr as TooltipProps, yt as MessageReactionAddButton, z as MessageQuotedPreviewText, zi as DialogSurface, zn as MessageItemEditedProps, zr as DropdownMenuLabel, zt as MessageReactionTooltipMeta } from "./index-
|
|
1
|
+
import { $ as MessageMultiSelect, $n as MessageItemProps, $r as DropdownMenuSeparatorProps, $t as MessageItemBadgeStatus, A as MessageQuotedPreviewChannel, Ai as DialogHeader, An as MessageItemTime, Ar as DropdownMenuContentProps, At as MessageReactionPickerContentProps, B as MessageQuotedPreviewTextProps, Bi as DialogSurfaceProps, Bn as MessageItemEmbedded, Br as DropdownMenuLabelProps, Bt as MessageReactionTooltipMetaProps, Ci as DialogCloseProps, Cn as MessageItemSenderBadges, Cr as TooltipTriggerProps, Ct as MessageReactionCount, D as MessageQuotedPreviewAuthorName, Di as DialogDescriptionProps, Dn as MessageItemSenderGroup, Dr as DropdownMenuCheckboxItemIndicatorProps, Dt as MessageReactionGlyph, E as MessageQuotedPreviewAuthorMetaProps, Ei as DialogDescription, En as MessageItemSenderButtonProps, Er as DropdownMenuCheckboxItemIndicator, Et as MessageReactionErrorIndicatorProps, F as MessageQuotedPreviewHeaderProps, Fi as DialogOverlayProps, Fn as MessageItemBodyProps, Fr as DropdownMenuItemCountProps, Ft as MessageReactionQuickRow, G as MessageQuotedPreviewUnavailable, Gi as Button, Gn as MessageItemSearchMatchProps, Gr as DropdownMenuProps, Gt as MessageReactionTooltipNames, H as MessageQuotedPreviewThreadProps, Hi as DialogTitleProps, Hn as MessageItemFooter, Hr as DropdownMenuPopupProps, Ht as MessageReactionTooltipNameProps, I as MessageQuotedPreviewLoading, Ii as DialogPortal, In as MessageItemContent, Ir as DropdownMenuItemLabel, It as MessageReactionQuickRowProps, J as MessageTextSelectionToolbarButton, Ji as VariantProps, Jn as MessageItemContinuationTime, Jr as DropdownMenuRadioItem, Jt as MessageReactionTooltipSeparatorProps, K as MessageQuotedPreviewUnavailableProps, Ki as ButtonProps, Kn as MessageItemAvatarSlot, Kr as DropdownMenuRadioGroup, Kt as MessageReactionTooltipNamesProps, L as MessageQuotedPreviewLoadingProps, Li as DialogPortalProps, Ln as MessageItemContentProps, Lr as DropdownMenuItemLabelProps, Lt as MessageReactionTooltipContent, M as MessageQuotedPreviewContent, Mi as DialogNav, Mn as MessageItemAttachments, Mr as DropdownMenuFooterProps, Mt as MessageReactionPickerStaticProps, N as MessageQuotedPreviewContentProps, Ni as DialogNavProps, Nn as MessageItemAttachmentsProps, Nr as DropdownMenuItem, Nt as MessageReactionQuickButton, O as MessageQuotedPreviewAuthorNameProps, Oi as DialogFooter, On as MessageItemSenderGroupProps, Or as DropdownMenuCheckboxItemProps, Ot as MessageReactionGlyphProps, P as MessageQuotedPreviewHeader, Pi as DialogOverlay, Pn as MessageItemBody, Pr as DropdownMenuItemCount, Pt as MessageReactionQuickButtonProps, Q as MessageTextSelectionToolbarSeparatorProps, Qn as MessageItem, Qr as DropdownMenuSeparator, Qt as MessageItemBadgeSeparatorProps, R as MessageQuotedPreviewProps, Ri as DialogProps, Rn as MessageItemEdited, Rr as DropdownMenuItemProps, Rt as MessageReactionTooltipContentProps, S as MessageQuotedPreviewAuthor, Si as DialogClose, Sn as MessageItemSender, Sr as TooltipTrigger, St as MessageReactionChipProps, T as MessageQuotedPreviewAuthorMeta, Ti as DialogContentProps, Tn as MessageItemSenderButton, Tr as DropdownMenuCheckboxItem, Tt as MessageReactionErrorIndicator, U as MessageQuotedPreviewTimestamp, Ui as DialogTrigger, Un as MessageItemFooterProps, Ur as DropdownMenuPortal, Ut as MessageReactionTooltipNameText, V as MessageQuotedPreviewThread, Vi as DialogTitle, Vn as MessageItemEmbeddedProps, Vr as DropdownMenuPopup, Vt as MessageReactionTooltipName, W as MessageQuotedPreviewTimestampProps, Wi as DialogTriggerProps, Wn as MessageItemSearchMatch, Wr as DropdownMenuPortalProps, Wt as MessageReactionTooltipNameTextProps, X as MessageTextSelectionToolbarProps, Xi as StyledProps, Xn as MessageItemGutter, Xr as DropdownMenuRadioItemIndicatorProps, Xt as MessageItemBadgeProps, Y as MessageTextSelectionToolbarButtonProps, Yi as DataAttributes$1, Yn as MessageItemContinuationTimeProps, Yr as DropdownMenuRadioItemIndicator, Yt as MessageItemBadge, Z as MessageTextSelectionToolbarSeparator, Zn as MessageItemGutterProps, Zr as DropdownMenuRadioItemProps, Zt as MessageItemBadgeSeparator, _ as MessageQuotedPreview, _i as CheckboxProps, _n as MessageItemHeaderProps, _r as TooltipPortal, _t as MessageReferenceChipVariant, ai as DropdownMenuSubmenuTriggerProps, an as MessageItemToolbarButton, ar as AvatarFallbackProps, at as MessageReferenceChip, b as MessageQuotedPreviewAttachments, bi as DialogBody, bn as MessageItemMeta, br as TooltipProvider, bt as MessageReactionAddButtonProps, ci as Kbd, cr as AvatarGroupCountProps, ct as MessageReferenceIndicatorProps, d as MessageListHistoryLimited, di as KbdProps, dr as AvatarImageProps, dt as MessageReferencePending, ei as DropdownMenuShortcut, en as MessageItemReadReceipt, er as Avatar, et as MessageMultiSelectCheckbox, f as MessageListHistoryLimitedProps, fi as Badge, fr as AvatarProps, ft as MessageReferencePendingProps, g as MessageListProps, gi as Checkbox, gn as MessageItemHeader, gr as TooltipContentProps, gt as MessageReferenceUnavailableProps, h as MessageList, hi as CheckboxIndicatorProps, hr as TooltipContent, ht as MessageReferenceUnavailable, ii as DropdownMenuSubmenuTrigger, in as MessageItemToolbar, ir as AvatarFallback, it as MessageMultiSelectToolbarProps, j as MessageQuotedPreviewChannelProps, ji as DialogHeaderProps, jn as MessageItemTimeProps, jr as DropdownMenuFooter, jt as MessageReactionPickerStatic, k as MessageQuotedPreviewAuthorProps, ki as DialogFooterProps, kn as MessageItemSenderProps, kr as DropdownMenuContent, kt as MessageReactionPickerContent, l as MessageListDateDivider, li as KbdGroup, lr as AvatarGroupProps, lt as MessageReferenceLabel, m as MessageListNoticeProps, mi as CheckboxIndicator, mr as Tooltip, mt as MessageReferenceTextProps, ni as DropdownMenuSubmenu, nn as MessageItemSavedIndicator, nr as AvatarBadgeOffset, nt as MessageMultiSelectProps, oi as DropdownMenuTrigger, on as MessageItemToolbarButtonProps, or as AvatarGroup, ot as MessageReferenceChipProps, p as MessageListNotice, pi as BadgeProps, pr as AvatarSize, pt as MessageReferenceText, q as MessageTextSelectionToolbar, qi as buttonVariants, qn as MessageItemAvatarSlotProps, qr as DropdownMenuRadioGroupProps, qt as MessageReactionTooltipSeparator, ri as DropdownMenuSubmenuProps, rn as MessageItemSavedIndicatorProps, rr as AvatarBadgeProps, rt as MessageMultiSelectToolbar, si as DropdownMenuTriggerProps, sn as MessageItemToolbarProps, sr as AvatarGroupCount, st as MessageReferenceIndicator, ti as DropdownMenuShortcutProps, tn as MessageItemReadReceiptProps, tr as AvatarBadge, tt as MessageMultiSelectCheckboxProps, u as MessageListDateDividerProps, ui as KbdGroupProps, ur as AvatarImage, ut as MessageReferenceLabelProps, v as MessageQuotedPreviewAttachment, vi as Presence, vn as MessageItemInlineStatus, vr as TooltipPortalProps, vt as MessageReferenceTextVariant, wi as DialogContent, wn as MessageItemSenderBadgesProps, wr as DropdownMenu, wt as MessageReactionCountProps, x as MessageQuotedPreviewAttachmentsProps, xi as DialogBodyProps, xn as MessageItemMetaProps, xr as TooltipProviderProps, xt as MessageReactionChip, y as MessageQuotedPreviewAttachmentProps, yi as Dialog, yn as MessageItemInlineStatusProps, yr as TooltipProps, yt as MessageReactionAddButton, z as MessageQuotedPreviewText, zi as DialogSurface, zn as MessageItemEditedProps, zr as DropdownMenuLabel, zt as MessageReactionTooltipMeta } from "./index-DsVVBZ5T.mjs";
|
|
2
2
|
import { cn } from "./cn.mjs";
|
|
3
3
|
import { Dialog as Dialog$1 } from "@base-ui/react/dialog";
|
|
4
4
|
import { CSSProperties, ComponentProps, ComponentPropsWithRef, ComponentPropsWithoutRef, ComponentType, CompositionEventHandler, ElementType, FocusEventHandler, FormEventHandler, HTMLAttributes, KeyboardEventHandler, PointerEvent, ReactElement, ReactNode, Ref, RefObject, SVGProps } from "react";
|
|
@@ -972,6 +972,12 @@ export declare function MobileNavItem({ nativeButton, selected, className, rende
|
|
|
972
972
|
type MobileNavLabelProps = useRender.ComponentProps<"span">;
|
|
973
973
|
export declare function MobileNavLabel({ className, render, ...props }: MobileNavLabelProps): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>;
|
|
974
974
|
//#endregion
|
|
975
|
+
//#region src/components/workspace-button/workspace-button.d.ts
|
|
976
|
+
type WorkspaceButtonProps = Omit<ButtonProps, "variant" | "size">;
|
|
977
|
+
export declare function WorkspaceButton({ className, children, ...props }: WorkspaceButtonProps): import("react").JSX.Element;
|
|
978
|
+
type WorkspaceButtonNameProps = ComponentPropsWithRef<"span">;
|
|
979
|
+
export declare function WorkspaceButtonName({ className, ...props }: WorkspaceButtonNameProps): import("react").JSX.Element;
|
|
980
|
+
//#endregion
|
|
975
981
|
//#region src/components/popover/popover.d.ts
|
|
976
982
|
type PopoverProps = Popover$1.Root.Props;
|
|
977
983
|
export declare function Popover(props: PopoverProps): import("react").JSX.Element;
|
|
@@ -4381,11 +4387,17 @@ interface VirtualListProps<T> extends VirtualListNativeProps {
|
|
|
4381
4387
|
* result is the row's `renderedItemWithCols`.
|
|
4382
4388
|
*/
|
|
4383
4389
|
renderItemWithCols?: ((info: RenderItemWithColsInfo) => ReactNode) | undefined;
|
|
4384
|
-
/**
|
|
4390
|
+
/**
|
|
4391
|
+
* The items, one row each, in order. Treat them as immutable: a mounted row is rendered again only
|
|
4392
|
+
* when its item (by reference) or its index changes, or a render prop does (`children`,
|
|
4393
|
+
* `ItemComponent`, `getKey`, `renderCol`, `renderItemWithCols`, `itemResizable`, `ignoreItemResize`,
|
|
4394
|
+
* `sessionId`, `virtual`), so replace an item's object to change its row.
|
|
4395
|
+
*/
|
|
4385
4396
|
items?: readonly T[] | undefined;
|
|
4386
4397
|
/**
|
|
4387
|
-
* The shortest a row can be, in px, or less:
|
|
4388
|
-
* size, plus one, so a larger value leaves the end of the
|
|
4398
|
+
* The shortest a row can be, in px, or less: to fill the view, rows not measured yet count at this
|
|
4399
|
+
* size (after a jump, as many rows as fit at it, plus one), so a larger value leaves the end of the
|
|
4400
|
+
* view empty. While the list scrolls, rows ahead of the view are mounted on top of these.
|
|
4389
4401
|
*/
|
|
4390
4402
|
itemMinSize: number;
|
|
4391
4403
|
/** The size, in px, counted for a row not measured yet (its offset and the spacer's height). */
|
|
@@ -4444,6 +4456,8 @@ interface VirtualListProps<T> extends VirtualListNativeProps {
|
|
|
4444
4456
|
/**
|
|
4445
4457
|
* Renders a row: called for each item in or near the view with the item, its index, the `domRef` to
|
|
4446
4458
|
* put on the row's root element and the `style` to spread on it. Give the element the `key` it gets.
|
|
4459
|
+
* A mounted row is rendered again only when its item, its index or a render prop changes (see
|
|
4460
|
+
* `items`): read no other mutable state here.
|
|
4447
4461
|
*/
|
|
4448
4462
|
children?: ((props: ItemRenderProps<T> & {
|
|
4449
4463
|
key: string | undefined;
|
|
@@ -4938,4 +4952,4 @@ type InputModality = "pointer" | "keyboard" | "virtual";
|
|
|
4938
4952
|
*/
|
|
4939
4953
|
export declare function installInputModality(doc?: Document): () => void;
|
|
4940
4954
|
//#endregion
|
|
4941
|
-
export { type AlertDialogActionProps, type AlertDialogBodyProps, type AlertDialogCancelProps, type AlertDialogCloseProps, type AlertDialogContentProps, type AlertDialogDescriptionProps, type AlertDialogFooterProps, type AlertDialogHeaderProps, type AlertDialogOverlayProps, type AlertDialogPortalProps, type AlertDialogProps, type AlertDialogTitleProps, type AlertDialogTriggerProps, type AppRailFooterProps, type AppRailHeaderProps, type AppRailItemAttentionProps, type AppRailItemBadgeProps, type AppRailItemIconProps, type AppRailItemIndicatorProps, type AppRailItemLabelProps, type AppRailItemProps, type AppRailNavProps, type AppRailRootProps, type AppShellMainSlotProps, type AppShellOverlaySlotProps, type AppShellPanelSlotProps, type AppShellRailSlotProps, type AppShellRootProps, type AppShellSidebarSlotProps, type AppShellSidebarTriggerProps, Avatar, AvatarBadge, type AvatarBadgeOffset, type AvatarBadgeProps, AvatarFallback, type AvatarFallbackProps, AvatarGroup, AvatarGroupCount, type AvatarGroupCountProps, type AvatarGroupProps, AvatarImage, type AvatarImageProps, type AvatarProps, type AvatarSize, Badge, type BadgeProps, type BannerActionProps, type BannerDescriptionProps, type BannerProps, type BannerStatus, type BannerTitleProps, Button, type ButtonProps, type CardContentProps, type CardDescriptionProps, type CardFooterProps, type CardHeaderProps, type CardLeadingProps, type CardProps, type CardTitleProps, type CardTrailingProps, Checkbox, CheckboxIndicator, type CheckboxIndicatorProps, type CheckboxProps, type CodeBlockActionProps, type CodeBlockActionsProps, type CodeBlockBodyProps, type CodeBlockHeaderProps, type CodeBlockProps, type CodeBlockTitleProps, type ComboboxChipProps, type ComboboxChipRemoveProps, type ComboboxChipsProps, type ComboboxClearProps, type ComboboxCollectionProps, type ComboboxContentProps, type ComboboxControlProps, type ComboboxEmptyProps, type ComboboxGroupLabelProps, type ComboboxGroupProps, type ComboboxHeaderProps, type ComboboxInputGroupProps, type ComboboxInputProps, type ComboboxItemIndicatorProps, type ComboboxItemProps, type ComboboxLabelProps, type ComboboxListProps, type ComboboxPopupProps, type ComboboxPortalProps, type ComboboxProps, type ComboboxRowProps, type ComboboxSeparatorProps, type ComboboxTriggerCountProps, type ComboboxTriggerIndicatorProps, type ComboboxTriggerProps, type ComboboxValueProps, type ComposerActionsProps, type ComposerAttachmentBodyProps, type ComposerAttachmentFailedOverlayProps, type ComposerAttachmentFileProps, type ComposerAttachmentImageProps, type ComposerAttachmentMetaProps, type ComposerAttachmentProps, type ComposerAttachmentRemoveProps, type ComposerAttachmentTitleProps, type ComposerAttachmentUploadProgressBarProps, type ComposerAttachmentUploadingOverlayProps, type ComposerAttachmentsProps, type ComposerAttachmentsScrollAreaProps, type ComposerDropOverlayLabelProps, type ComposerDropOverlayPromptProps, type ComposerDropOverlayProps, type ComposerIconButtonProps, type ComposerInputProps, type ComposerMetaProps, type ComposerProps, type ComposerRootProps, type ComposerSubmitProps, type ComposerSuggestionAsideProps, type ComposerSuggestionContentProps, type ComposerSuggestionGroupLabelProps, type ComposerSuggestionGroupProps, type ComposerSuggestionIconProps, type ComposerSuggestionListProps, type ComposerSuggestionMetaProps, type ComposerSuggestionOptionProps, type ComposerSuggestionTitleProps, type ComposerSuggestionTriggerMatch, type ComposerSuggestionsInputProps, type ComposerSuggestionsListProps, type ComposerSuggestionsOptionProps, type ComposerToolbarLabelProps, type ComposerToolbarProps, type ContextMenuCheckboxItemIndicatorProps, type ContextMenuCheckboxItemProps, type ContextMenuContentProps, type ContextMenuFooterProps, type ContextMenuItemLabelProps, type ContextMenuItemProps, type ContextMenuLabelProps, type ContextMenuPopupProps, type ContextMenuPortalProps, type ContextMenuProps, type ContextMenuRadioGroupProps, type ContextMenuRadioItemIndicatorProps, type ContextMenuRadioItemProps, type ContextMenuSeparatorProps, type ContextMenuShortcutProps, type ContextMenuSubmenuProps, type ContextMenuSubmenuTriggerProps, type ContextMenuTriggerProps, type ConversationIconProps, type ConversationPanelBodyProps, type ConversationPanelContentProps, type ConversationPanelEmptyStateBrandMarkProps, type ConversationPanelEmptyStateBrandProps, type ConversationPanelEmptyStateProps, type ConversationPanelFooterProps, type ConversationPanelRootProps, type ConversationPanelTabsProps, type CopyableCodeActionProps, type CopyableCodeProps, type CopyableCodeRootProps, type DescriptionDetailsProps, type DescriptionItemProps, type DescriptionListDirection, type DescriptionListProps, type DescriptionTermProps, Dialog, DialogBody, type DialogBodyProps, DialogClose, type DialogCloseProps, DialogContent, type DialogContentProps, DialogDescription, type DialogDescriptionProps, DialogFooter, type DialogFooterProps, DialogHeader, type DialogHeaderProps, DialogNav, type DialogNavProps, DialogOverlay, type DialogOverlayProps, DialogPortal, type DialogPortalProps, type DialogProps, DialogSurface, type DialogSurfaceProps, DialogTitle, type DialogTitleProps, DialogTrigger, type DialogTriggerProps, type DrawerActionsProps, type DrawerBodyProps, type DrawerCloseProps, type DrawerContentProps, type DrawerDescriptionProps, type DrawerFooterProps, type DrawerHeaderProps, type DrawerOverlayProps, type DrawerPortalProps, type DrawerProps, type DrawerTitleProps, type DrawerTriggerProps, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuCheckboxItemIndicator, type DropdownMenuCheckboxItemIndicatorProps, type DropdownMenuCheckboxItemProps, DropdownMenuContent, type DropdownMenuContentProps, DropdownMenuFooter, type DropdownMenuFooterProps, DropdownMenuItem, DropdownMenuItemCount, type DropdownMenuItemCountProps, DropdownMenuItemLabel, type DropdownMenuItemLabelProps, type DropdownMenuItemProps, DropdownMenuLabel, type DropdownMenuLabelProps, DropdownMenuPopup, type DropdownMenuPopupProps, DropdownMenuPortal, type DropdownMenuPortalProps, type DropdownMenuProps, DropdownMenuRadioGroup, type DropdownMenuRadioGroupProps, DropdownMenuRadioItem, DropdownMenuRadioItemIndicator, type DropdownMenuRadioItemIndicatorProps, type DropdownMenuRadioItemProps, DropdownMenuSeparator, type DropdownMenuSeparatorProps, DropdownMenuShortcut, type DropdownMenuShortcutProps, DropdownMenuSubmenu, type DropdownMenuSubmenuProps, DropdownMenuSubmenuTrigger, type DropdownMenuSubmenuTriggerProps, DropdownMenuTrigger, type DropdownMenuTriggerProps, type EmptyStateActionsProps, type EmptyStateContentProps, type EmptyStateDescriptionProps, type EmptyStateIconProps, type EmptyStateProps, type EmptyStateTitleProps, type FieldControlProps, type FieldDescriptionProps, type FieldErrorProps, type FieldItemProps, type FieldLabelProps, type FieldProps, type FieldValidityProps, type FilePreviewBadgeProps, type FilePreviewCodeProps, type FilePreviewDocumentProps, type FilePreviewFileProps, type FilePreviewMediaProps, type FilePreviewProps, type FloatButtonGroupDirection, type FloatButtonGroupProps, type FloatButtonOffset, type FloatButtonPosition, type FloatButtonProps, type FloatButtonShape, type FloatButtonSide, type FloatButtonSize, type FloatButtonVariant, type FormSectionProps, type IconTileProps, type InboxItemActionsProps, type InboxItemBodyProps, type InboxItemContentProps, type InboxItemContextProps, type InboxItemDensity, type InboxItemHeadingProps, type InboxItemHoverTargetProps, type InboxItemLeadingProps, type InboxItemMarksProps, type InboxItemMessageProps, type InboxItemMetadataProps, type InboxItemProps, type InboxItemSelectionProps, type InboxItemSenderProps, type InboxItemSubtitleProps, type InboxItemTimestampProps, type InboxItemTitleProps, type InboxItemTrailingProps, type InboxItemTriggerProps, type InlineCodeProps, type InputGroupAddonProps, type InputGroupAddonTextProps, type InputGroupInputProps, type InputGroupProps, type InputModality, type InputProps, Kbd, KbdGroup, type KbdGroupProps, type KbdProps, type LabelAsteriskProps, type LabelOptionalProps, type LabelProps, type LabelSubProps, type LegacyTaskPanelActionsProps, type LegacyTaskPanelBodyProps, type LegacyTaskPanelFieldLabelProps, type LegacyTaskPanelFieldProps, type LegacyTaskPanelFieldTextProps, type LegacyTaskPanelFieldTitleProps, type LegacyTaskPanelHeaderProps, type LegacyTaskPanelIconProps, type LegacyTaskPanelMetaLabelProps, type LegacyTaskPanelMetaProps, type LegacyTaskPanelMetaRowProps, type LegacyTaskPanelMetaValueProps, type LegacyTaskPanelRootProps, type LegacyTaskPanelSectionProps, type LegacyTaskPanelStatusProps, type LegacyTaskPanelTitleMetaProps, type LegacyTaskPanelTitleProps, type LightboxActionsProps, type LightboxCloseProps, type LightboxContentProps, type LightboxHeaderLabelProps, type LightboxHeaderMetaProps, type LightboxHeaderProps, type LightboxInfoActionsProps, type LightboxInfoBarProps, type LightboxInfoDockProps, type LightboxInfoTitleProps, type LightboxMediaProps, type LightboxNavigationButtonProps, type LightboxPortalProps, type LightboxProps, type LightboxStageProps, type LightboxThumbnailProps, type LightboxThumbnailStripProps, type LightboxTitleProps, type LightboxToolbarProps, type LightboxTriggerProps, type ListRowBodyProps, type ListRowBottomProps, type ListRowChevronProps, type ListRowDescriptionProps, type ListRowGroupProps, type ListRowIconProps, type ListRowMetaProps, type ListRowProps, type ListRowTitleProps, type ListRowTopProps, type ListRowValueProps, type LiveAgentActivityBarAvatarProps, type LiveAgentActivityBarContentProps, type LiveAgentActivityBarProps, type LiveAgentActivityBarRowProps, type LiveAgentActivityBarStatusProps, type LiveAgentActivityBarTextProps, type MarkdownBlockquoteProps, type MarkdownCellProps, type MarkdownCheckboxProps, type MarkdownHeaderCellProps, type MarkdownHeadingLevel, type MarkdownHeadingProps, type MarkdownImageProps, type MarkdownInlineCodeProps, type MarkdownLinkProps, type MarkdownListItemProps, type MarkdownListProps, type MarkdownMarkProps, type MarkdownOrderedListProps, type MarkdownParagraphProps, type MarkdownRuleProps, type MarkdownTableProps, type MarkdownTableRowProps, type MarkdownTableScrollProps, type MessageActionCardActionsNoteProps, type MessageActionCardActionsProps, type MessageActionCardCollapseTriggerProps, type MessageActionCardCompletionProps, type MessageActionCardContentProps, type MessageActionCardHeaderDescriptionProps, type MessageActionCardHeaderIconProps, type MessageActionCardHeaderProps, type MessageActionCardHeaderStatusProps, type MessageActionCardHeaderTitleProps, type MessageActionCardHintLabelProps, type MessageActionCardHintProps, type MessageActionCardNoticeProps, type MessageActionCardPropertiesProps, type MessageActionCardPropertyLabelProps, type MessageActionCardPropertyProps, type MessageActionCardPropertyValueProps, type MessageActionCardProps, type MessageActionCardScopeDescriptionProps, type MessageActionCardScopeListLabelProps, type MessageActionCardScopeListProps, type MessageActionCardScopeListViewportProps, type MessageActionCardScopeNameProps, type MessageActionCardScopeProps, type MessageActionCardStatusProps, type MessageAttachmentActionProps, type MessageAttachmentCardProps, type MessageAttachmentCommentSummaryProps, type MessageAttachmentDiffAdditionProps, type MessageAttachmentDiffDeletionProps, type MessageAttachmentDiffSummaryProps, type MessageAttachmentGroupProps, type MessageAttachmentMetaEndProps, type MessageAttachmentMetaProps, type MessageAttachmentMetaStartProps, type MessageAttachmentSummaryProps, type MessageAttachmentTitleProps, type MessageEmbedContentProps, type MessageEmbedFooterProps, type MessageEmbedHeaderProps, type MessageEmbedProps, type MessageForwardedBundleAttachmentMetaProps, type MessageForwardedBundleAttachmentNameProps, type MessageForwardedBundleAttachmentProps, type MessageForwardedBundleAttachmentsProps, type MessageForwardedBundleFooterActionProps, type MessageForwardedBundleFooterProps, type MessageForwardedBundleGalleryProps, type MessageForwardedBundleGalleryTileProps, type MessageForwardedBundleHeaderContentProps, type MessageForwardedBundleHeaderCountProps, type MessageForwardedBundleHeaderLabelProps, type MessageForwardedBundleHeaderProps, type MessageForwardedBundleItemAuthorProps, type MessageForwardedBundleItemContentProps, type MessageForwardedBundleItemMetaProps, type MessageForwardedBundleItemProps, type MessageForwardedBundleItemsProps, type MessageForwardedBundleProps, type MessageForwardedBundleSourceLabelProps, type MessageForwardedBundleSourceProps, type MessageImageGalleryActionProps, type MessageImageGalleryAspectKind, type MessageImageGalleryFit, type MessageImageGalleryImage, type MessageImageGalleryItemLayout, type MessageImageGalleryItemProps, type MessageImageGalleryMediaProps, type MessageImageGalleryOverlayProps, type MessageImageGalleryPreviewProps, type MessageImageGalleryProps, type MessageImageGalleryRowData, type MessageImageGalleryRowProps, MessageItem, MessageItemAttachments, type MessageItemAttachmentsProps, MessageItemAvatarSlot, type MessageItemAvatarSlotProps, MessageItemBadge, type MessageItemBadgeProps, MessageItemBadgeSeparator, type MessageItemBadgeSeparatorProps, type MessageItemBadgeStatus, MessageItemBody, type MessageItemBodyProps, MessageItemContent, type MessageItemContentProps, MessageItemContinuationTime, type MessageItemContinuationTimeProps, MessageItemEdited, type MessageItemEditedProps, MessageItemEmbedded, type MessageItemEmbeddedProps, MessageItemFooter, type MessageItemFooterProps, MessageItemGutter, type MessageItemGutterProps, MessageItemHeader, type MessageItemHeaderProps, MessageItemInlineStatus, type MessageItemInlineStatusProps, MessageItemMeta, type MessageItemMetaProps, type MessageItemProps, MessageItemReadReceipt, type MessageItemReadReceiptProps, MessageItemSavedIndicator, type MessageItemSavedIndicatorProps, MessageItemSearchMatch, type MessageItemSearchMatchProps, MessageItemSender, MessageItemSenderBadges, type MessageItemSenderBadgesProps, MessageItemSenderButton, type MessageItemSenderButtonProps, MessageItemSenderGroup, type MessageItemSenderGroupProps, type MessageItemSenderProps, MessageItemTime, type MessageItemTimeProps, MessageItemToolbar, MessageItemToolbarButton, type MessageItemToolbarButtonProps, type MessageItemToolbarProps, type MessageItemTranslationActionProps, type MessageItemTranslationFailedStatusProps, type MessageItemTranslationOriginalLabelProps, type MessageItemTranslationOriginalProps, type MessageItemTranslationProgressTrackProps, type MessageItemTranslationRetryActionProps, type MessageItemTranslationStatusProps, MessageList, MessageListDateDivider, type MessageListDateDividerProps, MessageListHistoryLimited, type MessageListHistoryLimitedProps, MessageListNotice, type MessageListNoticeProps, type MessageListProps, MessageMultiSelect, MessageMultiSelectCheckbox, type MessageMultiSelectCheckboxProps, type MessageMultiSelectProps, MessageMultiSelectToolbar, type MessageMultiSelectToolbarProps, MessageQuotedPreview, MessageQuotedPreviewAttachment, type MessageQuotedPreviewAttachmentProps, MessageQuotedPreviewAttachments, type MessageQuotedPreviewAttachmentsProps, MessageQuotedPreviewAuthor, MessageQuotedPreviewAuthorMeta, type MessageQuotedPreviewAuthorMetaProps, MessageQuotedPreviewAuthorName, type MessageQuotedPreviewAuthorNameProps, type MessageQuotedPreviewAuthorProps, MessageQuotedPreviewChannel, type MessageQuotedPreviewChannelProps, MessageQuotedPreviewContent, type MessageQuotedPreviewContentProps, MessageQuotedPreviewHeader, type MessageQuotedPreviewHeaderProps, MessageQuotedPreviewLoading, type MessageQuotedPreviewLoadingProps, type MessageQuotedPreviewProps, MessageQuotedPreviewText, type MessageQuotedPreviewTextProps, MessageQuotedPreviewThread, type MessageQuotedPreviewThreadProps, MessageQuotedPreviewTimestamp, type MessageQuotedPreviewTimestampProps, MessageQuotedPreviewUnavailable, type MessageQuotedPreviewUnavailableProps, MessageReactionAddButton, type MessageReactionAddButtonProps, MessageReactionChip, type MessageReactionChipProps, MessageReactionCount, type MessageReactionCountProps, MessageReactionErrorIndicator, type MessageReactionErrorIndicatorProps, MessageReactionGlyph, type MessageReactionGlyphProps, MessageReactionPickerContent, type MessageReactionPickerContentProps, MessageReactionPickerStatic, type MessageReactionPickerStaticProps, MessageReactionQuickButton, type MessageReactionQuickButtonProps, MessageReactionQuickRow, type MessageReactionQuickRowProps, MessageReactionTooltipContent, type MessageReactionTooltipContentProps, MessageReactionTooltipMeta, type MessageReactionTooltipMetaProps, MessageReactionTooltipName, type MessageReactionTooltipNameProps, MessageReactionTooltipNameText, type MessageReactionTooltipNameTextProps, MessageReactionTooltipNames, type MessageReactionTooltipNamesProps, MessageReactionTooltipSeparator, type MessageReactionTooltipSeparatorProps, MessageReferenceChip, type MessageReferenceChipProps, type MessageReferenceChipVariant, MessageReferenceIndicator, type MessageReferenceIndicatorProps, MessageReferenceLabel, type MessageReferenceLabelProps, MessageReferencePending, type MessageReferencePendingProps, MessageReferenceText, type MessageReferenceTextProps, type MessageReferenceTextVariant, MessageReferenceUnavailable, type MessageReferenceUnavailableProps, type MessageRepliesItemContentProps, type MessageRepliesItemProps, type MessageRepliesItemSenderProps, type MessageRepliesItemTimeProps, type MessageRepliesProps, type MessageRepliesSummaryItemProps, type MessageRepliesSummaryProps, type MessageTextSelectionAnchor, MessageTextSelectionToolbar, MessageTextSelectionToolbarButton, type MessageTextSelectionToolbarButtonProps, type MessageTextSelectionToolbarProps, MessageTextSelectionToolbarSeparator, type MessageTextSelectionToolbarSeparatorProps, type MessageVideoPreviewActionProps, type MessageVideoPreviewFailureActionProps, type MessageVideoPreviewFailureContentProps, type MessageVideoPreviewFailureIconProps, type MessageVideoPreviewFailureTitleProps, type MessageVideoPreviewFallbackProps, type MessageVideoPreviewMediaProps, type MessageVideoPreviewProps, type MobileNavItemProps, type MobileNavLabelProps, type MobileNavRootProps, type NotificationCenterActionButtonProps, type NotificationCenterCountProps, type NotificationCenterEmptyStateProps, type NotificationCenterHeaderProps, type NotificationCenterItemActionsProps, type NotificationCenterItemBodyProps, type NotificationCenterItemContentProps, type NotificationCenterItemIconProps, type NotificationCenterItemProps, type NotificationCenterItemRowProps, type NotificationCenterItemTitleProps, type NotificationCenterListProps, type NotificationCenterPopupProps, type NotificationCenterPortalProps, type NotificationCenterProps, type NotificationCenterScrollerProps, type NotificationCenterTitleProps, type NotificationCenterTriggerProps, type OrderedTabItem, type OtterIndicatorProps, type PanelActionProps, type PanelActionsProps, type PanelActivityProps, type PanelBodyProps, type PanelEdge, type PanelFooterProps, type PanelHeaderContentProps, type PanelHeaderIconProps, type PanelHeaderProps, type PanelHeaderRootProps, type PanelHeadingProps, type PanelMetaProps, type PanelNoticeActionsProps, type PanelNoticeContentProps, type PanelNoticeProps, type PanelNoticeStatus, type PanelProps, type PanelScrollContentProps, type PanelScrollViewportProps, type PanelSectionHeaderProps, type PanelSectionProps, type PanelStatusProps, type PanelTitleProps, type PanelToggleActionProps, type PickerTriggerButtonProps, type PopoverArrowProps, type PopoverBackdropProps, type PopoverCloseProps, type PopoverContentProps, type PopoverDescriptionProps, type PopoverHeaderProps, type PopoverPopupProps, type PopoverPortalProps, type PopoverProps, type PopoverSeparatorProps, type PopoverTitleProps, type PopoverTriggerProps, type PopoverViewportProps, type Presence, type PreviewCardArrowProps, type PreviewCardContentProps, type PreviewCardDescriptionProps, type PreviewCardHeaderProps, type PreviewCardPopupProps, type PreviewCardPortalProps, type PreviewCardProps, type PreviewCardSeparatorProps, type PreviewCardTitleProps, type PreviewCardTriggerProps, type ProfilePanelBodyProps, type ProfilePanelHeaderContentProps, type ProfilePanelHeaderProps, type ProfilePanelProps, type ProfilePanelSectionProps, type ProgressHeaderProps, type ProgressIndicatorProps, type ProgressLabelProps, type ProgressProps, type ProgressTrackProps, type ProgressValueProps, type RadioGroupIndicatorProps, type RadioGroupItemProps, type RadioGroupProps, type RaftLogoLockupProps, type RaftLogoProps, type RaftWordmarkProps, type ResizableGroupProps, type ResizableHandleProps, type ResizablePanelProps, type ResolvedThemeMode, type RowTone, type ScrollAreaContentProps, type ScrollAreaCornerProps, type ScrollAreaProps, type ScrollAreaScrollbarProps, type ScrollAreaThumbProps, type ScrollAreaViewportProps, type SegmentedControlCountProps, type SegmentedControlIconsOnlyBelow, type SegmentedControlItemProps, type SegmentedControlLabelProps, type SegmentedControlProps, type SelectArrowProps, type SelectContentProps, type SelectGroupLabelProps, type SelectGroupProps, type SelectIconProps, type SelectItemDescriptionProps, type SelectItemIndicatorProps, type SelectItemLeadingProps, type SelectItemProps, type SelectItemTextProps, type SelectLabelProps, type SelectListProps, type SelectPopupProps, type SelectPortalProps, type SelectProps, type SelectScrollDownArrowProps, type SelectScrollUpArrowProps, type SelectSeparatorProps, type SelectTriggerProps, type SelectValueProps, type SeparatorProps, type SidebarBodyProps, type SidebarContentProps, type SidebarControlProps, type SidebarGroupLabelProps, type SidebarHeaderProps, type SidebarHeaderTitleProps, type SidebarItemAsideProps, type SidebarItemChannelIconProps, type SidebarItemContentProps, type SidebarItemCountProps, type SidebarItemCountSeparatorProps, type SidebarItemIconProps, type SidebarItemIndicatorProps, type SidebarItemMetaIconProps, type SidebarItemMetaProps, type SidebarItemProps, type SidebarItemStatusProps, type SidebarItemSubtitleProps, type SidebarItemThreadCountProps, type SidebarItemTitleProps, type SidebarListProps, type SidebarLiveActivityProps, type SidebarMenuAsideProps, type SidebarMenuCountProps, type SidebarMenuIconProps, type SidebarMenuProps, type SidebarMenuTitleProps, type SidebarRootProps, type SidebarSectionAttentionProps, type SidebarSectionChevronProps, type SidebarSectionControlProps, type SidebarSectionControlsProps, type SidebarSectionCountProps, type SidebarSectionDisclosureProps, type SidebarSectionEmptyProps, type SidebarSectionHeaderProps, type SidebarSectionProps, type SidebarSectionTitleProps, type SidebarSectionTrailingProps, type SkeletonProps, type SkeletonVariant, type SortableComposerAttachmentProps, type SortableComposerAttachmentsProps, type SortableTabsListProps, type SortableTabsTabProps, type SpinnerProps, type StatusProps, type StepProps, type StepStatus, type StepsProps, type SwitchProps, type SwitchThumbProps, type SystemMessageContentProps, type SystemMessageGroupChevronProps, type SystemMessageGroupDisclosureProps, type SystemMessageGroupHeaderProps, type SystemMessageGroupPanelProps, type SystemMessageGroupProps, type SystemMessageGroupSummaryProps, type SystemMessageProps, type SystemMessageTimeProps, type TableBodyProps, type TableCaptionProps, type TableCellProps, type TableColgroupProps, type TableColumnProps, type TableHeadProps, type TableHeaderProps, type TableProps, type TableRowProps, type TabsLabelProps, type TabsListProps, type TabsPanelProps, type TabsPlacement, type TabsProps, type TabsTabProps, type TaskBoardColumnBadgeProps, type TaskBoardColumnChevronProps, type TaskBoardColumnCountProps, type TaskBoardColumnEmptyAllowedProps, type TaskBoardColumnEmptyBlockedProps, type TaskBoardColumnEmptyIdleProps, type TaskBoardColumnEmptyProps, type TaskBoardColumnHeadingProps, type TaskBoardColumnItemsProps, type TaskBoardColumnPanelProps, type TaskBoardColumnProps, type TaskBoardColumnTriggerProps, type TaskBoardRootProps, type TaskCardBodyProps, type TaskCardChannelProps, type TaskCardDescriptionProps, type TaskCardLegacyProps, type TaskCardMetaProps, type TaskCardNumberProps, type TaskCardProps, type TaskCardRowProps, type TaskCardStatusProps, type TaskCardTitleProps, type TaskChipProps, type TaskChipSize, type TaskChipVariant, type TaskDndAccessibility, type TaskDndProviderProps, type TaskDragOverlayProps, type TaskDraggableProps, type TaskDropData, type TaskDropPlaceholderProps, type TaskDropPlacement, type TaskDropState, type TaskDropZoneProps, type TaskDropZoneState, type TaskListRootProps, type TaskLoadingListProps, type TaskLoadingRowProps, type TaskMoveDetails, type TaskSectionBadgeProps, type TaskSectionChevronProps, type TaskSectionCountProps, type TaskSectionEmptyProps, type TaskSectionHeadingProps, type TaskSectionItemsProps, type TaskSectionPanelProps, type TaskSectionProps, type TaskSectionTriggerProps, type TaskStatusBadgeProps, type TaskStatusId, type TasksPanelEmptyProps, type TasksPanelRootProps, type TasksPanelToolbarFiltersProps, type TasksPanelToolbarGroupProps, type TasksPanelToolbarLabelProps, type TasksPanelToolbarNewTaskProps, type TasksPanelToolbarProps, type TasksPanelToolbarViewProps, type TasksPanelViewportProps, type TextHeadingProps, type TextLinkProps, type TextMonoProps, type TextSansProps, type TextareaCounterProps, type TextareaGroupProps, type TextareaProps, type ThemeMode, type ThemeProviderProps, type ThemeState, type ThreadPanelActionsProps, type ThreadPanelBodyProps, type ThreadPanelContentProps, type ThreadPanelFooterProps, type ThreadPanelHeaderProps, type ThreadPanelOriginalMessageProps, type ThreadPanelReplyCountProps, type ThreadPanelReplySummaryProps, type ThreadPanelRootProps, type ThreadPanelSearchCountProps, type ThreadPanelSearchProps, type ThreadPanelSearchTrailingProps, type ThreadPanelTitleMetaProps, type ThreadPanelTitleProps, type TimelineContentProps, type TimelineItemPlacement, type TimelineItemProps, type TimelineItemVariant, type TimelineLineType, type TimelineProps, type TimelineSize, type TimelineTimeProps, type TimelineTitleProps, type ToastActionProps, type ToastActionsProps, type ToastArrowProps, type ToastBodyProps, type ToastCloseProps, type ToastContentProps, type ToastData, type ToastDescriptionProps, type ToastIconProps, type ToastIntent, type ToastObject, type ToastPortalProps, type ToastPositionerProps, type ToastProgressProps, type ToastProviderProps, type ToastRootProps, type ToastTitleProps, type ToastViewportProps, type ToggleGroupItemProps, type ToggleGroupLabelProps, type ToggleGroupProps, Tooltip, TooltipContent, type TooltipContentProps, TooltipPortal, type TooltipPortalProps, type TooltipProps, TooltipProvider, type TooltipProviderProps, TooltipTrigger, type TooltipTriggerProps, type UseComposerSuggestionsParams, type VirtualListApi, type Column as VirtualListColumn, type FooterRender as VirtualListFooterRender, type ItemRenderProps as VirtualListItemRenderProps, type MeasuredRef as VirtualListMeasuredRef, type VirtualListProps, type RenderAnomaly as VirtualListRenderAnomaly, type RenderColInfo as VirtualListRenderColInfo, type RenderItemWithColsInfo as VirtualListRenderItemWithColsInfo, type RenderReason as VirtualListRenderReason, type ObservedResizeEntry as VirtualListResizeEntry, type ScrollAlign as VirtualListScrollAlign, type ScrollPosition as VirtualListScrollPosition, type VirtualListScrollToOptions, buttonVariants, cn };
|
|
4955
|
+
export { type AlertDialogActionProps, type AlertDialogBodyProps, type AlertDialogCancelProps, type AlertDialogCloseProps, type AlertDialogContentProps, type AlertDialogDescriptionProps, type AlertDialogFooterProps, type AlertDialogHeaderProps, type AlertDialogOverlayProps, type AlertDialogPortalProps, type AlertDialogProps, type AlertDialogTitleProps, type AlertDialogTriggerProps, type AppRailFooterProps, type AppRailHeaderProps, type AppRailItemAttentionProps, type AppRailItemBadgeProps, type AppRailItemIconProps, type AppRailItemIndicatorProps, type AppRailItemLabelProps, type AppRailItemProps, type AppRailNavProps, type AppRailRootProps, type AppShellMainSlotProps, type AppShellOverlaySlotProps, type AppShellPanelSlotProps, type AppShellRailSlotProps, type AppShellRootProps, type AppShellSidebarSlotProps, type AppShellSidebarTriggerProps, Avatar, AvatarBadge, type AvatarBadgeOffset, type AvatarBadgeProps, AvatarFallback, type AvatarFallbackProps, AvatarGroup, AvatarGroupCount, type AvatarGroupCountProps, type AvatarGroupProps, AvatarImage, type AvatarImageProps, type AvatarProps, type AvatarSize, Badge, type BadgeProps, type BannerActionProps, type BannerDescriptionProps, type BannerProps, type BannerStatus, type BannerTitleProps, Button, type ButtonProps, type CardContentProps, type CardDescriptionProps, type CardFooterProps, type CardHeaderProps, type CardLeadingProps, type CardProps, type CardTitleProps, type CardTrailingProps, Checkbox, CheckboxIndicator, type CheckboxIndicatorProps, type CheckboxProps, type CodeBlockActionProps, type CodeBlockActionsProps, type CodeBlockBodyProps, type CodeBlockHeaderProps, type CodeBlockProps, type CodeBlockTitleProps, type ComboboxChipProps, type ComboboxChipRemoveProps, type ComboboxChipsProps, type ComboboxClearProps, type ComboboxCollectionProps, type ComboboxContentProps, type ComboboxControlProps, type ComboboxEmptyProps, type ComboboxGroupLabelProps, type ComboboxGroupProps, type ComboboxHeaderProps, type ComboboxInputGroupProps, type ComboboxInputProps, type ComboboxItemIndicatorProps, type ComboboxItemProps, type ComboboxLabelProps, type ComboboxListProps, type ComboboxPopupProps, type ComboboxPortalProps, type ComboboxProps, type ComboboxRowProps, type ComboboxSeparatorProps, type ComboboxTriggerCountProps, type ComboboxTriggerIndicatorProps, type ComboboxTriggerProps, type ComboboxValueProps, type ComposerActionsProps, type ComposerAttachmentBodyProps, type ComposerAttachmentFailedOverlayProps, type ComposerAttachmentFileProps, type ComposerAttachmentImageProps, type ComposerAttachmentMetaProps, type ComposerAttachmentProps, type ComposerAttachmentRemoveProps, type ComposerAttachmentTitleProps, type ComposerAttachmentUploadProgressBarProps, type ComposerAttachmentUploadingOverlayProps, type ComposerAttachmentsProps, type ComposerAttachmentsScrollAreaProps, type ComposerDropOverlayLabelProps, type ComposerDropOverlayPromptProps, type ComposerDropOverlayProps, type ComposerIconButtonProps, type ComposerInputProps, type ComposerMetaProps, type ComposerProps, type ComposerRootProps, type ComposerSubmitProps, type ComposerSuggestionAsideProps, type ComposerSuggestionContentProps, type ComposerSuggestionGroupLabelProps, type ComposerSuggestionGroupProps, type ComposerSuggestionIconProps, type ComposerSuggestionListProps, type ComposerSuggestionMetaProps, type ComposerSuggestionOptionProps, type ComposerSuggestionTitleProps, type ComposerSuggestionTriggerMatch, type ComposerSuggestionsInputProps, type ComposerSuggestionsListProps, type ComposerSuggestionsOptionProps, type ComposerToolbarLabelProps, type ComposerToolbarProps, type ContextMenuCheckboxItemIndicatorProps, type ContextMenuCheckboxItemProps, type ContextMenuContentProps, type ContextMenuFooterProps, type ContextMenuItemLabelProps, type ContextMenuItemProps, type ContextMenuLabelProps, type ContextMenuPopupProps, type ContextMenuPortalProps, type ContextMenuProps, type ContextMenuRadioGroupProps, type ContextMenuRadioItemIndicatorProps, type ContextMenuRadioItemProps, type ContextMenuSeparatorProps, type ContextMenuShortcutProps, type ContextMenuSubmenuProps, type ContextMenuSubmenuTriggerProps, type ContextMenuTriggerProps, type ConversationIconProps, type ConversationPanelBodyProps, type ConversationPanelContentProps, type ConversationPanelEmptyStateBrandMarkProps, type ConversationPanelEmptyStateBrandProps, type ConversationPanelEmptyStateProps, type ConversationPanelFooterProps, type ConversationPanelRootProps, type ConversationPanelTabsProps, type CopyableCodeActionProps, type CopyableCodeProps, type CopyableCodeRootProps, type DescriptionDetailsProps, type DescriptionItemProps, type DescriptionListDirection, type DescriptionListProps, type DescriptionTermProps, Dialog, DialogBody, type DialogBodyProps, DialogClose, type DialogCloseProps, DialogContent, type DialogContentProps, DialogDescription, type DialogDescriptionProps, DialogFooter, type DialogFooterProps, DialogHeader, type DialogHeaderProps, DialogNav, type DialogNavProps, DialogOverlay, type DialogOverlayProps, DialogPortal, type DialogPortalProps, type DialogProps, DialogSurface, type DialogSurfaceProps, DialogTitle, type DialogTitleProps, DialogTrigger, type DialogTriggerProps, type DrawerActionsProps, type DrawerBodyProps, type DrawerCloseProps, type DrawerContentProps, type DrawerDescriptionProps, type DrawerFooterProps, type DrawerHeaderProps, type DrawerOverlayProps, type DrawerPortalProps, type DrawerProps, type DrawerTitleProps, type DrawerTriggerProps, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuCheckboxItemIndicator, type DropdownMenuCheckboxItemIndicatorProps, type DropdownMenuCheckboxItemProps, DropdownMenuContent, type DropdownMenuContentProps, DropdownMenuFooter, type DropdownMenuFooterProps, DropdownMenuItem, DropdownMenuItemCount, type DropdownMenuItemCountProps, DropdownMenuItemLabel, type DropdownMenuItemLabelProps, type DropdownMenuItemProps, DropdownMenuLabel, type DropdownMenuLabelProps, DropdownMenuPopup, type DropdownMenuPopupProps, DropdownMenuPortal, type DropdownMenuPortalProps, type DropdownMenuProps, DropdownMenuRadioGroup, type DropdownMenuRadioGroupProps, DropdownMenuRadioItem, DropdownMenuRadioItemIndicator, type DropdownMenuRadioItemIndicatorProps, type DropdownMenuRadioItemProps, DropdownMenuSeparator, type DropdownMenuSeparatorProps, DropdownMenuShortcut, type DropdownMenuShortcutProps, DropdownMenuSubmenu, type DropdownMenuSubmenuProps, DropdownMenuSubmenuTrigger, type DropdownMenuSubmenuTriggerProps, DropdownMenuTrigger, type DropdownMenuTriggerProps, type EmptyStateActionsProps, type EmptyStateContentProps, type EmptyStateDescriptionProps, type EmptyStateIconProps, type EmptyStateProps, type EmptyStateTitleProps, type FieldControlProps, type FieldDescriptionProps, type FieldErrorProps, type FieldItemProps, type FieldLabelProps, type FieldProps, type FieldValidityProps, type FilePreviewBadgeProps, type FilePreviewCodeProps, type FilePreviewDocumentProps, type FilePreviewFileProps, type FilePreviewMediaProps, type FilePreviewProps, type FloatButtonGroupDirection, type FloatButtonGroupProps, type FloatButtonOffset, type FloatButtonPosition, type FloatButtonProps, type FloatButtonShape, type FloatButtonSide, type FloatButtonSize, type FloatButtonVariant, type FormSectionProps, type IconTileProps, type InboxItemActionsProps, type InboxItemBodyProps, type InboxItemContentProps, type InboxItemContextProps, type InboxItemDensity, type InboxItemHeadingProps, type InboxItemHoverTargetProps, type InboxItemLeadingProps, type InboxItemMarksProps, type InboxItemMessageProps, type InboxItemMetadataProps, type InboxItemProps, type InboxItemSelectionProps, type InboxItemSenderProps, type InboxItemSubtitleProps, type InboxItemTimestampProps, type InboxItemTitleProps, type InboxItemTrailingProps, type InboxItemTriggerProps, type InlineCodeProps, type InputGroupAddonProps, type InputGroupAddonTextProps, type InputGroupInputProps, type InputGroupProps, type InputModality, type InputProps, Kbd, KbdGroup, type KbdGroupProps, type KbdProps, type LabelAsteriskProps, type LabelOptionalProps, type LabelProps, type LabelSubProps, type LegacyTaskPanelActionsProps, type LegacyTaskPanelBodyProps, type LegacyTaskPanelFieldLabelProps, type LegacyTaskPanelFieldProps, type LegacyTaskPanelFieldTextProps, type LegacyTaskPanelFieldTitleProps, type LegacyTaskPanelHeaderProps, type LegacyTaskPanelIconProps, type LegacyTaskPanelMetaLabelProps, type LegacyTaskPanelMetaProps, type LegacyTaskPanelMetaRowProps, type LegacyTaskPanelMetaValueProps, type LegacyTaskPanelRootProps, type LegacyTaskPanelSectionProps, type LegacyTaskPanelStatusProps, type LegacyTaskPanelTitleMetaProps, type LegacyTaskPanelTitleProps, type LightboxActionsProps, type LightboxCloseProps, type LightboxContentProps, type LightboxHeaderLabelProps, type LightboxHeaderMetaProps, type LightboxHeaderProps, type LightboxInfoActionsProps, type LightboxInfoBarProps, type LightboxInfoDockProps, type LightboxInfoTitleProps, type LightboxMediaProps, type LightboxNavigationButtonProps, type LightboxPortalProps, type LightboxProps, type LightboxStageProps, type LightboxThumbnailProps, type LightboxThumbnailStripProps, type LightboxTitleProps, type LightboxToolbarProps, type LightboxTriggerProps, type ListRowBodyProps, type ListRowBottomProps, type ListRowChevronProps, type ListRowDescriptionProps, type ListRowGroupProps, type ListRowIconProps, type ListRowMetaProps, type ListRowProps, type ListRowTitleProps, type ListRowTopProps, type ListRowValueProps, type LiveAgentActivityBarAvatarProps, type LiveAgentActivityBarContentProps, type LiveAgentActivityBarProps, type LiveAgentActivityBarRowProps, type LiveAgentActivityBarStatusProps, type LiveAgentActivityBarTextProps, type MarkdownBlockquoteProps, type MarkdownCellProps, type MarkdownCheckboxProps, type MarkdownHeaderCellProps, type MarkdownHeadingLevel, type MarkdownHeadingProps, type MarkdownImageProps, type MarkdownInlineCodeProps, type MarkdownLinkProps, type MarkdownListItemProps, type MarkdownListProps, type MarkdownMarkProps, type MarkdownOrderedListProps, type MarkdownParagraphProps, type MarkdownRuleProps, type MarkdownTableProps, type MarkdownTableRowProps, type MarkdownTableScrollProps, type MessageActionCardActionsNoteProps, type MessageActionCardActionsProps, type MessageActionCardCollapseTriggerProps, type MessageActionCardCompletionProps, type MessageActionCardContentProps, type MessageActionCardHeaderDescriptionProps, type MessageActionCardHeaderIconProps, type MessageActionCardHeaderProps, type MessageActionCardHeaderStatusProps, type MessageActionCardHeaderTitleProps, type MessageActionCardHintLabelProps, type MessageActionCardHintProps, type MessageActionCardNoticeProps, type MessageActionCardPropertiesProps, type MessageActionCardPropertyLabelProps, type MessageActionCardPropertyProps, type MessageActionCardPropertyValueProps, type MessageActionCardProps, type MessageActionCardScopeDescriptionProps, type MessageActionCardScopeListLabelProps, type MessageActionCardScopeListProps, type MessageActionCardScopeListViewportProps, type MessageActionCardScopeNameProps, type MessageActionCardScopeProps, type MessageActionCardStatusProps, type MessageAttachmentActionProps, type MessageAttachmentCardProps, type MessageAttachmentCommentSummaryProps, type MessageAttachmentDiffAdditionProps, type MessageAttachmentDiffDeletionProps, type MessageAttachmentDiffSummaryProps, type MessageAttachmentGroupProps, type MessageAttachmentMetaEndProps, type MessageAttachmentMetaProps, type MessageAttachmentMetaStartProps, type MessageAttachmentSummaryProps, type MessageAttachmentTitleProps, type MessageEmbedContentProps, type MessageEmbedFooterProps, type MessageEmbedHeaderProps, type MessageEmbedProps, type MessageForwardedBundleAttachmentMetaProps, type MessageForwardedBundleAttachmentNameProps, type MessageForwardedBundleAttachmentProps, type MessageForwardedBundleAttachmentsProps, type MessageForwardedBundleFooterActionProps, type MessageForwardedBundleFooterProps, type MessageForwardedBundleGalleryProps, type MessageForwardedBundleGalleryTileProps, type MessageForwardedBundleHeaderContentProps, type MessageForwardedBundleHeaderCountProps, type MessageForwardedBundleHeaderLabelProps, type MessageForwardedBundleHeaderProps, type MessageForwardedBundleItemAuthorProps, type MessageForwardedBundleItemContentProps, type MessageForwardedBundleItemMetaProps, type MessageForwardedBundleItemProps, type MessageForwardedBundleItemsProps, type MessageForwardedBundleProps, type MessageForwardedBundleSourceLabelProps, type MessageForwardedBundleSourceProps, type MessageImageGalleryActionProps, type MessageImageGalleryAspectKind, type MessageImageGalleryFit, type MessageImageGalleryImage, type MessageImageGalleryItemLayout, type MessageImageGalleryItemProps, type MessageImageGalleryMediaProps, type MessageImageGalleryOverlayProps, type MessageImageGalleryPreviewProps, type MessageImageGalleryProps, type MessageImageGalleryRowData, type MessageImageGalleryRowProps, MessageItem, MessageItemAttachments, type MessageItemAttachmentsProps, MessageItemAvatarSlot, type MessageItemAvatarSlotProps, MessageItemBadge, type MessageItemBadgeProps, MessageItemBadgeSeparator, type MessageItemBadgeSeparatorProps, type MessageItemBadgeStatus, MessageItemBody, type MessageItemBodyProps, MessageItemContent, type MessageItemContentProps, MessageItemContinuationTime, type MessageItemContinuationTimeProps, MessageItemEdited, type MessageItemEditedProps, MessageItemEmbedded, type MessageItemEmbeddedProps, MessageItemFooter, type MessageItemFooterProps, MessageItemGutter, type MessageItemGutterProps, MessageItemHeader, type MessageItemHeaderProps, MessageItemInlineStatus, type MessageItemInlineStatusProps, MessageItemMeta, type MessageItemMetaProps, type MessageItemProps, MessageItemReadReceipt, type MessageItemReadReceiptProps, MessageItemSavedIndicator, type MessageItemSavedIndicatorProps, MessageItemSearchMatch, type MessageItemSearchMatchProps, MessageItemSender, MessageItemSenderBadges, type MessageItemSenderBadgesProps, MessageItemSenderButton, type MessageItemSenderButtonProps, MessageItemSenderGroup, type MessageItemSenderGroupProps, type MessageItemSenderProps, MessageItemTime, type MessageItemTimeProps, MessageItemToolbar, MessageItemToolbarButton, type MessageItemToolbarButtonProps, type MessageItemToolbarProps, type MessageItemTranslationActionProps, type MessageItemTranslationFailedStatusProps, type MessageItemTranslationOriginalLabelProps, type MessageItemTranslationOriginalProps, type MessageItemTranslationProgressTrackProps, type MessageItemTranslationRetryActionProps, type MessageItemTranslationStatusProps, MessageList, MessageListDateDivider, type MessageListDateDividerProps, MessageListHistoryLimited, type MessageListHistoryLimitedProps, MessageListNotice, type MessageListNoticeProps, type MessageListProps, MessageMultiSelect, MessageMultiSelectCheckbox, type MessageMultiSelectCheckboxProps, type MessageMultiSelectProps, MessageMultiSelectToolbar, type MessageMultiSelectToolbarProps, MessageQuotedPreview, MessageQuotedPreviewAttachment, type MessageQuotedPreviewAttachmentProps, MessageQuotedPreviewAttachments, type MessageQuotedPreviewAttachmentsProps, MessageQuotedPreviewAuthor, MessageQuotedPreviewAuthorMeta, type MessageQuotedPreviewAuthorMetaProps, MessageQuotedPreviewAuthorName, type MessageQuotedPreviewAuthorNameProps, type MessageQuotedPreviewAuthorProps, MessageQuotedPreviewChannel, type MessageQuotedPreviewChannelProps, MessageQuotedPreviewContent, type MessageQuotedPreviewContentProps, MessageQuotedPreviewHeader, type MessageQuotedPreviewHeaderProps, MessageQuotedPreviewLoading, type MessageQuotedPreviewLoadingProps, type MessageQuotedPreviewProps, MessageQuotedPreviewText, type MessageQuotedPreviewTextProps, MessageQuotedPreviewThread, type MessageQuotedPreviewThreadProps, MessageQuotedPreviewTimestamp, type MessageQuotedPreviewTimestampProps, MessageQuotedPreviewUnavailable, type MessageQuotedPreviewUnavailableProps, MessageReactionAddButton, type MessageReactionAddButtonProps, MessageReactionChip, type MessageReactionChipProps, MessageReactionCount, type MessageReactionCountProps, MessageReactionErrorIndicator, type MessageReactionErrorIndicatorProps, MessageReactionGlyph, type MessageReactionGlyphProps, MessageReactionPickerContent, type MessageReactionPickerContentProps, MessageReactionPickerStatic, type MessageReactionPickerStaticProps, MessageReactionQuickButton, type MessageReactionQuickButtonProps, MessageReactionQuickRow, type MessageReactionQuickRowProps, MessageReactionTooltipContent, type MessageReactionTooltipContentProps, MessageReactionTooltipMeta, type MessageReactionTooltipMetaProps, MessageReactionTooltipName, type MessageReactionTooltipNameProps, MessageReactionTooltipNameText, type MessageReactionTooltipNameTextProps, MessageReactionTooltipNames, type MessageReactionTooltipNamesProps, MessageReactionTooltipSeparator, type MessageReactionTooltipSeparatorProps, MessageReferenceChip, type MessageReferenceChipProps, type MessageReferenceChipVariant, MessageReferenceIndicator, type MessageReferenceIndicatorProps, MessageReferenceLabel, type MessageReferenceLabelProps, MessageReferencePending, type MessageReferencePendingProps, MessageReferenceText, type MessageReferenceTextProps, type MessageReferenceTextVariant, MessageReferenceUnavailable, type MessageReferenceUnavailableProps, type MessageRepliesItemContentProps, type MessageRepliesItemProps, type MessageRepliesItemSenderProps, type MessageRepliesItemTimeProps, type MessageRepliesProps, type MessageRepliesSummaryItemProps, type MessageRepliesSummaryProps, type MessageTextSelectionAnchor, MessageTextSelectionToolbar, MessageTextSelectionToolbarButton, type MessageTextSelectionToolbarButtonProps, type MessageTextSelectionToolbarProps, MessageTextSelectionToolbarSeparator, type MessageTextSelectionToolbarSeparatorProps, type MessageVideoPreviewActionProps, type MessageVideoPreviewFailureActionProps, type MessageVideoPreviewFailureContentProps, type MessageVideoPreviewFailureIconProps, type MessageVideoPreviewFailureTitleProps, type MessageVideoPreviewFallbackProps, type MessageVideoPreviewMediaProps, type MessageVideoPreviewProps, type MobileNavItemProps, type MobileNavLabelProps, type MobileNavRootProps, type NotificationCenterActionButtonProps, type NotificationCenterCountProps, type NotificationCenterEmptyStateProps, type NotificationCenterHeaderProps, type NotificationCenterItemActionsProps, type NotificationCenterItemBodyProps, type NotificationCenterItemContentProps, type NotificationCenterItemIconProps, type NotificationCenterItemProps, type NotificationCenterItemRowProps, type NotificationCenterItemTitleProps, type NotificationCenterListProps, type NotificationCenterPopupProps, type NotificationCenterPortalProps, type NotificationCenterProps, type NotificationCenterScrollerProps, type NotificationCenterTitleProps, type NotificationCenterTriggerProps, type OrderedTabItem, type OtterIndicatorProps, type PanelActionProps, type PanelActionsProps, type PanelActivityProps, type PanelBodyProps, type PanelEdge, type PanelFooterProps, type PanelHeaderContentProps, type PanelHeaderIconProps, type PanelHeaderProps, type PanelHeaderRootProps, type PanelHeadingProps, type PanelMetaProps, type PanelNoticeActionsProps, type PanelNoticeContentProps, type PanelNoticeProps, type PanelNoticeStatus, type PanelProps, type PanelScrollContentProps, type PanelScrollViewportProps, type PanelSectionHeaderProps, type PanelSectionProps, type PanelStatusProps, type PanelTitleProps, type PanelToggleActionProps, type PickerTriggerButtonProps, type PopoverArrowProps, type PopoverBackdropProps, type PopoverCloseProps, type PopoverContentProps, type PopoverDescriptionProps, type PopoverHeaderProps, type PopoverPopupProps, type PopoverPortalProps, type PopoverProps, type PopoverSeparatorProps, type PopoverTitleProps, type PopoverTriggerProps, type PopoverViewportProps, type Presence, type PreviewCardArrowProps, type PreviewCardContentProps, type PreviewCardDescriptionProps, type PreviewCardHeaderProps, type PreviewCardPopupProps, type PreviewCardPortalProps, type PreviewCardProps, type PreviewCardSeparatorProps, type PreviewCardTitleProps, type PreviewCardTriggerProps, type ProfilePanelBodyProps, type ProfilePanelHeaderContentProps, type ProfilePanelHeaderProps, type ProfilePanelProps, type ProfilePanelSectionProps, type ProgressHeaderProps, type ProgressIndicatorProps, type ProgressLabelProps, type ProgressProps, type ProgressTrackProps, type ProgressValueProps, type RadioGroupIndicatorProps, type RadioGroupItemProps, type RadioGroupProps, type RaftLogoLockupProps, type RaftLogoProps, type RaftWordmarkProps, type ResizableGroupProps, type ResizableHandleProps, type ResizablePanelProps, type ResolvedThemeMode, type RowTone, type ScrollAreaContentProps, type ScrollAreaCornerProps, type ScrollAreaProps, type ScrollAreaScrollbarProps, type ScrollAreaThumbProps, type ScrollAreaViewportProps, type SegmentedControlCountProps, type SegmentedControlIconsOnlyBelow, type SegmentedControlItemProps, type SegmentedControlLabelProps, type SegmentedControlProps, type SelectArrowProps, type SelectContentProps, type SelectGroupLabelProps, type SelectGroupProps, type SelectIconProps, type SelectItemDescriptionProps, type SelectItemIndicatorProps, type SelectItemLeadingProps, type SelectItemProps, type SelectItemTextProps, type SelectLabelProps, type SelectListProps, type SelectPopupProps, type SelectPortalProps, type SelectProps, type SelectScrollDownArrowProps, type SelectScrollUpArrowProps, type SelectSeparatorProps, type SelectTriggerProps, type SelectValueProps, type SeparatorProps, type SidebarBodyProps, type SidebarContentProps, type SidebarControlProps, type SidebarGroupLabelProps, type SidebarHeaderProps, type SidebarHeaderTitleProps, type SidebarItemAsideProps, type SidebarItemChannelIconProps, type SidebarItemContentProps, type SidebarItemCountProps, type SidebarItemCountSeparatorProps, type SidebarItemIconProps, type SidebarItemIndicatorProps, type SidebarItemMetaIconProps, type SidebarItemMetaProps, type SidebarItemProps, type SidebarItemStatusProps, type SidebarItemSubtitleProps, type SidebarItemThreadCountProps, type SidebarItemTitleProps, type SidebarListProps, type SidebarLiveActivityProps, type SidebarMenuAsideProps, type SidebarMenuCountProps, type SidebarMenuIconProps, type SidebarMenuProps, type SidebarMenuTitleProps, type SidebarRootProps, type SidebarSectionAttentionProps, type SidebarSectionChevronProps, type SidebarSectionControlProps, type SidebarSectionControlsProps, type SidebarSectionCountProps, type SidebarSectionDisclosureProps, type SidebarSectionEmptyProps, type SidebarSectionHeaderProps, type SidebarSectionProps, type SidebarSectionTitleProps, type SidebarSectionTrailingProps, type SkeletonProps, type SkeletonVariant, type SortableComposerAttachmentProps, type SortableComposerAttachmentsProps, type SortableTabsListProps, type SortableTabsTabProps, type SpinnerProps, type StatusProps, type StepProps, type StepStatus, type StepsProps, type SwitchProps, type SwitchThumbProps, type SystemMessageContentProps, type SystemMessageGroupChevronProps, type SystemMessageGroupDisclosureProps, type SystemMessageGroupHeaderProps, type SystemMessageGroupPanelProps, type SystemMessageGroupProps, type SystemMessageGroupSummaryProps, type SystemMessageProps, type SystemMessageTimeProps, type TableBodyProps, type TableCaptionProps, type TableCellProps, type TableColgroupProps, type TableColumnProps, type TableHeadProps, type TableHeaderProps, type TableProps, type TableRowProps, type TabsLabelProps, type TabsListProps, type TabsPanelProps, type TabsPlacement, type TabsProps, type TabsTabProps, type TaskBoardColumnBadgeProps, type TaskBoardColumnChevronProps, type TaskBoardColumnCountProps, type TaskBoardColumnEmptyAllowedProps, type TaskBoardColumnEmptyBlockedProps, type TaskBoardColumnEmptyIdleProps, type TaskBoardColumnEmptyProps, type TaskBoardColumnHeadingProps, type TaskBoardColumnItemsProps, type TaskBoardColumnPanelProps, type TaskBoardColumnProps, type TaskBoardColumnTriggerProps, type TaskBoardRootProps, type TaskCardBodyProps, type TaskCardChannelProps, type TaskCardDescriptionProps, type TaskCardLegacyProps, type TaskCardMetaProps, type TaskCardNumberProps, type TaskCardProps, type TaskCardRowProps, type TaskCardStatusProps, type TaskCardTitleProps, type TaskChipProps, type TaskChipSize, type TaskChipVariant, type TaskDndAccessibility, type TaskDndProviderProps, type TaskDragOverlayProps, type TaskDraggableProps, type TaskDropData, type TaskDropPlaceholderProps, type TaskDropPlacement, type TaskDropState, type TaskDropZoneProps, type TaskDropZoneState, type TaskListRootProps, type TaskLoadingListProps, type TaskLoadingRowProps, type TaskMoveDetails, type TaskSectionBadgeProps, type TaskSectionChevronProps, type TaskSectionCountProps, type TaskSectionEmptyProps, type TaskSectionHeadingProps, type TaskSectionItemsProps, type TaskSectionPanelProps, type TaskSectionProps, type TaskSectionTriggerProps, type TaskStatusBadgeProps, type TaskStatusId, type TasksPanelEmptyProps, type TasksPanelRootProps, type TasksPanelToolbarFiltersProps, type TasksPanelToolbarGroupProps, type TasksPanelToolbarLabelProps, type TasksPanelToolbarNewTaskProps, type TasksPanelToolbarProps, type TasksPanelToolbarViewProps, type TasksPanelViewportProps, type TextHeadingProps, type TextLinkProps, type TextMonoProps, type TextSansProps, type TextareaCounterProps, type TextareaGroupProps, type TextareaProps, type ThemeMode, type ThemeProviderProps, type ThemeState, type ThreadPanelActionsProps, type ThreadPanelBodyProps, type ThreadPanelContentProps, type ThreadPanelFooterProps, type ThreadPanelHeaderProps, type ThreadPanelOriginalMessageProps, type ThreadPanelReplyCountProps, type ThreadPanelReplySummaryProps, type ThreadPanelRootProps, type ThreadPanelSearchCountProps, type ThreadPanelSearchProps, type ThreadPanelSearchTrailingProps, type ThreadPanelTitleMetaProps, type ThreadPanelTitleProps, type TimelineContentProps, type TimelineItemPlacement, type TimelineItemProps, type TimelineItemVariant, type TimelineLineType, type TimelineProps, type TimelineSize, type TimelineTimeProps, type TimelineTitleProps, type ToastActionProps, type ToastActionsProps, type ToastArrowProps, type ToastBodyProps, type ToastCloseProps, type ToastContentProps, type ToastData, type ToastDescriptionProps, type ToastIconProps, type ToastIntent, type ToastObject, type ToastPortalProps, type ToastPositionerProps, type ToastProgressProps, type ToastProviderProps, type ToastRootProps, type ToastTitleProps, type ToastViewportProps, type ToggleGroupItemProps, type ToggleGroupLabelProps, type ToggleGroupProps, Tooltip, TooltipContent, type TooltipContentProps, TooltipPortal, type TooltipPortalProps, type TooltipProps, TooltipProvider, type TooltipProviderProps, TooltipTrigger, type TooltipTriggerProps, type UseComposerSuggestionsParams, type VirtualListApi, type Column as VirtualListColumn, type FooterRender as VirtualListFooterRender, type ItemRenderProps as VirtualListItemRenderProps, type MeasuredRef as VirtualListMeasuredRef, type VirtualListProps, type RenderAnomaly as VirtualListRenderAnomaly, type RenderColInfo as VirtualListRenderColInfo, type RenderItemWithColsInfo as VirtualListRenderItemWithColsInfo, type RenderReason as VirtualListRenderReason, type ObservedResizeEntry as VirtualListResizeEntry, type ScrollAlign as VirtualListScrollAlign, type ScrollPosition as VirtualListScrollPosition, type VirtualListScrollToOptions, type WorkspaceButtonNameProps, type WorkspaceButtonProps, buttonVariants, cn };
|
package/dist/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { cn } from "./cn.mjs";
|
|
2
|
-
import { $ as MessageReactionTooltipNameText, $n as controlIconInset, $t as DropdownMenuSeparator, A as MessageTextSelectionToolbarButton, An as DialogBody, At as MessageItem, B as MessageReferenceUnavailable, Bn as DialogTitle, Bt as DropdownMenuCheckboxItem, C as MessageQuotedPreviewUnavailable, Cn as Tooltip, Ct as MessageItemEdited, D as MessageEmbedHeader, Dn as TooltipTrigger, Dt as MessageItemAvatarSlot, E as MessageEmbedFooter, En as TooltipProvider, Et as MessageItemSearchMatch, F as MessageReferenceChip, Fn as DialogHeader, Ft as AvatarGroup, G as MessageReactionGlyph, Gn as defaultNativeButton, Gt as DropdownMenuItemCount, H as MessageReactionChip, Hn as Button, Ht as DropdownMenuContent, I as MessageReferenceIndicator, In as DialogNav, It as AvatarGroupCount, J as MessageReactionQuickButton, Jn as resolveThemeScopeProps, Jt as DropdownMenuPopup, K as MessageReactionPickerContent, Kn as useParentOverlayKind, Kt as DropdownMenuItemLabel, L as MessageReferenceLabel, Ln as DialogOverlay, Lt as AvatarImage, M as MessageMultiSelect, Mn as DialogContent, Mt as Avatar, N as MessageMultiSelectCheckbox, Nn as DialogDescription, Nt as AvatarBadge, O as messageEmbed, On as Badge, Ot as MessageItemContinuationTime, P as MessageMultiSelectToolbar, Pn as DialogFooter, Pt as AvatarFallback, Q as MessageReactionTooltipName, Qn as tv, Qt as DropdownMenuRadioItemIndicator, R as MessageReferencePending, Rn as DialogPortal, Rt as useOverflowTitle, S as MessageQuotedPreviewTimestamp, Sn as PRESENCE_COLOR, St as MessageItemContent, T as MessageEmbedContent, Tn as TooltipPortal, Tt as MessageItemFooter, U as MessageReactionCount, Un as buttonVariants, Ut as DropdownMenuFooter, V as MessageReactionAddButton, Vn as DialogTrigger, Vt as DropdownMenuCheckboxItemIndicator, W as MessageReactionErrorIndicator, Wn as Spinner, Wt as DropdownMenuItem, X as MessageReactionTooltipContent, Xn as useTheme, Xt as DropdownMenuRadioGroup, Y as MessageReactionQuickRow, Yn as useThemeScopeProps, Yt as DropdownMenuPortal, Z as MessageReactionTooltipMeta, Zn as ThemeStateContext, Zt as DropdownMenuRadioItem, _ as MessageQuotedPreviewContent, _n as ScrollAreaThumb, _t as MessageItemSenderButton, a as MessageListDateDivider, an as KbdGroup, at as MessageItemSavedIndicator, b as MessageQuotedPreviewText, bn as Checkbox, bt as MessageItemAttachments, c as MessageList, cn as PanelFooter, d as MessageQuotedPreviewAttachments, dn as PanelScrollViewport, en as DropdownMenuShortcut, er as headEdgePull, et as MessageReactionTooltipNames, f as MessageQuotedPreviewAuthor, fn as PanelSection, ft as MessageItemHeader, g as MessageQuotedPreviewChannel, gn as ScrollAreaScrollbar, gt as MessageItemSenderBadges, h as MessageQuotedPreviewAuthorName, hn as ScrollAreaCorner, ht as MessageItemSender, in as Kbd, it as MessageItemReadReceipt, j as MessageTextSelectionToolbarSeparator, jn as DialogClose, jt as searchHit, k as MessageTextSelectionToolbar, kn as Dialog, kt as MessageItemGutter, l as MessageQuotedPreview, ln as PanelHeaderRoot, m as MessageQuotedPreviewAuthorMeta, mn as ScrollAreaContent, mt as MessageItemMeta, nn as DropdownMenuSubmenuTrigger, nt as MessageItemBadge, o as MessageListHistoryLimited, on as Panel, ot as MessageItemToolbar, pn as ScrollArea, pt as MessageItemInlineStatus, q as MessageReactionPickerStatic, qn as withOverlayLayer, qt as DropdownMenuLabel, rn as DropdownMenuTrigger, rt as MessageItemBadgeSeparator, s as MessageListNotice, sn as PanelBody, st as MessageItemToolbarButton, tn as DropdownMenuSubmenu, tr as headEdges, tt as MessageReactionTooltipSeparator, u as MessageQuotedPreviewAttachment, un as PanelScrollContent, v as MessageQuotedPreviewHeader, vn as ScrollAreaViewport, vt as MessageItemSenderGroup, w as MessageEmbed, wn as TooltipContent, wt as MessageItemEmbedded, x as MessageQuotedPreviewThread, xn as CheckboxIndicator, xt as MessageItemBody, y as MessageQuotedPreviewLoading, yn as useMobileViewport, yt as MessageItemTime, z as MessageReferenceText, zn as DialogSurface, zt as DropdownMenu } from "./message-list-
|
|
2
|
+
import { $ as MessageReactionTooltipNameText, $n as controlIconInset, $t as DropdownMenuSeparator, A as MessageTextSelectionToolbarButton, An as DialogBody, At as MessageItem, B as MessageReferenceUnavailable, Bn as DialogTitle, Bt as DropdownMenuCheckboxItem, C as MessageQuotedPreviewUnavailable, Cn as Tooltip, Ct as MessageItemEdited, D as MessageEmbedHeader, Dn as TooltipTrigger, Dt as MessageItemAvatarSlot, E as MessageEmbedFooter, En as TooltipProvider, Et as MessageItemSearchMatch, F as MessageReferenceChip, Fn as DialogHeader, Ft as AvatarGroup, G as MessageReactionGlyph, Gn as defaultNativeButton, Gt as DropdownMenuItemCount, H as MessageReactionChip, Hn as Button, Ht as DropdownMenuContent, I as MessageReferenceIndicator, In as DialogNav, It as AvatarGroupCount, J as MessageReactionQuickButton, Jn as resolveThemeScopeProps, Jt as DropdownMenuPopup, K as MessageReactionPickerContent, Kn as useParentOverlayKind, Kt as DropdownMenuItemLabel, L as MessageReferenceLabel, Ln as DialogOverlay, Lt as AvatarImage, M as MessageMultiSelect, Mn as DialogContent, Mt as Avatar, N as MessageMultiSelectCheckbox, Nn as DialogDescription, Nt as AvatarBadge, O as messageEmbed, On as Badge, Ot as MessageItemContinuationTime, P as MessageMultiSelectToolbar, Pn as DialogFooter, Pt as AvatarFallback, Q as MessageReactionTooltipName, Qn as tv, Qt as DropdownMenuRadioItemIndicator, R as MessageReferencePending, Rn as DialogPortal, Rt as useOverflowTitle, S as MessageQuotedPreviewTimestamp, Sn as PRESENCE_COLOR, St as MessageItemContent, T as MessageEmbedContent, Tn as TooltipPortal, Tt as MessageItemFooter, U as MessageReactionCount, Un as buttonVariants, Ut as DropdownMenuFooter, V as MessageReactionAddButton, Vn as DialogTrigger, Vt as DropdownMenuCheckboxItemIndicator, W as MessageReactionErrorIndicator, Wn as Spinner, Wt as DropdownMenuItem, X as MessageReactionTooltipContent, Xn as useTheme, Xt as DropdownMenuRadioGroup, Y as MessageReactionQuickRow, Yn as useThemeScopeProps, Yt as DropdownMenuPortal, Z as MessageReactionTooltipMeta, Zn as ThemeStateContext, Zt as DropdownMenuRadioItem, _ as MessageQuotedPreviewContent, _n as ScrollAreaThumb, _t as MessageItemSenderButton, a as MessageListDateDivider, an as KbdGroup, at as MessageItemSavedIndicator, b as MessageQuotedPreviewText, bn as Checkbox, bt as MessageItemAttachments, c as MessageList, cn as PanelFooter, d as MessageQuotedPreviewAttachments, dn as PanelScrollViewport, en as DropdownMenuShortcut, er as headEdgePull, et as MessageReactionTooltipNames, f as MessageQuotedPreviewAuthor, fn as PanelSection, ft as MessageItemHeader, g as MessageQuotedPreviewChannel, gn as ScrollAreaScrollbar, gt as MessageItemSenderBadges, h as MessageQuotedPreviewAuthorName, hn as ScrollAreaCorner, ht as MessageItemSender, in as Kbd, it as MessageItemReadReceipt, j as MessageTextSelectionToolbarSeparator, jn as DialogClose, jt as searchHit, k as MessageTextSelectionToolbar, kn as Dialog, kt as MessageItemGutter, l as MessageQuotedPreview, ln as PanelHeaderRoot, m as MessageQuotedPreviewAuthorMeta, mn as ScrollAreaContent, mt as MessageItemMeta, nn as DropdownMenuSubmenuTrigger, nt as MessageItemBadge, o as MessageListHistoryLimited, on as Panel, ot as MessageItemToolbar, pn as ScrollArea, pt as MessageItemInlineStatus, q as MessageReactionPickerStatic, qn as withOverlayLayer, qt as DropdownMenuLabel, rn as DropdownMenuTrigger, rt as MessageItemBadgeSeparator, s as MessageListNotice, sn as PanelBody, st as MessageItemToolbarButton, tn as DropdownMenuSubmenu, tr as headEdges, tt as MessageReactionTooltipSeparator, u as MessageQuotedPreviewAttachment, un as PanelScrollContent, v as MessageQuotedPreviewHeader, vn as ScrollAreaViewport, vt as MessageItemSenderGroup, w as MessageEmbed, wn as TooltipContent, wt as MessageItemEmbedded, x as MessageQuotedPreviewThread, xn as CheckboxIndicator, xt as MessageItemBody, y as MessageQuotedPreviewLoading, yn as useMobileViewport, yt as MessageItemTime, z as MessageReferenceText, zn as DialogSurface, zt as DropdownMenu } from "./message-list-03unCFnE.mjs";
|
|
3
3
|
import { Dialog as Dialog$1 } from "@base-ui/react/dialog";
|
|
4
4
|
import { AlertTriangle, Bell, Check, CheckCircle2, ChevronDown, ChevronLeft, ChevronRight, Copy, FileText, Image, Info, 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";
|
|
@@ -3312,6 +3312,29 @@ function MobileNavLabel({ className, render, ...props }) {
|
|
|
3312
3312
|
});
|
|
3313
3313
|
}
|
|
3314
3314
|
//#endregion
|
|
3315
|
+
//#region src/components/workspace-button/workspace-button.tsx
|
|
3316
|
+
function WorkspaceButton({ className, children, ...props }) {
|
|
3317
|
+
return /* @__PURE__ */ jsxs(Button, {
|
|
3318
|
+
...props,
|
|
3319
|
+
variant: "on-frame",
|
|
3320
|
+
size: "md",
|
|
3321
|
+
"data-slot": "workspace-button",
|
|
3322
|
+
className: cn("max-w-full min-w-0 shrink justify-start gap-2", "*:data-[slot=button-content]:max-w-full [&>[data-slot=button-content]]:min-w-0", className),
|
|
3323
|
+
children: [children, /* @__PURE__ */ jsx(ChevronDown, {
|
|
3324
|
+
"aria-hidden": true,
|
|
3325
|
+
"data-slot": "workspace-button-chevron",
|
|
3326
|
+
className: "-ml-1 size-4 shrink-0"
|
|
3327
|
+
})]
|
|
3328
|
+
});
|
|
3329
|
+
}
|
|
3330
|
+
function WorkspaceButtonName({ className, ...props }) {
|
|
3331
|
+
return /* @__PURE__ */ jsx("span", {
|
|
3332
|
+
"data-slot": "workspace-button-name",
|
|
3333
|
+
className: cn("max-w-[200px] min-w-0 truncate", className),
|
|
3334
|
+
...props
|
|
3335
|
+
});
|
|
3336
|
+
}
|
|
3337
|
+
//#endregion
|
|
3315
3338
|
//#region src/components/popover/popover.tsx
|
|
3316
3339
|
const popover = tv({ slots: {
|
|
3317
3340
|
trigger: ["select-none"],
|
|
@@ -13376,10 +13399,45 @@ function toLayoutUnit(value) {
|
|
|
13376
13399
|
return Math.round(value * 64) / 64;
|
|
13377
13400
|
}
|
|
13378
13401
|
//#endregion
|
|
13402
|
+
//#region src/components/virtual-list/utils/size-cache.ts
|
|
13403
|
+
/**
|
|
13404
|
+
* Records `size` as the measured size of row `key` in `offsets`, kept even when it equals the estimate
|
|
13405
|
+
* (an offset of 0), so the row counts as measured. Returns whether the cache changed.
|
|
13406
|
+
*/
|
|
13407
|
+
function recordMeasuredSize(offsets, key, size, itemEstimatedSize) {
|
|
13408
|
+
const offset = size - itemEstimatedSize;
|
|
13409
|
+
if (offsets.get(key) === offset) return false;
|
|
13410
|
+
offsets.set(key, offset);
|
|
13411
|
+
return true;
|
|
13412
|
+
}
|
|
13413
|
+
function createTypicalSizeCache() {
|
|
13414
|
+
return {
|
|
13415
|
+
version: -1,
|
|
13416
|
+
itemEstimatedSize: NaN,
|
|
13417
|
+
size: 0
|
|
13418
|
+
};
|
|
13419
|
+
}
|
|
13420
|
+
/**
|
|
13421
|
+
* The size rows typically are: the mean size of the measured rows (`offsets`), or `itemEstimatedSize`
|
|
13422
|
+
* before any is measured, and at least `itemMinSize` (and 1). Kept in `cache` and computed again only
|
|
13423
|
+
* when `version` (bumped whenever `offsets` changes) or `itemEstimatedSize` changes.
|
|
13424
|
+
*/
|
|
13425
|
+
function getTypicalSize(cache, offsets, version, itemEstimatedSize, itemMinSize) {
|
|
13426
|
+
if (cache.version !== version || cache.itemEstimatedSize !== itemEstimatedSize) {
|
|
13427
|
+
let total = 0;
|
|
13428
|
+
for (const offset of offsets.values()) total += offset;
|
|
13429
|
+
cache.size = itemEstimatedSize + (offsets.size === 0 ? 0 : total / offsets.size);
|
|
13430
|
+
cache.version = version;
|
|
13431
|
+
cache.itemEstimatedSize = itemEstimatedSize;
|
|
13432
|
+
}
|
|
13433
|
+
return Math.max(cache.size, itemMinSize, 1);
|
|
13434
|
+
}
|
|
13435
|
+
//#endregion
|
|
13379
13436
|
//#region src/components/virtual-list/utils/range.ts
|
|
13380
13437
|
/**
|
|
13381
13438
|
* The items to render: from the item at `scrollTop - paddingTop` through as many items as fit in
|
|
13382
|
-
* `listHeight` at their minimum size, plus one (
|
|
13439
|
+
* `listHeight` at their minimum size, plus one (the overscan is `getOverscannedRange`'s). Empty
|
|
13440
|
+
* (`0..-1`) before the list has been
|
|
13383
13441
|
* measured or when there are no items.
|
|
13384
13442
|
*/
|
|
13385
13443
|
function getVerticalRange({ fenwickTree, scrollTop, listHeight, itemMinSize, itemCount, paddingTop }) {
|
|
@@ -13393,6 +13451,60 @@ function getVerticalRange({ fenwickTree, scrollTop, listHeight, itemMinSize, ite
|
|
|
13393
13451
|
endIndex: Math.min(startIndex + Math.ceil(listHeight / itemMinSize + 1), itemCount - 1)
|
|
13394
13452
|
};
|
|
13395
13453
|
}
|
|
13454
|
+
const OVERSCAN_MIN = .25;
|
|
13455
|
+
const OVERSCAN_TARGET = 1;
|
|
13456
|
+
const OVERSCAN_MAX = 2.5;
|
|
13457
|
+
const OVERSCAN_BELOW = .25;
|
|
13458
|
+
/**
|
|
13459
|
+
* The last row needed to fill the view from row `startIndex` down: measured rows (`isMeasured`) count at
|
|
13460
|
+
* their size, the others at `itemMinSize`, so the view is filled whatever the unmeasured rows turn out
|
|
13461
|
+
* to be. `viewTop` is the view's top in item offsets.
|
|
13462
|
+
*/
|
|
13463
|
+
function getNeededEnd({ fenwickTree, startIndex, viewTop, listHeight, itemMinSize, itemCount, isMeasured }) {
|
|
13464
|
+
const bottom = viewTop + listHeight;
|
|
13465
|
+
let offset = fenwickTree.sum(startIndex);
|
|
13466
|
+
let index = startIndex;
|
|
13467
|
+
for (; index < itemCount - 1; ++index) {
|
|
13468
|
+
offset += isMeasured(index) ? fenwickTree.get(index) : Math.max(itemMinSize, 1);
|
|
13469
|
+
if (offset >= bottom) break;
|
|
13470
|
+
}
|
|
13471
|
+
return index;
|
|
13472
|
+
}
|
|
13473
|
+
/**
|
|
13474
|
+
* The items to render with overscan (see above), from the range in view (`view`, as `getVerticalRange`
|
|
13475
|
+
* gives it), the last row needed to fill the view (`neededEnd`) and the rendered range (`prev`).
|
|
13476
|
+
* `viewTop` is the view's top in item offsets, `moved` how far it moved since the last range update,
|
|
13477
|
+
* `movingUp` whether it last moved up, `settling` whether a jump is settling, `plannedSize` the size a
|
|
13478
|
+
* row is counted at when planning how many rows to mount above the view. With a `listHeight` of 0
|
|
13479
|
+
* (not laid out) there is no overscan: `view` is returned.
|
|
13480
|
+
*/
|
|
13481
|
+
function getOverscannedRange({ fenwickTree, view, prev, neededEnd, viewTop, moved, movingUp, settling, plannedSize, listHeight, itemCount }) {
|
|
13482
|
+
const last = itemCount - 1;
|
|
13483
|
+
const min = OVERSCAN_MIN * listHeight;
|
|
13484
|
+
const target = OVERSCAN_TARGET * listHeight;
|
|
13485
|
+
const max = OVERSCAN_MAX * listHeight;
|
|
13486
|
+
const apart = view.startIndex > prev.endIndex || view.endIndex < prev.startIndex;
|
|
13487
|
+
if (listHeight <= 0 || view.endIndex < view.startIndex || prev.endIndex < prev.startIndex || prev.endIndex > last || moved > max || apart && moved === 0) return view;
|
|
13488
|
+
let ahead = view.startIndex;
|
|
13489
|
+
for (let above = viewTop - fenwickTree.sum(ahead); ahead > 0 && above < target;) {
|
|
13490
|
+
ahead -= 1;
|
|
13491
|
+
above += plannedSize(ahead);
|
|
13492
|
+
}
|
|
13493
|
+
let startIndex = prev.startIndex;
|
|
13494
|
+
if (prev.startIndex > view.startIndex) startIndex = movingUp && !settling ? ahead : view.startIndex;
|
|
13495
|
+
else if (!settling) {
|
|
13496
|
+
const above = viewTop - fenwickTree.sum(prev.startIndex);
|
|
13497
|
+
if (movingUp ? above < min : above > max) startIndex = movingUp ? Math.min(ahead, prev.startIndex) : ahead;
|
|
13498
|
+
}
|
|
13499
|
+
const needed = Math.min(neededEnd, view.endIndex);
|
|
13500
|
+
const neededBottom = fenwickTree.sum(needed + 1);
|
|
13501
|
+
let endIndex = prev.endIndex;
|
|
13502
|
+
if (prev.endIndex < needed || movingUp && !settling && fenwickTree.sum(prev.endIndex + 1) - neededBottom > max) endIndex = Math.min(Math.max(fenwickTree.getBound(neededBottom + OVERSCAN_BELOW * listHeight), needed), last);
|
|
13503
|
+
return {
|
|
13504
|
+
startIndex,
|
|
13505
|
+
endIndex
|
|
13506
|
+
};
|
|
13507
|
+
}
|
|
13396
13508
|
/** The columns to render: the ones in `scrollLeft .. scrollLeft + listWidth`, plus one on each side. */
|
|
13397
13509
|
function getHorizontalRange({ xFenwickTree, scrollLeft, listWidth, columnCount }) {
|
|
13398
13510
|
if (xFenwickTree === null || columnCount === 0) return {
|
|
@@ -13843,7 +13955,11 @@ function VirtualList(props) {
|
|
|
13843
13955
|
const keptKeysRef = useRef([]);
|
|
13844
13956
|
/** The key of the row that holds focus (`document.activeElement` is in it), tracked by focusin / focusout. */
|
|
13845
13957
|
const focusedKeyRef = useRef(null);
|
|
13958
|
+
/** The measured rows' sizes, by key (see `utils/size-cache.ts`). */
|
|
13846
13959
|
const keyToHeightOffsetRef = useRef(/* @__PURE__ */ new Map());
|
|
13960
|
+
/** Bumped whenever `keyToHeightOffsetRef` changes (see `getTypicalSize`). */
|
|
13961
|
+
const measuredVersionRef = useRef(0);
|
|
13962
|
+
const typicalSizeRef = useRef(createTypicalSizeCache());
|
|
13847
13963
|
const leadingMarginRef = useRef(0);
|
|
13848
13964
|
/**
|
|
13849
13965
|
* Where the first mounted row in flow starts in the visible-items element (its top margin there,
|
|
@@ -13854,6 +13970,8 @@ function VirtualList(props) {
|
|
|
13854
13970
|
const pendingScrollTaskTimeoutRef = useRef(null);
|
|
13855
13971
|
const pendingScrollTaskRafRef = useRef(null);
|
|
13856
13972
|
const wheelScrollingRef = useRef(false);
|
|
13973
|
+
/** Whether the view last moved up (see `updateRange`). */
|
|
13974
|
+
const scrollingUpRef = useRef(false);
|
|
13857
13975
|
/** Clears `wheelScrollingRef` in the next frame; this list's own, so other lists cannot replace it. */
|
|
13858
13976
|
const [runLatestInNextFrame] = useState(createLatestInNextFrame);
|
|
13859
13977
|
/** The wheel is only taken over (catchWheel) where the pointer is not coarse. */
|
|
@@ -13921,6 +14039,7 @@ function VirtualList(props) {
|
|
|
13921
14039
|
keptKeysRef.current = [];
|
|
13922
14040
|
focusedKeyRef.current = null;
|
|
13923
14041
|
keyToHeightOffsetRef.current.clear();
|
|
14042
|
+
measuredVersionRef.current += 1;
|
|
13924
14043
|
leadingMarginRef.current = 0;
|
|
13925
14044
|
keyToIndexRef.current = /* @__PURE__ */ new Map();
|
|
13926
14045
|
rangeRef.current = {
|
|
@@ -14112,9 +14231,12 @@ function VirtualList(props) {
|
|
|
14112
14231
|
}
|
|
14113
14232
|
}
|
|
14114
14233
|
}, [virtual]);
|
|
14234
|
+
/** The size rows typically are: the mean of the measured rows (`getTypicalSize`). */
|
|
14235
|
+
const getTypicalRowSize = useEventCallback(() => getTypicalSize(typicalSizeRef.current, keyToHeightOffsetRef.current, measuredVersionRef.current, itemEstimatedSize, itemMinSize));
|
|
14115
14236
|
/**
|
|
14116
14237
|
* The viewport sync. The range starts at the item at `scrollTop + compensation - paddingTop` and
|
|
14117
|
-
* holds as many items as fit at `itemMinSize`, plus one
|
|
14238
|
+
* holds as many items as fit at `itemMinSize`, plus one, and is overscanned in batches
|
|
14239
|
+
* (`getOverscannedRange`). Items holding the text selection, and the item
|
|
14118
14240
|
* holding focus, stay
|
|
14119
14241
|
* mounted ("kept"). When the new range is inside the old one, only the layout styles are written;
|
|
14120
14242
|
* otherwise the items entering above the old start are recorded (`prependIndexes`) and the range is
|
|
@@ -14140,7 +14262,7 @@ function VirtualList(props) {
|
|
|
14140
14262
|
startIndex: range.verticalStartIndex,
|
|
14141
14263
|
endIndex: range.verticalEndIndex
|
|
14142
14264
|
};
|
|
14143
|
-
const
|
|
14265
|
+
const viewRange = getVerticalRange({
|
|
14144
14266
|
fenwickTree,
|
|
14145
14267
|
scrollTop: effectiveScrollTop,
|
|
14146
14268
|
listHeight: viewport.listHeight,
|
|
@@ -14148,8 +14270,37 @@ function VirtualList(props) {
|
|
|
14148
14270
|
itemCount: items.length,
|
|
14149
14271
|
paddingTop: getRowsTop()
|
|
14150
14272
|
});
|
|
14273
|
+
const overscanned = viewport.listHeight > 0;
|
|
14274
|
+
if (scrollTop !== viewport.scrollTop) scrollingUpRef.current = scrollTop < viewport.scrollTop;
|
|
14275
|
+
const nextRange = overscanned ? getOverscannedRange({
|
|
14276
|
+
fenwickTree,
|
|
14277
|
+
view: viewRange,
|
|
14278
|
+
prev: prevRange,
|
|
14279
|
+
neededEnd: getNeededEnd({
|
|
14280
|
+
fenwickTree,
|
|
14281
|
+
startIndex: viewRange.startIndex,
|
|
14282
|
+
viewTop: effectiveScrollTop - getRowsTop(),
|
|
14283
|
+
listHeight: viewport.listHeight,
|
|
14284
|
+
itemMinSize,
|
|
14285
|
+
itemCount: items.length,
|
|
14286
|
+
isMeasured: (index) => {
|
|
14287
|
+
const item = items[index];
|
|
14288
|
+
return item !== void 0 && keyToHeightOffsetRef.current.has(getKey(item));
|
|
14289
|
+
}
|
|
14290
|
+
}),
|
|
14291
|
+
viewTop: effectiveScrollTop - getRowsTop(),
|
|
14292
|
+
moved: Math.abs(scrollTop - viewport.scrollTop),
|
|
14293
|
+
movingUp: scrollingUpRef.current,
|
|
14294
|
+
settling: pendingScrollTaskRef.current !== null,
|
|
14295
|
+
plannedSize: (index) => {
|
|
14296
|
+
const item = items[index];
|
|
14297
|
+
return item !== void 0 && keyToHeightOffsetRef.current.has(getKey(item)) ? fenwickTree.get(index) : getTypicalRowSize();
|
|
14298
|
+
},
|
|
14299
|
+
listHeight: viewport.listHeight,
|
|
14300
|
+
itemCount: items.length
|
|
14301
|
+
}) : viewRange;
|
|
14151
14302
|
const rangeChanged = prevRange.startIndex !== nextRange.startIndex || prevRange.endIndex !== nextRange.endIndex;
|
|
14152
|
-
const nextInsidePrev = nextRange.startIndex >= prevRange.startIndex && prevRange.endIndex >= nextRange.endIndex;
|
|
14303
|
+
const nextInsidePrev = !overscanned && nextRange.startIndex >= prevRange.startIndex && prevRange.endIndex >= nextRange.endIndex;
|
|
14153
14304
|
const prevColRange = {
|
|
14154
14305
|
startIndex: range.horizontalStartIndex,
|
|
14155
14306
|
endIndex: range.horizontalEndIndex
|
|
@@ -14383,9 +14534,8 @@ function VirtualList(props) {
|
|
|
14383
14534
|
rows.forEach(({ key, index }, i) => {
|
|
14384
14535
|
const size = spans[i];
|
|
14385
14536
|
const previousSize = fenwickTree.get(index);
|
|
14537
|
+
if (recordMeasuredSize(keyToHeightOffsetRef.current, key, size, itemEstimatedSize)) measuredVersionRef.current += 1;
|
|
14386
14538
|
if (size === previousSize) return;
|
|
14387
|
-
if (size - itemEstimatedSize === 0) keyToHeightOffsetRef.current.delete(key);
|
|
14388
|
-
else keyToHeightOffsetRef.current.set(key, size - itemEstimatedSize);
|
|
14389
14539
|
fenwickTree.add(index, size - previousSize);
|
|
14390
14540
|
resizes.push({
|
|
14391
14541
|
index,
|
|
@@ -14705,6 +14855,10 @@ function VirtualList(props) {
|
|
|
14705
14855
|
const isFirstOfKey = /* @__PURE__ */ new Map();
|
|
14706
14856
|
for (const { key, isFirst } of queue) if (!isFirstOfKey.has(key)) isFirstOfKey.set(key, isFirst);
|
|
14707
14857
|
const { resizes, leadingMarginDelta } = measureFlowRun();
|
|
14858
|
+
if (resizes.length === 0 && leadingMarginDelta === 0 && pendingScrollTaskRef.current === null) {
|
|
14859
|
+
clearItemResizeQueue();
|
|
14860
|
+
return;
|
|
14861
|
+
}
|
|
14708
14862
|
applyLayoutStyles(startIndex);
|
|
14709
14863
|
onContentResize?.();
|
|
14710
14864
|
const listEl = listElRef.current;
|
|
@@ -14978,7 +15132,45 @@ function VirtualList(props) {
|
|
|
14978
15132
|
ItemComponent,
|
|
14979
15133
|
renderItemChild
|
|
14980
15134
|
]);
|
|
14981
|
-
const
|
|
15135
|
+
const renderInputs = useMemo(() => ({}), [
|
|
15136
|
+
virtual,
|
|
15137
|
+
getKey,
|
|
15138
|
+
renderCol,
|
|
15139
|
+
renderItemWithCols,
|
|
15140
|
+
itemResizable,
|
|
15141
|
+
sessionId,
|
|
15142
|
+
ignoreItemResize,
|
|
15143
|
+
ItemComponent,
|
|
15144
|
+
renderItemChild
|
|
15145
|
+
]);
|
|
15146
|
+
const [flowElements] = useState(() => /* @__PURE__ */ new Map());
|
|
15147
|
+
const renderedVisibleItems = useMemo(() => {
|
|
15148
|
+
const nodes = visibleItems.map((item) => {
|
|
15149
|
+
const key = getKey(item);
|
|
15150
|
+
const index = keyToIndexRef.current.get(key);
|
|
15151
|
+
const cached = flowElements.get(key);
|
|
15152
|
+
if (cached !== void 0 && cached.item === item && cached.index === index && cached.inputs === renderInputs) return cached.node;
|
|
15153
|
+
const node = renderItem(item, false);
|
|
15154
|
+
flowElements.set(key, {
|
|
15155
|
+
item,
|
|
15156
|
+
index,
|
|
15157
|
+
inputs: renderInputs,
|
|
15158
|
+
node
|
|
15159
|
+
});
|
|
15160
|
+
return node;
|
|
15161
|
+
});
|
|
15162
|
+
if (flowElements.size > visibleItems.length) {
|
|
15163
|
+
const inRange = new Set(visibleItems.map(getKey));
|
|
15164
|
+
for (const key of flowElements.keys()) if (!inRange.has(key)) flowElements.delete(key);
|
|
15165
|
+
}
|
|
15166
|
+
return nodes;
|
|
15167
|
+
}, [
|
|
15168
|
+
renderItem,
|
|
15169
|
+
visibleItems,
|
|
15170
|
+
getKey,
|
|
15171
|
+
flowElements,
|
|
15172
|
+
renderInputs
|
|
15173
|
+
]);
|
|
14982
15174
|
const renderedKeptBefore = useMemo(() => keptItemsBefore.map((item) => renderItem(item, true)), [renderItem, keptItemsBefore]);
|
|
14983
15175
|
const renderedKeptAfter = useMemo(() => keptItemsAfter.map((item) => renderItem(item, true)), [renderItem, keptItemsAfter]);
|
|
14984
15176
|
useNonVirtualContentResize(itemsElRef, onContentResize, !virtual);
|
|
@@ -15022,9 +15214,7 @@ function VirtualList(props) {
|
|
|
15022
15214
|
const { spans, firstStart } = measureRowSpans(visibleItemsEl, rows.map((row) => row.el));
|
|
15023
15215
|
if (rows[0] !== void 0 && keyToIndexRef.current.get(rows[0].key) === 0) leadingMarginRef.current = firstStart;
|
|
15024
15216
|
rows.forEach(({ key }, i) => {
|
|
15025
|
-
|
|
15026
|
-
if (offset === 0) keyToHeightOffsetRef.current.delete(key);
|
|
15027
|
-
else keyToHeightOffsetRef.current.set(key, offset);
|
|
15217
|
+
if (recordMeasuredSize(keyToHeightOffsetRef.current, key, spans[i], itemEstimatedSize)) measuredVersionRef.current += 1;
|
|
15028
15218
|
});
|
|
15029
15219
|
}
|
|
15030
15220
|
}
|
|
@@ -16908,4 +17098,4 @@ function ThemeProvider({ mode, defaultMode = "light", onModeChange, storageKey,
|
|
|
16908
17098
|
});
|
|
16909
17099
|
}
|
|
16910
17100
|
//#endregion
|
|
16911
|
-
export { ActivityInboxControls, ActivityInboxLoadingMore, ActivityInboxPanel, ActivityInboxSelectionCount, ActivityInboxSelectionToolbar, ActivityInboxSidebar, ActivityInboxViewport, 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, Avatar, AvatarBadge, AvatarFallback, AvatarGroup, AvatarGroupCount, AvatarImage, Badge, Banner, BannerAction, BannerDescription, BannerTitle, Button, Card, CardContent, CardDescription, CardFooter, CardHeader, CardLeading, CardTitle, CardTrailing, ChatIcon, Checkbox, CheckboxIndicator, CodeBlock, CodeBlockAction, CodeBlockActions, CodeBlockBody, CodeBlockHeader, 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, 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, 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, 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, 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, Kbd, KbdGroup, Label, LabelAsterisk, LabelOptional, LabelSub, 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, MessageListHistoryLimited, MessageListNotice, MessageMultiSelect, MessageMultiSelectCheckbox, MessageMultiSelectToolbar, 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, 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, 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, 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, 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, VirtualList, buildMessageImageGalleryRows, buttonVariants, classifyMessageImageAspect, cn, createMessageTextSelectionAnchor, createToastManager, getTextSelectionFocusRect, installInputModality, taskStatusSoft, taskStatusStrong, textLinkVariants, toast, useComposerSuggestions, useOrderedTabs, useTheme, useToastManager };
|
|
17101
|
+
export { ActivityInboxControls, ActivityInboxLoadingMore, ActivityInboxPanel, ActivityInboxSelectionCount, ActivityInboxSelectionToolbar, ActivityInboxSidebar, ActivityInboxViewport, 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, Avatar, AvatarBadge, AvatarFallback, AvatarGroup, AvatarGroupCount, AvatarImage, Badge, Banner, BannerAction, BannerDescription, BannerTitle, Button, Card, CardContent, CardDescription, CardFooter, CardHeader, CardLeading, CardTitle, CardTrailing, ChatIcon, Checkbox, CheckboxIndicator, CodeBlock, CodeBlockAction, CodeBlockActions, CodeBlockBody, CodeBlockHeader, 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, 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, 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, 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, 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, Kbd, KbdGroup, Label, LabelAsterisk, LabelOptional, LabelSub, 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, MessageListHistoryLimited, MessageListNotice, MessageMultiSelect, MessageMultiSelectCheckbox, MessageMultiSelectToolbar, 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, 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, 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, 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, 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, VirtualList, WorkspaceButton, WorkspaceButtonName, buildMessageImageGalleryRows, buttonVariants, classifyMessageImageAspect, cn, createMessageTextSelectionAnchor, createToastManager, getTextSelectionFocusRect, installInputModality, taskStatusSoft, taskStatusStrong, textLinkVariants, toast, useComposerSuggestions, useOrderedTabs, useTheme, useToastManager };
|
|
@@ -1651,6 +1651,7 @@ const avatar = tv$1({
|
|
|
1651
1651
|
"[[data-size='xs']>&]:[&>svg]:size-3",
|
|
1652
1652
|
"overflow-hidden rounded-[2px]",
|
|
1653
1653
|
"font-sans text-[15px] leading-none font-bold tracking-[-0.01em] text-sticker-ink",
|
|
1654
|
+
"[[data-type='server']>&]:text-brand",
|
|
1654
1655
|
"[[data-size='xl']>&]:text-[40px]",
|
|
1655
1656
|
"[[data-size='lg']>&]:text-[22px]",
|
|
1656
1657
|
"[[data-size='sm']>&]:text-[13px]",
|
|
@@ -1696,7 +1697,8 @@ const avatar = tv$1({
|
|
|
1696
1697
|
variants: {
|
|
1697
1698
|
type: {
|
|
1698
1699
|
agent: { root: ["bg-inactive"] },
|
|
1699
|
-
human: { root: ["bg-palette-lavender"] }
|
|
1700
|
+
human: { root: ["bg-palette-lavender"] },
|
|
1701
|
+
server: { root: ["bg-sticker-ink"] }
|
|
1700
1702
|
},
|
|
1701
1703
|
size: {
|
|
1702
1704
|
xl: { root: ["size-[99px] shadow-[0_0_0_1.5px_var(--sticker-edge),var(--elevation-sticker)]"] },
|
|
@@ -1717,6 +1719,7 @@ function Avatar$1({ size, type, className, children, ...props }) {
|
|
|
1717
1719
|
return /* @__PURE__ */ jsx(Avatar.Root, {
|
|
1718
1720
|
"data-slot": "avatar",
|
|
1719
1721
|
"data-size": size,
|
|
1722
|
+
"data-type": type,
|
|
1720
1723
|
className: root({ className }),
|
|
1721
1724
|
...props,
|
|
1722
1725
|
children: children ?? /* @__PURE__ */ jsx(AvatarFallback, {})
|
package/dist/wip.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as MessageQuotedPreviewAuthorDelegatedBy, Hi as DialogTitleProps, Ki as ButtonProps, Si as DialogClose, Ti as DialogContentProps, Ui as DialogTrigger, Xi as StyledProps, Yi as DataAttributes, a as MessageListJumpPillDismissProps, c as MessageListJumpPillProps, cn as MessageItemDelegatedAvatar, dn as MessageItemDelegatedByButton, fn as MessageItemDelegatedByButtonProps, hn as MessageItemDelegatedByProps, i as MessageListJumpPillDismiss, ln as MessageItemDelegatedAvatarProps, mn as MessageItemDelegatedByNameProps, n as MessageListJumpControlsProps, o as MessageListJumpPillGroup, pn as MessageItemDelegatedByName, r as MessageListJumpPill, s as MessageListJumpPillGroupProps, t as MessageListJumpControls, un as MessageItemDelegatedBy, w as MessageQuotedPreviewAuthorDelegatedByProps, yi as Dialog } from "./index-
|
|
1
|
+
import { C as MessageQuotedPreviewAuthorDelegatedBy, Hi as DialogTitleProps, Ki as ButtonProps, Si as DialogClose, Ti as DialogContentProps, Ui as DialogTrigger, Xi as StyledProps, Yi as DataAttributes, a as MessageListJumpPillDismissProps, c as MessageListJumpPillProps, cn as MessageItemDelegatedAvatar, dn as MessageItemDelegatedByButton, fn as MessageItemDelegatedByButtonProps, hn as MessageItemDelegatedByProps, i as MessageListJumpPillDismiss, ln as MessageItemDelegatedAvatarProps, mn as MessageItemDelegatedByNameProps, n as MessageListJumpControlsProps, o as MessageListJumpPillGroup, pn as MessageItemDelegatedByName, r as MessageListJumpPill, s as MessageListJumpPillGroupProps, t as MessageListJumpControls, un as MessageItemDelegatedBy, w as MessageQuotedPreviewAuthorDelegatedByProps, yi as Dialog } from "./index-DsVVBZ5T.mjs";
|
|
2
2
|
import { CSSProperties, ComponentPropsWithRef, ReactNode } from "react";
|
|
3
3
|
import { Button } from "@base-ui/react/button";
|
|
4
4
|
import { useRender } from "@base-ui/react/use-render";
|
package/dist/wip.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Bn as DialogTitle, Gn as defaultNativeButton, Hn as Button$1, Mn as DialogContent, Qn as tv, Rt as useOverflowTitle, Vn as DialogTrigger, Xn as useTheme, Yn as useThemeScopeProps, ct as MessageItemDelegatedAvatar, dt as MessageItemDelegatedByName, i as MessageListJumpPillGroup, jn as DialogClose, kn as Dialog, lt as MessageItemDelegatedBy, n as MessageListJumpPill, p as MessageQuotedPreviewAuthorDelegatedBy, r as MessageListJumpPillDismiss, t as MessageListJumpControls, ut as MessageItemDelegatedByButton } from "./message-list-
|
|
1
|
+
import { Bn as DialogTitle, Gn as defaultNativeButton, Hn as Button$1, Mn as DialogContent, Qn as tv, Rt as useOverflowTitle, Vn as DialogTrigger, Xn as useTheme, Yn as useThemeScopeProps, ct as MessageItemDelegatedAvatar, dt as MessageItemDelegatedByName, i as MessageListJumpPillGroup, jn as DialogClose, kn as Dialog, lt as MessageItemDelegatedBy, n as MessageListJumpPill, p as MessageQuotedPreviewAuthorDelegatedBy, r as MessageListJumpPillDismiss, t as MessageListJumpControls, ut as MessageItemDelegatedByButton } from "./message-list-03unCFnE.mjs";
|
|
2
2
|
import { Check, ChevronDown, LoaderCircle, Plus, X } from "lucide-react";
|
|
3
3
|
import { createContext, use, useCallback, useEffect, useId, useLayoutEffect, useMemo, useRef, useState, useSyncExternalStore } from "react";
|
|
4
4
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -27,17 +27,20 @@ function getSnapshot() {
|
|
|
27
27
|
function usePhoneMedia() {
|
|
28
28
|
return useSyncExternalStore(subscribe, getSnapshot, () => false);
|
|
29
29
|
}
|
|
30
|
+
//#endregion
|
|
31
|
+
//#region src/components/combobox-select/combobox-select.list-side.ts
|
|
32
|
+
/** One option row (36px) and the list's 6px padding above and below. */
|
|
33
|
+
const ROW = 36;
|
|
34
|
+
const LIST_PADDING = 12;
|
|
35
|
+
/** The gap between the field and the list (the positioner's sideOffset). */
|
|
36
|
+
const SIDE_OFFSET = 4;
|
|
30
37
|
/**
|
|
31
|
-
*
|
|
32
|
-
*
|
|
33
|
-
*
|
|
34
|
-
* short of the list and there is more above. `listHeight` is the list's full
|
|
35
|
-
* height and `maxHeight` its cap (`listMaxHeight`), both in pixels.
|
|
38
|
+
* Whether fewer than three rows of a phone's list fit between the field and the
|
|
39
|
+
* bottom of the visual viewport. The list always opens below the field on a
|
|
40
|
+
* phone and never flips; when this is true the field is scrolled up instead.
|
|
36
41
|
*/
|
|
37
|
-
function
|
|
38
|
-
|
|
39
|
-
const above = anchor.top - viewport.top;
|
|
40
|
-
return below >= Math.min(listHeight, maxHeight) || below >= above ? "bottom" : "top";
|
|
42
|
+
function roomBelowIsShort(field, viewport, rows = 3) {
|
|
43
|
+
return viewport.top + viewport.height - field.bottom - SIDE_OFFSET < rows * ROW + LIST_PADDING;
|
|
41
44
|
}
|
|
42
45
|
//#endregion
|
|
43
46
|
//#region src/components/combobox-select/combobox-select.options.ts
|
|
@@ -106,37 +109,41 @@ function renderSelectedChip({ record, index, tagLimit, strings, renderLabel, ren
|
|
|
106
109
|
}, optionKey(record.value));
|
|
107
110
|
}
|
|
108
111
|
/**
|
|
109
|
-
* On a phone the list
|
|
110
|
-
*
|
|
112
|
+
* On a phone the list always opens below the field, between the field and the
|
|
113
|
+
* keyboard, as a native autocomplete does, and never flips: which side has more
|
|
114
|
+
* room depends on whether the keyboard happens to be up, so choosing a side made
|
|
115
|
+
* the same field open up one time and down the next.
|
|
111
116
|
*/
|
|
112
117
|
const PHONE_LIST_COLLISION = {
|
|
113
118
|
side: "none",
|
|
114
119
|
align: "shift",
|
|
115
120
|
fallbackAxisSide: "none"
|
|
116
121
|
};
|
|
117
|
-
/**
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
return
|
|
126
|
-
}
|
|
127
|
-
/** The side the phone's list opens on, from the room around the field and the list's cap. */
|
|
128
|
-
function measureListSide(anchor, groups, maxHeight) {
|
|
129
|
-
const view = anchor?.ownerDocument.defaultView;
|
|
130
|
-
if (!anchor || !view) return "bottom";
|
|
122
|
+
/**
|
|
123
|
+
* Keeps room for the list below the field on a phone: when fewer than three
|
|
124
|
+
* rows fit between the field and the bottom of the visual viewport (the
|
|
125
|
+
* keyboard's top edge while it is up), scrolls the field up to the top of
|
|
126
|
+
* what is visible instead of flipping the list above it.
|
|
127
|
+
*/
|
|
128
|
+
function keepRoomBelow(field) {
|
|
129
|
+
const view = field?.ownerDocument.defaultView;
|
|
130
|
+
if (!field || !view) return;
|
|
131
131
|
const visual = view.visualViewport;
|
|
132
|
-
const
|
|
133
|
-
return preferredListSide(anchor.getBoundingClientRect(), visual ? {
|
|
132
|
+
const viewport = visual ? {
|
|
134
133
|
top: visual.offsetTop,
|
|
135
134
|
height: visual.height
|
|
136
135
|
} : {
|
|
137
136
|
top: 0,
|
|
138
137
|
height: view.innerHeight
|
|
139
|
-
}
|
|
138
|
+
};
|
|
139
|
+
if (roomBelowIsShort(field.getBoundingClientRect(), viewport)) {
|
|
140
|
+
if (!field.style.scrollMarginTop) field.style.scrollMarginTop = "2.5rem";
|
|
141
|
+
field.scrollIntoView({
|
|
142
|
+
block: "start",
|
|
143
|
+
inline: "nearest",
|
|
144
|
+
behavior: "instant"
|
|
145
|
+
});
|
|
146
|
+
}
|
|
140
147
|
}
|
|
141
148
|
/** Options-driven composition. The stable compound Combobox API stays unchanged. */
|
|
142
149
|
function isItemEqualToValue(a, b) {
|
|
@@ -422,17 +429,27 @@ function ComboboxSelect({ options, multiple, value, defaultValue, onValueChange,
|
|
|
422
429
|
const valueChange = handleValueChange;
|
|
423
430
|
const listHeight = typeof listMaxHeight === "number" ? `${listMaxHeight}px` : listMaxHeight;
|
|
424
431
|
const fieldRef = useRef(null);
|
|
425
|
-
const [
|
|
426
|
-
const groups = normalized.groups;
|
|
432
|
+
const [phoneOpen, setPhoneOpen] = useState(false);
|
|
427
433
|
const handleOpenChange = useCallback((next, details) => {
|
|
428
434
|
onOpenChange?.(next, details);
|
|
429
|
-
if (
|
|
430
|
-
}, [
|
|
431
|
-
|
|
432
|
-
phone
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
435
|
+
if (phone && !details.isCanceled) setPhoneOpen(next);
|
|
436
|
+
}, [onOpenChange, phone]);
|
|
437
|
+
useEffect(() => {
|
|
438
|
+
if (!phone || !phoneOpen) return;
|
|
439
|
+
const field = fieldRef.current;
|
|
440
|
+
const visual = field?.ownerDocument.defaultView?.visualViewport;
|
|
441
|
+
let frame = 0;
|
|
442
|
+
const check = () => {
|
|
443
|
+
cancelAnimationFrame(frame);
|
|
444
|
+
frame = requestAnimationFrame(() => keepRoomBelow(field));
|
|
445
|
+
};
|
|
446
|
+
check();
|
|
447
|
+
visual?.addEventListener("resize", check);
|
|
448
|
+
return () => {
|
|
449
|
+
cancelAnimationFrame(frame);
|
|
450
|
+
visual?.removeEventListener("resize", check);
|
|
451
|
+
};
|
|
452
|
+
}, [phone, phoneOpen]);
|
|
436
453
|
const popupPropsStyle = popupProps?.style;
|
|
437
454
|
const popupStyle = useMemo(() => {
|
|
438
455
|
if (listHeight === void 0) return popupPropsStyle;
|
|
@@ -473,7 +490,7 @@ function ComboboxSelect({ options, multiple, value, defaultValue, onValueChange,
|
|
|
473
490
|
align: "start",
|
|
474
491
|
collisionPadding: 8,
|
|
475
492
|
...phone ? {
|
|
476
|
-
side:
|
|
493
|
+
side: "bottom",
|
|
477
494
|
collisionAvoidance: PHONE_LIST_COLLISION
|
|
478
495
|
} : null,
|
|
479
496
|
...positionerProps,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@botiverse/raft-ui",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.16.0",
|
|
4
4
|
"description": "React components and CSS foundations for the Raft Design System.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"agent-skills",
|
|
@@ -86,6 +86,7 @@
|
|
|
86
86
|
"react-dom": "^19"
|
|
87
87
|
},
|
|
88
88
|
"scripts": {
|
|
89
|
+
"bench:virtual-list": "node bench/virtual-list/run.mjs",
|
|
89
90
|
"build:tokens": "node scripts/build-tokens.mjs",
|
|
90
91
|
"build": "vp pack",
|
|
91
92
|
"check": "vp check",
|