File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -316,26 +316,26 @@ const config = computed<VueUiSparklineConfig>(() => {
316316 </template >
317317 </ClientOnly >
318318
319- <ButtonBase
319+ <TooltipApp
320320 v-if =" hasWeeklyDownloads"
321- size =" small"
322- class =" hidden motion-safe:inline-flex absolute top-0 inset-ie-0 !p-1 !border-0 !bg-transparent hover:!bg-transparent text-fg-subtle hover:text-fg transition-colors duration-200 focus-visible:outline-accent/70 rounded"
323- :title ="
321+ :text ="
324322 hasSparklineAnimation
325323 ? $t('package.trends.pause_animation')
326324 : $t('package.trends.play_animation')
327325 "
328- :classicon =" hasSparklineAnimation ? 'i-lucide:pause' : 'i-lucide:play'"
329- @click =" toggleSparklineAnimation"
330326 >
331- <span class =" sr-only" >
332- {{
327+ <ButtonBase
328+ size =" small"
329+ class =" hidden motion-safe:inline-flex absolute top-0 inset-ie-0 !p-1 !border-0 !bg-transparent hover:!bg-transparent text-fg-subtle hover:text-fg transition-colors duration-200 focus-visible:outline-accent/70 rounded"
330+ :classicon =" hasSparklineAnimation ? 'i-lucide:pause' : 'i-lucide:play'"
331+ :aria-label ="
333332 hasSparklineAnimation
334333 ? $t('package.trends.pause_animation')
335334 : $t('package.trends.play_animation')
336- }}
337- </span >
338- </ButtonBase >
335+ "
336+ @click =" toggleSparklineAnimation"
337+ />
338+ </TooltipApp >
339339 </div >
340340 </template >
341341 <p v-else class =" py-2 text-sm font-mono text-fg-subtle" >
You can’t perform that action at this time.
0 commit comments