Skip to content

Commit 9aa5dc5

Browse files
authored
feat: add a discrete pulse on the weekly downloads chart (#21)
1 parent f1853cd commit 9aa5dc5

3 files changed

Lines changed: 17 additions & 6 deletions

File tree

app/components/PackageDownloadStats.vue

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,17 @@ const config = computed(() => ({
4040
},
4141
line: {
4242
color: '#6A6A6A',
43+
pulse: {
44+
show: true,
45+
loop: true, // runs only once if true
46+
radius: 2,
47+
color: '#8A8A8A',
48+
easing: 'ease-in-out',
49+
trail: {
50+
show: true,
51+
length: 6,
52+
},
53+
},
4354
},
4455
plot: {
4556
radius: 6,

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
"ufo": "^1.6.3",
4444
"unplugin-vue-router": "^0.19.2",
4545
"vue": "3.5.27",
46-
"vue-data-ui": "^3.13.0"
46+
"vue-data-ui": "^3.13.2"
4747
},
4848
"devDependencies": {
4949
"@iconify-json/carbon": "^1.2.18",

pnpm-lock.yaml

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)