@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
package/dist/styles.css
CHANGED
|
@@ -29987,6 +29987,105 @@ a.crewlet-link-card__link:hover .crewlet-link-card__title {
|
|
|
29987
29987
|
}
|
|
29988
29988
|
|
|
29989
29989
|
|
|
29990
|
+
/* ListOverflow-DKZTZHGZ.css */
|
|
29991
|
+
/*
|
|
29992
|
+
* The chip a list's overflow is drawn as: the tag's pill with a dashed edge,
|
|
29993
|
+
* so it reads as a member of the row that stands for more of it.
|
|
29994
|
+
*/
|
|
29995
|
+
|
|
29996
|
+
.crewlet-list-overflow {
|
|
29997
|
+
/* The tag's own 9px inside each round end. */
|
|
29998
|
+
--crewlet-list-overflow-pad: calc(var(--spacing-2) + var(--spacing-1) / 4);
|
|
29999
|
+
--crewlet-list-overflow-height: max(24px, calc(24px * var(--density, 1)));
|
|
30000
|
+
|
|
30001
|
+
position: relative;
|
|
30002
|
+
display: inline-flex;
|
|
30003
|
+
flex: none;
|
|
30004
|
+
min-width: 0;
|
|
30005
|
+
max-width: 100%;
|
|
30006
|
+
align-items: center;
|
|
30007
|
+
box-sizing: border-box;
|
|
30008
|
+
height: var(--crewlet-list-overflow-height);
|
|
30009
|
+
margin: 0;
|
|
30010
|
+
padding: 0 var(--crewlet-list-overflow-pad);
|
|
30011
|
+
border: 1px dashed var(--color-border-hover);
|
|
30012
|
+
border-radius: var(--radius-pill);
|
|
30013
|
+
background: transparent;
|
|
30014
|
+
color: var(--color-text-secondary);
|
|
30015
|
+
font-family: var(--font-family-sans);
|
|
30016
|
+
font-size: var(--font-size-xs);
|
|
30017
|
+
font-weight: var(--font-weight-medium);
|
|
30018
|
+
line-height: 1;
|
|
30019
|
+
white-space: nowrap;
|
|
30020
|
+
cursor: pointer;
|
|
30021
|
+
transition:
|
|
30022
|
+
border-color var(--motion-duration-fast) var(--motion-easing-default),
|
|
30023
|
+
color var(--motion-duration-fast) var(--motion-easing-default);
|
|
30024
|
+
}
|
|
30025
|
+
|
|
30026
|
+
/* Ending a row of 18px pills it takes their height and type; an invisible
|
|
30027
|
+
24px box around it keeps the pointer target at the WCAG 2.2 floor. */
|
|
30028
|
+
.crewlet-list-overflow--xs {
|
|
30029
|
+
--crewlet-list-overflow-height: calc(18px * var(--density, 1));
|
|
30030
|
+
--crewlet-list-overflow-pad: calc(var(--spacing-1) * 1.5);
|
|
30031
|
+
font-size: var(--font-size-2xs);
|
|
30032
|
+
}
|
|
30033
|
+
|
|
30034
|
+
.crewlet-list-overflow--xs::before {
|
|
30035
|
+
position: absolute;
|
|
30036
|
+
inset: 50% 0 auto;
|
|
30037
|
+
height: 24px;
|
|
30038
|
+
transform: translateY(-50%);
|
|
30039
|
+
content: '';
|
|
30040
|
+
}
|
|
30041
|
+
|
|
30042
|
+
.crewlet-list-overflow__words {
|
|
30043
|
+
min-width: 0;
|
|
30044
|
+
overflow: hidden;
|
|
30045
|
+
text-overflow: ellipsis;
|
|
30046
|
+
}
|
|
30047
|
+
|
|
30048
|
+
.crewlet-list-overflow:hover,
|
|
30049
|
+
.crewlet-list-overflow[data-open] {
|
|
30050
|
+
border-color: var(--color-border-strong-hover);
|
|
30051
|
+
color: var(--color-text-primary);
|
|
30052
|
+
}
|
|
30053
|
+
|
|
30054
|
+
/* One ring over the dashed edge, as every field draws it. */
|
|
30055
|
+
.crewlet-list-overflow:focus-visible {
|
|
30056
|
+
outline: 2px solid var(--color-focus);
|
|
30057
|
+
outline-offset: var(--size-focus-ring-inset-offset);
|
|
30058
|
+
}
|
|
30059
|
+
|
|
30060
|
+
.crewlet-list-overflow__panel {
|
|
30061
|
+
padding: var(--spacing-2);
|
|
30062
|
+
}
|
|
30063
|
+
|
|
30064
|
+
.crewlet-list-overflow__list {
|
|
30065
|
+
display: flex;
|
|
30066
|
+
flex-direction: column;
|
|
30067
|
+
align-items: flex-start;
|
|
30068
|
+
gap: var(--spacing-1);
|
|
30069
|
+
margin: 0;
|
|
30070
|
+
padding: 0;
|
|
30071
|
+
list-style: none;
|
|
30072
|
+
}
|
|
30073
|
+
|
|
30074
|
+
/* A hidden item is shown whole here: the panel is where a cut one is read. */
|
|
30075
|
+
.crewlet-list-overflow__item {
|
|
30076
|
+
display: flex;
|
|
30077
|
+
max-width: 100%;
|
|
30078
|
+
min-width: 0;
|
|
30079
|
+
overflow-wrap: anywhere;
|
|
30080
|
+
}
|
|
30081
|
+
|
|
30082
|
+
@media (prefers-reduced-motion: reduce) {
|
|
30083
|
+
.crewlet-list-overflow {
|
|
30084
|
+
transition: none;
|
|
30085
|
+
}
|
|
30086
|
+
}
|
|
30087
|
+
|
|
30088
|
+
|
|
29990
30089
|
/* Listbox-NQV6E3FS.css */
|
|
29991
30090
|
/*
|
|
29992
30091
|
* The listbox register: one look for every list a field offers.
|
|
@@ -35672,7 +35771,7 @@ button.crewlet-mention-chip:focus-visible {
|
|
|
35672
35771
|
}
|
|
35673
35772
|
|
|
35674
35773
|
|
|
35675
|
-
/* PresenceStack-
|
|
35774
|
+
/* PresenceStack-WHGXNMH7.css */
|
|
35676
35775
|
/*
|
|
35677
35776
|
* Who is here (PresenceStack.tsx), on the avatar stack's own geometry: the
|
|
35678
35777
|
* overlap and the counted chip are the stack's, the overlap stepped out by
|
|
@@ -35780,6 +35879,33 @@ button.crewlet-presence-stack__member:focus-visible {
|
|
|
35780
35879
|
}
|
|
35781
35880
|
}
|
|
35782
35881
|
|
|
35882
|
+
/* A member past the cap, as a row of the panel its chip opens: the face and
|
|
35883
|
+
its words, one target. */
|
|
35884
|
+
.crewlet-presence-stack__row {
|
|
35885
|
+
display: flex;
|
|
35886
|
+
align-items: center;
|
|
35887
|
+
gap: var(--spacing-2);
|
|
35888
|
+
min-height: 24px;
|
|
35889
|
+
padding: var(--spacing-1);
|
|
35890
|
+
border: 0;
|
|
35891
|
+
border-radius: var(--radius-md);
|
|
35892
|
+
background: none;
|
|
35893
|
+
color: var(--color-text-primary);
|
|
35894
|
+
font: inherit;
|
|
35895
|
+
font-size: var(--font-size-sm);
|
|
35896
|
+
text-align: start;
|
|
35897
|
+
cursor: pointer;
|
|
35898
|
+
}
|
|
35899
|
+
|
|
35900
|
+
.crewlet-presence-stack__row:hover {
|
|
35901
|
+
background: var(--color-surface-hover);
|
|
35902
|
+
}
|
|
35903
|
+
|
|
35904
|
+
.crewlet-presence-stack__row:focus-visible {
|
|
35905
|
+
outline: 2px solid var(--color-focus);
|
|
35906
|
+
outline-offset: var(--size-focus-ring-inset-offset);
|
|
35907
|
+
}
|
|
35908
|
+
|
|
35783
35909
|
|
|
35784
35910
|
/* PresenterView-RKYEK27N.css */
|
|
35785
35911
|
/*
|
|
@@ -47377,7 +47503,7 @@ b.crewlet-switcher__match {
|
|
|
47377
47503
|
}
|
|
47378
47504
|
|
|
47379
47505
|
|
|
47380
|
-
/* TableCells-
|
|
47506
|
+
/* TableCells-F6NJK33R.css */
|
|
47381
47507
|
/* The read-only table cells. Each one holds a single line and shrinks inside
|
|
47382
47508
|
its column (`min-width: 0`), so a long value is cut with an ellipsis and
|
|
47383
47509
|
its whole text on the title rather than standing the row two lines tall. */
|
|
@@ -47496,12 +47622,6 @@ b.crewlet-switcher__match {
|
|
|
47496
47622
|
min-width: 0;
|
|
47497
47623
|
}
|
|
47498
47624
|
|
|
47499
|
-
.crewlet-table-cell__more {
|
|
47500
|
-
color: var(--color-text-secondary);
|
|
47501
|
-
font-size: var(--font-size-xs);
|
|
47502
|
-
font-variant-numeric: tabular-nums;
|
|
47503
|
-
}
|
|
47504
|
-
|
|
47505
47625
|
/*
|
|
47506
47626
|
* A VALUE OVER A QUIETER LINE (TableTwoLineCell), each line its own block cut
|
|
47507
47627
|
* on one line. A column of boxes rather than two runs of text, so neither
|
|
@@ -48718,7 +48838,7 @@ b.crewlet-switcher__match {
|
|
|
48718
48838
|
}
|
|
48719
48839
|
|
|
48720
48840
|
|
|
48721
|
-
/* TagGroup-
|
|
48841
|
+
/* TagGroup-HYJHHHA7.css */
|
|
48722
48842
|
/*
|
|
48723
48843
|
* A labelled list of tags with the tail behind a count.
|
|
48724
48844
|
*
|
|
@@ -48771,9 +48891,26 @@ b.crewlet-switcher__match {
|
|
|
48771
48891
|
* pill and 2px over a sheet cell's 18px one.
|
|
48772
48892
|
*/
|
|
48773
48893
|
.crewlet-tag-group__item[data-count] {
|
|
48894
|
+
/* It may give way only where it stands alone in a group narrower than its words. */
|
|
48895
|
+
flex: 0 1 auto;
|
|
48774
48896
|
align-self: stretch;
|
|
48775
48897
|
}
|
|
48776
48898
|
|
|
48899
|
+
/* FOLDED TO ONE TAG, the line no longer wraps: the tag gives way beside the
|
|
48900
|
+
chip and cuts its label (its words on hover), so the chip is never clipped. */
|
|
48901
|
+
.crewlet-tag-group--fit[data-folded] {
|
|
48902
|
+
flex-wrap: nowrap;
|
|
48903
|
+
}
|
|
48904
|
+
|
|
48905
|
+
.crewlet-tag-group--fit[data-folded] > .crewlet-tag-group__item > .crewlet-tag {
|
|
48906
|
+
min-width: 0;
|
|
48907
|
+
}
|
|
48908
|
+
|
|
48909
|
+
/* The chip a fit group ends on is centred on its line, not stretched to it. */
|
|
48910
|
+
.crewlet-tag-group__item[data-count] > .crewlet-list-overflow {
|
|
48911
|
+
align-self: center;
|
|
48912
|
+
}
|
|
48913
|
+
|
|
48777
48914
|
.crewlet-tag-group__count {
|
|
48778
48915
|
display: inline-flex;
|
|
48779
48916
|
align-items: center;
|
package/dist/utils/index.js
CHANGED
|
@@ -4,8 +4,8 @@ export { NODE_HUES, NODE_HUE_NAMES, isNodeHue } from '../chunk-AYKXMIOR.js';
|
|
|
4
4
|
export { useClipboard, writeClipboard } from '../chunk-STJ7QBC3.js';
|
|
5
5
|
export { useOutcome } from '../chunk-DTIW4CHZ.js';
|
|
6
6
|
export { SECRET_INPUT_PROPS } from '../chunk-NICEDVZM.js';
|
|
7
|
-
export { attachRef, composeRefs, useComposedRef } from '../chunk-L72URIHR.js';
|
|
8
7
|
export { tokenMs } from '../chunk-HTS5RJ7S.js';
|
|
9
|
-
export { FOCUS_MODALITY_ATTRIBUTE, FOCUS_RETURNED_ATTRIBUTE, isVisibleFocus, returnFocus, trackFocusModality, useFocusModality } from '../chunk-4ITETIGZ.js';
|
|
10
8
|
export { HeadingLevelProvider, headingTag, nextHeadingLevel, useHeadingLevel } from '../chunk-PQADV6P6.js';
|
|
9
|
+
export { attachRef, composeRefs, useComposedRef } from '../chunk-L72URIHR.js';
|
|
10
|
+
export { FOCUS_MODALITY_ATTRIBUTE, FOCUS_RETURNED_ATTRIBUTE, isVisibleFocus, returnFocus, trackFocusModality, useFocusModality } from '../chunk-4ITETIGZ.js';
|
|
11
11
|
export { cx } from '../chunk-ODEQTPFM.js';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@crewlethq/ui",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.186.1",
|
|
4
4
|
"description": "Crewlet shared React components built on @crewlethq/tokens and @crewlethq/icons.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -43,8 +43,8 @@
|
|
|
43
43
|
"clean": "rm -rf dist src/generated"
|
|
44
44
|
},
|
|
45
45
|
"dependencies": {
|
|
46
|
-
"@crewlethq/icons": "0.
|
|
47
|
-
"@crewlethq/tokens": "0.
|
|
46
|
+
"@crewlethq/icons": "0.186.1",
|
|
47
|
+
"@crewlethq/tokens": "0.186.1",
|
|
48
48
|
"prosemirror-commands": "1.7.2",
|
|
49
49
|
"prosemirror-gapcursor": "1.4.1",
|
|
50
50
|
"prosemirror-history": "1.5.1",
|
package/dist/chunk-FOUIZS7Q.js
DELETED
|
@@ -1,92 +0,0 @@
|
|
|
1
|
-
import { useAnnouncer } from './chunk-WGMKERCR.js';
|
|
2
|
-
import { cx } from './chunk-ODEQTPFM.js';
|
|
3
|
-
import './TagGroup-VGL7ZFBK.css';
|
|
4
|
-
import { useState, useRef, Children, useLayoutEffect } from 'react';
|
|
5
|
-
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
6
|
-
|
|
7
|
-
function TagGroup({
|
|
8
|
-
label,
|
|
9
|
-
max = 6,
|
|
10
|
-
overflow = "expand",
|
|
11
|
-
moreLabel = (hidden) => `+${hidden} more`,
|
|
12
|
-
countLabel = (hidden) => `+${hidden}`,
|
|
13
|
-
expandedMessage = (total) => `Showing all ${total}.`,
|
|
14
|
-
className,
|
|
15
|
-
children
|
|
16
|
-
}) {
|
|
17
|
-
const [open, setOpen] = useState(false);
|
|
18
|
-
const announce = useAnnouncer();
|
|
19
|
-
const list = useRef(null);
|
|
20
|
-
const all = Children.toArray(children);
|
|
21
|
-
const fit = overflow === "fit";
|
|
22
|
-
const fitted = useFitted(list, fit, all.length);
|
|
23
|
-
const shown = fit ? all.slice(0, fitted) : open ? all : all.slice(0, max);
|
|
24
|
-
const hidden = all.length - shown.length;
|
|
25
|
-
return /* @__PURE__ */ jsxs(
|
|
26
|
-
"ul",
|
|
27
|
-
{
|
|
28
|
-
ref: list,
|
|
29
|
-
tabIndex: -1,
|
|
30
|
-
className: cx("crewlet-tag-group", fit && "crewlet-tag-group--fit", className),
|
|
31
|
-
"aria-label": `${label}, ${all.length}`,
|
|
32
|
-
children: [
|
|
33
|
-
shown.map((tag, index) => (
|
|
34
|
-
// Keyed by position: the list only ever grows at the end, as the tail
|
|
35
|
-
// is revealed, so no item ever changes the index it sits at.
|
|
36
|
-
/* @__PURE__ */ jsx("li", { className: "crewlet-tag-group__item", children: tag }, index)
|
|
37
|
-
)),
|
|
38
|
-
hidden > 0 && fit ? /* @__PURE__ */ jsx("li", { className: "crewlet-tag-group__item", "data-count": "", children: /* @__PURE__ */ jsx("span", { className: "crewlet-tag-group__count", children: countLabel(hidden) }) }) : hidden > 0 ? /* @__PURE__ */ jsx("li", { className: "crewlet-tag-group__item", children: /* @__PURE__ */ jsx(
|
|
39
|
-
"button",
|
|
40
|
-
{
|
|
41
|
-
type: "button",
|
|
42
|
-
className: "crewlet-tag-group__more",
|
|
43
|
-
onClick: () => {
|
|
44
|
-
setOpen(true);
|
|
45
|
-
list.current?.focus();
|
|
46
|
-
announce(expandedMessage(all.length));
|
|
47
|
-
},
|
|
48
|
-
children: moreLabel(hidden)
|
|
49
|
-
}
|
|
50
|
-
) }) : null
|
|
51
|
-
]
|
|
52
|
-
}
|
|
53
|
-
);
|
|
54
|
-
}
|
|
55
|
-
function useFitted(list, active, total) {
|
|
56
|
-
const [fitted, setFitted] = useState(total);
|
|
57
|
-
const width = useRef(null);
|
|
58
|
-
useLayoutEffect(() => {
|
|
59
|
-
if (!active) return;
|
|
60
|
-
setFitted(total);
|
|
61
|
-
}, [active, total]);
|
|
62
|
-
useLayoutEffect(() => {
|
|
63
|
-
const box = list.current;
|
|
64
|
-
if (!active || !box) return;
|
|
65
|
-
const items = [...box.children];
|
|
66
|
-
const first = items[0];
|
|
67
|
-
if (!first) return;
|
|
68
|
-
const top = first.offsetTop;
|
|
69
|
-
const bottom = top + first.offsetHeight;
|
|
70
|
-
const onFirstLine = (item) => item.offsetTop === top || item.offsetTop < bottom;
|
|
71
|
-
const tags = items.filter((item) => !item.hasAttribute("data-count"));
|
|
72
|
-
const count = items.find((item) => item.hasAttribute("data-count"));
|
|
73
|
-
const onLine = tags.filter(onFirstLine).length;
|
|
74
|
-
const room = count && !onFirstLine(count) ? onLine - 1 : onLine;
|
|
75
|
-
const next = Math.max(1, Math.min(room, tags.length));
|
|
76
|
-
if (next < tags.length) setFitted(next);
|
|
77
|
-
}, [list, active, fitted, total]);
|
|
78
|
-
useLayoutEffect(() => {
|
|
79
|
-
const box = list.current;
|
|
80
|
-
if (!active || !box || typeof ResizeObserver !== "function") return void 0;
|
|
81
|
-
const observer = new ResizeObserver(([entry]) => {
|
|
82
|
-
const now = entry?.contentRect.width ?? 0;
|
|
83
|
-
if (width.current !== null && width.current !== now) setFitted(total);
|
|
84
|
-
width.current = now;
|
|
85
|
-
});
|
|
86
|
-
observer.observe(box);
|
|
87
|
-
return () => observer.disconnect();
|
|
88
|
-
}, [list, active, total]);
|
|
89
|
-
return active ? fitted : total;
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
export { TagGroup };
|
|
File without changes
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { LockedLabel } from './chunk-TODOBUXO.js';
|
|
2
2
|
import { HIT_AREA_CLASS } from './chunk-2YTOOH3A.js';
|
|
3
|
+
import { tokenMs } from './chunk-HTS5RJ7S.js';
|
|
3
4
|
import { LAYER_GAP, useLayerContainer, viewportBounds, anchorGone, LAYER_REPOSITION_EVENT } from './chunk-AVJKMQXK.js';
|
|
4
5
|
import { usePopupLayer } from './chunk-EDPMHSLZ.js';
|
|
5
|
-
import { tokenMs } from './chunk-HTS5RJ7S.js';
|
|
6
6
|
import { returnFocus } from './chunk-4ITETIGZ.js';
|
|
7
7
|
import { VisuallyHidden } from './chunk-RRRK2KB6.js';
|
|
8
8
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
+
import { tokenMs } from './chunk-HTS5RJ7S.js';
|
|
1
2
|
import { useComposedRef } from './chunk-L72URIHR.js';
|
|
2
3
|
import { useLayerContainer, viewportBounds, LAYER_GAP, anchorGone, placePopup, LAYER_REPOSITION_EVENT } from './chunk-AVJKMQXK.js';
|
|
3
4
|
import { usePopupLayer } from './chunk-EDPMHSLZ.js';
|
|
4
|
-
import { tokenMs } from './chunk-HTS5RJ7S.js';
|
|
5
5
|
import { isVisibleFocus } from './chunk-4ITETIGZ.js';
|
|
6
6
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
7
7
|
import './Tooltip-U3F2SV2M.css';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Eyebrow } from './chunk-RK4XPHVG.js';
|
|
2
|
-
import { returnFocus } from './chunk-4ITETIGZ.js';
|
|
3
2
|
import { useHeadingLevel, HeadingLevelProvider, nextHeadingLevel, headingTag } from './chunk-PQADV6P6.js';
|
|
3
|
+
import { returnFocus } from './chunk-4ITETIGZ.js';
|
|
4
4
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
5
5
|
import './ReadingPane-2VJ4JQ3J.css';
|
|
6
6
|
import { createContext, useId, useRef, useState, useEffect, useLayoutEffect, createElement, useContext } from 'react';
|