@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.
Files changed (297) hide show
  1. package/dist/Accordion/index.js +4 -4
  2. package/dist/AddPill/index.js +2 -2
  3. package/dist/AgentHandoffPanel/index.js +15 -15
  4. package/dist/Announcer/index.js +2 -2
  5. package/dist/AppShell/index.js +5 -5
  6. package/dist/ArrangeFrame/index.js +4 -4
  7. package/dist/ArrangeGroup/index.js +3 -3
  8. package/dist/ArrangeList/index.js +8 -8
  9. package/dist/ArtifactBar/index.js +9 -9
  10. package/dist/ArtifactCard/index.js +13 -13
  11. package/dist/ArtifactKindIllustration/index.js +2 -2
  12. package/dist/ArtifactMakeRow/index.js +2 -2
  13. package/dist/ArtifactNameCell/index.js +2 -2
  14. package/dist/ArtifactPanel/index.js +4 -4
  15. package/dist/AuthLayout/index.js +4 -4
  16. package/dist/AvatarPicker/index.js +9 -9
  17. package/dist/Button/index.js +2 -2
  18. package/dist/{Button-VXJ7M5XF.css → Button-VRRYSXFN.css} +4 -0
  19. package/dist/Canvas/index.js +5 -5
  20. package/dist/CanvasBoard/index.js +7 -7
  21. package/dist/CanvasToolbar/index.js +6 -6
  22. package/dist/Card/index.js +3 -3
  23. package/dist/ChangeList/ChangeList.d.ts +4 -2
  24. package/dist/ChangeList/index.js +6 -6
  25. package/dist/CharacterCount/index.js +3 -3
  26. package/dist/Charts/index.js +2 -2
  27. package/dist/ChatThread/index.js +3 -3
  28. package/dist/Checkbox/index.js +6 -6
  29. package/dist/ChoiceButtons/index.js +2 -2
  30. package/dist/CodeBlock/index.js +5 -5
  31. package/dist/ColorField/index.js +6 -6
  32. package/dist/ColorSwatch/index.js +5 -5
  33. package/dist/Combobox/index.js +6 -6
  34. package/dist/CommandPalette/index.js +10 -10
  35. package/dist/CommentThread/index.js +12 -12
  36. package/dist/Composer/index.js +7 -7
  37. package/dist/ConfirmField/index.js +6 -6
  38. package/dist/ConflictNote/index.js +3 -3
  39. package/dist/ContrastBadge/index.js +2 -2
  40. package/dist/ContrastHelp/index.js +4 -4
  41. package/dist/Copyable/index.js +4 -4
  42. package/dist/Count/index.js +2 -2
  43. package/dist/DataGrid/index.js +8 -8
  44. package/dist/DataTable/index.js +11 -11
  45. package/dist/DataView/index.js +16 -16
  46. package/dist/DatasetSource/index.js +4 -4
  47. package/dist/DateTimePicker/index.js +4 -4
  48. package/dist/DiffList/index.js +2 -2
  49. package/dist/DiffView/index.js +2 -2
  50. package/dist/Disclosure/index.js +4 -4
  51. package/dist/DocTabsEditor/index.js +9 -9
  52. package/dist/DownloadButton/index.js +3 -3
  53. package/dist/EditingStatus/index.js +4 -4
  54. package/dist/{Editor-GSBLM7NO.js → Editor-EQBOZPXS.js} +7 -7
  55. package/dist/EmptyValue/index.js +2 -2
  56. package/dist/EntityList/EntityList.d.ts +7 -2
  57. package/dist/EntityList/index.js +5 -5
  58. package/dist/ErrorBoundary/index.js +3 -3
  59. package/dist/FactList/index.js +2 -2
  60. package/dist/FileDrop/index.js +3 -3
  61. package/dist/FilterChip/index.js +2 -2
  62. package/dist/FindingList/index.js +2 -2
  63. package/dist/FolderTile/index.js +4 -4
  64. package/dist/FollowBanner/index.js +3 -3
  65. package/dist/HuePicker/index.js +8 -8
  66. package/dist/IconButton/index.js +2 -2
  67. package/dist/{IconButton-6WA7UEBJ.css → IconButton-2D2PZ6GU.css} +4 -0
  68. package/dist/InboxList/index.js +2 -2
  69. package/dist/IndicatorAnchor/IndicatorAnchor.d.ts +29 -0
  70. package/dist/IndicatorAnchor/index.d.ts +3 -0
  71. package/dist/IndicatorAnchor/index.js +2 -0
  72. package/dist/IndicatorAnchor-ZVP47Q4T.css +33 -0
  73. package/dist/InlineEditor/index.js +7 -7
  74. package/dist/Input/index.js +5 -5
  75. package/dist/Kbd/index.js +2 -2
  76. package/dist/Link/index.js +2 -2
  77. package/dist/LinkInterstitial/index.js +5 -5
  78. package/dist/List/index.js +2 -2
  79. package/dist/ListInput/index.js +9 -9
  80. package/dist/LockedLabel/index.js +2 -2
  81. package/dist/LogoSlot/index.js +5 -5
  82. package/dist/MarkdownEditor/index.js +8 -8
  83. package/dist/Menu/index.js +4 -4
  84. package/dist/MergeConflicts/index.js +8 -8
  85. package/dist/Meter/index.js +2 -2
  86. package/dist/Modal/index.js +4 -4
  87. package/dist/NewItemsNotice/index.js +3 -3
  88. package/dist/ObjectHeader/index.js +3 -3
  89. package/dist/OpenInAppCard/index.js +7 -7
  90. package/dist/OrgTable/index.js +5 -5
  91. package/dist/PeekRail/index.js +4 -4
  92. package/dist/PeopleRail/index.js +4 -4
  93. package/dist/PinTile/index.js +3 -3
  94. package/dist/PresenceStack/index.js +2 -2
  95. package/dist/PresenterView/index.js +5 -5
  96. package/dist/PrincipalPicker/index.js +7 -7
  97. package/dist/PropertyList/index.js +5 -5
  98. package/dist/ProposalCard/index.js +11 -11
  99. package/dist/ReceiptStrip/index.js +3 -3
  100. package/dist/RefusalCard/index.js +5 -5
  101. package/dist/RelatedRow/index.js +4 -4
  102. package/dist/RelativeTime/index.js +3 -3
  103. package/dist/Reorder/index.js +3 -3
  104. package/dist/ResultTableCard/ResultTableCard.d.ts +5 -1
  105. package/dist/ResultTableCard/index.js +8 -8
  106. package/dist/RichEditor/index.js +4 -4
  107. package/dist/RunChip/RunChip.d.ts +3 -2
  108. package/dist/RunChip/index.js +6 -6
  109. package/dist/{RunChip-I2S4VZ3R.css → RunChip-D3JYPTTO.css} +8 -1
  110. package/dist/SandboxedFrame/index.js +4 -4
  111. package/dist/SectionFrame/index.js +4 -4
  112. package/dist/SegmentedControl/index.js +7 -7
  113. package/dist/SelectionBar/index.js +4 -4
  114. package/dist/SendButton/index.js +3 -3
  115. package/dist/SetupWizard/index.js +6 -6
  116. package/dist/ShareDialog/index.js +6 -6
  117. package/dist/SheetColumnEditor/index.js +14 -14
  118. package/dist/SheetGrid/index.js +7 -7
  119. package/dist/SidePanel/index.js +3 -3
  120. package/dist/SidebarNav/index.js +3 -3
  121. package/dist/Skeleton/index.js +2 -2
  122. package/dist/SlideCompare/index.js +3 -3
  123. package/dist/SlideFilmstrip/index.js +8 -8
  124. package/dist/SlideNav/index.js +3 -3
  125. package/dist/SourceEditor/index.js +2 -2
  126. package/dist/StatCard/index.js +2 -2
  127. package/dist/StatusCard/StatusCard.d.ts +32 -2
  128. package/dist/StatusCard/index.d.ts +1 -1
  129. package/dist/StatusCard/index.js +4 -4
  130. package/dist/StatusCard-AMOI6GBK.css +171 -0
  131. package/dist/Stepper/index.js +2 -2
  132. package/dist/SuggestionRow/index.js +2 -2
  133. package/dist/Switcher/index.js +9 -9
  134. package/dist/Table/index.js +2 -2
  135. package/dist/TableCells/index.js +5 -5
  136. package/dist/Tabs/index.js +6 -6
  137. package/dist/TagGroup/index.js +3 -3
  138. package/dist/TagsInput/index.js +4 -4
  139. package/dist/ThemeSwitcher/index.js +8 -8
  140. package/dist/ThemeToggle/index.js +3 -3
  141. package/dist/TimeRangePicker/index.js +12 -12
  142. package/dist/TimeWindowPicker/index.js +7 -7
  143. package/dist/Timeline/index.js +2 -2
  144. package/dist/Toaster/index.js +2 -2
  145. package/dist/TreeCanvas/index.js +6 -6
  146. package/dist/TreeGrid/index.js +3 -3
  147. package/dist/VersionCompare/index.js +9 -9
  148. package/dist/VersionTimeline/index.js +6 -6
  149. package/dist/VisuallyHidden/index.js +1 -1
  150. package/dist/VisuallyHidden-AOEXU5EB.css +27 -0
  151. package/dist/WidgetFrame/index.js +5 -5
  152. package/dist/chunk-27MJPU7G.js +13 -0
  153. package/dist/{chunk-TUZGFMRW.js → chunk-2BDPR4I3.js} +2 -2
  154. package/dist/{chunk-RSAQOKH3.js → chunk-2G355KDJ.js} +1 -1
  155. package/dist/{chunk-OTMP2AUQ.js → chunk-2JHGPXYG.js} +1 -1
  156. package/dist/{chunk-6KLK7E76.js → chunk-2NNGOCWM.js} +4 -4
  157. package/dist/{chunk-2BQYODY3.js → chunk-2XWFWNDT.js} +2 -2
  158. package/dist/{chunk-TDQ262TB.js → chunk-34NMOVXO.js} +1 -1
  159. package/dist/{chunk-YCGZK2E4.js → chunk-3633T7EJ.js} +2 -2
  160. package/dist/{chunk-R3BA3C4Y.js → chunk-37U3Z65B.js} +1 -1
  161. package/dist/{chunk-3JYCCTGK.js → chunk-3BQWARG2.js} +3 -3
  162. package/dist/{chunk-PDTEPN4D.js → chunk-3DMPZZQ6.js} +3 -3
  163. package/dist/{chunk-ALU5EGQB.js → chunk-3OV26XP4.js} +1 -1
  164. package/dist/{chunk-57KC5B5M.js → chunk-3PJHUDXD.js} +7 -7
  165. package/dist/{chunk-JKZ3A4GY.js → chunk-3Q6N6FJL.js} +4 -4
  166. package/dist/{chunk-PXU6HOZB.js → chunk-463DNZXI.js} +1 -1
  167. package/dist/{chunk-T22NCHGT.js → chunk-46VE5TVS.js} +3 -3
  168. package/dist/{chunk-ICWUDNAZ.js → chunk-4MC2EEGO.js} +1 -1
  169. package/dist/{chunk-5NT6OIPP.js → chunk-4MRFLHJC.js} +1 -1
  170. package/dist/{chunk-O2EGEONV.js → chunk-4U2D6BPR.js} +1 -1
  171. package/dist/{chunk-JSR6HSK5.js → chunk-53NTMTRM.js} +1 -1
  172. package/dist/{chunk-JLRXCKTS.js → chunk-5CY6BW4Y.js} +3 -3
  173. package/dist/{chunk-45KMH3E3.js → chunk-5DJMFRSZ.js} +1 -1
  174. package/dist/{chunk-C4BN6MZJ.js → chunk-5FTJNKNX.js} +1 -1
  175. package/dist/{chunk-IFWJNKVT.js → chunk-5G76O23M.js} +2 -2
  176. package/dist/{chunk-XRZGGB6I.js → chunk-5IPPLWVA.js} +1 -1
  177. package/dist/{chunk-XYCADWZN.js → chunk-5KEVSZ4K.js} +1 -1
  178. package/dist/{chunk-BHHIIK3M.js → chunk-5KRRJNQO.js} +1 -1
  179. package/dist/{chunk-C5AKPSNY.js → chunk-5KW63GZ3.js} +5 -5
  180. package/dist/{chunk-MKFL7TFU.js → chunk-5NJ4BIUA.js} +1 -1
  181. package/dist/{chunk-ARZF7KEO.js → chunk-5PMFRAGL.js} +8 -8
  182. package/dist/{chunk-KLGO4526.js → chunk-5UPWU6ZJ.js} +5 -5
  183. package/dist/{chunk-3NQS6KYG.js → chunk-5YIL4WJP.js} +1 -1
  184. package/dist/{chunk-DXRPB3JD.js → chunk-5ZGJ22CO.js} +1 -1
  185. package/dist/{chunk-3FGBMI36.js → chunk-6Z4JZHRB.js} +2 -2
  186. package/dist/{chunk-DIR6CSJP.js → chunk-75QASA62.js} +5 -8
  187. package/dist/{chunk-QKXQC5D6.js → chunk-7QTPJDRF.js} +2 -2
  188. package/dist/{chunk-OOBXGR5B.js → chunk-7SRSPU4O.js} +3 -3
  189. package/dist/{chunk-SMBKXWML.js → chunk-ACRRRPWT.js} +1 -1
  190. package/dist/{chunk-BVWSLXTY.js → chunk-AOFVXE6V.js} +1 -1
  191. package/dist/{chunk-E7QLG3PG.js → chunk-B53FUJ53.js} +2 -2
  192. package/dist/{chunk-EXP5RD3R.js → chunk-B5ZHJWAZ.js} +4 -4
  193. package/dist/{chunk-D3EJSLCL.js → chunk-CVDK3LDB.js} +1 -1
  194. package/dist/{chunk-HMVQQEHW.js → chunk-D2BYJNEH.js} +1 -1
  195. package/dist/{chunk-OHBXOEP3.js → chunk-DEAFAK3U.js} +1 -1
  196. package/dist/{chunk-NTB5LRRD.js → chunk-DG6KSGNQ.js} +1 -1
  197. package/dist/{chunk-4CBGIRVU.js → chunk-DMI4QJDY.js} +1 -1
  198. package/dist/{chunk-CBR52S2C.js → chunk-EFIURN3U.js} +2 -2
  199. package/dist/{chunk-PXDIHHJA.js → chunk-EQHJTGLY.js} +1 -1
  200. package/dist/{chunk-36DZUEVY.js → chunk-F2IYVVA3.js} +2 -2
  201. package/dist/{chunk-3LYWD3BO.js → chunk-FGRJXZUU.js} +1 -1
  202. package/dist/{chunk-TFIINTEU.js → chunk-GK3PXGLS.js} +2 -2
  203. package/dist/{chunk-JMMS2PQU.js → chunk-GWPWLVN3.js} +1 -1
  204. package/dist/{chunk-RLJXVFEH.js → chunk-HACEB6L4.js} +1 -1
  205. package/dist/{chunk-FBSEJO2C.js → chunk-HOP3J622.js} +1 -1
  206. package/dist/{chunk-CSBS66PG.js → chunk-I43D5K6A.js} +3 -3
  207. package/dist/{chunk-LFHVYGQL.js → chunk-I74C4TM6.js} +5 -5
  208. package/dist/{chunk-UM3EKJXF.js → chunk-IOTN23FZ.js} +3 -3
  209. package/dist/{chunk-UYZZV4DZ.js → chunk-IWZG7NPV.js} +1 -1
  210. package/dist/{chunk-M5KZX5JE.js → chunk-J4HPMS7F.js} +1 -1
  211. package/dist/{chunk-BLPT6GHV.js → chunk-JE4FCRVL.js} +1 -1
  212. package/dist/{chunk-FAKL6PXB.js → chunk-K4IVKHKU.js} +1 -1
  213. package/dist/{chunk-T4D7RZNI.js → chunk-K4U2VDOJ.js} +1 -1
  214. package/dist/{chunk-5VFBBKZE.js → chunk-KA2GAB3N.js} +1 -1
  215. package/dist/{chunk-FLTMDSC3.js → chunk-KBTJMJPX.js} +2 -2
  216. package/dist/{chunk-NHJQXDHA.js → chunk-KIPAFCVS.js} +2 -2
  217. package/dist/{chunk-SEMZEENR.js → chunk-KVWZDCTQ.js} +2 -2
  218. package/dist/{chunk-3DVOJK63.js → chunk-KWTRRS7E.js} +2 -2
  219. package/dist/{chunk-KS7YIJ4S.js → chunk-L6NG7CUA.js} +1 -1
  220. package/dist/{chunk-CFHGVO5L.js → chunk-LG6TUGET.js} +2 -2
  221. package/dist/{chunk-6LRCOXP6.js → chunk-LND6XSXN.js} +4 -4
  222. package/dist/{chunk-7QE27DWU.js → chunk-LODRX4FU.js} +2 -2
  223. package/dist/{chunk-AZ5BKSGV.js → chunk-M5GPCENM.js} +2 -2
  224. package/dist/{chunk-IDQBSMMZ.js → chunk-MHFTG2LO.js} +6 -6
  225. package/dist/{chunk-INHXF2CL.js → chunk-MKKX6N7C.js} +1 -1
  226. package/dist/{chunk-WXRH7NZW.js → chunk-MMZZGJHX.js} +1 -1
  227. package/dist/{chunk-H23GAACC.js → chunk-MOW65OIJ.js} +4 -4
  228. package/dist/{chunk-XJ2QEBMM.js → chunk-MPVMB2DV.js} +1 -1
  229. package/dist/{chunk-N4GBDK4L.js → chunk-MYJZCSMA.js} +1 -1
  230. package/dist/{chunk-CTUHHM6H.js → chunk-NL72YZWF.js} +2 -2
  231. package/dist/{chunk-2K6FUMIK.js → chunk-NLI7OVO2.js} +1 -1
  232. package/dist/{chunk-YHTIWHEF.js → chunk-NM6RR2GA.js} +10 -10
  233. package/dist/{chunk-YPGD2YWN.js → chunk-NRMXUNLR.js} +1 -1
  234. package/dist/{chunk-ZHMJG3UG.js → chunk-O7VXE4TO.js} +5 -5
  235. package/dist/{chunk-FA44M2YT.js → chunk-OB5N3FV2.js} +28 -3
  236. package/dist/{chunk-QZXSEPLJ.js → chunk-OM6CPZB7.js} +3 -3
  237. package/dist/{chunk-GG4QZWMQ.js → chunk-P4YORMRZ.js} +1 -1
  238. package/dist/{chunk-RXAODDFD.js → chunk-P5S2SPTK.js} +2 -2
  239. package/dist/{chunk-52IHWD3V.js → chunk-PFXUEEHT.js} +5 -5
  240. package/dist/{chunk-XCUUI7E7.js → chunk-PGCLHYVP.js} +2 -2
  241. package/dist/{chunk-GPW4M4OI.js → chunk-PGKETYGL.js} +3 -3
  242. package/dist/{chunk-XODESBSR.js → chunk-PUJUWLCX.js} +1 -1
  243. package/dist/{chunk-VRNUKH2W.js → chunk-Q4DNAO3O.js} +2 -2
  244. package/dist/{chunk-TEUQWOWZ.js → chunk-QBI5ETKY.js} +1 -1
  245. package/dist/{chunk-TROLVEZY.js → chunk-QC2DEQCN.js} +1 -1
  246. package/dist/{chunk-RV6XB5UV.js → chunk-QZLNKLYD.js} +1 -1
  247. package/dist/{chunk-EUCC37WY.js → chunk-RE3FBGQQ.js} +1 -1
  248. package/dist/{chunk-N3ISZVLK.js → chunk-RLFPBRN4.js} +1 -1
  249. package/dist/{chunk-Z3GDMNMU.js → chunk-RO2MZZ66.js} +1 -1
  250. package/dist/{chunk-TA72CURM.js → chunk-RPHQNXE5.js} +1 -1
  251. package/dist/{chunk-UGNUUVRI.js → chunk-RQFRRPV6.js} +1 -1
  252. package/dist/{chunk-BDYQTU5Q.js → chunk-SG2375ZY.js} +3 -3
  253. package/dist/{chunk-INVSUFJK.js → chunk-SHLP2BNA.js} +2 -2
  254. package/dist/{chunk-UC3PB356.js → chunk-SPCSFJNY.js} +1 -1
  255. package/dist/{chunk-QFGKFCL2.js → chunk-T4THNJ6E.js} +2 -2
  256. package/dist/{chunk-OHGH7O6T.js → chunk-TEV5REGB.js} +1 -1
  257. package/dist/{chunk-FXQLNETQ.js → chunk-TLIJG4TP.js} +5 -5
  258. package/dist/{chunk-V326ADVR.js → chunk-TUNEMQXF.js} +3 -3
  259. package/dist/{chunk-FVD7FSKO.js → chunk-TXA3HMWP.js} +3 -3
  260. package/dist/{chunk-3EYSYEXP.js → chunk-U4AXQI6U.js} +4 -4
  261. package/dist/{chunk-BZFWDIV6.js → chunk-UT6CW3C7.js} +1 -1
  262. package/dist/{chunk-73QP5CDO.js → chunk-UTBCDOGP.js} +3 -3
  263. package/dist/{chunk-CVH7KBAJ.js → chunk-V57TGM2L.js} +3 -3
  264. package/dist/{chunk-QTB5S6JZ.js → chunk-VBO2GYWX.js} +2 -2
  265. package/dist/{chunk-XZ42MKHK.js → chunk-VBYRA3W6.js} +3 -3
  266. package/dist/{chunk-U5PJSGHG.js → chunk-VC2M2E7N.js} +1 -1
  267. package/dist/{chunk-HYRKTVKL.js → chunk-VN3DCUED.js} +3 -3
  268. package/dist/{chunk-YPTTSJPM.js → chunk-VO2PDDRE.js} +1 -1
  269. package/dist/{chunk-DHS335W4.js → chunk-VRPDQSXZ.js} +3 -3
  270. package/dist/{chunk-JS2TRHBF.js → chunk-VSTD65SL.js} +2 -2
  271. package/dist/{chunk-S4DREXGM.js → chunk-VTUAQYOC.js} +1 -1
  272. package/dist/{chunk-JIG4D2IQ.js → chunk-W2Q5DZJB.js} +2 -2
  273. package/dist/{chunk-L22HQRNF.js → chunk-WDPREXOL.js} +7 -7
  274. package/dist/{chunk-WW7TU6HE.js → chunk-WDRYUMN6.js} +1 -1
  275. package/dist/{chunk-32SOAYCF.js → chunk-WR7UDG7U.js} +2 -2
  276. package/dist/chunk-WW4E5EUS.js +118 -0
  277. package/dist/{chunk-DJ46CKSP.js → chunk-WXSGCYZO.js} +5 -5
  278. package/dist/{chunk-BA2KFNUD.js → chunk-XLJPLCK6.js} +4 -4
  279. package/dist/{chunk-JILNCBBS.js → chunk-XN5L5E5D.js} +1 -1
  280. package/dist/{chunk-DRT4L4WC.js → chunk-XQBLBJN4.js} +1 -1
  281. package/dist/{chunk-SDSBVVLL.js → chunk-YBI7M2JH.js} +1 -1
  282. package/dist/{chunk-DFUYHPY7.js → chunk-YSHQQNB6.js} +5 -5
  283. package/dist/{chunk-AP7GA5AA.js → chunk-Z4EKUMZW.js} +1 -1
  284. package/dist/{chunk-AUQPBL4O.js → chunk-Z6X3F4H6.js} +1 -1
  285. package/dist/{chunk-LBUQ6R66.js → chunk-ZEPUKRO7.js} +1 -1
  286. package/dist/{chunk-NEHSV55H.js → chunk-ZH5F2PXC.js} +21 -16
  287. package/dist/{chunk-2XBIN5C2.js → chunk-ZRKUTFYE.js} +5 -5
  288. package/dist/{chunk-TFGCNBWP.js → chunk-ZYO2QFU6.js} +1 -1
  289. package/dist/generated/index.d.ts +1 -0
  290. package/dist/generated/index.js +147 -146
  291. package/dist/index.js +147 -146
  292. package/dist/styles.css +175 -9
  293. package/package.json +3 -3
  294. package/dist/StatusCard-6RPEE6UU.css +0 -62
  295. package/dist/VisuallyHidden-L552H7OA.css +0 -21
  296. package/dist/chunk-WDIVALLP.js +0 -51
  297. /package/dist/{chunk-EWTPXRRM.js → chunk-DJV2FVD2.js} +0 -0
