@dnd-kit/dom 0.5.0-beta-20260611125311 → 0.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.d.cts CHANGED
@@ -94,7 +94,7 @@ declare class PointerSensor extends Sensor<DragDropManager, PointerSensorOptions
94
94
  protected handleCancel(event: Event): void;
95
95
  protected cleanup(): void;
96
96
  destroy(): void;
97
- static configure: (options: PointerSensorOptions) => _dnd_kit_abstract.PluginDescriptor<any, any, typeof PointerSensor>;
97
+ static configure: (options: PointerSensorOptions) => _dnd_kit_abstract.PluginDescriptor<any, _dnd_kit_abstract.Plugin<any, PointerSensorOptions>, typeof PointerSensor>;
98
98
  static defaults: Readonly<PointerSensorOptions>;
99
99
  }
100
100
 
@@ -180,7 +180,7 @@ declare class KeyboardSensor extends Sensor<DragDropManager, KeyboardSensorOptio
180
180
  private sideEffects;
181
181
  protected cleanup(): void;
182
182
  destroy(): void;
183
- static configure: (options: KeyboardSensorOptions) => _dnd_kit_abstract.PluginDescriptor<any, any, typeof KeyboardSensor>;
183
+ static configure: (options: KeyboardSensorOptions) => _dnd_kit_abstract.PluginDescriptor<any, _dnd_kit_abstract.Plugin<any, KeyboardSensorOptions>, typeof KeyboardSensor>;
184
184
  static defaults: Readonly<Required<KeyboardSensorOptions>>;
185
185
  }
186
186
 
@@ -283,7 +283,7 @@ declare class Feedback extends Plugin<DragDropManager, FeedbackOptions> {
283
283
  dropAnimation: DropAnimation | null | undefined;
284
284
  private state;
285
285
  constructor(manager: DragDropManager, options?: FeedbackOptions);
286
- static configure: (options: FeedbackOptions) => _dnd_kit_abstract.PluginDescriptor<any, any, typeof Feedback>;
286
+ static configure: (options: FeedbackOptions) => _dnd_kit_abstract.PluginDescriptor<any, Plugin<any, FeedbackOptions>, typeof Feedback>;
287
287
  }
288
288
 
289
289
  interface Transition {
@@ -331,7 +331,7 @@ interface AutoScrollerOptions {
331
331
  declare class AutoScroller extends Plugin<DragDropManager, AutoScrollerOptions> {
332
332
  destroy: CleanupFunction$1;
333
333
  constructor(manager: DragDropManager, options?: AutoScrollerOptions);
334
- static configure: (options: AutoScrollerOptions) => _dnd_kit_abstract.PluginDescriptor<any, any, typeof AutoScroller>;
334
+ static configure: (options: AutoScrollerOptions) => _dnd_kit_abstract.PluginDescriptor<any, Plugin<any, AutoScrollerOptions>, typeof AutoScroller>;
335
335
  }
336
336
 
337
337
  declare class ScrollListener extends CorePlugin<DragDropManager> {
@@ -369,7 +369,7 @@ declare class StyleInjector extends CorePlugin<DragDropManager, StyleInjectorOpt
369
369
  private get sourceRoot();
370
370
  private get targetRoot();
371
371
  private get roots();
372
- static configure: (options: StyleInjectorOptions) => _dnd_kit_abstract.PluginDescriptor<any, any, typeof StyleInjector>;
372
+ static configure: (options: StyleInjectorOptions) => _dnd_kit_abstract.PluginDescriptor<any, _dnd_kit_abstract.Plugin<any, StyleInjectorOptions>, typeof StyleInjector>;
373
373
  }
374
374
 
375
375
  export { Accessibility, AutoScroller, type BeforeDragStartEvent, type CollisionEvent, Cursor, DragDropManager, type Input as DragDropManagerInput, type DragEndEvent, type DragMoveEvent, type DragOverEvent, type DragStartEvent, Draggable, type Input$2 as DraggableInput, type DropAnimation, type DropAnimationFunction, type DropAnimationOptions, Droppable, type Input$1 as DroppableInput, Feedback, type FeedbackInput, type FeedbackOptions, type FeedbackType, KeyboardSensor, type KeyboardSensorOptions, PointerActivationConstraints, PointerSensor, type PointerSensorOptions, PreventSelection, ScrollListener, Scroller, type Sensors, StyleInjector, type Transition, defaultPreset };
package/index.d.ts CHANGED
@@ -94,7 +94,7 @@ declare class PointerSensor extends Sensor<DragDropManager, PointerSensorOptions
94
94
  protected handleCancel(event: Event): void;
95
95
  protected cleanup(): void;
96
96
  destroy(): void;
97
- static configure: (options: PointerSensorOptions) => _dnd_kit_abstract.PluginDescriptor<any, any, typeof PointerSensor>;
97
+ static configure: (options: PointerSensorOptions) => _dnd_kit_abstract.PluginDescriptor<any, _dnd_kit_abstract.Plugin<any, PointerSensorOptions>, typeof PointerSensor>;
98
98
  static defaults: Readonly<PointerSensorOptions>;
99
99
  }
100
100
 
@@ -180,7 +180,7 @@ declare class KeyboardSensor extends Sensor<DragDropManager, KeyboardSensorOptio
180
180
  private sideEffects;
181
181
  protected cleanup(): void;
182
182
  destroy(): void;
183
- static configure: (options: KeyboardSensorOptions) => _dnd_kit_abstract.PluginDescriptor<any, any, typeof KeyboardSensor>;
183
+ static configure: (options: KeyboardSensorOptions) => _dnd_kit_abstract.PluginDescriptor<any, _dnd_kit_abstract.Plugin<any, KeyboardSensorOptions>, typeof KeyboardSensor>;
184
184
  static defaults: Readonly<Required<KeyboardSensorOptions>>;
185
185
  }
