@botiverse/raft-ui 0.21.0 → 0.21.1
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 +52 -0
- package/dist/{touch-drag-B7uLTWXe.mjs → inbox-item.recipe-DelZxRmY.mjs} +321 -7
- package/dist/{index-CP05_pvu.d.mts → index-jTmbN7ov.d.mts} +55 -2
- package/dist/index.d.mts +2 -24
- package/dist/index.mjs +8 -245
- package/dist/styles.css +11 -2
- package/dist/wip.d.mts +14 -2
- package/dist/wip.mjs +25 -2
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { cn } from "./cn.mjs";
|
|
2
|
-
import { $ as
|
|
2
|
+
import { $ as MessageReactionPickerStatic, $n as DialogHeader, A as MessageEmbedFooter, An as ScrollAreaContent, At as MessageItemEmbedded, B as MessageReferenceChip, Bn as TooltipContent, Bt as AvatarFallback, C as MessageQuotedPreviewLoading, Cn as PanelBody, Ct as MessageItemSenderButton, D as MessageQuotedPreviewUnavailable, Dn as PanelScrollViewport, Dt as MessageItemBody, E as MessageQuotedPreviewTimestamp, En as PanelScrollContent, Et as MessageItemAttachments, F as MessageTextSelectionToolbarSeparator, Fn as useMobileViewport, Ft as MessageItemGutter, G as MessageReferenceText, Gn as textLinkVariants, Gt as SegmentedControlCount, H as MessageReferenceLabel, Hn as TooltipProvider, Ht as AvatarGroupCount, I as MessageMultiSelect, In as Checkbox, It as MessageItem, J as MessageReactionChip, Jn as DialogBody, K as MessageReferenceUnavailable, Kn as Badge, Kt as SegmentedControlItem, L as MessageMultiSelectCheckbox, Ln as CheckboxIndicator, Lt as searchHit, M as messageEmbed, Mn as ScrollAreaScrollbar, Mt as MessageItemSearchMatch, N as MessageTextSelectionToolbar, Nn as ScrollAreaThumb, Nt as MessageItemAvatarSlot, O as MessageEmbed, On as PanelSection, Ot as MessageItemContent, P as MessageTextSelectionToolbarButton, Pn as ScrollAreaViewport, Pt as MessageItemContinuationTime, Q as MessageReactionPickerContent, Qn as DialogFooter, R as MessageMultiSelectToolbar, Rn as PRESENCE_COLOR, Rt as Avatar, S as MessageQuotedPreviewHeader, Sn as Panel, St as MessageItemSenderBadges, T as MessageQuotedPreviewThread, Tn as PanelHeaderRoot, Tt as MessageItemTime, U as MessageReferencePending, Un as TooltipTrigger, Ut as AvatarImage, V as MessageReferenceIndicator, Vn as TooltipPortal, Vt as AvatarGroup, W as MessageReferenceSuffix, Wn as TextLink, Wt as SegmentedControl, X as MessageReactionErrorIndicator, Xn as DialogContent, Xt as useOverflowTitle, Y as MessageReactionCount, Yn as DialogClose, Z as MessageReactionGlyph, Zn as DialogDescription, _n as DropdownMenuSubmenu, _r as controlIconInset, an as DropdownMenuFooter, ar as DialogTrigger, at as MessageReactionTooltipNameText, b as MessageQuotedPreviewChannel, bn as Kbd, br as decisionWidth, bt as MessageItemMeta, c as MessageListDateDivider, cn as DropdownMenuItemLabel, cr as Spinner, ct as MessageItemBadge, d as MessageListNotice, dn as DropdownMenuPortal, dr as withOverlayLayer, dt as MessageItemSavedIndicator, er as DialogNav, et as MessageReactionQuickButton, f as MessageList, fn as DropdownMenuRadioGroup, fr as resolveThemeScopeProps, ft as MessageItemToolbar, g as MessageQuotedPreviewAuthor, gn as DropdownMenuShortcut, gr as tv, h as MessageQuotedPreviewAttachments, hn as DropdownMenuSeparator, hr as ThemeStateContext, in as DropdownMenuContent, ir as DialogTitle, it as MessageReactionTooltipName, j as MessageEmbedHeader, jn as ScrollAreaCorner, jt as MessageItemFooter, k as MessageEmbedContent, kn as ScrollArea, kt as MessageItemEdited, l as MessageListEndFade, ln as DropdownMenuLabel, lr as defaultNativeButton, lt as MessageItemBadgeSeparator, m as MessageQuotedPreviewAttachment, mn as DropdownMenuRadioItemIndicator, mr as useTheme, n as useHoldThenMoveTouchSensor, nn as DropdownMenuCheckboxItem, nr as DialogPortal, nt as MessageReactionTooltipContent, on as DropdownMenuItem, or as Button, ot as MessageReactionTooltipNames, p as MessageQuotedPreview, pn as DropdownMenuRadioItem, pr as useThemeScopeProps, pt as MessageItemToolbarButton, q as MessageReactionAddButton, qn as Dialog, qt as SegmentedControlLabel, r as useMouseOnlyPointerSensor, rn as DropdownMenuCheckboxItemIndicator, rr as DialogSurface, rt as MessageReactionTooltipMeta, sn as DropdownMenuItemCount, sr as buttonVariants, st as MessageReactionTooltipSeparator, t as inboxItem, tn as DropdownMenu, tr as DialogOverlay, tt as MessageReactionQuickRow, u as MessageListHistoryLimited, un as DropdownMenuPopup, ur as useParentOverlayKind, ut as MessageItemReadReceipt, v as MessageQuotedPreviewAuthorMeta, vn as DropdownMenuSubmenuTrigger, vr as headEdgePull, vt as MessageItemHeader, w as MessageQuotedPreviewText, wn as PanelFooter, wt as MessageItemSenderGroup, x as MessageQuotedPreviewContent, xn as KbdGroup, xt as MessageItemSender, y as MessageQuotedPreviewAuthorName, yn as DropdownMenuTrigger, yr as headEdges, yt as MessageItemInlineStatus, z as MessageMultiSelectToolbarActions, zn as Tooltip, zt as AvatarBadge } from "./inbox-item.recipe-DelZxRmY.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";
|
|
@@ -1018,20 +1018,7 @@ const listRow = tv({
|
|
|
1018
1018
|
variants: {
|
|
1019
1019
|
variant: {
|
|
1020
1020
|
default: { root: ["min-h-16 [--list-row-rule-start:63px]", hairline] },
|
|
1021
|
-
plain: { root: [
|
|
1022
|
-
"[--list-row-rule-start:16px]",
|
|
1023
|
-
hairline,
|
|
1024
|
-
"has-data-[slot=list-row-description]:[--list-row-ends:start]",
|
|
1025
|
-
"has-data-[slot=list-row-description]:[--list-row-end-shift:calc(var(--text-body--line-height)/2-50%)]",
|
|
1026
|
-
"*:data-[slot=list-row-icon]:[align-self:var(--list-row-ends,center)] *:data-[slot=list-row-icon]:translate-y-(--list-row-end-shift,0)",
|
|
1027
|
-
"*:data-[slot=avatar]:[align-self:var(--list-row-ends,center)] *:data-[slot=avatar]:translate-y-(--list-row-end-shift,0)",
|
|
1028
|
-
"*:data-[slot=icon-tile]:[align-self:var(--list-row-ends,center)] *:data-[slot=icon-tile]:translate-y-(--list-row-end-shift,0)",
|
|
1029
|
-
"*:data-[slot=switch]:[align-self:var(--list-row-ends,center)] *:data-[slot=switch]:translate-y-(--list-row-end-shift,0)",
|
|
1030
|
-
"*:data-[slot=checkbox]:[align-self:var(--list-row-ends,center)] *:data-[slot=checkbox]:translate-y-(--list-row-end-shift,0)",
|
|
1031
|
-
"*:data-[slot=radio-group-item]:[align-self:var(--list-row-ends,center)] *:data-[slot=radio-group-item]:translate-y-(--list-row-end-shift,0)",
|
|
1032
|
-
"*:data-[slot=list-row-value]:[align-self:var(--list-row-ends,center)] *:data-[slot=list-row-value]:translate-y-(--list-row-end-shift,0)",
|
|
1033
|
-
"*:data-[slot=list-row-chevron]:[align-self:var(--list-row-ends,center)] *:data-[slot=list-row-chevron]:translate-y-(--list-row-end-shift,0)"
|
|
1034
|
-
] },
|
|
1021
|
+
plain: { root: ["[--list-row-rule-start:16px]", hairline] },
|
|
1035
1022
|
entry: { root: "" }
|
|
1036
1023
|
},
|
|
1037
1024
|
interactive: {
|
|
@@ -4886,97 +4873,6 @@ function SwitchThumb({ className, ...props }) {
|
|
|
4886
4873
|
});
|
|
4887
4874
|
}
|
|
4888
4875
|
//#endregion
|
|
4889
|
-
//#region src/components/segmented-control/segmented-control.tsx
|
|
4890
|
-
const segmentedControl = tv({
|
|
4891
|
-
slots: {
|
|
4892
|
-
root: ["inline-flex shrink-0 items-center", "w-fit flex-nowrap gap-[3px] rounded-[11px] bg-fill-muted p-[3px]"],
|
|
4893
|
-
item: [
|
|
4894
|
-
"inline-flex min-w-0 shrink-0 items-center gap-1.5",
|
|
4895
|
-
"outline-none disabled:pointer-events-none",
|
|
4896
|
-
"[&_svg]:pointer-events-none [&_svg]:shrink-0",
|
|
4897
|
-
"h-8 justify-center rounded-control border-[1.5px] border-transparent bg-transparent px-3",
|
|
4898
|
-
"font-sans text-callout font-semibold text-foreground-muted",
|
|
4899
|
-
"[&_svg:not([class*='size-'])]:size-4",
|
|
4900
|
-
"hover:bg-fill-medium active:bg-fill-medium",
|
|
4901
|
-
"data-checked:border-sticker-ink data-checked:bg-brand data-checked:font-bold data-checked:text-sticker-ink data-checked:ring-[1.5px] data-checked:ring-sticker-edge",
|
|
4902
|
-
"data-checked:hover:bg-brand data-checked:active:bg-brand data-checked:active:overlay-sticker-medium",
|
|
4903
|
-
"focus-visible:shadow-focus",
|
|
4904
|
-
"data-disabled:cursor-not-allowed data-disabled:text-foreground-disabled data-disabled:hover:bg-transparent"
|
|
4905
|
-
],
|
|
4906
|
-
label: ["truncate"],
|
|
4907
|
-
count: ["font-mono", "text-mono-meta font-normal"]
|
|
4908
|
-
},
|
|
4909
|
-
variants: { iconsOnlyBelow: {
|
|
4910
|
-
xs: { root: ["@max-xs:**:data-[slot=segmented-control-item]:relative @max-xs:**:data-[slot=segmented-control-item]:w-8 @max-xs:**:data-[slot=segmented-control-item]:px-0", "@max-xs:**:data-[slot=segmented-control-label]:sr-only @max-xs:**:data-[slot=segmented-control-count]:sr-only"] },
|
|
4911
|
-
sm: { root: ["@max-sm:**:data-[slot=segmented-control-item]:relative @max-sm:**:data-[slot=segmented-control-item]:w-8 @max-sm:**:data-[slot=segmented-control-item]:px-0", "@max-sm:**:data-[slot=segmented-control-label]:sr-only @max-sm:**:data-[slot=segmented-control-count]:sr-only"] },
|
|
4912
|
-
md: { root: ["@max-md:**:data-[slot=segmented-control-item]:relative @max-md:**:data-[slot=segmented-control-item]:w-8 @max-md:**:data-[slot=segmented-control-item]:px-0", "@max-md:**:data-[slot=segmented-control-label]:sr-only @max-md:**:data-[slot=segmented-control-count]:sr-only"] },
|
|
4913
|
-
lg: { root: ["@max-lg:**:data-[slot=segmented-control-item]:relative @max-lg:**:data-[slot=segmented-control-item]:w-8 @max-lg:**:data-[slot=segmented-control-item]:px-0", "@max-lg:**:data-[slot=segmented-control-label]:sr-only @max-lg:**:data-[slot=segmented-control-count]:sr-only"] },
|
|
4914
|
-
xl: { root: ["@max-xl:**:data-[slot=segmented-control-item]:relative @max-xl:**:data-[slot=segmented-control-item]:w-8 @max-xl:**:data-[slot=segmented-control-item]:px-0", "@max-xl:**:data-[slot=segmented-control-label]:sr-only @max-xl:**:data-[slot=segmented-control-count]:sr-only"] },
|
|
4915
|
-
"2xl": { root: ["@max-2xl:**:data-[slot=segmented-control-item]:relative @max-2xl:**:data-[slot=segmented-control-item]:w-8 @max-2xl:**:data-[slot=segmented-control-item]:px-0", "@max-2xl:**:data-[slot=segmented-control-label]:sr-only @max-2xl:**:data-[slot=segmented-control-count]:sr-only"] }
|
|
4916
|
-
} }
|
|
4917
|
-
});
|
|
4918
|
-
const SegmentedControlIconsOnlyContext = createContext(false);
|
|
4919
|
-
function SegmentedControl({ disabled = false, iconsOnlyBelow, className, ...props }) {
|
|
4920
|
-
const { root } = segmentedControl({ iconsOnlyBelow });
|
|
4921
|
-
return /* @__PURE__ */ jsx(SegmentedControlIconsOnlyContext, {
|
|
4922
|
-
value: iconsOnlyBelow !== void 0,
|
|
4923
|
-
children: /* @__PURE__ */ jsx(RadioGroup$1, {
|
|
4924
|
-
disabled,
|
|
4925
|
-
"data-slot": "segmented-control",
|
|
4926
|
-
className: root({ className }),
|
|
4927
|
-
...props
|
|
4928
|
-
})
|
|
4929
|
-
});
|
|
4930
|
-
}
|
|
4931
|
-
function SegmentedControlItem({ className, ...props }) {
|
|
4932
|
-
const { item } = segmentedControl();
|
|
4933
|
-
const iconsOnly = use(SegmentedControlIconsOnlyContext);
|
|
4934
|
-
const radio = /* @__PURE__ */ jsx(Radio.Root, {
|
|
4935
|
-
render: /* @__PURE__ */ jsx("button", { type: "button" }),
|
|
4936
|
-
nativeButton: true,
|
|
4937
|
-
"data-slot": "segmented-control-item",
|
|
4938
|
-
className: item({ className: `group/segmented-control-item ${className ?? ""}`.trim() }),
|
|
4939
|
-
...props
|
|
4940
|
-
});
|
|
4941
|
-
return iconsOnly ? /* @__PURE__ */ jsx(SegmentedControlItemTooltip, { children: radio }) : radio;
|
|
4942
|
-
}
|
|
4943
|
-
function SegmentedControlItemTooltip({ children }) {
|
|
4944
|
-
const [text, setText] = useState("");
|
|
4945
|
-
const triggerRef = useRef(null);
|
|
4946
|
-
const handleOpenChange = useCallback((open, details) => {
|
|
4947
|
-
if (!open) return;
|
|
4948
|
-
const label = triggerRef.current?.querySelector("[data-slot=segmented-control-label]");
|
|
4949
|
-
if (!label || label.getBoundingClientRect().width > 1) {
|
|
4950
|
-
details.cancel();
|
|
4951
|
-
return;
|
|
4952
|
-
}
|
|
4953
|
-
setText(label.textContent ?? "");
|
|
4954
|
-
}, []);
|
|
4955
|
-
return /* @__PURE__ */ jsxs(Tooltip, {
|
|
4956
|
-
onOpenChange: handleOpenChange,
|
|
4957
|
-
children: [/* @__PURE__ */ jsx(TooltipTrigger, {
|
|
4958
|
-
ref: triggerRef,
|
|
4959
|
-
render: children
|
|
4960
|
-
}), /* @__PURE__ */ jsx(TooltipContent, { children: text })]
|
|
4961
|
-
});
|
|
4962
|
-
}
|
|
4963
|
-
function SegmentedControlLabel({ className, ...props }) {
|
|
4964
|
-
const { label } = segmentedControl();
|
|
4965
|
-
return /* @__PURE__ */ jsx("span", {
|
|
4966
|
-
"data-slot": "segmented-control-label",
|
|
4967
|
-
className: label({ className }),
|
|
4968
|
-
...props
|
|
4969
|
-
});
|
|
4970
|
-
}
|
|
4971
|
-
function SegmentedControlCount({ className, ...props }) {
|
|
4972
|
-
const { count } = segmentedControl();
|
|
4973
|
-
return /* @__PURE__ */ jsx("span", {
|
|
4974
|
-
"data-slot": "segmented-control-count",
|
|
4975
|
-
className: count({ className }),
|
|
4976
|
-
...props
|
|
4977
|
-
});
|
|
4978
|
-
}
|
|
4979
|
-
//#endregion
|
|
4980
4876
|
//#region src/components/toggle-group/toggle-group.tsx
|
|
4981
4877
|
const toggleGroup = tv({ slots: {
|
|
4982
4878
|
root: [
|
|
@@ -6846,7 +6742,7 @@ const messageForwardedBundleItem = tv({
|
|
|
6846
6742
|
attachments: ["flex flex-wrap", "mt-1.5 gap-1.5"],
|
|
6847
6743
|
attachment: [
|
|
6848
6744
|
"inline-flex max-w-full items-center",
|
|
6849
|
-
"h-[22px] gap-1 rounded-chip bg-fill-muted
|
|
6745
|
+
"h-[22px] gap-1 rounded-chip bg-fill-muted pr-[6.5px] pl-[5.5px]",
|
|
6850
6746
|
"text-caption font-semibold text-foreground [&_svg]:size-3.5"
|
|
6851
6747
|
],
|
|
6852
6748
|
attachmentName: ["min-w-0 truncate"],
|
|
@@ -12544,7 +12440,7 @@ const taskCardStatus = tv({ base: [
|
|
|
12544
12440
|
"inline-flex min-w-0 shrink-0 touch-manipulation items-center",
|
|
12545
12441
|
"transition-[filter,opacity] duration-100 outline-none",
|
|
12546
12442
|
"data-[busy=true]:pointer-events-none data-[busy=true]:cursor-wait data-[busy=true]:opacity-60 data-[busy=true]:disabled:opacity-100",
|
|
12547
|
-
"h-[22px] gap-1.5 rounded-chip border-0 py-0
|
|
12443
|
+
"h-[22px] gap-1.5 rounded-chip border-0 px-[7px] py-0",
|
|
12548
12444
|
"font-sans text-[12px] leading-4 font-semibold text-foreground",
|
|
12549
12445
|
"[&:not(:has([data-slot=task-card-status-label]))]:hidden",
|
|
12550
12446
|
"**:data-[slot=task-card-status-label]:inline-flex **:data-[slot=task-card-status-label]:items-center [&_[data-slot=task-card-status-label]]:gap-1.5",
|
|
@@ -15698,7 +15594,7 @@ const taskChip = tv({
|
|
|
15698
15594
|
closed: { root: ["bg-task-status-closed-soft"] }
|
|
15699
15595
|
},
|
|
15700
15596
|
variant: {
|
|
15701
|
-
default: { root: ["h-[22px] gap-1.5 py-0
|
|
15597
|
+
default: { root: ["h-[22px] gap-1.5 px-[7px] py-0", "text-[12px] leading-4"] },
|
|
15702
15598
|
inline: {}
|
|
15703
15599
|
},
|
|
15704
15600
|
size: {
|
|
@@ -15725,7 +15621,7 @@ const taskChip = tv({
|
|
|
15725
15621
|
{
|
|
15726
15622
|
variant: "default",
|
|
15727
15623
|
size: "sm",
|
|
15728
|
-
class: { root: ["h-5 gap-1
|
|
15624
|
+
class: { root: ["h-5 gap-1 px-[5px]"] }
|
|
15729
15625
|
},
|
|
15730
15626
|
{
|
|
15731
15627
|
variant: "inline",
|
|
@@ -15736,7 +15632,7 @@ const taskChip = tv({
|
|
|
15736
15632
|
"done",
|
|
15737
15633
|
"closed"
|
|
15738
15634
|
],
|
|
15739
|
-
class: { root: ["rounded-sticker border-0
|
|
15635
|
+
class: { root: ["rounded-sticker border-0 px-[4.5px]", "font-semibold"] }
|
|
15740
15636
|
}
|
|
15741
15637
|
],
|
|
15742
15638
|
defaultVariants: {
|
|
@@ -16156,139 +16052,6 @@ function ActivityInboxSelectionCount({ className, ...props }) {
|
|
|
16156
16052
|
});
|
|
16157
16053
|
}
|
|
16158
16054
|
//#endregion
|
|
16159
|
-
//#region src/components/inbox-item/inbox-item.recipe.ts
|
|
16160
|
-
const inboxItem = tv({
|
|
16161
|
-
slots: {
|
|
16162
|
-
item: [
|
|
16163
|
-
"relative grid w-full grid-cols-[minmax(0,1fr)_auto] items-start gap-3 p-3 text-left",
|
|
16164
|
-
"has-data-[slot=inbox-item-selection]:grid-cols-[auto_minmax(0,1fr)_auto]",
|
|
16165
|
-
"has-data-[slot=inbox-item-leading]:grid-cols-[auto_minmax(0,1fr)_auto]",
|
|
16166
|
-
"has-data-[slot=inbox-item-selection]:has-data-[slot=inbox-item-leading]:grid-cols-[auto_auto_minmax(0,1fr)_auto]",
|
|
16167
|
-
"transition-colors",
|
|
16168
|
-
"gap-x-3 gap-y-0 rounded-none border-0 bg-transparent px-4 py-3 shadow-none",
|
|
16169
|
-
"before:pointer-events-none before:absolute before:top-0 before:right-0 before:left-4 before:hidden before:border-t before:border-line-hairline",
|
|
16170
|
-
"[[data-slot=inbox-item]+&]:before:block has-data-[slot=inbox-item-selection]:before:left-11",
|
|
16171
|
-
"has-data-[slot=inbox-item-leading]:before:left-16",
|
|
16172
|
-
"has-data-[slot=inbox-item-selection]:has-data-[slot=inbox-item-leading]:before:left-23",
|
|
16173
|
-
"hover:bg-fill-subtle not-data-[active=true]:active:bg-fill-medium",
|
|
16174
|
-
"not-data-[active=true]:data-popup-open:bg-fill-subtle not-data-[active=true]:has-data-popup-open:bg-fill-subtle",
|
|
16175
|
-
"data-[active=true]:bg-info-soft data-[active=true]:hover:bg-info-soft",
|
|
16176
|
-
"data-disabled:pointer-events-none data-disabled:hover:bg-transparent",
|
|
16177
|
-
"has-[[data-slot=inbox-item-open]:focus-visible]:keyboard:inset-ring-2 has-[[data-slot=inbox-item-open]:focus-visible]:keyboard:inset-ring-foreground",
|
|
16178
|
-
"not-data-[density=compact]:has-data-[slot=inbox-item-trailing]:[--inbox-item-content-display:grid] not-data-[density=compact]:has-data-[slot=inbox-item-trailing]:[--inbox-item-content-end:-1]"
|
|
16179
|
-
],
|
|
16180
|
-
itemTrigger: ["absolute inset-0 z-0 outline-none"],
|
|
16181
|
-
itemLeading: ["pointer-events-none relative z-10 flex size-9 shrink-0 items-center justify-center"],
|
|
16182
|
-
itemSelection: ["relative z-10 mt-0.5 flex size-4 shrink-0 items-center justify-center"],
|
|
16183
|
-
itemContent: [
|
|
16184
|
-
"pointer-events-none relative z-10 min-w-0 flex-1 text-left",
|
|
16185
|
-
"-col-start-3 col-end-(--inbox-item-content-end) row-start-1",
|
|
16186
|
-
"[display:var(--inbox-item-content-display,block)] grid-cols-subgrid"
|
|
16187
|
-
],
|
|
16188
|
-
itemContext: [
|
|
16189
|
-
"col-span-full nth-[-n+2]:col-[1/2]",
|
|
16190
|
-
"flex min-w-0 items-center",
|
|
16191
|
-
"mb-0.5 gap-1.5 py-0",
|
|
16192
|
-
"text-caption text-foreground-hint"
|
|
16193
|
-
],
|
|
16194
|
-
itemSubtitle: [
|
|
16195
|
-
"col-span-full nth-[-n+2]:col-[1/2]",
|
|
16196
|
-
"min-w-0",
|
|
16197
|
-
"mt-0.5 mb-0 py-0",
|
|
16198
|
-
"text-caption text-foreground-hint"
|
|
16199
|
-
],
|
|
16200
|
-
itemHeading: [
|
|
16201
|
-
"col-span-full nth-[-n+2]:col-[1/2]",
|
|
16202
|
-
"flex min-w-0 items-start gap-2",
|
|
16203
|
-
"mb-0"
|
|
16204
|
-
],
|
|
16205
|
-
itemTitle: [
|
|
16206
|
-
"relative line-clamp-2 min-w-0 flex-1 pl-[18px]",
|
|
16207
|
-
"[&>svg]:absolute [&>svg]:top-[calc((1lh-14px)/2)] [&>svg]:left-0 [&>svg]:size-3.5",
|
|
16208
|
-
"font-sans text-subhead font-semibold text-foreground-muted",
|
|
16209
|
-
"group-data-[unread=true]/inbox-item:font-bold group-data-[unread=true]/inbox-item:text-foreground",
|
|
16210
|
-
"[&>svg]:text-foreground-hint"
|
|
16211
|
-
],
|
|
16212
|
-
itemTrailing: [
|
|
16213
|
-
"pointer-events-none relative z-10 col-[-2/-1] row-start-1",
|
|
16214
|
-
"flex shrink-0",
|
|
16215
|
-
"mt-0 flex-col items-end gap-2 pt-px",
|
|
16216
|
-
"max-md:flex-col max-md:items-end max-md:gap-2",
|
|
16217
|
-
"after:hidden after:size-[9px] after:shrink-0 after:rounded-[2px] after:border-[1.5px] after:border-sticker-ink after:bg-attention-400",
|
|
16218
|
-
"group-data-[unread=true]/inbox-item:after:block",
|
|
16219
|
-
"*:not-data-[reveal=hover]:opacity-[calc(1-var(--inbox-item-reveal-aside,0)*var(--inbox-item-revealed,0))] after:opacity-[calc(1-var(--inbox-item-reveal-aside,0)*var(--inbox-item-revealed,0))]",
|
|
16220
|
-
"*:not-data-[reveal=hover]:mr-(--inbox-item-aside-room,0px) after:mr-(--inbox-item-aside-room,0px)",
|
|
16221
|
-
"*:not-data-[reveal=hover]:transition-opacity after:transition-opacity",
|
|
16222
|
-
"pointer-fine:has-[>[data-reveal=hover]]:[--inbox-item-reveal-aside:1]",
|
|
16223
|
-
"pointer-coarse:has-[>[data-reveal=hover]]:[--inbox-item-aside-room:--spacing(11)]",
|
|
16224
|
-
"group-hover/inbox-item:[--inbox-item-revealed:1] group-focus-within/inbox-item:[--inbox-item-revealed:1]",
|
|
16225
|
-
"group-data-[active=true]/inbox-item:[--inbox-item-revealed:1] group-data-popup-open/inbox-item:[--inbox-item-revealed:1]",
|
|
16226
|
-
"has-[>[data-reveal=hover]_[data-popup-open]]:[--inbox-item-revealed:1]"
|
|
16227
|
-
],
|
|
16228
|
-
itemMarks: ["flex h-5 shrink-0 items-center justify-end gap-1.5", "text-foreground-hint"],
|
|
16229
|
-
itemHoverTarget: ["pointer-events-auto"],
|
|
16230
|
-
itemTimestamp: ["shrink-0 whitespace-nowrap text-right tabular-nums", "font-mono text-mono-meta text-foreground-hint"],
|
|
16231
|
-
itemBody: [
|
|
16232
|
-
"col-span-full nth-[-n+2]:col-[1/2]",
|
|
16233
|
-
"line-clamp-2",
|
|
16234
|
-
"mt-0.5 text-callout text-foreground-muted"
|
|
16235
|
-
],
|
|
16236
|
-
itemMessage: [
|
|
16237
|
-
"col-span-full nth-[-n+2]:col-[1/2]",
|
|
16238
|
-
"min-w-0",
|
|
16239
|
-
"mt-0.5 line-clamp-2 text-callout text-foreground-muted"
|
|
16240
|
-
],
|
|
16241
|
-
itemSender: ["font-semibold text-foreground"],
|
|
16242
|
-
itemMetadata: [
|
|
16243
|
-
"col-span-full nth-[-n+2]:col-[1/2]",
|
|
16244
|
-
"flex min-h-5 flex-wrap items-center gap-1.5",
|
|
16245
|
-
"mt-2"
|
|
16246
|
-
],
|
|
16247
|
-
itemActions: [
|
|
16248
|
-
"pointer-events-auto flex shrink-0 items-center",
|
|
16249
|
-
"order-last gap-0.5",
|
|
16250
|
-
"*:data-[slot=panel-action]:h-8 *:data-[slot=panel-action]:min-w-8 [&>[data-slot=panel-action]>svg]:size-[18px]",
|
|
16251
|
-
"*:data-[slot=panel-toggle-action]:h-8 *:data-[slot=panel-toggle-action]:min-w-8 [&>[data-slot=panel-toggle-action]>svg]:size-[18px]",
|
|
16252
|
-
"[&>[data-slot=panel-toggle-action][data-pressed]]:border-transparent",
|
|
16253
|
-
"[&>[data-slot=panel-toggle-action][data-pressed]]:bg-transparent",
|
|
16254
|
-
"[&>[data-slot=panel-toggle-action][data-pressed]]:text-foreground",
|
|
16255
|
-
"[&>[data-slot=panel-toggle-action][data-pressed]]:hover:bg-fill-medium [&>[data-slot=panel-toggle-action][data-pressed]]:active:bg-fill-medium",
|
|
16256
|
-
"pointer-coarse:gap-3",
|
|
16257
|
-
"pointer-coarse:*:data-[slot=panel-action]:after:absolute pointer-coarse:*:data-[slot=panel-action]:after:-inset-1.5",
|
|
16258
|
-
"pointer-coarse:*:data-[slot=panel-toggle-action]:after:absolute pointer-coarse:*:data-[slot=panel-toggle-action]:after:-inset-1.5"
|
|
16259
|
-
]
|
|
16260
|
-
},
|
|
16261
|
-
variants: {
|
|
16262
|
-
density: { compact: {
|
|
16263
|
-
item: ["items-center"],
|
|
16264
|
-
itemTitle: ["line-clamp-1", "pl-0 has-[>svg]:pl-[18px]"],
|
|
16265
|
-
itemTrailing: [
|
|
16266
|
-
"gap-0 pt-0",
|
|
16267
|
-
"max-md:gap-0",
|
|
16268
|
-
"group-data-[unread=true]/inbox-item:after:hidden"
|
|
16269
|
-
],
|
|
16270
|
-
itemTimestamp: ["leading-5"],
|
|
16271
|
-
itemBody: ["line-clamp-1", "mt-0"],
|
|
16272
|
-
itemMessage: ["line-clamp-1", "mt-0"]
|
|
16273
|
-
} },
|
|
16274
|
-
reveal: { hover: { itemActions: [
|
|
16275
|
-
"absolute top-0 right-0 z-10",
|
|
16276
|
-
"pointer-events-none opacity-0 transition-opacity",
|
|
16277
|
-
"group-hover/inbox-item:pointer-events-auto group-hover/inbox-item:opacity-100",
|
|
16278
|
-
"group-focus-within/inbox-item:pointer-events-auto group-focus-within/inbox-item:opacity-100",
|
|
16279
|
-
"group-data-[active=true]/inbox-item:pointer-events-auto group-data-[active=true]/inbox-item:opacity-100",
|
|
16280
|
-
"group-data-popup-open/inbox-item:pointer-events-auto group-data-popup-open/inbox-item:opacity-100",
|
|
16281
|
-
"has-data-popup-open:pointer-events-auto has-data-popup-open:opacity-100",
|
|
16282
|
-
"pointer-coarse:pointer-events-auto pointer-coarse:opacity-100 pointer-coarse:only:static"
|
|
16283
|
-
] } }
|
|
16284
|
-
},
|
|
16285
|
-
compoundVariants: [{
|
|
16286
|
-
density: "compact",
|
|
16287
|
-
reveal: "hover",
|
|
16288
|
-
class: { itemActions: ["top-1/2 -translate-y-1/2", "pointer-coarse:only:translate-y-0"] }
|
|
16289
|
-
}]
|
|
16290
|
-
});
|
|
16291
|
-
//#endregion
|
|
16292
16055
|
//#region src/components/inbox-item/inbox-item.tsx
|
|
16293
16056
|
const InboxItemDisabledContext = createContext(false);
|
|
16294
16057
|
const InboxItemDensityContext = createContext(void 0);
|
|
@@ -17315,4 +17078,4 @@ function ThemeProvider({ mode, defaultMode = "light", onModeChange, storageKey,
|
|
|
17315
17078
|
});
|
|
17316
17079
|
}
|
|
17317
17080
|
//#endregion
|
|
17318
|
-
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, BannerClose, BannerDescription, BannerTitle, Button, Card, CardContent, CardDescription, CardFooter, CardHeader, CardLeading, CardTitle, CardTrailing, ChatIcon, Checkbox, CheckboxIndicator, CodeBlock, CodeBlockAction, CodeBlockActions, CodeBlockBody, CodeBlockHeader, CodeBlockPre, CodeBlockTitle, Combobox, ComboboxChip, ComboboxChipRemove, ComboboxChips, ComboboxClear, ComboboxCollection, ComboboxContent, ComboboxControl, ComboboxEmpty, ComboboxGroup, ComboboxGroupLabel, ComboboxHeader, ComboboxInput, ComboboxInputGroup, ComboboxItem, ComboboxItemIndicator, ComboboxLabel, ComboboxList, ComboboxPopup, ComboboxPortal, ComboboxRow, ComboboxSeparator, ComboboxTrigger, ComboboxTriggerCount, ComboboxTriggerIndicator, ComboboxValue, 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, MessageMultiSelectToolbarActions, MessageQuotedPreview, MessageQuotedPreviewAttachment, MessageQuotedPreviewAttachments, MessageQuotedPreviewAuthor, MessageQuotedPreviewAuthorMeta, MessageQuotedPreviewAuthorName, MessageQuotedPreviewChannel, MessageQuotedPreviewContent, MessageQuotedPreviewHeader, MessageQuotedPreviewLoading, MessageQuotedPreviewText, MessageQuotedPreviewThread, MessageQuotedPreviewTimestamp, MessageQuotedPreviewUnavailable, MessageReactionAddButton, MessageReactionChip, MessageReactionCount, MessageReactionErrorIndicator, MessageReactionGlyph, MessageReactionPickerContent, MessageReactionPickerStatic, MessageReactionQuickButton, MessageReactionQuickRow, MessageReactionTooltipContent, MessageReactionTooltipMeta, MessageReactionTooltipName, MessageReactionTooltipNameText, MessageReactionTooltipNames, MessageReactionTooltipSeparator, MessageReferenceChip, MessageReferenceIndicator, MessageReferenceLabel, MessageReferencePending, 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 };
|
|
17081
|
+
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, BannerClose, BannerDescription, BannerTitle, Button, Card, CardContent, CardDescription, CardFooter, CardHeader, CardLeading, CardTitle, CardTrailing, ChatIcon, Checkbox, CheckboxIndicator, CodeBlock, CodeBlockAction, CodeBlockActions, CodeBlockBody, CodeBlockHeader, CodeBlockPre, CodeBlockTitle, Combobox, ComboboxChip, ComboboxChipRemove, ComboboxChips, ComboboxClear, ComboboxCollection, ComboboxContent, ComboboxControl, ComboboxEmpty, ComboboxGroup, ComboboxGroupLabel, ComboboxHeader, ComboboxInput, ComboboxInputGroup, ComboboxItem, ComboboxItemIndicator, ComboboxLabel, ComboboxList, ComboboxPopup, ComboboxPortal, ComboboxRow, ComboboxSeparator, ComboboxTrigger, ComboboxTriggerCount, ComboboxTriggerIndicator, ComboboxValue, 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, MessageListEndFade, MessageListHistoryLimited, MessageListNotice, MessageMultiSelect, MessageMultiSelectCheckbox, MessageMultiSelectToolbar, MessageMultiSelectToolbarActions, MessageQuotedPreview, MessageQuotedPreviewAttachment, MessageQuotedPreviewAttachments, MessageQuotedPreviewAuthor, MessageQuotedPreviewAuthorMeta, MessageQuotedPreviewAuthorName, MessageQuotedPreviewChannel, MessageQuotedPreviewContent, MessageQuotedPreviewHeader, MessageQuotedPreviewLoading, MessageQuotedPreviewText, MessageQuotedPreviewThread, MessageQuotedPreviewTimestamp, MessageQuotedPreviewUnavailable, MessageReactionAddButton, MessageReactionChip, MessageReactionCount, MessageReactionErrorIndicator, MessageReactionGlyph, MessageReactionPickerContent, MessageReactionPickerStatic, MessageReactionQuickButton, MessageReactionQuickRow, MessageReactionTooltipContent, MessageReactionTooltipMeta, MessageReactionTooltipName, MessageReactionTooltipNameText, MessageReactionTooltipNames, MessageReactionTooltipSeparator, MessageReferenceChip, MessageReferenceIndicator, MessageReferenceLabel, MessageReferencePending, MessageReferenceSuffix, MessageReferenceText, MessageReferenceUnavailable, MessageReplies, MessageRepliesItem, MessageRepliesItemContent, MessageRepliesItemSender, MessageRepliesItemTime, MessageRepliesSummary, MessageRepliesSummaryItem, MessageTextSelectionToolbar, MessageTextSelectionToolbarButton, MessageTextSelectionToolbarSeparator, MessageVideoPreview, MessageVideoPreviewAction, MessageVideoPreviewFailureAction, MessageVideoPreviewFailureContent, MessageVideoPreviewFailureIcon, MessageVideoPreviewFailureTitle, MessageVideoPreviewFallback, MessageVideoPreviewMedia, MobileNavItem, MobileNavLabel, MobileNavRoot, NotificationCenter, NotificationCenterActionButton, NotificationCenterCount, NotificationCenterEmptyState, NotificationCenterHeader, NotificationCenterItem, NotificationCenterItemActions, NotificationCenterItemBody, NotificationCenterItemContent, NotificationCenterItemIcon, NotificationCenterItemRow, NotificationCenterItemTitle, NotificationCenterList, NotificationCenterPopup, NotificationCenterScroller, NotificationCenterTitle, NotificationCenterTrigger, OtterIndicator, Panel, PanelAction, PanelActions, PanelActivity, PanelBody, PanelFooter, PanelHeader, PanelHeaderContent, PanelHeaderIcon, PanelHeaderRoot, PanelHeading, PanelMeta, PanelNotice, PanelNoticeActions, PanelNoticeContent, PanelScrollContent, PanelScrollViewport, PanelSection, PanelSectionHeader, PanelStatus, PanelTitle, PanelToggleAction, PickerTriggerButton, Popover, PopoverArrow, PopoverBackdrop, PopoverClose, PopoverContent, PopoverDescription, PopoverHeader, PopoverPopup, PopoverPortal, PopoverSeparator, PopoverTitle, PopoverTrigger, PopoverViewport, PreviewCard, PreviewCardArrow, PreviewCardContent, PreviewCardDescription, PreviewCardHeader, PreviewCardPopup, PreviewCardPortal, PreviewCardSeparator, PreviewCardTitle, PreviewCardTrigger, ProfilePanel, ProfilePanelBody, ProfilePanelHeader, ProfilePanelHeaderContent, ProfilePanelSection, Progress, ProgressHeader, ProgressIndicator, ProgressLabel, ProgressTrack, ProgressValue, RadioGroup, RadioGroupIndicator, RadioGroupItem, RaftLogo, RaftLogoLockup, RaftWordmark, 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 };
|
package/dist/styles.css
CHANGED
|
@@ -512,6 +512,14 @@
|
|
|
512
512
|
initial-value: 0px;
|
|
513
513
|
}
|
|
514
514
|
|
|
515
|
+
/* A reference chip's own type size, kept as a length so a smaller note inside
|
|
516
|
+
it can measure itself against the label (message-reference.recipe.ts). */
|
|
517
|
+
@property --message-reference-em {
|
|
518
|
+
syntax: "<length>";
|
|
519
|
+
inherits: true;
|
|
520
|
+
initial-value: 0px;
|
|
521
|
+
}
|
|
522
|
+
|
|
515
523
|
*,
|
|
516
524
|
::before,
|
|
517
525
|
::after {
|
|
@@ -621,8 +629,9 @@ textarea:-webkit-autofill:disabled {
|
|
|
621
629
|
a banner, a toast, a panel notice or a chip sits on the first line of its
|
|
622
630
|
text, centred on it, and stays there when the text wraps
|
|
623
631
|
(design/foundations/alignment.md#a-mark-that-leads-text). In Space
|
|
624
|
-
Grotesk the centre of the line box is the centre of the cap
|
|
625
|
-
0.006em)
|
|
632
|
+
Grotesk's metrics the centre of the line box is the centre of the cap
|
|
633
|
+
height (to 0.006em); Chromium's rounding can lift the letters 0.5px, which
|
|
634
|
+
is left alone, as the alignment page explains. Only
|
|
626
635
|
the place is shared: each component keeps its own icon size and gap.
|
|
627
636
|
|
|
628
637
|
`lead-icon` centres an icon of any size on the line its parent sets, by
|
package/dist/wip.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Ar as SegmentedControlNav, E as MessageQuotedPreviewAuthorDelegatedByProps, Or as SegmentedControlLink, T as MessageQuotedPreviewAuthorDelegatedBy, Vi as Dialog, Wi as DialogClose, _n as MessageItemDelegatedByButton, a as MessageListJumpPillDismissProps, ba as StyledProps, bn as MessageItemDelegatedByNameProps, c as MessageListJumpPillProps, da as DialogTrigger, gn as MessageItemDelegatedBy, hn as MessageItemDelegatedAvatarProps, i as MessageListJumpPillDismiss, jr as SegmentedControlNavProps, kr as SegmentedControlLinkProps, ma as ButtonProps, mn as MessageItemDelegatedAvatar, n as MessageListJumpControlsProps, o as MessageListJumpPillGroup, qi as DialogContentProps, r as MessageListJumpPill, s as MessageListJumpPillGroupProps, t as MessageListJumpControls, ua as DialogTitleProps, vn as MessageItemDelegatedByButtonProps, xn as MessageItemDelegatedByProps, ya as DataAttributes, yn as MessageItemDelegatedByName, zi as TextLinkProps } from "./index-jTmbN7ov.mjs";
|
|
2
2
|
import { CSSProperties, ComponentProps, ComponentPropsWithRef, PointerEvent, ReactNode, RefObject } from "react";
|
|
3
3
|
import { Button } from "@base-ui/react/button";
|
|
4
4
|
import { useRender } from "@base-ui/react/use-render";
|
|
@@ -379,4 +379,16 @@ type Truncation = boolean | undefined;
|
|
|
379
379
|
*/
|
|
380
380
|
export declare function useTruncated(ref: RefObject<Element | null>): Truncation;
|
|
381
381
|
//#endregion
|
|
382
|
-
|
|
382
|
+
//#region src/components/inbox-item/inbox-item-leading-badge.d.ts
|
|
383
|
+
type InboxItemLeadingBadgeProps = useRender.ComponentProps<"span">;
|
|
384
|
+
/**
|
|
385
|
+
* A small badge in the bottom-right corner of `InboxItemLeading`, the corner a
|
|
386
|
+
* presence light takes: on a thread row, the thread mark, on the channel's
|
|
387
|
+
* `IconTile` or on the direct message's `Avatar` alike. Put it inside
|
|
388
|
+
* `InboxItemLeading`, after the tile or avatar, with one icon as its child;
|
|
389
|
+
* leave the avatar's `AvatarBadge` out, since the corner holds one mark. It
|
|
390
|
+
* is hidden from assistive technology unless given a `role`.
|
|
391
|
+
*/
|
|
392
|
+
export declare function InboxItemLeadingBadge({ className, render, ...props }: InboxItemLeadingBadgeProps): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>;
|
|
393
|
+
//#endregion
|
|
394
|
+
export { Dialog as AnnouncementDialog, DialogClose as AnnouncementDialogClose, DialogTrigger as AnnouncementDialogTrigger, type ComboboxSelectGroup, type ComboboxSelectMessages, type ComboboxSelectOption, type ComboboxSelectProps, type ComboboxSelectSelection, type ComboboxSelectValue, type CommentCardMetaProps, type CommentCardProps, type CommentCardQuoteProps, type CommentCardTriggerProps, type CommentEntryAuthorProps, type CommentEntryBodyProps, type CommentEntryHeaderProps, type CommentEntryProps, type CommentEntryTimeProps, type CommentMarginItemProps, type CommentMarginLayout, type CommentMarginLayoutItem, type CommentMarginLayoutOptions, type CommentMarginProps, type CommentMarkerProps, type EllipsisProps, type EllipsisState, type EllipsisToggleProps, type HoldThenMoveOptions, type InboxItemLeadingBadgeProps, MessageItemDelegatedAvatar, type MessageItemDelegatedAvatarProps, MessageItemDelegatedBy, MessageItemDelegatedByButton, type MessageItemDelegatedByButtonProps, MessageItemDelegatedByName, type MessageItemDelegatedByNameProps, type MessageItemDelegatedByProps, MessageListJumpControls, type MessageListJumpControlsProps, MessageListJumpPill, MessageListJumpPillDismiss, type MessageListJumpPillDismissProps, MessageListJumpPillGroup, type MessageListJumpPillGroupProps, type MessageListJumpPillProps, MessageQuotedPreviewAuthorDelegatedBy, type MessageQuotedPreviewAuthorDelegatedByProps, SegmentedControlLink, type SegmentedControlLinkProps, SegmentedControlNav, type SegmentedControlNavProps, type UseCommentMarginFitsOptions };
|
package/dist/wip.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { $t as observeTruncation, Bn as TooltipContent, Jt as SegmentedControlLink, Qt as measureElement, Un as TooltipTrigger, Wn as TextLink, Xn as DialogContent, Xt as useOverflowTitle, Yn as DialogClose, Yt as SegmentedControlNav, Zt as measureContent, _ as MessageQuotedPreviewAuthorDelegatedBy, _t as MessageItemDelegatedByName, a as MessageListJumpPill, ar as DialogTrigger, en as readNow, gr as tv, gt as MessageItemDelegatedByButton, ht as MessageItemDelegatedBy, i as MessageListJumpControls, ir as DialogTitle, lr as defaultNativeButton, mr as useTheme, mt as MessageItemDelegatedAvatar, n as useHoldThenMoveTouchSensor, o as MessageListJumpPillDismiss, or as Button$1, pr as useThemeScopeProps, qn as Dialog, s as MessageListJumpPillGroup, t as inboxItem, zn as Tooltip } from "./inbox-item.recipe-DelZxRmY.mjs";
|
|
2
2
|
import { Check, ChevronDown, LoaderCircle, Plus, X } from "lucide-react";
|
|
3
3
|
import { createContext, use, useCallback, useContext, useEffect, useId, useLayoutEffect, useMemo, useRef, useState, useSyncExternalStore } from "react";
|
|
4
4
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -1467,4 +1467,27 @@ function useTruncated(ref) {
|
|
|
1467
1467
|
return truncated;
|
|
1468
1468
|
}
|
|
1469
1469
|
//#endregion
|
|
1470
|
-
|
|
1470
|
+
//#region src/components/inbox-item/inbox-item-leading-badge.tsx
|
|
1471
|
+
/**
|
|
1472
|
+
* A small badge in the bottom-right corner of `InboxItemLeading`, the corner a
|
|
1473
|
+
* presence light takes: on a thread row, the thread mark, on the channel's
|
|
1474
|
+
* `IconTile` or on the direct message's `Avatar` alike. Put it inside
|
|
1475
|
+
* `InboxItemLeading`, after the tile or avatar, with one icon as its child;
|
|
1476
|
+
* leave the avatar's `AvatarBadge` out, since the corner holds one mark. It
|
|
1477
|
+
* is hidden from assistive technology unless given a `role`.
|
|
1478
|
+
*/
|
|
1479
|
+
function InboxItemLeadingBadge({ className, render, ...props }) {
|
|
1480
|
+
const { itemLeadingBadge } = inboxItem();
|
|
1481
|
+
const defaultProps = {
|
|
1482
|
+
"data-slot": "inbox-item-leading-badge",
|
|
1483
|
+
"aria-hidden": props.role ? void 0 : true,
|
|
1484
|
+
className: itemLeadingBadge({ className })
|
|
1485
|
+
};
|
|
1486
|
+
return useRender({
|
|
1487
|
+
defaultTagName: "span",
|
|
1488
|
+
render,
|
|
1489
|
+
props: mergeProps(defaultProps, props)
|
|
1490
|
+
});
|
|
1491
|
+
}
|
|
1492
|
+
//#endregion
|
|
1493
|
+
export { Dialog as AnnouncementDialog, AnnouncementDialogAction, AnnouncementDialogBody, DialogClose as AnnouncementDialogClose, AnnouncementDialogContent, AnnouncementDialogFooter, AnnouncementDialogHeader, AnnouncementDialogLabel, AnnouncementDialogPicture, AnnouncementDialogSecondaryAction, AnnouncementDialogText, AnnouncementDialogTitle, DialogTrigger as AnnouncementDialogTrigger, COMMENT_HIGHLIGHT, COMMENT_HIGHLIGHT_ACTIVE, ComboboxSelect, CommentCard, CommentCardMeta, CommentCardQuote, CommentCardTrigger, CommentEntry, CommentEntryAuthor, CommentEntryBody, CommentEntryHeader, CommentEntryTime, CommentMargin, CommentMarginItem, CommentMarker, Ellipsis, EllipsisToggle, InboxItemLeadingBadge, MessageItemDelegatedAvatar, MessageItemDelegatedBy, MessageItemDelegatedByButton, MessageItemDelegatedByName, MessageListJumpControls, MessageListJumpPill, MessageListJumpPillDismiss, MessageListJumpPillGroup, MessageQuotedPreviewAuthorDelegatedBy, SegmentedControlLink, SegmentedControlNav, resolveCommentMarginLayout, setCommentHighlights, useCommentMarginFits, useHoldThenMoveTouchSensor, useTruncated };
|