Files
klz-cables.com/.pnpm-store/v10/files/3d/fbe6577848ae899958937088136c527f387412227bcb48a44f50d29b82e40b71a38e58345387edbc3e3d5463b6a1f0ec1a098d6c34bfa447998c091778da79
Marc Mintel 5397309103
Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 20s
Build & Deploy / 🧪 QA (push) Failing after 34s
Build & Deploy / 🏗️ Build (push) Has started running
Build & Deploy / 🚀 Deploy (push) Has been cancelled
Build & Deploy / 🧪 Smoke Test (push) Has been cancelled
Build & Deploy / ⚡ Lighthouse (push) Has been cancelled
Build & Deploy / 🔔 Notify (push) Has been cancelled
fix(products): fix breadcrumbs and product filtering (backport from main)
2026-02-24 16:04:21 +01:00

37 lines
1.8 KiB
Plaintext

/// <reference types="react" />
import { UseDraggableArguments, UseDroppableArguments } from '@dnd-kit/core';
import type { Disabled, SortableData, SortingStrategy } from '../types';
import type { AnimateLayoutChanges, NewIndexGetter, SortableTransition } from './types';
export interface Arguments extends Omit<UseDraggableArguments, 'disabled'>, Pick<UseDroppableArguments, 'resizeObserverConfig'> {
animateLayoutChanges?: AnimateLayoutChanges;
disabled?: boolean | Disabled;
getNewIndex?: NewIndexGetter;
strategy?: SortingStrategy;
transition?: SortableTransition | null;
}
export declare function useSortable({ animateLayoutChanges, attributes: userDefinedAttributes, disabled: localDisabled, data: customData, getNewIndex, id, strategy: localStrategy, resizeObserverConfig, transition, }: Arguments): {
active: import("@dnd-kit/core").Active | null;
activeIndex: number;
attributes: import("@dnd-kit/core").DraggableAttributes;
data: SortableData & {
[x: string]: any;
};
rect: import("react").MutableRefObject<import("@dnd-kit/core").ClientRect | null>;
index: number;
newIndex: number;
items: import("@dnd-kit/core").UniqueIdentifier[];
isOver: boolean;
isSorting: boolean;
isDragging: boolean;
listeners: import("@dnd-kit/core/dist/hooks/utilities").SyntheticListenerMap | undefined;
node: import("react").MutableRefObject<HTMLElement | null>;
overIndex: number;
over: import("@dnd-kit/core").Over | null;
setNodeRef: (node: HTMLElement | null) => void;
setActivatorNodeRef: (element: HTMLElement | null) => void;
setDroppableNodeRef: (element: HTMLElement | null) => void;
setDraggableNodeRef: (element: HTMLElement | null) => void;
transform: import("@dnd-kit/utilities").Transform | null;
transition: string | undefined;
};