File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -81,12 +81,26 @@ const sortedOptionalDependencies = computed(() => {
8181 >
8282 {{ dep }}
8383 </NuxtLink >
84- <span
85- class =" font-mono text-xs text-right truncate"
86- :class =" getVersionClass(outdatedDeps[dep])"
87- :title =" outdatedDeps[dep] ? getOutdatedTooltip(outdatedDeps[dep]) : version"
88- >
89- {{ version }}
84+ <span class =" flex items-center gap-1" >
85+ <span
86+ v-if =" outdatedDeps[dep]"
87+ class =" shrink-0"
88+ :class =" getVersionClass(outdatedDeps[dep])"
89+ :title =" getOutdatedTooltip(outdatedDeps[dep])"
90+ aria-hidden =" true"
91+ >
92+ <span class =" i-carbon-warning-alt w-3 h-3" />
93+ </span >
94+ <span
95+ class =" font-mono text-xs text-right truncate"
96+ :class =" getVersionClass(outdatedDeps[dep])"
97+ :title =" outdatedDeps[dep] ? getOutdatedTooltip(outdatedDeps[dep]) : version"
98+ >
99+ {{ version }}
100+ </span >
101+ <span v-if =" outdatedDeps[dep]" class =" sr-only" >
102+ ({{ getOutdatedTooltip(outdatedDeps[dep]) }})
103+ </span >
90104 </span >
91105 </li >
92106 </ul >
You can’t perform that action at this time.
0 commit comments