@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,22 +1,23 @@
|
|
|
1
|
-
export { TIME_RANGE_CUSTOM, TIME_RANGE_PICKER_LABELS, TimeRangePicker, timeRangeFieldKey, timeRangeProblem } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
1
|
+
export { TIME_RANGE_CUSTOM, TIME_RANGE_PICKER_LABELS, TimeRangePicker, timeRangeFieldKey, timeRangeProblem } from '../chunk-SDYLFZKZ.js';
|
|
2
|
+
import '../chunk-A2TYEOB4.js';
|
|
3
3
|
import '../chunk-BPCY7ZID.js';
|
|
4
4
|
import '../chunk-DK4SRL6D.js';
|
|
5
|
-
import '../chunk-
|
|
6
|
-
import '../chunk-
|
|
5
|
+
import '../chunk-YD5UCBFV.js';
|
|
6
|
+
import '../chunk-STJPIP3R.js';
|
|
7
7
|
import '../chunk-EGMQURBR.js';
|
|
8
8
|
import '../chunk-QRE6JCHS.js';
|
|
9
|
-
import '../chunk-
|
|
10
|
-
import '../chunk-
|
|
9
|
+
import '../chunk-QHUKJN33.js';
|
|
10
|
+
import '../chunk-TE3OMB3Z.js';
|
|
11
11
|
import '../chunk-NICEDVZM.js';
|
|
12
12
|
import '../chunk-JLKO7PSK.js';
|
|
13
|
+
import '../chunk-PJV5HVZY.js';
|
|
13
14
|
import '../chunk-TEXK4RK6.js';
|
|
14
|
-
import '../chunk-
|
|
15
|
+
import '../chunk-NPPPQSRU.js';
|
|
15
16
|
import '../chunk-XSPCITPN.js';
|
|
16
17
|
import '../chunk-2YTOOH3A.js';
|
|
17
|
-
import '../chunk-
|
|
18
|
+
import '../chunk-BF2BXM6V.js';
|
|
18
19
|
import '../chunk-TDFLCUBE.js';
|
|
19
|
-
import '../chunk-
|
|
20
|
+
import '../chunk-HXVMXH6U.js';
|
|
20
21
|
import '../chunk-L72URIHR.js';
|
|
21
22
|
import '../chunk-HTS5RJ7S.js';
|
|
22
23
|
import '../chunk-FIX72ZEC.js';
|
|
@@ -1,18 +1,19 @@
|
|
|
1
|
-
export { DEFAULT_TIME_WINDOW_LABELS, TIME_WINDOW_SPANS, TimeWindowPicker, describeTimeWindow, isTimeWindowSet, parseTimeWindowDuration, resolveTimeWindow, timeWindowMatchesPreset } from '../chunk-
|
|
1
|
+
export { DEFAULT_TIME_WINDOW_LABELS, TIME_WINDOW_SPANS, TimeWindowPicker, describeTimeWindow, isTimeWindowSet, parseTimeWindowDuration, resolveTimeWindow, timeWindowMatchesPreset } from '../chunk-YE76GTQU.js';
|
|
2
2
|
import '../chunk-JUZOMYOZ.js';
|
|
3
3
|
import '../chunk-KW7T23RT.js';
|
|
4
4
|
import '../chunk-EE3DJMSQ.js';
|
|
5
|
-
import '../chunk-
|
|
6
|
-
import '../chunk-
|
|
5
|
+
import '../chunk-KDRJZWE3.js';
|
|
6
|
+
import '../chunk-TE3OMB3Z.js';
|
|
7
7
|
import '../chunk-NICEDVZM.js';
|
|
8
8
|
import '../chunk-JLKO7PSK.js';
|
|
9
|
+
import '../chunk-PJV5HVZY.js';
|
|
9
10
|
import '../chunk-TEXK4RK6.js';
|
|
10
|
-
import '../chunk-
|
|
11
|
+
import '../chunk-NPPPQSRU.js';
|
|
11
12
|
import '../chunk-XSPCITPN.js';
|
|
12
13
|
import '../chunk-2YTOOH3A.js';
|
|
13
|
-
import '../chunk-
|
|
14
|
+
import '../chunk-BF2BXM6V.js';
|
|
14
15
|
import '../chunk-TDFLCUBE.js';
|
|
15
|
-
import '../chunk-
|
|
16
|
+
import '../chunk-HXVMXH6U.js';
|
|
16
17
|
import '../chunk-L72URIHR.js';
|
|
17
18
|
import '../chunk-HTS5RJ7S.js';
|
|
18
19
|
import '../chunk-FIX72ZEC.js';
|
package/dist/Tooltip/index.js
CHANGED
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* The tooltip panel.
|
|
3
|
+
*
|
|
4
|
+
* It is placed by arithmetic (see Tooltip.tsx), so this owns what the panel
|
|
5
|
+
* looks like and how it arrives.
|
|
6
|
+
*
|
|
7
|
+
* It TAKES THE POINTER (`pointer-events: auto`), so a reader can travel onto
|
|
8
|
+
* it and read at their own pace, as WCAG 2.2's 1.4.13 asks.
|
|
9
|
+
*
|
|
10
|
+
* A DARK BUBBLE IN BOTH MODES (`--color-tooltip-*`), its words a step heavier
|
|
11
|
+
* than the page's small text: a hint set apart from every panel it can sit
|
|
12
|
+
* over, light on dark at 4.5:1 or more in every theme.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
.crewlet-tooltip {
|
|
16
|
+
position: fixed;
|
|
17
|
+
max-width: 260px;
|
|
18
|
+
padding: var(--spacing-2) var(--spacing-3);
|
|
19
|
+
background: var(--color-tooltip-surface);
|
|
20
|
+
color: var(--color-tooltip-text);
|
|
21
|
+
border: 1px solid var(--color-tooltip-edge);
|
|
22
|
+
border-radius: var(--radius-md);
|
|
23
|
+
box-shadow: var(--shadow-md);
|
|
24
|
+
font-size: var(--font-size-compact);
|
|
25
|
+
font-weight: var(--font-weight-semibold);
|
|
26
|
+
line-height: var(--font-line-height-snug);
|
|
27
|
+
/* One short line, wrapped rather than cut: a hint that ends in an ellipsis
|
|
28
|
+
is a hint that failed. */
|
|
29
|
+
overflow-wrap: break-word;
|
|
30
|
+
animation: crewlet-tooltip-in var(--motion-duration-instant) var(--motion-easing-out);
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
/* A keycap in the bubble takes the bubble's second ink and its hairline. */
|
|
34
|
+
.crewlet-tooltip .crewlet-kbd {
|
|
35
|
+
border-color: var(--color-tooltip-edge);
|
|
36
|
+
background: none;
|
|
37
|
+
color: var(--color-tooltip-meta);
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
/* Inside a LayerHost the panel is absolute in that host's own box. */
|
|
41
|
+
.crewlet-tooltip--in-host {
|
|
42
|
+
position: absolute;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
/*
|
|
46
|
+
* The side the tip was placed on is left on the element for anything that has
|
|
47
|
+
* to know which way it went, and it draws nothing.
|
|
48
|
+
*/
|
|
49
|
+
|
|
50
|
+
/* A short fade in at the instant step, and no fade out: it goes when it closes. */
|
|
51
|
+
@keyframes crewlet-tooltip-in {
|
|
52
|
+
from {
|
|
53
|
+
opacity: 0;
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
@media (prefers-reduced-motion: reduce) {
|
|
58
|
+
.crewlet-tooltip {
|
|
59
|
+
animation: none;
|
|
60
|
+
}
|
|
61
|
+
}
|
package/dist/TreeCanvas/index.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
export { TREE_ADD_MARK_MIN_ZOOM, TreeCanvas } from '../chunk-
|
|
1
|
+
export { TREE_ADD_MARK_MIN_ZOOM, TreeCanvas } from '../chunk-BJEWRSV7.js';
|
|
2
2
|
import '../chunk-MY374UUD.js';
|
|
3
|
-
import '../chunk-
|
|
3
|
+
import '../chunk-DKDSBI75.js';
|
|
4
4
|
import '../chunk-X4HBZSXA.js';
|
|
5
5
|
import '../chunk-SK4BIFTG.js';
|
|
6
6
|
import '../chunk-COS6LJ4K.js';
|
|
7
7
|
import '../chunk-VBBLHS2Y.js';
|
|
8
|
-
import '../chunk-
|
|
8
|
+
import '../chunk-NPPPQSRU.js';
|
|
9
9
|
import '../chunk-XSPCITPN.js';
|
|
10
|
-
import '../chunk-
|
|
10
|
+
import '../chunk-BF2BXM6V.js';
|
|
11
11
|
import '../chunk-TDFLCUBE.js';
|
|
12
|
-
import '../chunk-
|
|
12
|
+
import '../chunk-HXVMXH6U.js';
|
|
13
13
|
import '../chunk-L72URIHR.js';
|
|
14
14
|
import '../chunk-HTS5RJ7S.js';
|
|
15
15
|
import '../chunk-FIX72ZEC.js';
|
package/dist/TreeGrid/index.js
CHANGED
|
@@ -1,23 +1,24 @@
|
|
|
1
|
-
export { TreeGrid } from '../chunk-
|
|
1
|
+
export { TreeGrid } from '../chunk-DTZ72KVX.js';
|
|
2
2
|
import '../chunk-MY374UUD.js';
|
|
3
|
-
import '../chunk-
|
|
3
|
+
import '../chunk-Y3FLNQEE.js';
|
|
4
4
|
import '../chunk-X4HBZSXA.js';
|
|
5
|
-
import '../chunk-
|
|
5
|
+
import '../chunk-BMTNY3FK.js';
|
|
6
6
|
import '../chunk-WSIJDWUG.js';
|
|
7
7
|
import '../chunk-JMBPMSNI.js';
|
|
8
|
-
import '../chunk-
|
|
8
|
+
import '../chunk-DTEDUAEW.js';
|
|
9
9
|
import '../chunk-SK4BIFTG.js';
|
|
10
10
|
import '../chunk-COS6LJ4K.js';
|
|
11
11
|
import '../chunk-PPUR46MK.js';
|
|
12
|
-
import '../chunk-
|
|
12
|
+
import '../chunk-TE3OMB3Z.js';
|
|
13
13
|
import '../chunk-NICEDVZM.js';
|
|
14
14
|
import '../chunk-JLKO7PSK.js';
|
|
15
|
+
import '../chunk-PJV5HVZY.js';
|
|
15
16
|
import '../chunk-TEXK4RK6.js';
|
|
16
|
-
import '../chunk-
|
|
17
|
+
import '../chunk-NPPPQSRU.js';
|
|
17
18
|
import '../chunk-XSPCITPN.js';
|
|
18
|
-
import '../chunk-
|
|
19
|
+
import '../chunk-BF2BXM6V.js';
|
|
19
20
|
import '../chunk-TDFLCUBE.js';
|
|
20
|
-
import '../chunk-
|
|
21
|
+
import '../chunk-HXVMXH6U.js';
|
|
21
22
|
import '../chunk-L72URIHR.js';
|
|
22
23
|
import '../chunk-HTS5RJ7S.js';
|
|
23
24
|
import '../chunk-FIX72ZEC.js';
|
package/dist/ValueField/index.js
CHANGED
|
@@ -1,15 +1,16 @@
|
|
|
1
|
-
export { REFERENCE_NAME_PATTERN, ValueField, completeReference, isWholeReference, rankReferences, referenceAt, urlSchemeOf } from '../chunk-
|
|
1
|
+
export { REFERENCE_NAME_PATTERN, ValueField, completeReference, isWholeReference, rankReferences, referenceAt, urlSchemeOf } from '../chunk-76LJUPDA.js';
|
|
2
2
|
import '../chunk-JUZOMYOZ.js';
|
|
3
|
-
import '../chunk-
|
|
3
|
+
import '../chunk-PBDMJHXV.js';
|
|
4
4
|
import '../chunk-KW7T23RT.js';
|
|
5
|
-
import '../chunk-
|
|
5
|
+
import '../chunk-TE3OMB3Z.js';
|
|
6
6
|
import '../chunk-NICEDVZM.js';
|
|
7
7
|
import '../chunk-JLKO7PSK.js';
|
|
8
|
+
import '../chunk-PJV5HVZY.js';
|
|
8
9
|
import '../chunk-TEXK4RK6.js';
|
|
9
10
|
import '../chunk-2YTOOH3A.js';
|
|
10
|
-
import '../chunk-
|
|
11
|
+
import '../chunk-BF2BXM6V.js';
|
|
11
12
|
import '../chunk-TDFLCUBE.js';
|
|
12
|
-
import '../chunk-
|
|
13
|
+
import '../chunk-HXVMXH6U.js';
|
|
13
14
|
import '../chunk-L72URIHR.js';
|
|
14
15
|
import '../chunk-HTS5RJ7S.js';
|
|
15
16
|
import '../chunk-FIX72ZEC.js';
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
export { VERSION_COMPARE_LABELS, VERSION_COMPARE_LENSES, VersionCompare } from '../chunk-
|
|
1
|
+
export { VERSION_COMPARE_LABELS, VERSION_COMPARE_LENSES, VersionCompare } from '../chunk-CJRWESDZ.js';
|
|
2
2
|
import '../chunk-U3LHWQQK.js';
|
|
3
3
|
import '../chunk-DK4SRL6D.js';
|
|
4
|
-
import '../chunk-
|
|
5
|
-
import '../chunk-
|
|
4
|
+
import '../chunk-YD5UCBFV.js';
|
|
5
|
+
import '../chunk-STJPIP3R.js';
|
|
6
6
|
import '../chunk-EGMQURBR.js';
|
|
7
7
|
import '../chunk-QRE6JCHS.js';
|
|
8
|
-
import '../chunk-
|
|
8
|
+
import '../chunk-QHUKJN33.js';
|
|
9
9
|
import '../chunk-PPUR46MK.js';
|
|
10
|
-
import '../chunk-
|
|
10
|
+
import '../chunk-NPPPQSRU.js';
|
|
11
11
|
import '../chunk-XSPCITPN.js';
|
|
12
12
|
import '../chunk-2YTOOH3A.js';
|
|
13
|
-
import '../chunk-
|
|
13
|
+
import '../chunk-BF2BXM6V.js';
|
|
14
14
|
import '../chunk-TDFLCUBE.js';
|
|
15
|
-
import '../chunk-
|
|
15
|
+
import '../chunk-HXVMXH6U.js';
|
|
16
16
|
import '../chunk-L72URIHR.js';
|
|
17
17
|
import '../chunk-HTS5RJ7S.js';
|
|
18
18
|
import '../chunk-FIX72ZEC.js';
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
export { VersionTimeline } from '../chunk-
|
|
1
|
+
export { VersionTimeline } from '../chunk-FC4T5ILA.js';
|
|
2
2
|
import '../chunk-HF5L56YQ.js';
|
|
3
3
|
import '../chunk-GBKBME7Q.js';
|
|
4
4
|
import '../chunk-WGLOH33S.js';
|
|
5
|
-
import '../chunk-
|
|
5
|
+
import '../chunk-5SMYKL3D.js';
|
|
6
6
|
import '../chunk-XZY6S3UC.js';
|
|
7
7
|
import '../chunk-XDUXAQIS.js';
|
|
8
|
-
import '../chunk-
|
|
8
|
+
import '../chunk-NPPPQSRU.js';
|
|
9
9
|
import '../chunk-XSPCITPN.js';
|
|
10
10
|
import '../chunk-TDFLCUBE.js';
|
|
11
|
-
import '../chunk-
|
|
11
|
+
import '../chunk-HXVMXH6U.js';
|
|
12
12
|
import '../chunk-L72URIHR.js';
|
|
13
13
|
import '../chunk-HTS5RJ7S.js';
|
|
14
14
|
import '../chunk-FIX72ZEC.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { WidgetFrame } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
1
|
+
export { WidgetFrame } from '../chunk-DF5B4QO5.js';
|
|
2
|
+
import '../chunk-BMTNY3FK.js';
|
|
3
3
|
import '../chunk-GBKBME7Q.js';
|
|
4
4
|
import '../chunk-WGLOH33S.js';
|
|
5
5
|
import '../chunk-HTS5RJ7S.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useListbox } from './chunk-KW7T23RT.js';
|
|
2
2
|
import { Tag } from './chunk-SJ3EUCFD.js';
|
|
3
|
-
import { IconButton } from './chunk-
|
|
3
|
+
import { IconButton } from './chunk-BF2BXM6V.js';
|
|
4
4
|
import { isComposing } from './chunk-EDPMHSLZ.js';
|
|
5
5
|
import { useFocusModality } from './chunk-4ITETIGZ.js';
|
|
6
6
|
import { announce } from './chunk-WGMKERCR.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { SidebarNav, NavItem } from './chunk-5LBIIEHJ.js';
|
|
2
1
|
import { Select } from './chunk-JUZOMYOZ.js';
|
|
2
|
+
import { SidebarNav, NavItem } from './chunk-7GUZSA5U.js';
|
|
3
3
|
import { Card } from './chunk-3C3TSWRR.js';
|
|
4
4
|
import { Text } from './chunk-XLMURU75.js';
|
|
5
5
|
import './RailList-N2ZBPRM2.css';
|
|
@@ -1,6 +1,9 @@
|
|
|
1
|
-
import { CopyButton } from './chunk-
|
|
1
|
+
import { CopyButton, copyGlyph, CopyStatus } from './chunk-T2RRTICC.js';
|
|
2
|
+
import { useClipboard } from './chunk-STJ7QBC3.js';
|
|
3
|
+
import { IconButton } from './chunk-BF2BXM6V.js';
|
|
4
|
+
import { Tooltip } from './chunk-HXVMXH6U.js';
|
|
2
5
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
3
|
-
import './CodeBlock-
|
|
6
|
+
import './CodeBlock-LS7H6KUQ.css';
|
|
4
7
|
import { forwardRef, useRef, useState, useLayoutEffect } from 'react';
|
|
5
8
|
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
6
9
|
|
|
@@ -10,7 +13,8 @@ var CodeBlock = forwardRef(function CodeBlock2({
|
|
|
10
13
|
filename,
|
|
11
14
|
showLineNumbers = false,
|
|
12
15
|
copyable = true,
|
|
13
|
-
copyLabel
|
|
16
|
+
copyLabel,
|
|
17
|
+
copyPlacement = "header",
|
|
14
18
|
prompt,
|
|
15
19
|
wrap = true,
|
|
16
20
|
maxHeight,
|
|
@@ -24,7 +28,8 @@ var CodeBlock = forwardRef(function CodeBlock2({
|
|
|
24
28
|
}, ref) {
|
|
25
29
|
const box = useRef(null);
|
|
26
30
|
const body = code.replace(/\n+$/, "");
|
|
27
|
-
const
|
|
31
|
+
const corner = !plain && copyable && copyPlacement === "corner";
|
|
32
|
+
const showHeader = !plain && !corner && (filename !== void 0 || language !== void 0 || copyable);
|
|
28
33
|
const perLine = showLineNumbers || prompt !== void 0;
|
|
29
34
|
const [overflows, setOverflows] = useState(false);
|
|
30
35
|
useLayoutEffect(() => {
|
|
@@ -72,6 +77,7 @@ var CodeBlock = forwardRef(function CodeBlock2({
|
|
|
72
77
|
"crewlet-codeblock",
|
|
73
78
|
showLineNumbers && "crewlet-codeblock--numbered",
|
|
74
79
|
!wrap && "crewlet-codeblock--nowrap",
|
|
80
|
+
corner && "crewlet-codeblock--corner",
|
|
75
81
|
maxHeight !== void 0 && "crewlet-codeblock--bounded",
|
|
76
82
|
className
|
|
77
83
|
),
|
|
@@ -86,8 +92,9 @@ var CodeBlock = forwardRef(function CodeBlock2({
|
|
|
86
92
|
filename === void 0 ? null : /* @__PURE__ */ jsx("span", { className: "crewlet-codeblock__filename", children: filename }),
|
|
87
93
|
language !== void 0 && filename === void 0 ? /* @__PURE__ */ jsx("span", { className: "crewlet-codeblock__lang", children: language }) : null
|
|
88
94
|
] }),
|
|
89
|
-
copyable ? /* @__PURE__ */ jsx(CopyButton, { text: code, label: copyLabel, className: "crewlet-codeblock__copy" }) : null
|
|
95
|
+
copyable ? /* @__PURE__ */ jsx(CopyButton, { text: code, label: copyLabel ?? "Copy", className: "crewlet-codeblock__copy" }) : null
|
|
90
96
|
] }) : null,
|
|
97
|
+
corner ? /* @__PURE__ */ jsx(CornerCopy, { text: code, label: copyLabel ?? "Copy code" }) : null,
|
|
91
98
|
/* @__PURE__ */ jsx(
|
|
92
99
|
"pre",
|
|
93
100
|
{
|
|
@@ -105,5 +112,21 @@ var CodeBlock = forwardRef(function CodeBlock2({
|
|
|
105
112
|
}
|
|
106
113
|
);
|
|
107
114
|
});
|
|
115
|
+
function CornerCopy({ text, label }) {
|
|
116
|
+
const { state, attempt, copy } = useClipboard();
|
|
117
|
+
const hint = state === "copied" ? "Copied" : state === "failed" ? "Copy failed" : label;
|
|
118
|
+
return /* @__PURE__ */ jsxs("span", { className: "crewlet-codeblock__corner", children: [
|
|
119
|
+
/* @__PURE__ */ jsx(Tooltip, { content: hint, children: /* @__PURE__ */ jsx(IconButton, { label, size: "sm", variant: "ghost", icon: copyGlyph(state), onClick: () => void copy(text) }) }),
|
|
120
|
+
/* @__PURE__ */ jsx(
|
|
121
|
+
CopyStatus,
|
|
122
|
+
{
|
|
123
|
+
state,
|
|
124
|
+
attempt,
|
|
125
|
+
copiedMessage: "copied to the clipboard",
|
|
126
|
+
failedMessage: "the browser refused the clipboard"
|
|
127
|
+
}
|
|
128
|
+
)
|
|
129
|
+
] });
|
|
130
|
+
}
|
|
108
131
|
|
|
109
132
|
export { CodeBlock };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Card } from './chunk-3C3TSWRR.js';
|
|
2
|
-
import { Button } from './chunk-
|
|
2
|
+
import { Button } from './chunk-NPPPQSRU.js';
|
|
3
3
|
import { useHeadingLevel, headingTag } from './chunk-PQADV6P6.js';
|
|
4
4
|
import { VisuallyHidden } from './chunk-RRRK2KB6.js';
|
|
5
5
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { SlideNav } from './chunk-
|
|
1
|
+
import { SlideNav } from './chunk-LNE5AMFQ.js';
|
|
2
2
|
import { SlideStage, SLIDE_WIDTH, SLIDE_HEIGHT } from './chunk-7O53SWKI.js';
|
|
3
3
|
import { Eyebrow } from './chunk-RK4XPHVG.js';
|
|
4
|
-
import { Button } from './chunk-
|
|
4
|
+
import { Button } from './chunk-NPPPQSRU.js';
|
|
5
5
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
6
6
|
import './PresenterView-RKYEK27N.css';
|
|
7
7
|
import { useRef, useState, useEffect } from 'react';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { StatusDot } from './chunk-QRE6JCHS.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 './StatusLine-C6IY3U2F.css';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { richEditorLabels } from './chunk-2DMTW2Y3.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 './RichEditor-5CF3QV3J.css';
|
|
6
6
|
import { forwardRef, useState, useEffect } from 'react';
|
|
7
7
|
import { jsx } from 'react/jsx-runtime';
|
|
@@ -9,7 +9,7 @@ import { jsx } from 'react/jsx-runtime';
|
|
|
9
9
|
var engine = null;
|
|
10
10
|
var loading = null;
|
|
11
11
|
function loadEngine() {
|
|
12
|
-
loading ??= import('./Editor-
|
|
12
|
+
loading ??= import('./Editor-YITN2DWX.js').then(
|
|
13
13
|
(module) => {
|
|
14
14
|
engine = module.Editor;
|
|
15
15
|
return engine;
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import { PersonRow } from './chunk-XROJ6XQ3.js';
|
|
2
|
+
import { cx } from './chunk-ODEQTPFM.js';
|
|
3
|
+
import './ChatScale-6NM4TP7R.css';
|
|
4
|
+
import './PersonRow-3HOWUD6H.css';
|
|
5
|
+
import './MentionMenu-AWZSOTNU.css';
|
|
6
|
+
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
7
|
+
|
|
8
|
+
var MENTION_MENU_LABELS = {
|
|
9
|
+
hints: ["\u2191\u2193 to move", "Enter or Tab to choose", "Esc to close"]
|
|
10
|
+
};
|
|
11
|
+
function MentionMenu({
|
|
12
|
+
id,
|
|
13
|
+
label,
|
|
14
|
+
options,
|
|
15
|
+
active,
|
|
16
|
+
onPick,
|
|
17
|
+
onHover,
|
|
18
|
+
listRef,
|
|
19
|
+
keyed = true,
|
|
20
|
+
footer,
|
|
21
|
+
labels: overrides,
|
|
22
|
+
appearance = "default",
|
|
23
|
+
anchor,
|
|
24
|
+
className
|
|
25
|
+
}) {
|
|
26
|
+
const labels = overrides ? { ...MENTION_MENU_LABELS, ...overrides } : MENTION_MENU_LABELS;
|
|
27
|
+
const foot = footer === void 0 ? /* @__PURE__ */ jsx("div", { className: "crewlet-mention-menu__footer", children: labels.hints.map((hint) => /* @__PURE__ */ jsx("span", { children: hint }, hint)) }) : footer === null ? null : /* @__PURE__ */ jsx("div", { className: "crewlet-mention-menu__footer", children: footer });
|
|
28
|
+
return /* @__PURE__ */ jsxs(
|
|
29
|
+
"div",
|
|
30
|
+
{
|
|
31
|
+
className: cx(
|
|
32
|
+
"crewlet-mention-menu",
|
|
33
|
+
appearance === "chat" && "crewlet-mention-menu--chat",
|
|
34
|
+
anchor !== void 0 && "crewlet-mention-menu--anchored",
|
|
35
|
+
!keyed && "crewlet-mention-menu--resting",
|
|
36
|
+
className
|
|
37
|
+
),
|
|
38
|
+
style: anchor === void 0 ? void 0 : { "--crewlet-mention-menu-anchor": `${anchor}px` },
|
|
39
|
+
children: [
|
|
40
|
+
appearance === "chat" ? null : /* @__PURE__ */ jsx("div", { className: "crewlet-mention-menu__label", "aria-hidden": "true", children: label }),
|
|
41
|
+
/* @__PURE__ */ jsx("ul", { ref: listRef, id, role: "listbox", "aria-label": label, className: "crewlet-mention-menu__list", children: options.map((option, index) => /* @__PURE__ */ jsx(
|
|
42
|
+
PersonRow,
|
|
43
|
+
{
|
|
44
|
+
as: "option",
|
|
45
|
+
id: `${id}-${index}`,
|
|
46
|
+
density: "compact",
|
|
47
|
+
avatar: option.mark,
|
|
48
|
+
name: option.label,
|
|
49
|
+
detail: option.detail,
|
|
50
|
+
meta: option.note,
|
|
51
|
+
selected: index === active,
|
|
52
|
+
highlighted: index === active,
|
|
53
|
+
onMouseDown: (event) => {
|
|
54
|
+
event.preventDefault();
|
|
55
|
+
onPick(option, index);
|
|
56
|
+
},
|
|
57
|
+
onMouseEnter: () => onHover(index)
|
|
58
|
+
},
|
|
59
|
+
option.id
|
|
60
|
+
)) }),
|
|
61
|
+
foot
|
|
62
|
+
]
|
|
63
|
+
}
|
|
64
|
+
);
|
|
65
|
+
}
|
|
66
|
+
function mentionQuery(text, caret) {
|
|
67
|
+
const before = text.slice(0, Math.max(0, Math.min(caret, text.length)));
|
|
68
|
+
const match = /(^|\s)([@#])([\p{L}\p{N}_-]*)$/u.exec(before);
|
|
69
|
+
if (!match) return null;
|
|
70
|
+
const query = match[3] ?? "";
|
|
71
|
+
return { trigger: match[2], query, start: before.length - query.length - 1 };
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
export { MENTION_MENU_LABELS, MentionMenu, mentionQuery };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { useAppShellPeek } from './chunk-MBEZOURR.js';
|
|
2
2
|
import { ResizeHandle } from './chunk-FQ6J4DK7.js';
|
|
3
|
-
import { ButtonLink } from './chunk-
|
|
4
|
-
import { IconButton } from './chunk-
|
|
3
|
+
import { ButtonLink } from './chunk-NPPPQSRU.js';
|
|
4
|
+
import { IconButton } from './chunk-BF2BXM6V.js';
|
|
5
5
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
6
6
|
import './HitArea-QUOS6ZDJ.css';
|
|
7
7
|
import './ResizeHandle-W6GA5OO6.css';
|