186
186
 
@@ -283,7 +283,7 @@ declare class Feedback extends Plugin<DragDropManager, FeedbackOptions> {
283
283
  dropAnimation: DropAnimation | null | undefined;
284
284
  private state;
285
285
  constructor(manager: DragDropManager, options?: FeedbackOptions);
286
- static configure: (options: FeedbackOptions) => _dnd_kit_abstract.PluginDescriptor<any, any, typeof Feedback>;
286
+ static configure: (options: FeedbackOptions) => _dnd_kit_abstract.PluginDescriptor<any, Plugin<any, FeedbackOptions>, typeof Feedback>;
287
287
  }
288
288
 
289
289
  interface Transition {
@@ -331,7 +331,7 @@ interface AutoScrollerOptions {
331
331
  declare class AutoScroller extends Plugin<DragDropManager, AutoScrollerOptions> {
332
332
  destroy: CleanupFunction$1;
333
333
  constructor(manager: DragDropManager, options?: AutoScrollerOptions);
334
- static configure: (options: AutoScrollerOptions) => _dnd_kit_abstract.PluginDescriptor<any, any, typeof AutoScroller>;
334
+ static configure: (options: AutoScrollerOptions) => _dnd_kit_abstract.PluginDescriptor<any, Plugin<any, AutoScrollerOptions>, typeof AutoScroller>;
335
335
  }
336
336
 
337
337
  declare class ScrollListener extends CorePlugin<DragDropManager> {
@@ -369,7 +369,7 @@ declare class StyleInjector extends CorePlugin<DragDropManager, StyleInjectorOpt
369
369
  private get sourceRoot();
370
370
  private get targetRoot();
371
371
  private get roots();
372
- static configure: (options: StyleInjectorOptions) => _dnd_kit_abstract.PluginDescriptor<any, any, typeof StyleInjector>;
372
+ static configure: (options: StyleInjectorOptions) => _dnd_kit_abstract.PluginDescriptor<any, _dnd_kit_abstract.Plugin<any, StyleInjectorOptions>, typeof StyleInjector>;
373
373
  }
374
374
 
375
375
  export { Accessibility, AutoScroller, type BeforeDragStartEvent, type CollisionEvent, Cursor, DragDropManager, type Input as DragDropManagerInput, type DragEndEvent, type DragMoveEvent, type DragOverEvent, type DragStartEvent, Draggable, type Input$2 as DraggableInput, type DropAnimation, type DropAnimationFunction, type DropAnimationOptions, Droppable, type Input$1 as DroppableInput, Feedback, type FeedbackInput, type FeedbackOptions, type FeedbackType, KeyboardSensor, type KeyboardSensorOptions, PointerActivationConstraints, PointerSensor, type PointerSensorOptions, PreventSelection, ScrollListener, Scroller, type Sensors, StyleInjector, type Transition, defaultPreset };
package/modifiers.d.cts CHANGED
@@ -20,7 +20,7 @@ declare class RestrictToElement extends Modifier<DragDropManager, Options> {
20
20
  x: number;
21
21
  y: number;
22
22
  };
23
- static configure: (options: Options) => _dnd_kit_abstract.PluginDescriptor<any, any, typeof RestrictToElement>;
23
+ static configure: (options: Options) => _dnd_kit_abstract.PluginDescriptor<any, _dnd_kit_abstract.Plugin<any, Options>, typeof RestrictToElement>;
24
24
  }
25
25
 
26
26
  export { RestrictToElement, RestrictToWindow };
package/modifiers.d.ts CHANGED
@@ -20,7 +20,7 @@ declare class RestrictToElement extends Modifier<DragDropManager, Options> {
20
20
  x: number;
21
21
  y: number;
22
22
  };
23
- static configure: (options: Options) => _dnd_kit_abstract.PluginDescriptor<any, any, typeof RestrictToElement>;
23
+ static configure: (options: Options) => _dnd_kit_abstract.PluginDescriptor<any, _dnd_kit_abstract.Plugin<any, Options>, typeof RestrictToElement>;
24
24
  }
25
25
 
26
26
  export { RestrictToElement, RestrictToWindow };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dnd-kit/dom",
3
- "version": "0.5.0-beta-20260611125311",
3
+ "version": "0.5.0",
4
4
  "type": "module",
5
5
  "main": "./index.cjs",
6
6
  "module": "./index.js",
@@ -75,10 +75,10 @@
75
75
  "clean": "rm -rf .turbo && rm -rf node_modules && rm -rf dist"
76
76
  },
77
77
  "dependencies": {
78
- "@dnd-kit/abstract": "0.5.0-beta-20260611125311",
79
- "@dnd-kit/collision": "0.5.0-beta-20260611125311",
80
- "@dnd-kit/geometry": "0.5.0-beta-20260611125311",
81
- "@dnd-kit/state": "0.5.0-beta-20260611125311",
78
+ "@dnd-kit/abstract": "^0.5.0",
79
+ "@dnd-kit/collision": "^0.5.0",
80
+ "@dnd-kit/geometry": "^0.5.0",
81
+ "@dnd-kit/state": "^0.5.0",
82
82
  "tslib": "^2.6.2"
83
83
  },
84
84
  "devDependencies": {