MCPcopy Create free account

hub / github.com/clauderic/dnd-kit / functions

Functions995 in github.com/clauderic/dnd-kit

↓ 1 callersFunctiondestroy
* Destroys a plugin instance and cleans up its resources. * * @remarks * This method: * - Calls all registered cleanup functions * - Sh
packages/abstract/src/core/plugins/plugin.ts:112
↓ 1 callersMethoddestroy
* Destroys all registered plugin instances. * * @remarks * This method: * - Calls destroy() on all plugin instances * - Clears the regi
packages/abstract/src/core/plugins/registry.ts:155
↓ 1 callersFunctiondetectScrollIntent
( scrollableElement: Element, coordinates: Coordinates, intent?: ScrollIntent, acceleration = 25, th
packages/dom/src/utilities/scroll/detectScrollIntent.ts:29
↓ 1 callersMethoddisabled
()
packages/dom/src/sortable/sortable.ts:392
↓ 1 callersFunctiondragOffsetTests
(stories: DragOffsetStories)
apps/stories-shared/tests/drag-offset.tests.ts:8
↓ 1 callersMethodeffects
* An array of effects that are set up when the entity is registered and cleaned up when it is unregistered.
packages/abstract/src/core/entities/entity/entity.ts:35
↓ 1 callersFunctionencode
(data: Record<string, any>)
packages/dom/src/core/sensors/drag/encoding.ts:1
↓ 1 callersFunctionencodeUpperCase
(str: string)
packages/dom/src/core/sensors/drag/encoding.ts:12
↓ 1 callersFunctionenqueue
(event: AnalyticsEvent)
apps/docs/src/scripts/mintlify-analytics.ts:159
↓ 1 callersFunctionensureStyles
()
apps/docs/src/components/LogoContextMenu.ts:37
↓ 1 callersFunctionextractCode
(children: ReactNode)
apps/docs/src/components/CodeBlock.tsx:17
↓ 1 callersFunctionextractLanguage
(className?: string)
apps/docs/src/components/CodeBlock.tsx:30
↓ 1 callersFunctionfindContainedDroppables
* Maps droppable elements contained within the source element * Returns a map of droppables to their temporary identifier attributes
packages/dom/src/core/plugins/feedback/utilities.ts:52
↓ 1 callersFunctionfindMdxFiles
* Recursively find all .mdx files in a directory.
apps/docs/scripts/generate-og-image.mjs:112
↓ 1 callersFunctionfindScrollableAncestors
(node: Node | null)
packages/dom/src/utilities/scroll/getScrollableAncestors.ts:28
↓ 1 callersFunctionforceFinishAnimations
( element: Element, options: { properties: string[]; isValidTarget?: (target: Element) => boolean;
packages/dom/src/utilities/animations/forceFinishAnimations.ts:35
↓ 1 callersFunctiongenerateId
(prefix: string)
apps/docs/src/scripts/mintlify-analytics.ts:26
↓ 1 callersFunctiongenerateImage
(slug, title, description, icon)
apps/docs/scripts/generate-og-image.mjs:307
↓ 1 callersFunctiongenerateIndexFile
* Generates a default index file that imports the main app file.
packages/storybook-addon-codesandbox/src/collect-files.ts:39
↓ 1 callersFunctiongeneratePackageJson
* Generates the package.json content for the sandbox.
packages/storybook-addon-codesandbox/src/collect-files.ts:17
↓ 1 callersFunctiongetDescendants
( items: FlattenedItem[], parentId: UniqueIdentifier )
apps/stories/stories/react/Sortable/Tree/utilities.ts:98
↓ 1 callersFunctiongetDirection
(delta: Coordinates)
packages/dom/src/sortable/plugins/SortableKeyboardPlugin.ts:187
↓ 1 callersFunctiongetDocumentAnimations
(element: Element)
packages/dom/src/utilities/animations/forceFinishAnimations.ts:8
↓ 1 callersFunctiongetDocuments
( rootDoc: Document = document, seen: Set<Document> = new Set() )
packages/dom/src/utilities/execution-context/getDocuments.ts:11
↓ 1 callersFunctiongetDragDropContext
()
packages/svelte/src/core/context/context.ts:10
↓ 1 callersFunctiongetElementFromPoint
( root: Document | ShadowRoot, {x, y}: Coordinates )
packages/dom/src/utilities/element/getElementFromPoint.ts:3
↓ 1 callersFunctiongetFrameElements
(el: Element | undefined)
packages/dom/src/utilities/frame/getFrameElements.ts:3
↓ 1 callersFunctiongetItemStyle
(_: number, index: number)
apps/stories/stories/react/Sortable/Grid/Grid.stories.tsx:50
↓ 1 callersFunctiongetLang
()
apps/docs/src/components/PreElement.tsx:21
↓ 1 callersFunctiongetMaxDepth
( targetItem: FlattenedItem, previousItem: FlattenedItem | undefined )
apps/stories/stories/react/Sortable/Tree/utilities.ts:85
↓ 1 callersFunctiongetMinDepth
(nextItem: FlattenedItem)
apps/stories/stories/react/Sortable/Tree/utilities.ts:94
↓ 1 callersFunctiongetOffsetRelativeTo
* Returns the element's border-box position relative to the ancestor's * padding edge (content area), which is the coordinate space that * scrollTop
packages/dom/src/utilities/scroll/scrollIntoViewIfNeeded.ts:124
↓ 1 callersFunctiongetOrCreateMenu
()
apps/docs/src/components/LogoContextMenu.ts:17
↓ 1 callersFunctiongetParentId
()
apps/stories/stories/react/Sortable/Tree/utilities.ts:63
↓ 1 callersFunctiongetProjectedTransform
( element: Element, computedStyles: CSSStyleDeclaration )
packages/dom/src/utilities/shapes/DOMRectangle.ts:123
↓ 1 callersFunctiongetScale
( element: Element, boundingRectangle = getBoundingRectangle(element) )
packages/dom/src/utilities/frame/getFrameTransform.ts:42
↓ 1 callersFunctiongetSolidInfraFiles
()
apps/docs/src/components/CodeSandbox.tsx:26
↓ 1 callersFunctiongetStatusStyles
(status: string)
apps/stories/stories/react/Sortable/Table/TanstackTableExample.tsx:304
↓ 1 callersFunctiongetStatusStyles
(status: string)
apps/stories/stories/react/Sortable/Table/TableExample.tsx:264
↓ 1 callersFunctiongetSvelteInfraFiles
()
apps/docs/src/components/CodeSandbox.tsx:67
↓ 1 callersFunctiongetWrapperStyles
( layout: 'vertical' | 'horizontal' | 'grid' )
apps/stories/stories/react/Sortable/SortableExample.tsx:136
↓ 1 callersFunctiongroupEntries
(entries: NavEntry[])
apps/docs/src/components/Sidebar/SidebarEntries.tsx:19
↓ 1 callersMethodhandleEnd
(event: Event, canceled: boolean)
packages/dom/src/core/sensors/keyboard/KeyboardSensor.ts:220
↓ 1 callersMethodhandleKeyDown
( event: KeyboardEvent, _source: Draggable, options: KeyboardSensorOptions | undefined )
packages/dom/src/core/sensors/keyboard/KeyboardSensor.ts:192
↓ 1 callersMethodhandlePointerDown
( event: PointerEvent, source: Draggable, options: PointerSensorOptions | undefined )
packages/dom/src/core/sensors/pointer/PointerSensor.ts:169
↓ 1 callersMethodhandlePointerMove
(event: PointerEvent, source: Draggable)
packages/dom/src/core/sensors/pointer/PointerSensor.ts:270
↓ 1 callersMethodhandleStart
(source: Draggable, event: PointerEvent)
packages/dom/src/core/sensors/pointer/PointerSensor.ts:316
↓ 1 callersMethodhandleStart
( event: KeyboardEvent, source: Draggable, options: KeyboardSensorOptions | undefined )
packages/dom/src/core/sensors/keyboard/KeyboardSensor.ts:147
↓ 1 callersFunctionhasVisibleParts
(parts: UIMessage['parts'] | undefined)
apps/docs/src/components/Assistant/ChatResponse.tsx:194
↓ 1 callersFunctionhasVisibleParts
(parts: UIMessage['parts'] | undefined)
apps/docs/src/components/Assistant/AssistantHistoryList.tsx:11
↓ 1 callersFunctionindex
()
apps/templates/solid-sortable/src/App.tsx:10
↓ 1 callersFunctionindex
()
apps/stories-solid/stories/Sortable/SortableApp.tsx:11
↓ 1 callersFunctionindex
()
apps/stories-solid/stories/Sortable/SortableDynamicFeedbackApp.tsx:23
↓ 1 callersFunctionindex
()
apps/stories-solid/stories/Sortable/SortableDragHandleApp.tsx:11
↓ 1 callersFunctionindex
()
apps/stories-solid/stories/Sortable/Horizontal/HorizontalSortableApp.tsx:9
↓ 1 callersFunctionindex
()
apps/stories-solid/stories/Sortable/Grid/GridSortableApp.tsx:9
↓ 1 callersFunctioninit
()
apps/docs/src/components/LogoContextMenu.ts:108
↓ 1 callersMethodintersectionRatio
(shape: Shape)
packages/geometry/src/shapes/Rectangle.ts:83
↓ 1 callersFunctioninverseTransform
( rect: BoundingRectangle, parsedTransform: Transform, transformOrigin: string )
packages/dom/src/utilities/transform/inverseTransform.ts:5
↓ 1 callersFunctionisCapturedBySensor
(event: Event)
packages/dom/src/core/sensors/pointer/PointerSensor.ts:414
↓ 1 callersFunctionisContentEditable
(element: Element)
packages/dom/src/utilities/type-guards/isTextInput.ts:13
↓ 1 callersFunctionisDarkMode
()
packages/storybook-addon-codesandbox/src/preview/codesandbox-button-dom.ts:40
↓ 1 callersFunctionisDetailsElement
(element: Element)
packages/dom/src/utilities/bounding-rectangle/isOverflowVisible.ts:22
↓ 1 callersFunctionisFixed
( node: Element, computedStyle: CSSStyleDeclaration = getComputedStyles(node, true) )
packages/dom/src/utilities/scroll/isFixed.ts:3
↓ 1 callersFunctionisFocusable
(element: Element)
packages/dom/src/core/plugins/accessibility/utilities.ts:1
↓ 1 callersFunctionisIFrameElement
( element: Element | null )
packages/dom/src/utilities/element/getElementFromPoint.ts:25
↓ 1 callersFunctionisOverflowVisible
( element: Element, style?: CSSStyleDeclaration )
packages/dom/src/utilities/bounding-rectangle/isOverflowVisible.ts:7
↓ 1 callersFunctionisPointerEvent
( event: Event | null | undefined )
packages/dom/src/utilities/type-guards/isPointerEvent.ts:3
↓ 1 callersFunctionisRectEqual
( a: BoundingRectangle | undefined, b: BoundingRectangle | undefined )
packages/dom/src/utilities/bounding-rectangle/isRectEqual.ts:3
↓ 1 callersFunctionisRef
(value: RefOrValue<T>)
packages/react/src/utilities/currentValue.ts:7
↓ 1 callersFunctionisScrollable
( element: HTMLElement, computedStyle: CSSStyleDeclaration = getComputedStyles(element, true) )
packages/dom/src/utilities/scroll/isScrollable.ts:3
↓ 1 callersFunctionisTextInput
(target: EventTarget | null)
packages/dom/src/utilities/type-guards/isTextInput.ts:3
↓ 1 callersFunctionisVisible
( element: Element, boundingClientRect = element.getBoundingClientRect() )
packages/dom/src/utilities/bounding-rectangle/isVisible.ts:3
↓ 1 callersFunctionmain
()
apps/docs/scripts/diff-screenshots.mjs:124
↓ 1 callersFunctionmain
()
apps/docs/scripts/generate-og-image.mjs:340
↓ 1 callersFunctionmove
(layout: Layout, coordinates: Coordinates)
apps/stories/stories/react/Resizeable/Resizeable.tsx:81
↓ 1 callersFunctionnormalizePath
(path: string | undefined)
apps/docs/src/components/SearchBar.tsx:18
↓ 1 callersFunctionobserveParentFrames
( frames: Set<Element>, callback: PositionObserverCallback )
packages/dom/src/utilities/observers/FrameObserver.ts:57
↓ 1 callersMethodonEvent
(event: E)
packages/abstract/src/core/sensors/activation.ts:15
↓ 1 callersFunctionparseFrontmatter
* Extract title and description from MDX frontmatter.
apps/docs/scripts/generate-og-image.mjs:66
↓ 1 callersFunctionparseScale
(scale?: string)
packages/dom/src/utilities/transform/parseScale.ts:1
↓ 1 callersFunctionparseTransformMatrix
(transform: string)
packages/dom/src/utilities/transform/parseTransform.ts:52
↓ 1 callersFunctionpatchWindow
(window: Window | null)
packages/dom/src/core/sensors/pointer/PointerSensor.ts:426
↓ 1 callersFunctionpointerIntersection
({ dragOperation, droppable, })
packages/collision/src/algorithms/pointerIntersection.ts:14
↓ 1 callersFunctionpreventActivation
(event, source)
packages/dom/src/core/sensors/pointer/PointerSensor.ts:73
↓ 1 callersFunctionpreventActivation
(event, source)
packages/dom/src/core/sensors/keyboard/KeyboardSensor.ts:67
↓ 1 callersFunctionproxyDroppableElements
* Sets up proxy relationships between original droppable elements and their clones
packages/dom/src/core/plugins/feedback/utilities.ts:74
↓ 1 callersFunctionrectangleRectangleIntersection
( a: BoundingRectangle, b: BoundingRectangle )
packages/geometry/src/shapes/Rectangle.ts:149
↓ 1 callersMethodregister
* Registers a new plugin instance. * * @param plugin - The plugin constructor to register * @param options - Optional configuration for the p
packages/abstract/src/core/plugins/registry.ts:108
↓ 1 callersFunctionremoveSelection
()
packages/dom/src/core/plugins/selection/PreventSelection.ts:47
↓ 1 callersFunctionrenderChildren
()
packages/react/src/core/draggable/DragOverlay.tsx:110
↓ 1 callersMethodreset
()
packages/dom/src/utilities/styles/Styles.ts:51
↓ 1 callersMethodreset
Reset the state to the initial value
packages/state/src/history.ts:69
↓ 1 callersFunctionresize
(layout: Layout, data: ResizeEvent)
apps/stories/stories/react/Resizeable/Resizeable.tsx:91
↓ 1 callersFunctionresizeToMatch
(imgA, imgB)
apps/docs/scripts/diff-screenshots.mjs:92
↓ 1 callersFunctionrestorePosition
(element: Element)
packages/solid/src/utilities/saveElementPosition.ts:32
↓ 1 callersFunctionrunDropAnimation
(ctx: DropAnimationContext)
packages/dom/src/core/plugins/feedback/dropAnimation.ts:55
↓ 1 callersFunctionserializeBatch
(events: AnalyticsEvent[])
apps/docs/src/scripts/mintlify-analytics.ts:130
↓ 1 callersFunctionshapeIntersection
({ dragOperation, droppable, })
packages/collision/src/algorithms/shapeIntersection.ts:9
↓ 1 callersMethodsideEffects
()
packages/dom/src/core/sensors/keyboard/KeyboardSensor.ts:274
← previousnext →301–400 of 995, ranked by callers