File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -63,7 +63,7 @@ const typesHref = computed(() => {
6363 </LinkBase >
6464 <TagStatic
6565 v-else
66- :variant =" hasTypes && !isLoading ? 'default' : 'disabled '"
66+ :variant =" hasTypes && !isLoading ? 'default' : 'ghost '"
6767 :tabindex =" 0"
6868 :classicon ="
6969 isLoading
@@ -85,7 +85,7 @@ const typesHref = computed(() => {
8585 >
8686 <TagStatic
8787 tabindex =" 0"
88- :variant =" hasEsm && !isLoading ? 'default' : 'disabled '"
88+ :variant =" hasEsm && !isLoading ? 'default' : 'ghost '"
8989 :classicon ="
9090 isLoading
9191 ? 'i-carbon-circle-dash motion-safe:animate-spin'
@@ -104,7 +104,7 @@ const typesHref = computed(() => {
104104 <TooltipApp :text =" isLoading ? '' : $t('package.metrics.cjs')" >
105105 <TagStatic
106106 tabindex =" 0"
107- :variant =" isLoading ? 'disabled ' : 'default'"
107+ :variant =" isLoading ? 'ghost ' : 'default'"
108108 :classicon ="
109109 isLoading ? 'i-carbon-circle-dash motion-safe:animate-spin' : 'i-carbon-checkmark'
110110 "
Original file line number Diff line number Diff line change 22const props = withDefaults (
33 defineProps <{
44 as? : string | Component
5- variant? : ' disabled ' | ' default'
5+ variant? : ' ghost ' | ' default'
66
77 classicon? : string
88 }>(),
@@ -14,7 +14,7 @@ const props = withDefaults(
1414 <component
1515 :is =" as"
1616 class =" bg-bg-muted text-fg-muted inline-flex gap-x-1 items-center justify-center font-mono border border-transparent rounded-md text-xs px-2 py-0.5"
17- :class =" { 'opacity-40': variant === 'disabled ' }"
17+ :class =" { 'opacity-40': variant === 'ghost ' }"
1818 >
1919 <span v-if =" classicon" :class =" ['size-3', classicon]" aria-hidden =" true" />
2020 <slot />
You can’t perform that action at this time.
0 commit comments