@crewlethq/ui 0.102.0 → 0.102.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/Accordion/index.js +4 -4
- package/dist/ActivityLine/index.js +3 -3
- package/dist/AddPill/index.js +2 -2
- package/dist/AgentHandoffPanel/index.js +18 -17
- package/dist/Announcer/index.js +2 -2
- package/dist/AppShell/index.js +8 -8
- package/dist/{AppShell-24IM2GC3.css → AppShell-S5FHXWNS.css} +4 -0
- package/dist/ArrangeFrame/index.js +6 -6
- package/dist/ArrangeGroup/index.js +3 -3
- package/dist/ArrangeList/index.js +12 -11
- package/dist/ArtifactBar/index.js +11 -11
- package/dist/ArtifactCard/index.js +19 -16
- package/dist/ArtifactKindIllustration/index.js +2 -2
- package/dist/ArtifactMakeRow/index.js +2 -2
- package/dist/ArtifactNameCell/index.js +2 -2
- package/dist/ArtifactPanel/index.js +6 -6
- package/dist/AttachmentChip/index.js +2 -2
- package/dist/AttentionList/index.js +9 -7
- package/dist/AuthLayout/index.js +6 -4
- package/dist/Avatar/AvatarStack.d.ts +3 -5
- package/dist/Avatar/index.js +1 -1
- package/dist/AvatarPicker/index.js +12 -12
- package/dist/{AvatarStack-KEHD3GWY.css → AvatarStack-EQZZJZ3V.css} +6 -0
- package/dist/BrandSample/index.js +1 -1
- package/dist/{BrandSample-G5V7GKR2.css → BrandSample-WCI3IS25.css} +4 -1
- package/dist/Breadcrumb/index.js +3 -1
- package/dist/{Breadcrumb-55VBXIN4.css → Breadcrumb-4RWP72R6.css} +14 -4
- package/dist/BriefCard/index.js +11 -9
- package/dist/Button/index.js +4 -4
- package/dist/{Button-GDEBGBX6.css → Button-SQVYZFKM.css} +17 -5
- package/dist/Canvas/index.js +7 -7
- package/dist/CanvasBoard/index.js +10 -10
- package/dist/CanvasToolbar/index.js +9 -9
- package/dist/Card/index.js +5 -3
- package/dist/ChangeList/index.js +6 -6
- package/dist/ChangeMark/index.js +3 -3
- package/dist/CharacterCount/index.js +3 -3
- package/dist/Charts/StackedColumns.d.ts +1 -1
- package/dist/Charts/index.js +4 -2
- package/dist/ChatMessage/index.js +5 -5
- package/dist/ChatThread/index.js +5 -5
- package/dist/CheckGrid/index.js +10 -9
- package/dist/Checkbox/index.js +9 -8
- package/dist/ChipField/index.js +4 -4
- package/dist/ChoiceButtons/index.js +2 -2
- package/dist/ChoiceCards/index.js +1 -1
- package/dist/{ChoiceCards-KHJW2FKO.css → ChoiceCards-SCVZ5FQL.css} +7 -0
- package/dist/CodeBlock/index.js +7 -7
- package/dist/ColorField/index.js +9 -8
- package/dist/ColorSwatch/index.js +7 -7
- package/dist/{ColorSwatch-V4DA4TK5.css → ColorSwatch-HBNYO6EK.css} +3 -1
- package/dist/Combobox/index.js +10 -9
- package/dist/{Combobox-GBCWXWEB.css → Combobox-F5VEJIAO.css} +7 -0
- package/dist/CommandPalette/index.js +14 -13
- package/dist/CommentThread/index.js +16 -15
- package/dist/CompactNav/index.js +4 -4
- package/dist/Composer/index.js +10 -9
- package/dist/ConfirmField/index.js +9 -8
- package/dist/ConflictNote/index.js +5 -5
- package/dist/ContrastBadge/index.js +2 -2
- package/dist/ContrastHelp/index.js +7 -7
- package/dist/Copyable/index.js +6 -6
- package/dist/Count/index.js +2 -2
- package/dist/DataGrid/index.js +13 -12
- package/dist/DataTable/index.js +14 -13
- package/dist/DataView/index.js +23 -22
- package/dist/DatasetSource/index.js +4 -4
- package/dist/DateTimePicker/index.js +7 -7
- package/dist/DeepWorkCard/index.js +15 -13
- package/dist/DeliveryReceipt/DeliveryReceipt.d.ts +13 -2
- package/dist/DeliveryReceipt/index.js +2 -2
- package/dist/{DeliveryReceipt-RMZW2DMT.css → DeliveryReceipt-G55ILD6O.css} +21 -0
- package/dist/DiffList/index.js +2 -2
- package/dist/DiffView/index.js +2 -2
- package/dist/Disclosure/index.js +4 -4
- package/dist/DocTabsEditor/index.js +12 -11
- package/dist/DownloadButton/index.js +5 -5
- package/dist/EditingStatus/index.js +4 -4
- package/dist/{Editor-YHHCK5SJ.js → Editor-EWIMNQUZ.js} +12 -11
- package/dist/EmojiPicker/emoji.d.ts +16 -0
- package/dist/EmojiPicker/index.d.ts +1 -1
- package/dist/EmojiPicker/index.js +10 -9
- package/dist/EmptyValue/index.js +2 -2
- package/dist/EntityChip/index.js +1 -1
- package/dist/EntityList/index.js +7 -5
- package/dist/ErrorBoundary/index.js +5 -5
- package/dist/FactList/index.js +4 -4
- package/dist/FileDrop/index.js +5 -5
- package/dist/FileList/index.js +2 -2
- package/dist/FilterChip/index.js +2 -2
- package/dist/FilterPill/index.js +5 -5
- package/dist/FindingList/index.js +2 -2
- package/dist/FolderTile/index.js +6 -4
- package/dist/FollowBanner/index.js +5 -5
- package/dist/HuePicker/index.js +10 -10
- package/dist/IconButton/index.js +4 -4
- package/dist/ImageUpload/index.js +1 -1
- package/dist/InboxList/InboxList.d.ts +7 -1
- package/dist/InboxList/index.js +2 -2
- package/dist/{InboxList-NVPIL3WU.css → InboxList-G627C2OQ.css} +10 -0
- package/dist/InlineEditor/index.js +9 -9
- package/dist/InlineRef/index.js +1 -1
- package/dist/{InlineRef-ZF42HAPI.css → InlineRef-POVPCQZU.css} +8 -0
- package/dist/Input/fieldContext.d.ts +8 -0
- package/dist/Input/index.js +8 -7
- package/dist/{Input-WSMB7JG2.css → Input-YVCNNTYT.css} +13 -8
- package/dist/Kbd/index.js +2 -2
- package/dist/KeyValueRows/index.js +10 -9
- package/dist/Layer/index.d.ts +1 -1
- package/dist/Layer/index.js +1 -1
- package/dist/Layer/stack.d.ts +10 -0
- package/dist/Link/index.js +2 -2
- package/dist/LinkCard/index.js +2 -2
- package/dist/LinkInterstitial/index.js +7 -7
- package/dist/List/index.js +2 -2
- package/dist/ListInput/index.js +12 -11
- package/dist/{ListInput-4ISMGZDQ.css → ListInput-X2GEG2X7.css} +6 -4
- package/dist/Listbox/index.js +2 -2
- package/dist/LockedLabel/index.js +2 -2
- package/dist/LogoSlot/index.js +7 -7
- package/dist/{LogoSlot-APCMGE6S.css → LogoSlot-LRHO4R54.css} +7 -2
- package/dist/MarkdownEditor/index.js +11 -11
- package/dist/MemberPicker/index.js +10 -9
- package/dist/MentionMenu/index.js +4 -2
- package/dist/Menu/index.js +6 -6
- package/dist/{Menu-I4SNXHOT.css → Menu-7AARCFX5.css} +3 -1
- package/dist/MergeConflicts/index.js +10 -10
- package/dist/MessageActions/index.js +12 -11
- package/dist/Meter/index.js +2 -2
- package/dist/{Meter-ZZRFUEOH.css → Meter-BMK7XCCF.css} +6 -0
- package/dist/Modal/index.js +6 -6
- package/dist/NewItemsNotice/index.js +3 -3
- package/dist/ObjectHeader/ObjectHeader.d.ts +0 -13
- package/dist/ObjectHeader/index.js +5 -3
- package/dist/{ObjectHeader-VKQSEJDN.css → ObjectHeader-RGWE3ULA.css} +28 -14
- package/dist/OpenInAppCard/index.js +11 -9
- package/dist/OrgLabel/index.js +2 -2
- package/dist/{OrgLabel-7UJKEDT3.css → OrgLabel-AZLKOG72.css} +15 -1
- package/dist/OrgNode/index.js +3 -3
- package/dist/OrgTable/index.js +19 -18
- package/dist/PeekRail/index.js +6 -6
- package/dist/PeopleRail/index.js +7 -7
- package/dist/PersonRow/index.js +3 -1
- package/dist/{PersonRow-ZR6US2QJ.css → PersonRow-3HOWUD6H.css} +13 -0
- package/dist/PinTile/index.js +5 -5
- package/dist/Popover/index.js +2 -2
- package/dist/PresenceStack/index.js +3 -3
- package/dist/PresenterView/index.js +8 -8
- package/dist/Principal/index.js +1 -1
- package/dist/PrincipalPicker/index.js +12 -11
- package/dist/PropertyList/index.js +7 -5
- package/dist/ProposalCard/index.js +21 -18
- package/dist/RailList/index.js +12 -11
- package/dist/ReactionBar/index.js +11 -10
- package/dist/ReceiptStrip/index.js +5 -5
- package/dist/RecordChip/index.js +3 -3
- package/dist/RefusalCard/index.js +7 -5
- package/dist/RelatedRow/index.js +6 -6
- package/dist/RelativeTime/index.js +3 -3
- package/dist/Reorder/index.js +3 -3
- package/dist/ResultTableCard/index.js +12 -10
- package/dist/RichEditor/index.js +6 -6
- package/dist/RoomRow/index.js +3 -3
- package/dist/{RoomRow-3OTEY6GK.css → RoomRow-O53P7Z5I.css} +8 -3
- package/dist/RunChip/index.js +6 -6
- package/dist/SandboxedFrame/index.js +6 -6
- package/dist/SectionFrame/index.js +4 -4
- package/dist/SegmentedControl/index.js +9 -9
- package/dist/Select/Select.d.ts +6 -0
- package/dist/Select/index.js +5 -3
- package/dist/SelectionBar/index.js +7 -7
- package/dist/SendButton/index.js +5 -5
- package/dist/SetupWizard/index.js +6 -6
- package/dist/ShareDialog/index.js +12 -11
- package/dist/SheetColumnEditor/index.js +19 -18
- package/dist/SheetGrid/SheetGrid.d.ts +13 -2
- package/dist/SheetGrid/cells.d.ts +23 -0
- package/dist/SheetGrid/index.d.ts +1 -1
- package/dist/SheetGrid/index.js +12 -12
- package/dist/{SheetGrid-QGQAYDEY.css → SheetGrid-JMTZCMWE.css} +23 -0
- package/dist/Shortcut/index.js +2 -2
- package/dist/SidePanel/index.js +5 -5
- package/dist/SidebarNav/index.js +3 -3
- package/dist/Skeleton/Skeleton.d.ts +6 -0
- package/dist/Skeleton/index.js +2 -2
- package/dist/{Skeleton-GIXV3KK5.css → Skeleton-DVJ4IMWA.css} +7 -3
- package/dist/SlideCompare/index.js +6 -6
- package/dist/SlideFilmstrip/index.js +11 -11
- package/dist/SlideGrid/index.js +3 -3
- package/dist/SlideNav/index.js +5 -5
- package/dist/SlideStage/index.js +2 -2
- package/dist/SourceEditor/index.js +2 -2
- package/dist/StatCard/index.js +2 -2
- package/dist/StatusCard/index.js +6 -4
- package/dist/StatusLegend/index.js +2 -2
- package/dist/StatusLine/index.js +4 -4
- package/dist/Stepper/index.js +2 -2
- package/dist/{Stepper-S4RC4OZ3.css → Stepper-BRWYNQAC.css} +3 -1
- package/dist/SuggestionRow/index.js +2 -2
- package/dist/Switch/index.js +2 -2
- package/dist/Switcher/index.js +16 -13
- package/dist/{Switcher-ZGRTTVCS.css → Switcher-MWHFBIWS.css} +9 -1
- package/dist/Table/index.js +2 -2
- package/dist/TableCells/index.js +7 -7
- package/dist/Tabs/index.js +8 -8
- package/dist/TagGroup/index.js +3 -3
- package/dist/TagsInput/index.js +7 -7
- package/dist/{TagsInput-MZXEHKJD.css → TagsInput-5GZTMIQ5.css} +2 -0
- package/dist/ThemeGallery/index.js +3 -3
- package/dist/ThemeSwitcher/index.js +10 -10
- package/dist/ThemeToggle/index.js +5 -5
- package/dist/ThinkingIndicator/index.js +2 -2
- package/dist/ThreadSummary/index.js +2 -2
- package/dist/TimeRangePicker/index.js +15 -14
- package/dist/TimeWindowPicker/index.js +13 -12
- package/dist/Timeline/index.js +2 -2
- package/dist/Toaster/index.js +5 -3
- package/dist/Toolbar/index.js +2 -2
- package/dist/Tooltip/index.js +2 -2
- package/dist/TreeCanvas/index.js +8 -8
- package/dist/TreeGrid/index.js +15 -14
- package/dist/ValueField/index.js +12 -11
- package/dist/VersionCompare/index.js +11 -11
- package/dist/VersionTimeline/index.js +9 -9
- package/dist/VisuallyHidden/index.js +1 -1
- package/dist/{VisuallyHidden-AOEXU5EB.css → VisuallyHidden-OUYVMKEH.css} +5 -0
- package/dist/WidgetFrame/index.js +5 -5
- package/dist/{chunk-MIQNKO2R.js → chunk-25CL7J4J.js} +7 -2
- package/dist/{chunk-P667Y6NQ.js → chunk-2ES6LAV2.js} +1 -1
- package/dist/{chunk-C34CKBKF.js → chunk-2ONUTSER.js} +1 -1
- package/dist/{chunk-UUDQEDHQ.js → chunk-2SWDUJCT.js} +2 -2
- package/dist/{chunk-G5IZGAWS.js → chunk-2YADDY4A.js} +1 -1
- package/dist/{chunk-U2IQNDDR.js → chunk-3C3TSWRR.js} +6 -2
- package/dist/{chunk-KN4YCWWO.js → chunk-3EXGTJQU.js} +5 -5
- package/dist/{chunk-GDYZPBLI.js → chunk-3IYS6YNX.js} +2 -2
- package/dist/{chunk-7L6JJ7VJ.js → chunk-3Q75RQOT.js} +7 -7
- package/dist/{chunk-E2QPZGLG.js → chunk-3QEAANRP.js} +1 -1
- package/dist/{chunk-LTD7KLOU.js → chunk-3SCASXQH.js} +1 -1
- package/dist/{chunk-EW4ULFHK.js → chunk-3YOLD7WG.js} +1 -1
- package/dist/{chunk-GBBRSZ2J.js → chunk-46BY2WPZ.js} +3 -3
- package/dist/{chunk-XHQ2JJCB.js → chunk-4EZOLSUO.js} +2 -2
- package/dist/{chunk-AC255TMQ.js → chunk-4ORJDTMS.js} +6 -5
- package/dist/{chunk-BVML4UVB.js → chunk-4S2AN5W4.js} +1 -1
- package/dist/{chunk-L72GPZ56.js → chunk-4S2GS7EL.js} +1 -1
- package/dist/{chunk-QZKGFBAR.js → chunk-4SKN3BLH.js} +1 -1
- package/dist/{chunk-4TAMRAUQ.js → chunk-4VKFZZHS.js} +1 -1
- package/dist/{chunk-2WQEHXXB.js → chunk-5AORKQ5Q.js} +1 -1
- package/dist/{chunk-3JAGO633.js → chunk-5DYV5Q67.js} +1 -1
- package/dist/{chunk-HDEKHP65.js → chunk-5EOOS2VG.js} +1 -1
- package/dist/{chunk-E2XDYCFO.js → chunk-5KAADF4G.js} +4 -18
- package/dist/{chunk-3QKJV3KE.js → chunk-5LIWAA7S.js} +1 -1
- package/dist/{chunk-DVRECWCB.js → chunk-5W3EYO5Q.js} +1 -1
- package/dist/{chunk-TKAERQQF.js → chunk-67T6TIGJ.js} +2 -2
- package/dist/{chunk-QND44ROZ.js → chunk-6KYD6DOL.js} +2 -2
- package/dist/{chunk-IA3NL54W.js → chunk-6NGLJRSJ.js} +4 -4
- package/dist/{chunk-MTKHMGJH.js → chunk-6QOW3WT2.js} +5 -5
- package/dist/{chunk-D4MMW2NF.js → chunk-6YQRCPJ3.js} +65 -47
- package/dist/{chunk-CZKEABMI.js → chunk-6YYRFGXO.js} +1 -1
- package/dist/{chunk-6M2N6ETA.js → chunk-73L3774J.js} +1 -1
- package/dist/{chunk-6V465OCU.js → chunk-7EAZGL5B.js} +1 -1
- package/dist/{chunk-4BEMS6Q7.js → chunk-7L75YB57.js} +2 -2
- package/dist/{chunk-O6EV6GKI.js → chunk-7O53SWKI.js} +1 -1
- package/dist/{chunk-PAJAGGSE.js → chunk-7YPP6WAT.js} +4 -4
- package/dist/{chunk-JXDJVUWN.js → chunk-7ZXUUDWL.js} +1 -1
- package/dist/{chunk-PMO6W5NE.js → chunk-AHTIZ7RU.js} +5 -5
- package/dist/{chunk-RVSNBUIU.js → chunk-AHW3K3SH.js} +1 -1
- package/dist/{chunk-HI47TXSW.js → chunk-AJCPRBYJ.js} +2 -2
- package/dist/{chunk-M6G7XLLP.js → chunk-AR4K6L4X.js} +2 -2
- package/dist/{chunk-EMXUREKE.js → chunk-ASU2MEI3.js} +5 -5
- package/dist/{chunk-TAWPKNNZ.js → chunk-AV5NWTYU.js} +3 -3
- package/dist/{chunk-CTNQOSQF.js → chunk-AWXCILIT.js} +3 -3
- package/dist/{chunk-JK6WLRYP.js → chunk-B7WZADFX.js} +16 -8
- package/dist/{chunk-RSI6EJSH.js → chunk-BINHWCBP.js} +7 -7
- package/dist/{chunk-U4JZ2EXG.js → chunk-BRUJ3XXH.js} +3 -3
- package/dist/{chunk-NGJWRR7E.js → chunk-C47JZ6HR.js} +44 -9
- package/dist/{chunk-DBH7ORCH.js → chunk-CJXDCURD.js} +2 -2
- package/dist/{chunk-BN5FEJL5.js → chunk-CVXQWNSM.js} +1 -1
- package/dist/{chunk-NBOHNPZB.js → chunk-CYPG4DXC.js} +1 -1
- package/dist/{chunk-NAHA62WD.js → chunk-D5O64CVE.js} +1 -1
- package/dist/{chunk-44GFQ4O3.js → chunk-DEVO45TG.js} +1 -1
- package/dist/{chunk-56ES76ST.js → chunk-DKFBBOVE.js} +13 -10
- package/dist/{chunk-ZKC3QFDX.js → chunk-DVCTHAIF.js} +3 -3
- package/dist/{chunk-VKNZQB2G.js → chunk-DVZIMJND.js} +8 -2
- package/dist/{chunk-3OIVYHAA.js → chunk-DX7ZHO47.js} +1 -1
- package/dist/{chunk-TUEM2XIW.js → chunk-EDPMHSLZ.js} +24 -2
- package/dist/{chunk-J3QFTG4B.js → chunk-EGJL5OGF.js} +6 -6
- package/dist/{chunk-LIDKF3LL.js → chunk-EHD4CEHK.js} +2 -2
- package/dist/{chunk-XRKBPNX4.js → chunk-EHZP27H5.js} +3 -3
- package/dist/{chunk-OSU4ELU3.js → chunk-F7K3O742.js} +3 -3
- package/dist/{chunk-CFCJ3P7B.js → chunk-FHPHRIPO.js} +1 -1
- package/dist/{chunk-JZADK2FT.js → chunk-FK6CH46C.js} +9 -9
- package/dist/{chunk-CQIODINH.js → chunk-FNKOULI4.js} +5 -5
- package/dist/{chunk-UEOEBOBR.js → chunk-FOUIZS7Q.js} +1 -1
- package/dist/{chunk-5WRWBDML.js → chunk-FQBSYMEW.js} +1 -1
- package/dist/{chunk-JGDCVLD4.js → chunk-FXPBUMPL.js} +4 -2
- package/dist/{chunk-EJNJMHQG.js → chunk-GBKBME7Q.js} +1 -1
- package/dist/{chunk-MTDISM7I.js → chunk-GZSEIFWB.js} +1 -1
- package/dist/{chunk-5JGEEUWQ.js → chunk-H5XYPVZ7.js} +5 -4
- package/dist/{chunk-6FVTKYH6.js → chunk-HWTTVN6T.js} +2 -2
- package/dist/{chunk-YS4PWTNL.js → chunk-I2FNTMX2.js} +1 -1
- package/dist/{chunk-AEUZU5SA.js → chunk-I476JLNZ.js} +3 -3
- package/dist/{chunk-O3MYBNRO.js → chunk-IBMZNQ34.js} +2 -2
- package/dist/{chunk-QPRTTTUN.js → chunk-IIM6UAJJ.js} +3 -3
- package/dist/{chunk-AVMQMY66.js → chunk-IJCMOAM3.js} +1 -1
- package/dist/{chunk-2LLMUJFB.js → chunk-INREAF4Z.js} +3 -3
- package/dist/{chunk-M6EVTMTK.js → chunk-IOLOWL33.js} +4 -4
- package/dist/{chunk-PJMDZEWY.js → chunk-IQELH56T.js} +1 -1
- package/dist/{chunk-Y7PVLEZJ.js → chunk-IR3OWPAZ.js} +1 -1
- package/dist/{chunk-MOP4D5HF.js → chunk-IS5EUMJW.js} +6 -6
- package/dist/{chunk-AEFR4M2W.js → chunk-J76ZZ6U2.js} +1 -1
- package/dist/{chunk-LYVWOAUN.js → chunk-JDHZH3JR.js} +1 -1
- package/dist/{chunk-PF6X74C5.js → chunk-JEHW3FEB.js} +14 -14
- package/dist/{chunk-MJ73YBP2.js → chunk-JFI5YB3R.js} +2 -2
- package/dist/{chunk-SF6FUU42.js → chunk-JGP5MUVT.js} +2 -2
- package/dist/{chunk-HU5PAZMU.js → chunk-JHVNR4PF.js} +4 -4
- package/dist/{chunk-WF2UJYCT.js → chunk-JK42RK54.js} +2 -2
- package/dist/chunk-JLKO7PSK.js +10 -0
- package/dist/{chunk-IAR2ULSK.js → chunk-JUZOMYOZ.js} +81 -54
- package/dist/{chunk-2PB5D4TI.js → chunk-JZI7SIM6.js} +1 -1
- package/dist/{chunk-BC4H2EMM.js → chunk-K5L7FJTH.js} +3 -3
- package/dist/{chunk-LZNPL266.js → chunk-K6PKXCR2.js} +1 -1
- package/dist/{chunk-33632WEN.js → chunk-KAHTBXQ7.js} +5 -5
- package/dist/{chunk-63NRTOGO.js → chunk-KPB4ZUBI.js} +3 -3
- package/dist/{chunk-7BDBO2NP.js → chunk-KRAZYXAA.js} +2 -2
- package/dist/{chunk-OU6ZSWEJ.js → chunk-KRF3GQ63.js} +1 -1
- package/dist/{chunk-YGRTX67J.js → chunk-KW7T23RT.js} +1 -1
- package/dist/{chunk-4OHBHPIB.js → chunk-L3G2YQE3.js} +1 -1
- package/dist/{chunk-IWZG7NPV.js → chunk-L6HUVA33.js} +1 -1
- package/dist/{chunk-SJP7WYIV.js → chunk-L6SYLG3F.js} +3 -3
- package/dist/{chunk-EMDRNB23.js → chunk-LDFVJSKZ.js} +3 -3
- package/dist/{chunk-MO5YV3XV.js → chunk-LH2LQHOX.js} +6 -6
- package/dist/{chunk-M52HLPOG.js → chunk-LHCEPSWP.js} +3 -2
- package/dist/{chunk-52UBOSNQ.js → chunk-LQZMCR2K.js} +2 -2
- package/dist/{chunk-BZUBONYA.js → chunk-LXOITCXH.js} +4 -4
- package/dist/{chunk-YEQTGPCE.js → chunk-MAWE3NCV.js} +7 -7
- package/dist/{chunk-IDBGDMQS.js → chunk-MIIB3ZS6.js} +1 -1
- package/dist/{chunk-YWVT7B6N.js → chunk-MNTN5ESE.js} +10 -7
- package/dist/{chunk-F7HZYTZT.js → chunk-MTIW75QU.js} +1 -1
- package/dist/{chunk-RQFRRPV6.js → chunk-MXOT2CWL.js} +2 -2
- package/dist/{chunk-7U6PK242.js → chunk-N3WS3XDV.js} +1 -1
- package/dist/{chunk-7IW4BVZF.js → chunk-N764LLIQ.js} +1 -1
- package/dist/{chunk-463DNZXI.js → chunk-NCQC5Y4E.js} +1 -1
- package/dist/{chunk-LSRQ2A6B.js → chunk-NEPNJMTD.js} +1 -1
- package/dist/{chunk-ZGKGSW42.js → chunk-NNO5GSIB.js} +3 -3
- package/dist/{chunk-5KKZCSER.js → chunk-NODLQBQ4.js} +1 -1
- package/dist/{chunk-GA773IOZ.js → chunk-O2UTMKCD.js} +7 -7
- package/dist/{chunk-N7H5TFQK.js → chunk-OAP576OR.js} +1 -1
- package/dist/{chunk-ULYHDP7U.js → chunk-ODN2TPIG.js} +1 -1
- package/dist/{chunk-C2HIMGFI.js → chunk-OHXOUHTX.js} +2 -2
- package/dist/{chunk-NXFTCPF6.js → chunk-OIM3CIA2.js} +5 -2
- package/dist/{chunk-E23AXDKL.js → chunk-OINMHTDX.js} +5 -5
- package/dist/{chunk-4QTOAMQN.js → chunk-OMVDF3RD.js} +5 -5
- package/dist/{chunk-AAP7A6WV.js → chunk-OP6EE23N.js} +2 -2
- package/dist/{chunk-HMXTZKAI.js → chunk-OPWSOIAW.js} +4 -4
- package/dist/{chunk-PQDQ64KY.js → chunk-OSPZN4OE.js} +2 -2
- package/dist/{chunk-OAKECTYH.js → chunk-OY33ZBWU.js} +53 -13
- package/dist/{chunk-I4IUX3JF.js → chunk-P5VPD4YZ.js} +17 -15
- package/dist/{chunk-R2QBQ6NO.js → chunk-PFZKJXEA.js} +2 -2
- package/dist/{chunk-QH2YJDRI.js → chunk-PH5APLMB.js} +1 -1
- package/dist/{chunk-GKBH5JHE.js → chunk-PMP2WNF4.js} +1 -1
- package/dist/{chunk-WDLAAZFZ.js → chunk-PNYANWZ6.js} +2 -2
- package/dist/{chunk-XLVWSNW3.js → chunk-POOLWQYU.js} +11 -10
- package/dist/{chunk-V7WDP3HR.js → chunk-PPQELBN3.js} +3 -3
- package/dist/{chunk-RVJJZVVS.js → chunk-PTX7BMBW.js} +1 -1
- package/dist/{chunk-TVGTMKYO.js → chunk-PYVP4LA5.js} +11 -5
- package/dist/{chunk-FMOYO5OO.js → chunk-QFI5C4YF.js} +3 -3
- package/dist/{chunk-5KJOG5YP.js → chunk-QGOEKPV5.js} +9 -9
- package/dist/{chunk-ZUWEVSDP.js → chunk-QHE4CNBM.js} +2 -2
- package/dist/{chunk-MFZBLJYF.js → chunk-QIWQFXKX.js} +2 -2
- package/dist/{chunk-HTCNTCBE.js → chunk-RC7BU5YS.js} +3 -3
- package/dist/{chunk-LR4IWUWQ.js → chunk-RGJB34YN.js} +1 -1
- package/dist/{chunk-UT6CW3C7.js → chunk-RRRK2KB6.js} +1 -1
- package/dist/{chunk-6KUOHUY5.js → chunk-RTHWXAXT.js} +3 -3
- package/dist/{chunk-PW57R4BN.js → chunk-S656HY4W.js} +1 -1
- package/dist/{chunk-G7SAFRSJ.js → chunk-SSYHV4QE.js} +2 -2
- package/dist/{chunk-AP6SM6BL.js → chunk-SUIUMAIY.js} +5 -5
- package/dist/{chunk-A5ISYHW7.js → chunk-T5P3K2TM.js} +8 -23
- package/dist/{chunk-V7N5XWZ6.js → chunk-TBJP22E4.js} +1 -1
- package/dist/{chunk-PGCLHYVP.js → chunk-TEXK4RK6.js} +2 -2
- package/dist/{chunk-TEV5REGB.js → chunk-TODOBUXO.js} +1 -1
- package/dist/{chunk-BRK3HXGZ.js → chunk-TRPYEDZM.js} +2 -2
- package/dist/{chunk-AOFVXE6V.js → chunk-U3LHWQQK.js} +1 -1
- package/dist/{chunk-5K5SZGBI.js → chunk-U3Z57D25.js} +3 -3
- package/dist/{chunk-RBR4AHBT.js → chunk-V3PIY2B2.js} +1 -1
- package/dist/{chunk-AP6JSZGT.js → chunk-V3ZKGVC2.js} +5 -5
- package/dist/{chunk-CMAZZY2I.js → chunk-VBBLHS2Y.js} +1 -1
- package/dist/{chunk-FP6OFRAU.js → chunk-VJ4OGNS7.js} +3 -3
- package/dist/{chunk-EF3CJDZO.js → chunk-VJSTBDIB.js} +4 -4
- package/dist/{chunk-TN3BH3Q4.js → chunk-VRDLNMST.js} +1 -1
- package/dist/{chunk-DK7CXQFY.js → chunk-VVIT4AIE.js} +4 -4
- package/dist/{chunk-F2ZSFDJZ.js → chunk-VY37HWFV.js} +1 -1
- package/dist/{chunk-LCAKSEMB.js → chunk-VYUEAMA4.js} +1 -1
- package/dist/{chunk-IGECN5B6.js → chunk-W37NWQ4G.js} +1 -1
- package/dist/{chunk-J5T5TDM2.js → chunk-W3A6NBUM.js} +1 -1
- package/dist/{chunk-2W4US3JO.js → chunk-W6SECEEG.js} +5 -5
- package/dist/{chunk-RE3FBGQQ.js → chunk-WGLOH33S.js} +1 -1
- package/dist/{chunk-2G355KDJ.js → chunk-WGMKERCR.js} +1 -1
- package/dist/{chunk-YTLWOHOY.js → chunk-WUCRLA25.js} +2 -2
- package/dist/{chunk-QIVLL5HB.js → chunk-WYZMETET.js} +3 -3
- package/dist/{chunk-ZDJQQ4LU.js → chunk-XDUXAQIS.js} +1 -1
- package/dist/{chunk-6TD2PCZB.js → chunk-XROJ6XQ3.js} +4 -3
- package/dist/{chunk-GWRU4JHQ.js → chunk-Y4OWRIQ3.js} +3 -3
- package/dist/{chunk-D2GT3CR4.js → chunk-Y5CMDLQM.js} +1 -1
- package/dist/{chunk-IYJCJOHW.js → chunk-Y7KBBP2M.js} +3 -3
- package/dist/{chunk-75NQV4R4.js → chunk-YGN4SBNP.js} +1 -1
- package/dist/{chunk-LPQLJHLI.js → chunk-YUW4DD2Z.js} +2 -2
- package/dist/{chunk-U5Y335HH.js → chunk-YWGLYDET.js} +2 -2
- package/dist/{chunk-YYKLPEOS.js → chunk-YX5KEKPL.js} +1 -1
- package/dist/{chunk-VULZ4FAA.js → chunk-Z4PTR5FX.js} +2 -2
- package/dist/{chunk-3Z2BSKS5.js → chunk-Z4ZVDAJA.js} +6 -6
- package/dist/{chunk-BCZQDB3U.js → chunk-ZQVQV5OB.js} +1 -1
- package/dist/generated/index.js +196 -195
- package/dist/index.js +196 -195
- package/dist/styles.css +275 -75
- package/package.json +3 -3
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import { VisuallyHidden } from './chunk-
|
|
1
|
+
import { VisuallyHidden } from './chunk-RRRK2KB6.js';
|
|
2
2
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
3
3
|
import './ChatScale-L4SIHSKL.css';
|
|
4
|
-
import './DeliveryReceipt-
|
|
4
|
+
import './DeliveryReceipt-G55ILD6O.css';
|
|
5
|
+
import { useState } from 'react';
|
|
5
6
|
import { CheckGlyph, TriangleAlertGlyph } from '@crewlethq/icons/glyphs';
|
|
6
|
-
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
7
|
+
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
7
8
|
|
|
8
9
|
var DELIVERY_RECEIPT_LABELS = {
|
|
9
10
|
reached: (who) => `Reached ${who}`,
|
|
@@ -14,7 +15,9 @@ var DELIVERY_RECEIPT_LABELS = {
|
|
|
14
15
|
list: (names) => names.join(", "),
|
|
15
16
|
reason: (words) => `(${words})`,
|
|
16
17
|
groups: (groups) => groups.join("; "),
|
|
17
|
-
truncated: "Some seats were not reached"
|
|
18
|
+
truncated: "Some seats were not reached",
|
|
19
|
+
more: (count) => `and ${count} more`,
|
|
20
|
+
fewer: "Show fewer"
|
|
18
21
|
};
|
|
19
22
|
function reachOf(recipients, labels) {
|
|
20
23
|
const order = [];
|
|
@@ -42,21 +45,45 @@ function DeliveryReceipt({
|
|
|
42
45
|
truncated = false,
|
|
43
46
|
hint,
|
|
44
47
|
announce = false,
|
|
48
|
+
max = 1,
|
|
45
49
|
labels: overrides,
|
|
46
50
|
className,
|
|
47
51
|
...rest
|
|
48
52
|
}) {
|
|
53
|
+
if (max !== Infinity && (!Number.isInteger(max) || max < 1)) {
|
|
54
|
+
throw new RangeError(
|
|
55
|
+
`DeliveryReceipt max must be a whole number of at least 1; it was ${max}`
|
|
56
|
+
);
|
|
57
|
+
}
|
|
58
|
+
const [expanded, setExpanded] = useState(false);
|
|
49
59
|
const labels = overrides ? { ...DELIVERY_RECEIPT_LABELS, ...overrides } : DELIVERY_RECEIPT_LABELS;
|
|
60
|
+
const cap = expanded ? Infinity : max;
|
|
61
|
+
const capped = (all) => all.length > cap + 1 ? all.slice(0, cap) : all;
|
|
50
62
|
const none = recipients.length === 0;
|
|
51
|
-
const
|
|
63
|
+
const answeredAll = tense === "sent" ? recipients.filter((r) => r.answered).map((r) => r.name) : [];
|
|
64
|
+
const answered = capped(answeredAll);
|
|
65
|
+
const reached = capped(recipients);
|
|
66
|
+
const hiddenReach = recipients.length - reached.length;
|
|
67
|
+
const hiddenAnswered = answeredAll.length - answered.length;
|
|
68
|
+
const toggle = hiddenReach > 0 || hiddenAnswered > 0 || expanded ? /* @__PURE__ */ jsx(
|
|
69
|
+
"button",
|
|
70
|
+
{
|
|
71
|
+
type: "button",
|
|
72
|
+
className: "crewlet-delivery-receipt__more",
|
|
73
|
+
"aria-expanded": expanded,
|
|
74
|
+
onClick: () => setExpanded((was) => !was),
|
|
75
|
+
children: expanded ? labels.fewer : labels.more(hiddenReach)
|
|
76
|
+
}
|
|
77
|
+
) : null;
|
|
52
78
|
const reach = none ? tense === "draft" ? labels.noneDraft : labels.none : (tense === "draft" ? labels.reaches : labels.reached)(
|
|
53
|
-
reachOf(
|
|
79
|
+
reachOf(reached, labels)
|
|
54
80
|
);
|
|
55
81
|
const parts = [
|
|
56
82
|
{
|
|
57
83
|
key: "reach",
|
|
58
84
|
mark: none ? /* @__PURE__ */ jsx(TriangleAlertGlyph, { size: "xs" }) : void 0,
|
|
59
|
-
words: reach
|
|
85
|
+
words: reach,
|
|
86
|
+
after: toggle
|
|
60
87
|
}
|
|
61
88
|
];
|
|
62
89
|
if (truncated && !none)
|
|
@@ -66,7 +93,9 @@ function DeliveryReceipt({
|
|
|
66
93
|
key: "answered",
|
|
67
94
|
className: "crewlet-delivery-receipt__answered",
|
|
68
95
|
mark: /* @__PURE__ */ jsx(CheckGlyph, { size: "xs" }),
|
|
69
|
-
words: labels.answered(
|
|
96
|
+
words: labels.answered(
|
|
97
|
+
hiddenAnswered > 0 ? `${labels.list(answered)} ${labels.more(hiddenAnswered)}` : labels.list(answered)
|
|
98
|
+
)
|
|
70
99
|
});
|
|
71
100
|
}
|
|
72
101
|
if (none && hint)
|
|
@@ -93,7 +122,13 @@ function DeliveryReceipt({
|
|
|
93
122
|
children: [
|
|
94
123
|
i > 0 ? /* @__PURE__ */ jsx("span", { className: "crewlet-delivery-receipt__dot", "aria-hidden": "true", children: "\xB7" }) : null,
|
|
95
124
|
part.mark ? /* @__PURE__ */ jsx("span", { className: "crewlet-delivery-receipt__mark", "aria-hidden": "true", children: part.mark }) : null,
|
|
96
|
-
/* @__PURE__ */
|
|
125
|
+
/* @__PURE__ */ jsxs("span", { children: [
|
|
126
|
+
part.words,
|
|
127
|
+
part.after ? /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
128
|
+
" ",
|
|
129
|
+
part.after
|
|
130
|
+
] }) : null
|
|
131
|
+
] }),
|
|
97
132
|
i < parts.length - 1 ? /* @__PURE__ */ jsx(VisuallyHidden, { children: ". " }) : null
|
|
98
133
|
]
|
|
99
134
|
},
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { HuePicker } from './chunk-
|
|
2
|
-
import { Popover } from './chunk-
|
|
1
|
+
import { HuePicker } from './chunk-IQELH56T.js';
|
|
2
|
+
import { Popover } from './chunk-VYUEAMA4.js';
|
|
3
3
|
import { CharacterPicker } from './chunk-LNQSNXGJ.js';
|
|
4
4
|
import { NODE_HUE_NAMES } from './chunk-AYKXMIOR.js';
|
|
5
5
|
import { Avatar } from './chunk-XZY6S3UC.js';
|
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
import { SECRET_INPUT_PROPS } from './chunk-NICEDVZM.js';
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
2
|
+
import { useFieldError, FormFieldInvalidContext } from './chunk-JLKO7PSK.js';
|
|
3
|
+
import { characterCountState, CharacterCount } from './chunk-TEXK4RK6.js';
|
|
4
|
+
import { IconButton } from './chunk-PNYANWZ6.js';
|
|
5
|
+
import { isComposing } from './chunk-EDPMHSLZ.js';
|
|
5
6
|
import { useFocusModality } from './chunk-4ITETIGZ.js';
|
|
6
7
|
import { useHeadingLevel, headingTag, HeadingLevelProvider, nextHeadingLevel } from './chunk-PQADV6P6.js';
|
|
7
|
-
import { announce } from './chunk-
|
|
8
|
-
import { VisuallyHidden } from './chunk-
|
|
8
|
+
import { announce } from './chunk-WGMKERCR.js';
|
|
9
|
+
import { VisuallyHidden } from './chunk-RRRK2KB6.js';
|
|
9
10
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
10
|
-
import './Input-
|
|
11
|
-
import './VisuallyHidden-
|
|
11
|
+
import './Input-YVCNNTYT.css';
|
|
12
|
+
import './VisuallyHidden-OUYVMKEH.css';
|
|
12
13
|
import { forwardRef, useRef, useState, useImperativeHandle, useEffect, useId } from 'react';
|
|
13
14
|
import { XGlyph } from '@crewlethq/icons/glyphs';
|
|
14
15
|
import { jsxs, jsx, Fragment } from 'react/jsx-runtime';
|
|
@@ -17,7 +18,7 @@ var Input = forwardRef(function Input2({
|
|
|
17
18
|
inputSize = "md",
|
|
18
19
|
appearance = "default",
|
|
19
20
|
width = "full",
|
|
20
|
-
error
|
|
21
|
+
error: errorProp,
|
|
21
22
|
className = "",
|
|
22
23
|
containerClassName = "",
|
|
23
24
|
leading,
|
|
@@ -28,6 +29,7 @@ var Input = forwardRef(function Input2({
|
|
|
28
29
|
...rest
|
|
29
30
|
}, ref) {
|
|
30
31
|
useFocusModality();
|
|
32
|
+
const error = useFieldError(errorProp);
|
|
31
33
|
const field = useRef(null);
|
|
32
34
|
const [typed, setTyped] = useState(() => String(rest.defaultValue ?? "") !== "");
|
|
33
35
|
const controlled = rest.value !== void 0;
|
|
@@ -94,7 +96,7 @@ function foldLineBreaks(text) {
|
|
|
94
96
|
return text.replace(LINE_BREAKS, " ");
|
|
95
97
|
}
|
|
96
98
|
var Textarea = forwardRef(function Textarea2({
|
|
97
|
-
error
|
|
99
|
+
error: errorProp,
|
|
98
100
|
autoResize = false,
|
|
99
101
|
trailing,
|
|
100
102
|
singleLine = false,
|
|
@@ -107,6 +109,7 @@ var Textarea = forwardRef(function Textarea2({
|
|
|
107
109
|
...rest
|
|
108
110
|
}, ref) {
|
|
109
111
|
useFocusModality();
|
|
112
|
+
const error = useFieldError(errorProp);
|
|
110
113
|
const localRef = useRef(null);
|
|
111
114
|
useImperativeHandle(ref, () => localRef.current);
|
|
112
115
|
useEffect(() => {
|
|
@@ -240,7 +243,7 @@ var FormField = ({
|
|
|
240
243
|
};
|
|
241
244
|
const help = helper ? /* @__PURE__ */ jsx("div", { id: helperId, className: "crewlet-form-field__helper", children: helper }) : null;
|
|
242
245
|
const body = /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
243
|
-
typeof children === "function" ? children(field) : children,
|
|
246
|
+
/* @__PURE__ */ jsx(FormFieldInvalidContext.Provider, { value: invalid, children: typeof children === "function" ? children(field) : children }),
|
|
244
247
|
limit || hasTally ? /* @__PURE__ */ jsxs("div", { className: "crewlet-form-field__meta", children: [
|
|
245
248
|
help ?? /* @__PURE__ */ jsx("span", { className: "crewlet-form-field__meta-spacer" }),
|
|
246
249
|
hasTally ? /* @__PURE__ */ jsx("span", { id: tallyId, className: "crewlet-form-field__tally", children: tally }) : null,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { SetByLine } from './chunk-
|
|
2
|
-
import { Link } from './chunk-
|
|
1
|
+
import { SetByLine } from './chunk-PYVP4LA5.js';
|
|
2
|
+
import { Link } from './chunk-JZI7SIM6.js';
|
|
3
3
|
import { DescriptionList, DescriptionListItem } from './chunk-LH4OF7FI.js';
|
|
4
|
-
import { EmptyValue } from './chunk-
|
|
4
|
+
import { EmptyValue } from './chunk-WGLOH33S.js';
|
|
5
5
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
6
6
|
import './PropertyList-42MEVUXV.css';
|
|
7
7
|
import { useId, Fragment } from 'react';
|
|
@@ -2,9 +2,9 @@ import { Eyebrow } from './chunk-RK4XPHVG.js';
|
|
|
2
2
|
import { developing } from './chunk-6C7GQOBV.js';
|
|
3
3
|
import { usePresence, releaseFocus } from './chunk-PCAT2EFB.js';
|
|
4
4
|
import { useHeadingLevel, headingTag } from './chunk-PQADV6P6.js';
|
|
5
|
-
import { VisuallyHidden } from './chunk-
|
|
5
|
+
import { VisuallyHidden } from './chunk-RRRK2KB6.js';
|
|
6
6
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
7
|
-
import './InboxList-
|
|
7
|
+
import './InboxList-G627C2OQ.css';
|
|
8
8
|
import { useId, useState, useRef, useLayoutEffect, useEffect, useCallback, cloneElement, Children, isValidElement } from 'react';
|
|
9
9
|
import { ChevronDownGlyph } from '@crewlethq/icons/glyphs';
|
|
10
10
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
@@ -183,6 +183,7 @@ function InboxRow({
|
|
|
183
183
|
title,
|
|
184
184
|
qualifier,
|
|
185
185
|
qualifierTone = "default",
|
|
186
|
+
where,
|
|
186
187
|
meta,
|
|
187
188
|
leading,
|
|
188
189
|
excerpt,
|
|
@@ -232,6 +233,7 @@ function InboxRow({
|
|
|
232
233
|
leading === void 0 ? null : part("leading"),
|
|
233
234
|
part("title"),
|
|
234
235
|
hasQualifier ? part("qualifier") : null,
|
|
236
|
+
where === void 0 ? null : part("where"),
|
|
235
237
|
hasStatus || hasMeta ? part("end") : null,
|
|
236
238
|
part("text"),
|
|
237
239
|
hasOutcome ? part("outcome") : null,
|
|
@@ -264,6 +266,10 @@ function InboxRow({
|
|
|
264
266
|
] }) : null
|
|
265
267
|
] }) }),
|
|
266
268
|
" ",
|
|
269
|
+
where === void 0 ? null : /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
270
|
+
/* @__PURE__ */ jsx("span", { id: part("where"), className: "crewlet-inbox-row__where", children: where }),
|
|
271
|
+
" "
|
|
272
|
+
] }),
|
|
267
273
|
/* @__PURE__ */ jsxs("span", { id: part("text"), className: "crewlet-inbox-row__text", children: [
|
|
268
274
|
children,
|
|
269
275
|
excerpt === void 0 ? null : /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
@@ -214,7 +214,7 @@ function useModalLayer({ onClose, dismissable = true, initialFocus }) {
|
|
|
214
214
|
if (holder && shared.entries.some((entry) => entry.panel()?.contains(holder))) return;
|
|
215
215
|
for (const el of back) {
|
|
216
216
|
if (!(el instanceof HTMLElement) || !el.isConnected || el === document.body) continue;
|
|
217
|
-
if (returnFocus(el)) return;
|
|
217
|
+
if (returnFocus(el, { preventScroll: onScreen(el) })) return;
|
|
218
218
|
}
|
|
219
219
|
};
|
|
220
220
|
}, [back]);
|
|
@@ -273,8 +273,30 @@ function useBodyScrollLock(active) {
|
|
|
273
273
|
};
|
|
274
274
|
}, [active]);
|
|
275
275
|
}
|
|
276
|
+
function useEscapeWithin(root, onEscape, active = true) {
|
|
277
|
+
const handler = useRef(onEscape);
|
|
278
|
+
handler.current = onEscape;
|
|
279
|
+
useEffect(() => {
|
|
280
|
+
const surface = root.current;
|
|
281
|
+
if (!active || !surface) return void 0;
|
|
282
|
+
const doc = surface.ownerDocument;
|
|
283
|
+
const onKeyDown2 = (event) => {
|
|
284
|
+
if (event.key !== "Escape" || event.defaultPrevented || isComposing(event)) return;
|
|
285
|
+
if (!(event.target instanceof Node) || !surface.contains(event.target)) return;
|
|
286
|
+
if (shared.entries.length > 0 || !handler.current) return;
|
|
287
|
+
event.preventDefault();
|
|
288
|
+
handler.current();
|
|
289
|
+
};
|
|
290
|
+
doc.addEventListener("keydown", onKeyDown2);
|
|
291
|
+
return () => doc.removeEventListener("keydown", onKeyDown2);
|
|
292
|
+
}, [active, root]);
|
|
293
|
+
}
|
|
276
294
|
function layerCount() {
|
|
277
295
|
return shared.entries.length;
|
|
278
296
|
}
|
|
297
|
+
function onScreen(el) {
|
|
298
|
+
const box = el.getBoundingClientRect();
|
|
299
|
+
return box.width > 0 && box.bottom > 0 && box.right > 0 && box.top < window.innerHeight && box.left < window.innerWidth;
|
|
300
|
+
}
|
|
279
301
|
|
|
280
|
-
export { focusables, isComposing, isModalLayerOpen, layerCount, useBodyScrollLock, useModalLayer, usePopupLayer };
|
|
302
|
+
export { focusables, isComposing, isModalLayerOpen, layerCount, useBodyScrollLock, useEscapeWithin, useModalLayer, usePopupLayer };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { Select } from './chunk-
|
|
2
|
-
import { Combobox } from './chunk-
|
|
3
|
-
import { FormField, Textarea, InputAffix } from './chunk-
|
|
4
|
-
import './Input-
|
|
5
|
-
import './VisuallyHidden-
|
|
1
|
+
import { Select } from './chunk-JUZOMYOZ.js';
|
|
2
|
+
import { Combobox } from './chunk-4ORJDTMS.js';
|
|
3
|
+
import { FormField, Textarea, InputAffix } from './chunk-DKFBBOVE.js';
|
|
4
|
+
import './Input-YVCNNTYT.css';
|
|
5
|
+
import './VisuallyHidden-OUYVMKEH.css';
|
|
6
6
|
import './HitArea-QUOS6ZDJ.css';
|
|
7
|
-
import './Combobox-
|
|
7
|
+
import './Combobox-F5VEJIAO.css';
|
|
8
8
|
import './Select-6BQPBOHH.css';
|
|
9
9
|
import './ValueField-EIBD6RYS.css';
|
|
10
10
|
import { useId, useRef, useState } from 'react';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { StatusDot } from './chunk-QRE6JCHS.js';
|
|
2
2
|
import { Spinner } from './chunk-XSPCITPN.js';
|
|
3
|
-
import { VisuallyHidden } from './chunk-
|
|
3
|
+
import { VisuallyHidden } from './chunk-RRRK2KB6.js';
|
|
4
4
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
5
|
-
import './Stepper-
|
|
5
|
+
import './Stepper-BRWYNQAC.css';
|
|
6
6
|
import './StepList-OAJ45IBX.css';
|
|
7
7
|
import { CircleCheckGlyph, CircleAlertGlyph, LockGlyph, CircleStopGlyph, CircleDashedGlyph, ClockGlyph, CheckGlyph, TriangleAlertGlyph } from '@crewlethq/icons/glyphs';
|
|
8
8
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { richEditorLabels } from './chunk-2DMTW2Y3.js';
|
|
2
2
|
import { Callout } from './chunk-BPCY7ZID.js';
|
|
3
|
-
import { Skeleton } from './chunk-
|
|
4
|
-
import { Button } from './chunk-
|
|
3
|
+
import { Skeleton } from './chunk-P5VPD4YZ.js';
|
|
4
|
+
import { Button } from './chunk-RTHWXAXT.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-EWIMNQUZ.js').then(
|
|
13
13
|
(module) => {
|
|
14
14
|
engine = module.Editor;
|
|
15
15
|
return engine;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { SlideNav } from './chunk-
|
|
2
|
-
import { SlideStage, SLIDE_WIDTH, SLIDE_HEIGHT } from './chunk-
|
|
1
|
+
import { SlideNav } from './chunk-7EAZGL5B.js';
|
|
2
|
+
import { SlideStage, SLIDE_WIDTH, SLIDE_HEIGHT } from './chunk-7O53SWKI.js';
|
|
3
3
|
import { Eyebrow } from './chunk-RK4XPHVG.js';
|
|
4
|
-
import { Button } from './chunk-
|
|
4
|
+
import { Button } from './chunk-RTHWXAXT.js';
|
|
5
5
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
6
6
|
import './PresenterView-RKYEK27N.css';
|
|
7
7
|
import { useRef, useState, useEffect } from 'react';
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { useReorder } from './chunk-
|
|
2
|
-
import { FormField, Textarea } from './chunk-
|
|
3
|
-
import { characterCountState, CharacterCount, countCharacters } from './chunk-
|
|
4
|
-
import { Kbd } from './chunk-
|
|
5
|
-
import { Button } from './chunk-
|
|
6
|
-
import { IconButton } from './chunk-
|
|
7
|
-
import { isComposing } from './chunk-
|
|
8
|
-
import { announce } from './chunk-
|
|
1
|
+
import { useReorder } from './chunk-4S2AN5W4.js';
|
|
2
|
+
import { FormField, Textarea } from './chunk-DKFBBOVE.js';
|
|
3
|
+
import { characterCountState, CharacterCount, countCharacters } from './chunk-TEXK4RK6.js';
|
|
4
|
+
import { Kbd } from './chunk-VBBLHS2Y.js';
|
|
5
|
+
import { Button } from './chunk-RTHWXAXT.js';
|
|
6
|
+
import { IconButton } from './chunk-PNYANWZ6.js';
|
|
7
|
+
import { isComposing } from './chunk-EDPMHSLZ.js';
|
|
8
|
+
import { announce } from './chunk-WGMKERCR.js';
|
|
9
9
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
10
|
-
import './ListInput-
|
|
10
|
+
import './ListInput-X2GEG2X7.css';
|
|
11
11
|
import { forwardRef, useState, useRef, useImperativeHandle, useLayoutEffect, useId } from 'react';
|
|
12
12
|
import { GripVerticalGlyph, ArrowUpGlyph, ArrowDownGlyph, XGlyph } from '@crewlethq/icons/glyphs';
|
|
13
13
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { FileDrop, FilePickButton } from './chunk-
|
|
2
|
-
import { contrastRatio } from './chunk-
|
|
1
|
+
import { FileDrop, FilePickButton } from './chunk-OAP576OR.js';
|
|
2
|
+
import { contrastRatio } from './chunk-3YOLD7WG.js';
|
|
3
3
|
import { normalizeHex } from './chunk-7W3LYIOC.js';
|
|
4
|
-
import { Button } from './chunk-
|
|
5
|
-
import { VisuallyHidden } from './chunk-
|
|
4
|
+
import { Button } from './chunk-RTHWXAXT.js';
|
|
5
|
+
import { VisuallyHidden } from './chunk-RRRK2KB6.js';
|
|
6
6
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
7
|
-
import './LogoSlot-
|
|
7
|
+
import './LogoSlot-LRHO4R54.css';
|
|
8
8
|
import { createContext, useId, useContext } from 'react';
|
|
9
9
|
import { ImageGlyph, CircleAlertGlyph, UploadGlyph, TrashGlyph } from '@crewlethq/icons/glyphs';
|
|
10
10
|
import { themes } from '@crewlethq/tokens';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { safeHref } from './chunk-KBZO4B33.js';
|
|
2
2
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
3
|
-
import './InlineRef-
|
|
3
|
+
import './InlineRef-POVPCQZU.css';
|
|
4
4
|
import { Children } from 'react';
|
|
5
5
|
import { jsxs, Fragment, jsx } from 'react/jsx-runtime';
|
|
6
6
|
|
|
@@ -8,6 +8,8 @@ function splitHead(children) {
|
|
|
8
8
|
const parts = Children.toArray(children);
|
|
9
9
|
const first = parts[0];
|
|
10
10
|
if (typeof first === "string") {
|
|
11
|
+
const address = /^[a-z][a-z0-9+.-]*:\/\/[^/\s]+(?=\/\S)/i.exec(first);
|
|
12
|
+
if (address) return { head: address[0], rest: [first.slice(address[0].length), ...parts.slice(1)] };
|
|
11
13
|
const at = first.search(/\s/);
|
|
12
14
|
if (at > 0) return { head: first.slice(0, at), rest: [first.slice(at), ...parts.slice(1)] };
|
|
13
15
|
}
|
|
@@ -49,7 +51,7 @@ function InlineRef({
|
|
|
49
51
|
kind === void 0 ? null : /* @__PURE__ */ jsx("span", { className: "crewlet-inline-ref__said", children: `${kind}: ` }),
|
|
50
52
|
/* @__PURE__ */ jsx("span", { className: "crewlet-inline-ref__text", children: head })
|
|
51
53
|
] }),
|
|
52
|
-
rest.length === 0 ? null : /* @__PURE__ */ jsx("span", { className: "crewlet-inline-ref__text", children: rest }),
|
|
54
|
+
rest.length === 0 ? null : /* @__PURE__ */ jsx("span", { className: "crewlet-inline-ref__text crewlet-inline-ref__rest", children: rest }),
|
|
53
55
|
external ? /* @__PURE__ */ jsx("span", { className: "crewlet-inline-ref__said", children: ` (${newTabLabel})` }) : null
|
|
54
56
|
] });
|
|
55
57
|
if (target === null) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Tag } from './chunk-SJ3EUCFD.js';
|
|
2
2
|
import { Spinner } from './chunk-XSPCITPN.js';
|
|
3
|
-
import { VisuallyHidden } from './chunk-
|
|
3
|
+
import { VisuallyHidden } from './chunk-RRRK2KB6.js';
|
|
4
4
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
5
5
|
import './AttachmentChip-RZ6ZCB43.css';
|
|
6
6
|
import { useState } from 'react';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { emojiName, EmojiPicker } from './chunk-
|
|
1
|
+
import { emojiOfShortcode, emojiName, EmojiPicker } from './chunk-6YQRCPJ3.js';
|
|
2
2
|
import { heldHint } from './chunk-TDFLCUBE.js';
|
|
3
|
-
import { Tooltip } from './chunk-
|
|
3
|
+
import { Tooltip } from './chunk-4SKN3BLH.js';
|
|
4
4
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
5
5
|
import './ChatScale-L4SIHSKL.css';
|
|
6
6
|
import './ReactionBar-XXI4V7XG.css';
|
|
@@ -37,7 +37,8 @@ function ReactionBar({ reactions, onToggle, add, disabledReason, labels: overrid
|
|
|
37
37
|
return /* @__PURE__ */ jsxs("div", { className: cx("crewlet-reaction-bar", className), role: "group", "aria-label": labels.group, children: [
|
|
38
38
|
reactions.map((reaction) => {
|
|
39
39
|
const who = reactionWho(reaction, labels);
|
|
40
|
-
const
|
|
40
|
+
const drawn = emojiOfShortcode(reaction.emoji) ?? emojiName(reaction.emoji);
|
|
41
|
+
const hint = labels.reacted(who, drawn);
|
|
41
42
|
return /* @__PURE__ */ jsx(Tooltip, { content: heldHint(hint, disabledReason), children: /* @__PURE__ */ jsxs(
|
|
42
43
|
"button",
|
|
43
44
|
{
|
|
@@ -50,7 +51,7 @@ function ReactionBar({ reactions, onToggle, add, disabledReason, labels: overrid
|
|
|
50
51
|
if (!disabledReason) onToggle(reaction.emoji);
|
|
51
52
|
},
|
|
52
53
|
children: [
|
|
53
|
-
/* @__PURE__ */ jsx("span", { className: "crewlet-reaction__emoji", "aria-hidden": "true", children:
|
|
54
|
+
/* @__PURE__ */ jsx("span", { className: "crewlet-reaction__emoji", "aria-hidden": "true", children: drawn }),
|
|
54
55
|
/* @__PURE__ */ jsx("span", { className: "crewlet-reaction__count", "aria-hidden": "true", children: reaction.count.toLocaleString() })
|
|
55
56
|
]
|
|
56
57
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { StatusDot } from './chunk-QRE6JCHS.js';
|
|
2
|
-
import { Tooltip } from './chunk-
|
|
3
|
-
import { VisuallyHidden } from './chunk-
|
|
2
|
+
import { Tooltip } from './chunk-4SKN3BLH.js';
|
|
3
|
+
import { VisuallyHidden } from './chunk-RRRK2KB6.js';
|
|
4
4
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
5
5
|
import './StatusLine-C6IY3U2F.css';
|
|
6
6
|
import { Fragment } from 'react';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Button } from './chunk-
|
|
1
|
+
import { Button } from './chunk-RTHWXAXT.js';
|
|
2
2
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
3
3
|
import './ReceiptStrip-V7ASVZVV.css';
|
|
4
4
|
import { CircleAlertGlyph, TriangleAlertGlyph, InfoGlyph, CircleCheckGlyph } from '@crewlethq/icons/glyphs';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { SuggestionList, SuggestionRow } from './chunk-
|
|
1
|
+
import { SuggestionList, SuggestionRow } from './chunk-IR3OWPAZ.js';
|
|
2
2
|
import { developing } from './chunk-6C7GQOBV.js';
|
|
3
|
-
import { StatusCard } from './chunk-
|
|
3
|
+
import { StatusCard } from './chunk-7L75YB57.js';
|
|
4
4
|
import { StatusDot } from './chunk-QRE6JCHS.js';
|
|
5
|
-
import { Button } from './chunk-
|
|
5
|
+
import { Button } from './chunk-RTHWXAXT.js';
|
|
6
6
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
7
7
|
import './BriefCard-QCL7MVUV.css';
|
|
8
8
|
import { useEffect } from 'react';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { safeHref } from './chunk-KBZO4B33.js';
|
|
2
|
-
import { VisuallyHidden } from './chunk-
|
|
2
|
+
import { VisuallyHidden } from './chunk-RRRK2KB6.js';
|
|
3
3
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
4
4
|
import './ChatScale-L4SIHSKL.css';
|
|
5
|
-
import './VisuallyHidden-
|
|
5
|
+
import './VisuallyHidden-OUYVMKEH.css';
|
|
6
6
|
import './LinkCard-5I4MYU6I.css';
|
|
7
7
|
import { useId } from 'react';
|
|
8
8
|
import { jsxs, Fragment, jsx } from 'react/jsx-runtime';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { Card } from './chunk-
|
|
2
|
-
import { Button } from './chunk-
|
|
1
|
+
import { Card } from './chunk-3C3TSWRR.js';
|
|
2
|
+
import { Button } from './chunk-RTHWXAXT.js';
|
|
3
3
|
import { useHeadingLevel, headingTag } from './chunk-PQADV6P6.js';
|
|
4
|
-
import { VisuallyHidden } from './chunk-
|
|
4
|
+
import { VisuallyHidden } from './chunk-RRRK2KB6.js';
|
|
5
5
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
6
6
|
import './AttentionList-LVX7KRET.css';
|
|
7
7
|
import { useId, useState } from 'react';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { BrandScope } from './chunk-X7WEE3EK.js';
|
|
2
2
|
import { normalizeHex } from './chunk-7W3LYIOC.js';
|
|
3
3
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
4
|
-
import './BrandSample-
|
|
4
|
+
import './BrandSample-WCI3IS25.css';
|
|
5
5
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
6
6
|
|
|
7
7
|
var LABELS = {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { Select } from './chunk-
|
|
2
|
-
import { SidebarNav, NavItem } from './chunk-
|
|
1
|
+
import { Select } from './chunk-JUZOMYOZ.js';
|
|
2
|
+
import { SidebarNav, NavItem } from './chunk-TRPYEDZM.js';
|
|
3
|
+
import { Card } from './chunk-3C3TSWRR.js';
|
|
3
4
|
import { Text } from './chunk-XLMURU75.js';
|
|
4
|
-
import { Card } from './chunk-U2IQNDDR.js';
|
|
5
5
|
import './RailList-N2ZBPRM2.css';
|
|
6
6
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { EditingStatus } from './chunk-
|
|
2
|
-
import { Kbd } from './chunk-
|
|
3
|
-
import { Button } from './chunk-
|
|
4
|
-
import { isComposing } from './chunk-
|
|
1
|
+
import { EditingStatus } from './chunk-KRF3GQ63.js';
|
|
2
|
+
import { Kbd } from './chunk-VBBLHS2Y.js';
|
|
3
|
+
import { Button } from './chunk-RTHWXAXT.js';
|
|
4
|
+
import { isComposing } from './chunk-EDPMHSLZ.js';
|
|
5
5
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
6
6
|
import './InlineEditor-W55DDKML.css';
|
|
7
7
|
import { useRef, useLayoutEffect } from 'react';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { SegmentedControl } from './chunk-
|
|
1
|
+
import { SegmentedControl } from './chunk-VJ4OGNS7.js';
|
|
2
2
|
import { ArtifactIcon } from './chunk-AVL52EME.js';
|
|
3
|
-
import { Menu } from './chunk-
|
|
4
|
-
import { isApplePlatform, Kbd, ariaKeyshortcuts } from './chunk-
|
|
5
|
-
import { Button } from './chunk-
|
|
6
|
-
import { IconButton } from './chunk-
|
|
7
|
-
import { Tooltip } from './chunk-
|
|
3
|
+
import { Menu } from './chunk-B7WZADFX.js';
|
|
4
|
+
import { isApplePlatform, Kbd, ariaKeyshortcuts } from './chunk-VBBLHS2Y.js';
|
|
5
|
+
import { Button } from './chunk-RTHWXAXT.js';
|
|
6
|
+
import { IconButton } from './chunk-PNYANWZ6.js';
|
|
7
|
+
import { Tooltip } from './chunk-4SKN3BLH.js';
|
|
8
8
|
import { returnFocus } from './chunk-4ITETIGZ.js';
|
|
9
9
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
10
10
|
import './ArtifactKinds-27TE3KJL.css';
|