Commit
3 years ago
ListView Drop (#3055) * drop setup * add root drop indicator * cleanup stories * setup root drop target * fix DropHookOptions type * cleanup drop hook usage * cleanup stories * fix type import * improve insertion indicator styles * add style for listview item as drop target * cleanup item drop on logic * fix drop key * lint * fix useDroppableCollection in useDropHooks * use listview context in insertion indicator * handle cell- prefix in ids * cleanup stories * lint * improve getDropTargetFromPoint * improve indicator styles * cleanup stories * cleanup * fix Drag Into story * use rowRef in useDroppableItem * fix item drop target border * fix story for dragging between lists * fix lint * fix lint * cleanup Drag Into story * add root drop target styles * add example for root dropping * fix lint * improve insertion indicator style * raise z-index of insertion indicator * fix lint * fix item drop target border style * cleanup todo * revert grid cell key change * refine types * cleanup * lint * formatting * formatting * cleanup useDropHooks props * use context for hooks * cleanup useDragHooks props spread * fix css import * lint * allow dragging item if disabled * allow dropping on disabled list items * remove allowsDraggingItem and isDraggable * fix insertion indicator layout shift * fix 'drag between' story drop operations * fix 'drop into' story * fix showing insertion indicator in root-only * refine focusedKey logic * lint Co-authored-by: Daniel Lu <dl1644@gmail.com> Co-authored-by: Danni <drobinson@livefyre.com>
Author
Parents
Loading