Skip to content

Releases: clauderic/dnd-kit

@dnd-kit/[email protected]

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

Patch Changes

@dnd-kit/[email protected]

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/[email protected]

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

Patch Changes

@dnd-kit/[email protected]

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

Patch Changes

@dnd-kit/[email protected]

26 Jan 17:53
9253448
Compare
Choose a tag to compare

Patch Changes

@dnd-kit/[email protected]

26 Jan 17:53
9253448
Compare
Choose a tag to compare

Patch Changes

@dnd-kit/[email protected]

26 Jan 17:53
9253448
Compare
Choose a tag to compare

Patch Changes

@dnd-kit/[email protected]

26 Jan 17:53
9253448
Compare
Choose a tag to compare

Patch Changes

@dnd-kit/[email protected]

26 Jan 17:53
9253448
Compare
Choose a tag to compare

Patch Changes

  • #1567 081b7f2 Thanks @chrisvxd! - Add source maps to output.

  • #1499 d436037 Thanks @chrisvxd! - Fix a bug that prevented all unique droppables that share an element from each receiving the cloned proxy.

  • #1454 94920c8 Thanks @github-actions! - Batch write operations to draggable and droppable. Also ensured that droppable instance is registered before draggable instance.

  • #1454 a04d3f8 Thanks @github-actions! - Rework how collisions are detected and how the position of elements is observed using a new PositionObserver.

  • #1454 0676276 Thanks @github-actions! - Children contained in a closed details element are no longer treated as visible.

  • #1454 8053e4b Thanks @github-actions! - Allow Sortable to have a distinct element from the underlying source and target elements. This can be useful if you want the collision detection to operate on a subset of the sortable element, but the entirety of the element to move when its index changes.

  • #1454 f400106 Thanks @github-actions! - Improve the Feedback plugin to better handle when the feedback element resizes during a drag operation.

  • #1454 c597b3f Thanks @github-actions! - Introduce rootElement option on Feedback plugin.

  • #1454 a9798f4 Thanks @github-actions! - Fix issues with instanceof checks in cross-window environments where the window of an element can differ from the execution context window.

  • #1454 e70b29a Thanks @github-actions! - Make sure the generic for DragDropManager is passed through to Entity so that the manager reference on classes extending Entity is strongly typed.

  • #1454 3d0b00a Thanks @github-actions! - Fix an issue where we would update the shape of sortable items while the drag operation status was idle.

  • #1454 e6a8e01 Thanks @github-actions! - Fix a bug with event.preventDefault() and event.stopPropagation() being called on pointer up even if there was no drag operation in progress, which would prevent interactive elements such as buttons from being clicked.

  • #1454 7ef9864 Thanks @github-actions! - Fixed bugs with the OptimisticSortingPlugin when sorting across different groups.

  • #1454 51be6df Thanks @github-actions! - Fix element not being set when provided on initialization of Droppable

  • #1454 fe76033 Thanks @github-actions! - Fixed a bug in the KeyboardSensor that would cause the sensor to activate when focusing elements within the sortable element other than the handle.

  • #1454 62a8118 Thanks @github-actions! - Added Tab to the list of default keycodes that end the current drag operation.

  • #1454 0c7bf85 Thanks @github-actions! - Allow the OptimisticSortingPlugin to sort elements across different groups.

  • #1454 f219549 Thanks @github-actions! - Fix pointer events no longer being detected by the PointerSensor when the event target is disconnected from the DOM by setting pointer capture on the document body for pointermove events.

  • #1454 bfc8ab2 Thanks @github-actions! - PointerSensor: Defer invoking setPointerCapture until activation constraints are met as it can interfere with click and other event handlers. Also deferred adding touchmove, click and keydown event listeners until the activation constraints are met.

  • #1454 a5a556a Thanks @github-actions! - Fixed React lifecycle regressions related to StrictMode.

  • #1454 b5edff1 Thanks @github-actions! - Remove event.stopImmediatePropagation() in PointerSensor and replace with a different strategy to prevent other instances of PointerSensor from tracking an event that was already captured by another sensor.

  • #1454 3fb972e Thanks @github-actions! - AccessibilityPlugin: Force tabindex="0" in Safari even for natively focusable elements as they are not always focusable by default.

  • #1454 5b36f8f Thanks @github-actions! - Allow sortable animations when changing to a different group even when the index remains the same.

  • #1454 69bfad7 Thanks @github-actions! - SortableKeyboardPlugin: Use closestCorners collision detection algorithm instead of closestCenter when keyboard sorting.

  • #1517 c42a11b Thanks @clauderic! - Support dragging across same-origin iframes.

  • Updated dependencies [984b5ab, 081b7f2, 69bfad7, a04d3f8, a8542de, f7458d9, b750c05, e70b29a, 4d1a030, a6366f9, a5933d8, a5a556a, [96f28ef](https://gi...

Read more

@dnd-kit/[email protected]

26 Jan 17:53
9253448
Compare
Choose a tag to compare

Patch Changes