@crewlethq/ui 0.110.0 → 0.112.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/ActivityLine/index.js +1 -1
- package/dist/AgentHandoffPanel/index.js +9 -8
- package/dist/AppShell/index.js +5 -5
- package/dist/ArrangeFrame/index.js +3 -3
- package/dist/ArrangeList/index.js +6 -5
- package/dist/ArtifactBar/index.js +7 -7
- package/dist/ArtifactCard/index.js +8 -7
- package/dist/ArtifactPanel/index.js +4 -4
- package/dist/AttentionList/index.js +3 -3
- package/dist/Avatar/AvatarStack.d.ts +9 -3
- package/dist/Avatar/index.js +1 -1
- package/dist/AvatarPicker/index.js +9 -9
- package/dist/{AvatarStack-EQZZJZ3V.css → AvatarStack-GNEJHEU6.css} +20 -0
- package/dist/BriefCard/index.js +3 -3
- package/dist/Button/index.js +2 -2
- package/dist/Canvas/index.js +4 -4
- package/dist/CanvasBoard/index.js +6 -6
- package/dist/CanvasToolbar/index.js +5 -5
- package/dist/ChangeMark/index.js +2 -2
- package/dist/ChatDay/ChatDay.d.ts +3 -1
- package/dist/ChatDay/index.js +2 -2
- package/dist/ChatDivider/ChatDivider.d.ts +8 -1
- package/dist/ChatDivider/index.js +1 -1
- package/dist/{ChatDivider-7SPCQXUQ.css → ChatDivider-BRODST2E.css} +23 -0
- package/dist/ChatMessage/ChatMessage.d.ts +10 -3
- package/dist/ChatMessage/index.js +4 -4
- package/dist/{ChatMessage-OJO6ASZP.css → ChatMessage-SZGZT7O2.css} +35 -0
- package/dist/{ChatScale-ST24RFPO.css → ChatScale-6NM4TP7R.css} +6 -3
- package/dist/ChatThread/index.js +4 -4
- package/dist/CheckGrid/index.js +6 -5
- package/dist/Checkbox/index.js +5 -4
- package/dist/CodeBlock/CodeBlock.d.ts +14 -1
- package/dist/CodeBlock/index.d.ts +1 -1
- package/dist/CodeBlock/index.js +5 -5
- package/dist/{CodeBlock-T47UA5GM.css → CodeBlock-LS7H6KUQ.css} +45 -0
- package/dist/ColorField/index.js +5 -4
- package/dist/ColorSwatch/index.js +5 -5
- package/dist/Combobox/index.js +5 -4
- package/dist/CommandPalette/index.js +7 -6
- package/dist/CommentThread/index.js +8 -7
- package/dist/Composer/index.js +5 -4
- package/dist/ConfirmField/index.js +5 -4
- package/dist/ConflictNote/index.js +3 -3
- package/dist/ContrastHelp/index.js +4 -4
- package/dist/Copyable/index.js +4 -4
- package/dist/DataGrid/index.js +8 -7
- package/dist/DataTable/index.js +9 -8
- package/dist/DataView/index.js +13 -12
- package/dist/DateTimePicker/index.js +5 -5
- package/dist/DeepWorkCard/index.js +4 -4
- package/dist/DeliveryReceipt/index.js +1 -1
- package/dist/DocTabsEditor/index.js +7 -6
- package/dist/DownloadButton/index.js +3 -3
- package/dist/{Editor-GIEZ6PPP.js → Editor-YITN2DWX.js} +6 -5
- package/dist/EmojiPicker/EmojiPicker.d.ts +23 -5
- package/dist/EmojiPicker/index.d.ts +1 -1
- package/dist/EmojiPicker/index.js +7 -5
- package/dist/EmojiPicker-V6XM56GJ.css +180 -0
- package/dist/EntityChip/index.js +1 -1
- package/dist/ErrorBoundary/index.js +3 -3
- package/dist/FactList/index.js +2 -2
- package/dist/FileDrop/index.js +3 -3
- package/dist/FilterPill/index.js +3 -3
- package/dist/FollowBanner/index.js +3 -3
- package/dist/HuePicker/index.js +7 -7
- package/dist/IconButton/index.js +2 -2
- package/dist/ImageUpload/index.js +1 -1
- package/dist/InlineEditor/index.js +3 -3
- package/dist/Input/index.js +4 -3
- package/dist/KeyValueRows/index.js +6 -5
- package/dist/Layer/index.d.ts +1 -1
- package/dist/Layer/place.d.ts +6 -0
- package/dist/LinkCard/index.js +1 -1
- package/dist/LinkInterstitial/index.js +5 -5
- package/dist/ListInput/index.js +6 -5
- package/dist/LogoSlot/index.js +4 -4
- package/dist/MarkdownEditor/index.js +7 -7
- package/dist/MemberPicker/index.js +6 -5
- package/dist/MentionMenu/MentionMenu.d.ts +18 -2
- package/dist/MentionMenu/index.d.ts +4 -1
- package/dist/MentionMenu/index.js +2 -1
- package/dist/{MentionMenu-77P7C4F7.css → MentionMenu-AWZSOTNU.css} +45 -1
- package/dist/Menu/Menu.d.ts +13 -1
- package/dist/Menu/index.js +4 -4
- package/dist/{Menu-7AARCFX5.css → Menu-PXOAJ4DP.css} +48 -0
- package/dist/MergeConflicts/index.js +7 -7
- package/dist/MessageActions/MessageActions.d.ts +4 -4
- package/dist/MessageActions/index.js +7 -6
- package/dist/{MessageActions-UGMXBGKY.css → MessageActions-Y2IXY24H.css} +18 -5
- package/dist/Modal/index.js +4 -4
- package/dist/OpenInAppCard/index.js +4 -4
- package/dist/OrgLabel/index.js +1 -1
- package/dist/OrgNode/index.js +1 -1
- package/dist/OrgTable/index.js +11 -10
- package/dist/PeekRail/index.js +4 -4
- package/dist/PeopleRail/index.js +5 -5
- package/dist/PinTile/index.js +3 -3
- package/dist/Popover/Popover.d.ts +4 -2
- package/dist/Popover/index.js +1 -1
- package/dist/{Popover-QCINR7WG.css → Popover-EKG6OBZL.css} +5 -0
- package/dist/PresenceStack/index.js +1 -1
- package/dist/PresenterView/index.js +5 -5
- package/dist/Principal/index.js +1 -1
- package/dist/PrincipalPicker/index.js +7 -6
- package/dist/ProposalCard/index.js +8 -7
- package/dist/RailList/index.js +5 -4
- package/dist/ReactionBar/ReactionBar.d.ts +4 -2
- package/dist/ReactionBar/index.js +8 -6
- package/dist/ReceiptStrip/index.js +3 -3
- package/dist/RecordChip/index.js +2 -2
- package/dist/ResultTableCard/index.js +4 -4
- package/dist/RichEditor/index.js +4 -4
- package/dist/RoomRow/index.js +1 -1
- package/dist/SandboxedFrame/index.js +4 -4
- package/dist/SectionFrame/index.js +5 -4
- package/dist/SegmentedControl/index.js +6 -6
- package/dist/SelectionBar/index.js +3 -3
- package/dist/SendButton/index.js +3 -3
- package/dist/ShareDialog/index.js +7 -7
- package/dist/SheetColumnEditor/index.js +11 -10
- package/dist/SheetGrid/index.js +8 -8
- package/dist/SidePanel/SidePanel.d.ts +8 -3
- package/dist/SidePanel/SidePanelBase.d.ts +4 -1
- package/dist/SidePanel/index.d.ts +1 -1
- package/dist/SidePanel/index.js +4 -4
- package/dist/{SidePanel-FVZVNSHI.css → SidePanel-DZ4E5SNP.css} +26 -0
- package/dist/SidebarNav/SidebarNav.d.ts +6 -0
- package/dist/SidebarNav/index.d.ts +2 -2
- package/dist/SidebarNav/index.js +4 -3
- package/dist/{SidebarNav-3SU7UDXK.css → SidebarNav-JCHQXFIM.css} +41 -4
- package/dist/Skeleton/index.js +1 -1
- package/dist/SlideCompare/index.js +3 -3
- package/dist/SlideFilmstrip/index.js +5 -5
- package/dist/SlideNav/index.js +3 -3
- package/dist/StatusLine/index.js +2 -2
- package/dist/Switcher/index.js +9 -8
- package/dist/TableCells/index.js +1 -1
- package/dist/Tabs/index.js +5 -5
- package/dist/TagsInput/index.js +3 -3
- package/dist/ThemeSwitcher/index.js +7 -7
- package/dist/ThemeToggle/index.js +3 -3
- package/dist/ThreadSummary/ThreadSummary.d.ts +2 -0
- package/dist/ThreadSummary/index.d.ts +1 -1
- package/dist/ThreadSummary/index.js +2 -2
- package/dist/{ThreadSummary-CFAHYY57.css → ThreadSummary-2AFEU6NH.css} +2 -1
- package/dist/TimeRangePicker/index.js +10 -9
- package/dist/TimeWindowPicker/index.js +7 -6
- package/dist/Tooltip/index.js +1 -1
- package/dist/Tooltip-PRPBX6OG.css +61 -0
- package/dist/TreeCanvas/index.js +5 -5
- package/dist/TreeGrid/index.js +9 -8
- package/dist/ValueField/index.js +6 -5
- package/dist/VersionCompare/index.js +7 -7
- package/dist/VersionTimeline/index.js +4 -4
- package/dist/WidgetFrame/index.js +2 -2
- package/dist/{chunk-6BVGVAKH.js → chunk-2D7IVGEV.js} +1 -1
- package/dist/{chunk-HY336MR6.js → chunk-2ILQUAB7.js} +1 -1
- package/dist/{chunk-PRZO2LAG.js → chunk-3AUFRPG3.js} +1 -1
- package/dist/{chunk-4ZZ7G3XC.js → chunk-3GF2PTYZ.js} +28 -5
- package/dist/{chunk-IIM6UAJJ.js → chunk-3SAJXMM6.js} +1 -1
- package/dist/{chunk-KRO66LZZ.js → chunk-3UFIYOVD.js} +1 -1
- package/dist/{chunk-K3IJWNHL.js → chunk-3W7NG6ST.js} +2 -2
- package/dist/{chunk-HWTTVN6T.js → chunk-435WY2WT.js} +1 -1
- package/dist/{chunk-G2B4Y67G.js → chunk-45VQPH27.js} +3 -3
- package/dist/chunk-47V3ASMW.js +74 -0
- package/dist/{chunk-NPMMCFKI.js → chunk-4KU5LLXU.js} +1 -1
- package/dist/{chunk-ZFFIUJ4C.js → chunk-4ONGTD7Y.js} +2 -2
- package/dist/{chunk-ET4RCHNJ.js → chunk-4VHRO7HZ.js} +67 -29
- package/dist/{chunk-46BY2WPZ.js → chunk-5CWB52JK.js} +1 -1
- package/dist/{chunk-O73RB4P7.js → chunk-5FOJLJYN.js} +2 -2
- package/dist/{chunk-IGFQ4LWZ.js → chunk-5G3KASPV.js} +3 -3
- package/dist/{chunk-TIOYPPIX.js → chunk-5SBMYPWG.js} +3 -3
- package/dist/{chunk-WUCRLA25.js → chunk-5SMYKL3D.js} +9 -3
- package/dist/{chunk-MNKXYGZ2.js → chunk-5SV47YN7.js} +2 -2
- package/dist/{chunk-EKC4MOGY.js → chunk-5YFQMMTJ.js} +1 -1
- package/dist/{chunk-F3E66TBM.js → chunk-6QLMET36.js} +1 -1
- package/dist/{chunk-OJ3BGBU5.js → chunk-76LJUPDA.js} +2 -2
- package/dist/{chunk-5LBIIEHJ.js → chunk-7GUZSA5U.js} +8 -3
- package/dist/{chunk-HVFN4DJT.js → chunk-7MB7RUZZ.js} +1 -1
- package/dist/{chunk-AXGSKD72.js → chunk-7TLM7E5N.js} +3 -3
- package/dist/{chunk-3R76X3MI.js → chunk-A2TYEOB4.js} +2 -2
- package/dist/{chunk-JNP5EMLV.js → chunk-ANIJQ25E.js} +2 -2
- package/dist/{chunk-4QI7VFLV.js → chunk-AQMB6ONN.js} +6 -6
- package/dist/{chunk-YX5KEKPL.js → chunk-AXMXXAGB.js} +1 -1
- package/dist/{chunk-WM55LPY7.js → chunk-BBE656JU.js} +2 -2
- package/dist/{chunk-WF4Q5LD6.js → chunk-BF2BXM6V.js} +1 -1
- package/dist/{chunk-TIAZSF7H.js → chunk-BGFWCOFR.js} +2 -2
- package/dist/{chunk-YWTZHIKA.js → chunk-BJEWRSV7.js} +1 -1
- package/dist/{chunk-OAP576OR.js → chunk-BLFHFMXQ.js} +1 -1
- package/dist/{chunk-DEIHV2H3.js → chunk-BMTNY3FK.js} +1 -1
- package/dist/{chunk-BUOBTY3X.js → chunk-CHB7T3PT.js} +5 -5
- package/dist/{chunk-WOD6L2DC.js → chunk-CJRWESDZ.js} +1 -1
- package/dist/{chunk-OPX4OGN3.js → chunk-CTIJTW4R.js} +2 -2
- package/dist/{chunk-EJEBRXOF.js → chunk-D7NXK77P.js} +5 -5
- package/dist/{chunk-ZAN7Q4WG.js → chunk-DF5B4QO5.js} +1 -1
- package/dist/{chunk-HUSMU5EL.js → chunk-DKDSBI75.js} +3 -3
- package/dist/{chunk-DEMG2UTW.js → chunk-DRI6OXWY.js} +1 -1
- package/dist/{chunk-PJMDXZHP.js → chunk-DTEDUAEW.js} +1 -1
- package/dist/{chunk-OSKXOCH3.js → chunk-DTZ72KVX.js} +3 -3
- package/dist/{chunk-V5ANQP4E.js → chunk-ECGYBWRI.js} +2 -2
- package/dist/{chunk-NQIWSKQX.js → chunk-ENYB3HIA.js} +3 -3
- package/dist/{chunk-3EXGTJQU.js → chunk-EYY2ZMSY.js} +1 -1
- package/dist/{chunk-K5L7FJTH.js → chunk-FC4T5ILA.js} +1 -1
- package/dist/{chunk-5QKNXTIC.js → chunk-FZY4TTR4.js} +1 -1
- package/dist/{chunk-OTZNIWZA.js → chunk-GBX5Y3P2.js} +1 -1
- package/dist/{chunk-N7CYJVV4.js → chunk-GFOPTRRY.js} +1 -1
- package/dist/{chunk-AWXCILIT.js → chunk-GG5CFBSE.js} +2 -2
- package/dist/{chunk-PH5APLMB.js → chunk-GMQ54OQF.js} +1 -1
- package/dist/{chunk-RBNYJP77.js → chunk-HHRYIXBM.js} +2 -2
- package/dist/{chunk-4SKN3BLH.js → chunk-HXVMXH6U.js} +5 -4
- package/dist/{chunk-LQZMCR2K.js → chunk-I6GVXOHK.js} +1 -1
- package/dist/{chunk-AV5NWTYU.js → chunk-IHJRLVU3.js} +1 -1
- package/dist/{chunk-JJLYGLH6.js → chunk-J4OL6KHY.js} +3 -3
- package/dist/{chunk-VYUEAMA4.js → chunk-KDRJZWE3.js} +3 -1
- package/dist/{chunk-RWUY53VW.js → chunk-KG3PHAUX.js} +3 -3
- package/dist/{chunk-XLJELX5W.js → chunk-KVNVLBCB.js} +2 -2
- package/dist/{chunk-ZQKLFN2J.js → chunk-KYWIUH5R.js} +8 -8
- package/dist/{chunk-T5G5DM3H.js → chunk-L4YD6SVT.js} +1 -1
- package/dist/{chunk-ALGG2HRE.js → chunk-LGJJIPYZ.js} +1 -1
- package/dist/{chunk-6D7GTMNO.js → chunk-LNE5AMFQ.js} +1 -1
- package/dist/{chunk-QAQKJ4PO.js → chunk-LNSAYEOA.js} +1 -1
- package/dist/{chunk-2QLZCD5Q.js → chunk-LSVX4DTF.js} +2 -2
- package/dist/{chunk-FANYWNER.js → chunk-M7EALYXZ.js} +1 -1
- package/dist/{chunk-GA7HSINF.js → chunk-NOP55WRY.js} +108 -45
- package/dist/{chunk-RTHWXAXT.js → chunk-NPPPQSRU.js} +1 -1
- package/dist/{chunk-IOLOWL33.js → chunk-O3DHDBTW.js} +1 -1
- package/dist/{chunk-CUE3WM7L.js → chunk-OKOHQ3E7.js} +1 -1
- package/dist/{chunk-I2FNTMX2.js → chunk-OKPGW76D.js} +1 -1
- package/dist/{chunk-3IYS6YNX.js → chunk-OYV7BFRC.js} +1 -1
- package/dist/{chunk-IVZLFSQS.js → chunk-P366K4RX.js} +5 -4
- package/dist/{chunk-I476JLNZ.js → chunk-P5AOTCGQ.js} +1 -1
- package/dist/{chunk-NIDLT7UM.js → chunk-PBDMJHXV.js} +1 -1
- package/dist/chunk-PJV5HVZY.js +67 -0
- package/dist/{chunk-ZBON36GU.js → chunk-PWB2LWBE.js} +3 -3
- package/dist/chunk-Q5LDZPFF.js +2 -0
- package/dist/{chunk-G32JHH7N.js → chunk-QCJ3UBCZ.js} +3 -3
- package/dist/{chunk-BRJ6LZM2.js → chunk-QFSPIYCM.js} +1 -1
- package/dist/{chunk-AZKGH2UI.js → chunk-QHUKJN33.js} +57 -15
- package/dist/{chunk-IIEDUSMU.js → chunk-QLGZBN6A.js} +6 -6
- package/dist/{chunk-OIF6UMPY.js → chunk-QMEKGAEA.js} +4 -4
- package/dist/{chunk-43UOZIYG.js → chunk-QVNEQSOL.js} +1 -1
- package/dist/{chunk-P3BEB4E6.js → chunk-RHD46WIZ.js} +2 -2
- package/dist/{chunk-TCAX77BH.js → chunk-RTDFRFTF.js} +9 -4
- package/dist/{chunk-HY2JXBPO.js → chunk-SDYLFZKZ.js} +4 -4
- package/dist/{chunk-LYHAR4DX.js → chunk-SJNJBXUA.js} +5 -5
- package/dist/{chunk-G6HS6QA4.js → chunk-SJV7VVSS.js} +3 -3
- package/dist/{chunk-OQO7NSHR.js → chunk-STJPIP3R.js} +1 -1
- package/dist/{chunk-QNSL4JCU.js → chunk-T2RRTICC.js} +4 -4
- package/dist/{chunk-L3G2YQE3.js → chunk-T63HK6T5.js} +1 -1
- package/dist/{chunk-MEAFEAFF.js → chunk-T75L3PFN.js} +1 -1
- package/dist/{chunk-FNKOULI4.js → chunk-TCNTMTPI.js} +2 -2
- package/dist/{chunk-FWDU7E34.js → chunk-TE3OMB3Z.js} +3 -29
- package/dist/{chunk-4JEHXJPO.js → chunk-TP7PRSGX.js} +2 -2
- package/dist/{chunk-5DYV5Q67.js → chunk-TYQJRTTK.js} +1 -1
- package/dist/{chunk-O4J3FUIX.js → chunk-UJ7SHDE7.js} +4 -4
- package/dist/{chunk-43YZWF2B.js → chunk-V6BEBGO3.js} +5 -5
- package/dist/{chunk-YRSNOCFL.js → chunk-VZ42TS3C.js} +3 -3
- package/dist/{chunk-THVGTKST.js → chunk-WEZU4DX2.js} +1 -1
- package/dist/{chunk-ZBV6BNG7.js → chunk-WN3YE3ND.js} +1 -1
- package/dist/{chunk-QHE4CNBM.js → chunk-WNVUN3LJ.js} +1 -1
- package/dist/{chunk-R5OUUSLB.js → chunk-Y36N7TB7.js} +2 -2
- package/dist/{chunk-W4YNOUHF.js → chunk-Y3FLNQEE.js} +4 -4
- package/dist/{chunk-4WOLHRHH.js → chunk-Y4L7WNWU.js} +1 -1
- package/dist/{chunk-RM4PUCDQ.js → chunk-YD5UCBFV.js} +1 -1
- package/dist/{chunk-NVQUEZU5.js → chunk-YE76GTQU.js} +4 -4
- package/dist/{chunk-QHXO5H2S.js → chunk-ZGJCVXFU.js} +3 -3
- package/dist/{chunk-LSOPZVR7.js → chunk-ZJVGVTC3.js} +20 -6
- package/dist/{chunk-YLOQNVR2.js → chunk-ZUFV7753.js} +6 -5
- package/dist/generated/index.js +123 -122
- package/dist/index.js +123 -122
- package/dist/styles.css +435 -70
- package/dist/utils/fieldMirror.d.ts +22 -0
- package/package.json +3 -3
- package/dist/EmojiPicker-W722WJ5M.css +0 -105
- package/dist/Tooltip-LKQF7CE4.css +0 -71
- package/dist/chunk-VZ7DNXCW.js +0 -58
- package/dist/chunk-XETR2N6C.js +0 -2
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { useAppShellAside } from './chunk-MBEZOURR.js';
|
|
2
2
|
import { ResizeHandle } from './chunk-FQ6J4DK7.js';
|
|
3
|
-
import { IconButton } from './chunk-
|
|
3
|
+
import { IconButton } from './chunk-BF2BXM6V.js';
|
|
4
4
|
import { useEscapeWithin, useModalLayer } from './chunk-EDPMHSLZ.js';
|
|
5
5
|
import { HeadingLevelProvider } from './chunk-PQADV6P6.js';
|
|
6
6
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
7
|
-
import { createContext, useId, useRef, useContext, useLayoutEffect, useMemo } from 'react';
|
|
7
|
+
import { createContext, useId, useRef, useContext, useLayoutEffect, useState, useEffect, useMemo } from 'react';
|
|
8
8
|
import { MinimizeGlyph, MaximizeGlyph, XGlyph } from '@crewlethq/icons/glyphs';
|
|
9
9
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
10
10
|
|
|
@@ -26,6 +26,7 @@ function SidePanelBase({
|
|
|
26
26
|
initialFocus = "heading",
|
|
27
27
|
ringHeading = false,
|
|
28
28
|
hideTitle = false,
|
|
29
|
+
density = "default",
|
|
29
30
|
expanded = false,
|
|
30
31
|
onExpandedChange,
|
|
31
32
|
expandLabel = "Expand",
|
|
@@ -48,6 +49,9 @@ function SidePanelBase({
|
|
|
48
49
|
const heading = useRef(null);
|
|
49
50
|
const before = useRef(null);
|
|
50
51
|
const start = useRef(initialFocus);
|
|
52
|
+
const body = useRef(null);
|
|
53
|
+
const chat = density === "chat";
|
|
54
|
+
const scrolled = useScrolled(body, chat && !flush);
|
|
51
55
|
const inShell = useAppShellAside() !== null;
|
|
52
56
|
const frame = useContext(SidePanelFrameContext);
|
|
53
57
|
const shape = frame?.shape ?? null;
|
|
@@ -89,7 +93,13 @@ function SidePanelBase({
|
|
|
89
93
|
{
|
|
90
94
|
ref: root,
|
|
91
95
|
id: panelId,
|
|
92
|
-
className: cx(
|
|
96
|
+
className: cx(
|
|
97
|
+
"crewlet-side-panel",
|
|
98
|
+
inShell && "crewlet-side-panel--fill",
|
|
99
|
+
chat && "crewlet-side-panel--chat",
|
|
100
|
+
alias,
|
|
101
|
+
className
|
|
102
|
+
),
|
|
93
103
|
role,
|
|
94
104
|
"aria-modal": modal || void 0,
|
|
95
105
|
"aria-labelledby": inShell ? void 0 : titleId,
|
|
@@ -110,35 +120,46 @@ function SidePanelBase({
|
|
|
110
120
|
edge: "left"
|
|
111
121
|
}
|
|
112
122
|
) : null,
|
|
113
|
-
/* @__PURE__ */ jsxs(
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
123
|
+
/* @__PURE__ */ jsxs(
|
|
124
|
+
"div",
|
|
125
|
+
{
|
|
126
|
+
className: cx(
|
|
127
|
+
part("head", alias),
|
|
128
|
+
subtitled && "crewlet-side-panel__head--subtitled",
|
|
129
|
+
scrolled && "crewlet-side-panel__head--scrolled"
|
|
130
|
+
),
|
|
131
|
+
children: [
|
|
132
|
+
icon ? /* @__PURE__ */ jsx("span", { className: part("icon", alias), "aria-hidden": true, children: icon }) : null,
|
|
133
|
+
subtitled ? (
|
|
134
|
+
/* THE TITLE AND WHAT IT IS ABOUT, on one baseline ("Thread" and the
|
|
135
|
+
room it is in), the second dropping under the first when the two
|
|
136
|
+
do not fit, and the title ellipsised on its own line. */
|
|
137
|
+
/* @__PURE__ */ jsxs("div", { className: part("heading", alias), children: [
|
|
138
|
+
headingNode,
|
|
139
|
+
/* @__PURE__ */ jsx("span", { className: part("subtitle", alias), children: subtitle })
|
|
140
|
+
] })
|
|
141
|
+
) : headingNode,
|
|
142
|
+
/* @__PURE__ */ jsxs("span", { className: part("actions", alias), children: [
|
|
143
|
+
actions,
|
|
144
|
+
onExpandedChange ? /* @__PURE__ */ jsx(
|
|
145
|
+
IconButton,
|
|
146
|
+
{
|
|
147
|
+
label: expanded ? collapseLabel : expandLabel,
|
|
148
|
+
icon: expanded ? /* @__PURE__ */ jsx(MinimizeGlyph, { size: "sm" }) : /* @__PURE__ */ jsx(MaximizeGlyph, { size: "sm" }),
|
|
149
|
+
size: "sm",
|
|
150
|
+
variant: "ghost",
|
|
151
|
+
onClick: () => onExpandedChange(!expanded)
|
|
152
|
+
}
|
|
153
|
+
) : null,
|
|
154
|
+
/* @__PURE__ */ jsx(IconButton, { label: closeLabel, icon: /* @__PURE__ */ jsx(XGlyph, { size: "sm" }), size: "sm", variant: "ghost", onClick: onClose })
|
|
155
|
+
] })
|
|
156
|
+
]
|
|
157
|
+
}
|
|
158
|
+
),
|
|
139
159
|
/* @__PURE__ */ jsx(
|
|
140
160
|
"div",
|
|
141
161
|
{
|
|
162
|
+
ref: body,
|
|
142
163
|
className: cx(
|
|
143
164
|
part("body", alias),
|
|
144
165
|
flush && "crewlet-side-panel__body--flush",
|
|
@@ -154,6 +175,21 @@ function SidePanelBase({
|
|
|
154
175
|
modal ? /* @__PURE__ */ jsx(SheetLayer, { panel: root, onClose }) : null
|
|
155
176
|
] });
|
|
156
177
|
}
|
|
178
|
+
function useScrolled(el, enabled) {
|
|
179
|
+
const [scrolled, setScrolled] = useState(false);
|
|
180
|
+
useEffect(() => {
|
|
181
|
+
const node = el.current;
|
|
182
|
+
if (!enabled || !node) {
|
|
183
|
+
setScrolled(false);
|
|
184
|
+
return;
|
|
185
|
+
}
|
|
186
|
+
const read = () => setScrolled(node.scrollTop > 0);
|
|
187
|
+
read();
|
|
188
|
+
node.addEventListener("scroll", read, { passive: true });
|
|
189
|
+
return () => node.removeEventListener("scroll", read);
|
|
190
|
+
}, [el, enabled]);
|
|
191
|
+
return scrolled;
|
|
192
|
+
}
|
|
157
193
|
function SheetLayer({ panel, onClose }) {
|
|
158
194
|
const layer = useModalLayer({ onClose });
|
|
159
195
|
const { panelRef } = layer;
|
|
@@ -175,6 +211,7 @@ function SidePanel({
|
|
|
175
211
|
subtitle,
|
|
176
212
|
icon,
|
|
177
213
|
hideTitle,
|
|
214
|
+
density,
|
|
178
215
|
onClose,
|
|
179
216
|
actions,
|
|
180
217
|
footer,
|
|
@@ -200,6 +237,7 @@ function SidePanel({
|
|
|
200
237
|
subtitle,
|
|
201
238
|
icon,
|
|
202
239
|
hideTitle,
|
|
240
|
+
density,
|
|
203
241
|
onClose,
|
|
204
242
|
closeLabel: words.close(title),
|
|
205
243
|
resizeLabel: words.resize(title),
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { SlideStage } from './chunk-7O53SWKI.js';
|
|
2
|
-
import { Button } from './chunk-
|
|
2
|
+
import { Button } from './chunk-NPPPQSRU.js';
|
|
3
3
|
import { VisuallyHidden } from './chunk-RRRK2KB6.js';
|
|
4
4
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
5
5
|
import './SlideCompare-R4GVZXAM.css';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { CHAT_MESSAGE_CLASS } from './chunk-
|
|
1
|
+
import { CHAT_MESSAGE_CLASS } from './chunk-ZJVGVTC3.js';
|
|
2
2
|
import { useMediaMatch, REDUCED_MOTION_QUERY } from './chunk-COS6LJ4K.js';
|
|
3
|
-
import { Button } from './chunk-
|
|
3
|
+
import { Button } from './chunk-NPPPQSRU.js';
|
|
4
4
|
import { VisuallyHidden } from './chunk-RRRK2KB6.js';
|
|
5
5
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
6
6
|
import './ChatThread-MKAN2Q4H.css';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { useReorder } from './chunk-JMBPMSNI.js';
|
|
2
|
-
import { FormField, Textarea } from './chunk-
|
|
2
|
+
import { FormField, Textarea } from './chunk-TE3OMB3Z.js';
|
|
3
3
|
import { characterCountState, CharacterCount, countCharacters } from './chunk-TEXK4RK6.js';
|
|
4
4
|
import { Kbd } from './chunk-VBBLHS2Y.js';
|
|
5
|
-
import { Button } from './chunk-
|
|
6
|
-
import { IconButton } from './chunk-
|
|
5
|
+
import { Button } from './chunk-NPPPQSRU.js';
|
|
6
|
+
import { IconButton } from './chunk-BF2BXM6V.js';
|
|
7
7
|
import { isComposing } from './chunk-EDPMHSLZ.js';
|
|
8
8
|
import { announce } from './chunk-WGMKERCR.js';
|
|
9
9
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { Timeline } from './chunk-XDUXAQIS.js';
|
|
2
2
|
import { Section } from './chunk-WFCWPXJN.js';
|
|
3
|
-
import { Composer } from './chunk-
|
|
3
|
+
import { Composer } from './chunk-KVNVLBCB.js';
|
|
4
4
|
import { Disclosure } from './chunk-D5O64CVE.js';
|
|
5
|
-
import { ArtifactPanel } from './chunk-
|
|
6
|
-
import { Button } from './chunk-
|
|
5
|
+
import { ArtifactPanel } from './chunk-LSVX4DTF.js';
|
|
6
|
+
import { Button } from './chunk-NPPPQSRU.js';
|
|
7
7
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
8
8
|
import './AgentHandoffPanel-AIU7YWWB.css';
|
|
9
9
|
import { useId, useRef, useEffect } from 'react';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { AVATAR_SIZES, Avatar } from './chunk-XZY6S3UC.js';
|
|
2
2
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
3
3
|
import './Avatar-CRSLRUVT.css';
|
|
4
|
-
import './AvatarStack-
|
|
4
|
+
import './AvatarStack-GNEJHEU6.css';
|
|
5
5
|
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
6
6
|
|
|
7
7
|
function counted(count, one, many) {
|
|
@@ -19,6 +19,7 @@ function AvatarStack({
|
|
|
19
19
|
members,
|
|
20
20
|
max = 4,
|
|
21
21
|
size = "sm",
|
|
22
|
+
spread = false,
|
|
22
23
|
label,
|
|
23
24
|
decorative = false,
|
|
24
25
|
className,
|
|
@@ -35,8 +36,13 @@ function AvatarStack({
|
|
|
35
36
|
"span",
|
|
36
37
|
{
|
|
37
38
|
...rest,
|
|
38
|
-
className: cx(
|
|
39
|
-
|
|
39
|
+
className: cx(
|
|
40
|
+
"crewlet-avatar-stack",
|
|
41
|
+
typeof size === "number" ? null : `crewlet-avatar-stack--${size}`,
|
|
42
|
+
spread && "crewlet-avatar-stack--spread",
|
|
43
|
+
className
|
|
44
|
+
),
|
|
45
|
+
style: { "--crewlet-avatar-stack-size": `${typeof size === "number" ? size : AVATAR_SIZES[size]}px`, ...style },
|
|
40
46
|
role: decorative ? void 0 : "img",
|
|
41
47
|
"aria-label": decorative ? void 0 : label ?? avatarStackLabel(members),
|
|
42
48
|
"aria-hidden": decorative ? true : void 0,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Toolbar } from './chunk-NPEI2QAN.js';
|
|
2
|
-
import { ShortcutTip } from './chunk-
|
|
3
|
-
import { IconButton } from './chunk-
|
|
2
|
+
import { ShortcutTip } from './chunk-DKDSBI75.js';
|
|
3
|
+
import { IconButton } from './chunk-BF2BXM6V.js';
|
|
4
4
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
5
5
|
import './CanvasToolbar-EM5EVZED.css';
|
|
6
6
|
import { jsx } from 'react/jsx-runtime';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ThinkingIndicator } from './chunk-DX7ZHO47.js';
|
|
2
2
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
3
|
-
import './ChatScale-
|
|
3
|
+
import './ChatScale-6NM4TP7R.css';
|
|
4
4
|
import './ActivityLine-AMSERTOB.css';
|
|
5
5
|
import { jsxs, jsx, Fragment } from 'react/jsx-runtime';
|
|
6
6
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { safeHref } from './chunk-KBZO4B33.js';
|
|
2
2
|
import { VisuallyHidden } from './chunk-RRRK2KB6.js';
|
|
3
3
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
4
|
-
import './ChatScale-
|
|
4
|
+
import './ChatScale-6NM4TP7R.css';
|
|
5
5
|
import './VisuallyHidden-OUYVMKEH.css';
|
|
6
6
|
import './LinkCard-5I4MYU6I.css';
|
|
7
7
|
import { useId } from 'react';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Select } from './chunk-JUZOMYOZ.js';
|
|
2
|
-
import { Combobox } from './chunk-
|
|
3
|
-
import { FormField, Textarea, InputAffix } from './chunk-
|
|
2
|
+
import { Combobox } from './chunk-PBDMJHXV.js';
|
|
3
|
+
import { FormField, Textarea, InputAffix } from './chunk-TE3OMB3Z.js';
|
|
4
4
|
import './Input-YVCNNTYT.css';
|
|
5
5
|
import './VisuallyHidden-OUYVMKEH.css';
|
|
6
6
|
import './HitArea-QUOS6ZDJ.css';
|
|
@@ -1,12 +1,13 @@
|
|
|
1
|
+
import { Divider } from './chunk-6KWNXIDE.js';
|
|
1
2
|
import { LockedLabel } from './chunk-TODOBUXO.js';
|
|
2
3
|
import { KeyChip } from './chunk-HBDA76EZ.js';
|
|
3
4
|
import { prefersReducedMotion } from './chunk-COS6LJ4K.js';
|
|
4
|
-
import { Button } from './chunk-
|
|
5
|
+
import { Button } from './chunk-NPPPQSRU.js';
|
|
5
6
|
import { HIT_AREA_CLASS } from './chunk-2YTOOH3A.js';
|
|
6
7
|
import { VisuallyHidden } from './chunk-RRRK2KB6.js';
|
|
7
8
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
8
9
|
import './HitArea-QUOS6ZDJ.css';
|
|
9
|
-
import './SidebarNav-
|
|
10
|
+
import './SidebarNav-JCHQXFIM.css';
|
|
10
11
|
import { createContext, useRef, useId, useState, useContext, useLayoutEffect, useCallback } from 'react';
|
|
11
12
|
import { ChevronDownGlyph, ArrowUpGlyph, ArrowDownGlyph } from '@crewlethq/icons/glyphs';
|
|
12
13
|
import { jsxs, jsx, Fragment } from 'react/jsx-runtime';
|
|
@@ -157,6 +158,9 @@ function SidebarNav({
|
|
|
157
158
|
)
|
|
158
159
|
);
|
|
159
160
|
}
|
|
161
|
+
function NavDivider({ className }) {
|
|
162
|
+
return /* @__PURE__ */ jsx(Divider, { className: cx("crewlet-nav-divider", className) });
|
|
163
|
+
}
|
|
160
164
|
function UnseenPill({
|
|
161
165
|
side,
|
|
162
166
|
label,
|
|
@@ -415,5 +419,6 @@ function NavItem({
|
|
|
415
419
|
}
|
|
416
420
|
SidebarNav.Group = NavGroup;
|
|
417
421
|
SidebarNav.Item = NavItem;
|
|
422
|
+
SidebarNav.Divider = NavDivider;
|
|
418
423
|
|
|
419
|
-
export { NavGroup, NavItem, SidebarNav };
|
|
424
|
+
export { NavDivider, NavGroup, NavItem, SidebarNav };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ListItem } from './chunk-VY37HWFV.js';
|
|
2
2
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
3
|
-
import './ChatScale-
|
|
3
|
+
import './ChatScale-6NM4TP7R.css';
|
|
4
4
|
import './RoomRow-O53P7Z5I.css';
|
|
5
5
|
import { Fragment as Fragment$1 } from 'react';
|
|
6
6
|
import { jsxs, jsx, Fragment } from 'react/jsx-runtime';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { useReorder } from './chunk-JMBPMSNI.js';
|
|
2
|
-
import { Menu } from './chunk-
|
|
3
|
-
import { Input } from './chunk-
|
|
4
|
-
import { IconButton } from './chunk-
|
|
2
|
+
import { Menu } from './chunk-QHUKJN33.js';
|
|
3
|
+
import { Input } from './chunk-TE3OMB3Z.js';
|
|
4
|
+
import { IconButton } from './chunk-BF2BXM6V.js';
|
|
5
5
|
import { VisuallyHidden } from './chunk-RRRK2KB6.js';
|
|
6
6
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
7
7
|
import './DocTabsEditor-25J6MYZF.css';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Button } from './chunk-
|
|
2
|
-
import { IconButton } from './chunk-
|
|
1
|
+
import { Button } from './chunk-NPPPQSRU.js';
|
|
2
|
+
import { IconButton } from './chunk-BF2BXM6V.js';
|
|
3
3
|
import { useComposedRef } from './chunk-L72URIHR.js';
|
|
4
4
|
import { useLayerContainer } from './chunk-FIX72ZEC.js';
|
|
5
5
|
import { focusables, useModalLayer, useBodyScrollLock } from './chunk-EDPMHSLZ.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { frameThemeMessage, readFrameHello, frameOriginMatches, negotiateBridge, FRAME_MESSAGE, portTargetOrigin, checkFrameSandbox, httpOrigin, isFrameNonce, frameFragment, readOpenLink, externalUrl, isFocusExit } from './chunk-F6V2PTN6.js';
|
|
2
2
|
import { Callout } from './chunk-BPCY7ZID.js';
|
|
3
|
-
import { Skeleton } from './chunk-
|
|
4
|
-
import { Button } from './chunk-
|
|
3
|
+
import { Skeleton } from './chunk-BMTNY3FK.js';
|
|
4
|
+
import { Button } from './chunk-NPPPQSRU.js';
|
|
5
5
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
6
6
|
import './SandboxedFrame-P5NASXB7.css';
|
|
7
7
|
import { useState, useMemo, useRef, useEffect } from 'react';
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { TagGroup } from './chunk-FOUIZS7Q.js';
|
|
2
2
|
import { CursorFlag } from './chunk-MMCYH5LB.js';
|
|
3
3
|
import { presenceHueClass } from './chunk-EFX2YC5T.js';
|
|
4
|
-
import { ChangeMark } from './chunk-
|
|
4
|
+
import { ChangeMark } from './chunk-TYQJRTTK.js';
|
|
5
5
|
import { isEmptyValue, displayText, ratingMax, findPerson, findOption, statusTone, editText, textMax, sheetLabels, normalizeValue, sameValue, spokenText, drawnColumns, fitSamples, fittedWidth, columnWidth, SHEET_COLUMN_BOUNDS, sortRows, SHEET_ROW_HEIGHT, cellKey, columnOffsets, SHEET_ROW_NUMBER_WIDTH, rangeOf, presenceByCell, presenceByRow, presenceByColumn, scrollToRow, planClear, visibleRows, cellDescription, nextSort, rowName, inRange, hasPrevious, flagText, toTSV, planPaste, parseTSV, isMod, moveFrom, isTypingKey, editorSide, optionHue, parseText, liveOptions, checkValue } from './chunk-LFSIKGRQ.js';
|
|
6
6
|
import { presenceLabels } from './chunk-Z7JYG5TF.js';
|
|
7
7
|
import { Tag } from './chunk-SJ3EUCFD.js';
|
|
8
|
-
import { Popover } from './chunk-
|
|
8
|
+
import { Popover } from './chunk-KDRJZWE3.js';
|
|
9
9
|
import { Avatar } from './chunk-XZY6S3UC.js';
|
|
10
10
|
import { StatusDot } from './chunk-QRE6JCHS.js';
|
|
11
|
-
import { Menu } from './chunk-
|
|
12
|
-
import { Button } from './chunk-
|
|
13
|
-
import { IconButton } from './chunk-
|
|
14
|
-
import { Tooltip } from './chunk-
|
|
11
|
+
import { Menu } from './chunk-QHUKJN33.js';
|
|
12
|
+
import { Button } from './chunk-NPPPQSRU.js';
|
|
13
|
+
import { IconButton } from './chunk-BF2BXM6V.js';
|
|
14
|
+
import { Tooltip } from './chunk-HXVMXH6U.js';
|
|
15
15
|
import { viewportBounds, LAYER_GAP } from './chunk-FIX72ZEC.js';
|
|
16
16
|
import { isComposing } from './chunk-EDPMHSLZ.js';
|
|
17
17
|
import { VisuallyHidden } from './chunk-RRRK2KB6.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { SegmentedControl } from './chunk-
|
|
2
|
-
import { Button } from './chunk-
|
|
1
|
+
import { SegmentedControl } from './chunk-YD5UCBFV.js';
|
|
2
|
+
import { Button } from './chunk-NPPPQSRU.js';
|
|
3
3
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
4
4
|
import './MergeConflicts-HCXPRQVR.css';
|
|
5
5
|
import { useState, useId, useRef, useEffect } from 'react';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { heldHint } from './chunk-TDFLCUBE.js';
|
|
2
|
-
import { Tooltip } from './chunk-
|
|
2
|
+
import { Tooltip } from './chunk-HXVMXH6U.js';
|
|
3
3
|
import { VisuallyHidden } from './chunk-RRRK2KB6.js';
|
|
4
4
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
5
5
|
import './IconButton-NUZ242OY.css';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { PRESENCE_LABELS, presenceOrder, collapseSessions } from './chunk-Z7JYG5TF.js';
|
|
2
2
|
import { Avatar } from './chunk-XZY6S3UC.js';
|
|
3
|
-
import { Button } from './chunk-
|
|
4
|
-
import { IconButton } from './chunk-
|
|
3
|
+
import { Button } from './chunk-NPPPQSRU.js';
|
|
4
|
+
import { IconButton } from './chunk-BF2BXM6V.js';
|
|
5
5
|
import { headingTag, useHeadingLevel } from './chunk-PQADV6P6.js';
|
|
6
6
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
7
7
|
import './PeopleRail-MRUSDGCZ.css';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useTreeState, useMeasuredSizes, layoutForest, treeAncestors, useLayoutAnchor, treeExpandable, layoutConnectors, treeItemAction, treeStep, treePosInSet, treeSetSize, treeLevel, placeGroups } from './chunk-MY374UUD.js';
|
|
2
|
-
import { CANVAS_COMPOSE_CONTEXT, CANVAS_FIT_MAX_ZOOM, Canvas } from './chunk-
|
|
2
|
+
import { CANVAS_COMPOSE_CONTEXT, CANVAS_FIT_MAX_ZOOM, Canvas } from './chunk-DKDSBI75.js';
|
|
3
3
|
import { useMediaMatch, REDUCED_MOTION_QUERY } from './chunk-COS6LJ4K.js';
|
|
4
4
|
import { focusables } from './chunk-EDPMHSLZ.js';
|
|
5
5
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { tokenMs } from './chunk-HTS5RJ7S.js';
|
|
2
2
|
import { VisuallyHidden } from './chunk-RRRK2KB6.js';
|
|
3
3
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
4
|
-
import './ChatScale-
|
|
4
|
+
import './ChatScale-6NM4TP7R.css';
|
|
5
5
|
import './Skeleton-UNQQWMV5.css';
|
|
6
6
|
import { useState, useEffect } from 'react';
|
|
7
7
|
import { motion } from '@crewlethq/tokens';
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { ChatDivider } from './chunk-
|
|
1
|
+
import { ChatDivider } from './chunk-RTDFRFTF.js';
|
|
2
2
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
3
|
-
import './ChatScale-
|
|
4
|
-
import './ChatDivider-
|
|
3
|
+
import './ChatScale-6NM4TP7R.css';
|
|
4
|
+
import './ChatDivider-BRODST2E.css';
|
|
5
5
|
import './ChatDay-523C65KY.css';
|
|
6
6
|
import { forwardRef } from 'react';
|
|
7
7
|
import { ChevronDownGlyph } from '@crewlethq/icons/glyphs';
|
|
8
8
|
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
9
9
|
|
|
10
|
-
function ChatDay({ label, pill, unread, className, children, ...rest }) {
|
|
10
|
+
function ChatDay({ label, pill, unread, pulse = false, className, children, ...rest }) {
|
|
11
11
|
return /* @__PURE__ */ jsxs("div", { ...rest, role: "group", "aria-label": label, className: cx("crewlet-chat-day", className), children: [
|
|
12
12
|
/* @__PURE__ */ jsx("div", { className: "crewlet-chat-day__label", children: pill ?? /* @__PURE__ */ jsx("span", { className: "crewlet-chat-day__pill", children: label }) }),
|
|
13
|
-
/* @__PURE__ */ jsx("div", { className: "crewlet-chat-day__rule", children: unread ? /* @__PURE__ */ jsx(ChatDivider, { variant: "unread", label: unread }) : null }),
|
|
13
|
+
/* @__PURE__ */ jsx("div", { className: "crewlet-chat-day__rule", children: unread ? /* @__PURE__ */ jsx(ChatDivider, { variant: "unread", label: unread, pulse }) : null }),
|
|
14
14
|
children
|
|
15
15
|
] });
|
|
16
16
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { diffLines, diffStat, collapseDiff, DiffSummary, DiffView } from './chunk-U3LHWQQK.js';
|
|
2
|
-
import { SegmentedControl } from './chunk-
|
|
2
|
+
import { SegmentedControl } from './chunk-YD5UCBFV.js';
|
|
3
3
|
import { EmptyState } from './chunk-PPUR46MK.js';
|
|
4
4
|
import { useHeadingLevel, headingTag, nextHeadingLevel, HeadingLevelProvider } from './chunk-PQADV6P6.js';
|
|
5
5
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Switch } from './chunk-6YYRFGXO.js';
|
|
2
2
|
import { useReorder } from './chunk-JMBPMSNI.js';
|
|
3
|
-
import { Checkbox } from './chunk-
|
|
4
|
-
import { IconButton } from './chunk-
|
|
3
|
+
import { Checkbox } from './chunk-DTEDUAEW.js';
|
|
4
|
+
import { IconButton } from './chunk-BF2BXM6V.js';
|
|
5
5
|
import { VisuallyHidden } from './chunk-RRRK2KB6.js';
|
|
6
6
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
7
7
|
import './ArrangeList-F6Y43I24.css';
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { emojiName } from './chunk-
|
|
1
|
+
import { emojiName } from './chunk-NOP55WRY.js';
|
|
2
2
|
import { Toolbar } from './chunk-NPEI2QAN.js';
|
|
3
|
-
import { IconButton } from './chunk-
|
|
3
|
+
import { IconButton } from './chunk-BF2BXM6V.js';
|
|
4
4
|
import { heldHint } from './chunk-TDFLCUBE.js';
|
|
5
|
-
import { Tooltip } from './chunk-
|
|
5
|
+
import { Tooltip } from './chunk-HXVMXH6U.js';
|
|
6
6
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
7
|
-
import './ChatScale-
|
|
8
|
-
import './MessageActions-
|
|
7
|
+
import './ChatScale-6NM4TP7R.css';
|
|
8
|
+
import './MessageActions-Y2IXY24H.css';
|
|
9
9
|
import { forwardRef } from 'react';
|
|
10
10
|
import { jsx } from 'react/jsx-runtime';
|
|
11
11
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { LayerNodeBridge } from './chunk-X4HBZSXA.js';
|
|
2
2
|
import { Kbd } from './chunk-VBBLHS2Y.js';
|
|
3
|
-
import { Button } from './chunk-
|
|
4
|
-
import { IconButton } from './chunk-
|
|
5
|
-
import { Tooltip } from './chunk-
|
|
3
|
+
import { Button } from './chunk-NPPPQSRU.js';
|
|
4
|
+
import { IconButton } from './chunk-BF2BXM6V.js';
|
|
5
|
+
import { Tooltip } from './chunk-HXVMXH6U.js';
|
|
6
6
|
import { LAYER_REPOSITION_EVENT, LayerHost } from './chunk-FIX72ZEC.js';
|
|
7
7
|
import { returnFocus } from './chunk-4ITETIGZ.js';
|
|
8
8
|
import { VisuallyHidden } from './chunk-RRRK2KB6.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { SlideStage } from './chunk-7O53SWKI.js';
|
|
2
2
|
import { useReorder } from './chunk-JMBPMSNI.js';
|
|
3
|
-
import { Menu } from './chunk-
|
|
3
|
+
import { Menu } from './chunk-QHUKJN33.js';
|
|
4
4
|
import { Kbd, isApplePlatform } from './chunk-VBBLHS2Y.js';
|
|
5
5
|
import { VisuallyHidden } from './chunk-RRRK2KB6.js';
|
|
6
6
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { useTreeState, treeExpandable, treeLevel, treePosInSet, treeSetSize, treeItemAction, treePrevious, treeNext, treeStep } from './chunk-MY374UUD.js';
|
|
2
|
-
import { GRID_FOOT_LABELS, parseGridSort, overrunning, squeezedCells, fitGridColumns, tableTrack, GRID_ICON_TRACK, GridHeadCell, alignOf, rowLinkTitle, headerWord, GridFoot, droppedNames, nextGridSort, sortByValue } from './chunk-
|
|
2
|
+
import { GRID_FOOT_LABELS, parseGridSort, overrunning, squeezedCells, fitGridColumns, tableTrack, GRID_ICON_TRACK, GridHeadCell, alignOf, rowLinkTitle, headerWord, GridFoot, droppedNames, nextGridSort, sortByValue } from './chunk-Y3FLNQEE.js';
|
|
3
3
|
import { LayerNodeBridge } from './chunk-X4HBZSXA.js';
|
|
4
|
-
import { Checkbox } from './chunk-
|
|
4
|
+
import { Checkbox } from './chunk-DTEDUAEW.js';
|
|
5
5
|
import { useMediaMatch } from './chunk-COS6LJ4K.js';
|
|
6
6
|
import { EmptyState } from './chunk-PPUR46MK.js';
|
|
7
|
-
import { IconButton } from './chunk-
|
|
7
|
+
import { IconButton } from './chunk-BF2BXM6V.js';
|
|
8
8
|
import { LayerHost, LAYER_REPOSITION_EVENT } from './chunk-FIX72ZEC.js';
|
|
9
9
|
import { focusables } from './chunk-EDPMHSLZ.js';
|
|
10
10
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { HuePicker } from './chunk-
|
|
2
|
-
import { Popover } from './chunk-
|
|
1
|
+
import { HuePicker } from './chunk-QVNEQSOL.js';
|
|
2
|
+
import { Popover } from './chunk-KDRJZWE3.js';
|
|
3
3
|
import { CharacterPicker } from './chunk-LNQSNXGJ.js';
|
|
4
4
|
import { NODE_HUE_NAMES } from './chunk-AYKXMIOR.js';
|
|
5
5
|
import { Avatar } from './chunk-XZY6S3UC.js';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { Skeleton } from './chunk-
|
|
1
|
+
import { Skeleton } from './chunk-BMTNY3FK.js';
|
|
2
2
|
import { PrincipalAvatar } from './chunk-HF5L56YQ.js';
|
|
3
3
|
import { RelativeTime } from './chunk-GBKBME7Q.js';
|
|
4
4
|
import { Card } from './chunk-3C3TSWRR.js';
|
|
5
|
-
import { AvatarStack } from './chunk-
|
|
5
|
+
import { AvatarStack } from './chunk-5SMYKL3D.js';
|
|
6
6
|
import { ArtifactKindGround } from './chunk-W3A6NBUM.js';
|
|
7
|
-
import { Checkbox } from './chunk-
|
|
7
|
+
import { Checkbox } from './chunk-DTEDUAEW.js';
|
|
8
8
|
import { ArtifactAccessGlyph } from './chunk-DOY3KC6I.js';
|
|
9
9
|
import { ArtifactKindGlyph } from './chunk-RSKW25Y5.js';
|
|
10
10
|
import { VisuallyHidden } from './chunk-RRRK2KB6.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { StepList } from './chunk-EHD4CEHK.js';
|
|
2
|
-
import { ReceiptStrip } from './chunk-
|
|
2
|
+
import { ReceiptStrip } from './chunk-OKPGW76D.js';
|
|
3
3
|
import { Meter } from './chunk-MXOT2CWL.js';
|
|
4
4
|
import { StatusCard } from './chunk-7L75YB57.js';
|
|
5
5
|
import { Disclosure } from './chunk-D5O64CVE.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { PrincipalAvatar } from './chunk-HF5L56YQ.js';
|
|
2
2
|
import { RelativeTime } from './chunk-GBKBME7Q.js';
|
|
3
3
|
import { Timeline } from './chunk-XDUXAQIS.js';
|
|
4
|
-
import { Button } from './chunk-
|
|
4
|
+
import { Button } from './chunk-NPPPQSRU.js';
|
|
5
5
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
6
6
|
import './VersionTimeline-DEAQ7CJG.css';
|
|
7
7
|
import { RotateCcwClockGlyph, PencilGlyph, ShieldGlyph, DatabaseGlyph, UploadGlyph } from '@crewlethq/icons/glyphs';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Toolbar } from './chunk-NPEI2QAN.js';
|
|
2
|
-
import { Button } from './chunk-
|
|
2
|
+
import { Button } from './chunk-NPPPQSRU.js';
|
|
3
3
|
import { returnFocus } from './chunk-4ITETIGZ.js';
|
|
4
4
|
import { announce } from './chunk-WGMKERCR.js';
|
|
5
5
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useThemePreference, useSystemTheme, resolveTheme } from './chunk-Z24ZUSTX.js';
|
|
2
|
-
import { IconButton } from './chunk-
|
|
2
|
+
import { IconButton } from './chunk-BF2BXM6V.js';
|
|
3
3
|
import { SunGlyph, MoonGlyph } from '@crewlethq/icons/glyphs';
|
|
4
4
|
import { jsx } from 'react/jsx-runtime';
|
|
5
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useThemePreference, useDensityPreference } from './chunk-Z24ZUSTX.js';
|
|
2
|
-
import { SegmentedControl } from './chunk-
|
|
2
|
+
import { SegmentedControl } from './chunk-YD5UCBFV.js';
|
|
3
3
|
import { SunGlyph, MonitorGlyph, MoonGlyph } from '@crewlethq/icons/glyphs';
|
|
4
4
|
import { jsx } from 'react/jsx-runtime';
|
|
5
5
|
|