File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ const emit = defineEmits<{
4848 <NuxtLink
4949 :to =" { name: 'package', params: { package: result.package.name.split('/') } }"
5050 :prefetch-on =" prefetch ? 'visibility' : 'interaction'"
51- class =" focus-visible:outline-none decoration-none scroll-mt-48 scroll-mb-6 after:content-[''] after:absolute after:inset-0"
51+ class =" decoration-none scroll-mt-48 scroll-mb-6 after:content-[''] after:absolute after:inset-0"
5252 :data-result-index =" index"
5353 @focus =" index != null && emit('focus', index)"
5454 @mouseenter =" index != null && emit('focus', index)"
@@ -108,7 +108,7 @@ const emit = defineEmits<{
108108 </dd >
109109 </div >
110110 <div v-if =" result.package.license" class =" flex items-center gap-1.5" >
111- <dt class =" sr-only" >License </dt >
111+ <dt class =" sr-only" >{{ $t('package.card.license') }} </dt >
112112 <dd >{{ result.package.license }}</dd >
113113 </div >
114114 </dl >
Original file line number Diff line number Diff line change 116116 "publisher" : " Publisher" ,
117117 "updated" : " Updated" ,
118118 "weekly_downloads" : " Weekly downloads" ,
119- "keywords" : " Keywords"
119+ "keywords" : " Keywords" ,
120+ "license" : " License"
120121 },
121122 "versions" : {
122123 "title" : " Versions" ,
Original file line number Diff line number Diff line change @@ -121,7 +121,10 @@ export default defineConfig({
121121 [ 'link-subtle' , 'text-fg-muted hover:text-fg transition-colors duration-200 focus-ring' ] ,
122122
123123 // Cards
124- [ 'card' , 'bg-bg-subtle border border-border rounded-lg p-4 sm:p-6 transition-all duration-200' ] ,
124+ [
125+ 'card' ,
126+ 'bg-bg-subtle border border-border rounded-lg p-4 sm:p-6 transition-[border-color,background-color] duration-200' ,
127+ ] ,
125128 [ 'card-interactive' , 'card hover:(border-border-hover bg-bg-muted) cursor-pointer' ] ,
126129
127130 // Form elements
You can’t perform that action at this time.
0 commit comments