@vikeriait/vue-viewport 1.1.1 → 1.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -0
- package/package.json +7 -2
package/README.md
CHANGED
|
@@ -1,7 +1,12 @@
|
|
|
1
1
|
# @vikeriait/vue-viewport
|
|
2
2
|
|
|
3
|
+
[](https://vue-viewport.vikeria.it)
|
|
4
|
+
[](https://www.npmjs.com/package/@vikeriait/vue-viewport)
|
|
5
|
+
|
|
3
6
|
A lightweight, high-performance Vue 3 directive and composable to detect when elements enter the viewport, featuring "Smart Presets", automatic margin compensation for smooth reveals, and seamless Tailwind CSS integration.
|
|
4
7
|
|
|
8
|
+
**📚 Full Documentation:** [https://vue-viewport.vikeria.it](https://vue-viewport.vikeria.it)
|
|
9
|
+
|
|
5
10
|
## Features
|
|
6
11
|
|
|
7
12
|
- 👁 **Viewport Detection**: Track when elements enter or leave with precision.
|
package/package.json
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vikeriait/vue-viewport",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.2.0",
|
|
4
4
|
"description": "Vue directive & composable: viewport detection + Tailwind scroll animations",
|
|
5
|
+
"homepage": "https://vue-viewport.vikeria.it",
|
|
5
6
|
"keywords": [
|
|
6
7
|
"vue",
|
|
7
8
|
"viewport",
|
|
@@ -50,6 +51,7 @@
|
|
|
50
51
|
"vue": "^3.4.0"
|
|
51
52
|
},
|
|
52
53
|
"devDependencies": {
|
|
54
|
+
"@tailwindcss/vite": "^4.1.18",
|
|
53
55
|
"@types/node": "^25.0.3",
|
|
54
56
|
"@vitejs/plugin-vue": "^6.0.3",
|
|
55
57
|
"@vue/eslint-config-prettier": "^10.2.0",
|
|
@@ -59,10 +61,13 @@
|
|
|
59
61
|
"eslint": "^9.39.2",
|
|
60
62
|
"eslint-plugin-vue": "^10.6.2",
|
|
61
63
|
"prettier": "^3.7.4",
|
|
64
|
+
"tailwindcss": "^4.1.18",
|
|
62
65
|
"typescript": "^5.9.3",
|
|
63
66
|
"typescript-eslint": "^8.51.0",
|
|
64
67
|
"vite": "^7.3.0",
|
|
65
68
|
"vite-plugin-dts": "^4.5.4",
|
|
69
|
+
"vitepress": "2.0.0-alpha.15",
|
|
70
|
+
"vitepress-plugin-group-icons": "^1.6.5",
|
|
66
71
|
"vue": "^3.5.26"
|
|
67
72
|
},
|
|
68
73
|
"scripts": {
|
|
@@ -77,6 +82,6 @@
|
|
|
77
82
|
"docs:dev": "vitepress dev docs",
|
|
78
83
|
"docs:build": "vitepress build docs",
|
|
79
84
|
"docs:preview": "vitepress preview docs",
|
|
80
|
-
"format": "prettier --write src/"
|
|
85
|
+
"format": "prettier --write src/ docs/"
|
|
81
86
|
}
|
|
82
87
|
}
|