@crewlethq/ui 0.101.0 → 0.102.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/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 +19 -18
- 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 +7 -5
- package/dist/Avatar/AvatarStack.d.ts +3 -5
- package/dist/Avatar/index.js +1 -1
- package/dist/AvatarPicker/index.js +14 -14
- 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 +12 -10
- 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/CharacterPicker/index.js +2 -2
- 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 +11 -10
- package/dist/{Combobox-GBCWXWEB.css → Combobox-F5VEJIAO.css} +7 -0
- package/dist/CommandPalette/index.js +15 -14
- package/dist/CommentThread/index.js +18 -17
- 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 +3 -3
- package/dist/ContrastHelp/index.js +8 -8
- package/dist/Copyable/index.js +6 -6
- package/dist/Count/index.js +2 -2
- package/dist/DataGrid/DataGrid.d.ts +18 -0
- package/dist/DataGrid/index.d.ts +1 -1
- package/dist/DataGrid/index.js +14 -13
- package/dist/{DataGrid-ERDIPEWV.css → DataGrid-YNLCEH3E.css} +23 -3
- package/dist/DataTable/index.js +15 -14
- package/dist/DataView/index.js +24 -23
- package/dist/DatasetSource/index.js +4 -4
- package/dist/DateTimePicker/index.js +7 -7
- package/dist/DeepWorkCard/index.js +16 -14
- 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 +13 -12
- package/dist/DownloadButton/index.js +5 -5
- package/dist/EditingStatus/index.js +4 -4
- package/dist/{Editor-XRI2NOO5.js → Editor-ODC36KPN.js} +13 -12
- 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 +8 -6
- 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 +11 -10
- package/dist/Layer/index.js +1 -1
- 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 +13 -12
- 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 +8 -8
- 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 +12 -10
- 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 +21 -20
- 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 +13 -12
- package/dist/PropertyList/index.js +7 -5
- package/dist/ProposalCard/index.js +23 -20
- 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 +8 -6
- 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 +13 -11
- 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 +13 -12
- package/dist/SheetColumnEditor/index.js +20 -19
- 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 +13 -13
- 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 +7 -5
- 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 +17 -14
- package/dist/{Switcher-ZGRTTVCS.css → Switcher-MWHFBIWS.css} +9 -1
- package/dist/Table/index.js +2 -2
- package/dist/TableCells/index.js +8 -8
- 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 +3 -3
- package/dist/TimeRangePicker/index.js +16 -15
- package/dist/TimeWindowPicker/index.js +14 -13
- 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 +16 -15
- package/dist/ValueField/index.js +13 -12
- 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-EMDRNB23.js → chunk-2GR3HFQF.js} +3 -3
- package/dist/{chunk-G5IZGAWS.js → chunk-2YADDY4A.js} +1 -1
- package/dist/{chunk-U2IQNDDR.js → chunk-3C3TSWRR.js} +6 -2
- package/dist/{chunk-E2QPZGLG.js → chunk-3QEAANRP.js} +1 -1
- package/dist/{chunk-LTD7KLOU.js → chunk-3SCASXQH.js} +1 -1
- package/dist/{chunk-GDYZPBLI.js → chunk-3TMSP5TD.js} +2 -2
- package/dist/{chunk-56ES76ST.js → chunk-3UZVFAGE.js} +13 -10
- package/dist/{chunk-WTJU7MAG.js → chunk-3YOLD7WG.js} +2 -2
- package/dist/{chunk-BVML4UVB.js → chunk-4S2AN5W4.js} +1 -1
- package/dist/{chunk-IGECN5B6.js → chunk-4TRSRXKX.js} +1 -1
- package/dist/{chunk-2WQEHXXB.js → chunk-5AORKQ5Q.js} +1 -1
- package/dist/{chunk-HDEKHP65.js → chunk-5EOOS2VG.js} +1 -1
- package/dist/{chunk-AEFR4M2W.js → chunk-5GPFEXZA.js} +1 -1
- package/dist/{chunk-M6G7XLLP.js → chunk-5IOVYGMH.js} +2 -2
- package/dist/{chunk-3QKJV3KE.js → chunk-5LIWAA7S.js} +1 -1
- package/dist/{chunk-YS4PWTNL.js → chunk-5VHMJEP3.js} +1 -1
- package/dist/{chunk-DVRECWCB.js → chunk-5W3EYO5Q.js} +1 -1
- package/dist/{chunk-ZUWEVSDP.js → chunk-6FCTU4UT.js} +2 -2
- package/dist/{chunk-CZKEABMI.js → chunk-6YYRFGXO.js} +1 -1
- package/dist/{chunk-RVJJZVVS.js → chunk-7HJGEQV2.js} +1 -1
- package/dist/{chunk-LCAKSEMB.js → chunk-7JI4RSUA.js} +1 -1
- package/dist/{chunk-4BEMS6Q7.js → chunk-7L75YB57.js} +2 -2
- package/dist/{chunk-TAWPKNNZ.js → chunk-7TKUK527.js} +3 -3
- package/dist/{chunk-YYKLPEOS.js → chunk-7YAGYA45.js} +1 -1
- package/dist/{chunk-JXDJVUWN.js → chunk-7ZXUUDWL.js} +1 -1
- package/dist/{chunk-RVSNBUIU.js → chunk-AHW3K3SH.js} +1 -1
- package/dist/{chunk-HI47TXSW.js → chunk-AJCPRBYJ.js} +2 -2
- package/dist/{chunk-6FVTKYH6.js → chunk-AKJK5YUY.js} +2 -2
- package/dist/{chunk-SBVTOIFP.js → chunk-AVO7CTFV.js} +6 -6
- package/dist/{chunk-6KUOHUY5.js → chunk-BB5FLR2G.js} +3 -3
- package/dist/{chunk-QZKGFBAR.js → chunk-BRAIO447.js} +1 -1
- package/dist/{chunk-U4JZ2EXG.js → chunk-BRUJ3XXH.js} +3 -3
- package/dist/{chunk-IQO6YDEM.js → chunk-BV66AC45.js} +4 -4
- package/dist/{chunk-NGJWRR7E.js → chunk-C47JZ6HR.js} +44 -9
- package/dist/{chunk-O6EV6GKI.js → chunk-CRYFSTYB.js} +1 -1
- package/dist/{chunk-BN5FEJL5.js → chunk-CVXQWNSM.js} +1 -1
- package/dist/{chunk-CTHZHMVG.js → chunk-CYTLVKWP.js} +4 -4
- package/dist/{chunk-NAHA62WD.js → chunk-D5O64CVE.js} +1 -1
- package/dist/{chunk-GWRU4JHQ.js → chunk-DBBOZZG5.js} +3 -3
- package/dist/{chunk-IYJCJOHW.js → chunk-DC7PGBRD.js} +3 -3
- package/dist/{chunk-44GFQ4O3.js → chunk-DEVO45TG.js} +1 -1
- package/dist/{chunk-QCCWXOKK.js → chunk-DJXVAA5S.js} +4 -4
- 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-TXQ6FZJL.js → chunk-DXU4SJRY.js} +4 -4
- package/dist/{chunk-N7H5TFQK.js → chunk-E2UGH7R5.js} +1 -1
- package/dist/{chunk-ZGKGSW42.js → chunk-E3I5GFTM.js} +3 -3
- package/dist/{chunk-CRRW4UGJ.js → chunk-EBLLIDRC.js} +6 -5
- package/dist/{chunk-QH2YJDRI.js → chunk-ED6ITKSU.js} +1 -1
- package/dist/{chunk-LIDKF3LL.js → chunk-EHD4CEHK.js} +2 -2
- package/dist/{chunk-WDLAAZFZ.js → chunk-ELZRLGAK.js} +2 -2
- package/dist/{chunk-C34CKBKF.js → chunk-ES7XJCWD.js} +1 -1
- package/dist/{chunk-NIZRR2NN.js → chunk-ETV4SOCY.js} +54 -14
- package/dist/{chunk-FP6OFRAU.js → chunk-EYMLG22J.js} +3 -3
- package/dist/{chunk-KMMRKMBQ.js → chunk-F2SI6JHN.js} +3 -3
- package/dist/{chunk-CFCJ3P7B.js → chunk-FHPHRIPO.js} +1 -1
- package/dist/{chunk-3JE6YIG5.js → chunk-FNVYRRK2.js} +9 -9
- package/dist/{chunk-UEOEBOBR.js → chunk-FOUIZS7Q.js} +1 -1
- package/dist/{chunk-5WRWBDML.js → chunk-FQBSYMEW.js} +1 -1
- package/dist/{chunk-6V465OCU.js → chunk-FT6DIDIW.js} +1 -1
- package/dist/{chunk-JGDCVLD4.js → chunk-FXPBUMPL.js} +4 -2
- package/dist/{chunk-BCZQDB3U.js → chunk-G7Y5HFVV.js} +1 -1
- package/dist/{chunk-EJNJMHQG.js → chunk-GBKBME7Q.js} +1 -1
- package/dist/{chunk-GBBRSZ2J.js → chunk-GCVCMZUS.js} +3 -3
- package/dist/{chunk-CTNQOSQF.js → chunk-GDSKYY6S.js} +3 -3
- package/dist/{chunk-3JAGO633.js → chunk-GZEMH4ZD.js} +1 -1
- package/dist/{chunk-MTDISM7I.js → chunk-GZSEIFWB.js} +1 -1
- package/dist/{chunk-HMXTZKAI.js → chunk-IB7TB47Z.js} +4 -4
- package/dist/{chunk-O3MYBNRO.js → chunk-IBMZNQ34.js} +2 -2
- package/dist/{chunk-AVMQMY66.js → chunk-IJCMOAM3.js} +1 -1
- package/dist/{chunk-Y7PVLEZJ.js → chunk-IR3OWPAZ.js} +1 -1
- package/dist/{chunk-AAP7A6WV.js → chunk-J5DMI7X3.js} +2 -2
- package/dist/{chunk-HR5O6PSR.js → chunk-JBRI5WPF.js} +6 -6
- package/dist/{chunk-QIVLL5HB.js → chunk-JFAKHQSM.js} +3 -3
- package/dist/chunk-JLKO7PSK.js +10 -0
- package/dist/{chunk-HYVYYODN.js → chunk-JT7BELIN.js} +4 -4
- package/dist/{chunk-2PB5D4TI.js → chunk-JZI7SIM6.js} +1 -1
- package/dist/{chunk-NXFTCPF6.js → chunk-KBEYFWNQ.js} +5 -2
- package/dist/{chunk-7IW4BVZF.js → chunk-KGEWO2LN.js} +1 -1
- package/dist/{chunk-TUEM2XIW.js → chunk-KHKHQD6W.js} +5 -1
- package/dist/{chunk-4OHBHPIB.js → chunk-KKDC5ELG.js} +1 -1
- package/dist/{chunk-QPRTTTUN.js → chunk-KMDVDWQI.js} +3 -3
- package/dist/{chunk-7BDBO2NP.js → chunk-KRAZYXAA.js} +2 -2
- package/dist/{chunk-I2GJLUU3.js → chunk-KRF3GQ63.js} +1 -1
- package/dist/{chunk-U5Y335HH.js → chunk-KSEM4ZUP.js} +2 -2
- package/dist/{chunk-IWZG7NPV.js → chunk-L6HUVA33.js} +1 -1
- package/dist/{chunk-SJP7WYIV.js → chunk-L6SYLG3F.js} +3 -3
- package/dist/{chunk-M52HLPOG.js → chunk-LHCEPSWP.js} +3 -2
- package/dist/{chunk-K2GVWTHA.js → chunk-LJ2BXVKQ.js} +7 -7
- package/dist/{chunk-IAR2ULSK.js → chunk-LQ4R4CHS.js} +81 -54
- package/dist/{chunk-4QTOAMQN.js → chunk-LRZQSMRX.js} +5 -5
- package/dist/{chunk-5KKZCSER.js → chunk-MN2RZN2C.js} +1 -1
- package/dist/{chunk-YWVT7B6N.js → chunk-MNTN5ESE.js} +10 -7
- package/dist/{chunk-LIRXQOTR.js → chunk-MQ3T56A4.js} +21 -14
- package/dist/{chunk-YGRTX67J.js → chunk-MQX7SHG7.js} +1 -1
- package/dist/{chunk-VULZ4FAA.js → chunk-MSJPIUDW.js} +2 -2
- 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-52UBOSNQ.js → chunk-NBQ5TKC6.js} +2 -2
- package/dist/{chunk-463DNZXI.js → chunk-NCQC5Y4E.js} +1 -1
- package/dist/{chunk-LSRQ2A6B.js → chunk-NEPNJMTD.js} +1 -1
- package/dist/{chunk-6M2N6ETA.js → chunk-NMWI2P2E.js} +1 -1
- package/dist/{chunk-2LLMUJFB.js → chunk-NUZELCUD.js} +3 -3
- package/dist/{chunk-AEUZU5SA.js → chunk-NXVF5JWZ.js} +3 -3
- package/dist/{chunk-LNXL22Y7.js → chunk-NZSDE3OU.js} +7 -7
- package/dist/{chunk-P667Y6NQ.js → chunk-OAWCHDQV.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-PQDQ64KY.js → chunk-OSPZN4OE.js} +2 -2
- package/dist/{chunk-33632WEN.js → chunk-OXG4UYMB.js} +5 -5
- package/dist/{chunk-5JGEEUWQ.js → chunk-P4QZMHAT.js} +5 -4
- package/dist/{chunk-I4IUX3JF.js → chunk-P5VPD4YZ.js} +17 -15
- package/dist/{chunk-R2QBQ6NO.js → chunk-PFZKJXEA.js} +2 -2
- package/dist/{chunk-GKBH5JHE.js → chunk-PMP2WNF4.js} +1 -1
- package/dist/{chunk-G6QKJGQQ.js → chunk-PYNX5Q3J.js} +1 -1
- package/dist/{chunk-TVGTMKYO.js → chunk-PYVP4LA5.js} +11 -5
- package/dist/{chunk-CQAR3F33.js → chunk-Q6GAYYXI.js} +11 -10
- package/dist/{chunk-NHQ7O4DG.js → chunk-QDWI24EX.js} +14 -14
- package/dist/{chunk-MFZBLJYF.js → chunk-QIWQFXKX.js} +2 -2
- package/dist/{chunk-TKAERQQF.js → chunk-QOMO7ECD.js} +2 -2
- package/dist/{chunk-LZNPL266.js → chunk-QU7GTPC5.js} +1 -1
- package/dist/{chunk-A5ISYHW7.js → chunk-QUZRBQ43.js} +7 -7
- package/dist/{chunk-MJ73YBP2.js → chunk-R62IXILJ.js} +2 -2
- package/dist/{chunk-LR4IWUWQ.js → chunk-RGJB34YN.js} +1 -1
- package/dist/{chunk-SF6FUU42.js → chunk-RMDXYHE3.js} +2 -2
- package/dist/{chunk-LYVWOAUN.js → chunk-RMXMAHH2.js} +1 -1
- package/dist/{chunk-UT6CW3C7.js → chunk-RRRK2KB6.js} +1 -1
- package/dist/{chunk-PXYDEDNN.js → chunk-RYGNJNVJ.js} +6 -6
- package/dist/{chunk-PCXMJZTE.js → chunk-S4CGIXFV.js} +3 -3
- package/dist/{chunk-PW57R4BN.js → chunk-S656HY4W.js} +1 -1
- package/dist/{chunk-BC4H2EMM.js → chunk-S6TWWDOH.js} +3 -3
- package/dist/{chunk-YEQTGPCE.js → chunk-SG5XRIOZ.js} +7 -7
- package/dist/{chunk-G7SAFRSJ.js → chunk-SSYHV4QE.js} +2 -2
- package/dist/{chunk-2W4US3JO.js → chunk-SWZD5WZG.js} +5 -5
- package/dist/{chunk-V7N5XWZ6.js → chunk-TBJP22E4.js} +1 -1
- package/dist/{chunk-UUDQEDHQ.js → chunk-TE2BPD6L.js} +2 -2
- package/dist/{chunk-PGCLHYVP.js → chunk-TEXK4RK6.js} +2 -2
- package/dist/{chunk-M2DHVN6T.js → chunk-TFXNQDJA.js} +5 -5
- 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-NRMF2PKX.js → chunk-UD7E46JF.js} +6 -6
- package/dist/{chunk-XHQ2JJCB.js → chunk-UJDXFRR7.js} +2 -2
- package/dist/{chunk-QND44ROZ.js → chunk-UTZ3DBPB.js} +2 -2
- package/dist/{chunk-V6CVW6PF.js → chunk-UUICORUJ.js} +7 -7
- package/dist/{chunk-4TAMRAUQ.js → chunk-UURRF5Y6.js} +1 -1
- package/dist/{chunk-6IAW2ZIE.js → chunk-UUSZMEDK.js} +9 -9
- package/dist/{chunk-AP6JSZGT.js → chunk-V3ZKGVC2.js} +5 -5
- package/dist/{chunk-CMAZZY2I.js → chunk-VBBLHS2Y.js} +1 -1
- package/dist/{chunk-KN4YCWWO.js → chunk-VGJ4IH72.js} +5 -5
- package/dist/{chunk-TN3BH3Q4.js → chunk-VRDLNMST.js} +1 -1
- package/dist/{chunk-EF3CJDZO.js → chunk-VUGIZRDA.js} +4 -4
- package/dist/{chunk-V3QWPHY4.js → chunk-VVZLPRF3.js} +3 -3
- package/dist/{chunk-F2ZSFDJZ.js → chunk-VY37HWFV.js} +1 -1
- package/dist/{chunk-E2XDYCFO.js → chunk-VYZ6SJWH.js} +2 -2
- package/dist/{chunk-J5T5TDM2.js → chunk-W3A6NBUM.js} +1 -1
- package/dist/{chunk-E23AXDKL.js → chunk-W7YZ7PLZ.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-63NRTOGO.js → chunk-WNAPQC4G.js} +3 -3
- package/dist/{chunk-NBOHNPZB.js → chunk-WNRS45XI.js} +1 -1
- package/dist/{chunk-YTLWOHOY.js → chunk-WUCRLA25.js} +2 -2
- package/dist/{chunk-D4MMW2NF.js → chunk-WUFDCQQF.js} +65 -47
- package/dist/{chunk-MKTHLT4E.js → chunk-X5MJPPO7.js} +5 -5
- package/dist/{chunk-ZDJQQ4LU.js → chunk-XDUXAQIS.js} +1 -1
- package/dist/{chunk-LPQLJHLI.js → chunk-XHWIEAVU.js} +2 -2
- package/dist/{chunk-RBR4AHBT.js → chunk-XOPHJPHU.js} +1 -1
- package/dist/{chunk-6TD2PCZB.js → chunk-XROJ6XQ3.js} +4 -3
- package/dist/{chunk-IDBGDMQS.js → chunk-XSZR73LX.js} +1 -1
- package/dist/{chunk-V7WDP3HR.js → chunk-XYFVJRCH.js} +3 -3
- package/dist/{chunk-D2GT3CR4.js → chunk-Y5CMDLQM.js} +1 -1
- package/dist/{chunk-MOP4D5HF.js → chunk-Y6RYFN5L.js} +6 -6
- package/dist/{chunk-WF2UJYCT.js → chunk-YD2IB4LX.js} +2 -2
- package/dist/{chunk-75NQV4R4.js → chunk-YGN4SBNP.js} +1 -1
- package/dist/{chunk-JK6WLRYP.js → chunk-YNPMV23G.js} +16 -8
- package/dist/{chunk-FMOYO5OO.js → chunk-YSXA5WLH.js} +3 -3
- package/dist/{chunk-PJMDZEWY.js → chunk-YX27WGMR.js} +1 -1
- package/dist/{chunk-OSU4ELU3.js → chunk-Z227PCDA.js} +3 -3
- package/dist/{chunk-AP6SM6BL.js → chunk-Z7HGWZLC.js} +5 -5
- package/dist/{chunk-FL5DTFF3.js → chunk-ZY2SBPNN.js} +4 -4
- package/dist/generated/index.js +205 -204
- package/dist/index.js +205 -204
- package/dist/styles.css +299 -79
- package/package.json +3 -3
- package/dist/{chunk-S4JRQJEP.js → chunk-LNQSNXGJ.js} +1 -1
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { useListbox, useOptionKeys } from './chunk-
|
|
1
|
+
import { useListbox, useOptionKeys } from './chunk-MQX7SHG7.js';
|
|
2
|
+
import { Input } from './chunk-3UZVFAGE.js';
|
|
2
3
|
import { HIT_AREA_CLASS } from './chunk-2YTOOH3A.js';
|
|
3
|
-
import { Input } from './chunk-56ES76ST.js';
|
|
4
4
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
5
5
|
import './HitArea-QUOS6ZDJ.css';
|
|
6
|
-
import './Combobox-
|
|
6
|
+
import './Combobox-F5VEJIAO.css';
|
|
7
7
|
import { forwardRef, useCallback, useId, useMemo, useRef, useEffect } from 'react';
|
|
8
8
|
import { CheckGlyph } from '@crewlethq/icons/glyphs';
|
|
9
9
|
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
@@ -108,6 +108,7 @@ var Combobox = forwardRef(function Combobox2({
|
|
|
108
108
|
if (typeof ref === "function") ref(el);
|
|
109
109
|
else if (ref) ref.current = el;
|
|
110
110
|
};
|
|
111
|
+
const stepClass = rest.width && rest.width !== "full" ? `crewlet-combobox--w-${rest.width}` : void 0;
|
|
111
112
|
const row = (option, index, picked) => /* @__PURE__ */ jsxs(
|
|
112
113
|
"div",
|
|
113
114
|
{
|
|
@@ -132,7 +133,7 @@ var Combobox = forwardRef(function Combobox2({
|
|
|
132
133
|
);
|
|
133
134
|
if (inline) {
|
|
134
135
|
const listed = offered.length > 0 || renderList !== void 0;
|
|
135
|
-
return /* @__PURE__ */ jsxs("div", { className: cx("crewlet-combobox", "crewlet-combobox--inline", containerClassName), children: [
|
|
136
|
+
return /* @__PURE__ */ jsxs("div", { className: cx("crewlet-combobox", "crewlet-combobox--inline", stepClass, containerClassName), children: [
|
|
136
137
|
/* @__PURE__ */ jsx(
|
|
137
138
|
Input,
|
|
138
139
|
{
|
|
@@ -164,7 +165,7 @@ var Combobox = forwardRef(function Combobox2({
|
|
|
164
165
|
] });
|
|
165
166
|
}
|
|
166
167
|
const announcesRole = rest.type !== "password" || lists;
|
|
167
|
-
return /* @__PURE__ */ jsxs("div", { className: cx("crewlet-combobox", containerClassName), ref: listbox.anchorRef, children: [
|
|
168
|
+
return /* @__PURE__ */ jsxs("div", { className: cx("crewlet-combobox", stepClass, containerClassName), ref: listbox.anchorRef, children: [
|
|
168
169
|
/* @__PURE__ */ jsx(
|
|
169
170
|
Input,
|
|
170
171
|
{
|
|
@@ -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,6 +1,6 @@
|
|
|
1
1
|
import { heldHint } from './chunk-TDFLCUBE.js';
|
|
2
|
-
import { Tooltip } from './chunk-
|
|
3
|
-
import { VisuallyHidden } from './chunk-
|
|
2
|
+
import { Tooltip } from './chunk-BRAIO447.js';
|
|
3
|
+
import { VisuallyHidden } from './chunk-RRRK2KB6.js';
|
|
4
4
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
5
5
|
import './IconButton-LNNHLBAS.css';
|
|
6
6
|
import { forwardRef, useId, Children, isValidElement, cloneElement } from 'react';
|
|
@@ -1,22 +1,23 @@
|
|
|
1
|
-
import { TagGroup } from './chunk-
|
|
1
|
+
import { TagGroup } from './chunk-FOUIZS7Q.js';
|
|
2
2
|
import { CursorFlag } from './chunk-MMCYH5LB.js';
|
|
3
3
|
import { presenceHueClass } from './chunk-EFX2YC5T.js';
|
|
4
|
-
import { ChangeMark } from './chunk-
|
|
4
|
+
import { ChangeMark } from './chunk-GZEMH4ZD.js';
|
|
5
5
|
import { isEmptyValue, displayText, ratingMax, findPerson, findOption, statusTone, editText, textMax, sheetLabels, normalizeValue, sameValue, spokenText, drawnColumns, fitSamples, fittedWidth, columnWidth, SHEET_COLUMN_BOUNDS, sortRows, SHEET_ROW_HEIGHT, cellKey, columnOffsets, SHEET_ROW_NUMBER_WIDTH, rangeOf, presenceByCell, presenceByRow, presenceByColumn, scrollToRow, planClear, visibleRows, cellDescription, nextSort, rowName, inRange, hasPrevious, flagText, toTSV, planPaste, parseTSV, isMod, moveFrom, isTypingKey, editorSide, optionHue, parseText, liveOptions, checkValue } from './chunk-LFSIKGRQ.js';
|
|
6
6
|
import { presenceLabels } from './chunk-Z7JYG5TF.js';
|
|
7
7
|
import { Tag } from './chunk-SJ3EUCFD.js';
|
|
8
|
-
import { Popover } from './chunk-
|
|
9
|
-
import { StatusDot } from './chunk-QRE6JCHS.js';
|
|
10
|
-
import { Menu } from './chunk-JK6WLRYP.js';
|
|
8
|
+
import { Popover } from './chunk-7JI4RSUA.js';
|
|
11
9
|
import { Avatar } from './chunk-XZY6S3UC.js';
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
10
|
+
import { StatusDot } from './chunk-QRE6JCHS.js';
|
|
11
|
+
import { Menu } from './chunk-YNPMV23G.js';
|
|
12
|
+
import { Button } from './chunk-BB5FLR2G.js';
|
|
13
|
+
import { IconButton } from './chunk-ELZRLGAK.js';
|
|
14
|
+
import { Tooltip } from './chunk-BRAIO447.js';
|
|
15
|
+
import { viewportBounds, LAYER_GAP } from './chunk-FIX72ZEC.js';
|
|
16
|
+
import { isComposing } from './chunk-KHKHQD6W.js';
|
|
17
|
+
import { VisuallyHidden } from './chunk-RRRK2KB6.js';
|
|
17
18
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
18
|
-
import './SheetGrid-
|
|
19
|
-
import { useId, useRef, useMemo, useState, useLayoutEffect, useEffect, useCallback } from 'react';
|
|
19
|
+
import './SheetGrid-JMTZCMWE.css';
|
|
20
|
+
import { useId, useRef, useMemo, useState, useLayoutEffect, useEffect, useCallback, useImperativeHandle } from 'react';
|
|
20
21
|
import { CheckGlyph, StarGlyph, CircleAlertGlyph, ArrowUpGlyph, ArrowDownGlyph, TrashGlyph, EllipsisGlyph, RotateCcwClockGlyph, PlusGlyph } from '@crewlethq/icons/glyphs';
|
|
21
22
|
import { isCrewletCharacter } from '@crewlethq/icons/characters';
|
|
22
23
|
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
@@ -324,6 +325,19 @@ function ChoiceFace({ column, choice, context }) {
|
|
|
324
325
|
return /* @__PURE__ */ jsx(OptionChip, { column, id: choice.id, labels: context.labels });
|
|
325
326
|
}
|
|
326
327
|
var CLEAR = "";
|
|
328
|
+
function placeListPanel(cell, view, measure) {
|
|
329
|
+
const top = view.y + LAYER_GAP;
|
|
330
|
+
const bottom = view.y + view.height - LAYER_GAP;
|
|
331
|
+
const below = bottom - cell.top;
|
|
332
|
+
const above = cell.bottom - top;
|
|
333
|
+
const own = measure(Math.max(below, above, 0));
|
|
334
|
+
const down = below >= own.height || below >= above;
|
|
335
|
+
const wanted = down ? cell.top : cell.bottom - own.height;
|
|
336
|
+
return {
|
|
337
|
+
top: Math.max(top, Math.min(wanted, bottom - own.height)),
|
|
338
|
+
left: Math.max(view.x + LAYER_GAP, Math.min(cell.left, view.x + view.width - LAYER_GAP - own.width))
|
|
339
|
+
};
|
|
340
|
+
}
|
|
327
341
|
function ListEditor({ column, value, context, seed, label, onCommit, onCancel, side = "below", conflict }) {
|
|
328
342
|
const { labels } = context;
|
|
329
343
|
const multiple = column.type === "multiselect";
|
|
@@ -331,6 +345,8 @@ function ListEditor({ column, value, context, seed, label, onCommit, onCancel, s
|
|
|
331
345
|
const errorId = useId();
|
|
332
346
|
const filterRef = useRef(null);
|
|
333
347
|
const listRef = useRef(null);
|
|
348
|
+
const editorRef = useRef(null);
|
|
349
|
+
const panelRef = useRef(null);
|
|
334
350
|
const all = useMemo(() => choicesOf(column, context), [column, context]);
|
|
335
351
|
const filterable = all.length > LIST_FILTER_FROM;
|
|
336
352
|
const [filter, setFilter] = useState(filterable ? seed ?? "" : "");
|
|
@@ -356,6 +372,28 @@ function ListEditor({ column, value, context, seed, label, onCommit, onCancel, s
|
|
|
356
372
|
useLayoutEffect(() => {
|
|
357
373
|
focusInPlace(filterable ? filterRef.current : listRef.current, false);
|
|
358
374
|
}, [filterable]);
|
|
375
|
+
useLayoutEffect(() => {
|
|
376
|
+
const place = () => {
|
|
377
|
+
const cell = editorRef.current?.getBoundingClientRect();
|
|
378
|
+
const box = panelRef.current;
|
|
379
|
+
if (!cell || !box) return;
|
|
380
|
+
const spot = placeListPanel(cell, viewportBounds(), (room) => {
|
|
381
|
+
box.style.setProperty("--crewlet-sheet-editor-cell", `${cell.width}px`);
|
|
382
|
+
box.style.setProperty("--crewlet-sheet-editor-room", `${room}px`);
|
|
383
|
+
const own = box.getBoundingClientRect();
|
|
384
|
+
return { width: own.width, height: own.height };
|
|
385
|
+
});
|
|
386
|
+
box.style.setProperty("--crewlet-sheet-editor-top", `${spot.top}px`);
|
|
387
|
+
box.style.setProperty("--crewlet-sheet-editor-left", `${spot.left}px`);
|
|
388
|
+
};
|
|
389
|
+
place();
|
|
390
|
+
window.addEventListener("resize", place);
|
|
391
|
+
window.addEventListener("scroll", place, true);
|
|
392
|
+
return () => {
|
|
393
|
+
window.removeEventListener("resize", place);
|
|
394
|
+
window.removeEventListener("scroll", place, true);
|
|
395
|
+
};
|
|
396
|
+
}, [shown.length]);
|
|
359
397
|
const finish = (next, move) => {
|
|
360
398
|
const problem = checkValue(column, next, context);
|
|
361
399
|
if (problem !== null) {
|
|
@@ -440,7 +478,7 @@ function ListEditor({ column, value, context, seed, label, onCommit, onCancel, s
|
|
|
440
478
|
return;
|
|
441
479
|
}
|
|
442
480
|
};
|
|
443
|
-
return /* @__PURE__ */ jsx("div", { className: cx("crewlet-sheet-editor", "crewlet-sheet-editor--list", `crewlet-sheet-editor--${side}`), onBlur: leave.onBlur, children: /* @__PURE__ */ jsxs("div", { className: "crewlet-sheet-editor__panel crewlet-sheet-editor__panel--list", children: [
|
|
481
|
+
return /* @__PURE__ */ jsx("div", { ref: editorRef, className: cx("crewlet-sheet-editor", "crewlet-sheet-editor--list", `crewlet-sheet-editor--${side}`), onBlur: leave.onBlur, children: /* @__PURE__ */ jsxs("div", { ref: panelRef, className: "crewlet-sheet-editor__panel crewlet-sheet-editor__panel--list", children: [
|
|
444
482
|
filterable ? /* @__PURE__ */ jsx(
|
|
445
483
|
"input",
|
|
446
484
|
{
|
|
@@ -649,7 +687,8 @@ function SheetGrid({
|
|
|
649
687
|
locale,
|
|
650
688
|
className,
|
|
651
689
|
labels: labelOverrides,
|
|
652
|
-
presenceLabels: presenceOverrides
|
|
690
|
+
presenceLabels: presenceOverrides,
|
|
691
|
+
ref
|
|
653
692
|
}) {
|
|
654
693
|
const id = useId();
|
|
655
694
|
const labels = useMemo(() => sheetLabels(labelOverrides), [labelOverrides]);
|
|
@@ -881,6 +920,7 @@ function SheetGrid({
|
|
|
881
920
|
},
|
|
882
921
|
[focusCell]
|
|
883
922
|
);
|
|
923
|
+
useImperativeHandle(ref, () => ({ focusCell: (cell) => moveTo({ rowId: cell.rowId, field: cell.field }) }), [moveTo]);
|
|
884
924
|
const onCellFocus = (cell) => {
|
|
885
925
|
if (active && active.rowId === cell.rowId && active.field === cell.field) return;
|
|
886
926
|
setActive(cell);
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { tabId } from './chunk-
|
|
1
|
+
import { tabId } from './chunk-DC7PGBRD.js';
|
|
2
2
|
import { useRoving, tabStop } from './chunk-EGMQURBR.js';
|
|
3
3
|
import { HIT_AREA_CLASS } from './chunk-2YTOOH3A.js';
|
|
4
|
-
import { Count } from './chunk-
|
|
5
|
-
import { VisuallyHidden } from './chunk-
|
|
4
|
+
import { Count } from './chunk-Y5CMDLQM.js';
|
|
5
|
+
import { VisuallyHidden } from './chunk-RRRK2KB6.js';
|
|
6
6
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
7
7
|
import { useState, useId } from 'react';
|
|
8
8
|
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { ContrastLevelTag } from './chunk-
|
|
2
|
-
import { Popover } from './chunk-
|
|
3
|
-
import { IconButton } from './chunk-
|
|
1
|
+
import { ContrastLevelTag } from './chunk-3YOLD7WG.js';
|
|
2
|
+
import { Popover } from './chunk-7JI4RSUA.js';
|
|
3
|
+
import { IconButton } from './chunk-ELZRLGAK.js';
|
|
4
4
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
5
5
|
import './ContrastHelp-MZCAW5WQ.css';
|
|
6
6
|
import { InfoGlyph } from '@crewlethq/icons/glyphs';
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { useReorder } from './chunk-
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
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-3UZVFAGE.js';
|
|
3
|
+
import { characterCountState, CharacterCount, countCharacters } from './chunk-TEXK4RK6.js';
|
|
4
|
+
import { Kbd } from './chunk-VBBLHS2Y.js';
|
|
5
|
+
import { Button } from './chunk-BB5FLR2G.js';
|
|
6
|
+
import { IconButton } from './chunk-ELZRLGAK.js';
|
|
7
|
+
import { isComposing } from './chunk-KHKHQD6W.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,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
|
-
import { SlideStage } from './chunk-
|
|
2
|
-
import { Button } from './chunk-
|
|
3
|
-
import { VisuallyHidden } from './chunk-
|
|
1
|
+
import { SlideStage } from './chunk-CRYFSTYB.js';
|
|
2
|
+
import { Button } from './chunk-BB5FLR2G.js';
|
|
3
|
+
import { VisuallyHidden } from './chunk-RRRK2KB6.js';
|
|
4
4
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
5
5
|
import './SlideCompare-R4GVZXAM.css';
|
|
6
6
|
import { useState } from 'react';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { safeHref } from './chunk-KBZO4B33.js';
|
|
2
2
|
import { IconTile } from './chunk-3LI4TRUR.js';
|
|
3
|
-
import { ReceiptStrip } from './chunk-
|
|
4
|
-
import { StatusCard } from './chunk-
|
|
5
|
-
import { ButtonLink, Button } from './chunk-
|
|
3
|
+
import { ReceiptStrip } from './chunk-5VHMJEP3.js';
|
|
4
|
+
import { StatusCard } from './chunk-7L75YB57.js';
|
|
5
|
+
import { ButtonLink, Button } from './chunk-BB5FLR2G.js';
|
|
6
6
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
7
7
|
import './OpenInAppCard-CKHCK7DO.css';
|
|
8
8
|
import { CircleCheckGlyph } from '@crewlethq/icons/glyphs';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { changeText, sheetLabels } from './chunk-LFSIKGRQ.js';
|
|
2
|
-
import { Tooltip } from './chunk-
|
|
2
|
+
import { Tooltip } from './chunk-BRAIO447.js';
|
|
3
3
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
4
4
|
import './ChangeMark-KFDGBF6G.css';
|
|
5
5
|
import { jsx } from 'react/jsx-runtime';
|
|
@@ -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,8 +1,8 @@
|
|
|
1
|
-
import { emojiName } from './chunk-
|
|
2
|
-
import { Toolbar } from './chunk-
|
|
3
|
-
import { IconButton } from './chunk-
|
|
1
|
+
import { emojiName } from './chunk-WUFDCQQF.js';
|
|
2
|
+
import { Toolbar } from './chunk-KBEYFWNQ.js';
|
|
3
|
+
import { IconButton } from './chunk-ELZRLGAK.js';
|
|
4
4
|
import { heldHint } from './chunk-TDFLCUBE.js';
|
|
5
|
-
import { Tooltip } from './chunk-
|
|
5
|
+
import { Tooltip } from './chunk-BRAIO447.js';
|
|
6
6
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
7
7
|
import './ChatScale-L4SIHSKL.css';
|
|
8
8
|
import './MessageActions-Q4F5UH3S.css';
|
|
@@ -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
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,5 +1,5 @@
|
|
|
1
|
-
import { Checkbox } from './chunk-
|
|
2
|
-
import { IconButton } from './chunk-
|
|
1
|
+
import { Checkbox } from './chunk-5IOVYGMH.js';
|
|
2
|
+
import { IconButton } from './chunk-ELZRLGAK.js';
|
|
3
3
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
4
4
|
import './MemberPicker-ZD35VEK6.css';
|
|
5
5
|
import { useId, useState } from 'react';
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { Select } from './chunk-
|
|
2
|
-
import { Modal } from './chunk-
|
|
3
|
-
import { CopyButton } from './chunk-
|
|
1
|
+
import { Select } from './chunk-LQ4R4CHS.js';
|
|
2
|
+
import { Modal } from './chunk-2GR3HFQF.js';
|
|
3
|
+
import { CopyButton } from './chunk-E3I5GFTM.js';
|
|
4
4
|
import { Callout } from './chunk-BPCY7ZID.js';
|
|
5
|
-
import { useMediaMatch } from './chunk-YJQXESOJ.js';
|
|
6
5
|
import { PrincipalAvatar } from './chunk-HF5L56YQ.js';
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
6
|
+
import { useMediaMatch } from './chunk-YJQXESOJ.js';
|
|
7
|
+
import { Button } from './chunk-BB5FLR2G.js';
|
|
8
|
+
import { IconButton } from './chunk-ELZRLGAK.js';
|
|
9
9
|
import { useHeadingLevel, headingTag } from './chunk-PQADV6P6.js';
|
|
10
10
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
11
11
|
import './ShareDialog-72VTMM4K.css';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { Toolbar } from './chunk-
|
|
2
|
-
import { Button } from './chunk-
|
|
1
|
+
import { Toolbar } from './chunk-KBEYFWNQ.js';
|
|
2
|
+
import { Button } from './chunk-BB5FLR2G.js';
|
|
3
3
|
import { returnFocus } from './chunk-4ITETIGZ.js';
|
|
4
|
-
import { announce } from './chunk-
|
|
4
|
+
import { announce } from './chunk-WGMKERCR.js';
|
|
5
5
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
6
6
|
import './SelectionBar-54W5IFF5.css';
|
|
7
7
|
import { useRef, useEffect } from 'react';
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { createContext, useContext } from 'react';
|
|
2
|
+
|
|
3
|
+
// src/Input/fieldContext.ts
|
|
4
|
+
var FormFieldInvalidContext = createContext(false);
|
|
5
|
+
function useFieldError(own) {
|
|
6
|
+
const field = useContext(FormFieldInvalidContext);
|
|
7
|
+
return own ?? field;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export { FormFieldInvalidContext, useFieldError };
|
|
@@ -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-BB5FLR2G.js';
|
|
4
|
+
import { isComposing } from './chunk-KHKHQD6W.js';
|
|
5
5
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
6
6
|
import './InlineEditor-W55DDKML.css';
|
|
7
7
|
import { useRef, useLayoutEffect } from 'react';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { isComposing } from './chunk-
|
|
1
|
+
import { isComposing } from './chunk-KHKHQD6W.js';
|
|
2
2
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
3
3
|
import './Toolbar-HUOSMNTH.css';
|
|
4
4
|
import { useRef, useState, useEffect, useCallback } from 'react';
|
|
@@ -63,7 +63,10 @@ function Toolbar({ label, mode = "toolbar", sticky = false, className, children,
|
|
|
63
63
|
if (stops.length === 0) return;
|
|
64
64
|
const active = Math.min(at, stops.length - 1);
|
|
65
65
|
stops.forEach((stop, index) => {
|
|
66
|
-
for (const owned of stop.owned)
|
|
66
|
+
for (const owned of stop.owned) {
|
|
67
|
+
const next = index === active && owned === stop.focus ? 0 : -1;
|
|
68
|
+
if (owned.getAttribute("tabindex") !== String(next)) owned.tabIndex = next;
|
|
69
|
+
}
|
|
67
70
|
});
|
|
68
71
|
});
|
|
69
72
|
const onFocus = useCallback(
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useThemePreference, useDensityPreference } from './chunk-Z24ZUSTX.js';
|
|
2
|
-
import { SegmentedControl } from './chunk-
|
|
2
|
+
import { SegmentedControl } from './chunk-EYMLG22J.js';
|
|
3
3
|
import { SunGlyph, MonitorGlyph, MoonGlyph } from '@crewlethq/icons/glyphs';
|
|
4
4
|
import { jsx } from 'react/jsx-runtime';
|
|
5
5
|
|
|
@@ -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]);
|
|
@@ -276,5 +276,9 @@ function useBodyScrollLock(active) {
|
|
|
276
276
|
function layerCount() {
|
|
277
277
|
return shared.entries.length;
|
|
278
278
|
}
|
|
279
|
+
function onScreen(el) {
|
|
280
|
+
const box = el.getBoundingClientRect();
|
|
281
|
+
return box.width > 0 && box.bottom > 0 && box.right > 0 && box.top < window.innerHeight && box.left < window.innerWidth;
|
|
282
|
+
}
|
|
279
283
|
|
|
280
284
|
export { focusables, isComposing, isModalLayerOpen, layerCount, useBodyScrollLock, useModalLayer, usePopupLayer };
|
|
@@ -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-BB5FLR2G.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,5 +1,5 @@
|
|
|
1
|
-
import { SidebarNav } from './chunk-
|
|
2
|
-
import { VisuallyHidden } from './chunk-
|
|
1
|
+
import { SidebarNav } from './chunk-TRPYEDZM.js';
|
|
2
|
+
import { VisuallyHidden } from './chunk-RRRK2KB6.js';
|
|
3
3
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
4
4
|
import './SectionFrame-M62UUVFQ.css';
|
|
5
5
|
import { useState, useId } from 'react';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import { toISO, useNow, formatRelative } from './chunk-GBKBME7Q.js';
|
|
1
2
|
import { StatusDot } from './chunk-QRE6JCHS.js';
|
|
2
|
-
import { toISO, useNow, formatRelative } from './chunk-EJNJMHQG.js';
|
|
3
3
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
4
4
|
import './EditingStatus-TMGT265J.css';
|
|
5
5
|
import { jsxs, jsx, Fragment } from 'react/jsx-runtime';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useMediaMatch, REDUCED_MOTION_QUERY } from './chunk-YJQXESOJ.js';
|
|
2
|
-
import { Button } from './chunk-
|
|
3
|
-
import { VisuallyHidden } from './chunk-
|
|
2
|
+
import { Button } from './chunk-BB5FLR2G.js';
|
|
3
|
+
import { VisuallyHidden } from './chunk-RRRK2KB6.js';
|
|
4
4
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
5
5
|
import './ChatThread-XANOIJXN.css';
|
|
6
6
|
import { forwardRef, useRef, Children, useState, useCallback, useEffect, useLayoutEffect, useImperativeHandle } from 'react';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { VisuallyHidden } from './chunk-
|
|
1
|
+
import { VisuallyHidden } from './chunk-RRRK2KB6.js';
|
|
2
2
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
3
3
|
import './FilterChip-VL33P3JL.css';
|
|
4
4
|
import { createContext, useContext, useRef, useId, useCallback, useLayoutEffect } from 'react';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { StepStateMark } from './chunk-
|
|
2
|
-
import { DisclosureAnatomy } from './chunk-
|
|
3
|
-
import { VisuallyHidden } from './chunk-
|
|
1
|
+
import { StepStateMark } from './chunk-EHD4CEHK.js';
|
|
2
|
+
import { DisclosureAnatomy } from './chunk-ODN2TPIG.js';
|
|
3
|
+
import { VisuallyHidden } from './chunk-RRRK2KB6.js';
|
|
4
4
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
5
5
|
import './RunChip-K5DGHXHO.css';
|
|
6
6
|
import { useState, useRef, useEffect, useId } from 'react';
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { KeyChip } from './chunk-HBDA76EZ.js';
|
|
2
|
+
import { Text } from './chunk-XLMURU75.js';
|
|
2
3
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
3
|
-
import './Breadcrumb-
|
|
4
|
+
import './Breadcrumb-4RWP72R6.css';
|
|
4
5
|
import { useRef, useState, useLayoutEffect } from 'react';
|
|
5
6
|
import { ChevronRightGlyph } from '@crewlethq/icons/glyphs';
|
|
6
7
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
@@ -28,7 +29,7 @@ function Breadcrumb({ crumbs, current, label = "Breadcrumb", className, style, .
|
|
|
28
29
|
" "
|
|
29
30
|
] }) : null,
|
|
30
31
|
crumb.badge !== void 0 ? /* @__PURE__ */ jsx("span", { className: "crewlet-breadcrumb__badge", "aria-hidden": "true", children: crumb.badge }) : null,
|
|
31
|
-
/* @__PURE__ */ jsx("
|
|
32
|
+
/* @__PURE__ */ jsx(Text, { variant: "inherit", truncate: true, className: "crewlet-breadcrumb__text", children: crumb.label })
|
|
32
33
|
] });
|
|
33
34
|
const face = crumb.mono ? "is-mono" : void 0;
|
|
34
35
|
return (
|