@crewlethq/ui 0.148.0 → 0.150.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 +3 -3
- 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/ArtifactRef/index.js +2 -2
- package/dist/AttentionList/index.js +4 -4
- package/dist/Avatar/index.js +1 -1
- package/dist/{Avatar-HD7YSWDV.css → Avatar-OUKBB6UF.css} +19 -5
- package/dist/AvatarPicker/index.js +8 -8
- package/dist/BriefCard/index.js +3 -3
- package/dist/Button/index.js +2 -2
- package/dist/Callout/index.js +3 -3
- 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/ChatMessage/index.js +3 -3
- package/dist/ChatThread/index.js +4 -4
- package/dist/CheckGrid/index.js +5 -5
- package/dist/Checkbox/index.js +4 -4
- package/dist/Clamp/index.js +3 -3
- package/dist/CodeBlock/CodeBlock.d.ts +11 -1
- package/dist/CodeBlock/index.js +6 -6
- package/dist/CodeBlock/syntax.d.ts +23 -0
- package/dist/{CodeBlock-LS7H6KUQ.css → CodeBlock-GPNAG43I.css} +34 -0
- package/dist/ColorField/index.js +4 -4
- package/dist/ColorSwatch/index.js +6 -6
- package/dist/Combobox/index.js +4 -4
- package/dist/CommandPalette/index.js +6 -6
- package/dist/CommentThread/index.js +7 -7
- 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 +5 -5
- package/dist/DataGrid/index.js +7 -6
- 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/DeliveryReceipt.d.ts +69 -53
- package/dist/DeliveryReceipt/index.js +8 -1
- package/dist/DeliveryReceipt-GTES3RSG.css +90 -0
- package/dist/DocTabsEditor/index.js +6 -6
- package/dist/DownloadButton/index.js +3 -3
- package/dist/DurationField/DurationField.d.ts +59 -0
- package/dist/DurationField/index.d.ts +3 -0
- package/dist/DurationField/index.js +32 -0
- package/dist/DurationField-TJFIAUMW.css +23 -0
- package/dist/{Editor-PGDR7XMZ.js → Editor-FXREHINI.js} +5 -5
- package/dist/EmojiPicker/index.js +4 -4
- 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 +5 -5
- package/dist/Fullscreen/index.js +3 -3
- package/dist/GraphCanvas/index.js +6 -6
- 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/InlineRef/index.js +1 -1
- package/dist/{InlineRef-LHU6MH4I.css → InlineRef-CUBTBIYD.css} +2 -1
- package/dist/Input/index.js +3 -3
- package/dist/KeyValueRows/index.js +5 -5
- package/dist/LinkInterstitial/index.js +6 -6
- package/dist/ListDetail/index.js +3 -3
- 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/index.js +4 -4
- package/dist/MergeConflicts/index.js +7 -7
- package/dist/MessageActions/index.js +5 -5
- package/dist/Modal/index.js +4 -4
- package/dist/NoticeList/index.js +3 -3
- package/dist/NumberField/NumberField.d.ts +56 -0
- package/dist/NumberField/index.d.ts +3 -0
- package/dist/NumberField/index.js +29 -0
- package/dist/NumberField-G7H4VNZP.css +30 -0
- 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 +10 -9
- package/dist/PeekRail/index.js +4 -4
- package/dist/PeopleRail/index.js +5 -5
- package/dist/PinTile/index.js +3 -3
- package/dist/PresenceStack/index.js +1 -1
- package/dist/PresenterView/index.js +5 -5
- package/dist/PresetChips/PresetChips.d.ts +27 -0
- package/dist/PresetChips/index.d.ts +2 -0
- package/dist/PresetChips/index.js +21 -0
- package/dist/Principal/index.js +1 -1
- package/dist/PrincipalPicker/index.js +6 -6
- package/dist/ProposalCard/index.js +8 -8
- package/dist/RailList/index.js +5 -5
- 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 +5 -5
- package/dist/SandboxedFrame/index.js +5 -5
- package/dist/SectionFrame/index.js +4 -4
- package/dist/SegmentedControl/index.js +6 -6
- package/dist/SelectionBar/index.js +3 -3
- package/dist/SendButton/index.js +3 -3
- package/dist/SettingForm/SettingForm.d.ts +50 -0
- package/dist/SettingForm/index.d.ts +3 -0
- package/dist/SettingForm/index.js +20 -0
- package/dist/SettingForm-ODVZZ7JZ.css +30 -0
- package/dist/SettingsTable/SettingsTable.d.ts +47 -34
- package/dist/SettingsTable/index.d.ts +3 -2
- package/dist/SettingsTable/index.js +7 -5
- package/dist/SettingsTable-KAMWVCQB.css +169 -0
- package/dist/ShareDialog/index.js +9 -9
- package/dist/SheetColumnEditor/index.js +11 -11
- package/dist/SheetGrid/index.js +7 -7
- package/dist/SidePanel/index.js +3 -3
- package/dist/SidebarNav/index.js +3 -3
- 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 +6 -6
- 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/index.js +2 -2
- package/dist/TimeRangePicker/index.js +10 -10
- package/dist/TimeWindowPicker/index.js +5 -5
- package/dist/Tooltip/Tooltip.d.ts +8 -1
- package/dist/Tooltip/index.js +1 -1
- package/dist/TreeCanvas/index.js +5 -5
- package/dist/TreeGrid/index.js +8 -7
- package/dist/ValueField/index.js +5 -5
- package/dist/VersionCompare/index.js +7 -7
- package/dist/VersionTimeline/index.js +4 -4
- package/dist/WorkingLine/index.js +2 -2
- package/dist/{chunk-CYRGASHY.js → chunk-27NS67UI.js} +2 -2
- package/dist/{chunk-2RJFKMTX.js → chunk-27ZF7D3C.js} +2 -2
- package/dist/chunk-2EPEVS2M.js +158 -0
- package/dist/{chunk-SPCNQUEU.js → chunk-2PSOUDCS.js} +1 -1
- package/dist/{chunk-IEM64WYC.js → chunk-2QPELDAA.js} +2 -2
- package/dist/{chunk-RG6XQJ74.js → chunk-2W2KAF7D.js} +1 -1
- package/dist/{chunk-CLEQII3E.js → chunk-3EL3IF3W.js} +1 -1
- package/dist/{chunk-2Z5SMA7Q.js → chunk-3OZPHFDT.js} +1 -1
- package/dist/{chunk-BXP6WDKR.js → chunk-3Q5USPLM.js} +2 -2
- package/dist/{chunk-YLOADTDS.js → chunk-3RLOH5AR.js} +1 -1
- package/dist/{chunk-IAER2ZMS.js → chunk-4DUK2TC4.js} +1 -1
- package/dist/{chunk-T7J2U3IN.js → chunk-4LNSURYZ.js} +1 -1
- package/dist/{chunk-WTRAMP4V.js → chunk-5ORAUELE.js} +3 -3
- package/dist/chunk-6QWSGM4W.js +21 -0
- package/dist/{chunk-VXSCGB2L.js → chunk-6RBE5RVG.js} +2 -2
- package/dist/{chunk-7UN7ICUE.js → chunk-733FZXNS.js} +2 -2
- package/dist/{chunk-UOVEN5RY.js → chunk-7C6NHVMX.js} +5 -5
- package/dist/{chunk-RIAEOKY7.js → chunk-7CVV3DQC.js} +1 -1
- package/dist/{chunk-RJZO5NQW.js → chunk-7FY7L6WD.js} +2 -2
- package/dist/{chunk-OU4P4E3U.js → chunk-7J2RIAZ4.js} +1 -1
- package/dist/{chunk-BPCXMQMB.js → chunk-7MAU74EI.js} +1 -1
- package/dist/{chunk-UJETUDIL.js → chunk-7PK2Z5JY.js} +2 -2
- package/dist/{chunk-SSRQLPGT.js → chunk-7SXCCVUR.js} +2 -2
- package/dist/{chunk-RMGAZEEX.js → chunk-7WXLPNZF.js} +1 -1
- package/dist/{chunk-MMJYDMGL.js → chunk-AH7R777J.js} +2 -2
- package/dist/{chunk-5L4ZSNGP.js → chunk-AU4EKD2G.js} +1 -1
- package/dist/{chunk-PDGXQBFS.js → chunk-BFZAGIXR.js} +3 -1
- package/dist/{chunk-QNN4OYLU.js → chunk-BJE7TPO6.js} +2 -2
- package/dist/chunk-BQMDD2FD.js +224 -0
- package/dist/{chunk-TYCICVST.js → chunk-BRMJPZC4.js} +1 -1
- package/dist/{chunk-EZG3SRSM.js → chunk-CA62YCFK.js} +1 -1
- package/dist/{chunk-JXLFC5BX.js → chunk-CC5NUAOF.js} +1 -1
- package/dist/{chunk-74B3HREV.js → chunk-CJGLMT44.js} +1 -1
- package/dist/{chunk-TCQIJ2VO.js → chunk-CRGYWLP6.js} +1 -1
- package/dist/{chunk-2UEMCSVB.js → chunk-CXJMWEZC.js} +1 -1
- package/dist/{chunk-HHCD55D3.js → chunk-D33K2BCZ.js} +1 -1
- package/dist/chunk-DDGHRDGV.js +134 -0
- package/dist/{chunk-SNKLBPXQ.js → chunk-DGB7R42F.js} +1 -1
- package/dist/{chunk-GYVL23ZK.js → chunk-DLYYW77C.js} +1 -1
- package/dist/{chunk-7VE7SOH6.js → chunk-E3JUS3CR.js} +1 -1
- package/dist/{chunk-X2R3GWCB.js → chunk-ECHQLOWI.js} +2 -2
- package/dist/{chunk-QA774VCH.js → chunk-ECYA6XZL.js} +1 -1
- package/dist/{chunk-QDVXEQJC.js → chunk-EDQHZOU3.js} +3 -3
- package/dist/{chunk-HLCQHRHJ.js → chunk-EO64FXVL.js} +1 -1
- package/dist/{chunk-BXGFDSC7.js → chunk-F6OYNO7O.js} +3 -3
- package/dist/{chunk-U62CXJPE.js → chunk-FCRJAFTU.js} +7 -7
- package/dist/{chunk-LO3CTXQI.js → chunk-FMKQSDBQ.js} +3 -3
- package/dist/{chunk-4DJONKYN.js → chunk-FYVV6GJN.js} +1 -1
- package/dist/{chunk-D7XI5DN5.js → chunk-GMXOZEF5.js} +1 -1
- package/dist/{chunk-3HY3KHMR.js → chunk-GR6XGA5V.js} +2 -2
- package/dist/{chunk-R4H352IB.js → chunk-HHTAGV5R.js} +1 -1
- package/dist/{chunk-EVOLZQTB.js → chunk-HIDOUXLD.js} +1 -1
- package/dist/{chunk-CMLRFHBD.js → chunk-HJ6ZY4UX.js} +2 -2
- package/dist/chunk-HU56GCZ7.js +198 -0
- package/dist/{chunk-F37ZBF4D.js → chunk-HYUO2RHC.js} +1 -1
- package/dist/{chunk-QGDQ5YDC.js → chunk-IMF3CPTY.js} +2 -2
- package/dist/{chunk-TRV7VZW6.js → chunk-IRGS5FEC.js} +1 -1
- package/dist/{chunk-P67SLIPX.js → chunk-IRLHICS4.js} +2 -2
- package/dist/{chunk-HDJMTHAP.js → chunk-IZH5DCOQ.js} +1 -1
- package/dist/{chunk-3ZJ6X3ZJ.js → chunk-JD5K6Y7Q.js} +3 -3
- package/dist/{chunk-7R77GFUO.js → chunk-JNDZGQGS.js} +2 -2
- package/dist/{chunk-DJAYXYDZ.js → chunk-KM5OKCW6.js} +2 -2
- package/dist/{chunk-NDZEN2ON.js → chunk-KQUENZR3.js} +1 -1
- package/dist/{chunk-PD3RJT3F.js → chunk-LDSLEEWR.js} +3 -3
- package/dist/{chunk-MCZJ2SD7.js → chunk-LZ3TKYAY.js} +2 -2
- package/dist/{chunk-LDVZYLA6.js → chunk-M2USLODI.js} +2 -2
- package/dist/{chunk-VGAZHT6S.js → chunk-M4VA76JF.js} +6 -6
- package/dist/{chunk-5Y3BFCGM.js → chunk-MUBJN75T.js} +5 -5
- package/dist/{chunk-5B5N4X5H.js → chunk-N3LAAA4R.js} +3 -3
- package/dist/{chunk-RVFSUF7V.js → chunk-N3R2POGO.js} +3 -3
- package/dist/chunk-NG6GEBSJ.js +53 -0
- package/dist/chunk-NZHWGKPW.js +334 -0
- package/dist/{chunk-XIJU47UT.js → chunk-O2J5PSWI.js} +2 -2
- package/dist/{chunk-R75TTEHL.js → chunk-OAD4AXYJ.js} +1 -1
- package/dist/{chunk-ZCA3JNQS.js → chunk-ODN3LSYW.js} +1 -1
- package/dist/{chunk-BKHS6YPM.js → chunk-OMVGWZ3V.js} +1 -1
- package/dist/chunk-OX332RI7.js +127 -0
- package/dist/{chunk-ETVXKUW7.js → chunk-PW6QXVIX.js} +3 -3
- package/dist/{chunk-N37AX25G.js → chunk-Q3SHCEXN.js} +7 -196
- package/dist/{chunk-PGLRFPYY.js → chunk-Q7RI66TT.js} +4 -4
- package/dist/{chunk-FYN2HXEB.js → chunk-QRUQOITJ.js} +1 -1
- package/dist/{chunk-XNTYJAHL.js → chunk-QULAFXL3.js} +1 -1
- package/dist/{chunk-QO76JNSB.js → chunk-R2RHSKAT.js} +3 -3
- package/dist/{chunk-V2K6EHJA.js → chunk-RNVPYDRQ.js} +1 -1
- package/dist/{chunk-QPAUKLNC.js → chunk-RUKSDKG5.js} +4 -3
- package/dist/{chunk-WGSIKYDE.js → chunk-RUNZWWN6.js} +5 -5
- package/dist/{chunk-QNG5MH7P.js → chunk-RXHY5T2Z.js} +2 -2
- package/dist/{chunk-Z3GOZ42N.js → chunk-S4ADDFRT.js} +3 -3
- package/dist/{chunk-EFTWYGN5.js → chunk-TBOVJ7RL.js} +1 -1
- package/dist/{chunk-ZPJX57QO.js → chunk-TPABM6DW.js} +2 -2
- package/dist/{chunk-ACXYNJZR.js → chunk-TSLXQVBC.js} +1 -1
- package/dist/{chunk-WK3OWTOD.js → chunk-TTUFOH2Y.js} +1 -1
- package/dist/{chunk-LHGDKWHV.js → chunk-U3ZUZ7VU.js} +3 -3
- package/dist/{chunk-X4QL7STV.js → chunk-UEO3A76N.js} +1 -1
- package/dist/{chunk-LILN66O3.js → chunk-V4CGY2CI.js} +1 -1
- package/dist/{chunk-PY3PKWAN.js → chunk-V67VL3WD.js} +1 -1
- package/dist/{chunk-JLWCONCZ.js → chunk-VARFEAUH.js} +5 -5
- package/dist/{chunk-OL42IZ6I.js → chunk-VFC7KVCW.js} +1 -1
- package/dist/{chunk-HTWN4IJJ.js → chunk-W2T7RGH7.js} +2 -2
- package/dist/{chunk-3FBJACLW.js → chunk-WAF36OFS.js} +5 -5
- package/dist/{chunk-EILMLMSG.js → chunk-WOHPQEBZ.js} +1 -1
- package/dist/{chunk-QWDTC2UI.js → chunk-WSKVFRKK.js} +1 -1
- package/dist/{chunk-TAOVSH32.js → chunk-X5ZUDJNK.js} +1 -1
- package/dist/{chunk-CNEHTSA5.js → chunk-XJU53WMW.js} +1 -1
- package/dist/{chunk-VGYVCLN4.js → chunk-XQMRSL7Z.js} +1 -1
- package/dist/{chunk-UC4YASMJ.js → chunk-YMBXTGFC.js} +2 -2
- package/dist/{chunk-VWEF6LTZ.js → chunk-YOCTDR2P.js} +1 -1
- package/dist/{chunk-H4OV6SYF.js → chunk-YRNIPS4M.js} +2 -2
- package/dist/{chunk-2BIGA4VD.js → chunk-YWPUT6JQ.js} +2 -2
- package/dist/{chunk-5DYNF5U2.js → chunk-Z6HWOPI7.js} +1 -1
- package/dist/{chunk-DQ3MKG7I.js → chunk-Z6OZNSHF.js} +1 -1
- package/dist/{chunk-PRNJO37A.js → chunk-Z7BA2EVV.js} +2 -2
- package/dist/{chunk-YKM3HCDL.js → chunk-ZAQ7CEYN.js} +2 -2
- package/dist/{chunk-WYO5KDET.js → chunk-ZC73GPA3.js} +1 -1
- package/dist/{chunk-SQHDMVU7.js → chunk-ZFSKRN6D.js} +1 -1
- package/dist/{chunk-4DKECHWE.js → chunk-ZMZNKDPO.js} +4 -4
- package/dist/{chunk-2FAEKL36.js → chunk-ZNEMXLTY.js} +1 -1
- package/dist/generated/index.d.ts +4 -0
- package/dist/generated/index.js +153 -148
- package/dist/index.js +153 -148
- package/dist/styles.css +286 -132
- package/package.json +3 -3
- package/dist/DeliveryReceipt-BILVVNTO.css +0 -64
- package/dist/SettingsTable-MTZJTKA6.css +0 -182
- package/dist/chunk-GTNXDLYH.js +0 -146
- package/dist/chunk-L6E4DVIF.js +0 -131
- package/dist/chunk-TNYRJVKE.js +0 -94
- /package/dist/{chunk-II7TPQ64.js → chunk-2DASEYUG.js} +0 -0
|
@@ -1,208 +1,19 @@
|
|
|
1
|
+
import { GRID_FOOT_LABELS, GRID_ICON_TRACK, headerWord, sortByValue, parseGridSort, overrunning, tableTrack, GridHeadCell, GridFoot, droppedNames, nextGridSort, rowLinkTitle, squeezedCells, SHORT_COLUMN_PX, alignOf } from './chunk-HU56GCZ7.js';
|
|
1
2
|
import { Skeleton } from './chunk-WFAJYBLX.js';
|
|
2
|
-
import { titleWhenCut
|
|
3
|
+
import { titleWhenCut } from './chunk-WSIJDWUG.js';
|
|
3
4
|
import { useReorder } from './chunk-JMBPMSNI.js';
|
|
4
|
-
import { Checkbox } from './chunk-
|
|
5
|
+
import { Checkbox } from './chunk-BRMJPZC4.js';
|
|
5
6
|
import { EmptyState } from './chunk-PPUR46MK.js';
|
|
6
7
|
import { useMediaMatch } from './chunk-COS6LJ4K.js';
|
|
7
|
-
import {
|
|
8
|
-
import { IconButton } from './chunk-DJAYXYDZ.js';
|
|
8
|
+
import { IconButton } from './chunk-KM5OKCW6.js';
|
|
9
9
|
import { VisuallyHidden } from './chunk-RRRK2KB6.js';
|
|
10
10
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
11
11
|
import './DataGrid-XX6ALDIM.css';
|
|
12
12
|
import { useId, useRef, useState, useMemo, useCallback, useLayoutEffect, useImperativeHandle, useSyncExternalStore, useEffect, Fragment as Fragment$1 } from 'react';
|
|
13
13
|
import { breakpoint } from '@crewlethq/tokens';
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
14
|
+
import { GripVerticalGlyph, ChevronRightGlyph } from '@crewlethq/icons/glyphs';
|
|
15
|
+
import { jsxs, Fragment, jsx } from 'react/jsx-runtime';
|
|
16
16
|
|
|
17
|
-
// src/utils/tableTrack.ts
|
|
18
|
-
var SHORT_COLUMN_PX = 192;
|
|
19
|
-
var SHRINK_SHARE = 0.2;
|
|
20
|
-
function tableTrack({ width, shrink, floor, short }) {
|
|
21
|
-
if (width) return width;
|
|
22
|
-
if (shrink) return `fit-content(${SHRINK_SHARE * 100}%)`;
|
|
23
|
-
if (short) return floor === "max-content" || !floor ? "max-content" : `minmax(${floor}, max-content)`;
|
|
24
|
-
return `minmax(${floor ?? 0}, 1fr)`;
|
|
25
|
-
}
|
|
26
|
-
var GRID_ICON_TRACK = "calc(var(--size-target-min) + var(--spacing-3) * 2)";
|
|
27
|
-
function alignOf(column) {
|
|
28
|
-
return column.align ?? (column.icon ? "center" : "left");
|
|
29
|
-
}
|
|
30
|
-
function headerWord(column) {
|
|
31
|
-
return typeof column.header === "string" ? column.header : "";
|
|
32
|
-
}
|
|
33
|
-
function columnName(column) {
|
|
34
|
-
return headerWord(column) || column.label || column.key;
|
|
35
|
-
}
|
|
36
|
-
function parseGridSort(raw) {
|
|
37
|
-
if (!raw) return null;
|
|
38
|
-
return raw.startsWith("-") ? { key: raw.slice(1), desc: true } : { key: raw, desc: false };
|
|
39
|
-
}
|
|
40
|
-
function nextGridSort(column, sort, defaultSort = "") {
|
|
41
|
-
const chosen = sort === defaultSort ? "" : sort;
|
|
42
|
-
const current2 = parseGridSort(chosen || defaultSort);
|
|
43
|
-
let next;
|
|
44
|
-
if (current2?.key !== column) next = column;
|
|
45
|
-
else if (!current2.desc) next = `-${column}`;
|
|
46
|
-
else next = chosen ? "" : column;
|
|
47
|
-
return next === defaultSort ? "" : next;
|
|
48
|
-
}
|
|
49
|
-
function compare(a, b) {
|
|
50
|
-
if (typeof a === "number" && typeof b === "number") {
|
|
51
|
-
if (Number.isNaN(a)) return Number.isNaN(b) ? 0 : 1;
|
|
52
|
-
if (Number.isNaN(b)) return -1;
|
|
53
|
-
return a < b ? -1 : a > b ? 1 : 0;
|
|
54
|
-
}
|
|
55
|
-
return String(a).localeCompare(String(b), void 0, { numeric: true, sensitivity: "base" });
|
|
56
|
-
}
|
|
57
|
-
function sortByValue(items, get, desc) {
|
|
58
|
-
return [...items].sort((a, b) => {
|
|
59
|
-
const av = get(a);
|
|
60
|
-
const bv = get(b);
|
|
61
|
-
if (av == null && bv == null) return 0;
|
|
62
|
-
if (av == null) return 1;
|
|
63
|
-
if (bv == null) return -1;
|
|
64
|
-
const cmp = compare(av, bv);
|
|
65
|
-
return desc ? -cmp : cmp;
|
|
66
|
-
});
|
|
67
|
-
}
|
|
68
|
-
var GRID_FOOT_LABELS = {
|
|
69
|
-
hiddenToFit: (names) => `Hidden to fit: ${names}`,
|
|
70
|
-
loadMore: "Load more",
|
|
71
|
-
showEveryColumn: "Show every column",
|
|
72
|
-
and: "and"
|
|
73
|
-
};
|
|
74
|
-
function droppedNames(columns, dropped, and) {
|
|
75
|
-
const names = dropped.map((key) => {
|
|
76
|
-
const c = columns.find((col) => col.key === key);
|
|
77
|
-
return c ? columnName(c) : key;
|
|
78
|
-
});
|
|
79
|
-
return names.length <= 1 ? names[0] ?? "" : `${names.slice(0, -1).join(", ")} ${and} ${names[names.length - 1]}`;
|
|
80
|
-
}
|
|
81
|
-
function GridHeadCell({
|
|
82
|
-
column,
|
|
83
|
-
sort,
|
|
84
|
-
sortable,
|
|
85
|
-
onSort,
|
|
86
|
-
hidden = false,
|
|
87
|
-
colIndex,
|
|
88
|
-
actionsLabel
|
|
89
|
-
}) {
|
|
90
|
-
const align = alignOf(column);
|
|
91
|
-
const sorted = sort?.key === column.key;
|
|
92
|
-
const headClass = cx(
|
|
93
|
-
"crewlet-data-grid__th",
|
|
94
|
-
align !== "left" && `crewlet-data-grid__th--${align}`,
|
|
95
|
-
column.icon && "crewlet-data-grid__th--icon",
|
|
96
|
-
column.shrink && "crewlet-data-grid__th--shrink",
|
|
97
|
-
sorted && "crewlet-data-grid__th--sorted",
|
|
98
|
-
!sortable && "crewlet-data-grid__th--plain"
|
|
99
|
-
);
|
|
100
|
-
const worded = column.header !== "" && column.header !== null && column.header !== void 0;
|
|
101
|
-
const label = !worded ? null : hidden ? /* @__PURE__ */ jsx(VisuallyHidden, { children: column.header }) : /* @__PURE__ */ jsx("span", { className: "crewlet-data-grid__truncate", onMouseEnter: titleWhenCut, children: column.header });
|
|
102
|
-
const arrow = sorted ? sort?.desc ? /* @__PURE__ */ jsx(ArrowDownGlyph, { size: "xs" }) : /* @__PURE__ */ jsx(ArrowUpGlyph, { size: "xs" }) : sortable ? /* @__PURE__ */ jsx(ArrowUpDownGlyph, { size: "xs" }) : null;
|
|
103
|
-
const ariaSort = sorted ? sort?.desc ? "descending" : "ascending" : void 0;
|
|
104
|
-
const mark = arrow && /* @__PURE__ */ jsx("span", { className: "crewlet-data-grid__sort-mark", "aria-hidden": "true", children: arrow });
|
|
105
|
-
if (!sortable) {
|
|
106
|
-
const word = headerWord(column);
|
|
107
|
-
const glyph = !word && !column.action ? column.label : void 0;
|
|
108
|
-
const named = word ? void 0 : glyph ?? (column.action && !worded ? column.label ?? actionsLabel : void 0);
|
|
109
|
-
return /* @__PURE__ */ jsxs("div", { className: headClass, role: "columnheader", "aria-colindex": colIndex, title: glyph, "aria-sort": ariaSort, children: [
|
|
110
|
-
label,
|
|
111
|
-
mark,
|
|
112
|
-
named && /* @__PURE__ */ jsx(VisuallyHidden, { children: named })
|
|
113
|
-
] });
|
|
114
|
-
}
|
|
115
|
-
return /* @__PURE__ */ jsx("div", { className: headClass, role: "columnheader", "aria-colindex": colIndex, "aria-sort": ariaSort, children: /* @__PURE__ */ jsxs(
|
|
116
|
-
"button",
|
|
117
|
-
{
|
|
118
|
-
type: "button",
|
|
119
|
-
className: "crewlet-data-grid__sort",
|
|
120
|
-
onClick: onSort,
|
|
121
|
-
"aria-label": headerWord(column) ? void 0 : column.label,
|
|
122
|
-
children: [
|
|
123
|
-
label,
|
|
124
|
-
mark
|
|
125
|
-
]
|
|
126
|
-
}
|
|
127
|
-
) });
|
|
128
|
-
}
|
|
129
|
-
function GridFoot({ footer, dropped, loadedNote, onLoadMore, onReset, labels, columns }) {
|
|
130
|
-
const shows = Boolean(footer) || Boolean(onLoadMore) || Boolean(loadedNote) || dropped !== "";
|
|
131
|
-
if (!shows && !onReset) return null;
|
|
132
|
-
const table = columns !== void 0;
|
|
133
|
-
const cell = (className, children) => table ? /* @__PURE__ */ jsx("div", { role: "cell", "aria-colspan": columns, className, children }) : /* @__PURE__ */ jsx("div", { className, children });
|
|
134
|
-
return /* @__PURE__ */ jsxs("div", { role: table ? "rowgroup" : void 0, className: "crewlet-data-grid__foot-group", children: [
|
|
135
|
-
shows && /* @__PURE__ */ jsx("div", { role: table ? "row" : void 0, className: "crewlet-data-grid__foot", children: cell(
|
|
136
|
-
"crewlet-data-grid__foot-cell",
|
|
137
|
-
/* @__PURE__ */ jsxs(Fragment, { children: [
|
|
138
|
-
footer,
|
|
139
|
-
/* @__PURE__ */ jsx("span", { className: "crewlet-data-grid__foot-spacer", "aria-hidden": "true" }),
|
|
140
|
-
dropped !== "" && /* @__PURE__ */ jsx("span", { className: "crewlet-data-grid__note", children: labels.hiddenToFit(dropped) }),
|
|
141
|
-
loadedNote && /* @__PURE__ */ jsx("span", { className: "crewlet-data-grid__note", children: loadedNote }),
|
|
142
|
-
onLoadMore && /* @__PURE__ */ jsx(Button, { size: "small", variant: "secondary", onClick: onLoadMore, children: labels.loadMore })
|
|
143
|
-
] })
|
|
144
|
-
) }),
|
|
145
|
-
onReset && /* @__PURE__ */ jsx("div", { role: table ? "row" : void 0, className: "crewlet-data-grid__reset", children: cell(
|
|
146
|
-
"crewlet-data-grid__reset-cell",
|
|
147
|
-
/* @__PURE__ */ jsx("button", { type: "button", className: "crewlet-data-grid__cols-reset", onClick: onReset, children: labels.showEveryColumn })
|
|
148
|
-
) })
|
|
149
|
-
] });
|
|
150
|
-
}
|
|
151
|
-
var CUT = ".crewlet-data-grid__truncate, .crewlet-table-cell__truncate, .crewlet-text--truncate";
|
|
152
|
-
function titleBeneath(link, x, y) {
|
|
153
|
-
const row = link.closest('[role="row"]');
|
|
154
|
-
if (!row || typeof document.elementsFromPoint !== "function") return null;
|
|
155
|
-
const under = document.elementsFromPoint(x, y).find((el) => el !== link && row.contains(el) && el !== row);
|
|
156
|
-
if (!under) return null;
|
|
157
|
-
const titled = under.closest("[title]");
|
|
158
|
-
const own = titled && row.contains(titled) && titled !== row ? titled : null;
|
|
159
|
-
if (own && !own.matches(CUT)) return own.getAttribute("title");
|
|
160
|
-
const cut = under.closest(CUT);
|
|
161
|
-
if (cut && row.contains(cut)) {
|
|
162
|
-
titleIfCut(cut);
|
|
163
|
-
return cut.getAttribute("title");
|
|
164
|
-
}
|
|
165
|
-
return own?.getAttribute("title") ?? null;
|
|
166
|
-
}
|
|
167
|
-
var rowLinkTitle = {
|
|
168
|
-
onMouseMove: (event) => {
|
|
169
|
-
const title = titleBeneath(event.currentTarget, event.clientX, event.clientY);
|
|
170
|
-
if (title) event.currentTarget.setAttribute("title", title);
|
|
171
|
-
else event.currentTarget.removeAttribute("title");
|
|
172
|
-
},
|
|
173
|
-
onMouseLeave: (event) => event.currentTarget.removeAttribute("title")
|
|
174
|
-
};
|
|
175
|
-
var SQUEEZE_SAMPLE_ROWS = 12;
|
|
176
|
-
function overrunning(box, head) {
|
|
177
|
-
const last = head?.lastElementChild;
|
|
178
|
-
if (!last) return false;
|
|
179
|
-
const inner = box.getBoundingClientRect().left + box.clientLeft + box.clientWidth;
|
|
180
|
-
return last.getBoundingClientRect().right > inner + 0.5;
|
|
181
|
-
}
|
|
182
|
-
function cutShort(el) {
|
|
183
|
-
for (const node of [el, ...el.querySelectorAll("*")]) {
|
|
184
|
-
const box = node;
|
|
185
|
-
if (box.clientWidth > 1 && box.scrollWidth > box.clientWidth + 1) return true;
|
|
186
|
-
}
|
|
187
|
-
return false;
|
|
188
|
-
}
|
|
189
|
-
function squeezedCells(width, heads, rows, cellsOf, visible, leading = 0) {
|
|
190
|
-
const cap = width * SHRINK_SHARE - 1;
|
|
191
|
-
const sample = rows.slice(0, SQUEEZE_SAMPLE_ROWS);
|
|
192
|
-
let headCut = false;
|
|
193
|
-
for (let i = 0; i < visible.length; i++) {
|
|
194
|
-
const column = visible[i];
|
|
195
|
-
if (!column.shrink || column.width || column.icon) continue;
|
|
196
|
-
const head = heads[i + leading];
|
|
197
|
-
if (!head || head.getBoundingClientRect().width >= cap) continue;
|
|
198
|
-
if (cutShort(head)) headCut = true;
|
|
199
|
-
for (const row of sample) {
|
|
200
|
-
const cell = cellsOf(row)[i + leading];
|
|
201
|
-
if (cell && cutShort(cell)) return "values";
|
|
202
|
-
}
|
|
203
|
-
}
|
|
204
|
-
return headCut ? "heads" : null;
|
|
205
|
-
}
|
|
206
17
|
var DATA_GRID_ICON_TRACK = GRID_ICON_TRACK;
|
|
207
18
|
function sortsBy(column) {
|
|
208
19
|
return column.sortable ?? column.sortValue !== void 0;
|
|
@@ -987,4 +798,4 @@ function useAnyDataGridDriving() {
|
|
|
987
798
|
return drivable.length > 0;
|
|
988
799
|
}
|
|
989
800
|
|
|
990
|
-
export { ChooserList, ColumnChooser, DATA_GRID_ICON_TRACK, DataGrid,
|
|
801
|
+
export { ChooserList, ColumnChooser, DATA_GRID_ICON_TRACK, DataGrid, columnChoicesOf, countDataGridRows, fitGridColumns, sortGridRows, useAnyDataGridDriving, useDataGridDriving };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { RefusalStrip, ReceiptStrip } from './chunk-
|
|
1
|
+
import { RefusalStrip, ReceiptStrip } from './chunk-OAD4AXYJ.js';
|
|
2
2
|
import { ChangeList } from './chunk-NB53SAL4.js';
|
|
3
3
|
import { StatusCard } from './chunk-NWKH5FF7.js';
|
|
4
|
-
import { Callout } from './chunk-
|
|
4
|
+
import { Callout } from './chunk-UEO3A76N.js';
|
|
5
5
|
import { toInstant, formatUntil, useNow, formatExact, toISO } from './chunk-GBKBME7Q.js';
|
|
6
|
-
import { Checkbox } from './chunk-
|
|
6
|
+
import { Checkbox } from './chunk-BRMJPZC4.js';
|
|
7
7
|
import { Disclosure } from './chunk-D5O64CVE.js';
|
|
8
|
-
import { Button } from './chunk-
|
|
8
|
+
import { Button } from './chunk-IMF3CPTY.js';
|
|
9
9
|
import { Spinner } from './chunk-XSPCITPN.js';
|
|
10
10
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
11
11
|
import './VisuallyHidden-OUYVMKEH.css';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useSendOnEnter, SendKeysHint } from './chunk-UZMXC5T6.js';
|
|
2
|
-
import { Textarea } from './chunk-
|
|
2
|
+
import { Textarea } from './chunk-XQMRSL7Z.js';
|
|
3
3
|
import { VisuallyHidden } from './chunk-RRRK2KB6.js';
|
|
4
4
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
5
5
|
import './ChatScale-LGESYXCO.css';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { richEditorLabels } from './chunk-2DMTW2Y3.js';
|
|
2
|
-
import { Callout } from './chunk-
|
|
2
|
+
import { Callout } from './chunk-UEO3A76N.js';
|
|
3
3
|
import { Skeleton } from './chunk-WFAJYBLX.js';
|
|
4
|
-
import { Button } from './chunk-
|
|
4
|
+
import { Button } from './chunk-IMF3CPTY.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-FXREHINI.js').then(
|
|
13
13
|
(module) => {
|
|
14
14
|
engine = module.Editor;
|
|
15
15
|
return engine;
|
|
@@ -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-XQMRSL7Z.js';
|
|
3
3
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
4
4
|
import './ColorField-2OIOWT3Z.css';
|
|
5
5
|
import { useId, useState } from 'react';
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { useTreeState, treeExpandable, treeLevel, treePosInSet, treeSetSize, treeItemAction, treePrevious, treeNext, treeStep } from './chunk-MY374UUD.js';
|
|
2
|
-
import {
|
|
2
|
+
import { fitGridColumns } from './chunk-Q3SHCEXN.js';
|
|
3
|
+
import { GRID_FOOT_LABELS, parseGridSort, overrunning, squeezedCells, tableTrack, GRID_ICON_TRACK, GridHeadCell, alignOf, rowLinkTitle, headerWord, GridFoot, droppedNames, nextGridSort, sortByValue } from './chunk-HU56GCZ7.js';
|
|
3
4
|
import { LayerNodeBridge } from './chunk-CUEPPDBC.js';
|
|
4
|
-
import { Checkbox } from './chunk-
|
|
5
|
+
import { Checkbox } from './chunk-BRMJPZC4.js';
|
|
5
6
|
import { EmptyState } from './chunk-PPUR46MK.js';
|
|
6
7
|
import { useMediaMatch } from './chunk-COS6LJ4K.js';
|
|
7
|
-
import { IconButton } from './chunk-
|
|
8
|
+
import { IconButton } from './chunk-KM5OKCW6.js';
|
|
8
9
|
import { LayerHost, LAYER_REPOSITION_EVENT } from './chunk-AVJKMQXK.js';
|
|
9
10
|
import { focusables } from './chunk-EDPMHSLZ.js';
|
|
10
11
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { Select } from './chunk-657WR3MX.js';
|
|
2
|
-
import { Modal } from './chunk-
|
|
3
|
-
import { CopyButton } from './chunk-
|
|
4
|
-
import { Callout } from './chunk-
|
|
2
|
+
import { Modal } from './chunk-7PK2Z5JY.js';
|
|
3
|
+
import { CopyButton } from './chunk-IRGS5FEC.js';
|
|
4
|
+
import { Callout } from './chunk-UEO3A76N.js';
|
|
5
5
|
import { PrincipalAvatar } from './chunk-265IX4YA.js';
|
|
6
6
|
import { useMediaMatch } from './chunk-COS6LJ4K.js';
|
|
7
|
-
import { Button } from './chunk-
|
|
8
|
-
import { IconButton } from './chunk-
|
|
7
|
+
import { Button } from './chunk-IMF3CPTY.js';
|
|
8
|
+
import { IconButton } from './chunk-KM5OKCW6.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,6 +1,6 @@
|
|
|
1
|
-
import { CHAT_MESSAGE_CLASS } from './chunk-
|
|
1
|
+
import { CHAT_MESSAGE_CLASS } from './chunk-6RBE5RVG.js';
|
|
2
2
|
import { useMediaMatch, REDUCED_MOTION_QUERY } from './chunk-COS6LJ4K.js';
|
|
3
|
-
import { Button } from './chunk-
|
|
3
|
+
import { Button } from './chunk-IMF3CPTY.js';
|
|
4
4
|
import { VisuallyHidden } from './chunk-RRRK2KB6.js';
|
|
5
5
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
6
6
|
import './ChatThread-V5MANQ3C.css';
|
|
@@ -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-QRUQOITJ.js';
|
|
4
4
|
import { Disclosure } from './chunk-D5O64CVE.js';
|
|
5
|
-
import { ArtifactPanel } from './chunk-
|
|
6
|
-
import { Button } from './chunk-
|
|
5
|
+
import { ArtifactPanel } from './chunk-HIDOUXLD.js';
|
|
6
|
+
import { Button } from './chunk-IMF3CPTY.js';
|
|
7
7
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
8
8
|
import './AgentHandoffPanel-AIU7YWWB.css';
|
|
9
9
|
import { useId, useRef, useEffect } from 'react';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Select } from './chunk-657WR3MX.js';
|
|
2
|
-
import { Combobox } from './chunk-
|
|
3
|
-
import { FormField, Textarea, InputAffix } from './chunk-
|
|
2
|
+
import { Combobox } from './chunk-Z6OZNSHF.js';
|
|
3
|
+
import { FormField, Textarea, InputAffix } from './chunk-XQMRSL7Z.js';
|
|
4
4
|
import './Input-YVCNNTYT.css';
|
|
5
5
|
import './VisuallyHidden-OUYVMKEH.css';
|
|
6
6
|
import './HitArea-QUOS6ZDJ.css';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { safeHref } from './chunk-KBZO4B33.js';
|
|
2
2
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
3
|
-
import './InlineRef-
|
|
3
|
+
import './InlineRef-CUBTBIYD.css';
|
|
4
4
|
import { Children, isValidElement, cloneElement } from 'react';
|
|
5
5
|
import { jsxs, Fragment, jsx } from 'react/jsx-runtime';
|
|
6
6
|
|
|
@@ -2,7 +2,7 @@ import { Divider } from './chunk-6KWNXIDE.js';
|
|
|
2
2
|
import { LockedLabel } from './chunk-TODOBUXO.js';
|
|
3
3
|
import { KeyChip } from './chunk-HBDA76EZ.js';
|
|
4
4
|
import { prefersReducedMotion } from './chunk-COS6LJ4K.js';
|
|
5
|
-
import { Button } from './chunk-
|
|
5
|
+
import { Button } from './chunk-IMF3CPTY.js';
|
|
6
6
|
import { HIT_AREA_CLASS } from './chunk-2YTOOH3A.js';
|
|
7
7
|
import { VisuallyHidden } from './chunk-RRRK2KB6.js';
|
|
8
8
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { PrincipalAvatar } from './chunk-265IX4YA.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-QRUQOITJ.js';
|
|
5
|
+
import { Button } from './chunk-IMF3CPTY.js';
|
|
6
|
+
import { IconButton } from './chunk-KM5OKCW6.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,4 +1,4 @@
|
|
|
1
|
-
import { IconButton } from './chunk-
|
|
1
|
+
import { IconButton } from './chunk-KM5OKCW6.js';
|
|
2
2
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
3
3
|
import './Callout-WLZKAFPT.css';
|
|
4
4
|
import { XGlyph, CircleAlertGlyph, TriangleAlertGlyph, CircleCheckGlyph, InfoGlyph } from '@crewlethq/icons/glyphs';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { Modal } from './chunk-
|
|
2
|
-
import { Callout } from './chunk-
|
|
3
|
-
import { SegmentedControl } from './chunk-
|
|
4
|
-
import { FormField, Input } from './chunk-
|
|
5
|
-
import { Button } from './chunk-
|
|
1
|
+
import { Modal } from './chunk-7PK2Z5JY.js';
|
|
2
|
+
import { Callout } from './chunk-UEO3A76N.js';
|
|
3
|
+
import { SegmentedControl } from './chunk-GMXOZEF5.js';
|
|
4
|
+
import { FormField, Input } from './chunk-XQMRSL7Z.js';
|
|
5
|
+
import { Button } from './chunk-IMF3CPTY.js';
|
|
6
6
|
import { useState } from 'react';
|
|
7
7
|
import { ClockGlyph } from '@crewlethq/icons/glyphs';
|
|
8
8
|
import { jsxs, Fragment, jsx } from 'react/jsx-runtime';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useDownload, safeFilename } from './chunk-YNRKVY7X.js';
|
|
2
|
-
import { Button } from './chunk-
|
|
2
|
+
import { Button } from './chunk-IMF3CPTY.js';
|
|
3
3
|
import { VisuallyHidden } from './chunk-RRRK2KB6.js';
|
|
4
4
|
import { useMemo, useState, useRef, useEffect, useCallback } from 'react';
|
|
5
5
|
import { CheckGlyph, CircleAlertGlyph, ArrowDownToLineGlyph } from '@crewlethq/icons/glyphs';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { NOTICE_LIST_LABELS, NoticeLineView } from './chunk-
|
|
1
|
+
import { NOTICE_LIST_LABELS, NoticeLineView } from './chunk-7J2RIAZ4.js';
|
|
2
2
|
import { Card } from './chunk-E7KRB77B.js';
|
|
3
|
-
import { Button } from './chunk-
|
|
3
|
+
import { Button } from './chunk-IMF3CPTY.js';
|
|
4
4
|
import { useHeadingLevel, headingTag } from './chunk-PQADV6P6.js';
|
|
5
5
|
import { VisuallyHidden } from './chunk-RRRK2KB6.js';
|
|
6
6
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { Modal } from './chunk-
|
|
1
|
+
import { Modal } from './chunk-7PK2Z5JY.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-BRMJPZC4.js';
|
|
6
|
+
import { Menu } from './chunk-ZMZNKDPO.js';
|
|
7
|
+
import { Button } from './chunk-IMF3CPTY.js';
|
|
8
|
+
import { IconButton } from './chunk-KM5OKCW6.js';
|
|
9
9
|
import { VisuallyHidden } from './chunk-RRRK2KB6.js';
|
|
10
10
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
11
11
|
import './DataTable-GSLDFY5U.css';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useRoving, tabStop, revealInRow } from './chunk-7F3OPUM5.js';
|
|
2
2
|
import { StatusDot } from './chunk-QRE6JCHS.js';
|
|
3
|
-
import { Menu } from './chunk-
|
|
3
|
+
import { Menu } from './chunk-ZMZNKDPO.js';
|
|
4
4
|
import { HIT_AREA_CLASS } from './chunk-2YTOOH3A.js';
|
|
5
5
|
import { Count } from './chunk-Y5CMDLQM.js';
|
|
6
6
|
import { VisuallyHidden } from './chunk-RRRK2KB6.js';
|
|
@@ -2,7 +2,7 @@ import { SECRET_INPUT_PROPS } from './chunk-NICEDVZM.js';
|
|
|
2
2
|
import { useFieldError, FormFieldInvalidContext } from './chunk-JLKO7PSK.js';
|
|
3
3
|
import { copyTextStyles } from './chunk-PJV5HVZY.js';
|
|
4
4
|
import { characterCountState, CharacterCount } from './chunk-TEXK4RK6.js';
|
|
5
|
-
import { IconButton } from './chunk-
|
|
5
|
+
import { IconButton } from './chunk-KM5OKCW6.js';
|
|
6
6
|
import { isComposing } from './chunk-EDPMHSLZ.js';
|
|
7
7
|
import { useFocusModality } from './chunk-4ITETIGZ.js';
|
|
8
8
|
import { useHeadingLevel, headingTag, HeadingLevelProvider, nextHeadingLevel } from './chunk-PQADV6P6.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Toolbar } from './chunk-NPEI2QAN.js';
|
|
2
2
|
import { Popover } from './chunk-AJFA2XDQ.js';
|
|
3
|
-
import { Input } from './chunk-
|
|
4
|
-
import { Tooltip } from './chunk-
|
|
3
|
+
import { Input } from './chunk-XQMRSL7Z.js';
|
|
4
|
+
import { Tooltip } from './chunk-BFZAGIXR.js';
|
|
5
5
|
import { isComposing } from './chunk-EDPMHSLZ.js';
|
|
6
6
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
7
7
|
import './EmojiPicker-V6XM56GJ.css';
|
|
@@ -2,7 +2,7 @@ import { SuggestionList, SuggestionRow } from './chunk-IR3OWPAZ.js';
|
|
|
2
2
|
import { developing } from './chunk-6C7GQOBV.js';
|
|
3
3
|
import { StatusCard } from './chunk-NWKH5FF7.js';
|
|
4
4
|
import { StatusDot } from './chunk-QRE6JCHS.js';
|
|
5
|
-
import { Button } from './chunk-
|
|
5
|
+
import { Button } from './chunk-IMF3CPTY.js';
|
|
6
6
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
7
7
|
import './BriefCard-QCL7MVUV.css';
|
|
8
8
|
import { useEffect } from 'react';
|
|
@@ -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-BRMJPZC4.js';
|
|
4
|
+
import { IconButton } from './chunk-KM5OKCW6.js';
|
|
5
5
|
import { VisuallyHidden } from './chunk-RRRK2KB6.js';
|
|
6
6
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
7
7
|
import './ArrangeList-F6Y43I24.css';
|
|
@@ -3,10 +3,10 @@ import { PrincipalAvatar } from './chunk-265IX4YA.js';
|
|
|
3
3
|
import { RelativeTime } from './chunk-GBKBME7Q.js';
|
|
4
4
|
import { Card } from './chunk-E7KRB77B.js';
|
|
5
5
|
import { ArtifactKindGround } from './chunk-W3A6NBUM.js';
|
|
6
|
-
import { Checkbox } from './chunk-
|
|
6
|
+
import { Checkbox } from './chunk-BRMJPZC4.js';
|
|
7
7
|
import { ArtifactAccessGlyph } from './chunk-DOY3KC6I.js';
|
|
8
8
|
import { ArtifactKindGlyph } from './chunk-RSKW25Y5.js';
|
|
9
|
-
import { AvatarStack } from './chunk-
|
|
9
|
+
import { AvatarStack } from './chunk-2PSOUDCS.js';
|
|
10
10
|
import { VisuallyHidden } from './chunk-RRRK2KB6.js';
|
|
11
11
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
12
12
|
import './ArtifactKinds-27TE3KJL.css';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { changeText, sheetLabels } from './chunk-LFSIKGRQ.js';
|
|
2
|
-
import { Tooltip } from './chunk-
|
|
2
|
+
import { Tooltip } from './chunk-BFZAGIXR.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
1
|
import { useListbox, useOptionKeys } from './chunk-KW7T23RT.js';
|
|
2
|
-
import { Input } from './chunk-
|
|
2
|
+
import { Input } from './chunk-XQMRSL7Z.js';
|
|
3
3
|
import { HIT_AREA_CLASS } from './chunk-2YTOOH3A.js';
|
|
4
4
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
5
5
|
import './HitArea-QUOS6ZDJ.css';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { PRESENCE_LABELS, presenceOrder, collapseSessions } from './chunk-Z7JYG5TF.js';
|
|
2
2
|
import { Avatar } from './chunk-YMFFGPFE.js';
|
|
3
|
-
import { Button } from './chunk-
|
|
4
|
-
import { IconButton } from './chunk-
|
|
3
|
+
import { Button } from './chunk-IMF3CPTY.js';
|
|
4
|
+
import { IconButton } from './chunk-KM5OKCW6.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
|
-
import { SegmentedControl } from './chunk-
|
|
2
|
-
import { Button } from './chunk-
|
|
1
|
+
import { SegmentedControl } from './chunk-GMXOZEF5.js';
|
|
2
|
+
import { Button } from './chunk-IMF3CPTY.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,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-KM5OKCW6.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';
|