@crewlethq/ui 0.110.0 → 0.111.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 +8 -8
- package/dist/AppShell/index.js +5 -5
- package/dist/ArrangeFrame/index.js +3 -3
- package/dist/ArrangeList/index.js +5 -5
- package/dist/ArtifactBar/index.js +7 -7
- package/dist/ArtifactCard/index.js +6 -6
- package/dist/ArtifactPanel/index.js +4 -4
- package/dist/AttentionList/index.js +3 -3
- package/dist/AvatarPicker/index.js +8 -8
- 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/index.js +2 -2
- package/dist/ChatDivider/index.js +1 -1
- package/dist/ChatMessage/index.js +4 -4
- package/dist/{ChatMessage-OJO6ASZP.css → ChatMessage-5AMJCGZY.css} +20 -0
- package/dist/{ChatScale-ST24RFPO.css → ChatScale-6NM4TP7R.css} +6 -3
- package/dist/ChatThread/index.js +4 -4
- package/dist/CheckGrid/index.js +5 -5
- package/dist/Checkbox/index.js +4 -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 +4 -4
- package/dist/ColorSwatch/index.js +5 -5
- package/dist/Combobox/index.js +4 -4
- package/dist/CommandPalette/index.js +6 -6
- package/dist/CommentThread/index.js +6 -6
- package/dist/Composer/index.js +4 -4
- package/dist/ConfirmField/index.js +4 -4
- package/dist/ConflictNote/index.js +3 -3
- package/dist/ContrastHelp/index.js +3 -3
- package/dist/Copyable/index.js +4 -4
- package/dist/DataGrid/index.js +7 -7
- package/dist/DataTable/index.js +8 -8
- package/dist/DataView/index.js +11 -11
- package/dist/DateTimePicker/index.js +4 -4
- package/dist/DeepWorkCard/index.js +4 -4
- package/dist/DeliveryReceipt/index.js +1 -1
- package/dist/DocTabsEditor/index.js +6 -6
- package/dist/DownloadButton/index.js +3 -3
- package/dist/{Editor-GIEZ6PPP.js → Editor-VAEC6MIJ.js} +6 -6
- package/dist/EmojiPicker/index.js +4 -4
- 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/InlineEditor/index.js +3 -3
- package/dist/Input/index.js +3 -3
- package/dist/KeyValueRows/index.js +5 -5
- package/dist/LinkCard/index.js +1 -1
- package/dist/LinkInterstitial/index.js +5 -5
- package/dist/ListInput/index.js +5 -5
- package/dist/LogoSlot/index.js +4 -4
- package/dist/MarkdownEditor/index.js +7 -7
- package/dist/MemberPicker/index.js +5 -5
- package/dist/Menu/Menu.d.ts +10 -1
- package/dist/Menu/index.js +4 -4
- package/dist/{Menu-7AARCFX5.css → Menu-UY2O4OCZ.css} +43 -0
- package/dist/MergeConflicts/index.js +7 -7
- package/dist/MessageActions/MessageActions.d.ts +4 -4
- package/dist/MessageActions/index.js +5 -5
- 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/OrgTable/index.js +9 -9
- package/dist/PeekRail/index.js +4 -4
- package/dist/PeopleRail/index.js +4 -4
- package/dist/PinTile/index.js +3 -3
- package/dist/PresenterView/index.js +5 -5
- package/dist/PrincipalPicker/index.js +5 -5
- package/dist/ProposalCard/index.js +7 -7
- package/dist/RailList/index.js +5 -4
- package/dist/ReactionBar/index.js +5 -5
- package/dist/ReceiptStrip/index.js +3 -3
- 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 +6 -6
- package/dist/SheetColumnEditor/index.js +10 -10
- package/dist/SheetGrid/index.js +6 -6
- 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 +7 -7
- 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/index.js +1 -1
- package/dist/TimeRangePicker/index.js +9 -9
- package/dist/TimeWindowPicker/index.js +5 -5
- 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 +8 -8
- package/dist/ValueField/index.js +5 -5
- package/dist/VersionCompare/index.js +7 -7
- package/dist/VersionTimeline/index.js +3 -3
- package/dist/WidgetFrame/index.js +2 -2
- package/dist/{chunk-6BVGVAKH.js → chunk-2D7IVGEV.js} +1 -1
- package/dist/{chunk-NQIWSKQX.js → chunk-2DXZ2ZJR.js} +2 -2
- package/dist/{chunk-HY336MR6.js → chunk-2ILQUAB7.js} +1 -1
- package/dist/{chunk-4JEHXJPO.js → chunk-2SHRZ42G.js} +1 -1
- package/dist/{chunk-PRZO2LAG.js → chunk-3AUFRPG3.js} +1 -1
- package/dist/{chunk-IIEDUSMU.js → chunk-3DUNIA3E.js} +6 -6
- package/dist/{chunk-4ZZ7G3XC.js → chunk-3GF2PTYZ.js} +28 -5
- package/dist/chunk-3KLVK655.js +2 -0
- package/dist/{chunk-IIM6UAJJ.js → chunk-3SAJXMM6.js} +1 -1
- package/dist/{chunk-K3IJWNHL.js → chunk-3W7NG6ST.js} +2 -2
- package/dist/{chunk-NIDLT7UM.js → chunk-3ZIGF6LK.js} +1 -1
- package/dist/{chunk-HWTTVN6T.js → chunk-435WY2WT.js} +1 -1
- package/dist/{chunk-TCAX77BH.js → chunk-4A75O7NL.js} +1 -1
- 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-WM55LPY7.js → chunk-5272PYQD.js} +2 -2
- package/dist/{chunk-ZBON36GU.js → chunk-57SISFHX.js} +3 -3
- package/dist/{chunk-46BY2WPZ.js → chunk-5CWB52JK.js} +1 -1
- 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-HY2JXBPO.js → chunk-6ZC2LPCM.js} +4 -4
- package/dist/{chunk-5LBIIEHJ.js → chunk-7GUZSA5U.js} +8 -3
- package/dist/{chunk-HVFN4DJT.js → chunk-7MB7RUZZ.js} +1 -1
- package/dist/{chunk-OIF6UMPY.js → chunk-7ZIKXGIJ.js} +3 -3
- package/dist/{chunk-IGFQ4LWZ.js → chunk-A2BL2EF6.js} +3 -3
- package/dist/{chunk-3R76X3MI.js → chunk-A2TYEOB4.js} +2 -2
- package/dist/{chunk-O73RB4P7.js → chunk-ADIJ6TLF.js} +2 -2
- package/dist/{chunk-JNP5EMLV.js → chunk-ANIJQ25E.js} +2 -2
- package/dist/{chunk-YX5KEKPL.js → chunk-AXMXXAGB.js} +1 -1
- package/dist/{chunk-WF4Q5LD6.js → chunk-BF2BXM6V.js} +1 -1
- package/dist/{chunk-TIAZSF7H.js → chunk-BGFWCOFR.js} +2 -2
- package/dist/{chunk-RM4PUCDQ.js → chunk-BHR72Z7M.js} +1 -1
- package/dist/{chunk-YWTZHIKA.js → chunk-BJEWRSV7.js} +1 -1
- package/dist/{chunk-OAP576OR.js → chunk-BLFHFMXQ.js} +1 -1
- package/dist/{chunk-BUOBTY3X.js → chunk-BM76TWJ7.js} +2 -2
- package/dist/{chunk-DEIHV2H3.js → chunk-BMTNY3FK.js} +1 -1
- package/dist/{chunk-OQO7NSHR.js → chunk-CJNSPA5F.js} +1 -1
- package/dist/{chunk-ZAN7Q4WG.js → chunk-DF5B4QO5.js} +1 -1
- package/dist/{chunk-HUSMU5EL.js → chunk-DKDSBI75.js} +3 -3
- package/dist/{chunk-PJMDXZHP.js → chunk-E7NTBXXE.js} +1 -1
- package/dist/{chunk-ZQKLFN2J.js → chunk-EBIYEUE3.js} +7 -7
- package/dist/{chunk-AXGSKD72.js → chunk-ECTHM76P.js} +3 -3
- package/dist/{chunk-JJLYGLH6.js → chunk-ETFBEHMH.js} +3 -3
- package/dist/{chunk-YLOQNVR2.js → chunk-EXYO45GN.js} +1 -1
- package/dist/{chunk-3EXGTJQU.js → chunk-EYY2ZMSY.js} +1 -1
- package/dist/{chunk-K5L7FJTH.js → chunk-FC4T5ILA.js} +1 -1
- package/dist/{chunk-TIOYPPIX.js → chunk-FXRXV6QH.js} +3 -3
- package/dist/{chunk-5QKNXTIC.js → chunk-FZY4TTR4.js} +1 -1
- package/dist/{chunk-OTZNIWZA.js → chunk-GBX5Y3P2.js} +1 -1
- package/dist/{chunk-AWXCILIT.js → chunk-GG5CFBSE.js} +2 -2
- package/dist/{chunk-V5ANQP4E.js → chunk-GMBXRSC5.js} +1 -1
- package/dist/{chunk-XLJELX5W.js → chunk-GYLXJ6VC.js} +2 -2
- package/dist/{chunk-FWDU7E34.js → chunk-HKCOGDXN.js} +1 -1
- package/dist/{chunk-R5OUUSLB.js → chunk-HKJTZG75.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-RWUY53VW.js → chunk-IW7EEYBS.js} +3 -3
- package/dist/{chunk-G32JHH7N.js → chunk-JLL7KQV5.js} +3 -3
- package/dist/{chunk-T5G5DM3H.js → chunk-L4YD6SVT.js} +1 -1
- package/dist/{chunk-GA7HSINF.js → chunk-L544S4UU.js} +2 -2
- package/dist/{chunk-YRSNOCFL.js → chunk-LKBJE5J7.js} +2 -2
- 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-OJ3BGBU5.js → chunk-LTNWLZLG.js} +2 -2
- package/dist/{chunk-EJEBRXOF.js → chunk-MV56SO2V.js} +5 -5
- package/dist/{chunk-NVQUEZU5.js → chunk-MWKJEZBY.js} +3 -3
- package/dist/{chunk-RTHWXAXT.js → chunk-NPPPQSRU.js} +1 -1
- package/dist/{chunk-G2B4Y67G.js → chunk-NQKHOLC7.js} +3 -3
- package/dist/{chunk-IOLOWL33.js → chunk-O3DHDBTW.js} +1 -1
- package/dist/{chunk-LYHAR4DX.js → chunk-OIFITGYL.js} +5 -5
- package/dist/{chunk-CUE3WM7L.js → chunk-OKOHQ3E7.js} +1 -1
- package/dist/{chunk-I2FNTMX2.js → chunk-OKPGW76D.js} +1 -1
- package/dist/{chunk-P3BEB4E6.js → chunk-OTGWNFBE.js} +2 -2
- package/dist/{chunk-3IYS6YNX.js → chunk-OYV7BFRC.js} +1 -1
- package/dist/{chunk-I476JLNZ.js → chunk-P5AOTCGQ.js} +1 -1
- package/dist/{chunk-LSOPZVR7.js → chunk-PGMKJ4OD.js} +1 -1
- package/dist/{chunk-THVGTKST.js → chunk-PZ4RVNSC.js} +1 -1
- package/dist/{chunk-KRO66LZZ.js → chunk-QEGOVWYP.js} +1 -1
- package/dist/{chunk-BRJ6LZM2.js → chunk-QFSPIYCM.js} +1 -1
- package/dist/{chunk-OSKXOCH3.js → chunk-RG6X2EQP.js} +3 -3
- package/dist/{chunk-4QI7VFLV.js → chunk-S4AQ7HAA.js} +5 -5
- package/dist/{chunk-G6HS6QA4.js → chunk-SJV7VVSS.js} +3 -3
- package/dist/{chunk-QHXO5H2S.js → chunk-SQSFVBDF.js} +3 -3
- package/dist/{chunk-W4YNOUHF.js → chunk-SRID7K37.js} +4 -4
- 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-ALGG2HRE.js → chunk-TDE6MUAQ.js} +1 -1
- package/dist/{chunk-43UOZIYG.js → chunk-TTQOKYTO.js} +1 -1
- package/dist/{chunk-N7CYJVV4.js → chunk-TWNOYES7.js} +1 -1
- package/dist/{chunk-5DYV5Q67.js → chunk-TYQJRTTK.js} +1 -1
- package/dist/{chunk-RBNYJP77.js → chunk-TZNNLLXI.js} +2 -2
- package/dist/{chunk-O4J3FUIX.js → chunk-UJ7SHDE7.js} +4 -4
- package/dist/{chunk-OPX4OGN3.js → chunk-WIMKLLMH.js} +2 -2
- package/dist/{chunk-IVZLFSQS.js → chunk-WMLXOW7D.js} +3 -3
- package/dist/{chunk-ZBV6BNG7.js → chunk-WN3YE3ND.js} +1 -1
- package/dist/{chunk-QHE4CNBM.js → chunk-WNVUN3LJ.js} +1 -1
- package/dist/{chunk-WOD6L2DC.js → chunk-XKU733RV.js} +1 -1
- package/dist/{chunk-FANYWNER.js → chunk-XL6DTL36.js} +1 -1
- package/dist/{chunk-DEMG2UTW.js → chunk-XR6IZOLT.js} +1 -1
- package/dist/{chunk-4WOLHRHH.js → chunk-Y4L7WNWU.js} +1 -1
- package/dist/{chunk-AZKGH2UI.js → chunk-YBPBSLGY.js} +55 -15
- package/dist/{chunk-43YZWF2B.js → chunk-YECS3C4D.js} +5 -5
- package/dist/generated/index.js +116 -116
- package/dist/index.js +116 -116
- package/dist/styles.css +228 -51
- package/package.json +3 -3
- package/dist/Tooltip-LKQF7CE4.css +0 -71
- package/dist/chunk-XETR2N6C.js +0 -2
|
@@ -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-SRID7K37.js';
|
|
3
3
|
import { LayerNodeBridge } from './chunk-X4HBZSXA.js';
|
|
4
|
-
import { Checkbox } from './chunk-
|
|
4
|
+
import { Checkbox } from './chunk-E7NTBXXE.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,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
8
|
import { Popover } from './chunk-VYUEAMA4.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-YBPBSLGY.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,7 +1,7 @@
|
|
|
1
1
|
import { Note } from './chunk-5SZGKSGL.js';
|
|
2
|
-
import { CanvasToolbar, toolForKey } from './chunk-
|
|
3
|
-
import { IDENTITY_VIEW, Canvas } from './chunk-
|
|
4
|
-
import { IconButton } from './chunk-
|
|
2
|
+
import { CanvasToolbar, toolForKey } from './chunk-5SV47YN7.js';
|
|
3
|
+
import { IDENTITY_VIEW, Canvas } from './chunk-DKDSBI75.js';
|
|
4
|
+
import { IconButton } from './chunk-BF2BXM6V.js';
|
|
5
5
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
6
6
|
import './CanvasBoard-U6LR5F6H.css';
|
|
7
7
|
import { useState, useRef, useImperativeHandle, useCallback, useMemo, useEffect } from 'react';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { PrincipalAvatar } from './chunk-HF5L56YQ.js';
|
|
2
2
|
import { toInstant, RelativeTime, formatExact, toISO } from './chunk-GBKBME7Q.js';
|
|
3
3
|
import { Document } from './chunk-I4PBFJGX.js';
|
|
4
|
-
import { Composer } from './chunk-
|
|
5
|
-
import { Button } from './chunk-
|
|
6
|
-
import { IconButton } from './chunk-
|
|
4
|
+
import { Composer } from './chunk-GYLXJ6VC.js';
|
|
5
|
+
import { Button } from './chunk-NPPPQSRU.js';
|
|
6
|
+
import { IconButton } from './chunk-BF2BXM6V.js';
|
|
7
7
|
import { Count } from './chunk-Y5CMDLQM.js';
|
|
8
8
|
import { useHeadingLevel, headingTag } from './chunk-PQADV6P6.js';
|
|
9
9
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { Skeleton } from './chunk-
|
|
1
|
+
import { Skeleton } from './chunk-BMTNY3FK.js';
|
|
2
2
|
import { titleWhenCut, titleIfCut } from './chunk-WSIJDWUG.js';
|
|
3
3
|
import { useReorder } from './chunk-JMBPMSNI.js';
|
|
4
|
-
import { Checkbox } from './chunk-
|
|
4
|
+
import { Checkbox } from './chunk-E7NTBXXE.js';
|
|
5
5
|
import { useMediaMatch } from './chunk-COS6LJ4K.js';
|
|
6
6
|
import { EmptyState } from './chunk-PPUR46MK.js';
|
|
7
|
-
import { Button } from './chunk-
|
|
8
|
-
import { IconButton } from './chunk-
|
|
7
|
+
import { Button } from './chunk-NPPPQSRU.js';
|
|
8
|
+
import { IconButton } from './chunk-BF2BXM6V.js';
|
|
9
9
|
import { VisuallyHidden } from './chunk-RRRK2KB6.js';
|
|
10
10
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
11
11
|
import './DataGrid-YNLCEH3E.css';
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { useClipboard } from './chunk-STJ7QBC3.js';
|
|
2
|
-
import { Button } from './chunk-
|
|
3
|
-
import { IconButton } from './chunk-
|
|
2
|
+
import { Button } from './chunk-NPPPQSRU.js';
|
|
3
|
+
import { IconButton } from './chunk-BF2BXM6V.js';
|
|
4
4
|
import { VisuallyHidden } from './chunk-RRRK2KB6.js';
|
|
5
5
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
6
6
|
import './Copyable-P5AMRHFX.css';
|
|
7
7
|
import { useCallback } from 'react';
|
|
8
8
|
import { CheckGlyph, CircleAlertGlyph, CopyGlyph } from '@crewlethq/icons/glyphs';
|
|
9
|
-
import {
|
|
9
|
+
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
10
10
|
|
|
11
11
|
function copyGlyph(state) {
|
|
12
12
|
if (state === "copied") return /* @__PURE__ */ jsx(CheckGlyph, { size: "sm" });
|
|
@@ -113,4 +113,4 @@ var Copyable = ({
|
|
|
113
113
|
);
|
|
114
114
|
};
|
|
115
115
|
|
|
116
|
-
export { CopyButton, Copyable };
|
|
116
|
+
export { CopyButton, CopyStatus, Copyable, copyGlyph };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { FileDrop, FilePickButton } from './chunk-
|
|
1
|
+
import { FileDrop, FilePickButton } from './chunk-BLFHFMXQ.js';
|
|
2
2
|
import { contrastRatio } from './chunk-3YOLD7WG.js';
|
|
3
3
|
import { normalizeHex } from './chunk-7W3LYIOC.js';
|
|
4
|
-
import { Button } from './chunk-
|
|
4
|
+
import { Button } from './chunk-NPPPQSRU.js';
|
|
5
5
|
import { VisuallyHidden } from './chunk-RRRK2KB6.js';
|
|
6
6
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
7
7
|
import './LogoSlot-LRHO4R54.css';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useThemePreference, useDensityPreference } from './chunk-Z24ZUSTX.js';
|
|
2
|
-
import { SegmentedControl } from './chunk-
|
|
2
|
+
import { SegmentedControl } from './chunk-BHR72Z7M.js';
|
|
3
3
|
import { SunGlyph, MonitorGlyph, MoonGlyph } from '@crewlethq/icons/glyphs';
|
|
4
4
|
import { jsx } from 'react/jsx-runtime';
|
|
5
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { changeText, sheetLabels } from './chunk-LFSIKGRQ.js';
|
|
2
|
-
import { Tooltip } from './chunk-
|
|
2
|
+
import { Tooltip } from './chunk-HXVMXH6U.js';
|
|
3
3
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
4
4
|
import './ChangeMark-KFDGBF6G.css';
|
|
5
5
|
import { jsx } from 'react/jsx-runtime';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Checkbox } from './chunk-
|
|
2
|
-
import { IconButton } from './chunk-
|
|
1
|
+
import { Checkbox } from './chunk-E7NTBXXE.js';
|
|
2
|
+
import { IconButton } from './chunk-BF2BXM6V.js';
|
|
3
3
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
4
4
|
import './MemberPicker-ZD35VEK6.css';
|
|
5
5
|
import { useId, useState } from 'react';
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { Select } from './chunk-JUZOMYOZ.js';
|
|
2
|
-
import { Modal } from './chunk-
|
|
3
|
-
import { CopyButton } from './chunk-
|
|
2
|
+
import { Modal } from './chunk-A2TYEOB4.js';
|
|
3
|
+
import { CopyButton } from './chunk-T2RRTICC.js';
|
|
4
4
|
import { Callout } from './chunk-BPCY7ZID.js';
|
|
5
5
|
import { PrincipalAvatar } from './chunk-HF5L56YQ.js';
|
|
6
6
|
import { useMediaMatch } from './chunk-COS6LJ4K.js';
|
|
7
|
-
import { Button } from './chunk-
|
|
8
|
-
import { IconButton } from './chunk-
|
|
7
|
+
import { Button } from './chunk-NPPPQSRU.js';
|
|
8
|
+
import { IconButton } from './chunk-BF2BXM6V.js';
|
|
9
9
|
import { useHeadingLevel, headingTag } from './chunk-PQADV6P6.js';
|
|
10
10
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
11
11
|
import './ShareDialog-72VTMM4K.css';
|
|
@@ -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-E7NTBXXE.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,8 +1,8 @@
|
|
|
1
|
-
import { emojiOfShortcode, emojiName, EmojiPicker } from './chunk-
|
|
1
|
+
import { emojiOfShortcode, emojiName, EmojiPicker } from './chunk-L544S4UU.js';
|
|
2
2
|
import { heldHint } from './chunk-TDFLCUBE.js';
|
|
3
|
-
import { Tooltip } from './chunk-
|
|
3
|
+
import { Tooltip } from './chunk-HXVMXH6U.js';
|
|
4
4
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
5
|
-
import './ChatScale-
|
|
5
|
+
import './ChatScale-6NM4TP7R.css';
|
|
6
6
|
import './ReactionBar-JMX75TMV.css';
|
|
7
7
|
import { FaceSlightlySmilingPlusGlyph } from '@crewlethq/icons/glyphs';
|
|
8
8
|
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Callout } from './chunk-BPCY7ZID.js';
|
|
2
|
-
import { Button } from './chunk-
|
|
2
|
+
import { Button } from './chunk-NPPPQSRU.js';
|
|
3
3
|
import { isComposing } from './chunk-EDPMHSLZ.js';
|
|
4
4
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
5
5
|
import { useEffect } from 'react';
|
|
@@ -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-BHR72Z7M.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,5 +1,5 @@
|
|
|
1
1
|
import { normalizeHex, parseColourInput } from './chunk-7W3LYIOC.js';
|
|
2
|
-
import { FormField, Input, InputAffix } from './chunk-
|
|
2
|
+
import { FormField, Input, InputAffix } from './chunk-HKCOGDXN.js';
|
|
3
3
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
4
4
|
import './ColorField-2OIOWT3Z.css';
|
|
5
5
|
import { useId, useState } from 'react';
|
|
@@ -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-YBPBSLGY.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,12 +1,12 @@
|
|
|
1
|
-
import { Button } from './chunk-
|
|
2
|
-
import { IconButton } from './chunk-
|
|
3
|
-
import { Tooltip } from './chunk-
|
|
1
|
+
import { Button } from './chunk-NPPPQSRU.js';
|
|
2
|
+
import { IconButton } from './chunk-BF2BXM6V.js';
|
|
3
|
+
import { Tooltip } from './chunk-HXVMXH6U.js';
|
|
4
4
|
import { useComposedRef } from './chunk-L72URIHR.js';
|
|
5
5
|
import { useLayerContainer, viewportBounds, visibleBounds, LAYER_GAP, anchorGone, placePopup, LAYER_REPOSITION_EVENT } from './chunk-FIX72ZEC.js';
|
|
6
6
|
import { usePopupLayer } from './chunk-EDPMHSLZ.js';
|
|
7
7
|
import { returnFocus } from './chunk-4ITETIGZ.js';
|
|
8
8
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
9
|
-
import './Menu-
|
|
9
|
+
import './Menu-UY2O4OCZ.css';
|
|
10
10
|
import { useId, useState, useRef, useCallback, useLayoutEffect, useEffect } from 'react';
|
|
11
11
|
import { createPortal } from 'react-dom';
|
|
12
12
|
import { EllipsisVerticalGlyph, CheckGlyph } from '@crewlethq/icons/glyphs';
|
|
@@ -43,11 +43,14 @@ function Menu({
|
|
|
43
43
|
renderTrigger,
|
|
44
44
|
header,
|
|
45
45
|
tooltip,
|
|
46
|
+
activeDescendant = false,
|
|
46
47
|
className
|
|
47
48
|
}) {
|
|
48
49
|
const id = useId();
|
|
49
50
|
const menuId = `${id}-menu`;
|
|
50
51
|
const headerId = `${id}-header`;
|
|
52
|
+
const itemId = (index) => `${id}-item-${index}`;
|
|
53
|
+
const [active, setActive] = useState(-1);
|
|
51
54
|
const [uncontrolled, setUncontrolled] = useState(false);
|
|
52
55
|
const open = controlled ?? uncontrolled;
|
|
53
56
|
const triggerRef = useRef(null);
|
|
@@ -58,8 +61,10 @@ function Menu({
|
|
|
58
61
|
const container = useLayerContainer();
|
|
59
62
|
const isControlled = useRef(controlled !== void 0);
|
|
60
63
|
const report = useRef(onOpenChange);
|
|
64
|
+
const descendant = useRef(activeDescendant);
|
|
61
65
|
isControlled.current = controlled !== void 0;
|
|
62
66
|
report.current = onOpenChange;
|
|
67
|
+
descendant.current = activeDescendant;
|
|
63
68
|
const setOpen = useCallback((next) => {
|
|
64
69
|
if (!isControlled.current) setUncontrolled(next);
|
|
65
70
|
report.current?.(next);
|
|
@@ -84,9 +89,9 @@ function Menu({
|
|
|
84
89
|
const entries = () => menu.current ? [...menu.current.querySelectorAll(ITEM_SELECTOR)] : [];
|
|
85
90
|
useLayoutEffect(() => {
|
|
86
91
|
if (!open) return;
|
|
87
|
-
const
|
|
88
|
-
if (!(
|
|
89
|
-
opener.current =
|
|
92
|
+
const active2 = document.activeElement;
|
|
93
|
+
if (!(active2 instanceof Node && menu.current?.contains(active2))) {
|
|
94
|
+
opener.current = active2 instanceof HTMLElement ? active2 : null;
|
|
90
95
|
}
|
|
91
96
|
}, [open]);
|
|
92
97
|
const position = useCallback(() => {
|
|
@@ -145,9 +150,21 @@ function Menu({
|
|
|
145
150
|
useLayoutEffect(() => {
|
|
146
151
|
if (!placed) return;
|
|
147
152
|
const all = entries();
|
|
148
|
-
(
|
|
153
|
+
if (descendant.current) {
|
|
154
|
+
menu.current?.focus();
|
|
155
|
+
setActive(startAt.current === "none" || all.length === 0 ? -1 : startAt.current === "last" ? all.length - 1 : 0);
|
|
156
|
+
} else {
|
|
157
|
+
(startAt.current === "last" ? all[all.length - 1] : all[0])?.focus();
|
|
158
|
+
}
|
|
149
159
|
startAt.current = "first";
|
|
150
160
|
}, [placed]);
|
|
161
|
+
useEffect(() => {
|
|
162
|
+
if (!open) setActive(-1);
|
|
163
|
+
}, [open]);
|
|
164
|
+
useEffect(() => {
|
|
165
|
+
if (!activeDescendant || active < 0) return;
|
|
166
|
+
entries()[active]?.scrollIntoView?.({ block: "nearest" });
|
|
167
|
+
}, [active, activeDescendant]);
|
|
151
168
|
function onTriggerKeyDown(event) {
|
|
152
169
|
if (event.key === "ArrowDown" || event.key === "ArrowUp") {
|
|
153
170
|
event.preventDefault();
|
|
@@ -160,16 +177,26 @@ function Menu({
|
|
|
160
177
|
event.stopPropagation();
|
|
161
178
|
}
|
|
162
179
|
const all = entries();
|
|
163
|
-
const at = all.indexOf(document.activeElement);
|
|
164
|
-
const go = (index) =>
|
|
180
|
+
const at = activeDescendant ? active : all.indexOf(document.activeElement);
|
|
181
|
+
const go = (index) => {
|
|
182
|
+
const next = (index + all.length) % all.length;
|
|
183
|
+
if (activeDescendant) setActive(next);
|
|
184
|
+
else all[next]?.focus();
|
|
185
|
+
};
|
|
165
186
|
switch (event.key) {
|
|
166
187
|
case "ArrowDown":
|
|
167
188
|
event.preventDefault();
|
|
168
|
-
go(at + 1);
|
|
189
|
+
go(at < 0 ? 0 : at + 1);
|
|
169
190
|
return;
|
|
170
191
|
case "ArrowUp":
|
|
171
192
|
event.preventDefault();
|
|
172
|
-
go(at - 1);
|
|
193
|
+
go(at < 0 ? all.length - 1 : at - 1);
|
|
194
|
+
return;
|
|
195
|
+
case "Enter":
|
|
196
|
+
case " ":
|
|
197
|
+
if (!activeDescendant) return;
|
|
198
|
+
event.preventDefault();
|
|
199
|
+
if (at >= 0) all[at]?.click();
|
|
173
200
|
return;
|
|
174
201
|
case "Home":
|
|
175
202
|
event.preventDefault();
|
|
@@ -189,7 +216,7 @@ function Menu({
|
|
|
189
216
|
const candidate = all[(at + step) % all.length];
|
|
190
217
|
if ((candidate.textContent ?? "").trim().toLocaleLowerCase().startsWith(letter)) {
|
|
191
218
|
event.preventDefault();
|
|
192
|
-
|
|
219
|
+
go(all.indexOf(candidate));
|
|
193
220
|
return;
|
|
194
221
|
}
|
|
195
222
|
}
|
|
@@ -202,6 +229,9 @@ function Menu({
|
|
|
202
229
|
item2.onSelect();
|
|
203
230
|
}
|
|
204
231
|
const described = (entry) => entry.description !== void 0 && entry.description !== null && entry.description !== false && entry.description !== "";
|
|
232
|
+
const order = new Map(
|
|
233
|
+
items.filter((entry) => entry.kind !== "separator").map((entry, index) => [entry.key, index])
|
|
234
|
+
);
|
|
205
235
|
const item = (entry) => /* @__PURE__ */ jsxs(
|
|
206
236
|
"button",
|
|
207
237
|
{
|
|
@@ -209,7 +239,11 @@ function Menu({
|
|
|
209
239
|
role: entry.checked === void 0 ? "menuitem" : "menuitemradio",
|
|
210
240
|
"aria-checked": entry.checked,
|
|
211
241
|
tabIndex: -1,
|
|
242
|
+
id: activeDescendant ? itemId(order.get(entry.key)) : void 0,
|
|
243
|
+
onPointerMove: activeDescendant ? () => setActive(order.get(entry.key)) : void 0,
|
|
244
|
+
onMouseDown: activeDescendant ? (event) => event.preventDefault() : void 0,
|
|
212
245
|
className: cx(
|
|
246
|
+
activeDescendant && order.get(entry.key) === active && "is-active",
|
|
213
247
|
"crewlet-menu__item",
|
|
214
248
|
// A row with a second line is taller than a row of verbs, and says
|
|
215
249
|
// so: the row height alone would hold both lines in the space meant
|
|
@@ -236,11 +270,17 @@ function Menu({
|
|
|
236
270
|
const list = open ? /* @__PURE__ */ jsxs(
|
|
237
271
|
"div",
|
|
238
272
|
{
|
|
239
|
-
className: cx(
|
|
273
|
+
className: cx(
|
|
274
|
+
"crewlet-menu",
|
|
275
|
+
container !== null && container !== document.body ? "crewlet-menu--in-host" : null,
|
|
276
|
+
activeDescendant && "crewlet-menu--descendant",
|
|
277
|
+
className
|
|
278
|
+
),
|
|
240
279
|
id: menuId,
|
|
241
280
|
role: "menu",
|
|
242
281
|
"aria-label": label,
|
|
243
282
|
"aria-describedby": header ? headerId : void 0,
|
|
283
|
+
"aria-activedescendant": activeDescendant && active >= 0 ? itemId(active) : void 0,
|
|
244
284
|
tabIndex: -1,
|
|
245
285
|
ref: (el) => {
|
|
246
286
|
menu.current = el;
|
|
@@ -278,7 +318,7 @@ function Menu({
|
|
|
278
318
|
if (open) {
|
|
279
319
|
close(true);
|
|
280
320
|
} else {
|
|
281
|
-
startAt.current = "first";
|
|
321
|
+
startAt.current = activeDescendant ? "none" : "first";
|
|
282
322
|
setOpen(true);
|
|
283
323
|
}
|
|
284
324
|
},
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { Modal } from './chunk-
|
|
1
|
+
import { Modal } from './chunk-A2TYEOB4.js';
|
|
2
2
|
import { useClipboard } from './chunk-STJ7QBC3.js';
|
|
3
3
|
import { EmptyValue } from './chunk-WGLOH33S.js';
|
|
4
4
|
import { useCardHeaderSlot } from './chunk-AV2DXAEL.js';
|
|
5
|
-
import { Checkbox } from './chunk-
|
|
6
|
-
import { Menu } from './chunk-
|
|
7
|
-
import { Button } from './chunk-
|
|
8
|
-
import { IconButton } from './chunk-
|
|
5
|
+
import { Checkbox } from './chunk-E7NTBXXE.js';
|
|
6
|
+
import { Menu } from './chunk-YBPBSLGY.js';
|
|
7
|
+
import { Button } from './chunk-NPPPQSRU.js';
|
|
8
|
+
import { IconButton } from './chunk-BF2BXM6V.js';
|
|
9
9
|
import { VisuallyHidden } from './chunk-RRRK2KB6.js';
|
|
10
10
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
11
11
|
import './DataTable-GSLDFY5U.css';
|