Skip to content

Commit 111e108

Browse files
committed
fix: icon class name
1 parent 246dfbf commit 111e108

4 files changed

Lines changed: 9 additions & 9 deletions

File tree

app/components/Package/Dependencies.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ const numberFormatter = useNumberFormatter()
119119
:to="packageRoute(dep, getDeprecatedDepInfo(dep)!.version)"
120120
class="shrink-0 text-purple-700 dark:text-purple-500"
121121
:title="getDeprecatedDepInfo(dep)!.message"
122-
classicon="i-lucide:circle-alert-hex"
122+
classicon="i-lucide:octagon-alert"
123123
>
124124
<span class="sr-only">{{ $t('package.deprecated.label') }}</span>
125125
</LinkBase>

app/components/Package/DeprecatedTree.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ function getDepthStyle(depth: DependencyDepth) {
5454
@click="isExpanded = !isExpanded"
5555
>
5656
<span class="flex items-center gap-2 min-w-0">
57-
<span class="i-lucide:circle-alert-hex w-4 h-4 shrink-0" aria-hidden="true" />
57+
<span class="i-lucide:octagon-alert w-4 h-4 shrink-0" aria-hidden="true" />
5858
<span class="font-mono text-sm font-medium truncate">
5959
{{ $t('package.deprecated.tree_found', analysisData!.deprecatedPackages.length) }}
6060
</span>

app/components/Package/VersionDistribution.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -599,7 +599,7 @@ const endDate = computed(() => {
599599
<!-- Error state -->
600600
<div v-if="error" class="flex items-center justify-center h-full" role="alert">
601601
<div class="text-sm text-fg-subtle font-mono text-center flex flex-col items-center gap-2">
602-
<span class="i-lucide:circle-alert-hex w-8 h-8 text-red-400" />
602+
<span class="i-lucide:octagon-alert w-8 h-8 text-red-400" />
603603
<p>{{ error.message }}</p>
604604
<p class="text-xs">Package: {{ packageName }}</p>
605605
</div>

app/components/Package/Versions.vue

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -474,7 +474,7 @@ function majorGroupContainsCurrent(group: (typeof otherMajorGroups.value)[0]): b
474474
})
475475
: row.primaryVersion.version
476476
"
477-
:classicon="row.primaryVersion.deprecated ? 'i-lucide:circle-alert-hex' : undefined"
477+
:classicon="row.primaryVersion.deprecated ? 'i-lucide:octagon-alert' : undefined"
478478
>
479479
<span dir="ltr" class="block truncate">
480480
{{ row.primaryVersion.version }}
@@ -536,7 +536,7 @@ function majorGroupContainsCurrent(group: (typeof otherMajorGroups.value)[0]): b
536536
? $t('package.versions.deprecated_title', { version: v.version })
537537
: v.version
538538
"
539-
:classicon="v.deprecated ? 'i-lucide:circle-alert-hex' : undefined"
539+
:classicon="v.deprecated ? 'i-lucide:octagon-alert' : undefined"
540540
>
541541
<span dir="ltr" class="block truncate">
542542
{{ v.version }}
@@ -646,7 +646,7 @@ function majorGroupContainsCurrent(group: (typeof otherMajorGroups.value)[0]): b
646646
})
647647
: row.primaryVersion.version
648648
"
649-
:classicon="row.primaryVersion.deprecated ? 'i-lucide:circle-alert-hex' : undefined"
649+
:classicon="row.primaryVersion.deprecated ? 'i-lucide:octagon-alert' : undefined"
650650
>
651651
<span dir="ltr" class="block truncate">
652652
{{ row.primaryVersion.version }}
@@ -726,7 +726,7 @@ function majorGroupContainsCurrent(group: (typeof otherMajorGroups.value)[0]): b
726726
: group.versions[0]?.version
727727
"
728728
:classicon="
729-
group.versions[0]?.deprecated ? 'i-lucide:circle-alert-hex' : undefined
729+
group.versions[0]?.deprecated ? 'i-lucide:octagon-alert' : undefined
730730
"
731731
>
732732
<span dir="ltr" class="block truncate">
@@ -791,7 +791,7 @@ function majorGroupContainsCurrent(group: (typeof otherMajorGroups.value)[0]): b
791791
: group.versions[0]?.version
792792
"
793793
:classicon="
794-
group.versions[0]?.deprecated ? 'i-lucide:circle-alert-hex' : undefined
794+
group.versions[0]?.deprecated ? 'i-lucide:octagon-alert' : undefined
795795
"
796796
>
797797
<span dir="ltr" class="block truncate">
@@ -855,7 +855,7 @@ function majorGroupContainsCurrent(group: (typeof otherMajorGroups.value)[0]): b
855855
? $t('package.versions.deprecated_title', { version: v.version })
856856
: v.version
857857
"
858-
:classicon="v.deprecated ? 'i-lucide:circle-alert-hex' : undefined"
858+
:classicon="v.deprecated ? 'i-lucide:octagon-alert' : undefined"
859859
>
860860
<span dir="ltr" class="block truncate">
861861
{{ v.version }}

0 commit comments

Comments
 (0)