[FE] Add circular badge to dependency drawer

Add circular badge to the dependency paths

Design: https://gitlab.com/gitlab-org/gitlab/-/issues/519625+

Requirement:

  • if the dependency is transitive there will be a badge/link/button that identify it
  • applies to the vulnerability detail page, Group and Project Dependency page

Note:

#519965 (comment 2355498182)

the cyclic badge is per depency path (one can be cyclic, the other one not), so the implementation should support it.

image

Implementation Plan

TBD

Edited by Samantha Ming