2 hours ago
mantine

8.3.15

What's Changed

  • [@mantine/dropzone] Update react-dropzone to 15.0.0 (#8667)
  • [@mantine/core]TagsInput: Fix duplicate checking bypass with splitChars (#8686)
  • [@mantine/charts] Allow ChartTooltip valueFormatter to return React.ReactNode (#8650)
  • [@mantine/dates] DatePicker: Fix placeholder selector missing in Styles API (#8663)
  • [@mantine/core] Add missing factory types exports (#8677)
  • [@mantine/core] Fix inert attribute being ignored by Checkbox and Switch components (#8668)

Full Changelog: https://github.com/mantinedev/mantine/compare/8.3.14...8.3.15

7 hours ago
dnd-kit

@dnd-kit/geometry@0.3.0

Patch Changes

  • Updated dependencies []:
    • @dnd-kit/state@0.3.0
7 hours ago
dnd-kit

@dnd-kit/helpers@0.3.0

Patch Changes

  • e8ae539 Thanks @clauderic! - Fix the move and swap helpers to support computed sortable IDs and optimistic sorting reconciliation for grouped records.

    When the ID-based lookup fails (e.g. when using computed IDs like id={\sortable-${item.id}`} that don't match data items), the helpers now fall back to sortable index properties (initialIndex, index, group, initialGroup) to determine the correct positions. Additionally, grouped records now support optimistic sorting reconciliation—when source.id === target.id` after optimistic sorting, the helpers use the sortable indices to determine the intended move.

    Added initialIndex, group, and initialGroup getters to SortableDraggable, and index and group getters to SortableDroppable, so these properties are accessible from the operation's source and target in drag events.

  • Updated dependencies [6a59647]:

    • @dnd-kit/abstract@0.3.0
7 hours ago
dnd-kit

@dnd-kit/collision@0.3.0

Patch Changes

  • Updated dependencies [6a59647]:
    • @dnd-kit/abstract@0.3.0
    • @dnd-kit/geometry@0.3.0
7 hours ago
dnd-kit

@dnd-kit/dom@0.3.0

Minor Changes

  • 6a59647 Thanks @clauderic! - Allow plugins, sensors, and modifiers to accept a function that receives the defaults, making it easy to extend or configure them without replacing the entire array.

    // Add a plugin alongside the defaults
    const manager = new DragDropManager({
      plugins: (defaults) => [...defaults, MyPlugin],
    });
    // Configure a default plugin in React
    <DragDropProvider
      plugins={(defaults) => [
        ...defaults,
        Feedback.configure({dropAnimation: null}),
      ]}
    />

    Previously, passing plugins, sensors, or modifiers would replace the defaults entirely, requiring consumers to import and spread defaultPreset. The function form receives the default values as an argument, so consumers can add, remove, or configure individual entries without needing to know or maintain the full default list.

  • 68e44de Thanks @clauderic! - Add isSortableOperation type guard and export SortableDraggable/SortableDroppable types.

    isSortableOperation(operation) narrows a DragOperationSnapshot so that source is typed as SortableDraggable and target as SortableDroppable, providing typed access to sortable-specific properties like index, initialIndex, group, and initialGroup.

    Re-exported from all framework packages (@dnd-kit/react/sortable, @dnd-kit/vue/sortable, @dnd-kit/svelte/sortable, @dnd-kit/solid/sortable).

Patch Changes

  • 5d64078 Thanks @clauderic! - Add dropAnimation prop to the DragOverlay component to allow consumers to disable or customize the drop animation that plays when a drag operation ends. Set to null to disable, pass {duration, easing} to customize timing, or provide a custom animation function for full control.

  • 863ce2b Thanks @clauderic! - Fix auto-scroll trigger zones and boundaries during pinch-to-zoom.

    Updated getViewportBoundingRectangle, getVisibleBoundingRectangle, and getScrollPosition to use the Visual Viewport API, so that scroll detection and element visibility clipping are based on the actual visible area rather than the layout viewport. This fixes auto-scroll not triggering near the visible edges and stopping before reaching the end of scrollable content when the page is zoomed in.

  • 863ce2b Thanks @clauderic! - Fix drag overlay and debug overlay mispositioning in Safari during pinch-to-zoom.

    Safari anchors position: fixed elements to the visual viewport rather than the layout viewport during pinch-to-zoom. Added a getFixedPositionOffset() utility that compensates for this by adding visualViewport.offsetLeft/Top to the CSS left/top values of fixed-positioned overlays.

  • e8ae539 Thanks @clauderic! - Fix the move and swap helpers to support computed sortable IDs and optimistic sorting reconciliation for grouped records.

    When the ID-based lookup fails (e.g. when using computed IDs like id={\sortable-${item.id}`} that don't match data items), the helpers now fall back to sortable index properties (initialIndex, index, group, initialGroup) to determine the correct positions. Additionally, grouped records now support optimistic sorting reconciliation—when source.id === target.id` after optimistic sorting, the helpers use the sortable indices to determine the intended move.

    Added initialIndex, group, and initialGroup getters to SortableDraggable, and index and group getters to SortableDroppable, so these properties are accessible from the operation's source and target in drag events.

  • 41d7e27 Thanks @rjur11! - Fixed PointerSensor crash on Android caused by unhandled pointercancel events.

  • Updated dependencies [6a59647]:

    • @dnd-kit/abstract@0.3.0
    • @dnd-kit/collision@0.3.0
    • @dnd-kit/geometry@0.3.0
    • @dnd-kit/state@0.3.0
7 hours ago
dnd-kit

@dnd-kit/react@0.3.0

Minor Changes

  • 6a59647 Thanks @clauderic! - Allow plugins, sensors, and modifiers to accept a function that receives the defaults, making it easy to extend or configure them without replacing the entire array.

    // Add a plugin alongside the defaults
    const manager = new DragDropManager({
      plugins: (defaults) => [...defaults, MyPlugin],
    });
    // Configure a default plugin in React
    <DragDropProvider
      plugins={(defaults) => [
        ...defaults,
        Feedback.configure({dropAnimation: null}),
      ]}
    />

    Previously, passing plugins, sensors, or modifiers would replace the defaults entirely, requiring consumers to import and spread defaultPreset. The function form receives the default values as an argument, so consumers can add, remove, or configure individual entries without needing to know or maintain the full default list.

  • 68e44de Thanks @clauderic! - Add isSortableOperation type guard and export SortableDraggable/SortableDroppable types.

    isSortableOperation(operation) narrows a DragOperationSnapshot so that source is typed as SortableDraggable and target as SortableDroppable, providing typed access to sortable-specific properties like index, initialIndex, group, and initialGroup.

    Re-exported from all framework packages (@dnd-kit/react/sortable, @dnd-kit/vue/sortable, @dnd-kit/svelte/sortable, @dnd-kit/solid/sortable).

Patch Changes

  • 5d64078 Thanks @clauderic! - Add dropAnimation prop to the DragOverlay component to allow consumers to disable or customize the drop animation that plays when a drag operation ends. Set to null to disable, pass {duration, easing} to customize timing, or provide a custom animation function for full control.

  • Updated dependencies [6a59647, 5d64078, 863ce2b, 863ce2b, e8ae539, 41d7e27, 68e44de]:

    • @dnd-kit/abstract@0.3.0
    • @dnd-kit/dom@0.3.0
    • @dnd-kit/state@0.3.0
7 hours ago
dnd-kit

@dnd-kit/solid@0.3.0

Minor Changes

  • 6a59647 Thanks @clauderic! - Allow plugins, sensors, and modifiers to accept a function that receives the defaults, making it easy to extend or configure them without replacing the entire array.

    // Add a plugin alongside the defaults
    const manager = new DragDropManager({
      plugins: (defaults) => [...defaults, MyPlugin],
    });
    // Configure a default plugin in React
    <DragDropProvider
      plugins={(defaults) => [
        ...defaults,
        Feedback.configure({dropAnimation: null}),
      ]}
    />

    Previously, passing plugins, sensors, or modifiers would replace the defaults entirely, requiring consumers to import and spread defaultPreset. The function form receives the default values as an argument, so consumers can add, remove, or configure individual entries without needing to know or maintain the full default list.

  • #1881 69f2772 Thanks @clauderic! - Add @dnd-kit/solid adapter package for SolidJS

  • 68e44de Thanks @clauderic! - Add isSortableOperation type guard and export SortableDraggable/SortableDroppable types.

    isSortableOperation(operation) narrows a DragOperationSnapshot so that source is typed as SortableDraggable and target as SortableDroppable, providing typed access to sortable-specific properties like index, initialIndex, group, and initialGroup.

    Re-exported from all framework packages (@dnd-kit/react/sortable, @dnd-kit/vue/sortable, @dnd-kit/svelte/sortable, @dnd-kit/solid/sortable).

Patch Changes

  • 5d64078 Thanks @clauderic! - Add dropAnimation prop to the DragOverlay component to allow consumers to disable or customize the drop animation that plays when a drag operation ends. Set to null to disable, pass {duration, easing} to customize timing, or provide a custom animation function for full control.

  • Updated dependencies [6a59647, 5d64078, 863ce2b, 863ce2b, e8ae539, 41d7e27, 68e44de]:

    • @dnd-kit/abstract@0.3.0
    • @dnd-kit/dom@0.3.0
    • @dnd-kit/state@0.3.0
7 hours ago
dnd-kit

@dnd-kit/vue@0.3.0

Minor Changes

  • 6a59647 Thanks @clauderic! - Allow plugins, sensors, and modifiers to accept a function that receives the defaults, making it easy to extend or configure them without replacing the entire array.

    // Add a plugin alongside the defaults
    const manager = new DragDropManager({
      plugins: (defaults) => [...defaults, MyPlugin],
    });
    // Configure a default plugin in React
    <DragDropProvider
      plugins={(defaults) => [
        ...defaults,
        Feedback.configure({dropAnimation: null}),
      ]}
    />

    Previously, passing plugins, sensors, or modifiers would replace the defaults entirely, requiring consumers to import and spread defaultPreset. The function form receives the default values as an argument, so consumers can add, remove, or configure individual entries without needing to know or maintain the full default list.

  • 68e44de Thanks @clauderic! - Add isSortableOperation type guard and export SortableDraggable/SortableDroppable types.

    isSortableOperation(operation) narrows a DragOperationSnapshot so that source is typed as SortableDraggable and target as SortableDroppable, providing typed access to sortable-specific properties like index, initialIndex, group, and initialGroup.

    Re-exported from all framework packages (@dnd-kit/react/sortable, @dnd-kit/vue/sortable, @dnd-kit/svelte/sortable, @dnd-kit/solid/sortable).

  • #1880 a53b4c7 Thanks @clauderic! - Add @dnd-kit/vue adapter package for Vue 3.5+

  • 570c2a9 Thanks @clauderic! - Add DragOverlay component to @dnd-kit/vue.

Patch Changes

7 hours ago
dnd-kit

@dnd-kit/svelte@0.3.0

Minor Changes

  • 6a59647 Thanks @clauderic! - Allow plugins, sensors, and modifiers to accept a function that receives the defaults, making it easy to extend or configure them without replacing the entire array.

    // Add a plugin alongside the defaults
    const manager = new DragDropManager({
      plugins: (defaults) => [...defaults, MyPlugin],
    });
    // Configure a default plugin in React
    <DragDropProvider
      plugins={(defaults) => [
        ...defaults,
        Feedback.configure({dropAnimation: null}),
      ]}
    />

    Previously, passing plugins, sensors, or modifiers would replace the defaults entirely, requiring consumers to import and spread defaultPreset. The function form receives the default values as an argument, so consumers can add, remove, or configure individual entries without needing to know or maintain the full default list.

  • 68e44de Thanks @clauderic! - Add isSortableOperation type guard and export SortableDraggable/SortableDroppable types.

    isSortableOperation(operation) narrows a DragOperationSnapshot so that source is typed as SortableDraggable and target as SortableDroppable, providing typed access to sortable-specific properties like index, initialIndex, group, and initialGroup.

    Re-exported from all framework packages (@dnd-kit/react/sortable, @dnd-kit/vue/sortable, @dnd-kit/svelte/sortable, @dnd-kit/solid/sortable).

  • e630ec0 Thanks @clauderic! - Initial release of @dnd-kit/svelte – a Svelte 5 adapter for dnd kit. Provides DragDropProvider, DragOverlay, createDraggable, createDroppable, and createSortable using Svelte 5 runes and attachments ({@attach}).

Patch Changes