File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree File renamed without changes.
Original file line number Diff line number Diff line change 11<script setup lang="ts">
2- import Card from ' ../Card.vue'
3-
42const props = defineProps <{
53 /** The search result object containing package data */
64 result: NpmSearchResult
@@ -31,7 +29,7 @@ const pkgDescription = useMarkdown(() => ({
3129 </script >
3230
3331<template >
34- <Card :isExactMatch =" isExactMatch" >
32+ <BaseCard :isExactMatch =" isExactMatch" >
3533 <div class =" mb-2 flex items-baseline justify-start gap-2" >
3634 <component
3735 :is =" headingLevel ?? 'h3'"
@@ -160,5 +158,5 @@ const pkgDescription = useMarkdown(() => ({
160158 {{ keyword }}
161159 </li >
162160 </ul >
163- </Card >
161+ </BaseCard >
164162</template >
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ defineProps<{
1212 </script >
1313
1414<template >
15- <Card :isExactMatch =" isExactMatch" >
15+ <BaseCard :isExactMatch =" isExactMatch" >
1616 <NuxtLink
1717 :to =" type === 'user' ? `/~${name}` : `/@${name}`"
1818 :data-suggestion-index =" index"
@@ -61,5 +61,5 @@ defineProps<{
6161 aria-hidden =" true"
6262 />
6363 </NuxtLink >
64- </Card >
64+ </BaseCard >
6565</template >
Original file line number Diff line number Diff line change 1- <!-- Vue component that only takes a class as prop and adds `bg-bg-elevated rounded animate-skeleton-pulse` to that class -->
2- <script setup lang="ts">
3- const props = defineProps <{
4- class? : string
5- }>()
6- </script >
7-
81<template >
9- <div : class =" ` bg-bg-elevated rounded animate-skeleton-pulse ${props.class ?? ''}` " />
2+ <div class =" bg-bg-elevated rounded animate-skeleton-pulse" />
103</template >
Original file line number Diff line number Diff line change 1- <!-- Vue component that only takes a class as prop and adds `bg-bg-elevated rounded animate-skeleton-pulse` to that class -->
2- <script setup lang="ts">
3- const props = defineProps <{
4- class? : string
5- }>()
6- </script >
7-
81<template >
9- <span
10- :class =" `inline-block bg-bg-elevated rounded animate-skeleton-pulse ${props.class ?? ''}`"
11- />
2+ <span class =" inline-block bg-bg-elevated rounded animate-skeleton-pulse" />
123</template >
You can’t perform that action at this time.
0 commit comments