@crewlethq/ui 0.81.1 → 0.82.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +61 -4
- package/dist/Accordion/index.js +3 -3
- package/dist/ActionCard/ActionCard.d.ts +49 -0
- package/dist/ActionCard/index.d.ts +4 -0
- package/dist/ActionCard/index.js +2 -0
- package/dist/ActionCard-47WSZ2O5.css +110 -0
- package/dist/ActivityLine/ActivityLine.d.ts +27 -0
- package/dist/ActivityLine/index.d.ts +4 -0
- package/dist/ActivityLine/index.js +4 -0
- package/dist/ActivityLine-AMSERTOB.css +74 -0
- package/dist/AgentHandoffPanel/index.js +15 -15
- package/dist/AppShell/AccountRow.d.ts +14 -1
- package/dist/AppShell/AppShell.d.ts +53 -4
- package/dist/AppShell/ResizeHandle.d.ts +1 -1
- package/dist/AppShell/index.d.ts +1 -1
- package/dist/AppShell/index.js +8 -5
- package/dist/AppShell/railShape.d.ts +17 -0
- package/dist/{AppShell-2IBUS4TH.css → AppShell-F7RID4P4.css} +150 -0
- package/dist/ArrangeFrame/index.js +2 -2
- package/dist/ArrangeGroup/index.js +2 -2
- package/dist/ArrangeList/index.js +6 -6
- package/dist/ArtifactBar/index.js +11 -11
- package/dist/ArtifactCard/index.js +13 -13
- package/dist/ArtifactCover/index.js +3 -3
- package/dist/ArtifactKindIllustration/index.js +1 -1
- package/dist/ArtifactKinds-3EH4KR3F.css +18 -0
- package/dist/ArtifactMakeRow/index.js +1 -1
- package/dist/ArtifactNameCell/index.js +1 -1
- package/dist/ArtifactPanel/index.js +5 -5
- package/dist/AttachmentChip/index.js +2 -2
- package/dist/AuthLayout/index.js +5 -4
- package/dist/Avatar/Avatar.d.ts +30 -28
- package/dist/Avatar/AvatarStack.d.ts +2 -2
- package/dist/Avatar/index.d.ts +1 -1
- package/dist/Avatar/index.js +2 -2
- package/dist/{Avatar-VJSJGFRG.css → Avatar-MNE3WBZO.css} +56 -54
- package/dist/AvatarPicker/index.js +12 -12
- package/dist/{AvatarStack-7I3P7LCK.css → AvatarStack-KEHD3GWY.css} +16 -4
- package/dist/BrandLockup/BrandLockup.d.ts +6 -0
- package/dist/BrandLockup/index.js +2 -1
- package/dist/BriefCard/BriefCard.d.ts +23 -1
- package/dist/BriefCard/index.d.ts +2 -2
- package/dist/BriefCard/index.js +7 -7
- package/dist/{BriefCard-VKTH3BSW.css → BriefCard-QCL7MVUV.css} +26 -0
- package/dist/Canvas/index.js +6 -6
- package/dist/CanvasBoard/index.js +9 -9
- package/dist/CanvasToolbar/index.js +8 -8
- package/dist/Card/index.js +2 -2
- package/dist/ChangeList/index.js +5 -5
- package/dist/ChangeMark/index.js +4 -4
- package/dist/CharacterPicker/index.js +2 -2
- package/dist/ChatDay/ChatDay.d.ts +53 -0
- package/dist/ChatDay/index.d.ts +5 -0
- package/dist/ChatDay/index.js +3 -0
- package/dist/ChatDay-E3FF5HWF.css +116 -0
- package/dist/ChatDivider/ChatDivider.d.ts +31 -0
- package/dist/ChatDivider/index.d.ts +4 -0
- package/dist/ChatDivider/index.js +2 -0
- package/dist/ChatDivider-7ZNDL2PZ.css +76 -0
- package/dist/ChatMessage/ChatMessage.d.ts +111 -0
- package/dist/ChatMessage/index.d.ts +4 -0
- package/dist/ChatMessage/index.js +5 -0
- package/dist/ChatMessage-FH7VRVCH.css +304 -0
- package/dist/ChatScale-L4SIHSKL.css +42 -0
- package/dist/ChatThread/ChatThread.d.ts +33 -4
- package/dist/ChatThread/index.d.ts +1 -1
- package/dist/ChatThread/index.js +1 -1
- package/dist/{ChatThread-2KO3FZKQ.css → ChatThread-HAECJMP6.css} +17 -0
- package/dist/CheckGrid/index.js +6 -6
- package/dist/Checkbox/index.js +5 -5
- package/dist/ChipField/ChipField.d.ts +82 -0
- package/dist/ChipField/index.d.ts +4 -0
- package/dist/ChipField/index.js +9 -0
- package/dist/ChipField-D4CW6XFA.css +108 -0
- package/dist/ColorField/index.js +5 -5
- package/dist/Combobox/index.js +7 -7
- package/dist/CommandPalette/index.js +11 -11
- package/dist/CommentThread/index.js +14 -14
- package/dist/CompactNav/CompactNav.d.ts +175 -0
- package/dist/CompactNav/index.d.ts +4 -0
- package/dist/CompactNav/index.js +8 -0
- package/dist/CompactNav-CU2AQXBC.css +322 -0
- package/dist/Composer/Composer.d.ts +26 -2
- package/dist/Composer/index.d.ts +2 -1
- package/dist/Composer/index.js +7 -7
- package/dist/{Composer-HQIMTMRC.css → Composer-ZEGHEAFE.css} +71 -0
- package/dist/ConfirmField/index.js +5 -5
- package/dist/ContrastBadge/index.js +2 -2
- package/dist/ContrastHelp/index.js +6 -6
- package/dist/Count/Count.d.ts +24 -6
- package/dist/Count/index.d.ts +1 -1
- package/dist/Count/index.js +1 -1
- package/dist/{Count-ZJ6ID4ZU.css → Count-2HXBBYPO.css} +19 -0
- package/dist/DataGrid/index.js +8 -8
- package/dist/DataTable/index.js +10 -10
- package/dist/DataView/index.js +17 -17
- package/dist/DatasetSource/index.js +3 -3
- package/dist/DateTimePicker/index.js +5 -5
- package/dist/DeepWorkCard/index.js +10 -10
- package/dist/Disclosure/index.js +3 -3
- package/dist/DocTabsEditor/index.js +8 -8
- package/dist/Document/index.js +2 -2
- package/dist/EditingStatus/index.js +2 -2
- package/dist/{Editor-BXOWAV46.js → Editor-7EQWP3RN.js} +8 -8
- package/dist/EmojiPicker/EmojiPicker.d.ts +51 -0
- package/dist/EmojiPicker/emoji.d.ts +24 -0
- package/dist/EmojiPicker/index.d.ts +5 -0
- package/dist/EmojiPicker/index.js +13 -0
- package/dist/EmojiPicker-FMWYN2WX.css +63 -0
- package/dist/EntityChip/index.js +3 -3
- package/dist/EntityList/index.js +6 -6
- package/dist/FactList/index.js +4 -4
- package/dist/FolderTile/index.js +3 -3
- package/dist/FollowBanner/index.js +4 -4
- package/dist/HuePicker/index.js +8 -8
- package/dist/ImageUpload/ImageUpload.d.ts +6 -7
- package/dist/ImageUpload/index.js +3 -3
- package/dist/{ImageUpload-OWI7CCG7.css → ImageUpload-IFXZROFZ.css} +6 -37
- package/dist/InlineEditor/index.js +7 -7
- package/dist/Input/index.js +4 -4
- package/dist/Kbd/Kbd.d.ts +9 -0
- package/dist/Kbd/index.d.ts +1 -1
- package/dist/Kbd/index.js +1 -1
- package/dist/Layer/index.js +2 -2
- package/dist/LinkCard/LinkCard.d.ts +64 -0
- package/dist/LinkCard/index.d.ts +5 -0
- package/dist/LinkCard/index.js +5 -0
- package/dist/LinkCard-5I4MYU6I.css +155 -0
- package/dist/LinkInterstitial/index.js +6 -6
- package/dist/ListInput/index.js +8 -8
- package/dist/Listbox/index.js +3 -3
- package/dist/LogoSlot/index.js +3 -3
- package/dist/MarkdownEditor/format.d.ts +9 -1
- package/dist/MarkdownEditor/index.d.ts +2 -2
- package/dist/MarkdownEditor/index.js +9 -9
- package/dist/MentionChip/MentionChip.d.ts +25 -0
- package/dist/MentionChip/index.d.ts +3 -0
- package/dist/MentionChip/index.js +2 -0
- package/dist/MentionChip-W7MZZVRZ.css +42 -0
- package/dist/MentionMenu/MentionMenu.d.ts +82 -0
- package/dist/MentionMenu/index.d.ts +4 -0
- package/dist/MentionMenu/index.js +3 -0
- package/dist/MentionMenu-4NAQ45S4.css +65 -0
- package/dist/Menu/index.js +4 -4
- package/dist/MergeConflicts/index.js +8 -8
- package/dist/MessageActions/MessageActions.d.ts +58 -0
- package/dist/MessageActions/index.d.ts +4 -0
- package/dist/MessageActions/index.js +16 -0
- package/dist/MessageActions-Q4F5UH3S.css +73 -0
- package/dist/Modal/Modal.d.ts +12 -0
- package/dist/Modal/index.js +5 -5
- package/dist/{Modal-FYQYEI3N.css → Modal-GKUOO7PZ.css} +26 -1
- package/dist/OpenInAppCard/index.js +7 -7
- package/dist/OrgLabel/index.js +3 -3
- package/dist/OrgNode/index.js +4 -4
- package/dist/OrgTable/index.js +7 -7
- package/dist/PeekRail/index.js +1 -1
- package/dist/PeopleRail/index.js +4 -4
- package/dist/PersonRow/PersonRow.d.ts +70 -0
- package/dist/PersonRow/index.d.ts +3 -0
- package/dist/PersonRow/index.js +2 -0
- package/dist/PersonRow-V5GTPNVP.css +161 -0
- package/dist/Popover/index.js +3 -3
- package/dist/PresenceStack/index.js +3 -3
- package/dist/{PresenceStack-ZV67BH4V.css → PresenceStack-2DTYRADY.css} +4 -6
- package/dist/PresenterView/index.js +5 -5
- package/dist/PricingCard/index.js +2 -2
- package/dist/Principal/index.js +3 -3
- package/dist/PrincipalPicker/index.js +11 -11
- package/dist/ProposalCard/index.js +15 -15
- package/dist/ReactionBar/ReactionBar.d.ts +84 -0
- package/dist/ReactionBar/index.d.ts +4 -0
- package/dist/ReactionBar/index.js +15 -0
- package/dist/ReactionBar-XXI4V7XG.css +93 -0
- package/dist/RecordChip/index.js +4 -4
- package/dist/RefusalCard/index.js +6 -6
- package/dist/RelatedRow/index.js +3 -3
- package/dist/ResultTableCard/index.js +7 -7
- package/dist/ReviewList/index.js +2 -2
- package/dist/RichEditor/index.js +2 -2
- package/dist/RunChip/index.js +5 -5
- package/dist/SandboxedFrame/index.js +2 -2
- package/dist/SectionFrame/index.js +2 -2
- package/dist/SegmentedControl/index.js +7 -7
- package/dist/Select/index.js +4 -4
- package/dist/SelectionBar/index.js +6 -6
- package/dist/SetupWizard/index.js +6 -6
- package/dist/ShareDialog/index.js +11 -11
- package/dist/SheetColumnEditor/index.js +16 -16
- package/dist/SheetGrid/index.js +12 -12
- package/dist/Shortcut/index.js +3 -3
- package/dist/SidePanel/SidePanel.d.ts +10 -3
- package/dist/SidePanel/SidePanelBase.d.ts +3 -1
- package/dist/SidePanel/index.js +5 -5
- package/dist/{SidePanel-VXKUKLOJ.css → SidePanel-BKWT6Q6Z.css} +36 -0
- package/dist/SidebarNav/SidebarNav.d.ts +52 -3
- package/dist/SidebarNav/index.js +1 -1
- package/dist/{SidebarNav-VTQ3G4AE.css → SidebarNav-E7PZGGA6.css} +132 -7
- package/dist/Skeleton/index.js +1 -1
- package/dist/{Skeleton-7ZA5ETJM.css → Skeleton-GIXV3KK5.css} +3 -1
- package/dist/SlideCompare/index.js +5 -5
- package/dist/SlideFilmstrip/index.js +8 -8
- package/dist/SlideGrid/index.js +4 -4
- package/dist/SlideStage/index.js +3 -3
- package/dist/SourceEditor/index.js +2 -2
- package/dist/StatusCard/index.js +5 -5
- package/dist/Switcher/index.js +12 -12
- package/dist/TableCells/index.js +5 -5
- package/dist/Tabs/index.js +6 -6
- package/dist/Tag/Tag.d.ts +9 -2
- package/dist/Tag/index.js +1 -1
- package/dist/{Tag-JTJVZM2D.css → Tag-WLDOROB5.css} +24 -0
- package/dist/TagsInput/index.js +6 -6
- package/dist/ThemeGallery/index.js +5 -5
- package/dist/ThemeSwitcher/index.js +8 -8
- package/dist/ThinkingIndicator/ThinkingIndicator.d.ts +1 -1
- package/dist/ThinkingIndicator/index.js +1 -1
- package/dist/{ThinkingIndicator-JVF52N7L.css → ThinkingIndicator-S7ZL2C77.css} +10 -2
- package/dist/ThreadSummary/ThreadSummary.d.ts +43 -0
- package/dist/ThreadSummary/index.d.ts +4 -0
- package/dist/ThreadSummary/index.js +6 -0
- package/dist/ThreadSummary-AGR4NDMD.css +90 -0
- package/dist/TimeRangePicker/index.js +12 -12
- package/dist/TimeWindowPicker/index.js +10 -10
- package/dist/Toaster/index.js +2 -2
- package/dist/Toolbar/index.js +3 -3
- package/dist/Tooltip/Tooltip.d.ts +30 -3
- package/dist/Tooltip/index.js +3 -3
- package/dist/TreeCanvas/index.js +7 -7
- package/dist/TreeGrid/index.js +3 -3
- package/dist/ValueField/index.js +9 -9
- package/dist/VersionCompare/index.js +9 -9
- package/dist/VersionTimeline/index.js +4 -4
- package/dist/WidgetFrame/index.js +2 -2
- package/dist/{chunk-WCDPFTJZ.js → chunk-25JQNHTC.js} +92 -28
- package/dist/{chunk-ZKLEAK7M.js → chunk-2H6YDUR5.js} +7 -7
- package/dist/{chunk-7FF6CZW5.js → chunk-2KJCUCVE.js} +36 -8
- package/dist/{chunk-6LXS3X7A.js → chunk-2L4WHYMT.js} +1 -1
- package/dist/{chunk-6G6WHTC7.js → chunk-2O5CMV76.js} +1 -1
- package/dist/chunk-2TOGGCDM.js +50 -0
- package/dist/{chunk-7PJFUQMY.js → chunk-2ZSCHQOA.js} +1 -1
- package/dist/chunk-3BRXEMYT.js +46 -0
- package/dist/{chunk-H22SR76M.js → chunk-3H6OZUZ3.js} +1 -1
- package/dist/{chunk-VK45YJLH.js → chunk-3IWZVEXA.js} +2 -2
- package/dist/{chunk-I33UIUZD.js → chunk-3QQIGMY3.js} +49 -14
- package/dist/{chunk-NUZHC6MM.js → chunk-4ITETIGZ.js} +12 -1
- package/dist/{chunk-FQI62PIZ.js → chunk-4RYELYWG.js} +2 -2
- package/dist/{chunk-LCZULGMB.js → chunk-57BFL323.js} +2 -2
- package/dist/{chunk-73GUXYYE.js → chunk-5AHNW5CP.js} +1 -1
- package/dist/{chunk-FFGEJUAP.js → chunk-5ILRWUE7.js} +2 -2
- package/dist/{chunk-S5QJZOPL.js → chunk-5K5SZGBI.js} +1 -1
- package/dist/{chunk-LM6VYJTV.js → chunk-5YXMKZUA.js} +1 -1
- package/dist/{chunk-5XBNJNSO.js → chunk-65RFU7LF.js} +1 -1
- package/dist/{chunk-WKKWF277.js → chunk-6IOQWMYJ.js} +2 -2
- package/dist/{chunk-7MGXHCVK.js → chunk-6M2N6ETA.js} +1 -1
- package/dist/{chunk-OWHETZIU.js → chunk-6SFDL4QH.js} +1 -1
- package/dist/{chunk-JD7P2GJP.js → chunk-6YBBQAEM.js} +1 -1
- package/dist/{chunk-WK4FQPYW.js → chunk-77VOASOY.js} +5 -5
- package/dist/{chunk-UYF2B2TH.js → chunk-7ELFH3RJ.js} +1 -1
- package/dist/{chunk-CYYBE2MM.js → chunk-7U6PK242.js} +1 -1
- package/dist/{chunk-VG3SIJ3M.js → chunk-AFLS26AC.js} +2 -2
- package/dist/{chunk-JQEXAH7G.js → chunk-AMUXSJ2A.js} +2 -2
- package/dist/{chunk-4XF7ENQA.js → chunk-AOJ6ZA77.js} +2 -2
- package/dist/{chunk-TJIBTHWJ.js → chunk-B3X4DHRB.js} +2 -2
- package/dist/{chunk-BFM5G2Z6.js → chunk-BSAU7QRW.js} +1 -1
- package/dist/chunk-C4256UXE.js +21 -0
- package/dist/{chunk-4MRFLHJC.js → chunk-C46DDVTK.js} +1 -1
- package/dist/{chunk-5EFLA6BW.js → chunk-C75WZMXG.js} +2 -2
- package/dist/{chunk-YB64PWIN.js → chunk-C7UHDM7Y.js} +1 -1
- package/dist/{chunk-5BOFC5OP.js → chunk-CF4M6N6A.js} +20 -4
- package/dist/{chunk-ANTAQAR4.js → chunk-CMAZZY2I.js} +7 -1
- package/dist/{chunk-MLDTLZAO.js → chunk-D2GT3CR4.js} +3 -3
- package/dist/{chunk-57AKYFML.js → chunk-DD7RBNT4.js} +3 -3
- package/dist/{chunk-MUFBHVCT.js → chunk-DWQYV5AV.js} +2 -2
- package/dist/{chunk-CNEHFH2A.js → chunk-EAHEJNVJ.js} +1 -1
- package/dist/chunk-EALRMP7N.js +69 -0
- package/dist/{chunk-E35HYQMK.js → chunk-EBVZHVPD.js} +12 -5
- package/dist/{chunk-M73MMEZY.js → chunk-ED4A6Q24.js} +1 -1
- package/dist/{chunk-6LN64KGG.js → chunk-F7HZYTZT.js} +6 -3
- package/dist/{chunk-YQDRJZ5J.js → chunk-FKAJBN6G.js} +8 -8
- package/dist/{chunk-RTMNULTL.js → chunk-FLW5U7YS.js} +2 -2
- package/dist/{chunk-JMTBK55P.js → chunk-FVZPSTL2.js} +1 -1
- package/dist/{chunk-GHQG4VZA.js → chunk-G3CACE5L.js} +3 -3
- package/dist/{chunk-SNIPM6K7.js → chunk-G6ZFSUIH.js} +3 -3
- package/dist/chunk-GP5TNTZH.js +386 -0
- package/dist/{chunk-7KBNFFM3.js → chunk-GVPUCEWH.js} +6 -3
- package/dist/{chunk-6R334YT3.js → chunk-GZVAZ3LL.js} +2 -2
- package/dist/{chunk-KL6A7JGH.js → chunk-HA2PL7PA.js} +2 -2
- package/dist/{chunk-2IIHMJMZ.js → chunk-HCUECVZ3.js} +2 -2
- package/dist/{chunk-N2BF272H.js → chunk-HF5L56YQ.js} +1 -1
- package/dist/{chunk-Q2T4L6ML.js → chunk-HFOTRZFU.js} +4 -4
- package/dist/{chunk-2STOSJT3.js → chunk-HQFOZJQ4.js} +7 -7
- package/dist/chunk-HTBTAIH6.js +37 -0
- package/dist/{chunk-BRLZXYPA.js → chunk-I4IUX3JF.js} +1 -1
- package/dist/{chunk-BXCL6P5Z.js → chunk-I4PBFJGX.js} +1 -1
- package/dist/{chunk-ADGNISEI.js → chunk-IAP7APOX.js} +5 -5
- package/dist/{chunk-BT3GB7HC.js → chunk-IRONPJB4.js} +3 -3
- package/dist/chunk-ISQANI6Q.js +9 -0
- package/dist/chunk-IUBOLGHG.js +140 -0
- package/dist/{chunk-O222F2IX.js → chunk-IUWP2LSE.js} +6 -6
- package/dist/{chunk-3JXX5S3Z.js → chunk-IYI6HWKN.js} +3 -3
- package/dist/{chunk-R5OATXWU.js → chunk-JHQGNFN3.js} +36 -13
- package/dist/{chunk-CSXJIIO4.js → chunk-JV6JM6W6.js} +1 -1
- package/dist/{chunk-ZQEJSEPS.js → chunk-K6Y6CDEZ.js} +2 -2
- package/dist/chunk-K774LUN3.js +20 -0
- package/dist/{chunk-LOWQK2PB.js → chunk-KJR5X4II.js} +4 -4
- package/dist/{chunk-45M73G5A.js → chunk-KLAVEJIO.js} +4 -4
- package/dist/{chunk-53J2YNQA.js → chunk-L5VU3LZT.js} +1 -1
- package/dist/{chunk-VERJCAJ4.js → chunk-LBGKLYBY.js} +1 -1
- package/dist/{chunk-PRN5IP2R.js → chunk-LMEMH6DO.js} +1 -1
- package/dist/{chunk-I22MUEG7.js → chunk-LNQSNXGJ.js} +1 -1
- package/dist/chunk-LQRN2XZK.js +87 -0
- package/dist/{chunk-HEA6TERQ.js → chunk-LSOR77RZ.js} +1 -1
- package/dist/{chunk-222VILSP.js → chunk-LVJGN5II.js} +1 -1
- package/dist/{chunk-AYHIF6DH.js → chunk-LZNPL266.js} +1 -1
- package/dist/{chunk-R45VM5EX.js → chunk-MMV7NEAC.js} +1 -1
- package/dist/chunk-MPYRC3GO.js +244 -0
- package/dist/{chunk-37U3Z65B.js → chunk-MVMVMHYI.js} +1 -1
- package/dist/{chunk-MP7DGKB6.js → chunk-N2T7Y5KR.js} +2 -2
- package/dist/{chunk-NKBKQEKS.js → chunk-NFXCJGHG.js} +1 -1
- package/dist/{chunk-OZAZHM55.js → chunk-NKBKHOMU.js} +1 -1
- package/dist/{chunk-MGQKF7GK.js → chunk-NN475NAP.js} +1 -1
- package/dist/{chunk-6EWNMSS4.js → chunk-NNZRTR5M.js} +2 -2
- package/dist/{chunk-JT7WRPZ6.js → chunk-NTRKC2JV.js} +1 -1
- package/dist/{chunk-63GBSOLU.js → chunk-NXBCAXP5.js} +2 -2
- package/dist/{chunk-NR4CPM4T.js → chunk-NXFTCPF6.js} +1 -1
- package/dist/chunk-O3MYBNRO.js +80 -0
- package/dist/{chunk-RMEBFYL7.js → chunk-O6EV6GKI.js} +1 -1
- package/dist/{chunk-YL7AR6PR.js → chunk-O7KG4CXB.js} +3 -3
- package/dist/{chunk-FB3TCNQP.js → chunk-O7N6W52M.js} +3 -3
- package/dist/{chunk-2FMBZCFR.js → chunk-OAHRMR4U.js} +1 -1
- package/dist/chunk-ONHYFU7D.js +25 -0
- package/dist/{chunk-Z2MZTI3H.js → chunk-ONNXUS5Y.js} +1 -1
- package/dist/{chunk-T24HBEU6.js → chunk-OOOVL77Y.js} +1 -1
- package/dist/{chunk-CZQ7UITX.js → chunk-P6F3PE4V.js} +3 -3
- package/dist/{chunk-BLGBD2D2.js → chunk-P7HMY3BQ.js} +4 -4
- package/dist/{chunk-TPIMOGOZ.js → chunk-PEBQMX5X.js} +1 -1
- package/dist/{chunk-4TMBAOXK.js → chunk-PW57R4BN.js} +1 -1
- package/dist/chunk-PX5BOALQ.js +13 -0
- package/dist/{chunk-HQOEAUDJ.js → chunk-PXLS6JKL.js} +2 -2
- package/dist/{chunk-CFTBESST.js → chunk-Q6TCUSQA.js} +2 -2
- package/dist/{chunk-ZWXHTXZO.js → chunk-QGEDXYLB.js} +2 -2
- package/dist/{chunk-WTXCK46H.js → chunk-R2QBQ6NO.js} +1 -1
- package/dist/{chunk-OBPINJNO.js → chunk-SEKO6P3Y.js} +3 -3
- package/dist/{chunk-CLJGFOTV.js → chunk-SKGOKLJD.js} +31 -18
- package/dist/{chunk-KHJIEPZV.js → chunk-SM4P2SHB.js} +2 -2
- package/dist/{chunk-B2YSFWUG.js → chunk-SYVQXMLO.js} +9 -9
- package/dist/{chunk-UY3FWQWG.js → chunk-T4IEESXN.js} +128 -12
- package/dist/{chunk-TPCBPGSB.js → chunk-T7WESRZF.js} +3 -3
- package/dist/chunk-TDFLCUBE.js +6 -0
- package/dist/{chunk-Z6JKZI4E.js → chunk-TGCGLKD4.js} +1 -1
- package/dist/chunk-TRXTO3WC.js +114 -0
- package/dist/{chunk-H5XTJ7GJ.js → chunk-TUEM2XIW.js} +1 -1
- package/dist/{chunk-4AUTALJA.js → chunk-U2IQNDDR.js} +1 -1
- package/dist/{chunk-IVTQWOXV.js → chunk-ULYHDP7U.js} +1 -1
- package/dist/{chunk-DGSK4LLS.js → chunk-V6WDJUYK.js} +1 -1
- package/dist/{chunk-5CEQ3HLH.js → chunk-VGOWSOUA.js} +6 -6
- package/dist/{chunk-TKUAGWNR.js → chunk-WT3B76MG.js} +1 -1
- package/dist/{chunk-D7G2QGET.js → chunk-X3US25XJ.js} +1 -1
- package/dist/{chunk-GPFYITOF.js → chunk-X7VZQKIW.js} +1 -1
- package/dist/{chunk-L4HHWG4V.js → chunk-XA2QKGBJ.js} +3 -3
- package/dist/{chunk-HPI5J6AR.js → chunk-XGLMPPDW.js} +2 -2
- package/dist/{chunk-DV5L2GRY.js → chunk-XJMES7AE.js} +1 -1
- package/dist/{chunk-5NJMSYDZ.js → chunk-XNC3M4IN.js} +1 -1
- package/dist/{chunk-C667GCU7.js → chunk-XXDB6KPV.js} +6 -3
- package/dist/{chunk-EAIOXW2W.js → chunk-XY4O2XMR.js} +8 -14
- package/dist/{chunk-KTIQSSME.js → chunk-XZY6S3UC.js} +6 -3
- package/dist/{chunk-7KHM2FZH.js → chunk-YGRTX67J.js} +1 -1
- package/dist/{chunk-RIAPCEB5.js → chunk-YM77TZ7Q.js} +5 -5
- package/dist/{chunk-OQG4P5KU.js → chunk-YOJAGKTS.js} +2 -2
- package/dist/chunk-YP2FS6SH.js +54 -0
- package/dist/{chunk-LMQG3VPG.js → chunk-YQ7Q52XU.js} +1 -1
- package/dist/{chunk-G4CGDUCP.js → chunk-YRNNUCQP.js} +1 -1
- package/dist/{chunk-NHLNHH4J.js → chunk-ZB3E2Z4Y.js} +1 -1
- package/dist/{chunk-IL3XLDW7.js → chunk-ZDWAIVWL.js} +1 -1
- package/dist/{chunk-2PIH6JHJ.js → chunk-ZXTDWTXS.js} +1 -1
- package/dist/generated/index.d.ts +15 -0
- package/dist/generated/index.js +181 -164
- package/dist/index.js +181 -164
- package/dist/styles.css +2566 -138
- package/dist/utils/focusModality.d.ts +14 -0
- package/dist/utils/heldHint.d.ts +6 -0
- package/dist/utils/index.d.ts +1 -1
- package/dist/utils/index.js +1 -1
- package/package.json +3 -3
- package/dist/ArtifactKinds-O3CALPVX.css +0 -16
- package/dist/{chunk-PLNJEDGI.js → chunk-I4IO56EY.js} +1 -1
- package/dist/{chunk-CDFQ7MQK.js → chunk-KLWWNV25.js} +0 -0
- package/dist/{chunk-624X3RVA.js → chunk-O55JQ7BE.js} +1 -1
|
@@ -8,12 +8,11 @@ export interface ImageUploadProps extends Omit<HTMLAttributes<HTMLDivElement>, '
|
|
|
8
8
|
/** Rendered width and height in pixels. */
|
|
9
9
|
size?: number | undefined;
|
|
10
10
|
/**
|
|
11
|
-
* The picture is an Avatar, so it takes the Avatar's kind
|
|
12
|
-
*
|
|
13
|
-
*
|
|
14
|
-
*
|
|
15
|
-
*
|
|
16
|
-
* a person's round picture.
|
|
11
|
+
* The picture is an Avatar, so it takes the Avatar's kind: `agent`, the
|
|
12
|
+
* default as it is Avatar's, for a seat or a mark that is not a person (a
|
|
13
|
+
* company's logo among them), and `human` for a person's picture. Both are
|
|
14
|
+
* the one rounded square every face is drawn as, and the preview, the
|
|
15
|
+
* fallback, the trigger and the overlay all take its corner.
|
|
17
16
|
*/
|
|
18
17
|
kind?: AvatarKind | undefined;
|
|
19
18
|
/** When true, the control is display only: no overlay, no remove button, no file picker. */
|
|
@@ -32,7 +31,7 @@ export interface ImageUploadProps extends Omit<HTMLAttributes<HTMLDivElement>, '
|
|
|
32
31
|
* current image (or an initials fallback), an overlay with a camera icon and
|
|
33
32
|
* an "Upload" or "Change" label (shown on hover, or always while no image is
|
|
34
33
|
* set), a hidden file input, a remove button, and an uploading state. One
|
|
35
|
-
* primitive covers
|
|
34
|
+
* primitive covers a logo, an agent's picture and a person's.
|
|
36
35
|
*
|
|
37
36
|
* The selection callback hands back the raw File rather than a data URL because
|
|
38
37
|
* the upload now happens over the network.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { ImageUpload } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
3
|
-
import '../chunk-
|
|
1
|
+
export { ImageUpload } from '../chunk-K6Y6CDEZ.js';
|
|
2
|
+
import '../chunk-IRONPJB4.js';
|
|
3
|
+
import '../chunk-XZY6S3UC.js';
|
|
4
4
|
import '../chunk-XSPCITPN.js';
|
|
5
5
|
import '../chunk-ODEQTPFM.js';
|
|
@@ -44,34 +44,16 @@
|
|
|
44
44
|
cursor: pointer;
|
|
45
45
|
}
|
|
46
46
|
|
|
47
|
-
/* The kind modifiers keep the trigger, the overlay and the Avatar outlines in
|
|
48
|
-
step. A person's picture is a circle. */
|
|
49
|
-
.crewlet-image-upload--human .crewlet-image-upload__trigger,
|
|
50
|
-
.crewlet-image-upload--human .crewlet-image-upload__overlay {
|
|
51
|
-
border-radius: var(--radius-circle);
|
|
52
|
-
}
|
|
53
|
-
|
|
54
47
|
/* THE SAME CORNER THE PICTURE INSIDE TAKES, which is why it is a variable
|
|
55
|
-
rather than a step: Avatar moves
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
.crewlet-image-
|
|
48
|
+
rather than a step: Avatar moves a face's corner with its box, so a trigger
|
|
49
|
+
pinned to one step is rounder or squarer than the face under it at every
|
|
50
|
+
size but one, and the face's corners show through the overlay. Every face
|
|
51
|
+
is one shape, a person's and an agent's alike, so one rule serves both. */
|
|
52
|
+
.crewlet-image-upload__trigger,
|
|
53
|
+
.crewlet-image-upload__overlay {
|
|
60
54
|
border-radius: var(--crewlet-image-upload-corner);
|
|
61
55
|
}
|
|
62
56
|
|
|
63
|
-
/* AND THE SAME SQUIRCLE, where the browser draws one, for the same reason:
|
|
64
|
-
Avatar.css states why its squircle is a whole one at the circle token, and
|
|
65
|
-
this is that rule for the two frames over the picture. The suite holds the
|
|
66
|
-
two blocks to one declaration list. */
|
|
67
|
-
@supports (corner-shape: squircle) {
|
|
68
|
-
.crewlet-image-upload--agent .crewlet-image-upload__trigger,
|
|
69
|
-
.crewlet-image-upload--agent .crewlet-image-upload__overlay {
|
|
70
|
-
corner-shape: squircle;
|
|
71
|
-
border-radius: var(--radius-circle);
|
|
72
|
-
}
|
|
73
|
-
}
|
|
74
|
-
|
|
75
57
|
.crewlet-image-upload__trigger:disabled {
|
|
76
58
|
cursor: default;
|
|
77
59
|
}
|
|
@@ -170,19 +152,6 @@
|
|
|
170
152
|
transition: opacity var(--motion-duration-fast) var(--motion-easing-default);
|
|
171
153
|
}
|
|
172
154
|
|
|
173
|
-
/*
|
|
174
|
-
* ON A PERSON'S CIRCLE THE BADGE SITS ON THE EDGE, where the circle crosses
|
|
175
|
-
* its own diagonal: (1 - 1/sqrt(2)) / 2 of the size, 0.1464, in from each
|
|
176
|
-
* side, less half the 24px badge. The six pixels out above are the agent
|
|
177
|
-
* tile's, whose squircle corner reaches that far; a circle turns away sooner,
|
|
178
|
-
* and at the default 80px the badge's middle stood 8px off the picture, so
|
|
179
|
-
* the badge floated beside it rather than being pinned to it.
|
|
180
|
-
*/
|
|
181
|
-
.crewlet-image-upload--human .crewlet-image-upload__remove {
|
|
182
|
-
top: calc(var(--crewlet-image-upload-size) * 0.1464 - 12px);
|
|
183
|
-
right: calc(var(--crewlet-image-upload-size) * 0.1464 - 12px);
|
|
184
|
-
}
|
|
185
|
-
|
|
186
155
|
.crewlet-image-upload:hover .crewlet-image-upload__remove,
|
|
187
156
|
.crewlet-image-upload__remove:focus-visible {
|
|
188
157
|
opacity: 1;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
export { INLINE_EDITOR_LABELS, InlineEditor } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
3
|
-
import '../chunk-CYQBDZ6M.js';
|
|
1
|
+
export { INLINE_EDITOR_LABELS, InlineEditor } from '../chunk-O7KG4CXB.js';
|
|
2
|
+
import '../chunk-O55JQ7BE.js';
|
|
4
3
|
import '../chunk-EJNJMHQG.js';
|
|
5
4
|
import '../chunk-RE3FBGQQ.js';
|
|
6
|
-
import '../chunk-
|
|
5
|
+
import '../chunk-CYQBDZ6M.js';
|
|
6
|
+
import '../chunk-CMAZZY2I.js';
|
|
7
7
|
import '../chunk-DGXZ635L.js';
|
|
8
|
-
import '../chunk-OMV5W53A.js';
|
|
9
8
|
import '../chunk-XSPCITPN.js';
|
|
10
|
-
import '../chunk-
|
|
11
|
-
import '../chunk-
|
|
9
|
+
import '../chunk-OMV5W53A.js';
|
|
10
|
+
import '../chunk-TUEM2XIW.js';
|
|
11
|
+
import '../chunk-4ITETIGZ.js';
|
|
12
12
|
import '../chunk-UT6CW3C7.js';
|
|
13
13
|
import '../chunk-ODEQTPFM.js';
|
package/dist/Input/index.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export { FormField, FormRow, FormSection, Input, InputAffix, Label, ReadOnlyField, Textarea, foldLineBreaks } from '../chunk-
|
|
1
|
+
export { FormField, FormRow, FormSection, Input, InputAffix, Label, ReadOnlyField, Textarea, foldLineBreaks } from '../chunk-O7N6W52M.js';
|
|
2
2
|
import '../chunk-PGCLHYVP.js';
|
|
3
|
+
import '../chunk-TUEM2XIW.js';
|
|
4
|
+
import '../chunk-4ITETIGZ.js';
|
|
5
|
+
import '../chunk-UAUP6XGK.js';
|
|
3
6
|
import '../chunk-PQADV6P6.js';
|
|
4
7
|
import '../chunk-2G355KDJ.js';
|
|
5
|
-
import '../chunk-H5XTJ7GJ.js';
|
|
6
|
-
import '../chunk-UAUP6XGK.js';
|
|
7
|
-
import '../chunk-NUZHC6MM.js';
|
|
8
8
|
import '../chunk-UT6CW3C7.js';
|
|
9
9
|
import '../chunk-ODEQTPFM.js';
|
package/dist/Kbd/Kbd.d.ts
CHANGED
|
@@ -12,6 +12,15 @@ export declare function keyGlyph(key: string, apple: boolean): {
|
|
|
12
12
|
glyph: string;
|
|
13
13
|
spoken: string;
|
|
14
14
|
};
|
|
15
|
+
/**
|
|
16
|
+
* A shortcut in the spelling `aria-keyshortcuts` takes: `Control+K`, `H`.
|
|
17
|
+
*
|
|
18
|
+
* ONE SPELLING FOR EVERY CONTROL THAT NAMES ITS KEYS, beside the cap that
|
|
19
|
+
* draws them, so what a screen reader is told and what the tooltip shows are
|
|
20
|
+
* read off the same list. `Mod` is the platform's command key, as it is in
|
|
21
|
+
* the cap.
|
|
22
|
+
*/
|
|
23
|
+
export declare function ariaKeyshortcuts(keys: readonly string[], apple: boolean): string;
|
|
15
24
|
export interface KbdProps extends HTMLAttributes<HTMLElement> {
|
|
16
25
|
/** Draws the keycap quieter, for a hint that sits inside a field. */
|
|
17
26
|
subtle?: boolean | undefined;
|
package/dist/Kbd/index.d.ts
CHANGED
package/dist/Kbd/index.js
CHANGED
package/dist/Layer/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export { LAYER_GAP, LAYER_REPOSITION_EVENT, LayerHost, anchorGone, outsideBounds, placePopup, useLayerContainer, viewportBounds } from '../chunk-OMV5W53A.js';
|
|
2
|
-
export { focusables, isComposing, isModalLayerOpen, layerCount, useBodyScrollLock, useModalLayer, usePopupLayer } from '../chunk-
|
|
3
|
-
import '../chunk-
|
|
2
|
+
export { focusables, isComposing, isModalLayerOpen, layerCount, useBodyScrollLock, useModalLayer, usePopupLayer } from '../chunk-TUEM2XIW.js';
|
|
3
|
+
import '../chunk-4ITETIGZ.js';
|
|
4
4
|
import '../chunk-ODEQTPFM.js';
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import { type AnchorHTMLAttributes, type ReactNode } from 'react';
|
|
2
|
+
/** The state a linked object is in, as its bar and its status dot draw it. */
|
|
3
|
+
export type LinkCardTone = 'neutral' | 'info' | 'success' | 'warning' | 'danger';
|
|
4
|
+
export interface LinkCardSource {
|
|
5
|
+
/** The app the object belongs to: "Worklet", "Doclet", "Artifacts", "GitHub". */
|
|
6
|
+
name: string;
|
|
7
|
+
/** The app's small mark (a 12px product mark or glyph). Decorative: the name says it. */
|
|
8
|
+
mark: ReactNode;
|
|
9
|
+
}
|
|
10
|
+
export interface LinkCardOwner {
|
|
11
|
+
/** A small face (a 16px `Avatar`). Decorative: the name says who. */
|
|
12
|
+
face: ReactNode;
|
|
13
|
+
name: string;
|
|
14
|
+
}
|
|
15
|
+
export interface LinkCardProps extends Omit<AnchorHTMLAttributes<HTMLAnchorElement>, 'href' | 'title' | 'children' | 'target' | 'rel'> {
|
|
16
|
+
/**
|
|
17
|
+
* Where the preview leads. Only an address `safeHref` allows is followed
|
|
18
|
+
* (`http:`, `https:`, `mailto:` and the application's own `#/` routes);
|
|
19
|
+
* anything else, or none, draws the same preview with no link in it.
|
|
20
|
+
*/
|
|
21
|
+
href?: string | undefined;
|
|
22
|
+
/**
|
|
23
|
+
* Leaves the application: opens a new tab, withholds the referrer and the
|
|
24
|
+
* opener, and says so to a screen reader. An in-app route opens in place.
|
|
25
|
+
*/
|
|
26
|
+
external?: boolean | undefined;
|
|
27
|
+
/** Read after the title when `external`. */
|
|
28
|
+
newTabLabel?: string | undefined;
|
|
29
|
+
/** The full address, shown on hover over the preview. */
|
|
30
|
+
address?: string | undefined;
|
|
31
|
+
source: LinkCardSource;
|
|
32
|
+
/** The object's own code, before its title: "WRK-41", "#212". */
|
|
33
|
+
code?: string | undefined;
|
|
34
|
+
/** The object's title, two lines at most. */
|
|
35
|
+
title: string;
|
|
36
|
+
/** A quiet line of details under the title: "Due Friday · 3 subtasks". */
|
|
37
|
+
meta?: string | undefined;
|
|
38
|
+
/** The object's state in words: "In progress", "Merged". */
|
|
39
|
+
status?: string | undefined;
|
|
40
|
+
/** The state's tone, which colours the bar and the status dot. The words carry the meaning. */
|
|
41
|
+
statusTone?: LinkCardTone | undefined;
|
|
42
|
+
/** Who holds the object. */
|
|
43
|
+
owner?: LinkCardOwner | undefined;
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
* What a link points at, unfurled under the message that carried it.
|
|
47
|
+
*
|
|
48
|
+
* AN UNFURL, NOT A CARD. No box and no fill: a slim bar on the left in the
|
|
49
|
+
* status's line colour (a quiet grey with none), then a line naming the
|
|
50
|
+
* source app with its mark, the title, a quiet line of details, and the
|
|
51
|
+
* status and owner as words, a dot and a small face. It reads as part of the
|
|
52
|
+
* message rather than a card laid on it, and the same unfurl serves a room's
|
|
53
|
+
* list of everything shared in it.
|
|
54
|
+
*
|
|
55
|
+
* NAMED BY ITS TITLE. The whole preview is one link, so a reader moving
|
|
56
|
+
* through the links of a room hears "WRK-41 Fix the login redirect" and then
|
|
57
|
+
* where it is from and what state it is in as its description, rather than
|
|
58
|
+
* every line run together as one name.
|
|
59
|
+
*
|
|
60
|
+
* AN ADDRESS IS FOLLOWED ONLY WHEN IT IS SAFE. The href passes `safeHref`, so
|
|
61
|
+
* a `javascript:` or a bare relative address in a message never becomes a
|
|
62
|
+
* link; the preview is still drawn, as words.
|
|
63
|
+
*/
|
|
64
|
+
export declare function LinkCard({ href, external, newTabLabel, address, source, code, title, meta, status, statusTone, owner, className, ...rest }: LinkCardProps): import("react").JSX.Element;
|
|
@@ -0,0 +1,155 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* LinkCard: what a link points at, unfurled under its message.
|
|
3
|
+
*
|
|
4
|
+
* AN UNFURL, NOT A CARD. No box and no fill: a slim bar on the left in the
|
|
5
|
+
* status's line colour (the medium edge with none), and the lines beside it
|
|
6
|
+
* in the dashboard's own type (the title in the primary ink, the small meta
|
|
7
|
+
* under it), so a preview reads as part of its message. One width for every
|
|
8
|
+
* preview (ChatScale.css), so a stack of them shares both edges.
|
|
9
|
+
*/
|
|
10
|
+
.crewlet-link-card {
|
|
11
|
+
--crewlet-link-card-bar: 3px;
|
|
12
|
+
--crewlet-link-card-tone: var(--color-edge-medium);
|
|
13
|
+
--crewlet-link-card-dot: var(--color-text-tertiary);
|
|
14
|
+
position: relative;
|
|
15
|
+
display: flex;
|
|
16
|
+
flex-direction: column;
|
|
17
|
+
align-items: flex-start;
|
|
18
|
+
gap: 2px;
|
|
19
|
+
width: min(100%, var(--crewlet-chat-card));
|
|
20
|
+
box-sizing: border-box;
|
|
21
|
+
padding: 2px 0 2px calc(var(--crewlet-link-card-bar) + var(--spacing-3));
|
|
22
|
+
border-radius: var(--radius-xs);
|
|
23
|
+
color: var(--color-text-secondary);
|
|
24
|
+
font-size: var(--font-size-xs);
|
|
25
|
+
line-height: var(--font-line-height-snug);
|
|
26
|
+
text-decoration: none;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.crewlet-link-card::before {
|
|
30
|
+
content: '';
|
|
31
|
+
position: absolute;
|
|
32
|
+
inset-block: 0;
|
|
33
|
+
left: 0;
|
|
34
|
+
width: var(--crewlet-link-card-bar);
|
|
35
|
+
border-radius: var(--radius-pill);
|
|
36
|
+
background: var(--crewlet-link-card-tone);
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
/* The bar takes the tone's line colour; the status dot, small enough to
|
|
40
|
+
carry it, the tone's full colour, so the status reads in both modes. */
|
|
41
|
+
.crewlet-link-card--info {
|
|
42
|
+
--crewlet-link-card-tone: var(--color-feedback-info-line);
|
|
43
|
+
--crewlet-link-card-dot: var(--color-feedback-info);
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
.crewlet-link-card--success {
|
|
47
|
+
--crewlet-link-card-tone: var(--color-feedback-success-line);
|
|
48
|
+
--crewlet-link-card-dot: var(--color-feedback-success);
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.crewlet-link-card--warning {
|
|
52
|
+
--crewlet-link-card-tone: var(--color-feedback-warning-line);
|
|
53
|
+
--crewlet-link-card-dot: var(--color-feedback-warning);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
.crewlet-link-card--danger {
|
|
57
|
+
--crewlet-link-card-tone: var(--color-feedback-danger-line);
|
|
58
|
+
--crewlet-link-card-dot: var(--color-feedback-danger);
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
/* No box to ring over: the ring stands off the preview's words. */
|
|
62
|
+
.crewlet-link-card:focus-visible {
|
|
63
|
+
outline: 2px solid var(--color-focus);
|
|
64
|
+
outline-offset: 2px;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
/* The app it comes from: its mark and its name, small and quiet. */
|
|
68
|
+
.crewlet-link-card__source {
|
|
69
|
+
display: inline-flex;
|
|
70
|
+
align-items: center;
|
|
71
|
+
gap: var(--spacing-1);
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
.crewlet-link-card__mark,
|
|
75
|
+
.crewlet-link-card__face {
|
|
76
|
+
display: inline-flex;
|
|
77
|
+
flex: none;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
/* The title in the primary ink at the regular weight, two lines at most;
|
|
81
|
+
under the pointer it takes the accent ink and an underline. */
|
|
82
|
+
.crewlet-link-card__title {
|
|
83
|
+
display: -webkit-box;
|
|
84
|
+
max-width: 100%;
|
|
85
|
+
overflow: hidden;
|
|
86
|
+
-webkit-box-orient: vertical;
|
|
87
|
+
-webkit-line-clamp: 2;
|
|
88
|
+
color: var(--color-text-primary);
|
|
89
|
+
font-size: var(--font-size-compact);
|
|
90
|
+
font-weight: var(--font-weight-regular);
|
|
91
|
+
overflow-wrap: anywhere;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
/* THE TITLE ALONE IS UNDERLINED. The document's base underlines every link
|
|
95
|
+
under the pointer, and an underline on the link runs through all of its
|
|
96
|
+
lines (the source, the details, the owner), which no line inside can
|
|
97
|
+
take off again. */
|
|
98
|
+
a.crewlet-link-card:hover {
|
|
99
|
+
text-decoration: none;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
a.crewlet-link-card:hover .crewlet-link-card__title {
|
|
103
|
+
color: var(--color-brand-accent-ink);
|
|
104
|
+
text-decoration: underline;
|
|
105
|
+
text-underline-offset: 2px;
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
.crewlet-link-card__code {
|
|
109
|
+
color: var(--color-text-secondary);
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
.crewlet-link-card__meta {
|
|
113
|
+
max-width: 100%;
|
|
114
|
+
overflow: hidden;
|
|
115
|
+
text-overflow: ellipsis;
|
|
116
|
+
white-space: nowrap;
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
/* Status and owner as words on one line: a dot in the status's colour, and
|
|
120
|
+
a small face with the owner's name. */
|
|
121
|
+
.crewlet-link-card__fields {
|
|
122
|
+
display: flex;
|
|
123
|
+
flex-wrap: wrap;
|
|
124
|
+
align-items: center;
|
|
125
|
+
gap: var(--spacing-1) var(--spacing-3);
|
|
126
|
+
margin-top: 2px;
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
.crewlet-link-card__status,
|
|
130
|
+
.crewlet-link-card__owner {
|
|
131
|
+
display: inline-flex;
|
|
132
|
+
align-items: center;
|
|
133
|
+
gap: var(--spacing-1);
|
|
134
|
+
white-space: nowrap;
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
.crewlet-link-card__dot {
|
|
138
|
+
width: 6px;
|
|
139
|
+
height: 6px;
|
|
140
|
+
flex: none;
|
|
141
|
+
border-radius: var(--radius-circle);
|
|
142
|
+
background: var(--crewlet-link-card-dot);
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
/* FORCED COLORS drops the bar's and the dot's backgrounds; a border is the
|
|
146
|
+
one edge the mode keeps. */
|
|
147
|
+
@media (forced-colors: active) {
|
|
148
|
+
.crewlet-link-card::before {
|
|
149
|
+
border-left: var(--crewlet-link-card-bar) solid CanvasText;
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
.crewlet-link-card__dot {
|
|
153
|
+
border: 1px solid CanvasText;
|
|
154
|
+
}
|
|
155
|
+
}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
export { LinkInterstitial, openExternal } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
1
|
+
export { LinkInterstitial, openExternal } from '../chunk-6YBBQAEM.js';
|
|
2
|
+
import '../chunk-XXDB6KPV.js';
|
|
3
3
|
import '../chunk-PLL7ZJHY.js';
|
|
4
4
|
import '../chunk-BPCY7ZID.js';
|
|
5
|
-
import '../chunk-PQADV6P6.js';
|
|
6
5
|
import '../chunk-DGXZ635L.js';
|
|
7
|
-
import '../chunk-OMV5W53A.js';
|
|
8
6
|
import '../chunk-XSPCITPN.js';
|
|
9
|
-
import '../chunk-
|
|
7
|
+
import '../chunk-OMV5W53A.js';
|
|
8
|
+
import '../chunk-TUEM2XIW.js';
|
|
9
|
+
import '../chunk-4ITETIGZ.js';
|
|
10
10
|
import '../chunk-UAUP6XGK.js';
|
|
11
|
-
import '../chunk-
|
|
11
|
+
import '../chunk-PQADV6P6.js';
|
|
12
12
|
import '../chunk-UT6CW3C7.js';
|
|
13
13
|
import '../chunk-ODEQTPFM.js';
|
package/dist/ListInput/index.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
export { ListInput, withDraft } from '../chunk-
|
|
1
|
+
export { ListInput, withDraft } from '../chunk-KLAVEJIO.js';
|
|
2
2
|
import '../chunk-MPVMB2DV.js';
|
|
3
|
-
import '../chunk-
|
|
4
|
-
import '../chunk-FB3TCNQP.js';
|
|
3
|
+
import '../chunk-O7N6W52M.js';
|
|
5
4
|
import '../chunk-PGCLHYVP.js';
|
|
6
|
-
import '../chunk-
|
|
7
|
-
import '../chunk-2G355KDJ.js';
|
|
5
|
+
import '../chunk-CMAZZY2I.js';
|
|
8
6
|
import '../chunk-DGXZ635L.js';
|
|
9
|
-
import '../chunk-OMV5W53A.js';
|
|
10
7
|
import '../chunk-XSPCITPN.js';
|
|
11
|
-
import '../chunk-
|
|
8
|
+
import '../chunk-OMV5W53A.js';
|
|
9
|
+
import '../chunk-TUEM2XIW.js';
|
|
10
|
+
import '../chunk-4ITETIGZ.js';
|
|
12
11
|
import '../chunk-UAUP6XGK.js';
|
|
13
|
-
import '../chunk-
|
|
12
|
+
import '../chunk-PQADV6P6.js';
|
|
13
|
+
import '../chunk-2G355KDJ.js';
|
|
14
14
|
import '../chunk-UT6CW3C7.js';
|
|
15
15
|
import '../chunk-ODEQTPFM.js';
|
package/dist/Listbox/index.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { HIGHLIGHT_REST_MS, TYPE_AHEAD_WINDOW, useHighlightRest, useListbox, useOptionKeys } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
3
|
-
import '../chunk-
|
|
1
|
+
export { HIGHLIGHT_REST_MS, TYPE_AHEAD_WINDOW, useHighlightRest, useListbox, useOptionKeys } from '../chunk-YGRTX67J.js';
|
|
2
|
+
import '../chunk-TUEM2XIW.js';
|
|
3
|
+
import '../chunk-4ITETIGZ.js';
|
package/dist/LogoSlot/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export { LogoSlot, LogoSlotGroup } from '../chunk-
|
|
1
|
+
export { LogoSlot, LogoSlotGroup } from '../chunk-6SFDL4QH.js';
|
|
2
2
|
import '../chunk-KQWJWTED.js';
|
|
3
|
-
import '../chunk-
|
|
3
|
+
import '../chunk-2ZSCHQOA.js';
|
|
4
|
+
import '../chunk-LBGKLYBY.js';
|
|
4
5
|
import '../chunk-7W3LYIOC.js';
|
|
5
|
-
import '../chunk-VERJCAJ4.js';
|
|
6
6
|
import '../chunk-CYQBDZ6M.js';
|
|
7
7
|
import '../chunk-DGXZ635L.js';
|
|
8
8
|
import '../chunk-XSPCITPN.js';
|
|
@@ -16,6 +16,14 @@
|
|
|
16
16
|
/** The formats the bar offers, in the order it draws them. */
|
|
17
17
|
export declare const MARKDOWN_FORMATS: readonly ["heading2", "heading3", "bold", "italic", "code", "bulletList", "numberedList", "checklist", "table"];
|
|
18
18
|
export type MarkdownFormat = (typeof MARKDOWN_FORMATS)[number];
|
|
19
|
+
/**
|
|
20
|
+
* Formats `formatMarkdown` applies that the editor's own bar does not draw,
|
|
21
|
+
* for a bar of another surface's own (a conversation's composer): a
|
|
22
|
+
* strikethrough, a quote and a link. Kept apart from `MarkdownFormat` so a
|
|
23
|
+
* map from every format the bar draws to its label or glyph stays complete.
|
|
24
|
+
*/
|
|
25
|
+
export declare const MARKDOWN_TEXT_FORMATS: readonly ["strikethrough", "quote", "link"];
|
|
26
|
+
export type MarkdownTextFormat = (typeof MARKDOWN_TEXT_FORMATS)[number];
|
|
19
27
|
/** A selection in the source, as the textarea reports it. `start === end` is a caret. */
|
|
20
28
|
export interface MarkdownSelection {
|
|
21
29
|
start: number;
|
|
@@ -29,6 +37,6 @@ export interface MarkdownEdit {
|
|
|
29
37
|
/** Replaces the selection with `text` and leaves the caret after it. */
|
|
30
38
|
export declare function insertMarkdown(value: string, { start, end }: MarkdownSelection, text: string): MarkdownEdit;
|
|
31
39
|
/** The format applied to the selection, or taken off it when it is already there. */
|
|
32
|
-
export declare function formatMarkdown(value: string, selection: MarkdownSelection, format: MarkdownFormat): MarkdownEdit;
|
|
40
|
+
export declare function formatMarkdown(value: string, selection: MarkdownSelection, format: MarkdownFormat | MarkdownTextFormat): MarkdownEdit;
|
|
33
41
|
/** How many words a body holds, counted the way a writer would. */
|
|
34
42
|
export declare function markdownWords(value: string): number;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import './MarkdownEditor.css';
|
|
2
2
|
export { MarkdownEditor } from './MarkdownEditor.js';
|
|
3
3
|
export type { MarkdownEditorApi, MarkdownEditorLabelOverrides, MarkdownEditorLabels, MarkdownEditorMode, MarkdownEditorProps, } from './MarkdownEditor.js';
|
|
4
|
-
export { MARKDOWN_FORMATS, formatMarkdown, insertMarkdown, markdownWords } from './format.js';
|
|
5
|
-
export type { MarkdownEdit, MarkdownFormat, MarkdownSelection } from './format.js';
|
|
4
|
+
export { MARKDOWN_FORMATS, MARKDOWN_TEXT_FORMATS, formatMarkdown, insertMarkdown, markdownWords } from './format.js';
|
|
5
|
+
export type { MarkdownEdit, MarkdownFormat, MarkdownSelection, MarkdownTextFormat } from './format.js';
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
export { MARKDOWN_FORMATS, MarkdownEditor, formatMarkdown, insertMarkdown, markdownWords } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
1
|
+
export { MARKDOWN_FORMATS, MARKDOWN_TEXT_FORMATS, MarkdownEditor, formatMarkdown, insertMarkdown, markdownWords } from '../chunk-2KJCUCVE.js';
|
|
2
|
+
import '../chunk-NXFTCPF6.js';
|
|
3
3
|
import '../chunk-36WK24AI.js';
|
|
4
|
-
import '../chunk-
|
|
5
|
-
import '../chunk-
|
|
4
|
+
import '../chunk-GZVAZ3LL.js';
|
|
5
|
+
import '../chunk-HCUECVZ3.js';
|
|
6
6
|
import '../chunk-EGMQURBR.js';
|
|
7
7
|
import '../chunk-CYQBDZ6M.js';
|
|
8
|
-
import '../chunk-
|
|
9
|
-
import '../chunk-OQG4P5KU.js';
|
|
8
|
+
import '../chunk-YOJAGKTS.js';
|
|
10
9
|
import '../chunk-DGXZ635L.js';
|
|
10
|
+
import '../chunk-XSPCITPN.js';
|
|
11
11
|
import '../chunk-OMV5W53A.js';
|
|
12
12
|
import '../chunk-2YTOOH3A.js';
|
|
13
|
-
import '../chunk-
|
|
14
|
-
import '../chunk-
|
|
13
|
+
import '../chunk-TUEM2XIW.js';
|
|
14
|
+
import '../chunk-4ITETIGZ.js';
|
|
15
15
|
import '../chunk-UAUP6XGK.js';
|
|
16
|
-
import '../chunk-
|
|
16
|
+
import '../chunk-D2GT3CR4.js';
|
|
17
17
|
import '../chunk-UT6CW3C7.js';
|
|
18
18
|
import '../chunk-ODEQTPFM.js';
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import type { ButtonHTMLAttributes, ReactNode } from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* Who a mention names. `other`: a person, an agent or a room, in the light
|
|
4
|
+
* blue of the info tone, apart from a link (the accent). `self`: the reader.
|
|
5
|
+
* `everyone`: the whole room ("@channel"), which names the reader too. Both
|
|
6
|
+
* of those take the warning tone the reader looks for.
|
|
7
|
+
*/
|
|
8
|
+
export type MentionChipTone = 'other' | 'self' | 'everyone';
|
|
9
|
+
export interface MentionChipProps extends Omit<ButtonHTMLAttributes<HTMLButtonElement>, 'children' | 'type' | 'onClick'> {
|
|
10
|
+
/** The words as written in the message: "@Product Manager", "#engineering", "@channel". */
|
|
11
|
+
children: ReactNode;
|
|
12
|
+
/** Who it names, `other` by default. */
|
|
13
|
+
tone?: MentionChipTone | undefined;
|
|
14
|
+
/** Opens what it names (a profile, a room). Without it the chip is text, as "@channel" is. */
|
|
15
|
+
onPress?: (() => void) | undefined;
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* A person, an agent or a room named in a message's words, drawn as a chip
|
|
19
|
+
* in the line: a soft fill and the ink of its tone, at the words' own size
|
|
20
|
+
* and the regular weight. With `onPress` it is a button that opens what it
|
|
21
|
+
* names; without, it is text.
|
|
22
|
+
*
|
|
23
|
+
* A chip that wraps keeps its fill and its corners on every line it spans.
|
|
24
|
+
*/
|
|
25
|
+
export declare function MentionChip({ children, tone, onPress, className, ...rest }: MentionChipProps): import("react").JSX.Element;
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* A mention in a message's words: a chip in the line, in the info tone's
|
|
3
|
+
* light blue, or the warning tone where it names the reader.
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
.crewlet-mention-chip {
|
|
7
|
+
display: inline;
|
|
8
|
+
padding: 0 2px;
|
|
9
|
+
border: 0;
|
|
10
|
+
border-radius: var(--radius-xs);
|
|
11
|
+
background: var(--color-feedback-info-soft);
|
|
12
|
+
color: var(--color-feedback-info-ink);
|
|
13
|
+
font: inherit;
|
|
14
|
+
font-weight: var(--font-weight-regular);
|
|
15
|
+
-webkit-box-decoration-break: clone;
|
|
16
|
+
box-decoration-break: clone;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.crewlet-mention-chip--self,
|
|
20
|
+
.crewlet-mention-chip--everyone {
|
|
21
|
+
background: var(--color-feedback-warning-soft);
|
|
22
|
+
color: var(--color-feedback-warning-ink);
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
button.crewlet-mention-chip {
|
|
26
|
+
cursor: pointer;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
/* Under the pointer the fill takes the tone's next strength, its line step. */
|
|
30
|
+
button.crewlet-mention-chip:hover {
|
|
31
|
+
background: var(--color-feedback-info-line);
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
button.crewlet-mention-chip--self:hover,
|
|
35
|
+
button.crewlet-mention-chip--everyone:hover {
|
|
36
|
+
background: var(--color-feedback-warning-line);
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
button.crewlet-mention-chip:focus-visible {
|
|
40
|
+
outline: 2px solid var(--color-focus);
|
|
41
|
+
outline-offset: 1px;
|
|
42
|
+
}
|