@crewlethq/ui 0.58.0 → 0.60.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/{Button-VXJ7M5XF.css → Button-VRRYSXFN.css} +4 -0
- 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 +12 -12
- 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-EQBOZPXS.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/{IconButton-6WA7UEBJ.css → IconButton-2D2PZ6GU.css} +4 -0
- package/dist/InboxList/index.js +2 -2
- package/dist/IndicatorAnchor/IndicatorAnchor.d.ts +29 -0
- package/dist/IndicatorAnchor/index.d.ts +3 -0
- package/dist/IndicatorAnchor/index.js +2 -0
- package/dist/IndicatorAnchor-ZVP47Q4T.css +33 -0
- 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-27MJPU7G.js +13 -0
- package/dist/{chunk-TUZGFMRW.js → chunk-2BDPR4I3.js} +2 -2
- package/dist/{chunk-RSAQOKH3.js → chunk-2G355KDJ.js} +1 -1
- package/dist/{chunk-OTMP2AUQ.js → chunk-2JHGPXYG.js} +1 -1
- package/dist/{chunk-6KLK7E76.js → chunk-2NNGOCWM.js} +4 -4
- package/dist/{chunk-2BQYODY3.js → chunk-2XWFWNDT.js} +2 -2
- package/dist/{chunk-TDQ262TB.js → chunk-34NMOVXO.js} +1 -1
- package/dist/{chunk-YCGZK2E4.js → chunk-3633T7EJ.js} +2 -2
- package/dist/{chunk-R3BA3C4Y.js → chunk-37U3Z65B.js} +1 -1
- package/dist/{chunk-3JYCCTGK.js → chunk-3BQWARG2.js} +3 -3
- package/dist/{chunk-PDTEPN4D.js → chunk-3DMPZZQ6.js} +3 -3
- package/dist/{chunk-ALU5EGQB.js → chunk-3OV26XP4.js} +1 -1
- package/dist/{chunk-57KC5B5M.js → chunk-3PJHUDXD.js} +7 -7
- package/dist/{chunk-JKZ3A4GY.js → chunk-3Q6N6FJL.js} +4 -4
- package/dist/{chunk-PXU6HOZB.js → chunk-463DNZXI.js} +1 -1
- package/dist/{chunk-T22NCHGT.js → chunk-46VE5TVS.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-O2EGEONV.js → chunk-4U2D6BPR.js} +1 -1
- package/dist/{chunk-JSR6HSK5.js → chunk-53NTMTRM.js} +1 -1
- package/dist/{chunk-JLRXCKTS.js → chunk-5CY6BW4Y.js} +3 -3
- package/dist/{chunk-45KMH3E3.js → chunk-5DJMFRSZ.js} +1 -1
- package/dist/{chunk-C4BN6MZJ.js → chunk-5FTJNKNX.js} +1 -1
- package/dist/{chunk-IFWJNKVT.js → chunk-5G76O23M.js} +2 -2
- 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-C5AKPSNY.js → chunk-5KW63GZ3.js} +5 -5
- package/dist/{chunk-MKFL7TFU.js → chunk-5NJ4BIUA.js} +1 -1
- package/dist/{chunk-ARZF7KEO.js → chunk-5PMFRAGL.js} +8 -8
- package/dist/{chunk-KLGO4526.js → chunk-5UPWU6ZJ.js} +5 -5
- package/dist/{chunk-3NQS6KYG.js → chunk-5YIL4WJP.js} +1 -1
- package/dist/{chunk-DXRPB3JD.js → chunk-5ZGJ22CO.js} +1 -1
- package/dist/{chunk-3FGBMI36.js → chunk-6Z4JZHRB.js} +2 -2
- package/dist/{chunk-DIR6CSJP.js → chunk-75QASA62.js} +5 -8
- package/dist/{chunk-QKXQC5D6.js → chunk-7QTPJDRF.js} +2 -2
- package/dist/{chunk-OOBXGR5B.js → chunk-7SRSPU4O.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-E7QLG3PG.js → chunk-B53FUJ53.js} +2 -2
- package/dist/{chunk-EXP5RD3R.js → chunk-B5ZHJWAZ.js} +4 -4
- package/dist/{chunk-D3EJSLCL.js → chunk-CVDK3LDB.js} +1 -1
- package/dist/{chunk-HMVQQEHW.js → chunk-D2BYJNEH.js} +1 -1
- package/dist/{chunk-OHBXOEP3.js → chunk-DEAFAK3U.js} +1 -1
- package/dist/{chunk-NTB5LRRD.js → chunk-DG6KSGNQ.js} +1 -1
- package/dist/{chunk-4CBGIRVU.js → chunk-DMI4QJDY.js} +1 -1
- package/dist/{chunk-CBR52S2C.js → chunk-EFIURN3U.js} +2 -2
- package/dist/{chunk-PXDIHHJA.js → chunk-EQHJTGLY.js} +1 -1
- package/dist/{chunk-36DZUEVY.js → chunk-F2IYVVA3.js} +2 -2
- package/dist/{chunk-3LYWD3BO.js → chunk-FGRJXZUU.js} +1 -1
- package/dist/{chunk-TFIINTEU.js → chunk-GK3PXGLS.js} +2 -2
- package/dist/{chunk-JMMS2PQU.js → chunk-GWPWLVN3.js} +1 -1
- package/dist/{chunk-RLJXVFEH.js → chunk-HACEB6L4.js} +1 -1
- package/dist/{chunk-FBSEJO2C.js → chunk-HOP3J622.js} +1 -1
- package/dist/{chunk-CSBS66PG.js → chunk-I43D5K6A.js} +3 -3
- package/dist/{chunk-LFHVYGQL.js → chunk-I74C4TM6.js} +5 -5
- package/dist/{chunk-UM3EKJXF.js → chunk-IOTN23FZ.js} +3 -3
- 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-FAKL6PXB.js → chunk-K4IVKHKU.js} +1 -1
- package/dist/{chunk-T4D7RZNI.js → chunk-K4U2VDOJ.js} +1 -1
- package/dist/{chunk-5VFBBKZE.js → chunk-KA2GAB3N.js} +1 -1
- package/dist/{chunk-FLTMDSC3.js → chunk-KBTJMJPX.js} +2 -2
- package/dist/{chunk-NHJQXDHA.js → chunk-KIPAFCVS.js} +2 -2
- package/dist/{chunk-SEMZEENR.js → chunk-KVWZDCTQ.js} +2 -2
- package/dist/{chunk-3DVOJK63.js → chunk-KWTRRS7E.js} +2 -2
- package/dist/{chunk-KS7YIJ4S.js → chunk-L6NG7CUA.js} +1 -1
- package/dist/{chunk-CFHGVO5L.js → chunk-LG6TUGET.js} +2 -2
- package/dist/{chunk-6LRCOXP6.js → chunk-LND6XSXN.js} +4 -4
- package/dist/{chunk-7QE27DWU.js → chunk-LODRX4FU.js} +2 -2
- package/dist/{chunk-AZ5BKSGV.js → chunk-M5GPCENM.js} +2 -2
- package/dist/{chunk-IDQBSMMZ.js → chunk-MHFTG2LO.js} +6 -6
- package/dist/{chunk-INHXF2CL.js → chunk-MKKX6N7C.js} +1 -1
- package/dist/{chunk-WXRH7NZW.js → chunk-MMZZGJHX.js} +1 -1
- package/dist/{chunk-H23GAACC.js → chunk-MOW65OIJ.js} +4 -4
- package/dist/{chunk-XJ2QEBMM.js → chunk-MPVMB2DV.js} +1 -1
- package/dist/{chunk-N4GBDK4L.js → chunk-MYJZCSMA.js} +1 -1
- package/dist/{chunk-CTUHHM6H.js → chunk-NL72YZWF.js} +2 -2
- package/dist/{chunk-2K6FUMIK.js → chunk-NLI7OVO2.js} +1 -1
- package/dist/{chunk-YHTIWHEF.js → chunk-NM6RR2GA.js} +10 -10
- package/dist/{chunk-YPGD2YWN.js → chunk-NRMXUNLR.js} +1 -1
- package/dist/{chunk-ZHMJG3UG.js → chunk-O7VXE4TO.js} +5 -5
- package/dist/{chunk-FA44M2YT.js → chunk-OB5N3FV2.js} +28 -3
- package/dist/{chunk-QZXSEPLJ.js → chunk-OM6CPZB7.js} +3 -3
- package/dist/{chunk-GG4QZWMQ.js → chunk-P4YORMRZ.js} +1 -1
- package/dist/{chunk-RXAODDFD.js → chunk-P5S2SPTK.js} +2 -2
- package/dist/{chunk-52IHWD3V.js → chunk-PFXUEEHT.js} +5 -5
- package/dist/{chunk-XCUUI7E7.js → chunk-PGCLHYVP.js} +2 -2
- package/dist/{chunk-GPW4M4OI.js → chunk-PGKETYGL.js} +3 -3
- package/dist/{chunk-XODESBSR.js → chunk-PUJUWLCX.js} +1 -1
- package/dist/{chunk-VRNUKH2W.js → chunk-Q4DNAO3O.js} +2 -2
- package/dist/{chunk-TEUQWOWZ.js → chunk-QBI5ETKY.js} +1 -1
- package/dist/{chunk-TROLVEZY.js → chunk-QC2DEQCN.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-N3ISZVLK.js → chunk-RLFPBRN4.js} +1 -1
- package/dist/{chunk-Z3GDMNMU.js → chunk-RO2MZZ66.js} +1 -1
- package/dist/{chunk-TA72CURM.js → chunk-RPHQNXE5.js} +1 -1
- package/dist/{chunk-UGNUUVRI.js → chunk-RQFRRPV6.js} +1 -1
- package/dist/{chunk-BDYQTU5Q.js → chunk-SG2375ZY.js} +3 -3
- package/dist/{chunk-INVSUFJK.js → chunk-SHLP2BNA.js} +2 -2
- package/dist/{chunk-UC3PB356.js → chunk-SPCSFJNY.js} +1 -1
- package/dist/{chunk-QFGKFCL2.js → chunk-T4THNJ6E.js} +2 -2
- package/dist/{chunk-OHGH7O6T.js → chunk-TEV5REGB.js} +1 -1
- package/dist/{chunk-FXQLNETQ.js → chunk-TLIJG4TP.js} +5 -5
- package/dist/{chunk-V326ADVR.js → chunk-TUNEMQXF.js} +3 -3
- package/dist/{chunk-FVD7FSKO.js → chunk-TXA3HMWP.js} +3 -3
- package/dist/{chunk-3EYSYEXP.js → chunk-U4AXQI6U.js} +4 -4
- package/dist/{chunk-BZFWDIV6.js → chunk-UT6CW3C7.js} +1 -1
- package/dist/{chunk-73QP5CDO.js → chunk-UTBCDOGP.js} +3 -3
- package/dist/{chunk-CVH7KBAJ.js → chunk-V57TGM2L.js} +3 -3
- package/dist/{chunk-QTB5S6JZ.js → chunk-VBO2GYWX.js} +2 -2
- package/dist/{chunk-XZ42MKHK.js → chunk-VBYRA3W6.js} +3 -3
- package/dist/{chunk-U5PJSGHG.js → chunk-VC2M2E7N.js} +1 -1
- package/dist/{chunk-HYRKTVKL.js → chunk-VN3DCUED.js} +3 -3
- package/dist/{chunk-YPTTSJPM.js → chunk-VO2PDDRE.js} +1 -1
- package/dist/{chunk-DHS335W4.js → chunk-VRPDQSXZ.js} +3 -3
- package/dist/{chunk-JS2TRHBF.js → chunk-VSTD65SL.js} +2 -2
- package/dist/{chunk-S4DREXGM.js → chunk-VTUAQYOC.js} +1 -1
- package/dist/{chunk-JIG4D2IQ.js → chunk-W2Q5DZJB.js} +2 -2
- package/dist/{chunk-L22HQRNF.js → chunk-WDPREXOL.js} +7 -7
- package/dist/{chunk-WW7TU6HE.js → chunk-WDRYUMN6.js} +1 -1
- package/dist/{chunk-32SOAYCF.js → chunk-WR7UDG7U.js} +2 -2
- package/dist/chunk-WW4E5EUS.js +118 -0
- package/dist/{chunk-DJ46CKSP.js → chunk-WXSGCYZO.js} +5 -5
- package/dist/{chunk-BA2KFNUD.js → chunk-XLJPLCK6.js} +4 -4
- package/dist/{chunk-JILNCBBS.js → chunk-XN5L5E5D.js} +1 -1
- package/dist/{chunk-DRT4L4WC.js → chunk-XQBLBJN4.js} +1 -1
- package/dist/{chunk-SDSBVVLL.js → chunk-YBI7M2JH.js} +1 -1
- package/dist/{chunk-DFUYHPY7.js → chunk-YSHQQNB6.js} +5 -5
- package/dist/{chunk-AP7GA5AA.js → chunk-Z4EKUMZW.js} +1 -1
- package/dist/{chunk-AUQPBL4O.js → chunk-Z6X3F4H6.js} +1 -1
- package/dist/{chunk-LBUQ6R66.js → chunk-ZEPUKRO7.js} +1 -1
- package/dist/{chunk-NEHSV55H.js → chunk-ZH5F2PXC.js} +21 -16
- package/dist/{chunk-2XBIN5C2.js → chunk-ZRKUTFYE.js} +5 -5
- package/dist/{chunk-TFGCNBWP.js → chunk-ZYO2QFU6.js} +1 -1
- package/dist/generated/index.d.ts +1 -0
- package/dist/generated/index.js +147 -146
- package/dist/index.js +147 -146
- package/dist/styles.css +175 -9
- 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
- /package/dist/{chunk-EWTPXRRM.js → chunk-DJV2FVD2.js} +0 -0
|
@@ -1,9 +1,20 @@
|
|
|
1
|
-
import { StatusCard } from './chunk-
|
|
1
|
+
import { StatusCard } from './chunk-WW4E5EUS.js';
|
|
2
2
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
3
3
|
import './EntityList-XIICECVC.css';
|
|
4
4
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
5
5
|
|
|
6
|
-
function EntityList({
|
|
6
|
+
function EntityList({
|
|
7
|
+
items,
|
|
8
|
+
label,
|
|
9
|
+
title,
|
|
10
|
+
collapsible,
|
|
11
|
+
summary,
|
|
12
|
+
open,
|
|
13
|
+
defaultOpen,
|
|
14
|
+
onOpenChange,
|
|
15
|
+
className,
|
|
16
|
+
...rest
|
|
17
|
+
}) {
|
|
7
18
|
const list = (
|
|
8
19
|
// The role is restated for WebKit, which drops it from a list with no markers.
|
|
9
20
|
// eslint-disable-next-line jsx-a11y/no-redundant-roles
|
|
@@ -19,7 +30,21 @@ function EntityList({ items, label, title, className, ...rest }) {
|
|
|
19
30
|
if (title === void 0) {
|
|
20
31
|
return /* @__PURE__ */ jsx("div", { ...rest, className: cx("crewlet-entity-list", className), children: list });
|
|
21
32
|
}
|
|
22
|
-
return /* @__PURE__ */ jsx(
|
|
33
|
+
return /* @__PURE__ */ jsx(
|
|
34
|
+
StatusCard,
|
|
35
|
+
{
|
|
36
|
+
...rest,
|
|
37
|
+
title,
|
|
38
|
+
collapsible,
|
|
39
|
+
summary,
|
|
40
|
+
open,
|
|
41
|
+
defaultOpen,
|
|
42
|
+
onOpenChange,
|
|
43
|
+
bodyPadding: "none",
|
|
44
|
+
className: cx("crewlet-entity-list", "crewlet-entity-list--card", className),
|
|
45
|
+
children: list
|
|
46
|
+
}
|
|
47
|
+
);
|
|
23
48
|
}
|
|
24
49
|
|
|
25
50
|
export { EntityList };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Table } from './chunk-
|
|
2
|
-
import { StatusCard } from './chunk-
|
|
3
|
-
import { DownloadButton } from './chunk-
|
|
1
|
+
import { Table } from './chunk-5DJMFRSZ.js';
|
|
2
|
+
import { StatusCard } from './chunk-WW4E5EUS.js';
|
|
3
|
+
import { DownloadButton } from './chunk-LG6TUGET.js';
|
|
4
4
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
5
5
|
import './ResultTableCard-AP355LQM.css';
|
|
6
6
|
import { useState } from 'react';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { SlideNav } from './chunk-
|
|
1
|
+
import { SlideNav } from './chunk-DEAFAK3U.js';
|
|
2
2
|
import { SlideStage, SLIDE_WIDTH, SLIDE_HEIGHT } from './chunk-RMEBFYL7.js';
|
|
3
3
|
import { Eyebrow } from './chunk-RK4XPHVG.js';
|
|
4
|
-
import { Button } from './chunk-
|
|
4
|
+
import { Button } from './chunk-7QTPJDRF.js';
|
|
5
5
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
6
6
|
import './PresenterView-T3EXIQ5S.css';
|
|
7
7
|
import { useRef, useState, useEffect } from 'react';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { RefusalStrip, ReceiptStrip } from './chunk-
|
|
2
|
-
import { StatusCard } from './chunk-
|
|
3
|
-
import { ChangeList } from './chunk-
|
|
4
|
-
import { Button } from './chunk-
|
|
1
|
+
import { RefusalStrip, ReceiptStrip } from './chunk-NLI7OVO2.js';
|
|
2
|
+
import { StatusCard } from './chunk-WW4E5EUS.js';
|
|
3
|
+
import { ChangeList } from './chunk-ZH5F2PXC.js';
|
|
4
|
+
import { Button } from './chunk-7QTPJDRF.js';
|
|
5
5
|
import { Spinner } from './chunk-XSPCITPN.js';
|
|
6
6
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
7
|
-
import './VisuallyHidden-
|
|
7
|
+
import './VisuallyHidden-AOEXU5EB.css';
|
|
8
8
|
import './ProposalCard-YDGECRES.css';
|
|
9
9
|
import { useId, useRef, useLayoutEffect } from 'react';
|
|
10
10
|
import { RefreshCwGlyph, LockGlyph, BanGlyph, ClockGlyph, CircleAlertGlyph, CircleCheckGlyph } from '@crewlethq/icons/glyphs';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { announce } from './chunk-
|
|
2
|
-
import { VisuallyHidden } from './chunk-
|
|
1
|
+
import { announce } from './chunk-2G355KDJ.js';
|
|
2
|
+
import { VisuallyHidden } from './chunk-UT6CW3C7.js';
|
|
3
3
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
4
4
|
import './CharacterCount-S735DICR.css';
|
|
5
5
|
import { useRef, useEffect } from 'react';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { TreeGrid } from './chunk-
|
|
1
|
+
import { TreeGrid } from './chunk-Q4DNAO3O.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-2XWFWNDT.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,7 +1,7 @@
|
|
|
1
1
|
import { HeadingLevelProvider } from './chunk-PQADV6P6.js';
|
|
2
2
|
import { useAppShellAside, ResizeHandle } from './chunk-PIYJNCN7.js';
|
|
3
3
|
import { useModalLayer } from './chunk-H5XTJ7GJ.js';
|
|
4
|
-
import { IconButton } from './chunk-
|
|
4
|
+
import { IconButton } from './chunk-2XWFWNDT.js';
|
|
5
5
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
6
6
|
import { createContext, useId, useRef, useContext, useLayoutEffect, useEffect, useMemo } from 'react';
|
|
7
7
|
import { MinimizeGlyph, MaximizeGlyph, XGlyph } from '@crewlethq/icons/glyphs';
|
|
@@ -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-2XWFWNDT.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,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 './AddPill-RYCY56P4.css';
|
|
4
4
|
import { useState, useId, useRef, useCallback, useEffect, Fragment } from 'react';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useThemePreference, useSystemTheme, resolveTheme } from './chunk-Z24ZUSTX.js';
|
|
2
|
-
import { IconButton } from './chunk-
|
|
2
|
+
import { IconButton } from './chunk-2XWFWNDT.js';
|
|
3
3
|
import { SunGlyph, MoonGlyph } from '@crewlethq/icons/glyphs';
|
|
4
4
|
import { jsx } from 'react/jsx-runtime';
|
|
5
5
|
|
|
@@ -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,10 +1,10 @@
|
|
|
1
1
|
import { Select } from './chunk-XQZ6EWOE.js';
|
|
2
2
|
import { today, shiftMonth, CalendarGrid, compareDays } from './chunk-GXQ3B46I.js';
|
|
3
3
|
import { Popover } from './chunk-KHJIEPZV.js';
|
|
4
|
-
import { Input } from './chunk-
|
|
5
|
-
import { Button } from './chunk-
|
|
4
|
+
import { Input } from './chunk-TLIJG4TP.js';
|
|
5
|
+
import { Button } from './chunk-7QTPJDRF.js';
|
|
6
6
|
import { isComposing } from './chunk-H5XTJ7GJ.js';
|
|
7
|
-
import { IconButton } from './chunk-
|
|
7
|
+
import { IconButton } from './chunk-2XWFWNDT.js';
|
|
8
8
|
import { useFocusModality } from './chunk-NUZHC6MM.js';
|
|
9
9
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
10
10
|
import './TimeWindowPicker-I3HXC74I.css';
|
|
@@ -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,13 +1,13 @@
|
|
|
1
|
-
import { characterCountState, CharacterCount } from './chunk-
|
|
1
|
+
import { characterCountState, CharacterCount } from './chunk-PGCLHYVP.js';
|
|
2
2
|
import { useHeadingLevel, headingTag, HeadingLevelProvider, nextHeadingLevel } from './chunk-PQADV6P6.js';
|
|
3
|
-
import { announce } from './chunk-
|
|
3
|
+
import { announce } from './chunk-2G355KDJ.js';
|
|
4
4
|
import { isComposing } from './chunk-H5XTJ7GJ.js';
|
|
5
|
-
import { IconButton } from './chunk-
|
|
5
|
+
import { IconButton } from './chunk-2XWFWNDT.js';
|
|
6
6
|
import { useFocusModality } from './chunk-NUZHC6MM.js';
|
|
7
|
-
import { VisuallyHidden } from './chunk-
|
|
7
|
+
import { VisuallyHidden } from './chunk-UT6CW3C7.js';
|
|
8
8
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
9
9
|
import './Input-GMOWHZRG.css';
|
|
10
|
-
import './VisuallyHidden-
|
|
10
|
+
import './VisuallyHidden-AOEXU5EB.css';
|
|
11
11
|
import { forwardRef, useRef, useState, useImperativeHandle, useEffect, useId } from 'react';
|
|
12
12
|
import { XGlyph } from '@crewlethq/icons/glyphs';
|
|
13
13
|
import { jsxs, jsx, Fragment } from 'react/jsx-runtime';
|
|
@@ -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-7QTPJDRF.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,8 +1,8 @@
|
|
|
1
|
-
import { Checkbox } from './chunk-
|
|
1
|
+
import { Checkbox } from './chunk-KIPAFCVS.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-7QTPJDRF.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,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,7 +1,7 @@
|
|
|
1
1
|
import { Note } from './chunk-5SZGKSGL.js';
|
|
2
|
-
import { CanvasToolbar, toolForKey } from './chunk-
|
|
3
|
-
import { IDENTITY_VIEW, Canvas } from './chunk-
|
|
4
|
-
import { IconButton } from './chunk-
|
|
2
|
+
import { CanvasToolbar, toolForKey } from './chunk-KWTRRS7E.js';
|
|
3
|
+
import { IDENTITY_VIEW, Canvas } from './chunk-3Q6N6FJL.js';
|
|
4
|
+
import { IconButton } from './chunk-2XWFWNDT.js';
|
|
5
5
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
6
6
|
import './CanvasBoard-JMYNIAHK.css';
|
|
7
7
|
import { useState, useRef, useImperativeHandle, useCallback, useMemo, useEffect } from 'react';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { richEditorLabels } from './chunk-CSQTDGTS.js';
|
|
2
2
|
import { Callout } from './chunk-BPCY7ZID.js';
|
|
3
|
-
import { Skeleton } from './chunk-
|
|
4
|
-
import { Button } from './chunk-
|
|
3
|
+
import { Skeleton } from './chunk-QBI5ETKY.js';
|
|
4
|
+
import { Button } from './chunk-7QTPJDRF.js';
|
|
5
5
|
import './RichEditor-NPD2KAPS.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-EQBOZPXS.js').then(
|
|
13
13
|
(module) => {
|
|
14
14
|
engine = module.Editor;
|
|
15
15
|
return engine;
|
|
@@ -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-7QTPJDRF.js';
|
|
3
|
+
import { IconButton } from './chunk-2XWFWNDT.js';
|
|
4
4
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
5
5
|
import './HitArea-QUOS6ZDJ.css';
|
|
6
6
|
import './ResizeHandle-2UNSZ4ZQ.css';
|
|
@@ -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';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useListbox, useOptionKeys } from './chunk-7KHM2FZH.js';
|
|
2
|
-
import { Input } from './chunk-
|
|
2
|
+
import { Input } from './chunk-TLIJG4TP.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,9 +1,9 @@
|
|
|
1
1
|
import { StatusDot } from './chunk-WIATRXEJ.js';
|
|
2
2
|
import { useRoving, tabStop } from './chunk-EGMQURBR.js';
|
|
3
|
-
import { Count } from './chunk-
|
|
4
|
-
import { Menu } from './chunk-
|
|
3
|
+
import { Count } from './chunk-5KRRJNQO.js';
|
|
4
|
+
import { Menu } from './chunk-LODRX4FU.js';
|
|
5
5
|
import { HIT_AREA_CLASS } from './chunk-2YTOOH3A.js';
|
|
6
|
-
import { VisuallyHidden } from './chunk-
|
|
6
|
+
import { VisuallyHidden } from './chunk-UT6CW3C7.js';
|
|
7
7
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
8
8
|
import './HitArea-QUOS6ZDJ.css';
|
|
9
9
|
import './Tabs-S7F4RWAN.css';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Toolbar } from './chunk-NR4CPM4T.js';
|
|
2
|
-
import { SegmentedControl } from './chunk-
|
|
3
|
-
import { tabId } from './chunk-
|
|
4
|
-
import { IconButton } from './chunk-
|
|
2
|
+
import { SegmentedControl } from './chunk-3BQWARG2.js';
|
|
3
|
+
import { tabId } from './chunk-VN3DCUED.js';
|
|
4
|
+
import { IconButton } from './chunk-2XWFWNDT.js';
|
|
5
5
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
6
6
|
import './MarkdownEditor-WOKV7CLK.css';
|
|
7
7
|
import { useState, useId, useRef, useLayoutEffect, useImperativeHandle } from 'react';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { useListbox } from './chunk-7KHM2FZH.js';
|
|
2
2
|
import { Tag } from './chunk-KYIAFNU7.js';
|
|
3
|
-
import { announce } from './chunk-
|
|
3
|
+
import { announce } from './chunk-2G355KDJ.js';
|
|
4
4
|
import { isComposing } from './chunk-H5XTJ7GJ.js';
|
|
5
|
-
import { IconButton } from './chunk-
|
|
5
|
+
import { IconButton } from './chunk-2XWFWNDT.js';
|
|
6
6
|
import { useFocusModality } from './chunk-NUZHC6MM.js';
|
|
7
7
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
8
8
|
import './TagsInput-CLFHP6I2.css';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { SlideStage } from './chunk-RMEBFYL7.js';
|
|
2
|
-
import { Button } from './chunk-
|
|
3
|
-
import { VisuallyHidden } from './chunk-
|
|
2
|
+
import { Button } from './chunk-7QTPJDRF.js';
|
|
3
|
+
import { VisuallyHidden } from './chunk-UT6CW3C7.js';
|
|
4
4
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
5
5
|
import './SlideCompare-HTCMPQFY.css';
|
|
6
6
|
import { useState } from 'react';
|
|
@@ -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-KVWZDCTQ.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-KIPAFCVS.js';
|
|
6
|
+
import { Menu } from './chunk-LODRX4FU.js';
|
|
7
|
+
import { Button } from './chunk-7QTPJDRF.js';
|
|
8
|
+
import { IconButton } from './chunk-2XWFWNDT.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,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,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
|
-
import { Skeleton } from './chunk-
|
|
4
|
-
import { Button } from './chunk-
|
|
3
|
+
import { Skeleton } from './chunk-QBI5ETKY.js';
|
|
4
|
+
import { Button } from './chunk-7QTPJDRF.js';
|
|
5
5
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
6
6
|
import './SandboxedFrame-P5NASXB7.css';
|
|
7
7
|
import { useState, useMemo, useRef, 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 };
|