@crewlethq/ui 0.58.0 → 0.59.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/Accordion/index.js +4 -4
- package/dist/AddPill/index.js +2 -2
- package/dist/AgentHandoffPanel/index.js +15 -15
- package/dist/Announcer/index.js +2 -2
- package/dist/AppShell/index.js +5 -5
- package/dist/ArrangeFrame/index.js +4 -4
- package/dist/ArrangeGroup/index.js +3 -3
- package/dist/ArrangeList/index.js +8 -8
- package/dist/ArtifactBar/index.js +9 -9
- package/dist/ArtifactCard/index.js +13 -13
- package/dist/ArtifactKindIllustration/index.js +2 -2
- package/dist/ArtifactMakeRow/index.js +2 -2
- package/dist/ArtifactNameCell/index.js +2 -2
- package/dist/ArtifactPanel/index.js +4 -4
- package/dist/AuthLayout/index.js +4 -4
- package/dist/AvatarPicker/index.js +9 -9
- package/dist/Button/index.js +2 -2
- package/dist/Canvas/index.js +5 -5
- package/dist/CanvasBoard/index.js +7 -7
- package/dist/CanvasToolbar/index.js +6 -6
- package/dist/Card/index.js +3 -3
- package/dist/ChangeList/ChangeList.d.ts +4 -2
- package/dist/ChangeList/index.js +6 -6
- package/dist/CharacterCount/index.js +3 -3
- package/dist/Charts/index.js +2 -2
- package/dist/ChatThread/index.js +3 -3
- package/dist/Checkbox/index.js +6 -6
- package/dist/ChoiceButtons/index.js +2 -2
- package/dist/CodeBlock/index.js +5 -5
- package/dist/ColorField/index.js +6 -6
- package/dist/ColorSwatch/index.js +5 -5
- package/dist/Combobox/index.js +6 -6
- package/dist/CommandPalette/index.js +10 -10
- package/dist/CommentThread/index.js +13 -13
- package/dist/Composer/index.js +7 -7
- package/dist/ConfirmField/index.js +6 -6
- package/dist/ConflictNote/index.js +3 -3
- package/dist/ContrastBadge/index.js +2 -2
- package/dist/ContrastHelp/index.js +4 -4
- package/dist/Copyable/index.js +4 -4
- package/dist/Count/index.js +2 -2
- package/dist/DataGrid/index.js +8 -8
- package/dist/DataTable/index.js +11 -11
- package/dist/DataView/index.js +16 -16
- package/dist/DatasetSource/index.js +4 -4
- package/dist/DateTimePicker/index.js +4 -4
- package/dist/DiffList/index.js +2 -2
- package/dist/DiffView/index.js +2 -2
- package/dist/Disclosure/index.js +4 -4
- package/dist/DocTabsEditor/index.js +9 -9
- package/dist/DownloadButton/index.js +3 -3
- package/dist/EditingStatus/index.js +4 -4
- package/dist/{Editor-GSBLM7NO.js → Editor-ZO5CCXOJ.js} +7 -7
- package/dist/EmptyValue/index.js +2 -2
- package/dist/EntityList/EntityList.d.ts +7 -2
- package/dist/EntityList/index.js +5 -5
- package/dist/ErrorBoundary/index.js +3 -3
- package/dist/FactList/index.js +2 -2
- package/dist/FileDrop/index.js +3 -3
- package/dist/FilterChip/index.js +2 -2
- package/dist/FindingList/index.js +2 -2
- package/dist/FolderTile/index.js +4 -4
- package/dist/FollowBanner/index.js +3 -3
- package/dist/HuePicker/index.js +8 -8
- package/dist/IconButton/index.js +2 -2
- package/dist/InboxList/index.js +2 -2
- package/dist/InlineEditor/index.js +7 -7
- package/dist/Input/index.js +5 -5
- package/dist/Kbd/index.js +2 -2
- package/dist/Link/index.js +2 -2
- package/dist/LinkInterstitial/index.js +5 -5
- package/dist/List/index.js +2 -2
- package/dist/ListInput/index.js +9 -9
- package/dist/LockedLabel/index.js +2 -2
- package/dist/LogoSlot/index.js +5 -5
- package/dist/MarkdownEditor/index.js +8 -8
- package/dist/Menu/index.js +4 -4
- package/dist/MergeConflicts/index.js +8 -8
- package/dist/Meter/index.js +2 -2
- package/dist/Modal/index.js +4 -4
- package/dist/NewItemsNotice/index.js +3 -3
- package/dist/ObjectHeader/index.js +3 -3
- package/dist/OpenInAppCard/index.js +7 -7
- package/dist/OrgTable/index.js +5 -5
- package/dist/PeekRail/index.js +4 -4
- package/dist/PeopleRail/index.js +4 -4
- package/dist/PinTile/index.js +3 -3
- package/dist/PresenceStack/index.js +2 -2
- package/dist/PresenterView/index.js +5 -5
- package/dist/PrincipalPicker/index.js +7 -7
- package/dist/PropertyList/index.js +5 -5
- package/dist/ProposalCard/index.js +11 -11
- package/dist/ReceiptStrip/index.js +3 -3
- package/dist/RefusalCard/index.js +5 -5
- package/dist/RelatedRow/index.js +4 -4
- package/dist/RelativeTime/index.js +3 -3
- package/dist/Reorder/index.js +3 -3
- package/dist/ResultTableCard/ResultTableCard.d.ts +5 -1
- package/dist/ResultTableCard/index.js +8 -8
- package/dist/RichEditor/index.js +4 -4
- package/dist/RunChip/RunChip.d.ts +3 -2
- package/dist/RunChip/index.js +6 -6
- package/dist/{RunChip-I2S4VZ3R.css → RunChip-D3JYPTTO.css} +8 -1
- package/dist/SandboxedFrame/index.js +4 -4
- package/dist/SectionFrame/index.js +4 -4
- package/dist/SegmentedControl/index.js +7 -7
- package/dist/SelectionBar/index.js +4 -4
- package/dist/SendButton/index.js +3 -3
- package/dist/SetupWizard/index.js +6 -6
- package/dist/ShareDialog/index.js +6 -6
- package/dist/SheetColumnEditor/index.js +14 -14
- package/dist/SheetGrid/index.js +7 -7
- package/dist/SidePanel/index.js +3 -3
- package/dist/SidebarNav/index.js +3 -3
- package/dist/Skeleton/index.js +2 -2
- package/dist/SlideCompare/index.js +3 -3
- package/dist/SlideFilmstrip/index.js +8 -8
- package/dist/SlideNav/index.js +3 -3
- package/dist/SourceEditor/index.js +2 -2
- package/dist/StatCard/index.js +2 -2
- package/dist/StatusCard/StatusCard.d.ts +32 -2
- package/dist/StatusCard/index.d.ts +1 -1
- package/dist/StatusCard/index.js +4 -4
- package/dist/StatusCard-AMOI6GBK.css +171 -0
- package/dist/Stepper/index.js +2 -2
- package/dist/SuggestionRow/index.js +2 -2
- package/dist/Switcher/index.js +9 -9
- package/dist/Table/index.js +2 -2
- package/dist/TableCells/index.js +5 -5
- package/dist/Tabs/index.js +6 -6
- package/dist/TagGroup/index.js +3 -3
- package/dist/TagsInput/index.js +4 -4
- package/dist/ThemeSwitcher/index.js +8 -8
- package/dist/ThemeToggle/index.js +3 -3
- package/dist/TimeRangePicker/index.js +12 -12
- package/dist/TimeWindowPicker/index.js +7 -7
- package/dist/Timeline/index.js +2 -2
- package/dist/Toaster/index.js +2 -2
- package/dist/TreeCanvas/index.js +6 -6
- package/dist/TreeGrid/index.js +3 -3
- package/dist/VersionCompare/index.js +9 -9
- package/dist/VersionTimeline/index.js +6 -6
- package/dist/VisuallyHidden/index.js +1 -1
- package/dist/VisuallyHidden-AOEXU5EB.css +27 -0
- package/dist/WidgetFrame/index.js +5 -5
- package/dist/{chunk-RSAQOKH3.js → chunk-2G355KDJ.js} +1 -1
- package/dist/{chunk-2BQYODY3.js → chunk-2GIUKIFV.js} +1 -1
- package/dist/{chunk-DJ46CKSP.js → chunk-2N7OPHD4.js} +5 -5
- package/dist/{chunk-6KLK7E76.js → chunk-2PNUEIN3.js} +4 -4
- package/dist/{chunk-TDQ262TB.js → chunk-34NMOVXO.js} +1 -1
- package/dist/{chunk-IFWJNKVT.js → chunk-365RJTJW.js} +2 -2
- package/dist/{chunk-R3BA3C4Y.js → chunk-37U3Z65B.js} +1 -1
- package/dist/{chunk-PDTEPN4D.js → chunk-3DMPZZQ6.js} +3 -3
- package/dist/{chunk-LBUQ6R66.js → chunk-3M7UZ43L.js} +1 -1
- package/dist/{chunk-PXU6HOZB.js → chunk-463DNZXI.js} +1 -1
- package/dist/{chunk-HYRKTVKL.js → chunk-4H5H67CB.js} +3 -3
- package/dist/{chunk-ICWUDNAZ.js → chunk-4MC2EEGO.js} +1 -1
- package/dist/{chunk-5NT6OIPP.js → chunk-4MRFLHJC.js} +1 -1
- package/dist/{chunk-EXP5RD3R.js → chunk-4Q4MS7DQ.js} +4 -4
- package/dist/{chunk-O2EGEONV.js → chunk-4U2D6BPR.js} +1 -1
- package/dist/{chunk-DHS335W4.js → chunk-54HTAN33.js} +3 -3
- package/dist/{chunk-45KMH3E3.js → chunk-5DJMFRSZ.js} +1 -1
- package/dist/{chunk-52IHWD3V.js → chunk-5FSTYJUU.js} +5 -5
- package/dist/{chunk-XRZGGB6I.js → chunk-5IPPLWVA.js} +1 -1
- package/dist/{chunk-XYCADWZN.js → chunk-5KEVSZ4K.js} +1 -1
- package/dist/{chunk-BHHIIK3M.js → chunk-5KRRJNQO.js} +1 -1
- package/dist/{chunk-CVH7KBAJ.js → chunk-5ZZRSTLQ.js} +3 -3
- package/dist/{chunk-36DZUEVY.js → chunk-6CARUBNX.js} +2 -2
- package/dist/{chunk-BA2KFNUD.js → chunk-722PJA72.js} +4 -4
- package/dist/{chunk-XODESBSR.js → chunk-74UPBUD6.js} +1 -1
- package/dist/{chunk-DIR6CSJP.js → chunk-75QASA62.js} +5 -8
- package/dist/{chunk-2XBIN5C2.js → chunk-7V7EBBVF.js} +5 -5
- package/dist/{chunk-73QP5CDO.js → chunk-7ZKTYBWW.js} +3 -3
- package/dist/{chunk-SMBKXWML.js → chunk-ACRRRPWT.js} +1 -1
- package/dist/{chunk-BVWSLXTY.js → chunk-AOFVXE6V.js} +1 -1
- package/dist/{chunk-JLRXCKTS.js → chunk-AQDQGCRB.js} +3 -3
- package/dist/{chunk-OHBXOEP3.js → chunk-AVTQ6CIX.js} +1 -1
- package/dist/{chunk-E7QLG3PG.js → chunk-B53FUJ53.js} +2 -2
- package/dist/{chunk-32SOAYCF.js → chunk-BAUJ3NLC.js} +2 -2
- package/dist/{chunk-YPGD2YWN.js → chunk-BJ4LMNXZ.js} +1 -1
- package/dist/{chunk-LFHVYGQL.js → chunk-BMFA4G5D.js} +5 -5
- package/dist/{chunk-KLGO4526.js → chunk-CPOU5TA7.js} +5 -5
- package/dist/{chunk-D3EJSLCL.js → chunk-CVDK3LDB.js} +1 -1
- package/dist/{chunk-YCGZK2E4.js → chunk-CZCZLEDD.js} +2 -2
- package/dist/{chunk-HMVQQEHW.js → chunk-D2BYJNEH.js} +1 -1
- package/dist/{chunk-7QE27DWU.js → chunk-D2R65FBU.js} +2 -2
- package/dist/{chunk-6LRCOXP6.js → chunk-DBV7U54M.js} +4 -4
- package/dist/{chunk-NTB5LRRD.js → chunk-DG6KSGNQ.js} +1 -1
- package/dist/{chunk-SEMZEENR.js → chunk-DNKK6PIR.js} +2 -2
- package/dist/{chunk-3DVOJK63.js → chunk-DTVLZ2HZ.js} +2 -2
- package/dist/{chunk-JIG4D2IQ.js → chunk-EQYNFXUO.js} +2 -2
- package/dist/{chunk-YHTIWHEF.js → chunk-FCM5YD37.js} +10 -10
- package/dist/{chunk-3LYWD3BO.js → chunk-FGRJXZUU.js} +1 -1
- package/dist/{chunk-FXQLNETQ.js → chunk-FWWHPUHZ.js} +5 -5
- package/dist/{chunk-TFIINTEU.js → chunk-GK3PXGLS.js} +2 -2
- package/dist/{chunk-N3ISZVLK.js → chunk-GWCOPRXL.js} +1 -1
- package/dist/{chunk-RLJXVFEH.js → chunk-HACEB6L4.js} +1 -1
- package/dist/{chunk-UC3PB356.js → chunk-HKQUOIL5.js} +1 -1
- package/dist/{chunk-FBSEJO2C.js → chunk-HOP3J622.js} +1 -1
- package/dist/{chunk-4CBGIRVU.js → chunk-HQDEZNVJ.js} +1 -1
- package/dist/{chunk-UM3EKJXF.js → chunk-HTEFROIZ.js} +3 -3
- package/dist/{chunk-OOBXGR5B.js → chunk-HV6XDLUM.js} +3 -3
- package/dist/{chunk-FAKL6PXB.js → chunk-IC6HNMTD.js} +1 -1
- package/dist/{chunk-QKXQC5D6.js → chunk-IPAIGCWB.js} +1 -1
- package/dist/{chunk-UYZZV4DZ.js → chunk-IWZG7NPV.js} +1 -1
- package/dist/{chunk-M5KZX5JE.js → chunk-J4HPMS7F.js} +1 -1
- package/dist/{chunk-BLPT6GHV.js → chunk-JE4FCRVL.js} +1 -1
- package/dist/{chunk-5VFBBKZE.js → chunk-JMF5UXUG.js} +1 -1
- package/dist/{chunk-JS2TRHBF.js → chunk-JUOKHJA3.js} +2 -2
- package/dist/{chunk-C5AKPSNY.js → chunk-JW5EFD4R.js} +5 -5
- package/dist/{chunk-T4D7RZNI.js → chunk-K4U2VDOJ.js} +1 -1
- package/dist/{chunk-3JYCCTGK.js → chunk-KMWQLO4M.js} +3 -3
- package/dist/{chunk-BDYQTU5Q.js → chunk-KNABA7D4.js} +3 -3
- package/dist/{chunk-KS7YIJ4S.js → chunk-L6NG7CUA.js} +1 -1
- package/dist/{chunk-MKFL7TFU.js → chunk-LBWFAVV4.js} +1 -1
- package/dist/{chunk-RXAODDFD.js → chunk-LEB3FOSA.js} +2 -2
- package/dist/{chunk-OTMP2AUQ.js → chunk-M2S5LG2H.js} +1 -1
- package/dist/{chunk-AZ5BKSGV.js → chunk-M5GPCENM.js} +2 -2
- package/dist/{chunk-INHXF2CL.js → chunk-MKKX6N7C.js} +1 -1
- package/dist/{chunk-WXRH7NZW.js → chunk-MMZZGJHX.js} +1 -1
- package/dist/{chunk-XJ2QEBMM.js → chunk-MPVMB2DV.js} +1 -1
- package/dist/{chunk-U5PJSGHG.js → chunk-MTIVWCO3.js} +1 -1
- package/dist/{chunk-N4GBDK4L.js → chunk-MYJZCSMA.js} +1 -1
- package/dist/{chunk-FLTMDSC3.js → chunk-NMT4A46R.js} +2 -2
- package/dist/{chunk-JSR6HSK5.js → chunk-O3K5H6CP.js} +1 -1
- package/dist/{chunk-FA44M2YT.js → chunk-OB5N3FV2.js} +28 -3
- package/dist/{chunk-3NQS6KYG.js → chunk-OE3UUHXO.js} +1 -1
- package/dist/{chunk-QZXSEPLJ.js → chunk-OVVMNUZD.js} +3 -3
- package/dist/{chunk-GG4QZWMQ.js → chunk-P4YORMRZ.js} +1 -1
- package/dist/{chunk-JILNCBBS.js → chunk-P7QDOKTP.js} +1 -1
- package/dist/{chunk-XCUUI7E7.js → chunk-PGCLHYVP.js} +2 -2
- package/dist/{chunk-ARZF7KEO.js → chunk-PNGE2N6F.js} +8 -8
- package/dist/{chunk-CFHGVO5L.js → chunk-POUCKFMQ.js} +2 -2
- package/dist/{chunk-2K6FUMIK.js → chunk-PR7MFMDZ.js} +1 -1
- package/dist/{chunk-TEUQWOWZ.js → chunk-QBI5ETKY.js} +1 -1
- package/dist/{chunk-TROLVEZY.js → chunk-QC2DEQCN.js} +1 -1
- package/dist/{chunk-C4BN6MZJ.js → chunk-QMIDBQCK.js} +1 -1
- package/dist/{chunk-RV6XB5UV.js → chunk-QZLNKLYD.js} +1 -1
- package/dist/{chunk-EUCC37WY.js → chunk-RE3FBGQQ.js} +1 -1
- package/dist/{chunk-ZHMJG3UG.js → chunk-RECXPH7X.js} +5 -5
- package/dist/{chunk-PXDIHHJA.js → chunk-RIMDUTL6.js} +1 -1
- package/dist/{chunk-NHJQXDHA.js → chunk-RNULFW4V.js} +2 -2
- package/dist/{chunk-Z3GDMNMU.js → chunk-RO2MZZ66.js} +1 -1
- package/dist/{chunk-UGNUUVRI.js → chunk-RQFRRPV6.js} +1 -1
- package/dist/{chunk-ALU5EGQB.js → chunk-SEPFBDSS.js} +1 -1
- package/dist/{chunk-INVSUFJK.js → chunk-SHLP2BNA.js} +2 -2
- package/dist/{chunk-QFGKFCL2.js → chunk-T4THNJ6E.js} +2 -2
- package/dist/{chunk-OHGH7O6T.js → chunk-TEV5REGB.js} +1 -1
- package/dist/{chunk-DXRPB3JD.js → chunk-TIXAEVYX.js} +1 -1
- package/dist/{chunk-3EYSYEXP.js → chunk-U4AXQI6U.js} +4 -4
- package/dist/{chunk-CTUHHM6H.js → chunk-UC7SEKT5.js} +2 -2
- package/dist/{chunk-BZFWDIV6.js → chunk-UT6CW3C7.js} +1 -1
- package/dist/{chunk-QTB5S6JZ.js → chunk-UTIZFLI3.js} +2 -2
- package/dist/{chunk-TUZGFMRW.js → chunk-V3RW7FRQ.js} +2 -2
- package/dist/{chunk-V326ADVR.js → chunk-V6HG3GG4.js} +3 -3
- package/dist/{chunk-XZ42MKHK.js → chunk-VBYRA3W6.js} +3 -3
- package/dist/{chunk-YPTTSJPM.js → chunk-VO2PDDRE.js} +1 -1
- package/dist/{chunk-VRNUKH2W.js → chunk-VRL2YMYT.js} +2 -2
- package/dist/{chunk-57KC5B5M.js → chunk-VSDHSSKA.js} +7 -7
- package/dist/{chunk-JMMS2PQU.js → chunk-VSZP3YRV.js} +1 -1
- package/dist/{chunk-S4DREXGM.js → chunk-VTUAQYOC.js} +1 -1
- package/dist/{chunk-WW7TU6HE.js → chunk-WDRYUMN6.js} +1 -1
- package/dist/{chunk-IDQBSMMZ.js → chunk-WR5CTBAE.js} +6 -6
- package/dist/{chunk-JKZ3A4GY.js → chunk-WRNDXYXK.js} +4 -4
- package/dist/chunk-WW4E5EUS.js +118 -0
- package/dist/{chunk-L22HQRNF.js → chunk-XCT6P7LB.js} +7 -7
- package/dist/{chunk-H23GAACC.js → chunk-XDHILOXS.js} +4 -4
- package/dist/{chunk-DRT4L4WC.js → chunk-XQBLBJN4.js} +1 -1
- package/dist/{chunk-SDSBVVLL.js → chunk-YBI7M2JH.js} +1 -1
- package/dist/{chunk-GPW4M4OI.js → chunk-YCBIM4XO.js} +3 -3
- package/dist/{chunk-CSBS66PG.js → chunk-YDVEFGLP.js} +3 -3
- package/dist/{chunk-T22NCHGT.js → chunk-YDVINM4N.js} +3 -3
- package/dist/{chunk-TA72CURM.js → chunk-YND37ZPE.js} +1 -1
- package/dist/{chunk-CBR52S2C.js → chunk-YUQHMGEY.js} +2 -2
- package/dist/{chunk-DFUYHPY7.js → chunk-Z4DYKDD6.js} +6 -6
- package/dist/{chunk-AP7GA5AA.js → chunk-Z4EKUMZW.js} +1 -1
- package/dist/{chunk-AUQPBL4O.js → chunk-Z6X3F4H6.js} +1 -1
- package/dist/{chunk-FVD7FSKO.js → chunk-Z7CD4HLH.js} +3 -3
- package/dist/{chunk-3FGBMI36.js → chunk-ZECQEJUE.js} +2 -2
- package/dist/{chunk-NEHSV55H.js → chunk-ZH5F2PXC.js} +21 -16
- package/dist/{chunk-TFGCNBWP.js → chunk-ZYO2QFU6.js} +1 -1
- package/dist/generated/index.js +147 -147
- package/dist/index.js +147 -147
- package/dist/styles.css +129 -7
- package/package.json +3 -3
- package/dist/StatusCard-6RPEE6UU.css +0 -62
- package/dist/VisuallyHidden-L552H7OA.css +0 -21
- package/dist/chunk-WDIVALLP.js +0 -51
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { VisuallyHidden } from './chunk-
|
|
1
|
+
import { VisuallyHidden } from './chunk-UT6CW3C7.js';
|
|
2
2
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
3
3
|
import './DiffList-GE6YBRLJ.css';
|
|
4
4
|
import { DiffGlyph, MinusGlyph, PlusGlyph, ArrowRightGlyph } from '@crewlethq/icons/glyphs';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { SidebarNav } from './chunk-
|
|
2
|
-
import { VisuallyHidden } from './chunk-
|
|
1
|
+
import { SidebarNav } from './chunk-B53FUJ53.js';
|
|
2
|
+
import { VisuallyHidden } from './chunk-UT6CW3C7.js';
|
|
3
3
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
4
4
|
import './SectionFrame-M62UUVFQ.css';
|
|
5
5
|
import { useState, useId } from 'react';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Stepper } from './chunk-
|
|
1
|
+
import { Stepper } from './chunk-Z4EKUMZW.js';
|
|
2
2
|
import { PageHeader } from './chunk-DKB73KZI.js';
|
|
3
|
-
import { Disclosure } from './chunk-
|
|
3
|
+
import { Disclosure } from './chunk-P4YORMRZ.js';
|
|
4
4
|
import { useHeadingLevel, nextHeadingLevel, headingTag, HeadingLevelProvider } from './chunk-PQADV6P6.js';
|
|
5
5
|
import { useMediaMatch } from './chunk-RTPQDNW3.js';
|
|
6
6
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { Link } from './chunk-
|
|
1
|
+
import { Link } from './chunk-HOP3J622.js';
|
|
2
2
|
import { Tag } from './chunk-KYIAFNU7.js';
|
|
3
|
-
import { RelativeTime } from './chunk-
|
|
4
|
-
import { EmptyValue } from './chunk-
|
|
3
|
+
import { RelativeTime } from './chunk-L6NG7CUA.js';
|
|
4
|
+
import { EmptyValue } from './chunk-RE3FBGQQ.js';
|
|
5
5
|
import { Avatar } from './chunk-PZKHBB7D.js';
|
|
6
|
-
import { VisuallyHidden } from './chunk-
|
|
6
|
+
import { VisuallyHidden } from './chunk-UT6CW3C7.js';
|
|
7
7
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
8
8
|
import './TableCells-3VN5N2M3.css';
|
|
9
9
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { diffLines, diffStat, collapseDiff, DiffSummary, DiffView } from './chunk-
|
|
2
|
-
import { SegmentedControl } from './chunk-
|
|
1
|
+
import { diffLines, diffStat, collapseDiff, DiffSummary, DiffView } from './chunk-AOFVXE6V.js';
|
|
2
|
+
import { SegmentedControl } from './chunk-KMWQLO4M.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 { useAppShellPeek, ResizeHandle } from './chunk-PIYJNCN7.js';
|
|
2
|
-
import { ButtonLink } from './chunk-
|
|
3
|
-
import { IconButton } from './chunk-
|
|
2
|
+
import { ButtonLink } from './chunk-IPAIGCWB.js';
|
|
3
|
+
import { IconButton } from './chunk-2GIUKIFV.js';
|
|
4
4
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
5
5
|
import './HitArea-QUOS6ZDJ.css';
|
|
6
6
|
import './ResizeHandle-2UNSZ4ZQ.css';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { today, CalendarGrid, shiftMonth, compareDays } from './chunk-GXQ3B46I.js';
|
|
2
2
|
import { Popover } from './chunk-KHJIEPZV.js';
|
|
3
|
-
import { Button } from './chunk-
|
|
4
|
-
import { IconButton } from './chunk-2BQYODY3.js';
|
|
3
|
+
import { Button } from './chunk-IPAIGCWB.js';
|
|
5
4
|
import { useFocusModality } from './chunk-NUZHC6MM.js';
|
|
5
|
+
import { IconButton } from './chunk-2GIUKIFV.js';
|
|
6
6
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
7
7
|
import './DateTimePicker-3A7JIIVL.css';
|
|
8
8
|
import { useMemo, useState, useEffect } from 'react';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { PrincipalAvatar } from './chunk-CI3VPIJN.js';
|
|
2
|
-
import { RelativeTime } from './chunk-
|
|
3
|
-
import { Timeline } from './chunk-
|
|
4
|
-
import { Button } from './chunk-
|
|
2
|
+
import { RelativeTime } from './chunk-L6NG7CUA.js';
|
|
3
|
+
import { Timeline } from './chunk-Z6X3F4H6.js';
|
|
4
|
+
import { Button } from './chunk-IPAIGCWB.js';
|
|
5
5
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
6
6
|
import './VersionTimeline-6KRXEEOO.css';
|
|
7
7
|
import { RotateCcwClockGlyph, PencilGlyph, ShieldGlyph, DatabaseGlyph, UploadGlyph } from '@crewlethq/icons/glyphs';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { SetByLine } from './chunk-
|
|
2
|
-
import { Link } from './chunk-
|
|
1
|
+
import { SetByLine } from './chunk-4MC2EEGO.js';
|
|
2
|
+
import { Link } from './chunk-HOP3J622.js';
|
|
3
3
|
import { DescriptionList, DescriptionListItem } from './chunk-MFS6F2P7.js';
|
|
4
|
-
import { EmptyValue } from './chunk-
|
|
4
|
+
import { EmptyValue } from './chunk-RE3FBGQQ.js';
|
|
5
5
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
6
6
|
import './PropertyList-SCYM66LL.css';
|
|
7
7
|
import { useId, Fragment } from 'react';
|
|
@@ -2,8 +2,8 @@ import { useTreeState, treeExpandable, treeLevel, treePosInSet, treeSetSize, tre
|
|
|
2
2
|
import { LayerNodeBridge } from './chunk-LM3ISVJA.js';
|
|
3
3
|
import { LayerHost, LAYER_REPOSITION_EVENT } from './chunk-OMV5W53A.js';
|
|
4
4
|
import { focusables } from './chunk-H5XTJ7GJ.js';
|
|
5
|
-
import { IconButton } from './chunk-
|
|
6
|
-
import { VisuallyHidden } from './chunk-
|
|
5
|
+
import { IconButton } from './chunk-2GIUKIFV.js';
|
|
6
|
+
import { VisuallyHidden } from './chunk-UT6CW3C7.js';
|
|
7
7
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
8
8
|
import './TreeGrid-UCPV37XB.css';
|
|
9
9
|
import { useState, useRef, useCallback, useLayoutEffect, useImperativeHandle } from 'react';
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { useReorder } from './chunk-
|
|
2
|
-
import { Kbd } from './chunk-
|
|
3
|
-
import { FormField, Textarea } from './chunk-
|
|
4
|
-
import { characterCountState, CharacterCount, countCharacters } from './chunk-
|
|
5
|
-
import { announce } from './chunk-
|
|
6
|
-
import { Button } from './chunk-
|
|
1
|
+
import { useReorder } from './chunk-MPVMB2DV.js';
|
|
2
|
+
import { Kbd } from './chunk-ACRRRPWT.js';
|
|
3
|
+
import { FormField, Textarea } from './chunk-FWWHPUHZ.js';
|
|
4
|
+
import { characterCountState, CharacterCount, countCharacters } from './chunk-PGCLHYVP.js';
|
|
5
|
+
import { announce } from './chunk-2G355KDJ.js';
|
|
6
|
+
import { Button } from './chunk-IPAIGCWB.js';
|
|
7
7
|
import { isComposing } from './chunk-H5XTJ7GJ.js';
|
|
8
|
-
import { IconButton } from './chunk-
|
|
8
|
+
import { IconButton } from './chunk-2GIUKIFV.js';
|
|
9
9
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
10
10
|
import './ListInput-RLQND5QK.css';
|
|
11
11
|
import { forwardRef, useState, useRef, useImperativeHandle, useLayoutEffect, useId } from 'react';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Tag } from './chunk-KYIAFNU7.js';
|
|
2
2
|
import { normalizeHex } from './chunk-7W3LYIOC.js';
|
|
3
|
-
import { VisuallyHidden } from './chunk-
|
|
3
|
+
import { VisuallyHidden } from './chunk-UT6CW3C7.js';
|
|
4
4
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
5
5
|
import './ContrastBadge-CBZPGG3G.css';
|
|
6
6
|
import { CircleAlertGlyph, TriangleAlertGlyph, CircleCheckGlyph } from '@crewlethq/icons/glyphs';
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { Skeleton } from './chunk-
|
|
1
|
+
import { Skeleton } from './chunk-QBI5ETKY.js';
|
|
2
2
|
import { PrincipalAvatar } from './chunk-CI3VPIJN.js';
|
|
3
|
-
import { RelativeTime } from './chunk-
|
|
3
|
+
import { RelativeTime } from './chunk-L6NG7CUA.js';
|
|
4
4
|
import { AvatarStack } from './chunk-5AQBPHZD.js';
|
|
5
|
-
import { ArtifactKindGround } from './chunk-
|
|
6
|
-
import { Card } from './chunk-
|
|
7
|
-
import { Checkbox } from './chunk-
|
|
5
|
+
import { ArtifactKindGround } from './chunk-QZLNKLYD.js';
|
|
6
|
+
import { Card } from './chunk-MKKX6N7C.js';
|
|
7
|
+
import { Checkbox } from './chunk-RNULFW4V.js';
|
|
8
8
|
import { ArtifactAccessGlyph } from './chunk-BGLKLXL3.js';
|
|
9
9
|
import { ArtifactKindGlyph } from './chunk-RSKW25Y5.js';
|
|
10
|
-
import { VisuallyHidden } from './chunk-
|
|
10
|
+
import { VisuallyHidden } from './chunk-UT6CW3C7.js';
|
|
11
11
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
12
12
|
import './ArtifactKinds-O3CALPVX.css';
|
|
13
13
|
import './ArtifactCard-F7IVRL3A.css';
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { LayerNodeBridge } from './chunk-LM3ISVJA.js';
|
|
2
2
|
import { Tooltip } from './chunk-I33UIUZD.js';
|
|
3
|
-
import { Kbd } from './chunk-
|
|
4
|
-
import { Button } from './chunk-
|
|
3
|
+
import { Kbd } from './chunk-ACRRRPWT.js';
|
|
4
|
+
import { Button } from './chunk-IPAIGCWB.js';
|
|
5
5
|
import { LAYER_REPOSITION_EVENT, LayerHost } from './chunk-OMV5W53A.js';
|
|
6
|
-
import { IconButton } from './chunk-2BQYODY3.js';
|
|
7
6
|
import { returnFocus } from './chunk-NUZHC6MM.js';
|
|
8
|
-
import {
|
|
7
|
+
import { IconButton } from './chunk-2GIUKIFV.js';
|
|
8
|
+
import { VisuallyHidden } from './chunk-UT6CW3C7.js';
|
|
9
9
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
10
10
|
import './Canvas-4QJHVLJ4.css';
|
|
11
11
|
import { useId, useRef, useState, useCallback, useLayoutEffect, useImperativeHandle, useEffect } from 'react';
|
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
import { Tag } from './chunk-KYIAFNU7.js';
|
|
2
|
+
import { Card } from './chunk-MKKX6N7C.js';
|
|
3
|
+
import { VisuallyHidden } from './chunk-UT6CW3C7.js';
|
|
4
|
+
import { cx } from './chunk-ODEQTPFM.js';
|
|
5
|
+
import './StatusCard-AMOI6GBK.css';
|
|
6
|
+
import { useId, useState } from 'react';
|
|
7
|
+
import { ChevronDownGlyph } from '@crewlethq/icons/glyphs';
|
|
8
|
+
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
9
|
+
|
|
10
|
+
function StatusCard({
|
|
11
|
+
title,
|
|
12
|
+
subtitle,
|
|
13
|
+
subtitlePlacement,
|
|
14
|
+
status,
|
|
15
|
+
settled = false,
|
|
16
|
+
bodyPadding = "md",
|
|
17
|
+
strip,
|
|
18
|
+
actions,
|
|
19
|
+
actionsAlign = "end",
|
|
20
|
+
collapsible = false,
|
|
21
|
+
summary,
|
|
22
|
+
open: controlledOpen,
|
|
23
|
+
defaultOpen = false,
|
|
24
|
+
onOpenChange,
|
|
25
|
+
className,
|
|
26
|
+
children,
|
|
27
|
+
...rest
|
|
28
|
+
}) {
|
|
29
|
+
const id = useId();
|
|
30
|
+
const titleId = `${id}-title`;
|
|
31
|
+
const statusId = `${id}-status`;
|
|
32
|
+
const bodyId = `${id}-body`;
|
|
33
|
+
const [uncontrolledOpen, setUncontrolledOpen] = useState(defaultOpen);
|
|
34
|
+
const open = !collapsible || (controlledOpen ?? uncontrolledOpen);
|
|
35
|
+
const folded = !open;
|
|
36
|
+
const toggle = () => {
|
|
37
|
+
if (controlledOpen === void 0) setUncontrolledOpen(!open);
|
|
38
|
+
onOpenChange?.(!open);
|
|
39
|
+
};
|
|
40
|
+
const hasBody = !(children === void 0 || children === null || children === false);
|
|
41
|
+
const hasActions = !(actions === void 0 || actions === null || actions === false);
|
|
42
|
+
const hasSummary = !(summary === void 0 || summary === null || summary === false || summary === "");
|
|
43
|
+
const tag = status ? /* @__PURE__ */ jsx(Tag, { id: statusId, size: "sm", variant: status.tone, leadingIcon: status.icon, children: status.label }) : null;
|
|
44
|
+
const headActions = folded && hasActions ? /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
45
|
+
tag,
|
|
46
|
+
/* @__PURE__ */ jsx("span", { className: "crewlet-status-card__head-actions", children: actions })
|
|
47
|
+
] }) : tag ?? void 0;
|
|
48
|
+
return /* @__PURE__ */ jsxs(
|
|
49
|
+
Card,
|
|
50
|
+
{
|
|
51
|
+
...rest,
|
|
52
|
+
as: "section",
|
|
53
|
+
"aria-labelledby": status ? `${titleId} ${statusId}` : titleId,
|
|
54
|
+
className: cx(
|
|
55
|
+
"crewlet-status-card",
|
|
56
|
+
settled && "crewlet-status-card--settled",
|
|
57
|
+
collapsible && "crewlet-status-card--collapsible",
|
|
58
|
+
folded && "crewlet-status-card--folded",
|
|
59
|
+
className
|
|
60
|
+
),
|
|
61
|
+
"data-settled": settled || void 0,
|
|
62
|
+
"data-state": collapsible ? open ? "open" : "closed" : void 0,
|
|
63
|
+
children: [
|
|
64
|
+
/* @__PURE__ */ jsx(
|
|
65
|
+
Card.Header,
|
|
66
|
+
{
|
|
67
|
+
divided: !folded,
|
|
68
|
+
subtitle: folded ? void 0 : subtitle,
|
|
69
|
+
subtitlePlacement,
|
|
70
|
+
actions: headActions,
|
|
71
|
+
children: collapsible ? (
|
|
72
|
+
/*
|
|
73
|
+
* THE HEADING WRAPS THE BUTTON, as on every disclosure here: a
|
|
74
|
+
* reader moving by heading finds the card, and the same element is
|
|
75
|
+
* the control that opens it. The summary is inside the button, so
|
|
76
|
+
* a folded card's name says how much it holds; the comma is said
|
|
77
|
+
* where the dot is drawn.
|
|
78
|
+
*/
|
|
79
|
+
/* @__PURE__ */ jsx(Card.Title, { id: titleId, className: "crewlet-status-card__fold-title", children: /* @__PURE__ */ jsxs(
|
|
80
|
+
"button",
|
|
81
|
+
{
|
|
82
|
+
type: "button",
|
|
83
|
+
className: "crewlet-status-card__toggle",
|
|
84
|
+
"aria-expanded": open,
|
|
85
|
+
"aria-controls": hasBody ? bodyId : void 0,
|
|
86
|
+
onClick: toggle,
|
|
87
|
+
children: [
|
|
88
|
+
/* @__PURE__ */ jsx(ChevronDownGlyph, { size: "sm", className: "crewlet-status-card__chevron" }),
|
|
89
|
+
/* @__PURE__ */ jsx("span", { className: "crewlet-status-card__toggle-title", children: title }),
|
|
90
|
+
folded && hasSummary ? /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
91
|
+
/* @__PURE__ */ jsx(VisuallyHidden, { children: "," }),
|
|
92
|
+
" ",
|
|
93
|
+
/* @__PURE__ */ jsx("span", { className: "crewlet-status-card__summary", children: summary })
|
|
94
|
+
] }) : null
|
|
95
|
+
]
|
|
96
|
+
}
|
|
97
|
+
) })
|
|
98
|
+
) : /* @__PURE__ */ jsx(Card.Title, { id: titleId, truncate: true, children: title })
|
|
99
|
+
}
|
|
100
|
+
),
|
|
101
|
+
hasBody ? /* @__PURE__ */ jsx(
|
|
102
|
+
Card.Body,
|
|
103
|
+
{
|
|
104
|
+
id: collapsible ? bodyId : void 0,
|
|
105
|
+
hidden: folded,
|
|
106
|
+
padding: bodyPadding,
|
|
107
|
+
className: "crewlet-status-card__body",
|
|
108
|
+
children
|
|
109
|
+
}
|
|
110
|
+
) : null,
|
|
111
|
+
folded || strip === void 0 || strip === null || strip === false ? null : /* @__PURE__ */ jsx(Card.Footer, { padding: "none", className: "crewlet-status-card__strip", children: strip }),
|
|
112
|
+
folded || !hasActions ? null : /* @__PURE__ */ jsx(Card.Footer, { className: cx("crewlet-status-card__actions", `crewlet-status-card__actions--${actionsAlign}`), children: actions })
|
|
113
|
+
]
|
|
114
|
+
}
|
|
115
|
+
);
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
export { StatusCard };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { useClipboard } from './chunk-STJ7QBC3.js';
|
|
2
|
-
import { Modal } from './chunk-
|
|
3
|
-
import { EmptyValue } from './chunk-
|
|
2
|
+
import { Modal } from './chunk-DNKK6PIR.js';
|
|
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-
|
|
8
|
-
import { IconButton } from './chunk-
|
|
9
|
-
import { VisuallyHidden } from './chunk-
|
|
5
|
+
import { Checkbox } from './chunk-RNULFW4V.js';
|
|
6
|
+
import { Menu } from './chunk-D2R65FBU.js';
|
|
7
|
+
import { Button } from './chunk-IPAIGCWB.js';
|
|
8
|
+
import { IconButton } from './chunk-2GIUKIFV.js';
|
|
9
|
+
import { VisuallyHidden } from './chunk-UT6CW3C7.js';
|
|
10
10
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
11
11
|
import './DataTable-NL2YWAIA.css';
|
|
12
12
|
import React, { useState, useCallback, useMemo, useRef, useLayoutEffect, useEffect, useId } from 'react';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { FileDrop, FilePickButton } from './chunk-
|
|
2
|
-
import { contrastRatio } from './chunk-
|
|
1
|
+
import { FileDrop, FilePickButton } from './chunk-M2S5LG2H.js';
|
|
2
|
+
import { contrastRatio } from './chunk-WDRYUMN6.js';
|
|
3
3
|
import { normalizeHex } from './chunk-7W3LYIOC.js';
|
|
4
|
-
import { Button } from './chunk-
|
|
5
|
-
import { VisuallyHidden } from './chunk-
|
|
4
|
+
import { Button } from './chunk-IPAIGCWB.js';
|
|
5
|
+
import { VisuallyHidden } from './chunk-UT6CW3C7.js';
|
|
6
6
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
7
7
|
import './LogoSlot-NAJE5XY3.css';
|
|
8
8
|
import { createContext, useId, useContext } from 'react';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useLayerContainer } from './chunk-OMV5W53A.js';
|
|
2
|
-
import { VisuallyHidden } from './chunk-
|
|
2
|
+
import { VisuallyHidden } from './chunk-UT6CW3C7.js';
|
|
3
3
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
4
4
|
import './Toaster-MX7TBMC3.css';
|
|
5
5
|
import { createContext, useMemo, useState, useRef, useEffect, useContext, useCallback } from 'react';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { TreeGrid } from './chunk-
|
|
1
|
+
import { TreeGrid } from './chunk-VRL2YMYT.js';
|
|
2
2
|
import { createTreeModel, treeParent } from './chunk-MY374UUD.js';
|
|
3
3
|
import { OrgLabel } from './chunk-ONQKKHON.js';
|
|
4
|
-
import { AddPill } from './chunk-
|
|
5
|
-
import { IconButton } from './chunk-
|
|
4
|
+
import { AddPill } from './chunk-QC2DEQCN.js';
|
|
5
|
+
import { IconButton } from './chunk-2GIUKIFV.js';
|
|
6
6
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
7
7
|
import './OrgTable-JZSYTUIK.css';
|
|
8
8
|
import { useMemo, useRef, useImperativeHandle, useCallback } from 'react';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { ReceiptStrip } from './chunk-
|
|
1
|
+
import { ReceiptStrip } from './chunk-PR7MFMDZ.js';
|
|
2
2
|
import { safeHref } from './chunk-BAKPMH3S.js';
|
|
3
3
|
import { IconTile } from './chunk-3LI4TRUR.js';
|
|
4
|
-
import { StatusCard } from './chunk-
|
|
5
|
-
import { ButtonLink, Button } from './chunk-
|
|
4
|
+
import { StatusCard } from './chunk-WW4E5EUS.js';
|
|
5
|
+
import { ButtonLink, Button } from './chunk-IPAIGCWB.js';
|
|
6
6
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
7
7
|
import './OpenInAppCard-CKHCK7DO.css';
|
|
8
8
|
import { CircleCheckGlyph } from '@crewlethq/icons/glyphs';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { EditingStatus } from './chunk-
|
|
2
|
-
import { Kbd } from './chunk-
|
|
3
|
-
import { Button } from './chunk-
|
|
1
|
+
import { EditingStatus } from './chunk-5IPPLWVA.js';
|
|
2
|
+
import { Kbd } from './chunk-ACRRRPWT.js';
|
|
3
|
+
import { Button } from './chunk-IPAIGCWB.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
1
|
import { PRESENCE_LABELS, presenceOrder, collapseSessions } from './chunk-Z7JYG5TF.js';
|
|
2
2
|
import { Avatar } from './chunk-PZKHBB7D.js';
|
|
3
3
|
import { headingTag, useHeadingLevel } from './chunk-PQADV6P6.js';
|
|
4
|
-
import { Button } from './chunk-
|
|
5
|
-
import { IconButton } from './chunk-
|
|
4
|
+
import { Button } from './chunk-IPAIGCWB.js';
|
|
5
|
+
import { IconButton } from './chunk-2GIUKIFV.js';
|
|
6
6
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
7
7
|
import './PeopleRail-SZGHZXVT.css';
|
|
8
8
|
import { useId } from 'react';
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { PrincipalAvatar } from './chunk-CI3VPIJN.js';
|
|
2
|
-
import { toInstant, RelativeTime, formatExact, toISO } from './chunk-KS7YIJ4S.js';
|
|
3
1
|
import { Document } from './chunk-PWG3VHRQ.js';
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
2
|
+
import { PrincipalAvatar } from './chunk-CI3VPIJN.js';
|
|
3
|
+
import { toInstant, RelativeTime, formatExact, toISO } from './chunk-L6NG7CUA.js';
|
|
4
|
+
import { Composer } from './chunk-AQDQGCRB.js';
|
|
5
|
+
import { Count } from './chunk-5KRRJNQO.js';
|
|
6
6
|
import { useHeadingLevel, headingTag } from './chunk-PQADV6P6.js';
|
|
7
|
-
import { Button } from './chunk-
|
|
8
|
-
import { IconButton } from './chunk-
|
|
7
|
+
import { Button } from './chunk-IPAIGCWB.js';
|
|
8
|
+
import { IconButton } from './chunk-2GIUKIFV.js';
|
|
9
9
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
10
10
|
import './CommentThread-7VXOFTZO.css';
|
|
11
11
|
import { useState, useRef, useId, useMemo } from 'react';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { StatusDot } from './chunk-WIATRXEJ.js';
|
|
2
2
|
import { Spinner } from './chunk-XSPCITPN.js';
|
|
3
|
-
import { VisuallyHidden } from './chunk-
|
|
3
|
+
import { VisuallyHidden } from './chunk-UT6CW3C7.js';
|
|
4
4
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
5
5
|
import './Stepper-QEJI5RGX.css';
|
|
6
6
|
import './StepList-A4YVU4JI.css';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { Checkbox } from './chunk-
|
|
1
|
+
import { Checkbox } from './chunk-RNULFW4V.js';
|
|
2
2
|
import { EmptyState } from './chunk-PPUR46MK.js';
|
|
3
3
|
import { useMediaMatch } from './chunk-RTPQDNW3.js';
|
|
4
|
-
import { Button } from './chunk-
|
|
5
|
-
import { VisuallyHidden } from './chunk-
|
|
4
|
+
import { Button } from './chunk-IPAIGCWB.js';
|
|
5
|
+
import { VisuallyHidden } from './chunk-UT6CW3C7.js';
|
|
6
6
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
7
7
|
import './DataGrid-VNGQESJA.css';
|
|
8
8
|
import { useId, useRef, useState, useMemo, useCallback, useLayoutEffect, useImperativeHandle, useSyncExternalStore, useEffect } from 'react';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Toolbar } from './chunk-NR4CPM4T.js';
|
|
2
|
-
import { announce } from './chunk-
|
|
3
|
-
import { Button } from './chunk-
|
|
2
|
+
import { announce } from './chunk-2G355KDJ.js';
|
|
3
|
+
import { Button } from './chunk-IPAIGCWB.js';
|
|
4
4
|
import { returnFocus } from './chunk-NUZHC6MM.js';
|
|
5
5
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
6
6
|
import './SelectionBar-XPWKUOSC.css';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { DiffList } from './chunk-
|
|
1
|
+
import { DiffList } from './chunk-RO2MZZ66.js';
|
|
2
2
|
import { Tag } from './chunk-KYIAFNU7.js';
|
|
3
|
-
import { Disclosure } from './chunk-
|
|
4
|
-
import { VisuallyHidden } from './chunk-
|
|
3
|
+
import { Disclosure } from './chunk-P4YORMRZ.js';
|
|
4
|
+
import { VisuallyHidden } from './chunk-UT6CW3C7.js';
|
|
5
5
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
6
6
|
import './ChangeList-CB2DLR5S.css';
|
|
7
7
|
import { useId } from 'react';
|
|
@@ -14,8 +14,9 @@ var CHANGE_LIST_LABELS = {
|
|
|
14
14
|
added: "Added:",
|
|
15
15
|
removed: "Removed:",
|
|
16
16
|
isNew: "New",
|
|
17
|
-
addedWords: "added",
|
|
18
|
-
removedWords: "removed",
|
|
17
|
+
addedWords: "added:",
|
|
18
|
+
removedWords: "removed:",
|
|
19
|
+
betweenChanges: ";",
|
|
19
20
|
showWhole: "Show the whole change"
|
|
20
21
|
};
|
|
21
22
|
var CHANGE_LIST_COLLAPSE_OVER = 80;
|
|
@@ -46,17 +47,21 @@ function WordDiff({ row, labels }) {
|
|
|
46
47
|
const firstChange = changes[0] ?? Number.POSITIVE_INFINITY;
|
|
47
48
|
const lastChange = changes[changes.length - 1] ?? Number.NEGATIVE_INFINITY;
|
|
48
49
|
return /* @__PURE__ */ jsx("p", { className: "crewlet-change-list__words", children: row.words.map((part, index) => {
|
|
49
|
-
if (part.op === "+") {
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
50
|
+
if (part.op === "+" || part.op === "-") {
|
|
51
|
+
const Mark = part.op === "+" ? "ins" : "del";
|
|
52
|
+
const touches = row.words[index + 1] !== void 0 && row.words[index + 1].op !== "=";
|
|
53
|
+
return /* @__PURE__ */ jsxs(
|
|
54
|
+
Mark,
|
|
55
|
+
{
|
|
56
|
+
className: part.op === "+" ? "crewlet-change-list__inserted" : "crewlet-change-list__deleted",
|
|
57
|
+
children: [
|
|
58
|
+
/* @__PURE__ */ jsx(VisuallyHidden, { children: `${part.op === "+" ? labels.addedWords : labels.removedWords} ` }),
|
|
59
|
+
part.text,
|
|
60
|
+
touches ? /* @__PURE__ */ jsx(VisuallyHidden, { children: `${labels.betweenChanges} ` }) : null
|
|
61
|
+
]
|
|
62
|
+
},
|
|
63
|
+
index
|
|
64
|
+
);
|
|
60
65
|
}
|
|
61
66
|
const place = index < firstChange ? "first" : index > lastChange ? "last" : "middle";
|
|
62
67
|
return /* @__PURE__ */ jsx("span", { children: shortenUnchanged(part.text, place, max) }, index);
|