@witchcraft/editor
    Preparing search index...
    • Given a point (a mouse position), a box, and a possible indent, returns information regarding it's position.

      For example if we "zoom" in on a list section like this where the mouse is hovering at the level of B1 (not neccesarily inside it):

      ...
      - C1
      - B1
      - A1
      ...

      We are interested in the following:

      • In what y section we're in (outside-top, top, bottom, outside-bottom)
      • In what x section we're in (outside-left, inside, inside-indent, outside-right)
          outside-left \ inside       \ inside-indent \ outside-right
      \ \ \
      outside-top \ \ \
      -----------------┌──────────────┬───────────────┐
      B1 │ │
      │ │ │
      top │ │ │
      -----------------├──────────────┼───────────────┤
      │<---indent--->│ │
      │ │ │
      bottom │ │ │
      -----------------└──────────────┴───────────────┘
      outside-bottom

      We can use this information to determine where we want to drop something.

      Parameters

      • point: Point
      • box: Point & { height: number; width: number }
      • indentX: number

      Returns DropInfo