@crewlethq/ui 0.102.1 → 0.102.3
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/AgentHandoffPanel/index.js +9 -9
- package/dist/AppShell/index.js +6 -6
- package/dist/ArrangeFrame/index.js +4 -4
- package/dist/ArrangeList/index.js +6 -6
- package/dist/ArtifactBar/index.js +8 -8
- package/dist/ArtifactCard/index.js +6 -6
- package/dist/ArtifactPanel/index.js +5 -5
- package/dist/AttentionList/index.js +4 -4
- package/dist/AvatarPicker/index.js +11 -11
- package/dist/BriefCard/index.js +4 -4
- package/dist/Button/index.js +3 -3
- package/dist/Canvas/index.js +5 -5
- package/dist/CanvasBoard/index.js +8 -8
- package/dist/CanvasToolbar/index.js +7 -7
- package/dist/ChangeMark/index.js +3 -3
- package/dist/ChatMessage/index.js +4 -4
- package/dist/ChatThread/ChatThread.d.ts +3 -0
- package/dist/ChatThread/index.js +4 -4
- package/dist/CheckGrid/index.js +6 -6
- package/dist/Checkbox/index.js +5 -5
- package/dist/ChipField/index.js +2 -2
- package/dist/CodeBlock/index.js +6 -6
- package/dist/ColorField/index.js +5 -5
- package/dist/ColorSwatch/index.js +6 -6
- package/dist/Combobox/index.js +6 -6
- package/dist/CommandPalette/index.js +8 -8
- package/dist/CommentThread/index.js +7 -7
- package/dist/CompactNav/index.js +2 -2
- package/dist/Composer/index.js +5 -5
- package/dist/ConfirmField/index.js +5 -5
- package/dist/ConflictNote/index.js +4 -4
- package/dist/ContrastHelp/index.js +5 -5
- package/dist/Copyable/index.js +5 -5
- package/dist/DataGrid/index.js +7 -7
- package/dist/DataTable/index.js +9 -9
- package/dist/DataView/index.js +15 -15
- package/dist/DateTimePicker/index.js +6 -6
- package/dist/DeepWorkCard/index.js +5 -5
- package/dist/DocTabsEditor/index.js +7 -7
- package/dist/DownloadButton/index.js +4 -4
- package/dist/{Editor-ODC36KPN.js → Editor-EWIMNQUZ.js} +7 -7
- package/dist/EmojiPicker/index.js +6 -6
- package/dist/ErrorBoundary/index.js +4 -4
- package/dist/FactList/index.js +3 -3
- package/dist/FileDrop/index.js +4 -4
- package/dist/FilterPill/index.js +4 -4
- package/dist/FollowBanner/index.js +4 -4
- package/dist/HuePicker/index.js +8 -8
- package/dist/IconButton/index.js +3 -3
- package/dist/InlineEditor/index.js +4 -4
- package/dist/Input/index.js +4 -4
- package/dist/KeyValueRows/index.js +6 -6
- 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/LinkInterstitial/index.js +6 -6
- package/dist/ListInput/index.js +6 -6
- package/dist/Listbox/index.js +2 -2
- package/dist/LogoSlot/index.js +5 -5
- package/dist/MarkdownEditor/index.js +9 -9
- package/dist/MemberPicker/index.js +6 -6
- package/dist/Menu/index.js +5 -5
- package/dist/MergeConflicts/index.js +8 -8
- package/dist/MessageActions/index.js +8 -8
- package/dist/Modal/index.js +5 -5
- package/dist/OpenInAppCard/index.js +5 -5
- package/dist/OrgTable/index.js +9 -9
- package/dist/PeekRail/index.js +5 -5
- package/dist/PeopleRail/index.js +5 -5
- package/dist/PinTile/index.js +4 -4
- package/dist/Popover/index.js +2 -2
- package/dist/PresenterView/index.js +7 -7
- package/dist/PrincipalPicker/index.js +7 -7
- package/dist/ProposalCard/index.js +8 -8
- package/dist/RailList/index.js +4 -4
- package/dist/ReactionBar/index.js +7 -7
- package/dist/ReceiptStrip/index.js +4 -4
- package/dist/RecordChip/index.js +3 -3
- package/dist/ResultTableCard/index.js +5 -5
- package/dist/RichEditor/index.js +4 -4
- package/dist/SandboxedFrame/index.js +4 -4
- package/dist/SegmentedControl/index.js +7 -7
- package/dist/Select/index.js +3 -3
- package/dist/SelectionBar/index.js +5 -5
- package/dist/SendButton/index.js +4 -4
- package/dist/SetupWizard/index.js +2 -2
- package/dist/ShareDialog/index.js +9 -9
- package/dist/SheetColumnEditor/index.js +13 -13
- package/dist/SheetGrid/index.js +8 -8
- package/dist/Shortcut/index.js +2 -2
- package/dist/SidePanel/index.js +4 -4
- package/dist/SlideCompare/index.js +5 -5
- package/dist/SlideFilmstrip/index.js +7 -7
- package/dist/SlideGrid/index.js +3 -3
- package/dist/SlideNav/index.js +4 -4
- package/dist/SlideStage/index.js +2 -2
- package/dist/StatusLine/index.js +3 -3
- package/dist/Switcher/index.js +9 -9
- package/dist/Tabs/index.js +6 -6
- package/dist/TagsInput/index.js +5 -5
- package/dist/ThemeGallery/index.js +3 -3
- package/dist/ThemeSwitcher/index.js +8 -8
- package/dist/ThemeToggle/index.js +4 -4
- package/dist/TimeRangePicker/index.js +10 -10
- package/dist/TimeWindowPicker/index.js +9 -9
- package/dist/Toaster/index.js +1 -1
- package/dist/Toolbar/index.js +2 -2
- package/dist/Tooltip/index.js +2 -2
- package/dist/TreeCanvas/index.js +6 -6
- package/dist/TreeGrid/index.js +8 -8
- package/dist/ValueField/index.js +8 -8
- package/dist/VersionCompare/index.js +8 -8
- package/dist/VersionTimeline/index.js +4 -4
- package/dist/{chunk-OAWCHDQV.js → chunk-2ES6LAV2.js} +1 -1
- package/dist/{chunk-ES7XJCWD.js → chunk-2ONUTSER.js} +1 -1
- package/dist/{chunk-TE2BPD6L.js → chunk-2SWDUJCT.js} +2 -2
- package/dist/{chunk-VGJ4IH72.js → chunk-3EXGTJQU.js} +1 -1
- package/dist/{chunk-3TMSP5TD.js → chunk-3IYS6YNX.js} +1 -1
- package/dist/{chunk-GCVCMZUS.js → chunk-46BY2WPZ.js} +2 -2
- package/dist/{chunk-UJDXFRR7.js → chunk-4EZOLSUO.js} +2 -2
- package/dist/{chunk-EBLLIDRC.js → chunk-4ORJDTMS.js} +2 -2
- package/dist/{chunk-PYNX5Q3J.js → chunk-4S2GS7EL.js} +1 -1
- package/dist/{chunk-BRAIO447.js → chunk-4SKN3BLH.js} +1 -1
- package/dist/{chunk-UURRF5Y6.js → chunk-4VKFZZHS.js} +1 -1
- package/dist/{chunk-GZEMH4ZD.js → chunk-5DYV5Q67.js} +1 -1
- package/dist/{chunk-VYZ6SJWH.js → chunk-5KAADF4G.js} +4 -18
- package/dist/{chunk-QOMO7ECD.js → chunk-67T6TIGJ.js} +1 -1
- package/dist/{chunk-UTZ3DBPB.js → chunk-6KYD6DOL.js} +1 -1
- package/dist/{chunk-CYTLVKWP.js → chunk-6NGLJRSJ.js} +4 -4
- package/dist/{chunk-JBRI5WPF.js → chunk-6QOW3WT2.js} +5 -5
- package/dist/{chunk-WUFDCQQF.js → chunk-6YQRCPJ3.js} +4 -4
- package/dist/{chunk-NMWI2P2E.js → chunk-73L3774J.js} +1 -1
- package/dist/{chunk-FT6DIDIW.js → chunk-7EAZGL5B.js} +1 -1
- package/dist/{chunk-CRYFSTYB.js → chunk-7O53SWKI.js} +1 -1
- package/dist/{chunk-BV66AC45.js → chunk-7YPP6WAT.js} +2 -2
- package/dist/{chunk-AVO7CTFV.js → chunk-AHTIZ7RU.js} +3 -3
- package/dist/{chunk-5IOVYGMH.js → chunk-AR4K6L4X.js} +1 -1
- package/dist/{chunk-X5MJPPO7.js → chunk-ASU2MEI3.js} +3 -3
- package/dist/{chunk-7TKUK527.js → chunk-AV5NWTYU.js} +1 -1
- package/dist/{chunk-GDSKYY6S.js → chunk-AWXCILIT.js} +2 -2
- package/dist/{chunk-YNPMV23G.js → chunk-B7WZADFX.js} +4 -4
- package/dist/{chunk-NZSDE3OU.js → chunk-BINHWCBP.js} +5 -5
- package/dist/{chunk-WNRS45XI.js → chunk-CYPG4DXC.js} +1 -1
- package/dist/{chunk-3UZVFAGE.js → chunk-DKFBBOVE.js} +2 -2
- package/dist/{chunk-KHKHQD6W.js → chunk-EDPMHSLZ.js} +19 -1
- package/dist/{chunk-RYGNJNVJ.js → chunk-EGJL5OGF.js} +3 -3
- package/dist/{chunk-VVZLPRF3.js → chunk-EHZP27H5.js} +2 -2
- package/dist/{chunk-Z227PCDA.js → chunk-F7K3O742.js} +3 -3
- package/dist/{chunk-FNVYRRK2.js → chunk-FK6CH46C.js} +4 -4
- package/dist/{chunk-TFXNQDJA.js → chunk-FNKOULI4.js} +2 -2
- package/dist/{chunk-P4QZMHAT.js → chunk-H5XYPVZ7.js} +2 -2
- package/dist/{chunk-AKJK5YUY.js → chunk-HWTTVN6T.js} +1 -1
- package/dist/{chunk-5VHMJEP3.js → chunk-I2FNTMX2.js} +1 -1
- package/dist/{chunk-NXVF5JWZ.js → chunk-I476JLNZ.js} +1 -1
- package/dist/{chunk-KMDVDWQI.js → chunk-IIM6UAJJ.js} +1 -1
- package/dist/{chunk-NUZELCUD.js → chunk-INREAF4Z.js} +1 -1
- package/dist/{chunk-JT7BELIN.js → chunk-IOLOWL33.js} +2 -2
- package/dist/{chunk-YX27WGMR.js → chunk-IQELH56T.js} +1 -1
- package/dist/{chunk-Y6RYFN5L.js → chunk-IS5EUMJW.js} +5 -5
- package/dist/{chunk-5GPFEXZA.js → chunk-J76ZZ6U2.js} +1 -1
- package/dist/{chunk-RMXMAHH2.js → chunk-JDHZH3JR.js} +1 -1
- package/dist/{chunk-QDWI24EX.js → chunk-JEHW3FEB.js} +10 -10
- package/dist/{chunk-R62IXILJ.js → chunk-JFI5YB3R.js} +2 -2
- package/dist/{chunk-RMDXYHE3.js → chunk-JGP5MUVT.js} +1 -1
- package/dist/{chunk-DXU4SJRY.js → chunk-JHVNR4PF.js} +3 -3
- package/dist/{chunk-YD2IB4LX.js → chunk-JK42RK54.js} +1 -1
- package/dist/{chunk-LQ4R4CHS.js → chunk-JUZOMYOZ.js} +1 -1
- package/dist/{chunk-S6TWWDOH.js → chunk-K5L7FJTH.js} +1 -1
- package/dist/{chunk-QU7GTPC5.js → chunk-K6PKXCR2.js} +1 -1
- package/dist/{chunk-OXG4UYMB.js → chunk-KAHTBXQ7.js} +3 -3
- package/dist/{chunk-WNAPQC4G.js → chunk-KPB4ZUBI.js} +3 -3
- package/dist/{chunk-MQX7SHG7.js → chunk-KW7T23RT.js} +1 -1
- package/dist/{chunk-KKDC5ELG.js → chunk-L3G2YQE3.js} +1 -1
- package/dist/{chunk-2GR3HFQF.js → chunk-LDFVJSKZ.js} +3 -3
- package/dist/{chunk-MQ3T56A4.js → chunk-LH2LQHOX.js} +3 -3
- package/dist/{chunk-S4CGIXFV.js → chunk-LIU2AUNJ.js} +3 -3
- package/dist/{chunk-NBQ5TKC6.js → chunk-LQZMCR2K.js} +1 -1
- package/dist/{chunk-ZY2SBPNN.js → chunk-LXOITCXH.js} +4 -4
- package/dist/{chunk-SG5XRIOZ.js → chunk-MAWE3NCV.js} +3 -3
- package/dist/{chunk-XSZR73LX.js → chunk-MIIB3ZS6.js} +1 -1
- package/dist/{chunk-KGEWO2LN.js → chunk-N764LLIQ.js} +1 -1
- package/dist/{chunk-E3I5GFTM.js → chunk-NNO5GSIB.js} +2 -2
- package/dist/{chunk-MN2RZN2C.js → chunk-NODLQBQ4.js} +1 -1
- package/dist/{chunk-UUICORUJ.js → chunk-O2UTMKCD.js} +4 -4
- package/dist/{chunk-E2UGH7R5.js → chunk-OAP576OR.js} +1 -1
- package/dist/{chunk-KBEYFWNQ.js → chunk-OIM3CIA2.js} +1 -1
- package/dist/{chunk-W7YZ7PLZ.js → chunk-OINMHTDX.js} +2 -2
- package/dist/{chunk-LRZQSMRX.js → chunk-OMVDF3RD.js} +3 -3
- package/dist/{chunk-J5DMI7X3.js → chunk-OP6EE23N.js} +2 -2
- package/dist/{chunk-IB7TB47Z.js → chunk-OPWSOIAW.js} +4 -4
- package/dist/{chunk-ETV4SOCY.js → chunk-OY33ZBWU.js} +7 -7
- package/dist/{chunk-ED6ITKSU.js → chunk-PH5APLMB.js} +1 -1
- package/dist/{chunk-ELZRLGAK.js → chunk-PNYANWZ6.js} +1 -1
- package/dist/{chunk-Q6GAYYXI.js → chunk-POOLWQYU.js} +5 -5
- package/dist/{chunk-XYFVJRCH.js → chunk-PPQELBN3.js} +3 -3
- package/dist/{chunk-7HJGEQV2.js → chunk-PTX7BMBW.js} +1 -1
- package/dist/{chunk-YSXA5WLH.js → chunk-QFI5C4YF.js} +1 -1
- package/dist/{chunk-UUSZMEDK.js → chunk-QGOEKPV5.js} +7 -7
- package/dist/{chunk-6FCTU4UT.js → chunk-QHE4CNBM.js} +2 -2
- package/dist/{chunk-LJ2BXVKQ.js → chunk-R7UQRR25.js} +1 -1
- package/dist/{chunk-F2SI6JHN.js → chunk-RC7BU5YS.js} +2 -2
- package/dist/{chunk-BB5FLR2G.js → chunk-RTHWXAXT.js} +1 -1
- package/dist/{chunk-Z7HGWZLC.js → chunk-SUIUMAIY.js} +3 -3
- package/dist/{chunk-QUZRBQ43.js → chunk-T5P3K2TM.js} +5 -20
- package/dist/{chunk-XOPHJPHU.js → chunk-V3PIY2B2.js} +1 -1
- package/dist/{chunk-EYMLG22J.js → chunk-VJ4OGNS7.js} +1 -1
- package/dist/{chunk-VUGIZRDA.js → chunk-VJSTBDIB.js} +4 -4
- package/dist/{chunk-DJXVAA5S.js → chunk-VVIT4AIE.js} +2 -2
- package/dist/{chunk-7JI4RSUA.js → chunk-VYUEAMA4.js} +1 -1
- package/dist/{chunk-4TRSRXKX.js → chunk-W37NWQ4G.js} +1 -1
- package/dist/{chunk-SWZD5WZG.js → chunk-W6SECEEG.js} +2 -2
- package/dist/{chunk-JFAKHQSM.js → chunk-WYZMETET.js} +2 -2
- package/dist/{chunk-KSEM4ZUP.js → chunk-XQQN2NZB.js} +9 -11
- package/dist/{chunk-DBBOZZG5.js → chunk-Y4OWRIQ3.js} +3 -3
- package/dist/{chunk-DC7PGBRD.js → chunk-Y7KBBP2M.js} +1 -1
- package/dist/{chunk-XHWIEAVU.js → chunk-YUW4DD2Z.js} +1 -1
- package/dist/{chunk-7YAGYA45.js → chunk-YX5KEKPL.js} +1 -1
- package/dist/{chunk-MSJPIUDW.js → chunk-Z4PTR5FX.js} +2 -2
- package/dist/{chunk-UD7E46JF.js → chunk-Z4ZVDAJA.js} +6 -6
- package/dist/{chunk-G7Y5HFVV.js → chunk-ZQVQV5OB.js} +1 -1
- package/dist/generated/index.js +124 -124
- package/dist/index.js +124 -124
- package/package.json +3 -3
- package/dist/{chunk-QIWQFXKX.js → chunk-LLI6B5XR.js} +1 -1
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { releaseFocus, usePresence } from './chunk-PCAT2EFB.js';
|
|
2
2
|
import { useRailShape, RailShapeContext, RailLeavingContext } from './chunk-JLOESTT2.js';
|
|
3
3
|
import { useMediaMatch } from './chunk-YJQXESOJ.js';
|
|
4
|
-
import { Menu } from './chunk-
|
|
4
|
+
import { Menu } from './chunk-B7WZADFX.js';
|
|
5
5
|
import { PeekContext, AsideContext, ResizeHandle, clampSize } from './chunk-PIYJNCN7.js';
|
|
6
6
|
import { isApplePlatform, ariaKeyshortcuts, Kbd } from './chunk-VBBLHS2Y.js';
|
|
7
7
|
import { HIT_AREA_CLASS } from './chunk-2YTOOH3A.js';
|
|
8
|
-
import { IconButton } from './chunk-
|
|
9
|
-
import { Tooltip } from './chunk-
|
|
10
|
-
import { focusables,
|
|
8
|
+
import { IconButton } from './chunk-PNYANWZ6.js';
|
|
9
|
+
import { Tooltip } from './chunk-4SKN3BLH.js';
|
|
10
|
+
import { focusables, useEscapeWithin, useModalLayer } from './chunk-EDPMHSLZ.js';
|
|
11
11
|
import { returnFocus } from './chunk-4ITETIGZ.js';
|
|
12
12
|
import { VisuallyHidden } from './chunk-RRRK2KB6.js';
|
|
13
13
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
@@ -502,8 +502,6 @@ function useLooseOverlay(region, active, onClose) {
|
|
|
502
502
|
const [opener] = useState(() => typeof document === "undefined" ? null : document.activeElement);
|
|
503
503
|
const loose = useRef(active);
|
|
504
504
|
loose.current = active;
|
|
505
|
-
const close = useRef(onClose);
|
|
506
|
-
close.current = onClose;
|
|
507
505
|
useEffect(() => {
|
|
508
506
|
const panel = region.current;
|
|
509
507
|
if (!loose.current || !panel || panel.contains(document.activeElement)) return;
|
|
@@ -516,20 +514,7 @@ function useLooseOverlay(region, active, onClose) {
|
|
|
516
514
|
if (opener instanceof HTMLElement && opener.isConnected && opener !== document.body) returnFocus(opener);
|
|
517
515
|
};
|
|
518
516
|
}, [region, opener]);
|
|
519
|
-
|
|
520
|
-
const panel = region.current;
|
|
521
|
-
if (!active || !panel) return void 0;
|
|
522
|
-
const doc = panel.ownerDocument;
|
|
523
|
-
const onKeyDown = (event) => {
|
|
524
|
-
if (event.key !== "Escape" || event.defaultPrevented || isComposing(event)) return;
|
|
525
|
-
if (!(event.target instanceof Node) || !panel.contains(event.target)) return;
|
|
526
|
-
if (layerCount() > 0 || !close.current) return;
|
|
527
|
-
event.preventDefault();
|
|
528
|
-
close.current();
|
|
529
|
-
};
|
|
530
|
-
doc.addEventListener("keydown", onKeyDown);
|
|
531
|
-
return () => doc.removeEventListener("keydown", onKeyDown);
|
|
532
|
-
}, [active, region]);
|
|
517
|
+
useEscapeWithin(region, onClose, active);
|
|
533
518
|
}
|
|
534
519
|
function AsideVeil({
|
|
535
520
|
region,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { Toolbar } from './chunk-
|
|
2
|
-
import { SegmentedControl } from './chunk-
|
|
3
|
-
import { tabId } from './chunk-
|
|
4
|
-
import { IconButton } from './chunk-
|
|
1
|
+
import { Toolbar } from './chunk-OIM3CIA2.js';
|
|
2
|
+
import { SegmentedControl } from './chunk-VJ4OGNS7.js';
|
|
3
|
+
import { tabId } from './chunk-Y7KBBP2M.js';
|
|
4
|
+
import { IconButton } from './chunk-PNYANWZ6.js';
|
|
5
5
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
6
6
|
import './MarkdownEditor-BLCJRGDC.css';
|
|
7
7
|
import { useState, useId, useRef, useLayoutEffect, useImperativeHandle } from 'react';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Textarea } from './chunk-
|
|
1
|
+
import { Textarea } from './chunk-DKFBBOVE.js';
|
|
2
2
|
import { Kbd } from './chunk-VBBLHS2Y.js';
|
|
3
|
-
import { isComposing } from './chunk-
|
|
3
|
+
import { isComposing } from './chunk-EDPMHSLZ.js';
|
|
4
4
|
import { VisuallyHidden } from './chunk-RRRK2KB6.js';
|
|
5
5
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
6
6
|
import './ChatScale-L4SIHSKL.css';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useComposedRef } from './chunk-L72URIHR.js';
|
|
2
2
|
import { useLayerContainer, viewportBounds, LAYER_GAP, anchorGone, placePopup, LAYER_REPOSITION_EVENT } from './chunk-FIX72ZEC.js';
|
|
3
|
-
import { usePopupLayer, focusables } from './chunk-
|
|
3
|
+
import { usePopupLayer, focusables } from './chunk-EDPMHSLZ.js';
|
|
4
4
|
import { returnFocus } from './chunk-4ITETIGZ.js';
|
|
5
5
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
6
6
|
import './Popover-QCINR7WG.css';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Switch } from './chunk-6YYRFGXO.js';
|
|
2
2
|
import { useReorder } from './chunk-4S2AN5W4.js';
|
|
3
|
-
import { Checkbox } from './chunk-
|
|
4
|
-
import { IconButton } from './chunk-
|
|
3
|
+
import { Checkbox } from './chunk-AR4K6L4X.js';
|
|
4
|
+
import { IconButton } from './chunk-PNYANWZ6.js';
|
|
5
5
|
import { VisuallyHidden } from './chunk-RRRK2KB6.js';
|
|
6
6
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
7
7
|
import './ArrangeList-F6Y43I24.css';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Toolbar } from './chunk-
|
|
2
|
-
import { Button } from './chunk-
|
|
1
|
+
import { Toolbar } from './chunk-OIM3CIA2.js';
|
|
2
|
+
import { Button } from './chunk-RTHWXAXT.js';
|
|
3
3
|
import { returnFocus } from './chunk-4ITETIGZ.js';
|
|
4
4
|
import { announce } from './chunk-WGMKERCR.js';
|
|
5
5
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useMediaMatch, REDUCED_MOTION_QUERY } from './chunk-YJQXESOJ.js';
|
|
2
|
-
import { Button } from './chunk-
|
|
2
|
+
import { Button } from './chunk-RTHWXAXT.js';
|
|
3
3
|
import { VisuallyHidden } from './chunk-RRRK2KB6.js';
|
|
4
4
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
5
5
|
import './ChatThread-XANOIJXN.css';
|
|
@@ -92,17 +92,15 @@ var ChatThread = forwardRef(function ChatThread2({
|
|
|
92
92
|
const hold = useCallback(() => {
|
|
93
93
|
const el = scroller.current;
|
|
94
94
|
const mark = anchor.current;
|
|
95
|
-
if (!el ||
|
|
96
|
-
if (
|
|
97
|
-
|
|
98
|
-
|
|
95
|
+
if (!el || atEnd.current || jumping.current) return;
|
|
96
|
+
if (mark?.element.isConnected) {
|
|
97
|
+
const delta = depthIn(el, mark.element) - mark.at;
|
|
98
|
+
if (Math.abs(delta) >= 0.5) {
|
|
99
|
+
el.scrollTop += delta;
|
|
100
|
+
settle(el);
|
|
101
|
+
}
|
|
99
102
|
}
|
|
100
|
-
|
|
101
|
-
const delta = at - mark.at;
|
|
102
|
-
if (Math.abs(delta) < 0.5) return;
|
|
103
|
-
mark.at = at;
|
|
104
|
-
el.scrollTop += delta;
|
|
105
|
-
settle(el);
|
|
103
|
+
anchor.current = anchorIn(el, items.current);
|
|
106
104
|
}, [settle]);
|
|
107
105
|
useEffect(() => {
|
|
108
106
|
const el = scroller.current;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Toolbar } from './chunk-
|
|
2
|
-
import { ShortcutTip } from './chunk-
|
|
3
|
-
import { IconButton } from './chunk-
|
|
1
|
+
import { Toolbar } from './chunk-OIM3CIA2.js';
|
|
2
|
+
import { ShortcutTip } from './chunk-KAHTBXQ7.js';
|
|
3
|
+
import { IconButton } from './chunk-PNYANWZ6.js';
|
|
4
4
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
5
5
|
import './CanvasToolbar-EM5EVZED.css';
|
|
6
6
|
import { jsx } from 'react/jsx-runtime';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useRoving, tabStop } from './chunk-EGMQURBR.js';
|
|
2
2
|
import { StatusDot } from './chunk-QRE6JCHS.js';
|
|
3
|
-
import { Menu } from './chunk-
|
|
3
|
+
import { Menu } from './chunk-B7WZADFX.js';
|
|
4
4
|
import { HIT_AREA_CLASS } from './chunk-2YTOOH3A.js';
|
|
5
5
|
import { Count } from './chunk-Y5CMDLQM.js';
|
|
6
6
|
import { VisuallyHidden } from './chunk-RRRK2KB6.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Tag } from './chunk-SJ3EUCFD.js';
|
|
2
|
-
import { isComposing } from './chunk-
|
|
2
|
+
import { isComposing } from './chunk-EDPMHSLZ.js';
|
|
3
3
|
import { useFocusModality } from './chunk-4ITETIGZ.js';
|
|
4
4
|
import { announce } from './chunk-WGMKERCR.js';
|
|
5
5
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { SegmentedControl } from './chunk-
|
|
2
|
-
import { Button } from './chunk-
|
|
1
|
+
import { SegmentedControl } from './chunk-VJ4OGNS7.js';
|
|
2
|
+
import { Button } from './chunk-RTHWXAXT.js';
|
|
3
3
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
4
4
|
import './MergeConflicts-HCXPRQVR.css';
|
|
5
5
|
import { useState, useId, useRef, useEffect } from 'react';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { Select } from './chunk-
|
|
1
|
+
import { Select } from './chunk-JUZOMYOZ.js';
|
|
2
2
|
import { today, shiftMonth, CalendarGrid, compareDays } from './chunk-EE3DJMSQ.js';
|
|
3
|
-
import { Popover } from './chunk-
|
|
4
|
-
import { Input } from './chunk-
|
|
5
|
-
import { Button } from './chunk-
|
|
6
|
-
import { IconButton } from './chunk-
|
|
7
|
-
import { isComposing } from './chunk-
|
|
3
|
+
import { Popover } from './chunk-VYUEAMA4.js';
|
|
4
|
+
import { Input } from './chunk-DKFBBOVE.js';
|
|
5
|
+
import { Button } from './chunk-RTHWXAXT.js';
|
|
6
|
+
import { IconButton } from './chunk-PNYANWZ6.js';
|
|
7
|
+
import { isComposing } from './chunk-EDPMHSLZ.js';
|
|
8
8
|
import { useFocusModality } from './chunk-4ITETIGZ.js';
|
|
9
9
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
10
10
|
import './TimeWindowPicker-YZPKNZZI.css';
|