Files
Tanish Manku 82572a69a2 qol(dnd): unified drop-target registry with media-type-safe field drops
Adds @storyteller/ui-dnd: a single drop-target registry that both the
internal gallery drag and external OS file drops route through, so any
field can register as a typed drop target with media-type safety.

- New lib: MediaKind vocabulary, dndCoordinator (geometric hit-test),
  useDropTarget hook, useExternalFileDrop hook, DND_Z scale.
- Gallery drags hit-test the registry first, falling back to the existing
  canvas/3D/moodboard CustomEvent path (no regression).
- Reference fields (image/end-frame/video/audio) in the shared promptbox
  row and the webapp ImagePromptRow/MediaReferenceRow accept drops; gallery
  items reuse their media token (no re-upload), OS files go through the
  existing upload fns. Type mismatches show a reject ring + toast.
- Desktop GlobalFileDropHandler reworked: field-aware, over-driven overlay
  that no longer hijacks the screen on file-enter; drops work with modals
  open. Webapp gains a GlobalFileDropHandler for OS-file field drops.
2026-06-23 22:43:21 -07:00
..
2026-06-16 02:53:06 -04:00