@@ -1,9 +1,20 @@
1
- import { StatusCard } from './chunk-WDIVALLP.js';
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({ items, label, title, className, ...rest }) {
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(StatusCard, { ...rest, title, bodyPadding: "none", className: cx("crewlet-entity-list", "crewlet-entity-list--card", className), children: list });
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-45KMH3E3.js';
2
- import { StatusCard } from './chunk-WDIVALLP.js';
3
- import { DownloadButton } from './chunk-CFHGVO5L.js';
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,4 +1,4 @@
1
- import { DisclosureAnatomy } from './chunk-TFGCNBWP.js';
1
+ import { DisclosureAnatomy } from './chunk-ZYO2QFU6.js';
2
2
  import { useHeadingLevel } from './chunk-PQADV6P6.js';
3
3
  import { cx } from './chunk-ODEQTPFM.js';
4
4
  import './Disclosure-FVMA4RW2.css';
@@ -1,7 +1,7 @@
1
- import { SlideNav } from './chunk-OHBXOEP3.js';
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-QKXQC5D6.js';
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-2K6FUMIK.js';
2
- import { StatusCard } from './chunk-WDIVALLP.js';
3
- import { ChangeList } from './chunk-NEHSV55H.js';
4
- import { Button } from './chunk-QKXQC5D6.js';
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-L552H7OA.css';
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-RSAQOKH3.js';
2
- import { VisuallyHidden } from './chunk-BZFWDIV6.js';
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-VRNUKH2W.js';
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-TROLVEZY.js';
5
- import { IconButton } from './chunk-2BQYODY3.js';
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-2BQYODY3.js';
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-2BQYODY3.js';
6
- import { VisuallyHidden } from './chunk-BZFWDIV6.js';
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-BZFWDIV6.js';
1
+ import { VisuallyHidden } from './chunk-UT6CW3C7.js';
2
2
  import { cx } from './chunk-ODEQTPFM.js';
3
3
  import './Skeleton-V735HRGM.css';
4
4
  import { jsxs, Fragment, jsx } from 'react/jsx-runtime';
@@ -1,4 +1,4 @@
1
- import { VisuallyHidden } from './chunk-BZFWDIV6.js';
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,4 +1,4 @@
1
- import { VisuallyHidden } from './chunk-BZFWDIV6.js';
1
+ import { VisuallyHidden } from './chunk-UT6CW3C7.js';
2
2
  import { cx } from './chunk-ODEQTPFM.js';
3
3
  import './ArtifactKinds-O3CALPVX.css';
4
4
  import './ArtifactKindIllustration-KLFL7KBG.css';
@@ -1,4 +1,4 @@
1
- import { VisuallyHidden } from './chunk-BZFWDIV6.js';
1
+ import { VisuallyHidden } from './chunk-UT6CW3C7.js';
2
2
  import { cx } from './chunk-ODEQTPFM.js';
3
3
  import './EmptyValue-4B6ODXHT.css';
4
4
  import { jsxs, jsx } from 'react/jsx-runtime';
@@ -1,5 +1,5 @@
1
1
  import { useThemePreference, useSystemTheme, resolveTheme } from './chunk-Z24ZUSTX.js';
2
- import { IconButton } from './chunk-2BQYODY3.js';
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-BZFWDIV6.js';
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,4 +1,4 @@
1
- import { Combobox } from './chunk-U5PJSGHG.js';
1
+ import { Combobox } from './chunk-VC2M2E7N.js';
2
2
  import { PRINCIPAL_KINDS, PrincipalAvatar } from './chunk-CI3VPIJN.js';
3
3
  import { cx } from './chunk-ODEQTPFM.js';
4
4
  import './PrincipalPicker-7NNZTGUP.css';
@@ -1,4 +1,4 @@
1
- import { VisuallyHidden } from './chunk-BZFWDIV6.js';
1
+ import { VisuallyHidden } from './chunk-UT6CW3C7.js';
2
2
  import { cx } from './chunk-ODEQTPFM.js';
3
3
  import './Meter-ZZRFUEOH.css';
4
4
  import { useId } from 'react';
@@ -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-FXQLNETQ.js';
5
- import { Button } from './chunk-QKXQC5D6.js';
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-2BQYODY3.js';
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-E7QLG3PG.js';
2
- import { VisuallyHidden } from './chunk-BZFWDIV6.js';
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,4 +1,4 @@
1
- import { CopyButton } from './chunk-UM3EKJXF.js';
1
+ import { CopyButton } from './chunk-IOTN23FZ.js';
2
2
  import { cx } from './chunk-ODEQTPFM.js';
3
3
  import './CodeBlock-N5ETJF24.css';
4
4
  import { forwardRef, useRef, useState, useLayoutEffect } from 'react';
@@ -1,6 +1,6 @@
1
- import { Stepper } from './chunk-AP7GA5AA.js';
1
+ import { Stepper } from './chunk-Z4EKUMZW.js';
2
2
  import { PageHeader } from './chunk-DKB73KZI.js';
3
- import { Disclosure } from './chunk-GG4QZWMQ.js';
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,4 +1,4 @@
1
- import { VisuallyHidden } from './chunk-BZFWDIV6.js';
1
+ import { VisuallyHidden } from './chunk-UT6CW3C7.js';
2
2
  import { cx } from './chunk-ODEQTPFM.js';
3
3
  import './LockedLabel-VQEGEB7G.css';
4
4
  import { KeyGlyph } from '@crewlethq/icons/glyphs';
@@ -1,13 +1,13 @@
1
- import { characterCountState, CharacterCount } from './chunk-XCUUI7E7.js';
1
+ import { characterCountState, CharacterCount } from './chunk-PGCLHYVP.js';
2
2
  import { useHeadingLevel, headingTag, HeadingLevelProvider, nextHeadingLevel } from './chunk-PQADV6P6.js';
3
- import { announce } from './chunk-RSAQOKH3.js';
3
+ import { announce } from './chunk-2G355KDJ.js';
4
4
  import { isComposing } from './chunk-H5XTJ7GJ.js';
5
- import { IconButton } from './chunk-2BQYODY3.js';
5
+ import { IconButton } from './chunk-2XWFWNDT.js';
6
6
  import { useFocusModality } from './chunk-NUZHC6MM.js';
7
- import { VisuallyHidden } from './chunk-BZFWDIV6.js';
7
+ import { VisuallyHidden } from './chunk-UT6CW3C7.js';
8
8
  import { cx } from './chunk-ODEQTPFM.js';
9
9
  import './Input-GMOWHZRG.css';
10
- import './VisuallyHidden-L552H7OA.css';
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-KS7YIJ4S.js';
3
- import { Timeline } from './chunk-AUQPBL4O.js';
4
- import { Button } from './chunk-QKXQC5D6.js';
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-NHJQXDHA.js';
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-QKXQC5D6.js';
5
- import { VisuallyHidden } from './chunk-BZFWDIV6.js';
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-FBSEJO2C.js';
1
+ import { Link } from './chunk-HOP3J622.js';
2
2
  import { Tag } from './chunk-KYIAFNU7.js';
3
- import { RelativeTime } from './chunk-KS7YIJ4S.js';
4
- import { EmptyValue } from './chunk-EUCC37WY.js';
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-BZFWDIV6.js';
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
1
  import { cx } from './chunk-ODEQTPFM.js';
2
- import './VisuallyHidden-L552H7OA.css';
2
+ import './VisuallyHidden-AOEXU5EB.css';
3
3
  import { jsx } from 'react/jsx-runtime';
4
4
 
5
5
  function VisuallyHidden({ as: Tag = "span", id, className, children }) {
@@ -1,7 +1,7 @@
1
1
  import { Note } from './chunk-5SZGKSGL.js';
2
- import { CanvasToolbar, toolForKey } from './chunk-3DVOJK63.js';
3
- import { IDENTITY_VIEW, Canvas } from './chunk-JKZ3A4GY.js';
4
- import { IconButton } from './chunk-2BQYODY3.js';
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-TEUQWOWZ.js';
4
- import { Button } from './chunk-QKXQC5D6.js';
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-GSBLM7NO.js').then(
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-QKXQC5D6.js';
3
- import { IconButton } from './chunk-2BQYODY3.js';
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-ICWUDNAZ.js';
2
- import { Link } from './chunk-FBSEJO2C.js';
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-EUCC37WY.js';
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-FXQLNETQ.js';
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-BHHIIK3M.js';
4
- import { Menu } from './chunk-7QE27DWU.js';
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-BZFWDIV6.js';
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,4 +1,4 @@
1
- import { VisuallyHidden } from './chunk-BZFWDIV6.js';
1
+ import { VisuallyHidden } from './chunk-UT6CW3C7.js';
2
2
  import { cx } from './chunk-ODEQTPFM.js';
3
3
  import './StatCard-HAA3F5GX.css';
4
4
  import { jsxs, jsx, Fragment } from 'react/jsx-runtime';
@@ -1,7 +1,7 @@
1
1
  import { Toolbar } from './chunk-NR4CPM4T.js';
2
- import { SegmentedControl } from './chunk-3JYCCTGK.js';
3
- import { tabId } from './chunk-HYRKTVKL.js';
4
- import { IconButton } from './chunk-2BQYODY3.js';
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-RSAQOKH3.js';
3
+ import { announce } from './chunk-2G355KDJ.js';
4
4
  import { isComposing } from './chunk-H5XTJ7GJ.js';
5
- import { IconButton } from './chunk-2BQYODY3.js';
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,5 +1,5 @@
1
1
  import { BrandLockup } from './chunk-7KBNFFM3.js';
2
- import { Card } from './chunk-INHXF2CL.js';
2
+ import { Card } from './chunk-MKKX6N7C.js';
3
3
  import { cx } from './chunk-ODEQTPFM.js';
4
4
  import './AuthLayout-ODHBUPHQ.css';
5
5
  import { useId } from 'react';
@@ -1,6 +1,6 @@
1
1
  import { SlideStage } from './chunk-RMEBFYL7.js';
2
- import { Button } from './chunk-QKXQC5D6.js';
3
- import { VisuallyHidden } from './chunk-BZFWDIV6.js';
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-SEMZEENR.js';
3
- import { EmptyValue } from './chunk-EUCC37WY.js';
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-NHJQXDHA.js';
6
- import { Menu } from './chunk-7QE27DWU.js';
7
- import { Button } from './chunk-QKXQC5D6.js';
8
- import { IconButton } from './chunk-2BQYODY3.js';
9
- import { VisuallyHidden } from './chunk-BZFWDIV6.js';
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-BZFWDIV6.js';
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-TEUQWOWZ.js';
4
- import { Button } from './chunk-QKXQC5D6.js';
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 };