Файли
openidea/src/ui/index.ts
T
akshathayadav378-boopтаakshathayadav378-boop b2c22ccec6 fix(ui): keep a file drag from selecting the text it passes over (#3358)
Dragging a file from the Project view selected the editor text the pointer passed over (#3334). WebKit keeps contenteditable text selectable whatever its user-select, and starts a selection there during a mouse drag even when the press selected nothing. beginDrag() now clears the selection and marks every pointer drag (startPointerDrag, the Project view's own file drag, tool window stripe buttons): no selection, and inputs, textareas and contenteditable out of hit testing (drop targets are their containers).

Co-authored-by: akshathayadav378-boop <[email protected]>
2026-11-14 21:24:20 +08:00

48 рядки
1.4 KiB
TypeScript

export * from "./icons";
export * from "./Button";
export * from "./FloatingToolbar";
export * from "./Kbd";
export * from "./Mnemonic";
export * from "./Tooltip";
export * from "./Input";
export * from "./Checkbox";
export * from "./Select";
export * from "./Tabs";
export * from "./Toolbar";
export {
FILES_DRAG,
REMOTE_FILES_DRAG,
dragRequiresAlt,
beginDrag,
dragSession,
dropZoneAt,
registerDropTarget,
setDragRequiresAlt,
startPointerDrag,
type DragSession,
type DropEdge,
} from "./pointerDrag";
export * from "./Tree";
export * from "./List";
export * from "./Popup";
export * from "./Menu";
export * from "./Dialog";
export * from "./Splitter";
export { Scrollbar, hideNativeScrollbar } from "./Scrollbar";
export * from "./SourcePreview";
export * from "./Feedback";
export * from "./HighlightedText";
export { fuzzyMatch, wordMatch } from "./match";
export { badgeKind } from "./symbolKind";
export { acquirePopup, isPopupOpen } from "./popupState";
export * from "./BarButton";
export { lazyComponent, lazyWhen, prefetchLazyComponents } from "./lazy";
export { Given, T } from "./T";
export { selectableText, copyMenuFor, copyText } from "./selectableText";
export { selectReadingPane, useSelectionBoundary } from "./useSelectionBoundary";
export { lockDragCursor, type DragCursor } from "./dragCursor";
export { useSanitizedField } from "./useSanitizedField";
export * from "./rowSelection";
export * from "./LogPane";
export * from "./Chip";