@@ -21,10 +21,10 @@ const fileFilter = defineModel<'all' | 'added' | 'removed' | 'modified'>('fileFi
2121const sectionOrder = [' dependencies' , ' devDependencies' , ' peerDependencies' , ' optionalDependencies' ]
2222const { t } = useI18n ()
2323const sectionMeta = computed <Record <string , { label: string ; icon: string }>>(() => ({
24- dependencies: { label: t (' compare.dependencies' ), icon: ' i-carbon-cube ' },
25- devDependencies: { label: t (' compare.dev_dependencies' ), icon: ' i-carbon-tools ' },
26- peerDependencies: { label: t (' compare.peer_dependencies' ), icon: ' i-carbon-user-multiple ' },
27- optionalDependencies: { label: t (' compare.optional_dependencies' ), icon: ' i-carbon -help' },
24+ dependencies: { label: t (' compare.dependencies' ), icon: ' i-lucide:box ' },
25+ devDependencies: { label: t (' compare.dev_dependencies' ), icon: ' i-lucide:wrench ' },
26+ peerDependencies: { label: t (' compare.peer_dependencies' ), icon: ' i-lucide:users ' },
27+ optionalDependencies: { label: t (' compare.optional_dependencies' ), icon: ' i-lucide:circle -help' },
2828}))
2929
3030const sectionList = computed (() => {
@@ -34,7 +34,7 @@ const sectionList = computed(() => {
3434 key ,
3535 changes ,
3636 label: sectionMeta .value [key ]?.label ?? key ,
37- icon: sectionMeta .value [key ]?.icon ?? ' i-carbon-cube ' ,
37+ icon: sectionMeta .value [key ]?.icon ?? ' i-lucide:box ' ,
3838 order: sectionOrder .indexOf (key ) === - 1 ? sectionOrder .length + 1 : sectionOrder .indexOf (key ),
3939 }))
4040 .sort ((a , b ) => a .order - b .order )
@@ -105,7 +105,7 @@ function handleFileSelect(file: FileChange) {
105105 class =" px-3 py-2 bg-yellow-500/5 border-b border-border"
106106 >
107107 <div class =" flex items-start gap-2" >
108- <span class =" i-carbon-warning w-3.5 h-3.5 text-yellow-500 shrink-0 mt-0.5" />
108+ <span class =" i-lucide:triangle-alert w-3.5 h-3.5 text-yellow-500 shrink-0 mt-0.5" />
109109 <div class =" text-3xs text-fg-muted" >
110110 <p v-for =" warning in compare.meta.warnings" :key =" warning" >{{ warning }}</p >
111111 </div >
@@ -118,7 +118,7 @@ function handleFileSelect(file: FileChange) {
118118 class =" cursor-pointer list-none flex items-center gap-2 text-xs font-medium mb-2 hover:text-fg transition-colors"
119119 >
120120 <span
121- class =" i-carbon- chevron-right w-3.5 h-3.5 transition-transform group-open:rotate-90"
121+ class =" i-lucide: chevron-right w-3.5 h-3.5 transition-transform group-open:rotate-90"
122122 />
123123 <span :class =" section.icon" class =" w-3.5 h-3.5" />
124124 {{ section.label }} ({{ section.changes.length }})
@@ -134,10 +134,10 @@ function handleFileSelect(file: FileChange) {
134134 :class =" [
135135 'w-3 h-3 shrink-0',
136136 dep.type === 'added'
137- ? 'i-carbon-add-alt text-green-500'
137+ ? 'i-lucide:plus text-green-500'
138138 : dep.type === 'removed'
139- ? 'i-carbon-subtract-alt text-red-500'
140- : 'i-carbon-arrows-horizontal text-yellow-500',
139+ ? 'i-lucide:minus text-red-500'
140+ : 'i-lucide:arrow-left-right text-yellow-500',
141141 ]"
142142 />
143143
@@ -157,7 +157,7 @@ function handleFileSelect(file: FileChange) {
157157 >
158158 {{ dep.from }}
159159 </span >
160- <span v-if =" dep.type === 'updated'" class =" i-carbon- arrow-right w-2.5 h-2.5" />
160+ <span v-if =" dep.type === 'updated'" class =" i-lucide: arrow-right w-2.5 h-2.5" />
161161 <span v-if =" dep.to" >{{ dep.to }}</span >
162162 </div >
163163
@@ -187,18 +187,18 @@ function handleFileSelect(file: FileChange) {
187187 class =" border-b border-border px-3 py-2 shrink-0 cursor-pointer list-none flex items-center justify-between gap-2"
188188 >
189189 <span class =" text-xs font-medium flex items-center gap-1.5" >
190- <span class =" i-carbon-document w-3.5 h-3.5" />
190+ <span class =" i-lucide:file-text w-3.5 h-3.5" />
191191 {{ $t('compare.file_changes') }}
192192 </span >
193193 <span
194- class =" i-carbon- chevron-right w-3.5 h-3.5 transition-transform group-open:rotate-90"
194+ class =" i-lucide: chevron-right w-3.5 h-3.5 transition-transform group-open:rotate-90"
195195 />
196196 </summary >
197197
198198 <div class =" border-b border-border px-3 py-2 shrink-0 space-y-2" >
199199 <div class =" relative" >
200200 <span
201- class =" absolute inset-is-2 top-1/2 -translate-y-1/2 i-carbon- search w-3 h-3 text-fg-subtle pointer-events-none"
201+ class =" absolute inset-is-2 top-1/2 -translate-y-1/2 i-lucide: search w-3 h-3 text-fg-subtle pointer-events-none"
202202 />
203203 <input
204204 v-model =" fileSearch"
0 commit comments