feat: Support DnD in S2 collection components (#9791)
* add dnd stories, drag preview, drag handle to S2 ListView
* add insertion indicator and debug the on drop styles
* fix drop target focus styles to avoid shifting and in HCM
* cleanup, HCM fixes, chromatic tests
* fix lint
* stopping point for table
* fix lint, listview drop indicator styling for root and insertion
specifically when items are selected and you are trying to do a root or insertion betwen the selected items
* export ListViewDragPreview so people can customize it
* table drag preview and zindex update on indicator
* fix drag cell styles but stuck on the visually hidden
* fix visually hidden for drag handle and begin root drop styles
* add root drop styling
* extend row drop target outline style conditionall in sticky cells so it doesnt look cut off
also does the same for HCM for general row focus
* fix various disabledBehavior cases and add translations
* lint
* partial fix for first/last drop indicator positioning for S2 ListView
* support hover state when item doesnt support selection/actions but supports drag
* dont skip drop positions before/after a disabled items and fix listbox isDraggable
* fix lint
* switch over to box shadows for drop target outline and fix drag button centering
* update to match latest designs, make Table more consistent with listview drag button
* tree view dnd initial progress
* lint
* add proper drop indicator indenting and reorder story
* add drag between trees and fix issue with drop positions when scrolling
when we had the tree dimensions dictated by the wrapper, there was weird broken behavior when draging over items further down the list. This doesnt happen when the height and what not are applied on the tree itself
* make story so you can drag in both directions
* remove some todos after testing
* fix mobile insertion drop indicator heights
* fix lint
* fix story for android and convey icon info on drop
* add root drop outline and get rid of handle appearing on hover
* fix ipad vertical centering and drag handle color
* fix case where after drop position could be prematurely returned
getKeyBefore for tree can return non item nodes, messing up calculated drop position
* add chromatic, exports, and make table have a similar root drop style as tree
* make listview also use the pseudoelement for the border
* add tests for drag only items having isHovered and not skipping past drop targets before/after disabled rows
* docs and test fixes before weird docs error
* fix docs example, forgot to export from subpath
* fix lint
* fix: prevent chromatic storybook crash by exporting directly from TableLayout
* missed a import
* add rest of the chromatic stories now that it doesnt crash
* fix: miscentered empty state and loaders in S2 TableView
* fix drop style curving if dropping on first item in listview
* make insertion indicators use overflow: visible to avoid increasing the virtualizer height when keyboard dragging
* review comments
* forgot to save
* clean up and fix bad merge
* test by using listview drag preview styles
* centralize the drag preview component
* update docs
* fix insertion indicator positioning for treeview
for some reason this used to work before with the position absolute?
* fix docs lint?