@crewlethq/ui 0.185.0 → 0.186.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +12 -0
- package/dist/ActivityLine/index.js +10 -3
- package/dist/AgentHandoffPanel/index.js +12 -12
- package/dist/AgentIdentity/index.js +18 -18
- package/dist/AppShell/index.js +6 -6
- package/dist/ArrangeFrame/index.js +4 -4
- package/dist/ArrangeList/index.js +7 -7
- package/dist/ArtifactBar/index.js +9 -9
- package/dist/ArtifactCard/index.js +12 -10
- package/dist/ArtifactPanel/index.js +6 -6
- package/dist/AssignmentList/index.js +2 -2
- package/dist/AttachmentChip/index.js +3 -2
- package/dist/AttentionList/index.js +8 -8
- package/dist/Avatar/AvatarStack.d.ts +2 -1
- package/dist/Avatar/index.js +8 -1
- package/dist/AvatarPicker/index.js +11 -11
- package/dist/BriefCard/index.js +8 -8
- package/dist/Button/index.js +3 -3
- package/dist/Callout/index.js +4 -4
- package/dist/Canvas/index.js +5 -5
- package/dist/CanvasBoard/index.js +7 -7
- package/dist/CanvasToolbar/index.js +6 -6
- package/dist/ChangeList/index.js +8 -8
- package/dist/ChangeMark/index.js +3 -3
- package/dist/ChatMessage/index.js +4 -4
- package/dist/ChatThread/index.js +5 -5
- package/dist/CheckGrid/index.js +7 -7
- package/dist/Checkbox/index.js +6 -6
- package/dist/ChipField/index.js +3 -2
- package/dist/Clamp/index.js +4 -4
- package/dist/CodeBlock/index.js +7 -7
- package/dist/ColorField/index.js +6 -6
- package/dist/ColorSwatch/index.js +7 -7
- package/dist/Combobox/index.js +6 -6
- package/dist/CommandPalette/index.js +14 -14
- package/dist/CommentThread/index.js +14 -11
- package/dist/CompactNav/index.js +2 -2
- package/dist/Composer/index.js +6 -6
- package/dist/ConfirmField/index.js +6 -6
- package/dist/ConflictNote/index.js +4 -4
- package/dist/ConsequenceList/index.js +7 -7
- package/dist/ContrastBadge/index.js +3 -2
- package/dist/ContrastHelp/index.js +8 -7
- package/dist/Copyable/index.js +6 -6
- package/dist/DataGrid/index.js +9 -9
- package/dist/DataTable/index.js +15 -15
- package/dist/DataView/index.js +20 -20
- package/dist/DatasetSource/index.js +4 -3
- package/dist/DateTimePicker/index.js +5 -5
- package/dist/DeepWorkCard/index.js +10 -10
- package/dist/DeliveryReceipt/index.js +3 -3
- package/dist/DocTabsEditor/index.js +8 -8
- package/dist/DownloadButton/index.js +4 -4
- package/dist/DurationField/index.js +13 -13
- package/dist/EditingStatus/index.js +2 -2
- package/dist/{Editor-HW7A54RA.js → Editor-WFP2MM6M.js} +8 -8
- package/dist/EmojiPicker/index.js +6 -6
- package/dist/EntityChip/index.js +8 -1
- package/dist/EntityList/index.js +3 -3
- package/dist/ErrorBoundary/index.js +4 -4
- package/dist/FactList/index.js +3 -3
- package/dist/FileDrop/index.js +4 -4
- package/dist/FilterPill/index.js +4 -4
- package/dist/FollowBanner/index.js +6 -6
- package/dist/Fullscreen/index.js +4 -4
- package/dist/GraphCanvas/index.js +7 -7
- package/dist/HuePicker/index.js +9 -9
- package/dist/IconButton/index.js +3 -3
- package/dist/ImageUpload/index.js +8 -1
- package/dist/InboxList/index.js +1 -1
- package/dist/InlineEditor/index.js +6 -6
- package/dist/Input/index.js +5 -5
- package/dist/KeyValueRows/index.js +7 -7
- package/dist/LinkInterstitial/index.js +15 -15
- package/dist/ListDetail/index.js +4 -4
- package/dist/ListInput/index.js +7 -7
- package/dist/ListOverflow/ListOverflow.d.ts +39 -0
- package/dist/ListOverflow/index.d.ts +3 -0
- package/dist/ListOverflow/index.js +8 -0
- package/dist/ListOverflow-DKZTZHGZ.css +96 -0
- package/dist/LogoSlot/index.js +8 -7
- package/dist/MarkdownEditor/index.js +9 -9
- package/dist/MemberPicker/index.js +7 -7
- package/dist/Menu/index.js +5 -5
- package/dist/MergeConflicts/index.js +9 -9
- package/dist/MessageActions/index.js +7 -7
- package/dist/Modal/index.js +13 -13
- package/dist/MoneyField/index.js +6 -6
- package/dist/NoticeList/index.js +7 -7
- package/dist/NumberField/index.js +12 -12
- package/dist/OpenInAppCard/index.js +9 -9
- package/dist/OrgLabel/index.js +8 -1
- package/dist/OrgNode/index.js +8 -1
- package/dist/OrgTable/index.js +15 -13
- package/dist/PeekRail/index.js +5 -5
- package/dist/PeopleRail/index.js +10 -7
- package/dist/PinTile/index.js +4 -4
- package/dist/PresenceStack/index.js +9 -2
- package/dist/{PresenceStack-2DTYRADY.css → PresenceStack-WHGXNMH7.css} +27 -0
- package/dist/PresenterView/index.js +6 -6
- package/dist/PresetChips/index.js +9 -9
- package/dist/PricingCard/index.js +3 -2
- package/dist/Principal/index.js +8 -1
- package/dist/PrincipalPicker/index.js +11 -8
- package/dist/ProposalCard/index.js +18 -18
- package/dist/RailList/index.js +7 -7
- package/dist/ReactionBar/index.js +7 -7
- package/dist/ReadingPane/index.js +2 -2
- package/dist/ReceiptStrip/index.js +4 -4
- package/dist/RefusalCard/index.js +3 -3
- package/dist/RelativeTime/clock.d.ts +6 -0
- package/dist/RelativeTime/index.js +1 -1
- package/dist/ResultTableCard/index.js +9 -9
- package/dist/ReviewList/index.js +3 -2
- package/dist/RichEditor/index.js +6 -6
- package/dist/SandboxedFrame/index.js +6 -6
- package/dist/ScopeList/index.js +8 -8
- package/dist/SectionFrame/index.js +5 -5
- package/dist/SegmentedControl/index.js +8 -8
- package/dist/SelectionBar/index.js +4 -4
- package/dist/SendButton/index.js +4 -4
- package/dist/SettingForm/index.js +7 -7
- package/dist/SettingsTable/index.js +7 -7
- package/dist/ShareDialog/index.js +20 -18
- package/dist/SheetColumnEditor/index.js +13 -13
- package/dist/SheetGrid/index.js +13 -11
- package/dist/SidePanel/index.js +5 -5
- package/dist/SidebarNav/index.js +4 -4
- package/dist/SlideCompare/index.js +4 -4
- package/dist/SlideFilmstrip/index.js +6 -6
- package/dist/SlideNav/index.js +4 -4
- package/dist/StatusCard/index.js +2 -2
- package/dist/StatusLine/index.js +3 -3
- package/dist/Switcher/index.js +15 -15
- package/dist/TableCells/TableCells.d.ts +5 -6
- package/dist/TableCells/index.js +10 -4
- package/dist/{TableCells-D7276NQT.css → TableCells-F6NJK33R.css} +0 -6
- package/dist/Tabs/index.js +7 -7
- package/dist/Tag/index.js +2 -1
- package/dist/TagGroup/TagGroup.d.ts +13 -13
- package/dist/TagGroup/index.js +8 -1
- package/dist/{TagGroup-VGL7ZFBK.css → TagGroup-HYJHHHA7.css} +17 -0
- package/dist/TagsInput/index.js +6 -5
- package/dist/ThemeGallery/index.js +3 -2
- package/dist/ThemeSwitcher/index.js +9 -9
- package/dist/ThemeToggle/index.js +4 -4
- package/dist/ThreadSummary/ThreadSummary.d.ts +1 -1
- package/dist/ThreadSummary/index.js +10 -3
- package/dist/TimeRangePicker/index.js +18 -18
- package/dist/TimeWindowPicker/index.js +7 -7
- package/dist/ToolCallLog/index.js +9 -9
- package/dist/Tooltip/index.js +2 -2
- package/dist/TreeCanvas/index.js +6 -6
- package/dist/TreeGrid/index.js +10 -10
- package/dist/ValueField/index.js +8 -8
- package/dist/VersionCompare/index.js +10 -10
- package/dist/VersionTimeline/index.js +9 -6
- package/dist/WidgetFrame/index.js +2 -2
- package/dist/WorkingLine/index.js +9 -2
- package/dist/{chunk-P3UGTTUA.js → chunk-26G3D2L6.js} +2 -2
- package/dist/{chunk-KRFPANIM.js → chunk-2TN6ALNE.js} +2 -2
- package/dist/{chunk-WTBWYQZD.js → chunk-47QB5GE3.js} +2 -2
- package/dist/{chunk-4GPXNMIG.js → chunk-4ACONCV6.js} +1 -1
- package/dist/{chunk-H36ZMY4G.js → chunk-4ALKLFWL.js} +2 -2
- package/dist/{chunk-VUDSJY22.js → chunk-4D7FQUQW.js} +2 -2
- package/dist/{chunk-OC4WGCHE.js → chunk-4H7SEVIR.js} +2 -2
- package/dist/{chunk-QHPKLY4V.js → chunk-4IB7HVDN.js} +3 -3
- package/dist/{chunk-KEBCKP4F.js → chunk-4IXK6TFP.js} +1 -1
- package/dist/{chunk-LLOTZ6HR.js → chunk-4QEX2DYR.js} +2 -2
- package/dist/{chunk-5EAMUZAJ.js → chunk-5CDLSFYP.js} +1 -1
- package/dist/{chunk-OR7G5T3D.js → chunk-5HDNFDNB.js} +1 -1
- package/dist/{chunk-3OZCJUFS.js → chunk-5MJCHN2Y.js} +2 -2
- package/dist/{chunk-NZDAG5N6.js → chunk-5MPQ657T.js} +2 -2
- package/dist/{chunk-RMBPTHLK.js → chunk-5UUG3QCO.js} +4 -4
- package/dist/{chunk-G5HHQ3RD.js → chunk-5WJKJGL4.js} +1 -1
- package/dist/{chunk-GBKBME7Q.js → chunk-5ZL3PXEL.js} +6 -1
- package/dist/{chunk-PEUKUZGJ.js → chunk-6DQPSI54.js} +8 -8
- package/dist/{chunk-YBJEEPEW.js → chunk-6SGMBLOE.js} +5 -5
- package/dist/{chunk-AWSJWWR4.js → chunk-7BDGWCB4.js} +10 -15
- package/dist/{chunk-R4A2Y7HG.js → chunk-7LQRG3BP.js} +6 -6
- package/dist/{chunk-DJKUKVTV.js → chunk-7U3OHBGV.js} +1 -1
- package/dist/{chunk-WG7GNCUQ.js → chunk-7U6JFHJY.js} +2 -2
- package/dist/{chunk-UMQYZDYC.js → chunk-7WMQ7CXI.js} +1 -1
- package/dist/{chunk-TLMAPIWU.js → chunk-7XGUCELU.js} +1 -1
- package/dist/{chunk-SEBNQVEU.js → chunk-A4CTKERL.js} +3 -3
- package/dist/{chunk-HOIZJFYS.js → chunk-ASBBB5AJ.js} +3 -2
- package/dist/{chunk-Z4TGAPC7.js → chunk-BICOU6XR.js} +1 -1
- package/dist/{chunk-GESCIGTZ.js → chunk-BOIOUEWQ.js} +1 -1
- package/dist/{chunk-MITDNBO2.js → chunk-BPUGJW6X.js} +1 -1
- package/dist/{chunk-KOA6BBAB.js → chunk-BWNZFXBG.js} +1 -1
- package/dist/{chunk-P3N7FAMP.js → chunk-BYU7YSOM.js} +1 -1
- package/dist/{chunk-XIZI47NY.js → chunk-C6GDSC6E.js} +1 -1
- package/dist/{chunk-M2QGWIPH.js → chunk-CJVWQDSL.js} +3 -3
- package/dist/{chunk-VM73Y6TO.js → chunk-CMEZGORB.js} +1 -1
- package/dist/{chunk-PBTBI53V.js → chunk-COBWQMMK.js} +1 -1
- package/dist/{chunk-DKXMP3LN.js → chunk-CT4MHEMZ.js} +2 -2
- package/dist/{chunk-SFKAZSZE.js → chunk-CVWD2N24.js} +2 -2
- package/dist/{chunk-IFQIYRSS.js → chunk-D4ACFQCR.js} +4 -4
- package/dist/{chunk-VVAGUQ6X.js → chunk-D6UBQK3C.js} +1 -1
- package/dist/chunk-D7UG74JZ.js +118 -0
- package/dist/{chunk-RRMZ5ITI.js → chunk-DB7LW3HH.js} +1 -1
- package/dist/{chunk-YDUXCCW7.js → chunk-DV7KWYC6.js} +2 -2
- package/dist/{chunk-X6FJSY3C.js → chunk-ED24QJYL.js} +1 -1
- package/dist/{chunk-FF2YPFIZ.js → chunk-EGBHW6FS.js} +1 -1
- package/dist/{chunk-3ZMDQUFO.js → chunk-ELYOAZCB.js} +3 -3
- package/dist/{chunk-TEAHPDQM.js → chunk-EOK3VRX2.js} +3 -3
- package/dist/chunk-EX5XAEST.js +53 -0
- package/dist/{chunk-ZTJ7BV33.js → chunk-EX7WDCE6.js} +2 -2
- package/dist/{chunk-WLK4PASS.js → chunk-FILFCRZH.js} +1 -1
- package/dist/{chunk-CLLZM2VC.js → chunk-G3RITVUB.js} +3 -3
- package/dist/{chunk-Z3D4J7OX.js → chunk-G7NTFDEH.js} +2 -2
- package/dist/{chunk-AP4LZWO2.js → chunk-GHGHV67L.js} +1 -1
- package/dist/{chunk-2JDLC5A4.js → chunk-GOT5UZL6.js} +1 -1
- package/dist/{chunk-LNS3I6MG.js → chunk-GP55BQOQ.js} +1 -1
- package/dist/{chunk-L2EXZQZA.js → chunk-GY6RAKJM.js} +1 -1
- package/dist/{chunk-TICGBUBC.js → chunk-HBTORBNN.js} +2 -2
- package/dist/{chunk-MYAC6NMF.js → chunk-HGDZBOOE.js} +1 -1
- package/dist/{chunk-NYIVZNML.js → chunk-HNDQZWTX.js} +8 -8
- package/dist/{chunk-6TW6XV3W.js → chunk-I3EWAX3N.js} +1 -1
- package/dist/{chunk-FGBEJO25.js → chunk-I5RG7LR5.js} +2 -2
- package/dist/{chunk-UIE54JPW.js → chunk-IIGKE3AY.js} +2 -2
- package/dist/{chunk-SVC4NFQ3.js → chunk-IYDJFY5L.js} +3 -3
- package/dist/{chunk-65SCXN7P.js → chunk-J3OWDELP.js} +2 -2
- package/dist/{chunk-NFTCYCN4.js → chunk-J7NARUI4.js} +1 -1
- package/dist/{chunk-IUCQ5WOX.js → chunk-JE65SZHC.js} +1 -1
- package/dist/{chunk-HWVGUUOF.js → chunk-JKPY3EHV.js} +2 -2
- package/dist/{chunk-AQ4Q6QWY.js → chunk-JWDEGRY6.js} +1 -1
- package/dist/{chunk-J73XXTGG.js → chunk-JXDV6B37.js} +1 -1
- package/dist/{chunk-GI2QI2HZ.js → chunk-JYP6IRMH.js} +2 -2
- package/dist/{chunk-D54HL3AN.js → chunk-JZNUS4AP.js} +2 -2
- package/dist/{chunk-PYMHNEDI.js → chunk-KCV47P7J.js} +2 -2
- package/dist/{chunk-4TQQLRGW.js → chunk-KDQRERFV.js} +1 -1
- package/dist/{chunk-JSYAITYQ.js → chunk-KE7EIOST.js} +1 -1
- package/dist/{chunk-PIKB6IDR.js → chunk-KFX6FQKU.js} +1 -1
- package/dist/{chunk-NGHRKHT5.js → chunk-KOTOBDOA.js} +5 -5
- package/dist/{chunk-TJWV4TYG.js → chunk-KVZAUSAG.js} +5 -5
- package/dist/{chunk-UNYT6KEK.js → chunk-LCJC3LTP.js} +1 -1
- package/dist/{chunk-KH4HKMXF.js → chunk-LSQ5BNLZ.js} +2 -2
- package/dist/{chunk-QBLBUPHO.js → chunk-M34LSGMH.js} +1 -1
- package/dist/{chunk-2EBAGM5E.js → chunk-MB2C2GGW.js} +3 -3
- package/dist/{chunk-LL5H2Q5B.js → chunk-MNI7ST26.js} +50 -9
- package/dist/{chunk-6JPM2FL7.js → chunk-NFLSK6T3.js} +1 -1
- package/dist/{chunk-XDTWKLEX.js → chunk-NIPRTH7C.js} +1 -1
- package/dist/{chunk-JYJ24UUX.js → chunk-NMIXL2YH.js} +1 -1
- package/dist/{chunk-NRE7D5JZ.js → chunk-O7KT5EIN.js} +3 -3
- package/dist/{chunk-SQZZHFPD.js → chunk-OIK5M2Y4.js} +2 -2
- package/dist/{chunk-33OEAV6E.js → chunk-OKQD3RCB.js} +1 -1
- package/dist/{chunk-SMYOELVW.js → chunk-OYTOXZFX.js} +1 -1
- package/dist/{chunk-RFJI4VGF.js → chunk-PHA2MBXY.js} +2 -2
- package/dist/{chunk-PJMDWQC2.js → chunk-PTG3UCID.js} +1 -1
- package/dist/{chunk-UOM3W67U.js → chunk-PUH4MQJL.js} +1 -1
- package/dist/{chunk-NKSPHNL2.js → chunk-PV3TWLEK.js} +1 -1
- package/dist/{chunk-FD4E352A.js → chunk-Q3R67DIG.js} +2 -2
- package/dist/{chunk-CWYHS4IT.js → chunk-QFNXUWTJ.js} +5 -5
- package/dist/{chunk-MZFJ3G2I.js → chunk-QJFCSVUH.js} +1 -1
- package/dist/{chunk-JBIIOFJE.js → chunk-QMKBFOPR.js} +1 -1
- package/dist/{chunk-5WPNDMMI.js → chunk-R3UFA2S5.js} +1 -1
- package/dist/{chunk-XGWNL65J.js → chunk-S34V3QCH.js} +7 -7
- package/dist/{chunk-DJXY65LN.js → chunk-S3WUN7GH.js} +3 -3
- package/dist/{chunk-YOFE374H.js → chunk-S7QCEP6W.js} +1 -1
- package/dist/{chunk-L4BKQVXX.js → chunk-SQPT4UZ4.js} +1 -1
- package/dist/{chunk-FXVZ6CNV.js → chunk-SVA5VPCB.js} +3 -3
- package/dist/{chunk-JTQKEICA.js → chunk-SVM2JD3B.js} +3 -3
- package/dist/{chunk-UTPLRVXN.js → chunk-SVXMZH3R.js} +2 -2
- package/dist/{chunk-JWHXDVN5.js → chunk-T7Y5FM4B.js} +16 -6
- package/dist/{chunk-VPRD5NWJ.js → chunk-TCBV4K7V.js} +1 -1
- package/dist/{chunk-KRF3GQ63.js → chunk-TDQB6AXC.js} +1 -1
- package/dist/{chunk-G3VFOXSQ.js → chunk-TZ3K5SVW.js} +8 -8
- package/dist/{chunk-UJYSDWQ7.js → chunk-TZLOZM2G.js} +1 -1
- package/dist/{chunk-JPVJD4BO.js → chunk-U4VEL442.js} +2 -2
- package/dist/{chunk-SZKYOOCS.js → chunk-U7JKO2RL.js} +1 -1
- package/dist/{chunk-QFO375KV.js → chunk-UBXJBVYV.js} +3 -3
- package/dist/{chunk-KHELXOOP.js → chunk-UIA7FKDE.js} +2 -2
- package/dist/{chunk-XZOPCQUI.js → chunk-UIRMNARM.js} +2 -2
- package/dist/{chunk-TPVEFQ42.js → chunk-UR353M5W.js} +1 -1
- package/dist/{chunk-PEEIVTQG.js → chunk-VGRGEH32.js} +3 -3
- package/dist/{chunk-3LJHDMAZ.js → chunk-VV62BOH2.js} +2 -2
- package/dist/{chunk-G5W5ZLIL.js → chunk-W3YTURNG.js} +3 -3
- package/dist/{chunk-OYFFSNKJ.js → chunk-W5MDEFMS.js} +1 -1
- package/dist/{chunk-G7YITKUF.js → chunk-WDVENT6N.js} +4 -4
- package/dist/{chunk-TEHDRA7W.js → chunk-WFWKKLDK.js} +3 -3
- package/dist/{chunk-MZ77QMIB.js → chunk-WHNKZFUH.js} +2 -2
- package/dist/{chunk-SR5GHUP5.js → chunk-WLIODLUL.js} +1 -1
- package/dist/{chunk-GRJAQET6.js → chunk-X3BYIOSI.js} +5 -5
- package/dist/{chunk-72CY2Y2Y.js → chunk-X3THIGNC.js} +1 -1
- package/dist/{chunk-JLZ37UFI.js → chunk-XIPD2GDD.js} +3 -3
- package/dist/{chunk-2XKPQBAX.js → chunk-XKXO7EAT.js} +1 -1
- package/dist/{chunk-CVKCSJ5F.js → chunk-XS7NYCTQ.js} +3 -3
- package/dist/{chunk-2MIIVSYH.js → chunk-YDZJIG2Z.js} +3 -3
- package/dist/{chunk-XNPNHB6A.js → chunk-YIKYV3S6.js} +1 -1
- package/dist/{chunk-SKTLAJNA.js → chunk-YLXOP5KR.js} +1 -1
- package/dist/{chunk-H7L4ZEVN.js → chunk-YXRC2NSO.js} +1 -1
- package/dist/{chunk-EXQNU4IQ.js → chunk-Z5JGQOIH.js} +2 -2
- package/dist/{chunk-OTXMMGEO.js → chunk-Z6K7XR6S.js} +3 -3
- package/dist/{chunk-JZN5VTHT.js → chunk-ZGVOP3IS.js} +3 -3
- package/dist/{chunk-UJSD6N7V.js → chunk-ZRRJY3KA.js} +1 -1
- package/dist/{chunk-VG3QSR5H.js → chunk-ZSFLCSN3.js} +2 -2
- package/dist/{chunk-VYIEO3JD.js → chunk-ZU5M74J5.js} +2 -2
- package/dist/generated/index.d.ts +1 -0
- package/dist/generated/index.js +163 -162
- package/dist/index.js +163 -162
- package/dist/styles.css +146 -9
- package/dist/utils/index.js +2 -2
- package/package.json +3 -3
- package/dist/chunk-FOUIZS7Q.js +0 -92
- package/dist/{chunk-YDDWUJ4O.js → chunk-7ZBJ7YTF.js} +0 -0
- package/dist/{chunk-6U5JDH3O.js → chunk-DF3LU2RW.js} +1 -1
- package/dist/{chunk-QB3VHZRB.js → chunk-KOBTCG2T.js} +1 -1
- package/dist/{chunk-XZ47PWVD.js → chunk-LXPA2SRT.js} +1 -1
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { PrincipalAvatar } from './chunk-265IX4YA.js';
|
|
2
|
-
import { toInstant, RelativeTime, formatExact, toISO } from './chunk-
|
|
2
|
+
import { toInstant, RelativeTime, formatExact, toISO } from './chunk-5ZL3PXEL.js';
|
|
3
3
|
import { Document } from './chunk-I4PBFJGX.js';
|
|
4
|
-
import { Composer } from './chunk-
|
|
5
|
-
import { Button } from './chunk-
|
|
6
|
-
import { IconButton } from './chunk-
|
|
4
|
+
import { Composer } from './chunk-EGBHW6FS.js';
|
|
5
|
+
import { Button } from './chunk-NMIXL2YH.js';
|
|
6
|
+
import { IconButton } from './chunk-CMEZGORB.js';
|
|
7
7
|
import { Count } from './chunk-6YKTRAWI.js';
|
|
8
8
|
import { useHeadingLevel, headingTag } from './chunk-PQADV6P6.js';
|
|
9
9
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useClipboard } from './chunk-STJ7QBC3.js';
|
|
2
|
-
import { Button } from './chunk-
|
|
2
|
+
import { Button } from './chunk-NMIXL2YH.js';
|
|
3
3
|
import { VisuallyHidden } from './chunk-RRRK2KB6.js';
|
|
4
4
|
import { useCallback } from 'react';
|
|
5
5
|
import { CheckGlyph, CircleAlertGlyph, CopyGlyph } from '@crewlethq/icons/glyphs';
|
|
@@ -5,6 +5,7 @@ import { useSyncExternalStore } from 'react';
|
|
|
5
5
|
import { jsx } from 'react/jsx-runtime';
|
|
6
6
|
|
|
7
7
|
var now = Date.now();
|
|
8
|
+
var decided = false;
|
|
8
9
|
var listeners = /* @__PURE__ */ new Set();
|
|
9
10
|
var timer = 0;
|
|
10
11
|
function tick() {
|
|
@@ -37,7 +38,11 @@ function subscribe(listener) {
|
|
|
37
38
|
}
|
|
38
39
|
var TICK = 1e3;
|
|
39
40
|
function read() {
|
|
40
|
-
if (!timer) {
|
|
41
|
+
if (!timer && !decided) {
|
|
42
|
+
decided = true;
|
|
43
|
+
queueMicrotask(() => {
|
|
44
|
+
decided = false;
|
|
45
|
+
});
|
|
41
46
|
const current = Date.now();
|
|
42
47
|
if (Math.abs(current - now) >= TICK) now = current;
|
|
43
48
|
}
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { PageHeader } from './chunk-FPDIHEM4.js';
|
|
2
|
-
import { FilterPill } from './chunk-
|
|
3
|
-
import { DateTimePicker } from './chunk-
|
|
4
|
-
import { DataTable } from './chunk-
|
|
2
|
+
import { FilterPill } from './chunk-BICOU6XR.js';
|
|
3
|
+
import { DateTimePicker } from './chunk-PHA2MBXY.js';
|
|
4
|
+
import { DataTable } from './chunk-KOTOBDOA.js';
|
|
5
5
|
import { useListbox, useOptionKeys } from './chunk-KW7T23RT.js';
|
|
6
6
|
import { Toolbar } from './chunk-NPEI2QAN.js';
|
|
7
|
+
import { RelativeTime } from './chunk-5ZL3PXEL.js';
|
|
8
|
+
import { Menu } from './chunk-4IB7HVDN.js';
|
|
7
9
|
import { Popover } from './chunk-AJFA2XDQ.js';
|
|
8
|
-
import { RelativeTime } from './chunk-GBKBME7Q.js';
|
|
9
|
-
import { Menu } from './chunk-QHPKLY4V.js';
|
|
10
10
|
import { Kbd } from './chunk-VBBLHS2Y.js';
|
|
11
|
-
import { Button } from './chunk-
|
|
12
|
-
import { Input } from './chunk-
|
|
13
|
-
import { IconButton } from './chunk-
|
|
11
|
+
import { Button } from './chunk-NMIXL2YH.js';
|
|
12
|
+
import { Input } from './chunk-LSQ5BNLZ.js';
|
|
13
|
+
import { IconButton } from './chunk-CMEZGORB.js';
|
|
14
14
|
import { Count } from './chunk-6YKTRAWI.js';
|
|
15
15
|
import { VisuallyHidden } from './chunk-RRRK2KB6.js';
|
|
16
16
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { Select } from './chunk-D5UVJL4I.js';
|
|
2
2
|
import { PrincipalAvatar } from './chunk-265IX4YA.js';
|
|
3
3
|
import { useMediaMatch } from './chunk-COS6LJ4K.js';
|
|
4
|
-
import { CopyButton } from './chunk-
|
|
5
|
-
import { Modal } from './chunk-
|
|
6
|
-
import { Callout } from './chunk-
|
|
7
|
-
import { Button } from './chunk-
|
|
8
|
-
import { IconButton } from './chunk-
|
|
4
|
+
import { CopyButton } from './chunk-5WJKJGL4.js';
|
|
5
|
+
import { Modal } from './chunk-KVZAUSAG.js';
|
|
6
|
+
import { Callout } from './chunk-TZLOZM2G.js';
|
|
7
|
+
import { Button } from './chunk-NMIXL2YH.js';
|
|
8
|
+
import { IconButton } from './chunk-CMEZGORB.js';
|
|
9
9
|
import { useHeadingLevel, headingTag } from './chunk-PQADV6P6.js';
|
|
10
10
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
11
11
|
import './ShareDialog-72VTMM4K.css';
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { Link } from './chunk-MGJAOLZC.js';
|
|
2
|
-
import { RelativeTime } from './chunk-
|
|
2
|
+
import { RelativeTime } from './chunk-5ZL3PXEL.js';
|
|
3
3
|
import { EmptyValue } from './chunk-WGLOH33S.js';
|
|
4
|
+
import { overflowWords, shownBeforeOverflow, ListOverflow } from './chunk-EX5XAEST.js';
|
|
4
5
|
import { Avatar } from './chunk-YMFFGPFE.js';
|
|
5
|
-
import { Tag } from './chunk-
|
|
6
|
+
import { Tag } from './chunk-ASBBB5AJ.js';
|
|
6
7
|
import { Text } from './chunk-475DOAWF.js';
|
|
7
8
|
import { titleIfCut } from './chunk-WSIJDWUG.js';
|
|
8
|
-
import { VisuallyHidden } from './chunk-RRRK2KB6.js';
|
|
9
9
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
10
|
-
import './TableCells-
|
|
10
|
+
import './TableCells-F6NJK33R.css';
|
|
11
11
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
12
12
|
|
|
13
13
|
function TableKeyCell({ value, text, href, emptyLabel = "Not set" }) {
|
|
@@ -61,23 +61,18 @@ function TableStatusCell({ label, glyph, tone = "neutral", title }) {
|
|
|
61
61
|
] });
|
|
62
62
|
}
|
|
63
63
|
var TABLE_TAGS_CELL_LABELS = {
|
|
64
|
-
more: (count) => count
|
|
64
|
+
more: (count) => overflowWords(count, { one: "tag", other: "tags" })
|
|
65
65
|
};
|
|
66
66
|
function TableTagsCell({ tags, max = 3, emptyLabel = "No tags", labels: overrides }) {
|
|
67
67
|
const list = tags ?? [];
|
|
68
68
|
if (list.length === 0) return /* @__PURE__ */ jsx(EmptyValue, { label: emptyLabel });
|
|
69
69
|
const labels = overrides ? { ...TABLE_TAGS_CELL_LABELS, ...overrides } : TABLE_TAGS_CELL_LABELS;
|
|
70
|
-
const shown = list.slice(0, max);
|
|
71
|
-
const rest = list.
|
|
70
|
+
const shown = list.slice(0, shownBeforeOverflow(list.length, max));
|
|
71
|
+
const rest = list.slice(shown.length);
|
|
72
|
+
const tag = (name) => /* @__PURE__ */ jsx(Tag, { appearance: "outline", size: "xs", children: name }, name);
|
|
72
73
|
return /* @__PURE__ */ jsxs("span", { className: "crewlet-table-cell__tags", children: [
|
|
73
|
-
shown.map(
|
|
74
|
-
rest > 0 && /* @__PURE__ */
|
|
75
|
-
/* @__PURE__ */ jsxs("span", { "aria-hidden": "true", children: [
|
|
76
|
-
"+",
|
|
77
|
-
rest
|
|
78
|
-
] }),
|
|
79
|
-
/* @__PURE__ */ jsx(VisuallyHidden, { children: labels.more(rest) })
|
|
80
|
-
] })
|
|
74
|
+
shown.map(tag),
|
|
75
|
+
rest.length > 0 && /* @__PURE__ */ jsx(ListOverflow, { className: "crewlet-table-cell__more", items: rest.map(tag), size: "xs", label: labels.more(rest.length).replace(/^\+/, ""), children: labels.more(rest.length) })
|
|
81
76
|
] });
|
|
82
77
|
}
|
|
83
78
|
function TableTextCell({ children, title, icon, mark }) {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { Select } from './chunk-D5UVJL4I.js';
|
|
2
2
|
import { SHEET_LABELS, SHEET_COLUMN_TYPES, optionHue, retypeColumn } from './chunk-LFSIKGRQ.js';
|
|
3
|
-
import { HueSwatch } from './chunk-
|
|
3
|
+
import { HueSwatch } from './chunk-NFLSK6T3.js';
|
|
4
4
|
import { NODE_HUES, NODE_HUE_NAMES } from './chunk-AYKXMIOR.js';
|
|
5
|
-
import { Menu } from './chunk-
|
|
5
|
+
import { Menu } from './chunk-4IB7HVDN.js';
|
|
6
6
|
import { Kbd } from './chunk-VBBLHS2Y.js';
|
|
7
|
-
import { Checkbox } from './chunk-
|
|
8
|
-
import { Button } from './chunk-
|
|
9
|
-
import { FormField, Input } from './chunk-
|
|
10
|
-
import { IconButton } from './chunk-
|
|
7
|
+
import { Checkbox } from './chunk-ED24QJYL.js';
|
|
8
|
+
import { Button } from './chunk-NMIXL2YH.js';
|
|
9
|
+
import { FormField, Input } from './chunk-LSQ5BNLZ.js';
|
|
10
|
+
import { IconButton } from './chunk-CMEZGORB.js';
|
|
11
11
|
import { VisuallyHidden } from './chunk-RRRK2KB6.js';
|
|
12
12
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
13
13
|
import './SheetColumnEditor-BO2HKFRB.css';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { SlideStage } from './chunk-7O53SWKI.js';
|
|
2
|
-
import { Menu } from './chunk-
|
|
2
|
+
import { Menu } from './chunk-4IB7HVDN.js';
|
|
3
3
|
import { useReorder } from './chunk-JMBPMSNI.js';
|
|
4
4
|
import { Kbd, isApplePlatform } from './chunk-VBBLHS2Y.js';
|
|
5
5
|
import { VisuallyHidden } from './chunk-RRRK2KB6.js';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { TreeGrid } from './chunk-
|
|
1
|
+
import { TreeGrid } from './chunk-WDVENT6N.js';
|
|
2
2
|
import { OrgLabel } from './chunk-NIM7LEEI.js';
|
|
3
3
|
import { createTreeModel, treeParent } from './chunk-MY374UUD.js';
|
|
4
4
|
import { AddPill } from './chunk-5CCM3DDA.js';
|
|
5
|
-
import { IconButton } from './chunk-
|
|
5
|
+
import { IconButton } from './chunk-CMEZGORB.js';
|
|
6
6
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
7
7
|
import './OrgTable-5NXRECVP.css';
|
|
8
8
|
import { useMemo, useRef, useImperativeHandle, useCallback } from 'react';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { IconTile } from './chunk-VRVNLJUA.js';
|
|
2
|
-
import { Tag } from './chunk-
|
|
2
|
+
import { Tag } from './chunk-ASBBB5AJ.js';
|
|
3
3
|
import { useHeadingLevel, headingTag } from './chunk-PQADV6P6.js';
|
|
4
4
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
5
5
|
import './ReviewList-2IZA67EX.css';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { richEditorLabels } from './chunk-DGXHQMNP.js';
|
|
2
2
|
import { Skeleton } from './chunk-WFAJYBLX.js';
|
|
3
|
-
import { Callout } from './chunk-
|
|
4
|
-
import { Button } from './chunk-
|
|
3
|
+
import { Callout } from './chunk-TZLOZM2G.js';
|
|
4
|
+
import { Button } from './chunk-NMIXL2YH.js';
|
|
5
5
|
import './RichEditor-5CF3QV3J.css';
|
|
6
6
|
import { forwardRef, useState, useEffect } from 'react';
|
|
7
7
|
import { jsx } from 'react/jsx-runtime';
|
|
@@ -9,7 +9,7 @@ import { jsx } from 'react/jsx-runtime';
|
|
|
9
9
|
var engine = null;
|
|
10
10
|
var loading = null;
|
|
11
11
|
function loadEngine() {
|
|
12
|
-
loading ??= import('./Editor-
|
|
12
|
+
loading ??= import('./Editor-WFP2MM6M.js').then(
|
|
13
13
|
(module) => {
|
|
14
14
|
engine = module.Editor;
|
|
15
15
|
return engine;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { StatusDot } from './chunk-QRE6JCHS.js';
|
|
2
|
+
import { titleWhenCut } from './chunk-WSIJDWUG.js';
|
|
2
3
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
3
4
|
import './Tag-H2EA4ZCW.css';
|
|
4
5
|
import { XGlyph } from '@crewlethq/icons/glyphs';
|
|
5
|
-
import { jsxs,
|
|
6
|
+
import { jsxs, Fragment, jsx } from 'react/jsx-runtime';
|
|
6
7
|
|
|
7
8
|
function Tag(props) {
|
|
8
9
|
const {
|
|
@@ -51,7 +52,7 @@ function Tag(props) {
|
|
|
51
52
|
const inner = /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
52
53
|
dot ? /* @__PURE__ */ jsx(StatusDot, { tone: hue === void 0 ? variant : "neutral", className: "crewlet-tag__dot" }) : null,
|
|
53
54
|
leadingIcon ? /* @__PURE__ */ jsx("span", { className: "crewlet-tag__icon", "aria-hidden": true, children: leadingIcon }) : null,
|
|
54
|
-
/* @__PURE__ */ jsx("span", { className: "crewlet-tag__label", children }),
|
|
55
|
+
/* @__PURE__ */ jsx("span", { className: "crewlet-tag__label", onMouseEnter: rest.title === void 0 ? titleWhenCut : void 0, children }),
|
|
55
56
|
count === void 0 ? null : /* @__PURE__ */ jsx("span", { className: "crewlet-tag__count", children: count })
|
|
56
57
|
] });
|
|
57
58
|
const remove = onRemove === void 0 ? null : /* @__PURE__ */ jsx(
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useThemePreference, useDensityPreference } from './chunk-Z24ZUSTX.js';
|
|
2
|
-
import { SegmentedControl } from './chunk-
|
|
2
|
+
import { SegmentedControl } from './chunk-4ACONCV6.js';
|
|
3
3
|
import { SunGlyph, MonitorGlyph, MoonGlyph } from '@crewlethq/icons/glyphs';
|
|
4
4
|
import { jsx } from 'react/jsx-runtime';
|
|
5
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Toolbar } from './chunk-NPEI2QAN.js';
|
|
2
|
-
import { Button } from './chunk-
|
|
2
|
+
import { Button } from './chunk-NMIXL2YH.js';
|
|
3
3
|
import { announce } from './chunk-WGMKERCR.js';
|
|
4
4
|
import { returnFocus } from './chunk-4ITETIGZ.js';
|
|
5
5
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { LayerNodeBridge } from './chunk-CUEPPDBC.js';
|
|
2
2
|
import { Kbd } from './chunk-VBBLHS2Y.js';
|
|
3
|
-
import { Button } from './chunk-
|
|
4
|
-
import { IconButton } from './chunk-
|
|
5
|
-
import { Tooltip } from './chunk-
|
|
3
|
+
import { Button } from './chunk-NMIXL2YH.js';
|
|
4
|
+
import { IconButton } from './chunk-CMEZGORB.js';
|
|
5
|
+
import { Tooltip } from './chunk-KOBTCG2T.js';
|
|
6
6
|
import { LAYER_REPOSITION_EVENT, LayerHost } from './chunk-AVJKMQXK.js';
|
|
7
7
|
import { returnFocus } from './chunk-4ITETIGZ.js';
|
|
8
8
|
import { VisuallyHidden } from './chunk-RRRK2KB6.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { heldHint } from './chunk-TDFLCUBE.js';
|
|
2
|
-
import { Tooltip } from './chunk-
|
|
2
|
+
import { Tooltip } from './chunk-KOBTCG2T.js';
|
|
3
3
|
import { VisuallyHidden } from './chunk-RRRK2KB6.js';
|
|
4
4
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
5
5
|
import './IconButton-QIJJCVNG.css';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { changeText, sheetLabels } from './chunk-LFSIKGRQ.js';
|
|
2
|
-
import { Tooltip } from './chunk-
|
|
2
|
+
import { Tooltip } from './chunk-KOBTCG2T.js';
|
|
3
3
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
4
4
|
import './ChangeMark-KFDGBF6G.css';
|
|
5
5
|
import { jsx } from 'react/jsx-runtime';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Checkbox } from './chunk-
|
|
2
|
-
import { IconButton } from './chunk-
|
|
1
|
+
import { Checkbox } from './chunk-ED24QJYL.js';
|
|
2
|
+
import { IconButton } from './chunk-CMEZGORB.js';
|
|
3
3
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
4
4
|
import './MemberPicker-ZD35VEK6.css';
|
|
5
5
|
import { useId, useState } from 'react';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { emojiOfShortcode, emojiName, EmojiPicker } from './chunk-
|
|
1
|
+
import { emojiOfShortcode, emojiName, EmojiPicker } from './chunk-HBTORBNN.js';
|
|
2
2
|
import { heldHint } from './chunk-TDFLCUBE.js';
|
|
3
|
-
import { Tooltip } from './chunk-
|
|
3
|
+
import { Tooltip } from './chunk-KOBTCG2T.js';
|
|
4
4
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
5
5
|
import './ChatScale-LGESYXCO.css';
|
|
6
6
|
import './ReactionBar-JMX75TMV.css';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { GridHeadCell } from './chunk-
|
|
2
|
-
import { copyGlyph, CopyStatus } from './chunk-
|
|
1
|
+
import { GridHeadCell } from './chunk-M34LSGMH.js';
|
|
2
|
+
import { copyGlyph, CopyStatus } from './chunk-5WJKJGL4.js';
|
|
3
3
|
import { useClipboard } from './chunk-STJ7QBC3.js';
|
|
4
4
|
import { StatusDot } from './chunk-QRE6JCHS.js';
|
|
5
|
-
import { Button } from './chunk-
|
|
6
|
-
import { IconButton } from './chunk-
|
|
5
|
+
import { Button } from './chunk-NMIXL2YH.js';
|
|
6
|
+
import { IconButton } from './chunk-CMEZGORB.js';
|
|
7
7
|
import { returnFocus } from './chunk-4ITETIGZ.js';
|
|
8
8
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
9
9
|
import './DataGrid-K2L4ZOUH.css';
|
|
@@ -3,7 +3,7 @@ import { LockedLabel } from './chunk-TODOBUXO.js';
|
|
|
3
3
|
import { KeyChip } from './chunk-HBDA76EZ.js';
|
|
4
4
|
import { HIT_AREA_CLASS } from './chunk-2YTOOH3A.js';
|
|
5
5
|
import { prefersReducedMotion } from './chunk-COS6LJ4K.js';
|
|
6
|
-
import { Button } from './chunk-
|
|
6
|
+
import { Button } from './chunk-NMIXL2YH.js';
|
|
7
7
|
import { VisuallyHidden } from './chunk-RRRK2KB6.js';
|
|
8
8
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
9
9
|
import './HitArea-QUOS6ZDJ.css';
|
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
import { shownBeforeOverflow, ListOverflow, overflowWords } from './chunk-EX5XAEST.js';
|
|
2
|
+
import { useAnnouncer } from './chunk-WGMKERCR.js';
|
|
3
|
+
import { cx } from './chunk-ODEQTPFM.js';
|
|
4
|
+
import './TagGroup-HYJHHHA7.css';
|
|
5
|
+
import { useState, useRef, Children, isValidElement, useLayoutEffect } from 'react';
|
|
6
|
+
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
7
|
+
|
|
8
|
+
function TagGroup({
|
|
9
|
+
label,
|
|
10
|
+
max = 6,
|
|
11
|
+
overflow = "expand",
|
|
12
|
+
noun,
|
|
13
|
+
countOnly = false,
|
|
14
|
+
moreLabel = (hidden) => overflowWords(hidden, noun),
|
|
15
|
+
countLabel = (hidden) => overflowWords(hidden, noun),
|
|
16
|
+
expandedMessage = (total) => `Showing all ${total}.`,
|
|
17
|
+
className,
|
|
18
|
+
children
|
|
19
|
+
}) {
|
|
20
|
+
const [open, setOpen] = useState(false);
|
|
21
|
+
const announce = useAnnouncer();
|
|
22
|
+
const list = useRef(null);
|
|
23
|
+
const all = Children.toArray(children);
|
|
24
|
+
const fit = overflow === "fit";
|
|
25
|
+
const signature = all.map((tag) => isValidElement(tag) ? String(tag.key) : String(tag)).join("\0");
|
|
26
|
+
const fitted = useFitted(list, fit, all.length, signature);
|
|
27
|
+
const xs = all.some((tag) => isValidElement(tag) && tag.props.size === "xs");
|
|
28
|
+
const shown = fit ? all.slice(0, fitted) : open ? all : all.slice(0, shownBeforeOverflow(all.length, max));
|
|
29
|
+
const hidden = all.length - shown.length;
|
|
30
|
+
return /* @__PURE__ */ jsxs(
|
|
31
|
+
"ul",
|
|
32
|
+
{
|
|
33
|
+
ref: list,
|
|
34
|
+
tabIndex: -1,
|
|
35
|
+
className: cx("crewlet-tag-group", fit && "crewlet-tag-group--fit", className),
|
|
36
|
+
"data-folded": fit && hidden > 0 && shown.length === 1 ? "" : void 0,
|
|
37
|
+
"aria-label": `${label}, ${all.length}`,
|
|
38
|
+
children: [
|
|
39
|
+
shown.map((tag, index) => (
|
|
40
|
+
// Keyed by position: the list only ever grows at the end, as the tail
|
|
41
|
+
// is revealed, so no item ever changes the index it sits at.
|
|
42
|
+
/* @__PURE__ */ jsx("li", { className: "crewlet-tag-group__item", children: tag }, index)
|
|
43
|
+
)),
|
|
44
|
+
hidden > 0 && fit && countOnly ? /* @__PURE__ */ jsx("li", { className: "crewlet-tag-group__item", "data-count": "", children: /* @__PURE__ */ jsx("span", { className: "crewlet-tag-group__count", children: countLabel(hidden) }) }) : hidden > 0 && fit ? /* @__PURE__ */ jsx("li", { className: "crewlet-tag-group__item", "data-count": "", children: /* @__PURE__ */ jsx(ListOverflow, { items: all.slice(shown.length), noun, size: xs ? "xs" : "sm", label: `${label}, ${hidden} more`, children: shown.length === 0 ? allWords(hidden, noun) : countLabel(hidden) }) }) : hidden > 0 ? /* @__PURE__ */ jsx("li", { className: "crewlet-tag-group__item", children: /* @__PURE__ */ jsx(
|
|
45
|
+
"button",
|
|
46
|
+
{
|
|
47
|
+
type: "button",
|
|
48
|
+
className: "crewlet-tag-group__more",
|
|
49
|
+
onClick: () => {
|
|
50
|
+
setOpen(true);
|
|
51
|
+
list.current?.focus();
|
|
52
|
+
announce(expandedMessage(all.length));
|
|
53
|
+
},
|
|
54
|
+
children: moreLabel(hidden)
|
|
55
|
+
}
|
|
56
|
+
) }) : null
|
|
57
|
+
]
|
|
58
|
+
}
|
|
59
|
+
);
|
|
60
|
+
}
|
|
61
|
+
function allWords(count, noun) {
|
|
62
|
+
return noun === void 0 ? `Show ${count}` : `${count.toLocaleString()} ${count === 1 ? noun.one : noun.other}`;
|
|
63
|
+
}
|
|
64
|
+
var MIN_TAG = 48;
|
|
65
|
+
function fitCount(room, widths, chip, gap) {
|
|
66
|
+
const span = (n) => widths.slice(0, n).reduce((sum, width) => sum + width, 0) + gap * Math.max(0, n - 1);
|
|
67
|
+
if (span(widths.length) <= room) return widths.length;
|
|
68
|
+
for (let n = widths.length - 1; n >= 1; n -= 1) if (span(n) + gap + chip <= room) return n;
|
|
69
|
+
return room - chip - gap >= MIN_TAG ? 1 : 0;
|
|
70
|
+
}
|
|
71
|
+
function useFitted(list, active, total, signature) {
|
|
72
|
+
const [fitted, setFitted] = useState(total);
|
|
73
|
+
const [round, setRound] = useState(0);
|
|
74
|
+
const widths = useRef(null);
|
|
75
|
+
useLayoutEffect(() => {
|
|
76
|
+
if (!active) return void 0;
|
|
77
|
+
const remeasure = () => {
|
|
78
|
+
widths.current = null;
|
|
79
|
+
setFitted(total);
|
|
80
|
+
setRound((n) => n + 1);
|
|
81
|
+
};
|
|
82
|
+
remeasure();
|
|
83
|
+
let live = true;
|
|
84
|
+
void document.fonts?.ready.then(() => live && remeasure());
|
|
85
|
+
return () => {
|
|
86
|
+
live = false;
|
|
87
|
+
};
|
|
88
|
+
}, [active, total, signature]);
|
|
89
|
+
useLayoutEffect(() => {
|
|
90
|
+
const box = list.current;
|
|
91
|
+
if (!active || !box || box.clientWidth === 0) return;
|
|
92
|
+
const items = [...box.children];
|
|
93
|
+
const tags = items.filter((item) => !item.hasAttribute("data-count"));
|
|
94
|
+
if (widths.current === null) {
|
|
95
|
+
if (tags.length < total) return;
|
|
96
|
+
widths.current = tags.map((tag) => tag.offsetWidth);
|
|
97
|
+
}
|
|
98
|
+
const chip = items.find((item) => item.hasAttribute("data-count"))?.offsetWidth ?? 0;
|
|
99
|
+
const gap = parseFloat(getComputedStyle(box).columnGap) || 0;
|
|
100
|
+
const next = fitCount(box.clientWidth, widths.current, chip, gap);
|
|
101
|
+
if (next !== fitted) setFitted(next);
|
|
102
|
+
}, [list, active, total, fitted, round]);
|
|
103
|
+
useLayoutEffect(() => {
|
|
104
|
+
const box = list.current;
|
|
105
|
+
if (!active || !box || typeof ResizeObserver !== "function") return void 0;
|
|
106
|
+
let last = null;
|
|
107
|
+
const observer = new ResizeObserver(([entry]) => {
|
|
108
|
+
const now = entry?.contentRect.width ?? 0;
|
|
109
|
+
if (last !== null && last !== now) setRound((n) => n + 1);
|
|
110
|
+
last = now;
|
|
111
|
+
});
|
|
112
|
+
observer.observe(box);
|
|
113
|
+
return () => observer.disconnect();
|
|
114
|
+
}, [list, active]);
|
|
115
|
+
return active ? fitted : total;
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
export { TagGroup };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { minorUnits, parseMoney } from './chunk-G6DKKJN6.js';
|
|
2
|
-
import { Input } from './chunk-
|
|
2
|
+
import { Input } from './chunk-LSQ5BNLZ.js';
|
|
3
3
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
4
4
|
import './MoneyField-4PHZWHJL.css';
|
|
5
5
|
import { forwardRef, useId } from 'react';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { AvatarStack } from './chunk-
|
|
2
|
-
import { Tag } from './chunk-
|
|
1
|
+
import { AvatarStack } from './chunk-T7Y5FM4B.js';
|
|
2
|
+
import { Tag } from './chunk-ASBBB5AJ.js';
|
|
3
3
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
4
4
|
import './ChatScale-LGESYXCO.css';
|
|
5
5
|
import './ThreadSummary-3AODTHAM.css';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useSendOnEnter, SendKeysHint } from './chunk-YUVQUJND.js';
|
|
2
|
-
import { Textarea } from './chunk-
|
|
2
|
+
import { Textarea } from './chunk-LSQ5BNLZ.js';
|
|
3
3
|
import { VisuallyHidden } from './chunk-RRRK2KB6.js';
|
|
4
4
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
5
5
|
import './ChatScale-LGESYXCO.css';
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { PrincipalAvatar } from './chunk-265IX4YA.js';
|
|
2
|
-
import { RelativeTime } from './chunk-
|
|
2
|
+
import { RelativeTime } from './chunk-5ZL3PXEL.js';
|
|
3
3
|
import { Skeleton } from './chunk-WFAJYBLX.js';
|
|
4
4
|
import { Card } from './chunk-G732IWP4.js';
|
|
5
5
|
import { ArtifactKindGround } from './chunk-W3A6NBUM.js';
|
|
6
6
|
import { ArtifactKindGlyph } from './chunk-RSKW25Y5.js';
|
|
7
7
|
import { ArtifactAccessGlyph } from './chunk-DOY3KC6I.js';
|
|
8
|
-
import { AvatarStack } from './chunk-
|
|
9
|
-
import { Checkbox } from './chunk-
|
|
8
|
+
import { AvatarStack } from './chunk-T7Y5FM4B.js';
|
|
9
|
+
import { Checkbox } from './chunk-ED24QJYL.js';
|
|
10
10
|
import { VisuallyHidden } from './chunk-RRRK2KB6.js';
|
|
11
11
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
12
12
|
import './ArtifactKinds-27TE3KJL.css';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { Timeline } from './chunk-XDUXAQIS.js';
|
|
2
2
|
import { Section } from './chunk-WFCWPXJN.js';
|
|
3
|
-
import { Composer } from './chunk-
|
|
4
|
-
import { ArtifactPanel } from './chunk-
|
|
3
|
+
import { Composer } from './chunk-EGBHW6FS.js';
|
|
4
|
+
import { ArtifactPanel } from './chunk-HGDZBOOE.js';
|
|
5
5
|
import { Disclosure } from './chunk-RUROK3EU.js';
|
|
6
|
-
import { Button } from './chunk-
|
|
6
|
+
import { Button } from './chunk-NMIXL2YH.js';
|
|
7
7
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
8
8
|
import './AgentHandoffPanel-AIU7YWWB.css';
|
|
9
9
|
import { useId, useRef, useEffect } from 'react';
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { Popover } from './chunk-AJFA2XDQ.js';
|
|
2
|
+
import { titleWhenCut } from './chunk-WSIJDWUG.js';
|
|
3
|
+
import { cx } from './chunk-ODEQTPFM.js';
|
|
4
|
+
import './ListOverflow-DKZTZHGZ.css';
|
|
5
|
+
import { jsx } from 'react/jsx-runtime';
|
|
6
|
+
|
|
7
|
+
function overflowWords(count, noun) {
|
|
8
|
+
const n = count.toLocaleString();
|
|
9
|
+
if (noun === void 0) return `+${n} more`;
|
|
10
|
+
return `+${n} more ${count === 1 ? noun.one : noun.other}`;
|
|
11
|
+
}
|
|
12
|
+
function shownBeforeOverflow(total, max) {
|
|
13
|
+
return total <= max + 1 ? total : max;
|
|
14
|
+
}
|
|
15
|
+
function ListOverflow({
|
|
16
|
+
items,
|
|
17
|
+
count,
|
|
18
|
+
noun,
|
|
19
|
+
children,
|
|
20
|
+
label,
|
|
21
|
+
size = "sm",
|
|
22
|
+
align = "start",
|
|
23
|
+
className
|
|
24
|
+
}) {
|
|
25
|
+
const words = overflowWords(typeof items === "function" ? count ?? 0 : items.length, noun);
|
|
26
|
+
return /* @__PURE__ */ jsx(
|
|
27
|
+
Popover,
|
|
28
|
+
{
|
|
29
|
+
label: label ?? words.slice(1),
|
|
30
|
+
align,
|
|
31
|
+
className: "crewlet-list-overflow__panel",
|
|
32
|
+
trigger: (open, toggle) => /* @__PURE__ */ jsx(
|
|
33
|
+
"button",
|
|
34
|
+
{
|
|
35
|
+
type: "button",
|
|
36
|
+
className: cx("crewlet-list-overflow", `crewlet-list-overflow--${size}`, className),
|
|
37
|
+
"data-open": open || void 0,
|
|
38
|
+
onClick: (event) => {
|
|
39
|
+
event.stopPropagation();
|
|
40
|
+
toggle();
|
|
41
|
+
},
|
|
42
|
+
onKeyDown: (event) => {
|
|
43
|
+
if (event.key === "Enter" || event.key === " ") event.stopPropagation();
|
|
44
|
+
},
|
|
45
|
+
children: /* @__PURE__ */ jsx("span", { className: "crewlet-list-overflow__words", onMouseEnter: titleWhenCut, children: children ?? words })
|
|
46
|
+
}
|
|
47
|
+
),
|
|
48
|
+
children: (close) => /* @__PURE__ */ jsx("ul", { className: "crewlet-list-overflow__list", children: (typeof items === "function" ? items(close) : items).map((item, index) => /* @__PURE__ */ jsx("li", { className: "crewlet-list-overflow__item", children: item }, index)) })
|
|
49
|
+
}
|
|
50
|
+
);
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
export { ListOverflow, overflowWords, shownBeforeOverflow };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { copyGlyph, CopyStatus } from './chunk-
|
|
1
|
+
import { copyGlyph, CopyStatus } from './chunk-5WJKJGL4.js';
|
|
2
2
|
import { useClipboard } from './chunk-STJ7QBC3.js';
|
|
3
3
|
import { pathBreaks } from './chunk-HZXS5CEL.js';
|
|
4
|
-
import { IconButton } from './chunk-
|
|
4
|
+
import { IconButton } from './chunk-CMEZGORB.js';
|
|
5
5
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
6
6
|
import './Copyable-CMT2N2JE.css';
|
|
7
7
|
import { useCallback } from 'react';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { announce } from './chunk-WGMKERCR.js';
|
|
2
|
-
import { IconButton } from './chunk-
|
|
2
|
+
import { IconButton } from './chunk-CMEZGORB.js';
|
|
3
3
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
4
4
|
import './ArrangeFrame-BW76K5LZ.css';
|
|
5
5
|
import { forwardRef, useRef, useCallback, useState, useEffect } from 'react';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { IconTile } from './chunk-VRVNLJUA.js';
|
|
2
|
-
import { ReceiptStrip } from './chunk-
|
|
3
|
-
import { StatusCard } from './chunk-
|
|
2
|
+
import { ReceiptStrip } from './chunk-LCJC3LTP.js';
|
|
3
|
+
import { StatusCard } from './chunk-WLIODLUL.js';
|
|
4
4
|
import { safeHref } from './chunk-KMTOGF6T.js';
|
|
5
|
-
import { ButtonLink, Button } from './chunk-
|
|
5
|
+
import { ButtonLink, Button } from './chunk-NMIXL2YH.js';
|
|
6
6
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
7
7
|
import './OpenInAppCard-CKHCK7DO.css';
|
|
8
8
|
import { CircleCheckGlyph } from '@crewlethq/icons/glyphs';
|