Skip to content

Releases: clauderic/dnd-kit

@dnd-kit/utilities@3.2.2

06 Nov 22:20
694dcc2
Compare
Choose a tag to compare

Patch Changes

  • #1239 f342d5e Thanks @petdud! - Fix: getOwnerDocument should get correct document for SVG Elements

@dnd-kit/sortable@8.0.0

06 Nov 22:20
694dcc2
Compare
Choose a tag to compare

Patch Changes

@dnd-kit/modifiers@7.0.0

06 Nov 22:20
694dcc2
Compare
Choose a tag to compare

Patch Changes

@dnd-kit/core@6.1.0

06 Nov 22:20
694dcc2
Compare
Choose a tag to compare

Minor Changes

  • #1271 bc588c7 Thanks @clauderic! - Introduce bypassActivationConstraint() option for PointerSensor, MouseSensor and TouchSensor. This optional argument can be used to conditionally bypass activation constraints. An example use-case would be to bypass activation constraints when the activator event target is the activatorNode of a draggable source.

    useSensor(PointerSensor, {
      activationConstraint: {
        delay: 250,
        tolerance: 5,
      },
      bypassActivationConstraint({event, activeNode}) {
        return activeNode.activatorNode.current?.contains(event.target);
      },
    });
  • #1269 b417f0f Thanks @clauderic! - Allow delay and distance activation constraints to be used concurrently for MouseSensor, TouchSensor and PointerSensor.

Patch Changes

  • Updated dependencies [aabb8bd, f342d5e]:
    • @dnd-kit/accessibility@3.1.0
    • @dnd-kit/utilities@3.2.2

@dnd-kit/accessibility@3.1.0

06 Nov 22:20
694dcc2
Compare
Choose a tag to compare

Minor Changes

  • #1229 aabb8bd Thanks @ayy-bc! - Introduce ariaLiveType prop on <LiveRegion> to allow consumers to configure the aria-live attribute to other values for announcements, such as aria-live="polite".

@dnd-kit/core@6.0.8

19 Feb 14:48
00f749b
Compare
Choose a tag to compare

Patch Changes

  • #1038 da888ee Thanks @WillDonohoe! - Fix errors with calls to getComputedStyle in Firefox when destructuring from the window object

@dnd-kit/sortable@7.0.2

05 Jan 01:52
880190f
Compare
Choose a tag to compare

Patch Changes

@dnd-kit/core@6.0.7

05 Jan 01:52
880190f
Compare
Choose a tag to compare

Patch Changes

@dnd-kit/utilities@3.2.1

07 Dec 01:48
d5c4732
Compare
Choose a tag to compare

Patch Changes

@dnd-kit/modifiers@6.0.1

07 Dec 01:48
d5c4732
Compare
Choose a tag to compare

Patch Changes

  • #823 b065c37 Thanks @DaniGuardiola! - Add missing peer dependency to @dnd-kit/modifiers

  • Updated dependencies [da7c60d]:

    • @dnd-kit/core@6.0.6
    • @dnd-kit/utilities@3.2.1