@wyxos/vibe 1.6.29 → 2.0.2
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 +29 -287
- package/lib/index.cjs +1 -0
- package/lib/index.js +795 -1791
- package/lib/logo-dark.svg +36 -36
- package/lib/logo-light.svg +29 -29
- package/lib/logo.svg +32 -32
- package/lib/manifest.json +1 -1
- package/package.json +82 -96
- package/LICENSE +0 -21
- package/lib/vibe.css +0 -1
- package/lib/vite.svg +0 -1
- package/src/App.vue +0 -35
- package/src/Masonry.vue +0 -1030
- package/src/archive/App.vue +0 -96
- package/src/archive/InfiniteMansonry.spec.ts +0 -10
- package/src/archive/InfiniteMasonry.vue +0 -218
- package/src/assets/vue.svg +0 -1
- package/src/calculateLayout.ts +0 -194
- package/src/components/CodeTabs.vue +0 -158
- package/src/components/MasonryItem.vue +0 -499
- package/src/components/examples/BasicExample.vue +0 -46
- package/src/components/examples/CustomItemExample.vue +0 -87
- package/src/components/examples/HeaderFooterExample.vue +0 -79
- package/src/components/examples/ManualInitExample.vue +0 -78
- package/src/components/examples/SwipeModeExample.vue +0 -40
- package/src/createMasonryTransitions.ts +0 -176
- package/src/main.ts +0 -6
- package/src/masonryUtils.ts +0 -96
- package/src/pages.json +0 -36402
- package/src/router/index.ts +0 -20
- package/src/style.css +0 -32
- package/src/types.ts +0 -101
- package/src/useMasonryDimensions.ts +0 -59
- package/src/useMasonryItems.ts +0 -231
- package/src/useMasonryLayout.ts +0 -164
- package/src/useMasonryPagination.ts +0 -539
- package/src/useMasonryScroll.ts +0 -61
- package/src/useMasonryVirtualization.ts +0 -140
- package/src/useSwipeMode.ts +0 -233
- package/src/utils/errorHandler.ts +0 -8
- package/src/views/Examples.vue +0 -323
- package/src/views/Home.vue +0 -321
- package/toggle-link.mjs +0 -92
package/lib/logo-dark.svg
CHANGED
|
@@ -1,36 +1,36 @@
|
|
|
1
|
-
<svg width="120" height="120" viewBox="0 0 120 120" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
-
<defs>
|
|
3
|
-
<linearGradient id="vibeGrad" x1="0%" y1="0%" x2="100%" y2="100%">
|
|
4
|
-
<stop offset="0%" style="stop-color:#3b82f6;stop-opacity:1" />
|
|
5
|
-
<stop offset="100%" style="stop-color:#06b6d4;stop-opacity:1" />
|
|
6
|
-
</linearGradient>
|
|
7
|
-
<linearGradient id="vibeGradLight" x1="0%" y1="0%" x2="100%" y2="100%">
|
|
8
|
-
<stop offset="0%" style="stop-color:#60a5fa;stop-opacity:1" />
|
|
9
|
-
<stop offset="100%" style="stop-color:#22d3ee;stop-opacity:1" />
|
|
10
|
-
</linearGradient>
|
|
11
|
-
</defs>
|
|
12
|
-
|
|
13
|
-
<!-- Background -->
|
|
14
|
-
<rect width="120" height="120" rx="24" fill="url(#vibeGrad)"/>
|
|
15
|
-
|
|
16
|
-
<!-- Masonry blocks - representing the infinite block engine -->
|
|
17
|
-
<!-- Left column -->
|
|
18
|
-
<rect x="18" y="20" width="24" height="32" rx="5" fill="white" opacity="0.95"/>
|
|
19
|
-
<rect x="18" y="58" width="24" height="20" rx="5" fill="white" opacity="0.85"/>
|
|
20
|
-
<rect x="18" y="84" width="24" height="16" rx="5" fill="white" opacity="0.9"/>
|
|
21
|
-
|
|
22
|
-
<!-- Middle column -->
|
|
23
|
-
<rect x="48" y="28" width="24" height="22" rx="5" fill="white" opacity="0.9"/>
|
|
24
|
-
<rect x="48" y="56" width="24" height="36" rx="5" fill="white" opacity="0.95"/>
|
|
25
|
-
<rect x="48" y="98" width="24" height="14" rx="5" fill="white" opacity="0.8"/>
|
|
26
|
-
|
|
27
|
-
<!-- Right column -->
|
|
28
|
-
<rect x="78" y="22" width="24" height="38" rx="5" fill="white" opacity="0.85"/>
|
|
29
|
-
<rect x="78" y="66" width="24" height="24" rx="5" fill="white" opacity="0.9"/>
|
|
30
|
-
<rect x="78" y="96" width="24" height="16" rx="5" fill="white" opacity="0.85"/>
|
|
31
|
-
|
|
32
|
-
<!-- Infinite loop symbol (subtle overlay) -->
|
|
33
|
-
<path d="M 30 60 Q 40 50, 50 60 Q 60 70, 70 60" stroke="url(#vibeGradLight)" stroke-width="3" fill="none" opacity="0.4" stroke-linecap="round"/>
|
|
34
|
-
<path d="M 30 60 Q 40 70, 50 60 Q 60 50, 70 60" stroke="url(#vibeGradLight)" stroke-width="3" fill="none" opacity="0.4" stroke-linecap="round"/>
|
|
35
|
-
</svg>
|
|
36
|
-
|
|
1
|
+
<svg width="120" height="120" viewBox="0 0 120 120" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<defs>
|
|
3
|
+
<linearGradient id="vibeGrad" x1="0%" y1="0%" x2="100%" y2="100%">
|
|
4
|
+
<stop offset="0%" style="stop-color:#3b82f6;stop-opacity:1" />
|
|
5
|
+
<stop offset="100%" style="stop-color:#06b6d4;stop-opacity:1" />
|
|
6
|
+
</linearGradient>
|
|
7
|
+
<linearGradient id="vibeGradLight" x1="0%" y1="0%" x2="100%" y2="100%">
|
|
8
|
+
<stop offset="0%" style="stop-color:#60a5fa;stop-opacity:1" />
|
|
9
|
+
<stop offset="100%" style="stop-color:#22d3ee;stop-opacity:1" />
|
|
10
|
+
</linearGradient>
|
|
11
|
+
</defs>
|
|
12
|
+
|
|
13
|
+
<!-- Background -->
|
|
14
|
+
<rect width="120" height="120" rx="24" fill="url(#vibeGrad)"/>
|
|
15
|
+
|
|
16
|
+
<!-- Masonry blocks - representing the infinite block engine -->
|
|
17
|
+
<!-- Left column -->
|
|
18
|
+
<rect x="18" y="20" width="24" height="32" rx="5" fill="white" opacity="0.95"/>
|
|
19
|
+
<rect x="18" y="58" width="24" height="20" rx="5" fill="white" opacity="0.85"/>
|
|
20
|
+
<rect x="18" y="84" width="24" height="16" rx="5" fill="white" opacity="0.9"/>
|
|
21
|
+
|
|
22
|
+
<!-- Middle column -->
|
|
23
|
+
<rect x="48" y="28" width="24" height="22" rx="5" fill="white" opacity="0.9"/>
|
|
24
|
+
<rect x="48" y="56" width="24" height="36" rx="5" fill="white" opacity="0.95"/>
|
|
25
|
+
<rect x="48" y="98" width="24" height="14" rx="5" fill="white" opacity="0.8"/>
|
|
26
|
+
|
|
27
|
+
<!-- Right column -->
|
|
28
|
+
<rect x="78" y="22" width="24" height="38" rx="5" fill="white" opacity="0.85"/>
|
|
29
|
+
<rect x="78" y="66" width="24" height="24" rx="5" fill="white" opacity="0.9"/>
|
|
30
|
+
<rect x="78" y="96" width="24" height="16" rx="5" fill="white" opacity="0.85"/>
|
|
31
|
+
|
|
32
|
+
<!-- Infinite loop symbol (subtle overlay) -->
|
|
33
|
+
<path d="M 30 60 Q 40 50, 50 60 Q 60 70, 70 60" stroke="url(#vibeGradLight)" stroke-width="3" fill="none" opacity="0.4" stroke-linecap="round"/>
|
|
34
|
+
<path d="M 30 60 Q 40 70, 50 60 Q 60 50, 70 60" stroke="url(#vibeGradLight)" stroke-width="3" fill="none" opacity="0.4" stroke-linecap="round"/>
|
|
35
|
+
</svg>
|
|
36
|
+
|
package/lib/logo-light.svg
CHANGED
|
@@ -1,29 +1,29 @@
|
|
|
1
|
-
<svg width="120" height="120" viewBox="0 0 120 120" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
-
<defs>
|
|
3
|
-
<linearGradient id="vibeGradLight" x1="0%" y1="0%" x2="100%" y2="100%">
|
|
4
|
-
<stop offset="0%" style="stop-color:#3b82f6;stop-opacity:1" />
|
|
5
|
-
<stop offset="100%" style="stop-color:#06b6d4;stop-opacity:1" />
|
|
6
|
-
</linearGradient>
|
|
7
|
-
</defs>
|
|
8
|
-
|
|
9
|
-
<!-- Masonry blocks - representing the infinite block engine -->
|
|
10
|
-
<!-- Left column -->
|
|
11
|
-
<rect x="18" y="20" width="24" height="32" rx="5" fill="url(#vibeGradLight)" opacity="0.95"/>
|
|
12
|
-
<rect x="18" y="58" width="24" height="20" rx="5" fill="url(#vibeGradLight)" opacity="0.85"/>
|
|
13
|
-
<rect x="18" y="84" width="24" height="16" rx="5" fill="url(#vibeGradLight)" opacity="0.9"/>
|
|
14
|
-
|
|
15
|
-
<!-- Middle column -->
|
|
16
|
-
<rect x="48" y="28" width="24" height="22" rx="5" fill="url(#vibeGradLight)" opacity="0.9"/>
|
|
17
|
-
<rect x="48" y="56" width="24" height="36" rx="5" fill="url(#vibeGradLight)" opacity="0.95"/>
|
|
18
|
-
<rect x="48" y="98" width="24" height="14" rx="5" fill="url(#vibeGradLight)" opacity="0.8"/>
|
|
19
|
-
|
|
20
|
-
<!-- Right column -->
|
|
21
|
-
<rect x="78" y="22" width="24" height="38" rx="5" fill="url(#vibeGradLight)" opacity="0.85"/>
|
|
22
|
-
<rect x="78" y="66" width="24" height="24" rx="5" fill="url(#vibeGradLight)" opacity="0.9"/>
|
|
23
|
-
<rect x="78" y="96" width="24" height="16" rx="5" fill="url(#vibeGradLight)" opacity="0.85"/>
|
|
24
|
-
|
|
25
|
-
<!-- Infinite loop symbol (subtle overlay) -->
|
|
26
|
-
<path d="M 30 60 Q 40 50, 50 60 Q 60 70, 70 60" stroke="url(#vibeGradLight)" stroke-width="3" fill="none" opacity="0.6" stroke-linecap="round"/>
|
|
27
|
-
<path d="M 30 60 Q 40 70, 50 60 Q 60 50, 70 60" stroke="url(#vibeGradLight)" stroke-width="3" fill="none" opacity="0.6" stroke-linecap="round"/>
|
|
28
|
-
</svg>
|
|
29
|
-
|
|
1
|
+
<svg width="120" height="120" viewBox="0 0 120 120" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<defs>
|
|
3
|
+
<linearGradient id="vibeGradLight" x1="0%" y1="0%" x2="100%" y2="100%">
|
|
4
|
+
<stop offset="0%" style="stop-color:#3b82f6;stop-opacity:1" />
|
|
5
|
+
<stop offset="100%" style="stop-color:#06b6d4;stop-opacity:1" />
|
|
6
|
+
</linearGradient>
|
|
7
|
+
</defs>
|
|
8
|
+
|
|
9
|
+
<!-- Masonry blocks - representing the infinite block engine -->
|
|
10
|
+
<!-- Left column -->
|
|
11
|
+
<rect x="18" y="20" width="24" height="32" rx="5" fill="url(#vibeGradLight)" opacity="0.95"/>
|
|
12
|
+
<rect x="18" y="58" width="24" height="20" rx="5" fill="url(#vibeGradLight)" opacity="0.85"/>
|
|
13
|
+
<rect x="18" y="84" width="24" height="16" rx="5" fill="url(#vibeGradLight)" opacity="0.9"/>
|
|
14
|
+
|
|
15
|
+
<!-- Middle column -->
|
|
16
|
+
<rect x="48" y="28" width="24" height="22" rx="5" fill="url(#vibeGradLight)" opacity="0.9"/>
|
|
17
|
+
<rect x="48" y="56" width="24" height="36" rx="5" fill="url(#vibeGradLight)" opacity="0.95"/>
|
|
18
|
+
<rect x="48" y="98" width="24" height="14" rx="5" fill="url(#vibeGradLight)" opacity="0.8"/>
|
|
19
|
+
|
|
20
|
+
<!-- Right column -->
|
|
21
|
+
<rect x="78" y="22" width="24" height="38" rx="5" fill="url(#vibeGradLight)" opacity="0.85"/>
|
|
22
|
+
<rect x="78" y="66" width="24" height="24" rx="5" fill="url(#vibeGradLight)" opacity="0.9"/>
|
|
23
|
+
<rect x="78" y="96" width="24" height="16" rx="5" fill="url(#vibeGradLight)" opacity="0.85"/>
|
|
24
|
+
|
|
25
|
+
<!-- Infinite loop symbol (subtle overlay) -->
|
|
26
|
+
<path d="M 30 60 Q 40 50, 50 60 Q 60 70, 70 60" stroke="url(#vibeGradLight)" stroke-width="3" fill="none" opacity="0.6" stroke-linecap="round"/>
|
|
27
|
+
<path d="M 30 60 Q 40 70, 50 60 Q 60 50, 70 60" stroke="url(#vibeGradLight)" stroke-width="3" fill="none" opacity="0.6" stroke-linecap="round"/>
|
|
28
|
+
</svg>
|
|
29
|
+
|
package/lib/logo.svg
CHANGED
|
@@ -1,32 +1,32 @@
|
|
|
1
|
-
<svg width="120" height="120" viewBox="0 0 120 120" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
-
<defs>
|
|
3
|
-
<linearGradient id="grad1" x1="0%" y1="0%" x2="100%" y2="100%">
|
|
4
|
-
<stop offset="0%" style="stop-color:#3b82f6;stop-opacity:1" />
|
|
5
|
-
<stop offset="100%" style="stop-color:#06b6d4;stop-opacity:1" />
|
|
6
|
-
</linearGradient>
|
|
7
|
-
</defs>
|
|
8
|
-
|
|
9
|
-
<!-- Background circle -->
|
|
10
|
-
<circle cx="60" cy="60" r="58" fill="url(#grad1)" opacity="0.1"/>
|
|
11
|
-
|
|
12
|
-
<!-- Masonry blocks representing infinite layout -->
|
|
13
|
-
<!-- Column 1 -->
|
|
14
|
-
<rect x="20" y="15" width="22" height="28" rx="4" fill="url(#grad1)" opacity="0.9"/>
|
|
15
|
-
<rect x="20" y="48" width="22" height="18" rx="4" fill="url(#grad1)" opacity="0.7"/>
|
|
16
|
-
<rect x="20" y="71" width="22" height="34" rx="4" fill="url(#grad1)" opacity="0.8"/>
|
|
17
|
-
|
|
18
|
-
<!-- Column 2 -->
|
|
19
|
-
<rect x="49" y="25" width="22" height="20" rx="4" fill="url(#grad1)" opacity="0.8"/>
|
|
20
|
-
<rect x="49" y="50" width="22" height="32" rx="4" fill="url(#grad1)" opacity="0.9"/>
|
|
21
|
-
<rect x="49" y="87" width="22" height="18" rx="4" fill="url(#grad1)" opacity="0.6"/>
|
|
22
|
-
|
|
23
|
-
<!-- Column 3 -->
|
|
24
|
-
<rect x="78" y="18" width="22" height="35" rx="4" fill="url(#grad1)" opacity="0.7"/>
|
|
25
|
-
<rect x="78" y="58" width="22" height="22" rx="4" fill="url(#grad1)" opacity="0.9"/>
|
|
26
|
-
<rect x="78" y="85" width="22" height="20" rx="4" fill="url(#grad1)" opacity="0.8"/>
|
|
27
|
-
|
|
28
|
-
<!-- Infinite symbol overlay (subtle) -->
|
|
29
|
-
<path d="M 35 60 Q 45 50, 55 60 Q 65 70, 75 60" stroke="url(#grad1)" stroke-width="2.5" fill="none" opacity="0.6" stroke-linecap="round"/>
|
|
30
|
-
<path d="M 35 60 Q 45 70, 55 60 Q 65 50, 75 60" stroke="url(#grad1)" stroke-width="2.5" fill="none" opacity="0.6" stroke-linecap="round"/>
|
|
31
|
-
</svg>
|
|
32
|
-
|
|
1
|
+
<svg width="120" height="120" viewBox="0 0 120 120" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<defs>
|
|
3
|
+
<linearGradient id="grad1" x1="0%" y1="0%" x2="100%" y2="100%">
|
|
4
|
+
<stop offset="0%" style="stop-color:#3b82f6;stop-opacity:1" />
|
|
5
|
+
<stop offset="100%" style="stop-color:#06b6d4;stop-opacity:1" />
|
|
6
|
+
</linearGradient>
|
|
7
|
+
</defs>
|
|
8
|
+
|
|
9
|
+
<!-- Background circle -->
|
|
10
|
+
<circle cx="60" cy="60" r="58" fill="url(#grad1)" opacity="0.1"/>
|
|
11
|
+
|
|
12
|
+
<!-- Masonry blocks representing infinite layout -->
|
|
13
|
+
<!-- Column 1 -->
|
|
14
|
+
<rect x="20" y="15" width="22" height="28" rx="4" fill="url(#grad1)" opacity="0.9"/>
|
|
15
|
+
<rect x="20" y="48" width="22" height="18" rx="4" fill="url(#grad1)" opacity="0.7"/>
|
|
16
|
+
<rect x="20" y="71" width="22" height="34" rx="4" fill="url(#grad1)" opacity="0.8"/>
|
|
17
|
+
|
|
18
|
+
<!-- Column 2 -->
|
|
19
|
+
<rect x="49" y="25" width="22" height="20" rx="4" fill="url(#grad1)" opacity="0.8"/>
|
|
20
|
+
<rect x="49" y="50" width="22" height="32" rx="4" fill="url(#grad1)" opacity="0.9"/>
|
|
21
|
+
<rect x="49" y="87" width="22" height="18" rx="4" fill="url(#grad1)" opacity="0.6"/>
|
|
22
|
+
|
|
23
|
+
<!-- Column 3 -->
|
|
24
|
+
<rect x="78" y="18" width="22" height="35" rx="4" fill="url(#grad1)" opacity="0.7"/>
|
|
25
|
+
<rect x="78" y="58" width="22" height="22" rx="4" fill="url(#grad1)" opacity="0.9"/>
|
|
26
|
+
<rect x="78" y="85" width="22" height="20" rx="4" fill="url(#grad1)" opacity="0.8"/>
|
|
27
|
+
|
|
28
|
+
<!-- Infinite symbol overlay (subtle) -->
|
|
29
|
+
<path d="M 35 60 Q 45 50, 55 60 Q 65 70, 75 60" stroke="url(#grad1)" stroke-width="2.5" fill="none" opacity="0.6" stroke-linecap="round"/>
|
|
30
|
+
<path d="M 35 60 Q 45 70, 55 60 Q 65 50, 75 60" stroke="url(#grad1)" stroke-width="2.5" fill="none" opacity="0.6" stroke-linecap="round"/>
|
|
31
|
+
</svg>
|
|
32
|
+
|
package/lib/manifest.json
CHANGED
package/package.json
CHANGED
|
@@ -1,96 +1,82 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@wyxos/vibe",
|
|
3
|
-
"version": "
|
|
4
|
-
"description": "A high-performance, responsive masonry layout engine for Vue 3 with built-in infinite scrolling and virtualization.",
|
|
5
|
-
"keywords": [
|
|
6
|
-
"vue",
|
|
7
|
-
"vue3",
|
|
8
|
-
"masonry",
|
|
9
|
-
"grid",
|
|
10
|
-
"layout",
|
|
11
|
-
"infinite-scroll",
|
|
12
|
-
"virtualization",
|
|
13
|
-
"responsive",
|
|
14
|
-
"performance"
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
"
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
"
|
|
29
|
-
"
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
"
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
"lib",
|
|
45
|
-
"
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
"
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
"
|
|
52
|
-
"
|
|
53
|
-
"
|
|
54
|
-
"
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
"
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
"
|
|
61
|
-
"test
|
|
62
|
-
"
|
|
63
|
-
"
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
"@
|
|
67
|
-
"
|
|
68
|
-
"
|
|
69
|
-
"
|
|
70
|
-
"vue": "^
|
|
71
|
-
"
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
"
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
"
|
|
78
|
-
"
|
|
79
|
-
"
|
|
80
|
-
"
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
"@vue/test-utils": "^2.4.6",
|
|
84
|
-
"chalk": "^5.3.0",
|
|
85
|
-
"inquirer": "^10.1.8",
|
|
86
|
-
"jsdom": "^26.0.0",
|
|
87
|
-
"sharp": "^0.34.5",
|
|
88
|
-
"simple-git": "^3.27.0",
|
|
89
|
-
"tailwindcss": "^4.0.15",
|
|
90
|
-
"typescript": "^5.9.2",
|
|
91
|
-
"uuid": "^11.1.0",
|
|
92
|
-
"vite": "^6.2.0",
|
|
93
|
-
"vitest": "^3.0.9",
|
|
94
|
-
"vue-tsc": "^3.1.0"
|
|
95
|
-
}
|
|
96
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@wyxos/vibe",
|
|
3
|
+
"version": "2.0.2",
|
|
4
|
+
"description": "A high-performance, responsive masonry layout engine for Vue 3 with built-in infinite scrolling and virtualization.",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"vue",
|
|
7
|
+
"vue3",
|
|
8
|
+
"masonry",
|
|
9
|
+
"grid",
|
|
10
|
+
"layout",
|
|
11
|
+
"infinite-scroll",
|
|
12
|
+
"virtualization",
|
|
13
|
+
"responsive",
|
|
14
|
+
"performance"
|
|
15
|
+
],
|
|
16
|
+
"license": "MIT",
|
|
17
|
+
"repository": {
|
|
18
|
+
"type": "git",
|
|
19
|
+
"url": "https://github.com/wyxos/vibe.git"
|
|
20
|
+
},
|
|
21
|
+
"homepage": "https://vibe.wyxos.com/",
|
|
22
|
+
"bugs": {
|
|
23
|
+
"url": "https://github.com/wyxos/vibe/issues"
|
|
24
|
+
},
|
|
25
|
+
"type": "module",
|
|
26
|
+
"main": "./lib/index.cjs",
|
|
27
|
+
"module": "./lib/index.js",
|
|
28
|
+
"types": "./lib/index.d.ts",
|
|
29
|
+
"exports": {
|
|
30
|
+
".": {
|
|
31
|
+
"types": "./lib/index.d.ts",
|
|
32
|
+
"import": "./lib/index.js",
|
|
33
|
+
"require": "./lib/index.cjs"
|
|
34
|
+
},
|
|
35
|
+
"./package.json": "./package.json"
|
|
36
|
+
},
|
|
37
|
+
"files": [
|
|
38
|
+
"lib"
|
|
39
|
+
],
|
|
40
|
+
"scripts": {
|
|
41
|
+
"dev": "vite",
|
|
42
|
+
"build": "vite build && node write-cname.js",
|
|
43
|
+
"build:lib": "vite build -c vite.config.lib.js",
|
|
44
|
+
"build:types": "vue-tsc -p tsconfig.lib.json",
|
|
45
|
+
"prepublishOnly": "npm run check && npm run build:lib && npm run build:types",
|
|
46
|
+
"preview": "vite preview",
|
|
47
|
+
"check": "npm -s run lint && npm -s run typecheck && npm -s run test",
|
|
48
|
+
"lint": "eslint .",
|
|
49
|
+
"lint:fix": "eslint . --fix",
|
|
50
|
+
"release": "npx @wyxos/zephyr --type=node",
|
|
51
|
+
"test": "vitest run --reporter=dot --silent",
|
|
52
|
+
"test:unit": "vitest run",
|
|
53
|
+
"test:e2e": "playwright test",
|
|
54
|
+
"typecheck": "vue-tsc --noEmit --pretty false"
|
|
55
|
+
},
|
|
56
|
+
"peerDependencies": {
|
|
57
|
+
"vue": "^3.0.0"
|
|
58
|
+
},
|
|
59
|
+
"devDependencies": {
|
|
60
|
+
"@fortawesome/fontawesome-free": "^7.1.0",
|
|
61
|
+
"@playwright/test": "^1.50.0",
|
|
62
|
+
"@tailwindcss/vite": "^4.1.18",
|
|
63
|
+
"@eslint/js": "^9.37.0",
|
|
64
|
+
"@types/node": "^25.0.3",
|
|
65
|
+
"@typescript-eslint/eslint-plugin": "^8.33.0",
|
|
66
|
+
"@typescript-eslint/parser": "^8.33.0",
|
|
67
|
+
"@vitejs/plugin-vue": "^6.0.3",
|
|
68
|
+
"@vue/test-utils": "^2.4.6",
|
|
69
|
+
"eslint": "^9.37.0",
|
|
70
|
+
"eslint-plugin-vue": "^10.5.1",
|
|
71
|
+
"globals": "^16.4.0",
|
|
72
|
+
"jsdom": "^26.0.0",
|
|
73
|
+
"tailwindcss": "^4.1.18",
|
|
74
|
+
"typescript": "^5.9.3",
|
|
75
|
+
"vite": "7.1.11",
|
|
76
|
+
"vitest": "^2.1.8",
|
|
77
|
+
"vue": "^3.5.13",
|
|
78
|
+
"vue-router": "^4.6.4",
|
|
79
|
+
"vue-eslint-parser": "^10.0.0",
|
|
80
|
+
"vue-tsc": "^3.2.1"
|
|
81
|
+
}
|
|
82
|
+
}
|
package/LICENSE
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2025 Wyxos
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
|
13
|
-
copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
-
SOFTWARE.
|
package/lib/vibe.css
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.masonry-container[data-v-3ebb00d9]{overflow-anchor:none}.masonry-item[data-v-3ebb00d9]{will-change:transform,opacity;contain:layout paint;transition:transform var(--masonry-duration, .45s) var(--masonry-ease, cubic-bezier(.22, .61, .36, 1)),opacity var(--masonry-leave-duration, .16s) ease-out var(--masonry-opacity-delay, 0ms);backface-visibility:hidden}.masonry-move[data-v-3ebb00d9]{transition:transform var(--masonry-duration, .45s) var(--masonry-ease, cubic-bezier(.22, .61, .36, 1))}@media (prefers-reduced-motion: reduce){.masonry-container:not(.force-motion) .masonry-item[data-v-3ebb00d9],.masonry-container:not(.force-motion) .masonry-move[data-v-3ebb00d9]{transition-duration:1ms!important}}
|
package/lib/vite.svg
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" role="img" class="iconify iconify--logos" width="31.88" height="32" preserveAspectRatio="xMidYMid meet" viewBox="0 0 256 257"><defs><linearGradient id="IconifyId1813088fe1fbc01fb466" x1="-.828%" x2="57.636%" y1="7.652%" y2="78.411%"><stop offset="0%" stop-color="#41D1FF"></stop><stop offset="100%" stop-color="#BD34FE"></stop></linearGradient><linearGradient id="IconifyId1813088fe1fbc01fb467" x1="43.376%" x2="50.316%" y1="2.242%" y2="89.03%"><stop offset="0%" stop-color="#FFEA83"></stop><stop offset="8.333%" stop-color="#FFDD35"></stop><stop offset="100%" stop-color="#FFA800"></stop></linearGradient></defs><path fill="url(#IconifyId1813088fe1fbc01fb466)" d="M255.153 37.938L134.897 252.976c-2.483 4.44-8.862 4.466-11.382.048L.875 37.958c-2.746-4.814 1.371-10.646 6.827-9.67l120.385 21.517a6.537 6.537 0 0 0 2.322-.004l117.867-21.483c5.438-.991 9.574 4.796 6.877 9.62Z"></path><path fill="url(#IconifyId1813088fe1fbc01fb467)" d="M185.432.063L96.44 17.501a3.268 3.268 0 0 0-2.634 3.014l-5.474 92.456a3.268 3.268 0 0 0 3.997 3.378l24.777-5.718c2.318-.535 4.413 1.507 3.936 3.838l-7.361 36.047c-.495 2.426 1.782 4.5 4.151 3.78l15.304-4.649c2.372-.72 4.652 1.36 4.15 3.788l-11.698 56.621c-.732 3.542 3.979 5.473 5.943 2.437l1.313-2.028l72.516-144.72c1.215-2.423-.88-5.186-3.54-4.672l-25.505 4.922c-2.396.462-4.435-1.77-3.759-4.114l16.646-57.705c.677-2.35-1.37-4.583-3.769-4.113Z"></path></svg>
|
package/src/App.vue
DELETED
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div id="app">
|
|
3
|
-
<nav class="fixed top-0 left-0 right-0 z-30 bg-white/90 backdrop-blur-md border-b border-slate-200 shadow-sm">
|
|
4
|
-
<div class="max-w-7xl mx-auto px-4 py-3">
|
|
5
|
-
<div class="flex items-center justify-between">
|
|
6
|
-
<router-link to="/" class="flex items-center gap-2 text-lg font-bold text-slate-800 hover:text-blue-600 transition-colors">
|
|
7
|
-
<img src="/logo-light.svg" alt="VIBE" class="w-8 h-8" />
|
|
8
|
-
<span>VIBE</span>
|
|
9
|
-
</router-link>
|
|
10
|
-
<div class="flex items-center gap-4">
|
|
11
|
-
<router-link
|
|
12
|
-
to="/"
|
|
13
|
-
class="text-sm text-slate-600 hover:text-slate-800 transition-colors"
|
|
14
|
-
active-class="text-blue-600 font-medium"
|
|
15
|
-
>
|
|
16
|
-
Demo
|
|
17
|
-
</router-link>
|
|
18
|
-
<router-link
|
|
19
|
-
to="/examples"
|
|
20
|
-
class="text-sm text-slate-600 hover:text-slate-800 transition-colors"
|
|
21
|
-
active-class="text-blue-600 font-medium"
|
|
22
|
-
>
|
|
23
|
-
Examples
|
|
24
|
-
</router-link>
|
|
25
|
-
</div>
|
|
26
|
-
</div>
|
|
27
|
-
</div>
|
|
28
|
-
</nav>
|
|
29
|
-
<router-view />
|
|
30
|
-
</div>
|
|
31
|
-
</template>
|
|
32
|
-
|
|
33
|
-
<script setup lang="ts">
|
|
34
|
-
// Root App component with router
|
|
35
|
-
</script>
|