{{ define "repo/pulls/fragments/diffFile" }}
<details id="file-{{ .Id }}" class="group w-full drop-shadow-sm rounded overflow-clip">
  <summary class="list-none cursor-pointer bg-slate-100 dark:bg-gray-900">
    <div class="flex justify-between rounded border bg-white dark:bg-gray-800 group-open:rounded-b-none border-gray-200 dark:border-gray-700">
      <div class="p-2 flex gap-2 items-center">
        <span class="group-open:hidden inline">{{ i "chevron-right" "size-4" }}</span>
        <span class="hidden group-open:inline">{{ i "chevron-down" "size-4" }}</span>
        {{ template "repo/fragments/diffStatPill" .Stats }}
        <span>{{ .Path }}</span>
      </div>
      <div></div>
    </div>
  </summary>
  <div class="rounded-b overflow-clip border-x border-b border-gray-200 dark:border-gray-700">
    <pre>todo: diff content</pre>
  </div>
</details>
{{ end }}
