@crewlethq/ui 0.68.0 → 0.70.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/README.md +24 -2
- package/dist/AgentHandoffPanel/index.js +5 -5
- package/dist/AppShell/index.js +4 -4
- package/dist/ArrangeList/index.js +4 -4
- package/dist/ArtifactBar/index.js +7 -7
- package/dist/ArtifactCard/index.js +4 -4
- package/dist/ArtifactPanel/index.js +1 -1
- package/dist/AvatarPicker/index.js +7 -7
- package/dist/BriefCard/BriefCard.d.ts +80 -0
- package/dist/BriefCard/index.d.ts +3 -0
- package/dist/BriefCard/index.js +13 -0
- package/dist/BriefCard-L66R5U32.css +127 -0
- package/dist/Button/Button.d.ts +10 -0
- package/dist/Button/index.js +1 -1
- package/dist/{Button-VRRYSXFN.css → Button-GDEBGBX6.css} +30 -3
- package/dist/Canvas/index.js +3 -3
- package/dist/CanvasBoard/index.js +5 -5
- package/dist/CanvasToolbar/index.js +4 -4
- package/dist/ChatThread/index.js +2 -2
- package/dist/Checkbox/index.js +3 -3
- package/dist/CodeBlock/index.js +3 -3
- package/dist/ColorField/index.js +3 -3
- package/dist/ColorSwatch/index.js +3 -3
- package/dist/Combobox/index.js +3 -3
- package/dist/CommandPalette/index.js +5 -5
- package/dist/CommentThread/index.js +6 -6
- package/dist/Composer/index.js +3 -3
- package/dist/ConfirmField/index.js +3 -3
- package/dist/ConflictNote/index.js +2 -2
- package/dist/ContrastHelp/index.js +1 -1
- package/dist/Copyable/index.js +2 -2
- package/dist/DataGrid/DataGrid.d.ts +50 -4
- package/dist/DataGrid/index.d.ts +2 -2
- package/dist/DataGrid/index.js +5 -5
- package/dist/{DataGrid-NHIN2I42.css → DataGrid-Q26F2V5Q.css} +145 -24
- package/dist/DataTable/index.js +7 -7
- package/dist/DataView/index.js +10 -9
- package/dist/{DataView-RH5UDA5F.css → DataView-L7HLNW7C.css} +1 -112
- package/dist/DateTimePicker/index.js +3 -3
- package/dist/DeepWorkCard/index.js +3 -3
- package/dist/DocTabsEditor/index.js +5 -5
- package/dist/DownloadButton/index.js +2 -2
- package/dist/{Editor-2MZDDSJF.js → Editor-NNQEALNT.js} +4 -4
- package/dist/ErrorBoundary/index.js +2 -2
- package/dist/FileDrop/index.js +2 -2
- package/dist/FilterPill/FilterPill.d.ts +63 -0
- package/dist/FilterPill/index.d.ts +3 -0
- package/dist/FilterPill/index.js +4 -0
- package/dist/FilterPill-4GMNFZND.css +134 -0
- package/dist/FollowBanner/index.js +2 -2
- package/dist/HuePicker/index.js +6 -6
- package/dist/InlineEditor/index.js +2 -2
- package/dist/Input/index.js +2 -2
- package/dist/LinkInterstitial/index.js +4 -4
- package/dist/ListInput/index.js +4 -4
- package/dist/LogoSlot/index.js +3 -3
- package/dist/MarkdownEditor/index.js +6 -6
- package/dist/Menu/Menu.d.ts +10 -1
- package/dist/Menu/index.js +3 -3
- package/dist/{Menu-OLUGHX56.css → Menu-I4SNXHOT.css} +12 -0
- package/dist/MergeConflicts/index.js +6 -6
- package/dist/Modal/index.js +3 -3
- package/dist/OpenInAppCard/index.js +3 -3
- package/dist/OrgTable/index.js +1 -1
- package/dist/PeekRail/index.js +2 -2
- package/dist/PeopleRail/index.js +2 -2
- package/dist/PresenterView/index.js +3 -3
- package/dist/PrincipalPicker/index.js +4 -4
- package/dist/ProposalCard/index.js +7 -7
- package/dist/ReceiptStrip/index.js +2 -2
- package/dist/ResultTableCard/index.js +4 -4
- package/dist/RichEditor/index.js +2 -2
- package/dist/SandboxedFrame/index.js +2 -2
- package/dist/SegmentedControl/index.js +5 -5
- package/dist/SelectionBar/index.js +2 -2
- package/dist/SetupWizard/index.js +2 -2
- package/dist/ShareDialog/index.js +5 -5
- package/dist/SheetColumnEditor/index.js +9 -9
- package/dist/SheetGrid/index.js +4 -4
- package/dist/SidePanel/index.js +1 -1
- package/dist/SlideCompare/index.js +2 -2
- package/dist/SlideFilmstrip/index.js +4 -4
- package/dist/Switcher/index.js +5 -5
- package/dist/TableCells/index.js +1 -1
- package/dist/{TableCells-F6MUV572.css → TableCells-TKSNLRK3.css} +1 -0
- package/dist/Tabs/index.js +4 -4
- package/dist/TagsInput/index.js +2 -2
- package/dist/ThemeSwitcher/index.js +6 -6
- package/dist/TimeRangePicker/index.js +8 -8
- package/dist/TimeWindowPicker/index.js +4 -4
- package/dist/TreeCanvas/index.js +4 -4
- package/dist/TreeGrid/index.js +1 -1
- package/dist/ValueField/index.js +4 -4
- package/dist/VersionCompare/index.js +6 -6
- package/dist/VersionTimeline/index.js +2 -2
- package/dist/{chunk-XI56IJGI.js → chunk-3EETQFAM.js} +1 -1
- package/dist/{chunk-5FFZED4X.js → chunk-3EY5SEGH.js} +4 -4
- package/dist/{chunk-2QMUOUXN.js → chunk-3LP3VPLT.js} +2 -2
- package/dist/{chunk-DGG2A6XG.js → chunk-3WN5HUAK.js} +2 -2
- package/dist/{chunk-QBWNGNF7.js → chunk-4DL2BQJE.js} +1 -1
- package/dist/{chunk-XNYMMLCY.js → chunk-4MVLED6E.js} +4 -4
- package/dist/{chunk-OXEWUAND.js → chunk-5OFRDX66.js} +1 -1
- package/dist/{chunk-QRKDP7RQ.js → chunk-6C6YK75K.js} +2 -2
- package/dist/{chunk-2A6DL3K5.js → chunk-6FBPFG3C.js} +1 -1
- package/dist/{chunk-WWXIGN4O.js → chunk-73SAOOR5.js} +3 -3
- package/dist/{chunk-CMTLQOJY.js → chunk-7LSSYHOT.js} +1 -1
- package/dist/{chunk-COAK5MIF.js → chunk-ADSOY7UM.js} +3 -3
- package/dist/{chunk-GNDKUSCG.js → chunk-AGLONIVV.js} +1 -1
- package/dist/{chunk-YDXX5UB7.js → chunk-AQIFKLXY.js} +1 -1
- package/dist/{chunk-SUJO3AHN.js → chunk-B3PK2LND.js} +1 -1
- package/dist/{chunk-IU5J6BY5.js → chunk-BWAUL5MB.js} +2 -2
- package/dist/{chunk-ZFFQMRPJ.js → chunk-BWFJB5JD.js} +4 -4
- package/dist/{chunk-I24FI46B.js → chunk-C667GCU7.js} +1 -1
- package/dist/{chunk-CWYU7DNT.js → chunk-CDNZTCP2.js} +1 -1
- package/dist/{chunk-MVQSTBLQ.js → chunk-DB7UVFOY.js} +1 -1
- package/dist/{chunk-OJGI4XJH.js → chunk-DGSK4LLS.js} +1 -1
- package/dist/{chunk-7QTPJDRF.js → chunk-DGXZ635L.js} +7 -4
- package/dist/{chunk-2SU735S3.js → chunk-DV5L2GRY.js} +1 -1
- package/dist/{chunk-NSCYGUDG.js → chunk-EHFQMY3B.js} +1 -1
- package/dist/{chunk-FPTJMNI3.js → chunk-EN4UJQ63.js} +2 -2
- package/dist/{chunk-O3WH7OJE.js → chunk-EOXI3CRG.js} +1 -1
- package/dist/{chunk-LUSRKTX6.js → chunk-ERFXYGRF.js} +2 -2
- package/dist/{chunk-MCMPQBEV.js → chunk-FQI62PIZ.js} +2 -2
- package/dist/{chunk-CLJHQHPS.js → chunk-FURJVZCT.js} +73 -27
- package/dist/{chunk-5K7GGQNX.js → chunk-G4QZWVAB.js} +2 -2
- package/dist/{chunk-KZ3UXNN7.js → chunk-H32JW6CZ.js} +2 -2
- package/dist/{chunk-7DD2GR7I.js → chunk-HPI5J6AR.js} +2 -2
- package/dist/{chunk-ZEPUKRO7.js → chunk-IJ7KLXUZ.js} +1 -1
- package/dist/{chunk-MVQLCSAC.js → chunk-IPUEVTRJ.js} +1 -1
- package/dist/{chunk-4VPDY7AD.js → chunk-J5WWMC35.js} +45 -46
- package/dist/{chunk-KQGOVBGF.js → chunk-JD7P2GJP.js} +1 -1
- package/dist/{chunk-VMEUY672.js → chunk-JQEXAH7G.js} +1 -1
- package/dist/{chunk-K4IVKHKU.js → chunk-JT7WRPZ6.js} +1 -1
- package/dist/{chunk-CFXDWGQI.js → chunk-JVII5264.js} +1 -1
- package/dist/chunk-K4LZXSKZ.js +62 -0
- package/dist/{chunk-JII74OTJ.js → chunk-KAA3GFTP.js} +5 -5
- package/dist/{chunk-WYXUDDTY.js → chunk-KL6A7JGH.js} +1 -1
- package/dist/{chunk-2JHGPXYG.js → chunk-KQWJWTED.js} +1 -1
- package/dist/{chunk-WU5JDEEY.js → chunk-L4HHWG4V.js} +1 -1
- package/dist/{chunk-RCHJBKD3.js → chunk-LQWORB5B.js} +2 -2
- package/dist/{chunk-2DSHMV6B.js → chunk-MFQPGMJT.js} +1 -1
- package/dist/{chunk-XDVQ72BE.js → chunk-NXNLAZPK.js} +2 -2
- package/dist/{chunk-WPMZKZUH.js → chunk-O3HCFM3D.js} +1 -1
- package/dist/{chunk-NBOFBSVD.js → chunk-OBPINJNO.js} +2 -2
- package/dist/{chunk-2566PSQ3.js → chunk-OQG4P5KU.js} +18 -4
- package/dist/{chunk-UWOYDHVW.js → chunk-P64MIA7C.js} +1 -1
- package/dist/{chunk-EAR2F5OA.js → chunk-PBCNINMB.js} +1 -1
- package/dist/{chunk-KHHDCNYM.js → chunk-PRN5IP2R.js} +1 -1
- package/dist/{chunk-DMK2A4IK.js → chunk-QSWQJX27.js} +1 -1
- package/dist/{chunk-D2ZXIQ23.js → chunk-R5OATXWU.js} +1 -1
- package/dist/{chunk-OFABBAUR.js → chunk-SMZPUHBL.js} +1 -1
- package/dist/{chunk-7QTJO3PV.js → chunk-SO5SXSTP.js} +1 -1
- package/dist/{chunk-IYG4ETAQ.js → chunk-T5GBTXNC.js} +1 -1
- package/dist/{chunk-DMY4XEDS.js → chunk-TKBFRGUV.js} +4 -4
- package/dist/{chunk-DFU6JGJV.js → chunk-TPCBPGSB.js} +1 -1
- package/dist/{chunk-GAUBP247.js → chunk-TWJERLT3.js} +1 -1
- package/dist/{chunk-MJTBINIY.js → chunk-TYIHFDMP.js} +1 -1
- package/dist/{chunk-PHBMSXVE.js → chunk-UY3FWQWG.js} +2 -2
- package/dist/chunk-VBA5FSWV.js +87 -0
- package/dist/{chunk-SZEKOW2X.js → chunk-VWMB3CJN.js} +1 -1
- package/dist/{chunk-UKYVLQAE.js → chunk-W5AXJWOW.js} +2 -2
- package/dist/{chunk-HHZ5ZXYO.js → chunk-YGWIWDXE.js} +3 -3
- package/dist/{chunk-2T32N2WD.js → chunk-YUHKRRWO.js} +2 -2
- package/dist/{chunk-IQQSMK4E.js → chunk-ZUBFVK6B.js} +1 -1
- package/dist/{chunk-M25IV5MH.js → chunk-ZWCK4N4L.js} +1 -1
- package/dist/generated/index.d.ts +2 -0
- package/dist/generated/index.js +104 -102
- package/dist/index.js +104 -102
- package/dist/styles.css +463 -146
- package/package.json +3 -3
- package/dist/{chunk-TXQNWGUD.js → chunk-ABZC3NLM.js} +0 -0
- package/dist/{chunk-DCQ2VTBB.js → chunk-ETSF7SU6.js} +1 -1
- package/dist/{chunk-BAHLBMCH.js → chunk-HEIOLITO.js} +1 -1
- package/dist/{chunk-R2YHKVWN.js → chunk-SBHAKX2T.js} +1 -1
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
export { VERSION_COMPARE_LABELS, VERSION_COMPARE_LENSES, VersionCompare } from '../chunk-
|
|
1
|
+
export { VERSION_COMPARE_LABELS, VERSION_COMPARE_LENSES, VersionCompare } from '../chunk-EOXI3CRG.js';
|
|
2
2
|
import '../chunk-AOFVXE6V.js';
|
|
3
3
|
import '../chunk-25AZQ3GZ.js';
|
|
4
|
-
import '../chunk-
|
|
5
|
-
import '../chunk-
|
|
4
|
+
import '../chunk-TYIHFDMP.js';
|
|
5
|
+
import '../chunk-IPUEVTRJ.js';
|
|
6
6
|
import '../chunk-EGMQURBR.js';
|
|
7
7
|
import '../chunk-WIATRXEJ.js';
|
|
8
8
|
import '../chunk-PPUR46MK.js';
|
|
9
9
|
import '../chunk-MLDTLZAO.js';
|
|
10
10
|
import '../chunk-PQADV6P6.js';
|
|
11
|
-
import '../chunk-
|
|
12
|
-
import '../chunk-
|
|
11
|
+
import '../chunk-OQG4P5KU.js';
|
|
12
|
+
import '../chunk-DGXZ635L.js';
|
|
13
13
|
import '../chunk-OMV5W53A.js';
|
|
14
14
|
import '../chunk-2YTOOH3A.js';
|
|
15
15
|
import '../chunk-XSPCITPN.js';
|
|
16
16
|
import '../chunk-H5XTJ7GJ.js';
|
|
17
|
-
import '../chunk-NUZHC6MM.js';
|
|
18
17
|
import '../chunk-UAUP6XGK.js';
|
|
18
|
+
import '../chunk-NUZHC6MM.js';
|
|
19
19
|
import '../chunk-UT6CW3C7.js';
|
|
20
20
|
import '../chunk-ODEQTPFM.js';
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
export { VersionTimeline } from '../chunk-
|
|
1
|
+
export { VersionTimeline } from '../chunk-O3HCFM3D.js';
|
|
2
2
|
import '../chunk-CI3VPIJN.js';
|
|
3
3
|
import '../chunk-EJNJMHQG.js';
|
|
4
4
|
import '../chunk-RE3FBGQQ.js';
|
|
5
5
|
import '../chunk-BKP6XCAJ.js';
|
|
6
6
|
import '../chunk-PZKHBB7D.js';
|
|
7
7
|
import '../chunk-4MJN2KN6.js';
|
|
8
|
-
import '../chunk-
|
|
8
|
+
import '../chunk-DGXZ635L.js';
|
|
9
9
|
import '../chunk-XSPCITPN.js';
|
|
10
10
|
import '../chunk-UT6CW3C7.js';
|
|
11
11
|
import '../chunk-ODEQTPFM.js';
|
|
@@ -4,7 +4,7 @@ import { RelativeTime } from './chunk-EJNJMHQG.js';
|
|
|
4
4
|
import { Card } from './chunk-4AUTALJA.js';
|
|
5
5
|
import { AvatarStack } from './chunk-BKP6XCAJ.js';
|
|
6
6
|
import { ArtifactKindGround } from './chunk-NHLNHH4J.js';
|
|
7
|
-
import { Checkbox } from './chunk-
|
|
7
|
+
import { Checkbox } from './chunk-PBCNINMB.js';
|
|
8
8
|
import { ArtifactAccessGlyph } from './chunk-DOY3KC6I.js';
|
|
9
9
|
import { ArtifactKindGlyph } from './chunk-RSKW25Y5.js';
|
|
10
10
|
import { VisuallyHidden } from './chunk-UT6CW3C7.js';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { RefusalStrip, ReceiptStrip } from './chunk-
|
|
2
|
-
import { StatusCard } from './chunk-NTQPJJAN.js';
|
|
1
|
+
import { RefusalStrip, ReceiptStrip } from './chunk-ZWCK4N4L.js';
|
|
3
2
|
import { ChangeList } from './chunk-WQRSZMN4.js';
|
|
4
|
-
import {
|
|
3
|
+
import { StatusCard } from './chunk-NTQPJJAN.js';
|
|
4
|
+
import { Checkbox } from './chunk-PBCNINMB.js';
|
|
5
5
|
import { Disclosure } from './chunk-222VILSP.js';
|
|
6
|
-
import { Button } from './chunk-
|
|
6
|
+
import { Button } from './chunk-DGXZ635L.js';
|
|
7
7
|
import { Spinner } from './chunk-XSPCITPN.js';
|
|
8
8
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
9
9
|
import './VisuallyHidden-AOEXU5EB.css';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { richEditorLabels } from './chunk-CSQTDGTS.js';
|
|
2
2
|
import { Callout } from './chunk-BPCY7ZID.js';
|
|
3
3
|
import { Skeleton } from './chunk-BRLZXYPA.js';
|
|
4
|
-
import { Button } from './chunk-
|
|
4
|
+
import { Button } from './chunk-DGXZ635L.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-NNQEALNT.js').then(
|
|
13
13
|
(module) => {
|
|
14
14
|
engine = module.Editor;
|
|
15
15
|
return engine;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { SegmentedControl } from './chunk-
|
|
2
|
-
import { Button } from './chunk-
|
|
1
|
+
import { SegmentedControl } from './chunk-TYIHFDMP.js';
|
|
2
|
+
import { Button } from './chunk-DGXZ635L.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 { EditingStatus } from './chunk-VLGGLLKH.js';
|
|
2
2
|
import { Kbd } from './chunk-ANTAQAR4.js';
|
|
3
|
-
import { Button } from './chunk-
|
|
3
|
+
import { Button } from './chunk-DGXZ635L.js';
|
|
4
4
|
import { isComposing } from './chunk-H5XTJ7GJ.js';
|
|
5
5
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
6
6
|
import './InlineEditor-W55DDKML.css';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { Modal } from './chunk-
|
|
1
|
+
import { Modal } from './chunk-C667GCU7.js';
|
|
2
2
|
import { Callout } from './chunk-BPCY7ZID.js';
|
|
3
|
-
import { SegmentedControl } from './chunk-
|
|
4
|
-
import { FormField, Input } from './chunk-
|
|
5
|
-
import { Button } from './chunk-
|
|
3
|
+
import { SegmentedControl } from './chunk-TYIHFDMP.js';
|
|
4
|
+
import { FormField, Input } from './chunk-ETSF7SU6.js';
|
|
5
|
+
import { Button } from './chunk-DGXZ635L.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 { Kbd } from './chunk-ANTAQAR4.js';
|
|
2
|
-
import { Textarea } from './chunk-
|
|
2
|
+
import { Textarea } from './chunk-ETSF7SU6.js';
|
|
3
3
|
import { isComposing } from './chunk-H5XTJ7GJ.js';
|
|
4
4
|
import { VisuallyHidden } from './chunk-UT6CW3C7.js';
|
|
5
5
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { Timeline } from './chunk-4MJN2KN6.js';
|
|
2
2
|
import { Section } from './chunk-WFCWPXJN.js';
|
|
3
|
-
import { Composer } from './chunk-
|
|
3
|
+
import { Composer } from './chunk-5OFRDX66.js';
|
|
4
4
|
import { Disclosure } from './chunk-222VILSP.js';
|
|
5
5
|
import { ArtifactPanel } from './chunk-FFGEJUAP.js';
|
|
6
|
-
import { Button } from './chunk-
|
|
6
|
+
import { Button } from './chunk-DGXZ635L.js';
|
|
7
7
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
8
8
|
import './AgentHandoffPanel-AIU7YWWB.css';
|
|
9
9
|
import { useId, useRef, useEffect } from 'react';
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { Select } from './chunk-VK45YJLH.js';
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import { Modal } from './chunk-C667GCU7.js';
|
|
3
|
+
import { CopyButton } from './chunk-T5GBTXNC.js';
|
|
4
4
|
import { Callout } from './chunk-BPCY7ZID.js';
|
|
5
5
|
import { PrincipalAvatar } from './chunk-CI3VPIJN.js';
|
|
6
6
|
import { useHeadingLevel, headingTag } from './chunk-PQADV6P6.js';
|
|
7
7
|
import { useMediaMatch } from './chunk-RTPQDNW3.js';
|
|
8
|
-
import { Button } from './chunk-
|
|
8
|
+
import { Button } from './chunk-DGXZ635L.js';
|
|
9
9
|
import { IconButton } from './chunk-UAUP6XGK.js';
|
|
10
10
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
11
11
|
import './ShareDialog-72VTMM4K.css';
|
|
@@ -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-ETSF7SU6.js';
|
|
3
3
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
4
4
|
import './ColorField-2OIOWT3Z.css';
|
|
5
5
|
import { useId, useState } from 'react';
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { Select } from './chunk-VK45YJLH.js';
|
|
2
2
|
import { today, shiftMonth, CalendarGrid, compareDays } from './chunk-EE3DJMSQ.js';
|
|
3
3
|
import { Popover } from './chunk-KHJIEPZV.js';
|
|
4
|
-
import { Input } from './chunk-
|
|
5
|
-
import { Button } from './chunk-
|
|
4
|
+
import { Input } from './chunk-ETSF7SU6.js';
|
|
5
|
+
import { Button } from './chunk-DGXZ635L.js';
|
|
6
6
|
import { isComposing } from './chunk-H5XTJ7GJ.js';
|
|
7
|
-
import { useFocusModality } from './chunk-NUZHC6MM.js';
|
|
8
7
|
import { IconButton } from './chunk-UAUP6XGK.js';
|
|
8
|
+
import { useFocusModality } from './chunk-NUZHC6MM.js';
|
|
9
9
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
10
10
|
import './TimeWindowPicker-YZPKNZZI.css';
|
|
11
11
|
import { useMemo, useState, useRef, useId, useEffect } from 'react';
|
|
@@ -5,7 +5,7 @@ import { EmptyValue } from './chunk-RE3FBGQQ.js';
|
|
|
5
5
|
import { Avatar } from './chunk-PZKHBB7D.js';
|
|
6
6
|
import { VisuallyHidden } from './chunk-UT6CW3C7.js';
|
|
7
7
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
8
|
-
import './TableCells-
|
|
8
|
+
import './TableCells-TKSNLRK3.css';
|
|
9
9
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
10
10
|
|
|
11
11
|
function TableKeyCell({ value, text, href, emptyLabel = "Not set" }) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Select } from './chunk-VK45YJLH.js';
|
|
2
|
-
import { Combobox } from './chunk-
|
|
3
|
-
import { FormField, Textarea, InputAffix } from './chunk-
|
|
2
|
+
import { Combobox } from './chunk-ZUBFVK6B.js';
|
|
3
|
+
import { FormField, Textarea, InputAffix } from './chunk-ETSF7SU6.js';
|
|
4
4
|
import './Input-GEFFMKBS.css';
|
|
5
5
|
import './VisuallyHidden-AOEXU5EB.css';
|
|
6
6
|
import './HitArea-QUOS6ZDJ.css';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
+
import { Modal } from './chunk-C667GCU7.js';
|
|
1
2
|
import { useClipboard } from './chunk-STJ7QBC3.js';
|
|
2
|
-
import { Modal } from './chunk-I24FI46B.js';
|
|
3
3
|
import { EmptyValue } from './chunk-RE3FBGQQ.js';
|
|
4
4
|
import { useCardHeaderSlot } from './chunk-AV2DXAEL.js';
|
|
5
|
-
import { Checkbox } from './chunk-
|
|
6
|
-
import { Menu } from './chunk-
|
|
7
|
-
import { Button } from './chunk-
|
|
5
|
+
import { Checkbox } from './chunk-PBCNINMB.js';
|
|
6
|
+
import { Menu } from './chunk-OQG4P5KU.js';
|
|
7
|
+
import { Button } from './chunk-DGXZ635L.js';
|
|
8
8
|
import { IconButton } from './chunk-UAUP6XGK.js';
|
|
9
9
|
import { VisuallyHidden } from './chunk-UT6CW3C7.js';
|
|
10
10
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { HeadingLevelProvider } from './chunk-PQADV6P6.js';
|
|
2
|
-
import { Button } from './chunk-
|
|
2
|
+
import { Button } from './chunk-DGXZ635L.js';
|
|
3
3
|
import { useLayerContainer } from './chunk-OMV5W53A.js';
|
|
4
4
|
import { focusables, useModalLayer, useBodyScrollLock } from './chunk-H5XTJ7GJ.js';
|
|
5
5
|
import { IconButton } from './chunk-UAUP6XGK.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useAppShellPeek, ResizeHandle } from './chunk-PIYJNCN7.js';
|
|
2
|
-
import { ButtonLink } from './chunk-
|
|
2
|
+
import { ButtonLink } from './chunk-DGXZ635L.js';
|
|
3
3
|
import { IconButton } from './chunk-UAUP6XGK.js';
|
|
4
4
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
5
5
|
import './HitArea-QUOS6ZDJ.css';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { frameThemeMessage, readFrameHello, frameOriginMatches, negotiateBridge, FRAME_MESSAGE, portTargetOrigin, checkFrameSandbox, httpOrigin, isFrameNonce, frameFragment, readOpenLink, externalUrl, isFocusExit } from './chunk-F6V2PTN6.js';
|
|
2
2
|
import { Callout } from './chunk-BPCY7ZID.js';
|
|
3
3
|
import { Skeleton } from './chunk-BRLZXYPA.js';
|
|
4
|
-
import { Button } from './chunk-
|
|
4
|
+
import { Button } from './chunk-DGXZ635L.js';
|
|
5
5
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
6
6
|
import './SandboxedFrame-P5NASXB7.css';
|
|
7
7
|
import { useState, useMemo, useRef, useEffect } from 'react';
|
|
@@ -1,18 +1,19 @@
|
|
|
1
1
|
import { Spinner } from './chunk-XSPCITPN.js';
|
|
2
2
|
import { VisuallyHidden } from './chunk-UT6CW3C7.js';
|
|
3
3
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
4
|
-
import './Button-
|
|
4
|
+
import './Button-GDEBGBX6.css';
|
|
5
5
|
import { forwardRef, useId, Children, isValidElement, cloneElement } from 'react';
|
|
6
6
|
import { ExternalLinkGlyph } from '@crewlethq/icons/glyphs';
|
|
7
7
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
8
8
|
|
|
9
|
-
function buttonClass({ variant = "primary", size = "medium", shape = "square", block, className }, extra) {
|
|
9
|
+
function buttonClass({ variant = "primary", size = "medium", shape = "square", block, flush, className }, extra) {
|
|
10
10
|
return cx(
|
|
11
11
|
"crewlet-btn",
|
|
12
12
|
`crewlet-btn--${variant}`,
|
|
13
13
|
`crewlet-btn--${size}`,
|
|
14
14
|
`crewlet-btn--${shape}`,
|
|
15
15
|
block && "crewlet-btn--block",
|
|
16
|
+
flush && "crewlet-btn--flush",
|
|
16
17
|
extra,
|
|
17
18
|
className
|
|
18
19
|
);
|
|
@@ -36,6 +37,7 @@ var Button = forwardRef(function Button2({
|
|
|
36
37
|
leadingIcon,
|
|
37
38
|
trailingIcon,
|
|
38
39
|
block,
|
|
40
|
+
flush,
|
|
39
41
|
className,
|
|
40
42
|
type = "button",
|
|
41
43
|
asChild = false,
|
|
@@ -49,7 +51,7 @@ var Button = forwardRef(function Button2({
|
|
|
49
51
|
...rest
|
|
50
52
|
}, ref) {
|
|
51
53
|
const reasonId = useId();
|
|
52
|
-
const look = { variant, size, shape, block, className};
|
|
54
|
+
const look = { variant, size, shape, block, flush, className};
|
|
53
55
|
const classes = buttonClass(look, loading ? "crewlet-btn--loading" : void 0);
|
|
54
56
|
if (asChild) {
|
|
55
57
|
const child = Children.only(children);
|
|
@@ -99,6 +101,7 @@ var ButtonLink = forwardRef(function ButtonLink2({
|
|
|
99
101
|
leadingIcon,
|
|
100
102
|
trailingIcon,
|
|
101
103
|
block,
|
|
104
|
+
flush,
|
|
102
105
|
className,
|
|
103
106
|
external = false,
|
|
104
107
|
title,
|
|
@@ -111,7 +114,7 @@ var ButtonLink = forwardRef(function ButtonLink2({
|
|
|
111
114
|
{
|
|
112
115
|
...rest,
|
|
113
116
|
ref,
|
|
114
|
-
className: buttonClass({ variant, size, shape, block, className }),
|
|
117
|
+
className: buttonClass({ variant, size, shape, block, flush, className }),
|
|
115
118
|
title,
|
|
116
119
|
"aria-label": rest["aria-label"] ?? (children === void 0 ? title : void 0),
|
|
117
120
|
target: external ? "_blank" : rest.target,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { SlideStage } from './chunk-RMEBFYL7.js';
|
|
2
|
-
import { Button } from './chunk-
|
|
2
|
+
import { Button } from './chunk-DGXZ635L.js';
|
|
3
3
|
import { VisuallyHidden } from './chunk-UT6CW3C7.js';
|
|
4
4
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
5
5
|
import './SlideCompare-R4GVZXAM.css';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useDownload, safeFilename } from './chunk-YNRKVY7X.js';
|
|
2
|
-
import { Button } from './chunk-
|
|
2
|
+
import { Button } from './chunk-DGXZ635L.js';
|
|
3
3
|
import { VisuallyHidden } from './chunk-UT6CW3C7.js';
|
|
4
4
|
import { useMemo, useState, useRef, useEffect, useCallback } from 'react';
|
|
5
5
|
import { CheckGlyph, CircleAlertGlyph, SaveGlyph } from '@crewlethq/icons/glyphs';
|
|
@@ -9,8 +9,8 @@ import { Tag } from './chunk-I5OIKDX2.js';
|
|
|
9
9
|
import { Tooltip } from './chunk-I33UIUZD.js';
|
|
10
10
|
import { StatusDot } from './chunk-WIATRXEJ.js';
|
|
11
11
|
import { Avatar } from './chunk-PZKHBB7D.js';
|
|
12
|
-
import { Menu } from './chunk-
|
|
13
|
-
import { Button } from './chunk-
|
|
12
|
+
import { Menu } from './chunk-OQG4P5KU.js';
|
|
13
|
+
import { Button } from './chunk-DGXZ635L.js';
|
|
14
14
|
import { isComposing } from './chunk-H5XTJ7GJ.js';
|
|
15
15
|
import { IconButton } from './chunk-UAUP6XGK.js';
|
|
16
16
|
import { VisuallyHidden } from './chunk-UT6CW3C7.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { diffLines, diffStat, collapseDiff, DiffSummary, DiffView } from './chunk-AOFVXE6V.js';
|
|
2
|
-
import { SegmentedControl } from './chunk-
|
|
2
|
+
import { SegmentedControl } from './chunk-TYIHFDMP.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,6 +1,6 @@
|
|
|
1
1
|
import { Toolbar } from './chunk-NR4CPM4T.js';
|
|
2
|
-
import { SegmentedControl } from './chunk-
|
|
3
|
-
import { tabId } from './chunk-
|
|
2
|
+
import { SegmentedControl } from './chunk-TYIHFDMP.js';
|
|
3
|
+
import { tabId } from './chunk-IPUEVTRJ.js';
|
|
4
4
|
import { IconButton } from './chunk-UAUP6XGK.js';
|
|
5
5
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
6
6
|
import './MarkdownEditor-BLCJRGDC.css';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Note } from './chunk-5SZGKSGL.js';
|
|
2
|
-
import { CanvasToolbar, toolForKey } from './chunk-
|
|
3
|
-
import { IDENTITY_VIEW, Canvas } from './chunk-
|
|
2
|
+
import { CanvasToolbar, toolForKey } from './chunk-KL6A7JGH.js';
|
|
3
|
+
import { IDENTITY_VIEW, Canvas } from './chunk-OBPINJNO.js';
|
|
4
4
|
import { IconButton } from './chunk-UAUP6XGK.js';
|
|
5
5
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
6
6
|
import './CanvasBoard-U6LR5F6H.css';
|
|
@@ -1,15 +1,19 @@
|
|
|
1
|
-
import { Checkbox } from './chunk-
|
|
1
|
+
import { Checkbox } from './chunk-PBCNINMB.js';
|
|
2
2
|
import { EmptyState } from './chunk-PPUR46MK.js';
|
|
3
3
|
import { useMediaMatch } from './chunk-RTPQDNW3.js';
|
|
4
|
-
import { Button } from './chunk-
|
|
4
|
+
import { Button } from './chunk-DGXZ635L.js';
|
|
5
5
|
import { VisuallyHidden } from './chunk-UT6CW3C7.js';
|
|
6
6
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
7
|
-
import './DataGrid-
|
|
7
|
+
import './DataGrid-Q26F2V5Q.css';
|
|
8
8
|
import { useId, useRef, useState, useMemo, useCallback, useLayoutEffect, useImperativeHandle, useSyncExternalStore, useEffect } from 'react';
|
|
9
9
|
import { breakpoint } from '@crewlethq/tokens';
|
|
10
|
-
import {
|
|
10
|
+
import { ArrowDownGlyph, ArrowUpGlyph, ArrowUpDownGlyph } from '@crewlethq/icons/glyphs';
|
|
11
11
|
import { jsxs, Fragment, jsx } from 'react/jsx-runtime';
|
|
12
12
|
|
|
13
|
+
var DATA_GRID_ICON_TRACK = "calc(var(--size-target-min) + var(--spacing-3) * 2)";
|
|
14
|
+
function alignOf(column) {
|
|
15
|
+
return column.align ?? (column.icon ? "center" : "left");
|
|
16
|
+
}
|
|
13
17
|
function columnChoicesOf(columns) {
|
|
14
18
|
return columns.map((column) => ({
|
|
15
19
|
key: column.key,
|
|
@@ -59,6 +63,15 @@ function parseGridSort(raw) {
|
|
|
59
63
|
if (!raw) return null;
|
|
60
64
|
return raw.startsWith("-") ? { key: raw.slice(1), desc: true } : { key: raw, desc: false };
|
|
61
65
|
}
|
|
66
|
+
function nextGridSort(column, sort, defaultSort = "") {
|
|
67
|
+
const chosen = sort === defaultSort ? "" : sort;
|
|
68
|
+
const current2 = parseGridSort(chosen || defaultSort);
|
|
69
|
+
let next;
|
|
70
|
+
if (current2?.key !== column) next = column;
|
|
71
|
+
else if (!current2.desc) next = `-${column}`;
|
|
72
|
+
else next = chosen ? "" : column;
|
|
73
|
+
return next === defaultSort ? "" : next;
|
|
74
|
+
}
|
|
62
75
|
function headerWord(column) {
|
|
63
76
|
return typeof column.header === "string" ? column.header : "";
|
|
64
77
|
}
|
|
@@ -120,7 +133,7 @@ function squeezed(wrap, visible, leading = 0) {
|
|
|
120
133
|
let headCut = false;
|
|
121
134
|
for (let i = 0; i < visible.length; i++) {
|
|
122
135
|
const column = visible[i];
|
|
123
|
-
if (!column.shrink || column.width) continue;
|
|
136
|
+
if (!column.shrink || column.width || column.icon) continue;
|
|
124
137
|
const head = heads[i + leading];
|
|
125
138
|
if (!head || head.getBoundingClientRect().width >= cap) continue;
|
|
126
139
|
if (cutShort(head)) headCut = true;
|
|
@@ -156,6 +169,7 @@ function DataGrid({
|
|
|
156
169
|
selection,
|
|
157
170
|
isFailed,
|
|
158
171
|
sort: sortRaw = "",
|
|
172
|
+
defaultSort = "",
|
|
159
173
|
onSortChange,
|
|
160
174
|
serverSorted = false,
|
|
161
175
|
cols: colsRaw = "",
|
|
@@ -174,7 +188,7 @@ function DataGrid({
|
|
|
174
188
|
className
|
|
175
189
|
}) {
|
|
176
190
|
const text = { ...LABELS, ...labels };
|
|
177
|
-
const sort = parseGridSort(sortRaw);
|
|
191
|
+
const sort = parseGridSort(sortRaw || defaultSort);
|
|
178
192
|
const body = useRef(null);
|
|
179
193
|
const [cursor, setCursor] = useState(-1);
|
|
180
194
|
const gridId = useId();
|
|
@@ -278,7 +292,7 @@ function DataGrid({
|
|
|
278
292
|
),
|
|
279
293
|
action: true,
|
|
280
294
|
phoneLead: true,
|
|
281
|
-
width:
|
|
295
|
+
width: DATA_GRID_ICON_TRACK
|
|
282
296
|
} : null;
|
|
283
297
|
const drawnColumns = selectColumn ? [selectColumn, ...visibleColumns] : visibleColumns;
|
|
284
298
|
const leading = drawnColumns.length - visibleColumns.length;
|
|
@@ -312,10 +326,31 @@ function DataGrid({
|
|
|
312
326
|
body.current?.querySelector(`[data-row-index="${next}"]`)?.scrollIntoView({ block: "nearest" });
|
|
313
327
|
return next;
|
|
314
328
|
}),
|
|
329
|
+
// THE ROW'S OWN WAY IN, from the keyboard: its handler where it has
|
|
330
|
+
// one, else its link, followed as a click on it would be (with the
|
|
331
|
+
// keys held, so a modified Enter opens it elsewhere as a modified
|
|
332
|
+
// click does). A grid of links only had no Enter at all.
|
|
315
333
|
activate: (event) => {
|
|
316
334
|
const row = flat[cursor];
|
|
317
|
-
if (row === void 0
|
|
318
|
-
onRowActivate
|
|
335
|
+
if (row === void 0) return false;
|
|
336
|
+
if (onRowActivate) {
|
|
337
|
+
onRowActivate(row, event);
|
|
338
|
+
return true;
|
|
339
|
+
}
|
|
340
|
+
const link = body.current?.querySelector(
|
|
341
|
+
`[data-row-index="${cursor}"] > .crewlet-data-grid__cell > a.crewlet-data-grid__row-link`
|
|
342
|
+
);
|
|
343
|
+
if (!link) return false;
|
|
344
|
+
link.dispatchEvent(
|
|
345
|
+
new MouseEvent("click", {
|
|
346
|
+
bubbles: true,
|
|
347
|
+
cancelable: true,
|
|
348
|
+
metaKey: event.metaKey,
|
|
349
|
+
ctrlKey: event.ctrlKey,
|
|
350
|
+
shiftKey: event.shiftKey,
|
|
351
|
+
altKey: event.altKey
|
|
352
|
+
})
|
|
353
|
+
);
|
|
319
354
|
return true;
|
|
320
355
|
},
|
|
321
356
|
rowCount: () => flat.length
|
|
@@ -324,11 +359,11 @@ function DataGrid({
|
|
|
324
359
|
);
|
|
325
360
|
function headerClick(column) {
|
|
326
361
|
if (!column.sortValue || !onSortChange) return;
|
|
327
|
-
|
|
328
|
-
else if (sort?.key === column.key && sort.desc) onSortChange("");
|
|
329
|
-
else onSortChange(column.key);
|
|
362
|
+
onSortChange(nextGridSort(column.key, sortRaw, defaultSort));
|
|
330
363
|
}
|
|
331
|
-
const template = drawnColumns.map(
|
|
364
|
+
const template = drawnColumns.map(
|
|
365
|
+
(c) => c.width ?? (c.icon ? DATA_GRID_ICON_TRACK : c.shrink ? `fit-content(${SHRINK_CAP})` : `minmax(${c.floor ?? 0}, 1fr)`)
|
|
366
|
+
).join(" ");
|
|
332
367
|
if (flat.length === 0 && !bands?.length && empty) {
|
|
333
368
|
return /* @__PURE__ */ jsx("div", { className: cx("crewlet-data-grid", className), "data-flush": flush || void 0, children: /* @__PURE__ */ jsx(
|
|
334
369
|
EmptyState,
|
|
@@ -377,7 +412,8 @@ function DataGrid({
|
|
|
377
412
|
role: "cell",
|
|
378
413
|
className: cx(
|
|
379
414
|
"crewlet-data-grid__cell",
|
|
380
|
-
column
|
|
415
|
+
alignOf(column) !== "left" && `crewlet-data-grid__cell--${alignOf(column)}`,
|
|
416
|
+
column.icon && "crewlet-data-grid__cell--icon",
|
|
381
417
|
column.shrink && "crewlet-data-grid__cell--shrink"
|
|
382
418
|
),
|
|
383
419
|
"data-lead": column.phoneLead || void 0,
|
|
@@ -444,36 +480,46 @@ function DataGrid({
|
|
|
444
480
|
const sortable = Boolean(column.sortValue && onSortChange);
|
|
445
481
|
const headClass = cx(
|
|
446
482
|
"crewlet-data-grid__th",
|
|
447
|
-
column
|
|
483
|
+
alignOf(column) !== "left" && `crewlet-data-grid__th--${alignOf(column)}`,
|
|
484
|
+
column.icon && "crewlet-data-grid__th--icon",
|
|
448
485
|
column.shrink && "crewlet-data-grid__th--shrink",
|
|
449
486
|
sorted && "crewlet-data-grid__th--sorted",
|
|
450
487
|
!sortable && "crewlet-data-grid__th--plain"
|
|
451
488
|
);
|
|
452
|
-
const
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
489
|
+
const worded = column.header !== "" && column.header !== null && column.header !== void 0;
|
|
490
|
+
const label = worded ? /* @__PURE__ */ jsx("span", { className: "crewlet-data-grid__truncate", children: column.header }) : null;
|
|
491
|
+
const arrow = sorted ? sort?.desc ? /* @__PURE__ */ jsx(ArrowDownGlyph, { size: "xs" }) : /* @__PURE__ */ jsx(ArrowUpGlyph, { size: "xs" }) : sortable ? /* @__PURE__ */ jsx(ArrowUpDownGlyph, { size: "xs" }) : null;
|
|
492
|
+
const ariaSort = sorted ? sort?.desc ? "descending" : "ascending" : void 0;
|
|
493
|
+
const mark = arrow && /* @__PURE__ */ jsx("span", { className: "crewlet-data-grid__sort-mark", "aria-hidden": "true", children: arrow });
|
|
456
494
|
if (!sortable) {
|
|
457
495
|
const named = !headerWord(column) && !column.action ? column.label : void 0;
|
|
458
|
-
return
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
496
|
+
return (
|
|
497
|
+
// THE ORDER IN FORCE IS SAID on a head that cannot change it too:
|
|
498
|
+
// a grid sorted by its default, with nothing to press.
|
|
499
|
+
/* @__PURE__ */ jsxs("div", { className: headClass, role: "columnheader", title: named, "aria-sort": ariaSort, children: [
|
|
500
|
+
label,
|
|
501
|
+
mark,
|
|
502
|
+
named && /* @__PURE__ */ jsx(VisuallyHidden, { children: named })
|
|
503
|
+
] }, column.key)
|
|
504
|
+
);
|
|
462
505
|
}
|
|
463
506
|
return /* @__PURE__ */ jsx(
|
|
464
507
|
"div",
|
|
465
508
|
{
|
|
466
509
|
className: headClass,
|
|
467
510
|
role: "columnheader",
|
|
468
|
-
"aria-sort":
|
|
469
|
-
children: /* @__PURE__ */
|
|
511
|
+
"aria-sort": ariaSort,
|
|
512
|
+
children: /* @__PURE__ */ jsxs(
|
|
470
513
|
"button",
|
|
471
514
|
{
|
|
472
515
|
type: "button",
|
|
473
516
|
className: "crewlet-data-grid__sort",
|
|
474
517
|
onClick: () => headerClick(column),
|
|
475
518
|
"aria-label": headerWord(column) ? void 0 : column.label,
|
|
476
|
-
children:
|
|
519
|
+
children: [
|
|
520
|
+
label,
|
|
521
|
+
mark
|
|
522
|
+
]
|
|
477
523
|
}
|
|
478
524
|
)
|
|
479
525
|
},
|
|
@@ -544,4 +590,4 @@ function useAnyDataGridDriving() {
|
|
|
544
590
|
return drivable.length > 0;
|
|
545
591
|
}
|
|
546
592
|
|
|
547
|
-
export { ChooserList, ColumnChooser, DataGrid, columnChoicesOf, countDataGridRows, fitGridColumns, parseGridSort, useAnyDataGridDriving, useDataGridDriving };
|
|
593
|
+
export { ChooserList, ColumnChooser, DATA_GRID_ICON_TRACK, DataGrid, columnChoicesOf, countDataGridRows, fitGridColumns, nextGridSort, parseGridSort, useAnyDataGridDriving, useDataGridDriving };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { safeHref } from './chunk-BAKPMH3S.js';
|
|
2
2
|
import { IconTile } from './chunk-3LI4TRUR.js';
|
|
3
|
-
import { ReceiptStrip } from './chunk-
|
|
3
|
+
import { ReceiptStrip } from './chunk-ZWCK4N4L.js';
|
|
4
4
|
import { StatusCard } from './chunk-NTQPJJAN.js';
|
|
5
|
-
import { ButtonLink, Button } from './chunk-
|
|
5
|
+
import { ButtonLink, Button } from './chunk-DGXZ635L.js';
|
|
6
6
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
7
7
|
import './OpenInAppCard-CKHCK7DO.css';
|
|
8
8
|
import { CircleCheckGlyph } from '@crewlethq/icons/glyphs';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { useReorder } from './chunk-MPVMB2DV.js';
|
|
2
2
|
import { Kbd } from './chunk-ANTAQAR4.js';
|
|
3
|
-
import { FormField, Textarea } from './chunk-
|
|
3
|
+
import { FormField, Textarea } from './chunk-ETSF7SU6.js';
|
|
4
4
|
import { characterCountState, CharacterCount, countCharacters } from './chunk-PGCLHYVP.js';
|
|
5
5
|
import { announce } from './chunk-2G355KDJ.js';
|
|
6
|
-
import { Button } from './chunk-
|
|
6
|
+
import { Button } from './chunk-DGXZ635L.js';
|
|
7
7
|
import { isComposing } from './chunk-H5XTJ7GJ.js';
|
|
8
8
|
import { IconButton } from './chunk-UAUP6XGK.js';
|
|
9
9
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { today, CalendarGrid, shiftMonth, compareDays } from './chunk-EE3DJMSQ.js';
|
|
2
2
|
import { Popover } from './chunk-KHJIEPZV.js';
|
|
3
|
-
import { Button } from './chunk-
|
|
4
|
-
import { useFocusModality } from './chunk-NUZHC6MM.js';
|
|
3
|
+
import { Button } from './chunk-DGXZ635L.js';
|
|
5
4
|
import { IconButton } from './chunk-UAUP6XGK.js';
|
|
5
|
+
import { useFocusModality } from './chunk-NUZHC6MM.js';
|
|
6
6
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
7
7
|
import './DateTimePicker-PM6TIRIX.css';
|
|
8
8
|
import { useMemo, useState, useEffect } from 'react';
|