Skip to content

Releases: clauderic/dnd-kit

@dnd-kit/geometry@0.0.8

04 Feb 02:41
42e914a
Compare
Choose a tag to compare

Patch Changes

  • Updated dependencies []:
    • @dnd-kit/state@0.0.8

@dnd-kit/dom@0.0.8

04 Feb 02:41
42e914a
Compare
Choose a tag to compare

Patch Changes

  • #1598 0de7456 Thanks @github-actions! - Moved styles that override the default user agent styles for [popover] into a CSS layer to avoid overriding other layered styles on the page, such as Tailwind 4.

  • #1598 c9716cf Thanks @github-actions! - Added isDragging and isDropping properties to draggable and sortable instances.

  • #1598 74eedef Thanks @github-actions! - PointerSensor

    • End drag operation if lostpointercapture event is fired and the drag operation has not ended already. This can happen if the pointerup event is fired in a different frame.
    • Prevent contextmenu from opening during a drag operation.
  • #1598 42e7256 Thanks @github-actions! - - Fixed an invalid CSS selector in the PreventSelection plugin

    • Removed logic to prevent user selection in Feedback plugin (defer to PreventSelection plugin to handle this)
  • Updated dependencies [c9716cf, 3ea0d31, 3cf4db1]:

    • @dnd-kit/abstract@0.0.8
    • @dnd-kit/collision@0.0.8
    • @dnd-kit/geometry@0.0.8
    • @dnd-kit/state@0.0.8

@dnd-kit/collision@0.0.8

04 Feb 02:41
42e914a
Compare
Choose a tag to compare

Patch Changes

@dnd-kit/abstract@0.0.8

04 Feb 02:41
42e914a
Compare
Choose a tag to compare

Patch Changes

  • #1598 c9716cf Thanks @github-actions! - Added isDragging and isDropping properties to draggable and sortable instances.

  • #1598 3ea0d31 Thanks @github-actions! - Added optional register argument to instances of Entity to disable automatic registration of instances that have a manager supplied on initialization.

  • #1597 3cf4db1 Thanks @clauderic! - Added the registerEffect method that can be invoked by sub-classes that extend the base Plugin class to register effects and automatically dispose of them when the plugin instance is destroyed.

  • Updated dependencies []:

    • @dnd-kit/geometry@0.0.8
    • @dnd-kit/state@0.0.8

@dnd-kit/state@0.0.7

31 Jan 02:06
3691eab
Compare
Choose a tag to compare
@dnd-kit/state@0.0.7

@dnd-kit/react@0.0.7

31 Jan 02:06
3691eab
Compare
Choose a tag to compare

Patch Changes

@dnd-kit/helpers@0.0.7

31 Jan 02:06
3691eab
Compare
Choose a tag to compare

Patch Changes

@dnd-kit/geometry@0.0.7

31 Jan 02:06
3691eab
Compare
Choose a tag to compare

Patch Changes

  • Updated dependencies []:
    • @dnd-kit/state@0.0.7

@dnd-kit/dom@0.0.7

31 Jan 02:06
3691eab
Compare
Choose a tag to compare

Patch Changes

  • #1592 550a868 Thanks @github-actions! - Added aria-grabbed to the list of attributes added by the Accessibility plugin.

    Setting aria-grabbed to true indicates that the element has been selected for dragging. Setting aria-grabbed to false indicates that the element can be grabbed for a drag-and-drop operation, but is not currently grabbed.

    While the aria-grabbed attribute has been deprecated in ARIA 1.1, in practice, since the accessibility API features for accessible drag and drop still don’t exist and likely won’t for several years, these attributes will continue to be supported by browsers and reflected in the accessibility tree for some years to come until a new API is introduced to replace it.

  • #1592 75e23b6 Thanks @github-actions! - Added aria-grabbed and aria-pressed to the list of attributes that are not synchronized between the draggable element and its placeholder.

  • #1592 cef9b46 Thanks @github-actions! - Fix global modifiers set on DragDropManager / <DragDropProvider> being destroyed after the first drag operation.

  • #1592 730064b Thanks @github-actions! - Fix incorrect type for modifiers.

  • #1592 808f184 Thanks @github-actions! - Fix reconciliation of optimistic updates in move helper.

  • #1592 c4e7a7c Thanks @github-actions! - Fixed positioning of Feedback plugin when direction is set to rtl.

  • #1592 280b7e2 Thanks @github-actions! - Fixed stale modifiers when using useSortable.

  • #1592 84b75fc Thanks @github-actions! - Fixed element not being set on initialization of Sortable instance even if an element was provided as input.

  • Updated dependencies [c1dadef, cef9b46]:

    • @dnd-kit/abstract@0.0.7
    • @dnd-kit/collision@0.0.7
    • @dnd-kit/geometry@0.0.7
    • @dnd-kit/state@0.0.7

@dnd-kit/collision@0.0.7

31 Jan 02:06
3691eab
Compare
Choose a tag to compare

Patch Changes

  • Updated dependencies [c1dadef, cef9b46]:
    • @dnd-kit/abstract@0.0.7
    • @dnd-kit/geometry@0.0.7